diff --git a/c-api/dict.po b/c-api/dict.po index 578e23ca8..ab2f9c2a4 100644 --- a/c-api/dict.po +++ b/c-api/dict.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: tomo, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -211,9 +211,8 @@ msgstr "" #: ../../c-api/dict.rst:159 msgid "" -"Similar than :c:func:`PyDict_GetItemRef`, but *key* is specified as a :c:" -"expr:`const char*` UTF-8 encoded bytes string, rather than a :c:expr:" -"`PyObject*`." +"Similar to :c:func:`PyDict_GetItemRef`, but *key* is specified as a :c:expr:" +"`const char*` UTF-8 encoded bytes string, rather than a :c:expr:`PyObject*`." msgstr "" #: ../../c-api/dict.rst:168 @@ -271,8 +270,8 @@ msgstr "" #: ../../c-api/dict.rst:209 msgid "" -"This is similar to :meth:`dict.pop`, but without the default value and not " -"raising :exc:`KeyError` if the key missing." +"Similar to :meth:`dict.pop`, but without the default value and not raising :" +"exc:`KeyError` if the key missing." msgstr "" #: ../../c-api/dict.rst:217 diff --git a/c-api/function.po b/c-api/function.po index 2cc11553e..fe577f3ba 100644 --- a/c-api/function.po +++ b/c-api/function.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:48+0000\n" "Last-Translator: Taichi Haradaguchi, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -192,18 +192,34 @@ msgid "" msgstr "" #: ../../c-api/function.rst:148 -msgid "" -"Enumeration of possible function watcher events: - " -"``PyFunction_EVENT_CREATE`` - ``PyFunction_EVENT_DESTROY`` - " -"``PyFunction_EVENT_MODIFY_CODE`` - ``PyFunction_EVENT_MODIFY_DEFAULTS`` - " -"``PyFunction_EVENT_MODIFY_KWDEFAULTS``" +msgid "Enumeration of possible function watcher events:" +msgstr "" + +#: ../../c-api/function.rst:150 +msgid "``PyFunction_EVENT_CREATE``" +msgstr "" + +#: ../../c-api/function.rst:151 +msgid "``PyFunction_EVENT_DESTROY``" +msgstr "" + +#: ../../c-api/function.rst:152 +msgid "``PyFunction_EVENT_MODIFY_CODE``" +msgstr "" + +#: ../../c-api/function.rst:153 +msgid "``PyFunction_EVENT_MODIFY_DEFAULTS``" +msgstr "" + +#: ../../c-api/function.rst:154 +msgid "``PyFunction_EVENT_MODIFY_KWDEFAULTS``" msgstr "" -#: ../../c-api/function.rst:160 +#: ../../c-api/function.rst:161 msgid "Type of a function watcher callback function." msgstr "" -#: ../../c-api/function.rst:162 +#: ../../c-api/function.rst:163 msgid "" "If *event* is ``PyFunction_EVENT_CREATE`` or ``PyFunction_EVENT_DESTROY`` " "then *new_value* will be ``NULL``. Otherwise, *new_value* will hold a :term:" @@ -211,13 +227,13 @@ msgid "" "for the attribute that is being modified." msgstr "" -#: ../../c-api/function.rst:167 +#: ../../c-api/function.rst:168 msgid "" "The callback may inspect but must not modify *func*; doing so could have " "unpredictable effects, including infinite recursion." msgstr "" -#: ../../c-api/function.rst:170 +#: ../../c-api/function.rst:171 msgid "" "If *event* is ``PyFunction_EVENT_CREATE``, then the callback is invoked " "after `func` has been fully initialized. Otherwise, the callback is invoked " @@ -229,7 +245,7 @@ msgid "" "semantics of the Python code being executed." msgstr "" -#: ../../c-api/function.rst:179 +#: ../../c-api/function.rst:180 msgid "" "If *event* is ``PyFunction_EVENT_DESTROY``, Taking a reference in the " "callback to the about-to-be-destroyed function will resurrect it, preventing " @@ -237,14 +253,14 @@ msgid "" "later, any watcher callbacks active at that time will be called again." msgstr "" -#: ../../c-api/function.rst:184 +#: ../../c-api/function.rst:185 msgid "" "If the callback sets an exception, it must return ``-1``; this exception " "will be printed as an unraisable exception using :c:func:" "`PyErr_WriteUnraisable`. Otherwise it should return ``0``." msgstr "" -#: ../../c-api/function.rst:188 +#: ../../c-api/function.rst:189 msgid "" "There may already be a pending exception set on entry to the callback. In " "this case, the callback should return ``0`` with the same exception still " diff --git a/c-api/slice.po b/c-api/slice.po index 6cff695a9..20087a4e5 100644 --- a/c-api/slice.po +++ b/c-api/slice.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -176,6 +176,12 @@ msgstr "Ellipsis オブジェクト" #: ../../c-api/slice.rst:123 msgid "" +"The type of Python :const:`Ellipsis` object. Same as :class:`types." +"EllipsisType` in the Python layer." +msgstr "" + +#: ../../c-api/slice.rst:129 +msgid "" "The Python ``Ellipsis`` object. This object has no methods. Like :c:data:" "`Py_None`, it is an :term:`immortal` singleton object." msgstr "" @@ -183,6 +189,6 @@ msgstr "" "ん。 :c:data:`Py_None` と同様、これは :term:`immortal` でシングルトンなオブ" "ジェクトです。" -#: ../../c-api/slice.rst:126 +#: ../../c-api/slice.rst:132 msgid ":c:data:`Py_Ellipsis` is immortal." msgstr ":c:data:`Py_Ellipsis` は immortal です。" diff --git a/c-api/unicode.po b/c-api/unicode.po index ebdabdbe0..844453a1b 100644 --- a/c-api/unicode.po +++ b/c-api/unicode.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:50+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -328,52 +328,39 @@ msgstr "*ch* が英数文字かどうかに応じて ``1`` または ``0`` を #: ../../c-api/unicode.rst:259 msgid "" -"Return ``1`` or ``0`` depending on whether *ch* is a printable character. " -"Nonprintable characters are those characters defined in the Unicode " -"character database as \"Other\" or \"Separator\", excepting the ASCII space " -"(0x20) which is considered printable. (Note that printable characters in " -"this context are those which should not be escaped when :func:`repr` is " -"invoked on a string. It has no bearing on the handling of strings written " -"to :data:`sys.stdout` or :data:`sys.stderr`.)" +"Return ``1`` or ``0`` depending on whether *ch* is a printable character, in " +"the sense of :meth:`str.isprintable`." msgstr "" -"*ch* が文字が印字可能な文字かどうかに基づいて ``1`` または ``0`` を返しま" -"す。\n" -"非印字可能文字は、 Unicode 文字データベースで \"Other\" または \"Separator\" " -"と定義されている文字の、印字可能と見なされる ASCII space (0x20) 以外のもので" -"す。\n" -"(なお、この文脈での印字可能文字は、文字列に :func:`repr` が呼び出されるときに" -"エスケープすべきでない文字のことです。これは :data:`sys.stdout` や :data:" -"`sys.stderr` に書き込まれる文字列の操作とは関係ありません。)" -#: ../../c-api/unicode.rst:268 +#: ../../c-api/unicode.rst:263 msgid "These APIs can be used for fast direct character conversions:" msgstr "以下の API は、高速に直接文字変換を行うために使われます:" -#: ../../c-api/unicode.rst:273 +#: ../../c-api/unicode.rst:268 msgid "Return the character *ch* converted to lower case." msgstr "*ch* を小文字に変換したものを返します。" -#: ../../c-api/unicode.rst:278 +#: ../../c-api/unicode.rst:273 msgid "Return the character *ch* converted to upper case." msgstr "*ch* を大文字に変換したものを返します。" -#: ../../c-api/unicode.rst:283 +#: ../../c-api/unicode.rst:278 msgid "Return the character *ch* converted to title case." msgstr "*ch* をタイトルケース文字に変換したものを返します。" -#: ../../c-api/unicode.rst:288 +#: ../../c-api/unicode.rst:283 msgid "" "Return the character *ch* converted to a decimal positive integer. Return " "``-1`` if this is not possible. This function does not raise exceptions." msgstr "" -#: ../../c-api/unicode.rst:294 +#: ../../c-api/unicode.rst:289 msgid "" "Return the character *ch* converted to a single digit integer. Return ``-1`` " "if this is not possible. This function does not raise exceptions." msgstr "" -#: ../../c-api/unicode.rst:300 +#: ../../c-api/unicode.rst:295 msgid "" "Return the character *ch* converted to a double. Return ``-1.0`` if this is " "not possible. This function does not raise exceptions." @@ -381,26 +368,26 @@ msgstr "" "*ch* を double に変換したものを返します。不可能ならば ``-1.0`` を返します。こ" "の関数は例外を送出しません。" -#: ../../c-api/unicode.rst:304 +#: ../../c-api/unicode.rst:299 msgid "These APIs can be used to work with surrogates:" msgstr "これらの API はサロゲートにも使えます:" -#: ../../c-api/unicode.rst:308 +#: ../../c-api/unicode.rst:303 msgid "Check if *ch* is a surrogate (``0xD800 <= ch <= 0xDFFF``)." msgstr "" "*ch* がサロゲートかどうか (``0xD800 <= ch <= 0xDFFF``) をチェックします。" -#: ../../c-api/unicode.rst:312 +#: ../../c-api/unicode.rst:307 msgid "Check if *ch* is a high surrogate (``0xD800 <= ch <= 0xDBFF``)." msgstr "" "*ch* が上位サロゲートかどうか (``0xD800 <= ch <= 0xDBFF``) をチェックします。" -#: ../../c-api/unicode.rst:316 +#: ../../c-api/unicode.rst:311 msgid "Check if *ch* is a low surrogate (``0xDC00 <= ch <= 0xDFFF``)." msgstr "" "*ch* が下位サロゲートかどうか (``0xDC00 <= ch <= 0xDFFF``) をチェックします。" -#: ../../c-api/unicode.rst:320 +#: ../../c-api/unicode.rst:315 msgid "" "Join two surrogate code points and return a single :c:type:`Py_UCS4` value. " "*high* and *low* are respectively the leading and trailing surrogates in a " @@ -408,11 +395,11 @@ msgid "" "be in the range [0xDC00; 0xDFFF]." msgstr "" -#: ../../c-api/unicode.rst:327 +#: ../../c-api/unicode.rst:322 msgid "Creating and accessing Unicode strings" msgstr "Unicode 文字列の生成とアクセス" -#: ../../c-api/unicode.rst:329 +#: ../../c-api/unicode.rst:324 msgid "" "To create Unicode objects and access their basic sequence properties, use " "these APIs:" @@ -420,7 +407,7 @@ msgstr "" "Unicode オブジェクトを生成したり、Unicode のシーケンスとしての基本的なプロパ" "ティにアクセスしたりするには、以下の API を使ってください:" -#: ../../c-api/unicode.rst:334 +#: ../../c-api/unicode.rst:329 msgid "" "Create a new Unicode object. *maxchar* should be the true maximum code " "point to be placed in the string. As an approximation, it can be rounded up " @@ -431,7 +418,7 @@ msgstr "" "その値は概算値として 127, 255, 65535, 1114111 の一番近い値に切り上げられま" "す。" -#: ../../c-api/unicode.rst:338 +#: ../../c-api/unicode.rst:333 msgid "" "This is the recommended way to allocate a new Unicode object. Objects " "created using this function are not resizable." @@ -439,11 +426,11 @@ msgstr "" "これは新しい Unicode オブジェクトを生成する推奨された方法です。\n" "この関数を使って生成されたオブジェクトはサイズ変更は不可能です。" -#: ../../c-api/unicode.rst:341 +#: ../../c-api/unicode.rst:336 msgid "On error, set an exception and return ``NULL``." msgstr "" -#: ../../c-api/unicode.rst:349 +#: ../../c-api/unicode.rst:344 msgid "" "Create a new Unicode object with the given *kind* (possible values are :c:" "macro:`PyUnicode_1BYTE_KIND` etc., as returned by :c:func:" @@ -455,7 +442,7 @@ msgstr "" "*buffer* は、与えられた kind に従って1文字あたり 1, 2, 4 バイトのいずれかを単" "位として、長さ *size* の配列へのポインタでなければなりません。" -#: ../../c-api/unicode.rst:354 +#: ../../c-api/unicode.rst:349 msgid "" "If necessary, the input *buffer* is copied and transformed into the " "canonical representation. For example, if the *buffer* is a UCS4 string (:c:" @@ -463,7 +450,7 @@ msgid "" "range, it will be transformed into UCS1 (:c:macro:`PyUnicode_1BYTE_KIND`)." msgstr "" -#: ../../c-api/unicode.rst:365 +#: ../../c-api/unicode.rst:360 msgid "" "Create a Unicode object from the char buffer *str*. The bytes will be " "interpreted as being UTF-8 encoded. The buffer is copied into the new " @@ -471,23 +458,23 @@ msgid "" "data is not allowed." msgstr "" -#: ../../c-api/unicode.rst:371 +#: ../../c-api/unicode.rst:366 msgid "This function raises :exc:`SystemError` when:" msgstr "" -#: ../../c-api/unicode.rst:373 +#: ../../c-api/unicode.rst:368 msgid "*size* < 0," msgstr "" -#: ../../c-api/unicode.rst:374 +#: ../../c-api/unicode.rst:369 msgid "*str* is ``NULL`` and *size* > 0" msgstr "" -#: ../../c-api/unicode.rst:376 +#: ../../c-api/unicode.rst:371 msgid "*str* == ``NULL`` with *size* > 0 is not allowed anymore." msgstr "" -#: ../../c-api/unicode.rst:382 +#: ../../c-api/unicode.rst:377 msgid "" "Create a Unicode object from a UTF-8 encoded null-terminated char buffer " "*str*." @@ -495,7 +482,7 @@ msgstr "" "UTF-8 エンコードされたnull終端のchar 型バッファ *str* から Unicode オブジェク" "トを生成します。" -#: ../../c-api/unicode.rst:388 +#: ../../c-api/unicode.rst:383 msgid "" "Take a C :c:func:`printf`\\ -style *format* string and a variable number of " "arguments, calculate the size of the resulting Python Unicode string and " @@ -504,7 +491,7 @@ msgid "" "*format* ASCII-encoded string." msgstr "" -#: ../../c-api/unicode.rst:394 +#: ../../c-api/unicode.rst:389 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" @@ -512,17 +499,17 @@ msgstr "" "一つの変換指定子は 2 またはそれ以上の文字を含み、その構成要素は以下からなりま" "すが、示した順に出現しなければなりません:" -#: ../../c-api/unicode.rst:397 +#: ../../c-api/unicode.rst:392 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "指定子の開始を示す文字 ``'%'`` 。" -#: ../../c-api/unicode.rst:399 +#: ../../c-api/unicode.rst:394 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "変換フラグ (オプション)。一部の変換型の結果に影響します。" -#: ../../c-api/unicode.rst:402 +#: ../../c-api/unicode.rst:397 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is given in the next argument, which must be of type :c:expr:" @@ -530,7 +517,7 @@ msgid "" "optional precision." msgstr "" -#: ../../c-api/unicode.rst:407 +#: ../../c-api/unicode.rst:402 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. If " "specified as ``'*'`` (an asterisk), the actual precision is given in the " @@ -538,212 +525,212 @@ msgid "" "comes after the precision." msgstr "" -#: ../../c-api/unicode.rst:412 +#: ../../c-api/unicode.rst:407 msgid "Length modifier (optional)." msgstr "精度長変換子 (オプション)。" -#: ../../c-api/unicode.rst:414 +#: ../../c-api/unicode.rst:409 msgid "Conversion type." msgstr "変換型。" -#: ../../c-api/unicode.rst:416 +#: ../../c-api/unicode.rst:411 msgid "The conversion flag characters are:" msgstr "変換フラグ文字を以下に示します:" -#: ../../c-api/unicode.rst:421 +#: ../../c-api/unicode.rst:416 msgid "Flag" msgstr "Flag" -#: ../../c-api/unicode.rst:421 +#: ../../c-api/unicode.rst:416 msgid "Meaning" msgstr "意味" -#: ../../c-api/unicode.rst:423 +#: ../../c-api/unicode.rst:418 msgid "``0``" msgstr "``0``" -#: ../../c-api/unicode.rst:423 +#: ../../c-api/unicode.rst:418 msgid "The conversion will be zero padded for numeric values." msgstr "数値型に対してゼロによるパディングを行います。" -#: ../../c-api/unicode.rst:425 +#: ../../c-api/unicode.rst:420 msgid "``-``" msgstr "" -#: ../../c-api/unicode.rst:425 +#: ../../c-api/unicode.rst:420 msgid "" "The converted value is left adjusted (overrides the ``0`` flag if both are " "given)." msgstr "" -#: ../../c-api/unicode.rst:429 +#: ../../c-api/unicode.rst:424 msgid "" "The length modifiers for following integer conversions (``d``, ``i``, ``o``, " "``u``, ``x``, or ``X``) specify the type of the argument (:c:expr:`int` by " "default):" msgstr "" -#: ../../c-api/unicode.rst:436 +#: ../../c-api/unicode.rst:431 msgid "Modifier" msgstr "修飾子" -#: ../../c-api/unicode.rst:436 +#: ../../c-api/unicode.rst:431 msgid "Types" msgstr "型" -#: ../../c-api/unicode.rst:438 +#: ../../c-api/unicode.rst:433 msgid "``l``" msgstr "``l``" -#: ../../c-api/unicode.rst:438 +#: ../../c-api/unicode.rst:433 msgid ":c:expr:`long` or :c:expr:`unsigned long`" msgstr ":c:expr:`long` または :c:expr:`unsigned long`" -#: ../../c-api/unicode.rst:440 +#: ../../c-api/unicode.rst:435 msgid "``ll``" msgstr "``ll``" -#: ../../c-api/unicode.rst:440 +#: ../../c-api/unicode.rst:435 msgid ":c:expr:`long long` or :c:expr:`unsigned long long`" msgstr ":c:expr:`long long` または :c:expr:`unsigned long long`" -#: ../../c-api/unicode.rst:442 +#: ../../c-api/unicode.rst:437 msgid "``j``" msgstr "" -#: ../../c-api/unicode.rst:442 +#: ../../c-api/unicode.rst:437 msgid ":c:type:`intmax_t` or :c:type:`uintmax_t`" msgstr "" -#: ../../c-api/unicode.rst:444 +#: ../../c-api/unicode.rst:439 msgid "``z``" msgstr "" -#: ../../c-api/unicode.rst:444 +#: ../../c-api/unicode.rst:439 msgid ":c:type:`size_t` or :c:type:`ssize_t`" msgstr "" -#: ../../c-api/unicode.rst:446 +#: ../../c-api/unicode.rst:441 msgid "``t``" msgstr "``t``" -#: ../../c-api/unicode.rst:446 +#: ../../c-api/unicode.rst:441 msgid ":c:type:`ptrdiff_t`" msgstr ":c:type:`ptrdiff_t`" -#: ../../c-api/unicode.rst:449 +#: ../../c-api/unicode.rst:444 msgid "" "The length modifier ``l`` for following conversions ``s`` or ``V`` specify " "that the type of the argument is :c:expr:`const wchar_t*`." msgstr "" -#: ../../c-api/unicode.rst:452 +#: ../../c-api/unicode.rst:447 msgid "The conversion specifiers are:" msgstr "" -#: ../../c-api/unicode.rst:458 +#: ../../c-api/unicode.rst:453 msgid "Conversion Specifier" msgstr "" -#: ../../c-api/unicode.rst:459 +#: ../../c-api/unicode.rst:454 msgid "Type" msgstr "型" -#: ../../c-api/unicode.rst:460 +#: ../../c-api/unicode.rst:455 msgid "Comment" msgstr "備考" -#: ../../c-api/unicode.rst:462 +#: ../../c-api/unicode.rst:457 msgid "``%``" msgstr "``%``" -#: ../../c-api/unicode.rst:463 +#: ../../c-api/unicode.rst:458 msgid "*n/a*" msgstr "*n/a*" -#: ../../c-api/unicode.rst:464 +#: ../../c-api/unicode.rst:459 msgid "The literal ``%`` character." msgstr "" -#: ../../c-api/unicode.rst:466 +#: ../../c-api/unicode.rst:461 msgid "``d``, ``i``" msgstr "" -#: ../../c-api/unicode.rst:467 ../../c-api/unicode.rst:471 -#: ../../c-api/unicode.rst:475 ../../c-api/unicode.rst:479 -#: ../../c-api/unicode.rst:483 +#: ../../c-api/unicode.rst:462 ../../c-api/unicode.rst:466 +#: ../../c-api/unicode.rst:470 ../../c-api/unicode.rst:474 +#: ../../c-api/unicode.rst:478 msgid "Specified by the length modifier" msgstr "" -#: ../../c-api/unicode.rst:468 +#: ../../c-api/unicode.rst:463 msgid "The decimal representation of a signed C integer." msgstr "" -#: ../../c-api/unicode.rst:470 +#: ../../c-api/unicode.rst:465 msgid "``u``" msgstr "``u``" -#: ../../c-api/unicode.rst:472 +#: ../../c-api/unicode.rst:467 msgid "The decimal representation of an unsigned C integer." msgstr "" -#: ../../c-api/unicode.rst:474 +#: ../../c-api/unicode.rst:469 msgid "``o``" msgstr "``o``" -#: ../../c-api/unicode.rst:476 +#: ../../c-api/unicode.rst:471 msgid "The octal representation of an unsigned C integer." msgstr "" -#: ../../c-api/unicode.rst:478 +#: ../../c-api/unicode.rst:473 msgid "``x``" msgstr "``x``" -#: ../../c-api/unicode.rst:480 +#: ../../c-api/unicode.rst:475 msgid "The hexadecimal representation of an unsigned C integer (lowercase)." msgstr "" -#: ../../c-api/unicode.rst:482 +#: ../../c-api/unicode.rst:477 msgid "``X``" msgstr "``X``" -#: ../../c-api/unicode.rst:484 +#: ../../c-api/unicode.rst:479 msgid "The hexadecimal representation of an unsigned C integer (uppercase)." msgstr "" -#: ../../c-api/unicode.rst:486 +#: ../../c-api/unicode.rst:481 msgid "``c``" msgstr "``c``" -#: ../../c-api/unicode.rst:487 +#: ../../c-api/unicode.rst:482 msgid ":c:expr:`int`" msgstr ":c:expr:`int`" -#: ../../c-api/unicode.rst:488 +#: ../../c-api/unicode.rst:483 msgid "A single character." msgstr "" -#: ../../c-api/unicode.rst:490 +#: ../../c-api/unicode.rst:485 msgid "``s``" msgstr "``s``" -#: ../../c-api/unicode.rst:491 +#: ../../c-api/unicode.rst:486 msgid ":c:expr:`const char*` or :c:expr:`const wchar_t*`" msgstr ":c:expr:`const char*` または :c:expr:`const wchar_t*`" -#: ../../c-api/unicode.rst:492 +#: ../../c-api/unicode.rst:487 msgid "A null-terminated C character array." msgstr "null で終端された C の文字列。" -#: ../../c-api/unicode.rst:494 +#: ../../c-api/unicode.rst:489 msgid "``p``" msgstr "``p``" -#: ../../c-api/unicode.rst:495 +#: ../../c-api/unicode.rst:490 msgid ":c:expr:`const void*`" msgstr ":c:expr:`const void*`" -#: ../../c-api/unicode.rst:496 +#: ../../c-api/unicode.rst:491 msgid "" "The hex representation of a C pointer. Mostly equivalent to " "``printf(\"%p\")`` except that it is guaranteed to start with the literal " @@ -753,104 +740,104 @@ msgstr "" "フォームにおける ``printf`` の定義に関わりなく先頭にリテラル ``0x`` が付きま" "す。" -#: ../../c-api/unicode.rst:501 +#: ../../c-api/unicode.rst:496 msgid "``A``" msgstr "``A``" -#: ../../c-api/unicode.rst:502 ../../c-api/unicode.rst:506 -#: ../../c-api/unicode.rst:516 ../../c-api/unicode.rst:520 -#: ../../c-api/unicode.rst:524 ../../c-api/unicode.rst:529 +#: ../../c-api/unicode.rst:497 ../../c-api/unicode.rst:501 +#: ../../c-api/unicode.rst:511 ../../c-api/unicode.rst:515 +#: ../../c-api/unicode.rst:519 ../../c-api/unicode.rst:524 msgid ":c:expr:`PyObject*`" msgstr ":c:expr:`PyObject*`" -#: ../../c-api/unicode.rst:503 +#: ../../c-api/unicode.rst:498 msgid "The result of calling :func:`ascii`." msgstr ":func:`ascii` の戻り値。" -#: ../../c-api/unicode.rst:505 +#: ../../c-api/unicode.rst:500 msgid "``U``" msgstr "``U``" -#: ../../c-api/unicode.rst:507 +#: ../../c-api/unicode.rst:502 msgid "A Unicode object." msgstr "Unicode オブジェクト。" -#: ../../c-api/unicode.rst:509 +#: ../../c-api/unicode.rst:504 msgid "``V``" msgstr "``V``" -#: ../../c-api/unicode.rst:510 +#: ../../c-api/unicode.rst:505 msgid ":c:expr:`PyObject*`, :c:expr:`const char*` or :c:expr:`const wchar_t*`" msgstr "" -#: ../../c-api/unicode.rst:511 +#: ../../c-api/unicode.rst:506 msgid "" "A Unicode object (which may be ``NULL``) and a null-terminated C character " "array as a second parameter (which will be used, if the first parameter is " "``NULL``)." msgstr "" -#: ../../c-api/unicode.rst:515 +#: ../../c-api/unicode.rst:510 msgid "``S``" msgstr "" -#: ../../c-api/unicode.rst:517 +#: ../../c-api/unicode.rst:512 msgid "The result of calling :c:func:`PyObject_Str`." msgstr ":c:func:`PyObject_Str` の戻り値。" -#: ../../c-api/unicode.rst:519 +#: ../../c-api/unicode.rst:514 msgid "``R``" msgstr "" -#: ../../c-api/unicode.rst:521 +#: ../../c-api/unicode.rst:516 msgid "The result of calling :c:func:`PyObject_Repr`." msgstr ":c:func:`PyObject_Repr` の戻り値。" -#: ../../c-api/unicode.rst:523 +#: ../../c-api/unicode.rst:518 msgid "``T``" msgstr "" -#: ../../c-api/unicode.rst:525 +#: ../../c-api/unicode.rst:520 msgid "" "Get the fully qualified name of an object type; call :c:func:" "`PyType_GetFullyQualifiedName`." msgstr "" -#: ../../c-api/unicode.rst:528 +#: ../../c-api/unicode.rst:523 msgid "``#T``" msgstr "" -#: ../../c-api/unicode.rst:530 +#: ../../c-api/unicode.rst:525 msgid "" "Similar to ``T`` format, but use a colon (``:``) as separator between the " "module name and the qualified name." msgstr "" -#: ../../c-api/unicode.rst:533 +#: ../../c-api/unicode.rst:528 msgid "``N``" msgstr "``N``" -#: ../../c-api/unicode.rst:534 ../../c-api/unicode.rst:539 +#: ../../c-api/unicode.rst:529 ../../c-api/unicode.rst:534 msgid ":c:expr:`PyTypeObject*`" msgstr "" -#: ../../c-api/unicode.rst:535 +#: ../../c-api/unicode.rst:530 msgid "" "Get the fully qualified name of a type; call :c:func:" "`PyType_GetFullyQualifiedName`." msgstr "" -#: ../../c-api/unicode.rst:538 +#: ../../c-api/unicode.rst:533 msgid "``#N``" msgstr "" -#: ../../c-api/unicode.rst:540 +#: ../../c-api/unicode.rst:535 msgid "" "Similar to ``N`` format, but use a colon (``:``) as separator between the " "module name and the qualified name." msgstr "" -#: ../../c-api/unicode.rst:544 +#: ../../c-api/unicode.rst:539 msgid "" "The width formatter unit is number of characters rather than bytes. The " "precision formatter unit is number of bytes or :c:type:`wchar_t` items (if " @@ -860,22 +847,22 @@ msgid "" "``PyObject*`` argument is not ``NULL``)." msgstr "" -#: ../../c-api/unicode.rst:552 +#: ../../c-api/unicode.rst:547 msgid "" "Unlike to C :c:func:`printf` the ``0`` flag has effect even when a precision " "is given for integer conversions (``d``, ``i``, ``u``, ``o``, ``x``, or " "``X``)." msgstr "" -#: ../../c-api/unicode.rst:556 +#: ../../c-api/unicode.rst:551 msgid "Support for ``\"%lld\"`` and ``\"%llu\"`` added." msgstr "``\"%lld\"``, ``\"%llu\"`` のサポートが追加されました。" -#: ../../c-api/unicode.rst:559 +#: ../../c-api/unicode.rst:554 msgid "Support for ``\"%li\"``, ``\"%lli\"`` and ``\"%zi\"`` added." msgstr "``\"%li\"``, ``\"%lli\"``, ``\"%zi\"`` のサポートが追加されました。" -#: ../../c-api/unicode.rst:562 +#: ../../c-api/unicode.rst:557 msgid "" "Support width and precision formatter for ``\"%s\"``, ``\"%A\"``, " "``\"%U\"``, ``\"%V\"``, ``\"%S\"``, ``\"%R\"`` added." @@ -883,7 +870,7 @@ msgstr "" "``\"%s\"``, ``\"%A\"``, ``\"%U\"``, ``\"%V\"``, ``\"%S\"``, ``\"%R\"`` での幅" "フォーマッタおよび精度フォーマッタのサポートが追加されました。" -#: ../../c-api/unicode.rst:566 +#: ../../c-api/unicode.rst:561 msgid "" "Support for conversion specifiers ``o`` and ``X``. Support for length " "modifiers ``j`` and ``t``. Length modifiers are now applied to all integer " @@ -892,18 +879,18 @@ msgid "" "flag ``-``." msgstr "" -#: ../../c-api/unicode.rst:574 +#: ../../c-api/unicode.rst:569 msgid "" "An unrecognized format character 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 "" -#: ../../c-api/unicode.rst:578 +#: ../../c-api/unicode.rst:573 msgid "Support for ``%T``, ``%#T``, ``%N`` and ``%#N`` formats added." msgstr "" -#: ../../c-api/unicode.rst:584 +#: ../../c-api/unicode.rst:579 msgid "" "Identical to :c:func:`PyUnicode_FromFormat` except that it takes exactly two " "arguments." @@ -911,25 +898,25 @@ msgstr "" "ちょうど2つの引数を取ることを除いて、 :c:func:`PyUnicode_FromFormat` と同じ" "です。" -#: ../../c-api/unicode.rst:590 +#: ../../c-api/unicode.rst:585 msgid "" "Copy an instance of a Unicode subtype to a new true Unicode object if " "necessary. If *obj* is already a true Unicode object (not a subtype), return " "a new :term:`strong reference` to the object." msgstr "" -#: ../../c-api/unicode.rst:594 +#: ../../c-api/unicode.rst:589 msgid "" "Objects other than Unicode or its subtypes will cause a :exc:`TypeError`." msgstr "" "Unicode やそのサブタイプ以外のオブジェクトでは :exc:`TypeError` が引き起こさ" "れます。" -#: ../../c-api/unicode.rst:600 +#: ../../c-api/unicode.rst:595 msgid "Decode an encoded object *obj* to a Unicode object." msgstr "エンコードされている *obj* を Unicode オブジェクトにデコードします。" -#: ../../c-api/unicode.rst:602 +#: ../../c-api/unicode.rst:597 msgid "" ":class:`bytes`, :class:`bytearray` and other :term:`bytes-like objects " "` are decoded according to the given *encoding* and using " @@ -942,7 +929,7 @@ msgstr "" "これらの引数は両方とも ``NULL`` にでき、その場合この API はデフォルト値を使い" "ます (詳しことは :ref:`builtincodecs` を参照してください)。" -#: ../../c-api/unicode.rst:608 +#: ../../c-api/unicode.rst:603 msgid "" "All other objects, including Unicode objects, cause a :exc:`TypeError` to be " "set." @@ -950,7 +937,7 @@ msgstr "" "その他のUnicodeオブジェクトを含むオブジェクトは :exc:`TypeError` 例外を引き起" "こします。" -#: ../../c-api/unicode.rst:611 +#: ../../c-api/unicode.rst:606 msgid "" "The API returns ``NULL`` if there was an error. The caller is responsible " "for decref'ing the returned objects." @@ -958,15 +945,15 @@ msgstr "" "この API は、エラーが生じたときには ``NULL`` を返します。呼び出し側は返された" "オブジェクトに対し参照カウンタを 1 つ減らす (decref) する責任があります。" -#: ../../c-api/unicode.rst:617 +#: ../../c-api/unicode.rst:612 msgid "Return the length of the Unicode object, in code points." msgstr "Unicode オブジェクトの長さをコードポイントで返します。" -#: ../../c-api/unicode.rst:619 +#: ../../c-api/unicode.rst:614 msgid "On error, set an exception and return ``-1``." msgstr "" -#: ../../c-api/unicode.rst:630 +#: ../../c-api/unicode.rst:625 msgid "" "Copy characters from one Unicode object into another. This function " "performs character conversion when necessary and falls back to :c:func:`!" @@ -979,7 +966,7 @@ msgstr "" "失敗のときには ``-1`` を返し、例外を設定します。そうでない場合は、コピーした" "文字数を返します。" -#: ../../c-api/unicode.rst:641 +#: ../../c-api/unicode.rst:636 msgid "" "Fill a string with a character: write *fill_char* into ``unicode[start:" "start+length]``." @@ -987,7 +974,7 @@ msgstr "" "文字列を文字で埋めます: ``unicode[start:start+length]`` で *fill_char* を埋め" "ることになります。" -#: ../../c-api/unicode.rst:644 +#: ../../c-api/unicode.rst:639 msgid "" "Fail if *fill_char* is bigger than the string maximum character, or if the " "string has more than 1 reference." @@ -995,14 +982,14 @@ msgstr "" "*fill_char* が文字列の最大文字よりも大きい場合や、文字列2つ以上の参照を持って" "た場合は失敗します。" -#: ../../c-api/unicode.rst:647 +#: ../../c-api/unicode.rst:642 msgid "" "Return the number of written character, or return ``-1`` and raise an " "exception on error." msgstr "" "書き込んだ文字数を返すか、失敗のときには ``-1`` を返し例外を送出します。" -#: ../../c-api/unicode.rst:656 +#: ../../c-api/unicode.rst:651 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, " @@ -1013,7 +1000,7 @@ msgstr "" "Unicode 文字列は不変とされているので、この文字列は共有されていたり、これまで" "にハッシュ化されていてはいけません。" -#: ../../c-api/unicode.rst:660 +#: ../../c-api/unicode.rst:655 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 " @@ -1023,11 +1010,11 @@ msgstr "" "であること、オブジェクトが安全に変更できる (つまり参照カウントが1である) こと" "をチェックします。" -#: ../../c-api/unicode.rst:664 +#: ../../c-api/unicode.rst:659 msgid "Return ``0`` on success, ``-1`` on error with an exception set." msgstr "" -#: ../../c-api/unicode.rst:671 +#: ../../c-api/unicode.rst:666 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:" @@ -1038,18 +1025,18 @@ msgstr "" "は *unicode* が Unicode オブジェクトであること、インデックスが範囲内であるこ" "とをチェックします。" -#: ../../c-api/unicode.rst:675 +#: ../../c-api/unicode.rst:670 msgid "Return character on success, ``-1`` on error with an exception set." msgstr "" -#: ../../c-api/unicode.rst:683 +#: ../../c-api/unicode.rst:678 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:693 +#: ../../c-api/unicode.rst:688 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 " @@ -1057,7 +1044,7 @@ msgid "" "*unicode*). *buffer* is returned on success." msgstr "" -#: ../../c-api/unicode.rst:703 +#: ../../c-api/unicode.rst:698 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:" @@ -1069,11 +1056,11 @@ msgstr "" "これが失敗した場合は、 ``NULL`` を返し :exc:`MemoryError` をセットします。\n" "返されたバッファは必ず null コードポイントが追加されています。" -#: ../../c-api/unicode.rst:712 +#: ../../c-api/unicode.rst:707 msgid "Locale Encoding" msgstr "ロケールエンコーディング" -#: ../../c-api/unicode.rst:714 +#: ../../c-api/unicode.rst:709 msgid "" "The current locale encoding can be used to decode text from the operating " "system." @@ -1081,7 +1068,7 @@ msgstr "" "現在のロケールエンコーディングはオペレーティングシステムのテキストをデコード" "するのに使えます。" -#: ../../c-api/unicode.rst:721 +#: ../../c-api/unicode.rst:716 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 " @@ -1090,21 +1077,21 @@ msgid "" "null character but cannot contain embedded null characters." msgstr "" -#: ../../c-api/unicode.rst:728 +#: ../../c-api/unicode.rst:723 msgid "" "Use :c:func:`PyUnicode_DecodeFSDefaultAndSize` to decode a string from the :" "term:`filesystem encoding and error handler`." msgstr "" -#: ../../c-api/unicode.rst:731 ../../c-api/unicode.rst:766 +#: ../../c-api/unicode.rst:726 ../../c-api/unicode.rst:761 msgid "This function ignores the :ref:`Python UTF-8 Mode `." msgstr "" -#: ../../c-api/unicode.rst:735 ../../c-api/unicode.rst:851 +#: ../../c-api/unicode.rst:730 ../../c-api/unicode.rst:846 msgid "The :c:func:`Py_DecodeLocale` function." msgstr ":c:func:`Py_DecodeLocale` 関数。" -#: ../../c-api/unicode.rst:739 +#: ../../c-api/unicode.rst:734 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -1116,13 +1103,13 @@ msgstr "" "以前は、 :c:func:`Py_DecodeLocale` が ``surrogateescape`` で使われ、現在のロ" "ケールエンコーディングは ``strict`` で使われていました。" -#: ../../c-api/unicode.rst:748 +#: ../../c-api/unicode.rst:743 msgid "" "Similar to :c:func:`PyUnicode_DecodeLocaleAndSize`, but compute the string " "length using :c:func:`!strlen`." msgstr "" -#: ../../c-api/unicode.rst:756 +#: ../../c-api/unicode.rst:751 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 " @@ -1131,17 +1118,17 @@ msgid "" "`bytes` object. *unicode* cannot contain embedded null characters." msgstr "" -#: ../../c-api/unicode.rst:763 +#: ../../c-api/unicode.rst:758 msgid "" "Use :c:func:`PyUnicode_EncodeFSDefault` to encode a string to the :term:" "`filesystem encoding and error handler`." msgstr "" -#: ../../c-api/unicode.rst:770 ../../c-api/unicode.rst:882 +#: ../../c-api/unicode.rst:765 ../../c-api/unicode.rst:877 msgid "The :c:func:`Py_EncodeLocale` function." msgstr ":c:func:`Py_EncodeLocale` 関数。" -#: ../../c-api/unicode.rst:774 +#: ../../c-api/unicode.rst:769 msgid "" "The function now also uses the current locale encoding for the " "``surrogateescape`` error handler, except on Android. Previously, :c:func:" @@ -1153,24 +1140,24 @@ msgstr "" "以前は、 :c:func:`Py_EncodeLocale` が ``surrogateescape`` で使われ、現在のロ" "ケールエンコーディングは ``strict`` で使われていました。" -#: ../../c-api/unicode.rst:783 +#: ../../c-api/unicode.rst:778 msgid "File System Encoding" msgstr "ファイルシステムエンコーディング" -#: ../../c-api/unicode.rst:785 +#: ../../c-api/unicode.rst:780 msgid "" "Functions encoding to and decoding from the :term:`filesystem encoding and " "error handler` (:pep:`383` and :pep:`529`)." msgstr "" -#: ../../c-api/unicode.rst:788 +#: ../../c-api/unicode.rst:783 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:794 +#: ../../c-api/unicode.rst:789 msgid "" ":ref:`PyArg_Parse\\* converter `: encode :class:`str` objects " "-- obtained directly or through the :class:`os.PathLike` interface -- to :" @@ -1183,24 +1170,24 @@ msgid "" "not allowed in the result. On failure, return ``0`` with an exception set." msgstr "" -#: ../../c-api/unicode.rst:806 +#: ../../c-api/unicode.rst:801 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:811 ../../c-api/unicode.rst:838 +#: ../../c-api/unicode.rst:806 ../../c-api/unicode.rst:833 msgid "Accepts a :term:`path-like object`." msgstr ":term:`path-like object` を受け入れるようになりました。" -#: ../../c-api/unicode.rst:814 +#: ../../c-api/unicode.rst:809 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:820 +#: ../../c-api/unicode.rst:815 msgid "" ":ref:`PyArg_Parse\\* converter `: decode :class:`bytes` objects " "-- obtained either directly or indirectly through the :class:`os.PathLike` " @@ -1214,63 +1201,63 @@ msgid "" "result. On failure, return ``0`` with an exception set." msgstr "" -#: ../../c-api/unicode.rst:833 +#: ../../c-api/unicode.rst:828 msgid "" "If *obj* is ``NULL``, release the strong reference to the object referred to " "by *result* and return ``1``." msgstr "" -#: ../../c-api/unicode.rst:844 +#: ../../c-api/unicode.rst:839 msgid "Decode a string from the :term:`filesystem encoding and error handler`." msgstr "" -#: ../../c-api/unicode.rst:846 +#: ../../c-api/unicode.rst:841 msgid "" "If you need to decode a string from the current locale encoding, use :c:func:" "`PyUnicode_DecodeLocaleAndSize`." msgstr "" -#: ../../c-api/unicode.rst:853 ../../c-api/unicode.rst:866 -#: ../../c-api/unicode.rst:886 +#: ../../c-api/unicode.rst:848 ../../c-api/unicode.rst:861 +#: ../../c-api/unicode.rst:881 msgid "" "The :term:`filesystem error handler ` " "is now used." msgstr "" -#: ../../c-api/unicode.rst:860 +#: ../../c-api/unicode.rst:855 msgid "" "Decode a null-terminated string from the :term:`filesystem encoding and " "error handler`." msgstr "" -#: ../../c-api/unicode.rst:863 +#: ../../c-api/unicode.rst:858 msgid "" "If the string length is known, use :c:func:" "`PyUnicode_DecodeFSDefaultAndSize`." msgstr "" -#: ../../c-api/unicode.rst:873 +#: ../../c-api/unicode.rst:868 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:877 +#: ../../c-api/unicode.rst:872 msgid "" "If you need to encode a string to the current locale encoding, use :c:func:" "`PyUnicode_EncodeLocale`." msgstr "" -#: ../../c-api/unicode.rst:891 +#: ../../c-api/unicode.rst:886 msgid "wchar_t Support" msgstr "wchar_t サポート" -#: ../../c-api/unicode.rst:893 +#: ../../c-api/unicode.rst:888 msgid ":c:type:`wchar_t` support for platforms which support it:" msgstr ":c:type:`wchar_t` をサポートするプラットフォームでの wchar_t サポート:" -#: ../../c-api/unicode.rst:897 +#: ../../c-api/unicode.rst:892 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 " @@ -1278,7 +1265,7 @@ msgid "" "failure." msgstr "" -#: ../../c-api/unicode.rst:905 +#: ../../c-api/unicode.rst:900 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 " @@ -1286,13 +1273,13 @@ msgid "" "`wchar_t` characters copied or ``-1`` in case of an error." msgstr "" -#: ../../c-api/unicode.rst:910 +#: ../../c-api/unicode.rst:905 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:913 +#: ../../c-api/unicode.rst:908 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:" @@ -1302,7 +1289,7 @@ msgid "" "most C functions." msgstr "" -#: ../../c-api/unicode.rst:923 +#: ../../c-api/unicode.rst:918 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 " @@ -1313,24 +1300,24 @@ msgid "" "`wchar_t*` string contains null characters a :exc:`ValueError` is raised." msgstr "" -#: ../../c-api/unicode.rst:931 +#: ../../c-api/unicode.rst:926 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:938 +#: ../../c-api/unicode.rst:933 msgid "" "Raises a :exc:`ValueError` if *size* is ``NULL`` and the :c:expr:`wchar_t*` " "string contains null characters." msgstr "" -#: ../../c-api/unicode.rst:946 +#: ../../c-api/unicode.rst:941 msgid "Built-in Codecs" msgstr "組み込み codec (built-in codec)" -#: ../../c-api/unicode.rst:948 +#: ../../c-api/unicode.rst:943 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." @@ -1338,7 +1325,7 @@ msgstr "" "Python には、処理速度を高めるために C で書かれた codec が揃えてあります。これ" "ら全ての codec は以下の関数を介して直接利用できます。" -#: ../../c-api/unicode.rst:951 +#: ../../c-api/unicode.rst:946 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 " @@ -1348,7 +1335,7 @@ msgstr "" "らのパラメータは、組み込みの文字列コンストラクタである :func:`str` における同" "名のパラメータと同じ意味を持ちます。" -#: ../../c-api/unicode.rst:955 +#: ../../c-api/unicode.rst:950 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 " @@ -1356,7 +1343,7 @@ msgid "" "handler` internally." msgstr "" -#: ../../c-api/unicode.rst:960 +#: ../../c-api/unicode.rst:955 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 " @@ -1367,7 +1354,7 @@ msgstr "" "込み codec で、デフォルトのエラー処理は \"strict\" (:exc:`ValueError` を送出" "する) になっています。" -#: ../../c-api/unicode.rst:964 +#: ../../c-api/unicode.rst:959 msgid "" "The codecs all use a similar interface. Only deviations from the following " "generic ones are documented for simplicity." @@ -1376,15 +1363,15 @@ msgstr "" "では、説明を簡単にするために以下の汎用のインターフェースとの違いだけを説明し" "ています。" -#: ../../c-api/unicode.rst:969 +#: ../../c-api/unicode.rst:964 msgid "Generic Codecs" msgstr "汎用 codec" -#: ../../c-api/unicode.rst:971 +#: ../../c-api/unicode.rst:966 msgid "These are the generic codec APIs:" msgstr "以下は汎用 codec の API です:" -#: ../../c-api/unicode.rst:977 +#: ../../c-api/unicode.rst:972 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 " @@ -1393,7 +1380,7 @@ msgid "" "was raised by the codec." msgstr "" -#: ../../c-api/unicode.rst:987 +#: ../../c-api/unicode.rst:982 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 " @@ -1408,15 +1395,15 @@ msgstr "" "使用する codec の検索は、 Python の codec レジストリを使って行います。\n" "codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:995 +#: ../../c-api/unicode.rst:990 msgid "UTF-8 Codecs" msgstr "UTF-8 Codecs" -#: ../../c-api/unicode.rst:997 +#: ../../c-api/unicode.rst:992 msgid "These are the UTF-8 codec APIs:" msgstr "以下は UTF-8 codec の APIです:" -#: ../../c-api/unicode.rst:1002 +#: ../../c-api/unicode.rst:997 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." @@ -1424,7 +1411,7 @@ msgstr "" "UTF-8 でエンコードされた *size* バイトの文字列 *str* から Unicode オブジェク" "トを生成します。codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1009 +#: ../../c-api/unicode.rst:1004 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF8`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-8 byte sequences will " @@ -1436,7 +1423,7 @@ msgstr "" "エラーとみなされません。これらのバイト列はデコードされず、デコードされたバイ" "ト数は *consumed* に格納されます。" -#: ../../c-api/unicode.rst:1017 +#: ../../c-api/unicode.rst:1012 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 " @@ -1446,13 +1433,13 @@ msgstr "" "トとして返します。エラー処理は \"strict\" です。 codec が例外を送出した場合に" "は ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1021 ../../c-api/unicode.rst:1036 +#: ../../c-api/unicode.rst:1016 ../../c-api/unicode.rst:1031 msgid "" "The function fails if the string contains surrogate code points (``U+D800`` " "- ``U+DFFF``)." msgstr "" -#: ../../c-api/unicode.rst:1027 +#: ../../c-api/unicode.rst:1022 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* " @@ -1466,13 +1453,13 @@ msgstr "" "返されるバッファには、 null コードポイントがあるかどうかに関わらず、常に " "null バイトが終端に付加されています (これは *size* には勘定されません)。" -#: ../../c-api/unicode.rst:1033 +#: ../../c-api/unicode.rst:1028 msgid "" "On error, set an exception, set *size* to ``-1`` (if it's not NULL) and " "return ``NULL``." msgstr "" -#: ../../c-api/unicode.rst:1039 +#: ../../c-api/unicode.rst:1034 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 " @@ -1481,20 +1468,20 @@ msgid "" "collected." msgstr "" -#: ../../c-api/unicode.rst:1046 ../../c-api/unicode.rst:1068 +#: ../../c-api/unicode.rst:1041 ../../c-api/unicode.rst:1063 msgid "The return type is now ``const char *`` rather of ``char *``." msgstr "返り値の型が ``char *`` ではなく ``const char *`` になりました。" -#: ../../c-api/unicode.rst:1049 +#: ../../c-api/unicode.rst:1044 msgid "This function is a part of the :ref:`limited API `." msgstr "" -#: ../../c-api/unicode.rst:1055 +#: ../../c-api/unicode.rst:1050 msgid "As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size." msgstr "" ":c:func:`PyUnicode_AsUTF8AndSize` とほぼ同じですが、サイズを格納しません。" -#: ../../c-api/unicode.rst:1059 +#: ../../c-api/unicode.rst:1054 msgid "" "This function does not have any special behavior for `null characters " "`_ embedded within *unicode*. " @@ -1504,15 +1491,15 @@ msgid "" "c:func:`PyUnicode_AsUTF8AndSize` instead." msgstr "" -#: ../../c-api/unicode.rst:1073 +#: ../../c-api/unicode.rst:1068 msgid "UTF-32 Codecs" msgstr "UTF-32 Codecs" -#: ../../c-api/unicode.rst:1075 +#: ../../c-api/unicode.rst:1070 msgid "These are the UTF-32 codec APIs:" msgstr "以下は UTF-32 codec API です:" -#: ../../c-api/unicode.rst:1081 +#: ../../c-api/unicode.rst:1076 msgid "" "Decode *size* bytes from a UTF-32 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " @@ -1522,7 +1509,7 @@ msgstr "" "Unicodeオブジェクトとして返します。 *errors* は (``NULL`` でないなら) エラー" "ハンドラを指定します。デフォルトは \"strict\" です。" -#: ../../c-api/unicode.rst:1085 ../../c-api/unicode.rst:1135 +#: ../../c-api/unicode.rst:1080 ../../c-api/unicode.rst:1130 msgid "" "If *byteorder* is non-``NULL``, the decoder starts decoding using the given " "byte order::" @@ -1530,14 +1517,14 @@ msgstr "" "*byteorder* が ``NULL`` でない時、デコーダは与えられたバイトオーダーでデコー" "ドを開始します。 ::" -#: ../../c-api/unicode.rst:1088 ../../c-api/unicode.rst:1138 +#: ../../c-api/unicode.rst:1083 ../../c-api/unicode.rst:1133 msgid "" "*byteorder == -1: little endian\n" "*byteorder == 0: native order\n" "*byteorder == 1: big endian" msgstr "" -#: ../../c-api/unicode.rst:1092 +#: ../../c-api/unicode.rst:1087 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 " @@ -1549,7 +1536,7 @@ msgstr "" "コピーされません。 ``*byteorder`` が ``-1`` または ``1`` ならば、全ての byte " "order mark は出力にコピーされます。" -#: ../../c-api/unicode.rst:1097 +#: ../../c-api/unicode.rst:1092 msgid "" "After completion, *\\*byteorder* is set to the current byte order at the end " "of input data." @@ -1557,16 +1544,16 @@ msgstr "" "デコードが完了した後、入力データの終端に来た時点でのバイトオーダーを " "*\\*byteorder* にセットします。" -#: ../../c-api/unicode.rst:1100 ../../c-api/unicode.rst:1151 +#: ../../c-api/unicode.rst:1095 ../../c-api/unicode.rst:1146 msgid "If *byteorder* is ``NULL``, the codec starts in native order mode." msgstr "" "*byteorder* が ``NULL`` のとき、 codec は native order モードで開始します。" -#: ../../c-api/unicode.rst:1102 ../../c-api/unicode.rst:1153 +#: ../../c-api/unicode.rst:1097 ../../c-api/unicode.rst:1148 msgid "Return ``NULL`` if an exception was raised by the codec." msgstr "codec が例外を発生させたときは ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1108 +#: ../../c-api/unicode.rst:1103 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF32`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF32Stateful` will not " @@ -1580,7 +1567,7 @@ msgstr "" "ト列などの) UTF-32 バイト列をエラーとして扱いません。末尾の不完全なバイト列は" "デコードされず、デコードされたバイト数が *consumed* に格納されます。" -#: ../../c-api/unicode.rst:1117 +#: ../../c-api/unicode.rst:1112 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\". " @@ -1592,15 +1579,15 @@ msgstr "" "エラーハンドラは \"strict\" です。\n" "codec が例外を発生させたときは ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1123 +#: ../../c-api/unicode.rst:1118 msgid "UTF-16 Codecs" msgstr "UTF-16 Codecs" -#: ../../c-api/unicode.rst:1125 +#: ../../c-api/unicode.rst:1120 msgid "These are the UTF-16 codec APIs:" msgstr "以下は UTF-16 codec の APIです:" -#: ../../c-api/unicode.rst:1131 +#: ../../c-api/unicode.rst:1126 msgid "" "Decode *size* bytes from a UTF-16 encoded buffer string and return the " "corresponding Unicode object. *errors* (if non-``NULL``) defines the error " @@ -1610,7 +1597,7 @@ msgstr "" "果を Unicode オブジェクトで返します。 *errors* は (``NULL`` でない場合) エ" "ラー処理方法を定義します。デフォルト値は \"strict\" です。" -#: ../../c-api/unicode.rst:1142 +#: ../../c-api/unicode.rst:1137 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 " @@ -1624,7 +1611,7 @@ msgstr "" "合、すべてのBOMは出力へコピーされます (出力では ``\\ufeff`` か ``\\ufffe`` の" "どちらかになるでしょう)。" -#: ../../c-api/unicode.rst:1148 +#: ../../c-api/unicode.rst:1143 msgid "" "After completion, ``*byteorder`` is set to the current byte order at the end " "of input data." @@ -1632,7 +1619,7 @@ msgstr "" "デコードが完了した後、入力データの終端に来た時点でのバイトオーダーを " "``*byteorder`` にセットします。" -#: ../../c-api/unicode.rst:1159 +#: ../../c-api/unicode.rst:1154 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF16`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeUTF16Stateful` will not " @@ -1647,7 +1634,7 @@ msgstr "" "イト列や分割されたサロゲートペア) をエラーとみなしません。これらのバイト列は" "デコードされず、デコードされたバイト数を *consumed* に返します。" -#: ../../c-api/unicode.rst:1168 +#: ../../c-api/unicode.rst:1163 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\". " @@ -1659,21 +1646,21 @@ msgstr "" "エラーハンドラは \"strict\" です。\n" "codec が例外を発生させたときは ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1174 +#: ../../c-api/unicode.rst:1169 msgid "UTF-7 Codecs" msgstr "UTF-7 Codecs" -#: ../../c-api/unicode.rst:1176 +#: ../../c-api/unicode.rst:1171 msgid "These are the UTF-7 codec APIs:" msgstr "以下は UTF-7 codec の API です:" -#: ../../c-api/unicode.rst:1181 +#: ../../c-api/unicode.rst:1176 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:1188 +#: ../../c-api/unicode.rst:1183 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeUTF7`. If " "*consumed* is not ``NULL``, trailing incomplete UTF-7 base-64 sections will " @@ -1685,22 +1672,22 @@ msgstr "" "分をエラーとしません。不完全な部分のバイト列はデコードせずに、デコードしたバ" "イト数を *consumed* に格納します。" -#: ../../c-api/unicode.rst:1195 +#: ../../c-api/unicode.rst:1190 msgid "Unicode-Escape Codecs" msgstr "Unicode-Escape Codecs" -#: ../../c-api/unicode.rst:1197 +#: ../../c-api/unicode.rst:1192 msgid "These are the \"Unicode Escape\" codec APIs:" msgstr "以下は \"Unicode Escape\" codec の API です:" -#: ../../c-api/unicode.rst:1203 +#: ../../c-api/unicode.rst:1198 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:1209 +#: ../../c-api/unicode.rst:1204 msgid "" "Encode a Unicode object using Unicode-Escape and return the result as a " "bytes object. Error handling is \"strict\". Return ``NULL`` if an " @@ -1711,22 +1698,22 @@ msgstr "" "エラー処理は \"strict\" です。\n" "codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1215 +#: ../../c-api/unicode.rst:1210 msgid "Raw-Unicode-Escape Codecs" msgstr "Raw-Unicode-Escape Codecs" -#: ../../c-api/unicode.rst:1217 +#: ../../c-api/unicode.rst:1212 msgid "These are the \"Raw Unicode Escape\" codec APIs:" msgstr "以下は \"Raw Unicode Escape\" codec の APIです:" -#: ../../c-api/unicode.rst:1223 +#: ../../c-api/unicode.rst:1218 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:1229 +#: ../../c-api/unicode.rst:1224 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 " @@ -1737,11 +1724,11 @@ msgstr "" "エラー処理は \"strict\" です。\n" "codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1235 +#: ../../c-api/unicode.rst:1230 msgid "Latin-1 Codecs" msgstr "Latin-1 Codecs" -#: ../../c-api/unicode.rst:1237 +#: ../../c-api/unicode.rst:1232 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." @@ -1749,7 +1736,7 @@ msgstr "" "以下は Latin-1 codec の APIです: Latin-1 は、 Unicode 序数の最初の 256 個に対" "応し、エンコード時にはこの 256 個だけを受理します。" -#: ../../c-api/unicode.rst:1243 +#: ../../c-api/unicode.rst:1238 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." @@ -1757,7 +1744,7 @@ msgstr "" "Latin-1 でエンコードされた *size* バイトの文字列 *str* から Unicode オブジェ" "クトを生成します。codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1249 +#: ../../c-api/unicode.rst:1244 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 " @@ -1768,11 +1755,11 @@ msgstr "" "エラー処理は \"strict\" です。 codec が例外を送出した場合には ``NULL`` を返し" "ます。" -#: ../../c-api/unicode.rst:1255 +#: ../../c-api/unicode.rst:1250 msgid "ASCII Codecs" msgstr "ASCII Codecs" -#: ../../c-api/unicode.rst:1257 +#: ../../c-api/unicode.rst:1252 msgid "" "These are the ASCII codec APIs. Only 7-bit ASCII data is accepted. All " "other codes generate errors." @@ -1780,13 +1767,13 @@ msgstr "" "以下は ASCII codec の APIです。 7 ビットの ASCII データだけを受理します。その" "他のコードはエラーになります。" -#: ../../c-api/unicode.rst:1263 +#: ../../c-api/unicode.rst:1258 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:1269 +#: ../../c-api/unicode.rst:1264 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 " @@ -1797,11 +1784,11 @@ msgstr "" "エラー処理は \"strict\" です。\n" "codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1275 +#: ../../c-api/unicode.rst:1270 msgid "Character Map Codecs" msgstr "Character Map Codecs" -#: ../../c-api/unicode.rst:1277 +#: ../../c-api/unicode.rst:1272 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 " @@ -1818,11 +1805,11 @@ msgstr "" "ターフェースをサポートしていなければなりません; 辞書やシーケンスがそれに適し" "ています。" -#: ../../c-api/unicode.rst:1283 +#: ../../c-api/unicode.rst:1278 msgid "These are the mapping codec APIs:" msgstr "以下は mapping codec の APIです:" -#: ../../c-api/unicode.rst:1288 +#: ../../c-api/unicode.rst:1283 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 " @@ -1832,7 +1819,7 @@ msgstr "" "字列 *str* をデコードして Unicode オブジェクトを作成します。\n" "codec が例外を発生させたときは ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1292 +#: ../../c-api/unicode.rst:1287 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 " @@ -1842,7 +1829,7 @@ msgid "" "treated as undefined mappings and cause an error." msgstr "" -#: ../../c-api/unicode.rst:1303 +#: ../../c-api/unicode.rst:1298 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 " @@ -1852,7 +1839,7 @@ msgstr "" "し、結果を bytes オブジェクトとして返します。エラー処理は \"strict\" です。 " "codec が例外を送出した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1307 +#: ../../c-api/unicode.rst:1302 msgid "" "The *mapping* object must map Unicode ordinal integers to bytes objects, " "integers in the range from 0 to 255 or ``None``. Unmapped character " @@ -1860,12 +1847,12 @@ msgid "" "``None`` are treated as \"undefined mapping\" and cause an error." msgstr "" -#: ../../c-api/unicode.rst:1313 +#: ../../c-api/unicode.rst:1308 msgid "The following codec API is special in that maps Unicode to Unicode." msgstr "" "以下の codec API は Unicode から Unicode への対応付けを行う特殊なものです。" -#: ../../c-api/unicode.rst:1317 +#: ../../c-api/unicode.rst:1312 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 " @@ -1874,7 +1861,7 @@ msgstr "" "文字列に文字対応表 *table* を適用して変換し、変換結果を Unicode オブジェクト" "で返します。codec が例外を発行した場合には ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1321 +#: ../../c-api/unicode.rst:1316 msgid "" "The mapping table must map Unicode ordinal integers to Unicode ordinal " "integers or ``None`` (causing deletion of the character)." @@ -1882,14 +1869,14 @@ msgstr "" "対応表は、Unicode 序数を表す整数を Unicode 序数を表す整数または ``None`` (そ" "の文字を削除する) に対応付けなければなりません。" -#: ../../c-api/unicode.rst:1324 +#: ../../c-api/unicode.rst:1319 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:1328 +#: ../../c-api/unicode.rst:1323 msgid "" "*errors* has the usual meaning for codecs. It may be ``NULL`` which " "indicates to use the default error handling." @@ -1897,11 +1884,11 @@ msgstr "" "*errors* は codecs で通常使われるのと同じ意味を持ちます。 *errors* は " "``NULL`` にしてもよく、デフォルトエラー処理の使用を意味します。" -#: ../../c-api/unicode.rst:1333 +#: ../../c-api/unicode.rst:1328 msgid "MBCS codecs for Windows" msgstr "Windows 用の MBCS codec" -#: ../../c-api/unicode.rst:1335 +#: ../../c-api/unicode.rst:1330 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 " @@ -1915,13 +1902,13 @@ msgstr "" "式 (target encoding) は、 codec を動作させているマシン上のユーザ設定で定義さ" "れています。" -#: ../../c-api/unicode.rst:1342 +#: ../../c-api/unicode.rst:1337 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:1349 +#: ../../c-api/unicode.rst:1344 msgid "" "If *consumed* is ``NULL``, behave like :c:func:`PyUnicode_DecodeMBCS`. If " "*consumed* is not ``NULL``, :c:func:`PyUnicode_DecodeMBCSStateful` will not " @@ -1933,13 +1920,13 @@ msgstr "" "`PyUnicode_DecodeMBCSStateful` は文字列の最後にあるマルチバイト文字の前半バイ" "トをデコードせず、 *consumed* にデコードしたバイト数を格納します。" -#: ../../c-api/unicode.rst:1358 +#: ../../c-api/unicode.rst:1353 msgid "" "Similar to :c:func:`PyUnicode_DecodeMBCSStateful`, except uses the code page " "specified by *code_page*." msgstr "" -#: ../../c-api/unicode.rst:1364 +#: ../../c-api/unicode.rst:1359 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 " @@ -1949,22 +1936,22 @@ msgstr "" "トとして返します。エラー処理は \"strict\" です。 codec が例外を送出した場合に" "は ``NULL`` を返します。" -#: ../../c-api/unicode.rst:1371 +#: ../../c-api/unicode.rst:1366 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:1379 +#: ../../c-api/unicode.rst:1374 msgid "Methods & Slots" msgstr "メソッドとスロット" -#: ../../c-api/unicode.rst:1385 +#: ../../c-api/unicode.rst:1380 msgid "Methods and Slot Functions" msgstr "メソッドおよびスロット関数 (slot function)" -#: ../../c-api/unicode.rst:1387 +#: ../../c-api/unicode.rst:1382 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 " @@ -1974,17 +1961,17 @@ msgstr "" "も文字列と表記しています)、場合に応じて Unicode オブジェクトか整数を返す機能" "を持っています。" -#: ../../c-api/unicode.rst:1391 +#: ../../c-api/unicode.rst:1386 msgid "They all return ``NULL`` or ``-1`` if an exception occurs." msgstr "" "これらの関数は全て、例外が発生した場合には ``NULL`` または ``-1`` を返しま" "す。" -#: ../../c-api/unicode.rst:1396 +#: ../../c-api/unicode.rst:1391 msgid "Concat two strings giving a new Unicode string." msgstr "二つの文字列を結合して、新たな Unicode 文字列を生成します。" -#: ../../c-api/unicode.rst:1401 +#: ../../c-api/unicode.rst:1396 msgid "" "Split a string giving a list of Unicode strings. If *sep* is ``NULL``, " "splitting will be done at all whitespace substrings. Otherwise, splits " @@ -1998,14 +1985,60 @@ msgstr "" "います。 *maxsplit* が負ならば分割数に制限を設けません。分割結果のリスト内に" "は分割文字は含みません。" -#: ../../c-api/unicode.rst:1409 +#: ../../c-api/unicode.rst:1401 ../../c-api/unicode.rst:1411 +#: ../../c-api/unicode.rst:1432 ../../c-api/unicode.rst:1445 +msgid "On error, return ``NULL`` with an exception set." +msgstr "" + +#: ../../c-api/unicode.rst:1403 +msgid "Equivalent to :py:meth:`str.split`." +msgstr "" + +#: ../../c-api/unicode.rst:1408 +msgid "" +"Similar to :c:func:`PyUnicode_Split`, but splitting will be done beginning " +"at the end of the string." +msgstr "" + +#: ../../c-api/unicode.rst:1413 +msgid "Equivalent to :py:meth:`str.rsplit`." +msgstr "" + +#: ../../c-api/unicode.rst:1418 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:1416 +#: ../../c-api/unicode.rst:1425 +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 ../../c-api/unicode.rst:1443 +msgid "*sep* must not be empty." +msgstr "" + +#: ../../c-api/unicode.rst:1434 +msgid "Equivalent to :py:meth:`str.partition`." +msgstr "" + +#: ../../c-api/unicode.rst:1439 +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:1447 +msgid "Equivalent to :py:meth:`str.rpartition`." +msgstr "" + +#: ../../c-api/unicode.rst:1452 msgid "" "Join a sequence of strings using the given *separator* and return the " "resulting Unicode string." @@ -2013,14 +2046,14 @@ msgstr "" "指定した *separator* で文字列からなるシーケンスを連結 (join) し、連結結果を " "Unicode 文字列で返します。" -#: ../../c-api/unicode.rst:1423 +#: ../../c-api/unicode.rst:1459 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:1431 +#: ../../c-api/unicode.rst:1467 msgid "" "Return the first position of *substr* in ``unicode[start:end]`` using the " "given *direction* (*direction* == ``1`` means to do a forward search, " @@ -2035,7 +2068,7 @@ msgstr "" "チが見つからなかったことを表し、 ``-2`` はエラーが発生して例外情報が設定され" "ていることを表します。" -#: ../../c-api/unicode.rst:1441 +#: ../../c-api/unicode.rst:1477 msgid "" "Return the first position of the character *ch* in ``unicode[start:end]`` " "using the given *direction* (*direction* == ``1`` means to do a forward " @@ -2051,12 +2084,12 @@ msgstr "" "チが見つからなかったことを表し、 ``-2`` はエラーが発生して例外情報が設定され" "ていることを表します。" -#: ../../c-api/unicode.rst:1449 +#: ../../c-api/unicode.rst:1485 msgid "" "*start* and *end* are now adjusted to behave like ``unicode[start:end]``." msgstr "" -#: ../../c-api/unicode.rst:1456 +#: ../../c-api/unicode.rst:1492 msgid "" "Return the number of non-overlapping occurrences of *substr* in " "``unicode[start:end]``. Return ``-1`` if an error occurred." @@ -2064,7 +2097,7 @@ msgstr "" "``unicode[start:end]`` に *substr* が重複することなく出現する回数を返します。" "エラーが発生した場合には ``-1`` を返します。" -#: ../../c-api/unicode.rst:1463 +#: ../../c-api/unicode.rst:1499 msgid "" "Replace at most *maxcount* occurrences of *substr* in *unicode* with " "*replstr* and return the resulting Unicode object. *maxcount* == ``-1`` " @@ -2074,7 +2107,7 @@ msgstr "" "換結果である Unicode オブジェクトを返します。\n" "*maxcount* == ``-1`` にすると、文字列中に現れる全ての *substr* を置換します。" -#: ../../c-api/unicode.rst:1470 +#: ../../c-api/unicode.rst:1506 msgid "" "Compare two strings and return ``-1``, ``0``, ``1`` for less than, equal, " "and greater than, respectively." @@ -2083,7 +2116,7 @@ msgstr "" "左引数が右引数より大きい場合に対して、それぞれ ``-1``, ``0``, ``1`` を返しま" "す。" -#: ../../c-api/unicode.rst:1473 +#: ../../c-api/unicode.rst:1509 msgid "" "This function returns ``-1`` upon failure, so one should call :c:func:" "`PyErr_Occurred` to check for errors." @@ -2091,7 +2124,7 @@ msgstr "" "この関数は、失敗したときに ``-1`` を返すので、 :c:func:`PyErr_Occurred` を呼" "び出して、エラーをチェックすべきです。" -#: ../../c-api/unicode.rst:1479 +#: ../../c-api/unicode.rst:1515 msgid "" "Compare a Unicode object with a char buffer which is interpreted as being " "UTF-8 or ASCII encoded and return true (``1``) if they are equal, or false " @@ -2100,18 +2133,18 @@ msgid "" "is returned." msgstr "" -#: ../../c-api/unicode.rst:1486 ../../c-api/unicode.rst:1507 +#: ../../c-api/unicode.rst:1522 ../../c-api/unicode.rst:1543 msgid "This function does not raise exceptions." msgstr "この関数は例外を送出しません。" -#: ../../c-api/unicode.rst:1493 +#: ../../c-api/unicode.rst:1529 msgid "" "Similar to :c:func:`PyUnicode_EqualToUTF8AndSize`, but compute *string* " "length using :c:func:`!strlen`. If the Unicode object contains null " "characters, false (``0``) is returned." msgstr "" -#: ../../c-api/unicode.rst:1502 +#: ../../c-api/unicode.rst:1538 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 " @@ -2124,31 +2157,31 @@ msgstr "" "ASCII エンコードされた文字列だけを渡すのが最も良いですが、入力文字列に非 " "ASCII 文字が含まれている場合は ISO-8859-1 として解釈します。" -#: ../../c-api/unicode.rst:1512 +#: ../../c-api/unicode.rst:1548 msgid "Rich compare two Unicode strings and return one of the following:" msgstr "二つのUnicode文字列を比較して、下のうちの一つを返します:" -#: ../../c-api/unicode.rst:1514 +#: ../../c-api/unicode.rst:1550 msgid "``NULL`` in case an exception was raised" msgstr "``NULL`` を、例外が発生したときに返します。" -#: ../../c-api/unicode.rst:1515 +#: ../../c-api/unicode.rst:1551 msgid ":c:data:`Py_True` or :c:data:`Py_False` for successful comparisons" msgstr "" ":c:data:`Py_True` もしくは :c:data:`Py_False` を、正しく比較できた時に返しま" "す。" -#: ../../c-api/unicode.rst:1516 +#: ../../c-api/unicode.rst:1552 msgid ":c:data:`Py_NotImplemented` in case the type combination is unknown" msgstr "" -#: ../../c-api/unicode.rst:1518 +#: ../../c-api/unicode.rst:1554 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:1524 +#: ../../c-api/unicode.rst:1560 msgid "" "Return a new string object from *format* and *args*; this is analogous to " "``format % args``." @@ -2156,14 +2189,14 @@ msgstr "" "新たな文字列オブジェクトを *format* および *args* から生成して返します; この" "メソッドは ``format % args`` のようなものです。" -#: ../../c-api/unicode.rst:1530 +#: ../../c-api/unicode.rst:1566 msgid "" "Check whether *substr* is contained in *unicode* and return true or false " "accordingly." msgstr "" "*substr* が *unicode* 内にあるか調べ、その結果に応じて真または偽を返します。" -#: ../../c-api/unicode.rst:1533 +#: ../../c-api/unicode.rst:1569 msgid "" "*substr* has to coerce to a one element Unicode string. ``-1`` is returned " "if there was an error." @@ -2171,7 +2204,7 @@ msgstr "" "*substr* は単要素の Unicode 文字に型強制できなければなりません。エラーが生じ" "た場合には ``-1`` を返します。" -#: ../../c-api/unicode.rst:1539 +#: ../../c-api/unicode.rst:1575 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. " @@ -2182,7 +2215,7 @@ msgid "" "interns it." msgstr "" -#: ../../c-api/unicode.rst:1546 +#: ../../c-api/unicode.rst:1582 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; " @@ -2190,39 +2223,39 @@ msgid "" "the result.)" msgstr "" -#: ../../c-api/unicode.rst:1551 +#: ../../c-api/unicode.rst:1587 msgid "" "This function never raises an exception. On error, it leaves its argument " "unchanged without interning it." msgstr "" -#: ../../c-api/unicode.rst:1554 +#: ../../c-api/unicode.rst:1590 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:1558 +#: ../../c-api/unicode.rst:1594 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:1564 +#: ../../c-api/unicode.rst:1600 msgid "" "A combination of :c:func:`PyUnicode_FromString` and :c:func:" "`PyUnicode_InternInPlace`, meant for statically allocated strings." msgstr "" -#: ../../c-api/unicode.rst:1567 +#: ../../c-api/unicode.rst:1603 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:1571 +#: ../../c-api/unicode.rst:1607 msgid "" "Python may keep a reference to the result, or make it :term:`immortal`, " "preventing it from being garbage-collected promptly. For interning an " @@ -2231,6 +2264,6 @@ msgid "" "`PyUnicode_InternInPlace` directly." msgstr "" -#: ../../c-api/unicode.rst:1579 +#: ../../c-api/unicode.rst:1615 msgid "Strings interned this way are made :term:`immortal`." msgstr "" diff --git a/faq/general.po b/faq/general.po index bc46cc40b..0bed9d7af 100644 --- a/faq/general.po +++ b/faq/general.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -867,7 +867,7 @@ msgstr "" #: ../../faq/general.rst:412 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/programming.po b/faq/programming.po index 5e1325fa8..cd1a98004 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:52+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -3840,7 +3840,7 @@ msgstr "" #: ../../faq/programming.rst:2112 msgid "" ">>> import py_compile\n" -">>> py_compile.compile('foo.py') " +">>> py_compile.compile('foo.py')" msgstr "" #: ../../faq/programming.rst:2115 diff --git a/glossary.po b/glossary.po index 1d1c38f0e..28bf05b90 100644 --- a/glossary.po +++ b/glossary.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:47+0000\n" "Last-Translator: Hano, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1711,7 +1711,7 @@ msgstr "" msgid "keyword argument" msgstr "keyword argument" -#: ../../glossary.rst:771 ../../glossary.rst:1077 +#: ../../glossary.rst:771 ../../glossary.rst:1082 msgid "See :term:`argument`." msgstr ":term:`実引数 ` を参照してください。" @@ -1919,7 +1919,7 @@ msgstr "" msgid "More information can be found in :ref:`metaclasses`." msgstr "詳細は :ref:`metaclasses` を参照してください。" -#: ../../glossary.rst:827 ../../glossary.rst:859 ../../glossary.rst:1222 +#: ../../glossary.rst:827 ../../glossary.rst:859 ../../glossary.rst:1227 msgid "method" msgstr "メソッド" @@ -2078,25 +2078,32 @@ msgstr "namespace package" #: ../../glossary.rst:929 msgid "" -"A :pep:`420` :term:`package` which serves only as a container for " -"subpackages. Namespace packages may have no physical representation, and " -"specifically are not like a :term:`regular package` because they have no " -"``__init__.py`` file." +"A :term:`package` which serves only as a container for subpackages. " +"Namespace packages may have no physical representation, and specifically are " +"not like a :term:`regular package` because they have no ``__init__.py`` file." msgstr "" -"(名前空間パッケージ) サブパッケージのコンテナとしてのみ提供される :pep:`420` " -"で定義された :term:`package` です。名前空間パッケージは物理的な表現を持たな" -"いことができ、 ``__init__.py`` ファイルを持たないため、 :term:`regular " -"package` とは異なります。" #: ../../glossary.rst:934 +msgid "" +"Namespace packages allow several individually installable packages to have a " +"common parent package. Otherwise, it is recommended to use a :term:`regular " +"package`." +msgstr "" + +#: ../../glossary.rst:937 +msgid "" +"For more information, see :pep:`420` and :ref:`reference-namespace-package`." +msgstr "" + +#: ../../glossary.rst:939 msgid "See also :term:`module`." msgstr ":term:`module` を参照してください。" -#: ../../glossary.rst:935 +#: ../../glossary.rst:940 msgid "nested scope" msgstr "nested scope" -#: ../../glossary.rst:937 +#: ../../glossary.rst:942 msgid "" "The ability to refer to a variable in an enclosing definition. For " "instance, a function defined inside another function can refer to variables " @@ -2112,11 +2119,11 @@ msgstr "" "を読み書きします。同様に、グローバル変数を使うとグローバル名前空間の値を読み" "書きします。 :keyword:`nonlocal` で外側の変数に書き込めます。" -#: ../../glossary.rst:944 +#: ../../glossary.rst:949 msgid "new-style class" msgstr "new-style class" -#: ../../glossary.rst:946 +#: ../../glossary.rst:951 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, " @@ -2124,11 +2131,11 @@ msgid "" "meth:`~object.__getattribute__`, class methods, and static methods." msgstr "" -#: ../../glossary.rst:951 +#: ../../glossary.rst:956 msgid "object" msgstr "object" -#: ../../glossary.rst:953 +#: ../../glossary.rst:958 msgid "" "Any data with state (attributes or value) and defined behavior (methods). " "Also the ultimate base class of any :term:`new-style class`." @@ -2137,11 +2144,11 @@ msgstr "" "データ。もしくは、全ての :term:`新スタイルクラス ` の究極の" "基底クラスのこと。" -#: ../../glossary.rst:956 +#: ../../glossary.rst:961 msgid "optimized scope" msgstr "" -#: ../../glossary.rst:958 +#: ../../glossary.rst:963 msgid "" "A scope where target local variable names are reliably known to the compiler " "when the code is compiled, allowing optimization of read and write access to " @@ -2152,11 +2159,11 @@ msgid "" "to optimized scopes." msgstr "" -#: ../../glossary.rst:965 +#: ../../glossary.rst:970 msgid "package" msgstr "package" -#: ../../glossary.rst:967 +#: ../../glossary.rst:972 msgid "" "A Python :term:`module` which can contain submodules or recursively, " "subpackages. Technically, a package is a Python module with a ``__path__`` " @@ -2166,16 +2173,16 @@ msgstr "" "`module` のことです。専門的には、パッケージは ``__path__`` 属性を持つ Python " "オブジェクトです。" -#: ../../glossary.rst:971 +#: ../../glossary.rst:976 msgid "See also :term:`regular package` and :term:`namespace package`." msgstr "" ":term:`regular package` と :term:`namespace package` を参照してください。" -#: ../../glossary.rst:972 +#: ../../glossary.rst:977 msgid "parameter" msgstr "parameter" -#: ../../glossary.rst:974 +#: ../../glossary.rst:979 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 " @@ -2185,7 +2192,7 @@ msgstr "" "` ) の定義において関数が受ける :term:`実引数 ` を指定しま" "す。仮引数には5種類あります:" -#: ../../glossary.rst:978 +#: ../../glossary.rst:983 msgid "" ":dfn:`positional-or-keyword`: specifies an argument that can be passed " "either :term:`positionally ` or as a :term:`keyword argument " @@ -2196,11 +2203,11 @@ msgstr "" "ワード引数 ` として渡すことができる引数を指定します。\n" "これはたとえば以下の *foo* や *bar* のように、デフォルトの仮引数の種類です::" -#: ../../glossary.rst:983 +#: ../../glossary.rst:988 msgid "def func(foo, bar=None): ..." msgstr "" -#: ../../glossary.rst:987 +#: ../../glossary.rst:992 msgid "" ":dfn:`positional-only`: specifies an argument that can be supplied only by " "position. Positional-only parameters can be defined by including a ``/`` " @@ -2211,11 +2218,11 @@ msgstr "" "義の引数のリストの中でそれらの後ろに ``/`` を含めることで定義できます。例えば" "下記の *posonly1* と *posonly2* は位置専用引数になります:: " -#: ../../glossary.rst:992 +#: ../../glossary.rst:997 msgid "def func(posonly1, posonly2, /, positional_or_keyword): ..." msgstr "" -#: ../../glossary.rst:996 +#: ../../glossary.rst:1001 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-" @@ -2228,11 +2235,11 @@ msgstr "" "ように、関数定義の仮引数リストに含めた可変長位置引数または裸の ``*`` の後で" "す::" -#: ../../glossary.rst:1002 +#: ../../glossary.rst:1007 msgid "def func(arg, *, kw_only1, kw_only2): ..." msgstr "" -#: ../../glossary.rst:1004 +#: ../../glossary.rst:1009 msgid "" ":dfn:`var-positional`: specifies that an arbitrary sequence of positional " "arguments can be provided (in addition to any positional arguments already " @@ -2244,11 +2251,11 @@ msgstr "" "個数の位置引数が与えられることを指定します。このような仮引数は、以下の " "*args* のように仮引数名の前に ``*`` をつけることで定義できます::" -#: ../../glossary.rst:1010 +#: ../../glossary.rst:1015 msgid "def func(*args, **kwargs): ..." msgstr "" -#: ../../glossary.rst:1012 +#: ../../glossary.rst:1017 msgid "" ":dfn:`var-keyword`: specifies that arbitrarily many keyword arguments can be " "provided (in addition to any keyword arguments already accepted by other " @@ -2260,7 +2267,7 @@ msgstr "" "数は、上の例の *kwargs* のように仮引数名の前に ``**`` をつけることで定義でき" "ます。" -#: ../../glossary.rst:1018 +#: ../../glossary.rst:1023 msgid "" "Parameters can specify both optional and required arguments, as well as " "default values for some optional arguments." @@ -2268,7 +2275,7 @@ msgstr "" "仮引数はオプションと必須の引数のどちらも指定でき、オプションの引数にはデフォ" "ルト値も指定できます。" -#: ../../glossary.rst:1021 +#: ../../glossary.rst:1026 msgid "" "See also the :term:`argument` glossary entry, the FAQ question on :ref:`the " "difference between arguments and parameters `, " @@ -2279,11 +2286,11 @@ msgstr "" "` 、:class:`inspect.Parameter` クラス、 :ref:" "`function` セクション、:pep:`362` を参照してください。" -#: ../../glossary.rst:1025 +#: ../../glossary.rst:1030 msgid "path entry" msgstr "path entry" -#: ../../glossary.rst:1027 +#: ../../glossary.rst:1032 msgid "" "A single location on the :term:`import path` which the :term:`path based " "finder` consults to find modules for importing." @@ -2291,11 +2298,11 @@ msgstr "" ":term:`path based finder` が import するモジュールを探す :term:`import path` " "上の1つの場所です。" -#: ../../glossary.rst:1029 +#: ../../glossary.rst:1034 msgid "path entry finder" msgstr "path entry finder" -#: ../../glossary.rst:1031 +#: ../../glossary.rst:1036 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:" @@ -2305,7 +2312,7 @@ msgstr "" "した :term:`finder` です。与えられた :term:`path entry` にあるモジュールを見" "つける方法を知っています。" -#: ../../glossary.rst:1035 +#: ../../glossary.rst:1040 msgid "" "See :class:`importlib.abc.PathEntryFinder` for the methods that path entry " "finders implement." @@ -2313,22 +2320,22 @@ msgstr "" "パスエントリーファインダが実装するメソッドについては :class:`importlib.abc." "PathEntryFinder` を参照してください。" -#: ../../glossary.rst:1037 +#: ../../glossary.rst:1042 msgid "path entry hook" msgstr "path entry hook" -#: ../../glossary.rst:1039 +#: ../../glossary.rst:1044 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 " "entry`." msgstr "" -#: ../../glossary.rst:1042 +#: ../../glossary.rst:1047 msgid "path based finder" msgstr "path based finder" -#: ../../glossary.rst:1044 +#: ../../glossary.rst:1049 msgid "" "One of the default :term:`meta path finders ` which " "searches an :term:`import path` for modules." @@ -2336,11 +2343,11 @@ msgstr "" "デフォルトの :term:`meta path finder` の1つは、モジュールの :term:`import " "path` を検索します。" -#: ../../glossary.rst:1046 +#: ../../glossary.rst:1051 msgid "path-like object" msgstr "path-like object" -#: ../../glossary.rst:1048 +#: ../../glossary.rst:1053 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 " @@ -2361,11 +2368,11 @@ msgstr "" "れ :class:`str` あるいは :class:`bytes` になるのを保証するのに使えます。\n" ":pep:`519` で導入されました。" -#: ../../glossary.rst:1056 +#: ../../glossary.rst:1061 msgid "PEP" msgstr "PEP" -#: ../../glossary.rst:1058 +#: ../../glossary.rst:1063 msgid "" "Python Enhancement Proposal. A PEP is a design document providing " "information to the Python community, or describing a new feature for Python " @@ -2377,7 +2384,7 @@ msgstr "" "PEP は、機能についての簡潔な技術的仕様と提案する機能の論拠 (理論) を伝えるべ" "きです。" -#: ../../glossary.rst:1064 +#: ../../glossary.rst:1069 msgid "" "PEPs are intended to be the primary mechanisms for proposing major new " "features, for collecting community input on an issue, and for documenting " @@ -2390,15 +2397,15 @@ msgstr "" "著者にはコミュニティ内の合意形成を行うこと、反対意見を文書化することの責務が" "あります。" -#: ../../glossary.rst:1070 +#: ../../glossary.rst:1075 msgid "See :pep:`1`." msgstr ":pep:`1` を参照してください。" -#: ../../glossary.rst:1071 +#: ../../glossary.rst:1076 msgid "portion" msgstr "portion" -#: ../../glossary.rst:1073 +#: ../../glossary.rst:1078 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`." @@ -2406,15 +2413,15 @@ msgstr "" ":pep:`420` で定義されている、namespace package に属する、複数のファイルが " "(zipファイルに格納されている場合もある) 1つのディレクトリに格納されたもの。" -#: ../../glossary.rst:1075 +#: ../../glossary.rst:1080 msgid "positional argument" msgstr "位置引数 (positional argument)" -#: ../../glossary.rst:1078 +#: ../../glossary.rst:1083 msgid "provisional API" msgstr "provisional API" -#: ../../glossary.rst:1080 +#: ../../glossary.rst:1085 msgid "" "A provisional API is one which has been deliberately excluded from the " "standard library's backwards compatibility guarantees. While major changes " @@ -2431,7 +2438,7 @@ msgstr "" "ものではありません -- これは API を組み込む前には見落とされていた重大な欠陥が" "露呈したときにのみ行われます。" -#: ../../glossary.rst:1089 +#: ../../glossary.rst:1094 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 " @@ -2440,7 +2447,7 @@ msgstr "" "暫定 API についても、後方互換性のない変更は「最終手段」とみなされています。問" "題点が判明した場合でも後方互換な解決策を探すべきです。" -#: ../../glossary.rst:1093 +#: ../../glossary.rst:1098 msgid "" "This process allows the standard library to continue to evolve over time, " "without locking in problematic design errors for extended periods of time. " @@ -2450,19 +2457,19 @@ msgstr "" "られることなく、時代を超えて進化を続けられます。詳細は :pep:`411` を参照して" "ください。" -#: ../../glossary.rst:1096 +#: ../../glossary.rst:1101 msgid "provisional package" msgstr "provisional package" -#: ../../glossary.rst:1098 +#: ../../glossary.rst:1103 msgid "See :term:`provisional API`." msgstr ":term:`provisional API` を参照してください。" -#: ../../glossary.rst:1099 +#: ../../glossary.rst:1104 msgid "Python 3000" msgstr "Python 3000" -#: ../../glossary.rst:1101 +#: ../../glossary.rst:1106 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 " @@ -2471,11 +2478,11 @@ msgstr "" "Python 3.x リリースラインのニックネームです。(Python 3 が遠い将来の話だった頃" "に作られた言葉です。) \"Py3k\" と略されることもあります。" -#: ../../glossary.rst:1104 +#: ../../glossary.rst:1109 msgid "Pythonic" msgstr "Pythonic" -#: ../../glossary.rst:1106 +#: ../../glossary.rst:1111 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 " @@ -2490,27 +2497,27 @@ msgstr "" "くの言語にはこの仕組みはないので、Python に慣れていない人は代わりに数値のカウ" "ンターを使うかもしれません::" -#: ../../glossary.rst:1113 +#: ../../glossary.rst:1118 msgid "" "for i in range(len(food)):\n" " print(food[i])" msgstr "" -#: ../../glossary.rst:1116 +#: ../../glossary.rst:1121 msgid "As opposed to the cleaner, Pythonic method::" msgstr "これに対し、きれいな Pythonic な方法は::" -#: ../../glossary.rst:1118 +#: ../../glossary.rst:1123 msgid "" "for piece in food:\n" " print(piece)" msgstr "" -#: ../../glossary.rst:1120 +#: ../../glossary.rst:1125 msgid "qualified name" msgstr "qualified name" -#: ../../glossary.rst:1122 +#: ../../glossary.rst:1127 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 " @@ -2522,7 +2529,7 @@ msgstr "" "されています。トップレベルの関数やクラスでは、修飾名はオブジェクトの名前と同" "じです::" -#: ../../glossary.rst:1127 +#: ../../glossary.rst:1132 msgid "" ">>> class C:\n" "... class D:\n" @@ -2537,7 +2544,7 @@ msgid "" "'C.D.meth'" msgstr "" -#: ../../glossary.rst:1139 +#: ../../glossary.rst:1144 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." @@ -2547,18 +2554,18 @@ msgstr "" "の親パッケージを含む全体のドット名表記、例えば ``email.mime.text`` を意味しま" "す::" -#: ../../glossary.rst:1143 +#: ../../glossary.rst:1148 msgid "" ">>> import email.mime.text\n" ">>> email.mime.text.__name__\n" "'email.mime.text'" msgstr "" -#: ../../glossary.rst:1146 +#: ../../glossary.rst:1151 msgid "reference count" msgstr "reference count" -#: ../../glossary.rst:1148 +#: ../../glossary.rst:1153 msgid "" "The number of references to an object. When the reference count of an " "object drops to zero, it is deallocated. Some objects are :term:`immortal` " @@ -2575,11 +2582,11 @@ msgstr "" "の重要な要素です。プログラマーは、 任意のオブジェクトの参照カウントを知るため" "に :func:`sys.getrefcount` 関数を呼び出すことが出来ます。" -#: ../../glossary.rst:1156 +#: ../../glossary.rst:1161 msgid "regular package" msgstr "regular package" -#: ../../glossary.rst:1158 +#: ../../glossary.rst:1163 msgid "" "A traditional :term:`package`, such as a directory containing an ``__init__." "py`` file." @@ -2587,15 +2594,15 @@ msgstr "" "伝統的な、 ``__init__.py`` ファイルを含むディレクトリとしての :term:" "`package`。" -#: ../../glossary.rst:1161 +#: ../../glossary.rst:1166 msgid "See also :term:`namespace package`." msgstr ":term:`namespace package` を参照してください。" -#: ../../glossary.rst:1162 +#: ../../glossary.rst:1167 msgid "REPL" msgstr "REPL" -#: ../../glossary.rst:1164 +#: ../../glossary.rst:1169 msgid "" "An acronym for the \"read–eval–print loop\", another name for the :term:" "`interactive` interpreter shell." @@ -2603,11 +2610,11 @@ msgstr "" "\"read–eval–print loop\" の頭字語で、 :term:`対話型 ` インタープ" "リターシェルの別名。" -#: ../../glossary.rst:1166 +#: ../../glossary.rst:1171 msgid "__slots__" msgstr "__slots__" -#: ../../glossary.rst:1168 +#: ../../glossary.rst:1173 msgid "" "A declaration inside a class that saves memory by pre-declaring space for " "instance attributes and eliminating instance dictionaries. Though popular, " @@ -2621,11 +2628,11 @@ msgstr "" "となるアプリケーションでインスタンスが大量に存在する、といったときを除き、使" "わないのがベストです。" -#: ../../glossary.rst:1173 +#: ../../glossary.rst:1178 msgid "sequence" msgstr "sequence" -#: ../../glossary.rst:1175 +#: ../../glossary.rst:1180 msgid "" "An :term:`iterable` which supports efficient element access using integer " "indices via the :meth:`~object.__getitem__` special method and defines a :" @@ -2637,7 +2644,7 @@ msgid "" "integers." msgstr "" -#: ../../glossary.rst:1184 +#: ../../glossary.rst:1189 msgid "" "The :class:`collections.abc.Sequence` abstract base class defines a much " "richer interface that goes beyond just :meth:`~object.__getitem__` and :meth:" @@ -2648,11 +2655,11 @@ msgid "" "`Common Sequence Operations `." msgstr "" -#: ../../glossary.rst:1193 +#: ../../glossary.rst:1198 msgid "set comprehension" msgstr "" -#: ../../glossary.rst:1195 +#: ../../glossary.rst:1200 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 " @@ -2664,22 +2671,22 @@ msgstr "" "if c not in 'abc'}`` とすると、``{'r', 'd'}`` という文字列の辞書を生成しま" "す。 :ref:`comprehensions` を参照してください。" -#: ../../glossary.rst:1199 +#: ../../glossary.rst:1204 msgid "single dispatch" msgstr "single dispatch" -#: ../../glossary.rst:1201 +#: ../../glossary.rst:1206 msgid "" "A form of :term:`generic function` dispatch where the implementation is " "chosen based on the type of a single argument." msgstr "" ":term:`generic function` の一種で実装は一つの引数の型により選択されます。" -#: ../../glossary.rst:1203 +#: ../../glossary.rst:1208 msgid "slice" msgstr "slice" -#: ../../glossary.rst:1205 +#: ../../glossary.rst:1210 msgid "" "An object usually containing a portion of a :term:`sequence`. A slice is " "created using the subscript notation, ``[]`` with colons between numbers " @@ -2691,34 +2698,34 @@ msgstr "" "ます。例えば、 ``variable_name[1:3:5]`` です。角括弧 (添字) 記号は :class:" "`slice` オブジェクトを内部で利用しています。" -#: ../../glossary.rst:1209 +#: ../../glossary.rst:1214 msgid "soft deprecated" msgstr "" -#: ../../glossary.rst:1211 +#: ../../glossary.rst:1216 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 " "will not be enhanced further." msgstr "" -#: ../../glossary.rst:1215 +#: ../../glossary.rst:1220 msgid "" "Soft deprecation, unlike normal deprecation, does not plan on removing the " "API and will not emit warnings." msgstr "" -#: ../../glossary.rst:1218 +#: ../../glossary.rst:1223 msgid "" "See `PEP 387: Soft Deprecation `_." msgstr "" -#: ../../glossary.rst:1220 +#: ../../glossary.rst:1225 msgid "special method" msgstr "special method" -#: ../../glossary.rst:1224 +#: ../../glossary.rst:1229 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 " @@ -2730,11 +2737,11 @@ msgstr "" "コア 2 つがついています。特殊メソッドについては :ref:`specialnames` で解説さ" "れています。" -#: ../../glossary.rst:1228 +#: ../../glossary.rst:1233 msgid "statement" msgstr "statement" -#: ../../glossary.rst:1230 +#: ../../glossary.rst:1235 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 :" @@ -2744,22 +2751,22 @@ msgstr "" "` かキーワードから構成されるもののどちらかです。後者には :" "keyword:`if`、:keyword:`while`、:keyword:`for` があります。" -#: ../../glossary.rst:1233 +#: ../../glossary.rst:1238 msgid "static type checker" msgstr "" -#: ../../glossary.rst:1235 +#: ../../glossary.rst:1240 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 :" "mod:`typing` module." msgstr "" -#: ../../glossary.rst:1238 +#: ../../glossary.rst:1243 msgid "strong reference" msgstr "" -#: ../../glossary.rst:1240 +#: ../../glossary.rst:1245 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 " @@ -2767,7 +2774,7 @@ msgid "" "c:func:`Py_DECREF` when the reference is deleted." msgstr "" -#: ../../glossary.rst:1246 +#: ../../glossary.rst:1251 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 " @@ -2775,38 +2782,38 @@ msgid "" "leaking one reference." msgstr "" -#: ../../glossary.rst:1251 +#: ../../glossary.rst:1256 msgid "See also :term:`borrowed reference`." msgstr "" -#: ../../glossary.rst:1252 +#: ../../glossary.rst:1257 msgid "text encoding" msgstr "text encoding" -#: ../../glossary.rst:1254 +#: ../../glossary.rst:1259 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 " "serialized as a sequence of bytes." msgstr "" -#: ../../glossary.rst:1258 +#: ../../glossary.rst:1263 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\"." msgstr "" -#: ../../glossary.rst:1261 +#: ../../glossary.rst:1266 msgid "" "There are a variety of different text serialization :ref:`codecs `, which are collectively referred to as \"text encodings\"." msgstr "" -#: ../../glossary.rst:1264 +#: ../../glossary.rst:1269 msgid "text file" msgstr "text file" -#: ../../glossary.rst:1266 +#: ../../glossary.rst:1271 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:" @@ -2822,7 +2829,7 @@ msgstr "" "StringIO` インスタンスなどをテキストモード (``'r'`` or ``'w'``) で開いたファ" "イルです。" -#: ../../glossary.rst:1273 +#: ../../glossary.rst:1278 msgid "" "See also :term:`binary file` for a file object able to read and write :term:" "`bytes-like objects `." @@ -2831,11 +2838,11 @@ msgstr "" "オブジェクトについては、 :term:`バイナリファイル ` も参照してく" "ださい。" -#: ../../glossary.rst:1275 +#: ../../glossary.rst:1280 msgid "triple-quoted string" msgstr "triple-quoted string" -#: ../../glossary.rst:1277 +#: ../../glossary.rst:1282 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 " @@ -2851,26 +2858,26 @@ msgstr "" "しに書くことができますし、行継続文字(\\\\)を使わなくても複数行にまたがること" "ができるので、ドキュメンテーション文字列を書く時に特に便利です。" -#: ../../glossary.rst:1284 +#: ../../glossary.rst:1289 msgid "type" msgstr "type" -#: ../../glossary.rst:1286 +#: ../../glossary.rst:1291 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." "__class__` attribute or can be retrieved with ``type(obj)``." msgstr "" -#: ../../glossary.rst:1290 +#: ../../glossary.rst:1295 msgid "type alias" msgstr "type alias" -#: ../../glossary.rst:1292 +#: ../../glossary.rst:1297 msgid "A synonym for a type, created by assigning the type to an identifier." msgstr "(型エイリアス) 型の別名で、型を識別子に代入して作成します。" -#: ../../glossary.rst:1294 +#: ../../glossary.rst:1299 msgid "" "Type aliases are useful for simplifying :term:`type hints `. For " "example::" @@ -2878,18 +2885,18 @@ msgstr "" "型エイリアスは :term:`型ヒント ` を単純化するのに有用です。例え" "ば::" -#: ../../glossary.rst:1297 +#: ../../glossary.rst:1302 msgid "" "def remove_gray_shades(\n" " colors: list[tuple[int, int, int]]) -> list[tuple[int, int, int]]:\n" " pass" msgstr "" -#: ../../glossary.rst:1301 +#: ../../glossary.rst:1306 msgid "could be made more readable like this::" msgstr "これは次のようにより読みやすくできます::" -#: ../../glossary.rst:1303 +#: ../../glossary.rst:1308 msgid "" "Color = tuple[int, int, int]\n" "\n" @@ -2897,15 +2904,15 @@ msgid "" " pass" msgstr "" -#: ../../glossary.rst:1308 ../../glossary.rst:1322 +#: ../../glossary.rst:1313 ../../glossary.rst:1327 msgid "See :mod:`typing` and :pep:`484`, which describe this functionality." msgstr "機能の説明がある :mod:`typing` と :pep:`484` を参照してください。" -#: ../../glossary.rst:1309 +#: ../../glossary.rst:1314 msgid "type hint" msgstr "type hint" -#: ../../glossary.rst:1311 +#: ../../glossary.rst:1316 msgid "" "An :term:`annotation` that specifies the expected type for a variable, a " "class attribute, or a function parameter or return value." @@ -2913,14 +2920,14 @@ msgstr "" "(型ヒント) 変数、クラス属性、関数のパラメータや返り値の期待される型を指定す" "る :term:`annotation` です。" -#: ../../glossary.rst:1314 +#: ../../glossary.rst:1319 msgid "" "Type hints are optional and are not enforced by Python but they are useful " "to :term:`static type checkers `. They can also aid " "IDEs with code completion and refactoring." msgstr "" -#: ../../glossary.rst:1318 +#: ../../glossary.rst:1323 msgid "" "Type hints of global variables, class attributes, and functions, but not " "local variables, can be accessed using :func:`typing.get_type_hints`." @@ -2928,11 +2935,11 @@ msgstr "" "グローバル変数、クラス属性、関数で、ローカル変数でないものの型ヒントは :func:" "`typing.get_type_hints` で取得できます。" -#: ../../glossary.rst:1323 +#: ../../glossary.rst:1328 msgid "universal newlines" msgstr "universal newlines" -#: ../../glossary.rst:1325 +#: ../../glossary.rst:1330 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 " @@ -2945,26 +2952,26 @@ msgstr "" "``'\\r'``。利用法について詳しくは、 :pep:`278` と :pep:`3116` 、さらに :func:" "`bytes.splitlines` も参照してください。" -#: ../../glossary.rst:1330 +#: ../../glossary.rst:1335 msgid "variable annotation" msgstr "variable annotation" -#: ../../glossary.rst:1332 +#: ../../glossary.rst:1337 msgid "An :term:`annotation` of a variable or a class attribute." msgstr "(変数アノテーション) 変数あるいはクラス属性の :term:`annotation` 。" -#: ../../glossary.rst:1334 +#: ../../glossary.rst:1339 msgid "" "When annotating a variable or a class attribute, assignment is optional::" msgstr "変数あるいはクラス属性に注釈を付けたときは、代入部分は任意です::" -#: ../../glossary.rst:1336 +#: ../../glossary.rst:1341 msgid "" "class C:\n" " field: 'annotation'" msgstr "" -#: ../../glossary.rst:1339 +#: ../../glossary.rst:1344 msgid "" "Variable annotations are usually used for :term:`type hints `: " "for example this variable is expected to take :class:`int` values::" @@ -2972,16 +2979,16 @@ msgstr "" "変数アノテーションは通常は :term:`型ヒント` のために使われます: 例" "えば、この変数は :class:`int` の値を取ることを期待されています::" -#: ../../glossary.rst:1343 +#: ../../glossary.rst:1348 msgid "count: int = 0" msgstr "" -#: ../../glossary.rst:1345 +#: ../../glossary.rst:1350 msgid "Variable annotation syntax is explained in section :ref:`annassign`." msgstr "" "変数アノテーションの構文については :ref:`annassign` 節で解説しています。" -#: ../../glossary.rst:1347 +#: ../../glossary.rst:1352 msgid "" "See :term:`function annotation`, :pep:`484` and :pep:`526`, which describe " "this functionality. Also see :ref:`annotations-howto` for best practices on " @@ -2991,11 +2998,11 @@ msgstr "" "してください。また、アノテーションを利用するベストプラクティスとして :ref:" "`annotations-howto` も参照してください。" -#: ../../glossary.rst:1351 +#: ../../glossary.rst:1356 msgid "virtual environment" msgstr "virtual environment" -#: ../../glossary.rst:1353 +#: ../../glossary.rst:1358 msgid "" "A cooperatively isolated runtime environment that allows Python users and " "applications to install and upgrade Python distribution packages without " @@ -3006,15 +3013,15 @@ msgstr "" "ケーションは同じシステム上で動いている他の Python アプリケーションの挙動に干" "渉することなく Python パッケージのインストールと更新を行うことができます。" -#: ../../glossary.rst:1358 +#: ../../glossary.rst:1363 msgid "See also :mod:`venv`." msgstr ":mod:`venv` を参照してください。" -#: ../../glossary.rst:1359 +#: ../../glossary.rst:1364 msgid "virtual machine" msgstr "virtual machine" -#: ../../glossary.rst:1361 +#: ../../glossary.rst:1366 msgid "" "A computer defined entirely in software. Python's virtual machine executes " "the :term:`bytecode` emitted by the bytecode compiler." @@ -3023,11 +3030,11 @@ msgstr "" "シンは、バイトコードコンパイラが出力した :term:`バイトコード ` を実" "行します。" -#: ../../glossary.rst:1363 +#: ../../glossary.rst:1368 msgid "Zen of Python" msgstr "Zen of Python" -#: ../../glossary.rst:1365 +#: ../../glossary.rst:1370 msgid "" "Listing of Python design principles and philosophies that are helpful in " "understanding and using the language. The listing can be found by typing " @@ -3049,6 +3056,6 @@ msgstr "" msgid "magic" msgstr "" -#: ../../glossary.rst:1222 +#: ../../glossary.rst:1227 msgid "special" msgstr "特殊" diff --git a/howto/enum.po b/howto/enum.po index 099b6c7f0..62d066fce 100644 --- a/howto/enum.po +++ b/howto/enum.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Arihiro TAKASE, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -206,7 +206,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 "" @@ -1847,10 +1847,10 @@ msgstr "" #: ../../howto/enum.rst:1093 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 "" @@ -2238,7 +2238,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 29868753f..621441b5f 100644 --- a/howto/functional.po +++ b/howto/functional.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1248,11 +1248,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/ipaddress.po b/howto/ipaddress.po index 285ea6376..eb089ad40 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Takanori Suzuki , 2021\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -355,7 +355,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/logging-cookbook.po b/howto/logging-cookbook.po index 275fec135..919ab9393 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Takeshi Nakazato, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1263,11 +1263,32 @@ 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 " @@ -1294,11 +1315,11 @@ msgstr "" "でログ記録が行われるレベルの粒度に依存する場合、 :class:`Logger` インスタンス" "の個数が事実上無制限にならないと、管理が難しくなります。" -#: ../../howto/logging-cookbook.rst:860 +#: ../../howto/logging-cookbook.rst:873 msgid "Using LoggerAdapters to impart contextual information" msgstr "LoggerAdapter を使ったコンテキスト情報の伝達" -#: ../../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. " @@ -1316,7 +1337,7 @@ msgstr "" "`Logger` のメソッドと同じ引数を取るので、二つの型を取り替えて使うことができま" "す。" -#: ../../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 " @@ -1333,7 +1354,7 @@ msgstr "" "スト情報をその委譲された呼び出しに埋め込みます。 :class:`LoggerAdapter` の" "コードから少し抜き出してみます::" -#: ../../howto/logging-cookbook.rst:878 +#: ../../howto/logging-cookbook.rst:891 msgid "" "def debug(self, msg, /, *args, **kwargs):\n" " \"\"\"\n" @@ -1344,7 +1365,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 " @@ -1364,7 +1385,7 @@ msgstr "" "て \"extra\" キーが挿入されます。もちろん、呼び出し時に \"extra\" キーワード" "を使った場合には何事もなかったかのように上書きされます。" -#: ../../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 " @@ -1383,7 +1404,7 @@ msgstr "" "要なだけです。次に挙げるのはこのクラスを使った例で、コンストラクタで使われる" "「辞書風」オブジェクトにどの振る舞いが必要なのかも示しています::" -#: ../../howto/logging-cookbook.rst:903 +#: ../../howto/logging-cookbook.rst:916 msgid "" "class CustomAdapter(logging.LoggerAdapter):\n" " \"\"\"\n" @@ -1394,17 +1415,17 @@ 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." @@ -1412,11 +1433,11 @@ msgstr "" "これで、この adapter 経由でログした全てのイベントに対して、``some_conn_id`` " "の値がログメッセージの前に追加されます。" -#: ../../howto/logging-cookbook.rst:920 +#: ../../howto/logging-cookbook.rst:933 msgid "Using objects other than dicts to pass contextual information" msgstr "コンテキスト情報を渡すために dict 以外のオブジェクトを使う" -#: ../../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 " @@ -1429,11 +1450,11 @@ msgstr "" "ラスのインスタンスを利用することができます。これは (dict の値が固定されるのに" "対して) 値を動的に生成できるので便利です。" -#: ../../howto/logging-cookbook.rst:931 +#: ../../howto/logging-cookbook.rst:944 msgid "Using Filters to impart contextual information" msgstr "Filter を使ったコンテキスト情報の伝達" -#: ../../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 " @@ -1446,7 +1467,7 @@ msgstr "" "ができます。これにより、適切なフォーマット文字列や必要なら :class:" "`Formatter` を使って、出力となる属性を新しく追加することも出来ます。" -#: ../../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:" @@ -1465,7 +1486,7 @@ msgstr "" "といったようにです。その場合、同じフォーマット文字列を使って以下に示すように" "似たような出力を得られます。これはスクリプトの例です::" -#: ../../howto/logging-cookbook.rst:947 +#: ../../howto/logging-cookbook.rst:960 msgid "" "import logging\n" "from random import choice\n" @@ -1508,11 +1529,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" @@ -1540,11 +1561,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 "``contextvars`` の利用" -#: ../../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 " @@ -1560,7 +1581,7 @@ 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 " @@ -1577,11 +1598,11 @@ 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" @@ -1596,7 +1617,7 @@ 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 " @@ -1607,7 +1628,7 @@ msgstr "" "ションがどのように動作するかを模擬的にあらわしています - すなわち各リクエスト" "はスレッドで処理される状況です:" -#: ../../howto/logging-cookbook.rst:1037 +#: ../../howto/logging-cookbook.rst:1050 msgid "" "# main.py\n" "import argparse\n" @@ -1762,7 +1783,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 " @@ -1780,7 +1801,7 @@ msgstr "" "ログの行とともに現れる) はずです。このことは以下のシェルコマンドの出力により" "例示されています:" -#: ../../howto/logging-cookbook.rst:1184 +#: ../../howto/logging-cookbook.rst:1197 msgid "" "~/logging-contextual-webapp$ python main.py\n" "app1 processed 51 requests\n" @@ -1835,11 +1856,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 " @@ -1851,7 +1872,7 @@ msgstr "" "下に示すスクリプトのように、直接レコードを編集する代わりに新しい :class:" "`~LogRecord` を返すフィルタを使うことができます::" -#: ../../howto/logging-cookbook.rst:1231 +#: ../../howto/logging-cookbook.rst:1244 msgid "" "import copy\n" "import logging\n" @@ -1873,11 +1894,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 " @@ -1905,7 +1926,7 @@ 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 " @@ -1913,7 +1934,7 @@ msgid "" "`FileHandler` and subclasses do not make use of :mod:`multiprocessing`." msgstr "" -#: ../../howto/logging-cookbook.rst:1275 +#: ../../howto/logging-cookbook.rst:1288 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 " @@ -1936,7 +1957,7 @@ msgstr "" "listener とアプリケーション内の他のプロセスで完全に異なる設定を使う例になって" "いるので、各自の要求に応じたコードを書く叩き台になるでしょう::" -#: ../../howto/logging-cookbook.rst:1286 +#: ../../howto/logging-cookbook.rst:1299 msgid "" "# You'll need these imports in your own code\n" "import logging\n" @@ -2056,13 +2077,13 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:1391 +#: ../../howto/logging-cookbook.rst:1404 msgid "" "A variant of the above script keeps the logging in the main process, in a " "separate thread::" msgstr "上のスクリプトの亜種で、logging をメインプロセスの別スレッドで行う例::" -#: ../../howto/logging-cookbook.rst:1394 +#: ../../howto/logging-cookbook.rst:1407 msgid "" "import logging\n" "import logging.config\n" @@ -2159,7 +2180,7 @@ msgid "" " lp.join()" msgstr "" -#: ../../howto/logging-cookbook.rst:1486 +#: ../../howto/logging-cookbook.rst:1499 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 " @@ -2174,11 +2195,11 @@ msgstr "" "(logging イベントは worker プロセス側で生成されますが) 各メッセージを適切な出" "力先に出力します。" -#: ../../howto/logging-cookbook.rst:1493 +#: ../../howto/logging-cookbook.rst:1506 msgid "Using concurrent.futures.ProcessPoolExecutor" msgstr "concurrent.futures.ProcessPoolExecutorの利用" -#: ../../howto/logging-cookbook.rst:1495 +#: ../../howto/logging-cookbook.rst:1508 msgid "" "If you want to use :class:`concurrent.futures.ProcessPoolExecutor` to start " "your worker processes, you need to create the queue slightly differently. " @@ -2188,25 +2209,25 @@ msgstr "" "ProcessPoolExecutor` を使いたいのであれば、少し違う方法でキューを作る必要があ" "ります。次のような方法の代わりに" -#: ../../howto/logging-cookbook.rst:1499 +#: ../../howto/logging-cookbook.rst:1512 msgid "queue = multiprocessing.Queue(-1)" msgstr "" -#: ../../howto/logging-cookbook.rst:1503 +#: ../../howto/logging-cookbook.rst:1516 msgid "you should use" msgstr "次のコードを利用する必要があります" -#: ../../howto/logging-cookbook.rst:1505 +#: ../../howto/logging-cookbook.rst:1518 msgid "" "queue = multiprocessing.Manager().Queue(-1) # also works with the examples " "above" msgstr "" -#: ../../howto/logging-cookbook.rst:1509 +#: ../../howto/logging-cookbook.rst:1522 msgid "and you can then replace the worker creation from this::" msgstr "そして、次のようなワーカー作成コードがあったとすると::" -#: ../../howto/logging-cookbook.rst:1511 +#: ../../howto/logging-cookbook.rst:1524 msgid "" "workers = []\n" "for i in range(10):\n" @@ -2218,24 +2239,24 @@ msgid "" " w.join()" msgstr "" -#: ../../howto/logging-cookbook.rst:1520 +#: ../../howto/logging-cookbook.rst:1533 msgid "to this (remembering to first import :mod:`concurrent.futures`)::" msgstr "" "次のように変更します(最初に :mod:`concurrent.futures` をインポートするのを忘" "れないようにしましょう)::" -#: ../../howto/logging-cookbook.rst:1522 +#: ../../howto/logging-cookbook.rst:1535 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:1527 +#: ../../howto/logging-cookbook.rst:1540 msgid "Deploying Web applications using Gunicorn and uWSGI" msgstr "Gunicorn と uWSGI を用いた Web アプリケーションのデプロイ" -#: ../../howto/logging-cookbook.rst:1529 +#: ../../howto/logging-cookbook.rst:1542 msgid "" "When deploying Web applications using `Gunicorn `_ or " "`uWSGI `_ (or similar), " @@ -2256,11 +2277,11 @@ msgstr "" "ス管理ツールを使うことで設定できます - 詳しくは `作成中のロギングソケットの" "リスナーを実行する`_ を参照してください。" -#: ../../howto/logging-cookbook.rst:1539 +#: ../../howto/logging-cookbook.rst:1552 msgid "Using file rotation" msgstr "ファイルをローテートする" -#: ../../howto/logging-cookbook.rst:1544 +#: ../../howto/logging-cookbook.rst:1557 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, " @@ -2274,7 +2295,7 @@ msgstr "" "利用パターンのために、 logging パッケージは :class:`RotatingFileHandler` を提" "供しています::" -#: ../../howto/logging-cookbook.rst:1550 +#: ../../howto/logging-cookbook.rst:1563 msgid "" "import glob\n" "import logging\n" @@ -2303,7 +2324,7 @@ msgid "" " print(filename)" msgstr "" -#: ../../howto/logging-cookbook.rst:1576 +#: ../../howto/logging-cookbook.rst:1589 msgid "" "The result should be 6 separate files, each with part of the log history for " "the application:" @@ -2311,7 +2332,7 @@ msgstr "" "この結果として、アプリケーションのログ履歴の一部である、6 つに別れたファイル" "が得られます:" -#: ../../howto/logging-cookbook.rst:1579 +#: ../../howto/logging-cookbook.rst:1592 msgid "" "logging_rotatingfile_example.out\n" "logging_rotatingfile_example.out.1\n" @@ -2321,7 +2342,7 @@ msgid "" "logging_rotatingfile_example.out.5" msgstr "" -#: ../../howto/logging-cookbook.rst:1588 +#: ../../howto/logging-cookbook.rst:1601 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 " @@ -2333,7 +2354,7 @@ msgstr "" "アップファイルはその拡張子がインクリメントされ (``.1`` が ``.2`` になるな" "ど)、 ``.6`` ファイルは消去されます。" -#: ../../howto/logging-cookbook.rst:1593 +#: ../../howto/logging-cookbook.rst:1606 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." @@ -2341,11 +2362,11 @@ msgstr "" "明らかに、ここでは極端な例示のためにファイルの大きさをかなり小さな値に設定し" "ています。実際に使うときは *maxBytes* を適切な値に設定してください。" -#: ../../howto/logging-cookbook.rst:1601 +#: ../../howto/logging-cookbook.rst:1614 msgid "Use of alternative formatting styles" msgstr "別の format スタイルを利用する" -#: ../../howto/logging-cookbook.rst:1603 +#: ../../howto/logging-cookbook.rst:1616 msgid "" "When logging was added to the Python standard library, the only way of " "formatting messages with variable content was to use the %-formatting " @@ -2358,7 +2379,7 @@ msgstr "" "は新しい文字列フォーマット機構として :class:`string.Template` (Python 2.4 で" "追加) と :meth:`str.format` (Python 2.6 で追加) が加わりました。" -#: ../../howto/logging-cookbook.rst:1609 +#: ../../howto/logging-cookbook.rst:1622 msgid "" "Logging (as of 3.2) provides improved support for these two additional " "formatting styles. The :class:`Formatter` class been enhanced to take an " @@ -2378,7 +2399,7 @@ msgstr "" "で、 :meth:`str.format` か :class:`string.Template` を使った format を指定す" "る事ができます。次の例はこの機能を使ってみています:" -#: ../../howto/logging-cookbook.rst:1619 +#: ../../howto/logging-cookbook.rst:1632 msgid "" ">>> import logging\n" ">>> root = logging.getLogger()\n" @@ -2403,7 +2424,7 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:1643 +#: ../../howto/logging-cookbook.rst:1656 msgid "" "Note that the formatting of logging messages for final output to logs is " "completely independent of how an individual logging message is constructed. " @@ -2413,14 +2434,14 @@ msgstr "" "全に独立していることに注意してください。次の例でわかるように、メッセージを生" "成する部分では % を使い続けています::" -#: ../../howto/logging-cookbook.rst:1647 +#: ../../howto/logging-cookbook.rst:1660 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:1651 +#: ../../howto/logging-cookbook.rst:1664 msgid "" "Logging calls (``logger.debug()``, ``logger.info()`` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -2445,7 +2466,7 @@ msgstr "" "ません。既存の logging 呼び出しは %-format を使っているので、後方互換性のため" "にこの部分を変更することはできません。" -#: ../../howto/logging-cookbook.rst:1664 +#: ../../howto/logging-cookbook.rst:1677 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 " @@ -2458,7 +2479,7 @@ msgstr "" "logging パッケージはそのオブジェクトに対して ``str()`` を使って実際の format " "文字列を生成します。次の2つのクラスを見てください::" -#: ../../howto/logging-cookbook.rst:1670 ../../howto/logging-cookbook.rst:2758 +#: ../../howto/logging-cookbook.rst:1683 ../../howto/logging-cookbook.rst:2771 msgid "" "class BraceMessage:\n" " def __init__(self, fmt, /, *args, **kwargs):\n" @@ -2479,7 +2500,7 @@ msgid "" " return Template(self.fmt).substitute(**self.kwargs)" msgstr "" -#: ../../howto/logging-cookbook.rst:1688 +#: ../../howto/logging-cookbook.rst:1701 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 " @@ -2496,7 +2517,7 @@ msgstr "" "間によくエイリアスとして使われるアンダースコア1つと混同しないように) などの使" "いやすいエイリアスを使うことができます。" -#: ../../howto/logging-cookbook.rst:1696 +#: ../../howto/logging-cookbook.rst:1709 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 " @@ -2506,7 +2527,7 @@ msgstr "" "です。これらは次の例のようにして利用できます。(上のクラスが ``wherever`` とい" "うモジュールで定義されていると仮定します):" -#: ../../howto/logging-cookbook.rst:1700 +#: ../../howto/logging-cookbook.rst:1713 msgid "" ">>> from wherever import BraceMessage as __\n" ">>> print(__('Message with {0} {name}', 2, name='placeholders'))\n" @@ -2525,7 +2546,7 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:1718 +#: ../../howto/logging-cookbook.rst:1731 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 " @@ -2534,7 +2555,7 @@ msgstr "" "上の例ではフォーマットの動作を示すために ``print()`` を使っていますが、もちろ" "ん実際にこの方法でログを出力するには ``logger.debug()`` などを使います。" -#: ../../howto/logging-cookbook.rst:1722 +#: ../../howto/logging-cookbook.rst:1735 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 " @@ -2552,7 +2573,7 @@ msgstr "" "Message` クラスのコンストラクタ呼び出しのシンタックスシュガーでしか無いからで" "す。" -#: ../../howto/logging-cookbook.rst:1730 +#: ../../howto/logging-cookbook.rst:1743 msgid "" "If you prefer, you can use a :class:`LoggerAdapter` to achieve a similar " "effect to the above, as in the following example::" @@ -2560,7 +2581,7 @@ msgstr "" "次の例のように、 :class:`LoggerAdapter` を利用して上と似たような効果を実現す" "る方法もあります::" -#: ../../howto/logging-cookbook.rst:1733 +#: ../../howto/logging-cookbook.rst:1746 msgid "" "import logging\n" "\n" @@ -2589,7 +2610,7 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:1759 +#: ../../howto/logging-cookbook.rst:1772 msgid "" "The above script should log the message ``Hello, world!`` when run with " "Python 3.8 or later." @@ -2597,11 +2618,11 @@ msgstr "" "上のスクリプトは Python 3.8 以降では ``Hello, world!`` というメッセージをログ" "するはずです。" -#: ../../howto/logging-cookbook.rst:1768 +#: ../../howto/logging-cookbook.rst:1781 msgid "Customizing ``LogRecord``" msgstr "``LogRecord`` のカスタマイズ" -#: ../../howto/logging-cookbook.rst:1770 +#: ../../howto/logging-cookbook.rst:1783 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:" @@ -2617,7 +2638,7 @@ msgstr "" "が無効になるまでの上位 logger) の handler に渡されます。 Python 3.2 までは、" "この生成が行われているのは2箇所だけでした:" -#: ../../howto/logging-cookbook.rst:1777 +#: ../../howto/logging-cookbook.rst:1790 msgid "" ":meth:`Logger.makeRecord`, which is called in the normal process of logging " "an event. This invoked :class:`LogRecord` directly to create an instance." @@ -2625,7 +2646,7 @@ msgstr "" ":meth:`Logger.makeRecord`: 通常のイベント logging プロセスで呼ばれます。これ" "は :class:`LogRecord` を直接読んでインスタンスを生成します。" -#: ../../howto/logging-cookbook.rst:1780 +#: ../../howto/logging-cookbook.rst:1793 msgid "" ":func:`makeLogRecord`, which is called with a dictionary containing " "attributes to be added to the LogRecord. This is typically invoked when a " @@ -2638,7 +2659,7 @@ msgstr "" "SocketHandler` 経由で、あるいは JSON 形式で :class:`~handlers.HTTPHandler` 経" "由で) 辞書を受け取った場合などに利用されます。" -#: ../../howto/logging-cookbook.rst:1786 +#: ../../howto/logging-cookbook.rst:1799 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." @@ -2646,7 +2667,7 @@ msgstr "" "そのために :class:`LogRecord` で何か特別なことをしたい場合は、次のどちらかを" "しなければなりません。" -#: ../../howto/logging-cookbook.rst:1789 +#: ../../howto/logging-cookbook.rst:1802 msgid "" "Create your own :class:`Logger` subclass, which overrides :meth:`Logger." "makeRecord`, and set it using :func:`~logging.setLoggerClass` before any " @@ -2656,7 +2677,7 @@ msgstr "" "ラスを作り、利用したい logger のどれかがインスタンス化される前に、それを :" "func:`~logging.setLoggerClass` を使って登録する。" -#: ../../howto/logging-cookbook.rst:1792 +#: ../../howto/logging-cookbook.rst:1805 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 " @@ -2665,7 +2686,7 @@ msgstr "" ":meth:`~Filter.filter` メソッドで必要な特殊な処理を行う :class:`Filter` を " "logger か handler に追加する。" -#: ../../howto/logging-cookbook.rst:1796 +#: ../../howto/logging-cookbook.rst:1809 msgid "" "The first approach would be a little unwieldy in the scenario where (say) " "several different libraries wanted to do different things. Each would " @@ -2676,7 +2697,7 @@ msgstr "" "きません。各ライブラリが独自の :class:`Logger` のサブクラスを登録しようとし" "て、最後に登録されたライブラリが生き残ります。" -#: ../../howto/logging-cookbook.rst:1801 +#: ../../howto/logging-cookbook.rst:1814 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 " @@ -2690,11 +2711,11 @@ msgstr "" "れずに設定しないといけなくなります。 (新しいパッケージやモジュールを追加し、" "モジュールレベルで次の式を実行することで、新しい logger が作られます) ::" -#: ../../howto/logging-cookbook.rst:1807 +#: ../../howto/logging-cookbook.rst:1820 msgid "logger = logging.getLogger(__name__)" msgstr "" -#: ../../howto/logging-cookbook.rst:1809 +#: ../../howto/logging-cookbook.rst:1822 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` " @@ -2709,7 +2730,7 @@ msgstr "" "ロガーにハンドラを取り付けた場合、フィルタは呼び出されません --- 従って、その" "ハンドラからの出力はライブラリ開発者の意図を反映したものにはなりません。" -#: ../../howto/logging-cookbook.rst:1815 +#: ../../howto/logging-cookbook.rst:1828 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 " @@ -2725,7 +2746,7 @@ msgstr "" "ラクタと同じシグネチャで呼び出され、 :class:`LogRecord` がデフォルトのファク" "トリとして設定されています。" -#: ../../howto/logging-cookbook.rst:1822 +#: ../../howto/logging-cookbook.rst:1835 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 " @@ -2736,7 +2757,7 @@ msgstr "" "るようにしています。たとえば、サブクラスを返したり、次のようなパターンを使っ" "て単に属性を追加することができます::" -#: ../../howto/logging-cookbook.rst:1826 +#: ../../howto/logging-cookbook.rst:1839 msgid "" "old_factory = logging.getLogRecordFactory()\n" "\n" @@ -2756,7 +2777,7 @@ msgstr "" "\n" "logging.setLogRecordFactory(record_factory)" -#: ../../howto/logging-cookbook.rst:1835 +#: ../../howto/logging-cookbook.rst:1848 msgid "" "This pattern allows different libraries to chain factories together, and as " "long as they don't overwrite each other's attributes or unintentionally " @@ -2771,15 +2792,15 @@ msgstr "" "しての実行時のオーバーヘッドになることを念頭に置き、このテクニックは :class:" "`Filter` を利用するだけでは望む結果が得られない場合にのみ使うべきです。" -#: ../../howto/logging-cookbook.rst:1847 +#: ../../howto/logging-cookbook.rst:1860 msgid "Subclassing QueueHandler and QueueListener- a ZeroMQ example" msgstr "" -#: ../../howto/logging-cookbook.rst:1850 ../../howto/logging-cookbook.rst:1983 +#: ../../howto/logging-cookbook.rst:1863 ../../howto/logging-cookbook.rst:1996 msgid "Subclass ``QueueHandler``" msgstr "" -#: ../../howto/logging-cookbook.rst:1852 +#: ../../howto/logging-cookbook.rst:1865 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 " @@ -2789,7 +2810,7 @@ msgstr "" "ZeroMQ の 'publish' ソケットに送信することができます。下の例では、ソケットを" "別に作ってそれを handler に ('queue' として) 渡します::" -#: ../../howto/logging-cookbook.rst:1856 +#: ../../howto/logging-cookbook.rst:1869 msgid "" "import zmq # using pyzmq, the Python binding for ZeroMQ\n" "import json # for serializing records portably\n" @@ -2806,7 +2827,7 @@ msgid "" "handler = ZeroMQSocketHandler(sock)" msgstr "" -#: ../../howto/logging-cookbook.rst:1871 +#: ../../howto/logging-cookbook.rst:1884 msgid "" "Of course there are other ways of organizing this, for example passing in " "the data needed by the handler to create the socket::" @@ -2814,7 +2835,7 @@ msgstr "" "もちろん同じことを別の設計でもできます。socket を作るのに必要な情報を " "handler に渡す例です::" -#: ../../howto/logging-cookbook.rst:1874 +#: ../../howto/logging-cookbook.rst:1887 msgid "" "class ZeroMQSocketHandler(QueueHandler):\n" " def __init__(self, uri, socktype=zmq.PUB, ctx=None):\n" @@ -2830,11 +2851,11 @@ msgid "" " self.queue.close()" msgstr "" -#: ../../howto/logging-cookbook.rst:1889 ../../howto/logging-cookbook.rst:1919 +#: ../../howto/logging-cookbook.rst:1902 ../../howto/logging-cookbook.rst:1932 msgid "Subclass ``QueueListener``" msgstr "" -#: ../../howto/logging-cookbook.rst:1891 +#: ../../howto/logging-cookbook.rst:1904 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::" @@ -2842,7 +2863,7 @@ msgstr "" ":class:`QueueListener` のサブクラスを作って、メッセージを他のキュー、例えば " "ZeroMQ の 'subscribe' ソケットから取得する事もできます。サンプルです::" -#: ../../howto/logging-cookbook.rst:1894 +#: ../../howto/logging-cookbook.rst:1907 msgid "" "class ZeroMQSocketListener(QueueListener):\n" " def __init__(self, uri, /, *handlers, **kwargs):\n" @@ -2858,11 +2879,11 @@ msgid "" " return logging.makeLogRecord(msg)" msgstr "" -#: ../../howto/logging-cookbook.rst:1909 +#: ../../howto/logging-cookbook.rst:1922 msgid "Subclassing QueueHandler and QueueListener- a ``pynng`` example" msgstr "" -#: ../../howto/logging-cookbook.rst:1911 +#: ../../howto/logging-cookbook.rst:1924 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 `_ から持ってきました。この辞書を :func:`~config." "dictConfig` に渡して設定を有効にします::" -#: ../../howto/logging-cookbook.rst:2101 +#: ../../howto/logging-cookbook.rst:2114 msgid "" "LOGGING = {\n" " 'version': 1,\n" @@ -3123,7 +3144,7 @@ msgid "" "}" msgstr "" -#: ../../howto/logging-cookbook.rst:2150 +#: ../../howto/logging-cookbook.rst:2163 msgid "" "For more information about this configuration, you can see the `relevant " "section `_ で見ることができます。" -#: ../../howto/logging-cookbook.rst:2157 +#: ../../howto/logging-cookbook.rst:2170 msgid "Using a rotator and namer to customize log rotation processing" msgstr "rotator と namer を使ってログローテートをカスタマイズする" -#: ../../howto/logging-cookbook.rst:2159 +#: ../../howto/logging-cookbook.rst:2172 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::" @@ -3145,7 +3166,7 @@ msgstr "" "namer と rotator を定義する方法の例は以下の実行可能なスクリプトに示されていま" "す。ここではログファイルを gzip により圧縮する例を示しています::" -#: ../../howto/logging-cookbook.rst:2162 +#: ../../howto/logging-cookbook.rst:2175 msgid "" "import gzip\n" "import logging\n" @@ -3177,14 +3198,14 @@ msgid "" " root.info(f'Message no. {i + 1}')" msgstr "" -#: ../../howto/logging-cookbook.rst:2190 +#: ../../howto/logging-cookbook.rst:2203 msgid "" "After running this, you will see six new files, five of which are compressed:" msgstr "" "このスクリプトを実行すると、6つの新しいファイルが生成され、そのうち5つは圧縮" "されています:" -#: ../../howto/logging-cookbook.rst:2192 +#: ../../howto/logging-cookbook.rst:2205 msgid "" "$ ls rotated.log*\n" "rotated.log rotated.log.2.gz rotated.log.4.gz\n" @@ -3195,11 +3216,11 @@ msgid "" "2023-01-20 02:28:17,767 Message no. 998" msgstr "" -#: ../../howto/logging-cookbook.rst:2203 +#: ../../howto/logging-cookbook.rst:2216 msgid "A more elaborate multiprocessing example" msgstr "より手の込んだ multiprocessing の例" -#: ../../howto/logging-cookbook.rst:2205 +#: ../../howto/logging-cookbook.rst:2218 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -3210,7 +3231,7 @@ msgstr "" "する方法を示しています。設定内容はかなりシンプルですが、より複雑な構成を実際" "の multiprocessing を利用するシナリオで実装する方法を示しています。" -#: ../../howto/logging-cookbook.rst:2210 +#: ../../howto/logging-cookbook.rst:2223 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 " @@ -3230,13 +3251,13 @@ msgstr "" "た handler に分配する部分を見ることができます。この設定は説明用のものですが、" "この例を自分のシナリオに適応させることができるでしょう。" -#: ../../howto/logging-cookbook.rst:2220 +#: ../../howto/logging-cookbook.rst:2233 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "これがそのスクリプトです。docstring とコメントで動作を説明しています::" -#: ../../howto/logging-cookbook.rst:2223 +#: ../../howto/logging-cookbook.rst:2236 msgid "" "import logging\n" "import logging.config\n" @@ -3459,11 +3480,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2432 +#: ../../howto/logging-cookbook.rst:2445 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "SysLogHandler に送るメッセージに BOM を挿入する" -#: ../../howto/logging-cookbook.rst:2434 +#: ../../howto/logging-cookbook.rst:2447 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 " @@ -3476,7 +3497,7 @@ msgstr "" "(BOM)、続けて UTF-8 でエンコードされた Unicode. ( :rfc:`仕様の該当セクション " "<5424#section-6>` を参照)" -#: ../../howto/logging-cookbook.rst:2440 +#: ../../howto/logging-cookbook.rst:2453 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 " @@ -3488,7 +3509,7 @@ msgstr "" "頭に BOM をつけてしまうのでピュアASCII 部分をその前に書くことができませんでし" "た。" -#: ../../howto/logging-cookbook.rst:2446 +#: ../../howto/logging-cookbook.rst:2459 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 " @@ -3502,7 +3523,7 @@ msgstr "" "つ UTF-8 でエンコードされた message を生成したい場合、次の手順に従う必要があ" "ります:" -#: ../../howto/logging-cookbook.rst:2452 +#: ../../howto/logging-cookbook.rst:2465 msgid "" "Attach a :class:`~logging.Formatter` instance to your :class:`~logging." "handlers.SysLogHandler` instance, with a format string such as::" @@ -3510,11 +3531,11 @@ msgstr "" ":class:`~logging.handlers.SysLogHandler` のインスタンスに、次のような format " "文字列を持った :class:`~logging.Formatter` インスタンスをアタッチする::" -#: ../../howto/logging-cookbook.rst:2456 +#: ../../howto/logging-cookbook.rst:2469 msgid "'ASCII section\\ufeffUnicode section'" msgstr "" -#: ../../howto/logging-cookbook.rst:2458 +#: ../../howto/logging-cookbook.rst:2471 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'``." @@ -3522,7 +3543,7 @@ msgstr "" "Unicode のコードポイント U+FEFF は、UTF-8 でエンコードすると BOM -- " "``b'\\xef\\xbb\\xbf'`` -- になります。" -#: ../../howto/logging-cookbook.rst:2461 +#: ../../howto/logging-cookbook.rst:2474 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 " @@ -3532,7 +3553,7 @@ msgstr "" "常に ASCII になるように注意する(UTF-8 でエンコードされてもその部分が変化しな" "いようにする)。" -#: ../../howto/logging-cookbook.rst:2465 +#: ../../howto/logging-cookbook.rst:2478 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " @@ -3542,7 +3563,7 @@ msgstr "" "タに ASCII 外の文字が含まれていても、それは単に UTF-8 でエンコードされるだけ" "です。" -#: ../../howto/logging-cookbook.rst:2469 +#: ../../howto/logging-cookbook.rst:2482 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -3556,11 +3577,11 @@ msgstr "" "`5424` に準拠しない形で送られるので、syslog デーモン側で何かエラーが起こる可" "能性があります。" -#: ../../howto/logging-cookbook.rst:2476 +#: ../../howto/logging-cookbook.rst:2489 msgid "Implementing structured logging" msgstr "構造化ログを実装する" -#: ../../howto/logging-cookbook.rst:2478 +#: ../../howto/logging-cookbook.rst:2491 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -3579,7 +3600,7 @@ msgstr "" "実現する方法は幾つもありますが、次の例は JSON を使ってイベントを、機械でパー" "スできる形にシリアライズする単純な方法です::" -#: ../../howto/logging-cookbook.rst:2486 +#: ../../howto/logging-cookbook.rst:2499 msgid "" "import json\n" "import logging\n" @@ -3598,23 +3619,23 @@ msgid "" "logging.info(_('message 1', foo='bar', bar='baz', num=123, fnum=123.456))" msgstr "" -#: ../../howto/logging-cookbook.rst:2502 +#: ../../howto/logging-cookbook.rst:2515 msgid "If the above script is run, it prints:" msgstr "上のスクリプトを実行すると次のように出力されます:" -#: ../../howto/logging-cookbook.rst:2504 +#: ../../howto/logging-cookbook.rst:2517 msgid "" "message 1 >>> {\"fnum\": 123.456, \"num\": 123, \"bar\": \"baz\", \"foo\": " "\"bar\"}" msgstr "" -#: ../../howto/logging-cookbook.rst:2508 ../../howto/logging-cookbook.rst:2550 +#: ../../howto/logging-cookbook.rst:2521 ../../howto/logging-cookbook.rst:2563 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "要素の順序は Python のバージョンによって異なることに注意してください。" -#: ../../howto/logging-cookbook.rst:2511 +#: ../../howto/logging-cookbook.rst:2524 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" @@ -3622,7 +3643,7 @@ msgstr "" "より特殊な処理が必要な場合、次の例のように、カスタムの JSON エンコーダを作る" "ことができます::" -#: ../../howto/logging-cookbook.rst:2514 +#: ../../howto/logging-cookbook.rst:2527 msgid "" "import json\n" "import logging\n" @@ -3655,19 +3676,19 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2544 +#: ../../howto/logging-cookbook.rst:2557 msgid "When the above script is run, it prints:" msgstr "上のスクリプトを実行すると次のように出力されます:" -#: ../../howto/logging-cookbook.rst:2546 +#: ../../howto/logging-cookbook.rst:2559 msgid "message 1 >>> {\"snowman\": \"\\u2603\", \"set_value\": [1, 2, 3]}" msgstr "" -#: ../../howto/logging-cookbook.rst:2559 +#: ../../howto/logging-cookbook.rst:2572 msgid "Customizing handlers with :func:`dictConfig`" msgstr "handler を :func:`dictConfig` を使ってカスタマイズする" -#: ../../howto/logging-cookbook.rst:2561 +#: ../../howto/logging-cookbook.rst:2574 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 " @@ -3683,7 +3704,7 @@ msgstr "" "handler はこの機能を組み込みでサポートしていません。 handler の生成を通常の関" "数を使ってカスタマイズすることができます::" -#: ../../howto/logging-cookbook.rst:2568 +#: ../../howto/logging-cookbook.rst:2581 msgid "" "def owned_file_handler(filename, mode='a', encoding=None, owner=None):\n" " if owner:\n" @@ -3693,7 +3714,7 @@ msgid "" " return logging.FileHandler(filename, mode, encoding)" msgstr "" -#: ../../howto/logging-cookbook.rst:2575 +#: ../../howto/logging-cookbook.rst:2588 msgid "" "You can then specify, in a logging configuration passed to :func:" "`dictConfig`, that a logging handler be created by calling this function::" @@ -3701,7 +3722,7 @@ msgstr "" "そして、 :func:`dictConfig` に渡される構成設定の中で、この関数を使って " "logging handler を生成するように指定することができます::" -#: ../../howto/logging-cookbook.rst:2578 +#: ../../howto/logging-cookbook.rst:2591 msgid "" "LOGGING = {\n" " 'version': 1,\n" @@ -3734,7 +3755,7 @@ msgid "" "}" msgstr "" -#: ../../howto/logging-cookbook.rst:2608 +#: ../../howto/logging-cookbook.rst:2621 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 " @@ -3743,7 +3764,7 @@ msgstr "" "この例は説明用のものですが、owner の user と group を ``pulse`` に設定してい" "ます。これを動くスクリプトに ``chowntest.py`` に組み込んでみます::" -#: ../../howto/logging-cookbook.rst:2612 +#: ../../howto/logging-cookbook.rst:2625 msgid "" "import logging, logging.config, os, shutil\n" "\n" @@ -3789,11 +3810,11 @@ msgid "" "logger.debug('A debug message')" msgstr "" -#: ../../howto/logging-cookbook.rst:2655 +#: ../../howto/logging-cookbook.rst:2668 msgid "To run this, you will probably need to run as ``root``:" msgstr "これを実行するには、 ``root`` 権限で実行する必要があるかもしれません:" -#: ../../howto/logging-cookbook.rst:2657 +#: ../../howto/logging-cookbook.rst:2670 msgid "" "$ sudo python3.3 chowntest.py\n" "$ cat chowntest.log\n" @@ -3802,7 +3823,7 @@ msgid "" "-rw-r--r-- 1 pulse pulse 55 2013-11-05 09:34 chowntest.log" msgstr "" -#: ../../howto/logging-cookbook.rst:2665 +#: ../../howto/logging-cookbook.rst:2678 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 " @@ -3816,7 +3837,7 @@ msgstr "" "バージョンでは、オーナーを変更するのに :func:`os.chown` を利用する必要がある" "でしょう。" -#: ../../howto/logging-cookbook.rst:2671 +#: ../../howto/logging-cookbook.rst:2684 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" @@ -3824,19 +3845,19 @@ msgstr "" "実際には、handler を生成する関数はプロジェクト内のどこかにあるユーティリティ" "モジュールに置くことになるでしょう。設定の中で直接関数を参照する代わりに::" -#: ../../howto/logging-cookbook.rst:2674 +#: ../../howto/logging-cookbook.rst:2687 msgid "'()': owned_file_handler," msgstr "" -#: ../../howto/logging-cookbook.rst:2676 +#: ../../howto/logging-cookbook.rst:2689 msgid "you could use e.g.::" msgstr "次のように書くこともできます::" -#: ../../howto/logging-cookbook.rst:2678 +#: ../../howto/logging-cookbook.rst:2691 msgid "'()': 'ext://project.util.owned_file_handler'," msgstr "" -#: ../../howto/logging-cookbook.rst:2680 +#: ../../howto/logging-cookbook.rst:2693 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://" @@ -3847,7 +3868,7 @@ msgstr "" "は ``'ext://__main__.owned_file_handler'`` で動くはずです。 :func:" "`dictConfig` は ``ext://`` から実際の callable を見つけます。" -#: ../../howto/logging-cookbook.rst:2685 +#: ../../howto/logging-cookbook.rst:2698 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 " @@ -3856,7 +3877,7 @@ msgstr "" "この例は他のファイルに対する変更を実装する例にもなっています。例えば :func:" "`os.chmod` を使って、同じ方法で POSIX パーミッションを設定できるでしょう。" -#: ../../howto/logging-cookbook.rst:2689 +#: ../../howto/logging-cookbook.rst:2702 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 " @@ -3865,11 +3886,11 @@ msgstr "" "もちろん、このアプローチは :class:`~logging.FileHandler` 以外の handler 、" "ローテートする file handler のいずれかやその他の handler にも適用できます。" -#: ../../howto/logging-cookbook.rst:2699 +#: ../../howto/logging-cookbook.rst:2712 msgid "Using particular formatting styles throughout your application" msgstr "固有の書式化スタイルをアプリケーション全体で使う" -#: ../../howto/logging-cookbook.rst:2701 +#: ../../howto/logging-cookbook.rst:2714 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -3887,7 +3908,7 @@ msgstr "" "与えますが、個々のログメッセージが構築される方法とは完全に直交していることに" "注意してください。" -#: ../../howto/logging-cookbook.rst:2708 +#: ../../howto/logging-cookbook.rst:2721 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -3912,7 +3933,7 @@ msgstr "" "出しは %-format 文字列を使っているため、後方互換性を維持する限りこの部分が変" "更されることはないでしょう。" -#: ../../howto/logging-cookbook.rst:2720 +#: ../../howto/logging-cookbook.rst:2733 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -3923,7 +3944,7 @@ msgstr "" "ローチは同時に後方互換性の問題にぶち当たります。あらゆる既存のコードはロガー" "の名前を使っているでしょうし、 % 形式書式化を使っているでしょう。" -#: ../../howto/logging-cookbook.rst:2724 +#: ../../howto/logging-cookbook.rst:2737 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 " @@ -3935,11 +3956,11 @@ msgstr "" "ルで行う必要があります。これは受け容れ可能な代替書式化スタイルに様々な手段の" "可能性を広げます。" -#: ../../howto/logging-cookbook.rst:2731 +#: ../../howto/logging-cookbook.rst:2744 msgid "Using LogRecord factories" msgstr "LogRecord ファクトリを使う" -#: ../../howto/logging-cookbook.rst:2733 +#: ../../howto/logging-cookbook.rst:2746 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 " @@ -3964,7 +3985,7 @@ msgstr "" "た、%-書式化をデフォルトで認めるべきです。基底クラスの実装がそうしているよう" "に、 ``str(self.msg)`` 呼び出しもしてください。" -#: ../../howto/logging-cookbook.rst:2744 +#: ../../howto/logging-cookbook.rst:2757 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." @@ -3972,11 +3993,11 @@ msgstr "" "さらに詳しい情報は、リファレンスの :func:`setLogRecordFactory`, :class:" "`LogRecord` を参照してください。" -#: ../../howto/logging-cookbook.rst:2749 +#: ../../howto/logging-cookbook.rst:2762 msgid "Using custom message objects" msgstr "カスタムなメッセージオブジェクトを使う" -#: ../../howto/logging-cookbook.rst:2751 +#: ../../howto/logging-cookbook.rst:2764 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -3992,7 +4013,7 @@ msgstr "" "ケージはそのオブジェクトに対して実際の書式文字列を得るために :func:`str` を呼" "び出すことも。以下 2 つのクラスを検討してみましょう::" -#: ../../howto/logging-cookbook.rst:2776 +#: ../../howto/logging-cookbook.rst:2789 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 " @@ -4009,7 +4030,7 @@ msgstr "" "か ``_`` のような(あるいは地域化のために既に ``_`` を使っているのであれば " "``__`` が良いかもしれません)。" -#: ../../howto/logging-cookbook.rst:2784 +#: ../../howto/logging-cookbook.rst:2797 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" @@ -4017,7 +4038,7 @@ msgstr "" "このアプローチによる例をお見せします。最初は :meth:`str.format` を使って" "フォーマットする例です::" -#: ../../howto/logging-cookbook.rst:2787 +#: ../../howto/logging-cookbook.rst:2800 msgid "" ">>> __ = BraceMessage\n" ">>> print(__('Message with {0} {1}', 2, 'placeholders'))\n" @@ -4032,11 +4053,11 @@ msgid "" "Message with coordinates: (0.50, 0.50)" msgstr "" -#: ../../howto/logging-cookbook.rst:2798 +#: ../../howto/logging-cookbook.rst:2811 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "2つめは :class:`string.Template` でフォーマットする例です::" -#: ../../howto/logging-cookbook.rst:2800 +#: ../../howto/logging-cookbook.rst:2813 msgid "" ">>> __ = DollarMessage\n" ">>> print(__('Message with $num $what', num=2, what='placeholders'))\n" @@ -4044,7 +4065,7 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:2805 +#: ../../howto/logging-cookbook.rst:2818 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 " @@ -4063,11 +4084,11 @@ msgstr "" "が :samp:`{XXX}Message` クラスのコンストラクタ呼び出しのシンタックスシュガー" "でしか無いからです。" -#: ../../howto/logging-cookbook.rst:2819 +#: ../../howto/logging-cookbook.rst:2832 msgid "Configuring filters with :func:`dictConfig`" msgstr "filter を :func:`dictConfig` を使ってカスタマイズする" -#: ../../howto/logging-cookbook.rst:2821 +#: ../../howto/logging-cookbook.rst:2834 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). " @@ -4092,7 +4113,7 @@ msgstr "" "が、 :class:`~logging.Filter` インスタンスを返却する callable を提供すること" "でも出来ます)。以下に完全な例を示します::" -#: ../../howto/logging-cookbook.rst:2832 +#: ../../howto/logging-cookbook.rst:2845 msgid "" "import logging\n" "import logging.config\n" @@ -4137,7 +4158,7 @@ msgid "" " logging.debug('hello - noshow')" msgstr "" -#: ../../howto/logging-cookbook.rst:2874 +#: ../../howto/logging-cookbook.rst:2887 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 " @@ -4147,19 +4168,19 @@ msgstr "" "ワードパラメータの形で渡すのか、をこの例は教えてくれます。上記スクリプトは実" "行すると、このような出力をします:" -#: ../../howto/logging-cookbook.rst:2878 +#: ../../howto/logging-cookbook.rst:2891 msgid "changed: hello" msgstr "" -#: ../../howto/logging-cookbook.rst:2882 +#: ../../howto/logging-cookbook.rst:2895 msgid "which shows that the filter is working as configured." msgstr "設定した通りに動いていますね。" -#: ../../howto/logging-cookbook.rst:2884 +#: ../../howto/logging-cookbook.rst:2897 msgid "A couple of extra points to note:" msgstr "ほかにもいくつか特筆すべき点があります:" -#: ../../howto/logging-cookbook.rst:2886 +#: ../../howto/logging-cookbook.rst:2899 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 " @@ -4174,7 +4195,7 @@ msgstr "" "す。例えば、上記例のように ``MyFilter`` と指定する代わりに、 ``'ext://" "__main__.MyFilter'`` と記述することが出来ます。" -#: ../../howto/logging-cookbook.rst:2893 +#: ../../howto/logging-cookbook.rst:2906 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 " @@ -4188,11 +4209,11 @@ msgstr "" "`logging-config-dict-userdef` と、本クックブックの上の方のレシピ :ref:" "`custom-handlers` を参照してください。" -#: ../../howto/logging-cookbook.rst:2902 +#: ../../howto/logging-cookbook.rst:2915 msgid "Customized exception formatting" msgstr "例外の書式化をカスタマイズする" -#: ../../howto/logging-cookbook.rst:2904 +#: ../../howto/logging-cookbook.rst:2917 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, " @@ -4203,7 +4224,7 @@ msgstr "" "外情報がある場合でもログイベントごとに一行に収まることを死守したいと望むとし" "ましょう。フォーマッタのクラスをカスタマイズして、このように出来ます::" -#: ../../howto/logging-cookbook.rst:2909 +#: ../../howto/logging-cookbook.rst:2922 msgid "" "import logging\n" "\n" @@ -4242,11 +4263,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:2945 +#: ../../howto/logging-cookbook.rst:2958 msgid "When run, this produces a file with exactly two lines:" msgstr "実行してみましょう。このように正確に2行の出力を生成します:" -#: ../../howto/logging-cookbook.rst:2947 +#: ../../howto/logging-cookbook.rst:2960 msgid "" "28/01/2015 07:21:23|INFO|Sample message|\n" "28/01/2015 07:21:23|ERROR|ZeroDivisionError: integer division or modulo by " @@ -4255,7 +4276,7 @@ msgid "" "zero'|" msgstr "" -#: ../../howto/logging-cookbook.rst:2952 +#: ../../howto/logging-cookbook.rst:2965 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 " @@ -4265,11 +4286,11 @@ msgstr "" "出来るかを示しています。さらに特殊なニーズが必要な場合には :mod:`traceback` " "モジュールが有用です。" -#: ../../howto/logging-cookbook.rst:2959 +#: ../../howto/logging-cookbook.rst:2972 msgid "Speaking logging messages" msgstr "ロギングメッセージを喋る" -#: ../../howto/logging-cookbook.rst:2961 +#: ../../howto/logging-cookbook.rst:2974 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 " @@ -4298,7 +4319,7 @@ msgstr "" "ことになります。 ``espeak`` TTS パッケージが手許にあるとして、このアプローチ" "による短い例はこのようなものです::" -#: ../../howto/logging-cookbook.rst:2974 +#: ../../howto/logging-cookbook.rst:2987 msgid "" "import logging\n" "import subprocess\n" @@ -4330,13 +4351,13 @@ msgid "" " sys.exit(main())" msgstr "" -#: ../../howto/logging-cookbook.rst:3003 +#: ../../howto/logging-cookbook.rst:3016 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "実行すれば、女性の声で \"Hello\" に続き \"Goodbye\" と喋るはずです。" -#: ../../howto/logging-cookbook.rst:3005 +#: ../../howto/logging-cookbook.rst:3018 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 " @@ -4346,11 +4367,11 @@ msgstr "" "コマンドライン経由で外部プログラムに渡せるようなものであれば、ほかのシステム" "であっても全く同じです。" -#: ../../howto/logging-cookbook.rst:3013 +#: ../../howto/logging-cookbook.rst:3026 msgid "Buffering logging messages and outputting them conditionally" msgstr "ロギングメッセージをバッファリングし、条件に従って出力する" -#: ../../howto/logging-cookbook.rst:3015 +#: ../../howto/logging-cookbook.rst:3028 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 " @@ -4365,7 +4386,7 @@ msgstr "" "による混雑は喰らいたくはなく、エラーがあった場合にだけエラー出力とともにデ" "バッグ情報を見たいのだ、のようなことがあるでしょう。" -#: ../../howto/logging-cookbook.rst:3022 +#: ../../howto/logging-cookbook.rst:3035 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 " @@ -4386,7 +4407,7 @@ msgstr "" "ラッシュされます。何か特別なフラッシュの振る舞いをしたければ、このレシピはさ" "らに特殊化した ``MemoryHandler`` とともに利用出来ます。" -#: ../../howto/logging-cookbook.rst:3032 +#: ../../howto/logging-cookbook.rst:3045 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 " @@ -4399,7 +4420,7 @@ msgstr "" "う、という単純な関数を使っています。 ``foo`` に真を与えると ERROR と " "CRITICAL の出力をし、そうでなければ DEBUG, INFO, WARNING だけを出力します。" -#: ../../howto/logging-cookbook.rst:3038 +#: ../../howto/logging-cookbook.rst:3051 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 " @@ -4418,11 +4439,11 @@ msgstr "" "フォルトは順に ``sys.stderr`` へ書き出す :class:`~logging.StreamHandler`, " "``logging.ERROR``, ``100`` です。" -#: ../../howto/logging-cookbook.rst:3046 +#: ../../howto/logging-cookbook.rst:3059 msgid "Here's the script::" msgstr "スクリプトはこれです::" -#: ../../howto/logging-cookbook.rst:3048 +#: ../../howto/logging-cookbook.rst:3061 msgid "" "import logging\n" "from logging.handlers import MemoryHandler\n" @@ -4488,11 +4509,11 @@ msgid "" " assert decorated_foo(True)" msgstr "" -#: ../../howto/logging-cookbook.rst:3109 +#: ../../howto/logging-cookbook.rst:3122 msgid "When this script is run, the following output should be observed:" msgstr "実行すればこのような出力になるはずです:" -#: ../../howto/logging-cookbook.rst:3111 +#: ../../howto/logging-cookbook.rst:3124 msgid "" "Calling undecorated foo with False\n" "about to log at DEBUG ...\n" @@ -4521,7 +4542,7 @@ msgid "" "Actually logged at CRITICAL" msgstr "" -#: ../../howto/logging-cookbook.rst:3139 +#: ../../howto/logging-cookbook.rst:3152 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 " @@ -4531,22 +4552,22 @@ msgstr "" "すが、この場合はそれよりも重要度の低い ERROR よりも前に発生したイベントも出力" "されます。" -#: ../../howto/logging-cookbook.rst:3143 +#: ../../howto/logging-cookbook.rst:3156 msgid "You can of course use the conventional means of decoration::" msgstr "当然のことですが、デコレーションはいつものやり方でどうぞ::" -#: ../../howto/logging-cookbook.rst:3145 +#: ../../howto/logging-cookbook.rst:3158 msgid "" "@log_if_errors(logger)\n" "def foo(fail=False):\n" " ..." msgstr "" -#: ../../howto/logging-cookbook.rst:3153 +#: ../../howto/logging-cookbook.rst:3166 msgid "Sending logging messages to email, with buffering" msgstr "バッファリングしながらロギングメッセージを email で送信する" -#: ../../howto/logging-cookbook.rst:3155 +#: ../../howto/logging-cookbook.rst:3168 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." @@ -4564,7 +4585,7 @@ msgstr "" "見るためには、ダウンロードしたスクリプトを ``-h`` 引数をつけて実行してくださ" "い)。" -#: ../../howto/logging-cookbook.rst:3163 +#: ../../howto/logging-cookbook.rst:3176 msgid "" "import logging\n" "import logging.handlers\n" @@ -4632,7 +4653,7 @@ msgid "" " h.close()" msgstr "" -#: ../../howto/logging-cookbook.rst:3227 +#: ../../howto/logging-cookbook.rst:3240 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 " @@ -4645,11 +4666,11 @@ msgstr "" "メッセージはスクリプト内で指定された102個のログメッセージから構成されていま" "す。" -#: ../../howto/logging-cookbook.rst:3235 +#: ../../howto/logging-cookbook.rst:3248 msgid "Formatting times using UTC (GMT) via configuration" msgstr "設定によって時刻を UTC(GMT) で書式化する" -#: ../../howto/logging-cookbook.rst:3237 +#: ../../howto/logging-cookbook.rst:3250 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" @@ -4658,7 +4679,7 @@ msgstr "" "なフォーマット処理は ``UTCFormatter`` のようなクラスを使って行うことができま" "す::" -#: ../../howto/logging-cookbook.rst:3240 +#: ../../howto/logging-cookbook.rst:3253 msgid "" "import logging\n" "import time\n" @@ -4667,7 +4688,7 @@ msgid "" " converter = time.gmtime" msgstr "" -#: ../../howto/logging-cookbook.rst:3246 +#: ../../howto/logging-cookbook.rst:3259 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 " @@ -4678,7 +4699,7 @@ msgstr "" "えます。これを設定を通して行いたい場合、 :func:`~logging.config.dictConfig` " "API を以下の完全な例で示すようなアプローチで使うことが出来ます::" -#: ../../howto/logging-cookbook.rst:3251 +#: ../../howto/logging-cookbook.rst:3264 msgid "" "import logging\n" "import logging.config\n" @@ -4719,17 +4740,17 @@ msgid "" " logging.warning('The local time is %s', time.asctime())" msgstr "" -#: ../../howto/logging-cookbook.rst:3289 +#: ../../howto/logging-cookbook.rst:3302 msgid "When this script is run, it should print something like:" msgstr "実行すれば、このような出力になるはずです:" -#: ../../howto/logging-cookbook.rst:3291 +#: ../../howto/logging-cookbook.rst:3304 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:3296 +#: ../../howto/logging-cookbook.rst:3309 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." @@ -4737,11 +4758,11 @@ msgstr "" "時刻をローカル時刻と UTC の両方に書式化するのに、それぞれのハンドラにそれぞれ" "フォーマッタを与えています。" -#: ../../howto/logging-cookbook.rst:3303 +#: ../../howto/logging-cookbook.rst:3316 msgid "Using a context manager for selective logging" msgstr "ロギングの選択にコンテキストマネージャを使う" -#: ../../howto/logging-cookbook.rst:3305 +#: ../../howto/logging-cookbook.rst:3318 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 " @@ -4758,7 +4779,7 @@ msgstr "" "意にロギングレベルを変更し、コンテキストマネージャのスコープ内で他に影響を及" "ぼさずロギングハンドラを追加できるようになります::" -#: ../../howto/logging-cookbook.rst:3312 +#: ../../howto/logging-cookbook.rst:3325 msgid "" "import logging\n" "import sys\n" @@ -4787,7 +4808,7 @@ msgid "" " # implicit return of None => don't swallow exceptions" msgstr "" -#: ../../howto/logging-cookbook.rst:3338 +#: ../../howto/logging-cookbook.rst:3351 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 " @@ -4803,7 +4824,7 @@ msgstr "" "マネージャに指示することもできます - そのハンドラがそれ以降必要無いのであれば" "クローズしてしまって構いません。" -#: ../../howto/logging-cookbook.rst:3344 +#: ../../howto/logging-cookbook.rst:3357 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" @@ -4811,7 +4832,7 @@ msgstr "" "どのように動作するのかを示すためには、次のコード群を上のコードに付け加えると" "よいです::" -#: ../../howto/logging-cookbook.rst:3347 +#: ../../howto/logging-cookbook.rst:3360 msgid "" "if __name__ == '__main__':\n" " logger = logging.getLogger('foo')\n" @@ -4831,7 +4852,7 @@ msgid "" " logger.debug('7. This should not appear.')" msgstr "" -#: ../../howto/logging-cookbook.rst:3362 +#: ../../howto/logging-cookbook.rst:3375 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 " @@ -4856,11 +4877,11 @@ msgstr "" "``with`` 文が完了すると、前の状態になるので (メッセージ #1 のように) メッセー" "ジ #6 が現れ、(まさにメッセージ #2 のように) メッセージ #7 は現れません。" -#: ../../howto/logging-cookbook.rst:3372 +#: ../../howto/logging-cookbook.rst:3385 msgid "If we run the resulting script, the result is as follows:" msgstr "出来上がったスクリプトを実行すると、結果は次のようになります::" -#: ../../howto/logging-cookbook.rst:3374 +#: ../../howto/logging-cookbook.rst:3387 msgid "" "$ python logctx.py\n" "1. This should appear just once on stderr.\n" @@ -4870,7 +4891,7 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: ../../howto/logging-cookbook.rst:3383 +#: ../../howto/logging-cookbook.rst:3396 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" @@ -4878,19 +4899,19 @@ msgstr "" "``stderr`` を ``/dev/null`` へパイプした状態でもう一度実行すると、次のように" "なり、これは ``stdout`` の方に書かれたメッセージだけが現れています:" -#: ../../howto/logging-cookbook.rst:3386 +#: ../../howto/logging-cookbook.rst:3399 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:3391 +#: ../../howto/logging-cookbook.rst:3404 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" "``stdout`` を ``/dev/null`` へパイプした状態でさらにもう一度実行すると、こう" "なります:" -#: ../../howto/logging-cookbook.rst:3393 +#: ../../howto/logging-cookbook.rst:3406 msgid "" "$ python logctx.py >/dev/null\n" "1. This should appear just once on stderr.\n" @@ -4899,7 +4920,7 @@ msgid "" "6. This should appear just once on stderr." msgstr "" -#: ../../howto/logging-cookbook.rst:3401 +#: ../../howto/logging-cookbook.rst:3414 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." @@ -4907,7 +4928,7 @@ msgstr "" "この場合では、 ``stdout`` の方に出力されたメッセージ #5 は予想通り現れませ" "ん。" -#: ../../howto/logging-cookbook.rst:3403 +#: ../../howto/logging-cookbook.rst:3416 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 " @@ -4917,19 +4938,19 @@ msgstr "" "するのに一般化できます。\n" "上のコードは Python 2 だけでなく Python 3 でも動くことに注意してください。" -#: ../../howto/logging-cookbook.rst:3411 +#: ../../howto/logging-cookbook.rst:3424 msgid "A CLI application starter template" msgstr "CLIアプリケーションスターターテンプレート" -#: ../../howto/logging-cookbook.rst:3413 +#: ../../howto/logging-cookbook.rst:3426 msgid "Here's an example which shows how you can:" msgstr "ここのサンプルでは次のことを説明します:" -#: ../../howto/logging-cookbook.rst:3415 +#: ../../howto/logging-cookbook.rst:3428 msgid "Use a logging level based on command-line arguments" msgstr "コマンドライン引数に応じてログレベルを使用する" -#: ../../howto/logging-cookbook.rst:3416 +#: ../../howto/logging-cookbook.rst:3429 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" @@ -4937,11 +4958,11 @@ msgstr "" "複数のファイルに分割されたサブコマンドにディスパッチする。すべて一貫して同じ" "レベルでログ出力を行う" -#: ../../howto/logging-cookbook.rst:3418 +#: ../../howto/logging-cookbook.rst:3431 msgid "Make use of simple, minimal configuration" msgstr "シンプルで最小限の設定で行えるようにする" -#: ../../howto/logging-cookbook.rst:3420 +#: ../../howto/logging-cookbook.rst:3433 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 " @@ -4958,7 +4979,7 @@ msgstr "" "ライン引数を使ってアプリケーションのログの冗長性を制御したいとします。 ``app." "py`` は次のコードのようになるでしょう::" -#: ../../howto/logging-cookbook.rst:3428 +#: ../../howto/logging-cookbook.rst:3441 msgid "" "import argparse\n" "import importlib\n" @@ -5005,7 +5026,7 @@ msgid "" " sys.exit(main())" msgstr "" -#: ../../howto/logging-cookbook.rst:3469 +#: ../../howto/logging-cookbook.rst:3482 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" @@ -5013,7 +5034,7 @@ msgstr "" "``start`` 、 ``stop`` 、 ``restart`` コマンドは個別のモジュールとして実装され" "ます。次は起動コマンドのソースです::" -#: ../../howto/logging-cookbook.rst:3472 +#: ../../howto/logging-cookbook.rst:3485 msgid "" "# start.py\n" "import logging\n" @@ -5026,11 +5047,11 @@ msgid "" " logger.info('Started the \\'%s\\' service.', options.name)" msgstr "" -#: ../../howto/logging-cookbook.rst:3482 +#: ../../howto/logging-cookbook.rst:3495 msgid "and thus for stopping::" msgstr "停止コマンドのソースは次の通りです::" -#: ../../howto/logging-cookbook.rst:3484 +#: ../../howto/logging-cookbook.rst:3497 msgid "" "# stop.py\n" "import logging\n" @@ -5052,11 +5073,11 @@ msgid "" " logger.info('Stopped the %s service%s.', services, plural)" msgstr "" -#: ../../howto/logging-cookbook.rst:3503 +#: ../../howto/logging-cookbook.rst:3516 msgid "and similarly for restarting::" msgstr "同様に、再起動のコマンドは次の通りです::" -#: ../../howto/logging-cookbook.rst:3505 +#: ../../howto/logging-cookbook.rst:3518 msgid "" "# restart.py\n" "import logging\n" @@ -5078,7 +5099,7 @@ msgid "" " logger.info('Restarted the %s service%s.', services, plural)" msgstr "" -#: ../../howto/logging-cookbook.rst:3524 +#: ../../howto/logging-cookbook.rst:3537 msgid "" "If we run this application with the default log level, we get output like " "this:" @@ -5086,7 +5107,7 @@ msgstr "" "このアプリケーションをデフォルトのログレベルで実行すると、次のような出力が得" "られます:" -#: ../../howto/logging-cookbook.rst:3526 +#: ../../howto/logging-cookbook.rst:3539 msgid "" "$ python app.py start foo\n" "INFO start Started the 'foo' service.\n" @@ -5098,7 +5119,7 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: ../../howto/logging-cookbook.rst:3537 +#: ../../howto/logging-cookbook.rst:3550 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." @@ -5106,7 +5127,7 @@ msgstr "" "最初のワードはログレベルで、次のワードはイベントのログ出力が行われたモジュー" "ルまたはパッケージ名です。" -#: ../../howto/logging-cookbook.rst:3540 +#: ../../howto/logging-cookbook.rst:3553 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" @@ -5114,7 +5135,7 @@ msgstr "" "ログレベルを変更し、ログに出力する情報を変更できるようにしましょう。もし、よ" "り詳細な情報が必要だとしましょう:" -#: ../../howto/logging-cookbook.rst:3543 +#: ../../howto/logging-cookbook.rst:3556 msgid "" "$ python app.py --log-level DEBUG start foo\n" "DEBUG start About to start foo\n" @@ -5129,28 +5150,28 @@ msgid "" "INFO restart Restarted the 'foo', 'bar' and 'baz' services." msgstr "" -#: ../../howto/logging-cookbook.rst:3557 +#: ../../howto/logging-cookbook.rst:3570 msgid "And if we want less:" msgstr "あるいは情報を減らしたい場合もあるでしょう:" -#: ../../howto/logging-cookbook.rst:3559 +#: ../../howto/logging-cookbook.rst:3572 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:3565 +#: ../../howto/logging-cookbook.rst:3578 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:3571 +#: ../../howto/logging-cookbook.rst:3584 msgid "A Qt GUI for logging" msgstr "Qt GUIのログ出力" -#: ../../howto/logging-cookbook.rst:3573 +#: ../../howto/logging-cookbook.rst:3586 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-" @@ -5158,7 +5179,7 @@ msgid "" "`PyQt5` libraries." msgstr "" -#: ../../howto/logging-cookbook.rst:3578 +#: ../../howto/logging-cookbook.rst:3591 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 " @@ -5174,7 +5195,7 @@ msgstr "" "ンドのタスクを行うワーカースレッドからログ出力を行います(ここではランダムな" "期間にランダムなレベルでメッセージを出しています)。" -#: ../../howto/logging-cookbook.rst:3585 +#: ../../howto/logging-cookbook.rst:3598 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 " @@ -5184,7 +5205,7 @@ msgstr "" "スを使っています。これは他の ``Qt`` コンポーネントとうまく統合できるように、 " "``QThread`` を使う必要があるからです。" -#: ../../howto/logging-cookbook.rst:3589 +#: ../../howto/logging-cookbook.rst:3602 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 " @@ -5192,7 +5213,7 @@ msgid "" "more detailed information." msgstr "" -#: ../../howto/logging-cookbook.rst:3594 +#: ../../howto/logging-cookbook.rst:3607 msgid "" "import datetime\n" "import logging\n" @@ -5443,11 +5464,11 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:3826 +#: ../../howto/logging-cookbook.rst:3839 msgid "Logging to syslog with RFC5424 support" msgstr "RFC5424 をサポートする syslog へのロギング" -#: ../../howto/logging-cookbook.rst:3828 +#: ../../howto/logging-cookbook.rst:3841 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 " @@ -5464,7 +5485,7 @@ msgstr "" "に、 :class:`~logging.handlers.SysLogHandler` の機能は更新されてきませんでし" "た。" -#: ../../howto/logging-cookbook.rst:3835 +#: ../../howto/logging-cookbook.rst:3848 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, " @@ -5474,7 +5495,7 @@ msgstr "" "の機能をサポートする syslog サーバーへのロギングを可能にする必要がある場合、" "以下のような派生ハンドラクラスを使うことで実現することができます::" -#: ../../howto/logging-cookbook.rst:3839 +#: ../../howto/logging-cookbook.rst:3852 msgid "" "import datetime\n" "import logging.handlers\n" @@ -5544,7 +5565,7 @@ msgid "" "{sdata} {msg}'" msgstr "" -#: ../../howto/logging-cookbook.rst:3901 +#: ../../howto/logging-cookbook.rst:3914 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 " @@ -5558,7 +5579,7 @@ msgstr "" "あります。上記のハンドラにより、構造化データは以下のように渡すことができるで" "しょう::" -#: ../../howto/logging-cookbook.rst:3906 +#: ../../howto/logging-cookbook.rst:3919 msgid "" "sd = {\n" " 'foo@12345': {'bar': 'baz', 'baz': 'bozz', 'fizz': r'buzz'},\n" @@ -5569,11 +5590,11 @@ msgid "" "logger.debug('Message %d', i, extra=extra)" msgstr "" -#: ../../howto/logging-cookbook.rst:3915 +#: ../../howto/logging-cookbook.rst:3928 msgid "How to treat a logger like an output stream" msgstr "ロガーを出力ストリームのように取り扱う方法" -#: ../../howto/logging-cookbook.rst:3917 +#: ../../howto/logging-cookbook.rst:3930 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 " @@ -5585,7 +5606,7 @@ msgstr "" "きあります。これは file-like な API でロガーをラップするクラスを使うことで実" "現できます。以下はそのようなクラスを例解する短いスクリプトです:" -#: ../../howto/logging-cookbook.rst:3922 +#: ../../howto/logging-cookbook.rst:3935 msgid "" "import logging\n" "\n" @@ -5623,17 +5644,17 @@ msgid "" " main()" msgstr "" -#: ../../howto/logging-cookbook.rst:3957 +#: ../../howto/logging-cookbook.rst:3970 msgid "When this script is run, it prints" msgstr "このスクリプトを実行すると、次のように出力されます。" -#: ../../howto/logging-cookbook.rst:3959 +#: ../../howto/logging-cookbook.rst:3972 msgid "" "INFO:demo:An INFO message\n" "DEBUG:demo:A DEBUG message" msgstr "" -#: ../../howto/logging-cookbook.rst:3964 +#: ../../howto/logging-cookbook.rst:3977 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" @@ -5641,7 +5662,7 @@ msgstr "" "また、 ``sys.stdout`` や ``sys.stderr`` をリダイレクトするには " "``LoggerWriter`` を使って以下のようにします:" -#: ../../howto/logging-cookbook.rst:3967 +#: ../../howto/logging-cookbook.rst:3980 msgid "" "import sys\n" "\n" @@ -5649,7 +5670,7 @@ msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)" msgstr "" -#: ../../howto/logging-cookbook.rst:3974 +#: ../../howto/logging-cookbook.rst:3987 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." @@ -5661,7 +5682,7 @@ msgstr "" "で上書きされる *前の* ``sys.stderr`` を使って) 設定を行います。そして、以下の" "ような結果を得るでしょう:" -#: ../../howto/logging-cookbook.rst:3979 +#: ../../howto/logging-cookbook.rst:3992 msgid "" ">>> print('Foo')\n" "INFO:demo:Foo\n" @@ -5670,7 +5691,7 @@ msgid "" ">>>" msgstr "" -#: ../../howto/logging-cookbook.rst:3987 +#: ../../howto/logging-cookbook.rst:4000 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 " @@ -5680,7 +5701,7 @@ msgstr "" "とづく出力を示していますが、ロギングの設定で異なるフォーマッタを使うことがで" "きます。" -#: ../../howto/logging-cookbook.rst:3991 +#: ../../howto/logging-cookbook.rst:4004 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, " @@ -5690,17 +5711,17 @@ msgstr "" "いてはなすがままになっています。たとえば、上記の ``LoggerWriter`` の定義で、" "次のようなコードの断片があったとします。" -#: ../../howto/logging-cookbook.rst:3995 +#: ../../howto/logging-cookbook.rst:4008 msgid "" "sys.stderr = LoggerWriter(logger, logging.WARNING)\n" "1 / 0" msgstr "" -#: ../../howto/logging-cookbook.rst:4000 +#: ../../howto/logging-cookbook.rst:4013 msgid "then running the script results in" msgstr "このスクリプトを実行すると以下のような結果が得られます。" -#: ../../howto/logging-cookbook.rst:4002 +#: ../../howto/logging-cookbook.rst:4015 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "\n" @@ -5719,7 +5740,7 @@ msgid "" "WARNING:demo:division by zero" msgstr "" -#: ../../howto/logging-cookbook.rst:4018 +#: ../../howto/logging-cookbook.rst:4031 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 " @@ -5729,7 +5750,7 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: ../../howto/logging-cookbook.rst:4024 +#: ../../howto/logging-cookbook.rst:4037 msgid "" "class BufferingLoggerWriter(LoggerWriter):\n" " def __init__(self, logger, level):\n" @@ -5749,7 +5770,7 @@ msgid "" " self.logger.log(self.level, part)" msgstr "" -#: ../../howto/logging-cookbook.rst:4043 +#: ../../howto/logging-cookbook.rst:4056 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" @@ -5757,7 +5778,7 @@ msgstr "" "この実装は改行があらわれるまでログをバッファリングし、行全体をログに出力する" "だけです。このアプローチにより、より適切な出力が得られます:" -#: ../../howto/logging-cookbook.rst:4046 +#: ../../howto/logging-cookbook.rst:4059 msgid "" "WARNING:demo:Traceback (most recent call last):\n" "WARNING:demo: File \"/home/runner/cookbook-loggerwriter/main.py\", line 55, " @@ -5769,11 +5790,11 @@ msgid "" "WARNING:demo:ZeroDivisionError: division by zero" msgstr "" -#: ../../howto/logging-cookbook.rst:4059 +#: ../../howto/logging-cookbook.rst:4072 msgid "Patterns to avoid" msgstr "避けるべきパターン" -#: ../../howto/logging-cookbook.rst:4061 +#: ../../howto/logging-cookbook.rst:4074 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 " @@ -5785,11 +5806,11 @@ msgstr "" "れます。これは多くの場合避けるべきことです。これらの説明はどこから読んでも構" "いません。" -#: ../../howto/logging-cookbook.rst:4067 +#: ../../howto/logging-cookbook.rst:4080 msgid "Opening the same log file multiple times" msgstr "同じログファイルを何度も開く" -#: ../../howto/logging-cookbook.rst:4069 +#: ../../howto/logging-cookbook.rst:4082 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. " @@ -5801,7 +5822,7 @@ msgstr "" "ではエラーがおきることなく、同じファイルを何度も開けます。これは次のように間" "違って使われる可能性があります。" -#: ../../howto/logging-cookbook.rst:4074 +#: ../../howto/logging-cookbook.rst:4087 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." @@ -5809,7 +5830,7 @@ msgstr "" "同じファイルを指すファイルハンドラを1度以上追加する(例えばコピー&ペーストし" "て書き換え忘れによるエラー)。" -#: ../../howto/logging-cookbook.rst:4077 +#: ../../howto/logging-cookbook.rst:4090 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." @@ -5817,7 +5838,7 @@ msgstr "" "異なる名前を持つ、一見異なる2つのファイルを開くが、片方が他方へのシンボリック" "リンクとなっている。" -#: ../../howto/logging-cookbook.rst:4080 +#: ../../howto/logging-cookbook.rst:4093 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` " @@ -5827,7 +5848,7 @@ msgstr "" "を維持する。これは例えば、 :mod:`multiprocessing` モジュールなどを使うと発生" "する可能性があります。" -#: ../../howto/logging-cookbook.rst:4084 +#: ../../howto/logging-cookbook.rst:4097 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" @@ -5835,7 +5856,7 @@ msgstr "" "ファイルを複数回開くことは、 *一見* 動作しているように見えますが、さまざまな" "問題を引き起こす可能性があります:" -#: ../../howto/logging-cookbook.rst:4087 +#: ../../howto/logging-cookbook.rst:4100 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 " @@ -5849,7 +5870,7 @@ msgstr "" "ラーのインスタンスに対し、2つのスレッドから同時に書き込みをした場合にはそのよ" "うな保護は働きません。" -#: ../../howto/logging-cookbook.rst:4093 +#: ../../howto/logging-cookbook.rst:4106 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 " @@ -5865,7 +5886,7 @@ msgstr "" "ていたファイルが残っていたり、ファイルサイズにもとづくローテーションが行われ" "ているにもかかわらずファイルサイズが予想外に増加したりすることもあります。" -#: ../../howto/logging-cookbook.rst:4100 +#: ../../howto/logging-cookbook.rst:4113 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." @@ -5873,11 +5894,11 @@ msgstr "" "この問題を回避するには :ref:`multiple-processes` で紹介したテクニックを使用し" "てください。" -#: ../../howto/logging-cookbook.rst:4104 +#: ../../howto/logging-cookbook.rst:4117 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "ロガーをクラスの属性にするか、パラメータで渡す" -#: ../../howto/logging-cookbook.rst:4106 +#: ../../howto/logging-cookbook.rst:4119 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 " @@ -5895,7 +5916,7 @@ msgstr "" "このパターンはクラスではなくモジュールがソフトウェア分解の単位となっているた" "め、無意味です。" -#: ../../howto/logging-cookbook.rst:4115 +#: ../../howto/logging-cookbook.rst:4128 msgid "" "Adding handlers other than :class:`~logging.NullHandler` to a logger in a " "library" @@ -5903,7 +5924,7 @@ msgstr "" "ライブラリ内でロガーに :class:`~logging.NullHandler` 以外のハンドラーを追加す" "る" -#: ../../howto/logging-cookbook.rst:4117 +#: ../../howto/logging-cookbook.rst:4130 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -5915,11 +5936,11 @@ msgstr "" "イブラリのメンテナンスをしているのであれば、 :class:`~logging.NullHandler` イ" "ンスタンス以外のロガーを追加してはいけない、ということを意味します。" -#: ../../howto/logging-cookbook.rst:4123 +#: ../../howto/logging-cookbook.rst:4136 msgid "Creating a lot of loggers" msgstr "大量のロガーを作成する" -#: ../../howto/logging-cookbook.rst:4125 +#: ../../howto/logging-cookbook.rst:4138 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. " @@ -5936,38 +5957,38 @@ msgstr "" "ケーション内の説明の単位(通常はモジュールだが、場合によってはそれよりも小さ" "い可能性もある)で作るように制限してください。" -#: ../../howto/logging-cookbook.rst:4136 +#: ../../howto/logging-cookbook.rst:4149 msgid "Other resources" msgstr "その他のリソース" -#: ../../howto/logging-cookbook.rst:4140 +#: ../../howto/logging-cookbook.rst:4153 msgid "Module :mod:`logging`" msgstr ":mod:`logging` モジュール" -#: ../../howto/logging-cookbook.rst:4141 +#: ../../howto/logging-cookbook.rst:4154 msgid "API reference for the logging module." msgstr "logging モジュールの API リファレンス。" -#: ../../howto/logging-cookbook.rst:4143 +#: ../../howto/logging-cookbook.rst:4156 msgid "Module :mod:`logging.config`" msgstr ":mod:`logging.config` モジュール" -#: ../../howto/logging-cookbook.rst:4144 +#: ../../howto/logging-cookbook.rst:4157 msgid "Configuration API for the logging module." msgstr "logging モジュールの環境設定 API です。" -#: ../../howto/logging-cookbook.rst:4146 +#: ../../howto/logging-cookbook.rst:4159 msgid "Module :mod:`logging.handlers`" msgstr ":mod:`logging.handlers` モジュール" -#: ../../howto/logging-cookbook.rst:4147 +#: ../../howto/logging-cookbook.rst:4160 msgid "Useful handlers included with the logging module." msgstr "logging モジュールに含まれる、便利なハンドラです。" -#: ../../howto/logging-cookbook.rst:4149 +#: ../../howto/logging-cookbook.rst:4162 msgid ":ref:`Basic Tutorial `" msgstr ":ref:`基本チュートリアル `" -#: ../../howto/logging-cookbook.rst:4151 +#: ../../howto/logging-cookbook.rst:4164 msgid ":ref:`Advanced Tutorial `" msgstr ":ref:`上級チュートリアル `" diff --git a/howto/regex.po b/howto/regex.po index 24de4b95d..9a7f2e861 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Arihiro TAKASE, 2023\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1120,7 +1120,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" @@ -1154,7 +1154,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 "" @@ -1547,7 +1547,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" @@ -1571,11 +1571,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/unicode.po b/howto/unicode.po index e01f94dc4..d8848ad27 100644 --- a/howto/unicode.po +++ b/howto/unicode.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: Takanori Suzuki , 2023\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -476,7 +476,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" @@ -565,7 +565,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 eebfb7c98..7fd89ac43 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:53+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -303,7 +303,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" @@ -425,7 +425,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 "" @@ -572,7 +572,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'>> parser.add_argument('--legs', default=0, type=int, deprecated=True)\n" ">>> parser.parse_args([])\n" "Namespace(legs=0)\n" -">>> parser.parse_args(['--legs', '4']) \n" +">>> parser.parse_args(['--legs', '4'])\n" "snake.py: warning: option '--legs' is deprecated\n" "Namespace(legs=4)" msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 1762c8ffb..f6c765adf 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:54+0000\n" "Last-Translator: souma987, 2023\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -630,9 +630,9 @@ msgstr ":meth:`loop.create_task` が使用するタスクファクトリーを msgid "" "If *factory* is ``None`` the default task factory will be set. Otherwise, " "*factory* must be a *callable* with the signature matching ``(loop, coro, " -"context=None)``, where *loop* is a reference to the active event loop, and " -"*coro* is a coroutine object. The callable must return a :class:`asyncio." -"Future`-compatible object." +"**kwargs)``, where *loop* is a reference to the active event loop, and " +"*coro* is a coroutine object. The callable must pass on all *kwargs*, and " +"return a :class:`asyncio.Task`-compatible object." msgstr "" #: ../../library/asyncio-eventloop.rst:391 diff --git a/library/configparser.po b/library/configparser.po index 6000823fb..cc077c13f 100644 --- a/library/configparser.po +++ b/library/configparser.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 00:57+0000\n" "Last-Translator: Takeshi Nakazato, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -189,7 +189,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/ctypes.po b/library/ctypes.po index a3458a49e..f93ce0f23 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" "Last-Translator: Takanori Suzuki , 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -113,11 +113,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 "" @@ -148,10 +148,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 "" @@ -168,9 +168,9 @@ msgstr "dll オブジェクトの属性として関数にアクセスします:: 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" @@ -221,7 +221,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 "" @@ -238,9 +238,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" @@ -262,7 +262,7 @@ msgstr "" #: ../../library/ctypes.rst:155 msgid "" -">>> print(libc.rand()) \n" +">>> print(libc.rand())\n" "1804289383" msgstr "" @@ -275,7 +275,7 @@ msgstr "" #: ../../library/ctypes.rst:161 msgid "" -">>> print(hex(windll.kernel32.GetModuleHandleA(None))) \n" +">>> print(hex(windll.kernel32.GetModuleHandleA(None)))\n" "0x1d000000\n" ">>>" msgstr "" @@ -290,14 +290,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 " @@ -324,7 +324,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" @@ -640,12 +640,8 @@ msgid "" "Assigning a new value to instances of the pointer types :class:`c_char_p`, :" "class:`c_wchar_p`, and :class:`c_void_p` changes the *memory location* they " "point to, *not the contents* of the memory block (of course not, because " -"Python bytes objects are immutable)::" +"Python string objects are immutable)::" msgstr "" -"新しい値をポインタ型 :class:`c_char_p`, :class:`c_wchar_p` および :class:" -"`c_void_p` のインスタンスへ代入すると、変わるのは指している *メモリ位置* で" -"あって、メモリブロックの *内容ではありません* (これは当然で、なぜなら、 " -"Python バイト列オブジェクトは変更不可能だからです)::" #: ../../library/ctypes.rst:297 msgid "" @@ -927,7 +923,7 @@ msgstr "" #: ../../library/ctypes.rst:494 msgid "" -">>> print(libc.time(None)) \n" +">>> print(libc.time(None))\n" "1150640792" msgstr "" @@ -940,7 +936,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" @@ -986,17 +982,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" @@ -1203,7 +1199,7 @@ msgid "" "the fields. This is what ``#pragma pack(n)`` also does in MSVC. It is also " "possible to set a minimum alignment for how the subclass itself is packed in " "the same way ``#pragma align(n)`` works in MSVC. This can be achieved by " -"specifying a ::attr:`~Structure._align_` class attribute in the subclass " +"specifying a :attr:`~Structure._align_` class attribute in the subclass " "definition." msgstr "" @@ -1814,7 +1810,7 @@ msgstr "結果は以下の通りです::" #: ../../library/ctypes.rst:1043 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" @@ -1834,7 +1830,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/dataclasses.po b/library/dataclasses.po index 573c4010b..6e587f0a8 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:03+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -440,13 +440,15 @@ msgstr "" #: ../../library/dataclasses.rst:279 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:287 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 " @@ -459,14 +461,14 @@ msgstr "" "要かつ、その型のハッシュ値を計算するのに他のフィールドも使われることです。\n" "フィールドがハッシュから除外されていたとしても、比較には使えます。" -#: ../../library/dataclasses.rst:292 +#: ../../library/dataclasses.rst:293 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:297 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 " @@ -476,13 +478,13 @@ msgid "" "namespace in the metadata." msgstr "" -#: ../../library/dataclasses.rst:304 +#: ../../library/dataclasses.rst:305 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 +#: ../../library/dataclasses.rst:311 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 " @@ -493,7 +495,7 @@ msgid "" "specified. For example, after::" msgstr "" -#: ../../library/dataclasses.rst:319 +#: ../../library/dataclasses.rst:320 msgid "" "@dataclass\n" "class C:\n" @@ -503,14 +505,14 @@ msgid "" " t: int = 20" msgstr "" -#: ../../library/dataclasses.rst:326 +#: ../../library/dataclasses.rst:327 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:333 msgid "" ":class:`!Field` objects describe each defined field. These objects are " "created internally, and are returned by the :func:`fields` module-level " @@ -518,22 +520,22 @@ msgid "" "directly. Its documented attributes are:" msgstr "" -#: ../../library/dataclasses.rst:337 +#: ../../library/dataclasses.rst:338 msgid ":attr:`!name`: The name of the field." msgstr "" -#: ../../library/dataclasses.rst:338 +#: ../../library/dataclasses.rst:339 msgid ":attr:`!type`: The type of the field." msgstr "" -#: ../../library/dataclasses.rst:339 +#: ../../library/dataclasses.rst:340 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:344 msgid "" "Other attributes may exist, but they are private and must not be inspected " "or relied on." @@ -541,7 +543,7 @@ msgstr "" "他の属性があることもありますが、それらはプライベートであり、調べたり、依存し" "たりしてはなりません。" -#: ../../library/dataclasses.rst:348 +#: ../../library/dataclasses.rst:349 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. " @@ -555,7 +557,7 @@ msgstr "" "`TypeError` を送出します。\n" "``ClassVar`` や ``InitVar`` といった疑似フィールドは返しません。" -#: ../../library/dataclasses.rst:355 +#: ../../library/dataclasses.rst:356 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 " @@ -563,11 +565,11 @@ msgid "" "into. Other objects are copied with :func:`copy.deepcopy`." msgstr "" -#: ../../library/dataclasses.rst:361 +#: ../../library/dataclasses.rst:362 msgid "Example of using :func:`!asdict` on nested dataclasses::" msgstr "" -#: ../../library/dataclasses.rst:363 +#: ../../library/dataclasses.rst:364 msgid "" "@dataclass\n" "class Point:\n" @@ -585,20 +587,20 @@ msgid "" "assert asdict(c) == {'mylist': [{'x': 0, 'y': 0}, {'x': 10, 'y': 4}]}" msgstr "" -#: ../../library/dataclasses.rst:378 ../../library/dataclasses.rst:398 +#: ../../library/dataclasses.rst:379 ../../library/dataclasses.rst:399 msgid "To create a shallow copy, the following workaround may be used::" msgstr "" -#: ../../library/dataclasses.rst:380 +#: ../../library/dataclasses.rst:381 msgid "{field.name: getattr(obj, field.name) for field in fields(obj)}" msgstr "" -#: ../../library/dataclasses.rst:382 +#: ../../library/dataclasses.rst:383 msgid "" ":func:`!asdict` raises :exc:`TypeError` if *obj* is not a dataclass instance." msgstr "" -#: ../../library/dataclasses.rst:387 +#: ../../library/dataclasses.rst:388 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 " @@ -606,27 +608,27 @@ msgid "" "objects are copied with :func:`copy.deepcopy`." msgstr "" -#: ../../library/dataclasses.rst:393 +#: ../../library/dataclasses.rst:394 msgid "Continuing from the previous example::" msgstr "1つ前の例の続きです::" -#: ../../library/dataclasses.rst:395 +#: ../../library/dataclasses.rst:396 msgid "" "assert astuple(p) == (10, 20)\n" "assert astuple(c) == ([(0, 0), (10, 4)],)" msgstr "" -#: ../../library/dataclasses.rst:400 +#: ../../library/dataclasses.rst:401 msgid "tuple(getattr(obj, field.name) for field in dataclasses.fields(obj))" msgstr "" -#: ../../library/dataclasses.rst:402 +#: ../../library/dataclasses.rst:403 msgid "" ":func:`!astuple` raises :exc:`TypeError` if *obj* is not a dataclass " "instance." msgstr "" -#: ../../library/dataclasses.rst:407 +#: ../../library/dataclasses.rst:408 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 " @@ -638,13 +640,13 @@ msgid "" "`@dataclass `." msgstr "" -#: ../../library/dataclasses.rst:417 +#: ../../library/dataclasses.rst:418 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:422 msgid "" "This function is not strictly required, because any Python mechanism for " "creating a new class with :attr:`!__annotations__` can then apply the :func:" @@ -652,7 +654,7 @@ msgid "" "This function is provided as a convenience. For example::" msgstr "" -#: ../../library/dataclasses.rst:427 +#: ../../library/dataclasses.rst:428 msgid "" "C = make_dataclass('C',\n" " [('x', int),\n" @@ -661,11 +663,11 @@ msgid "" " namespace={'add_one': lambda self: self.x + 1})" msgstr "" -#: ../../library/dataclasses.rst:433 +#: ../../library/dataclasses.rst:434 msgid "Is equivalent to::" msgstr "は、次のコードと等しいです::" -#: ../../library/dataclasses.rst:435 +#: ../../library/dataclasses.rst:436 msgid "" "@dataclass\n" "class C:\n" @@ -677,7 +679,7 @@ msgid "" " return self.x + 1" msgstr "" -#: ../../library/dataclasses.rst:446 +#: ../../library/dataclasses.rst:447 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 " @@ -685,27 +687,27 @@ msgid "" "`TypeError`." msgstr "" -#: ../../library/dataclasses.rst:451 +#: ../../library/dataclasses.rst:452 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:456 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:460 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:464 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 " @@ -716,19 +718,19 @@ msgid "" "instance copying." msgstr "" -#: ../../library/dataclasses.rst:472 +#: ../../library/dataclasses.rst:473 msgid "" "Dataclass instances are also supported by generic function :func:`copy." "replace`." msgstr "" -#: ../../library/dataclasses.rst:476 +#: ../../library/dataclasses.rst:477 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:479 +#: ../../library/dataclasses.rst:480 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, " @@ -738,18 +740,18 @@ msgstr "" "い) かどうかを知る必要がある場合は、 ``not isinstance(obj, type)`` で追加の" "チェックをしてください::" -#: ../../library/dataclasses.rst:483 +#: ../../library/dataclasses.rst:484 msgid "" "def is_dataclass_instance(obj):\n" " return is_dataclass(obj) and not isinstance(obj, type)" msgstr "" -#: ../../library/dataclasses.rst:488 +#: ../../library/dataclasses.rst:489 msgid "A sentinel value signifying a missing default or default_factory." msgstr "" "デフォルト値やdefault_factoryが設定されてない場合の番兵の値を設定します。" -#: ../../library/dataclasses.rst:492 +#: ../../library/dataclasses.rst:493 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 " @@ -760,13 +762,13 @@ msgid "" "the class is instantiated." msgstr "" -#: ../../library/dataclasses.rst:501 +#: ../../library/dataclasses.rst:502 msgid "" "In this example, the fields ``y`` and ``z`` will be marked as keyword-only " "fields::" msgstr "このサンプルでは ``y`` と ``z`` がキーワード専用フィールドとなります::" -#: ../../library/dataclasses.rst:503 +#: ../../library/dataclasses.rst:504 msgid "" "@dataclass\n" "class Point:\n" @@ -778,13 +780,13 @@ msgid "" "p = Point(0, y=1.5, z=2.0)" msgstr "" -#: ../../library/dataclasses.rst:512 +#: ../../library/dataclasses.rst:513 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:519 +#: ../../library/dataclasses.rst:520 msgid "" "Raised when an implicitly defined :meth:`~object.__setattr__` or :meth:" "`~object.__delattr__` is called on a dataclass which was defined with " @@ -794,11 +796,11 @@ msgstr "" "`~object.__setattr__` または :meth:`~object.__delattr__` が呼び出されたときに" "送出されます。これは :exc:`AttributeError` のサブクラスです。" -#: ../../library/dataclasses.rst:526 +#: ../../library/dataclasses.rst:527 msgid "Post-init processing" msgstr "初期化後の処理" -#: ../../library/dataclasses.rst:530 +#: ../../library/dataclasses.rst:531 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 " @@ -808,7 +810,7 @@ msgid "" "automatically be called." msgstr "" -#: ../../library/dataclasses.rst:537 +#: ../../library/dataclasses.rst:538 msgid "" "Among other uses, this allows for initializing field values that depend on " "one or more other fields. For example::" @@ -817,7 +819,7 @@ msgstr "" "ドが初期化できます。\n" "例えば次のようにできます::" -#: ../../library/dataclasses.rst:540 +#: ../../library/dataclasses.rst:541 msgid "" "@dataclass\n" "class C:\n" @@ -829,7 +831,7 @@ msgid "" " self.c = self.a + self.b" msgstr "" -#: ../../library/dataclasses.rst:549 +#: ../../library/dataclasses.rst:550 msgid "" "The :meth:`~object.__init__` method generated by :func:`@dataclass " "` does not call base class :meth:`!__init__` methods. If the base " @@ -837,7 +839,7 @@ msgid "" "call this method in a :meth:`__post_init__` method::" msgstr "" -#: ../../library/dataclasses.rst:554 +#: ../../library/dataclasses.rst:555 msgid "" "class Rectangle:\n" " def __init__(self, height, width):\n" @@ -852,14 +854,14 @@ msgid "" " super().__init__(self.side, self.side)" msgstr "" -#: ../../library/dataclasses.rst:566 +#: ../../library/dataclasses.rst:567 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:570 +#: ../../library/dataclasses.rst:571 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` " @@ -870,11 +872,11 @@ msgstr "" ":func:`replace` が ``init=False`` であるフィールドをどう取り扱うかについての" "警告も参照してください。" -#: ../../library/dataclasses.rst:577 +#: ../../library/dataclasses.rst:578 msgid "Class variables" msgstr "クラス変数" -#: ../../library/dataclasses.rst:579 +#: ../../library/dataclasses.rst:580 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 " @@ -885,11 +887,11 @@ msgid "" "`fields` function." msgstr "" -#: ../../library/dataclasses.rst:590 +#: ../../library/dataclasses.rst:591 msgid "Init-only variables" msgstr "初期化限定変数" -#: ../../library/dataclasses.rst:592 +#: ../../library/dataclasses.rst:593 msgid "" "Another place where :func:`@dataclass ` inspects a type " "annotation is to determine if a field is an init-only variable. It does " @@ -902,7 +904,7 @@ msgid "" "dataclasses." msgstr "" -#: ../../library/dataclasses.rst:602 +#: ../../library/dataclasses.rst:603 msgid "" "For example, suppose a field will be initialized from a database, if a value " "is not provided when creating the class::" @@ -910,7 +912,7 @@ msgstr "" "例えば、あるフィールドがデータベースから初期化されると仮定して、クラスを作成" "するときには値が与えられない次の場合を考えます::" -#: ../../library/dataclasses.rst:605 +#: ../../library/dataclasses.rst:606 msgid "" "@dataclass\n" "class C:\n" @@ -925,17 +927,17 @@ msgid "" "c = C(10, database=my_database)" msgstr "" -#: ../../library/dataclasses.rst:617 +#: ../../library/dataclasses.rst:618 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:623 +#: ../../library/dataclasses.rst:624 msgid "Frozen instances" msgstr "凍結されたインスタンス" -#: ../../library/dataclasses.rst:625 +#: ../../library/dataclasses.rst:626 msgid "" "It is not possible to create truly immutable Python objects. However, by " "passing ``frozen=True`` to the :func:`@dataclass ` decorator you " @@ -944,18 +946,18 @@ msgid "" "methods will raise a :exc:`FrozenInstanceError` when invoked." msgstr "" -#: ../../library/dataclasses.rst:631 +#: ../../library/dataclasses.rst:632 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:640 +#: ../../library/dataclasses.rst:641 msgid "Inheritance" msgstr "継承" -#: ../../library/dataclasses.rst:642 +#: ../../library/dataclasses.rst:643 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 " @@ -967,7 +969,7 @@ msgid "" "order, derived classes override base classes. An example::" msgstr "" -#: ../../library/dataclasses.rst:652 +#: ../../library/dataclasses.rst:653 msgid "" "@dataclass\n" "class Base:\n" @@ -980,28 +982,28 @@ msgid "" " x: int = 15" msgstr "" -#: ../../library/dataclasses.rst:662 +#: ../../library/dataclasses.rst:663 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:665 +#: ../../library/dataclasses.rst:666 msgid "" "The generated :meth:`~object.__init__` method for :class:`!C` will look " "like::" msgstr "" -#: ../../library/dataclasses.rst:667 +#: ../../library/dataclasses.rst:668 msgid "def __init__(self, x: int = 15, y: int = 0, z: int = 10):" msgstr "" -#: ../../library/dataclasses.rst:670 +#: ../../library/dataclasses.rst:671 msgid "Re-ordering of keyword-only parameters in :meth:`!__init__`" msgstr "" -#: ../../library/dataclasses.rst:672 +#: ../../library/dataclasses.rst:673 msgid "" "After the parameters needed for :meth:`~object.__init__` are computed, any " "keyword-only parameters are moved to come after all regular (non-keyword-" @@ -1013,14 +1015,14 @@ msgstr "" "のキーワード専用引数は、非キーワード専用パラメータの末尾にこなければならない" "という、キーワード専用パラメータのPythonの実装の都合で必要なことです。" -#: ../../library/dataclasses.rst:678 +#: ../../library/dataclasses.rst:679 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:681 +#: ../../library/dataclasses.rst:682 msgid "" "@dataclass\n" "class Base:\n" @@ -1035,17 +1037,17 @@ msgid "" " t: int = field(kw_only=True, default=0)" msgstr "" -#: ../../library/dataclasses.rst:693 +#: ../../library/dataclasses.rst:694 msgid "The generated :meth:`!__init__` method for :class:`!D` will look like::" msgstr "" -#: ../../library/dataclasses.rst:695 +#: ../../library/dataclasses.rst:696 msgid "" "def __init__(self, x: Any = 15.0, z: int = 10, *, y: int = 0, w: int = 1, t: " "int = 0):" msgstr "" -#: ../../library/dataclasses.rst:697 +#: ../../library/dataclasses.rst:698 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 " @@ -1055,28 +1057,28 @@ msgstr "" "フィールドから派生したパラメータの後に、キーワードのみのフィールドから派生し" "たパラメータが続きます。" -#: ../../library/dataclasses.rst:701 +#: ../../library/dataclasses.rst:702 msgid "" "The relative ordering of keyword-only parameters is maintained in the re-" "ordered :meth:`!__init__` parameter list." msgstr "" -#: ../../library/dataclasses.rst:706 +#: ../../library/dataclasses.rst:707 msgid "Default factory functions" msgstr "デフォルトファクトリ関数" -#: ../../library/dataclasses.rst:708 +#: ../../library/dataclasses.rst:709 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:712 +#: ../../library/dataclasses.rst:713 msgid "mylist: list = field(default_factory=list)" msgstr "" -#: ../../library/dataclasses.rst:714 +#: ../../library/dataclasses.rst:715 msgid "" "If a field is excluded from :meth:`~object.__init__` (using ``init=False``) " "and the field also specifies *default_factory*, then the default factory " @@ -1085,11 +1087,11 @@ msgid "" "initial value." msgstr "" -#: ../../library/dataclasses.rst:721 +#: ../../library/dataclasses.rst:722 msgid "Mutable default values" msgstr "可変なデフォルト値" -#: ../../library/dataclasses.rst:723 +#: ../../library/dataclasses.rst:724 msgid "" "Python stores default member variable values in class attributes. Consider " "this example, not using dataclasses::" @@ -1097,7 +1099,7 @@ msgstr "" "Python はメンバ変数のデフォルト値をクラス属性に保持します。\n" "データクラスを使っていない、この例を考えてみましょう::" -#: ../../library/dataclasses.rst:726 +#: ../../library/dataclasses.rst:727 msgid "" "class C:\n" " x = []\n" @@ -1112,17 +1114,17 @@ msgid "" "assert o1.x is o2.x" msgstr "" -#: ../../library/dataclasses.rst:738 +#: ../../library/dataclasses.rst:739 msgid "" "Note that the two instances of class :class:`!C` share the same class " "variable :attr:`!x`, as expected." msgstr "" -#: ../../library/dataclasses.rst:741 +#: ../../library/dataclasses.rst:742 msgid "Using dataclasses, *if* this code was valid::" msgstr "データクラスを使っているこのコードが *もし仮に* 有効なものだとしたら::" -#: ../../library/dataclasses.rst:743 +#: ../../library/dataclasses.rst:744 msgid "" "@dataclass\n" "class D:\n" @@ -1131,11 +1133,11 @@ msgid "" " self.x.append(element)" msgstr "" -#: ../../library/dataclasses.rst:749 +#: ../../library/dataclasses.rst:750 msgid "it would generate code similar to::" msgstr "データクラスは次のようなコードを生成するでしょう::" -#: ../../library/dataclasses.rst:751 +#: ../../library/dataclasses.rst:752 msgid "" "class D:\n" " x = []\n" @@ -1147,7 +1149,7 @@ msgid "" "assert D().x is D().x" msgstr "" -#: ../../library/dataclasses.rst:760 +#: ../../library/dataclasses.rst:761 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 :" @@ -1160,7 +1162,7 @@ msgid "" "partial solution, but it does protect against many common errors." msgstr "" -#: ../../library/dataclasses.rst:771 +#: ../../library/dataclasses.rst:772 msgid "" "Using default factory functions is a way to create new instances of mutable " "types as default values for fields::" @@ -1168,7 +1170,7 @@ msgstr "" "デフォルトファクトリ関数を使うのが、フィールドのデフォルト値として可変な型の" "新しいインスタンスを作成する手段です::" -#: ../../library/dataclasses.rst:774 +#: ../../library/dataclasses.rst:775 msgid "" "@dataclass\n" "class D:\n" @@ -1177,38 +1179,38 @@ msgid "" "assert D().x is not D().x" msgstr "" -#: ../../library/dataclasses.rst:780 +#: ../../library/dataclasses.rst:781 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:787 +#: ../../library/dataclasses.rst:788 msgid "Descriptor-typed fields" msgstr "" -#: ../../library/dataclasses.rst:789 +#: ../../library/dataclasses.rst:790 msgid "" "Fields that are assigned :ref:`descriptor objects ` as their " "default value have the following special behaviors:" msgstr "" -#: ../../library/dataclasses.rst:792 +#: ../../library/dataclasses.rst:793 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:796 +#: ../../library/dataclasses.rst:797 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:800 +#: ../../library/dataclasses.rst:801 msgid "" "To determine whether a field contains a default value, :func:`@dataclass " "` will call the descriptor's :meth:`!__get__` method using its " @@ -1218,7 +1220,7 @@ msgid "" "in this situation, no default value will be provided for the field." msgstr "" -#: ../../library/dataclasses.rst:810 +#: ../../library/dataclasses.rst:811 msgid "" "class IntConversionDescriptor:\n" " def __init__(self, *, default):\n" @@ -1247,7 +1249,7 @@ msgid "" "print(i.quantity_on_hand) # 2" msgstr "" -#: ../../library/dataclasses.rst:835 +#: ../../library/dataclasses.rst:836 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/datetime.po b/library/datetime.po index 1360fa368..635d3ca0b 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: Arihiro TAKASE, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1462,7 +1462,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" @@ -1474,7 +1474,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" @@ -1879,7 +1879,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 "" @@ -1949,7 +1949,7 @@ msgid "" ">>> date_string = \"02/29\"\n" ">>> when = datetime.strptime(f\"{date_string};1984\", \"%m/%d;%Y\") # " "Avoids leap year bug.\n" -">>> when.strftime(\"%B %d\") \n" +">>> when.strftime(\"%B %d\")\n" "'February 29'" msgstr "" @@ -2648,7 +2648,7 @@ msgstr "不正な *timespec* 引数には :exc:`ValueError` があげられま #: ../../library/datetime.rst:1563 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" @@ -2737,9 +2737,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" @@ -2750,7 +2750,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" @@ -2765,7 +2765,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" diff --git a/library/dis.po b/library/dis.po index b3d373716..0095b6bce 100644 --- a/library/dis.po +++ b/library/dis.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-03 17:40+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -158,22 +158,22 @@ msgstr "使い方を表示して終了します。" msgid "Show inline caches." msgstr "" -#: ../../library/dis.rst:104 +#: ../../library/dis.rst:106 msgid "Show offsets of instructions." msgstr "" -#: ../../library/dis.rst:106 +#: ../../library/dis.rst:110 msgid "" "If :file:`infile` is specified, its disassembled code will be written to " "stdout. Otherwise, disassembly is performed on compiled source code received " "from stdin." msgstr "" -#: ../../library/dis.rst:110 +#: ../../library/dis.rst:114 msgid "Bytecode analysis" msgstr "バイトコード解析" -#: ../../library/dis.rst:114 +#: ../../library/dis.rst:118 msgid "" "The bytecode analysis API allows pieces of Python code to be wrapped in a :" "class:`Bytecode` object that provides easy access to details of the compiled " @@ -183,7 +183,7 @@ msgstr "" "ジェクトでラップでき、コンパイルされたコードの細かいところに簡単にアクセスで" "きます。" -#: ../../library/dis.rst:121 +#: ../../library/dis.rst:125 msgid "" "Analyse the bytecode corresponding to a function, generator, asynchronous " "generator, coroutine, method, string of source code, or a code object (as " @@ -193,7 +193,7 @@ msgstr "" "字列、(:func:`compile` が返すような) コードオブジェクトに対応するバイトコード" "を解析します。" -#: ../../library/dis.rst:125 +#: ../../library/dis.rst:129 msgid "" "This is a convenience wrapper around many of the functions listed below, " "most notably :func:`get_instructions`, as iterating over a :class:`Bytecode` " @@ -204,7 +204,7 @@ msgstr "" "スに対し反復処理をしながら、バイトコード命令を :class:`Instruction` インスタ" "ンスとして返します。" -#: ../../library/dis.rst:129 ../../library/dis.rst:326 +#: ../../library/dis.rst:133 ../../library/dis.rst:330 msgid "" "If *first_line* is not ``None``, it indicates the line number that should be " "reported for the first source line in the disassembled code. Otherwise, the " @@ -216,7 +216,7 @@ msgstr "" "そうでない場合は、ソースの行の情報 (もしあれば) を逆アセンブルされたコードオ" "ブジェクトから直接取得します。" -#: ../../library/dis.rst:134 +#: ../../library/dis.rst:138 msgid "" "If *current_offset* is not ``None``, it refers to an instruction offset in " "the disassembled code. Setting this means :meth:`.dis` will display a " @@ -227,25 +227,25 @@ msgstr "" "これを設定すると、 :meth:`.dis` の出力において、指定された命令コード " "(opcode) に \"現在の命令 (instruction)\" を表す印が表示されます。" -#: ../../library/dis.rst:138 +#: ../../library/dis.rst:142 msgid "" "If *show_caches* is ``True``, :meth:`.dis` will display inline cache entries " "used by the interpreter to specialize the bytecode." msgstr "" -#: ../../library/dis.rst:141 +#: ../../library/dis.rst:145 msgid "" "If *adaptive* is ``True``, :meth:`.dis` will display specialized bytecode " "that may be different from the original bytecode." msgstr "" -#: ../../library/dis.rst:144 +#: ../../library/dis.rst:148 msgid "" "If *show_offsets* is ``True``, :meth:`.dis` will include instruction offsets " "in the output." msgstr "" -#: ../../library/dis.rst:149 +#: ../../library/dis.rst:153 msgid "" "Construct a :class:`Bytecode` instance from the given traceback, setting " "*current_offset* to the instruction responsible for the exception." @@ -253,15 +253,15 @@ msgstr "" "与えられたトレースバックから :class:`Bytecode` インスタンスを構築し、 " "*current_offset* がその例外の原因となった命令となるよう設定します。" -#: ../../library/dis.rst:154 +#: ../../library/dis.rst:158 msgid "The compiled code object." msgstr "コンパイルされたコードオブジェクト。" -#: ../../library/dis.rst:158 +#: ../../library/dis.rst:162 msgid "The first source line of the code object (if available)" msgstr "コードオブジェクトのソースの最初の行 (利用可能であれば)" -#: ../../library/dis.rst:162 +#: ../../library/dis.rst:166 msgid "" "Return a formatted view of the bytecode operations (the same as printed by :" "func:`dis.dis`, but returned as a multi-line string)." @@ -269,7 +269,7 @@ msgstr "" "バイトコード命令の整形された表示を返します (:func:`dis.dis` と同じ出力になり" "ますが、複数行文字列として返されます)。" -#: ../../library/dis.rst:167 +#: ../../library/dis.rst:171 msgid "" "Return a formatted multi-line string with detailed information about the " "code object, like :func:`code_info`." @@ -277,22 +277,22 @@ msgstr "" ":func:`code_info` のようなコードオブジェクトの詳細を含んだ整形された複数行文" "字列を返します。" -#: ../../library/dis.rst:170 ../../library/dis.rst:210 -#: ../../library/dis.rst:262 +#: ../../library/dis.rst:174 ../../library/dis.rst:214 +#: ../../library/dis.rst:266 msgid "This can now handle coroutine and asynchronous generator objects." msgstr "" -#: ../../library/dis.rst:173 ../../library/dis.rst:265 -#: ../../library/dis.rst:282 ../../library/dis.rst:312 -#: ../../library/dis.rst:335 +#: ../../library/dis.rst:177 ../../library/dis.rst:269 +#: ../../library/dis.rst:286 ../../library/dis.rst:316 +#: ../../library/dis.rst:339 msgid "Added the *show_caches* and *adaptive* parameters." msgstr "" -#: ../../library/dis.rst:176 +#: ../../library/dis.rst:180 msgid "Example:" msgstr "例:" -#: ../../library/dis.rst:178 +#: ../../library/dis.rst:182 msgid "" ">>> bytecode = dis.Bytecode(myfunc)\n" ">>> for instr in bytecode:\n" @@ -305,11 +305,11 @@ msgid "" "RETURN_VALUE" msgstr "" -#: ../../library/dis.rst:192 +#: ../../library/dis.rst:196 msgid "Analysis functions" msgstr "解析関数" -#: ../../library/dis.rst:194 +#: ../../library/dis.rst:198 msgid "" "The :mod:`dis` module also defines the following analysis functions that " "convert the input directly to the desired output. They can be useful if only " @@ -321,7 +321,7 @@ msgstr "" "1つの命令だけが実行されている場合は、解析オブジェクトをいったん作るよりはこち" "らの方が便利です:" -#: ../../library/dis.rst:200 +#: ../../library/dis.rst:204 msgid "" "Return a formatted multi-line string with detailed code object information " "for the supplied function, generator, asynchronous generator, coroutine, " @@ -331,7 +331,7 @@ msgstr "" "コード文字列、コードオブジェクトに対する、詳細なコードオブジェクトの情報を、" "整形された複数行の文字列として返します。" -#: ../../library/dis.rst:204 +#: ../../library/dis.rst:208 msgid "" "Note that the exact contents of code info strings are highly implementation " "dependent and they may change arbitrarily across Python VMs or Python " @@ -340,7 +340,7 @@ msgstr "" "この結果は実装に強く依存しており、Python VM や Python のバージョンによって異" "なることがあります。" -#: ../../library/dis.rst:216 +#: ../../library/dis.rst:220 msgid "" "Print detailed code object information for the supplied function, method, " "source code string or code object to *file* (or ``sys.stdout`` if *file* is " @@ -350,7 +350,7 @@ msgstr "" "なコードオブジェクトの情報を、*file* (または *file* が指定されていなければ " "``sys.stdout``) に表示します。" -#: ../../library/dis.rst:220 +#: ../../library/dis.rst:224 msgid "" "This is a convenient shorthand for ``print(code_info(x), file=file)``, " "intended for interactive exploration at the interpreter prompt." @@ -358,12 +358,12 @@ msgstr "" "これは、インタラクティブシェル上で使うことを想定した、``print(code_info(x), " "file=file)`` の便利なショートカットです。" -#: ../../library/dis.rst:225 ../../library/dis.rst:256 -#: ../../library/dis.rst:279 ../../library/dis.rst:309 +#: ../../library/dis.rst:229 ../../library/dis.rst:260 +#: ../../library/dis.rst:283 ../../library/dis.rst:313 msgid "Added *file* parameter." msgstr "*file* 引数が追加されました。" -#: ../../library/dis.rst:231 +#: ../../library/dis.rst:235 msgid "" "Disassemble the *x* object. *x* can denote either a module, a class, a " "method, a function, a generator, an asynchronous generator, a coroutine, a " @@ -379,8 +379,8 @@ msgid "" "disassembles the last traceback." msgstr "" -#: ../../library/dis.rst:244 ../../library/dis.rst:276 -#: ../../library/dis.rst:306 +#: ../../library/dis.rst:248 ../../library/dis.rst:280 +#: ../../library/dis.rst:310 msgid "" "The disassembly is written as text to the supplied *file* argument if " "provided and to ``sys.stdout`` otherwise." @@ -388,29 +388,29 @@ msgstr "" "*file* 引数が渡された場合は、アセンブリをそこに書き込みます。\n" "そうでない場合は ``sys.stdout`` に出力します。" -#: ../../library/dis.rst:247 +#: ../../library/dis.rst:251 msgid "" "The maximal depth of recursion is limited by *depth* unless it is ``None``. " "``depth=0`` means no recursion." msgstr "" -#: ../../library/dis.rst:250 +#: ../../library/dis.rst:254 msgid "" "If *show_caches* is ``True``, this function will display inline cache " "entries used by the interpreter to specialize the bytecode." msgstr "" -#: ../../library/dis.rst:253 +#: ../../library/dis.rst:257 msgid "" "If *adaptive* is ``True``, this function will display specialized bytecode " "that may be different from the original bytecode." msgstr "" -#: ../../library/dis.rst:259 +#: ../../library/dis.rst:263 msgid "Implemented recursive disassembling and added *depth* parameter." msgstr "" -#: ../../library/dis.rst:272 +#: ../../library/dis.rst:276 msgid "" "Disassemble the top-of-stack function of a traceback, using the last " "traceback if none was passed. The instruction causing the exception is " @@ -419,11 +419,11 @@ msgstr "" "トレースバックのスタックの先頭の関数を逆アセンブルします。Noneが渡された場合" "は最後のトレースバックを使います。例外を引き起こした命令が表示されます。" -#: ../../library/dis.rst:285 ../../library/dis.rst:315 +#: ../../library/dis.rst:289 ../../library/dis.rst:319 msgid "Added the *show_offsets* parameter." msgstr "" -#: ../../library/dis.rst:292 +#: ../../library/dis.rst:296 msgid "" "Disassemble a code object, indicating the last instruction if *lasti* was " "provided. The output is divided in the following columns:" @@ -431,35 +431,35 @@ msgstr "" "コードオブジェクトを逆アセンブルします。*lasti* が与えられた場合は、最後の命" "令を示します。出力は次のようなカラムに分割されます:" -#: ../../library/dis.rst:295 +#: ../../library/dis.rst:299 msgid "the line number, for the first instruction of each line" msgstr "各行の最初の命令に対する行番号。" -#: ../../library/dis.rst:296 +#: ../../library/dis.rst:300 msgid "the current instruction, indicated as ``-->``," msgstr "現在の命令。 ``-->`` として示されます。" -#: ../../library/dis.rst:297 +#: ../../library/dis.rst:301 msgid "a labelled instruction, indicated with ``>>``," msgstr "ラベル付けされた命令。 ``>>`` とともに表示されます。" -#: ../../library/dis.rst:298 +#: ../../library/dis.rst:302 msgid "the address of the instruction," msgstr "命令のアドレス。" -#: ../../library/dis.rst:299 +#: ../../library/dis.rst:303 msgid "the operation code name," msgstr "命令コード名。" -#: ../../library/dis.rst:300 +#: ../../library/dis.rst:304 msgid "operation parameters, and" msgstr "命令パラメタ。" -#: ../../library/dis.rst:301 +#: ../../library/dis.rst:305 msgid "interpretation of the parameters in parentheses." msgstr "パラメタの解釈を括弧で囲んだもの。" -#: ../../library/dis.rst:303 +#: ../../library/dis.rst:307 msgid "" "The parameter interpretation recognizes local and global variable names, " "constant values, branch targets, and compare operators." @@ -467,7 +467,7 @@ msgstr "" "パラメタの解釈は、ローカル変数とグローバル変数の名前、定数の値、 分岐先、比較" "命令を認識します。" -#: ../../library/dis.rst:320 +#: ../../library/dis.rst:324 msgid "" "Return an iterator over the instructions in the supplied function, method, " "source code string or code object." @@ -475,7 +475,7 @@ msgstr "" "渡された関数、メソッド、ソースコード文字列、コードオブジェクトにある命令のイ" "テレータを返します。" -#: ../../library/dis.rst:323 +#: ../../library/dis.rst:327 msgid "" "The iterator generates a series of :class:`Instruction` named tuples giving " "the details of each operation in the supplied code." @@ -483,11 +483,11 @@ msgstr "" "イテレータは、与えられたコードの各命令の詳細情報を保持する名前付きタプル :" "class:`Instruction` からなる列を生成します。" -#: ../../library/dis.rst:331 +#: ../../library/dis.rst:335 msgid "The *adaptive* parameter works as it does in :func:`dis`." msgstr "" -#: ../../library/dis.rst:338 +#: ../../library/dis.rst:342 msgid "" "The *show_caches* parameter is deprecated and has no effect. The iterator " "generates the :class:`Instruction` instances with the *cache_info* field " @@ -495,7 +495,7 @@ msgid "" "generates separate items for the cache entries." msgstr "" -#: ../../library/dis.rst:346 +#: ../../library/dis.rst:350 msgid "" "This generator function uses the :meth:`~codeobject.co_lines` method of the :" "ref:`code object ` *code* to find the offsets which are starts " @@ -503,33 +503,33 @@ msgid "" "pairs." msgstr "" -#: ../../library/dis.rst:351 +#: ../../library/dis.rst:355 msgid "Line numbers can be decreasing. Before, they were always increasing." msgstr "" -#: ../../library/dis.rst:354 +#: ../../library/dis.rst:358 msgid "" "The :pep:`626` :meth:`~codeobject.co_lines` method is used instead of the :" "attr:`~codeobject.co_firstlineno` and :attr:`~codeobject.co_lnotab` " "attributes of the :ref:`code object `." msgstr "" -#: ../../library/dis.rst:359 +#: ../../library/dis.rst:363 msgid "" "Line numbers can be ``None`` for bytecode that does not map to source lines." msgstr "" -#: ../../library/dis.rst:365 +#: ../../library/dis.rst:369 msgid "" "Detect all offsets in the raw compiled bytecode string *code* which are jump " "targets, and return a list of these offsets." msgstr "" -#: ../../library/dis.rst:371 +#: ../../library/dis.rst:375 msgid "Compute the stack effect of *opcode* with argument *oparg*." msgstr "*opcode* と引数 *oparg* がスタックに与える影響を計算します。" -#: ../../library/dis.rst:373 +#: ../../library/dis.rst:377 msgid "" "If the code has a jump target and *jump* is ``True``, :func:`~stack_effect` " "will return the stack effect of jumping. If *jump* is ``False``, it will " @@ -537,11 +537,11 @@ msgid "" "it will return the maximal stack effect of both cases." msgstr "" -#: ../../library/dis.rst:380 +#: ../../library/dis.rst:384 msgid "Added *jump* parameter." msgstr "" -#: ../../library/dis.rst:383 +#: ../../library/dis.rst:387 msgid "" "If ``oparg`` is omitted (or ``None``), the stack effect is now returned for " "``oparg=0``. Previously this was an error for opcodes that use their arg. It " @@ -549,11 +549,11 @@ msgid "" "does not use it; the ``oparg`` in this case is ignored." msgstr "" -#: ../../library/dis.rst:393 +#: ../../library/dis.rst:397 msgid "Python Bytecode Instructions" msgstr "Python バイトコード命令" -#: ../../library/dis.rst:395 +#: ../../library/dis.rst:399 msgid "" "The :func:`get_instructions` function and :class:`Bytecode` class provide " "details of bytecode instructions as :class:`Instruction` instances:" @@ -561,11 +561,11 @@ msgstr "" ":func:`get_instructions` 関数と :class:`Bytecode` クラスはバイトコード命令の" "詳細を :class:`Instruction` インスタンスの形で提供します:" -#: ../../library/dis.rst:400 +#: ../../library/dis.rst:404 msgid "Details for a bytecode operation" msgstr "バイトコード命令の詳細" -#: ../../library/dis.rst:404 +#: ../../library/dis.rst:408 msgid "" "numeric code for operation, corresponding to the opcode values listed below " "and the bytecode values in the :ref:`opcode_collections`." @@ -573,165 +573,165 @@ msgstr "" "以下の命令コードの値と :ref:`opcode_collections` のバイトコードの値に対応す" "る、命令の数値コードです。" -#: ../../library/dis.rst:410 +#: ../../library/dis.rst:414 msgid "human readable name for operation" msgstr "人間が読むための命令名" -#: ../../library/dis.rst:415 +#: ../../library/dis.rst:419 msgid "" "numeric code for the base operation if operation is specialized; otherwise " "equal to :data:`opcode`" msgstr "" -#: ../../library/dis.rst:421 +#: ../../library/dis.rst:425 msgid "" "human readable name for the base operation if operation is specialized; " "otherwise equal to :data:`opname`" msgstr "" -#: ../../library/dis.rst:427 +#: ../../library/dis.rst:431 msgid "numeric argument to operation (if any), otherwise ``None``" msgstr "(ある場合は) 命令の数値引数、無ければ ``None``" -#: ../../library/dis.rst:431 +#: ../../library/dis.rst:435 msgid "alias for :data:`arg`" msgstr "" -#: ../../library/dis.rst:435 +#: ../../library/dis.rst:439 msgid "resolved arg value (if any), otherwise ``None``" msgstr "" -#: ../../library/dis.rst:440 +#: ../../library/dis.rst:444 msgid "" "human readable description of operation argument (if any), otherwise an " "empty string." msgstr "" -#: ../../library/dis.rst:446 +#: ../../library/dis.rst:450 msgid "start index of operation within bytecode sequence" msgstr "バイトコード列の中での命令の開始位置" -#: ../../library/dis.rst:451 +#: ../../library/dis.rst:455 msgid "" "start index of operation within bytecode sequence, including prefixed " "``EXTENDED_ARG`` operations if present; otherwise equal to :data:`offset`" msgstr "" -#: ../../library/dis.rst:457 +#: ../../library/dis.rst:461 msgid "start index of the cache entries following the operation" msgstr "" -#: ../../library/dis.rst:462 +#: ../../library/dis.rst:466 msgid "end index of the cache entries following the operation" msgstr "" -#: ../../library/dis.rst:467 +#: ../../library/dis.rst:471 msgid "``True`` if this opcode starts a source line, otherwise ``False``" msgstr "" -#: ../../library/dis.rst:472 +#: ../../library/dis.rst:476 msgid "" "source line number associated with this opcode (if any), otherwise ``None``" msgstr "" -#: ../../library/dis.rst:477 +#: ../../library/dis.rst:481 msgid "``True`` if other code jumps to here, otherwise ``False``" msgstr "" "他のコードからここへジャンプする場合は ``True`` 、そうでない場合は ``False``" -#: ../../library/dis.rst:482 +#: ../../library/dis.rst:486 msgid "" "bytecode index of the jump target if this is a jump operation, otherwise " "``None``" msgstr "" -#: ../../library/dis.rst:488 +#: ../../library/dis.rst:492 msgid "" ":class:`dis.Positions` object holding the start and end locations that are " "covered by this instruction." msgstr "" -#: ../../library/dis.rst:503 +#: ../../library/dis.rst:507 msgid "Field ``positions`` is added." msgstr "" -#: ../../library/dis.rst:507 +#: ../../library/dis.rst:511 msgid "Changed field ``starts_line``." msgstr "" -#: ../../library/dis.rst:509 +#: ../../library/dis.rst:513 msgid "" "Added fields ``start_offset``, ``cache_offset``, ``end_offset``, " "``baseopname``, ``baseopcode``, ``jump_target``, ``oparg``, ``line_number`` " "and ``cache_info``." msgstr "" -#: ../../library/dis.rst:516 +#: ../../library/dis.rst:520 msgid "" "In case the information is not available, some fields might be ``None``." msgstr "" -#: ../../library/dis.rst:526 +#: ../../library/dis.rst:530 msgid "" "The Python compiler currently generates the following bytecode instructions." msgstr "現在 Python コンパイラは次のバイトコード命令を生成します。" -#: ../../library/dis.rst:529 +#: ../../library/dis.rst:533 msgid "**General instructions**" msgstr "**一般的な命令**" -#: ../../library/dis.rst:531 +#: ../../library/dis.rst:535 msgid "" "In the following, We will refer to the interpreter stack as ``STACK`` and " "describe operations on it as if it was a Python list. The top of the stack " "corresponds to ``STACK[-1]`` in this language." msgstr "" -#: ../../library/dis.rst:537 +#: ../../library/dis.rst:541 msgid "" "Do nothing code. Used as a placeholder by the bytecode optimizer, and to " "generate line tracing events." msgstr "" -#: ../../library/dis.rst:543 +#: ../../library/dis.rst:547 msgid "Removes the top-of-stack item::" msgstr "" -#: ../../library/dis.rst:545 +#: ../../library/dis.rst:549 msgid "STACK.pop()" msgstr "" -#: ../../library/dis.rst:550 +#: ../../library/dis.rst:554 msgid "" "Removes the top-of-stack item. Equivalent to ``POP_TOP``. Used to clean up " "at the end of loops, hence the name." msgstr "" -#: ../../library/dis.rst:559 +#: ../../library/dis.rst:563 msgid "Implements ``del STACK[-2]``. Used to clean up when a generator exits." msgstr "" -#: ../../library/dis.rst:567 +#: ../../library/dis.rst:571 msgid "" "Push the i-th item to the top of the stack without removing it from its " "original location::" msgstr "" -#: ../../library/dis.rst:570 +#: ../../library/dis.rst:574 msgid "" "assert i > 0\n" "STACK.append(STACK[-i])" msgstr "" -#: ../../library/dis.rst:578 +#: ../../library/dis.rst:582 msgid "Swap the top of the stack with the i-th element::" msgstr "" -#: ../../library/dis.rst:580 +#: ../../library/dis.rst:584 msgid "STACK[-i], STACK[-1] = STACK[-1], STACK[-i]" msgstr "" -#: ../../library/dis.rst:587 +#: ../../library/dis.rst:591 msgid "" "Rather than being an actual instruction, this opcode is used to mark extra " "space for the interpreter to cache useful data directly in the bytecode " @@ -739,25 +739,25 @@ msgid "" "viewed with ``show_caches=True``." msgstr "" -#: ../../library/dis.rst:592 +#: ../../library/dis.rst:596 msgid "" "Logically, this space is part of the preceding instruction. Many opcodes " "expect to be followed by an exact number of caches, and will instruct the " "interpreter to skip over them at runtime." msgstr "" -#: ../../library/dis.rst:596 +#: ../../library/dis.rst:600 msgid "" "Populated caches can look like arbitrary instructions, so great care should " "be taken when reading or modifying raw, adaptive bytecode containing " "quickened data." msgstr "" -#: ../../library/dis.rst:603 +#: ../../library/dis.rst:607 msgid "**Unary operations**" msgstr "**1オペランド命令**" -#: ../../library/dis.rst:605 +#: ../../library/dis.rst:609 msgid "" "Unary operations take the top of the stack, apply the operation, and push " "the result back on the stack." @@ -765,86 +765,86 @@ msgstr "" "1オペランド命令はスタックの先頭を取り出して操作を適用し、結果をスタックへプッ" "シュし戻します。" -#: ../../library/dis.rst:611 +#: ../../library/dis.rst:615 msgid "Implements ``STACK[-1] = -STACK[-1]``." msgstr "" -#: ../../library/dis.rst:616 +#: ../../library/dis.rst:620 msgid "Implements ``STACK[-1] = not STACK[-1]``." msgstr "" -#: ../../library/dis.rst:618 ../../library/dis.rst:1314 -#: ../../library/dis.rst:1330 +#: ../../library/dis.rst:622 ../../library/dis.rst:1318 +#: ../../library/dis.rst:1334 msgid "This instruction now requires an exact :class:`bool` operand." msgstr "" -#: ../../library/dis.rst:624 +#: ../../library/dis.rst:628 msgid "Implements ``STACK[-1] = ~STACK[-1]``." msgstr "" -#: ../../library/dis.rst:629 +#: ../../library/dis.rst:633 msgid "Implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: ../../library/dis.rst:634 +#: ../../library/dis.rst:638 msgid "" "If ``STACK[-1]`` is a :term:`generator iterator` or :term:`coroutine` object " "it is left as is. Otherwise, implements ``STACK[-1] = iter(STACK[-1])``." msgstr "" -#: ../../library/dis.rst:642 +#: ../../library/dis.rst:646 msgid "Implements ``STACK[-1] = bool(STACK[-1])``." msgstr "" -#: ../../library/dis.rst:647 +#: ../../library/dis.rst:651 msgid "**Binary and in-place operations**" msgstr "" -#: ../../library/dis.rst:649 +#: ../../library/dis.rst:653 msgid "" "Binary operations remove the top two items from the stack (``STACK[-1]`` and " "``STACK[-2]``). They perform the operation, then put the result back on the " "stack." msgstr "" -#: ../../library/dis.rst:652 +#: ../../library/dis.rst:656 msgid "" "In-place operations are like binary operations, but the operation is done in-" "place when ``STACK[-2]`` supports it, and the resulting ``STACK[-1]`` may be " "(but does not have to be) the original ``STACK[-2]``." msgstr "" -#: ../../library/dis.rst:659 +#: ../../library/dis.rst:663 msgid "" "Implements the binary and in-place operators (depending on the value of " "*op*)::" msgstr "" -#: ../../library/dis.rst:662 +#: ../../library/dis.rst:666 msgid "" "rhs = STACK.pop()\n" "lhs = STACK.pop()\n" "STACK.append(lhs op rhs)" msgstr "" -#: ../../library/dis.rst:671 ../../library/dis.rst:680 -#: ../../library/dis.rst:690 ../../library/dis.rst:698 -#: ../../library/dis.rst:710 ../../library/dis.rst:798 -#: ../../library/dis.rst:808 ../../library/dis.rst:818 -#: ../../library/dis.rst:1042 ../../library/dis.rst:1053 -#: ../../library/dis.rst:1157 ../../library/dis.rst:1169 -#: ../../library/dis.rst:1181 +#: ../../library/dis.rst:675 ../../library/dis.rst:684 +#: ../../library/dis.rst:694 ../../library/dis.rst:702 +#: ../../library/dis.rst:714 ../../library/dis.rst:802 +#: ../../library/dis.rst:812 ../../library/dis.rst:822 +#: ../../library/dis.rst:1046 ../../library/dis.rst:1057 +#: ../../library/dis.rst:1161 ../../library/dis.rst:1173 +#: ../../library/dis.rst:1185 msgid "Implements::" msgstr "" -#: ../../library/dis.rst:673 +#: ../../library/dis.rst:677 msgid "" "key = STACK.pop()\n" "container = STACK.pop()\n" "STACK.append(container[key])" msgstr "" -#: ../../library/dis.rst:682 +#: ../../library/dis.rst:686 msgid "" "key = STACK.pop()\n" "container = STACK.pop()\n" @@ -852,14 +852,14 @@ msgid "" "container[key] = value" msgstr "" -#: ../../library/dis.rst:692 +#: ../../library/dis.rst:696 msgid "" "key = STACK.pop()\n" "container = STACK.pop()\n" "del container[key]" msgstr "" -#: ../../library/dis.rst:700 +#: ../../library/dis.rst:704 msgid "" "end = STACK.pop()\n" "start = STACK.pop()\n" @@ -867,7 +867,7 @@ msgid "" "STACK.append(container[start:end])" msgstr "" -#: ../../library/dis.rst:712 +#: ../../library/dis.rst:716 msgid "" "end = STACK.pop()\n" "start = STACK.pop()\n" @@ -876,11 +876,11 @@ msgid "" "container[start:end] = value" msgstr "" -#: ../../library/dis.rst:721 +#: ../../library/dis.rst:725 msgid "**Coroutine opcodes**" msgstr "**コルーチン命令コード**" -#: ../../library/dis.rst:725 +#: ../../library/dis.rst:729 msgid "" "Implements ``STACK[-1] = get_awaitable(STACK[-1])``, where " "``get_awaitable(o)`` returns ``o`` if ``o`` is a coroutine object or a " @@ -888,39 +888,39 @@ msgid "" "resolves ``o.__await__``." msgstr "" -#: ../../library/dis.rst:730 +#: ../../library/dis.rst:734 msgid "" "If the ``where`` operand is nonzero, it indicates where the instruction " "occurs:" msgstr "" -#: ../../library/dis.rst:733 +#: ../../library/dis.rst:737 msgid "``1``: After a call to ``__aenter__``" msgstr "" -#: ../../library/dis.rst:734 +#: ../../library/dis.rst:738 msgid "``2``: After a call to ``__aexit__``" msgstr "" -#: ../../library/dis.rst:738 +#: ../../library/dis.rst:742 msgid "Previously, this instruction did not have an oparg." msgstr "" -#: ../../library/dis.rst:744 +#: ../../library/dis.rst:748 msgid "Implements ``STACK[-1] = STACK[-1].__aiter__()``." msgstr "" -#: ../../library/dis.rst:747 +#: ../../library/dis.rst:751 msgid "Returning awaitable objects from ``__aiter__`` is no longer supported." msgstr "" -#: ../../library/dis.rst:754 +#: ../../library/dis.rst:758 msgid "" "Implement ``STACK.append(get_awaitable(STACK[-1].__anext__()))`` to the " "stack. See ``GET_AWAITABLE`` for details about ``get_awaitable``." msgstr "" -#: ../../library/dis.rst:762 +#: ../../library/dis.rst:766 msgid "" "Terminates an :keyword:`async for` loop. Handles an exception raised when " "awaiting a next item. The stack contains the async iterable in ``STACK[-2]`` " @@ -928,13 +928,13 @@ msgid "" "is not :exc:`StopAsyncIteration`, it is re-raised." msgstr "" -#: ../../library/dis.rst:769 ../../library/dis.rst:877 -#: ../../library/dis.rst:888 +#: ../../library/dis.rst:773 ../../library/dis.rst:881 +#: ../../library/dis.rst:892 msgid "" "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: ../../library/dis.rst:775 +#: ../../library/dis.rst:779 msgid "" "Handles an exception raised during a :meth:`~generator.throw` or :meth:" "`~generator.close` call through the current frame. If ``STACK[-1]`` is an " @@ -942,58 +942,58 @@ msgid "" "its ``value`` member. Otherwise, re-raise ``STACK[-1]``." msgstr "" -#: ../../library/dis.rst:785 +#: ../../library/dis.rst:789 msgid "" "Resolves ``__aenter__`` and ``__aexit__`` from ``STACK[-1]``. Pushes " "``__aexit__`` and result of ``__aenter__()`` to the stack::" msgstr "" -#: ../../library/dis.rst:788 +#: ../../library/dis.rst:792 msgid "STACK.extend((__aexit__, __aenter__())" msgstr "" -#: ../../library/dis.rst:794 +#: ../../library/dis.rst:798 msgid "**Miscellaneous opcodes**" msgstr "**その他の命令コード**" -#: ../../library/dis.rst:800 +#: ../../library/dis.rst:804 msgid "" "item = STACK.pop()\n" "set.add(STACK[-i], item)" msgstr "" -#: ../../library/dis.rst:803 +#: ../../library/dis.rst:807 msgid "Used to implement set comprehensions." msgstr "" -#: ../../library/dis.rst:810 +#: ../../library/dis.rst:814 msgid "" "item = STACK.pop()\n" "list.append(STACK[-i], item)" msgstr "" -#: ../../library/dis.rst:813 +#: ../../library/dis.rst:817 msgid "Used to implement list comprehensions." msgstr "" -#: ../../library/dis.rst:820 +#: ../../library/dis.rst:824 msgid "" "value = STACK.pop()\n" "key = STACK.pop()\n" "dict.__setitem__(STACK[-i], key, value)" msgstr "" -#: ../../library/dis.rst:824 +#: ../../library/dis.rst:828 msgid "Used to implement dict comprehensions." msgstr "" -#: ../../library/dis.rst:827 +#: ../../library/dis.rst:831 msgid "" "Map value is ``STACK[-1]`` and map key is ``STACK[-2]``. Before, those were " "reversed." msgstr "" -#: ../../library/dis.rst:831 +#: ../../library/dis.rst:835 msgid "" "For all of the :opcode:`SET_ADD`, :opcode:`LIST_APPEND` and :opcode:" "`MAP_ADD` instructions, while the added value or key/value pair is popped " @@ -1004,35 +1004,35 @@ msgstr "" "たは key/value ペアをスタックから取り除きますが、コンテナオブジェクトはループ" "の次のイテレーションで利用できるようにスタックに残しておきます。" -#: ../../library/dis.rst:839 +#: ../../library/dis.rst:843 msgid "Returns with ``STACK[-1]`` to the caller of the function." msgstr "" -#: ../../library/dis.rst:844 +#: ../../library/dis.rst:848 msgid "Returns with ``co_consts[consti]`` to the caller of the function." msgstr "" -#: ../../library/dis.rst:851 +#: ../../library/dis.rst:855 msgid "Yields ``STACK.pop()`` from a :term:`generator`." msgstr "" -#: ../../library/dis.rst:853 +#: ../../library/dis.rst:857 msgid "oparg set to be the stack depth." msgstr "" -#: ../../library/dis.rst:856 +#: ../../library/dis.rst:860 msgid "" "oparg set to be the exception block depth, for efficient closing of " "generators." msgstr "" -#: ../../library/dis.rst:859 +#: ../../library/dis.rst:863 msgid "" "oparg is ``1`` if this instruction is part of a yield-from or await, and " "``0`` otherwise." msgstr "" -#: ../../library/dis.rst:865 +#: ../../library/dis.rst:869 msgid "" "Checks whether ``__annotations__`` is defined in ``locals()``, if not it is " "set up to an empty ``dict``. This opcode is only emitted if a class or " @@ -1040,39 +1040,39 @@ msgid "" "statically." msgstr "" -#: ../../library/dis.rst:875 +#: ../../library/dis.rst:879 msgid "" "Pops a value from the stack, which is used to restore the exception state." msgstr "" -#: ../../library/dis.rst:882 +#: ../../library/dis.rst:886 msgid "" "Re-raises the exception currently on top of the stack. If oparg is non-zero, " "pops an additional value from the stack which is used to set :attr:`~frame." "f_lasti` of the current frame." msgstr "" -#: ../../library/dis.rst:893 +#: ../../library/dis.rst:897 msgid "" "Pops a value from the stack. Pushes the current exception to the top of the " "stack. Pushes the value originally popped back to the stack. Used in " "exception handlers." msgstr "" -#: ../../library/dis.rst:901 +#: ../../library/dis.rst:905 msgid "" "Performs exception matching for ``except``. Tests whether the ``STACK[-2]`` " "is an exception matching ``STACK[-1]``. Pops ``STACK[-1]`` and pushes the " "boolean result of the test." msgstr "" -#: ../../library/dis.rst:909 +#: ../../library/dis.rst:913 msgid "" "Performs exception matching for ``except*``. Applies ``split(STACK[-1])`` on " "the exception group representing ``STACK[-2]``." msgstr "" -#: ../../library/dis.rst:912 +#: ../../library/dis.rst:916 msgid "" "In case of a match, pops two items from the stack and pushes the non-" "matching subgroup (``None`` in case of full match) followed by the matching " @@ -1080,7 +1080,7 @@ msgid "" "``None``." msgstr "" -#: ../../library/dis.rst:921 +#: ../../library/dis.rst:925 msgid "" "Calls the function in position 4 on the stack with arguments (type, val, tb) " "representing the exception at the top of the stack. Used to implement the " @@ -1088,25 +1088,25 @@ msgid "" "occurred in a :keyword:`with` statement." msgstr "" -#: ../../library/dis.rst:928 +#: ../../library/dis.rst:932 msgid "" "The ``__exit__`` function is in position 4 of the stack rather than 7. " "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: ../../library/dis.rst:935 +#: ../../library/dis.rst:939 msgid "" "Pushes :exc:`AssertionError` onto the stack. Used by the :keyword:`assert` " "statement." msgstr "" -#: ../../library/dis.rst:943 +#: ../../library/dis.rst:947 msgid "" "Pushes :func:`!builtins.__build_class__` onto the stack. It is later called " "to construct a class." msgstr "" -#: ../../library/dis.rst:949 +#: ../../library/dis.rst:953 msgid "" "This opcode performs several operations before a with block starts. First, " "it loads :meth:`~object.__exit__` from the context manager and pushes it " @@ -1115,13 +1115,13 @@ msgid "" "``__enter__()`` method is pushed onto the stack." msgstr "" -#: ../../library/dis.rst:960 +#: ../../library/dis.rst:964 msgid "" "Perform ``STACK.append(len(STACK[-1]))``. Used in :keyword:`match` " "statements where comparison with structure of pattern is needed." msgstr "" -#: ../../library/dis.rst:968 +#: ../../library/dis.rst:972 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Mapping` (or, " "more technically: if it has the :c:macro:`Py_TPFLAGS_MAPPING` flag set in " @@ -1129,7 +1129,7 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: ../../library/dis.rst:978 +#: ../../library/dis.rst:982 msgid "" "If ``STACK[-1]`` is an instance of :class:`collections.abc.Sequence` and is " "*not* an instance of :class:`str`/:class:`bytes`/:class:`bytearray` (or, " @@ -1138,20 +1138,20 @@ msgid "" "Otherwise, push ``False``." msgstr "" -#: ../../library/dis.rst:988 +#: ../../library/dis.rst:992 msgid "" "``STACK[-1]`` is a tuple of mapping keys, and ``STACK[-2]`` is the match " "subject. If ``STACK[-2]`` contains all of the keys in ``STACK[-1]``, push a :" "class:`tuple` containing the corresponding values. Otherwise, push ``None``." msgstr "" -#: ../../library/dis.rst:994 ../../library/dis.rst:1686 +#: ../../library/dis.rst:998 ../../library/dis.rst:1690 msgid "" "Previously, this instruction also pushed a boolean value indicating success " "(``True``) or failure (``False``)." msgstr "" -#: ../../library/dis.rst:1001 +#: ../../library/dis.rst:1005 msgid "" "Implements ``name = STACK.pop()``. *namei* is the index of *name* in the " "attribute :attr:`~codeobject.co_names` of the :ref:`code object `." msgstr "" -#: ../../library/dis.rst:1014 +#: ../../library/dis.rst:1018 msgid "" "Unpacks ``STACK[-1]`` into *count* individual values, which are put onto the " "stack right-to-left. Require there to be exactly *count* values.::" msgstr "" -#: ../../library/dis.rst:1017 +#: ../../library/dis.rst:1021 msgid "" "assert(len(STACK[-1]) == count)\n" "STACK.extend(STACK.pop()[:-count-1:-1])" msgstr "" -#: ../../library/dis.rst:1023 +#: ../../library/dis.rst:1027 msgid "" "Implements assignment with a starred target: Unpacks an iterable in " "``STACK[-1]`` into individual values, where the total number of values can " @@ -1185,11 +1185,11 @@ msgid "" "will be a list of all leftover items." msgstr "" -#: ../../library/dis.rst:1028 +#: ../../library/dis.rst:1032 msgid "The number of values before and after the list value is limited to 255." msgstr "" -#: ../../library/dis.rst:1030 +#: ../../library/dis.rst:1034 msgid "" "The number of values before the list value is encoded in the argument of the " "opcode. The number of values after the list if any is encoded using an " @@ -1198,67 +1198,67 @@ msgid "" "list value, the high byte of *counts* the number of values after it." msgstr "" -#: ../../library/dis.rst:1036 +#: ../../library/dis.rst:1040 msgid "" "The extracted values are put onto the stack right-to-left, i.e. ``a, *b, c = " "d`` will be stored after execution as ``STACK.extend((a, b, c))``." msgstr "" -#: ../../library/dis.rst:1044 +#: ../../library/dis.rst:1048 msgid "" "obj = STACK.pop()\n" "value = STACK.pop()\n" "obj.name = value" msgstr "" -#: ../../library/dis.rst:1048 +#: ../../library/dis.rst:1052 msgid "" "where *namei* is the index of name in :attr:`~codeobject.co_names` of the :" "ref:`code object `." msgstr "" -#: ../../library/dis.rst:1055 +#: ../../library/dis.rst:1059 msgid "" "obj = STACK.pop()\n" "del obj.name" msgstr "" -#: ../../library/dis.rst:1058 +#: ../../library/dis.rst:1062 msgid "" "where *namei* is the index of name into :attr:`~codeobject.co_names` of the :" "ref:`code object `." msgstr "" -#: ../../library/dis.rst:1064 +#: ../../library/dis.rst:1068 msgid "Works as :opcode:`STORE_NAME`, but stores the name as a global." msgstr "" ":opcode:`STORE_NAME` と同じように動作しますが、 name をグローバルとして保存し" "ます。" -#: ../../library/dis.rst:1069 +#: ../../library/dis.rst:1073 msgid "Works as :opcode:`DELETE_NAME`, but deletes a global name." msgstr "" ":opcode:`DELETE_NAME` と同じように動作しますが、グローバルの name を削除しま" "す。" -#: ../../library/dis.rst:1074 +#: ../../library/dis.rst:1078 msgid "Pushes ``co_consts[consti]`` onto the stack." msgstr "``co_consts[consti]`` をスタックにプッシュします。" -#: ../../library/dis.rst:1079 +#: ../../library/dis.rst:1083 msgid "" "Pushes the value associated with ``co_names[namei]`` onto the stack. The " "name is looked up within the locals, then the globals, then the builtins." msgstr "" -#: ../../library/dis.rst:1085 +#: ../../library/dis.rst:1089 msgid "" "Pushes a reference to the locals dictionary onto the stack. This is used to " "prepare namespace dictionaries for :opcode:`LOAD_FROM_DICT_OR_DEREF` and :" "opcode:`LOAD_FROM_DICT_OR_GLOBALS`." msgstr "" -#: ../../library/dis.rst:1094 +#: ../../library/dis.rst:1098 msgid "" "Pops a mapping off the stack and looks up the value for ``co_names[namei]``. " "If the name is not found there, looks it up in the globals and then the " @@ -1267,13 +1267,13 @@ msgid "" "bodies." msgstr "" -#: ../../library/dis.rst:1105 +#: ../../library/dis.rst:1109 msgid "" "Creates a tuple consuming *count* items from the stack, and pushes the " "resulting tuple onto the stack::" msgstr "" -#: ../../library/dis.rst:1108 +#: ../../library/dis.rst:1112 msgid "" "if count == 0:\n" " value = ()\n" @@ -1284,85 +1284,85 @@ msgid "" "STACK.append(value)" msgstr "" -#: ../../library/dis.rst:1119 +#: ../../library/dis.rst:1123 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a list." msgstr "" ":opcode:`BUILD_TUPLE` と同じように動作しますが、この命令はリストを作り出しま" "す。" -#: ../../library/dis.rst:1124 +#: ../../library/dis.rst:1128 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a set." msgstr "" ":opcode:`BUILD_TUPLE` と同じように動作しますが、この命令は set を作り出しま" "す。" -#: ../../library/dis.rst:1129 +#: ../../library/dis.rst:1133 msgid "" "Pushes a new dictionary object onto the stack. Pops ``2 * count`` items so " "that the dictionary holds *count* entries: ``{..., STACK[-4]: STACK[-3], " "STACK[-2]: STACK[-1]}``." msgstr "" -#: ../../library/dis.rst:1133 +#: ../../library/dis.rst:1137 msgid "" "The dictionary is created from stack items instead of creating an empty " "dictionary pre-sized to hold *count* items." msgstr "" -#: ../../library/dis.rst:1140 +#: ../../library/dis.rst:1144 msgid "" "The version of :opcode:`BUILD_MAP` specialized for constant keys. Pops the " "top element on the stack which contains a tuple of keys, then starting from " "``STACK[-2]``, pops *count* values to form values in the built dictionary." msgstr "" -#: ../../library/dis.rst:1149 +#: ../../library/dis.rst:1153 msgid "" "Concatenates *count* strings from the stack and pushes the resulting string " "onto the stack." msgstr "" -#: ../../library/dis.rst:1159 +#: ../../library/dis.rst:1163 msgid "" "seq = STACK.pop()\n" "list.extend(STACK[-i], seq)" msgstr "" -#: ../../library/dis.rst:1162 +#: ../../library/dis.rst:1166 msgid "Used to build lists." msgstr "" -#: ../../library/dis.rst:1171 +#: ../../library/dis.rst:1175 msgid "" "seq = STACK.pop()\n" "set.update(STACK[-i], seq)" msgstr "" -#: ../../library/dis.rst:1174 +#: ../../library/dis.rst:1178 msgid "Used to build sets." msgstr "" -#: ../../library/dis.rst:1183 +#: ../../library/dis.rst:1187 msgid "" "map = STACK.pop()\n" "dict.update(STACK[-i], map)" msgstr "" -#: ../../library/dis.rst:1186 +#: ../../library/dis.rst:1190 msgid "Used to build dicts." msgstr "" -#: ../../library/dis.rst:1193 +#: ../../library/dis.rst:1197 msgid "Like :opcode:`DICT_UPDATE` but raises an exception for duplicate keys." msgstr "" -#: ../../library/dis.rst:1200 +#: ../../library/dis.rst:1204 msgid "" "If the low bit of ``namei`` is not set, this replaces ``STACK[-1]`` with " "``getattr(STACK[-1], co_names[namei>>1])``." msgstr "" -#: ../../library/dis.rst:1203 +#: ../../library/dis.rst:1207 msgid "" "If the low bit of ``namei`` is set, this will attempt to load a method named " "``co_names[namei>>1]`` from the ``STACK[-1]`` object. ``STACK[-1]`` is " @@ -1374,76 +1374,76 @@ msgid "" "pushed." msgstr "" -#: ../../library/dis.rst:1212 +#: ../../library/dis.rst:1216 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` or ``self`` is pushed to " "the stack before the attribute or unbound method respectively." msgstr "" -#: ../../library/dis.rst:1219 +#: ../../library/dis.rst:1223 msgid "" "This opcode implements :func:`super`, both in its zero-argument and two-" "argument forms (e.g. ``super().method()``, ``super().attr`` and ``super(cls, " "self).method()``, ``super(cls, self).attr``)." msgstr "" -#: ../../library/dis.rst:1223 +#: ../../library/dis.rst:1227 msgid "It pops three values from the stack (from top of stack down):" msgstr "" -#: ../../library/dis.rst:1225 +#: ../../library/dis.rst:1229 msgid "``self``: the first argument to the current method" msgstr "" -#: ../../library/dis.rst:1226 +#: ../../library/dis.rst:1230 msgid "``cls``: the class within which the current method was defined" msgstr "" -#: ../../library/dis.rst:1227 +#: ../../library/dis.rst:1231 msgid "the global ``super``" msgstr "" -#: ../../library/dis.rst:1229 +#: ../../library/dis.rst:1233 msgid "" "With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`, " "except that ``namei`` is shifted left by 2 bits instead of 1." msgstr "" -#: ../../library/dis.rst:1232 +#: ../../library/dis.rst:1236 msgid "" "The low bit of ``namei`` signals to attempt a method load, as with :opcode:" "`LOAD_ATTR`, which results in pushing ``NULL`` and the loaded method. When " "it is unset a single value is pushed to the stack." msgstr "" -#: ../../library/dis.rst:1236 +#: ../../library/dis.rst:1240 msgid "" "The second-low bit of ``namei``, if set, means that this was a two-argument " "call to :func:`super` (unset means zero-argument)." msgstr "" -#: ../../library/dis.rst:1244 +#: ../../library/dis.rst:1248 msgid "" "Performs a Boolean operation. The operation name can be found in " "``cmp_op[opname >> 5]``. If the fifth-lowest bit of ``opname`` is set " "(``opname & 16``), the result should be coerced to ``bool``." msgstr "" -#: ../../library/dis.rst:1248 +#: ../../library/dis.rst:1252 msgid "" "The fifth-lowest bit of the oparg now indicates a forced conversion to :" "class:`bool`." msgstr "" -#: ../../library/dis.rst:1255 +#: ../../library/dis.rst:1259 msgid "Performs ``is`` comparison, or ``is not`` if ``invert`` is 1." msgstr "" -#: ../../library/dis.rst:1262 +#: ../../library/dis.rst:1266 msgid "Performs ``in`` comparison, or ``not in`` if ``invert`` is 1." msgstr "" -#: ../../library/dis.rst:1269 +#: ../../library/dis.rst:1273 msgid "" "Imports the module ``co_names[namei]``. ``STACK[-1]`` and ``STACK[-2]`` are " "popped and provide the *fromlist* and *level* arguments of :func:" @@ -1452,68 +1452,68 @@ msgid "" "opcode:`STORE_FAST` instruction modifies the namespace." msgstr "" -#: ../../library/dis.rst:1277 +#: ../../library/dis.rst:1281 msgid "" "Loads the attribute ``co_names[namei]`` from the module found in " "``STACK[-1]``. The resulting object is pushed onto the stack, to be " "subsequently stored by a :opcode:`STORE_FAST` instruction." msgstr "" -#: ../../library/dis.rst:1284 +#: ../../library/dis.rst:1288 msgid "Increments bytecode counter by *delta*." msgstr "バイトコードカウンタを *delta* だけ増加させます。" -#: ../../library/dis.rst:1289 +#: ../../library/dis.rst:1293 msgid "Decrements bytecode counter by *delta*. Checks for interrupts." msgstr "" -#: ../../library/dis.rst:1296 +#: ../../library/dis.rst:1300 msgid "Decrements bytecode counter by *delta*. Does not check for interrupts." msgstr "" -#: ../../library/dis.rst:1303 +#: ../../library/dis.rst:1307 msgid "" "If ``STACK[-1]`` is true, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: ../../library/dis.rst:1306 ../../library/dis.rst:1322 +#: ../../library/dis.rst:1310 ../../library/dis.rst:1326 msgid "" "The oparg is now a relative delta rather than an absolute target. This " "opcode is a pseudo-instruction, replaced in final bytecode by the directed " "versions (forward/backward)." msgstr "" -#: ../../library/dis.rst:1311 ../../library/dis.rst:1327 -#: ../../library/dis.rst:1343 ../../library/dis.rst:1357 +#: ../../library/dis.rst:1315 ../../library/dis.rst:1331 +#: ../../library/dis.rst:1347 ../../library/dis.rst:1361 msgid "This is no longer a pseudo-instruction." msgstr "" -#: ../../library/dis.rst:1319 +#: ../../library/dis.rst:1323 msgid "" "If ``STACK[-1]`` is false, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: ../../library/dis.rst:1335 +#: ../../library/dis.rst:1339 msgid "" "If ``STACK[-1]`` is not ``None``, increments the bytecode counter by " "*delta*. ``STACK[-1]`` is popped." msgstr "" -#: ../../library/dis.rst:1338 ../../library/dis.rst:1352 +#: ../../library/dis.rst:1342 ../../library/dis.rst:1356 msgid "" "This opcode is a pseudo-instruction, replaced in final bytecode by the " "directed versions (forward/backward)." msgstr "" -#: ../../library/dis.rst:1349 +#: ../../library/dis.rst:1353 msgid "" "If ``STACK[-1]`` is ``None``, increments the bytecode counter by *delta*. " "``STACK[-1]`` is popped." msgstr "" -#: ../../library/dis.rst:1362 +#: ../../library/dis.rst:1366 msgid "" "``STACK[-1]`` is an :term:`iterator`. Call its :meth:`~iterator.__next__` " "method. If this yields a new value, push it on the stack (leaving the " @@ -1521,93 +1521,93 @@ msgid "" "code counter is incremented by *delta*." msgstr "" -#: ../../library/dis.rst:1367 +#: ../../library/dis.rst:1371 msgid "Up until 3.11 the iterator was popped when it was exhausted." msgstr "" -#: ../../library/dis.rst:1372 +#: ../../library/dis.rst:1376 msgid "Loads the global named ``co_names[namei>>1]`` onto the stack." msgstr "" "``co_names[namei>>1]`` という名前のグローバルをスタック上にロードします。" -#: ../../library/dis.rst:1374 +#: ../../library/dis.rst:1378 msgid "" "If the low bit of ``namei`` is set, then a ``NULL`` is pushed to the stack " "before the global variable." msgstr "" -#: ../../library/dis.rst:1380 +#: ../../library/dis.rst:1384 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack." msgstr "" "ローカルな ``co_varnames[var_num]`` への参照をスタックにプッシュします。" -#: ../../library/dis.rst:1382 +#: ../../library/dis.rst:1386 msgid "" "This opcode is now only used in situations where the local variable is " "guaranteed to be initialized. It cannot raise :exc:`UnboundLocalError`." msgstr "" -#: ../../library/dis.rst:1388 +#: ../../library/dis.rst:1392 msgid "" "Pushes references to ``co_varnames[var_nums >> 4]`` and " "``co_varnames[var_nums & 15]`` onto the stack." msgstr "" -#: ../../library/dis.rst:1395 +#: ../../library/dis.rst:1399 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack, " "raising an :exc:`UnboundLocalError` if the local variable has not been " "initialized." msgstr "" -#: ../../library/dis.rst:1403 +#: ../../library/dis.rst:1407 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack (or " "pushes ``NULL`` onto the stack if the local variable has not been " "initialized) and sets ``co_varnames[var_num]`` to ``NULL``." msgstr "" -#: ../../library/dis.rst:1411 +#: ../../library/dis.rst:1415 msgid "Stores ``STACK.pop()`` into the local ``co_varnames[var_num]``." msgstr "" -#: ../../library/dis.rst:1415 +#: ../../library/dis.rst:1419 msgid "" "Stores ``STACK[-1]`` into ``co_varnames[var_nums >> 4]`` and ``STACK[-2]`` " "into ``co_varnames[var_nums & 15]``." msgstr "" -#: ../../library/dis.rst:1422 +#: ../../library/dis.rst:1426 msgid "" "Stores ``STACK.pop()`` into the local ``co_varnames[var_nums >> 4]`` and " "pushes a reference to the local ``co_varnames[var_nums & 15]`` onto the " "stack." msgstr "" -#: ../../library/dis.rst:1430 +#: ../../library/dis.rst:1434 msgid "Deletes local ``co_varnames[var_num]``." msgstr "ローカルな ``co_varnames[var_num]`` を削除します。" -#: ../../library/dis.rst:1435 +#: ../../library/dis.rst:1439 msgid "" "Creates a new cell in slot ``i``. If that slot is nonempty then that value " "is stored into the new cell." msgstr "" -#: ../../library/dis.rst:1443 +#: ../../library/dis.rst:1447 msgid "" "Loads the cell contained in slot ``i`` of the \"fast locals\" storage. " "Pushes a reference to the object the cell contains on the stack." msgstr "" -#: ../../library/dis.rst:1446 ../../library/dis.rst:1468 -#: ../../library/dis.rst:1479 +#: ../../library/dis.rst:1450 ../../library/dis.rst:1472 +#: ../../library/dis.rst:1483 msgid "" "``i`` is no longer offset by the length of :attr:`~codeobject.co_varnames`." msgstr "" -#: ../../library/dis.rst:1452 +#: ../../library/dis.rst:1456 msgid "" "Pops a mapping off the stack and looks up the name associated with slot " "``i`` of the \"fast locals\" storage in this mapping. If the name is not " @@ -1618,112 +1618,112 @@ msgid "" "class bodies." msgstr "" -#: ../../library/dis.rst:1465 +#: ../../library/dis.rst:1469 msgid "" "Stores ``STACK.pop()`` into the cell contained in slot ``i`` of the \"fast " "locals\" storage." msgstr "" -#: ../../library/dis.rst:1474 +#: ../../library/dis.rst:1478 msgid "" "Empties the cell contained in slot ``i`` of the \"fast locals\" storage. " "Used by the :keyword:`del` statement." msgstr "" -#: ../../library/dis.rst:1485 +#: ../../library/dis.rst:1489 msgid "" "Copies the ``n`` :term:`free (closure) variables ` from " "the closure into the frame. Removes the need for special code on the " "caller's side when calling closures." msgstr "" -#: ../../library/dis.rst:1494 +#: ../../library/dis.rst:1498 msgid "" "Raises an exception using one of the 3 forms of the ``raise`` statement, " "depending on the value of *argc*:" msgstr "" -#: ../../library/dis.rst:1497 +#: ../../library/dis.rst:1501 msgid "0: ``raise`` (re-raise previous exception)" msgstr "" -#: ../../library/dis.rst:1498 +#: ../../library/dis.rst:1502 msgid "" "1: ``raise STACK[-1]`` (raise exception instance or type at ``STACK[-1]``)" msgstr "" -#: ../../library/dis.rst:1499 +#: ../../library/dis.rst:1503 msgid "" "2: ``raise STACK[-2] from STACK[-1]`` (raise exception instance or type at " "``STACK[-2]`` with ``__cause__`` set to ``STACK[-1]``)" msgstr "" -#: ../../library/dis.rst:1505 +#: ../../library/dis.rst:1509 msgid "" "Calls a callable object with the number of arguments specified by ``argc``. " "On the stack are (in ascending order):" msgstr "" -#: ../../library/dis.rst:1508 ../../library/dis.rst:1532 +#: ../../library/dis.rst:1512 ../../library/dis.rst:1536 msgid "The callable" msgstr "" -#: ../../library/dis.rst:1509 ../../library/dis.rst:1533 +#: ../../library/dis.rst:1513 ../../library/dis.rst:1537 msgid "``self`` or ``NULL``" msgstr "" -#: ../../library/dis.rst:1510 ../../library/dis.rst:1534 +#: ../../library/dis.rst:1514 ../../library/dis.rst:1538 msgid "The remaining positional arguments" msgstr "" -#: ../../library/dis.rst:1512 +#: ../../library/dis.rst:1516 msgid "``argc`` is the total of the positional arguments, excluding ``self``." msgstr "" -#: ../../library/dis.rst:1514 +#: ../../library/dis.rst:1518 msgid "" "``CALL`` pops all arguments and the callable object off the stack, calls the " "callable object with those arguments, and pushes the return value returned " "by the callable object." msgstr "" -#: ../../library/dis.rst:1520 +#: ../../library/dis.rst:1524 msgid "The callable now always appears at the same position on the stack." msgstr "" -#: ../../library/dis.rst:1523 +#: ../../library/dis.rst:1527 msgid "Calls with keyword arguments are now handled by :opcode:`CALL_KW`." msgstr "" -#: ../../library/dis.rst:1529 +#: ../../library/dis.rst:1533 msgid "" "Calls a callable object with the number of arguments specified by ``argc``, " "including one or more named arguments. On the stack are (in ascending order):" msgstr "" -#: ../../library/dis.rst:1535 +#: ../../library/dis.rst:1539 msgid "The named arguments" msgstr "" -#: ../../library/dis.rst:1536 +#: ../../library/dis.rst:1540 msgid "A :class:`tuple` of keyword argument names" msgstr "" -#: ../../library/dis.rst:1538 +#: ../../library/dis.rst:1542 msgid "" "``argc`` is the total of the positional and named arguments, excluding " "``self``. The length of the tuple of keyword argument names is the number of " "named arguments." msgstr "" -#: ../../library/dis.rst:1541 +#: ../../library/dis.rst:1545 msgid "" "``CALL_KW`` pops all arguments, the keyword names, and the callable object " "off the stack, calls the callable object with those arguments, and pushes " "the return value returned by the callable object." msgstr "" -#: ../../library/dis.rst:1550 +#: ../../library/dis.rst:1554 msgid "" "Calls a callable object with variable set of positional and keyword " "arguments. If the lowest bit of *flags* is set, the top of the stack " @@ -1735,33 +1735,33 @@ msgid "" "arguments, and pushes the return value returned by the callable object." msgstr "" -#: ../../library/dis.rst:1565 +#: ../../library/dis.rst:1569 msgid "" "Pushes a ``NULL`` to the stack. Used in the call sequence to match the " "``NULL`` pushed by :opcode:`LOAD_METHOD` for non-method calls." msgstr "" -#: ../../library/dis.rst:1574 +#: ../../library/dis.rst:1578 msgid "" "Pushes a new function object on the stack built from the code object at " "``STACK[-1]``." msgstr "" -#: ../../library/dis.rst:1576 +#: ../../library/dis.rst:1580 msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary" msgstr "" -#: ../../library/dis.rst:1579 +#: ../../library/dis.rst:1583 msgid "Qualified name at ``STACK[-1]`` was removed." msgstr "" -#: ../../library/dis.rst:1582 +#: ../../library/dis.rst:1586 msgid "" "Extra function attributes on the stack, signaled by oparg flags, were " "removed. They now use :opcode:`SET_FUNCTION_ATTRIBUTE`." msgstr "" -#: ../../library/dis.rst:1589 +#: ../../library/dis.rst:1593 msgid "" "Sets an attribute on a function object. Expects the function at " "``STACK[-1]`` and the attribute value to set at ``STACK[-2]``; consumes both " @@ -1769,42 +1769,42 @@ msgid "" "attribute to set:" msgstr "" -#: ../../library/dis.rst:1593 +#: ../../library/dis.rst:1597 msgid "" "``0x01`` a tuple of default values for positional-only and positional-or-" "keyword parameters in positional order" msgstr "" -#: ../../library/dis.rst:1595 +#: ../../library/dis.rst:1599 msgid "``0x02`` a dictionary of keyword-only parameters' default values" msgstr "" -#: ../../library/dis.rst:1596 +#: ../../library/dis.rst:1600 msgid "``0x04`` a tuple of strings containing parameters' annotations" msgstr "" -#: ../../library/dis.rst:1597 +#: ../../library/dis.rst:1601 msgid "``0x08`` a tuple containing cells for free variables, making a closure" msgstr "" -#: ../../library/dis.rst:1606 +#: ../../library/dis.rst:1610 msgid "" "Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, " "implements::" msgstr "" -#: ../../library/dis.rst:1608 +#: ../../library/dis.rst:1612 msgid "" "end = STACK.pop()\n" "start = STACK.pop()\n" "STACK.append(slice(start, end))" msgstr "" -#: ../../library/dis.rst:1612 +#: ../../library/dis.rst:1616 msgid "if it is 3, implements::" msgstr "" -#: ../../library/dis.rst:1614 +#: ../../library/dis.rst:1618 msgid "" "step = STACK.pop()\n" "end = STACK.pop()\n" @@ -1812,11 +1812,11 @@ msgid "" "STACK.append(slice(start, end, step))" msgstr "" -#: ../../library/dis.rst:1619 +#: ../../library/dis.rst:1623 msgid "See the :func:`slice` built-in function for more information." msgstr "" -#: ../../library/dis.rst:1624 +#: ../../library/dis.rst:1628 msgid "" "Prefixes any opcode which has an argument too big to fit into the default " "one byte. *ext* holds an additional byte which act as higher bits in the " @@ -1824,50 +1824,50 @@ msgid "" "allowed, forming an argument from two-byte to four-byte." msgstr "" -#: ../../library/dis.rst:1632 +#: ../../library/dis.rst:1636 msgid "Convert value to a string, depending on ``oparg``::" msgstr "" -#: ../../library/dis.rst:1634 +#: ../../library/dis.rst:1638 msgid "" "value = STACK.pop()\n" "result = func(value)\n" "STACK.append(result)" msgstr "" -#: ../../library/dis.rst:1638 +#: ../../library/dis.rst:1642 msgid "``oparg == 1``: call :func:`str` on *value*" msgstr "" -#: ../../library/dis.rst:1639 +#: ../../library/dis.rst:1643 msgid "``oparg == 2``: call :func:`repr` on *value*" msgstr "" -#: ../../library/dis.rst:1640 +#: ../../library/dis.rst:1644 msgid "``oparg == 3``: call :func:`ascii` on *value*" msgstr "" -#: ../../library/dis.rst:1642 ../../library/dis.rst:1655 -#: ../../library/dis.rst:1668 +#: ../../library/dis.rst:1646 ../../library/dis.rst:1659 +#: ../../library/dis.rst:1672 msgid "Used for implementing formatted literal strings (f-strings)." msgstr "" -#: ../../library/dis.rst:1649 +#: ../../library/dis.rst:1653 msgid "Formats the value on top of stack::" msgstr "" -#: ../../library/dis.rst:1651 +#: ../../library/dis.rst:1655 msgid "" "value = STACK.pop()\n" "result = value.__format__(\"\")\n" "STACK.append(result)" msgstr "" -#: ../../library/dis.rst:1661 +#: ../../library/dis.rst:1665 msgid "Formats the given value with the given format spec::" msgstr "" -#: ../../library/dis.rst:1663 +#: ../../library/dis.rst:1667 msgid "" "spec = STACK.pop()\n" "value = STACK.pop()\n" @@ -1875,14 +1875,14 @@ msgid "" "STACK.append(result)" msgstr "" -#: ../../library/dis.rst:1675 +#: ../../library/dis.rst:1679 msgid "" "``STACK[-1]`` is a tuple of keyword attribute names, ``STACK[-2]`` is the " "class being matched against, and ``STACK[-3]`` is the match subject. " "*count* is the number of positional sub-patterns." msgstr "" -#: ../../library/dis.rst:1679 +#: ../../library/dis.rst:1683 msgid "" "Pop ``STACK[-1]``, ``STACK[-2]``, and ``STACK[-3]``. If ``STACK[-3]`` is an " "instance of ``STACK[-2]`` and has the positional and keyword attributes " @@ -1890,219 +1890,219 @@ msgid "" "Otherwise, push ``None``." msgstr "" -#: ../../library/dis.rst:1693 +#: ../../library/dis.rst:1697 msgid "A no-op. Performs internal tracing, debugging and optimization checks." msgstr "" -#: ../../library/dis.rst:1695 +#: ../../library/dis.rst:1699 msgid "" "The ``context`` oparand consists of two parts. The lowest two bits indicate " "where the ``RESUME`` occurs:" msgstr "" -#: ../../library/dis.rst:1698 +#: ../../library/dis.rst:1702 msgid "" "``0`` The start of a function, which is neither a generator, coroutine nor " "an async generator" msgstr "" -#: ../../library/dis.rst:1700 +#: ../../library/dis.rst:1704 msgid "``1`` After a ``yield`` expression" msgstr "" -#: ../../library/dis.rst:1701 +#: ../../library/dis.rst:1705 msgid "``2`` After a ``yield from`` expression" msgstr "" -#: ../../library/dis.rst:1702 +#: ../../library/dis.rst:1706 msgid "``3`` After an ``await`` expression" msgstr "" -#: ../../library/dis.rst:1704 +#: ../../library/dis.rst:1708 msgid "" "The next bit is ``1`` if the RESUME is at except-depth ``1``, and ``0`` " "otherwise." msgstr "" -#: ../../library/dis.rst:1709 +#: ../../library/dis.rst:1713 msgid "The oparg value changed to include information about except-depth" msgstr "" -#: ../../library/dis.rst:1715 +#: ../../library/dis.rst:1719 msgid "" "Create a generator, coroutine, or async generator from the current frame. " "Used as first opcode of in code object for the above mentioned callables. " "Clear the current frame and return the newly created generator." msgstr "" -#: ../../library/dis.rst:1724 +#: ../../library/dis.rst:1728 msgid "" "Equivalent to ``STACK[-1] = STACK[-2].send(STACK[-1])``. Used in ``yield " "from`` and ``await`` statements." msgstr "" -#: ../../library/dis.rst:1727 +#: ../../library/dis.rst:1731 msgid "" "If the call raises :exc:`StopIteration`, pop the top value from the stack, " "push the exception's ``value`` attribute, and increment the bytecode counter " "by *delta*." msgstr "" -#: ../../library/dis.rst:1736 +#: ../../library/dis.rst:1740 msgid "" "This is not really an opcode. It identifies the dividing line between " "opcodes in the range [0,255] which don't use their argument and those that " "do (``< HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)." msgstr "" -#: ../../library/dis.rst:1740 +#: ../../library/dis.rst:1744 msgid "" "If your application uses pseudo instructions or specialized instructions, " "use the :data:`hasarg` collection instead." msgstr "" -#: ../../library/dis.rst:1743 +#: ../../library/dis.rst:1747 msgid "" "Now every instruction has an argument, but opcodes ``< HAVE_ARGUMENT`` " "ignore it. Before, only opcodes ``>= HAVE_ARGUMENT`` had an argument." msgstr "" -#: ../../library/dis.rst:1747 +#: ../../library/dis.rst:1751 msgid "" "Pseudo instructions were added to the :mod:`dis` module, and for them it is " "not true that comparison with ``HAVE_ARGUMENT`` indicates whether they use " "their arg." msgstr "" -#: ../../library/dis.rst:1752 +#: ../../library/dis.rst:1756 msgid "Use :data:`hasarg` instead." msgstr "" -#: ../../library/dis.rst:1757 +#: ../../library/dis.rst:1761 msgid "" "Calls an intrinsic function with one argument. Passes ``STACK[-1]`` as the " "argument and sets ``STACK[-1]`` to the result. Used to implement " "functionality that is not performance critical." msgstr "" -#: ../../library/dis.rst:1761 ../../library/dis.rst:1815 +#: ../../library/dis.rst:1765 ../../library/dis.rst:1819 msgid "The operand determines which intrinsic function is called:" msgstr "" -#: ../../library/dis.rst:1764 ../../library/dis.rst:1818 +#: ../../library/dis.rst:1768 ../../library/dis.rst:1822 msgid "Operand" msgstr "" -#: ../../library/dis.rst:1764 ../../library/dis.rst:1818 +#: ../../library/dis.rst:1768 ../../library/dis.rst:1822 msgid "Description" msgstr "説明" -#: ../../library/dis.rst:1766 +#: ../../library/dis.rst:1770 msgid "``INTRINSIC_1_INVALID``" msgstr "" -#: ../../library/dis.rst:1766 ../../library/dis.rst:1820 +#: ../../library/dis.rst:1770 ../../library/dis.rst:1824 msgid "Not valid" msgstr "" -#: ../../library/dis.rst:1768 +#: ../../library/dis.rst:1772 msgid "``INTRINSIC_PRINT``" msgstr "" -#: ../../library/dis.rst:1768 +#: ../../library/dis.rst:1772 msgid "Prints the argument to standard out. Used in the REPL." msgstr "" -#: ../../library/dis.rst:1771 +#: ../../library/dis.rst:1775 msgid "``INTRINSIC_IMPORT_STAR``" msgstr "" -#: ../../library/dis.rst:1771 +#: ../../library/dis.rst:1775 msgid "Performs ``import *`` for the named module." msgstr "" -#: ../../library/dis.rst:1774 +#: ../../library/dis.rst:1778 msgid "``INTRINSIC_STOPITERATION_ERROR``" msgstr "" -#: ../../library/dis.rst:1774 +#: ../../library/dis.rst:1778 msgid "Extracts the return value from a ``StopIteration`` exception." msgstr "" -#: ../../library/dis.rst:1777 +#: ../../library/dis.rst:1781 msgid "``INTRINSIC_ASYNC_GEN_WRAP``" msgstr "" -#: ../../library/dis.rst:1777 +#: ../../library/dis.rst:1781 msgid "Wraps an async generator value" msgstr "" -#: ../../library/dis.rst:1779 +#: ../../library/dis.rst:1783 msgid "``INTRINSIC_UNARY_POSITIVE``" msgstr "" -#: ../../library/dis.rst:1779 +#: ../../library/dis.rst:1783 msgid "Performs the unary ``+`` operation" msgstr "" -#: ../../library/dis.rst:1782 +#: ../../library/dis.rst:1786 msgid "``INTRINSIC_LIST_TO_TUPLE``" msgstr "" -#: ../../library/dis.rst:1782 +#: ../../library/dis.rst:1786 msgid "Converts a list to a tuple" msgstr "" -#: ../../library/dis.rst:1784 +#: ../../library/dis.rst:1788 msgid "``INTRINSIC_TYPEVAR``" msgstr "" -#: ../../library/dis.rst:1784 +#: ../../library/dis.rst:1788 msgid "Creates a :class:`typing.TypeVar`" msgstr "" -#: ../../library/dis.rst:1786 +#: ../../library/dis.rst:1790 msgid "``INTRINSIC_PARAMSPEC``" msgstr "" -#: ../../library/dis.rst:1786 +#: ../../library/dis.rst:1790 msgid "Creates a :class:`typing.ParamSpec`" msgstr "" -#: ../../library/dis.rst:1789 +#: ../../library/dis.rst:1793 msgid "``INTRINSIC_TYPEVARTUPLE``" msgstr "" -#: ../../library/dis.rst:1789 +#: ../../library/dis.rst:1793 msgid "Creates a :class:`typing.TypeVarTuple`" msgstr "" -#: ../../library/dis.rst:1792 +#: ../../library/dis.rst:1796 msgid "``INTRINSIC_SUBSCRIPT_GENERIC``" msgstr "" -#: ../../library/dis.rst:1792 +#: ../../library/dis.rst:1796 msgid "Returns :class:`typing.Generic` subscripted with the argument" msgstr "" -#: ../../library/dis.rst:1795 +#: ../../library/dis.rst:1799 msgid "``INTRINSIC_TYPEALIAS``" msgstr "" -#: ../../library/dis.rst:1795 +#: ../../library/dis.rst:1799 msgid "" "Creates a :class:`typing.TypeAliasType`; used in the :keyword:`type` " "statement. The argument is a tuple of the type alias's name, type " "parameters, and value." msgstr "" -#: ../../library/dis.rst:1807 +#: ../../library/dis.rst:1811 msgid "" "Calls an intrinsic function with two arguments. Used to implement " "functionality that is not performance critical::" msgstr "" -#: ../../library/dis.rst:1810 +#: ../../library/dis.rst:1814 msgid "" "arg2 = STACK.pop()\n" "arg1 = STACK.pop()\n" @@ -2110,61 +2110,61 @@ msgid "" "STACK.append(result)" msgstr "" -#: ../../library/dis.rst:1820 +#: ../../library/dis.rst:1824 msgid "``INTRINSIC_2_INVALID``" msgstr "" -#: ../../library/dis.rst:1822 +#: ../../library/dis.rst:1826 msgid "``INTRINSIC_PREP_RERAISE_STAR``" msgstr "" -#: ../../library/dis.rst:1822 +#: ../../library/dis.rst:1826 msgid "Calculates the :exc:`ExceptionGroup` to raise from a ``try-except*``." msgstr "" -#: ../../library/dis.rst:1826 +#: ../../library/dis.rst:1830 msgid "``INTRINSIC_TYPEVAR_WITH_BOUND``" msgstr "" -#: ../../library/dis.rst:1826 +#: ../../library/dis.rst:1830 msgid "Creates a :class:`typing.TypeVar` with a bound." msgstr "" -#: ../../library/dis.rst:1829 +#: ../../library/dis.rst:1833 msgid "``INTRINSIC_TYPEVAR_WITH_CONSTRAINTS``" msgstr "" -#: ../../library/dis.rst:1829 +#: ../../library/dis.rst:1833 msgid "Creates a :class:`typing.TypeVar` with constraints." msgstr "" -#: ../../library/dis.rst:1833 +#: ../../library/dis.rst:1837 msgid "``INTRINSIC_SET_FUNCTION_TYPE_PARAMS``" msgstr "" -#: ../../library/dis.rst:1833 +#: ../../library/dis.rst:1837 msgid "Sets the ``__type_params__`` attribute of a function." msgstr "" -#: ../../library/dis.rst:1840 +#: ../../library/dis.rst:1844 msgid "**Pseudo-instructions**" msgstr "" -#: ../../library/dis.rst:1842 +#: ../../library/dis.rst:1846 msgid "" "These opcodes do not appear in Python bytecode. They are used by the " "compiler but are replaced by real opcodes or removed before bytecode is " "generated." msgstr "" -#: ../../library/dis.rst:1847 +#: ../../library/dis.rst:1851 msgid "" "Set up an exception handler for the following code block. If an exception " "occurs, the value stack level is restored to its current state and control " "is transferred to the exception handler at ``target``." msgstr "" -#: ../../library/dis.rst:1854 +#: ../../library/dis.rst:1858 msgid "" "Like ``SETUP_FINALLY``, but in case of an exception also pushes the last " "instruction (``lasti``) to the stack so that ``RERAISE`` can restore it. If " @@ -2173,58 +2173,58 @@ msgid "" "exception handler at ``target``." msgstr "" -#: ../../library/dis.rst:1863 +#: ../../library/dis.rst:1867 msgid "" "Like ``SETUP_CLEANUP``, but in case of an exception one more item is popped " "from the stack before control is transferred to the exception handler at " "``target``." msgstr "" -#: ../../library/dis.rst:1867 +#: ../../library/dis.rst:1871 msgid "" "This variant is used in :keyword:`with` and :keyword:`async with` " "constructs, which push the return value of the context manager's :meth:" "`~object.__enter__` or :meth:`~object.__aenter__` to the stack." msgstr "" -#: ../../library/dis.rst:1874 +#: ../../library/dis.rst:1878 msgid "" "Marks the end of the code block associated with the last ``SETUP_FINALLY``, " "``SETUP_CLEANUP`` or ``SETUP_WITH``." msgstr "" -#: ../../library/dis.rst:1880 +#: ../../library/dis.rst:1884 msgid "" "Undirected relative jump instructions which are replaced by their directed " "(forward/backward) counterparts by the assembler." msgstr "" -#: ../../library/dis.rst:1885 +#: ../../library/dis.rst:1889 msgid "" "Pushes a reference to the cell contained in slot ``i`` of the \"fast " "locals\" storage." msgstr "" -#: ../../library/dis.rst:1888 +#: ../../library/dis.rst:1892 msgid "" "Note that ``LOAD_CLOSURE`` is replaced with ``LOAD_FAST`` in the assembler." msgstr "" -#: ../../library/dis.rst:1890 +#: ../../library/dis.rst:1894 msgid "This opcode is now a pseudo-instruction." msgstr "" -#: ../../library/dis.rst:1896 +#: ../../library/dis.rst:1900 msgid "" "Optimized unbound method lookup. Emitted as a ``LOAD_ATTR`` opcode with a " "flag set in the arg." msgstr "" -#: ../../library/dis.rst:1903 +#: ../../library/dis.rst:1907 msgid "Opcode collections" msgstr "命令コードコレクション" -#: ../../library/dis.rst:1905 +#: ../../library/dis.rst:1909 msgid "" "These collections are provided for automatic introspection of bytecode " "instructions:" @@ -2232,36 +2232,36 @@ msgstr "" "これらのコレクションは、自動でバイトコード命令を解析するために提供されていま" "す:" -#: ../../library/dis.rst:1908 +#: ../../library/dis.rst:1912 msgid "" "The collections now contain pseudo instructions and instrumented " "instructions as well. These are opcodes with values ``>= MIN_PSEUDO_OPCODE`` " "and ``>= MIN_INSTRUMENTED_OPCODE``." msgstr "" -#: ../../library/dis.rst:1915 +#: ../../library/dis.rst:1919 msgid "Sequence of operation names, indexable using the bytecode." msgstr "" "命令コード名のリスト。\n" "バイトコードをインデックスに使って参照できます。" -#: ../../library/dis.rst:1920 +#: ../../library/dis.rst:1924 msgid "Dictionary mapping operation names to bytecodes." msgstr "命令コード名をバイトコードに対応づける辞書。" -#: ../../library/dis.rst:1925 +#: ../../library/dis.rst:1929 msgid "Sequence of all compare operation names." msgstr "すべての比較命令の名前のリスト。" -#: ../../library/dis.rst:1930 +#: ../../library/dis.rst:1934 msgid "Sequence of bytecodes that use their argument." msgstr "" -#: ../../library/dis.rst:1937 +#: ../../library/dis.rst:1941 msgid "Sequence of bytecodes that access a constant." msgstr "定数にアクセスするバイトコードのリスト。" -#: ../../library/dis.rst:1942 +#: ../../library/dis.rst:1946 msgid "" "Sequence of bytecodes that access a :term:`free (closure) variable `. 'free' in this context refers to names in the current scope that " @@ -2270,46 +2270,46 @@ msgid "" "scopes." msgstr "" -#: ../../library/dis.rst:1950 +#: ../../library/dis.rst:1954 msgid "Sequence of bytecodes that access an attribute by name." msgstr "名前によって属性にアクセスするバイトコードのリスト。" -#: ../../library/dis.rst:1955 +#: ../../library/dis.rst:1959 msgid "Sequence of bytecodes that have a jump target. All jumps are relative." msgstr "" -#: ../../library/dis.rst:1962 +#: ../../library/dis.rst:1966 msgid "Sequence of bytecodes that access a local variable." msgstr "ローカル変数にアクセスするバイトコードのリスト。" -#: ../../library/dis.rst:1967 +#: ../../library/dis.rst:1971 msgid "Sequence of bytecodes of Boolean operations." msgstr "ブール命令のバイトコードのリスト。" -#: ../../library/dis.rst:1971 +#: ../../library/dis.rst:1975 msgid "Sequence of bytecodes that set an exception handler." msgstr "" -#: ../../library/dis.rst:1978 +#: ../../library/dis.rst:1982 msgid "Sequence of bytecodes that have a relative jump target." msgstr "相対ジャンプ先を持つバイトコードのリスト。" -#: ../../library/dis.rst:1980 +#: ../../library/dis.rst:1984 msgid "All jumps are now relative. Use :data:`hasjump`." msgstr "" -#: ../../library/dis.rst:1986 +#: ../../library/dis.rst:1990 msgid "Sequence of bytecodes that have an absolute jump target." msgstr "絶対ジャンプ先を持つバイトコードのリスト。" -#: ../../library/dis.rst:1988 +#: ../../library/dis.rst:1992 msgid "All jumps are now relative. This list is empty." msgstr "" -#: ../../library/dis.rst:1604 +#: ../../library/dis.rst:1608 msgid "built-in function" msgstr "組み込み関数" -#: ../../library/dis.rst:1604 +#: ../../library/dis.rst:1608 msgid "slice" msgstr "slice" diff --git a/library/doctest.po b/library/doctest.po index f8cfd624f..93630e411 100644 --- a/library/doctest.po +++ b/library/doctest.po @@ -18,7 +18,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:04+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1367,10 +1367,10 @@ msgstr "" #: ../../library/doctest.rst:820 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 "" diff --git a/library/email.parser.po b/library/email.parser.po index 7d0f4694c..cf557a70c 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: tomo, 2021\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -380,7 +380,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/ensurepip.po b/library/ensurepip.po index ee085a03c..8586d2a7e 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:05+0000\n" "Last-Translator: tomo, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -98,22 +98,22 @@ 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 "" "コマンドラインインターフェースを起動するには ``-m`` スイッチをつけてインター" "プリターを使用します。" -#: ../../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 " @@ -125,11 +125,11 @@ msgstr "" "できるもののうち、できるだけ新しいものにするためには、``--upgrade`` オプショ" "ンを追加して::" -#: ../../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 " @@ -140,27 +140,21 @@ msgstr "" "イトパッケージ(もしアクティブな仮想環境がなければ)にインストールされます。イ" "ンストール先は2つの追加コマンドラインオプションで制御できます:" -#: ../../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 "" -":samp:`--root {dir}`: 現在のアクティブな仮想環境 (もしあれば) のルートや現在" -"インストールされている Python のルートディレクトリに入れる代わりに、与えられ" -"たディレクトリをルートとして ``pip`` をインストールします。" -#: ../../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 "" -"``--user``: は、現在インストールされている Python にグローバルにインストール" -"される代わりに、ユーザーの site packages ディレクトリに ``pip`` をインストー" -"ルします(このオプションはアクティブな仮想環境のもとでは許可されません)。" -#: ../../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 " @@ -170,37 +164,33 @@ msgstr "" "``ensurepip`` を起動したPythonのバージョン)。インストールされるスクリプトは2" "つの追加コマンドラインオプションで制御できます:" -#: ../../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 "" -"``--altinstall``: alternate インストール。X.Y でバージョン付けされたものだけ" -"がインストールされます。" -#: ../../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 "" -"``--default-pip``: \"default pip\" のインストールが要求されると、通常の二つ" -"のスクリプトに加えて ``pip`` スクリプトがインストールされます。" -#: ../../library/ensurepip.rst:82 +#: ../../library/ensurepip.rst:93 msgid "" "Providing both of the script selection options will trigger an exception." msgstr "2つのスクリプト選択オプションを指定すると例外が発生します。" -#: ../../library/ensurepip.rst:86 +#: ../../library/ensurepip.rst:96 msgid "Module API" msgstr "モジュール API" -#: ../../library/ensurepip.rst:88 +#: ../../library/ensurepip.rst:98 msgid ":mod:`ensurepip` exposes two functions for programmatic use:" msgstr "" ":mod:`ensurepip` はプログラムから利用出来る 2 つの関数を公開しています:" -#: ../../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." @@ -208,11 +198,11 @@ msgstr "" "環境にブートストラップする際にインストールされることになる利用可能な pip の" "バージョンを示す文字列を返します。" -#: ../../library/ensurepip.rst:99 +#: ../../library/ensurepip.rst:109 msgid "Bootstraps ``pip`` into the current or designated environment." msgstr "現在の環境あるいは指示された環境へ ``pip`` をブートストラップします。" -#: ../../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 " @@ -221,7 +211,7 @@ msgstr "" "*root* で、インストールの root ディレクトリを変更します。 *root* が ``None`` " "の場合は、インストールは現在の環境でのデフォルトの場所を使います。" -#: ../../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." @@ -229,7 +219,7 @@ msgstr "" "*upgrade* で、 ``pip`` の利用可能なバージョンとして、インストール済みの以前の" "バージョンをアップグレードするかどうかを指定します。" -#: ../../library/ensurepip.rst:108 +#: ../../library/ensurepip.rst:118 msgid "" "*user* indicates whether to use the user scheme rather than installing " "globally." @@ -237,7 +227,7 @@ msgstr "" "*user* で、グローバルなインストールではなく user スキームを使うかどうかを指定" "します。" -#: ../../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)." @@ -245,12 +235,12 @@ msgstr "" "デフォルトではスクリプト ``pipX`` と ``pipX.Y`` はインストールされます(X.Yは" "Pythonの現在のバージョンです)。" -#: ../../library/ensurepip.rst:114 +#: ../../library/ensurepip.rst:124 msgid "If *altinstall* is set, then ``pipX`` will *not* be installed." msgstr "" "*altinstall* が設定されていた場合は ``pipX`` はインストール *されません*。" -#: ../../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." @@ -258,14 +248,14 @@ msgstr "" "*default_pip* がセットされていれば、 ``pip`` スクリプトが2つの標準スクリプト" "と共にインストールされます。" -#: ../../library/ensurepip.rst:119 +#: ../../library/ensurepip.rst:129 msgid "" "Setting both *altinstall* and *default_pip* will trigger :exc:`ValueError`." msgstr "" "*altinstall* と *default_pip* の両方を指定すると、 :exc:`ValueError` を起こし" "ます。" -#: ../../library/ensurepip.rst:122 +#: ../../library/ensurepip.rst:132 msgid "" "*verbosity* controls the level of output to :data:`sys.stdout` from the " "bootstrapping operation." @@ -273,7 +263,7 @@ msgstr "" "*verbosity* でブートストラップ操作からの :data:`sys.stdout` への出力の冗長レ" "ベルをコントロールします。" -#: ../../library/ensurepip.rst:125 +#: ../../library/ensurepip.rst:135 msgid "" "Raises an :ref:`auditing event ` ``ensurepip.bootstrap`` with " "argument ``root``." @@ -281,7 +271,7 @@ msgstr "" "引数 ``root`` 付きで :ref:`監査イベント ` ``ensurepip.bootstrap`` " "を送出します。" -#: ../../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 " @@ -291,7 +281,7 @@ 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/filecmp.po b/library/filecmp.po index fda4a48bc..4fe7b8f15 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -298,6 +298,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/functions.po b/library/functions.po index af85b5b0d..ba93297b5 100644 --- a/library/functions.po +++ b/library/functions.po @@ -28,7 +28,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:06+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1895,15 +1895,11 @@ msgstr "" #: ../../library/functions.rst:973 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" -"--> Monty Python's Flying Circus\n" -">>> s \n" -"\"Monty Python's Flying Circus\"" #: ../../library/functions.rst:978 msgid "" diff --git a/library/importlib.metadata.po b/library/importlib.metadata.po index fca0aecaf..715fafb17 100644 --- a/library/importlib.metadata.po +++ b/library/importlib.metadata.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:08+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -153,8 +153,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 "" @@ -178,7 +178,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', " @@ -262,7 +262,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 @@ -274,7 +274,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 "" @@ -287,7 +287,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 @@ -297,7 +297,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 @@ -309,9 +309,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 @@ -320,8 +320,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 @@ -330,16 +330,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 "" @@ -414,7 +414,7 @@ msgid "" msgstr "" #: ../../library/importlib.metadata.rst:240 -msgid ">>> wheel_metadata = metadata('wheel') " +msgid ">>> wheel_metadata = metadata('wheel')" msgstr "" #: ../../library/importlib.metadata.rst:242 @@ -425,7 +425,7 @@ msgstr "" #: ../../library/importlib.metadata.rst:245 msgid "" -">>> wheel_metadata['Requires-Python'] \n" +">>> wheel_metadata['Requires-Python']\n" "'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'" msgstr "" @@ -480,7 +480,7 @@ msgstr "" #: ../../library/importlib.metadata.rst:281 msgid "" -">>> version('wheel') \n" +">>> version('wheel')\n" "'0.32.3'" msgstr "" @@ -517,14 +517,14 @@ msgstr "" #: ../../library/importlib.metadata.rst:313 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 "" @@ -534,7 +534,7 @@ msgstr "ファイルを取得したら、その内容を読むこともできま #: ../../library/importlib.metadata.rst:325 msgid "" -">>> print(util.read_text()) \n" +">>> print(util.read_text())\n" "import base64\n" "import sys\n" "...\n" @@ -552,7 +552,7 @@ msgstr "" #: ../../library/importlib.metadata.rst:337 msgid "" -">>> util.locate() \n" +">>> util.locate()\n" "PosixPath('/home/gustav/example/lib/site-packages/wheel/util.py')" msgstr "" @@ -584,7 +584,7 @@ msgstr "" #: ../../library/importlib.metadata.rst:365 msgid "" -">>> requires('wheel') \n" +">>> requires('wheel')\n" "[\"pytest (>=3.0.0) ; extra == 'test'\", \"pytest-cov ; extra == 'test'\"]" msgstr "" @@ -668,9 +668,9 @@ msgstr "" #: ../../library/importlib.metadata.rst:427 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 "" @@ -682,7 +682,7 @@ msgstr "" #: ../../library/importlib.metadata.rst:435 msgid "" -">>> dist.version \n" +">>> dist.version\n" "'0.32.3'" msgstr "" @@ -694,9 +694,9 @@ msgstr "" #: ../../library/importlib.metadata.rst:441 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 "" diff --git a/library/readline.po b/library/readline.po index 0ed943884..00b9d3c9f 100644 --- a/library/readline.po +++ b/library/readline.po @@ -5,7 +5,6 @@ # # Translators: # tomo, 2021 -# Atsuo Ishimoto , 2022 # Arihiro TAKASE, 2023 # 石井明久, 2024 # Takanori Suzuki , 2024 @@ -15,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: Takanori Suzuki , 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -131,20 +130,15 @@ msgstr "以下の関数は初期化ファイルならびにユーザ設定関連 #: ../../library/readline.rst:67 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 "" -"*string* 引数で渡された最初の行を実行します。これにより下層のライブラリーの :" -"c:func:`rl_parse_and_bind` が呼ばれます。" #: ../../library/readline.rst:73 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 "" -"readline 初期化ファイルを実行します。デフォルトのファイル名は最後に使用された" -"ファイル名です。これにより下層のライブラリーの :c:func:`rl_read_init_file` が" -"呼ばれます。" #: ../../library/readline.rst:78 msgid "Line buffer" @@ -156,27 +150,21 @@ msgstr "以下の関数は行バッファを操作します:" #: ../../library/readline.rst:85 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 "" -"行バッファ (下層のライブラリーの :c:data:`rl_line_buffer`) の現在の内容を返" -"します。" #: ../../library/readline.rst:91 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 "" -"テキストをカーサー位置の行バッファに挿入します。これにより下層のライブラリー" -"の :c:func:`rl_insert_text` が呼ばれますが、戻り値は無視されます。" #: ../../library/readline.rst:98 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 "" -"スクリーンの表示を変更して行バッファの現在の内容を反映させます。これにより下" -"層のライブラリーの :c:func:`rl_redisplay` が呼ばれます。" #: ../../library/readline.rst:103 msgid "History file" @@ -189,42 +177,31 @@ msgstr "以下の関数は履歴ファイルを操作します:" #: ../../library/readline.rst:110 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 "" -"readline 履歴ファイルを読み込み、履歴リストに追加します。デフォルトのファイル" -"名は :file:`~/.history` です。これにより下層のライブラリーの :c:func:" -"`read_history` が呼ばれます。" #: ../../library/readline.rst:117 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 "" -"履歴リストを readline 履歴ファイルに保存します。既存のファイルは上書きされま" -"す。デフォルトのファイル名は :file:`~/.history` です。これにより下層のライブ" -"ラリーの :c:func:`write_history` が呼ばれます。" #: ../../library/readline.rst:124 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 "" -"履歴の最後の *nelements* 項目をファイルに追加します。デフォルトのファイル名" -"は :file:`~/.history` です。ファイルは存在していなくてはなりません。これによ" -"り下層のライブラリーの :c:func:`append_history` が呼ばれます。Python がこの機" -"能をサポートするライブラリーのバージョンでコンパイルされたときのみ、この関数" -"は存在します。" #: ../../library/readline.rst:136 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:144 @@ -237,13 +214,10 @@ msgstr "以下の関数はグローバルな履歴リストを操作します:" #: ../../library/readline.rst:151 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 "" -"現在の履歴をクリアします。これにより下層のライブラリーの :c:func:" -"`clear_history` が呼ばれます。Python がこの機能をサポートするライブラリーの" -"バージョンでコンパイルされたときのみ、この関数は存在します。" #: ../../library/readline.rst:158 msgid "" @@ -257,40 +231,32 @@ msgstr "" #: ../../library/readline.rst:165 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 "" -"現在の履歴の *index* 番目の項目を返します。添字は1から始まります。これにより" -"下層のライブラリーの :c:func:`history_get` が呼ばれます。" #: ../../library/readline.rst:171 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 "" -"履歴から指定された位置の項目を削除します。添字は0から始まります。これにより下" -"層のライブラリーの :c:func:`remove_history` が呼ばれます。" #: ../../library/readline.rst:178 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 "" -"指定された位置の項目を *line* で置き換えます。添字は0から始まります。これによ" -"り下層のライブラリーの :c:func:`replace_history_entry` が呼ばれます。" #: ../../library/readline.rst:185 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 "" -"最後に入力したかのように、 *line* を履歴バッファに追加します。これにより下層" -"のライブラリーの :c:func:`add_history` が呼ばれます。" #: ../../library/readline.rst:191 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 "" @@ -307,16 +273,16 @@ msgstr "開始フック" #: ../../library/readline.rst:209 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:218 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 " @@ -358,9 +324,9 @@ msgstr "" #: ../../library/readline.rst:249 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:258 @@ -373,15 +339,15 @@ msgstr "" #: ../../library/readline.rst:263 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:271 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." @@ -391,7 +357,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 "" @@ -400,7 +366,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/secrets.po b/library/secrets.po index e473adc77..b7b9da72c 100644 --- a/library/secrets.po +++ b/library/secrets.po @@ -13,7 +13,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:12+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -112,7 +112,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 "" @@ -128,7 +128,7 @@ msgstr "" #: ../../library/secrets.rst:83 msgid "" -">>> token_hex(16) \n" +">>> token_hex(16)\n" "'f9bf78b9a18ce6d46a0cd2b0b86df9da'" msgstr "" @@ -146,7 +146,7 @@ msgstr "" #: ../../library/secrets.rst:95 msgid "" -">>> token_urlsafe(16) \n" +">>> token_urlsafe(16)\n" "'Drmhze6EPcv0fN_81Bj-nA'" msgstr "" diff --git a/library/ssl.po b/library/ssl.po index 0904af8ac..99b7bcc60 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -16,7 +16,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Arihiro TAKASE, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -550,10 +550,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/statistics.po b/library/statistics.po index 77e90dc74..71b8207da 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: 石井明久, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1631,7 +1631,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 e0ce0be77..b1a09cbc2 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -25,7 +25,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:13+0000\n" "Last-Translator: Arihiro TAKASE, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -158,8 +158,8 @@ msgstr "結果" #: ../../library/stdtypes.rst:86 ../../library/stdtypes.rst:276 #: ../../library/stdtypes.rst:416 ../../library/stdtypes.rst:965 -#: ../../library/stdtypes.rst:1170 ../../library/stdtypes.rst:2432 -#: ../../library/stdtypes.rst:3651 +#: ../../library/stdtypes.rst:1170 ../../library/stdtypes.rst:2438 +#: ../../library/stdtypes.rst:3657 msgid "Notes" msgstr "注釈" @@ -173,7 +173,7 @@ msgstr "*x* が真なら *x*, そうでなければ *y*" #: ../../library/stdtypes.rst:88 ../../library/stdtypes.rst:967 #: ../../library/stdtypes.rst:970 ../../library/stdtypes.rst:1181 -#: ../../library/stdtypes.rst:2438 ../../library/stdtypes.rst:3657 +#: ../../library/stdtypes.rst:2444 ../../library/stdtypes.rst:3663 msgid "\\(1)" msgstr "\\(1)" @@ -187,8 +187,8 @@ msgstr "*x* が偽なら *x*, そうでなければ *y*" #: ../../library/stdtypes.rst:91 ../../library/stdtypes.rst:289 #: ../../library/stdtypes.rst:309 ../../library/stdtypes.rst:1209 -#: ../../library/stdtypes.rst:2442 ../../library/stdtypes.rst:2444 -#: ../../library/stdtypes.rst:3661 ../../library/stdtypes.rst:3663 +#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:2450 +#: ../../library/stdtypes.rst:3667 ../../library/stdtypes.rst:3669 msgid "\\(2)" msgstr "\\(2)" @@ -201,18 +201,18 @@ msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* が偽なら ``True``, そうでなければ ``False``" #: ../../library/stdtypes.rst:94 ../../library/stdtypes.rst:979 -#: ../../library/stdtypes.rst:1212 ../../library/stdtypes.rst:2446 -#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:2450 -#: ../../library/stdtypes.rst:2452 ../../library/stdtypes.rst:3665 -#: ../../library/stdtypes.rst:3667 ../../library/stdtypes.rst:3669 -#: ../../library/stdtypes.rst:3671 +#: ../../library/stdtypes.rst:1212 ../../library/stdtypes.rst:2452 +#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:2456 +#: ../../library/stdtypes.rst:2458 ../../library/stdtypes.rst:3671 +#: ../../library/stdtypes.rst:3673 ../../library/stdtypes.rst:3675 +#: ../../library/stdtypes.rst:3677 msgid "\\(3)" msgstr "\\(3)" #: ../../library/stdtypes.rst:103 ../../library/stdtypes.rst:320 #: ../../library/stdtypes.rst:434 ../../library/stdtypes.rst:1016 -#: ../../library/stdtypes.rst:1221 ../../library/stdtypes.rst:2478 -#: ../../library/stdtypes.rst:3701 +#: ../../library/stdtypes.rst:1221 ../../library/stdtypes.rst:2484 +#: ../../library/stdtypes.rst:3707 msgid "Notes:" msgstr "注釈:" @@ -261,9 +261,9 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "以下の表に比較演算をまとめます:" -#: ../../library/stdtypes.rst:144 ../../library/stdtypes.rst:2409 -#: ../../library/stdtypes.rst:2432 ../../library/stdtypes.rst:3628 -#: ../../library/stdtypes.rst:3651 +#: ../../library/stdtypes.rst:144 ../../library/stdtypes.rst:2415 +#: ../../library/stdtypes.rst:2438 ../../library/stdtypes.rst:3634 +#: ../../library/stdtypes.rst:3657 msgid "Meaning" msgstr "意味" @@ -594,7 +594,7 @@ msgid "" msgstr "実部 *re*, 虚部 *im* の複素数。 *im* の既定値はゼロ。" #: ../../library/stdtypes.rst:302 ../../library/stdtypes.rst:1202 -#: ../../library/stdtypes.rst:2440 ../../library/stdtypes.rst:3688 +#: ../../library/stdtypes.rst:2446 ../../library/stdtypes.rst:3694 msgid "\\(6)" msgstr "\\(6)" @@ -632,9 +632,9 @@ msgstr "*x* の *y* 乗" #: ../../library/stdtypes.rst:311 ../../library/stdtypes.rst:313 #: ../../library/stdtypes.rst:1191 ../../library/stdtypes.rst:1194 -#: ../../library/stdtypes.rst:2465 ../../library/stdtypes.rst:2468 -#: ../../library/stdtypes.rst:2471 ../../library/stdtypes.rst:3684 -#: ../../library/stdtypes.rst:3691 +#: ../../library/stdtypes.rst:2471 ../../library/stdtypes.rst:2474 +#: ../../library/stdtypes.rst:2477 ../../library/stdtypes.rst:3690 +#: ../../library/stdtypes.rst:3697 msgid "\\(5)" msgstr "\\(5)" @@ -805,8 +805,8 @@ msgstr "*x* と *y* のビット単位 :dfn:`論理和`" #: ../../library/stdtypes.rst:418 ../../library/stdtypes.rst:421 #: ../../library/stdtypes.rst:424 ../../library/stdtypes.rst:1216 -#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:2458 -#: ../../library/stdtypes.rst:3673 ../../library/stdtypes.rst:3677 +#: ../../library/stdtypes.rst:2460 ../../library/stdtypes.rst:2464 +#: ../../library/stdtypes.rst:3679 ../../library/stdtypes.rst:3683 msgid "\\(4)" msgstr "\\(4)" @@ -1740,7 +1740,7 @@ msgstr "" "*s* 中で *x* が最初に出現するインデックス (インデックス *i* 以降からインデッ" "クス *j* までの範囲)" -#: ../../library/stdtypes.rst:992 ../../library/stdtypes.rst:3659 +#: ../../library/stdtypes.rst:992 ../../library/stdtypes.rst:3665 msgid "\\(8)" msgstr "\\(8)" @@ -2921,7 +2921,7 @@ msgstr "" msgid "Return the string encoded to :class:`bytes`." msgstr ":class:`bytes` にエンコードされた文字列を返します。" -#: ../../library/stdtypes.rst:1673 ../../library/stdtypes.rst:2824 +#: ../../library/stdtypes.rst:1673 ../../library/stdtypes.rst:2830 msgid "" "*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " "possible values." @@ -2953,11 +2953,11 @@ msgstr "" "が実際に発生するか、 :ref:`devmode` が有効になっているか、もしくは :ref:`デ" "バッグビルド ` が使われていない限りチェックされません。" -#: ../../library/stdtypes.rst:1688 ../../library/stdtypes.rst:2843 +#: ../../library/stdtypes.rst:1688 ../../library/stdtypes.rst:2849 msgid "Added support for keyword arguments." msgstr "キーワード引数のサポートが追加されました。" -#: ../../library/stdtypes.rst:1691 ../../library/stdtypes.rst:2846 +#: ../../library/stdtypes.rst:1691 ../../library/stdtypes.rst:2852 msgid "" "The value of the *errors* argument is now checked in :ref:`devmode` and in :" "ref:`debug mode `." @@ -3221,23 +3221,28 @@ msgstr "" #: ../../library/stdtypes.rst:1879 msgid "" -"Return ``True`` if all characters in the string are printable or the string " -"is empty, ``False`` otherwise. Nonprintable characters are those characters " -"defined in the Unicode character database as \"Other\" or \"Separator\", " -"excepting the ASCII space (0x20) which is considered printable. (Note that " -"printable characters in this context are those which should not be escaped " -"when :func:`repr` is invoked on a string. It has no bearing on the handling " -"of strings written to :data:`sys.stdout` or :data:`sys.stderr`.)" +"Return true if all characters in the string are printable, false if it " +"contains at least one non-printable character." +msgstr "" + +#: ../../library/stdtypes.rst:1882 +msgid "" +"Here \"printable\" means the character is suitable for :func:`repr` to use " +"in its output; \"non-printable\" means that :func:`repr` on built-in types " +"will hex-escape the character. It has no bearing on the handling of strings " +"written to :data:`sys.stdout` or :data:`sys.stderr`." msgstr "" -"文字列中のすべての文字が印字可能であるか、文字列が空であれば ``True`` を、そ" -"うでなければ ``False`` を返します。非印字可能文字は、 Unicode 文字データベー" -"スで \"Other\" または \"Separator\" と定義されている文字の、印字可能と見なさ" -"れる ASCII space (0x20) 以外のものです。(なお、この文脈での印字可能文字は、文" -"字列に :func:`repr` が呼び出されるときにエスケープすべきでない文字のことで" -"す。これは :data:`sys.stdout` や :data:`sys.stderr` に書き込まれる文字列の操" -"作とは関係ありません。)" -#: ../../library/stdtypes.rst:1890 +#: ../../library/stdtypes.rst:1887 +msgid "" +"The printable characters are those which in the Unicode character database " +"(see :mod:`unicodedata`) have a general category in group Letter, Mark, " +"Number, Punctuation, or Symbol (L, M, N, P, or S); plus the ASCII space " +"0x20. Nonprintable characters are those in group Separator or Other (Z or " +"C), except the ASCII space." +msgstr "" + +#: ../../library/stdtypes.rst:1896 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -3245,7 +3250,7 @@ msgstr "" "文字列が空白文字だけからなり、かつ 1 文字以上ある場合には ``True`` を返し、そ" "うでない場合は ``False`` を返します。" -#: ../../library/stdtypes.rst:1893 +#: ../../library/stdtypes.rst:1899 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -3255,7 +3260,7 @@ msgstr "" "(\"Seperator, space\") であるか、 双方向クラスが ``WS``、``B``、 ``S`` のい" "ずれかである場合、その文字は *空白文字(whitespace)* です。 " -#: ../../library/stdtypes.rst:1901 +#: ../../library/stdtypes.rst:1907 msgid "" "Return ``True`` if the string is a titlecased string and there is at least " "one character, for example uppercase characters may only follow uncased " @@ -3267,7 +3272,7 @@ msgstr "" "にのみ続く場合には ``True`` を返します。そうでない場合は ``False`` を返しま" "す。" -#: ../../library/stdtypes.rst:1908 +#: ../../library/stdtypes.rst:1914 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -3276,7 +3281,7 @@ msgstr "" "ある文字が 1 文字以上あるなら ``True`` を、そうでなければ ``False`` を返しま" "す。" -#: ../../library/stdtypes.rst:1926 +#: ../../library/stdtypes.rst:1932 msgid "" "Return a string which is the concatenation of the strings in *iterable*. A :" "exc:`TypeError` will be raised if there are any non-string values in " @@ -3287,7 +3292,7 @@ msgstr "" "`bytes` オブジェクトのような非文字列の値が存在するなら、 :exc:`TypeError` が" "送出されます。要素間のセパレータは、このメソッドを提供する文字列です。" -#: ../../library/stdtypes.rst:1934 +#: ../../library/stdtypes.rst:1940 msgid "" "Return the string left justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3297,7 +3302,7 @@ msgstr "" "(デフォルトでは ASCII スペース) を使って行われます。 *width* が ``len(s)`` 以" "下ならば、元の文字列が返されます。" -#: ../../library/stdtypes.rst:1941 +#: ../../library/stdtypes.rst:1947 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3305,7 +3310,7 @@ msgstr "" "全ての大小文字の区別のある文字 [4]_ が小文字に変換された、文字列のコピーを返" "します。" -#: ../../library/stdtypes.rst:1944 +#: ../../library/stdtypes.rst:1950 msgid "" "The lowercasing algorithm used is `described in section 3.13 'Default Case " "Folding' of the Unicode Standard `__。" -#: ../../library/stdtypes.rst:1951 +#: ../../library/stdtypes.rst:1957 msgid "" "Return a copy of the string with leading characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3328,7 +3333,7 @@ msgstr "" "除去されます。 *chars* 文字列は接頭辞ではなく、その値に含まれる文字の組み合わ" "せ全てがはぎ取られます::" -#: ../../library/stdtypes.rst:1956 +#: ../../library/stdtypes.rst:1962 msgid "" ">>> ' spacious '.lstrip()\n" "'spacious '\n" @@ -3336,7 +3341,7 @@ msgid "" "'example.com'" msgstr "" -#: ../../library/stdtypes.rst:1961 +#: ../../library/stdtypes.rst:1967 msgid "" "See :meth:`str.removeprefix` for a method that will remove a single prefix " "string rather than all of a set of characters. For example::" @@ -3344,7 +3349,7 @@ msgstr "" "文字の集合全てではなく、指定した文字列そのものを接頭辞として削除するメソッド" "については、 :meth:`str.removeprefix` を参照してください。使用例::" -#: ../../library/stdtypes.rst:1964 +#: ../../library/stdtypes.rst:1970 msgid "" ">>> 'Arthur: three!'.lstrip('Arthur: ')\n" "'ee!'\n" @@ -3352,14 +3357,14 @@ msgid "" "'three!'" msgstr "" -#: ../../library/stdtypes.rst:1972 +#: ../../library/stdtypes.rst:1978 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." msgstr "" "この静的メソッドは :meth:`str.translate` に使える変換テーブルを返します。" -#: ../../library/stdtypes.rst:1974 +#: ../../library/stdtypes.rst:1980 msgid "" "If there is only one argument, it must be a dictionary mapping Unicode " "ordinals (integers) or characters (strings of length 1) to Unicode ordinals, " @@ -3370,7 +3375,7 @@ msgstr "" "文字列) を、Unicode 序数、(任意長の) 文字列、または ``None`` に対応づける辞書" "でなければなりません。このとき、文字で指定したキーは序数に変換されます。" -#: ../../library/stdtypes.rst:1979 +#: ../../library/stdtypes.rst:1985 msgid "" "If there are two arguments, they must be strings of equal length, and in the " "resulting dictionary, each character in x will be mapped to the character at " @@ -3382,7 +3387,7 @@ msgstr "" "指定する場合、文字列を指定する必要があり、それに含まれる文字が ``None`` に対" "応付けられます。" -#: ../../library/stdtypes.rst:1987 +#: ../../library/stdtypes.rst:1993 msgid "" "Split the string at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3394,7 +3399,7 @@ msgstr "" "す。もし区切れなければ、タプルには元の文字列そのものとその後ろに二つの空文字" "列が入ります。" -#: ../../library/stdtypes.rst:1995 +#: ../../library/stdtypes.rst:2001 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3402,7 +3407,7 @@ msgstr "" "文字列が *prefix* で始まる場合、 ``string[len(prefix):]`` を返します。それ以" "外の場合、元の文字列のコピーを返します::" -#: ../../library/stdtypes.rst:1999 +#: ../../library/stdtypes.rst:2005 msgid "" ">>> 'TestHook'.removeprefix('Test')\n" "'Hook'\n" @@ -3410,7 +3415,7 @@ msgid "" "'BaseTestCase'" msgstr "" -#: ../../library/stdtypes.rst:2009 +#: ../../library/stdtypes.rst:2015 msgid "" "If the string ends with the *suffix* string and that *suffix* is not empty, " "return ``string[:-len(suffix)]``. Otherwise, return a copy of the original " @@ -3419,7 +3424,7 @@ msgstr "" "文字列が *suffix* で終わる場合、 ``string[:-len(suffix)]`` を返します。それ以" "外の場合、元の文字列のコピーを返します::" -#: ../../library/stdtypes.rst:2013 +#: ../../library/stdtypes.rst:2019 msgid "" ">>> 'MiscTests'.removesuffix('Tests')\n" "'Misc'\n" @@ -3427,7 +3432,7 @@ msgid "" "'TmpDirMixin'" msgstr "" -#: ../../library/stdtypes.rst:2023 +#: ../../library/stdtypes.rst:2029 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If *count* is given, only the first *count* occurrences are " @@ -3439,11 +3444,11 @@ msgstr "" "部分文字列だけを置き換えます。 *count* の指定がないか、または ``-1`` が与えら" "れた場合、全ての部分文字列が置き換えられます。" -#: ../../library/stdtypes.rst:2027 +#: ../../library/stdtypes.rst:2033 msgid "*count* is now supported as a keyword argument." msgstr "*count* はキーワード引数として指定可能になりました。" -#: ../../library/stdtypes.rst:2033 +#: ../../library/stdtypes.rst:2039 msgid "" "Return the highest index in the string where substring *sub* is found, such " "that *sub* is contained within ``s[start:end]``. Optional arguments *start* " @@ -3453,7 +3458,7 @@ msgstr "" "スを返します。オプション引数 *start* および *end* はスライス表記と同様に解釈" "されます。 *sub* が見つからなかった場合 ``-1`` を返します。" -#: ../../library/stdtypes.rst:2040 +#: ../../library/stdtypes.rst:2046 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3461,7 +3466,7 @@ msgstr "" ":meth:`rfind` と同様ですが、 *sub* が見つからなかった場合 :exc:`ValueError` " "を送出します。" -#: ../../library/stdtypes.rst:2046 +#: ../../library/stdtypes.rst:2052 msgid "" "Return the string right justified in a string of length *width*. Padding is " "done using the specified *fillchar* (default is an ASCII space). The " @@ -3471,7 +3476,7 @@ msgstr "" "指定された文字(デフォルトでは ASCII スペース)が使われます。 *width* が " "``len(s)`` 以下の場合、元の文字列が返されます。" -#: ../../library/stdtypes.rst:2053 +#: ../../library/stdtypes.rst:2059 msgid "" "Split the string at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself, and the part " @@ -3483,7 +3488,7 @@ msgstr "" "す。もし区切れなければ、タプルには二つの空文字列とその後ろに元の文字列そのも" "のが入ります。" -#: ../../library/stdtypes.rst:2061 +#: ../../library/stdtypes.rst:2067 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done, the " @@ -3497,7 +3502,7 @@ msgstr "" "ます。右から分割していくことを除けば、 :meth:`rsplit` は後ほど詳しく述べる :" "meth:`split` と同様に振る舞います。" -#: ../../library/stdtypes.rst:2070 +#: ../../library/stdtypes.rst:2076 msgid "" "Return a copy of the string with trailing characters removed. The *chars* " "argument is a string specifying the set of characters to be removed. If " @@ -3510,7 +3515,7 @@ msgstr "" "されます。 *chars* 文字列は接尾語ではなく、そこに含まれる文字の組み合わせ全て" "がはぎ取られます::" -#: ../../library/stdtypes.rst:2075 +#: ../../library/stdtypes.rst:2081 msgid "" ">>> ' spacious '.rstrip()\n" "' spacious'\n" @@ -3518,7 +3523,7 @@ msgid "" "'mississ'" msgstr "" -#: ../../library/stdtypes.rst:2080 +#: ../../library/stdtypes.rst:2086 msgid "" "See :meth:`str.removesuffix` for a method that will remove a single suffix " "string rather than all of a set of characters. For example::" @@ -3526,7 +3531,7 @@ msgstr "" "文字の集合全てではなく、指定した文字列そのものを接尾辞として削除するメソッド" "については :meth:`str.removesuffix` を参照してください。使用例::" -#: ../../library/stdtypes.rst:2083 +#: ../../library/stdtypes.rst:2089 msgid "" ">>> 'Monty Python'.rstrip(' Python')\n" "'M'\n" @@ -3534,7 +3539,7 @@ msgid "" "'Monty'" msgstr "" -#: ../../library/stdtypes.rst:2090 +#: ../../library/stdtypes.rst:2096 msgid "" "Return a list of the words in the string, using *sep* as the delimiter " "string. If *maxsplit* is given, at most *maxsplit* splits are done (thus, " @@ -3547,7 +3552,7 @@ msgstr "" "トは最大 ``maxsplit+1`` 要素になります)。 *maxsplit* が与えられないか ``-1`` " "なら、分割の回数に制限はありません (可能なだけ分割されます)。" -#: ../../library/stdtypes.rst:2096 +#: ../../library/stdtypes.rst:2102 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3562,20 +3567,20 @@ msgstr "" "字で分割するには :func:`re.split` を使用します)。区切り文字を指定して空の文字" "列を分割すると、 ``['']`` を返します。" -#: ../../library/stdtypes.rst:2103 ../../library/stdtypes.rst:2121 -#: ../../library/stdtypes.rst:2173 ../../library/stdtypes.rst:2241 -#: ../../library/stdtypes.rst:2309 ../../library/stdtypes.rst:3161 -#: ../../library/stdtypes.rst:3179 ../../library/stdtypes.rst:3270 -#: ../../library/stdtypes.rst:3286 ../../library/stdtypes.rst:3311 -#: ../../library/stdtypes.rst:3325 ../../library/stdtypes.rst:3353 -#: ../../library/stdtypes.rst:3367 ../../library/stdtypes.rst:3385 -#: ../../library/stdtypes.rst:3412 ../../library/stdtypes.rst:3435 -#: ../../library/stdtypes.rst:3462 ../../library/stdtypes.rst:3504 -#: ../../library/stdtypes.rst:3528 +#: ../../library/stdtypes.rst:2109 ../../library/stdtypes.rst:2127 +#: ../../library/stdtypes.rst:2179 ../../library/stdtypes.rst:2247 +#: ../../library/stdtypes.rst:2315 ../../library/stdtypes.rst:3167 +#: ../../library/stdtypes.rst:3185 ../../library/stdtypes.rst:3276 +#: ../../library/stdtypes.rst:3292 ../../library/stdtypes.rst:3317 +#: ../../library/stdtypes.rst:3331 ../../library/stdtypes.rst:3359 +#: ../../library/stdtypes.rst:3373 ../../library/stdtypes.rst:3391 +#: ../../library/stdtypes.rst:3418 ../../library/stdtypes.rst:3441 +#: ../../library/stdtypes.rst:3468 ../../library/stdtypes.rst:3510 +#: ../../library/stdtypes.rst:3534 msgid "For example::" msgstr "例えば::" -#: ../../library/stdtypes.rst:2105 +#: ../../library/stdtypes.rst:2111 msgid "" ">>> '1,2,3'.split(',')\n" "['1', '2', '3']\n" @@ -3587,7 +3592,7 @@ msgid "" "['1', '2', '3<4']" msgstr "" -#: ../../library/stdtypes.rst:2114 +#: ../../library/stdtypes.rst:2120 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive whitespace are regarded as a single separator, " @@ -3601,7 +3606,7 @@ msgstr "" "末尾に空白があっても、結果の最初や最後に空文字列は含まれません。よって、空文" "字列や空白だけの文字列を ``None`` デリミタで分割すると ``[]`` が返されます。" -#: ../../library/stdtypes.rst:2123 +#: ../../library/stdtypes.rst:2129 msgid "" ">>> '1 2 3'.split()\n" "['1', '2', '3']\n" @@ -3611,7 +3616,7 @@ msgid "" "['1', '2', '3']" msgstr "" -#: ../../library/stdtypes.rst:2136 +#: ../../library/stdtypes.rst:2142 msgid "" "Return a list of the lines in the string, breaking at line boundaries. Line " "breaks are not included in the resulting list unless *keepends* is given and " @@ -3620,7 +3625,7 @@ msgstr "" "文字列を改行部分で分解し、各行からなるリストを返します。 *keepends* に真が与" "えらない限り、返されるリストに改行は含まれません。" -#: ../../library/stdtypes.rst:2140 +#: ../../library/stdtypes.rst:2146 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3628,107 +3633,107 @@ msgstr "" "このメソッドは以下の行境界で分解します。特に、以下の境界は :term:`universal " "newlines` のスーパーセットです。" -#: ../../library/stdtypes.rst:2144 +#: ../../library/stdtypes.rst:2150 msgid "Representation" msgstr "表現" -#: ../../library/stdtypes.rst:2144 +#: ../../library/stdtypes.rst:2150 msgid "Description" msgstr "説明" -#: ../../library/stdtypes.rst:2146 +#: ../../library/stdtypes.rst:2152 msgid "``\\n``" msgstr "``\\n``" -#: ../../library/stdtypes.rst:2146 +#: ../../library/stdtypes.rst:2152 msgid "Line Feed" msgstr "改行" -#: ../../library/stdtypes.rst:2148 +#: ../../library/stdtypes.rst:2154 msgid "``\\r``" msgstr "``\\r``" -#: ../../library/stdtypes.rst:2148 +#: ../../library/stdtypes.rst:2154 msgid "Carriage Return" msgstr "復帰" -#: ../../library/stdtypes.rst:2150 +#: ../../library/stdtypes.rst:2156 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: ../../library/stdtypes.rst:2150 +#: ../../library/stdtypes.rst:2156 msgid "Carriage Return + Line Feed" msgstr "改行 + 復帰" -#: ../../library/stdtypes.rst:2152 +#: ../../library/stdtypes.rst:2158 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: ../../library/stdtypes.rst:2152 +#: ../../library/stdtypes.rst:2158 msgid "Line Tabulation" msgstr "垂直タブ" -#: ../../library/stdtypes.rst:2154 +#: ../../library/stdtypes.rst:2160 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: ../../library/stdtypes.rst:2154 +#: ../../library/stdtypes.rst:2160 msgid "Form Feed" msgstr "改ページ" -#: ../../library/stdtypes.rst:2156 +#: ../../library/stdtypes.rst:2162 msgid "``\\x1c``" msgstr "``\\x1c``" -#: ../../library/stdtypes.rst:2156 +#: ../../library/stdtypes.rst:2162 msgid "File Separator" msgstr "ファイル区切り" -#: ../../library/stdtypes.rst:2158 +#: ../../library/stdtypes.rst:2164 msgid "``\\x1d``" msgstr "``\\x1d``" -#: ../../library/stdtypes.rst:2158 +#: ../../library/stdtypes.rst:2164 msgid "Group Separator" msgstr "グループ区切り" -#: ../../library/stdtypes.rst:2160 +#: ../../library/stdtypes.rst:2166 msgid "``\\x1e``" msgstr "``\\x1e``" -#: ../../library/stdtypes.rst:2160 +#: ../../library/stdtypes.rst:2166 msgid "Record Separator" msgstr "レコード区切り" -#: ../../library/stdtypes.rst:2162 +#: ../../library/stdtypes.rst:2168 msgid "``\\x85``" msgstr "``\\x85``" -#: ../../library/stdtypes.rst:2162 +#: ../../library/stdtypes.rst:2168 msgid "Next Line (C1 Control Code)" msgstr "改行 (C1 制御コード)" -#: ../../library/stdtypes.rst:2164 +#: ../../library/stdtypes.rst:2170 msgid "``\\u2028``" msgstr "``\\u2028``" -#: ../../library/stdtypes.rst:2164 +#: ../../library/stdtypes.rst:2170 msgid "Line Separator" msgstr "行区切り" -#: ../../library/stdtypes.rst:2166 +#: ../../library/stdtypes.rst:2172 msgid "``\\u2029``" msgstr "``\\u2029``" -#: ../../library/stdtypes.rst:2166 +#: ../../library/stdtypes.rst:2172 msgid "Paragraph Separator" msgstr "段落区切り" -#: ../../library/stdtypes.rst:2171 +#: ../../library/stdtypes.rst:2177 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` と ``\\f`` が行境界のリストに追加されました。" -#: ../../library/stdtypes.rst:2175 +#: ../../library/stdtypes.rst:2181 msgid "" ">>> 'ab c\\n\\nde fg\\rkl\\r\\n'.splitlines()\n" "['ab c', '', 'de fg', 'kl']\n" @@ -3736,7 +3741,7 @@ msgid "" "['ab c\\n', '\\n', 'de fg\\r', 'kl\\r\\n']" msgstr "" -#: ../../library/stdtypes.rst:2180 +#: ../../library/stdtypes.rst:2186 msgid "" "Unlike :meth:`~str.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -3745,7 +3750,7 @@ msgstr "" ":meth:`~str.split` とは違って、デリミタ文字列 *sep* が与えられたとき、このメ" "ソッドは空文字列に空リストを返し、終末の改行は結果に行を追加しません::" -#: ../../library/stdtypes.rst:2184 +#: ../../library/stdtypes.rst:2190 msgid "" ">>> \"\".splitlines()\n" "[]\n" @@ -3753,11 +3758,11 @@ msgid "" "['One line']" msgstr "" -#: ../../library/stdtypes.rst:2189 +#: ../../library/stdtypes.rst:2195 msgid "For comparison, ``split('\\n')`` gives::" msgstr "比較のために ``split('\\n')`` は以下のようになります::" -#: ../../library/stdtypes.rst:2191 +#: ../../library/stdtypes.rst:2197 msgid "" ">>> ''.split('\\n')\n" "['']\n" @@ -3765,7 +3770,7 @@ msgid "" "['Two lines', '']" msgstr "" -#: ../../library/stdtypes.rst:2199 +#: ../../library/stdtypes.rst:2205 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3777,7 +3782,7 @@ msgstr "" "ん。オプションの *start* があれば、その位置から判定を始めます。オプションの " "*end* があれば、その位置で比較を止めます。" -#: ../../library/stdtypes.rst:2207 +#: ../../library/stdtypes.rst:2213 msgid "" "Return a copy of the string with the leading and trailing characters " "removed. The *chars* argument is a string specifying the set of characters " @@ -3790,7 +3795,7 @@ msgstr "" "文字が除去されます。 *chars* 文字列は接頭語でも接尾語でもなく、そこに含まれる" "文字の組み合わせ全てがはぎ取られます::" -#: ../../library/stdtypes.rst:2213 +#: ../../library/stdtypes.rst:2219 msgid "" ">>> ' spacious '.strip()\n" "'spacious'\n" @@ -3798,7 +3803,7 @@ msgid "" "'example'" msgstr "" -#: ../../library/stdtypes.rst:2218 +#: ../../library/stdtypes.rst:2224 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3810,14 +3815,14 @@ msgstr "" "す。文字列の末尾に対しても同様の操作が行われます。例えば、次のようになりま" "す::" -#: ../../library/stdtypes.rst:2224 +#: ../../library/stdtypes.rst:2230 msgid "" ">>> comment_string = '#....... Section 3.2.1 Issue #32 .......'\n" ">>> comment_string.strip('.#! ')\n" "'Section 3.2.1 Issue #32'" msgstr "" -#: ../../library/stdtypes.rst:2231 +#: ../../library/stdtypes.rst:2237 msgid "" "Return a copy of the string with uppercase characters converted to lowercase " "and vice versa. Note that it is not necessarily true that ``s.swapcase()." @@ -3826,7 +3831,7 @@ msgstr "" "大文字が小文字に、小文字が大文字に変換された、文字列のコピーを返します。な" "お、 ``s.swapcase().swapcase() == s`` が真であるとは限りません。" -#: ../../library/stdtypes.rst:2238 +#: ../../library/stdtypes.rst:2244 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3834,13 +3839,13 @@ msgstr "" "文字列を、単語ごとに大文字から始まり、残りの文字のうち大小文字の区別があるも" "のは全て小文字にする、タイトルケースにして返します。" -#: ../../library/stdtypes.rst:2243 +#: ../../library/stdtypes.rst:2249 msgid "" ">>> 'Hello world'.title()\n" "'Hello World'" msgstr "" -#: ../../library/stdtypes.rst:2246 ../../library/stdtypes.rst:3472 +#: ../../library/stdtypes.rst:2252 ../../library/stdtypes.rst:3478 msgid "" "The algorithm uses a simple language-independent definition of a word as " "groups of consecutive letters. The definition works in many contexts but it " @@ -3852,13 +3857,13 @@ msgstr "" "アポストロフィが単語の境界になってしまい、望みの結果を得られない場合がありま" "す::" -#: ../../library/stdtypes.rst:2251 +#: ../../library/stdtypes.rst:2257 msgid "" ">>> \"they're bill's friends from the UK\".title()\n" "\"They'Re Bill'S Friends From The Uk\"" msgstr "" -#: ../../library/stdtypes.rst:2254 +#: ../../library/stdtypes.rst:2260 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." @@ -3866,13 +3871,13 @@ msgstr "" ":func:`string.capwords` 関数は単語をスペースでのみ分割するため、この問題はあ" "りません。" -#: ../../library/stdtypes.rst:2257 +#: ../../library/stdtypes.rst:2263 msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " "expressions::" msgstr "または、正規表現を使うことでアポストロフィに対応できます::" -#: ../../library/stdtypes.rst:2260 +#: ../../library/stdtypes.rst:2266 msgid "" ">>> import re\n" ">>> def titlecase(s):\n" @@ -3884,7 +3889,7 @@ msgid "" "\"They're Bill's Friends.\"" msgstr "" -#: ../../library/stdtypes.rst:2272 +#: ../../library/stdtypes.rst:2278 msgid "" "Return a copy of the string in which each character has been mapped through " "the given translation table. The table must be an object that implements " @@ -3905,7 +3910,7 @@ msgstr "" "ること、例外 :exc:`LookupError` を送出して文字をその文字自身にマッピングする" "こと。" -#: ../../library/stdtypes.rst:2281 +#: ../../library/stdtypes.rst:2287 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." @@ -3913,7 +3918,7 @@ msgstr "" "文字から文字への異なる形式のマッピングから変換マップを作成するために、 :meth:" "`str.maketrans` が使えます。" -#: ../../library/stdtypes.rst:2284 +#: ../../library/stdtypes.rst:2290 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." @@ -3921,7 +3926,7 @@ msgstr "" "文字のマッピングを好みに合わせてより柔軟に変更する方法については、:mod:" "`codecs` モジュールも参照してください。" -#: ../../library/stdtypes.rst:2290 +#: ../../library/stdtypes.rst:2296 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "uppercase. Note that ``s.upper().isupper()`` might be ``False`` if ``s`` " @@ -3934,7 +3939,7 @@ msgstr "" "含まなかったり、結果の文字の Unicode カテゴリが \"Lu\" ではなく例えば " "\"Lt\" (Letter, titlecase) などであったら、 ``False`` になりえます。" -#: ../../library/stdtypes.rst:2296 +#: ../../library/stdtypes.rst:2302 msgid "" "The uppercasing algorithm used is `described in section 3.13 'Default Case " "Folding' of the Unicode Standard `__ 。" -#: ../../library/stdtypes.rst:2303 +#: ../../library/stdtypes.rst:2309 msgid "" "Return a copy of the string left filled with ASCII ``'0'`` digits to make a " "string of length *width*. A leading sign prefix (``'+'``/``'-'``) is handled " @@ -3956,7 +3961,7 @@ msgstr "" "く *後* に挿入されます。*width* が ``len(s)`` 以下の場合元の文字列を返しま" "す。" -#: ../../library/stdtypes.rst:2311 +#: ../../library/stdtypes.rst:2317 msgid "" ">>> \"42\".zfill(5)\n" "'00042'\n" @@ -3964,11 +3969,11 @@ msgid "" "'-0042'" msgstr "" -#: ../../library/stdtypes.rst:2321 +#: ../../library/stdtypes.rst:2327 msgid "``printf``-style String Formatting" msgstr "``printf`` 形式の文字列書式化" -#: ../../library/stdtypes.rst:2334 +#: ../../library/stdtypes.rst:2340 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -3986,7 +3991,7 @@ msgstr "" "これらの代替手段には、それ自身に、トレードオフや、簡潔さ、柔軟さ、拡張性と" "いった利点があります。" -#: ../../library/stdtypes.rst:2342 +#: ../../library/stdtypes.rst:2348 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -4001,13 +4006,13 @@ msgstr "" "の ``%`` による変換の指定は0こ以上の *values* の要素で置き換えられます。この" "動作は C 言語における :c:func:`sprintf` 関数の利用方法に似ています。使用例:" -#: ../../library/stdtypes.rst:2349 +#: ../../library/stdtypes.rst:2355 msgid "" ">>> print('%s has %d quote types.' % ('Python', 2))\n" "Python has 2 quote types." msgstr "" -#: ../../library/stdtypes.rst:2354 +#: ../../library/stdtypes.rst:2360 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -4019,7 +4024,7 @@ msgstr "" "列中で指定された項目と正確に同じ数の要素からなるタプルか、単一のマップオブ" "ジェクトでなければなりません。" -#: ../../library/stdtypes.rst:2364 ../../library/stdtypes.rst:3583 +#: ../../library/stdtypes.rst:2370 ../../library/stdtypes.rst:3589 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" @@ -4027,11 +4032,11 @@ msgstr "" "一つの変換指定子は 2 またはそれ以上の文字を含み、その構成要素は以下からなりま" "すが、示した順に出現しなければなりません:" -#: ../../library/stdtypes.rst:2367 ../../library/stdtypes.rst:3586 +#: ../../library/stdtypes.rst:2373 ../../library/stdtypes.rst:3592 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "指定子の開始を示す文字 ``'%'`` 。" -#: ../../library/stdtypes.rst:2369 ../../library/stdtypes.rst:3588 +#: ../../library/stdtypes.rst:2375 ../../library/stdtypes.rst:3594 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." @@ -4039,13 +4044,13 @@ msgstr "" "マップキー (オプション)。丸括弧で囲った文字列からなります (例えば " "``(somename)``) 。" -#: ../../library/stdtypes.rst:2372 ../../library/stdtypes.rst:3591 +#: ../../library/stdtypes.rst:2378 ../../library/stdtypes.rst:3597 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "変換フラグ (オプション)。一部の変換型の結果に影響します。" -#: ../../library/stdtypes.rst:2375 ../../library/stdtypes.rst:3594 +#: ../../library/stdtypes.rst:2381 ../../library/stdtypes.rst:3600 msgid "" "Minimum field width (optional). If specified as an ``'*'`` (asterisk), the " "actual width is read from the next element of the tuple in *values*, and the " @@ -4056,7 +4061,7 @@ msgstr "" "フィールド幅やオプションの精度指定の後に変換したいオブジェクトがくるようにし" "ます。" -#: ../../library/stdtypes.rst:2379 ../../library/stdtypes.rst:3598 +#: ../../library/stdtypes.rst:2385 ../../library/stdtypes.rst:3604 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -4067,15 +4072,15 @@ msgstr "" "``'*'`` (アスタリスク) を指定した場合、精度の桁数は *values* タプルの次の要素" "から読み出されます。タプルには精度指定の後に変換したい値がくるようにします。" -#: ../../library/stdtypes.rst:2384 ../../library/stdtypes.rst:3603 +#: ../../library/stdtypes.rst:2390 ../../library/stdtypes.rst:3609 msgid "Length modifier (optional)." msgstr "精度長変換子 (オプション)。" -#: ../../library/stdtypes.rst:2386 ../../library/stdtypes.rst:3605 +#: ../../library/stdtypes.rst:2392 ../../library/stdtypes.rst:3611 msgid "Conversion type." msgstr "変換型。" -#: ../../library/stdtypes.rst:2388 +#: ../../library/stdtypes.rst:2394 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the string *must* include a parenthesised mapping key into that " @@ -4087,7 +4092,7 @@ msgstr "" "後にくるようにしたものが含まれていなければ *なりません* 。マップキーはフォー" "マット化したい値をマップから選び出します。例えば:" -#: ../../library/stdtypes.rst:2397 ../../library/stdtypes.rst:3616 +#: ../../library/stdtypes.rst:2403 ../../library/stdtypes.rst:3622 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." @@ -4095,36 +4100,36 @@ msgstr "" "この場合、 ``*`` 指定子をフォーマットに含めてはいけません (``*`` 指定子は順番" "付けされたパラメタのリストが必要だからです)。" -#: ../../library/stdtypes.rst:2400 ../../library/stdtypes.rst:3619 +#: ../../library/stdtypes.rst:2406 ../../library/stdtypes.rst:3625 msgid "The conversion flag characters are:" msgstr "変換フラグ文字を以下に示します:" -#: ../../library/stdtypes.rst:2409 ../../library/stdtypes.rst:3628 +#: ../../library/stdtypes.rst:2415 ../../library/stdtypes.rst:3634 msgid "Flag" msgstr "Flag" -#: ../../library/stdtypes.rst:2411 ../../library/stdtypes.rst:3630 +#: ../../library/stdtypes.rst:2417 ../../library/stdtypes.rst:3636 msgid "``'#'``" msgstr "``'#'``" -#: ../../library/stdtypes.rst:2411 ../../library/stdtypes.rst:3630 +#: ../../library/stdtypes.rst:2417 ../../library/stdtypes.rst:3636 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "値の変換に (下で定義されている) \"別の形式\" を使います。" -#: ../../library/stdtypes.rst:2414 ../../library/stdtypes.rst:3633 +#: ../../library/stdtypes.rst:2420 ../../library/stdtypes.rst:3639 msgid "``'0'``" msgstr "``'0'``" -#: ../../library/stdtypes.rst:2414 ../../library/stdtypes.rst:3633 +#: ../../library/stdtypes.rst:2420 ../../library/stdtypes.rst:3639 msgid "The conversion will be zero padded for numeric values." msgstr "数値型に対してゼロによるパディングを行います。" -#: ../../library/stdtypes.rst:2416 ../../library/stdtypes.rst:3635 +#: ../../library/stdtypes.rst:2422 ../../library/stdtypes.rst:3641 msgid "``'-'``" msgstr "``'-'``" -#: ../../library/stdtypes.rst:2416 ../../library/stdtypes.rst:3635 +#: ../../library/stdtypes.rst:2422 ../../library/stdtypes.rst:3641 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." @@ -4132,11 +4137,11 @@ msgstr "" "変換された値を左寄せにします (``'0'`` と同時に与えた場合、 ``'0'`` を上書きし" "ます) 。" -#: ../../library/stdtypes.rst:2419 ../../library/stdtypes.rst:3638 +#: ../../library/stdtypes.rst:2425 ../../library/stdtypes.rst:3644 msgid "``' '``" msgstr "``' '``" -#: ../../library/stdtypes.rst:2419 ../../library/stdtypes.rst:3638 +#: ../../library/stdtypes.rst:2425 ../../library/stdtypes.rst:3644 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." @@ -4144,11 +4149,11 @@ msgstr "" "(スペース) 符号付きの変換で正の数の場合、前に一つスペースを空けます (そうでな" "い場合は空文字になります) 。" -#: ../../library/stdtypes.rst:2422 ../../library/stdtypes.rst:3641 +#: ../../library/stdtypes.rst:2428 ../../library/stdtypes.rst:3647 msgid "``'+'``" msgstr "``'+'``" -#: ../../library/stdtypes.rst:2422 ../../library/stdtypes.rst:3641 +#: ../../library/stdtypes.rst:2428 ../../library/stdtypes.rst:3647 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." @@ -4156,7 +4161,7 @@ msgstr "" "変換の先頭に符号文字 (``'+'`` または ``'-'``) を付けます(\"スペース\" フラグ" "を上書きします) 。" -#: ../../library/stdtypes.rst:2426 ../../library/stdtypes.rst:3645 +#: ../../library/stdtypes.rst:2432 ../../library/stdtypes.rst:3651 msgid "" "A length modifier (``h``, ``l``, or ``L``) may be present, but is ignored as " "it is not necessary for Python -- so e.g. ``%ld`` is identical to ``%d``." @@ -4164,93 +4169,93 @@ msgstr "" "精度長変換子(``h``, ``l``,または ``L``) を使うことができますが、 Python では" "必要ないため無視されます。 -- つまり、例えば ``%ld`` は ``%d`` と等価です。" -#: ../../library/stdtypes.rst:2429 ../../library/stdtypes.rst:3648 +#: ../../library/stdtypes.rst:2435 ../../library/stdtypes.rst:3654 msgid "The conversion types are:" msgstr "変換型を以下に示します:" -#: ../../library/stdtypes.rst:2432 ../../library/stdtypes.rst:3651 +#: ../../library/stdtypes.rst:2438 ../../library/stdtypes.rst:3657 msgid "Conversion" msgstr "変換" -#: ../../library/stdtypes.rst:2434 ../../library/stdtypes.rst:3653 +#: ../../library/stdtypes.rst:2440 ../../library/stdtypes.rst:3659 msgid "``'d'``" msgstr "``'d'``" -#: ../../library/stdtypes.rst:2434 ../../library/stdtypes.rst:2436 -#: ../../library/stdtypes.rst:3653 ../../library/stdtypes.rst:3655 +#: ../../library/stdtypes.rst:2440 ../../library/stdtypes.rst:2442 +#: ../../library/stdtypes.rst:3659 ../../library/stdtypes.rst:3661 msgid "Signed integer decimal." msgstr "符号付き 10 進整数。" -#: ../../library/stdtypes.rst:2436 ../../library/stdtypes.rst:3655 +#: ../../library/stdtypes.rst:2442 ../../library/stdtypes.rst:3661 msgid "``'i'``" msgstr "``'i'``" -#: ../../library/stdtypes.rst:2438 ../../library/stdtypes.rst:3657 +#: ../../library/stdtypes.rst:2444 ../../library/stdtypes.rst:3663 msgid "``'o'``" msgstr "``'o'``" -#: ../../library/stdtypes.rst:2438 ../../library/stdtypes.rst:3657 +#: ../../library/stdtypes.rst:2444 ../../library/stdtypes.rst:3663 msgid "Signed octal value." msgstr "符号付き 8 進数。" -#: ../../library/stdtypes.rst:2440 ../../library/stdtypes.rst:3659 +#: ../../library/stdtypes.rst:2446 ../../library/stdtypes.rst:3665 msgid "``'u'``" msgstr "``'u'``" -#: ../../library/stdtypes.rst:2440 ../../library/stdtypes.rst:3659 +#: ../../library/stdtypes.rst:2446 ../../library/stdtypes.rst:3665 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "旧式の型 -- ``'d'`` と同じです。" -#: ../../library/stdtypes.rst:2442 ../../library/stdtypes.rst:3661 +#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:3667 msgid "``'x'``" msgstr "``'x'``" -#: ../../library/stdtypes.rst:2442 ../../library/stdtypes.rst:3661 +#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:3667 msgid "Signed hexadecimal (lowercase)." msgstr "符号付き 16 進数 (小文字)。" -#: ../../library/stdtypes.rst:2444 ../../library/stdtypes.rst:3663 +#: ../../library/stdtypes.rst:2450 ../../library/stdtypes.rst:3669 msgid "``'X'``" msgstr "``'X'``" -#: ../../library/stdtypes.rst:2444 ../../library/stdtypes.rst:3663 +#: ../../library/stdtypes.rst:2450 ../../library/stdtypes.rst:3669 msgid "Signed hexadecimal (uppercase)." msgstr "符号付き 16 進数 (大文字)。" -#: ../../library/stdtypes.rst:2446 ../../library/stdtypes.rst:3665 +#: ../../library/stdtypes.rst:2452 ../../library/stdtypes.rst:3671 msgid "``'e'``" msgstr "``'e'``" -#: ../../library/stdtypes.rst:2446 ../../library/stdtypes.rst:3665 +#: ../../library/stdtypes.rst:2452 ../../library/stdtypes.rst:3671 msgid "Floating-point exponential format (lowercase)." msgstr "指数表記の浮動小数点数 (小文字)。" -#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:3667 +#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:3673 msgid "``'E'``" msgstr "``'E'``" -#: ../../library/stdtypes.rst:2448 ../../library/stdtypes.rst:3667 +#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:3673 msgid "Floating-point exponential format (uppercase)." msgstr "指数表記の浮動小数点数 (大文字)。" -#: ../../library/stdtypes.rst:2450 ../../library/stdtypes.rst:3669 +#: ../../library/stdtypes.rst:2456 ../../library/stdtypes.rst:3675 msgid "``'f'``" msgstr "``'f'``" -#: ../../library/stdtypes.rst:2450 ../../library/stdtypes.rst:2452 -#: ../../library/stdtypes.rst:3669 ../../library/stdtypes.rst:3671 +#: ../../library/stdtypes.rst:2456 ../../library/stdtypes.rst:2458 +#: ../../library/stdtypes.rst:3675 ../../library/stdtypes.rst:3677 msgid "Floating-point decimal format." msgstr "10 進浮動小数点数。" -#: ../../library/stdtypes.rst:2452 ../../library/stdtypes.rst:3671 +#: ../../library/stdtypes.rst:2458 ../../library/stdtypes.rst:3677 msgid "``'F'``" msgstr "``'F'``" -#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:3673 +#: ../../library/stdtypes.rst:2460 ../../library/stdtypes.rst:3679 msgid "``'g'``" msgstr "``'g'``" -#: ../../library/stdtypes.rst:2454 ../../library/stdtypes.rst:3673 +#: ../../library/stdtypes.rst:2460 ../../library/stdtypes.rst:3679 msgid "" "Floating-point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -4258,11 +4263,11 @@ msgstr "" "浮動小数点数。指数部が -4 以上または精度以下の場合には小文字指数表記、それ以" "外の場合には10進表記。" -#: ../../library/stdtypes.rst:2458 ../../library/stdtypes.rst:3677 +#: ../../library/stdtypes.rst:2464 ../../library/stdtypes.rst:3683 msgid "``'G'``" msgstr "``'G'``" -#: ../../library/stdtypes.rst:2458 ../../library/stdtypes.rst:3677 +#: ../../library/stdtypes.rst:2464 ../../library/stdtypes.rst:3683 msgid "" "Floating-point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." @@ -4270,47 +4275,47 @@ msgstr "" "浮動小数点数。指数部が -4 以上または精度以下の場合には大文字指数表記、それ以" "外の場合には10進表記。" -#: ../../library/stdtypes.rst:2462 ../../library/stdtypes.rst:3681 +#: ../../library/stdtypes.rst:2468 ../../library/stdtypes.rst:3687 msgid "``'c'``" msgstr "``'c'``" -#: ../../library/stdtypes.rst:2462 +#: ../../library/stdtypes.rst:2468 msgid "Single character (accepts integer or single character string)." msgstr "文字一文字 (整数または一文字からなる文字列を受理します)。" -#: ../../library/stdtypes.rst:2465 ../../library/stdtypes.rst:3694 +#: ../../library/stdtypes.rst:2471 ../../library/stdtypes.rst:3700 msgid "``'r'``" msgstr "``'r'``" -#: ../../library/stdtypes.rst:2465 +#: ../../library/stdtypes.rst:2471 msgid "String (converts any Python object using :func:`repr`)." msgstr "文字列 (Python オブジェクトを :func:`repr` で変換します)。" -#: ../../library/stdtypes.rst:2468 ../../library/stdtypes.rst:3688 +#: ../../library/stdtypes.rst:2474 ../../library/stdtypes.rst:3694 msgid "``'s'``" msgstr "``'s'``" -#: ../../library/stdtypes.rst:2468 +#: ../../library/stdtypes.rst:2474 msgid "String (converts any Python object using :func:`str`)." msgstr "文字列 (Python オブジェクトを :func:`str` で変換します)。" -#: ../../library/stdtypes.rst:2471 ../../library/stdtypes.rst:3691 +#: ../../library/stdtypes.rst:2477 ../../library/stdtypes.rst:3697 msgid "``'a'``" msgstr "``'a'``" -#: ../../library/stdtypes.rst:2471 +#: ../../library/stdtypes.rst:2477 msgid "String (converts any Python object using :func:`ascii`)." msgstr "文字列 (Python オブジェクトを :func:`ascii` で変換します)。" -#: ../../library/stdtypes.rst:2474 ../../library/stdtypes.rst:3697 +#: ../../library/stdtypes.rst:2480 ../../library/stdtypes.rst:3703 msgid "``'%'``" msgstr "``'%'``" -#: ../../library/stdtypes.rst:2474 ../../library/stdtypes.rst:3697 +#: ../../library/stdtypes.rst:2480 ../../library/stdtypes.rst:3703 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "引数を変換せず、返される文字列中では文字 ``'%'`` になります。" -#: ../../library/stdtypes.rst:2481 ../../library/stdtypes.rst:3704 +#: ../../library/stdtypes.rst:2487 ../../library/stdtypes.rst:3710 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." @@ -4318,7 +4323,7 @@ msgstr "" "別の形式を指定(訳注: 変換フラグ ``#`` を使用)すると 8 進数を表す接頭辞 " "(``'0o'``) が最初の数字の前に挿入されます。" -#: ../../library/stdtypes.rst:2485 ../../library/stdtypes.rst:3708 +#: ../../library/stdtypes.rst:2491 ../../library/stdtypes.rst:3714 msgid "" "The alternate form causes a leading ``'0x'`` or ``'0X'`` (depending on " "whether the ``'x'`` or ``'X'`` format was used) to be inserted before the " @@ -4328,7 +4333,7 @@ msgstr "" "``'0x'`` または ``'0X'`` (使用するフォーマット文字が ``'x'`` か ``'X'`` に依" "存します) が最初の数字の前に挿入されます。" -#: ../../library/stdtypes.rst:2489 ../../library/stdtypes.rst:3712 +#: ../../library/stdtypes.rst:2495 ../../library/stdtypes.rst:3718 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." @@ -4336,13 +4341,13 @@ msgstr "" "この形式にした場合、変換結果には常に小数点が含まれ、それはその後ろに数字が続" "かない場合にも適用されます。" -#: ../../library/stdtypes.rst:2492 ../../library/stdtypes.rst:3715 +#: ../../library/stdtypes.rst:2498 ../../library/stdtypes.rst:3721 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "指定精度は小数点の後の桁数を決定し、そのデフォルトは 6 です。" -#: ../../library/stdtypes.rst:2496 ../../library/stdtypes.rst:3719 +#: ../../library/stdtypes.rst:2502 ../../library/stdtypes.rst:3725 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." @@ -4350,21 +4355,21 @@ msgstr "" "この形式にした場合、変換結果には常に小数点が含まれ他の形式とは違って末尾の 0 " "は取り除かれません。" -#: ../../library/stdtypes.rst:2499 ../../library/stdtypes.rst:3722 +#: ../../library/stdtypes.rst:2505 ../../library/stdtypes.rst:3728 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "指定精度は小数点の前後の有効桁数を決定し、そのデフォルトは 6 です。" -#: ../../library/stdtypes.rst:2503 ../../library/stdtypes.rst:3726 +#: ../../library/stdtypes.rst:2509 ../../library/stdtypes.rst:3732 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "精度が ``N`` なら、出力は ``N`` 文字に切り詰められます。" -#: ../../library/stdtypes.rst:2506 ../../library/stdtypes.rst:3735 +#: ../../library/stdtypes.rst:2512 ../../library/stdtypes.rst:3741 msgid "See :pep:`237`." msgstr ":pep:`237` を参照してください。" -#: ../../library/stdtypes.rst:2508 +#: ../../library/stdtypes.rst:2514 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." @@ -4372,7 +4377,7 @@ msgstr "" "Python 文字列には明示的な長さ情報があるので、 ``%s`` 変換において ``'\\0'`` " "を文字列の末端と仮定したりはしません。" -#: ../../library/stdtypes.rst:2513 +#: ../../library/stdtypes.rst:2519 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." @@ -4380,7 +4385,7 @@ msgstr "" "絶対値が 1e50 を超える数値の ``%f`` 変換が ``%g`` 変換に置き換えられなくなり" "ました。" -#: ../../library/stdtypes.rst:2524 +#: ../../library/stdtypes.rst:2530 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" @@ -4388,7 +4393,7 @@ msgstr "" "バイナリシーケンス型 --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" -#: ../../library/stdtypes.rst:2532 +#: ../../library/stdtypes.rst:2538 msgid "" "The core built-in types for manipulating binary data are :class:`bytes` and :" "class:`bytearray`. They are supported by :class:`memoryview` which uses the :" @@ -4400,7 +4405,7 @@ msgstr "" "ること無くアクセスするための :ref:`バッファプロトコル ` を利用" "する :class:`memoryview` でサポートされています。" -#: ../../library/stdtypes.rst:2537 +#: ../../library/stdtypes.rst:2543 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." @@ -4408,11 +4413,11 @@ msgstr "" ":mod:`array` モジュールは、32 ビット整数や IEEE754 倍精度浮動小数点値のような" "基本データ型の、効率的な保存をサポートしています。" -#: ../../library/stdtypes.rst:2543 +#: ../../library/stdtypes.rst:2549 msgid "Bytes Objects" msgstr "バイトオブジェクト" -#: ../../library/stdtypes.rst:2547 +#: ../../library/stdtypes.rst:2553 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -4424,7 +4429,7 @@ msgstr "" "データに対してのみ動作する幾つかのメソッドを提供していて、文字列オブジェクト" "と他の多くの点で近いです。" -#: ../../library/stdtypes.rst:2554 +#: ../../library/stdtypes.rst:2560 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" @@ -4432,21 +4437,21 @@ msgstr "" "まず、 bytes リテラルの構文は文字列リテラルとほぼ同じで、 ``b`` というプリ" "フィックスを付けます:" -#: ../../library/stdtypes.rst:2557 +#: ../../library/stdtypes.rst:2563 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "シングルクォート: ``b'still allows embedded \"double\" quotes'``" -#: ../../library/stdtypes.rst:2558 +#: ../../library/stdtypes.rst:2564 msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``" msgstr "ダブルクォート: ``b\"still allows embedded 'single' quotes\"``." -#: ../../library/stdtypes.rst:2559 +#: ../../library/stdtypes.rst:2565 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" "3重クォート: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" -#: ../../library/stdtypes.rst:2561 +#: ../../library/stdtypes.rst:2567 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " @@ -4456,7 +4461,7 @@ msgstr "" "許可されています。 127より大きい値を bytes リテラルに記述する場合は適切なエス" "ケープシーケンスを書く必要があります。" -#: ../../library/stdtypes.rst:2565 +#: ../../library/stdtypes.rst:2571 msgid "" "As with string literals, bytes literals may also use a ``r`` prefix to " "disable processing of escape sequences. See :ref:`strings` for more about " @@ -4467,7 +4472,7 @@ msgstr "" "やサポートされているエスケープシーケンスについては :ref:`strings` を参照して" "ください。" -#: ../../library/stdtypes.rst:2569 +#: ../../library/stdtypes.rst:2575 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -4488,29 +4493,29 @@ msgstr "" "設計されました (何も考えずにテキスト操作アルゴリズムをASCII非互換なバイナリ" "データフォーマットに対して行うとデータを破壊することがあります)。" -#: ../../library/stdtypes.rst:2579 +#: ../../library/stdtypes.rst:2585 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "リテラル以外に、幾つかの方法で bytes オブジェクトを作ることができます:" -#: ../../library/stdtypes.rst:2582 +#: ../../library/stdtypes.rst:2588 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "指定された長さの、0で埋められた bytes オブジェクト: ``bytes(10)``" -#: ../../library/stdtypes.rst:2583 +#: ../../library/stdtypes.rst:2589 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "整数の iterable から: ``bytes(range(20))``" -#: ../../library/stdtypes.rst:2584 +#: ../../library/stdtypes.rst:2590 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "既存のバイナリデータからバッファプロトコルでコピーする: ``bytes(obj)``" -#: ../../library/stdtypes.rst:2586 +#: ../../library/stdtypes.rst:2592 msgid "Also see the :ref:`bytes ` built-in." msgstr ":ref:`bytes ` ビルトイン関数も参照してください。" -#: ../../library/stdtypes.rst:2588 +#: ../../library/stdtypes.rst:2594 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4521,7 +4526,7 @@ msgstr "" "表現する形式として広く使われています。 従って、 bytes 型にはその形式でデータ" "を読み取るための追加のクラスメソッドがあります。" -#: ../../library/stdtypes.rst:2594 +#: ../../library/stdtypes.rst:2600 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " @@ -4531,7 +4536,7 @@ msgstr "" "ドして bytes オブジェクトを返します。それぞれのバイトを 16 進数 2 桁で表現し" "た文字列を指定しなければなりません。ASCII 空白文字は無視されます。" -#: ../../library/stdtypes.rst:2601 +#: ../../library/stdtypes.rst:2607 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." @@ -4539,7 +4544,7 @@ msgstr "" ":meth:`bytes.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全てをス" "キップするようになりました。" -#: ../../library/stdtypes.rst:2605 +#: ../../library/stdtypes.rst:2611 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." @@ -4547,7 +4552,7 @@ msgstr "" "bytes オブジェクトをその 16 進表記に変換するための、反対向きの変換関数があり" "ます。" -#: ../../library/stdtypes.rst:2610 ../../library/stdtypes.rst:2695 +#: ../../library/stdtypes.rst:2616 ../../library/stdtypes.rst:2701 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." @@ -4555,7 +4560,7 @@ msgstr "" "インスタンス内の 1 バイトにつき 2 つの 16 進数を含む、文字列オブジェクトを返" "します。" -#: ../../library/stdtypes.rst:2616 +#: ../../library/stdtypes.rst:2622 msgid "" "If you want to make the hex string easier to read, you can specify a single " "character separator *sep* parameter to include in the output. By default, " @@ -4569,7 +4574,7 @@ msgstr "" "*bytes_per_sep* はセパレータを入れる間隔を制御します。正の整数値はセパレータ" "の位置を右から計算し、負の整数値は左から計算します。" -#: ../../library/stdtypes.rst:2633 +#: ../../library/stdtypes.rst:2639 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." @@ -4578,7 +4583,7 @@ msgstr "" "のオプションパラメータ *sep* と *bytes_per_sep* をサポートするようになりまし" "た。" -#: ../../library/stdtypes.rst:2637 +#: ../../library/stdtypes.rst:2643 msgid "" "Since bytes objects are sequences of integers (akin to a tuple), for a bytes " "object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be a bytes " @@ -4590,7 +4595,7 @@ msgstr "" "ジェクトになります。 (この動作は、文字列に対するインデックス指定もスライスも" "長さ 1 の文字列を返すのと対照的です。)" -#: ../../library/stdtypes.rst:2642 +#: ../../library/stdtypes.rst:2648 msgid "" "The representation of bytes objects uses the literal format (``b'...'``) " "since it is often more useful than e.g. ``bytes([46, 46, 46])``. You can " @@ -4600,11 +4605,11 @@ msgstr "" "``bytes([46, 46, 46])`` などの形式よりも便利な事が多いからです。 bytes オブ" "ジェクトはいつでも ``list(b)`` で整数のリストに変換できます。" -#: ../../library/stdtypes.rst:2650 +#: ../../library/stdtypes.rst:2656 msgid "Bytearray Objects" msgstr "bytearray オブジェクト" -#: ../../library/stdtypes.rst:2654 +#: ../../library/stdtypes.rst:2660 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." @@ -4612,33 +4617,33 @@ msgstr "" ":class:`bytearray` オブジェクトは :class:`bytes` オブジェクトの可変なバージョ" "ンです。" -#: ../../library/stdtypes.rst:2659 +#: ../../library/stdtypes.rst:2665 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" "bytearray に専用のリテラル構文はないので、コンストラクタを使って作成します:" -#: ../../library/stdtypes.rst:2662 +#: ../../library/stdtypes.rst:2668 msgid "Creating an empty instance: ``bytearray()``" msgstr "空のインスタンスを作る: ``bytearray()``" -#: ../../library/stdtypes.rst:2663 +#: ../../library/stdtypes.rst:2669 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "指定された長さの0で埋められたインスタンスを作る: ``bytearray(10)``" -#: ../../library/stdtypes.rst:2664 +#: ../../library/stdtypes.rst:2670 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "整数の iterable から: ``bytearray(range(20))``" -#: ../../library/stdtypes.rst:2665 +#: ../../library/stdtypes.rst:2671 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" "既存のバイナリデータからバッファプロトコルを通してコピーする: " "``bytearray(b'Hi!')``" -#: ../../library/stdtypes.rst:2667 +#: ../../library/stdtypes.rst:2673 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable ` sequence operations in addition to the common bytes and bytearray " @@ -4648,11 +4653,11 @@ msgstr "" "bytes オブジェクトと共通の操作に加えて、 :ref:`mutable ` " "シーケンス操作もサポートしています。" -#: ../../library/stdtypes.rst:2671 +#: ../../library/stdtypes.rst:2677 msgid "Also see the :ref:`bytearray ` built-in." msgstr ":ref:`bytearray ` ビルトイン関数も参照してください。" -#: ../../library/stdtypes.rst:2673 +#: ../../library/stdtypes.rst:2679 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4663,7 +4668,7 @@ msgstr "" "表現する形式として広く使われています。 従って、 bytearray 型にはその形式で" "データを読み取るための追加のクラスメソッドがあります。" -#: ../../library/stdtypes.rst:2679 +#: ../../library/stdtypes.rst:2685 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " @@ -4673,7 +4678,7 @@ msgstr "" "コードして bytearray オブジェクトを返します。それぞれのバイトを 16 進数 2 桁" "で表現した文字列を指定しなければなりません。ASCII 空白文字は無視されます。" -#: ../../library/stdtypes.rst:2686 +#: ../../library/stdtypes.rst:2692 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." @@ -4681,7 +4686,7 @@ msgstr "" ":meth:`bytearray.fromhex` は文字列にある空白だけでなく、 ASCII の空白文字全て" "をスキップするようになりました。" -#: ../../library/stdtypes.rst:2690 +#: ../../library/stdtypes.rst:2696 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." @@ -4689,7 +4694,7 @@ msgstr "" "bytearray オブジェクトをその 16 進表記に変換するための、反対向きの変換関数が" "あります。" -#: ../../library/stdtypes.rst:2703 +#: ../../library/stdtypes.rst:2709 msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " @@ -4699,7 +4704,7 @@ msgstr "" "分割するセパレータを挿入するためのオプションパラメータ *sep* と " "*bytes_per_sep* をサポートするようになりました。" -#: ../../library/stdtypes.rst:2708 +#: ../../library/stdtypes.rst:2714 msgid "" "Since bytearray objects are sequences of integers (akin to a list), for a " "bytearray object *b*, ``b[0]`` will be an integer, while ``b[0:1]`` will be " @@ -4711,7 +4716,7 @@ msgstr "" "さ 1 の bytearray オブジェクトになります。(これは、文字列においてインデックス" "指定もスライスも長さ 1 の文字列を返すのと対照的です。)" -#: ../../library/stdtypes.rst:2713 +#: ../../library/stdtypes.rst:2719 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4723,11 +4728,11 @@ msgstr "" "ためです。\n" "bytearray オブジェクトはいつでも ``list(b)`` で整数のリストに変換できます。" -#: ../../library/stdtypes.rst:2722 +#: ../../library/stdtypes.rst:2728 msgid "Bytes and Bytearray Operations" msgstr "bytes と bytearray の操作" -#: ../../library/stdtypes.rst:2727 +#: ../../library/stdtypes.rst:2733 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4741,7 +4746,7 @@ msgstr "" "と bytearray を自由に混ぜてもエラーを起こすことなく扱うことができます。ただ" "し、操作の結果のオブジェクトはその操作の順序に依存することになります。" -#: ../../library/stdtypes.rst:2735 +#: ../../library/stdtypes.rst:2741 msgid "" "The methods on bytes and bytearray objects don't accept strings as their " "arguments, just as the methods on strings don't accept bytes as their " @@ -4751,23 +4756,23 @@ msgstr "" "と bytearray オブジェクトのメソッドは引数として文字列を受け付けません。例え" "ば、以下のように書かなければなりません::" -#: ../../library/stdtypes.rst:2739 +#: ../../library/stdtypes.rst:2745 msgid "" "a = \"abc\"\n" "b = a.replace(\"a\", \"f\")" msgstr "" -#: ../../library/stdtypes.rst:2742 +#: ../../library/stdtypes.rst:2748 msgid "and::" msgstr "および::" -#: ../../library/stdtypes.rst:2744 +#: ../../library/stdtypes.rst:2750 msgid "" "a = b\"abc\"\n" "b = a.replace(b\"a\", b\"f\")" msgstr "" -#: ../../library/stdtypes.rst:2747 +#: ../../library/stdtypes.rst:2753 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " @@ -4777,7 +4782,7 @@ msgstr "" "トが使われていると仮定していますので、フォーマットの不明なバイナリデータに対" "して使うことは避けるべきです。こうした制約については以下で説明します。" -#: ../../library/stdtypes.rst:2752 +#: ../../library/stdtypes.rst:2758 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." @@ -4785,7 +4790,7 @@ msgstr "" "これらの ASCII ベースの演算を使って ASCII ベースではないバイナリデータを操作" "すると、データを破壊する恐れがあります。" -#: ../../library/stdtypes.rst:2755 +#: ../../library/stdtypes.rst:2761 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." @@ -4793,7 +4798,7 @@ msgstr "" "以下の bytes および bytearray オブジェクトのメソッドは、任意のバイナリデータ" "に対して使用できます。" -#: ../../library/stdtypes.rst:2761 +#: ../../library/stdtypes.rst:2767 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " @@ -4803,9 +4808,9 @@ msgstr "" "ます。オプション引数 *start* および *end* はスライス表記と同じように解釈され" "ます。" -#: ../../library/stdtypes.rst:2765 ../../library/stdtypes.rst:2870 -#: ../../library/stdtypes.rst:2892 ../../library/stdtypes.rst:2958 -#: ../../library/stdtypes.rst:2971 +#: ../../library/stdtypes.rst:2771 ../../library/stdtypes.rst:2876 +#: ../../library/stdtypes.rst:2898 ../../library/stdtypes.rst:2964 +#: ../../library/stdtypes.rst:2977 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." @@ -4813,7 +4818,7 @@ msgstr "" "検索対象の部分シーケンスは、任意の :term:`bytes-like object` または 0 から " "255 の範囲の整数にできます。" -#: ../../library/stdtypes.rst:2768 +#: ../../library/stdtypes.rst:2774 msgid "" "If *sub* is empty, returns the number of empty slices between characters " "which is the length of the bytes object plus one." @@ -4821,14 +4826,14 @@ msgstr "" "*sub* が空の場合は、文字と文字の間にある空のスライスの数、すなわちbytesオブ" "ジェクトの長さに1を加えたものを返します。" -#: ../../library/stdtypes.rst:2771 ../../library/stdtypes.rst:2882 -#: ../../library/stdtypes.rst:2895 ../../library/stdtypes.rst:2961 -#: ../../library/stdtypes.rst:2974 +#: ../../library/stdtypes.rst:2777 ../../library/stdtypes.rst:2888 +#: ../../library/stdtypes.rst:2901 ../../library/stdtypes.rst:2967 +#: ../../library/stdtypes.rst:2980 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" "部分シーケンスとして 0 から 255 の範囲の整数も受け取れるようになりました。" -#: ../../library/stdtypes.rst:2778 +#: ../../library/stdtypes.rst:2784 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " @@ -4837,7 +4842,7 @@ msgstr "" "バリナリーデータが文字列 *prefix* で始まる場合、 ``bytes[len(prefix):]`` を" "返します。それ以外の場合、元のバイナリーデータのコピーを返します::" -#: ../../library/stdtypes.rst:2782 +#: ../../library/stdtypes.rst:2788 msgid "" ">>> b'TestHook'.removeprefix(b'Test')\n" "b'Hook'\n" @@ -4845,19 +4850,19 @@ msgid "" "b'BaseTestCase'" msgstr "" -#: ../../library/stdtypes.rst:2787 +#: ../../library/stdtypes.rst:2793 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "*prefix* は、任意の :term:`bytes-like object` にできます。" -#: ../../library/stdtypes.rst:2791 ../../library/stdtypes.rst:2813 -#: ../../library/stdtypes.rst:2946 ../../library/stdtypes.rst:3039 -#: ../../library/stdtypes.rst:3053 ../../library/stdtypes.rst:3084 -#: ../../library/stdtypes.rst:3098 ../../library/stdtypes.rst:3140 -#: ../../library/stdtypes.rst:3211 ../../library/stdtypes.rst:3229 -#: ../../library/stdtypes.rst:3257 ../../library/stdtypes.rst:3396 -#: ../../library/stdtypes.rst:3451 ../../library/stdtypes.rst:3494 -#: ../../library/stdtypes.rst:3515 ../../library/stdtypes.rst:3537 -#: ../../library/stdtypes.rst:3739 +#: ../../library/stdtypes.rst:2797 ../../library/stdtypes.rst:2819 +#: ../../library/stdtypes.rst:2952 ../../library/stdtypes.rst:3045 +#: ../../library/stdtypes.rst:3059 ../../library/stdtypes.rst:3090 +#: ../../library/stdtypes.rst:3104 ../../library/stdtypes.rst:3146 +#: ../../library/stdtypes.rst:3217 ../../library/stdtypes.rst:3235 +#: ../../library/stdtypes.rst:3263 ../../library/stdtypes.rst:3402 +#: ../../library/stdtypes.rst:3457 ../../library/stdtypes.rst:3500 +#: ../../library/stdtypes.rst:3521 ../../library/stdtypes.rst:3543 +#: ../../library/stdtypes.rst:3745 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." @@ -4865,7 +4870,7 @@ msgstr "" "bytearray のこのメソッドはインプレースでは動作 *しません* -- 一切変化が無い場" "合でも、常に新しいオブジェクトを生成します。" -#: ../../library/stdtypes.rst:2800 +#: ../../library/stdtypes.rst:2806 msgid "" "If the binary data ends with the *suffix* string and that *suffix* is not " "empty, return ``bytes[:-len(suffix)]``. Otherwise, return a copy of the " @@ -4875,7 +4880,7 @@ msgstr "" "``bytes[:-len(suffix)]`` を返します。それ以外の場合、元のバイナリーデータのコ" "ピーを返します::" -#: ../../library/stdtypes.rst:2804 +#: ../../library/stdtypes.rst:2810 msgid "" ">>> b'MiscTests'.removesuffix(b'Tests')\n" "b'Misc'\n" @@ -4883,15 +4888,15 @@ msgid "" "b'TmpDirMixin'" msgstr "" -#: ../../library/stdtypes.rst:2809 +#: ../../library/stdtypes.rst:2815 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "*suffix* は、任意の :term:`bytes-like object` にできます。" -#: ../../library/stdtypes.rst:2822 +#: ../../library/stdtypes.rst:2828 msgid "Return the bytes decoded to a :class:`str`." msgstr ":class:`str` にデコードされたbytesを返します。" -#: ../../library/stdtypes.rst:2827 +#: ../../library/stdtypes.rst:2833 msgid "" "*errors* controls how decoding errors are handled. If ``'strict'`` (the " "default), a :exc:`UnicodeError` exception is raised. Other possible values " @@ -4904,7 +4909,7 @@ msgstr "" "register_error` で登録された名前です。詳しくは :ref:`error-handlers` を参照し" "てください。" -#: ../../library/stdtypes.rst:2833 +#: ../../library/stdtypes.rst:2839 msgid "" "For performance reasons, the value of *errors* is not checked for validity " "unless a decoding error actually occurs, :ref:`devmode` is enabled or a :ref:" @@ -4914,7 +4919,7 @@ msgstr "" "実際に発生するか、 :ref:`devmode` が有効になっているか、もしくは :ref:`デバッ" "グビルド ` が使われていない限りチェックされません。" -#: ../../library/stdtypes.rst:2839 +#: ../../library/stdtypes.rst:2845 msgid "" "Passing the *encoding* argument to :class:`str` allows decoding any :term:" "`bytes-like object` directly, without needing to make a temporary :class:`!" @@ -4924,7 +4929,7 @@ msgstr "" "コードすることができます。つまり、一時的な :class:`!bytes` や :class:`!" "bytearray` オブジェクトを作成する必要はありません。" -#: ../../library/stdtypes.rst:2854 +#: ../../library/stdtypes.rst:2860 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4936,12 +4941,12 @@ msgstr "" "せん。オプションの *start* が指定されている場合、その位置から判定を開始しま" "す。オプションの *end* が指定されている場合、その位置で比較を終了します。" -#: ../../library/stdtypes.rst:2859 +#: ../../library/stdtypes.rst:2865 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" "検索対象の接尾語 (複数も可) は、任意の :term:`bytes-like object` にできます。" -#: ../../library/stdtypes.rst:2865 +#: ../../library/stdtypes.rst:2871 msgid "" "Return the lowest index in the data where the subsequence *sub* is found, " "such that *sub* is contained in the slice ``s[start:end]``. Optional " @@ -4953,7 +4958,7 @@ msgstr "" "はスライス表記と同様に解釈されます。 *sub* が見つからなかった場合、 ``-1`` を" "返します。" -#: ../../library/stdtypes.rst:2875 +#: ../../library/stdtypes.rst:2881 msgid "" "The :meth:`~bytes.find` method should be used only if you need to know the " "position of *sub*. To check if *sub* is a substring or not, use the :" @@ -4963,13 +4968,13 @@ msgstr "" "す。 *sub* が部分文字列 (訳注: おそらく原文の誤り、正しくは部分シーケンス) で" "あるかどうかのみを調べるには、 :keyword:`in` 演算子を使ってください::" -#: ../../library/stdtypes.rst:2879 +#: ../../library/stdtypes.rst:2885 msgid "" ">>> b'Py' in b'Python'\n" "True" msgstr "" -#: ../../library/stdtypes.rst:2889 +#: ../../library/stdtypes.rst:2895 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." @@ -4977,7 +4982,7 @@ msgstr "" ":meth:`~bytes.find` と同様ですが、部分シーケンスが見つからなかった場合 :exc:" "`ValueError` を送出します。" -#: ../../library/stdtypes.rst:2902 +#: ../../library/stdtypes.rst:2908 msgid "" "Return a bytes or bytearray object which is the concatenation of the binary " "data sequences in *iterable*. A :exc:`TypeError` will be raised if there " @@ -4992,7 +4997,7 @@ msgstr "" "が送出されます。なお要素間のセパレータは、このメソッドを提供する bytes また" "は bytearray オブジェクトとなります。" -#: ../../library/stdtypes.rst:2913 +#: ../../library/stdtypes.rst:2919 msgid "" "This static method returns a translation table usable for :meth:`bytes." "translate` that will map each character in *from* into the character at the " @@ -5004,7 +5009,7 @@ msgstr "" "マッピングします。 *from* と *to* は両方とも同じ長さの :term:`bytes-like " "objects ` でなければなりません。" -#: ../../library/stdtypes.rst:2924 +#: ../../library/stdtypes.rst:2930 msgid "" "Split the sequence at the first occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -5018,12 +5023,12 @@ msgstr "" "れば、タプルには元のシーケンスのコピーと、その後ろに二つの空の bytes または " "bytearray オブジェクトが入ります。" -#: ../../library/stdtypes.rst:2931 ../../library/stdtypes.rst:2988 +#: ../../library/stdtypes.rst:2937 ../../library/stdtypes.rst:2994 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" "検索する区切りとしては、任意の :term:`bytes-like object` を指定できます。" -#: ../../library/stdtypes.rst:2937 +#: ../../library/stdtypes.rst:2943 msgid "" "Return a copy of the sequence with all occurrences of subsequence *old* " "replaced by *new*. If the optional argument *count* is given, only the " @@ -5033,7 +5038,7 @@ msgstr "" "引数 *count* が与えられている場合、先頭から *count* 個の *old* だけを置換しま" "す。" -#: ../../library/stdtypes.rst:2941 +#: ../../library/stdtypes.rst:2947 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." @@ -5041,7 +5046,7 @@ msgstr "" "検索する部分シーケンスおよび置換後の部分シーケンスとしては、任意の :term:" "`bytes-like object` を指定できます。" -#: ../../library/stdtypes.rst:2953 +#: ../../library/stdtypes.rst:2959 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -5052,7 +5057,7 @@ msgstr "" "デックスを返します。オプション引数 *start* および *end* はスライス表記と同様" "に解釈されます。 *sub* が見つからなかった場合 ``-1`` を返します。" -#: ../../library/stdtypes.rst:2968 +#: ../../library/stdtypes.rst:2974 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." @@ -5060,7 +5065,7 @@ msgstr "" ":meth:`~bytes.rfind` と同様ですが、部分シーケンス *sub* が見つからなかった場" "合 :exc:`ValueError` を送出します。" -#: ../../library/stdtypes.rst:2981 +#: ../../library/stdtypes.rst:2987 msgid "" "Split the sequence at the last occurrence of *sep*, and return a 3-tuple " "containing the part before the separator, the separator itself or its " @@ -5074,7 +5079,7 @@ msgstr "" "ルには二つの空の bytes または bytearray オブジェクトと、その後ろに元のシーケ" "ンスのコピーが入ります。" -#: ../../library/stdtypes.rst:2994 +#: ../../library/stdtypes.rst:3000 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -5086,12 +5091,12 @@ msgstr "" "せん。オプションの *start* が指定されている場合、その位置から判定を開始しま" "す。オプションの *end* が指定されている場合、その位置で比較を終了します。" -#: ../../library/stdtypes.rst:2999 +#: ../../library/stdtypes.rst:3005 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" "検索対象の接頭語 (複数も可) は、任意の :term:`bytes-like object` にできます。" -#: ../../library/stdtypes.rst:3005 +#: ../../library/stdtypes.rst:3011 msgid "" "Return a copy of the bytes or bytearray object where all bytes occurring in " "the optional argument *delete* are removed, and the remaining bytes have " @@ -5103,30 +5108,30 @@ msgstr "" "を返します。変換テーブルは長さ 256 のバイト列オブジェクトでなければなりませ" "ん。" -#: ../../library/stdtypes.rst:3010 +#: ../../library/stdtypes.rst:3016 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" "変換テーブルの作成に、 :func:`bytes.maketrans` メソッドを使うこともできます。" -#: ../../library/stdtypes.rst:3013 +#: ../../library/stdtypes.rst:3019 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" "文字を削除するだけの変換には、 *table* 引数を ``None`` に設定してください::" -#: ../../library/stdtypes.rst:3016 +#: ../../library/stdtypes.rst:3022 msgid "" ">>> b'read this short text'.translate(None, b'aeiou')\n" "b'rd ths shrt txt'" msgstr "" -#: ../../library/stdtypes.rst:3019 +#: ../../library/stdtypes.rst:3025 msgid "*delete* is now supported as a keyword argument." msgstr "*delete* はキーワード引数として指定可能になりました。" -#: ../../library/stdtypes.rst:3023 +#: ../../library/stdtypes.rst:3029 msgid "" "The following methods on bytes and bytearray objects have default behaviours " "that assume the use of ASCII compatible binary formats, but can still be " @@ -5140,7 +5145,7 @@ msgstr "" "のメソッドはすべてインプレースで動作 *せず* 、新しいオブジェクトを生成しま" "す。" -#: ../../library/stdtypes.rst:3032 +#: ../../library/stdtypes.rst:3038 msgid "" "Return a copy of the object centered in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -5152,7 +5157,7 @@ msgstr "" "class:`bytes` オブジェクトの場合、 *width* が ``len(s)`` 以下なら元のシーケン" "スが返されます。" -#: ../../library/stdtypes.rst:3046 +#: ../../library/stdtypes.rst:3052 msgid "" "Return a copy of the object left justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -5164,7 +5169,7 @@ msgstr "" "class:`bytes` オブジェクトの場合、 *width* が ``len(s)`` 以下なら元のシーケン" "スが返されます。" -#: ../../library/stdtypes.rst:3060 +#: ../../library/stdtypes.rst:3066 msgid "" "Return a copy of the sequence with specified leading bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -5180,7 +5185,7 @@ msgstr "" "`bytearray.isspace` を参照) が除去されます。なお *chars* 引数と一致する接頭辞" "が除去されるのではなく、それに含まれるバイトの組み合わせ全てが除去されます::" -#: ../../library/stdtypes.rst:3067 +#: ../../library/stdtypes.rst:3073 msgid "" ">>> b' spacious '.lstrip()\n" "b'spacious '\n" @@ -5188,7 +5193,7 @@ msgid "" "b'example.com'" msgstr "" -#: ../../library/stdtypes.rst:3072 +#: ../../library/stdtypes.rst:3078 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removeprefix` for a method that will remove a " @@ -5199,7 +5204,7 @@ msgstr "" "した文字列そのものを接頭辞として削除するメソッドについては、 :meth:`~bytes." "removeprefix` を参照してください。使用例::" -#: ../../library/stdtypes.rst:3077 +#: ../../library/stdtypes.rst:3083 msgid "" ">>> b'Arthur: three!'.lstrip(b'Arthur: ')\n" "b'ee!'\n" @@ -5207,7 +5212,7 @@ msgid "" "b'three!'" msgstr "" -#: ../../library/stdtypes.rst:3091 +#: ../../library/stdtypes.rst:3097 msgid "" "Return a copy of the object right justified in a sequence of length *width*. " "Padding is done using the specified *fillbyte* (default is an ASCII space). " @@ -5219,7 +5224,7 @@ msgstr "" "class:`bytes` オブジェクトの場合、 *width* が ``len(s)`` 以下なら元のシーケン" "スが返されます。" -#: ../../library/stdtypes.rst:3105 +#: ../../library/stdtypes.rst:3111 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given, at most *maxsplit* splits are " @@ -5234,7 +5239,7 @@ msgstr "" "れる部分シーケンスすべてが区切りとなります。右から分割していくことを除け" "ば、 :meth:`rsplit` は後ほど詳しく述べる :meth:`split` と同様に振る舞います。" -#: ../../library/stdtypes.rst:3116 +#: ../../library/stdtypes.rst:3122 msgid "" "Return a copy of the sequence with specified trailing bytes removed. The " "*chars* argument is a binary sequence specifying the set of byte values to " @@ -5250,7 +5255,7 @@ msgstr "" "`bytearray.isspace` を参照) が除去されます。なお *chars* 引数と一致する接尾辞" "が除去されるのではなく、それに含まれるバイトの組み合わせ全てが除去されます::" -#: ../../library/stdtypes.rst:3123 +#: ../../library/stdtypes.rst:3129 msgid "" ">>> b' spacious '.rstrip()\n" "b' spacious'\n" @@ -5258,7 +5263,7 @@ msgid "" "b'mississ'" msgstr "" -#: ../../library/stdtypes.rst:3128 +#: ../../library/stdtypes.rst:3134 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`. See :meth:`~bytes.removesuffix` for a method that will remove a " @@ -5269,7 +5274,7 @@ msgstr "" "した文字列そのものを接尾辞として削除するメソッドについては、 :meth:`~bytes." "removesuffix` を参照してください。使用例::" -#: ../../library/stdtypes.rst:3133 +#: ../../library/stdtypes.rst:3139 msgid "" ">>> b'Monty Python'.rstrip(b' Python')\n" "b'M'\n" @@ -5277,7 +5282,7 @@ msgid "" "b'Monty'" msgstr "" -#: ../../library/stdtypes.rst:3147 +#: ../../library/stdtypes.rst:3153 msgid "" "Split the binary sequence into subsequences of the same type, using *sep* as " "the delimiter string. If *maxsplit* is given and non-negative, at most " @@ -5291,7 +5296,7 @@ msgstr "" "す)。 *maxsplit* が指定されていないか ``-1`` のとき、分割の回数に制限はありま" "せん (可能なだけ分割されます)。" -#: ../../library/stdtypes.rst:3153 +#: ../../library/stdtypes.rst:3159 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty subsequences (for example, ``b'1,,2'.split(b',')`` " @@ -5308,7 +5313,7 @@ msgstr "" "によって ``[b'']`` または ``[bytearray(b'')]`` が返ります。引数 *sep* には、" "あらゆる :term:`bytes-like object` を指定できます。" -#: ../../library/stdtypes.rst:3163 +#: ../../library/stdtypes.rst:3169 msgid "" ">>> b'1,2,3'.split(b',')\n" "[b'1', b'2', b'3']\n" @@ -5320,7 +5325,7 @@ msgid "" "[b'1', b'2', b'3<4']" msgstr "" -#: ../../library/stdtypes.rst:3172 +#: ../../library/stdtypes.rst:3178 msgid "" "If *sep* is not specified or is ``None``, a different splitting algorithm is " "applied: runs of consecutive ASCII whitespace are regarded as a single " @@ -5335,7 +5340,7 @@ msgstr "" "がって区切りを指定せずに空のシーケンスや ASCII 空白文字だけのシーケンスを分割" "すると、 ``[]`` が返されます。" -#: ../../library/stdtypes.rst:3182 +#: ../../library/stdtypes.rst:3188 msgid "" ">>> b'1 2 3'.split()\n" "[b'1', b'2', b'3']\n" @@ -5345,7 +5350,7 @@ msgid "" "[b'1', b'2', b'3']" msgstr "" -#: ../../library/stdtypes.rst:3193 +#: ../../library/stdtypes.rst:3199 msgid "" "Return a copy of the sequence with specified leading and trailing bytes " "removed. The *chars* argument is a binary sequence specifying the set of " @@ -5362,7 +5367,7 @@ msgstr "" "する接頭辞および接尾辞が除去されるのではなく、それに含まれるバイトの組み合わ" "せ全てが除去されます::" -#: ../../library/stdtypes.rst:3201 +#: ../../library/stdtypes.rst:3207 msgid "" ">>> b' spacious '.strip()\n" "b'spacious'\n" @@ -5370,7 +5375,7 @@ msgid "" "b'example'" msgstr "" -#: ../../library/stdtypes.rst:3206 +#: ../../library/stdtypes.rst:3212 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." @@ -5378,7 +5383,7 @@ msgstr "" "除去対象のバイト値を含むバイナリシーケンスには、任意の :term:`bytes-like " "object` を指定できます。" -#: ../../library/stdtypes.rst:3215 +#: ../../library/stdtypes.rst:3221 msgid "" "The following methods on bytes and bytearray objects assume the use of ASCII " "compatible binary formats and should not be applied to arbitrary binary " @@ -5390,7 +5395,7 @@ msgstr "" "て使用すべきではありません。なお、このセクションで紹介する bytearray のメソッ" "ドはすべてインプレースで動作 *せず* 、新しいオブジェクトを生成します。" -#: ../../library/stdtypes.rst:3223 +#: ../../library/stdtypes.rst:3229 msgid "" "Return a copy of the sequence with each byte interpreted as an ASCII " "character, and the first byte capitalized and the rest lowercased. Non-ASCII " @@ -5400,7 +5405,7 @@ msgstr "" "シーケンスのコピーを返します。 ASCII 文字と解釈できないバイト値は、変更されま" "せん。" -#: ../../library/stdtypes.rst:3236 +#: ../../library/stdtypes.rst:3242 msgid "" "Return a copy of the sequence where all ASCII tab characters are replaced by " "one or more ASCII spaces, depending on the current column and the given tab " @@ -5428,7 +5433,7 @@ msgstr "" "ト値の表示のされ方(訳注: 全角、半角など)に関わらず現桁位置を 1 つ増加させま" "す::" -#: ../../library/stdtypes.rst:3250 +#: ../../library/stdtypes.rst:3256 msgid "" ">>> b'01\\t012\\t0123\\t01234'.expandtabs()\n" "b'01 012 0123 01234'\n" @@ -5436,7 +5441,7 @@ msgid "" "b'01 012 0123 01234'" msgstr "" -#: ../../library/stdtypes.rst:3264 +#: ../../library/stdtypes.rst:3270 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -5450,7 +5455,7 @@ msgstr "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'`` に含まれるバイト" "値です。 ASCII 文字の数字とは ``b'0123456789'`` に含まれるバイト値です。" -#: ../../library/stdtypes.rst:3272 +#: ../../library/stdtypes.rst:3278 msgid "" ">>> b'ABCabc1'.isalnum()\n" "True\n" @@ -5458,7 +5463,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3281 +#: ../../library/stdtypes.rst:3287 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -5471,7 +5476,7 @@ msgstr "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'`` に含まれるバイト" "値です。" -#: ../../library/stdtypes.rst:3288 +#: ../../library/stdtypes.rst:3294 msgid "" ">>> b'ABCabc'.isalpha()\n" "True\n" @@ -5479,7 +5484,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3297 +#: ../../library/stdtypes.rst:3303 msgid "" "Return ``True`` if the sequence is empty or all bytes in the sequence are " "ASCII, ``False`` otherwise. ASCII bytes are in the range 0-0x7F." @@ -5488,7 +5493,7 @@ msgstr "" "``True`` を、それ以外の場合に ``False`` を返します。\n" "ASCII バイトは 0-0x7F の範囲にあります。" -#: ../../library/stdtypes.rst:3307 +#: ../../library/stdtypes.rst:3313 msgid "" "Return ``True`` if all bytes in the sequence are ASCII decimal digits and " "the sequence is not empty, ``False`` otherwise. ASCII decimal digits are " @@ -5498,7 +5503,7 @@ msgstr "" "``True`` を、そうでなければ ``False`` を返します。ここでの ASCII 文字の数字と" "は ``b'0123456789'`` に含まれるバイト値です。" -#: ../../library/stdtypes.rst:3313 +#: ../../library/stdtypes.rst:3319 msgid "" ">>> b'1234'.isdigit()\n" "True\n" @@ -5506,7 +5511,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3322 +#: ../../library/stdtypes.rst:3328 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." @@ -5515,7 +5520,7 @@ msgstr "" "ファベットの ASCII 文字が一つも無い場合に ``True`` を返します。そうでなけれ" "ば ``False`` を返します。" -#: ../../library/stdtypes.rst:3327 +#: ../../library/stdtypes.rst:3333 msgid "" ">>> b'hello world'.islower()\n" "True\n" @@ -5523,9 +5528,9 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3332 ../../library/stdtypes.rst:3374 -#: ../../library/stdtypes.rst:3390 ../../library/stdtypes.rst:3440 -#: ../../library/stdtypes.rst:3509 +#: ../../library/stdtypes.rst:3338 ../../library/stdtypes.rst:3380 +#: ../../library/stdtypes.rst:3396 ../../library/stdtypes.rst:3446 +#: ../../library/stdtypes.rst:3515 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -5535,7 +5540,7 @@ msgstr "" "バイト値です。また大文字の ASCII 文字とは ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`` " "に含まれるバイト値です。" -#: ../../library/stdtypes.rst:3340 +#: ../../library/stdtypes.rst:3346 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -5547,7 +5552,7 @@ msgstr "" "シーケンス ``b' \\t\\n\\r\\x0b\\f'`` に含まれるバイト値です (半角スペース、タ" "ブ、ラインフィード、キャリッジリターン、垂直タブ、フォームフィード) 。" -#: ../../library/stdtypes.rst:3349 +#: ../../library/stdtypes.rst:3355 msgid "" "Return ``True`` if the sequence is ASCII titlecase and the sequence is not " "empty, ``False`` otherwise. See :meth:`bytes.title` for more details on the " @@ -5557,7 +5562,7 @@ msgstr "" "``True`` を、そうでなければ ``False`` を返します。「タイトルケース文字列」の" "定義については :meth:`bytes.title` を参照してください。" -#: ../../library/stdtypes.rst:3355 +#: ../../library/stdtypes.rst:3361 msgid "" ">>> b'Hello World'.istitle()\n" "True\n" @@ -5565,7 +5570,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3364 +#: ../../library/stdtypes.rst:3370 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " @@ -5575,7 +5580,7 @@ msgstr "" "ファベットの ASCII 文字が一つも無い場合に ``True`` を返します。そうでなけれ" "ば ``False`` を返します。" -#: ../../library/stdtypes.rst:3369 +#: ../../library/stdtypes.rst:3375 msgid "" ">>> b'HELLO WORLD'.isupper()\n" "True\n" @@ -5583,7 +5588,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3382 +#: ../../library/stdtypes.rst:3388 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." @@ -5591,13 +5596,13 @@ msgstr "" "シーケンスに含まれる大文字アルファベットの ASCII 文字を全て小文字アルファベッ" "トに変換したシーケンスのコピーを返します。" -#: ../../library/stdtypes.rst:3387 +#: ../../library/stdtypes.rst:3393 msgid "" ">>> b'Hello World'.lower()\n" "b'hello world'" msgstr "" -#: ../../library/stdtypes.rst:3407 +#: ../../library/stdtypes.rst:3413 msgid "" "Return a list of the lines in the binary sequence, breaking at ASCII line " "boundaries. This method uses the :term:`universal newlines` approach to " @@ -5609,7 +5614,7 @@ msgstr "" "*keepends* 引数に真を与えた場合を除き、改行コードは結果のリストに含まれませ" "ん。" -#: ../../library/stdtypes.rst:3414 +#: ../../library/stdtypes.rst:3420 msgid "" ">>> b'ab c\\n\\nde fg\\rkl\\r\\n'.splitlines()\n" "[b'ab c', b'', b'de fg', b'kl']\n" @@ -5617,7 +5622,7 @@ msgid "" "[b'ab c\\n', b'\\n', b'de fg\\r', b'kl\\r\\n']" msgstr "" -#: ../../library/stdtypes.rst:3419 +#: ../../library/stdtypes.rst:3425 msgid "" "Unlike :meth:`~bytes.split` when a delimiter string *sep* is given, this " "method returns an empty list for the empty string, and a terminal line break " @@ -5627,7 +5632,7 @@ msgstr "" "び出すと空のリストを返します。またシーケンス末尾に改行コードがある場合、(訳" "註: その後ろに空行があるとは判断せず)余分な行を生成することはありません::" -#: ../../library/stdtypes.rst:3423 +#: ../../library/stdtypes.rst:3429 msgid "" ">>> b\"\".split(b'\\n'), b\"Two lines\\n\".split(b'\\n')\n" "([b''], [b'Two lines', b''])\n" @@ -5635,7 +5640,7 @@ msgid "" "([], [b'One line'])" msgstr "" -#: ../../library/stdtypes.rst:3432 +#: ../../library/stdtypes.rst:3438 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." @@ -5644,13 +5649,13 @@ msgstr "" "トに変換し、さらに大文字アルファベットを同様に小文字アルファベットに変換した" "シーケンスのコピーを返します。" -#: ../../library/stdtypes.rst:3437 +#: ../../library/stdtypes.rst:3443 msgid "" ">>> b'Hello World'.swapcase()\n" "b'hELLO wORLD'" msgstr "" -#: ../../library/stdtypes.rst:3444 +#: ../../library/stdtypes.rst:3450 msgid "" "Unlike :func:`str.swapcase`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -5658,7 +5663,7 @@ msgid "" "Unicode code points." msgstr "" -#: ../../library/stdtypes.rst:3458 +#: ../../library/stdtypes.rst:3464 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " @@ -5669,13 +5674,13 @@ msgstr "" "なっているシーケンスが返ります。大文字小文字の区別が無いバイト値については変" "更されずそのままになります。" -#: ../../library/stdtypes.rst:3464 +#: ../../library/stdtypes.rst:3470 msgid "" ">>> b'Hello world'.title()\n" "b'Hello World'" msgstr "" -#: ../../library/stdtypes.rst:3467 +#: ../../library/stdtypes.rst:3473 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -5687,18 +5692,18 @@ msgstr "" "に含まれるバイト値です。その他のバイト値については、大文字小文字の区別はあり" "ません。" -#: ../../library/stdtypes.rst:3477 +#: ../../library/stdtypes.rst:3483 msgid "" ">>> b\"they're bill's friends from the UK\".title()\n" "b\"They'Re Bill'S Friends From The Uk\"" msgstr "" -#: ../../library/stdtypes.rst:3480 +#: ../../library/stdtypes.rst:3486 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "正規表現を使うことでアポストロフィに対応できます::" -#: ../../library/stdtypes.rst:3482 +#: ../../library/stdtypes.rst:3488 msgid "" ">>> import re\n" ">>> def titlecase(s):\n" @@ -5711,7 +5716,7 @@ msgid "" "b\"They're Bill's Friends.\"" msgstr "" -#: ../../library/stdtypes.rst:3501 +#: ../../library/stdtypes.rst:3507 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." @@ -5719,13 +5724,13 @@ msgstr "" "シーケンスに含まれる小文字アルファベットの ASCII 文字を全て大文字アルファベッ" "トに変換したシーケンスのコピーを返します。" -#: ../../library/stdtypes.rst:3506 +#: ../../library/stdtypes.rst:3512 msgid "" ">>> b'Hello World'.upper()\n" "b'HELLO WORLD'" msgstr "" -#: ../../library/stdtypes.rst:3522 +#: ../../library/stdtypes.rst:3528 msgid "" "Return a copy of the sequence left filled with ASCII ``b'0'`` digits to make " "a sequence of length *width*. A leading sign prefix (``b'+'``/ ``b'-'``) is " @@ -5738,7 +5743,7 @@ msgstr "" "はなく *後* に挿入されます。 :class:`bytes` オブジェクトの場合、 *width* が " "``len(seq)`` 以下であれば元のシーケンスが返ります。" -#: ../../library/stdtypes.rst:3530 +#: ../../library/stdtypes.rst:3536 msgid "" ">>> b\"42\".zfill(5)\n" "b'00042'\n" @@ -5746,11 +5751,11 @@ msgid "" "b'-0042'" msgstr "" -#: ../../library/stdtypes.rst:3544 +#: ../../library/stdtypes.rst:3550 msgid "``printf``-style Bytes Formatting" msgstr "``printf`` 形式での bytes の書式化" -#: ../../library/stdtypes.rst:3561 +#: ../../library/stdtypes.rst:3567 msgid "" "The formatting operations described here exhibit a variety of quirks that " "lead to a number of common errors (such as failing to display tuples and " @@ -5761,7 +5766,7 @@ msgstr "" "ルや辞書を正しく表示できないなど)。もし表示する値がタプルや辞書かもしれない場" "合、それをタプルに包むようにしてください。" -#: ../../library/stdtypes.rst:3566 +#: ../../library/stdtypes.rst:3572 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -5776,7 +5781,7 @@ msgstr "" "*format* 中の ``%`` 変換指定は *values* 中のゼロ個またはそれ以上の要素で置換" "されます。この動作は C 言語における :c:func:`sprintf` に似ています。" -#: ../../library/stdtypes.rst:3573 +#: ../../library/stdtypes.rst:3579 msgid "" "If *format* requires a single argument, *values* may be a single non-tuple " "object. [5]_ Otherwise, *values* must be a tuple with exactly the number of " @@ -5789,7 +5794,7 @@ msgstr "" "プルか、単一のマッピング型のオブジェクト (たとえば辞書) でなければなりませ" "ん。" -#: ../../library/stdtypes.rst:3607 +#: ../../library/stdtypes.rst:3613 msgid "" "When the right argument is a dictionary (or other mapping type), then the " "formats in the bytes object *must* include a parenthesised mapping key into " @@ -5801,17 +5806,17 @@ msgstr "" "``'%'`` の直後に書いたものが含まれていなければ *なりません* 。マップキーは書" "式化したい値をマッピングから選び出します。例えば:" -#: ../../library/stdtypes.rst:3681 +#: ../../library/stdtypes.rst:3687 msgid "Single byte (accepts integer or single byte objects)." msgstr "" "1 バイト (整数または要素 1 つの ``bytes``/``bytearray`` オブジェクトを受理し" "ます)" -#: ../../library/stdtypes.rst:3684 +#: ../../library/stdtypes.rst:3690 msgid "``'b'``" msgstr "``'b'``" -#: ../../library/stdtypes.rst:3684 +#: ../../library/stdtypes.rst:3690 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`~object.__bytes__`)." @@ -5819,7 +5824,7 @@ msgstr "" "バイナリシーケンス (:ref:`buffer protocol ` をサポートする" "か、 :meth:`~object.__bytes__` メソッドがあるオブジェクト)" -#: ../../library/stdtypes.rst:3688 +#: ../../library/stdtypes.rst:3694 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." @@ -5827,7 +5832,7 @@ msgstr "" "``'s'`` は ``'b'`` の別名です。Python 2/3 の両方を対象としたコードでのみ使用" "すべきです。" -#: ../../library/stdtypes.rst:3691 +#: ../../library/stdtypes.rst:3697 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." @@ -5835,7 +5840,7 @@ msgstr "" "バイナリシーケンス (Python オブジェクトを ``repr(obj).encode('ascii', " "'backslashreplace')`` で変換します)。" -#: ../../library/stdtypes.rst:3694 +#: ../../library/stdtypes.rst:3700 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." @@ -5843,27 +5848,27 @@ msgstr "" "``'r'`` は ``'a'`` の別名です。Python 2/3 の両方を対象としたコードでのみ使用" "すべきです。" -#: ../../library/stdtypes.rst:3694 +#: ../../library/stdtypes.rst:3700 msgid "\\(7)" msgstr "\\(7)" -#: ../../library/stdtypes.rst:3729 +#: ../../library/stdtypes.rst:3735 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%s'`` は非推奨ですが、3.x 系では削除されません。" -#: ../../library/stdtypes.rst:3732 +#: ../../library/stdtypes.rst:3738 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "``b'%r'`` は非推奨ですが、3.x 系では削除されません。" -#: ../../library/stdtypes.rst:3744 +#: ../../library/stdtypes.rst:3750 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr ":pep:`461` - bytes と bytearray への % 書式化の追加" -#: ../../library/stdtypes.rst:3751 +#: ../../library/stdtypes.rst:3757 msgid "Memory Views" msgstr "メモリビュー" -#: ../../library/stdtypes.rst:3753 +#: ../../library/stdtypes.rst:3759 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " @@ -5873,7 +5878,7 @@ msgstr "" "` をサポートするオブジェクトの内部データへ、コピーすることなく" "アクセスすることを可能にします。" -#: ../../library/stdtypes.rst:3759 +#: ../../library/stdtypes.rst:3765 msgid "" "Create a :class:`memoryview` that references *object*. *object* must " "support the buffer protocol. Built-in objects that support the buffer " @@ -5884,7 +5889,7 @@ msgstr "" "組み込みオブジェクトには、 :class:`bytes` 、 :class:`bytearray` などがありま" "す。" -#: ../../library/stdtypes.rst:3763 +#: ../../library/stdtypes.rst:3769 msgid "" "A :class:`memoryview` has the notion of an *element*, which is the atomic " "memory unit handled by the originating *object*. For many simple types such " @@ -5896,7 +5901,7 @@ msgstr "" "`bytearray` では、要素は単バイトになりますが、他の :class:`array.array` 等の" "型では、要素はより大きくなりえます。" -#: ../../library/stdtypes.rst:3768 +#: ../../library/stdtypes.rst:3774 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`, which " "is the nested list representation of the view. If ``view.ndim = 1``, this is " @@ -5906,7 +5911,7 @@ msgstr "" "tolist` の長さと等しくなります。ビューが ``view.ndim = 1`` を満たす場合は" "ビューの要素数とも等しくなります。" -#: ../../library/stdtypes.rst:3772 +#: ../../library/stdtypes.rst:3778 msgid "" "If ``view.ndim == 0``, ``len(view)`` now raises :exc:`TypeError` instead of " "returning 1." @@ -5914,13 +5919,13 @@ msgstr "" "``view.ndim == 0`` で ``len(view)`` の場合、1の代わりに :exc:`TypeError` を返" "すようになりました。" -#: ../../library/stdtypes.rst:3775 +#: ../../library/stdtypes.rst:3781 msgid "" "The :class:`~memoryview.itemsize` attribute will give you the number of " "bytes in a single element." msgstr ":class:`~memoryview.itemsize` 属性は各要素のバイト数を与えます。" -#: ../../library/stdtypes.rst:3778 +#: ../../library/stdtypes.rst:3784 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" @@ -5928,7 +5933,7 @@ msgstr "" ":class:`memoryview` はスライスおよびインデックス指定で内容を取得できます。一" "次元のスライスは部分ビューになります::" -#: ../../library/stdtypes.rst:3781 +#: ../../library/stdtypes.rst:3787 msgid "" ">>> v = memoryview(b'abcefg')\n" ">>> v[1]\n" @@ -5941,7 +5946,7 @@ msgid "" "b'bce'" msgstr "" -#: ../../library/stdtypes.rst:3791 +#: ../../library/stdtypes.rst:3797 msgid "" "If :class:`~memoryview.format` is one of the native format specifiers from " "the :mod:`struct` module, indexing with an integer or a tuple of integers is " @@ -5959,11 +5964,11 @@ msgstr "" "*ndim* 個の整数からなるタプルでインデックス指定できます。ゼロ次元のメモリ" "ビューでは、空のタプルでインデックス指定できます。" -#: ../../library/stdtypes.rst:3800 +#: ../../library/stdtypes.rst:3806 msgid "Here is an example with a non-byte format::" msgstr ":class:`~memoryview.format` が単バイト単位ではない例を示します::" -#: ../../library/stdtypes.rst:3802 +#: ../../library/stdtypes.rst:3808 msgid "" ">>> import array\n" ">>> a = array.array('l', [-11111111, 22222222, -33333333, 44444444])\n" @@ -5976,7 +5981,7 @@ msgid "" "[-11111111, -33333333]" msgstr "" -#: ../../library/stdtypes.rst:3812 +#: ../../library/stdtypes.rst:3818 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" @@ -5984,7 +5989,7 @@ msgstr "" "メモリビューの参照しているオブジェクトが書き込み可能であれば、一次元スライス" "での代入が可能です。ただしサイズの変更はできません::" -#: ../../library/stdtypes.rst:3815 +#: ../../library/stdtypes.rst:3821 msgid "" ">>> data = bytearray(b'abcefg')\n" ">>> v = memoryview(data)\n" @@ -6006,7 +6011,7 @@ msgid "" "bytearray(b'z1spam')" msgstr "" -#: ../../library/stdtypes.rst:3833 +#: ../../library/stdtypes.rst:3839 msgid "" "One-dimensional memoryviews of :term:`hashable` (read-only) types with " "formats 'B', 'b' or 'c' are also hashable. The hash is defined as ``hash(m) " @@ -6016,7 +6021,7 @@ msgstr "" "み出し専用の) 型の1次元メモリビューもまた、ハッシュ可能です。ハッシュは " "``hash(m) == hash(m.tobytes())`` として定義されています::" -#: ../../library/stdtypes.rst:3837 +#: ../../library/stdtypes.rst:3843 msgid "" ">>> v = memoryview(b'abcefg')\n" ">>> hash(v) == hash(b'abcefg')\n" @@ -6027,7 +6032,7 @@ msgid "" "True" msgstr "" -#: ../../library/stdtypes.rst:3845 +#: ../../library/stdtypes.rst:3851 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now :term:`hashable`." @@ -6036,7 +6041,7 @@ msgstr "" "フォーマットの 1 次元のメモリビューが :term:`ハッシュ可能 ` になり" "ました。" -#: ../../library/stdtypes.rst:3849 +#: ../../library/stdtypes.rst:3855 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" @@ -6044,15 +6049,15 @@ msgstr "" "memoryview は自動的に :class:`collections.abc.Sequence` へ登録されるようにな" "りました。" -#: ../../library/stdtypes.rst:3853 +#: ../../library/stdtypes.rst:3859 msgid "memoryviews can now be indexed with tuple of integers." msgstr "メモリビューは整数のタプルでインデックス指定できるようになりました。" -#: ../../library/stdtypes.rst:3856 +#: ../../library/stdtypes.rst:3862 msgid ":class:`memoryview` has several methods:" msgstr ":class:`memoryview` にはいくつかのメソッドがあります:" -#: ../../library/stdtypes.rst:3860 +#: ../../library/stdtypes.rst:3866 msgid "" "A memoryview and a :pep:`3118` exporter are equal if their shapes are " "equivalent and if all corresponding values are equal when the operands' " @@ -6061,7 +6066,7 @@ msgstr "" "memoryview と :pep:`3118` エクスポーターは、 shape が同じで、 :mod:`struct` " "のフォーマットで解釈したときの値が同じ場合に同値になります。" -#: ../../library/stdtypes.rst:3864 +#: ../../library/stdtypes.rst:3870 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" @@ -6069,7 +6074,7 @@ msgstr "" ":meth:`tolist` がサポートしている :mod:`struct` フォーマットの一部では、 ``v." "tolist() == w.tolist()`` が成り立つときに ``v`` == ``w`` になります::" -#: ../../library/stdtypes.rst:3867 +#: ../../library/stdtypes.rst:3873 msgid "" ">>> import array\n" ">>> a = array.array('I', [1, 2, 3, 4, 5])\n" @@ -6088,7 +6093,7 @@ msgid "" "True" msgstr "" -#: ../../library/stdtypes.rst:3883 +#: ../../library/stdtypes.rst:3889 msgid "" "If either format string is not supported by the :mod:`struct` module, then " "the objects will always compare as unequal (even if the format strings and " @@ -6098,7 +6103,7 @@ msgstr "" "(書式文字列とバッファの内容が同一でも) オブジェクトは常に等しくないものとして" "比較されます::" -#: ../../library/stdtypes.rst:3887 +#: ../../library/stdtypes.rst:3893 msgid "" ">>> from ctypes import BigEndianStructure, c_long\n" ">>> class BEPoint(BigEndianStructure):\n" @@ -6113,7 +6118,7 @@ msgid "" "False" msgstr "" -#: ../../library/stdtypes.rst:3899 +#: ../../library/stdtypes.rst:3905 msgid "" "Note that, as with floating-point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." @@ -6121,7 +6126,7 @@ msgstr "" "浮動小数点数の場合と同様 memoryview オブジェクトに対する ``v is w`` は ``v " "== w`` を意味 *しない* ことに注意してください。" -#: ../../library/stdtypes.rst:3902 +#: ../../library/stdtypes.rst:3908 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." @@ -6129,7 +6134,7 @@ msgstr "" "以前のバージョンは、要素フォーマットと論理的な配列構造を無視して生のメモリを" "比較していました。" -#: ../../library/stdtypes.rst:3908 +#: ../../library/stdtypes.rst:3914 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" @@ -6137,7 +6142,7 @@ msgstr "" "バッファ中のデータをバイト文字列として返します。これはメモリビューに対して :" "class:`bytes` コンストラクタを呼び出すのと同等です。 ::" -#: ../../library/stdtypes.rst:3911 +#: ../../library/stdtypes.rst:3917 msgid "" ">>> m = memoryview(b\"abc\")\n" ">>> m.tobytes()\n" @@ -6146,7 +6151,7 @@ msgid "" "b'abc'" msgstr "" -#: ../../library/stdtypes.rst:3917 +#: ../../library/stdtypes.rst:3923 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -6157,7 +6162,7 @@ msgstr "" "ラットなリスト表現に等しくなります。 :meth:`tobytes` は、 :mod:`struct` モ" "ジュール文法にないものを含むすべての書式文字列をサポートします。" -#: ../../library/stdtypes.rst:3922 +#: ../../library/stdtypes.rst:3928 msgid "" "*order* can be {'C', 'F', 'A'}. When *order* is 'C' or 'F', the data of the " "original array is converted to C or Fortran order. For contiguous views, 'A' " @@ -6172,20 +6177,20 @@ msgstr "" "連続なデータに対するビューの場合、データはまず C のデータ並びに変換されま" "す。 *order=None* は *order='C'* と同じです。" -#: ../../library/stdtypes.rst:3931 +#: ../../library/stdtypes.rst:3937 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "バッファ中の各バイトを 2 つの 16 進数で表した文字列を返します::" -#: ../../library/stdtypes.rst:3934 +#: ../../library/stdtypes.rst:3940 msgid "" ">>> m = memoryview(b\"abc\")\n" ">>> m.hex()\n" "'616263'" msgstr "" -#: ../../library/stdtypes.rst:3940 +#: ../../library/stdtypes.rst:3946 msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " @@ -6195,11 +6200,11 @@ msgstr "" "字列を分割するセパレータを挿入するためのオプションパラメータ *sep* と " "*bytes_per_sep* をサポートするようになりました。" -#: ../../library/stdtypes.rst:3947 +#: ../../library/stdtypes.rst:3953 msgid "Return the data in the buffer as a list of elements. ::" msgstr "バッファ中のデータを要素のリストとして返します。 ::" -#: ../../library/stdtypes.rst:3949 +#: ../../library/stdtypes.rst:3955 msgid "" ">>> memoryview(b'abc').tolist()\n" "[97, 98, 99]\n" @@ -6210,7 +6215,7 @@ msgid "" "[1.1, 2.2, 3.3]" msgstr "" -#: ../../library/stdtypes.rst:3957 +#: ../../library/stdtypes.rst:3963 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." @@ -6218,7 +6223,7 @@ msgstr "" ":meth:`tolist` が :mod:`struct` モジュール文法に含まれるすべての単一文字の " "native フォーマットと多次元の表現をサポートするようになりました。" -#: ../../library/stdtypes.rst:3964 +#: ../../library/stdtypes.rst:3970 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" @@ -6226,7 +6231,7 @@ msgstr "" "読み込み専用のメモリビューオブジェクトを返します。元のメモリビューオブジェク" "トは変更されません。 ::" -#: ../../library/stdtypes.rst:3967 +#: ../../library/stdtypes.rst:3973 msgid "" ">>> m = memoryview(bytearray(b'abc'))\n" ">>> mm = m.toreadonly()\n" @@ -6241,7 +6246,7 @@ msgid "" "[43, 98, 99]" msgstr "" -#: ../../library/stdtypes.rst:3983 +#: ../../library/stdtypes.rst:3989 msgid "" "Release the underlying buffer exposed by the memoryview object. Many " "objects take special actions when a view is held on them (for example, a :" @@ -6255,14 +6260,14 @@ msgstr "" "release() を呼び出すことは、これらの制約をできるだけ早く取り除く (そしてぶら" "下がったリソースをすべて解放する) のに便利です。" -#: ../../library/stdtypes.rst:3989 +#: ../../library/stdtypes.rst:3995 msgid "" "After this method has been called, any further operation on the view raises " "a :class:`ValueError` (except :meth:`release` itself which can be called " "multiple times)::" msgstr "" -#: ../../library/stdtypes.rst:3993 +#: ../../library/stdtypes.rst:3999 msgid "" ">>> m = memoryview(b'abc')\n" ">>> m.release()\n" @@ -6272,7 +6277,7 @@ msgid "" "ValueError: operation forbidden on released memoryview object" msgstr "" -#: ../../library/stdtypes.rst:4000 +#: ../../library/stdtypes.rst:4006 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" @@ -6280,7 +6285,7 @@ msgstr "" "コンテキストマネージャプロトコルは、 ``with`` 文を使って同様の効果を得るのに" "使えます::" -#: ../../library/stdtypes.rst:4003 +#: ../../library/stdtypes.rst:4009 msgid "" ">>> with memoryview(b'abc') as m:\n" "... m[0]\n" @@ -6292,7 +6297,7 @@ msgid "" "ValueError: operation forbidden on released memoryview object" msgstr "" -#: ../../library/stdtypes.rst:4016 +#: ../../library/stdtypes.rst:4022 msgid "" "Cast a memoryview to a new format or shape. *shape* defaults to " "``[byte_length//new_itemsize]``, which means that the result view will be " @@ -6306,7 +6311,7 @@ msgstr "" "は 1次元配列 -> C言語型の連続配列 と C言語型の連続配列 -> 1次元配列 です(参" "考: :term:`contiguous`)。" -#: ../../library/stdtypes.rst:4022 +#: ../../library/stdtypes.rst:4028 msgid "" "The destination format is restricted to a single element native format in :" "mod:`struct` syntax. One of the formats must be a byte format ('B', 'b' or " @@ -6319,11 +6324,11 @@ msgstr "" "ばなりません。全てのフォーマットのバイト長は、オペレーティングシステムに依存" "することに注意してください。" -#: ../../library/stdtypes.rst:4028 +#: ../../library/stdtypes.rst:4034 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "1次元 long から 1次元 unsigned byte へのキャスト::" -#: ../../library/stdtypes.rst:4030 +#: ../../library/stdtypes.rst:4036 msgid "" ">>> import array\n" ">>> a = array.array('l', [1,2,3])\n" @@ -6347,11 +6352,11 @@ msgid "" "24" msgstr "" -#: ../../library/stdtypes.rst:4051 +#: ../../library/stdtypes.rst:4057 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "1次元 unsigned byte から 1次元 char へのキャスト::" -#: ../../library/stdtypes.rst:4053 +#: ../../library/stdtypes.rst:4059 msgid "" ">>> b = bytearray(b'zyz')\n" ">>> x = memoryview(b)\n" @@ -6365,11 +6370,11 @@ msgid "" "bytearray(b'ayz')" msgstr "" -#: ../../library/stdtypes.rst:4064 +#: ../../library/stdtypes.rst:4070 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "1次元 byte から 3次元 int へ、そして 1次元 signed char へのキャスト::" -#: ../../library/stdtypes.rst:4066 +#: ../../library/stdtypes.rst:4072 msgid "" ">>> import struct\n" ">>> buf = struct.pack(\"i\"*12, *list(range(12)))\n" @@ -6396,11 +6401,11 @@ msgid "" "48" msgstr "" -#: ../../library/stdtypes.rst:4090 +#: ../../library/stdtypes.rst:4096 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "1次元 unsigned long から 2次元 unsigned long へのキャスト::" -#: ../../library/stdtypes.rst:4092 +#: ../../library/stdtypes.rst:4098 msgid "" ">>> buf = struct.pack(\"L\"*6, *list(range(6)))\n" ">>> x = memoryview(buf)\n" @@ -6413,21 +6418,21 @@ msgid "" "[[0, 1, 2], [3, 4, 5]]" msgstr "" -#: ../../library/stdtypes.rst:4104 +#: ../../library/stdtypes.rst:4110 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" "単バイトのビューへキャストする場合、キャスト元のフォーマットについて制約は無" "くなりました。" -#: ../../library/stdtypes.rst:4107 +#: ../../library/stdtypes.rst:4113 msgid "There are also several readonly attributes available:" msgstr "読み出し専用の属性もいくつか使えます:" -#: ../../library/stdtypes.rst:4111 +#: ../../library/stdtypes.rst:4117 msgid "The underlying object of the memoryview::" msgstr "memoryview が参照しているオブジェクト::" -#: ../../library/stdtypes.rst:4113 +#: ../../library/stdtypes.rst:4119 msgid "" ">>> b = bytearray(b'xyz')\n" ">>> m = memoryview(b)\n" @@ -6435,7 +6440,7 @@ msgid "" "True" msgstr "" -#: ../../library/stdtypes.rst:4122 +#: ../../library/stdtypes.rst:4128 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " @@ -6444,7 +6449,7 @@ msgstr "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. その配列が連続表" "現において利用するスペースです。これは ``len(m)`` と一致するとは限りません::" -#: ../../library/stdtypes.rst:4126 +#: ../../library/stdtypes.rst:4132 msgid "" ">>> import array\n" ">>> a = array.array('i', [1,2,3,4,5])\n" @@ -6462,11 +6467,11 @@ msgid "" "12" msgstr "" -#: ../../library/stdtypes.rst:4141 +#: ../../library/stdtypes.rst:4147 msgid "Multi-dimensional arrays::" msgstr "多次元配列::" -#: ../../library/stdtypes.rst:4143 +#: ../../library/stdtypes.rst:4149 msgid "" ">>> import struct\n" ">>> buf = struct.pack(\"d\"*12, *[1.5*x for x in range(12)])\n" @@ -6480,11 +6485,11 @@ msgid "" "96" msgstr "" -#: ../../library/stdtypes.rst:4158 +#: ../../library/stdtypes.rst:4164 msgid "A bool indicating whether the memory is read only." msgstr "メモリが読み出し専用かどうかを示す真偽値です。" -#: ../../library/stdtypes.rst:4162 +#: ../../library/stdtypes.rst:4168 msgid "" "A string containing the format (in :mod:`struct` module style) for each " "element in the view. A memoryview can be created from exporters with " @@ -6496,7 +6501,7 @@ msgstr "" "から作成することができます。しかし、いくつかのメソッド(例えば :meth:" "`tolist`) はネイティブの単一要素フォーマットに制限されます。" -#: ../../library/stdtypes.rst:4167 +#: ../../library/stdtypes.rst:4173 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." @@ -6504,11 +6509,11 @@ msgstr "" "フォーマット ``'B'`` は struct モジュール構文で扱われるようになりました。これ" "は ``memoryview(b'abc')[0] == b'abc'[0] == 97`` ということを意味します。" -#: ../../library/stdtypes.rst:4173 +#: ../../library/stdtypes.rst:4179 msgid "The size in bytes of each element of the memoryview::" msgstr "memoryview の各要素のバイト単位の大きさ::" -#: ../../library/stdtypes.rst:4175 +#: ../../library/stdtypes.rst:4181 msgid "" ">>> import array, struct\n" ">>> m = memoryview(array.array('H', [32000, 32001, 32002]))\n" @@ -6520,13 +6525,13 @@ msgid "" "True" msgstr "" -#: ../../library/stdtypes.rst:4186 +#: ../../library/stdtypes.rst:4192 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "メモリが表す多次元配列が何次元かを示す整数です。" -#: ../../library/stdtypes.rst:4191 +#: ../../library/stdtypes.rst:4197 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." @@ -6534,12 +6539,12 @@ msgstr "" "メモリが表している N 次元配列の形状を表す、長さ :attr:`ndim` の整数のタプルで" "す。" -#: ../../library/stdtypes.rst:4194 ../../library/stdtypes.rst:4202 +#: ../../library/stdtypes.rst:4200 ../../library/stdtypes.rst:4208 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" "ndim = 0 の場合は ``None`` ではなく空のタプルとなるよう変更されました。" -#: ../../library/stdtypes.rst:4199 +#: ../../library/stdtypes.rst:4205 msgid "" "A tuple of integers the length of :attr:`ndim` giving the size in bytes to " "access each element for each dimension of the array." @@ -6547,34 +6552,34 @@ msgstr "" "配列のそれぞれの次元に対して、それぞれの要素にアクセスするのに必要なバイト数" "を表す、長さ :attr:`ndim` の整数のタプルです。" -#: ../../library/stdtypes.rst:4207 +#: ../../library/stdtypes.rst:4213 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" "PILスタイルの配列の内部で利用している値。この値はただの情報として公開されてい" "ます。" -#: ../../library/stdtypes.rst:4211 +#: ../../library/stdtypes.rst:4217 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "" "メモリーが C 形式の順序で連続しているかどうかを示す真偽値(参考: :term:" "`contiguous` )。" -#: ../../library/stdtypes.rst:4217 +#: ../../library/stdtypes.rst:4223 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "" "メモリーがFortran形式の順序で連続しているかどうかを示す真偽値(参考: :term:" "`contiguous` )。" -#: ../../library/stdtypes.rst:4223 +#: ../../library/stdtypes.rst:4229 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "" "メモリーが連続しているかどうかを示す真偽値(参考: :term:`contiguous` )。" -#: ../../library/stdtypes.rst:4231 +#: ../../library/stdtypes.rst:4237 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "set(集合)型 --- :class:`set`, :class:`frozenset`" -#: ../../library/stdtypes.rst:4235 +#: ../../library/stdtypes.rst:4241 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -6589,7 +6594,7 @@ msgstr "" "(他のコンテナについては組み込みの :class:`dict`, :class:`list`, :class:" "`tuple` クラスや :mod:`collections` モジュールを参照してください。)" -#: ../../library/stdtypes.rst:4242 +#: ../../library/stdtypes.rst:4248 msgid "" "Like other collections, sets support ``x in set``, ``len(set)``, and ``for x " "in set``. Being an unordered collection, sets do not record element " @@ -6601,7 +6606,7 @@ msgstr "" "素の位置を記録しません。従って、集合はインデクシング、スライシング、その他の" "シーケンス的な振舞いをサポートしません。" -#: ../../library/stdtypes.rst:4247 +#: ../../library/stdtypes.rst:4253 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -6620,7 +6625,7 @@ msgstr "" "作成後に内容を改変できないため、辞書のキーや他の集合の要素として用いることが" "できます。" -#: ../../library/stdtypes.rst:4255 +#: ../../library/stdtypes.rst:4261 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -6630,11 +6635,11 @@ msgstr "" "ラクタに加え、要素を波括弧中にカンマで区切って列挙することでも生成できます。" "例: ``{'jack', 'sjoerd'}``。" -#: ../../library/stdtypes.rst:4259 +#: ../../library/stdtypes.rst:4265 msgid "The constructors for both classes work the same:" msgstr "どちらのクラスのコンストラクタも同様に働きます:" -#: ../../library/stdtypes.rst:4264 +#: ../../library/stdtypes.rst:4270 msgid "" "Return a new set or frozenset object whose elements are taken from " "*iterable*. The elements of a set must be :term:`hashable`. To represent " @@ -6647,21 +6652,21 @@ msgstr "" "集合は :class:`frozenset` オブジェクトでなくてはなりません。*iterable* が指定" "されない場合、新しい空の集合が返されます。" -#: ../../library/stdtypes.rst:4270 +#: ../../library/stdtypes.rst:4276 msgid "Sets can be created by several means:" msgstr "集合はいくつかの方法で生成できます:" -#: ../../library/stdtypes.rst:4272 +#: ../../library/stdtypes.rst:4278 msgid "" "Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``" msgstr "波括弧内にカンマ区切りで要素を列挙する: ``{'jack', 'sjoerd'}``" -#: ../../library/stdtypes.rst:4273 +#: ../../library/stdtypes.rst:4279 msgid "" "Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``" msgstr "集合内包表記を使う: ``{c for c in 'abracadabra' if c not in 'abc'}``" -#: ../../library/stdtypes.rst:4274 +#: ../../library/stdtypes.rst:4280 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -6669,7 +6674,7 @@ msgstr "" "型コンストラクタを使う: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: ../../library/stdtypes.rst:4276 +#: ../../library/stdtypes.rst:4282 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" @@ -6677,19 +6682,19 @@ msgstr "" ":class:`set` および :class:`frozenset` のインスタンスは以下の操作を提供しま" "す:" -#: ../../library/stdtypes.rst:4281 +#: ../../library/stdtypes.rst:4287 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "集合 *s* の要素数 (*s* の濃度) を返します。" -#: ../../library/stdtypes.rst:4285 +#: ../../library/stdtypes.rst:4291 msgid "Test *x* for membership in *s*." msgstr "*x* が *s* のメンバーに含まれるか判定します。" -#: ../../library/stdtypes.rst:4289 +#: ../../library/stdtypes.rst:4295 msgid "Test *x* for non-membership in *s*." msgstr "*x* が *s* のメンバーに含まれていないことを判定します。" -#: ../../library/stdtypes.rst:4293 +#: ../../library/stdtypes.rst:4299 msgid "" "Return ``True`` if the set has no elements in common with *other*. Sets are " "disjoint if and only if their intersection is the empty set." @@ -6697,11 +6702,11 @@ msgstr "" "集合が *other* と共通の要素を持たないとき、``True`` を返します。集合はそれら" "の積集合が空集合となるときのみ、互いに素 (disjoint) となります。" -#: ../../library/stdtypes.rst:4299 +#: ../../library/stdtypes.rst:4305 msgid "Test whether every element in the set is in *other*." msgstr "set の全ての要素が *other* に含まれるか判定します。" -#: ../../library/stdtypes.rst:4303 +#: ../../library/stdtypes.rst:4309 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -6709,11 +6714,11 @@ msgstr "" "set が *other* の真部分集合であるかを判定します。つまり、 ``set <= other and " "set != other`` と等価です。" -#: ../../library/stdtypes.rst:4309 +#: ../../library/stdtypes.rst:4315 msgid "Test whether every element in *other* is in the set." msgstr "*other* の全ての要素が set に含まれるか判定します。" -#: ../../library/stdtypes.rst:4313 +#: ../../library/stdtypes.rst:4319 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -6721,31 +6726,31 @@ msgstr "" "set が *other* の真上位集合であるかを判定します。つまり、 ``set >= other and " "set != other`` と等価です。" -#: ../../library/stdtypes.rst:4319 +#: ../../library/stdtypes.rst:4325 msgid "Return a new set with elements from the set and all others." msgstr "set と全ての other の要素からなる新しい集合を返します。" -#: ../../library/stdtypes.rst:4324 +#: ../../library/stdtypes.rst:4330 msgid "Return a new set with elements common to the set and all others." msgstr "set と全ての other に共通する要素を持つ、新しい集合を返します。" -#: ../../library/stdtypes.rst:4329 +#: ../../library/stdtypes.rst:4335 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "set に含まれて、かつ、全ての other に含まれない要素を持つ、新しい集合を返しま" "す。" -#: ../../library/stdtypes.rst:4334 +#: ../../library/stdtypes.rst:4340 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "set と *other* のいずれか一方だけに含まれる要素を持つ新しい集合を返します。" -#: ../../library/stdtypes.rst:4338 +#: ../../library/stdtypes.rst:4344 msgid "Return a shallow copy of the set." msgstr "集合の浅いコピーを返します。" -#: ../../library/stdtypes.rst:4341 +#: ../../library/stdtypes.rst:4347 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -6761,7 +6766,7 @@ msgstr "" "'cbs'`` のような誤りがちな構文を予防し、より読みやすい ``set('abc')." "intersection('cbs')`` を支持します。" -#: ../../library/stdtypes.rst:4348 +#: ../../library/stdtypes.rst:4354 msgid "" "Both :class:`set` and :class:`frozenset` support set to set comparisons. Two " "sets are equal if and only if every element of each set is contained in the " @@ -6778,7 +6783,7 @@ msgstr "" "(上位集合であるが等しくない) とき、かつそのときに限り一方の集合は他方の集合よ" "り大きいです。" -#: ../../library/stdtypes.rst:4355 +#: ../../library/stdtypes.rst:4361 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -6788,7 +6793,7 @@ msgstr "" "づいて比較されます。例えば、 ``set('abc') == frozenset('abc')`` や " "``set('abc') in set([frozenset('abc')])`` は ``True`` を返します。" -#: ../../library/stdtypes.rst:4359 +#: ../../library/stdtypes.rst:4365 msgid "" "The subset and equality comparisons do not generalize to a total ordering " "function. For example, any two nonempty disjoint sets are not equal and are " @@ -6800,7 +6805,7 @@ msgstr "" "せんから、以下の *すべて* に ``False`` を返します: ``ab``." -#: ../../library/stdtypes.rst:4364 +#: ../../library/stdtypes.rst:4370 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -6808,13 +6813,13 @@ msgstr "" "集合は半順序(部分集合関係)しか定義しないので、集合のリストにおける :meth:" "`list.sort` メソッドの出力は未定義です。" -#: ../../library/stdtypes.rst:4367 +#: ../../library/stdtypes.rst:4373 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "" "集合の要素は、辞書のキーのように、 :term:`ハッシュ可能 ` でなければ" "なりません。" -#: ../../library/stdtypes.rst:4369 +#: ../../library/stdtypes.rst:4375 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -6824,7 +6829,7 @@ msgstr "" "演算は、第一被演算子の型を返します。例えば: ``frozenset('ab') | set('bc')`` " "は :class:`frozenset` インスタンスを返します。" -#: ../../library/stdtypes.rst:4373 +#: ../../library/stdtypes.rst:4379 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -6832,28 +6837,28 @@ msgstr "" "以下の表に挙げる演算は :class:`set` に適用されますが、:class:`frozenset` のイ" "ミュータブルなインスタンスには適用されません:" -#: ../../library/stdtypes.rst:4379 +#: ../../library/stdtypes.rst:4385 msgid "Update the set, adding elements from all others." msgstr "全ての other の要素を追加し、 set を更新します。" -#: ../../library/stdtypes.rst:4384 +#: ../../library/stdtypes.rst:4390 msgid "Update the set, keeping only elements found in it and all others." msgstr "元の set と全ての other に共通する要素だけを残して set を更新します。" -#: ../../library/stdtypes.rst:4389 +#: ../../library/stdtypes.rst:4395 msgid "Update the set, removing elements found in others." msgstr "*other* に含まれる要素を取り除き、 set を更新します。" -#: ../../library/stdtypes.rst:4394 +#: ../../library/stdtypes.rst:4400 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "どちらかにのみ含まれて、共通には持たない要素のみで set を更新します。" -#: ../../library/stdtypes.rst:4398 +#: ../../library/stdtypes.rst:4404 msgid "Add element *elem* to the set." msgstr "要素 *elem* を set に追加します。" -#: ../../library/stdtypes.rst:4402 +#: ../../library/stdtypes.rst:4408 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -6861,11 +6866,11 @@ msgstr "" "要素 *elem* を set から取り除きます。*elem* が set に含まれていなければ :exc:" "`KeyError` を送出します。" -#: ../../library/stdtypes.rst:4407 +#: ../../library/stdtypes.rst:4413 msgid "Remove element *elem* from the set if it is present." msgstr "要素 *elem* が set に含まれていれば、取り除きます。" -#: ../../library/stdtypes.rst:4411 +#: ../../library/stdtypes.rst:4417 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -6873,11 +6878,11 @@ msgstr "" "*s* から任意の要素を取り除き、それを返します。集合が空の場合、 :exc:" "`KeyError` を送出します" -#: ../../library/stdtypes.rst:4416 +#: ../../library/stdtypes.rst:4422 msgid "Remove all elements from the set." msgstr "set の全ての要素を取り除きます。" -#: ../../library/stdtypes.rst:4419 +#: ../../library/stdtypes.rst:4425 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -6888,7 +6893,7 @@ msgstr "" "`difference_update`, および :meth:`symmetric_difference_update` メソッドは、" "任意のイテラブルを引数として受け付けます。" -#: ../../library/stdtypes.rst:4424 +#: ../../library/stdtypes.rst:4430 msgid "" "Note, the *elem* argument to the :meth:`~object.__contains__`, :meth:" "`remove`, and :meth:`discard` methods may be a set. To support searching " @@ -6899,11 +6904,11 @@ msgstr "" "その集合と等価な :class:`frozenset` の検索をサポートするために、 *elem* から" "一時的な frozenset を作成します。" -#: ../../library/stdtypes.rst:4433 +#: ../../library/stdtypes.rst:4439 msgid "Mapping Types --- :class:`dict`" msgstr "マッピング型 --- :class:`dict`" -#: ../../library/stdtypes.rst:4443 +#: ../../library/stdtypes.rst:4449 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -6917,7 +6922,7 @@ msgstr "" "す。 (他のコンテナについては組み込みの :class:`list`, :class:`set`, および :" "class:`tuple` クラスと、 :mod:`collections` モジュールを参照してください。)" -#: ../../library/stdtypes.rst:4449 +#: ../../library/stdtypes.rst:4455 msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" "term:`hashable`, that is, values containing lists, dictionaries or other " @@ -6932,7 +6937,7 @@ msgstr "" "比較した際に等しいとみなされる値 (例えば ``1`` と ``1.0`` と ``True``) は、ど" "れを使っても同じエントリーに関連付けられます。" -#: ../../library/stdtypes.rst:4460 +#: ../../library/stdtypes.rst:4466 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -6940,11 +6945,11 @@ msgstr "" "オプションの位置引数と空の可能性もあるキーワード引数の集合により初期化された" "新しい辞書を返します。" -#: ../../library/stdtypes.rst:4463 +#: ../../library/stdtypes.rst:4469 msgid "Dictionaries can be created by several means:" msgstr "辞書はいくつかの方法で生成できます:" -#: ../../library/stdtypes.rst:4465 +#: ../../library/stdtypes.rst:4471 msgid "" "Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': " "4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``" @@ -6952,11 +6957,11 @@ msgstr "" "波括弧内にカンマ区切りで ``key: value`` 対を列挙する: ``{'jack': 4098, " "'sjoerd': 4127}`` あるいは ``{4098: 'jack', 4127: 'sjoerd'}``" -#: ../../library/stdtypes.rst:4467 +#: ../../library/stdtypes.rst:4473 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "辞書内包表記を使う: ``{}``, ``{x: x ** 2 for x in range(10)}``" -#: ../../library/stdtypes.rst:4468 +#: ../../library/stdtypes.rst:4474 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" @@ -6964,7 +6969,7 @@ msgstr "" "型コンストラクタを使う: ``dict()``, ``dict([('foo', 100), ('bar', 200)])``, " "``dict(foo=100, bar=200)``" -#: ../../library/stdtypes.rst:4471 +#: ../../library/stdtypes.rst:4477 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it defines a ``keys()`` method, a " @@ -6977,7 +6982,7 @@ msgid "" "that key becomes the corresponding value in the new dictionary." msgstr "" -#: ../../library/stdtypes.rst:4481 +#: ../../library/stdtypes.rst:4487 msgid "" "If keyword arguments are given, the keyword arguments and their values are " "added to the dictionary created from the positional argument. If a key " @@ -6988,7 +6993,7 @@ msgstr "" "辞書に追加されます。既に存在しているキーが追加された場合、キーワード引数の値" "は位置引数の値を置き換えます。" -#: ../../library/stdtypes.rst:4486 +#: ../../library/stdtypes.rst:4492 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" @@ -6996,7 +7001,7 @@ msgstr "" "例を出すと、次の例は全て ``{\"one\": 1, \"two\": 2, \"three\": 3}`` に等しい" "辞書を返します::" -#: ../../library/stdtypes.rst:4489 +#: ../../library/stdtypes.rst:4495 msgid "" ">>> a = dict(one=1, two=2, three=3)\n" ">>> b = {'one': 1, 'two': 2, 'three': 3}\n" @@ -7008,7 +7013,7 @@ msgid "" "True" msgstr "" -#: ../../library/stdtypes.rst:4498 +#: ../../library/stdtypes.rst:4504 msgid "" "Providing keyword arguments as in the first example only works for keys that " "are valid Python identifiers. Otherwise, any valid keys can be used." @@ -7017,7 +7022,7 @@ msgstr "" "でなければなりません。それ以外の方法では、辞書のキーとして有効などんなキーで" "も使えます。" -#: ../../library/stdtypes.rst:4502 +#: ../../library/stdtypes.rst:4508 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" @@ -7025,15 +7030,15 @@ msgstr "" "以下は辞書型がサポートする操作です (それゆえ、カスタムのマップ型もこれらの操" "作をサポートするべきです):" -#: ../../library/stdtypes.rst:4507 +#: ../../library/stdtypes.rst:4513 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "辞書 *d* で使われている全てのキーのリストを返します。" -#: ../../library/stdtypes.rst:4511 +#: ../../library/stdtypes.rst:4517 msgid "Return the number of items in the dictionary *d*." msgstr "辞書 *d* の項目数を返します。" -#: ../../library/stdtypes.rst:4515 +#: ../../library/stdtypes.rst:4521 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." @@ -7041,7 +7046,7 @@ msgstr "" "*d* のキー *key* の項目を返します。マップに *key* が存在しなければ、 :exc:" "`KeyError` を送出します。" -#: ../../library/stdtypes.rst:4520 +#: ../../library/stdtypes.rst:4526 msgid "" "If a subclass of dict defines a method :meth:`__missing__` and *key* is not " "present, the ``d[key]`` operation calls that method with the key *key* as " @@ -7059,7 +7064,7 @@ msgstr "" "場合、 :exc:`KeyError` が送出されます。 :meth:`__missing__` はメソッドでなけ" "ればならず、インスタンス変数であってはなりません::" -#: ../../library/stdtypes.rst:4528 +#: ../../library/stdtypes.rst:4534 msgid "" ">>> class Counter(dict):\n" "... def __missing__(self, key):\n" @@ -7073,7 +7078,7 @@ msgid "" "1" msgstr "" -#: ../../library/stdtypes.rst:4539 +#: ../../library/stdtypes.rst:4545 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." @@ -7082,11 +7087,11 @@ msgstr "" "ここでお見せした例は :class:`collections.Counter` 実装の一部です。これとは" "違った ``__missing__`` が :class:`collections.defaultdict` で使われています。" -#: ../../library/stdtypes.rst:4545 +#: ../../library/stdtypes.rst:4551 msgid "Set ``d[key]`` to *value*." msgstr "``d[key]`` に *value* を設定します。" -#: ../../library/stdtypes.rst:4549 +#: ../../library/stdtypes.rst:4555 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." @@ -7094,17 +7099,17 @@ msgstr "" "*d* から ``d[key]`` を削除します。マップに *key* が存在しなければ、 :exc:" "`KeyError` を送出します。" -#: ../../library/stdtypes.rst:4554 +#: ../../library/stdtypes.rst:4560 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" "*d* がキー *key* を持っていれば ``True`` を、そうでなければ、 ``False`` を返" "します。" -#: ../../library/stdtypes.rst:4558 +#: ../../library/stdtypes.rst:4564 msgid "Equivalent to ``not key in d``." msgstr "``not key in d`` と等価です。" -#: ../../library/stdtypes.rst:4562 +#: ../../library/stdtypes.rst:4568 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." @@ -7112,21 +7117,21 @@ msgstr "" "辞書のキーに渡るイテレータを返します。これは ``iter(d.keys())`` へのショート" "カットです。" -#: ../../library/stdtypes.rst:4567 +#: ../../library/stdtypes.rst:4573 msgid "Remove all items from the dictionary." msgstr "辞書の全ての項目を消去します。" -#: ../../library/stdtypes.rst:4571 +#: ../../library/stdtypes.rst:4577 msgid "Return a shallow copy of the dictionary." msgstr "辞書の浅いコピーを返します。" -#: ../../library/stdtypes.rst:4575 +#: ../../library/stdtypes.rst:4581 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" "*iterable* からキーを取り、値を *value* に設定した、新しい辞書を作成します。" -#: ../../library/stdtypes.rst:4577 +#: ../../library/stdtypes.rst:4583 msgid "" ":meth:`fromkeys` is a class method that returns a new dictionary. *value* " "defaults to ``None``. All of the values refer to just a single instance, so " @@ -7142,7 +7147,7 @@ msgstr "" "別々の値を指すようにしたい場合は、代わりに :ref:`辞書内包表記 ` を使用" "してください。" -#: ../../library/stdtypes.rst:4585 +#: ../../library/stdtypes.rst:4591 msgid "" "Return the value for *key* if *key* is in the dictionary, else *default*. If " "*default* is not given, it defaults to ``None``, so that this method never " @@ -7152,7 +7157,7 @@ msgstr "" "す。 *default* が与えられなかった場合、デフォルトでは ``None`` となります。そ" "のため、このメソッドは :exc:`KeyError` を送出することはありません。" -#: ../../library/stdtypes.rst:4591 +#: ../../library/stdtypes.rst:4597 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." @@ -7160,7 +7165,7 @@ msgstr "" "辞書の項目 (``(key, value)`` 対) の新しいビューを返します。:ref:`ビューオブ" "ジェクトのドキュメント ` を参照してください。" -#: ../../library/stdtypes.rst:4596 +#: ../../library/stdtypes.rst:4602 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." @@ -7168,7 +7173,7 @@ msgstr "" "辞書のキーの新しいビューを返します。:ref:`ビューオブジェクトのドキュメント " "` を参照してください。" -#: ../../library/stdtypes.rst:4601 +#: ../../library/stdtypes.rst:4607 msgid "" "If *key* is in the dictionary, remove it and return its value, else return " "*default*. If *default* is not given and *key* is not in the dictionary, a :" @@ -7178,7 +7183,7 @@ msgstr "" "*default* を返します。 *default* が与えられず、かつ *key* が辞書に存在しなけ" "れば :exc:`KeyError` を送出します。" -#: ../../library/stdtypes.rst:4607 +#: ../../library/stdtypes.rst:4613 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." @@ -7186,7 +7191,7 @@ msgstr "" "任意の ``(key, value)`` 対を辞書から消去して返します。\n" "対は :abbr:`LIFO (後入れ、先出し)` の順序で返却されます。" -#: ../../library/stdtypes.rst:4610 +#: ../../library/stdtypes.rst:4616 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" @@ -7196,7 +7201,7 @@ msgstr "" "適用して消去するのに便利です。辞書が空であれば、 :meth:`popitem` の呼び出し" "は :exc:`KeyError` を送出します。" -#: ../../library/stdtypes.rst:4614 +#: ../../library/stdtypes.rst:4620 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." @@ -7205,7 +7210,7 @@ msgstr "" "以前のバージョンでは、 :meth:`popitem` は任意の key/value 対を返していまし" "た。" -#: ../../library/stdtypes.rst:4620 +#: ../../library/stdtypes.rst:4626 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." @@ -7213,7 +7218,7 @@ msgstr "" "辞書のキーに渡る逆イテレータを返します。これは ``reversed(d.keys())`` への" "ショートカットです。" -#: ../../library/stdtypes.rst:4627 +#: ../../library/stdtypes.rst:4633 msgid "" "If *key* is in the dictionary, return its value. If not, insert *key* with " "a value of *default* and return *default*. *default* defaults to ``None``." @@ -7222,7 +7227,7 @@ msgstr "" "*default* として *key* を挿入し、 *default* を返します。 *default* のデフォル" "トは ``None`` です。" -#: ../../library/stdtypes.rst:4633 +#: ../../library/stdtypes.rst:4639 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." @@ -7230,7 +7235,7 @@ msgstr "" "辞書の内容を *other* のキーと値で更新します。既存のキーは上書きされます。返り" "値は ``None`` です。" -#: ../../library/stdtypes.rst:4636 +#: ../../library/stdtypes.rst:4642 msgid "" ":meth:`update` accepts either another object with a ``keys()`` method (in " "which case :meth:`~object.__getitem__` is called with every key returned " @@ -7239,7 +7244,7 @@ msgid "" "is then updated with those key/value pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: ../../library/stdtypes.rst:4644 +#: ../../library/stdtypes.rst:4650 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." @@ -7247,7 +7252,7 @@ msgstr "" "辞書の値の新しいビューを返します。:ref:`ビューオブジェクトのドキュメント " "` を参照してください。" -#: ../../library/stdtypes.rst:4647 +#: ../../library/stdtypes.rst:4653 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " @@ -7257,14 +7262,14 @@ msgstr "" "が返ります。\n" "``dict.values()`` どうしを比較したときも同様です::" -#: ../../library/stdtypes.rst:4651 +#: ../../library/stdtypes.rst:4657 msgid "" ">>> d = {'a': 1}\n" ">>> d.values() == d.values()\n" "False" msgstr "" -#: ../../library/stdtypes.rst:4657 +#: ../../library/stdtypes.rst:4663 msgid "" "Create a new dictionary with the merged keys and values of *d* and *other*, " "which must both be dictionaries. The values of *other* take priority when " @@ -7273,7 +7278,7 @@ msgstr "" "*d* と *other* のキーと値を統合した新しい辞書を作成します。\n" "*d* と *other* のキーに重複がある場合は、 *other* の方の値が優先されます。" -#: ../../library/stdtypes.rst:4665 +#: ../../library/stdtypes.rst:4671 msgid "" "Update the dictionary *d* with keys and values from *other*, which may be " "either a :term:`mapping` or an :term:`iterable` of key/value pairs. The " @@ -7284,7 +7289,7 @@ msgstr "" "テラブル ` です。\n" "*d* と *other* のキーに重複がある場合は、 *other* の方の値が優先されます。" -#: ../../library/stdtypes.rst:4671 +#: ../../library/stdtypes.rst:4677 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " @@ -7294,7 +7299,7 @@ msgstr "" "その場合にのみ等しくなります。順序比較 ('<', '<=', '>=', '>') は :exc:" "`TypeError` を送出します。" -#: ../../library/stdtypes.rst:4675 +#: ../../library/stdtypes.rst:4681 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" @@ -7303,7 +7308,7 @@ msgstr "" "キーの更新は順序には影響が無いことに注意してください。\n" "いったん削除されてから再度追加されたキーは末尾に挿入されます。::" -#: ../../library/stdtypes.rst:4678 +#: ../../library/stdtypes.rst:4684 msgid "" ">>> d = {\"one\": 1, \"two\": 2, \"three\": 3, \"four\": 4}\n" ">>> d\n" @@ -7321,7 +7326,7 @@ msgid "" "{'one': 42, 'three': 3, 'four': 4, 'two': None}" msgstr "" -#: ../../library/stdtypes.rst:4693 +#: ../../library/stdtypes.rst:4699 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." @@ -7329,11 +7334,11 @@ msgstr "" "辞書の順序が挿入順序であることが保証されるようになりました。この振る舞いは " "CPython 3.6 の実装詳細でした。" -#: ../../library/stdtypes.rst:4697 +#: ../../library/stdtypes.rst:4703 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "辞書と辞書のビューは ``reversed()`` で順序を逆にすることができます::" -#: ../../library/stdtypes.rst:4699 +#: ../../library/stdtypes.rst:4705 msgid "" ">>> d = {\"one\": 1, \"two\": 2, \"three\": 3, \"four\": 4}\n" ">>> d\n" @@ -7346,11 +7351,11 @@ msgid "" "[('four', 4), ('three', 3), ('two', 2), ('one', 1)]" msgstr "" -#: ../../library/stdtypes.rst:4709 +#: ../../library/stdtypes.rst:4715 msgid "Dictionaries are now reversible." msgstr "辞書がリバース可能になりました。" -#: ../../library/stdtypes.rst:4714 +#: ../../library/stdtypes.rst:4720 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." @@ -7358,11 +7363,11 @@ msgstr "" ":class:`dict` の読み出し専用ビューを作るために :class:`types." "MappingProxyType` を使うことができます。" -#: ../../library/stdtypes.rst:4721 +#: ../../library/stdtypes.rst:4727 msgid "Dictionary view objects" msgstr "辞書ビューオブジェクト" -#: ../../library/stdtypes.rst:4723 +#: ../../library/stdtypes.rst:4729 msgid "" "The objects returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:" "`dict.items` are *view objects*. They provide a dynamic view on the " @@ -7373,7 +7378,7 @@ msgstr "" "ブジェクトは、 *ビューオブジェクト* です。これらは、辞書の項目の動的なビュー" "を提供し、辞書が変更された時、ビューはその変更を反映します。" -#: ../../library/stdtypes.rst:4728 +#: ../../library/stdtypes.rst:4734 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" @@ -7381,11 +7386,11 @@ msgstr "" "辞書ビューは、イテレートすることで対応するデータを yield できます。また、帰属" "判定をサポートします:" -#: ../../library/stdtypes.rst:4733 +#: ../../library/stdtypes.rst:4739 msgid "Return the number of entries in the dictionary." msgstr "辞書の項目数を返します。" -#: ../../library/stdtypes.rst:4737 +#: ../../library/stdtypes.rst:4743 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." @@ -7393,7 +7398,7 @@ msgstr "" "辞書のキー、値、または (``(key, value)`` のタプルとして表される) 項目に渡るイ" "テレータを返します。" -#: ../../library/stdtypes.rst:4740 +#: ../../library/stdtypes.rst:4746 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -7406,7 +7411,7 @@ msgstr "" "同じリストを作成する他の方法は、 ``pairs = [(v, k) for (k, v) in d." "items()]`` です。 " -#: ../../library/stdtypes.rst:4745 +#: ../../library/stdtypes.rst:4751 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." @@ -7414,11 +7419,11 @@ msgstr "" "辞書の項目の追加や削除中にビューをイテレートすると、 :exc:`RuntimeError` を送" "出したり、すべての項目に渡ってイテレートできなかったりします。" -#: ../../library/stdtypes.rst:4748 +#: ../../library/stdtypes.rst:4754 msgid "Dictionary order is guaranteed to be insertion order." msgstr "辞書の順序が挿入順序であると保証されるようになりました。" -#: ../../library/stdtypes.rst:4753 +#: ../../library/stdtypes.rst:4759 msgid "" "Return ``True`` if *x* is in the underlying dictionary's keys, values or " "items (in the latter case, *x* should be a ``(key, value)`` tuple)." @@ -7426,7 +7431,7 @@ msgstr "" "*x* が元の辞書のキー、値、または項目 (項目の場合、 *x* は ``(key, value)`` タ" "プルです) にあるとき ``True`` を返します。" -#: ../../library/stdtypes.rst:4758 +#: ../../library/stdtypes.rst:4764 msgid "" "Return a reverse iterator over the keys, values or items of the dictionary. " "The view will be iterated in reverse order of the insertion." @@ -7434,11 +7439,11 @@ msgstr "" "辞書のキーもしくは値、項目の順序を逆にしたイテレーターを返します。\n" "戻り値のビューは、挿入された順とは逆の順でイテレートします。" -#: ../../library/stdtypes.rst:4761 +#: ../../library/stdtypes.rst:4767 msgid "Dictionary views are now reversible." msgstr "辞書のビューがリバース可能になりました。" -#: ../../library/stdtypes.rst:4766 +#: ../../library/stdtypes.rst:4772 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." @@ -7446,7 +7451,7 @@ msgstr "" "ビューの参照先の辞書をラップする :class:`types.MappingProxyType` オブジェク" "ト を返します。" -#: ../../library/stdtypes.rst:4771 +#: ../../library/stdtypes.rst:4777 msgid "" "Keys views are set-like since their entries are unique and :term:`hashable`. " "Items views also have set-like operations since the (key, value) pairs are " @@ -7470,11 +7475,11 @@ msgstr "" "れら集合の特性を持つビューはオペランドとして任意のイテラブルを取ることができ" "ます。 " -#: ../../library/stdtypes.rst:4783 +#: ../../library/stdtypes.rst:4789 msgid "An example of dictionary view usage::" msgstr "辞書ビューの使用法の例::" -#: ../../library/stdtypes.rst:4785 +#: ../../library/stdtypes.rst:4791 msgid "" ">>> dishes = {'eggs': 2, 'sausage': 1, 'bacon': 1, 'spam': 500}\n" ">>> keys = dishes.keys()\n" @@ -7515,11 +7520,11 @@ msgid "" "500" msgstr "" -#: ../../library/stdtypes.rst:4827 +#: ../../library/stdtypes.rst:4833 msgid "Context Manager Types" msgstr "コンテキストマネージャ型" -#: ../../library/stdtypes.rst:4834 +#: ../../library/stdtypes.rst:4840 msgid "" "Python's :keyword:`with` statement supports the concept of a runtime context " "defined by a context manager. This is implemented using a pair of methods " @@ -7531,7 +7536,7 @@ msgstr "" "文の終わりで脱出する実行時コンテキストを、ユーザ定義クラスが定義できるように" "する一対のメソッドで実装されます:" -#: ../../library/stdtypes.rst:4842 +#: ../../library/stdtypes.rst:4848 msgid "" "Enter the runtime context and return either this object or another object " "related to the runtime context. The value returned by this method is bound " @@ -7542,7 +7547,7 @@ msgstr "" "したオブジェクトを返します。このメソッドが返す値はこのコンテキストマネージャ" "を使う :keyword:`with` 文の :keyword:`!as` 節の識別子に束縛されます。" -#: ../../library/stdtypes.rst:4847 +#: ../../library/stdtypes.rst:4853 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" @@ -7553,7 +7558,7 @@ msgstr "" "返し、 :func:`open` が :keyword:`with` 文のコンテキスト式として使われるように" "します。" -#: ../../library/stdtypes.rst:4851 +#: ../../library/stdtypes.rst:4857 msgid "" "An example of a context manager that returns a related object is the one " "returned by :func:`decimal.localcontext`. These managers set the active " @@ -7568,7 +7573,7 @@ msgstr "" "うすることで, :keyword:`with` 文の本体の内部で、:keyword:`!with` 文の外側の" "コードに影響を与えずに、 10進数コンテキストを変更できます。" -#: ../../library/stdtypes.rst:4861 +#: ../../library/stdtypes.rst:4867 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -7581,7 +7586,7 @@ msgstr "" "合、引数にはその例外の型と値とトレースバック情報を渡します。そうでない場合、" "引数は全て ``None`` となります。" -#: ../../library/stdtypes.rst:4866 +#: ../../library/stdtypes.rst:4872 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -7596,7 +7601,7 @@ msgstr "" "実行を終えると例外の伝播が続きます。このメソッドの実行中に起きた例外は :" "keyword:`!with` 文の本体の実行中に起こった例外を置き換えてしまいます。" -#: ../../library/stdtypes.rst:4873 +#: ../../library/stdtypes.rst:4879 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -7609,7 +7614,7 @@ msgstr "" "るべきです。このようにすればコンテキストマネージャは :meth:`~object." "__exit__` メソッド自体が失敗したのかどうかを簡単に見分けることができます。" -#: ../../library/stdtypes.rst:4879 +#: ../../library/stdtypes.rst:4885 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -7623,7 +7628,7 @@ msgstr "" "ているという以上の特別の取り扱いを受けるわけではありません。例については :" "mod:`contextlib` モジュールを参照してください。" -#: ../../library/stdtypes.rst:4885 +#: ../../library/stdtypes.rst:4891 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -7640,7 +7645,7 @@ msgstr "" "`~contextmanager.__exit__` メソッドを実装したコンテキストマネージャを返すよう" "になります。" -#: ../../library/stdtypes.rst:4892 +#: ../../library/stdtypes.rst:4898 msgid "" "Note that there is no specific slot for any of these methods in the type " "structure for Python objects in the Python/C API. Extension types wanting to " @@ -7654,7 +7659,7 @@ msgstr "" "供しなければなりません。実行時コンテキストを準備するオーバーヘッドに比べた" "ら、一回のクラス辞書の探索のオーバーヘッドは無視できます。" -#: ../../library/stdtypes.rst:4900 +#: ../../library/stdtypes.rst:4906 msgid "" "Type Annotation Types --- :ref:`Generic Alias `, :ref:" "`Union `" @@ -7662,7 +7667,7 @@ msgstr "" "型アノテーション型 --- :ref:`ジェネリックエイリアス ` 、 :ref:`ユニオン `" -#: ../../library/stdtypes.rst:4905 +#: ../../library/stdtypes.rst:4911 msgid "" "The core built-in types for :term:`type annotations ` are :ref:" "`Generic Alias ` and :ref:`Union `." @@ -7671,11 +7676,11 @@ msgstr "" "リックエイリアス ` と :ref:`ユニオン ` で" "す。" -#: ../../library/stdtypes.rst:4912 +#: ../../library/stdtypes.rst:4918 msgid "Generic Alias Type" msgstr "ジェネリックエイリアス型" -#: ../../library/stdtypes.rst:4918 +#: ../../library/stdtypes.rst:4924 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "` a class. They are most often used with :ref:`container " @@ -7693,7 +7698,7 @@ msgstr "" "``GenericAlias`` オブジェクトは主に :term:`型アノテーション ` の" "用途で使われます。" -#: ../../library/stdtypes.rst:4928 +#: ../../library/stdtypes.rst:4934 msgid "" "It is generally only possible to subscript a class if the class implements " "the special method :meth:`~object.__class_getitem__`." @@ -7701,7 +7706,7 @@ msgstr "" "一般に、クラスへの添字表記は、そのクラスが特殊メソッド :meth:`~object." "__class_getitem__` を実装しているときに限り可能です。" -#: ../../library/stdtypes.rst:4931 +#: ../../library/stdtypes.rst:4937 msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " "implementing *parameterized generics*." @@ -7709,7 +7714,7 @@ msgstr "" "``GenericAlias`` オブジェクトは *パラメータ付きジェネリック型* を実装したジェ" "ネリック型 (:term:`generic type`) の代用として振る舞います。" -#: ../../library/stdtypes.rst:4934 +#: ../../library/stdtypes.rst:4940 msgid "" "For a container class, the argument(s) supplied to a :ref:`subscription " "` of the class may indicate the type(s) of the elements an " @@ -7722,7 +7727,7 @@ msgstr "" "えば ``set[bytes]`` という表記は、全ての要素が :class:`bytes` であるような :" "class:`set` をあらわす型アノテーションとして使うことができます。" -#: ../../library/stdtypes.rst:4940 +#: ../../library/stdtypes.rst:4946 msgid "" "For a class which defines :meth:`~object.__class_getitem__` but is not a " "container, the argument(s) supplied to a subscription of the class will " @@ -7736,7 +7741,7 @@ msgstr "" "す。たとえば、 :mod:`正規表現操作 ` は :class:`str` と :class:`bytes` の" "両方のデータ型に対して使うことができます:" -#: ../../library/stdtypes.rst:4946 +#: ../../library/stdtypes.rst:4952 msgid "" "If ``x = re.search('foo', 'foo')``, ``x`` will be a :ref:`re.Match ` object where the return values of ``x.group(0)`` and ``x[0]`` will " @@ -7748,7 +7753,7 @@ msgstr "" "も :class:`str` となります。このようなオブジェクトは、 ``GenericAlias`` を" "使った型アノテーション ``re.Match[str]`` で表現することができます。" -#: ../../library/stdtypes.rst:4952 +#: ../../library/stdtypes.rst:4958 msgid "" "If ``y = re.search(b'bar', b'bar')``, (note the ``b`` for :class:`bytes`), " "``y`` will also be an instance of ``re.Match``, but the return values of ``y." @@ -7762,7 +7767,7 @@ msgstr "" "アノテーションでは、このような :ref:`re.Match ` オブジェクト" "は ``re.Match[bytes]`` と表現することになるでしょう。" -#: ../../library/stdtypes.rst:4958 +#: ../../library/stdtypes.rst:4964 msgid "" "``GenericAlias`` objects are instances of the class :class:`types." "GenericAlias`, which can also be used to create ``GenericAlias`` objects " @@ -7772,7 +7777,7 @@ msgstr "" "ンスです。このクラスは直接 ``GenericAlias`` オブジェクトを生成するのに使うこ" "ともできます。" -#: ../../library/stdtypes.rst:4964 +#: ../../library/stdtypes.rst:4970 msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " "*X*, *Y*, and more depending on the ``T`` used. For example, a function " @@ -7783,13 +7788,13 @@ msgstr "" "す。たとえば、 :class:`float` 型の要素を含む :class:`list` を引数にとる関数の" "型アノテーションは次のようになります::" -#: ../../library/stdtypes.rst:4969 +#: ../../library/stdtypes.rst:4975 msgid "" "def average(values: list[float]) -> float:\n" " return sum(values) / len(values)" msgstr "" -#: ../../library/stdtypes.rst:4972 +#: ../../library/stdtypes.rst:4978 msgid "" "Another example for :term:`mapping` objects, using a :class:`dict`, which is " "a generic type expecting two type parameters representing the key type and " @@ -7801,13 +7806,13 @@ msgstr "" "ています。この例では、関数はキーが :class:`str` 型、値が :class:`int` 型であ" "るような ``dict`` を引数にとります::" -#: ../../library/stdtypes.rst:4977 +#: ../../library/stdtypes.rst:4983 msgid "" "def send_post_request(url: str, body: dict[str, int]) -> None:\n" " ..." msgstr "" -#: ../../library/stdtypes.rst:4980 +#: ../../library/stdtypes.rst:4986 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -7815,7 +7820,7 @@ msgstr "" "組み込み関数 :func:`isinstance` と :func:`issubclass` は第二引数として " "``GenericAlias`` 型を指定することはできません::" -#: ../../library/stdtypes.rst:4983 +#: ../../library/stdtypes.rst:4989 msgid "" ">>> isinstance([1, 2], list[str])\n" "Traceback (most recent call last):\n" @@ -7823,7 +7828,7 @@ msgid "" "TypeError: isinstance() argument 2 cannot be a parameterized generic" msgstr "" -#: ../../library/stdtypes.rst:4988 +#: ../../library/stdtypes.rst:4994 msgid "" "The Python runtime does not enforce :term:`type annotations `. " "This extends to generic types and their type parameters. When creating a " @@ -7837,14 +7842,14 @@ msgstr "" "せん。たとえば、以下のコードは推奨されませんが、エラーになることなく実行でき" "ます::" -#: ../../library/stdtypes.rst:4994 +#: ../../library/stdtypes.rst:5000 msgid "" ">>> t = list[str]\n" ">>> t([1, 2, 3])\n" "[1, 2, 3]" msgstr "" -#: ../../library/stdtypes.rst:4998 +#: ../../library/stdtypes.rst:5004 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -7852,7 +7857,7 @@ msgstr "" "しかも、パラメータ付きジェネリック型は、オブジェクト生成時にパラメータの型情" "報を削除します::" -#: ../../library/stdtypes.rst:5001 +#: ../../library/stdtypes.rst:5007 msgid "" ">>> t = list[str]\n" ">>> type(t)\n" @@ -7863,7 +7868,7 @@ msgid "" "" msgstr "" -#: ../../library/stdtypes.rst:5009 +#: ../../library/stdtypes.rst:5015 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -7871,7 +7876,7 @@ msgstr "" ":func:`repr` や :func:`str` のジェネリック型に対する呼び出しは、パラメータ型" "を表示します::" -#: ../../library/stdtypes.rst:5011 +#: ../../library/stdtypes.rst:5017 msgid "" ">>> repr(list[int])\n" "'list[int]'\n" @@ -7880,7 +7885,7 @@ msgid "" "'list[int]'" msgstr "" -#: ../../library/stdtypes.rst:5017 +#: ../../library/stdtypes.rst:5023 msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " "exception to disallow mistakes like ``dict[str][str]``::" @@ -7888,7 +7893,7 @@ msgstr "" "ジェネリックコンテナ型の :meth:`~object.__getitem__` メソッドは、 ``dict[str]" "[str]`` のようなミスを許さないように、例外を送出します::" -#: ../../library/stdtypes.rst:5020 +#: ../../library/stdtypes.rst:5026 msgid "" ">>> dict[str][str]\n" "Traceback (most recent call last):\n" @@ -7896,7 +7901,7 @@ msgid "" "TypeError: dict[str] is not a generic class" msgstr "" -#: ../../library/stdtypes.rst:5025 +#: ../../library/stdtypes.rst:5031 msgid "" "However, such expressions are valid when :ref:`type variables ` " "are used. The index must have as many elements as there are type variable " @@ -7906,7 +7911,7 @@ msgstr "" "数は``GenericAlias`` オブジェクトの :attr:`~genericalias.__args__` 属性におけ" "る型変数の数と同じでなければなりません::" -#: ../../library/stdtypes.rst:5029 +#: ../../library/stdtypes.rst:5035 msgid "" ">>> from typing import TypeVar\n" ">>> Y = TypeVar('Y')\n" @@ -7914,11 +7919,11 @@ msgid "" "dict[str, int]" msgstr "" -#: ../../library/stdtypes.rst:5036 +#: ../../library/stdtypes.rst:5042 msgid "Standard Generic Classes" msgstr "標準ジェネリッククラス" -#: ../../library/stdtypes.rst:5038 +#: ../../library/stdtypes.rst:5044 msgid "" "The following standard library classes support parameterized generics. This " "list is non-exhaustive." @@ -7926,243 +7931,243 @@ msgstr "" "以下の標準ライブラリクラスは、パラメータ付きジェネリック型をサポートします。" "このリストは完全に網羅されていない可能性があります。" -#: ../../library/stdtypes.rst:5041 +#: ../../library/stdtypes.rst:5047 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: ../../library/stdtypes.rst:5042 +#: ../../library/stdtypes.rst:5048 msgid ":class:`list`" msgstr ":class:`list`" -#: ../../library/stdtypes.rst:5043 +#: ../../library/stdtypes.rst:5049 msgid ":class:`dict`" msgstr ":class:`dict`" -#: ../../library/stdtypes.rst:5044 +#: ../../library/stdtypes.rst:5050 msgid ":class:`set`" msgstr ":class:`set`" -#: ../../library/stdtypes.rst:5045 +#: ../../library/stdtypes.rst:5051 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: ../../library/stdtypes.rst:5046 +#: ../../library/stdtypes.rst:5052 msgid ":class:`type`" msgstr ":class:`type`" -#: ../../library/stdtypes.rst:5047 +#: ../../library/stdtypes.rst:5053 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: ../../library/stdtypes.rst:5048 +#: ../../library/stdtypes.rst:5054 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: ../../library/stdtypes.rst:5049 +#: ../../library/stdtypes.rst:5055 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: ../../library/stdtypes.rst:5050 +#: ../../library/stdtypes.rst:5056 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: ../../library/stdtypes.rst:5051 +#: ../../library/stdtypes.rst:5057 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: ../../library/stdtypes.rst:5052 +#: ../../library/stdtypes.rst:5058 msgid ":class:`collections.abc.Awaitable`" msgstr "’’:class:`collections.abc.Awaitable`" -#: ../../library/stdtypes.rst:5053 +#: ../../library/stdtypes.rst:5059 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: ../../library/stdtypes.rst:5054 +#: ../../library/stdtypes.rst:5060 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: ../../library/stdtypes.rst:5055 +#: ../../library/stdtypes.rst:5061 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: ../../library/stdtypes.rst:5056 +#: ../../library/stdtypes.rst:5062 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: ../../library/stdtypes.rst:5057 +#: ../../library/stdtypes.rst:5063 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: ../../library/stdtypes.rst:5058 +#: ../../library/stdtypes.rst:5064 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: ../../library/stdtypes.rst:5059 +#: ../../library/stdtypes.rst:5065 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: ../../library/stdtypes.rst:5060 +#: ../../library/stdtypes.rst:5066 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: ../../library/stdtypes.rst:5061 +#: ../../library/stdtypes.rst:5067 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: ../../library/stdtypes.rst:5062 +#: ../../library/stdtypes.rst:5068 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: ../../library/stdtypes.rst:5063 +#: ../../library/stdtypes.rst:5069 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: ../../library/stdtypes.rst:5064 +#: ../../library/stdtypes.rst:5070 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: ../../library/stdtypes.rst:5065 +#: ../../library/stdtypes.rst:5071 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: ../../library/stdtypes.rst:5066 +#: ../../library/stdtypes.rst:5072 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: ../../library/stdtypes.rst:5067 +#: ../../library/stdtypes.rst:5073 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: ../../library/stdtypes.rst:5068 +#: ../../library/stdtypes.rst:5074 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: ../../library/stdtypes.rst:5069 +#: ../../library/stdtypes.rst:5075 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: ../../library/stdtypes.rst:5070 +#: ../../library/stdtypes.rst:5076 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: ../../library/stdtypes.rst:5071 +#: ../../library/stdtypes.rst:5077 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: ../../library/stdtypes.rst:5072 +#: ../../library/stdtypes.rst:5078 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: ../../library/stdtypes.rst:5073 +#: ../../library/stdtypes.rst:5079 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: ../../library/stdtypes.rst:5074 +#: ../../library/stdtypes.rst:5080 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: ../../library/stdtypes.rst:5075 +#: ../../library/stdtypes.rst:5081 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: ../../library/stdtypes.rst:5076 +#: ../../library/stdtypes.rst:5082 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: ../../library/stdtypes.rst:5077 +#: ../../library/stdtypes.rst:5083 msgid ":class:`dataclasses.Field`" msgstr ":class:`dataclasses.Field`" -#: ../../library/stdtypes.rst:5078 +#: ../../library/stdtypes.rst:5084 msgid ":class:`functools.cached_property`" msgstr ":class:`functools.cached_property`" -#: ../../library/stdtypes.rst:5079 +#: ../../library/stdtypes.rst:5085 msgid ":class:`functools.partialmethod`" msgstr ":class:`functools.partialmethod`" -#: ../../library/stdtypes.rst:5080 +#: ../../library/stdtypes.rst:5086 msgid ":class:`os.PathLike`" msgstr ":class:`os.PathLike`" -#: ../../library/stdtypes.rst:5081 +#: ../../library/stdtypes.rst:5087 msgid ":class:`queue.LifoQueue`" msgstr ":class:`queue.LifoQueue`" -#: ../../library/stdtypes.rst:5082 +#: ../../library/stdtypes.rst:5088 msgid ":class:`queue.Queue`" msgstr ":class:`queue.Queue`" -#: ../../library/stdtypes.rst:5083 +#: ../../library/stdtypes.rst:5089 msgid ":class:`queue.PriorityQueue`" msgstr ":class:`queue.PriorityQueue`" -#: ../../library/stdtypes.rst:5084 +#: ../../library/stdtypes.rst:5090 msgid ":class:`queue.SimpleQueue`" msgstr ":class:`queue.SimpleQueue`" -#: ../../library/stdtypes.rst:5085 +#: ../../library/stdtypes.rst:5091 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: ../../library/stdtypes.rst:5086 +#: ../../library/stdtypes.rst:5092 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: ../../library/stdtypes.rst:5087 +#: ../../library/stdtypes.rst:5093 msgid ":class:`shelve.BsdDbShelf`" msgstr ":class:`shelve.BsdDbShelf`" -#: ../../library/stdtypes.rst:5088 +#: ../../library/stdtypes.rst:5094 msgid ":class:`shelve.DbfilenameShelf`" msgstr ":class:`shelve.DbfilenameShelf`" -#: ../../library/stdtypes.rst:5089 +#: ../../library/stdtypes.rst:5095 msgid ":class:`shelve.Shelf`" msgstr ":class:`shelve.Shelf`" -#: ../../library/stdtypes.rst:5090 +#: ../../library/stdtypes.rst:5096 msgid ":class:`types.MappingProxyType`" msgstr ":class:`types.MappingProxyType`" -#: ../../library/stdtypes.rst:5091 +#: ../../library/stdtypes.rst:5097 msgid ":class:`weakref.WeakKeyDictionary`" msgstr ":class:`weakref.WeakKeyDictionary`" -#: ../../library/stdtypes.rst:5092 +#: ../../library/stdtypes.rst:5098 msgid ":class:`weakref.WeakMethod`" msgstr ":class:`weakref.WeakMethod`" -#: ../../library/stdtypes.rst:5093 +#: ../../library/stdtypes.rst:5099 msgid ":class:`weakref.WeakSet`" msgstr ":class:`weakref.WeakSet`" -#: ../../library/stdtypes.rst:5094 +#: ../../library/stdtypes.rst:5100 msgid ":class:`weakref.WeakValueDictionary`" msgstr ":class:`weakref.WeakValueDictionary`" -#: ../../library/stdtypes.rst:5099 +#: ../../library/stdtypes.rst:5105 msgid "Special Attributes of ``GenericAlias`` objects" msgstr "``GenericAlias`` オブジェクトの特別な属性" -#: ../../library/stdtypes.rst:5101 +#: ../../library/stdtypes.rst:5107 msgid "All parameterized generics implement special read-only attributes." msgstr "" "全てのパラメータ付きジェネリック型は、下記に示す読み出し専用の属性を実装して" "います。" -#: ../../library/stdtypes.rst:5105 +#: ../../library/stdtypes.rst:5111 msgid "This attribute points at the non-parameterized generic class::" msgstr "この属性は、対応するパラメータ付きでないジェネリッククラスを指します::" -#: ../../library/stdtypes.rst:5107 +#: ../../library/stdtypes.rst:5113 msgid "" ">>> list[int].__origin__\n" "" msgstr "" -#: ../../library/stdtypes.rst:5113 +#: ../../library/stdtypes.rst:5119 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 " @@ -8171,13 +8176,13 @@ msgstr "" "この属性は、ジェネリッククラスの元の :meth:`~object.__class_getitem__` に渡さ" "れた :class:`tuple` です (長さが1の場合もあります)::" -#: ../../library/stdtypes.rst:5117 +#: ../../library/stdtypes.rst:5123 msgid "" ">>> dict[str, list[int]].__args__\n" "(, list[int])" msgstr "" -#: ../../library/stdtypes.rst:5123 +#: ../../library/stdtypes.rst:5129 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -8185,7 +8190,7 @@ msgstr "" "この属性は、 ``__args__`` にある固有の型変数のタプルで、必要に応じて遅延計算" "されます (空の可能性もあります)::" -#: ../../library/stdtypes.rst:5126 +#: ../../library/stdtypes.rst:5132 msgid "" ">>> from typing import TypeVar\n" "\n" @@ -8194,7 +8199,7 @@ msgid "" "(~T,)" msgstr "" -#: ../../library/stdtypes.rst:5134 +#: ../../library/stdtypes.rst:5140 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -8204,7 +8209,7 @@ msgstr "" "代入後に正しい ``__parameters__`` を持たない可能性があります。これは :class:" "`typing.ParamSpec` が主に静的な型チェックを目的としているためです。" -#: ../../library/stdtypes.rst:5141 +#: ../../library/stdtypes.rst:5147 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." @@ -8212,20 +8217,20 @@ msgstr "" "これは、型エイリアスが ``*`` 演算子を使って取り出された場合に真となる真偽値で" "す (:data:`~typing.TypeVarTuple` を参照してください)。" -#: ../../library/stdtypes.rst:5149 +#: ../../library/stdtypes.rst:5155 msgid ":pep:`484` - Type Hints" msgstr ":pep:`484` - 型ヒント" -#: ../../library/stdtypes.rst:5150 +#: ../../library/stdtypes.rst:5156 msgid "Introducing Python's framework for type annotations." msgstr "型アノテーションのための Python のフレームワークへの導入です。" -#: ../../library/stdtypes.rst:5152 +#: ../../library/stdtypes.rst:5158 msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr "" ":pep:`585` - 標準コレクション型の型ヒントにおける総称型 (generics) の使用" -#: ../../library/stdtypes.rst:5153 +#: ../../library/stdtypes.rst:5159 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." @@ -8235,7 +8240,7 @@ msgstr "" "標準ライブラリのクラスに対してネイティブにパラメータ表記を可能にする機能への" "導入です。" -#: ../../library/stdtypes.rst:5157 +#: ../../library/stdtypes.rst:5163 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" @@ -8243,7 +8248,7 @@ msgstr "" ":ref:`Generics`, :ref:`ユーザー定義のジェネリック型 `, および :class:`typing.Generic`" -#: ../../library/stdtypes.rst:5158 +#: ../../library/stdtypes.rst:5164 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." @@ -8251,11 +8256,11 @@ msgstr "" "実行時にパラメータ設定が可能であり、かつ静的な型チェッカーが理解できるジェネ" "リッククラスを実装する方法のドキュメントです。" -#: ../../library/stdtypes.rst:5167 +#: ../../library/stdtypes.rst:5173 msgid "Union Type" msgstr "Union 型" -#: ../../library/stdtypes.rst:5173 +#: ../../library/stdtypes.rst:5179 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -8268,7 +8273,7 @@ msgstr "" "annotations ` に使用します。Union型の式は :data:`typing.Union` と" "比べて型ヒントの構文がわかりやすくなります。" -#: ../../library/stdtypes.rst:5180 +#: ../../library/stdtypes.rst:5186 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 " @@ -8280,13 +8285,13 @@ msgstr "" "以下の関数は引数として :class:`int` 型または :class:`float` 型を想定していま" "す。::" -#: ../../library/stdtypes.rst:5185 +#: ../../library/stdtypes.rst:5191 msgid "" "def square(number: int | float) -> int | float:\n" " return number ** 2" msgstr "" -#: ../../library/stdtypes.rst:5190 +#: ../../library/stdtypes.rst:5196 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 " @@ -8300,54 +8305,54 @@ msgstr "" "前方参照を含むユニオンは、 ``\"int | Foo\"`` のように、ユニオン全体を文字列と" "してあらわしてください。" -#: ../../library/stdtypes.rst:5198 +#: ../../library/stdtypes.rst:5204 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Unionオブジェクトは他のUnionオブジェクトとの等価性をテストできます。以下は詳" "細です:" -#: ../../library/stdtypes.rst:5200 +#: ../../library/stdtypes.rst:5206 msgid "Unions of unions are flattened::" msgstr "ユニオン型のユニオン型は平滑化されます::" -#: ../../library/stdtypes.rst:5202 +#: ../../library/stdtypes.rst:5208 msgid "(int | str) | float == int | str | float" msgstr "" -#: ../../library/stdtypes.rst:5204 +#: ../../library/stdtypes.rst:5210 msgid "Redundant types are removed::" msgstr "余分な型は削除されます::" -#: ../../library/stdtypes.rst:5206 +#: ../../library/stdtypes.rst:5212 msgid "int | str | int == int | str" msgstr "" -#: ../../library/stdtypes.rst:5208 +#: ../../library/stdtypes.rst:5214 msgid "When comparing unions, the order is ignored::" msgstr "ユニオン型を比較すると順序は無視されます::" -#: ../../library/stdtypes.rst:5210 +#: ../../library/stdtypes.rst:5216 msgid "int | str == str | int" msgstr "" -#: ../../library/stdtypes.rst:5212 +#: ../../library/stdtypes.rst:5218 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union` と互換性があります::" -#: ../../library/stdtypes.rst:5214 +#: ../../library/stdtypes.rst:5220 msgid "int | str == typing.Union[int, str]" msgstr "" -#: ../../library/stdtypes.rst:5216 +#: ../../library/stdtypes.rst:5222 msgid "Optional types can be spelled as a union with ``None``::" msgstr "Optional型は ``None`` とのUnion型で記述できます::" -#: ../../library/stdtypes.rst:5218 +#: ../../library/stdtypes.rst:5224 msgid "str | None == typing.Optional[str]" msgstr "" -#: ../../library/stdtypes.rst:5223 +#: ../../library/stdtypes.rst:5229 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -8355,13 +8360,13 @@ msgstr "" ":func:`isinstance` と :func:`issubclass` の呼び出しはどちらもUnionオブジェク" "トをサポートしています。 " -#: ../../library/stdtypes.rst:5226 +#: ../../library/stdtypes.rst:5232 msgid "" ">>> isinstance(\"\", int | str)\n" "True" msgstr "" -#: ../../library/stdtypes.rst:5229 +#: ../../library/stdtypes.rst:5235 msgid "" "However, :ref:`parameterized generics ` in union objects " "cannot be checked::" @@ -8369,7 +8374,7 @@ msgstr "" "しかし、Unionオブジェクトの中の :ref:`parameterized generics ` はチェックできません::" -#: ../../library/stdtypes.rst:5232 +#: ../../library/stdtypes.rst:5238 msgid "" ">>> isinstance(1, int | list[int]) # short-circuit evaluation\n" "True\n" @@ -8379,7 +8384,7 @@ msgid "" "TypeError: isinstance() argument 2 cannot be a parameterized generic" msgstr "" -#: ../../library/stdtypes.rst:5239 +#: ../../library/stdtypes.rst:5245 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 " @@ -8389,7 +8394,7 @@ msgstr "" "ことができ、 :func:`isinstance` によるチェックにも使うことができます。型から" "オブジェクトをインスタンスかすることができません::" -#: ../../library/stdtypes.rst:5243 +#: ../../library/stdtypes.rst:5249 msgid "" ">>> import types\n" ">>> isinstance(int | str, types.UnionType)\n" @@ -8400,7 +8405,7 @@ msgid "" "TypeError: cannot create 'types.UnionType' instances" msgstr "" -#: ../../library/stdtypes.rst:5252 +#: ../../library/stdtypes.rst:5258 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 " @@ -8410,7 +8415,7 @@ msgstr "" "が追加されました。メタクラスで :meth:`!__or__` を実装するとUnionをオーバーラ" "イドする場合があります::" -#: ../../library/stdtypes.rst:5256 +#: ../../library/stdtypes.rst:5262 msgid "" ">>> class M(type):\n" "... def __or__(self, other):\n" @@ -8425,15 +8430,15 @@ msgid "" "int | C" msgstr "" -#: ../../library/stdtypes.rst:5272 +#: ../../library/stdtypes.rst:5278 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr ":pep:`604` -- ``X | Y`` 構文とUnion型を提案しているPEP" -#: ../../library/stdtypes.rst:5280 +#: ../../library/stdtypes.rst:5286 msgid "Other Built-in Types" msgstr "その他の組み込み型" -#: ../../library/stdtypes.rst:5282 +#: ../../library/stdtypes.rst:5288 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -8441,11 +8446,11 @@ msgstr "" "インタプリタは、その他いくつかの種類のオブジェクトをサポートしています。これ" "らのほとんどは 1 つまたは 2 つの演算だけをサポートしています。" -#: ../../library/stdtypes.rst:5289 +#: ../../library/stdtypes.rst:5295 msgid "Modules" msgstr "モジュール" -#: ../../library/stdtypes.rst:5291 +#: ../../library/stdtypes.rst:5297 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 " @@ -8462,7 +8467,7 @@ msgstr "" "ん; ``import foo`` は *foo* と名づけられたモジュールオブジェクトの存在を必要" "とはせず、*foo* と名づけられたモジュールの (外部の) *定義* を必要とします。)" -#: ../../library/stdtypes.rst:5298 +#: ../../library/stdtypes.rst:5304 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -8480,7 +8485,7 @@ msgstr "" "とはできません)。 :attr:`~object.__dict__` を直接書き換えることは推奨されませ" "ん。" -#: ../../library/stdtypes.rst:5306 +#: ../../library/stdtypes.rst:5312 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ```` と書かれます。" -#: ../../library/stdtypes.rst:5314 +#: ../../library/stdtypes.rst:5320 msgid "Classes and Class Instances" msgstr "クラスおよびクラスインスタンス" -#: ../../library/stdtypes.rst:5316 +#: ../../library/stdtypes.rst:5322 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "" "これらについては :ref:`objects` および :ref:`class` を参照してください。" -#: ../../library/stdtypes.rst:5322 +#: ../../library/stdtypes.rst:5328 msgid "Functions" msgstr "関数" -#: ../../library/stdtypes.rst:5324 +#: ../../library/stdtypes.rst:5330 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -8511,7 +8516,7 @@ msgstr "" "関数オブジェクトは関数定義によって生成されます。関数オブジェクトに対する唯一" "の操作は、それを呼び出すことです: ``func(argument-list)`` 。" -#: ../../library/stdtypes.rst:5327 +#: ../../library/stdtypes.rst:5333 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -8522,15 +8527,15 @@ msgstr "" "す。どちらも同じ操作 (関数の呼び出し) をサポートしますが、実装は異なるので、" "オブジェクトの型も異なります。" -#: ../../library/stdtypes.rst:5331 +#: ../../library/stdtypes.rst:5337 msgid "See :ref:`function` for more information." msgstr "詳細は、 :ref:`function` を参照してください。" -#: ../../library/stdtypes.rst:5337 +#: ../../library/stdtypes.rst:5343 msgid "Methods" msgstr "メソッド" -#: ../../library/stdtypes.rst:5341 +#: ../../library/stdtypes.rst:5347 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: :ref:`built-in methods ` (such as :meth:" @@ -8542,7 +8547,7 @@ msgstr "" "と、:ref:`class instance method ` です。組み込みメソッド" "は、それをサポートする型と一緒に記述されています。" -#: ../../library/stdtypes.rst:5346 +#: ../../library/stdtypes.rst:5352 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:" @@ -8564,7 +8569,7 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` の呼び出しは、 ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` の呼び出しと完全に等価です。" -#: ../../library/stdtypes.rst:5357 +#: ../../library/stdtypes.rst:5363 msgid "" "Like :ref:`function objects `, bound method objects " "support getting arbitrary attributes. However, since method attributes are " @@ -8582,7 +8587,7 @@ msgstr "" "ためには、次のようにその下層の関数オブジェクトに明示的に設定する必要がありま" "す::" -#: ../../library/stdtypes.rst:5365 +#: ../../library/stdtypes.rst:5371 msgid "" ">>> class C:\n" "... def method(self):\n" @@ -8598,15 +8603,15 @@ msgid "" "'my name is method'" msgstr "" -#: ../../library/stdtypes.rst:5380 +#: ../../library/stdtypes.rst:5386 msgid "See :ref:`instance-methods` for more information." msgstr "詳細は :ref:`instance-methods` を参照してください。" -#: ../../library/stdtypes.rst:5388 +#: ../../library/stdtypes.rst:5394 msgid "Code Objects" msgstr "コードオブジェクト" -#: ../../library/stdtypes.rst:5394 +#: ../../library/stdtypes.rst:5400 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -8622,7 +8627,7 @@ msgstr "" "の :attr:`~function.__code__` 属性として取り出せます。 :mod:`code` モジュール" "も参照してください。" -#: ../../library/stdtypes.rst:5401 +#: ../../library/stdtypes.rst:5407 msgid "" "Accessing :attr:`~function.__code__` raises an :ref:`auditing event " "` ``object.__getattr__`` with arguments ``obj`` and " @@ -8632,7 +8637,7 @@ msgstr "" "と ``\"__code__\"`` を渡して行いますが、 :ref:`監査イベント ` を送" "出します。" -#: ../../library/stdtypes.rst:5408 +#: ../../library/stdtypes.rst:5414 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." @@ -8640,15 +8645,15 @@ msgstr "" "コードオブジェクトは、組み込み関数 :func:`exec` や :func:`eval` に (ソース文" "字列の代わりに) 渡すことで、実行や評価できます。" -#: ../../library/stdtypes.rst:5411 +#: ../../library/stdtypes.rst:5417 msgid "See :ref:`types` for more information." msgstr "詳細は、 :ref:`types` を参照してください。" -#: ../../library/stdtypes.rst:5417 +#: ../../library/stdtypes.rst:5423 msgid "Type Objects" msgstr "型オブジェクト" -#: ../../library/stdtypes.rst:5423 +#: ../../library/stdtypes.rst:5429 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 " @@ -8659,15 +8664,15 @@ msgstr "" "数 :func:`type` でアクセスされます。型オブジェクトには特有の操作はありませ" "ん。標準モジュール :mod:`types` には全ての組み込み型名が定義されています。" -#: ../../library/stdtypes.rst:5428 +#: ../../library/stdtypes.rst:5434 msgid "Types are written like this: ````." msgstr "型はこのように書き表されます: ```` 。" -#: ../../library/stdtypes.rst:5434 +#: ../../library/stdtypes.rst:5440 msgid "The Null Object" msgstr "ヌルオブジェクト" -#: ../../library/stdtypes.rst:5436 +#: ../../library/stdtypes.rst:5442 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 " @@ -8678,15 +8683,15 @@ msgstr "" "み名) と名づけられています。 ``type(None)()`` は同じシングルトンを作成しま" "す。" -#: ../../library/stdtypes.rst:5440 +#: ../../library/stdtypes.rst:5446 msgid "It is written as ``None``." msgstr "``None`` と書き表されます。" -#: ../../library/stdtypes.rst:5447 +#: ../../library/stdtypes.rst:5453 msgid "The Ellipsis Object" msgstr "Ellipsis オブジェクト" -#: ../../library/stdtypes.rst:5449 +#: ../../library/stdtypes.rst:5455 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -8698,15 +8703,15 @@ msgstr "" "は一つだけで、その名前は :const:`Ellipsis` (組み込み名) です。" "``type(Ellipsis)()`` は単一の :const:`Ellipsis` を作成します。" -#: ../../library/stdtypes.rst:5454 +#: ../../library/stdtypes.rst:5460 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` または ``...`` と書き表されます。" -#: ../../library/stdtypes.rst:5460 +#: ../../library/stdtypes.rst:5466 msgid "The NotImplemented Object" msgstr "NotImplemented オブジェクト" -#: ../../library/stdtypes.rst:5462 +#: ../../library/stdtypes.rst:5468 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 " @@ -8718,15 +8723,15 @@ msgstr "" "い。 :data:`NotImplemented` オブジェクトは一つだけです。 :code:" "`type(NotImplemented)()` はこの単一のインスタンスを作成します。" -#: ../../library/stdtypes.rst:5467 +#: ../../library/stdtypes.rst:5473 msgid "It is written as :code:`NotImplemented`." msgstr ":code:`NotImplemented` と書き表されます。" -#: ../../library/stdtypes.rst:5473 +#: ../../library/stdtypes.rst:5479 msgid "Internal Objects" msgstr "内部オブジェクト" -#: ../../library/stdtypes.rst:5475 +#: ../../library/stdtypes.rst:5481 msgid "" "See :ref:`types` for this information. It describes :ref:`stack frame " "objects `, :ref:`traceback objects `, and " @@ -8736,11 +8741,11 @@ msgstr "" "objects>`、:ref:`traceback objects `、スライスオブジェクト" "について記述されています。" -#: ../../library/stdtypes.rst:5483 +#: ../../library/stdtypes.rst:5489 msgid "Special Attributes" msgstr "特殊属性" -#: ../../library/stdtypes.rst:5485 +#: ../../library/stdtypes.rst:5491 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:" @@ -8749,13 +8754,13 @@ msgstr "" "実装は、いくつかのオブジェクト型に対して、適切な場合には特殊な読み出し専用の" "属性を追加します。そのうちいくつかは :func:`dir` 組込み関数で報告されません。" -#: ../../library/stdtypes.rst:5492 +#: ../../library/stdtypes.rst:5498 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "" "クラス、関数、メソッド、デスクリプタ、ジェネレータインスタンスの名前です。" -#: ../../library/stdtypes.rst:5498 +#: ../../library/stdtypes.rst:5504 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -8763,27 +8768,27 @@ msgstr "" "クラス、関数、メソッド、デスクリプタ、ジェネレータインスタンスの :term:`修飾" "名 ` です。" -#: ../../library/stdtypes.rst:5506 +#: ../../library/stdtypes.rst:5512 msgid "The name of the module in which a class or function was defined." msgstr "" -#: ../../library/stdtypes.rst:5511 +#: ../../library/stdtypes.rst:5517 msgid "" "The documentation string of a class or function, or ``None`` if undefined." msgstr "" -#: ../../library/stdtypes.rst:5516 +#: ../../library/stdtypes.rst:5522 msgid "" "The :ref:`type parameters ` of generic classes, functions, and :" "ref:`type aliases `. For classes and functions that are not " "generic, this will be an empty tuple." msgstr "" -#: ../../library/stdtypes.rst:5526 +#: ../../library/stdtypes.rst:5532 msgid "Integer string conversion length limitation" msgstr "整数と文字列の変換での長さ制限" -#: ../../library/stdtypes.rst:5528 +#: ../../library/stdtypes.rst:5534 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 " @@ -8795,7 +8800,7 @@ msgstr "" "に *のみ* 適用されます。16進数、8進数と2進数は制限がありません。上限値は設定" "できます。" -#: ../../library/stdtypes.rst:5533 +#: ../../library/stdtypes.rst:5539 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 " @@ -8812,14 +8817,14 @@ msgstr "" "CPU でも、 ``int('1' * 500_000)`` のような大きな数の変換は1秒以上かかる可能性" "があります。" -#: ../../library/stdtypes.rst:5540 +#: ../../library/stdtypes.rst:5546 msgid "" "Limiting conversion size offers a practical way to avoid :cve:`2020-10735`." msgstr "" "変換するサイズを制限することは、 :cve:`2020-10735` を回避する実践的な方法を提" "供します。" -#: ../../library/stdtypes.rst:5542 +#: ../../library/stdtypes.rst:5548 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. " @@ -8828,12 +8833,12 @@ msgstr "" "制限は、非線形な変換アルゴリズムが必要とされる場合に、入力または出力文字列の" "桁数に対して適用されます。アンダースコアや正負の符号はカウントされません。" -#: ../../library/stdtypes.rst:5546 +#: ../../library/stdtypes.rst:5552 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "演算の結果が制限を超えると、:exc:`ValueError` が送出されます:" -#: ../../library/stdtypes.rst:5548 +#: ../../library/stdtypes.rst:5554 msgid "" ">>> import sys\n" ">>> sys.set_int_max_str_digits(4300) # Illustrative, this is the default.\n" @@ -8857,7 +8862,7 @@ msgid "" ">>> assert int(hex(i_squared), base=16) == i*i # Hexadecimal is unlimited." msgstr "" -#: ../../library/stdtypes.rst:5568 +#: ../../library/stdtypes.rst:5574 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -8869,11 +8874,11 @@ msgstr "" "data:`sys.int_info.str_digits_check_threshold ` で定義されてい" "ます。" -#: ../../library/stdtypes.rst:5573 +#: ../../library/stdtypes.rst:5579 msgid "Verification:" msgstr "確認:" -#: ../../library/stdtypes.rst:5575 +#: ../../library/stdtypes.rst:5581 msgid "" ">>> import sys\n" ">>> assert sys.int_info.default_max_str_digits == 4300, sys.int_info\n" @@ -8884,11 +8889,11 @@ msgid "" "..." msgstr "" -#: ../../library/stdtypes.rst:5588 +#: ../../library/stdtypes.rst:5594 msgid "Affected APIs" msgstr "影響のあるAPI" -#: ../../library/stdtypes.rst:5590 +#: ../../library/stdtypes.rst:5596 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" @@ -8896,23 +8901,23 @@ msgstr "" "制限は :class:`int` と :class:`str` または :class:`bytes` の間での変換で時間" "がかかる可能性があると適用されます:" -#: ../../library/stdtypes.rst:5593 +#: ../../library/stdtypes.rst:5599 msgid "``int(string)`` with default base 10." msgstr "``int(string)`` でデフォルトの基数10。" -#: ../../library/stdtypes.rst:5594 +#: ../../library/stdtypes.rst:5600 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "``int(string, base)`` で2のべき乗以外のすべての基数。" -#: ../../library/stdtypes.rst:5595 +#: ../../library/stdtypes.rst:5601 msgid "``str(integer)``." msgstr "``str(integer)``" -#: ../../library/stdtypes.rst:5596 +#: ../../library/stdtypes.rst:5602 msgid "``repr(integer)``." msgstr "``repr(integer)``" -#: ../../library/stdtypes.rst:5597 +#: ../../library/stdtypes.rst:5603 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." @@ -8920,39 +8925,39 @@ msgstr "" "他の10進数での文字列変換。たとえば ``f\"{integer}\"``、``\"{}\"." "format(integer)`` や ``b\"%d\" % integer``。 " -#: ../../library/stdtypes.rst:5600 +#: ../../library/stdtypes.rst:5606 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "制限は、線形アルゴリズムの関数では適用されません。" -#: ../../library/stdtypes.rst:5602 +#: ../../library/stdtypes.rst:5608 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "``int(string, base)`` で基数が2、4、8、16または32。" -#: ../../library/stdtypes.rst:5603 +#: ../../library/stdtypes.rst:5609 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr ":func:`int.from_bytes` と :func:`int.to_bytes` 。" -#: ../../library/stdtypes.rst:5604 +#: ../../library/stdtypes.rst:5610 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr ":func:`hex`, :func:`oct`, :func:`bin`." -#: ../../library/stdtypes.rst:5605 +#: ../../library/stdtypes.rst:5611 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr ":ref:`formatspec` での16進数、8進数、2進数での表現。" -#: ../../library/stdtypes.rst:5606 +#: ../../library/stdtypes.rst:5612 msgid ":class:`str` to :class:`float`." msgstr ":class:`str` から :class:`float`。" -#: ../../library/stdtypes.rst:5607 +#: ../../library/stdtypes.rst:5613 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr ":class:`str` から :class:`decimal.Decimal`。" -#: ../../library/stdtypes.rst:5610 +#: ../../library/stdtypes.rst:5616 msgid "Configuring the limit" msgstr "上限値を設定する" -#: ../../library/stdtypes.rst:5612 +#: ../../library/stdtypes.rst:5618 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" @@ -8960,7 +8965,7 @@ msgstr "" "Pythonを起動する前に環境変数またはインタープリタのコマンドラインのフラグで上" "限値を設定できます。" -#: ../../library/stdtypes.rst:5615 +#: ../../library/stdtypes.rst:5621 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " @@ -8970,7 +8975,7 @@ msgstr "" "python3`` は上限値を640に設定し、``PYTHONINTMAXSTRDIGITS=0 python3`` は制限を" "無効化します。" -#: ../../library/stdtypes.rst:5618 +#: ../../library/stdtypes.rst:5624 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" @@ -8978,7 +8983,7 @@ msgstr "" ":option:`-X int_max_str_digits <-X>`、たとえば ``python3 -X " "int_max_str_digits=640``" -#: ../../library/stdtypes.rst:5620 +#: ../../library/stdtypes.rst:5626 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 " @@ -8992,7 +8997,7 @@ msgstr "" "*-1* という値はどちらも未設定であることを表し、その場合は :data:`sys." "int_info.default_max_str_digits` の値が初期化時に使用されます。" -#: ../../library/stdtypes.rst:5626 +#: ../../library/stdtypes.rst:5632 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" @@ -9000,7 +9005,7 @@ msgstr "" "コードでは、以下の :mod:`sys` APIを使用して現在の上限値を調べ、新しい値を設定" "できます。" -#: ../../library/stdtypes.rst:5629 +#: ../../library/stdtypes.rst:5635 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 " @@ -9010,14 +9015,14 @@ msgstr "" "ンタープリタ全体での上限値を取得、設定できます。サブインタープリタはそれぞれ" "の上限値を持ちます。" -#: ../../library/stdtypes.rst:5633 +#: ../../library/stdtypes.rst:5639 msgid "" "Information about the default and minimum can be found in :data:`sys." "int_info`:" msgstr "" "デフォルト値と最小値に関する情報は :data:`sys.int_info` で参照できます:" -#: ../../library/stdtypes.rst:5635 +#: ../../library/stdtypes.rst:5641 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." @@ -9025,7 +9030,7 @@ msgstr "" ":data:`sys.int_info.default_max_str_digits ` はコンパイル時のデ" "フォルト上限値です。" -#: ../../library/stdtypes.rst:5637 +#: ../../library/stdtypes.rst:5643 msgid "" ":data:`sys.int_info.str_digits_check_threshold ` is the lowest " "accepted value for the limit (other than 0 which disables it)." @@ -9033,7 +9038,7 @@ msgstr "" ":data:`sys.int_info.str_digits_check_threshold ` は上限値として" "指定できる最低の値です(0の場合は無効になります)。" -#: ../../library/stdtypes.rst:5644 +#: ../../library/stdtypes.rst:5650 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 " @@ -9053,7 +9058,7 @@ msgstr "" "回避策は、その定数を、 ``0x`` を使って値の制限を持たない16進数の値に変換する" "ことです。" -#: ../../library/stdtypes.rst:5653 +#: ../../library/stdtypes.rst:5659 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 " @@ -9065,11 +9070,11 @@ msgstr "" "``.py`` ファイルを事前にコンパイルして ``.pyc`` ファイルを作成する際にも適用" "されるようにした状態で、確実にテストが実行されるようにしてください。" -#: ../../library/stdtypes.rst:5659 +#: ../../library/stdtypes.rst:5665 msgid "Recommended configuration" msgstr "推奨設定" -#: ../../library/stdtypes.rst:5661 +#: ../../library/stdtypes.rst:5667 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 " @@ -9083,11 +9088,11 @@ msgstr "" "理由は、これらの API が 3.12 以前のセキュリテイパッチリリースで追加されたため" "です。" -#: ../../library/stdtypes.rst:5666 +#: ../../library/stdtypes.rst:5672 msgid "Example::" msgstr "以下はプログラム例です::" -#: ../../library/stdtypes.rst:5668 +#: ../../library/stdtypes.rst:5674 msgid "" ">>> import sys\n" ">>> if hasattr(sys, \"set_int_max_str_digits\"):\n" @@ -9100,15 +9105,15 @@ msgid "" "... sys.set_int_max_str_digits(lower_bound)" msgstr "" -#: ../../library/stdtypes.rst:5678 +#: ../../library/stdtypes.rst:5684 msgid "If you need to disable it entirely, set it to ``0``." msgstr "完全に無効にするには、``0`` に設定します。" -#: ../../library/stdtypes.rst:5682 +#: ../../library/stdtypes.rst:5688 msgid "Footnotes" msgstr "脚注" -#: ../../library/stdtypes.rst:5683 +#: ../../library/stdtypes.rst:5689 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -9116,7 +9121,7 @@ msgstr "" "これらの特殊なメソッドのさらなる情報については、 Python リファレンスマニュア" "ル (:ref:`customization`) を参照してください。" -#: ../../library/stdtypes.rst:5686 +#: ../../library/stdtypes.rst:5692 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -9124,13 +9129,13 @@ msgstr "" "この結果として、リスト ``[1, 2]`` は ``[1.0, 2.0]`` と等しいと見なされます。" "タプルの場合も同様です。" -#: ../../library/stdtypes.rst:5689 +#: ../../library/stdtypes.rst:5695 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "パーザが演算対象の型を識別できるようにするために、このような優先順位でなけれ" "ばならないのです。" -#: ../../library/stdtypes.rst:5691 +#: ../../library/stdtypes.rst:5697 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -9140,7 +9145,7 @@ msgstr "" "uppercase (大文字))、 \"Ll\" (Letter, lowercase (小文字))、 \"Lt\" (Letter、" "titlecase (先頭が大文字)) のいずれかであるものです。" -#: ../../library/stdtypes.rst:5694 +#: ../../library/stdtypes.rst:5700 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -9155,13 +9160,13 @@ msgstr "組み込み" #: ../../library/stdtypes.rst:13 ../../library/stdtypes.rst:316 #: ../../library/stdtypes.rst:393 ../../library/stdtypes.rst:950 #: ../../library/stdtypes.rst:1117 ../../library/stdtypes.rst:1139 -#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4435 -#: ../../library/stdtypes.rst:5419 +#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4441 +#: ../../library/stdtypes.rst:5425 msgid "types" msgstr "types" #: ../../library/stdtypes.rst:34 ../../library/stdtypes.rst:1154 -#: ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:4441 msgid "statement" msgstr "statement" @@ -9283,11 +9288,11 @@ msgstr "is not" #: ../../library/stdtypes.rst:1139 ../../library/stdtypes.rst:1260 #: ../../library/stdtypes.rst:1339 ../../library/stdtypes.rst:1383 #: ../../library/stdtypes.rst:1504 ../../library/stdtypes.rst:1540 -#: ../../library/stdtypes.rst:2526 ../../library/stdtypes.rst:2545 -#: ../../library/stdtypes.rst:2652 ../../library/stdtypes.rst:4233 -#: ../../library/stdtypes.rst:4435 ../../library/stdtypes.rst:4914 -#: ../../library/stdtypes.rst:5169 ../../library/stdtypes.rst:5339 -#: ../../library/stdtypes.rst:5383 +#: ../../library/stdtypes.rst:2532 ../../library/stdtypes.rst:2551 +#: ../../library/stdtypes.rst:2658 ../../library/stdtypes.rst:4239 +#: ../../library/stdtypes.rst:4441 ../../library/stdtypes.rst:4920 +#: ../../library/stdtypes.rst:5175 ../../library/stdtypes.rst:5345 +#: ../../library/stdtypes.rst:5389 msgid "object" msgstr "object" @@ -9379,9 +9384,9 @@ msgid "arithmetic" msgstr "算術" #: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:950 -#: ../../library/stdtypes.rst:1117 ../../library/stdtypes.rst:4435 -#: ../../library/stdtypes.rst:5390 ../../library/stdtypes.rst:5404 -#: ../../library/stdtypes.rst:5419 +#: ../../library/stdtypes.rst:1117 ../../library/stdtypes.rst:4441 +#: ../../library/stdtypes.rst:5396 ../../library/stdtypes.rst:5410 +#: ../../library/stdtypes.rst:5425 msgid "built-in function" msgstr "組み込み関数" @@ -9397,8 +9402,8 @@ msgstr "浮動小数点数" msgid "complex" msgstr "複素数" -#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2402 -#: ../../library/stdtypes.rst:3621 +#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2408 +#: ../../library/stdtypes.rst:3627 msgid "+ (plus)" msgstr "+ (プラス記号)" @@ -9410,13 +9415,13 @@ msgstr "単項演算子" msgid "binary operator" msgstr "二項演算子" -#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2402 -#: ../../library/stdtypes.rst:3621 +#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2408 +#: ../../library/stdtypes.rst:3627 msgid "- (minus)" msgstr "- (負符号)" -#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2359 -#: ../../library/stdtypes.rst:3578 +#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2365 +#: ../../library/stdtypes.rst:3584 msgid "* (asterisk)" msgstr "* (アスタリスク)" @@ -9428,8 +9433,8 @@ msgstr "/ (スラッシュ)" msgid "//" msgstr "//" -#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2323 -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:246 ../../library/stdtypes.rst:2329 +#: ../../library/stdtypes.rst:3552 msgid "% (percent)" msgstr "% (パーセント)" @@ -9439,7 +9444,7 @@ msgstr "**" #: ../../library/stdtypes.rst:316 ../../library/stdtypes.rst:393 #: ../../library/stdtypes.rst:950 ../../library/stdtypes.rst:1154 -#: ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:4441 msgid "operations on" msgstr "演算" @@ -9448,7 +9453,7 @@ msgid "conjugate() (complex number method)" msgstr "conjugate() (複素数のメソッド)" #: ../../library/stdtypes.rst:335 ../../library/stdtypes.rst:1606 -#: ../../library/stdtypes.rst:2526 ../../library/stdtypes.rst:5419 +#: ../../library/stdtypes.rst:2532 ../../library/stdtypes.rst:5425 msgid "module" msgstr "module" @@ -9516,7 +9521,7 @@ msgstr "``values``" msgid "iterator protocol" msgstr "イテレータプロトコル" -#: ../../library/stdtypes.rst:847 ../../library/stdtypes.rst:4829 +#: ../../library/stdtypes.rst:847 ../../library/stdtypes.rst:4835 msgid "protocol" msgstr "プロトコル" @@ -9542,7 +9547,7 @@ msgstr "コンテナ" msgid "iteration over" msgstr "での反復" -#: ../../library/stdtypes.rst:950 ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:950 ../../library/stdtypes.rst:4441 msgid "len" msgstr "len" @@ -9619,14 +9624,14 @@ msgstr "mutable" msgid "list" msgstr "list" -#: ../../library/stdtypes.rst:1139 ../../library/stdtypes.rst:2526 -#: ../../library/stdtypes.rst:2652 ../../library/stdtypes.rst:2724 -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:1139 ../../library/stdtypes.rst:2532 +#: ../../library/stdtypes.rst:2658 ../../library/stdtypes.rst:2730 +#: ../../library/stdtypes.rst:3552 msgid "bytearray" msgstr "bytearray" -#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4435 -#: ../../library/stdtypes.rst:5169 ../../library/stdtypes.rst:5419 +#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4441 +#: ../../library/stdtypes.rst:5175 ../../library/stdtypes.rst:5425 msgid "type" msgstr "type" @@ -9634,7 +9639,7 @@ msgstr "type" msgid "assignment" msgstr "代入" -#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:1154 ../../library/stdtypes.rst:4441 msgid "del" msgstr "del" @@ -9675,7 +9680,7 @@ msgid "range" msgstr "range" #: ../../library/stdtypes.rst:1504 ../../library/stdtypes.rst:1553 -#: ../../library/stdtypes.rst:1598 ../../library/stdtypes.rst:2323 +#: ../../library/stdtypes.rst:1598 ../../library/stdtypes.rst:2329 msgid "string" msgstr "string" @@ -9696,17 +9701,17 @@ msgstr "(string も参照のこと)" msgid "io.StringIO" msgstr "io.StringIO" -#: ../../library/stdtypes.rst:1571 ../../library/stdtypes.rst:2518 +#: ../../library/stdtypes.rst:1571 ../../library/stdtypes.rst:2524 msgid "buffer protocol" msgstr "buffer protocol" -#: ../../library/stdtypes.rst:1571 ../../library/stdtypes.rst:2526 -#: ../../library/stdtypes.rst:2545 ../../library/stdtypes.rst:2724 -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:1571 ../../library/stdtypes.rst:2532 +#: ../../library/stdtypes.rst:2551 ../../library/stdtypes.rst:2730 +#: ../../library/stdtypes.rst:3552 msgid "bytes" msgstr "bytes" -#: ../../library/stdtypes.rst:1598 ../../library/stdtypes.rst:2724 +#: ../../library/stdtypes.rst:1598 ../../library/stdtypes.rst:2730 msgid "methods" msgstr "メソッド" @@ -9714,183 +9719,183 @@ msgstr "メソッド" msgid "re" msgstr "re" -#: ../../library/stdtypes.rst:2131 ../../library/stdtypes.rst:3400 +#: ../../library/stdtypes.rst:2137 ../../library/stdtypes.rst:3406 msgid "universal newlines" msgstr "universal newlines" -#: ../../library/stdtypes.rst:2131 +#: ../../library/stdtypes.rst:2137 msgid "str.splitlines method" msgstr "str.splitlines メソッド" -#: ../../library/stdtypes.rst:2323 +#: ../../library/stdtypes.rst:2329 msgid "formatting, string (%)" msgstr "書式化, 文字列 (%)" -#: ../../library/stdtypes.rst:2323 +#: ../../library/stdtypes.rst:2329 msgid "interpolation, string (%)" msgstr "補間, 文字列 (%)" -#: ../../library/stdtypes.rst:2323 +#: ../../library/stdtypes.rst:2329 msgid "formatting, printf" msgstr "formatting, printf" -#: ../../library/stdtypes.rst:2323 +#: ../../library/stdtypes.rst:2329 msgid "interpolation, printf" msgstr "interpolation, printf" -#: ../../library/stdtypes.rst:2323 ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:2329 ../../library/stdtypes.rst:3552 msgid "printf-style formatting" msgstr "printf 形式の書式化" -#: ../../library/stdtypes.rst:2323 ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:2329 ../../library/stdtypes.rst:3552 msgid "sprintf-style formatting" msgstr "sprintf 形式の書式化" -#: ../../library/stdtypes.rst:2359 ../../library/stdtypes.rst:3578 +#: ../../library/stdtypes.rst:2365 ../../library/stdtypes.rst:3584 msgid "() (parentheses)" msgstr "() (丸括弧)" -#: ../../library/stdtypes.rst:2359 ../../library/stdtypes.rst:2402 -#: ../../library/stdtypes.rst:3578 ../../library/stdtypes.rst:3621 +#: ../../library/stdtypes.rst:2365 ../../library/stdtypes.rst:2408 +#: ../../library/stdtypes.rst:3584 ../../library/stdtypes.rst:3627 msgid "in printf-style formatting" msgstr "in printf-style formatting" -#: ../../library/stdtypes.rst:2359 ../../library/stdtypes.rst:3578 +#: ../../library/stdtypes.rst:2365 ../../library/stdtypes.rst:3584 msgid ". (dot)" msgstr ". (ドット)" -#: ../../library/stdtypes.rst:2402 ../../library/stdtypes.rst:3621 +#: ../../library/stdtypes.rst:2408 ../../library/stdtypes.rst:3627 msgid "# (hash)" msgstr "# (hash)" -#: ../../library/stdtypes.rst:2402 ../../library/stdtypes.rst:3621 +#: ../../library/stdtypes.rst:2408 ../../library/stdtypes.rst:3627 msgid "space" msgstr "空白" -#: ../../library/stdtypes.rst:2518 +#: ../../library/stdtypes.rst:2524 msgid "binary sequence types" msgstr "バイナリシーケンス型" -#: ../../library/stdtypes.rst:2526 +#: ../../library/stdtypes.rst:2532 msgid "memoryview" msgstr "memoryview" -#: ../../library/stdtypes.rst:2526 +#: ../../library/stdtypes.rst:2532 msgid "array" msgstr "array" -#: ../../library/stdtypes.rst:3400 +#: ../../library/stdtypes.rst:3406 msgid "bytes.splitlines method" msgstr "bytes.splitlines メソッド" -#: ../../library/stdtypes.rst:3400 +#: ../../library/stdtypes.rst:3406 msgid "bytearray.splitlines method" msgstr "bytearray.splitlines メソッド" -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:3552 msgid "formatting" msgstr "書式化" -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:3552 msgid "bytes (%)" msgstr "bytes (%)" -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:3552 msgid "bytearray (%)" msgstr "bytearray (%)" -#: ../../library/stdtypes.rst:3546 +#: ../../library/stdtypes.rst:3552 msgid "interpolation" msgstr "補間" -#: ../../library/stdtypes.rst:4233 +#: ../../library/stdtypes.rst:4239 msgid "set" msgstr "集合" -#: ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:4441 msgid "mapping" msgstr "mapping" -#: ../../library/stdtypes.rst:4435 +#: ../../library/stdtypes.rst:4441 msgid "dictionary" msgstr "dictionary" -#: ../../library/stdtypes.rst:4518 +#: ../../library/stdtypes.rst:4524 msgid "__missing__()" msgstr "__missing__()" -#: ../../library/stdtypes.rst:4829 +#: ../../library/stdtypes.rst:4835 msgid "context manager" msgstr "context manager" -#: ../../library/stdtypes.rst:4829 +#: ../../library/stdtypes.rst:4835 msgid "context management protocol" msgstr "コンテキスト管理プロトコル" -#: ../../library/stdtypes.rst:4829 +#: ../../library/stdtypes.rst:4835 msgid "context management" msgstr "コンテキスト管理" -#: ../../library/stdtypes.rst:4902 +#: ../../library/stdtypes.rst:4908 msgid "annotation" msgstr "注釈" -#: ../../library/stdtypes.rst:4902 +#: ../../library/stdtypes.rst:4908 msgid "type annotation; type hint" msgstr "type annotation; type hint" -#: ../../library/stdtypes.rst:4914 +#: ../../library/stdtypes.rst:4920 msgid "GenericAlias" msgstr "GenericAlias" -#: ../../library/stdtypes.rst:4914 +#: ../../library/stdtypes.rst:4920 msgid "Generic" msgstr "Generic" -#: ../../library/stdtypes.rst:4914 +#: ../../library/stdtypes.rst:4920 msgid "Alias" msgstr "Alias" -#: ../../library/stdtypes.rst:5169 +#: ../../library/stdtypes.rst:5175 msgid "Union" msgstr "Union" -#: ../../library/stdtypes.rst:5169 +#: ../../library/stdtypes.rst:5175 msgid "union" msgstr "union" -#: ../../library/stdtypes.rst:5339 +#: ../../library/stdtypes.rst:5345 msgid "method" msgstr "メソッド" -#: ../../library/stdtypes.rst:5383 +#: ../../library/stdtypes.rst:5389 msgid "code" msgstr "コード" -#: ../../library/stdtypes.rst:5383 +#: ../../library/stdtypes.rst:5389 msgid "code object" msgstr "コードオブジェクト" -#: ../../library/stdtypes.rst:5390 +#: ../../library/stdtypes.rst:5396 msgid "compile" msgstr "コンパイル" -#: ../../library/stdtypes.rst:5390 +#: ../../library/stdtypes.rst:5396 msgid "__code__ (function object attribute)" msgstr "__code__ (関数オブジェクトの属性)" -#: ../../library/stdtypes.rst:5404 +#: ../../library/stdtypes.rst:5410 msgid "exec" msgstr "exec" -#: ../../library/stdtypes.rst:5404 +#: ../../library/stdtypes.rst:5410 msgid "eval" msgstr "eval" -#: ../../library/stdtypes.rst:5443 +#: ../../library/stdtypes.rst:5449 msgid "..." msgstr "..." -#: ../../library/stdtypes.rst:5443 +#: ../../library/stdtypes.rst:5449 msgid "ellipsis literal" msgstr "ellipsisリテラル" diff --git a/library/string.po b/library/string.po index 4ad57d629..5f06f4de7 100644 --- a/library/string.po +++ b/library/string.po @@ -17,7 +17,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-03 17:40+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:14+0000\n" "Last-Translator: Takeshi Nakazato, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1378,7 +1378,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" @@ -1392,33 +1392,6 @@ msgid "" " 10 A 12 1010\n" " 11 B 13 1011" msgstr "" -">>> for align, text in zip('<^>', ['left', 'center', 'right']):\n" -"... '{0:{fill}{align}16}'.format(text, fill=align, align=align)\n" -"...\n" -"'left<<<<<<<<<<<<'\n" -"'^^^^^center^^^^^'\n" -"'>>>>>>>>>>>right'\n" -">>>\n" -">>> octets = [192, 168, 0, 1]\n" -">>> '{:02X}{:02X}{:02X}{:02X}'.format(*octets)\n" -"'C0A80001'\n" -">>> int(_, 16)\n" -"3232235521\n" -">>>\n" -">>> width = 5\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" -"... print()\n" -"...\n" -" 5 5 5 101\n" -" 6 6 6 110\n" -" 7 7 7 111\n" -" 8 8 10 1000\n" -" 9 9 11 1001\n" -" 10 A 12 1010\n" -" 11 B 13 1011" #: ../../library/string.rst:760 msgid "Template strings" diff --git a/library/traceback.po b/library/traceback.po index 7415f93f7..8e5026f10 100644 --- a/library/traceback.po +++ b/library/traceback.po @@ -4,7 +4,6 @@ # FIRST AUTHOR , YEAR. # # Translators: -# Arihiro TAKASE, 2023 # Takanori Suzuki , 2024 # Takeshi Nakazato, 2024 # Taichi Haradaguchi, 2024 @@ -16,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: tomo, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -175,16 +174,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 "" -"``print_exception(sys.exception(), limit, file, chain)`` の省略表現です。" #: ../../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 diff --git a/library/unittest.mock.po b/library/unittest.mock.po index 80dd456d1..ebd05a166 100644 --- a/library/unittest.mock.po +++ b/library/unittest.mock.po @@ -17,7 +17,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:16+0000\n" "Last-Translator: Atsuo Ishimoto , 2025\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -2262,17 +2262,11 @@ msgstr "" msgid "" "Now we want to test ``some_function`` but we want to mock out ``SomeClass`` " "using :func:`patch`. The problem is that when we import module b, which we " -"will have to do then it imports ``SomeClass`` from module a. If we use :func:" +"will have to do when it imports ``SomeClass`` from module a. If we use :func:" "`patch` to mock out ``a.SomeClass`` then it will have no effect on our test; " "module b already has a reference to the *real* ``SomeClass`` and it looks " "like our patching had no effect." msgstr "" -"いま、 ``some_function`` をテストしようとしていて、そのために ``SomeClass`` " -"を :func:`patch` を使って mock しようとしています。\n" -"モジュール b をインポートした時点で、 b は ``SomeClass`` を a からインポート" -"しています。この状態で ``a.SomeClass`` を :func:`patch` を使って mock out し" -"てもテストには影響しません。モジュール b はすでに *本物の* ``SomeClass`` への" -"参照を持っていて、パッチの影響を受けないからです。" #: ../../library/unittest.mock.rst:1992 msgid "" diff --git a/reference/import.po b/reference/import.po index 336328cea..c90b4b550 100644 --- a/reference/import.po +++ b/reference/import.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:49+0000\n" "Last-Translator: tomo, 2023\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -251,11 +251,11 @@ msgstr "" "three`` をインポートすると、それぞれ ``parent/two/__init__.py`` や ``parent/" "three/__init__.py`` が実行されます。" -#: ../../reference/import.rst:127 +#: ../../reference/import.rst:129 msgid "Namespace packages" msgstr "名前空間パッケージ" -#: ../../reference/import.rst:133 +#: ../../reference/import.rst:135 msgid "" "A namespace package is a composite of various :term:`portions `, " "where each portion contributes a subpackage to the parent package. Portions " @@ -273,7 +273,7 @@ msgstr "" "に対応することもあるし、そうでないこともあります; それらは実際の実体のない仮" "想モジュールです。" -#: ../../reference/import.rst:141 +#: ../../reference/import.rst:143 msgid "" "Namespace packages do not use an ordinary list for their ``__path__`` " "attribute. They instead use a custom iterable type which will automatically " @@ -286,7 +286,7 @@ msgstr "" "最上位パッケージのための :data:`sys.path`) が変わった場合、そのパッケージでの" "次のインポートの際に、新たに自動でパッケージポーションを検索します。" -#: ../../reference/import.rst:147 +#: ../../reference/import.rst:149 msgid "" "With namespace packages, there is no ``parent/__init__.py`` file. In fact, " "there may be multiple ``parent`` directories found during import search, " @@ -302,15 +302,15 @@ msgstr "" "ケージのうち 1 つがインポートされたとき、Python は最上位の ``parent`` パッ" "ケージのための名前空間パッケージを作成します。" -#: ../../reference/import.rst:154 +#: ../../reference/import.rst:156 msgid "See also :pep:`420` for the namespace package specification." msgstr "名前空間パッケージの仕様については :pep:`420` も参照してください。" -#: ../../reference/import.rst:158 +#: ../../reference/import.rst:160 msgid "Searching" msgstr "検索" -#: ../../reference/import.rst:160 +#: ../../reference/import.rst:162 msgid "" "To begin the search, Python needs the :term:`fully qualified ` name of the module (or package, but for the purposes of this " @@ -325,7 +325,7 @@ msgstr "" "引数や :func:`importlib.import_module` および :func:`__import__` 関数のパラ" "メータから得られます。" -#: ../../reference/import.rst:166 +#: ../../reference/import.rst:168 msgid "" "This name will be used in various phases of the import search, and it may be " "the dotted path to a submodule, e.g. ``foo.bar.baz``. In this case, Python " @@ -339,11 +339,11 @@ msgstr "" "baz`` をインポートしようとします。中間のいずれかのインポートに失敗した場合" "は、 :exc:`ModuleNotFoundError` が送出されます。" -#: ../../reference/import.rst:173 +#: ../../reference/import.rst:175 msgid "The module cache" msgstr "モジュールキャッシュ" -#: ../../reference/import.rst:178 +#: ../../reference/import.rst:180 msgid "" "The first place checked during import search is :data:`sys.modules`. This " "mapping serves as a cache of all modules that have been previously imported, " @@ -358,7 +358,7 @@ msgstr "" "modules` は ``foo`` 、 ``foo.bar`` 、 ``foo.bar.baz`` のエントリーを含みま" "す。それぞれのキーはその値として対応するモジュールオブジェクトを持ちます。" -#: ../../reference/import.rst:185 +#: ../../reference/import.rst:187 msgid "" "During import, the module name is looked up in :data:`sys.modules` and if " "present, the associated value is the module satisfying the import, and the " @@ -371,7 +371,7 @@ msgstr "" "し値が ``None`` だった場合、 :exc:`ModuleNotFoundError` が送出されます。モ" "ジュール名が見付からなかった場合は、 Python はモジュールの検索を続けます。" -#: ../../reference/import.rst:191 +#: ../../reference/import.rst:193 msgid "" ":data:`sys.modules` is writable. Deleting a key may not destroy the " "associated module (as other modules may hold references to it), but it will " @@ -387,7 +387,7 @@ msgstr "" "キーを ``None`` に対応付けることもできますが、次にそのモジュールがインポート" "されるときに :exc:`ModuleNotFoundError` となってしまいます。" -#: ../../reference/import.rst:198 +#: ../../reference/import.rst:200 msgid "" "Beware though, as if you keep a reference to the module object, invalidate " "its cache entry in :data:`sys.modules`, and then re-import the named module, " @@ -402,11 +402,11 @@ msgstr "" "ジェクトを再利用し、モジュールのコードを再実行することで単にモジュールの内容" "を再初期化するだけです。" -#: ../../reference/import.rst:208 +#: ../../reference/import.rst:210 msgid "Finders and loaders" msgstr "ファインダーとローダー" -#: ../../reference/import.rst:215 +#: ../../reference/import.rst:217 msgid "" "If the named module is not found in :data:`sys.modules`, then Python's " "import protocol is invoked to find and load the module. This protocol " @@ -426,7 +426,7 @@ msgstr "" "ます - インポーターは要求されたモジュールがロードできると分かったとき、自分自" "身を返します。" -#: ../../reference/import.rst:223 +#: ../../reference/import.rst:225 msgid "" "Python includes a number of default finders and importers. The first one " "knows how to locate built-in modules, and the second knows how to locate " @@ -445,7 +445,7 @@ msgstr "" "を示すリストです。このリストは、 URL で特定できるもののような、位置を示すこと" "のできる任意のリソースの検索にまで拡張することもできます。" -#: ../../reference/import.rst:230 +#: ../../reference/import.rst:232 msgid "" "The import machinery is extensible, so new finders can be added to extend " "the range and scope of module searching." @@ -453,7 +453,7 @@ msgstr "" "インポート機構は拡張可能なので、モジュール検索の範囲とスコープを拡張するため" "に新しいファインダーを付け加えることができます。" -#: ../../reference/import.rst:233 +#: ../../reference/import.rst:235 msgid "" "Finders do not actually load modules. If they can find the named module, " "they return a :dfn:`module spec`, an encapsulation of the module's import-" @@ -465,7 +465,7 @@ msgstr "" "ジュールのインポート関連の情報をカプセル化したものを返します。モジュールの" "ロード時にインポート機構はそれを利用します。" -#: ../../reference/import.rst:237 +#: ../../reference/import.rst:239 msgid "" "The following sections describe the protocol for finders and loaders in more " "detail, including how you can create and register new ones to extend the " @@ -475,7 +475,7 @@ msgstr "" "と登録を含め、ファインダーとローダーのプロトコルについてより詳しく解説しま" "す。" -#: ../../reference/import.rst:241 +#: ../../reference/import.rst:243 msgid "" "In previous versions of Python, finders returned :term:`loaders ` " "directly, whereas now they return module specs which *contain* loaders. " @@ -485,11 +485,11 @@ msgstr "" "を返していましたが、現在はローダーを *含む* モジュール仕様を返します。ロー" "ダーはインポート中はまだ使われていますが、責任は減りました。" -#: ../../reference/import.rst:247 +#: ../../reference/import.rst:249 msgid "Import hooks" msgstr "インポートフック" -#: ../../reference/import.rst:257 +#: ../../reference/import.rst:259 msgid "" "The import machinery is designed to be extensible; the primary mechanism for " "this are the *import hooks*. There are two types of import hooks: *meta " @@ -499,7 +499,7 @@ msgstr "" "ポートフック* です。インポートフックには 2 種類あります: *メタフック* と *イ" "ンポートパスフック* です。" -#: ../../reference/import.rst:261 +#: ../../reference/import.rst:263 msgid "" "Meta hooks are called at the start of import processing, before any other " "import processing has occurred, other than :data:`sys.modules` cache look " @@ -513,7 +513,7 @@ msgstr "" "とができます。メタフックは以下で解説するように、 :data:`sys.meta_path` に新し" "いファインダーオブジェクトを追加することで登録されます。" -#: ../../reference/import.rst:267 +#: ../../reference/import.rst:269 msgid "" "Import path hooks are called as part of :data:`sys.path` (or ``package." "__path__``) processing, at the point where their associated path item is " @@ -525,11 +525,11 @@ msgstr "" "トパスフックは以下で解説するように、新しい呼び出し可能オブジェクトを :data:" "`sys.path_hooks` に追加することで登録されます。" -#: ../../reference/import.rst:274 +#: ../../reference/import.rst:276 msgid "The meta path" msgstr "メタパス" -#: ../../reference/import.rst:280 +#: ../../reference/import.rst:282 msgid "" "When the named module is not found in :data:`sys.modules`, Python next " "searches :data:`sys.meta_path`, which contains a list of meta path finder " @@ -541,7 +541,7 @@ msgid "" "named module or not." msgstr "" -#: ../../reference/import.rst:289 +#: ../../reference/import.rst:291 msgid "" "If the meta path finder knows how to handle the named module, it returns a " "spec object. If it cannot handle the named module, it returns ``None``. " @@ -556,7 +556,7 @@ msgstr "" "す。その他の送出された例外はそのまま呼び出し元に伝播され、インポート処理を異" "常終了させます。" -#: ../../reference/import.rst:295 +#: ../../reference/import.rst:297 msgid "" "The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path " "finders is called with two or three arguments. The first is the fully " @@ -570,7 +570,7 @@ msgid "" "system passes in a target module only during reload." msgstr "" -#: ../../reference/import.rst:306 +#: ../../reference/import.rst:308 msgid "" "The meta path may be traversed multiple times for a single import request. " "For example, assuming none of the modules involved has already been cached, " @@ -591,7 +591,7 @@ msgstr "" "査で ``mpf.find_spec(\"foo.bar.baz\", foo.bar.__path__, None)`` を呼び出して" "いきます。" -#: ../../reference/import.rst:316 +#: ../../reference/import.rst:318 msgid "" "Some meta path finders only support top level imports. These importers will " "always return ``None`` when anything other than ``None`` is passed as the " @@ -601,7 +601,7 @@ msgstr "" "のインポーターは、2 つ目の引数に ``None`` 以外のものが渡されたとき、常に " "``None`` を返します。" -#: ../../reference/import.rst:320 +#: ../../reference/import.rst:322 msgid "" "Python's default :data:`sys.meta_path` has three meta path finders, one that " "knows how to import built-in modules, one that knows how to import frozen " @@ -614,7 +614,7 @@ msgstr "" "path>` からのモジュールのインポートの方法を知っているもの (つまり :term:`パス" "ベース・ファインダー `) があります。" -#: ../../reference/import.rst:325 +#: ../../reference/import.rst:327 msgid "" "The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path " "finders replaced :meth:`!find_module`, which is now deprecated. While it " @@ -623,23 +623,23 @@ msgid "" "find_spec`." msgstr "" -#: ../../reference/import.rst:332 +#: ../../reference/import.rst:334 msgid "" "Use of :meth:`!find_module` by the import system now raises :exc:" "`ImportWarning`." msgstr "" -#: ../../reference/import.rst:336 +#: ../../reference/import.rst:338 msgid "" ":meth:`!find_module` has been removed. Use :meth:`~importlib.abc." "MetaPathFinder.find_spec` instead." msgstr "" -#: ../../reference/import.rst:342 +#: ../../reference/import.rst:344 msgid "Loading" msgstr "ロード" -#: ../../reference/import.rst:344 +#: ../../reference/import.rst:346 msgid "" "If and when a module spec is found, the import machinery will use it (and " "the loader it contains) when loading the module. Here is an approximation " @@ -649,7 +649,7 @@ msgstr "" "れ (およびそれに含まれるローダー) を使います。これは、インポートのロード部分" "で起こることの近似です::" -#: ../../reference/import.rst:348 +#: ../../reference/import.rst:350 msgid "" "module = None\n" "if spec.loader is not None and hasattr(spec.loader, 'create_module'):\n" @@ -681,11 +681,11 @@ msgid "" "return sys.modules[spec.name]" msgstr "" -#: ../../reference/import.rst:377 +#: ../../reference/import.rst:379 msgid "Note the following details:" msgstr "以下の詳細に注意してください:" -#: ../../reference/import.rst:379 +#: ../../reference/import.rst:381 msgid "" "If there is an existing module object with the given name in :data:`sys." "modules`, import will have already returned it." @@ -693,7 +693,7 @@ msgstr "" ":data:`sys.modules` の中に与えられた名前を持つ既存のモジュールオブジェクトが" "あるなら、 import は既にそれを返しているでしょう。" -#: ../../reference/import.rst:382 +#: ../../reference/import.rst:384 msgid "" "The module will exist in :data:`sys.modules` before the loader executes the " "module code. This is crucial because the module code may (directly or " @@ -707,7 +707,7 @@ msgstr "" "加することで、最悪のケースでは無限の再帰が、そして最良のケースでは複数回の" "ロードが、前もって防止されます。" -#: ../../reference/import.rst:388 +#: ../../reference/import.rst:390 msgid "" "If loading fails, the failing module -- and only the failing module -- gets " "removed from :data:`sys.modules`. Any module already in the :data:`sys." @@ -721,7 +721,7 @@ msgstr "" "てのモジュールは、常にキャッシュに残されます。これはリロードとは対照的で、リ" "ロードの場合は失敗したモジュールも :data:`sys.modules` に残されます。" -#: ../../reference/import.rst:394 +#: ../../reference/import.rst:396 msgid "" "After the module is created but before execution, the import machinery sets " "the import-related module attributes (\"_init_module_attrs\" in the pseudo-" @@ -732,7 +732,7 @@ msgstr "" "れてから実行されるまでの間にインポート機構はインポート関連のモジュール属性を" "設定します (上記擬似コード例の \"_init_module_attrs\")。" -#: ../../reference/import.rst:399 +#: ../../reference/import.rst:401 msgid "" "Module execution is the key moment of loading in which the module's " "namespace gets populated. Execution is entirely delegated to the loader, " @@ -742,7 +742,7 @@ msgstr "" "はローダーに完全に委任され、ローダーは何をどのように構築するかを決定すること" "になります。" -#: ../../reference/import.rst:403 +#: ../../reference/import.rst:405 msgid "" "The module created during loading and passed to exec_module() may not be the " "one returned at the end of import [#fnlo]_." @@ -750,7 +750,7 @@ msgstr "" "ロードの間に作成されて exec_module() に渡されたモジュールは、インポートの終わ" "りに返されるものとは異なるかもしれません [#fnlo]_。" -#: ../../reference/import.rst:406 +#: ../../reference/import.rst:408 msgid "" "The import system has taken over the boilerplate responsibilities of " "loaders. These were previously performed by the :meth:`importlib.abc.Loader." @@ -759,11 +759,11 @@ msgstr "" "インポートシステムはローダーの定型的な責任を引き継ぎました。これらは以前は :" "meth:`importlib.abc.Loader.load_module` メソッドによって実行されました。" -#: ../../reference/import.rst:412 +#: ../../reference/import.rst:414 msgid "Loaders" msgstr "ローダー" -#: ../../reference/import.rst:414 +#: ../../reference/import.rst:416 msgid "" "Module loaders provide the critical function of loading: module execution. " "The import machinery calls the :meth:`importlib.abc.Loader.exec_module` " @@ -775,11 +775,11 @@ msgstr "" "て :meth:`importlib.abc.Loader.exec_module` メソッドを呼び出します。 :meth:" "`importlib.abc.Loader.exec_module` から返された任意の値は無視されます。" -#: ../../reference/import.rst:419 +#: ../../reference/import.rst:421 msgid "Loaders must satisfy the following requirements:" msgstr "ローダーは以下の仕様を満たしていなければいけません:" -#: ../../reference/import.rst:421 +#: ../../reference/import.rst:423 msgid "" "If the module is a Python module (as opposed to a built-in module or a " "dynamically loaded extension), the loader should execute the module's code " @@ -789,7 +789,7 @@ msgstr "" "て) Python モジュールだった場合、ローダーはモジュールのグローバル名前空間 " "(``module.__dict__``) で、モジュールのコードを実行すべきです。" -#: ../../reference/import.rst:425 +#: ../../reference/import.rst:427 msgid "" "If the loader cannot execute the module, it should raise an :exc:" "`ImportError`, although any other exception raised during :meth:`~importlib." @@ -799,7 +799,7 @@ msgstr "" "以外の例外が送出され、伝播されてきたとしても、モジュールをロードできない場合" "は :exc:`ImportError` を送出すべきです。" -#: ../../reference/import.rst:429 +#: ../../reference/import.rst:431 msgid "" "In many cases, the finder and loader can be the same object; in such cases " "the :meth:`~importlib.abc.MetaPathFinder.find_spec` method would just return " @@ -809,7 +809,7 @@ msgstr "" "場合では :meth:`~importlib.abc.MetaPathFinder.find_spec` メソッドは単に " "``self`` (訳注: オブジェクト自身) を返すだけです。" -#: ../../reference/import.rst:433 +#: ../../reference/import.rst:435 msgid "" "Module loaders may opt in to creating the module object during loading by " "implementing a :meth:`~importlib.abc.Loader.create_module` method. It takes " @@ -825,11 +825,11 @@ msgstr "" "設定する必要はありません。もしこのメソッドが ``None`` を返すなら、インポート" "機構は新しいモジュールを自身で作成します。" -#: ../../reference/import.rst:440 +#: ../../reference/import.rst:442 msgid "The :meth:`~importlib.abc.Loader.create_module` method of loaders." msgstr "ローダーの :meth:`~importlib.abc.Loader.create_module` メソッド。" -#: ../../reference/import.rst:443 +#: ../../reference/import.rst:445 msgid "" "The :meth:`~importlib.abc.Loader.load_module` method was replaced by :meth:" "`~importlib.abc.Loader.exec_module` and the import machinery assumed all the " @@ -839,7 +839,7 @@ msgstr "" "Loader.exec_module` によって置き換えられ、インポート機構がロードのすべての定" "型的な処理を引き受けました。" -#: ../../reference/import.rst:448 +#: ../../reference/import.rst:450 msgid "" "For compatibility with existing loaders, the import machinery will use the " "``load_module()`` method of loaders if it exists and the loader does not " @@ -851,7 +851,7 @@ msgstr "" "ローダーの ``load_module()`` メソッドを使います。しかし、 ``load_module()`` " "は deprecated であり、ローダーは代わりに ``exec_module()`` を実装すべきです。" -#: ../../reference/import.rst:453 +#: ../../reference/import.rst:455 msgid "" "The ``load_module()`` method must implement all the boilerplate loading " "functionality described above in addition to executing the module. All the " @@ -861,7 +861,7 @@ msgstr "" "たすべての定型的なロード機能を実施しなければなりません。同じ制約が適用されま" "す。以下は追加の明確化です:" -#: ../../reference/import.rst:457 +#: ../../reference/import.rst:459 msgid "" "If there is an existing module object with the given name in :data:`sys." "modules`, the loader must use that existing module. (Otherwise, :func:" @@ -875,7 +875,7 @@ msgstr "" "`sys.modules` に存在しない場合、ローダーは新しいモジュールオブジェクトを作成" "し、 :data:`sys.modules` に追加しなければいけません。" -#: ../../reference/import.rst:463 +#: ../../reference/import.rst:465 msgid "" "The module *must* exist in :data:`sys.modules` before the loader executes " "the module code, to prevent unbounded recursion or multiple loading." @@ -884,7 +884,7 @@ msgstr "" "実行する前にモジュールは :data:`sys.modules` に存在しなければなりません " "(*must*)。" -#: ../../reference/import.rst:467 +#: ../../reference/import.rst:469 msgid "" "If loading fails, the loader must remove any modules it has inserted into :" "data:`sys.modules`, but it must remove **only** the failing module(s), and " @@ -895,7 +895,7 @@ msgstr "" "を、そのモジュールがローダー自身に明示的にロードされた場合に限り、除去しなけ" "ればなりません。" -#: ../../reference/import.rst:472 +#: ../../reference/import.rst:474 msgid "" "A :exc:`DeprecationWarning` is raised when ``exec_module()`` is defined but " "``create_module()`` is not." @@ -903,7 +903,7 @@ msgstr "" "``exec_module()`` が定義されていて ``create_module()`` が定義されていない場" "合、 :exc:`DeprecationWarning` が送出されるようになりました。" -#: ../../reference/import.rst:476 +#: ../../reference/import.rst:478 msgid "" "An :exc:`ImportError` is raised when ``exec_module()`` is defined but " "``create_module()`` is not." @@ -911,15 +911,15 @@ msgstr "" "``exec_module()`` が定義されていて ``create_module()`` が定義されていない場" "合、 :exc:`ImportError` が送出されるようになりました。" -#: ../../reference/import.rst:480 +#: ../../reference/import.rst:482 msgid "Use of ``load_module()`` will raise :exc:`ImportWarning`." msgstr "``load_module()`` を使用すると :exc:`ImportWarning` が発生します。" -#: ../../reference/import.rst:484 +#: ../../reference/import.rst:486 msgid "Submodules" msgstr "サブモジュール" -#: ../../reference/import.rst:486 +#: ../../reference/import.rst:488 msgid "" "When a submodule is loaded using any mechanism (e.g. ``importlib`` APIs, the " "``import`` or ``import-from`` statements, or built-in ``__import__()``) a " @@ -936,22 +936,22 @@ msgstr "" "``spam`` は値がサブモジュールに束縛された属性 ``foo`` を持ちます。以下のディ" "レクトリ構造を持っているとしましょう::" -#: ../../reference/import.rst:493 +#: ../../reference/import.rst:495 msgid "" "spam/\n" " __init__.py\n" " foo.py" msgstr "" -#: ../../reference/import.rst:497 +#: ../../reference/import.rst:499 msgid "and ``spam/__init__.py`` has the following line in it::" msgstr "そして ``spam/__init__.py`` は以下のようになっているとします::" -#: ../../reference/import.rst:499 +#: ../../reference/import.rst:501 msgid "from .foo import Foo" msgstr "" -#: ../../reference/import.rst:501 +#: ../../reference/import.rst:503 msgid "" "then executing the following puts name bindings for ``foo`` and ``Foo`` in " "the ``spam`` module::" @@ -959,7 +959,7 @@ msgstr "" "このとき、以下を実行することにより ``spam`` モジュールの中に ``foo`` と " "``Foo`` に束縛された名前が置かれます::" -#: ../../reference/import.rst:504 +#: ../../reference/import.rst:506 msgid "" ">>> import spam\n" ">>> spam.foo\n" @@ -968,7 +968,7 @@ msgid "" "" msgstr "" -#: ../../reference/import.rst:510 +#: ../../reference/import.rst:512 msgid "" "Given Python's familiar name binding rules this might seem surprising, but " "it's actually a fundamental feature of the import system. The invariant " @@ -982,11 +982,11 @@ msgstr "" "foo']`` が存在する場合、後者が前者の ``foo`` 属性として存在しなければならない" "ということです。" -#: ../../reference/import.rst:519 +#: ../../reference/import.rst:521 msgid "Module specs" msgstr "" -#: ../../reference/import.rst:521 +#: ../../reference/import.rst:523 msgid "" "The import machinery uses a variety of information about each module during " "import, especially before loading. Most of the information is common to all " @@ -998,7 +998,7 @@ msgstr "" "モジュール仕様の目的は、このインポート関連の情報をモジュールの単位でカプセル" "化することです。" -#: ../../reference/import.rst:526 +#: ../../reference/import.rst:528 msgid "" "Using a spec during import allows state to be transferred between import " "system components, e.g. between the finder that creates the module spec and " @@ -1012,7 +1012,7 @@ msgstr "" "がロードの定型的な作業を実行できるようになるということです。これに対して、モ" "ジュール仕様なしではローダがその責任を担っていました。" -#: ../../reference/import.rst:532 +#: ../../reference/import.rst:534 msgid "" "The module's spec is exposed as :attr:`module.__spec__`. Setting :attr:`!" "__spec__` appropriately applies equally to :ref:`modules initialized during " @@ -1020,17 +1020,17 @@ msgid "" "attr:`!__spec__` is :ref:`set to None in some cases `." msgstr "" -#: ../../reference/import.rst:538 +#: ../../reference/import.rst:540 msgid "" "See :class:`~importlib.machinery.ModuleSpec` for details on the contents of " "the module spec." msgstr "" -#: ../../reference/import.rst:546 +#: ../../reference/import.rst:548 msgid "__path__ attributes on modules" msgstr "" -#: ../../reference/import.rst:548 +#: ../../reference/import.rst:550 msgid "" "The :attr:`~module.__path__` attribute should be a (possibly empty) :term:" "`sequence` of strings enumerating the locations where the package's " @@ -1038,7 +1038,7 @@ msgid "" "attribute, it is a :term:`package`." msgstr "" -#: ../../reference/import.rst:553 +#: ../../reference/import.rst:555 msgid "" "A package's :attr:`~module.__path__` attribute is used during imports of its " "subpackages. Within the import machinery, it functions much the same as :" @@ -1047,14 +1047,14 @@ msgid "" "than :data:`!sys.path`." msgstr "" -#: ../../reference/import.rst:560 +#: ../../reference/import.rst:562 msgid "" "The same rules used for :data:`sys.path` also apply to a package's :attr:`!" "__path__`. :data:`sys.path_hooks` (described below) are consulted when " "traversing a package's :attr:`!__path__`." msgstr "" -#: ../../reference/import.rst:564 +#: ../../reference/import.rst:566 msgid "" "A package's ``__init__.py`` file may set or alter the package's :attr:" "`~module.__path__` attribute, and this was typically the way namespace " @@ -1064,11 +1064,11 @@ msgid "" "automatically sets :attr:`!__path__` correctly for the namespace package." msgstr "" -#: ../../reference/import.rst:573 +#: ../../reference/import.rst:575 msgid "Module reprs" msgstr "モジュールの repr" -#: ../../reference/import.rst:575 +#: ../../reference/import.rst:577 msgid "" "By default, all modules have a usable repr, however depending on the " "attributes set above, and in the module's spec, you can more explicitly " @@ -1078,7 +1078,7 @@ msgstr "" "れは、これまでに説明した属性の設定内容に依存しており、モジュール仕様によって" "モジュールオブジェクトの repr をより明示的に制御することができます。" -#: ../../reference/import.rst:579 +#: ../../reference/import.rst:581 msgid "" "If the module has a spec (``__spec__``), the import machinery will try to " "generate a repr from it. If that fails or there is no spec, the import " @@ -1094,11 +1094,11 @@ msgstr "" "__loader__`` を (足りない情報についてはデフォルト値を使って補いながら) repr " "への入力として使おうと試みます。" -#: ../../reference/import.rst:586 +#: ../../reference/import.rst:588 msgid "Here are the exact rules used:" msgstr "これが使われている正確な規則です:" -#: ../../reference/import.rst:588 +#: ../../reference/import.rst:590 msgid "" "If the module has a ``__spec__`` attribute, the information in the spec is " "used to generate the repr. The \"name\", \"loader\", \"origin\", and " @@ -1108,7 +1108,7 @@ msgstr "" "成するために使われます。 \"name\", \"loader\", \"origin\", \"has_location\" " "属性が参照されます。" -#: ../../reference/import.rst:592 +#: ../../reference/import.rst:594 msgid "" "If the module has a ``__file__`` attribute, this is used as part of the " "module's repr." @@ -1116,7 +1116,7 @@ msgstr "" "モジュールに ``__file__`` 属性がある場合は、モジュールの repr の一部として使" "われます。" -#: ../../reference/import.rst:595 +#: ../../reference/import.rst:597 msgid "" "If the module has no ``__file__`` but does have a ``__loader__`` that is not " "``None``, then the loader's repr is used as part of the module's repr." @@ -1124,22 +1124,22 @@ msgstr "" "モジュールに ``__file__`` はないが ``__loader__`` があり、その値が ``None`` " "ではない場合は、ローダーの repr がモジュールの repr の一部として使われます。" -#: ../../reference/import.rst:598 +#: ../../reference/import.rst:600 msgid "Otherwise, just use the module's ``__name__`` in the repr." msgstr "そうでなければ、単にモジュールの ``__name__`` を repr の中で使います。" -#: ../../reference/import.rst:600 +#: ../../reference/import.rst:602 msgid "" "Use of :meth:`!module_repr`, having been deprecated since Python 3.4, was " "removed in Python 3.12 and is no longer called during the resolution of a " "module's repr." msgstr "" -#: ../../reference/import.rst:608 +#: ../../reference/import.rst:610 msgid "Cached bytecode invalidation" msgstr "キャッシュされたバイトコードの無効化" -#: ../../reference/import.rst:610 +#: ../../reference/import.rst:612 msgid "" "Before Python loads cached bytecode from a ``.pyc`` file, it checks whether " "the cache is up-to-date with the source ``.py`` file. By default, Python " @@ -1149,7 +1149,7 @@ msgid "" "source's metadata." msgstr "" -#: ../../reference/import.rst:617 +#: ../../reference/import.rst:619 msgid "" "Python also supports \"hash-based\" cache files, which store a hash of the " "source file's contents rather than its metadata. There are two variants of " @@ -1163,17 +1163,17 @@ msgid "" "option:`--check-hash-based-pycs` flag." msgstr "" -#: ../../reference/import.rst:628 +#: ../../reference/import.rst:630 msgid "" "Added hash-based ``.pyc`` files. Previously, Python only supported timestamp-" "based invalidation of bytecode caches." msgstr "" -#: ../../reference/import.rst:634 +#: ../../reference/import.rst:636 msgid "The Path Based Finder" msgstr "パスベース・ファインダー" -#: ../../reference/import.rst:639 +#: ../../reference/import.rst:641 msgid "" "As mentioned previously, Python comes with several default meta path " "finders. One of these, called the :term:`path based finder` (:class:" @@ -1187,7 +1187,7 @@ msgstr "" "ントリ ` のリストである :term:`インポートパス ` を検" "索します。それぞれのパスエントリは、モジュールを探す場所を指しています。" -#: ../../reference/import.rst:645 +#: ../../reference/import.rst:647 msgid "" "The path based finder itself doesn't know how to import anything. Instead, " "it traverses the individual path entries, associating each of them with a " @@ -1197,7 +1197,7 @@ msgstr "" "せん。その代わりに、個々のパスエントリを走査し、それぞれに特定の種類のパスの" "扱いを知っているパスエントリ・ファインダーを関連付けます。" -#: ../../reference/import.rst:649 +#: ../../reference/import.rst:651 msgid "" "The default set of path entry finders implement all the semantics for " "finding modules on the file system, handling special file types such as " @@ -1215,7 +1215,7 @@ msgstr "" "トのパスエントリ・ファインダーは (共有ライブラリ以外の) すべてのファイルタイ" "プの zip ファイルからのロードも扱います。" -#: ../../reference/import.rst:656 +#: ../../reference/import.rst:658 msgid "" "Path entries need not be limited to file system locations. They can refer " "to URLs, database queries, or any other location that can be specified as a " @@ -1224,7 +1224,7 @@ msgstr "" "パスエントリはファイルシステム上の場所に限定される必要はありません。URL や" "データベースクエリやその他文字列で指定できる場所を参照することも可能です。" -#: ../../reference/import.rst:660 +#: ../../reference/import.rst:662 msgid "" "The path based finder provides additional hooks and protocols so that you " "can extend and customize the types of searchable path entries. For example, " @@ -1243,7 +1243,7 @@ msgstr "" "します。このプロトコルは web からモジュールのローダーを取得するのに使われま" "す。" -#: ../../reference/import.rst:668 +#: ../../reference/import.rst:670 msgid "" "A word of warning: this section and the previous both use the term *finder*, " "distinguishing between them by using the terms :term:`meta path finder` and :" @@ -1261,7 +1261,7 @@ msgstr "" "に、メタパス・ファインダーはインポート処理の開始時、 :data:`sys.meta_path` の" "走査が動くときに動作します。" -#: ../../reference/import.rst:676 +#: ../../reference/import.rst:678 msgid "" "By contrast, path entry finders are in a sense an implementation detail of " "the path based finder, and in fact, if the path based finder were to be " @@ -1273,11 +1273,11 @@ msgstr "" "が取り除かれた場合、パスエントリ・ファインダーの実装は何も実行されないでしょ" "う。" -#: ../../reference/import.rst:683 +#: ../../reference/import.rst:685 msgid "Path entry finders" msgstr "パスエントリ・ファインダー" -#: ../../reference/import.rst:691 +#: ../../reference/import.rst:693 msgid "" "The :term:`path based finder` is responsible for finding and loading Python " "modules and packages whose location is specified with a string :term:`path " @@ -1289,7 +1289,7 @@ msgstr "" "ジを見つけ、ロードする責任があります。ほとんどのパスエントリはファイルシステ" "ム上の場所を指定していますが、そこに制限される必要はありません。" -#: ../../reference/import.rst:696 +#: ../../reference/import.rst:698 msgid "" "As a meta path finder, the :term:`path based finder` implements the :meth:" "`~importlib.abc.MetaPathFinder.find_spec` protocol previously described, " @@ -1302,7 +1302,7 @@ msgstr "" "path>` からモジュールを見つけ、ロードする方法をカスタマイズするために使える" "フックを提供しています。" -#: ../../reference/import.rst:701 +#: ../../reference/import.rst:703 msgid "" "Three variables are used by the :term:`path based finder`, :data:`sys." "path`, :data:`sys.path_hooks` and :data:`sys.path_importer_cache`. The " @@ -1314,7 +1314,7 @@ msgstr "" "使います。さらにパッケージオブジェクトの ``__path__`` 属性も使います。これら" "によって、インポート処理をカスタマイズする方法が提供されます。" -#: ../../reference/import.rst:706 +#: ../../reference/import.rst:708 msgid "" ":data:`sys.path` contains a list of strings providing search locations for " "modules and packages. It is initialized from the :envvar:`PYTHONPATH` " @@ -1326,7 +1326,7 @@ msgid "" "other data types are ignored." msgstr "" -#: ../../reference/import.rst:715 +#: ../../reference/import.rst:717 msgid "" "The :term:`path based finder` is a :term:`meta path finder`, so the import " "machinery begins the :term:`import path` search by calling the path based " @@ -1347,7 +1347,7 @@ msgstr "" "``None`` だった場合、それは最上位のインポートであることを示していて、 :data:" "`sys.path` が使われます。" -#: ../../reference/import.rst:724 +#: ../../reference/import.rst:726 msgid "" "The path based finder iterates over every entry in the search path, and for " "each of these, looks for an appropriate :term:`path entry finder` (:class:" @@ -1363,7 +1363,7 @@ msgid "" "finder to perform the path entry search again." msgstr "" -#: ../../reference/import.rst:737 +#: ../../reference/import.rst:739 msgid "" "If the path entry is not present in the cache, the path based finder " "iterates over every callable in :data:`sys.path_hooks`. Each of the :term:" @@ -1392,7 +1392,7 @@ msgstr "" "ルシステムのエンコーディングの UTF-8 やそれ以外などです) 、フックが引数をデ" "コードできなかった場合は :exc:`ImportError` を送出すべきです。" -#: ../../reference/import.rst:751 +#: ../../reference/import.rst:753 msgid "" "If :data:`sys.path_hooks` iteration ends with no :term:`path entry finder` " "being returned, then the path based finder's :meth:`~importlib.machinery." @@ -1409,7 +1409,7 @@ msgstr "" "finder>` はモジュールが見つからなかったことを伝えるために ``None`` を返しま" "す。" -#: ../../reference/import.rst:758 +#: ../../reference/import.rst:760 msgid "" "If a :term:`path entry finder` *is* returned by one of the :term:`path entry " "hook` callables on :data:`sys.path_hooks`, then the following protocol is " @@ -1421,7 +1421,7 @@ msgstr "" "` *であった* 場合、後で出てくるモジュール仕様を探すための" "プロトコルが使われ、それがモジュールをロードするために使われます。" -#: ../../reference/import.rst:763 +#: ../../reference/import.rst:765 msgid "" "The current working directory -- denoted by an empty string -- is handled " "slightly differently from other entries on :data:`sys.path`. First, if the " @@ -1440,11 +1440,11 @@ msgstr "" "meth:`importlib.machinery.PathFinder.find_spec` が返すパスは、実際のディレク" "トリであって空の文字列ではありません。" -#: ../../reference/import.rst:773 +#: ../../reference/import.rst:775 msgid "Path entry finder protocol" msgstr "パスエントリ・ファインダー・プロトコル" -#: ../../reference/import.rst:775 +#: ../../reference/import.rst:777 msgid "" "In order to support imports of modules and initialized packages and also to " "contribute portions to namespace packages, path entry finders must implement " @@ -1455,7 +1455,7 @@ msgstr "" "は :meth:`~importlib.abc.PathEntryFinder.find_spec` メソッドを実装しなければ" "いけません。" -#: ../../reference/import.rst:779 +#: ../../reference/import.rst:781 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` takes two arguments: the " "fully qualified name of the module being imported, and the (optional) target " @@ -1468,21 +1468,21 @@ msgstr "" "された仕様を返します。この仕様は (1つの例外を除いて) 常に \"loader\" セットを" "持っています。" -#: ../../reference/import.rst:784 +#: ../../reference/import.rst:786 msgid "" "To indicate to the import machinery that the spec represents a namespace :" "term:`portion`, the path entry finder sets ``submodule_search_locations`` to " "a list containing the portion." msgstr "" -#: ../../reference/import.rst:788 +#: ../../reference/import.rst:790 msgid "" ":meth:`~importlib.abc.PathEntryFinder.find_spec` replaced :meth:`!" "find_loader` and :meth:`!find_module`, both of which are now deprecated, but " "will be used if ``find_spec()`` is not defined." msgstr "" -#: ../../reference/import.rst:794 +#: ../../reference/import.rst:796 msgid "" "Older path entry finders may implement one of these two deprecated methods " "instead of ``find_spec()``. The methods are still respected for the sake of " @@ -1495,14 +1495,14 @@ msgstr "" "エントリ・ファインダーに ``find_spec()`` が実装されていれば、古いメソッドは無" "視されます。" -#: ../../reference/import.rst:799 +#: ../../reference/import.rst:801 msgid "" ":meth:`!find_loader` takes one argument, the fully qualified name of the " "module being imported. ``find_loader()`` returns a 2-tuple where the first " "item is the loader and the second item is a namespace :term:`portion`." msgstr "" -#: ../../reference/import.rst:804 +#: ../../reference/import.rst:806 msgid "" "For backwards compatibility with other implementations of the import " "protocol, many path entry finders also support the same, traditional " @@ -1518,7 +1518,7 @@ msgstr "" "せん (このメソッドは、パスフックの最初の呼び出しから適切なパス情報を記録する" "動作が期待されています)。" -#: ../../reference/import.rst:811 +#: ../../reference/import.rst:813 msgid "" "The ``find_module()`` method on path entry finders is deprecated, as it does " "not allow the path entry finder to contribute portions to namespace " @@ -1533,21 +1533,21 @@ msgstr "" "システムは常に ``find_module()`` よりも ``find_loader()`` を優先して呼び出し" "ます。" -#: ../../reference/import.rst:817 +#: ../../reference/import.rst:819 msgid "" "Calls to :meth:`!find_module` and :meth:`!find_loader` by the import system " "will raise :exc:`ImportWarning`." msgstr "" -#: ../../reference/import.rst:822 +#: ../../reference/import.rst:824 msgid "``find_module()`` and ``find_loader()`` have been removed." msgstr "" -#: ../../reference/import.rst:827 +#: ../../reference/import.rst:829 msgid "Replacing the standard import system" msgstr "標準のインポートシステムを置き換える" -#: ../../reference/import.rst:829 +#: ../../reference/import.rst:831 msgid "" "The most reliable mechanism for replacing the entire import system is to " "delete the default contents of :data:`sys.meta_path`, replacing them " @@ -1557,7 +1557,7 @@ msgstr "" "`sys.meta_path` のデフォルトの内容を削除し、全部をカスタムのメタパスフックで" "置き換えるものです。" -#: ../../reference/import.rst:833 +#: ../../reference/import.rst:835 msgid "" "If it is acceptable to only alter the behaviour of import statements without " "affecting other APIs that access the import system, then replacing the " @@ -1570,7 +1570,7 @@ msgstr "" "るだけで十分です。この手法は、ある 1 つのモジュール内だけで import 文の動作を" "変更するのにも用いられます。" -#: ../../reference/import.rst:839 +#: ../../reference/import.rst:841 msgid "" "To selectively prevent the import of some modules from a hook early on the " "meta path (rather than disabling the standard import system entirely), it is " @@ -1586,11 +1586,11 @@ msgstr "" "の走査を続けるべきであることを意味しますが、例外を送出するとすぐに走査を打ち" "切ります。" -#: ../../reference/import.rst:849 +#: ../../reference/import.rst:851 msgid "Package Relative Imports" msgstr "" -#: ../../reference/import.rst:851 +#: ../../reference/import.rst:853 msgid "" "Relative imports use leading dots. A single leading dot indicates a relative " "import, starting with the current package. Two or more leading dots indicate " @@ -1598,7 +1598,7 @@ msgid "" "after the first. For example, given the following package layout::" msgstr "" -#: ../../reference/import.rst:856 +#: ../../reference/import.rst:858 msgid "" "package/\n" " __init__.py\n" @@ -1612,13 +1612,13 @@ msgid "" " moduleA.py" msgstr "" -#: ../../reference/import.rst:867 +#: ../../reference/import.rst:869 msgid "" "In either ``subpackage1/moduleX.py`` or ``subpackage1/__init__.py``, the " "following are valid relative imports::" msgstr "" -#: ../../reference/import.rst:870 +#: ../../reference/import.rst:872 msgid "" "from .moduleY import spam\n" "from .moduleY import spam as ham\n" @@ -1628,28 +1628,28 @@ msgid "" "from ..moduleA import foo" msgstr "" -#: ../../reference/import.rst:877 +#: ../../reference/import.rst:879 msgid "" "Absolute imports may use either the ``import <>`` or ``from <> import <>`` " "syntax, but relative imports may only use the second form; the reason for " "this is that::" msgstr "" -#: ../../reference/import.rst:881 +#: ../../reference/import.rst:883 msgid "import XXX.YYY.ZZZ" msgstr "" -#: ../../reference/import.rst:883 +#: ../../reference/import.rst:885 msgid "" "should expose ``XXX.YYY.ZZZ`` as a usable expression, but .moduleY is not a " "valid expression." msgstr "" -#: ../../reference/import.rst:890 +#: ../../reference/import.rst:892 msgid "Special considerations for __main__" msgstr "__main__ に対する特別な考慮" -#: ../../reference/import.rst:892 +#: ../../reference/import.rst:894 msgid "" "The :mod:`__main__` module is a special case relative to Python's import " "system. As noted :ref:`elsewhere `, the ``__main__`` module is " @@ -1667,11 +1667,11 @@ msgstr "" "ん。これは、 ``__main__`` が初期化される方法がインタプリタが起動されるときの" "フラグやその他のオプションに依存するためです。" -#: ../../reference/import.rst:903 +#: ../../reference/import.rst:905 msgid "__main__.__spec__" msgstr "__main__.__spec__" -#: ../../reference/import.rst:905 +#: ../../reference/import.rst:907 msgid "" "Depending on how :mod:`__main__` is initialized, ``__main__.__spec__`` gets " "set appropriately or to ``None``." @@ -1679,7 +1679,7 @@ msgstr "" ":mod:`__main__` がどのように初期化されるかに依存して、 ``__main__.__spec__`` " "は適切に設定されることもあれば ``None`` になることもあります。" -#: ../../reference/import.rst:908 +#: ../../reference/import.rst:910 msgid "" "When Python is started with the :option:`-m` option, ``__spec__`` is set to " "the module spec of the corresponding module or package. ``__spec__`` is also " @@ -1692,7 +1692,7 @@ msgstr "" "一部として ``__main__`` モジュールがロードされる場合にも ``__spec__`` が生成 " "(populate) されます。" -#: ../../reference/import.rst:913 +#: ../../reference/import.rst:915 msgid "" "In :ref:`the remaining cases ` ``__main__." "__spec__`` is set to ``None``, as the code used to populate the :mod:" @@ -1703,23 +1703,23 @@ msgstr "" "(populate) するために使われたコードがインポート可能なモジュールと直接一致して" "いないためです:" -#: ../../reference/import.rst:917 +#: ../../reference/import.rst:919 msgid "interactive prompt" msgstr "対話プロンプト" -#: ../../reference/import.rst:918 +#: ../../reference/import.rst:920 msgid ":option:`-c` option" msgstr ":option:`-c` オプション" -#: ../../reference/import.rst:919 +#: ../../reference/import.rst:921 msgid "running from stdin" msgstr "stdin から起動された場合" -#: ../../reference/import.rst:920 +#: ../../reference/import.rst:922 msgid "running directly from a source or bytecode file" msgstr "ソースファイルやバイトコードファイルから直接起動された場合" -#: ../../reference/import.rst:922 +#: ../../reference/import.rst:924 msgid "" "Note that ``__main__.__spec__`` is always ``None`` in the last case, *even " "if* the file could technically be imported directly as a module instead. Use " @@ -1731,7 +1731,7 @@ msgstr "" "ださい。もし :mod:`__main__` において有効なモジュールメタデータが必要なら :" "option:`-m` スイッチを使ってください。" -#: ../../reference/import.rst:927 +#: ../../reference/import.rst:929 msgid "" "Note also that even when ``__main__`` corresponds with an importable module " "and ``__main__.__spec__`` is set accordingly, they're still considered " @@ -1746,11 +1746,11 @@ msgstr "" "(populate) するためにモジュールが使用される時にだけ実行され、通常のインポート" "時には実行されない、という事実に起因しています。" -#: ../../reference/import.rst:935 +#: ../../reference/import.rst:937 msgid "References" msgstr "参考資料" -#: ../../reference/import.rst:937 +#: ../../reference/import.rst:939 msgid "" "The import machinery has evolved considerably since Python's early days. " "The original `specification for packages `_ はまだ読む" "ことができます。" -#: ../../reference/import.rst:942 +#: ../../reference/import.rst:944 msgid "" "The original specification for :data:`sys.meta_path` was :pep:`302`, with " "subsequent extension in :pep:`420`." @@ -1770,14 +1770,14 @@ msgstr "" "オリジナルの :data:`sys.meta_path` の仕様は :pep:`302` で、その後継となる拡張" "が :pep:`420` です。" -#: ../../reference/import.rst:945 +#: ../../reference/import.rst:947 msgid "" ":pep:`420` introduced :term:`namespace packages ` for " "Python 3.3. :pep:`420` also introduced the :meth:`!find_loader` protocol as " "an alternative to :meth:`!find_module`." msgstr "" -#: ../../reference/import.rst:949 +#: ../../reference/import.rst:951 msgid "" ":pep:`366` describes the addition of the ``__package__`` attribute for " "explicit relative imports in main modules." @@ -1785,7 +1785,7 @@ msgstr "" ":pep:`366` は、メインモジュールでの明示的な相対インポートのために追加した " "``__package__`` 属性の解説をしています。" -#: ../../reference/import.rst:952 +#: ../../reference/import.rst:954 msgid "" ":pep:`328` introduced absolute and explicit relative imports and initially " "proposed ``__name__`` for semantics :pep:`366` would eventually specify for " @@ -1795,12 +1795,12 @@ msgstr "" "``__name__`` で提案し、後に :pep:`366` が ``__package__`` で定めた仕様を導入" "しました。" -#: ../../reference/import.rst:956 +#: ../../reference/import.rst:958 msgid ":pep:`338` defines executing modules as scripts." msgstr "" ":pep:`338` はモジュールをスクリプトとして実行するときの仕様を定めています。" -#: ../../reference/import.rst:958 +#: ../../reference/import.rst:960 msgid "" ":pep:`451` adds the encapsulation of per-module import state in spec " "objects. It also off-loads most of the boilerplate responsibilities of " @@ -1814,15 +1814,15 @@ msgstr "" "くつかの API が deprecate され、またファインダーとローダーには新しいメソッド" "が追加されました。" -#: ../../reference/import.rst:965 +#: ../../reference/import.rst:967 msgid "Footnotes" msgstr "脚注" -#: ../../reference/import.rst:966 +#: ../../reference/import.rst:968 msgid "See :class:`types.ModuleType`." msgstr ":class:`types.ModuleType` を参照してください。" -#: ../../reference/import.rst:968 +#: ../../reference/import.rst:970 msgid "" "The importlib implementation avoids using the return value directly. " "Instead, it gets the module object by looking the module name up in :data:" @@ -1841,7 +1841,7 @@ msgid "import machinery" msgstr "import machinery" #: ../../reference/import.rst:64 ../../reference/import.rst:95 -#: ../../reference/import.rst:129 +#: ../../reference/import.rst:131 msgid "package" msgstr "package" @@ -1849,82 +1849,82 @@ msgstr "package" msgid "regular" msgstr "regular" -#: ../../reference/import.rst:129 +#: ../../reference/import.rst:131 msgid "namespace" msgstr "namespace" -#: ../../reference/import.rst:129 +#: ../../reference/import.rst:131 msgid "portion" msgstr "portion" -#: ../../reference/import.rst:175 +#: ../../reference/import.rst:177 msgid "sys.modules" msgstr "sys.modules" -#: ../../reference/import.rst:210 ../../reference/import.rst:276 +#: ../../reference/import.rst:212 ../../reference/import.rst:278 msgid "finder" msgstr "finder" -#: ../../reference/import.rst:210 +#: ../../reference/import.rst:212 msgid "loader" msgstr "loader" -#: ../../reference/import.rst:210 +#: ../../reference/import.rst:212 msgid "module spec" msgstr "module spec" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "import hooks" msgstr "import hooks" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "meta hooks" msgstr "meta hooks" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "path hooks" msgstr "path hooks" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "hooks" msgstr "hooks" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "import" msgstr "import" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "meta" msgstr "meta" -#: ../../reference/import.rst:249 +#: ../../reference/import.rst:251 msgid "path" msgstr "パス" -#: ../../reference/import.rst:276 +#: ../../reference/import.rst:278 msgid "sys.meta_path" msgstr "sys.meta_path" -#: ../../reference/import.rst:276 +#: ../../reference/import.rst:278 msgid "find_spec" msgstr "" -#: ../../reference/import.rst:636 +#: ../../reference/import.rst:638 msgid "path based finder" msgstr "path based finder" -#: ../../reference/import.rst:685 +#: ../../reference/import.rst:687 msgid "sys.path" msgstr "sys.path" -#: ../../reference/import.rst:685 +#: ../../reference/import.rst:687 msgid "sys.path_hooks" msgstr "sys.path_hooks" -#: ../../reference/import.rst:685 +#: ../../reference/import.rst:687 msgid "sys.path_importer_cache" msgstr "sys.path_importer_cache" -#: ../../reference/import.rst:685 +#: ../../reference/import.rst:687 msgid "PYTHONPATH" msgstr "PYTHONPATH" diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 3e2e561d6..4a735094f 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -18,7 +18,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: Takanori Suzuki , 2025\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -410,10 +410,10 @@ 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::" +"``\"\"\"...\"\"\"`` 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 diff --git a/tutorial/modules.po b/tutorial/modules.po index 9a160633a..7cd468be9 100644 --- a/tutorial/modules.po +++ b/tutorial/modules.po @@ -15,7 +15,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:50+0000\n" "Last-Translator: TENMYO Masakazu, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -624,7 +624,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" @@ -688,7 +688,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" diff --git a/whatsnew/2.7.po b/whatsnew/2.7.po index 605c22a1f..3d61843c2 100644 --- a/whatsnew/2.7.po +++ b/whatsnew/2.7.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-28 01:51+0000\n" "Last-Translator: Taichi Haradaguchi, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1793,7 +1793,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.4.po b/whatsnew/3.4.po index bdd5ec8eb..7392d6a10 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-07 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: Takanori Suzuki , 2021\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -1422,7 +1422,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/changelog.po b/whatsnew/changelog.po index db4eea90e..942403789 100644 --- a/whatsnew/changelog.po +++ b/whatsnew/changelog.po @@ -14,7 +14,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.13\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-02-14 14:17+0000\n" +"POT-Creation-Date: 2025-02-21 14:16+0000\n" "PO-Revision-Date: 2021-06-29 13:04+0000\n" "Last-Translator: tomo, 2024\n" "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" @@ -37,16 +37,16 @@ msgstr "次のPython" msgid "*Release date: XXXX-XX-XX*" msgstr "*リリース日: XXXX-XX-XX*" -#: ../NEWS:8 ../NEWS:99 ../NEWS:483 ../NEWS:1354 ../NEWS:4013 ../NEWS:4535 -#: ../NEWS:5972 ../NEWS:8237 ../NEWS:9439 ../NEWS:9774 ../NEWS:10765 -#: ../NEWS:11095 ../NEWS:13587 ../NEWS:14473 ../NEWS:15080 ../NEWS:19156 -#: ../NEWS:21262 ../NEWS:21756 ../NEWS:23675 ../NEWS:24137 ../NEWS:24610 -#: ../NEWS:27592 ../NEWS:28455 ../NEWS:28994 ../NEWS:29336 ../NEWS:32459 -#: ../NEWS:33081 ../NEWS:33298 ../NEWS:33558 ../NEWS:34164 ../NEWS:34752 -#: ../NEWS:37067 ../NEWS:37455 ../NEWS:37796 ../NEWS:38219 ../NEWS:38706 -#: ../NEWS:39071 ../NEWS:39465 ../NEWS:39539 ../NEWS:40524 ../NEWS:40985 -#: ../NEWS:41293 ../NEWS:42553 ../NEWS:43662 ../NEWS:44488 ../NEWS:45011 -#: ../NEWS:45698 ../NEWS:45917 ../NEWS:46125 ../NEWS:48037 +#: ../NEWS:8 ../NEWS:142 ../NEWS:526 ../NEWS:1397 ../NEWS:4056 ../NEWS:4578 +#: ../NEWS:6015 ../NEWS:8280 ../NEWS:9482 ../NEWS:9817 ../NEWS:10808 +#: ../NEWS:11138 ../NEWS:13630 ../NEWS:14516 ../NEWS:15123 ../NEWS:19199 +#: ../NEWS:21305 ../NEWS:21799 ../NEWS:23718 ../NEWS:24180 ../NEWS:24653 +#: ../NEWS:27635 ../NEWS:28498 ../NEWS:29037 ../NEWS:29379 ../NEWS:32502 +#: ../NEWS:33124 ../NEWS:33341 ../NEWS:33601 ../NEWS:34207 ../NEWS:34795 +#: ../NEWS:37110 ../NEWS:37498 ../NEWS:37839 ../NEWS:38262 ../NEWS:38749 +#: ../NEWS:39114 ../NEWS:39508 ../NEWS:39582 ../NEWS:40567 ../NEWS:41028 +#: ../NEWS:41336 ../NEWS:42596 ../NEWS:43705 ../NEWS:44531 ../NEWS:45054 +#: ../NEWS:45741 ../NEWS:45960 ../NEWS:46168 ../NEWS:48080 msgid "Tools/Demos" msgstr "ツール/デモ" @@ -56,322 +56,409 @@ msgid "" "framework references." msgstr "" -#: ../NEWS:14 ../NEWS:153 ../NEWS:518 ../NEWS:1195 ../NEWS:1377 ../NEWS:1636 -#: ../NEWS:1749 ../NEWS:1989 ../NEWS:2234 ../NEWS:2662 ../NEWS:3216 -#: ../NEWS:3672 ../NEWS:4158 ../NEWS:4764 ../NEWS:5651 ../NEWS:6776 -#: ../NEWS:8828 ../NEWS:9580 ../NEWS:9892 ../NEWS:10186 ../NEWS:10479 -#: ../NEWS:10877 ../NEWS:11303 ../NEWS:12218 ../NEWS:13987 ../NEWS:14658 -#: ../NEWS:15297 ../NEWS:15691 ../NEWS:16110 ../NEWS:16523 ../NEWS:16988 -#: ../NEWS:17952 ../NEWS:19496 ../NEWS:20128 ../NEWS:20511 ../NEWS:20735 -#: ../NEWS:21009 ../NEWS:21406 ../NEWS:21961 ../NEWS:22581 ../NEWS:23453 -#: ../NEWS:23841 ../NEWS:24328 ../NEWS:24788 ../NEWS:25150 ../NEWS:25496 -#: ../NEWS:26152 ../NEWS:27918 ../NEWS:28585 ../NEWS:29128 ../NEWS:29423 -#: ../NEWS:30174 ../NEWS:32582 ../NEWS:32615 ../NEWS:32743 ../NEWS:32951 -#: ../NEWS:33142 ../NEWS:33347 ../NEWS:33645 ../NEWS:33966 ../NEWS:34291 -#: ../NEWS:34881 ../NEWS:35541 ../NEWS:37211 ../NEWS:37557 ../NEWS:37923 -#: ../NEWS:38247 ../NEWS:38350 ../NEWS:38813 ../NEWS:39200 ../NEWS:39503 -#: ../NEWS:39585 ../NEWS:39688 ../NEWS:39858 ../NEWS:40193 ../NEWS:40611 -#: ../NEWS:40829 ../NEWS:41066 ../NEWS:41603 ../NEWS:42630 ../NEWS:42648 -#: ../NEWS:42736 ../NEWS:43217 ../NEWS:43932 ../NEWS:44596 ../NEWS:45034 -#: ../NEWS:45061 ../NEWS:45099 ../NEWS:45119 ../NEWS:45226 ../NEWS:45320 -#: ../NEWS:45416 ../NEWS:45491 ../NEWS:45749 ../NEWS:45972 ../NEWS:46145 -#: ../NEWS:46503 +#: ../NEWS:14 ../NEWS:152 ../NEWS:535 ../NEWS:1233 ../NEWS:1403 ../NEWS:1654 +#: ../NEWS:1774 ../NEWS:2415 ../NEWS:3503 ../NEWS:3966 ../NEWS:4509 +#: ../NEWS:5324 ../NEWS:5916 ../NEWS:7880 ../NEWS:9371 ../NEWS:9790 +#: ../NEWS:10064 ../NEWS:10341 ../NEWS:10747 ../NEWS:11072 ../NEWS:11484 +#: ../NEWS:13265 ../NEWS:14449 ../NEWS:15032 ../NEWS:15521 ../NEWS:15869 +#: ../NEWS:16322 ../NEWS:16730 ../NEWS:17233 ../NEWS:18943 ../NEWS:19899 +#: ../NEWS:20353 ../NEWS:20627 ../NEWS:20897 ../NEWS:21250 ../NEWS:21696 +#: ../NEWS:22171 ../NEWS:23152 ../NEWS:23674 ../NEWS:24115 ../NEWS:24578 +#: ../NEWS:24988 ../NEWS:25715 ../NEWS:27150 ../NEWS:28401 ../NEWS:28854 +#: ../NEWS:29311 ../NEWS:29550 ../NEWS:31888 ../NEWS:32924 ../NEWS:33078 +#: ../NEWS:33294 ../NEWS:33546 ../NEWS:33860 ../NEWS:34192 ../NEWS:34676 +#: ../NEWS:36671 ../NEWS:37415 ../NEWS:37528 ../NEWS:37753 ../NEWS:38143 +#: ../NEWS:38541 ../NEWS:39120 ../NEWS:39431 ../NEWS:39682 ../NEWS:39817 +#: ../NEWS:40088 ../NEWS:40518 ../NEWS:40791 ../NEWS:41045 ../NEWS:41299 +#: ../NEWS:42472 ../NEWS:43032 ../NEWS:43686 ../NEWS:43807 ../NEWS:44430 +#: ../NEWS:44992 ../NEWS:45236 ../NEWS:45413 ../NEWS:45722 ../NEWS:45951 +#: ../NEWS:46161 ../NEWS:47972 +msgid "Tests" +msgstr "テスト" + +#: ../NEWS:16 +msgid "" +":gh:`130293`: The tests of terminal colorization are no longer sensitive to " +"the value of the ``TERM`` variable in the testing environment." +msgstr "" + +#: ../NEWS:20 ../NEWS:196 ../NEWS:561 ../NEWS:1238 ../NEWS:1420 ../NEWS:1679 +#: ../NEWS:1792 ../NEWS:2032 ../NEWS:2277 ../NEWS:2705 ../NEWS:3259 +#: ../NEWS:3715 ../NEWS:4201 ../NEWS:4807 ../NEWS:5694 ../NEWS:6819 +#: ../NEWS:8871 ../NEWS:9623 ../NEWS:9935 ../NEWS:10229 ../NEWS:10522 +#: ../NEWS:10920 ../NEWS:11346 ../NEWS:12261 ../NEWS:14030 ../NEWS:14701 +#: ../NEWS:15340 ../NEWS:15734 ../NEWS:16153 ../NEWS:16566 ../NEWS:17031 +#: ../NEWS:17995 ../NEWS:19539 ../NEWS:20171 ../NEWS:20554 ../NEWS:20778 +#: ../NEWS:21052 ../NEWS:21449 ../NEWS:22004 ../NEWS:22624 ../NEWS:23496 +#: ../NEWS:23884 ../NEWS:24371 ../NEWS:24831 ../NEWS:25193 ../NEWS:25539 +#: ../NEWS:26195 ../NEWS:27961 ../NEWS:28628 ../NEWS:29171 ../NEWS:29466 +#: ../NEWS:30217 ../NEWS:32625 ../NEWS:32658 ../NEWS:32786 ../NEWS:32994 +#: ../NEWS:33185 ../NEWS:33390 ../NEWS:33688 ../NEWS:34009 ../NEWS:34334 +#: ../NEWS:34924 ../NEWS:35584 ../NEWS:37254 ../NEWS:37600 ../NEWS:37966 +#: ../NEWS:38290 ../NEWS:38393 ../NEWS:38856 ../NEWS:39243 ../NEWS:39546 +#: ../NEWS:39628 ../NEWS:39731 ../NEWS:39901 ../NEWS:40236 ../NEWS:40654 +#: ../NEWS:40872 ../NEWS:41109 ../NEWS:41646 ../NEWS:42673 ../NEWS:42691 +#: ../NEWS:42779 ../NEWS:43260 ../NEWS:43975 ../NEWS:44639 ../NEWS:45077 +#: ../NEWS:45104 ../NEWS:45142 ../NEWS:45162 ../NEWS:45269 ../NEWS:45363 +#: ../NEWS:45459 ../NEWS:45534 ../NEWS:45792 ../NEWS:46015 ../NEWS:46188 +#: ../NEWS:46546 msgid "Library" msgstr "ライブラリ" -#: ../NEWS:16 +#: ../NEWS:22 +msgid ":gh:`130250`: Fix regression in ``traceback.print_last()``." +msgstr "" + +#: ../NEWS:24 +msgid "" +":gh:`130230`: Fix crash in :func:`pow` with only :class:`~decimal.Decimal` " +"third argument." +msgstr "" + +#: ../NEWS:27 +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 "" + +#: ../NEWS:32 +msgid "" +":gh:`130145`: Fix :meth:`!asyncio.AbstractEventloop.run_forever` when " +"another loop is already running." +msgstr "" + +#: ../NEWS:35 +msgid "" +":gh:`127750`: Remove broken :func:`functools.singledispatchmethod` caching " +"introduced in :gh:`85160`." +msgstr "" + +#: ../NEWS:38 msgid ":gh:`129583`: Update bundled pip to 25.0.1" msgstr "" -#: ../NEWS:18 +#: ../NEWS:40 msgid "" ":gh:`97850`: Update the deprecation warning of :meth:`importlib.abc.Loader." "load_module`." msgstr "" -#: ../NEWS:21 +#: ../NEWS:43 msgid "" ":gh:`129646`: Update the locale alias mapping in the :mod:`locale` module to " "match the latest X Org locale alias mapping and support new locales in Glibc " "2.41." msgstr "" -#: ../NEWS:25 +#: ../NEWS:47 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 "" -#: ../NEWS:29 +#: ../NEWS:51 msgid "" ":gh:`128772`: Fix :mod:`pydoc` for methods with the ``__module__`` attribute " "equal to ``None``." msgstr "" -#: ../NEWS:32 +#: ../NEWS:54 msgid "" ":gh:`128657`: Fix possible extra reference when using objects returned by :" "func:`hashlib.sha256` under :term:`free threading`." msgstr "" -#: ../NEWS:35 +#: ../NEWS:57 +msgid "" +":gh:`128703`: Fix :func:`mimetypes.guess_type` to use default mapping for " +"empty ``Content-Type`` in registry." +msgstr "" + +#: ../NEWS:60 +msgid "" +":gh:`128308`: Support the *name* keyword argument for eager tasks in :func:" +"`asyncio.loop.create_task`, :func:`asyncio.create_task` and :func:`asyncio." +"TaskGroup.create_task`, by passing on all *kwargs* to the task factory set " +"by :func:`asyncio.loop.set_task_factory`." +msgstr "" + +#: ../NEWS:65 msgid "" ":gh:`127712`: Fix handling of the ``secure`` argument of :class:`logging." "handlers.SMTPHandler`." msgstr "" -#: ../NEWS:39 ../NEWS:965 ../NEWS:1253 ../NEWS:1487 ../NEWS:1680 ../NEWS:1803 -#: ../NEWS:3058 ../NEWS:4007 ../NEWS:4526 ../NEWS:5440 ../NEWS:5964 -#: ../NEWS:8231 ../NEWS:9429 ../NEWS:13565 ../NEWS:15545 ../NEWS:15929 -#: ../NEWS:17315 ../NEWS:19122 ../NEWS:19945 ../NEWS:20347 ../NEWS:20623 -#: ../NEWS:20904 ../NEWS:21744 ../NEWS:22171 ../NEWS:23245 ../NEWS:24127 -#: ../NEWS:24596 ../NEWS:24978 ../NEWS:25369 ../NEWS:25751 ../NEWS:27489 -#: ../NEWS:28438 ../NEWS:28987 ../NEWS:29307 ../NEWS:29556 ../NEWS:32276 -#: ../NEWS:32680 ../NEWS:32910 ../NEWS:33068 ../NEWS:33284 ../NEWS:33537 -#: ../NEWS:34713 ../NEWS:34999 ../NEWS:36870 ../NEWS:37410 ../NEWS:37764 -#: ../NEWS:38156 ../NEWS:38534 ../NEWS:39006 ../NEWS:39332 ../NEWS:40446 -#: ../NEWS:40719 ../NEWS:40921 ../NEWS:41182 ../NEWS:42301 ../NEWS:43601 -#: ../NEWS:43769 ../NEWS:44311 ../NEWS:44828 ../NEWS:45161 ../NEWS:45673 -#: ../NEWS:47697 +#: ../NEWS:69 ../NEWS:1008 ../NEWS:1296 ../NEWS:1530 ../NEWS:1723 ../NEWS:1846 +#: ../NEWS:3101 ../NEWS:4050 ../NEWS:4569 ../NEWS:5483 ../NEWS:6007 +#: ../NEWS:8274 ../NEWS:9472 ../NEWS:13608 ../NEWS:15588 ../NEWS:15972 +#: ../NEWS:17358 ../NEWS:19165 ../NEWS:19988 ../NEWS:20390 ../NEWS:20666 +#: ../NEWS:20947 ../NEWS:21787 ../NEWS:22214 ../NEWS:23288 ../NEWS:24170 +#: ../NEWS:24639 ../NEWS:25021 ../NEWS:25412 ../NEWS:25794 ../NEWS:27532 +#: ../NEWS:28481 ../NEWS:29030 ../NEWS:29350 ../NEWS:29599 ../NEWS:32319 +#: ../NEWS:32723 ../NEWS:32953 ../NEWS:33111 ../NEWS:33327 ../NEWS:33580 +#: ../NEWS:34756 ../NEWS:35042 ../NEWS:36913 ../NEWS:37453 ../NEWS:37807 +#: ../NEWS:38199 ../NEWS:38577 ../NEWS:39049 ../NEWS:39375 ../NEWS:40489 +#: ../NEWS:40762 ../NEWS:40964 ../NEWS:41225 ../NEWS:42344 ../NEWS:43644 +#: ../NEWS:43812 ../NEWS:44354 ../NEWS:44871 ../NEWS:45204 ../NEWS:45716 +#: ../NEWS:47740 msgid "IDLE" msgstr "IDLE" -#: ../NEWS:41 +#: ../NEWS:71 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 "" -#: ../NEWS:45 ../NEWS:355 ../NEWS:1012 ../NEWS:1157 ../NEWS:1271 ../NEWS:1494 -#: ../NEWS:1686 ../NEWS:1818 ../NEWS:1917 ../NEWS:2170 ../NEWS:2469 -#: ../NEWS:3105 ../NEWS:3613 ../NEWS:4048 ../NEWS:4605 ../NEWS:5479 -#: ../NEWS:6140 ../NEWS:8612 ../NEWS:9506 ../NEWS:9812 ../NEWS:10121 -#: ../NEWS:10370 ../NEWS:10808 ../NEWS:11149 ../NEWS:11602 ../NEWS:13791 -#: ../NEWS:14539 ../NEWS:15140 ../NEWS:15581 ../NEWS:15963 ../NEWS:16397 -#: ../NEWS:16879 ../NEWS:17432 ../NEWS:19365 ../NEWS:20036 ../NEWS:20446 -#: ../NEWS:20679 ../NEWS:20936 ../NEWS:21304 ../NEWS:21881 ../NEWS:22241 -#: ../NEWS:23395 ../NEWS:23757 ../NEWS:24201 ../NEWS:24711 ../NEWS:25052 -#: ../NEWS:25419 ../NEWS:25835 ../NEWS:27754 ../NEWS:28515 ../NEWS:29053 -#: ../NEWS:29359 ../NEWS:29620 ../NEWS:32600 ../NEWS:32712 ../NEWS:32925 -#: ../NEWS:33116 ../NEWS:33326 ../NEWS:33570 ../NEWS:33889 ../NEWS:34193 -#: ../NEWS:34793 ../NEWS:35082 ../NEWS:37174 ../NEWS:37511 ../NEWS:37828 -#: ../NEWS:38277 ../NEWS:38766 ../NEWS:39108 ../NEWS:39132 ../NEWS:39456 -#: ../NEWS:39486 ../NEWS:39550 ../NEWS:39664 ../NEWS:39788 ../NEWS:40056 -#: ../NEWS:40565 ../NEWS:40812 ../NEWS:41026 ../NEWS:41318 ../NEWS:42624 -#: ../NEWS:42685 ../NEWS:43086 ../NEWS:43759 ../NEWS:43802 ../NEWS:44510 -#: ../NEWS:44528 ../NEWS:45051 ../NEWS:45086 ../NEWS:45114 ../NEWS:45206 -#: ../NEWS:45293 ../NEWS:45398 ../NEWS:45441 ../NEWS:45717 ../NEWS:45952 -#: ../NEWS:46138 ../NEWS:46277 +#: ../NEWS:75 ../NEWS:388 ../NEWS:1014 ../NEWS:1304 ../NEWS:1852 ../NEWS:3034 +#: ../NEWS:3492 ../NEWS:3958 ../NEWS:4495 ../NEWS:5310 ../NEWS:7833 +#: ../NEWS:9351 ../NEWS:9784 ../NEWS:10055 ../NEWS:10334 ../NEWS:10733 +#: ../NEWS:11051 ../NEWS:11476 ../NEWS:13179 ../NEWS:14412 ../NEWS:15006 +#: ../NEWS:15515 ../NEWS:15863 ../NEWS:16309 ../NEWS:16699 ../NEWS:17198 +#: ../NEWS:18808 ../NEWS:19876 ../NEWS:20338 ../NEWS:20618 ../NEWS:20888 +#: ../NEWS:21241 ../NEWS:21684 ../NEWS:22150 ../NEWS:23110 ../NEWS:23657 +#: ../NEWS:24101 ../NEWS:24559 ../NEWS:24963 ../NEWS:25386 ../NEWS:25701 +#: ../NEWS:27046 ../NEWS:28352 ../NEWS:28819 ../NEWS:29297 ../NEWS:29539 +#: ../NEWS:31723 ../NEWS:32699 ../NEWS:32909 ../NEWS:33059 ../NEWS:33277 +#: ../NEWS:33522 ../NEWS:33847 ../NEWS:34187 ../NEWS:34670 ../NEWS:35013 +#: ../NEWS:36623 ../NEWS:37377 ../NEWS:37733 ../NEWS:38130 ../NEWS:38529 +#: ../NEWS:39098 ../NEWS:39418 ../NEWS:39574 ../NEWS:39677 ../NEWS:41036 +#: ../NEWS:41287 ../NEWS:42454 ../NEWS:43014 ../NEWS:43681 ../NEWS:44407 +#: ../NEWS:44968 ../NEWS:45221 ../NEWS:45420 ../NEWS:45731 ../NEWS:47932 +msgid "Documentation" +msgstr "ドキュメント" + +#: ../NEWS:77 +msgid "" +":gh:`46236`: C API: Document :c:func:`PyUnicode_RSplit`, :c:func:" +"`PyUnicode_Partition` and :c:func:`PyUnicode_RPartition`." +msgstr "" + +#: ../NEWS:81 ../NEWS:398 ../NEWS:1055 ../NEWS:1200 ../NEWS:1314 ../NEWS:1537 +#: ../NEWS:1729 ../NEWS:1861 ../NEWS:1960 ../NEWS:2213 ../NEWS:2512 +#: ../NEWS:3148 ../NEWS:3656 ../NEWS:4091 ../NEWS:4648 ../NEWS:5522 +#: ../NEWS:6183 ../NEWS:8655 ../NEWS:9549 ../NEWS:9855 ../NEWS:10164 +#: ../NEWS:10413 ../NEWS:10851 ../NEWS:11192 ../NEWS:11645 ../NEWS:13834 +#: ../NEWS:14582 ../NEWS:15183 ../NEWS:15624 ../NEWS:16006 ../NEWS:16440 +#: ../NEWS:16922 ../NEWS:17475 ../NEWS:19408 ../NEWS:20079 ../NEWS:20489 +#: ../NEWS:20722 ../NEWS:20979 ../NEWS:21347 ../NEWS:21924 ../NEWS:22284 +#: ../NEWS:23438 ../NEWS:23800 ../NEWS:24244 ../NEWS:24754 ../NEWS:25095 +#: ../NEWS:25462 ../NEWS:25878 ../NEWS:27797 ../NEWS:28558 ../NEWS:29096 +#: ../NEWS:29402 ../NEWS:29663 ../NEWS:32643 ../NEWS:32755 ../NEWS:32968 +#: ../NEWS:33159 ../NEWS:33369 ../NEWS:33613 ../NEWS:33932 ../NEWS:34236 +#: ../NEWS:34836 ../NEWS:35125 ../NEWS:37217 ../NEWS:37554 ../NEWS:37871 +#: ../NEWS:38320 ../NEWS:38809 ../NEWS:39151 ../NEWS:39175 ../NEWS:39499 +#: ../NEWS:39529 ../NEWS:39593 ../NEWS:39707 ../NEWS:39831 ../NEWS:40099 +#: ../NEWS:40608 ../NEWS:40855 ../NEWS:41069 ../NEWS:41361 ../NEWS:42667 +#: ../NEWS:42728 ../NEWS:43129 ../NEWS:43802 ../NEWS:43845 ../NEWS:44553 +#: ../NEWS:44571 ../NEWS:45094 ../NEWS:45129 ../NEWS:45157 ../NEWS:45249 +#: ../NEWS:45336 ../NEWS:45441 ../NEWS:45484 ../NEWS:45760 ../NEWS:45995 +#: ../NEWS:46181 ../NEWS:46320 msgid "Core and Builtins" msgstr "コアと組み込み" -#: ../NEWS:47 +#: ../NEWS:83 +msgid "" +":gh:`128396`: Fix a crash that occurs when calling :func:`locals` inside an " +"inline comprehension that uses the same local variable as the outer frame " +"scope where the variable is a free or cell var." +msgstr "" + +#: ../NEWS:87 msgid "" ":gh:`116042`: Fix location for SyntaxErrors of invalid escapes in the " "tokenizer. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:50 +#: ../NEWS:90 msgid ":gh:`129983`: Fix data race in compile_template in :file:`sre.c`." msgstr "" -#: ../NEWS:52 +#: ../NEWS:92 msgid "" ":gh:`129967`: Fix a race condition in the :term:`free threading` build when " "``repr(set)`` is called concurrently with ``set.clear()``." msgstr "" -#: ../NEWS:55 +#: ../NEWS:95 msgid "" ":gh:`129732`: Fixed a race in ``_Py_qsbr_reserve`` in the free threading " "build." msgstr "" -#: ../NEWS:58 +#: ../NEWS:98 msgid "" ":gh:`129643`: Fix thread safety of :c:func:`PyList_Insert` in free-threading " "builds." msgstr "" -#: ../NEWS:61 +#: ../NEWS:101 msgid "" ":gh:`129668`: Fix race condition when raising :exc:`MemoryError` in the free " "threaded build." msgstr "" -#: ../NEWS:64 +#: ../NEWS:104 msgid "" ":gh:`129643`: Fix thread safety of :c:func:`PyList_SetItem` in free-" "threading builds. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:68 ../NEWS:419 ../NEWS:1111 ../NEWS:1312 ../NEWS:1579 ../NEWS:1710 -#: ../NEWS:1865 ../NEWS:2123 ../NEWS:2425 ../NEWS:3063 ../NEWS:3525 -#: ../NEWS:4021 ../NEWS:4549 ../NEWS:5456 ../NEWS:5980 ../NEWS:8297 -#: ../NEWS:9446 ../NEWS:9779 ../NEWS:10082 ../NEWS:10774 ../NEWS:11105 -#: ../NEWS:11520 ../NEWS:13622 ../NEWS:14486 ../NEWS:15086 ../NEWS:15554 -#: ../NEWS:15937 ../NEWS:16365 ../NEWS:16867 ../NEWS:17320 ../NEWS:19177 -#: ../NEWS:19964 ../NEWS:20354 ../NEWS:20630 ../NEWS:20918 ../NEWS:21271 -#: ../NEWS:21766 ../NEWS:22184 ../NEWS:23278 ../NEWS:23688 ../NEWS:24149 -#: ../NEWS:24622 ../NEWS:24993 ../NEWS:25380 ../NEWS:25767 ../NEWS:27617 -#: ../NEWS:28461 ../NEWS:28999 ../NEWS:29343 ../NEWS:32498 ../NEWS:32588 -#: ../NEWS:33304 ../NEWS:33874 ../NEWS:34171 ../NEWS:34764 ../NEWS:35026 -#: ../NEWS:37098 ../NEWS:37473 ../NEWS:37806 ../NEWS:38226 ../NEWS:39029 -#: ../NEWS:39358 ../NEWS:39526 ../NEWS:40027 ../NEWS:40466 ../NEWS:40956 -#: ../NEWS:41285 ../NEWS:42574 ../NEWS:43049 ../NEWS:43629 ../NEWS:45941 -#: ../NEWS:46256 ../NEWS:47860 +#: ../NEWS:108 ../NEWS:462 ../NEWS:1154 ../NEWS:1355 ../NEWS:1622 ../NEWS:1753 +#: ../NEWS:1908 ../NEWS:2166 ../NEWS:2468 ../NEWS:3106 ../NEWS:3568 +#: ../NEWS:4064 ../NEWS:4592 ../NEWS:5499 ../NEWS:6023 ../NEWS:8340 +#: ../NEWS:9489 ../NEWS:9822 ../NEWS:10125 ../NEWS:10817 ../NEWS:11148 +#: ../NEWS:11563 ../NEWS:13665 ../NEWS:14529 ../NEWS:15129 ../NEWS:15597 +#: ../NEWS:15980 ../NEWS:16408 ../NEWS:16910 ../NEWS:17363 ../NEWS:19220 +#: ../NEWS:20007 ../NEWS:20397 ../NEWS:20673 ../NEWS:20961 ../NEWS:21314 +#: ../NEWS:21809 ../NEWS:22227 ../NEWS:23321 ../NEWS:23731 ../NEWS:24192 +#: ../NEWS:24665 ../NEWS:25036 ../NEWS:25423 ../NEWS:25810 ../NEWS:27660 +#: ../NEWS:28504 ../NEWS:29042 ../NEWS:29386 ../NEWS:32541 ../NEWS:32631 +#: ../NEWS:33347 ../NEWS:33917 ../NEWS:34214 ../NEWS:34807 ../NEWS:35069 +#: ../NEWS:37141 ../NEWS:37516 ../NEWS:37849 ../NEWS:38269 ../NEWS:39072 +#: ../NEWS:39401 ../NEWS:39569 ../NEWS:40070 ../NEWS:40509 ../NEWS:40999 +#: ../NEWS:41328 ../NEWS:42617 ../NEWS:43092 ../NEWS:43672 ../NEWS:45984 +#: ../NEWS:46299 ../NEWS:47903 msgid "C API" msgstr "C API" -#: ../NEWS:70 +#: ../NEWS:110 msgid "" ":gh:`129533`: Update :c:func:`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:" "func:`PyGC_IsEnabled()` to use atomic operation for thread-safety at free-" "threading build. Patch by Donghee Na." msgstr "" -#: ../NEWS:75 ../NEWS:425 ../NEWS:1126 ../NEWS:1321 ../NEWS:1585 ../NEWS:1719 -#: ../NEWS:1889 ../NEWS:2108 ../NEWS:2378 ../NEWS:2997 ../NEWS:3486 -#: ../NEWS:3955 ../NEWS:4476 ../NEWS:5321 ../NEWS:5907 ../NEWS:8085 -#: ../NEWS:9350 ../NEWS:9757 ../NEWS:10034 ../NEWS:10304 ../NEWS:10716 -#: ../NEWS:11050 ../NEWS:11461 ../NEWS:13344 ../NEWS:14437 ../NEWS:15013 -#: ../NEWS:15500 ../NEWS:15870 ../NEWS:16306 ../NEWS:16709 ../NEWS:17239 -#: ../NEWS:19022 ../NEWS:19879 ../NEWS:20319 ../NEWS:20590 ../NEWS:20864 -#: ../NEWS:21229 ../NEWS:21688 ../NEWS:22144 ../NEWS:23160 ../NEWS:23640 -#: ../NEWS:24098 ../NEWS:24551 ../NEWS:24954 ../NEWS:25356 ../NEWS:25727 -#: ../NEWS:27277 ../NEWS:28394 ../NEWS:28865 ../NEWS:29281 ../NEWS:32012 -#: ../NEWS:32668 ../NEWS:32890 ../NEWS:33041 ../NEWS:33261 ../NEWS:33508 -#: ../NEWS:33837 ../NEWS:34660 ../NEWS:34980 ../NEWS:36691 ../NEWS:37380 -#: ../NEWS:37490 ../NEWS:37725 ../NEWS:38117 ../NEWS:38253 ../NEWS:38514 -#: ../NEWS:39035 ../NEWS:39119 ../NEWS:39410 ../NEWS:39475 ../NEWS:39647 -#: ../NEWS:39765 ../NEWS:40034 ../NEWS:40489 ../NEWS:40775 ../NEWS:40963 -#: ../NEWS:41276 ../NEWS:42472 ../NEWS:43027 ../NEWS:43689 ../NEWS:44410 -#: ../NEWS:44962 ../NEWS:45022 ../NEWS:45039 ../NEWS:45281 ../NEWS:45386 -#: ../NEWS:45899 ../NEWS:46113 ../NEWS:46248 ../NEWS:47780 +#: ../NEWS:115 ../NEWS:468 ../NEWS:1169 ../NEWS:1364 ../NEWS:1628 ../NEWS:1762 +#: ../NEWS:1932 ../NEWS:2151 ../NEWS:2421 ../NEWS:3040 ../NEWS:3529 +#: ../NEWS:3998 ../NEWS:4519 ../NEWS:5364 ../NEWS:5950 ../NEWS:8128 +#: ../NEWS:9393 ../NEWS:9800 ../NEWS:10077 ../NEWS:10347 ../NEWS:10759 +#: ../NEWS:11093 ../NEWS:11504 ../NEWS:13387 ../NEWS:14480 ../NEWS:15056 +#: ../NEWS:15543 ../NEWS:15913 ../NEWS:16349 ../NEWS:16752 ../NEWS:17282 +#: ../NEWS:19065 ../NEWS:19922 ../NEWS:20362 ../NEWS:20633 ../NEWS:20907 +#: ../NEWS:21272 ../NEWS:21731 ../NEWS:22187 ../NEWS:23203 ../NEWS:23683 +#: ../NEWS:24141 ../NEWS:24594 ../NEWS:24997 ../NEWS:25399 ../NEWS:25770 +#: ../NEWS:27320 ../NEWS:28437 ../NEWS:28908 ../NEWS:29324 ../NEWS:32055 +#: ../NEWS:32711 ../NEWS:32933 ../NEWS:33084 ../NEWS:33304 ../NEWS:33551 +#: ../NEWS:33880 ../NEWS:34703 ../NEWS:35023 ../NEWS:36734 ../NEWS:37423 +#: ../NEWS:37533 ../NEWS:37768 ../NEWS:38160 ../NEWS:38296 ../NEWS:38557 +#: ../NEWS:39078 ../NEWS:39162 ../NEWS:39453 ../NEWS:39518 ../NEWS:39690 +#: ../NEWS:39808 ../NEWS:40077 ../NEWS:40532 ../NEWS:40818 ../NEWS:41006 +#: ../NEWS:41319 ../NEWS:42515 ../NEWS:43070 ../NEWS:43732 ../NEWS:44453 +#: ../NEWS:45005 ../NEWS:45065 ../NEWS:45082 ../NEWS:45324 ../NEWS:45429 +#: ../NEWS:45942 ../NEWS:46156 ../NEWS:46291 ../NEWS:47823 msgid "Build" msgstr "ビルド" -#: ../NEWS:77 +#: ../NEWS:117 +msgid "" +":gh:`129838`: Don't redefine ``_Py_NO_SANITIZE_UNDEFINED`` when compiling " +"with a recent GCC version and undefined sanitizer enabled." +msgstr "" + +#: ../NEWS:120 msgid "" ":gh:`129660`: Drop ``test_embed`` from PGO training, whose contribution in " "recent versions is considered to be ignorable." msgstr "" -#: ../NEWS:82 +#: ../NEWS:125 msgid "Python 3.13.2 final" msgstr "" -#: ../NEWS:84 +#: ../NEWS:127 msgid "*Release date: 2025-02-04*" msgstr "" -#: ../NEWS:87 ../NEWS:450 ../NEWS:1172 ../NEWS:1336 ../NEWS:3044 ../NEWS:4002 -#: ../NEWS:4513 ../NEWS:5391 ../NEWS:5943 ../NEWS:8222 ../NEWS:9409 -#: ../NEWS:10077 ../NEWS:10757 ../NEWS:11087 ../NEWS:11515 ../NEWS:13555 -#: ../NEWS:14468 ../NEWS:15071 ../NEWS:15924 ../NEWS:16359 ../NEWS:16862 -#: ../NEWS:17308 ../NEWS:19096 ../NEWS:19918 ../NEWS:20618 ../NEWS:20897 -#: ../NEWS:21252 ../NEWS:21721 ../NEWS:22166 ../NEWS:23224 ../NEWS:23662 -#: ../NEWS:24117 ../NEWS:24591 ../NEWS:25744 ../NEWS:27468 ../NEWS:28431 -#: ../NEWS:28979 ../NEWS:32240 ../NEWS:32903 ../NEWS:33063 ../NEWS:33275 -#: ../NEWS:33532 ../NEWS:33863 ../NEWS:34708 ../NEWS:37405 ../NEWS:37756 -#: ../NEWS:38151 +#: ../NEWS:130 ../NEWS:493 ../NEWS:1215 ../NEWS:1379 ../NEWS:3087 ../NEWS:4045 +#: ../NEWS:4556 ../NEWS:5434 ../NEWS:5986 ../NEWS:8265 ../NEWS:9452 +#: ../NEWS:10120 ../NEWS:10800 ../NEWS:11130 ../NEWS:11558 ../NEWS:13598 +#: ../NEWS:14511 ../NEWS:15114 ../NEWS:15967 ../NEWS:16402 ../NEWS:16905 +#: ../NEWS:17351 ../NEWS:19139 ../NEWS:19961 ../NEWS:20661 ../NEWS:20940 +#: ../NEWS:21295 ../NEWS:21764 ../NEWS:22209 ../NEWS:23267 ../NEWS:23705 +#: ../NEWS:24160 ../NEWS:24634 ../NEWS:25787 ../NEWS:27511 ../NEWS:28474 +#: ../NEWS:29022 ../NEWS:32283 ../NEWS:32946 ../NEWS:33106 ../NEWS:33318 +#: ../NEWS:33575 ../NEWS:33906 ../NEWS:34751 ../NEWS:37448 ../NEWS:37799 +#: ../NEWS:38194 msgid "macOS" msgstr "macOS" -#: ../NEWS:89 +#: ../NEWS:132 msgid "" ":gh:`127592`: Usage of the unified Apple System Log APIs was disabled when " "the minimum macOS version is earlier than 10.12." msgstr "" -#: ../NEWS:93 ../NEWS:455 ../NEWS:1178 ../NEWS:1341 ../NEWS:2401 ../NEWS:3019 -#: ../NEWS:3496 ../NEWS:3981 ../NEWS:4491 ../NEWS:5350 ../NEWS:5931 -#: ../NEWS:8172 ../NEWS:9388 ../NEWS:9765 ../NEWS:10051 ../NEWS:10337 -#: ../NEWS:10734 ../NEWS:11072 ../NEWS:11497 ../NEWS:13458 ../NEWS:14452 -#: ../NEWS:15045 ../NEWS:15530 ../NEWS:15910 ../NEWS:16353 ../NEWS:16837 -#: ../NEWS:17294 ../NEWS:19068 ../NEWS:19888 ../NEWS:20341 ../NEWS:20613 -#: ../NEWS:20890 ../NEWS:21712 ../NEWS:22151 ../NEWS:23181 ../NEWS:23650 -#: ../NEWS:24110 ../NEWS:24568 ../NEWS:24959 ../NEWS:25737 ../NEWS:27349 -#: ../NEWS:28417 ../NEWS:28926 ../NEWS:29295 ../NEWS:29540 ../NEWS:32130 -#: ../NEWS:32675 ../NEWS:33058 ../NEWS:33266 ../NEWS:33513 ../NEWS:33852 -#: ../NEWS:34158 ../NEWS:34693 ../NEWS:36803 ../NEWS:37400 ../NEWS:37731 -#: ../NEWS:38142 ../NEWS:38520 ../NEWS:39091 ../NEWS:39340 ../NEWS:39470 -#: ../NEWS:39760 ../NEWS:40001 ../NEWS:40531 ../NEWS:40763 ../NEWS:41266 -#: ../NEWS:42535 ../NEWS:43040 ../NEWS:43674 ../NEWS:44469 ../NEWS:44516 -#: ../NEWS:44973 ../NEWS:46262 ../NEWS:48076 +#: ../NEWS:136 ../NEWS:498 ../NEWS:1221 ../NEWS:1384 ../NEWS:2444 ../NEWS:3062 +#: ../NEWS:3539 ../NEWS:4024 ../NEWS:4534 ../NEWS:5393 ../NEWS:5974 +#: ../NEWS:8215 ../NEWS:9431 ../NEWS:9808 ../NEWS:10094 ../NEWS:10380 +#: ../NEWS:10777 ../NEWS:11115 ../NEWS:11540 ../NEWS:13501 ../NEWS:14495 +#: ../NEWS:15088 ../NEWS:15573 ../NEWS:15953 ../NEWS:16396 ../NEWS:16880 +#: ../NEWS:17337 ../NEWS:19111 ../NEWS:19931 ../NEWS:20384 ../NEWS:20656 +#: ../NEWS:20933 ../NEWS:21755 ../NEWS:22194 ../NEWS:23224 ../NEWS:23693 +#: ../NEWS:24153 ../NEWS:24611 ../NEWS:25002 ../NEWS:25780 ../NEWS:27392 +#: ../NEWS:28460 ../NEWS:28969 ../NEWS:29338 ../NEWS:29583 ../NEWS:32173 +#: ../NEWS:32718 ../NEWS:33101 ../NEWS:33309 ../NEWS:33556 ../NEWS:33895 +#: ../NEWS:34201 ../NEWS:34736 ../NEWS:36846 ../NEWS:37443 ../NEWS:37774 +#: ../NEWS:38185 ../NEWS:38563 ../NEWS:39134 ../NEWS:39383 ../NEWS:39513 +#: ../NEWS:39803 ../NEWS:40044 ../NEWS:40574 ../NEWS:40806 ../NEWS:41309 +#: ../NEWS:42578 ../NEWS:43083 ../NEWS:43717 ../NEWS:44512 ../NEWS:44559 +#: ../NEWS:45016 ../NEWS:46305 ../NEWS:48119 msgid "Windows" msgstr "Windows" -#: ../NEWS:95 +#: ../NEWS:138 msgid "" ":gh:`127353`: Allow to force color output on Windows using environment " "variables. Patch by Andrey Efremov." msgstr "" -#: ../NEWS:101 +#: ../NEWS:144 msgid "" ":gh:`129248`: The iOS test runner now strips the log prefix from each line " "output by the test suite." msgstr "" -#: ../NEWS:104 +#: ../NEWS:147 msgid "" ":gh:`128152`: Fix a bug where Argument Clinic's C pre-processor parser tried " "to parse pre-processor directives inside C comments. Patch by Erlend Aasland." msgstr "" -#: ../NEWS:109 ../NEWS:492 ../NEWS:1190 ../NEWS:1360 ../NEWS:1611 ../NEWS:1731 -#: ../NEWS:2372 ../NEWS:3460 ../NEWS:3923 ../NEWS:4466 ../NEWS:5281 -#: ../NEWS:5873 ../NEWS:7837 ../NEWS:9328 ../NEWS:9747 ../NEWS:10021 -#: ../NEWS:10298 ../NEWS:10704 ../NEWS:11029 ../NEWS:11441 ../NEWS:13222 -#: ../NEWS:14406 ../NEWS:14989 ../NEWS:15478 ../NEWS:15826 ../NEWS:16279 -#: ../NEWS:16687 ../NEWS:17190 ../NEWS:18900 ../NEWS:19856 ../NEWS:20310 -#: ../NEWS:20584 ../NEWS:20854 ../NEWS:21207 ../NEWS:21653 ../NEWS:22128 -#: ../NEWS:23109 ../NEWS:23631 ../NEWS:24072 ../NEWS:24535 ../NEWS:24945 -#: ../NEWS:25672 ../NEWS:27107 ../NEWS:28358 ../NEWS:28811 ../NEWS:29268 -#: ../NEWS:29507 ../NEWS:31845 ../NEWS:32881 ../NEWS:33035 ../NEWS:33251 -#: ../NEWS:33503 ../NEWS:33817 ../NEWS:34149 ../NEWS:34633 ../NEWS:36628 -#: ../NEWS:37372 ../NEWS:37485 ../NEWS:37710 ../NEWS:38100 ../NEWS:38498 -#: ../NEWS:39077 ../NEWS:39388 ../NEWS:39639 ../NEWS:39774 ../NEWS:40045 -#: ../NEWS:40475 ../NEWS:40748 ../NEWS:41002 ../NEWS:41256 ../NEWS:42429 -#: ../NEWS:42989 ../NEWS:43643 ../NEWS:43764 ../NEWS:44387 ../NEWS:44949 -#: ../NEWS:45193 ../NEWS:45370 ../NEWS:45679 ../NEWS:45908 ../NEWS:46118 -#: ../NEWS:47929 -msgid "Tests" -msgstr "テスト" - -#: ../NEWS:111 +#: ../NEWS:154 msgid "" ":gh:`127906`: Test the limited C API in test_cppext. Patch by Victor Stinner." msgstr "" -#: ../NEWS:113 +#: ../NEWS:156 msgid "" ":gh:`127637`: Add tests for the :mod:`dis` command-line interface. Patch by " "Bénédikt Tran." msgstr "" -#: ../NEWS:116 +#: ../NEWS:159 msgid "" ":gh:`126925`: iOS test results are now streamed during test execution, and " "the deprecated xcresulttool is no longer used." msgstr "" -#: ../NEWS:120 ../NEWS:505 ../NEWS:1369 ../NEWS:1621 ../NEWS:2159 ../NEWS:2459 -#: ../NEWS:3596 ../NEWS:4040 ../NEWS:4596 ../NEWS:6115 ../NEWS:8594 -#: ../NEWS:9791 ../NEWS:10112 ../NEWS:10794 ../NEWS:11129 ../NEWS:11564 -#: ../NEWS:13784 ../NEWS:17405 ../NEWS:19309 ../NEWS:20014 ../NEWS:20439 -#: ../NEWS:20673 ../NEWS:21297 ../NEWS:21870 ../NEWS:22220 ../NEWS:23389 -#: ../NEWS:23742 ../NEWS:24194 ../NEWS:24700 ../NEWS:25401 ../NEWS:25786 -#: ../NEWS:27739 ../NEWS:28497 ../NEWS:29041 ../NEWS:29572 ../NEWS:33102 -#: ../NEWS:33320 ../NEWS:35048 ../NEWS:37501 ../NEWS:38268 ../NEWS:38732 -#: ../NEWS:38759 ../NEWS:40803 ../NEWS:41014 ../NEWS:41305 ../NEWS:42601 -#: ../NEWS:42660 ../NEWS:43077 ../NEWS:43780 +#: ../NEWS:163 ../NEWS:548 ../NEWS:1412 ../NEWS:1664 ../NEWS:2202 ../NEWS:2502 +#: ../NEWS:3639 ../NEWS:4083 ../NEWS:4639 ../NEWS:6158 ../NEWS:8637 +#: ../NEWS:9834 ../NEWS:10155 ../NEWS:10837 ../NEWS:11172 ../NEWS:11607 +#: ../NEWS:13827 ../NEWS:17448 ../NEWS:19352 ../NEWS:20057 ../NEWS:20482 +#: ../NEWS:20716 ../NEWS:21340 ../NEWS:21913 ../NEWS:22263 ../NEWS:23432 +#: ../NEWS:23785 ../NEWS:24237 ../NEWS:24743 ../NEWS:25444 ../NEWS:25829 +#: ../NEWS:27782 ../NEWS:28540 ../NEWS:29084 ../NEWS:29615 ../NEWS:33145 +#: ../NEWS:33363 ../NEWS:35091 ../NEWS:37544 ../NEWS:38311 ../NEWS:38775 +#: ../NEWS:38802 ../NEWS:40846 ../NEWS:41057 ../NEWS:41348 ../NEWS:42644 +#: ../NEWS:42703 ../NEWS:43120 ../NEWS:43823 msgid "Security" msgstr "セキュリティ" -#: ../NEWS:122 +#: ../NEWS:165 msgid "" ":gh:`105704`: When using :func:`urllib.parse.urlsplit` and :func:`urllib." "parse.urlparse` host parsing would not reject domain names containing square " @@ -380,7 +467,7 @@ msgid "" "org/rfc/rfc3986#section-3.2.2>`__." msgstr "" -#: ../NEWS:128 +#: ../NEWS:171 msgid "" ":gh:`127655`: Fixed the :class:`!asyncio.selector_events." "_SelectorSocketTransport` transport not pausing writes for the protocol when " @@ -388,13 +475,13 @@ msgid "" "WriteTransport.writelines`." msgstr "" -#: ../NEWS:133 +#: ../NEWS:176 msgid "" ":gh:`126108`: Fix a possible ``NULL`` pointer dereference in :c:func:`!" "PySys_AddWarnOptionUnicode`." msgstr "" -#: ../NEWS:136 +#: ../NEWS:179 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 " @@ -404,7 +491,7 @@ msgid "" "rendered email was transmitted or re-parsed." msgstr "" -#: ../NEWS:143 +#: ../NEWS:186 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 " @@ -416,7 +503,7 @@ msgid "" "similarly crashing." msgstr "" -#: ../NEWS:155 +#: ../NEWS:198 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 " @@ -425,66 +512,66 @@ msgid "" "other variables." msgstr "" -#: ../NEWS:161 +#: ../NEWS:204 msgid "" ":gh:`129403`: Corrected :exc:`ValueError` message for :class:`asyncio." "Barrier` and :class:`threading.Barrier`." msgstr "" -#: ../NEWS:164 +#: ../NEWS:207 msgid "" ":gh:`129409`: Fix an integer overflow in the :mod:`csv` module when writing " "a data field larger than 2GB." msgstr "" -#: ../NEWS:167 +#: ../NEWS:210 msgid "" ":gh:`118761`: Improve import time of :mod:`subprocess` by lazy importing " "``locale`` and ``signal``. Patch by Taneli Hukkinen." msgstr "" -#: ../NEWS:170 +#: ../NEWS:213 msgid "" ":gh:`129346`: In :mod:`sqlite3`, handle out-of-memory when creating user-" "defined SQL functions." msgstr "" -#: ../NEWS:173 +#: ../NEWS:216 msgid "" ":gh:`129061`: Fix FORCE_COLOR and NO_COLOR when empty strings. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:176 +#: ../NEWS:219 msgid "" ":gh:`128550`: Removed an incorrect optimization relating to eager tasks in :" "class:`asyncio.TaskGroup` that resulted in cancellations being missed." msgstr "" -#: ../NEWS:179 +#: ../NEWS:222 msgid "" ":gh:`128991`: Release the enter frame reference within :mod:`bdb` callback" msgstr "" -#: ../NEWS:181 +#: ../NEWS:224 msgid "" ":gh:`128978`: Fix a :exc:`NameError` in :func:`!sysconfig." "expand_makefile_vars`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:184 +#: ../NEWS:227 msgid "" ":gh:`128961`: Fix a crash when setting state on an exhausted :class:`array." "array` iterator." msgstr "" -#: ../NEWS:187 +#: ../NEWS:230 msgid "" ":gh:`128894`: Fix ``traceback.TracebackException._format_syntax_error`` not " "to fail on exceptions with custom metadata." msgstr "" -#: ../NEWS:190 +#: ../NEWS:233 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 " @@ -492,174 +579,174 @@ msgid "" "newer." msgstr "" -#: ../NEWS:195 +#: ../NEWS:238 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 "" -#: ../NEWS:200 +#: ../NEWS:243 msgid "" ":gh:`128636`: Fix PyREPL failure when :data:`os.environ` is overwritten with " "an invalid value." msgstr "" -#: ../NEWS:203 +#: ../NEWS:246 msgid "" ":gh:`128562`: Fix possible conflicts in generated :mod:`tkinter` widget " "names if the widget class name ends with a digit." msgstr "" -#: ../NEWS:206 +#: ../NEWS:249 msgid "" ":gh:`128498`: Default to stdout isatty for color detection instead of " "stderr. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:209 +#: ../NEWS:252 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 "" -#: ../NEWS:213 +#: ../NEWS:256 msgid "" ":gh:`128479`: Fix :func:`!asyncio.staggered.staggered_race` leaking tasks " "and issuing an unhandled exception." msgstr "" -#: ../NEWS:216 +#: ../NEWS:259 msgid "" ":gh:`128400`: Fix crash when using :func:`faulthandler.dump_traceback` while " "other threads are active on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:220 +#: ../NEWS:263 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 "" -#: ../NEWS:224 +#: ../NEWS:267 msgid "" ":gh:`128302`: Fix :meth:`!xml.dom.xmlbuilder.DOMEntityResolver." "resolveEntity`, which was broken by the Python 3.0 transition." msgstr "" -#: ../NEWS:228 +#: ../NEWS:271 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 "" -#: ../NEWS:232 +#: ../NEWS:275 msgid "" ":gh:`112064`: Fix incorrect handling of negative read sizes in :meth:" "`HTTPResponse.read `. Patch by Yury Manushkin." msgstr "" -#: ../NEWS:236 +#: ../NEWS:279 msgid ":gh:`58956`: Fixed a frame reference leak in :mod:`bdb`." msgstr "" -#: ../NEWS:238 +#: ../NEWS:281 msgid "" ":gh:`128131`: Completely support random access of uncompressed unencrypted " "read-only zip files obtained by :meth:`ZipFile.open `." msgstr "" -#: ../NEWS:242 +#: ../NEWS:285 msgid "" ":gh:`112328`: :class:`enum.EnumDict` can now be used without resorting to " "private API." msgstr "" -#: ../NEWS:245 +#: ../NEWS:288 msgid "" ":gh:`127975`: Avoid reusing quote types in :func:`ast.unparse` if not needed." msgstr "" -#: ../NEWS:247 +#: ../NEWS:290 msgid "" ":gh:`128062`: Revert the font of :mod:`turtledemo`'s menu bar to its default " "value and display the shortcut keys in the correct position." msgstr "" -#: ../NEWS:250 +#: ../NEWS:293 msgid "" ":gh:`128014`: Fix resetting the default window icon by passing " "``default=''`` to the :mod:`tkinter` method :meth:`!wm_iconbitmap`." msgstr "" -#: ../NEWS:253 +#: ../NEWS:296 msgid "" ":gh:`115514`: Fix exceptions and incomplete writes after :class:`!asyncio." "_SelectorTransport` is closed before writes are completed." msgstr "" -#: ../NEWS:257 +#: ../NEWS:300 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 "" -#: ../NEWS:261 +#: ../NEWS:304 msgid "" ":gh:`127060`: Set TERM environment variable to \"dumb\" to disable traceback " "colors in IDLE, since IDLE doesn't understand ANSI escape sequences. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:265 +#: ../NEWS:308 msgid "" ":gh:`126742`: Fix support of localized error messages reported by :manpage:" "`dlerror(3)` and :manpage:`gdbm_strerror ` in :mod:`ctypes` and :" "mod:`dbm.gnu` functions respectively. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:270 +#: ../NEWS:313 msgid "" ":gh:`127873`: When ``-E`` is set, only ignore ``PYTHON_COLORS`` and not " "``FORCE_COLOR``/``NO_COLOR``/``TERM`` when colourising output. Patch by Hugo " "van Kemenade." msgstr "" -#: ../NEWS:274 +#: ../NEWS:317 msgid "" ":gh:`127870`: Detect recursive calls in ctypes ``_as_parameter_`` handling. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:277 +#: ../NEWS:320 msgid "" ":gh:`127847`: Fix the position when doing interleaved seeks and reads in " "uncompressed, unencrypted zip files returned by :meth:`zipfile.ZipFile.open`." msgstr "" -#: ../NEWS:281 +#: ../NEWS:324 msgid "" ":gh:`127732`: The :mod:`platform` module now correctly detects Windows " "Server 2025." msgstr "" -#: ../NEWS:284 +#: ../NEWS:327 msgid "" ":gh:`126821`: macOS and iOS apps can now choose to redirect stdout and " "stderr to the system log during interpreter configuration." msgstr "" -#: ../NEWS:287 +#: ../NEWS:330 msgid "" ":gh:`93312`: Include ```` to get ``os.PIDFD_NONBLOCK`` " "constant. Patch by Victor Stinner." msgstr "" -#: ../NEWS:290 +#: ../NEWS:333 msgid "" ":gh:`83662`: Add missing ``__class_getitem__`` method to the Python " "implementation of :func:`functools.partial`, to make it compatible with the " @@ -668,51 +755,51 @@ msgid "" "of that function." msgstr "" -#: ../NEWS:296 +#: ../NEWS:339 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 "" -#: ../NEWS:300 +#: ../NEWS:343 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 "" -#: ../NEWS:304 +#: ../NEWS:347 msgid "" ":gh:`127257`: In :mod:`ssl`, system call failures that OpenSSL reports using " "``ERR_LIB_SYS`` are now raised as :exc:`OSError`." msgstr "" -#: ../NEWS:307 +#: ../NEWS:350 msgid "" ":gh:`127096`: Do not recreate unnamed section on every read in :class:" "`configparser.ConfigParser`. Patch by Andrey Efremov." msgstr "" -#: ../NEWS:310 +#: ../NEWS:353 msgid "" ":gh:`127196`: Fix crash when dict with keys in invalid encoding were passed " "to several functions in ``_interpreters`` module." msgstr "" -#: ../NEWS:313 +#: ../NEWS:356 msgid "" ":gh:`126775`: Make :func:`linecache.checkcache` thread safe and GC re-" "entrancy safe." msgstr "" -#: ../NEWS:316 +#: ../NEWS:359 msgid "" ":gh:`126332`: Fix _pyrepl crash when entering a double CTRL-Z on an " "overflowing line." msgstr "" -#: ../NEWS:319 +#: ../NEWS:362 msgid "" ":gh:`126225`: :mod:`getopt` and :mod:`optparse` are no longer marked as " "deprecated. There are legitimate reasons to use one of these modules in " @@ -722,111 +809,93 @@ msgid "" "top of the ``optparse`` module documentation applies." msgstr "" -#: ../NEWS:326 +#: ../NEWS:369 msgid "" ":gh:`125553`: Fix round-trip invariance for backslash continuations in :func:" "`tokenize.untokenize`." msgstr "" -#: ../NEWS:329 +#: ../NEWS:372 msgid "" ":gh:`123987`: Fixed issue in NamespaceReader where a non-path item in a " "namespace path, such as a sentinel added by an editable installer, would " "break resource loading." msgstr "" -#: ../NEWS:333 +#: ../NEWS:376 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 "" -#: ../NEWS:337 +#: ../NEWS:380 msgid "" ":gh:`122431`: :func:`readline.append_history_file` now raises a :exc:" "`ValueError` when given a negative value." msgstr "" -#: ../NEWS:340 +#: ../NEWS:383 msgid "" ":gh:`119257`: Show tab completions menu below the current line, which " "results in less janky behaviour, and fixes a cursor movement bug. Patch by " "Daniel Hollas" msgstr "" -#: ../NEWS:345 ../NEWS:971 ../NEWS:1261 ../NEWS:1809 ../NEWS:2991 ../NEWS:3449 -#: ../NEWS:3915 ../NEWS:4452 ../NEWS:5267 ../NEWS:7790 ../NEWS:9308 -#: ../NEWS:9741 ../NEWS:10012 ../NEWS:10291 ../NEWS:10690 ../NEWS:11008 -#: ../NEWS:11433 ../NEWS:13136 ../NEWS:14369 ../NEWS:14963 ../NEWS:15472 -#: ../NEWS:15820 ../NEWS:16266 ../NEWS:16656 ../NEWS:17155 ../NEWS:18765 -#: ../NEWS:19833 ../NEWS:20295 ../NEWS:20575 ../NEWS:20845 ../NEWS:21198 -#: ../NEWS:21641 ../NEWS:22107 ../NEWS:23067 ../NEWS:23614 ../NEWS:24058 -#: ../NEWS:24516 ../NEWS:24920 ../NEWS:25343 ../NEWS:25658 ../NEWS:27003 -#: ../NEWS:28309 ../NEWS:28776 ../NEWS:29254 ../NEWS:29496 ../NEWS:31680 -#: ../NEWS:32656 ../NEWS:32866 ../NEWS:33016 ../NEWS:33234 ../NEWS:33479 -#: ../NEWS:33804 ../NEWS:34144 ../NEWS:34627 ../NEWS:34970 ../NEWS:36580 -#: ../NEWS:37334 ../NEWS:37690 ../NEWS:38087 ../NEWS:38486 ../NEWS:39055 -#: ../NEWS:39375 ../NEWS:39531 ../NEWS:39634 ../NEWS:40993 ../NEWS:41244 -#: ../NEWS:42411 ../NEWS:42971 ../NEWS:43638 ../NEWS:44364 ../NEWS:44925 -#: ../NEWS:45178 ../NEWS:45377 ../NEWS:45688 ../NEWS:47889 -msgid "Documentation" -msgstr "ドキュメント" - -#: ../NEWS:347 +#: ../NEWS:390 msgid "" ":gh:`125722`: Require Sphinx 8.1.3 or later to build the Python " "documentation. Patch by Adam Turner." msgstr "" -#: ../NEWS:350 +#: ../NEWS:393 msgid "" ":gh:`67206`: Document that :const:`string.printable` is not printable in the " "POSIX sense. In particular, :meth:`string.printable.isprintable() ` returns :const:`False`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:357 +#: ../NEWS:400 msgid "" ":gh:`129345`: Fix null pointer dereference in :func:`syslog.openlog` when an " "audit hook raises an exception." msgstr "" -#: ../NEWS:360 +#: ../NEWS:403 msgid "" ":gh:`129093`: Fix f-strings such as ``f'{expr=}'`` sometimes not displaying " "the full expression when the expression contains ``!=``." msgstr "" -#: ../NEWS:363 +#: ../NEWS:406 msgid "" ":gh:`124363`: Treat debug expressions in f-string as raw strings. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:366 +#: ../NEWS:409 msgid "" ":gh:`128799`: Add frame of ``except*`` to traceback when it wraps a naked " "exception." msgstr "" -#: ../NEWS:369 +#: ../NEWS:412 msgid "" ":gh:`128078`: Fix a :exc:`SystemError` when using :func:`anext` with a " "default tuple value. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:372 +#: ../NEWS:415 msgid "" ":gh:`128717`: Fix a crash when setting the recursion limit while other " "threads are active on the :term:`free threaded ` build." msgstr "" -#: ../NEWS:375 +#: ../NEWS:418 msgid ":gh:`128330`: Restore terminal control characters on REPL exit." msgstr "" -#: ../NEWS:377 +#: ../NEWS:420 msgid "" ":gh:`128079`: Fix a bug where :keyword:`except* ` does not " "properly check the return value of an :exc:`ExceptionGroup`'s :meth:" @@ -836,95 +905,95 @@ msgid "" "exc:`ExceptionGroup` object chained to it." msgstr "" -#: ../NEWS:384 +#: ../NEWS:427 msgid "" ":gh:`128030`: Avoid error from calling ``PyModule_GetFilenameObject`` on a " "non-module object when importing a non-existent symbol from a non-module " "object." msgstr "" -#: ../NEWS:388 +#: ../NEWS:431 msgid "" ":gh:`127903`: ``Objects/unicodeobject.c``: fix a crash on DEBUG builds in " "``_copy_characters`` when there is nothing to copy." msgstr "" -#: ../NEWS:391 +#: ../NEWS:434 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 "" -#: ../NEWS:395 +#: ../NEWS:438 msgid "" ":gh:`127651`: When raising :exc:`ImportError` for missing symbols in " "``from`` imports, use ``__file__`` in the error message if ``__spec__." "origin`` is not a location" msgstr "" -#: ../NEWS:399 +#: ../NEWS:442 msgid "" ":gh:`127582`: Fix non-thread-safe object resurrection when calling " "finalizers and watcher callbacks in the free threading build." msgstr "" -#: ../NEWS:402 +#: ../NEWS:445 msgid "" ":gh:`127434`: The iOS compiler shims can now accept arguments with spaces." msgstr "" -#: ../NEWS:404 +#: ../NEWS:447 msgid "" ":gh:`127536`: Add missing locks around some list assignment operations in " "the free threading build." msgstr "" -#: ../NEWS:407 +#: ../NEWS:450 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 "" -#: ../NEWS:411 +#: ../NEWS:454 msgid "" ":gh:`127349`: Fixed the error when resizing terminal in Python REPL. Patch " "by Semyon Moroz." msgstr "" -#: ../NEWS:414 +#: ../NEWS:457 msgid "" ":gh:`126076`: Relocated objects such as ``tuple``, ``bytes`` and ``str`` " "objects are properly tracked by :mod:`tracemalloc` and its associated hooks. " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:421 +#: ../NEWS:464 msgid "" ":gh:`127791`: Fix loss of callbacks after more than one call to :c:func:" "`PyUnstable_AtExit`." msgstr "" -#: ../NEWS:427 +#: ../NEWS:470 msgid "" ":gh:`129539`: Don't redefine ``EX_OK`` when the system has the ``sysexits." "h`` header." msgstr "" -#: ../NEWS:430 +#: ../NEWS:473 msgid "" ":gh:`128472`: Skip BOLT optimization of functions using computed gotos, " "fixing errors on build with LLVM 19." msgstr "" -#: ../NEWS:433 +#: ../NEWS:476 msgid "" ":gh:`123925`: Fix building the :mod:`curses` module on platforms with " "libncurses but without libncursesw." msgstr "" -#: ../NEWS:436 +#: ../NEWS:479 msgid "" ":gh:`128321`: Set ``LIBS`` instead of ``LDFLAGS`` when checking if :mod:" "`sqlite3` library functions are available. This fixes the ordering of linked " @@ -932,91 +1001,91 @@ msgid "" "``libsqlite3``." msgstr "" -#: ../NEWS:441 +#: ../NEWS:484 msgid "" ":gh:`127865`: Fix build failure on systems without thread-locals support." msgstr "" -#: ../NEWS:445 +#: ../NEWS:488 msgid "Python 3.13.1 final" msgstr "" -#: ../NEWS:447 +#: ../NEWS:490 msgid "*Release date: 2024-12-03*" msgstr "" -#: ../NEWS:452 +#: ../NEWS:495 msgid ":gh:`124448`: Update bundled Tcl/Tk in macOS installer to 8.6.15." msgstr "" -#: ../NEWS:457 +#: ../NEWS:500 msgid ":gh:`126911`: Update credits command output." msgstr "" -#: ../NEWS:459 +#: ../NEWS:502 msgid "" ":gh:`118973`: Ensures the experimental free-threaded install includes the " "``_tkinter`` module. The optional Tcl/Tk component must also be installed in " "order for the module to work." msgstr "" -#: ../NEWS:463 +#: ../NEWS:506 msgid "" ":gh:`126497`: Fixes venv failure due to missing redirector executables in " "experimental free-threaded installs." msgstr "" -#: ../NEWS:466 +#: ../NEWS:509 msgid ":gh:`126074`: Removed unnecessary DLLs from Windows embeddable package" msgstr "" -#: ../NEWS:468 +#: ../NEWS:511 msgid "" ":gh:`125315`: Avoid crashing in :mod:`platform` due to slow WMI calls on " "some Windows machines." msgstr "" -#: ../NEWS:471 +#: ../NEWS:514 msgid "" ":gh:`126084`: Fix venvwlauncher to launch pythonw instead of python so no " "extra console window is created." msgstr "" -#: ../NEWS:474 +#: ../NEWS:517 msgid "" ":gh:`125842`: Fix a :exc:`SystemError` when :func:`sys.exit` is called with " "``0xffffffff`` on Windows." msgstr "" -#: ../NEWS:477 +#: ../NEWS:520 msgid "" ":gh:`125550`: Enable the :ref:`launcher` to detect Python 3.14 installs from " "the Windows Store." msgstr "" -#: ../NEWS:480 +#: ../NEWS:523 msgid ":gh:`124448`: Updated bundled Tcl/Tk to 8.6.15." msgstr "" -#: ../NEWS:485 +#: ../NEWS:528 msgid "" ":gh:`126807`: Fix extraction warnings in :program:`pygettext.py` caused by " "mistaking function definitions for function calls." msgstr "" -#: ../NEWS:488 +#: ../NEWS:531 msgid "" ":gh:`126167`: The iOS testbed was modified so that it can be used by third-" "party projects for testing purposes." msgstr "" -#: ../NEWS:494 +#: ../NEWS:537 msgid "" ":gh:`126909`: Fix test_os extended attribute tests to work on filesystems " "with 1 KiB xattr size limit." msgstr "" -#: ../NEWS:497 +#: ../NEWS:540 msgid "" ":gh:`125041`: Re-enable skipped tests for :mod:`zlib` on the s390x " "architecture: only skip checks of the compressed bytes, which can be " @@ -1024,21 +1093,21 @@ msgid "" "accelerated implementation." msgstr "" -#: ../NEWS:502 +#: ../NEWS:545 msgid ":gh:`124295`: Add translation tests to the :mod:`argparse` module." msgstr "" -#: ../NEWS:507 +#: ../NEWS:550 msgid ":gh:`126623`: Upgrade libexpat to 2.6.4" msgstr "" -#: ../NEWS:509 +#: ../NEWS:552 msgid "" ":gh:`125140`: Remove the current directory from ``sys.path`` when using " "PyREPL." msgstr "" -#: ../NEWS:512 +#: ../NEWS:555 msgid "" ":gh:`122792`: Changed IPv4-mapped ``ipaddress.IPv6Address`` to consistently " "use the mapped IPv4 address value for deciding properties. Properties which " @@ -1046,37 +1115,37 @@ msgid "" "``is_link_local``, ``is_global``, and ``is_unspecified``." msgstr "" -#: ../NEWS:520 +#: ../NEWS:563 msgid "" ":gh:`127321`: :func:`pdb.set_trace` will not stop at an opcode that does not " "have an associated line number anymore." msgstr "" -#: ../NEWS:523 +#: ../NEWS:566 msgid "" ":gh:`127303`: Publicly expose :data:`~token.EXACT_TOKEN_TYPES` in :attr:`!" "token.__all__`." msgstr "" -#: ../NEWS:526 +#: ../NEWS:569 msgid "" ":gh:`123967`: Fix faulthandler for trampoline frames. If the top-most frame " "is a trampoline frame, skip it. Patch by Victor Stinner." msgstr "" -#: ../NEWS:529 +#: ../NEWS:572 msgid "" ":gh:`127182`: Fix :meth:`!io.StringIO.__setstate__` crash, when :const:" "`None` was passed as the first value." msgstr "" -#: ../NEWS:532 +#: ../NEWS:575 msgid "" ":gh:`127217`: Fix :func:`urllib.request.pathname2url` for paths starting " "with multiple slashes on Posix." msgstr "" -#: ../NEWS:535 +#: ../NEWS:578 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 " @@ -1084,31 +1153,31 @@ msgid "" "PATHEXT extensions that end with a dot." msgstr "" -#: ../NEWS:540 +#: ../NEWS:583 msgid "" ":gh:`122273`: Support PyREPL history on Windows. Patch by devdanzin and " "Victor Stinner." msgstr "" -#: ../NEWS:543 +#: ../NEWS:586 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 "" -#: ../NEWS:546 +#: ../NEWS:589 msgid "" ":gh:`126766`: Fix issue where :func:`urllib.request.url2pathname` failed to " "discard any 'localhost' authority present in the URL." msgstr "" -#: ../NEWS:549 +#: ../NEWS:592 msgid "" ":gh:`127065`: Fix crash when calling a :func:`operator.methodcaller` " "instance from multiple threads in the free threading build." msgstr "" -#: ../NEWS:552 +#: ../NEWS:595 msgid "" ":gh:`126997`: Fix support of STRING and GLOBAL opcodes with non-ASCII " "arguments in :mod:`pickletools`. :func:`pickletools.dis` now outputs non-" @@ -1116,33 +1185,33 @@ msgid "" "(``\\xXX``)." msgstr "" -#: ../NEWS:557 +#: ../NEWS:600 msgid "" ":gh:`126316`: :mod:`grp`: Make :func:`grp.getgrall` thread-safe by adding a " "mutex. Patch by Victor Stinner." msgstr "" -#: ../NEWS:560 +#: ../NEWS:603 msgid "" ":gh:`126618`: Fix the representation of :class:`itertools.count` objects " "when the count value is :data:`sys.maxsize`." msgstr "" -#: ../NEWS:563 +#: ../NEWS:606 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 "" -#: ../NEWS:568 +#: ../NEWS:611 msgid "" ":gh:`67877`: Fix memory leaks when :mod:`regular expression ` matching " "terminates abruptly, either because of a signal or because memory allocation " "fails." msgstr "" -#: ../NEWS:572 +#: ../NEWS:615 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` " @@ -1150,67 +1219,67 @@ msgid "" "func:`sysconfig.get_config_vars`." msgstr "" -#: ../NEWS:577 +#: ../NEWS:620 msgid ":gh:`126188`: Update bundled pip to 24.3.1" msgstr "" -#: ../NEWS:579 +#: ../NEWS:622 msgid "" ":gh:`126780`: Fix :func:`os.path.normpath` for drive-relative paths on " "Windows." msgstr "" -#: ../NEWS:582 +#: ../NEWS:625 msgid "" ":gh:`126766`: Fix issue where :func:`urllib.request.url2pathname` failed to " "discard two leading slashes introducing an empty authority section." msgstr "" -#: ../NEWS:585 +#: ../NEWS:628 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 "" -#: ../NEWS:589 +#: ../NEWS:632 msgid "" ":gh:`126699`: Allow :class:`collections.abc.AsyncIterator` to be a base for " "Protocols." msgstr "" -#: ../NEWS:592 +#: ../NEWS:635 msgid "" ":gh:`126654`: Fix crash when non-dict was passed to several functions in " "``_interpreters`` module." msgstr "" -#: ../NEWS:595 +#: ../NEWS:638 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 "" -#: ../NEWS:598 +#: ../NEWS:641 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 "" -#: ../NEWS:602 +#: ../NEWS:645 msgid "" ":gh:`120423`: Fix issue where :func:`urllib.request.pathname2url` mishandled " "Windows paths with embedded forward slashes." msgstr "" -#: ../NEWS:605 +#: ../NEWS:648 msgid "" ":gh:`126565`: Improve performances of :meth:`zipfile.Path.open` for non-" "reading modes." msgstr "" -#: ../NEWS:608 +#: ../NEWS:651 msgid "" ":gh:`126505`: Fix bugs in compiling case-insensitive :mod:`regular " "expressions ` with character classes containing non-BMP characters: " @@ -1218,7 +1287,7 @@ msgid "" "when matching a character range whose upper bound is beyond the BMP region." msgstr "" -#: ../NEWS:614 +#: ../NEWS:657 msgid "" ":gh:`117378`: Fixed the :mod:`multiprocessing` ``\"forkserver\"`` start " "method forkserver process to correctly inherit the parent's :data:`sys.path` " @@ -1227,7 +1296,7 @@ msgid "" "before executing work items." msgstr "" -#: ../NEWS:620 +#: ../NEWS:663 msgid "" "This bug caused some forkserver module preloading to silently fail to " "preload. This manifested as a performance degration in child processes when " @@ -1235,137 +1304,137 @@ msgid "" "worker." msgstr "" -#: ../NEWS:625 +#: ../NEWS:668 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 "" -#: ../NEWS:630 +#: ../NEWS:673 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 "" -#: ../NEWS:634 +#: ../NEWS:677 msgid "" ":gh:`125679`: The :class:`multiprocessing.Lock` and :class:`multiprocessing." "RLock` ``repr`` values no longer say \"unknown\" on macOS." msgstr "" -#: ../NEWS:638 +#: ../NEWS:681 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 "" -#: ../NEWS:642 +#: ../NEWS:685 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 "" -#: ../NEWS:646 +#: ../NEWS:689 msgid "" ":gh:`126313`: Fix an issue in :func:`curses.napms` when :func:`curses." "initscr` has not yet been called. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:649 +#: ../NEWS:692 msgid "" ":gh:`126303`: Fix pickling and copying of :class:`os.sched_param` objects." msgstr "" -#: ../NEWS:651 +#: ../NEWS:694 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 "" -#: ../NEWS:655 +#: ../NEWS:698 msgid "" ":gh:`126220`: Fix crash in :class:`!cProfile.Profile` and :class:`!_lsprof." "Profiler` when their callbacks were directly called with 0 arguments." msgstr "" -#: ../NEWS:659 +#: ../NEWS:702 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 "" -#: ../NEWS:663 +#: ../NEWS:706 msgid "" ":gh:`126223`: Raise a :exc:`UnicodeEncodeError` instead of a :exc:" "`SystemError` upon calling :func:`!_interpreters.create` with an invalid " "Unicode character." msgstr "" -#: ../NEWS:667 +#: ../NEWS:710 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 "" -#: ../NEWS:671 +#: ../NEWS:714 msgid "" ":gh:`126105`: Fix a crash in :mod:`ast` when the :attr:`ast.AST._fields` " "attribute is deleted." msgstr "" -#: ../NEWS:674 +#: ../NEWS:717 msgid "" ":gh:`126106`: Fixes a possible ``NULL`` pointer dereference in :mod:`ssl`." msgstr "" -#: ../NEWS:676 +#: ../NEWS:719 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 "" -#: ../NEWS:681 +#: ../NEWS:724 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 "" -#: ../NEWS:685 +#: ../NEWS:728 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 "" -#: ../NEWS:690 +#: ../NEWS:733 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 "" -#: ../NEWS:694 +#: ../NEWS:737 msgid "" ":gh:`125966`: Fix a use-after-free crash in :meth:`asyncio.Future." "remove_done_callback`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:697 +#: ../NEWS:740 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 "" -#: ../NEWS:701 +#: ../NEWS:744 msgid "" ":gh:`124452`: Fix an issue in :meth:`email.policy.EmailPolicy." "header_source_parse` and :meth:`email.policy.Compat32.header_source_parse` " @@ -1374,56 +1443,56 @@ msgid "" "and before the value." msgstr "" -#: ../NEWS:707 +#: ../NEWS:750 msgid "" ":gh:`125884`: Fixed the bug for :mod:`pdb` where it can't set breakpoints on " "functions with certain annotations." msgstr "" -#: ../NEWS:710 +#: ../NEWS:753 msgid "" ":gh:`125355`: Fix several bugs in :meth:`argparse.ArgumentParser." "parse_intermixed_args`." msgstr "" -#: ../NEWS:713 +#: ../NEWS:756 msgid "The parser no longer changes temporarily during parsing." msgstr "" -#: ../NEWS:714 +#: ../NEWS:757 msgid "Default values are not processed twice." msgstr "" -#: ../NEWS:715 +#: ../NEWS:758 msgid "" "Required mutually exclusive groups containing positional arguments are now " "supported." msgstr "" -#: ../NEWS:716 +#: ../NEWS:759 msgid "" "The missing arguments report now includes the names of all required optional " "and positional arguments." msgstr "" -#: ../NEWS:717 +#: ../NEWS:760 msgid "" "Unknown options can be intermixed with positional arguments in " "parse_known_intermixed_args()." msgstr "" -#: ../NEWS:719 +#: ../NEWS:762 msgid "" ":gh:`125666`: Avoid the exiting the interpreter if a null byte is given as " "input in the new REPL." msgstr "" -#: ../NEWS:722 +#: ../NEWS:765 msgid "" ":gh:`125710`: [Enum] fix hashable<->nonhashable comparisons for member values" msgstr "" -#: ../NEWS:724 +#: ../NEWS:767 msgid "" ":gh:`125631`: Restore ability to set :attr:`~pickle.Pickler.persistent_id` " "and :attr:`~pickle.Unpickler.persistent_load` attributes of instances of " @@ -1431,113 +1500,113 @@ msgid "" "module." msgstr "" -#: ../NEWS:729 +#: ../NEWS:772 msgid "" ":gh:`125378`: Fixed the bug in :mod:`pdb` where after a multi-line command, " "an empty line repeats the first line of the multi-line command, instead of " "the full command." msgstr "" -#: ../NEWS:733 +#: ../NEWS:776 msgid "" ":gh:`125682`: Reject non-ASCII digits in the Python implementation of :func:" "`json.loads` conforming to the JSON specification." msgstr "" -#: ../NEWS:736 +#: ../NEWS:779 msgid "" ":gh:`125660`: Reject invalid unicode escapes for Python implementation of :" "func:`json.loads`." msgstr "" -#: ../NEWS:739 +#: ../NEWS:782 msgid "" ":gh:`125259`: Fix the notes removal logic for errors thrown in enum " "initialization." msgstr "" -#: ../NEWS:742 +#: ../NEWS:785 msgid "" ":gh:`125590`: Allow ``FrameLocalsProxy`` to delete and pop if the key is not " "a fast variable." msgstr "" -#: ../NEWS:745 +#: ../NEWS:788 msgid "" ":gh:`125519`: Improve traceback if :func:`importlib.reload` is called with " "an object that is not a module. Patch by Alex Waygood." msgstr "" -#: ../NEWS:748 +#: ../NEWS:791 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 "" -#: ../NEWS:752 +#: ../NEWS:795 msgid "" ":gh:`125422`: Fixed the bug where :mod:`pdb` and :mod:`bdb` can step into " "the bottom caller frame." msgstr "" -#: ../NEWS:755 +#: ../NEWS:798 msgid "" ":gh:`100141`: Fixed the bug where :mod:`pdb` will be stuck in an infinite " "loop when debugging an empty file." msgstr "" -#: ../NEWS:758 +#: ../NEWS:801 msgid "" ":gh:`125115`: Fixed a bug in :mod:`pdb` where arguments starting with ``-`` " "can't be passed to the debugged script." msgstr "" -#: ../NEWS:761 +#: ../NEWS:804 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 "" -#: ../NEWS:765 +#: ../NEWS:808 msgid "" ":gh:`125398`: Fix the conversion of the :envvar:`!VIRTUAL_ENV` path in the " "activate script in :mod:`venv` when running in Git Bash for Windows." msgstr "" -#: ../NEWS:768 +#: ../NEWS:811 msgid "" ":gh:`125316`: Fix using :func:`functools.partial` as :class:`enum.Enum` " "member. A FutureWarning with suggestion to use :func:`enum.member` is now " "emitted when the ``partial`` instance is used as an enum member." msgstr "" -#: ../NEWS:772 +#: ../NEWS:815 msgid "" ":gh:`125245`: Fix race condition when importing :mod:`collections.abc`, " "which could incorrectly return an empty module." msgstr "" -#: ../NEWS:775 +#: ../NEWS:818 msgid "" ":gh:`125243`: Fix data race when creating :class:`zoneinfo.ZoneInfo` objects " "in the free threading build." msgstr "" -#: ../NEWS:778 +#: ../NEWS:821 msgid "" ":gh:`125254`: Fix a bug where ArgumentError includes the incorrect ambiguous " "option in :mod:`argparse`." msgstr "" -#: ../NEWS:781 +#: ../NEWS:824 msgid "" ":gh:`125235`: Keep :mod:`tkinter` TCL paths in venv pointing to base " "installation on Windows." msgstr "" -#: ../NEWS:784 +#: ../NEWS:827 msgid "" ":gh:`61011`: Fix inheritance of nested mutually exclusive groups from parent " "parser in :class:`argparse.ArgumentParser`. Previously, all nested mutually " @@ -1545,7 +1614,7 @@ msgid "" "displayed as belonging directly to the parser." msgstr "" -#: ../NEWS:789 +#: ../NEWS:832 msgid "" ":gh:`52551`: Fix encoding issues in :func:`time.strftime`, the :meth:" "`~datetime.datetime.strftime` method of the :mod:`datetime` classes :class:" @@ -1556,13 +1625,13 @@ msgid "" "character no longer terminates the format string." msgstr "" -#: ../NEWS:798 +#: ../NEWS:841 msgid "" ":gh:`125118`: Don't copy arbitrary values to :c:expr:`_Bool` in the :mod:" "`struct` module." msgstr "" -#: ../NEWS:801 +#: ../NEWS:844 msgid "" ":gh:`125069`: Fix an issue where providing a :class:`pathlib.PurePath` " "object as an initializer argument to a second :class:`~pathlib.PurePath` " @@ -1571,7 +1640,7 @@ msgid "" "object's parser." msgstr "" -#: ../NEWS:807 +#: ../NEWS:850 msgid "" ":gh:`125096`: If the :envvar:`PYTHON_BASIC_REPL` environment variable is " "set, the :mod:`site` module no longer imports the :mod:`!_pyrepl` module. " @@ -1580,7 +1649,7 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:813 +#: ../NEWS:856 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-" @@ -1588,25 +1657,25 @@ msgid "" "Previously it only returned the first symbol or an empty string." msgstr "" -#: ../NEWS:818 +#: ../NEWS:861 msgid "" ":gh:`124960`: Fix support for the ``barry_as_FLUFL`` future flag in the new " "REPL." msgstr "" -#: ../NEWS:821 +#: ../NEWS:864 msgid "" ":gh:`124984`: Fixed thread safety in :mod:`ssl` in the free-threaded build. " "OpenSSL operations are now protected by a per-object lock." msgstr "" -#: ../NEWS:824 +#: ../NEWS:867 msgid "" ":gh:`124958`: Fix refcycles in exceptions raised from :class:`asyncio." "TaskGroup` and the python implementation of :class:`asyncio.Future`" msgstr "" -#: ../NEWS:828 +#: ../NEWS:871 msgid "" ":gh:`53203`: Fix :func:`time.strptime` for ``%c`` and ``%x`` formats in many " "locales: Arabic, Bislama, Breton, Bodo, Kashubian, Chuvash, Estonian, " @@ -1616,74 +1685,74 @@ msgid "" "Chinese." msgstr "" -#: ../NEWS:835 +#: ../NEWS:878 msgid "" ":gh:`124917`: Allow calling :func:`os.path.exists` and :func:`os.path." "lexists` with keyword arguments on Windows. Fixes a regression in 3.13.0." msgstr "" -#: ../NEWS:839 +#: ../NEWS:882 msgid "" ":gh:`124653`: Fix detection of the minimal Queue API needed by the :mod:" "`logging` module. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:842 +#: ../NEWS:885 msgid "" ":gh:`124858`: Fix reference cycles left in tracebacks in :func:`asyncio." "open_connection` when used with ``happy_eyeballs_delay``" msgstr "" -#: ../NEWS:845 +#: ../NEWS:888 msgid "" ":gh:`124390`: Fixed :exc:`AssertionError` when using :func:`!asyncio." "staggered.staggered_race` with :attr:`asyncio.eager_task_factory`." msgstr "" -#: ../NEWS:849 +#: ../NEWS:892 msgid "" ":gh:`124651`: Properly quote template strings in :mod:`venv` activation " "scripts." msgstr "" -#: ../NEWS:852 +#: ../NEWS:895 msgid "" ":gh:`116850`: Fix :mod:`argparse` for namespaces with not directly writable " "dict (e.g. classes)." msgstr "" -#: ../NEWS:855 +#: ../NEWS:898 msgid "" ":gh:`58573`: Fix conflicts between abbreviated long options in the parent " "parser and subparsers in :mod:`argparse`." msgstr "" -#: ../NEWS:858 +#: ../NEWS:901 msgid "" ":gh:`124594`: All :mod:`asyncio` REPL prompts run in the same :class:" "`context `. Contributed by Bartosz Sławecki." msgstr "" -#: ../NEWS:861 +#: ../NEWS:904 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 "" -#: ../NEWS:865 +#: ../NEWS:908 msgid "" ":gh:`80259`: Fix :mod:`argparse` support of positional arguments with " "``nargs='?'``, ``default=argparse.SUPPRESS`` and specified ``type``." msgstr "" -#: ../NEWS:868 +#: ../NEWS:911 msgid "" ":gh:`120378`: Fix a crash related to an integer overflow in :func:`curses." "resizeterm` and :func:`curses.resize_term`." msgstr "" -#: ../NEWS:871 +#: ../NEWS:914 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 " @@ -1691,25 +1760,25 @@ msgid "" "the input iterator. This would sometimes give surprising results." msgstr "" -#: ../NEWS:876 +#: ../NEWS:919 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 "" -#: ../NEWS:879 +#: ../NEWS:922 msgid "" ":gh:`124345`: :mod:`argparse` vim supports abbreviated single-dash long " "options separated by ``=`` from its value." msgstr "" -#: ../NEWS:882 +#: ../NEWS:925 msgid "" ":gh:`104860`: Fix disallowing abbreviation of single-dash long options in :" "mod:`argparse` with ``allow_abbrev=False``." msgstr "" -#: ../NEWS:885 +#: ../NEWS:928 msgid "" ":gh:`63143`: Fix parsing mutually exclusive arguments in :mod:`argparse`. " "Arguments with the value identical to the default value (e.g. booleans, " @@ -1717,7 +1786,7 @@ msgid "" "present\"." msgstr "" -#: ../NEWS:890 +#: ../NEWS:933 msgid "" ":gh:`72795`: Positional arguments with :ref:`nargs` equal to ``'*'`` or :" "data:`!argparse.REMAINDER` are no longer required. This allows to use " @@ -1725,64 +1794,64 @@ msgid "" "exclusive group and improves error message about required arguments." msgstr "" -#: ../NEWS:895 +#: ../NEWS:938 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 "" -#: ../NEWS:899 +#: ../NEWS:942 msgid "" ":gh:`53780`: :mod:`argparse` now ignores the first ``\"--\"`` (double dash) " "between an option and command." msgstr "" -#: ../NEWS:902 +#: ../NEWS:945 msgid "" ":gh:`124217`: Add RFC 9637 reserved IPv6 block ``3fff::/20`` in :mod:" "`ipaddress` module." msgstr "" -#: ../NEWS:905 +#: ../NEWS:948 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 "" -#: ../NEWS:909 +#: ../NEWS:952 msgid "" ":gh:`123978`: Remove broken :func:`time.thread_time` and :func:`time." "thread_time_ns` on NetBSD." msgstr "" -#: ../NEWS:912 +#: ../NEWS:955 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 "" -#: ../NEWS:916 +#: ../NEWS:959 msgid "" ":gh:`123935`: Fix parent slots detection for dataclasses that inherit from " "classes with ``__dictoffset__``." msgstr "" -#: ../NEWS:919 +#: ../NEWS:962 msgid "" ":gh:`122765`: Fix unbalanced quote errors occurring when activate.csh in :" "mod:`venv` was sourced with a custom prompt containing unpaired quotes or " "newlines." msgstr "" -#: ../NEWS:923 +#: ../NEWS:966 msgid "" ":gh:`123370`: Fix the canvas not clearing after running turtledemo clock." msgstr "" -#: ../NEWS:925 +#: ../NEWS:968 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 " @@ -1790,7 +1859,7 @@ msgid "" "session objects via serialization." msgstr "" -#: ../NEWS:930 +#: ../NEWS:973 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 " @@ -1798,82 +1867,82 @@ msgid "" "instead of reading comments that are one byte too long." msgstr "" -#: ../NEWS:935 +#: ../NEWS:978 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 "" -#: ../NEWS:939 +#: ../NEWS:982 msgid "" ":gh:`118289`: :func:`!posixpath.realpath` now raises :exc:" "`NotADirectoryError` when *strict* mode is enabled and a non-directory path " "with a trailing slash is supplied." msgstr "" -#: ../NEWS:943 +#: ../NEWS:986 msgid "" ":gh:`119826`: Always return an absolute path for :func:`os.path.abspath` on " "Windows." msgstr "" -#: ../NEWS:946 +#: ../NEWS:989 msgid "" ":gh:`117766`: Always use :func:`str` to print ``choices`` in :mod:`argparse`." msgstr "" -#: ../NEWS:948 +#: ../NEWS:991 msgid "" ":gh:`101955`: Fix SystemError when match regular expression pattern " "containing some combination of possessive quantifier, alternative and " "capture group." msgstr "" -#: ../NEWS:952 +#: ../NEWS:995 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 "" -#: ../NEWS:956 +#: ../NEWS:999 msgid "" ":gh:`71936`: Fix a race condition in :class:`multiprocessing.pool.Pool`." msgstr "" -#: ../NEWS:958 +#: ../NEWS:1001 msgid "" ":issue:`46128`: Strip :class:`unittest.IsolatedAsyncioTestCase` stack frames " "from reported stacktraces." msgstr "" -#: ../NEWS:961 +#: ../NEWS:1004 msgid "" ":issue:`14074`: Fix :mod:`argparse` metavar processing to allow positional " "arguments to have a tuple metavar." msgstr "" -#: ../NEWS:967 +#: ../NEWS:1010 msgid "" ":gh:`122392`: Increase currently inadequate vertical spacing for the IDLE " "browsers (path, module, and stack) on high-resolution monitors." msgstr "" -#: ../NEWS:973 +#: ../NEWS:1016 msgid "" ":gh:`126622`: Added stub pages for removed modules explaining their removal, " "where to find replacements, and linking to the last Python version that " "supported them. Contributed by Ned Batchelder." msgstr "" -#: ../NEWS:977 +#: ../NEWS:1020 msgid "" ":gh:`125277`: Require Sphinx 7.2.6 or later to build the Python " "documentation. Patch by Adam Turner." msgstr "" -#: ../NEWS:980 +#: ../NEWS:1023 msgid "" ":gh:`124872`: Added definitions for :term:`context`, :term:`current " "context`, and :term:`context management protocol`, updated related " @@ -1881,7 +1950,7 @@ msgid "" "`contextvars.Context`." msgstr "" -#: ../NEWS:985 +#: ../NEWS:1028 msgid "" ":gh:`125018`: The :mod:`importlib.metadata` documentation now includes " "semantic cross-reference targets for the significant documented APIs. This " @@ -1889,7 +1958,7 @@ msgid "" "now work as expected." msgstr "" -#: ../NEWS:990 +#: ../NEWS:1033 msgid "" ":gh:`70870`: Clarified the dual usage of the term \"free variable\" (both " "the formal meaning of any reference to names defined outside the local " @@ -1897,26 +1966,26 @@ msgid "" "``co_freevars``)." msgstr "" -#: ../NEWS:995 +#: ../NEWS:1038 msgid "" ":gh:`121277`: Writers of CPython's documentation can now use ``next`` as the " "version for the ``versionchanged``, ``versionadded``, ``deprecated`` " "directives." msgstr "" -#: ../NEWS:999 +#: ../NEWS:1042 msgid "" ":gh:`60712`: Include the :class:`object` type in the lists of documented " "types. Change by Furkan Onder and Martin Panter." msgstr "" -#: ../NEWS:1002 +#: ../NEWS:1045 msgid "" ":issue:`34008`: The :c:func:`Py_Main` documentation moved from the \"Very " "High Level API\" section to the \"Initialization and Finalization\" section." msgstr "" -#: ../NEWS:1005 +#: ../NEWS:1048 msgid "" "Also make it explicit that we expect ``Py_Main`` to typically be called " "instead of ``Py_Initialize`` rather than after it (since ``Py_Main`` makes " @@ -1924,13 +1993,13 @@ msgid "" "but is version dependent on which settings will be applied correctly." msgstr "" -#: ../NEWS:1014 +#: ../NEWS:1057 msgid "" ":gh:`113841`: Fix possible undefined behavior division by zero in :class:" "`complex`'s :c:func:`_Py_c_pow`." msgstr "" -#: ../NEWS:1017 +#: ../NEWS:1060 msgid "" ":gh:`127020`: Fix a crash in the free threading build when :c:func:" "`PyCode_GetCode`, :c:func:`PyCode_GetVarnames`, :c:func:" @@ -1938,105 +2007,105 @@ msgid "" "multiple threads at the same time." msgstr "" -#: ../NEWS:1022 +#: ../NEWS:1065 msgid "" ":gh:`126980`: Fix :meth:`~object.__buffer__` of :class:`bytearray` crashing " "when :attr:`~inspect.BufferFlags.READ` or :attr:`~inspect.BufferFlags.WRITE` " "are passed as flags." msgstr "" -#: ../NEWS:1026 +#: ../NEWS:1069 msgid "" ":gh:`126881`: Fix crash in finalization of dtoa state. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:1028 +#: ../NEWS:1071 msgid "" ":gh:`126341`: Now :exc:`ValueError` is raised instead of :exc:`SystemError` " "when trying to iterate over a released :class:`memoryview` object." msgstr "" -#: ../NEWS:1031 +#: ../NEWS:1074 msgid "" ":gh:`126688`: Fix a crash when calling :func:`os.fork` on some operating " "systems, including SerenityOS." msgstr "" -#: ../NEWS:1034 +#: ../NEWS:1077 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 "" -#: ../NEWS:1038 +#: ../NEWS:1081 msgid "" ":gh:`126312`: Fix crash during garbage collection on an object frozen by :" "func:`gc.freeze` on the free-threaded build." msgstr "" -#: ../NEWS:1041 +#: ../NEWS:1084 msgid "" ":gh:`126139`: Provide better error location when attempting to use a :term:" "`future statement <__future__>` with an unknown future feature." msgstr "" -#: ../NEWS:1044 +#: ../NEWS:1087 msgid "" ":gh:`126018`: Fix a crash in :func:`sys.audit` when passing a non-string as " "first argument and Python was compiled in debug mode." msgstr "" -#: ../NEWS:1047 +#: ../NEWS:1090 msgid "" ":gh:`125942`: On Android, the ``errors`` setting of :any:`sys.stdout` was " "changed from ``surrogateescape`` to ``backslashreplace``." msgstr "" -#: ../NEWS:1050 +#: ../NEWS:1093 msgid "" ":gh:`125859`: Fix a crash in the free threading build when :func:`gc." "get_objects` or :func:`gc.get_referrers` is called during an in-progress " "garbage collection." msgstr "" -#: ../NEWS:1054 +#: ../NEWS:1097 msgid "" ":gh:`125703`: Correctly honour :mod:`tracemalloc` hooks in specialized " "``Py_DECREF`` paths. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1057 +#: ../NEWS:1100 msgid "" ":gh:`125593`: Use color to highlight error locations in traceback from " "exception group" msgstr "" -#: ../NEWS:1060 +#: ../NEWS:1103 msgid "" ":gh:`125444`: Fix illegal instruction for older Arm architectures. Patch by " "Diego Russo, testing by Ross Burton." msgstr "" -#: ../NEWS:1063 +#: ../NEWS:1106 msgid "" ":gh:`124375`: Fix a crash in the free threading build when the GC runs " "concurrently with a new thread starting." msgstr "" -#: ../NEWS:1066 +#: ../NEWS:1109 msgid "" ":gh:`125221`: Fix possible race condition when calling :meth:`~object." "__reduce_ex__` for the first time in the free threading build." msgstr "" -#: ../NEWS:1070 +#: ../NEWS:1113 msgid "" ":gh:`125038`: Fix crash when iterating over a generator expression after " "direct changes on ``gi_frame.f_locals``. Patch by Mikhail Efimov." msgstr "" -#: ../NEWS:1073 +#: ../NEWS:1116 msgid "" ":gh:`123378`: Fix a crash in the :meth:`~object.__str__` method of :exc:" "`UnicodeError` objects when the :attr:`UnicodeError.start` and :attr:" @@ -2044,7 +2113,7 @@ msgid "" "Tran." msgstr "" -#: ../NEWS:1078 +#: ../NEWS:1121 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, " @@ -2053,19 +2122,19 @@ msgid "" "share the interned dict with the main interpreter." msgstr "" -#: ../NEWS:1084 +#: ../NEWS:1127 msgid "" ":gh:`122878`: Use the ``pager`` binary, if available (e.g. on Debian and " "derivatives), to display REPL ``help()``." msgstr "" -#: ../NEWS:1087 +#: ../NEWS:1130 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 "" -#: ../NEWS:1090 +#: ../NEWS:1133 msgid "" ":gh:`123930`: Improve the error message when a script shadowing a module " "from the standard library causes :exc:`ImportError` to be raised during a " @@ -2074,219 +2143,219 @@ msgid "" "that third party module while still initialising." msgstr "" -#: ../NEWS:1096 +#: ../NEWS:1139 msgid "" ":gh:`122907`: Building with ``HAVE_DYNAMIC_LOADING`` now works as well as it " "did in 3.12. Existing deficiences will be addressed separately. (See https://" "github.com/python/cpython/issues/122950.)" msgstr "" -#: ../NEWS:1100 +#: ../NEWS:1143 msgid "" ":gh:`118950`: Fix bug where SSLProtocol.connection_lost wasn't getting " "called when OSError was thrown on writing to socket." msgstr "" -#: ../NEWS:1103 +#: ../NEWS:1146 msgid "" ":gh:`113570`: Fixed a bug in ``reprlib.repr`` where it incorrectly called " "the repr method on shadowed Python built-in types." msgstr "" -#: ../NEWS:1106 +#: ../NEWS:1149 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 "" -#: ../NEWS:1113 +#: ../NEWS:1156 msgid "" ":gh:`126554`: Fix error handling in :class:`ctypes.CDLL` objects which could " "result in a crash in rare situations." msgstr "" -#: ../NEWS:1116 +#: ../NEWS:1159 msgid "" ":gh:`125608`: Fix a bug where dictionary watchers (e.g., :c:func:" "`PyDict_Watch`) on an object's attribute dictionary (:attr:`~object." "__dict__`) were not triggered when the object's attributes were modified." msgstr "" -#: ../NEWS:1121 +#: ../NEWS:1164 msgid "" ":issue:`34008`: Added ``Py_IsInitialized`` to the list of APIs that are safe " "to call before the interpreter is initialized, and updated the embedding " "tests to cover it." msgstr "" -#: ../NEWS:1128 +#: ../NEWS:1171 msgid "" ":gh:`123877`: Set ``wasm32-wasip1`` as the WASI target. The old ``wasm32-" "wasi`` target is deprecated so it can be used for an eventual WASI 1.0." msgstr "" -#: ../NEWS:1132 +#: ../NEWS:1175 msgid ":gh:`89640`: Hard-code float word ordering as little endian on WASM." msgstr "" -#: ../NEWS:1134 +#: ../NEWS:1177 msgid "" ":gh:`125940`: The Android build now supports `16 KB page sizes `__." msgstr "" -#: ../NEWS:1137 +#: ../NEWS:1180 msgid "" ":gh:`89640`: Improve detection of float word ordering on Linux when link-" "time optimizations are enabled." msgstr "" -#: ../NEWS:1140 +#: ../NEWS:1183 msgid "" ":gh:`125269`: Fix detection of whether ``-latomic`` is needed when cross-" "compiling CPython using the configure script." msgstr "" -#: ../NEWS:1143 +#: ../NEWS:1186 msgid ":gh:`121634`: Allow for specifying the target compile triple for WASI." msgstr "" -#: ../NEWS:1145 +#: ../NEWS:1188 msgid ":gh:`122578`: Use WASI SDK 24 for testing." msgstr "" -#: ../NEWS:1147 +#: ../NEWS:1190 msgid "" ":gh:`115382`: Fix cross compile failures when the host and target SOABIs " "match." msgstr "" -#: ../NEWS:1152 +#: ../NEWS:1195 msgid "Python 3.13.0 final" msgstr "" -#: ../NEWS:1154 +#: ../NEWS:1197 msgid "*Release date: 2024-10-07*" msgstr "" -#: ../NEWS:1159 +#: ../NEWS:1202 msgid "" ":gh:`125008`: Fix :func:`tokenize.untokenize` producing invalid syntax for " "double braces preceded by certain escape characters." msgstr "" -#: ../NEWS:1162 +#: ../NEWS:1205 msgid "" ":gh:`124871`: Fix compiler bug (in some versions of 3.13) where an assertion " "fails during reachability analysis." msgstr "" -#: ../NEWS:1167 +#: ../NEWS:1210 msgid "Python 3.13.0 release candidate 3" msgstr "" -#: ../NEWS:1169 +#: ../NEWS:1212 msgid "*Release date: 2024-10-01*" msgstr "" -#: ../NEWS:1174 +#: ../NEWS:1217 msgid "" ":gh:`123797`: Check for runtime availability of ``ptsname_r`` function on " "macos." msgstr "" -#: ../NEWS:1180 +#: ../NEWS:1223 msgid "" ":gh:`124609`: Fix ``_Py_ThreadId`` for Windows builds using MinGW. Patch by " "Tony Roberts." msgstr "" -#: ../NEWS:1183 +#: ../NEWS:1226 msgid "" ":gh:`124254`: Ensures experimental free-threaded binaries remain installed " "when updating." msgstr "" -#: ../NEWS:1186 +#: ../NEWS:1229 msgid "" ":gh:`123915`: Ensure that ``Tools\\msi\\buildrelease.bat`` uses different " "directories for AMD64 and ARM64 builds." msgstr "" -#: ../NEWS:1192 +#: ../NEWS:1235 msgid ":gh:`124378`: Updated ``test_ttk`` to pass with Tcl/Tk 8.6.15." msgstr "" -#: ../NEWS:1197 +#: ../NEWS:1240 msgid "" ":gh:`124538`: Fixed crash when using :func:`gc.get_referents` on a capsule " "object." msgstr "" -#: ../NEWS:1200 +#: ../NEWS:1243 msgid "" ":gh:`124498`: Fix :class:`typing.TypeAliasType` not to be generic, when " "``type_params`` is an empty tuple." msgstr "" -#: ../NEWS:1203 +#: ../NEWS:1246 msgid "" ":gh:`123017`: Due to unreliable results on some devices, :func:`time." "strftime` no longer accepts negative years on Android." msgstr "" -#: ../NEWS:1206 +#: ../NEWS:1249 msgid "" ":gh:`123014`: :func:`os.pidfd_open` and :func:`signal.pidfd_send_signal` are " "now unavailable when building against Android API levels older than 31, " "since the underlying system calls may cause a crash." msgstr "" -#: ../NEWS:1210 +#: ../NEWS:1253 msgid "" ":gh:`124248`: Fixed potential crash when using :mod:`struct` to process zero-" "width 'Pascal string' fields (``0p``)." msgstr "" -#: ../NEWS:1213 +#: ../NEWS:1256 msgid "" ":gh:`87041`: Fix a bug in :mod:`argparse` where lengthy subparser argument " "help is incorrectly indented." msgstr "" -#: ../NEWS:1216 +#: ../NEWS:1259 msgid "" ":gh:`124212`: Fix invalid variable in :mod:`venv` handling of failed symlink " "on Windows" msgstr "" -#: ../NEWS:1219 +#: ../NEWS:1262 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 "" -#: ../NEWS:1223 +#: ../NEWS:1266 msgid "" ":gh:`123934`: Fix :class:`unittest.mock.MagicMock` reseting magic methods " "return values after ``.reset_mock(return_value=True)`` was called." msgstr "" -#: ../NEWS:1226 +#: ../NEWS:1269 msgid "" ":gh:`123968`: Fix the command-line interface for the :mod:`random` module to " "select floats between 0 and N, not 1 and N." msgstr "" -#: ../NEWS:1229 +#: ../NEWS:1272 msgid "" ":gh:`123892`: Add ``\"_wmi\"`` to :data:`sys.stdlib_module_names`. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:1232 +#: ../NEWS:1275 msgid "" ":gh:`123339`: Fix :func:`inspect.getsource` for classes in :mod:`collections." "abc` and :mod:`decimal` (for pure Python implementation) modules. :func:" @@ -2294,112 +2363,112 @@ msgid "" "``__firstlineno__`` value for a class is out of bound." msgstr "" -#: ../NEWS:1237 +#: ../NEWS:1280 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 "" -#: ../NEWS:1241 +#: ../NEWS:1284 msgid "" ":gh:`122145`: Fix an issue when reporting tracebacks corresponding to Python " "code emitting an empty AST body. Patch by Nikita Sobolev and Bénédikt Tran." msgstr "" -#: ../NEWS:1245 +#: ../NEWS:1288 msgid "" ":gh:`119004`: Fix a crash in :ref:`OrderedDict.__eq__ " "` when operands are mutated during the check. " "Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1249 +#: ../NEWS:1292 msgid "" ":issue:`44864`: Do not translate user-provided strings in :class:`argparse." "ArgumentParser`." msgstr "" -#: ../NEWS:1255 +#: ../NEWS:1298 msgid "" ":gh:`112938`: Fix uninteruptable hang when Shell gets rapid continuous " "output." msgstr "" -#: ../NEWS:1258 +#: ../NEWS:1301 msgid ":gh:`120104`: Fix padding in config and search dialog windows in IDLE." msgstr "" -#: ../NEWS:1263 +#: ../NEWS:1306 msgid "" ":gh:`124720`: Update \"Using Python on a Mac\" section of the \"Python Setup " "and Usage\" document and include information on installing free-threading " "support." msgstr "" -#: ../NEWS:1267 +#: ../NEWS:1310 msgid "" ":gh:`116622`: Add an Android platform guide, and flag modules not available " "on Android." msgstr "" -#: ../NEWS:1273 +#: ../NEWS:1316 msgid "" ":gh:`124567`: Revert the incremental GC (in 3.13), since it's not clear the " "benefits outweigh the costs at this point." msgstr "" -#: ../NEWS:1276 +#: ../NEWS:1319 msgid "" ":gh:`124642`: Fixed scalability issue in free-threaded builds for lock-free " "reads from dictionaries in multi-threaded scenarios" msgstr "" -#: ../NEWS:1279 +#: ../NEWS:1322 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 "" -#: ../NEWS:1283 +#: ../NEWS:1326 msgid "" ":gh:`124547`: When deallocating an object with inline values whose " "``__dict__`` is still live: if memory allocation for the inline values " "fails, clear the dictionary. Prevents an interpreter crash." msgstr "" -#: ../NEWS:1287 +#: ../NEWS:1330 msgid "" ":gh:`124513`: Fix a crash in FrameLocalsProxy constructor: check the number " "of arguments. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1290 +#: ../NEWS:1333 msgid "" ":gh:`124442`: Fix nondeterminism in compilation by sorting the value of :" "attr:`~type.__static_attributes__`. Patch by kp2pml30." msgstr "" -#: ../NEWS:1293 +#: ../NEWS:1336 msgid "" ":gh:`123856`: Fix PyREPL failure when a keyboard interrupt is triggered " "after using a history search" msgstr "" -#: ../NEWS:1296 +#: ../NEWS:1339 msgid "" ":gh:`65961`: Document the deprecation of setting and using ``__package__`` " "and ``__cached__``." msgstr "" -#: ../NEWS:1299 +#: ../NEWS:1342 msgid "" ":gh:`124027`: Support ````, ````, and ```` keys " "in the Python REPL when ``$TERM`` is set to ``vt100``." msgstr "" -#: ../NEWS:1302 +#: ../NEWS:1345 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:" @@ -2407,212 +2476,212 @@ msgid "" "it." msgstr "" -#: ../NEWS:1307 +#: ../NEWS:1350 msgid "" ":gh:`123339`: Setting the :attr:`!__module__` attribute for a class now " "removes the ``__firstlineno__`` item from the type's dict, so they will no " "longer be inconsistent." msgstr "" -#: ../NEWS:1314 +#: ../NEWS:1357 msgid "" ":gh:`124160`: Fix crash when importing modules containing state and single-" "phase initialization in a subinterpreter." msgstr "" -#: ../NEWS:1317 +#: ../NEWS:1360 msgid "" ":gh:`123880`: Fixed a bug that prevented circular imports of extension " "modules that use single-phase initialization." msgstr "" -#: ../NEWS:1323 +#: ../NEWS:1366 msgid "" ":gh:`124487`: Windows builds now use Windows 8.1 as their API baseline " "(installation already required Windows 8.1)." msgstr "" -#: ../NEWS:1326 +#: ../NEWS:1369 msgid "" ":gh:`124043`: Building using :option:`--with-trace-refs` is (temporarily) " "disallowed when the GIL is disabled." msgstr "" -#: ../NEWS:1331 +#: ../NEWS:1374 msgid "Python 3.13.0 release candidate 2" msgstr "" -#: ../NEWS:1333 +#: ../NEWS:1376 msgid "*Release date: 2024-09-06*" msgstr "" -#: ../NEWS:1338 +#: ../NEWS:1381 msgid ":gh:`123418`: Updated macOS installer build to use OpenSSL 3.0.15." msgstr "" -#: ../NEWS:1343 +#: ../NEWS:1386 msgid ":gh:`123418`: Updated Windows build to use OpenSSL 3.0.15." msgstr "" -#: ../NEWS:1345 +#: ../NEWS:1388 msgid ":gh:`122573`: The Windows build of CPython now requires 3.10 or newer." msgstr "" -#: ../NEWS:1347 +#: ../NEWS:1390 msgid "" ":gh:`100256`: :mod:`mimetypes` no longer fails when it encounters an " "inaccessible registry key." msgstr "" -#: ../NEWS:1350 +#: ../NEWS:1393 msgid "" ":gh:`79846`: Makes :code:`ssl.create_default_context()` ignore invalid " "certificates in the Windows certificate store" msgstr "" -#: ../NEWS:1356 +#: ../NEWS:1399 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 "" -#: ../NEWS:1362 +#: ../NEWS:1405 msgid "" ":gh:`119727`: Add ``--single-process`` command line option to Python test " "runner (regrtest). Patch by Victor Stinner." msgstr "" -#: ../NEWS:1365 +#: ../NEWS:1408 msgid "" ":gh:`101525`: Skip ``test_gdb`` if the binary is relocated by BOLT. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:1371 +#: ../NEWS:1414 msgid ":gh:`123678`: Upgrade libexpat to 2.6.3" msgstr "" -#: ../NEWS:1373 +#: ../NEWS:1416 msgid "" ":gh:`121285`: Remove backtracking from tarfile header parsing for " "``hdrcharset``, PAX, and GNU sparse headers." msgstr "" -#: ../NEWS:1379 +#: ../NEWS:1422 msgid "" ":gh:`123657`: Fix crash and memory leak in :func:`decimal.getcontext`. It " "crashed when using a thread-local context by ``--with-decimal-" "contextvar=no``." msgstr "" -#: ../NEWS:1383 +#: ../NEWS:1426 msgid "" ":gh:`123448`: Fixed memory leak of :class:`typing.NoDefault` by moving it to " "the static types array." msgstr "" -#: ../NEWS:1386 +#: ../NEWS:1429 msgid "" ":gh:`123409`: Fix :attr:`ipaddress.IPv6Address.reverse_pointer` output " "according to :rfc:`RFC 3596, §2.5 <3596#section-2.5>`. Patch by Bénédikt " "Tran." msgstr "" -#: ../NEWS:1390 +#: ../NEWS:1433 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 "" -#: ../NEWS:1394 +#: ../NEWS:1437 msgid "" ":gh:`123228`: Fix return type for :func:`!_pyrepl.readline._ReadlineWrapper." "get_line_buffer` to be :func:`str`. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:1398 +#: ../NEWS:1441 msgid ":gh:`123240`: Raise audit events for the :func:`input` in the new REPL." msgstr "" -#: ../NEWS:1400 +#: ../NEWS:1443 msgid ":gh:`123243`: Fix memory leak in :mod:`!_decimal`." msgstr "" -#: ../NEWS:1402 +#: ../NEWS:1445 msgid "" ":gh:`122546`: Consistently use same file name for different exceptions in " "the new repl. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:1405 +#: ../NEWS:1448 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 "" -#: ../NEWS:1409 +#: ../NEWS:1452 msgid "" ":gh:`85110`: Preserve relative path in URL without netloc in :func:`urllib." "parse.urlunsplit` and :func:`urllib.parse.urlunparse`." msgstr "" -#: ../NEWS:1412 +#: ../NEWS:1455 msgid "" ":gh:`123067`: Fix quadratic complexity in parsing ``\"``-quoted cookie " "values with backslashes by :mod:`http.cookies`." msgstr "" -#: ../NEWS:1415 +#: ../NEWS:1458 msgid "" ":gh:`122981`: Fix :func:`inspect.getsource` for generated classes with " "Python base classes (e.g. enums)." msgstr "" -#: ../NEWS:1418 +#: ../NEWS:1461 msgid "" ":gh:`122903`: ``zipfile.Path.glob`` now correctly matches directories " "instead of silently omitting them." msgstr "" -#: ../NEWS:1421 +#: ../NEWS:1464 msgid "" ":gh:`122905`: :class:`zipfile.Path` objects now sanitize names from the " "zipfile." msgstr "" -#: ../NEWS:1424 +#: ../NEWS:1467 msgid "" ":gh:`122695`: Fixed double-free when using :func:`gc.get_referents` with a " "freed :class:`asyncio.Future` iterator." msgstr "" -#: ../NEWS:1427 +#: ../NEWS:1470 msgid "" ":gh:`116263`: :class:`logging.handlers.RotatingFileHandler` no longer rolls " "over empty log files." msgstr "" -#: ../NEWS:1430 +#: ../NEWS:1473 msgid "" ":gh:`105376`: Restore the deprecated :mod:`logging` ``warn()`` method. It " "was removed in Python 3.13 alpha 1. Keep the deprecated ``warn()`` method in " "Python 3.13. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1434 +#: ../NEWS:1477 msgid "" ":gh:`122744`: Bump the version of pip bundled in ensurepip to version 24.2." msgstr "" -#: ../NEWS:1436 +#: ../NEWS:1479 msgid "" ":gh:`118814`: Fix the :class:`typing.TypeVar` constructor when name is " "passed by keyword." msgstr "" -#: ../NEWS:1439 +#: ../NEWS:1482 msgid "" ":gh:`122478`: Remove internal frames from tracebacks shown in :class:`code." "InteractiveInterpreter` with non-default :func:`sys.excepthook`. Save " @@ -2621,32 +2690,32 @@ msgid "" "last_exc`." msgstr "" -#: ../NEWS:1445 +#: ../NEWS:1488 msgid "" ":gh:`116622`: On Android, the ``FICLONE`` and ``FICLONERANGE`` constants are " "no longer exposed by :mod:`fcntl`, as these ioctls are blocked by SELinux." msgstr "" -#: ../NEWS:1448 +#: ../NEWS:1491 msgid "" ":gh:`82378`: Make sure that the new :term:`REPL` interprets :data:`sys." "tracebacklimit` in the same way that the classic REPL did." msgstr "" -#: ../NEWS:1451 +#: ../NEWS:1494 msgid "" ":gh:`122334`: Fix crash when importing :mod:`ssl` after the main interpreter " "restarts." msgstr "" -#: ../NEWS:1454 +#: ../NEWS:1497 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 :term:`REPL`." msgstr "" -#: ../NEWS:1458 +#: ../NEWS:1501 msgid "" ":gh:`121650`: :mod:`email` headers with embedded newlines are now quoted on " "output. The :mod:`~email.generator` will now refuse to serialize (write) " @@ -2655,186 +2724,186 @@ msgid "" "Viktorin in :gh:`121650`.)" msgstr "" -#: ../NEWS:1464 +#: ../NEWS:1507 msgid "" ":gh:`121723`: Make :func:`logging.config.dictConfig` accept any object " "implementing the Queue public API. See the :ref:`queue configuration " "` section for details. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1468 +#: ../NEWS:1511 msgid "" ":gh:`122081`: Fix a crash in the :func:`!decimal.IEEEContext` optional " "function available via the ``EXTRA_FUNCTIONALITY`` configuration flag." msgstr "" -#: ../NEWS:1471 +#: ../NEWS:1514 msgid "" ":gh:`121804`: Correctly show error locations, when :exc:`SyntaxError` raised " "in new repl. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:1474 +#: ../NEWS:1517 msgid "" ":gh:`121151`: Fix wrapping of long usage text of arguments inside a mutually " "exclusive group in :mod:`argparse`." msgstr "" -#: ../NEWS:1477 +#: ../NEWS:1520 msgid "" ":gh:`108172`: ``webbrowser`` honors OS preferred browser on Linux when its " "desktop entry name contains the text of a known browser name." msgstr "" -#: ../NEWS:1480 ../NEWS:6923 +#: ../NEWS:1523 ../NEWS:6966 msgid "" ":gh:`109109`: You can now get the raw TLS certificate chains from TLS " "connections via :meth:`ssl.SSLSocket.get_verified_chain` and :meth:`ssl." "SSLSocket.get_unverified_chain` methods." msgstr "" -#: ../NEWS:1484 ../NEWS:6927 +#: ../NEWS:1527 ../NEWS:6970 msgid "Contributed by Mateusz Nowak." msgstr "" -#: ../NEWS:1489 +#: ../NEWS:1532 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 "" -#: ../NEWS:1496 +#: ../NEWS:1539 msgid "" ":gh:`120221`: asyncio REPL is now again properly recognizing " "KeyboardInterrupts. Display of exceptions raised in secondary threads is " "fixed." msgstr "" -#: ../NEWS:1500 +#: ../NEWS:1543 msgid "" ":gh:`119310`: Allow the new interactive shell to read history files written " "with the editline library that use unicode-escaped entries. Patch by " "aorcajo and Łukasz Langa." msgstr "" -#: ../NEWS:1504 +#: ../NEWS:1547 msgid "" ":gh:`123572`: Fix key mappings for various F-keys in Windows for the new " "REPL. Patch by devdanzin" msgstr "" -#: ../NEWS:1507 +#: ../NEWS:1550 msgid "" ":gh:`119034`: Change ```` and ```` keys of the Python " "REPL to history search forward/backward. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1510 +#: ../NEWS:1553 msgid "" ":gh:`123545`: Fix a double decref in rare cases on experimental JIT builds." msgstr "" -#: ../NEWS:1512 +#: ../NEWS:1555 msgid "" ":gh:`123484`: Fix ``_Py_DebugOffsets`` for long objects to be relative to " "the start of the object rather than the start of a subobject." msgstr "" -#: ../NEWS:1515 +#: ../NEWS:1558 msgid ":gh:`123344`: Add AST optimizations for type parameter defaults." msgstr "" -#: ../NEWS:1517 +#: ../NEWS:1560 msgid "" ":gh:`123321`: Prevent Parser/myreadline race condition from segfaulting on " "multi-threaded use. Patch by Bar Harel and Amit Wienner." msgstr "" -#: ../NEWS:1520 +#: ../NEWS:1563 msgid "" ":gh:`123177`: Fix a bug causing stray prompts to appear in the middle of " "wrapped lines in the new REPL." msgstr "" -#: ../NEWS:1523 +#: ../NEWS:1566 msgid "" ":gh:`122982`: Extend the deprecation period for bool inversion (``~``) by " "two years." msgstr "" -#: ../NEWS:1526 +#: ../NEWS:1569 msgid "" ":gh:`123275`: Support :option:`-X gil=1 <-X>` and :envvar:`PYTHON_GIL=1 " "` on non-free-threaded builds." msgstr "" -#: ../NEWS:1529 +#: ../NEWS:1572 msgid "" ":gh:`123177`: Deactivate line wrap in the Apple Terminal via a ANSI escape " "code. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1532 +#: ../NEWS:1575 msgid "" ":gh:`123229`: Fix valgrind warning by initializing the f-string buffers to 0 " "in the tokenizer. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1535 +#: ../NEWS:1578 msgid "" ":gh:`122298`: Restore printout of GC stats when ``gc.set_debug(gc." "DEBUG_STATS)`` is called. This featue was accidentally removed when " "implementing incremental GC." msgstr "" -#: ../NEWS:1539 +#: ../NEWS:1582 msgid "" ":gh:`121804`: Correctly show error locations when a :exc:`SyntaxError` is " "raised in the basic REPL. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:1542 +#: ../NEWS:1585 msgid "" ":gh:`123142`: Fix too-wide source location in exception tracebacks coming " "from broken iterables in comprehensions." msgstr "" -#: ../NEWS:1545 +#: ../NEWS:1588 msgid "" ":gh:`123048`: Fix a bug where pattern matching code could emit a :opcode:" "`JUMP_FORWARD` with no source location." msgstr "" -#: ../NEWS:1548 +#: ../NEWS:1591 msgid "" ":gh:`123123`: Fix displaying :exc:`SyntaxError` exceptions covering multiple " "lines. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1551 +#: ../NEWS:1594 msgid "" ":gh:`123083`: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT``." msgstr "" -#: ../NEWS:1553 +#: ../NEWS:1596 msgid "" ":gh:`123022`: Fix crash in free-threaded build when calling :c:func:" "`Py_Initialize` from a non-main thread." msgstr "" -#: ../NEWS:1556 +#: ../NEWS:1599 msgid "" ":gh:`122888`: Fix crash on certain calls to ``str()`` with positional " "arguments of the wrong type. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:1559 +#: ../NEWS:1602 msgid "" ":gh:`116622`: Fix Android stdout and stderr messages being truncated or lost." msgstr "" -#: ../NEWS:1561 +#: ../NEWS:1604 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 :" @@ -2842,60 +2911,60 @@ msgid "" "that aren't included in the :c:macro:`Py_SIZE` of the sequence." msgstr "" -#: ../NEWS:1566 +#: ../NEWS:1609 msgid "" ":gh:`122445`: Add only fields which are modified via self.* to :attr:`~type." "__static_attributes__`." msgstr "" -#: ../NEWS:1569 +#: ../NEWS:1612 msgid "" ":gh:`98442`: Fix too wide source locations of the cleanup instructions of a " "with statement." msgstr "" -#: ../NEWS:1572 +#: ../NEWS:1615 msgid "" ":gh:`93691`: Fix source locations of instructions generated for with " "statements." msgstr "" -#: ../NEWS:1575 +#: ../NEWS:1618 msgid "" ":gh:`120097`: ``FrameLocalsProxy`` now subclasses ``collections.abc." "Mapping`` and can be matched as a mapping in ``match`` statements" msgstr "" -#: ../NEWS:1581 +#: ../NEWS:1624 msgid "" ":gh:`122728`: Fix :c:func:`PyEval_GetLocals` to avoid :exc:`SystemError` " "(\"bad argument to internal function\"). Patch by Victor Stinner." msgstr "" -#: ../NEWS:1587 +#: ../NEWS:1630 msgid ":gh:`123418`: Updated Android build to use OpenSSL 3.0.15." msgstr "" -#: ../NEWS:1589 +#: ../NEWS:1632 msgid "" ":gh:`123297`: Propagate the value of ``LDFLAGS`` to ``LDCXXSHARED`` in :mod:" "`sysconfig`. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1592 +#: ../NEWS:1635 msgid "" ":gh:`116622`: Rename build variable ``MODULE_LDFLAGS`` back to " "``LIBPYTHON``, as it's used by package build systems (e.g. Meson)." msgstr "" -#: ../NEWS:1595 +#: ../NEWS:1638 msgid "" ":gh:`118943`: Fix an issue where the experimental JIT could be built several " "times by the ``make regen-all`` target, leading to possible race conditions " "on heavily parallelized builds." msgstr "" -#: ../NEWS:1599 +#: ../NEWS:1642 msgid "" ":gh:`118943`: Fix a possible race condition affecting parallel builds " "configured with ``--enable-experimental-jit``, in which :exc:" @@ -2903,41 +2972,41 @@ msgid "" "``jit_stencils.h.new`` to ``jit_stencils.h``." msgstr "" -#: ../NEWS:1606 +#: ../NEWS:1649 msgid "Python 3.13.0 release candidate 1" msgstr "" -#: ../NEWS:1608 +#: ../NEWS:1651 msgid "*Release date: 2024-07-31*" msgstr "" -#: ../NEWS:1613 +#: ../NEWS:1656 msgid "" ":gh:`59022`: Add tests for :func:`pkgutil.extend_path`. Patch by Andreas " "Stocker." msgstr "" -#: ../NEWS:1616 +#: ../NEWS:1659 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 "" -#: ../NEWS:1623 +#: ../NEWS:1666 msgid "" ":gh:`122133`: Authenticate the socket connection for the ``socket." "socketpair()`` fallback on platforms where ``AF_UNIX`` is not available like " "Windows." msgstr "" -#: ../NEWS:1627 +#: ../NEWS:1670 msgid "" "Patch by Gregory P. Smith and Seth Larson . Reported by Ellie " msgstr "" -#: ../NEWS:1630 +#: ../NEWS:1673 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 " @@ -2945,192 +3014,192 @@ msgid "" "run_startup``." msgstr "" -#: ../NEWS:1638 +#: ../NEWS:1681 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 "" -#: ../NEWS:1642 +#: ../NEWS:1685 msgid ":gh:`122311`: Fix some error messages in :mod:`pickle`." msgstr "" -#: ../NEWS:1644 +#: ../NEWS:1687 msgid "" ":gh:`122332`: Fixed segfault with :meth:`asyncio.Task.get_coro` when using " "an eager task factory." msgstr "" -#: ../NEWS:1647 +#: ../NEWS:1690 msgid "" ":gh:`105733`: :func:`ctypes.ARRAY` is now :term:`soft deprecated`: it no " "longer emits deprecation warnings and is not scheduled for removal." msgstr "" -#: ../NEWS:1650 +#: ../NEWS:1693 msgid "" ":gh:`122087`: Restore :func:`inspect.ismethoddescriptor` and :func:`inspect." "isroutine` returning ``False`` for :class:`functools.partial` objects." msgstr "" -#: ../NEWS:1654 +#: ../NEWS:1697 msgid "" ":gh:`122170`: Handle :exc:`ValueError`\\s raised by :func:`os.stat` in :mod:" "`linecache`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1657 +#: ../NEWS:1700 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 "" -#: ../NEWS:1661 +#: ../NEWS:1704 msgid "" ":gh:`113785`: :mod:`csv` now correctly parses numeric fields (when used " "with :const:`csv.QUOTE_NONNUMERIC` or :const:`csv.QUOTE_STRINGS`) which " "start with an escape character." msgstr "" -#: ../NEWS:1665 +#: ../NEWS:1708 msgid "" ":gh:`122088`: :func:`@warnings.deprecated ` now copies " "the coroutine status of functions and methods so that :func:`inspect." "iscoroutinefunction` returns the correct result." msgstr "" -#: ../NEWS:1669 +#: ../NEWS:1712 msgid "" ":gh:`120930`: Fixed a bug introduced by :gh:`92081` that added an incorrect " "extra blank to encoded words occurring in wrapped headers." msgstr "" -#: ../NEWS:1672 +#: ../NEWS:1715 msgid "" ":gh:`121474`: Fix missing sanity check for ``parties`` arg in :class:" "`threading.Barrier` constructor. Patch by Clinton Christian (pygeek)." msgstr "" -#: ../NEWS:1676 +#: ../NEWS:1719 msgid "" ":gh:`120289`: Fixed the use-after-free issue in :mod:`cProfile` by " "disallowing ``disable()`` and ``clear()`` in external timers." msgstr "" -#: ../NEWS:1682 +#: ../NEWS:1725 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 "" -#: ../NEWS:1688 +#: ../NEWS:1731 msgid "" ":gh:`116090`: Fix an issue in JIT builds that prevented some :keyword:`for` " "loops from correctly firing :monitoring-event:`RAISE` monitoring events." msgstr "" -#: ../NEWS:1691 +#: ../NEWS:1734 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 "" -#: ../NEWS:1694 +#: ../NEWS:1737 msgid "" ":gh:`122300`: Preserve AST nodes for f-string with single-element format " "specifiers. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1697 +#: ../NEWS:1740 msgid "" ":gh:`120906`: :attr:`frame.f_locals` now supports arbitrary hashable objects " "as keys." msgstr "" -#: ../NEWS:1700 +#: ../NEWS:1743 msgid "" ":gh:`122029`: Emit ``c_call`` events in :func:`sys.setprofile` when a " "``PyMethodObject`` pointing to a ``PyCFunction`` is called." msgstr "" -#: ../NEWS:1703 +#: ../NEWS:1746 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 "" -#: ../NEWS:1707 +#: ../NEWS:1750 msgid ":gh:`118934`: Make ``PyEval_GetLocals`` return borrowed reference" msgstr "" -#: ../NEWS:1712 +#: ../NEWS:1755 msgid "" ":gh:`116622`: Make :any:`PyObject_Print` work around a bug in Android and " "OpenBSD which prevented it from throwing an exception when trying to write " "to a read-only stream." msgstr "" -#: ../NEWS:1716 +#: ../NEWS:1759 msgid ":gh:`121489`: Export private :c:func:`!_PyBytes_Join` again." msgstr "" -#: ../NEWS:1721 +#: ../NEWS:1764 msgid "" ":gh:`120522`: Added a :option:`--with-app-store-compliance` option to patch " "out known issues with macOS/iOS App Store review processes." msgstr "" -#: ../NEWS:1726 +#: ../NEWS:1769 msgid "Python 3.13.0 beta 4" msgstr "" -#: ../NEWS:1728 +#: ../NEWS:1771 msgid "*Release date: 2024-07-18*" msgstr "" -#: ../NEWS:1733 +#: ../NEWS:1776 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 "" -#: ../NEWS:1737 +#: ../NEWS:1780 msgid "" ":gh:`121160`: Add a test for :func:`readline.set_history_length`. Note that " "this test may fail on readline libraries." msgstr "" -#: ../NEWS:1740 +#: ../NEWS:1783 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 "" -#: ../NEWS:1744 +#: ../NEWS:1787 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 "" -#: ../NEWS:1751 +#: ../NEWS:1794 msgid "" ":gh:`57141`: The *shallow* argument to :class:`filecmp.dircmp` (new in " "Python 3.13) is now keyword-only." msgstr "" -#: ../NEWS:1754 +#: ../NEWS:1797 msgid "" ":gh:`121245`: Simplify handling of the history file in ``site." "register_readline()`` helper. The ``CAN_USE_PYREPL`` variable now will be " "initialized, when imported. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:1758 +#: ../NEWS:1801 msgid "" ":gh:`121332`: Fix constructor of :mod:`ast` nodes with custom " "``_attributes``. Previously, passing custom attributes would raise a :py:exc:" @@ -3138,191 +3207,191 @@ msgid "" "``_fields`` or ``_attributes`` remains deprecated. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:1764 +#: ../NEWS:1807 msgid "" ":gh:`121279`: Avoid :exc:`NameError` for the :mod:`warnings` module when " "accessing the depracated atributes of the :mod:`importlib.abc` module." msgstr "" -#: ../NEWS:1767 +#: ../NEWS:1810 msgid "" ":gh:`121245`: Fix a bug in the handling of the command history of the new :" "term:`REPL` that caused the history file to be wiped at REPL exit." msgstr "" -#: ../NEWS:1770 +#: ../NEWS:1813 msgid "" ":gh:`87744`: Fix waitpid race while calling :meth:`~asyncio.subprocess." "Process.send_signal` in asyncio. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:1774 +#: ../NEWS:1817 msgid "" ":gh:`121018`: Fixed other issues where :class:`argparse.ArgumentParser` did " "not honor ``exit_on_error=False``." msgstr "" -#: ../NEWS:1777 +#: ../NEWS:1820 msgid "" ":gh:`120678`: Fix regression in the new REPL that meant that globals from " "files passed using the ``-i`` argument would not be included in the REPL's " "global namespace. Patch by Alex Waygood." msgstr "" -#: ../NEWS:1781 +#: ../NEWS:1824 msgid "" ":gh:`120782`: Fix wrong references of the :mod:`datetime` types after " "reloading the module." msgstr "" -#: ../NEWS:1784 +#: ../NEWS:1827 msgid "" ":gh:`120713`: :meth:`datetime.datetime.strftime` now 0-pads years with less " "than four digits for the format specifiers ``%Y`` and ``%G`` on Linux. Patch " "by Ben Hsing" msgstr "" -#: ../NEWS:1788 +#: ../NEWS:1831 msgid "" ":gh:`117983`: Defer the ``threading`` import in ``importlib.util`` until " "lazy loading is used." msgstr "" -#: ../NEWS:1791 +#: ../NEWS:1834 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 "" -#: ../NEWS:1796 +#: ../NEWS:1839 msgid "" ":gh:`118714`: Allow ``restart`` in post-mortem debugging of :mod:`pdb`. " "Removed restart message when the user quits pdb from post-mortem mode." msgstr "" -#: ../NEWS:1799 +#: ../NEWS:1842 msgid "" ":gh:`105623`: Fix performance degradation in :class:`logging.handlers." "RotatingFileHandler`. Patch by Craig Robson." msgstr "" -#: ../NEWS:1805 +#: ../NEWS:1848 msgid "" ":gh:`78889`: Stop Shell freezes by blocking user access to non-method sys." "stdout.shell attributes, which are all private." msgstr "" -#: ../NEWS:1811 +#: ../NEWS:1854 msgid ":gh:`121749`: Fix documentation for :c:func:`PyModule_AddObjectRef`." msgstr "" -#: ../NEWS:1813 +#: ../NEWS:1856 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 "" -#: ../NEWS:1820 +#: ../NEWS:1863 msgid "" ":gh:`121860`: Fix crash when rematerializing a managed dictionary after it " "was deleted." msgstr "" -#: ../NEWS:1823 +#: ../NEWS:1866 msgid "" ":gh:`121814`: Fixed the SegFault when :c:func:`PyEval_SetTrace` is used with " "no Python frame on stack." msgstr "" -#: ../NEWS:1826 +#: ../NEWS:1869 msgid "" ":gh:`121295`: Fix PyREPL console getting into a blocked state after " "interrupting a long paste" msgstr "" -#: ../NEWS:1829 +#: ../NEWS:1872 msgid "" ":gh:`121794`: Fix bug in free-threaded Python where a resurrected object " "could lead to a negative ref count assertion failure." msgstr "" -#: ../NEWS:1832 +#: ../NEWS:1875 msgid "" ":gh:`121657`: Improve the :exc:`SyntaxError` message if the user tries to " "use :keyword:`yield from ` outside a function." msgstr "" -#: ../NEWS:1835 +#: ../NEWS:1878 msgid "" ":gh:`121609`: Fix pasting of characters containing unicode character joiners " "in the new REPL. Patch by Marta Gomez Macias" msgstr "" -#: ../NEWS:1838 +#: ../NEWS:1881 msgid "" ":gh:`117482`: Unexpected slot wrappers are no longer created for builtin " "static types in subinterpreters." msgstr "" -#: ../NEWS:1841 +#: ../NEWS:1884 msgid "" ":gh:`121499`: Fix a bug affecting how multi-line history was being rendered " "in the new REPL after interacting with the new screen cache. Patch by Pablo " "Galindo" msgstr "" -#: ../NEWS:1845 +#: ../NEWS:1888 msgid "" ":gh:`121497`: Fix a bug that was preventing the REPL to correctly respect " "the history when an input hook was set. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1848 +#: ../NEWS:1891 msgid "" ":gh:`121012`: Tier 2 execution now ensures that list iterators remain " "exhausted, once they become exhausted." msgstr "" -#: ../NEWS:1851 +#: ../NEWS:1894 msgid ":gh:`121439`: Allow tuples of length 20 in the freelist to be reused." msgstr "" -#: ../NEWS:1853 +#: ../NEWS:1896 msgid "" ":gh:`121368`: Fix race condition in ``_PyType_Lookup`` in the free-threaded " "build due to a missing memory fence. This could lead to ``_PyType_Lookup`` " "returning incorrect results on arm64." msgstr "" -#: ../NEWS:1857 +#: ../NEWS:1900 msgid "" ":gh:`121130`: Fix f-strings with debug expressions in format specifiers. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1860 +#: ../NEWS:1903 msgid "" ":gh:`121115`: :c:func:`PyLong_AsNativeBytes` no longer uses :meth:`~object." "__index__` methods by default. The ``Py_ASNATIVEBYTES_ALLOW_INDEX`` flag has " "been added to allow it." msgstr "" -#: ../NEWS:1867 +#: ../NEWS:1910 msgid "" ":gh:`89364`: Export the :c:func:`PySignal_SetWakeupFd` function. Previously, " "the function was documented but it couldn't be used in 3rd party code. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:1871 +#: ../NEWS:1914 msgid "" ":gh:`113993`: :c:func:`PyUnicode_InternInPlace` no longer prevents its " "argument from being garbage collected." msgstr "" -#: ../NEWS:1874 +#: ../NEWS:1917 msgid "" "Several functions that take ``char *`` are now documented as possibly " "preventing string objects from being garbage collected; refer to their " @@ -3332,77 +3401,77 @@ msgid "" "``PyModule_Add*`` convenience functions." msgstr "" -#: ../NEWS:1881 +#: ../NEWS:1924 msgid "" ":gh:`113601`: Removed debug build assertions related to interning strings, " "which were falsely triggered by stable ABI extensions." msgstr "" -#: ../NEWS:1884 +#: ../NEWS:1927 msgid "" ":gh:`112136`: Restore the private ``_PyArg_Parser`` structure and the " "private ``_PyArg_ParseTupleAndKeywordsFast()`` function, previously removed " "in Python 3.13 alpha 1. Patch by Victor Stinner." msgstr "" -#: ../NEWS:1891 +#: ../NEWS:1934 msgid "" ":gh:`120371`: Support WASI SDK 22 by explicitly skipping functions that are " "just stubs in wasi-libc." msgstr "" -#: ../NEWS:1894 +#: ../NEWS:1937 msgid ":gh:`121731`: Fix mimalloc compile error on GNU/Hurd" msgstr "" -#: ../NEWS:1896 +#: ../NEWS:1939 msgid ":gh:`121487`: Fix deprecation warning for ATOMIC_VAR_INIT in mimalloc." msgstr "" -#: ../NEWS:1898 +#: ../NEWS:1941 msgid "" ":gh:`121467`: Fix a Makefile bug that prevented mimalloc header files from " "being installed." msgstr "" -#: ../NEWS:1901 +#: ../NEWS:1944 msgid "" ":gh:`121103`: On POSIX systems, excluding macOS framework installs, the lib " "directory for the free-threaded build now includes a \"t\" suffix to avoid " "conflicts with a co-located default build installation." msgstr "" -#: ../NEWS:1905 +#: ../NEWS:1948 msgid ":gh:`120831`: The default minimum iOS version was increased to 13.0." msgstr "" -#: ../NEWS:1907 +#: ../NEWS:1950 msgid "" ":gh:`113565`: Improve :mod:`curses` and :mod:`curses.panel` dependency " "checks in :program:`configure`." msgstr "" -#: ../NEWS:1912 +#: ../NEWS:1955 msgid "Python 3.13.0 beta 3" msgstr "" -#: ../NEWS:1914 +#: ../NEWS:1957 msgid "*Release date: 2024-06-27*" msgstr "" -#: ../NEWS:1919 +#: ../NEWS:1962 msgid "" ":gh:`120838`: :c:func:`Py_Finalize()` and :c:func:`Py_FinalizeEx()` now " "always run with the main interpreter active." msgstr "" -#: ../NEWS:1922 +#: ../NEWS:1965 msgid "" ":gh:`113433`: Subinterpreters now get cleaned up automatically during " "runtime finalization." msgstr "" -#: ../NEWS:1925 +#: ../NEWS:1968 msgid "" ":gh:`119462`: Make sure that invariants of type versioning are maintained: * " "Superclasses always have their version number assigned before subclasses * " @@ -3410,26 +3479,26 @@ msgid "" "always non-zero if the tag is valid." msgstr "" -#: ../NEWS:1930 +#: ../NEWS:1973 msgid "" ":gh:`120437`: Fix ``_CHECK_STACK_SPACE`` optimization problems introduced " "in :gh:`118322`." msgstr "" -#: ../NEWS:1933 +#: ../NEWS:1976 msgid "" ":gh:`120722`: Correctly set the bytecode position on return instructions " "within lambdas. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:1936 +#: ../NEWS:1979 msgid "" ":gh:`120367`: Fix bug where compiler creates a redundant jump during pseudo-" "op replacement. Can only happen with a synthetic AST that has a try on the " "same line as the instruction following the exception handler." msgstr "" -#: ../NEWS:1940 +#: ../NEWS:1983 msgid "" ":gh:`113993`: Strings interned with :func:`sys.intern` are again garbage-" "collected when no longer used, as per the documentation. Strings interned " @@ -3438,7 +3507,7 @@ msgid "" "affect performance and identities of :class:`str` objects." msgstr "" -#: ../NEWS:1946 +#: ../NEWS:1989 msgid "" ":gh:`120384`: Fix an array out of bounds crash in ``list_ass_subscript``, " "which could be invoked via some specificly tailored input: including " @@ -3446,141 +3515,141 @@ msgid "" "and another clears it." msgstr "" -#: ../NEWS:1951 +#: ../NEWS:1994 msgid "" ":gh:`120367`: Fix crash in compiler on code with redundant NOPs and JUMPs " "which show up after exception handlers are moved to the end of the code." msgstr "" -#: ../NEWS:1954 +#: ../NEWS:1997 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 "" -#: ../NEWS:1958 +#: ../NEWS:2001 msgid "" ":gh:`120400`: Support Linux perf profiler to see Python calls on RISC-V " "architecture." msgstr "" -#: ../NEWS:1961 +#: ../NEWS:2004 msgid "" ":gh:`120221`: Deliver real signals on Ctrl-C and Ctrl-Z in the new REPL. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1964 +#: ../NEWS:2007 msgid "" ":gh:`120346`: Respect :envvar:`PYTHON_BASIC_REPL` when running in interative " "inspect mode (``python -i``). Patch by Pablo Galindo" msgstr "" -#: ../NEWS:1967 +#: ../NEWS:2010 msgid "" ":gh:`93691`: Fix source locations of instructions generated for the iterator " "of a for statement." msgstr "" -#: ../NEWS:1970 +#: ../NEWS:2013 msgid "" ":gh:`120198`: Fix a crash when multiple threads read and write to the same " "``__class__`` of an object concurrently." msgstr "" -#: ../NEWS:1973 +#: ../NEWS:2016 msgid "" ":gh:`120298`: Fix use-after free in ``list_richcompare_impl`` which can be " "invoked via some specificly tailored evil input." msgstr "" -#: ../NEWS:1976 +#: ../NEWS:2019 msgid "" ":gh:`119666`: Fix a compiler crash in the case where two comprehensions in " "class scope both reference ``__class__``." msgstr "" -#: ../NEWS:1979 +#: ../NEWS:2022 msgid "" ":gh:`120225`: Fix crash in compiler on empty block at end of exception " "handler." msgstr "" -#: ../NEWS:1982 +#: ../NEWS:2025 msgid "" ":gh:`119933`: Improve :exc:`SyntaxError` messages for invalid expressions in " "a type parameters bound, a type parameter constraint tuple or a default type " "parameter. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1986 +#: ../NEWS:2029 msgid "" ":issue:`24766`: Fix handling of ``doc`` argument to subclasses of " "``property``." msgstr "" -#: ../NEWS:1991 +#: ../NEWS:2034 msgid "" ":gh:`121027`: Add a future warning in :meth:`!functools.partial.__get__`. In " "future Python versions :class:`functools.partial` will be a method " "descriptor." msgstr "" -#: ../NEWS:1995 +#: ../NEWS:2038 msgid "" ":gh:`121025`: Improve the :meth:`~object.__repr__` of :class:`functools." "partialmethod`. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:1998 +#: ../NEWS:2041 msgid "" ":gh:`121018`: Fixed an issue where :meth:`!argparse.ArgumentParser." "parses_args` did not honor ``exit_on_error=False`` when given unrecognized " "arguments. Patch by Ben Hsing." msgstr "" -#: ../NEWS:2003 +#: ../NEWS:2046 msgid "" ":gh:`119614`: Fix truncation of strings with embedded null characters in " "some internal operations in :mod:`tkinter`." msgstr "" -#: ../NEWS:2006 +#: ../NEWS:2049 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 "" -#: ../NEWS:2010 +#: ../NEWS:2053 msgid ":gh:`120888`: Upgrade pip wheel bundled with ensurepip (pip 24.1.1)" msgstr "" -#: ../NEWS:2012 +#: ../NEWS:2055 msgid "" ":gh:`101830`: Accessing the :mod:`tkinter` object's string representation no " "longer converts the underlying Tcl object to a string on Windows." msgstr "" -#: ../NEWS:2015 +#: ../NEWS:2058 msgid "" ":gh:`120811`: Fix possible memory leak in :meth:`contextvars.Context.run`." msgstr "" -#: ../NEWS:2017 +#: ../NEWS:2060 msgid "" ":gh:`120769`: Make empty line in :mod:`pdb` repeats the last command even " "when the command is from ``cmdqueue``." msgstr "" -#: ../NEWS:2020 +#: ../NEWS:2063 msgid "" ":gh:`120732`: Fix ``name`` passing to :class:`unittest.mock.Mock` object " "when using :func:`unittest.mock.create_autospec`." msgstr "" -#: ../NEWS:2023 +#: ../NEWS:2066 msgid "" ":gh:`120683`: Fix an error in :class:`logging.LogRecord`, when the integer " "part of the timestamp is rounded up, while the millisecond calculation " @@ -3588,47 +3657,47 @@ msgid "" "roughly 1 in 8 million timestamps)." msgstr "" -#: ../NEWS:2028 +#: ../NEWS:2071 msgid ":gh:`120633`: Move scrollbar and remove tear-off menus in turtledemo." msgstr "" -#: ../NEWS:2030 +#: ../NEWS:2073 msgid "" ":gh:`120541`: Improve the prompt in the \"less\" pager when :func:`help` is " "called with non-string argument." msgstr "" -#: ../NEWS:2033 +#: ../NEWS:2076 msgid "" ":gh:`120495`: Fix incorrect exception handling in Tab Nanny. Patch by " "Wulian233." msgstr "" -#: ../NEWS:2036 +#: ../NEWS:2079 msgid "" ":gh:`120381`: Correct :func:`inspect.ismethoddescriptor` to check also for " "the lack of :meth:`~object.__delete__`. Patch by Jan Kaliszewski." msgstr "" -#: ../NEWS:2039 +#: ../NEWS:2082 msgid "" ":gh:`90425`: The OS byte in gzip headers is now always set to 255 when " "using :func:`gzip.compress`." msgstr "" -#: ../NEWS:2042 +#: ../NEWS:2085 msgid "" ":gh:`120343`: Fix column offset reporting for tokens that come after " "multiline f-strings in the :mod:`tokenize` module." msgstr "" -#: ../NEWS:2045 +#: ../NEWS:2088 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 "" -#: ../NEWS:2048 +#: ../NEWS:2091 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 " @@ -3636,7 +3705,7 @@ msgid "" "annotations`` semantics were enabled. Patch by Alex Waygood." msgstr "" -#: ../NEWS:2053 +#: ../NEWS:2096 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:" @@ -3644,78 +3713,78 @@ msgid "" "annotations`` at the top of the file. Patch by Alex Waygood." msgstr "" -#: ../NEWS:2059 +#: ../NEWS:2102 msgid "" ":gh:`120268`: Prohibit passing ``None`` to pure-Python :meth:`datetime.date." "fromtimestamp` to achieve consistency with C-extension implementation." msgstr "" -#: ../NEWS:2063 +#: ../NEWS:2106 msgid "" ":gh:`120244`: Fix memory leak in :func:`re.sub` when the replacement string " "contains backreferences." msgstr "" -#: ../NEWS:2066 +#: ../NEWS:2109 msgid ":gh:`120211`: Fix :mod:`tkinter.ttk` with Tcl/Tk 9.0." msgstr "" -#: ../NEWS:2068 +#: ../NEWS:2111 msgid "" ":gh:`71587`: Fix crash in C version of :meth:`datetime.datetime.strptime` " "when called again on the restarted interpreter." msgstr "" -#: ../NEWS:2071 +#: ../NEWS:2114 msgid "" ":gh:`120161`: :mod:`datetime` no longer crashes in certain complex reference " "cycle situations." msgstr "" -#: ../NEWS:2074 +#: ../NEWS:2117 msgid "" ":gh:`119698`: Fix :meth:`symtable.Class.get_methods` and document its " "behaviour. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:2077 +#: ../NEWS:2120 msgid "" ":gh:`120121`: Add :exc:`concurrent.futures.InvalidStateError` to module's " "``__all__``." msgstr "" -#: ../NEWS:2080 +#: ../NEWS:2123 msgid "" ":gh:`119933`: Add the :class:`symtable.SymbolTableType` enumeration to " "represent the possible outputs of the :class:`symtable.SymbolTable.get_type` " "method. Patch by Bénédikt Tran." msgstr "" -#: ../NEWS:2084 +#: ../NEWS:2127 msgid "" ":gh:`120108`: Fix calling :func:`copy.deepcopy` on :mod:`ast` trees that " "have been modified to have references to parent nodes. Patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:2087 +#: ../NEWS:2130 msgid ":gh:`112672`: Support building :mod:`tkinter` with Tcl 9.0." msgstr "" -#: ../NEWS:2089 +#: ../NEWS:2132 msgid "" ":gh:`65454`: :func:`unittest.mock.Mock.attach_mock` no longer triggers a " "call to a ``PropertyMock`` being attached." msgstr "" -#: ../NEWS:2092 +#: ../NEWS:2135 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 "" -#: ../NEWS:2096 +#: ../NEWS:2139 msgid "" ":gh:`119577`: The :exc:`DeprecationWarning` emitted when testing the truth " "value of an :class:`xml.etree.ElementTree.Element` now describes " @@ -3723,122 +3792,122 @@ msgid "" "an exception in Python 3.14." msgstr "" -#: ../NEWS:2101 +#: ../NEWS:2144 msgid "" ":gh:`118908`: Limit exposed globals from internal imports and definitions on " "new REPL startup. Patch by Eugene Triguba and Pablo Galindo." msgstr "" -#: ../NEWS:2104 +#: ../NEWS:2147 msgid "" ":gh:`119506`: Fix :meth:`!io.TextIOWrapper.write` method breaks internal " "buffer when the method is called again during flushing internal buffer." msgstr "" -#: ../NEWS:2110 +#: ../NEWS:2153 msgid "" ":gh:`120671`: Fix failing configure tests due to a missing space when " "appending to CFLAGS." msgstr "" -#: ../NEWS:2113 +#: ../NEWS:2156 msgid "" ":gh:`120602`: Correctly handle LLVM installs with ``LLVM_VERSION_SUFFIX`` " "when building with ``--enable-experimental-jit``." msgstr "" -#: ../NEWS:2116 +#: ../NEWS:2159 msgid "" ":gh:`120326`: On Windows, fix build error when ``--disable-gil`` and ``--" "experimental-jit`` options are combined." msgstr "" -#: ../NEWS:2119 +#: ../NEWS:2162 msgid "" ":gh:`120291`: Make the ``python-config`` shell script compatible with non-" "bash shells." msgstr "" -#: ../NEWS:2125 +#: ../NEWS:2168 msgid "" ":gh:`120642`: Remove the private ``_Py_CODEUNIT`` type from the public C " "API. The internal ``pycore_code.h`` header should now be used to get this " "internal type. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2129 +#: ../NEWS:2172 msgid "" ":gh:`120858`: :c:func:`PyDict_Next` no longer locks the dictionary in the " "free-threaded build. The locking needs to be done by the caller around the " "entire iteration loop." msgstr "" -#: ../NEWS:2133 +#: ../NEWS:2176 msgid ":gh:`120642`: Remove the following unstable functions:" msgstr "" -#: ../NEWS:2135 +#: ../NEWS:2178 msgid "``PyUnstable_Replace_Executor()``" msgstr "" -#: ../NEWS:2136 +#: ../NEWS:2179 msgid "``PyUnstable_SetOptimizer()``" msgstr "" -#: ../NEWS:2137 +#: ../NEWS:2180 msgid "``PyUnstable_GetOptimizer()``" msgstr "" -#: ../NEWS:2138 +#: ../NEWS:2181 msgid "``PyUnstable_GetExecutor()``" msgstr "" -#: ../NEWS:2139 +#: ../NEWS:2182 msgid "``PyUnstable_Optimizer_NewCounter()``" msgstr "" -#: ../NEWS:2140 +#: ../NEWS:2183 msgid "``PyUnstable_Optimizer_NewUOpOptimizer()``" msgstr "" -#: ../NEWS:2142 ../NEWS:3075 ../NEWS:3084 ../NEWS:4580 ../NEWS:6039 -#: ../NEWS:8515 ../NEWS:8543 ../NEWS:8554 ../NEWS:13705 ../NEWS:17356 -#: ../NEWS:17384 ../NEWS:18110 ../NEWS:19240 ../NEWS:20369 ../NEWS:20425 +#: ../NEWS:2185 ../NEWS:3118 ../NEWS:3127 ../NEWS:4623 ../NEWS:6082 +#: ../NEWS:8558 ../NEWS:8586 ../NEWS:8597 ../NEWS:13748 ../NEWS:17399 +#: ../NEWS:17427 ../NEWS:18153 ../NEWS:19283 ../NEWS:20412 ../NEWS:20468 msgid "Patch by Victor Stinner." msgstr "" -#: ../NEWS:2144 +#: ../NEWS:2187 msgid "" ":gh:`119344`: The critical section API is now public as part of the non-" "limited C API." msgstr "" -#: ../NEWS:2147 +#: ../NEWS:2190 msgid "" ":gh:`118789`: Add :c:func:`PyUnstable_Object_ClearWeakRefsNoCallbacks`, " "which clears weakrefs without calling their callbacks." msgstr "" -#: ../NEWS:2150 +#: ../NEWS:2193 msgid "" ":gh:`117511`: Make the :c:type:`PyMutex` public in the non-limited C API." msgstr "" -#: ../NEWS:2154 +#: ../NEWS:2197 msgid "Python 3.13.0 beta 2" msgstr "" -#: ../NEWS:2156 +#: ../NEWS:2199 msgid "*Release date: 2024-06-05*" msgstr "" -#: ../NEWS:2161 +#: ../NEWS:2204 msgid "" ":gh:`118773`: Fixes creation of ACLs in :func:`os.mkdir` on Windows to work " "correctly on non-English machines." msgstr "" -#: ../NEWS:2164 +#: ../NEWS:2207 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` " @@ -3846,67 +3915,67 @@ msgid "" "directory is more permissive than the default." msgstr "" -#: ../NEWS:2172 +#: ../NEWS:2215 msgid "" ":gh:`119724`: Reverted improvements to error messages for ``elif``/``else`` " "statements not matching any valid statements, which made in hard to locate " "the syntax errors inside those ``elif``/``else`` blocks." msgstr "" -#: ../NEWS:2176 +#: ../NEWS:2219 msgid "" ":gh:`119842`: Honor :c:func:`PyOS_InputHook` in the new REPL. Patch by Pablo " "Galindo" msgstr "" -#: ../NEWS:2179 +#: ../NEWS:2222 msgid "" ":gh:`119821`: Fix execution of :ref:`annotation scopes ` " "within classes when ``globals`` is set to a non-dict. Patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:2183 +#: ../NEWS:2226 msgid "" ":gh:`119548`: Add a ``clear`` command to the REPL. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:2185 +#: ../NEWS:2228 msgid ":gh:`111999`: Fix the signature of :meth:`str.format_map`." msgstr "" -#: ../NEWS:2187 +#: ../NEWS:2230 msgid "" ":gh:`119560`: An invalid assert in beta 1 has been removed. The assert " "would fail if ``PyState_FindModule()`` was used in an extension module's " "init function before the module def had been initialized." msgstr "" -#: ../NEWS:2191 +#: ../NEWS:2234 msgid "" ":gh:`119369`: Fix deadlock during thread deletion in free-threaded build, " "which could occur when the GIL was enabled at runtime." msgstr "" -#: ../NEWS:2194 +#: ../NEWS:2237 msgid "" ":gh:`119525`: Fix deadlock involving ``_PyType_Lookup()`` cache in the free-" "threaded build when the GIL is dynamically enabled at runtime." msgstr "" -#: ../NEWS:2197 +#: ../NEWS:2240 msgid "" ":gh:`119311`: Fix bug where names are unexpectedly mangled in the bases of " "generic classes." msgstr "" -#: ../NEWS:2200 +#: ../NEWS:2243 msgid "" ":gh:`119395`: Fix bug where names appearing after a generic class are " "mangled as if they are in the generic class." msgstr "" -#: ../NEWS:2203 +#: ../NEWS:2246 msgid "" ":gh:`119213`: Non-builtin modules built with argument clinic were crashing " "if used in a subinterpreter before the main interpreter. The objects that " @@ -3914,144 +3983,144 @@ msgid "" "been fixed." msgstr "" -#: ../NEWS:2208 +#: ../NEWS:2251 msgid "" ":gh:`119011`: Fixes ``type.__type_params__`` to return an empty tuple " "instead of a descriptor." msgstr "" -#: ../NEWS:2211 +#: ../NEWS:2254 msgid "" ":gh:`118692`: Avoid creating unnecessary :exc:`StopIteration` instances for " "monitoring." msgstr "" -#: ../NEWS:2214 +#: ../NEWS:2257 msgid "" ":gh:`119049`: Fix displaying the source line for warnings created by the C " "API if the :mod:`warnings` module had not yet been imported." msgstr "" -#: ../NEWS:2217 +#: ../NEWS:2260 msgid "" ":gh:`118844`: Fix build failures when configuring with both ``--disable-" "gil`` and ``--enable-experimental-jit``." msgstr "" -#: ../NEWS:2220 +#: ../NEWS:2263 msgid "" ":gh:`118921`: Add ``copy()`` method for ``FrameLocalsProxy`` which returns a " "snapshot ``dict`` for local variables." msgstr "" -#: ../NEWS:2223 +#: ../NEWS:2266 msgid "" ":gh:`117657`: Fix data races on the field that stores a pointer to the " "interpreter's main thread that occur in free-threaded builds." msgstr "" -#: ../NEWS:2226 +#: ../NEWS:2269 msgid "" ":gh:`118561`: Fix race condition in free-threaded build where :meth:`!list." "extend` could expose uninitialised memory to concurrent readers." msgstr "" -#: ../NEWS:2230 +#: ../NEWS:2273 msgid "" ":gh:`117195`: Avoid assertion failure for debug builds when calling ``object." "__sizeof__(1)``" msgstr "" -#: ../NEWS:2236 +#: ../NEWS:2279 msgid "" ":gh:`119819`: Fix regression to allow logging configuration with " "multiprocessing queue types." msgstr "" -#: ../NEWS:2239 +#: ../NEWS:2282 msgid "" ":gh:`117142`: The :mod:`ctypes` module may now be imported in all " "subinterpreters, including those that have their own GIL." msgstr "" -#: ../NEWS:2242 +#: ../NEWS:2285 msgid "" ":gh:`118835`: Fix _pyrepl crash when using custom prompt with ANSI escape " "codes." msgstr "" -#: ../NEWS:2245 +#: ../NEWS:2288 msgid "" ":gh:`117398`: The ``_datetime`` module (C implementation for :mod:" "`datetime`) now supports being imported in multiple interpreters." msgstr "" -#: ../NEWS:2248 +#: ../NEWS:2291 msgid "" ":gh:`89727`: Fix issue with :func:`shutil.rmtree` where a :exc:" "`RecursionError` is raised on deep directory trees." msgstr "" -#: ../NEWS:2251 +#: ../NEWS:2294 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 "" -#: ../NEWS:2255 +#: ../NEWS:2298 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 "" -#: ../NEWS:2259 +#: ../NEWS:2302 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 "" -#: ../NEWS:2263 +#: ../NEWS:2306 msgid "" ":gh:`119588`: ``zipfile.Path.is_symlink`` now assesses if the given path is " "a symlink." msgstr "" -#: ../NEWS:2266 +#: ../NEWS:2309 msgid "" ":gh:`119555`: Catch :exc:`SyntaxError` from :func:`compile` in the " "runsource() method of the InteractiveColoredConsole. Patch by Sergey B " "Kirpichev." msgstr "" -#: ../NEWS:2270 +#: ../NEWS:2313 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 "" -#: ../NEWS:2275 +#: ../NEWS:2318 msgid "" ":gh:`119443`: The interactive REPL no longer runs with ``from __future__ " "import annotations`` enabled. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:2278 +#: ../NEWS:2321 msgid "" ":gh:`117398`: Objects in the datetime C-API are now all statically " "allocated, which means better memory safety, especially when the module is " "reloaded. This should be transparent to users." msgstr "" -#: ../NEWS:2282 +#: ../NEWS:2325 msgid "" ":gh:`118894`: :mod:`asyncio` REPL now has the same capabilities as PyREPL." msgstr "" -#: ../NEWS:2284 +#: ../NEWS:2327 msgid "" ":gh:`118911`: In PyREPL, updated ``maybe-accept``'s logic so that if the " "user hits :kbd:`Enter` twice, they are able to terminate the block even if " @@ -4060,102 +4129,102 @@ msgid "" "Patch by Aya Elsayed." msgstr "" -#: ../NEWS:2290 +#: ../NEWS:2333 msgid "" ":gh:`111201`: Remove dependency to :mod:`readline` from the new Python REPL." msgstr "" -#: ../NEWS:2292 +#: ../NEWS:2335 msgid "" ":gh:`119174`: Fix high DPI causes turtledemo(turtle-graphics examples) " "windows blurry Patch by Wulian233 and Terry Jan Reedy" msgstr "" -#: ../NEWS:2295 +#: ../NEWS:2338 msgid "" ":gh:`119121`: Fix a NameError happening in ``asyncio.staggered." "staggered_race``. This function is now tested." msgstr "" -#: ../NEWS:2298 +#: ../NEWS:2341 msgid "" ":gh:`119113`: Fix issue where :meth:`pathlib.PurePath.with_suffix` didn't " "raise :exc:`TypeError` when given ``None`` as a suffix." msgstr "" -#: ../NEWS:2301 +#: ../NEWS:2344 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 "" -#: ../NEWS:2305 +#: ../NEWS:2348 msgid "" ":gh:`58933`: Make :mod:`pdb` return to caller frame correctly when " "``f_trace`` of the caller frame is not set" msgstr "" -#: ../NEWS:2308 +#: ../NEWS:2351 msgid "" ":gh:`118895`: Setting attributes on :data:`typing.NoDefault` now raises :exc:" "`AttributeError` instead of :exc:`TypeError`." msgstr "" -#: ../NEWS:2311 +#: ../NEWS:2354 msgid "" ":gh:`118868`: Fixed issue where kwargs were no longer passed to the logging " "handler QueueHandler" msgstr "" -#: ../NEWS:2314 +#: ../NEWS:2357 msgid "" ":gh:`118851`: ``ctx`` arguments to the constructors of :mod:`ast` node " "classes now default to :class:`ast.Load() `. Patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:2318 +#: ../NEWS:2361 msgid "" ":gh:`118760`: Restore the default value of ``tkiter.wantobjects`` to ``1``." msgstr "" -#: ../NEWS:2320 +#: ../NEWS:2363 msgid ":gh:`118760`: Fix errors in calling Tkinter bindings on Windows." msgstr "" -#: ../NEWS:2322 +#: ../NEWS:2365 msgid "" ":gh:`118507`: Fix :func:`os.path.isfile` on Windows for pipes. Speedup :func:" "`os.path.isjunction` and :func:`os.path.lexists` on Windows with a native " "implementation." msgstr "" -#: ../NEWS:2326 +#: ../NEWS:2369 msgid "" ":gh:`118772`: Allow :class:`typing.TypeVar` instances without a default to " "follow instances without a default in some cases. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:2329 +#: ../NEWS:2372 msgid "" ":gh:`110863`: :func:`os.path.realpath` now suppresses any :exc:`OSError` " "from :func:`os.readlink` when *strict* mode is disabled (the default)." msgstr "" -#: ../NEWS:2332 +#: ../NEWS:2375 msgid "" ":gh:`118263`: Speed up :func:`os.path.splitroot` & :func:`os.path.normpath` " "with a direct C call." msgstr "" -#: ../NEWS:2335 +#: ../NEWS:2378 msgid "" ":gh:`118033`: Fix :func:`dataclasses.dataclass` not creating a " "``__weakref__`` slot when subclassing :class:`typing.Generic`." msgstr "" -#: ../NEWS:2338 +#: ../NEWS:2381 msgid "" ":gh:`106531`: In :mod:`importlib.resources`, sync with `importlib_resources " "6.3.2 ` and :c:func:`PyFrame_GetLocals` to return a write-through proxy " "object when the frame refers to a function or comprehension." msgstr "" -#: ../NEWS:2543 +#: ../NEWS:2586 msgid "" ":gh:`116767`: Fix crash in compiler on 'async with' that has many context " "managers." msgstr "" -#: ../NEWS:2546 +#: ../NEWS:2589 msgid "" ":gh:`118335`: Change how to use the tier 2 interpreter. Instead of running " "Python with ``-X uops`` or setting the environment variable " @@ -4483,169 +4552,169 @@ msgid "" "``--enable-experimental-jit=interpreter``." msgstr "" -#: ../NEWS:2551 +#: ../NEWS:2594 msgid "" "**Beware!** This changes the environment variable to enable or disable micro-" "ops to ``PYTHON_JIT``. The old ``PYTHON_UOPS`` is no longer used." msgstr "" -#: ../NEWS:2554 +#: ../NEWS:2597 msgid ":gh:`118306`: Update JIT compilation to use LLVM 18" msgstr "" -#: ../NEWS:2556 +#: ../NEWS:2599 msgid "" ":gh:`118160`: :ref:`Annotation scopes ` within classes " "can now contain comprehensions. However, such comprehensions are not inlined " "into their parent scope at runtime. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:2560 +#: ../NEWS:2603 msgid "" ":gh:`118272`: Fix bug where ``generator.close`` does not free the generator " "frame's locals." msgstr "" -#: ../NEWS:2563 +#: ../NEWS:2606 msgid "" ":gh:`118216`: Don't consider :mod:`__future__` imports with dots before the " "module name." msgstr "" -#: ../NEWS:2566 +#: ../NEWS:2609 msgid "" ":gh:`118074`: Make sure that the Executor objects in the COLD_EXITS array " "aren't assumed to be GC-able (which would access bytes outside the object)." msgstr "" -#: ../NEWS:2570 +#: ../NEWS:2613 msgid "" ":gh:`107674`: Lazy load frame line number to improve performance of tracing" msgstr "" -#: ../NEWS:2572 +#: ../NEWS:2615 msgid "" ":gh:`118082`: Improve :exc:`SyntaxError` message for imports without names, " "like in ``from x import`` and ``import`` cases. It now points out to users " "that :keyword:`import` expects at least one name after it." msgstr "" -#: ../NEWS:2576 +#: ../NEWS:2619 msgid "" ":gh:`118090`: Improve :exc:`SyntaxError` message for empty type param " "brackets." msgstr "" -#: ../NEWS:2579 +#: ../NEWS:2622 msgid "" ":gh:`117958`: Added a ``get_jit_code()`` method to access JIT compiled " "machine code from the UOp Executor when the experimental JIT is enabled. " "Patch by Anthony Shaw." msgstr "" -#: ../NEWS:2583 +#: ../NEWS:2626 msgid "" ":gh:`117901`: Add option for compiler's codegen to save nested instruction " "sequences for introspection." msgstr "" -#: ../NEWS:2586 +#: ../NEWS:2629 msgid "" ":gh:`116622`: Redirect stdout and stderr to system log when embedded in an " "Android app." msgstr "" -#: ../NEWS:2589 +#: ../NEWS:2632 msgid "" ":gh:`109118`: :ref:`annotation scope ` within class " "scopes can now contain lambdas." msgstr "" -#: ../NEWS:2592 +#: ../NEWS:2635 msgid "" ":gh:`117894`: Prevent ``agen.aclose()`` objects being re-used after ``." "throw()``." msgstr "" -#: ../NEWS:2595 +#: ../NEWS:2638 msgid "" ":gh:`117881`: prevent concurrent access to an async generator via athrow()." "throw() or asend().throw()" msgstr "" -#: ../NEWS:2598 +#: ../NEWS:2641 msgid "" ":gh:`117536`: Fix a :exc:`RuntimeWarning` when calling ``agen.aclose()." "throw(Exception)``." msgstr "" -#: ../NEWS:2601 +#: ../NEWS:2644 msgid "" ":gh:`117755`: Fix mimalloc allocator for huge memory allocation (around " "8,589,934,592 GiB) on s390x. Patch by Victor Stinner." msgstr "" -#: ../NEWS:2604 +#: ../NEWS:2647 msgid "" ":gh:`117750`: Fix issue where an object's dict would get out of sync with " "the object's internal values when being cleared. ``obj.__dict__.clear()`` " "now clears the internal values, but leaves the dict attached to the object." msgstr "" -#: ../NEWS:2608 ../NEWS:3122 +#: ../NEWS:2651 ../NEWS:3165 msgid "" ":gh:`117431`: Improve the performance of the following :class:`bytes` and :" "class:`bytearray` methods by adapting them to the :c:macro:`METH_FASTCALL` " "calling convention:" msgstr "" -#: ../NEWS:2612 +#: ../NEWS:2655 msgid ":meth:`!count`" msgstr "" -#: ../NEWS:2613 +#: ../NEWS:2656 msgid ":meth:`!find`" msgstr "" -#: ../NEWS:2614 +#: ../NEWS:2657 msgid ":meth:`!index`" msgstr "" -#: ../NEWS:2615 +#: ../NEWS:2658 msgid ":meth:`!rfind`" msgstr "" -#: ../NEWS:2616 +#: ../NEWS:2659 msgid ":meth:`!rindex`" msgstr "" -#: ../NEWS:2618 +#: ../NEWS:2661 msgid "" ":gh:`117709`: Speed up calls to :func:`str` with positional-only argument, " "by using the :pep:`590` ``vectorcall`` calling convention. Patch by Erlend " "Aasland." msgstr "" -#: ../NEWS:2622 +#: ../NEWS:2665 msgid "" ":gh:`117680`: Give ``_PyInstructionSequence`` a Python interface and use it " "in tests." msgstr "" -#: ../NEWS:2625 +#: ../NEWS:2668 msgid "" ":gh:`115776`: Statically allocated objects are, by definition, immortal so " "must be marked as such regardless of whether they are in extension modules " "or not." msgstr "" -#: ../NEWS:2629 +#: ../NEWS:2672 msgid "" ":gh:`117385`: Remove unhandled ``PY_MONITORING_EVENT_BRANCH`` and " "``PY_MONITORING_EVENT_EXCEPTION_HANDLED`` events from :func:`sys.settrace`." msgstr "" -#: ../NEWS:2633 +#: ../NEWS:2676 msgid "" ":gh:`116322`: Extension modules may indicate to the runtime that they can " "run without the GIL. Multi-phase init modules do so by calling providing " @@ -4654,13 +4723,13 @@ msgid "" "their init function." msgstr "" -#: ../NEWS:2639 +#: ../NEWS:2682 msgid "" ":gh:`116129`: Implement :pep:`696`, adding support for defaults on type " "parameters. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:2642 +#: ../NEWS:2685 msgid "" ":gh:`93502`: Add two new functions to the C-API, :c:func:" "`PyRefTracer_SetTracer` and :c:func:`PyRefTracer_GetTracer`, that allows to " @@ -4668,12 +4737,12 @@ msgid "" "module does. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:2647 +#: ../NEWS:2690 msgid "" ":gh:`107674`: Improved the performance of :func:`sys.settrace` significantly" msgstr "" -#: ../NEWS:2649 +#: ../NEWS:2692 msgid "" ":gh:`95754`: Improve the error message when a script shadowing a module from " "the standard library causes :exc:`AttributeError` to be raised. Similarly, " @@ -4682,19 +4751,19 @@ msgid "" "initialising." msgstr "" -#: ../NEWS:2655 +#: ../NEWS:2698 msgid "" ":gh:`99180`: Elide uninformative traceback indicators in ``return`` and " "simple ``assignment`` statements. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:2658 +#: ../NEWS:2701 msgid "" ":gh:`105879`: Allow the *globals* and *locals* arguments to :func:`exec` " "and :func:`eval` to be passed as keywords." msgstr "" -#: ../NEWS:2664 +#: ../NEWS:2707 msgid "" ":gh:`118418`: A :exc:`DeprecationWarning` is now emitted if you fail to pass " "a value to the new *type_params* parameter of ``typing._eval_type()`` or " @@ -4704,7 +4773,7 @@ msgid "" "Python 3.12 or newer.)" msgstr "" -#: ../NEWS:2671 +#: ../NEWS:2714 msgid "" ":gh:`118660`: Add an optional second type parameter to :class:`typing." "ContextManager` and :class:`typing.AsyncContextManager`, representing the " @@ -4712,24 +4781,24 @@ msgid "" "respectively. This parameter defaults to ``bool | None``." msgstr "" -#: ../NEWS:2677 +#: ../NEWS:2720 msgid "" ":gh:`118650`: The ``enum`` module allows method named ``_repr_*`` to be " "defined on ``Enum`` types." msgstr "" -#: ../NEWS:2680 +#: ../NEWS:2723 msgid "" ":gh:`118648`: Add type parameter defaults to :class:`typing.Generator` and :" "class:`typing.AsyncGenerator`." msgstr "" -#: ../NEWS:2683 +#: ../NEWS:2726 msgid "" ":gh:`101137`: Mime type ``text/x-rst`` is now supported by :mod:`mimetypes`." msgstr "" -#: ../NEWS:2685 +#: ../NEWS:2728 msgid "" ":gh:`118164`: The Python implementation of the ``decimal`` module could " "appear to hang in relatively small power cases (like ``2**117``) if context " @@ -4738,44 +4807,44 @@ msgid "" "``10**precision`` (which could be effectively too large to compute)." msgstr "" -#: ../NEWS:2692 +#: ../NEWS:2735 msgid "" ":gh:`111744`: ``breakpoint()`` and ``pdb.set_trace()`` now enter the " "debugger immediately after the call rather than before the next line is " "executed." msgstr "" -#: ../NEWS:2695 +#: ../NEWS:2738 msgid ":gh:`118500`: Add :mod:`pdb` support for zipapps" msgstr "" -#: ../NEWS:2697 +#: ../NEWS:2740 msgid ":gh:`118406`: Add signature for :class:`sqlite3.Connection` objects." msgstr "" -#: ../NEWS:2699 +#: ../NEWS:2742 msgid "" ":gh:`101732`: Use a Y2038 compatible openssl time function when available." msgstr "" -#: ../NEWS:2701 +#: ../NEWS:2744 msgid "" ":gh:`118404`: Fix :func:`inspect.signature` for non-comparable callables." msgstr "" -#: ../NEWS:2703 +#: ../NEWS:2746 msgid "" ":gh:`118402`: Fix :func:`inspect.signature` for the result of the :func:" "`functools.cmp_to_key` call." msgstr "" -#: ../NEWS:2706 +#: ../NEWS:2749 msgid "" ":gh:`116622`: On Android, :any:`sysconfig.get_platform` now returns the " "format specified by :pep:`738`." msgstr "" -#: ../NEWS:2709 +#: ../NEWS:2752 msgid "" ":gh:`118285`: Allow to specify the signature of custom callable instances of " "extension type by the ``__text_signature__`` attribute. Specify signatures " @@ -4783,20 +4852,20 @@ msgid "" "`operator.methodcaller` instances." msgstr "" -#: ../NEWS:2714 +#: ../NEWS:2757 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 "" -#: ../NEWS:2717 +#: ../NEWS:2760 msgid "" ":gh:`118271`: Add the :class:`!PhotoImage` methods :meth:`!read` to read an " "image from a file and :meth:`!data` to get the image data. Add *background* " "and *grayscale* parameters to :class:`!PhotoImage` method :meth:`!write`." msgstr "" -#: ../NEWS:2722 +#: ../NEWS:2765 msgid "" ":gh:`118225`: Add the :class:`!PhotoImage` method :meth:`!copy_replace` to " "copy a region from one image to other image, possibly with pixel zooming and/" @@ -4805,14 +4874,14 @@ msgid "" "*subsample* parameters to :class:`!PhotoImage` method :meth:`!copy`." msgstr "" -#: ../NEWS:2728 +#: ../NEWS:2771 msgid "" ":gh:`118221`: Fix a bug where :meth:`sqlite3.Connection.iterdump` could fail " "if a custom :attr:`row factory ` was used. " "Patch by Erlend Aasland." msgstr "" -#: ../NEWS:2732 +#: ../NEWS:2775 msgid "" ":gh:`118013`: Fix regression introduced in :gh:`103193` that meant that " "calling :func:`inspect.getattr_static` on an instance would cause a strong " @@ -4825,13 +4894,13 @@ msgid "" "significantly faster than it was in Python 3.11. Patch by Alex Waygood." msgstr "" -#: ../NEWS:2743 +#: ../NEWS:2786 msgid "" ":gh:`118218`: Speed up :func:`itertools.pairwise` in the common case by up " "to 1.8x." msgstr "" -#: ../NEWS:2746 +#: ../NEWS:2789 msgid "" ":gh:`117486`: Improve the behavior of user-defined subclasses of :class:`ast." "AST`. Such classes will now require no changes in the usual case to conform " @@ -4839,13 +4908,13 @@ msgid "" "Jelle Zijlstra." msgstr "" -#: ../NEWS:2751 +#: ../NEWS:2794 msgid "" ":gh:`90848`: Fixed :func:`unittest.mock.create_autospec` to configure parent " "mock with keyword arguments." msgstr "" -#: ../NEWS:2754 +#: ../NEWS:2797 msgid "" ":gh:`118168`: Fix incorrect argument substitution when :data:`typing.Unpack` " "is used with the builtin :class:`tuple`. :data:`!typing.Unpack` now raises :" @@ -4853,31 +4922,31 @@ msgid "" "Zijlstra." msgstr "" -#: ../NEWS:2759 +#: ../NEWS:2802 msgid "" ":gh:`118131`: Add command-line interface for the :mod:`random` module. Patch " "by Hugo van Kemenade." msgstr "" -#: ../NEWS:2762 +#: ../NEWS:2805 msgid "" ":gh:`118107`: Fix :mod:`zipimport` reading of ZIP64 files with file entries " "that are too big or offset too far." msgstr "" -#: ../NEWS:2765 +#: ../NEWS:2808 msgid "" ":gh:`102511`: Fix :func:`os.path.normpath` for UNC paths on Windows. Speed " "up :func:`os.path.splitroot` with a native implementation." msgstr "" -#: ../NEWS:2768 +#: ../NEWS:2811 msgid "" ":gh:`117535`: Change the unknown filename of :mod:`warnings` from ``sys`` to " "```` to clarify that it's not a real filename." msgstr "" -#: ../NEWS:2771 +#: ../NEWS:2814 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 " @@ -4885,32 +4954,32 @@ msgid "" "file. Patch by Alex Waygood." msgstr "" -#: ../NEWS:2776 +#: ../NEWS:2819 msgid "" ":gh:`116931`: Add parameter *fileobj* check for :func:`tarfile.TarFile." "addfile`" msgstr "" -#: ../NEWS:2779 +#: ../NEWS:2822 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 "" -#: ../NEWS:2783 +#: ../NEWS:2826 msgid "" ":gh:`80361`: Fix TypeError in :func:`email.message.Message.get_payload` when " "the charset is :rfc:`2231` encoded." msgstr "" -#: ../NEWS:2786 +#: ../NEWS:2829 msgid "" ":gh:`86650`: Fix IndexError when parse some emails with invalid Message-ID " "(including one-off addresses generated by Microsoft Outlook)." msgstr "" -#: ../NEWS:2789 +#: ../NEWS:2832 msgid "" ":gh:`117691`: Improve the error messages emitted by :mod:`tarfile` " "deprecation warnings relating to PEP 706. If a ``filter`` argument is not " @@ -4919,27 +4988,27 @@ msgid "" "called. Patch by Alex Waygood." msgstr "" -#: ../NEWS:2795 +#: ../NEWS:2838 msgid "" ":gh:`115874`: Fixed a possible segfault during garbage collection of " "``_asyncio.FutureIter`` objects. Patch by Savannah Ostrowski." msgstr "" -#: ../NEWS:2798 +#: ../NEWS:2841 msgid "" ":gh:`115060`: Speed up :meth:`pathlib.Path.glob` by omitting an initial :" "meth:`~pathlib.Path.is_dir` call. As a result of this change, :meth:" "`~pathlib.Path.glob` can no longer raise :exc:`OSError`." msgstr "" -#: ../NEWS:2802 +#: ../NEWS:2845 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 "" -#: ../NEWS:2806 +#: ../NEWS:2849 msgid "" ":gh:`76785`: We've exposed the low-level :mod:`!_interpreters` module for " "the sake of the PyPI implementation of :pep:`734`. It was sometimes " @@ -4949,64 +5018,64 @@ msgid "" "org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/26." msgstr "" -#: ../NEWS:2813 +#: ../NEWS:2856 msgid "" ":gh:`115060`: Speed up :meth:`pathlib.Path.glob` by not scanning directories " "for non-wildcard pattern segments." msgstr "" -#: ../NEWS:2816 +#: ../NEWS:2859 msgid "" ":gh:`117727`: Speed up :meth:`pathlib.Path.iterdir` by using :func:`os." "scandir` internally." msgstr "" -#: ../NEWS:2819 +#: ../NEWS:2862 msgid "" ":gh:`117586`: Speed up :meth:`pathlib.Path.walk` by working with strings " "internally." msgstr "" -#: ../NEWS:2822 +#: ../NEWS:2865 msgid "" ":gh:`117722`: Change the new multi-separator support in :meth:`asyncio." "StreamReader.readuntil` to only accept tuples of separators rather than " "arbitrary iterables." msgstr "" -#: ../NEWS:2826 +#: ../NEWS:2869 msgid "" ":gh:`117692`: Fixes a bug when :class:`doctest.DocTestFinder` was failing on " "wrapped ``builtin_function_or_method``." msgstr "" -#: ../NEWS:2829 +#: ../NEWS:2872 msgid "" ":gh:`117348`: Largely restored import time performance of configparser by " "avoiding dataclasses." msgstr "" -#: ../NEWS:2832 +#: ../NEWS:2875 msgid ":gh:`117641`: Speedup :func:`os.path.commonpath` on Unix." msgstr "" -#: ../NEWS:2834 +#: ../NEWS:2877 msgid "" ":gh:`117663`: Fix ``_simple_enum`` to detect aliases when multiple arguments " "are present but only one is the member value." msgstr "" -#: ../NEWS:2837 +#: ../NEWS:2880 msgid ":gh:`117636`: Speedup :func:`os.path.join`." msgstr "" -#: ../NEWS:2839 +#: ../NEWS:2882 msgid "" ":gh:`117618`: Support ``package.module`` as ``filename`` for ``break`` " "command of :mod:`pdb`" msgstr "" -#: ../NEWS:2842 +#: ../NEWS:2885 msgid "" ":gh:`102247`: the status codes enum with constants in http.HTTPStatus are " "updated to include the names from RFC9110. This RFC includes some HTTP " @@ -5014,38 +5083,38 @@ msgid "" "them." msgstr "" -#: ../NEWS:2847 +#: ../NEWS:2890 msgid "The old constants are preserved for backwards compatibility." msgstr "" -#: ../NEWS:2849 +#: ../NEWS:2892 msgid ":gh:`117607`: Speedup :func:`os.path.relpath`." msgstr "" -#: ../NEWS:2851 +#: ../NEWS:2894 msgid "" ":gh:`117586`: Speed up :meth:`pathlib.Path.glob` by working with strings " "internally." msgstr "" -#: ../NEWS:2854 +#: ../NEWS:2897 msgid ":gh:`117225`: Add colour to doctest output. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:2856 +#: ../NEWS:2899 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 "" -#: ../NEWS:2860 +#: ../NEWS:2903 msgid "" ":gh:`117546`: Fix issue where :func:`os.path.realpath` stopped resolving " "symlinks after encountering a symlink loop on POSIX." msgstr "" -#: ../NEWS:2863 +#: ../NEWS:2906 msgid "" ":gh:`116720`: Improved behavior of :class:`asyncio.TaskGroup` when an " "external cancellation collides with an internal cancellation. For example, " @@ -5055,7 +5124,7 @@ msgid "" "group." msgstr "" -#: ../NEWS:2870 +#: ../NEWS:2913 msgid "" "In the case where a task group is cancelled externally and also must raise " "an :exc:`ExceptionGroup`, it will now call the parent task's :meth:`~asyncio." @@ -5063,38 +5132,38 @@ msgid "" "be raised at the next :keyword:`await`, so the cancellation is not lost." msgstr "" -#: ../NEWS:2876 +#: ../NEWS:2919 msgid "" "An added benefit of these changes is that task groups now preserve the " "cancellation count (:meth:`asyncio.Task.cancelling`)." msgstr "" -#: ../NEWS:2879 +#: ../NEWS:2922 msgid "" "In order to handle some corner cases, :meth:`asyncio.Task.uncancel` may now " "reset the undocumented ``_must_cancel`` flag when the cancellation count " "reaches zero." msgstr "" -#: ../NEWS:2883 +#: ../NEWS:2926 msgid "" ":gh:`117516`: Add :data:`typing.TypeIs`, implementing :pep:`742`. Patch by " "Jelle Zijlstra." msgstr "" -#: ../NEWS:2886 +#: ../NEWS:2929 msgid "" ":gh:`117503`: Fix support of non-ASCII user names in bytes paths in :func:" "`os.path.expanduser` on Posix." msgstr "" -#: ../NEWS:2889 +#: ../NEWS:2932 msgid "" ":gh:`117394`: :func:`os.path.ismount` is now 2-3 times faster if the user " "has permissions." msgstr "" -#: ../NEWS:2892 +#: ../NEWS:2935 msgid "" ":gh:`117313`: Only treat ``'\\n'``, ``'\\r'`` and ``'\\r\\n'`` as line " "separators in re-folding the :mod:`email` messages. Preserve control " @@ -5103,40 +5172,40 @@ msgid "" "is." msgstr "" -#: ../NEWS:2897 +#: ../NEWS:2940 msgid "" ":gh:`117142`: Convert :mod:`!_ctypes` to multi-phase initialisation (:pep:" "`489`)." msgstr "" -#: ../NEWS:2900 +#: ../NEWS:2943 msgid "" ":gh:`66543`: Add the :func:`mimetypes.guess_file_type` function which works " "with file path. Passing file path instead of URL in :func:`~mimetypes." "guess_type` is :term:`soft deprecated`." msgstr "" -#: ../NEWS:2904 +#: ../NEWS:2947 msgid "" ":gh:`68583`: webbrowser CLI: replace getopt with argparse, add long options. " "Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:2907 +#: ../NEWS:2950 msgid "" ":gh:`116871`: Name suggestions for :exc:`AttributeError` and :exc:" "`ImportError` now only include underscored names if the original name was " "underscored." msgstr "" -#: ../NEWS:2911 +#: ../NEWS:2954 msgid "" ":gh:`116023`: Don't show empty fields (value ``None`` or ``[]``) in :func:" "`ast.dump` by default. Add ``show_empty=False`` parameter to optionally show " "them." msgstr "" -#: ../NEWS:2915 +#: ../NEWS:2958 msgid "" ":gh:`115961`: Added :attr:`!name` and :attr:`!mode` attributes for " "compressed and archived file-like objects in modules :mod:`bz2`, :mod:" @@ -5147,75 +5216,75 @@ msgid "" "ZipFile.open` was changed from ``'r'`` to ``'rb'``." msgstr "" -#: ../NEWS:2923 +#: ../NEWS:2966 msgid "" ":gh:`82062`: Fix :func:`inspect.signature` to correctly handle parameter " "defaults on methods in extension modules that use names defined in the " "module namespace." msgstr "" -#: ../NEWS:2927 +#: ../NEWS:2970 msgid "" ":gh:`83856`: Honor :mod:`atexit` for all :mod:`multiprocessing` start methods" msgstr "" -#: ../NEWS:2929 +#: ../NEWS:2972 msgid "" ":gh:`113081`: Print colorized exception just like built-in traceback in :mod:" "`pdb`" msgstr "" -#: ../NEWS:2932 +#: ../NEWS:2975 msgid "" ":gh:`112855`: Speed up pickling of :class:`pathlib.PurePath` objects. Patch " "by Barney Gale." msgstr "" -#: ../NEWS:2935 +#: ../NEWS:2978 msgid ":gh:`111744`: Support opcode events in :mod:`bdb`" msgstr "" -#: ../NEWS:2937 +#: ../NEWS:2980 msgid "" ":gh:`109617`: :mod:`!ncurses`: fixed a crash that could occur on macOS 13 or " "earlier when Python was built with Apple Xcode 15's SDK." msgstr "" -#: ../NEWS:2940 +#: ../NEWS:2983 msgid "" ":gh:`83151`: Enabled arbitrary statements and evaluations in :mod:`pdb` " "shell to access the local variables of the current frame, which made it " "possible for multi-scope code like generators or nested function to work." msgstr "" -#: ../NEWS:2944 +#: ../NEWS:2987 msgid "" ":gh:`110209`: Add :meth:`~object.__class_getitem__` to :class:`types." "GeneratorType` and :class:`types.CoroutineType` for type hinting purposes. " "Patch by James Hilton-Balfe." msgstr "" -#: ../NEWS:2948 +#: ../NEWS:2991 msgid "" ":gh:`108191`: The :class:`types.SimpleNamespace` now accepts an optional " "positional argument which specifies initial values of attributes as a dict " "or an iterable of key-value pairs." msgstr "" -#: ../NEWS:2952 +#: ../NEWS:2995 msgid "" ":gh:`62090`: Fix assertion errors caused by whitespace in metavars or " "``SUPPRESS``-ed groups in :mod:`argparse` by simplifying usage formatting. " "Patch by Ali Hamdan." msgstr "" -#: ../NEWS:2956 +#: ../NEWS:2999 msgid "" ":gh:`102402`: Adjust ``logging.LogRecord`` to use ``time.time_ns()`` and fix " "minor bug related to floating-point math." msgstr "" -#: ../NEWS:2959 +#: ../NEWS:3002 msgid "" ":gh:`100242`: Bring pure Python implementation ``functools.partial.__new__`` " "more in line with the C-implementation by not just always checking for the " @@ -5224,13 +5293,13 @@ msgid "" "``isinstance(func, partial)`` check on the first argument of ``partial``." msgstr "" -#: ../NEWS:2965 +#: ../NEWS:3008 msgid "" ":gh:`99730`: HEAD requests are no longer upgraded to GET request during " "redirects in urllib." msgstr "" -#: ../NEWS:2968 +#: ../NEWS:3011 msgid "" ":gh:`66410`: Setting the :mod:`!tkinter` module global :data:`!wantobjects` " "to ``2`` before creating the :class:`~tkinter.Tk` object or call the :meth:`!" @@ -5241,101 +5310,101 @@ msgid "" "``str``. :data:`!tkinter.wantobjects` is now set to ``2`` by default." msgstr "" -#: ../NEWS:2977 +#: ../NEWS:3020 msgid "" ":issue:`40943`: Fix several IndexError when parse emails with truncated " "Message-ID, address, routes, etc, e.g. ``example@``." msgstr "" -#: ../NEWS:2980 +#: ../NEWS:3023 msgid ":issue:`39324`: Add mime type mapping for .md <-> text/markdown" msgstr "" -#: ../NEWS:2982 +#: ../NEWS:3025 msgid "" ":issue:`18108`: :func:`shutil.chown` now supports *dir_fd* and " "*follow_symlinks* keyword arguments." msgstr "" -#: ../NEWS:2985 +#: ../NEWS:3028 msgid "" ":issue:`30988`: Fix parsing of emails with invalid address headers having a " "leading or trailing dot. Patch by tsufeki." msgstr "" -#: ../NEWS:2988 +#: ../NEWS:3031 msgid ":issue:`32839`: Add the :meth:`!after_info` method for Tkinter widgets." msgstr "" -#: ../NEWS:2993 +#: ../NEWS:3036 msgid "" ":gh:`117928`: The minimum Sphinx version required for the documentation is " "now 6.2.1." msgstr "" -#: ../NEWS:2999 +#: ../NEWS:3042 msgid "" ":gh:`118734`: Fixes Windows build when invoked directly (not through the :" "file:`build.bat` script) without specifying a value for ``UseTIER2``." msgstr "" -#: ../NEWS:3002 +#: ../NEWS:3045 msgid "" ":gh:`115119`: The :file:`configure` option :option:`--with-system-libmpdec` " "now defaults to ``yes``. The bundled copy of ``libmpdecimal`` will be " "removed in Python 3.15." msgstr "" -#: ../NEWS:3006 +#: ../NEWS:3049 msgid "" ":gh:`117845`: Fix building against recent libedit versions by detecting " "readline hook signatures in :program:`configure`." msgstr "" -#: ../NEWS:3009 +#: ../NEWS:3052 msgid "" ":gh:`116622`: A testbed project was added to run the test suite on Android." msgstr "" -#: ../NEWS:3011 +#: ../NEWS:3054 msgid "" ":gh:`117645`: Increase WASI stack size from 512 KiB to 8 MiB and the initial " "memory from 10 MiB to 20 MiB. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3014 +#: ../NEWS:3057 msgid "" ":gh:`115119`: :program:`configure` now uses :program:`pkg-config` to detect :" "mod:`decimal` dependencies if the :option:`--with-system-libmpdec` option is " "given." msgstr "" -#: ../NEWS:3021 +#: ../NEWS:3064 msgid ":gh:`115119`: Update Windows installer to use libmpdecimal 4.0.0." msgstr "" -#: ../NEWS:3023 +#: ../NEWS:3066 msgid "" ":gh:`118486`: :func:`os.mkdir` now accepts *mode* of ``0o700`` to restrict " "the new directory to the current user." msgstr "" -#: ../NEWS:3026 +#: ../NEWS:3069 msgid ":gh:`118347`: Fixes launcher updates not being installed." msgstr "" -#: ../NEWS:3028 +#: ../NEWS:3071 msgid "" ":gh:`118293`: The ``multiprocessing`` module now passes the " "``STARTF_FORCEOFFFEEDBACK`` flag when spawning processes to tell Windows not " "to change the mouse cursor." msgstr "" -#: ../NEWS:3032 +#: ../NEWS:3075 msgid ":gh:`115009`: Update Windows installer to use SQLite 3.45.3." msgstr "" -#: ../NEWS:3034 +#: ../NEWS:3077 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) " @@ -5344,117 +5413,117 @@ msgid "" "requested." msgstr "" -#: ../NEWS:3040 +#: ../NEWS:3083 msgid "" ":gh:`117786`: Fixes virtual environments not correctly launching when " "created from a Store install." msgstr "" -#: ../NEWS:3046 +#: ../NEWS:3089 msgid ":gh:`115119`: Update macOS installer to use libmpdecimal 4.0.0." msgstr "" -#: ../NEWS:3048 +#: ../NEWS:3091 msgid "" ":gh:`114099`: iOS preprocessor symbol usage was made compatible with older " "macOS SDKs." msgstr "" -#: ../NEWS:3051 +#: ../NEWS:3094 msgid ":gh:`115009`: Update macOS installer to use SQLite 3.45.3." msgstr "" -#: ../NEWS:3053 +#: ../NEWS:3096 msgid "" ":gh:`91629`: Use :file:`~/.config/fish/conf.d` configs and :program:" "`fish_add_path` to set :envvar:`PATH` when installing for the Fish shell." msgstr "" -#: ../NEWS:3060 +#: ../NEWS:3103 msgid ":issue:`34774`: Use user-selected color theme for Help => IDLE Doc." msgstr "" -#: ../NEWS:3065 +#: ../NEWS:3108 msgid "" ":gh:`118124`: Fix :c:macro:`Py_BUILD_ASSERT` and :c:macro:" "`Py_BUILD_ASSERT_EXPR` for non-constant expressions: use ``static_assert()`` " "on C11 and newer. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3069 +#: ../NEWS:3112 msgid ":gh:`110850`: Add \"Raw\" variant of PyTime functions" msgstr "" -#: ../NEWS:3071 +#: ../NEWS:3114 msgid ":c:func:`PyTime_MonotonicRaw`" msgstr "" -#: ../NEWS:3072 +#: ../NEWS:3115 msgid ":c:func:`PyTime_PerfCounterRaw`" msgstr "" -#: ../NEWS:3073 +#: ../NEWS:3116 msgid ":c:func:`PyTime_TimeRaw`" msgstr "" -#: ../NEWS:3077 +#: ../NEWS:3120 msgid ":gh:`117987`: Restore functions removed in Python 3.13 alpha 1:" msgstr "" -#: ../NEWS:3079 +#: ../NEWS:3122 msgid ":c:func:`Py_SetPythonHome`" msgstr ":c:func:`Py_SetPythonHome`" -#: ../NEWS:3080 +#: ../NEWS:3123 msgid ":c:func:`Py_SetProgramName`" msgstr ":c:func:`Py_SetProgramName`" -#: ../NEWS:3081 +#: ../NEWS:3124 msgid ":c:func:`PySys_SetArgvEx`" msgstr "" -#: ../NEWS:3082 +#: ../NEWS:3125 msgid ":c:func:`PySys_SetArgv`" msgstr "" -#: ../NEWS:3086 +#: ../NEWS:3129 msgid "" ":gh:`117929`: Restore removed :c:func:`PyEval_InitThreads` function. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:3089 +#: ../NEWS:3132 msgid "" ":gh:`117534`: Improve validation logic in the C implementation of :meth:" "`datetime.datetime.fromisoformat` to better handle invalid years. Patch by " "Vlad Efanov." msgstr "" -#: ../NEWS:3093 +#: ../NEWS:3136 msgid "" ":gh:`68114`: Fixed skipitem()'s handling of the old 'w' and 'w#' formatters. " "These are no longer supported and now raise an exception if used." msgstr "" -#: ../NEWS:3096 +#: ../NEWS:3139 msgid ":gh:`111997`: Add a C-API for firing monitoring events." msgstr "" -#: ../NEWS:3100 +#: ../NEWS:3143 msgid "Python 3.13.0 alpha 6" msgstr "" -#: ../NEWS:3102 +#: ../NEWS:3145 msgid "*Release date: 2024-04-09*" msgstr "" -#: ../NEWS:3107 +#: ../NEWS:3150 msgid "" ":gh:`117494`: Refactored the instruction sequence data structure out of " "compile.c into instruction_sequence.c." msgstr "" -#: ../NEWS:3110 +#: ../NEWS:3153 msgid "" ":gh:`116968`: Introduce a unified 16-bit backoff counter type " "(``_Py_BackoffCounter``), shared between the Tier 1 adaptive specializer and " @@ -5462,87 +5531,87 @@ msgid "" "changed but the behavior is (supposed to be) identical." msgstr "" -#: ../NEWS:3115 +#: ../NEWS:3158 msgid "The behavior of the Tier 2 counters is changed:" msgstr "" -#: ../NEWS:3117 +#: ../NEWS:3160 msgid "There are no longer dynamic thresholds (we never varied these)." msgstr "" -#: ../NEWS:3118 +#: ../NEWS:3161 msgid "All counters now use the same exponential backoff." msgstr "" -#: ../NEWS:3119 +#: ../NEWS:3162 msgid "The counter for ``JUMP_BACKWARD`` starts counting down from 16." msgstr "" -#: ../NEWS:3120 +#: ../NEWS:3163 msgid "The ``temperature`` in side exits starts counting down from 64." msgstr "" -#: ../NEWS:3126 +#: ../NEWS:3169 msgid ":meth:`!endswith`" msgstr "" -#: ../NEWS:3127 +#: ../NEWS:3170 msgid ":meth:`!startswith`" msgstr "" -#: ../NEWS:3129 +#: ../NEWS:3172 msgid "" ":gh:`117431`: Improve the performance of the following :class:`str` methods " "by adapting them to the :c:macro:`METH_FASTCALL` calling convention:" msgstr "" -#: ../NEWS:3132 +#: ../NEWS:3175 msgid ":meth:`~str.count`" msgstr "" -#: ../NEWS:3133 +#: ../NEWS:3176 msgid ":meth:`~str.endswith`" msgstr "" -#: ../NEWS:3134 +#: ../NEWS:3177 msgid ":meth:`~str.find`" msgstr "" -#: ../NEWS:3135 +#: ../NEWS:3178 msgid ":meth:`~str.index`" msgstr "" -#: ../NEWS:3136 +#: ../NEWS:3179 msgid ":meth:`~str.rfind`" msgstr "" -#: ../NEWS:3137 +#: ../NEWS:3180 msgid ":meth:`~str.rindex`" msgstr "" -#: ../NEWS:3138 +#: ../NEWS:3181 msgid ":meth:`~str.startswith`" msgstr "" -#: ../NEWS:3140 +#: ../NEWS:3183 msgid "" ":gh:`117411`: Move ``PyFutureFeatures`` to an internal header and make it " "private." msgstr "" -#: ../NEWS:3143 +#: ../NEWS:3186 msgid "" ":gh:`109120`: Added handle of incorrect star expressions, e.g ``f(3, *)``. " "Patch by Grigoryev Semyon" msgstr "" -#: ../NEWS:3146 +#: ../NEWS:3189 msgid "" ":gh:`117266`: Fix crashes for certain user-created subclasses of :class:`ast." "AST`. Such classes are now expected to set the ``_field_types`` attribute." msgstr "" -#: ../NEWS:3150 +#: ../NEWS:3193 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 " @@ -5550,39 +5619,39 @@ msgid "" "symbol name one definition rule linking issue." msgstr "" -#: ../NEWS:3157 +#: ../NEWS:3200 msgid "" ":gh:`117108`: Change the old space bit of objects in the young generation " "from 0 to gcstate->visited, so that any objects created during GC will have " "the old bit set correctly if they get moved into the old generation." msgstr "" -#: ../NEWS:3161 +#: ../NEWS:3204 msgid "" ":gh:`117108`: The cycle GC now chooses the size of increments based on the " "total heap size, instead of the rate of object creation. This ensures that " "it can keep up with growing heaps." msgstr "" -#: ../NEWS:3165 +#: ../NEWS:3208 msgid "" ":gh:`116735`: For ``INSTRUMENTED_CALL_FUNCTION_EX``, set ``arg0`` to ``sys." "monitoring.MISSING`` instead of ``None`` for :monitoring-event:`CALL` event." msgstr "" -#: ../NEWS:3169 +#: ../NEWS:3212 msgid "" ":gh:`113964`: Starting new threads and process creation through :func:`os." "fork` are now only prevented once all non-daemon threads exit." msgstr "" -#: ../NEWS:3172 +#: ../NEWS:3215 msgid "" ":gh:`116626`: Ensure ``INSTRUMENTED_CALL_FUNCTION_EX`` always emits :" "monitoring-event:`CALL`" msgstr "" -#: ../NEWS:3175 +#: ../NEWS:3218 msgid "" ":gh:`116554`: ``list.sort()`` now exploits more cases of partial ordering, " "particularly those with long descending runs with sub-runs of equal values. " @@ -5590,20 +5659,20 @@ msgid "" "values caused a new run to be created)." msgstr "" -#: ../NEWS:3180 +#: ../NEWS:3223 msgid "" ":gh:`114099`: Added a Loader that can discover extension modules in an iOS-" "style Frameworks folder." msgstr "" -#: ../NEWS:3183 +#: ../NEWS:3226 msgid "" ":gh:`115775`: Compiler populates the new ``__static_attributes__`` field on " "a class with the names of attributes of this class which are accessed " "through self.X from any function in its body." msgstr "" -#: ../NEWS:3187 +#: ../NEWS:3230 msgid "" ":gh:`115776`: The array of values, the ``PyDictValues`` struct is now " "embedded in the object during allocation. This provides better performance " @@ -5611,7 +5680,7 @@ msgid "" "``__dict__`` is materialized." msgstr "" -#: ../NEWS:3192 +#: ../NEWS:3235 msgid "" ":gh:`108362`: Implement an incremental cyclic garbage collector. By " "collecting the old generation in increments, there is no need for a full " @@ -5619,113 +5688,113 @@ msgid "" "heaps." msgstr "" -#: ../NEWS:3197 +#: ../NEWS:3240 msgid "" "Reduce the number of generations from three to two. The old generation is " "split into two spaces, \"visited\" and \"pending\"." msgstr "" -#: ../NEWS:3200 +#: ../NEWS:3243 msgid "" "Collection happens in two steps:: * An increment is formed from the young " "generation and a small part of the pending space. * This increment is " "scanned and the survivors moved to the end of the visited space." msgstr "" -#: ../NEWS:3204 +#: ../NEWS:3247 msgid "When the collecting space becomes empty, the two spaces are swapped." msgstr "" -#: ../NEWS:3206 +#: ../NEWS:3249 msgid "" ":gh:`109870`: Dataclasses now calls :func:`exec` once per dataclass, instead " "of once per method being added. This can speed up dataclass creation by up " "to 20%." msgstr "" -#: ../NEWS:3210 +#: ../NEWS:3253 msgid "" ":gh:`97901`: Mime type ``text/rtf`` is now supported by :mod:`mimetypes`." msgstr "" -#: ../NEWS:3212 +#: ../NEWS:3255 msgid "" ":issue:`24612`: Improve the :exc:`SyntaxError` that happens when 'not' " "appears after an operator. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:3218 +#: ../NEWS:3261 msgid "" ":gh:`117648`: Improve performance of :func:`os.path.join` and :func:`os.path." "expanduser`." msgstr "" -#: ../NEWS:3221 +#: ../NEWS:3264 msgid "" ":gh:`117584`: Raise :exc:`TypeError` for non-paths in :func:`posixpath." "relpath`." msgstr "" -#: ../NEWS:3224 +#: ../NEWS:3267 msgid "" ":gh:`117467`: Preserve mailbox ownership when rewriting in :func:`mailbox." "mbox.flush`. Patch by Tony Mountifield." msgstr "" -#: ../NEWS:3227 +#: ../NEWS:3270 msgid "" ":gh:`114848`: Raise :exc:`FileNotFoundError` when ``getcwd()`` returns " "'(unreachable)', which can happen on Linux >= 2.6.36 with glibc < 2.27." msgstr "" -#: ../NEWS:3230 +#: ../NEWS:3273 msgid "" ":gh:`117459`: :meth:`asyncio.asyncio.run_coroutine_threadsafe` now keeps the " "traceback of :class:`CancelledError`, :class:`TimeoutError` and :class:" "`InvalidStateError` which are raised in the coroutine." msgstr "" -#: ../NEWS:3234 +#: ../NEWS:3277 msgid ":gh:`117381`: Fix error message for :func:`ntpath.commonpath`." msgstr "" -#: ../NEWS:3236 +#: ../NEWS:3279 msgid "" ":gh:`117337`: Deprecate undocumented :func:`!glob.glob0` and :func:`!glob." "glob1` functions. Use :func:`glob.glob` and pass a directory to its " "*root_dir* argument instead." msgstr "" -#: ../NEWS:3240 +#: ../NEWS:3283 msgid ":gh:`117349`: Optimise several functions in :mod:`os.path`." msgstr "" -#: ../NEWS:3242 +#: ../NEWS:3285 msgid "" ":gh:`117348`: Refactored :meth:`configparser.RawConfigParser._read` to " "reduce cyclometric complexity and improve comprehensibility." msgstr "" -#: ../NEWS:3245 +#: ../NEWS:3288 msgid "" ":gh:`117335`: Raise TypeError for non-sequences for :func:`ntpath." "commonpath`." msgstr "" -#: ../NEWS:3248 +#: ../NEWS:3291 msgid "" ":gh:`66449`: :class:`configparser.ConfigParser` now accepts unnamed sections " "before named ones, if configured to do so." msgstr "" -#: ../NEWS:3251 +#: ../NEWS:3294 msgid "" ":gh:`88014`: In documentation of :class:`gzip.GzipFile` in module gzip, " "explain data type of optional constructor argument *mtime*, and recommend " "``mtime = 0`` for generating deterministic streams." msgstr "" -#: ../NEWS:3255 +#: ../NEWS:3298 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 " @@ -5734,73 +5803,73 @@ msgid "" "``SSL_CTX_set_cipher_list()`` API." msgstr "" -#: ../NEWS:3261 +#: ../NEWS:3304 msgid "" ":gh:`117294`: A ``DocTestCase`` now reports as skipped if all examples in " "the doctest are skipped." msgstr "" -#: ../NEWS:3264 +#: ../NEWS:3307 msgid "" ":gh:`98966`: In :mod:`subprocess`, raise a more informative message when " "``stdout=STDOUT``." msgstr "" -#: ../NEWS:3267 +#: ../NEWS:3310 msgid "" ":gh:`117225`: doctest: only print \"and X failed\" when non-zero, don't " "pluralise \"1 items\". Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:3270 +#: ../NEWS:3313 msgid "" ":gh:`117205`: Speed up :func:`compileall.compile_dir` by 20% when using " "multiprocessing by increasing ``chunksize``." msgstr "" -#: ../NEWS:3273 +#: ../NEWS:3316 msgid "" ":gh:`117178`: Fix regression in lazy loading of self-referential modules, " "introduced in :gh:`114781`." msgstr "" -#: ../NEWS:3276 +#: ../NEWS:3319 msgid "" ":gh:`112383`: Fix :mod:`dis` module's handling of ``ENTER_EXECUTOR`` " "instructions." msgstr "" -#: ../NEWS:3279 +#: ../NEWS:3322 msgid "" ":gh:`117182`: Lazy-loading of modules that modify their own ``__class__`` no " "longer reverts the ``__class__`` to :class:`types.ModuleType`." msgstr "" -#: ../NEWS:3282 +#: ../NEWS:3325 msgid "" ":gh:`117084`: Fix :mod:`zipfile` extraction for directory entries with the " "name containing backslashes on Windows." msgstr "" -#: ../NEWS:3285 +#: ../NEWS:3328 msgid "" ":gh:`117114`: Make :func:`os.path.isdevdrive` available on all platforms. " "For those that do not offer Dev Drives, it will always return ``False``." msgstr "" -#: ../NEWS:3288 +#: ../NEWS:3331 msgid "" ":gh:`117110`: Fix a bug that prevents subclasses of :class:`typing.Any` to " "be instantiated with arguments. Patch by Chris Fu." msgstr "" -#: ../NEWS:3291 +#: ../NEWS:3334 msgid "" ":gh:`109653`: Deferred select imports in importlib.metadata and importlib." "resources for a 14% speedup." msgstr "" -#: ../NEWS:3294 +#: ../NEWS:3337 msgid "" ":gh:`70647`: Start the deprecation period for the current behavior of :func:" "`datetime.datetime.strptime` and :func:`time.strptime` which always fails to " @@ -5811,40 +5880,40 @@ msgid "" "when parsing partial date values." msgstr "" -#: ../NEWS:3302 +#: ../NEWS:3345 msgid ":gh:`116987`: Fixed :func:`inspect.findsource` for class code objects." msgstr "" -#: ../NEWS:3304 +#: ../NEWS:3347 msgid "" ":gh:`114099`: Modify standard library to allow for iOS platform differences." msgstr "" -#: ../NEWS:3306 +#: ../NEWS:3349 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 "" -#: ../NEWS:3310 +#: ../NEWS:3353 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 "" -#: ../NEWS:3314 +#: ../NEWS:3357 msgid "" ":gh:`115538`: :class:`!_io.WindowsConsoleIO` now emit a warning if a boolean " "value is passed as a filedescriptor argument." msgstr "" -#: ../NEWS:3317 +#: ../NEWS:3360 msgid ":gh:`90095`: Ignore empty lines and comments in ``.pdbrc``" msgstr "" -#: ../NEWS:3319 +#: ../NEWS:3362 msgid "" ":gh:`106531`: Refreshed zipfile._path from `zipp 3.18 `_, providing better " @@ -5853,7 +5922,7 @@ msgid "" "tests (like importlib.resources)." msgstr "" -#: ../NEWS:3325 +#: ../NEWS:3368 msgid "" ":gh:`63207`: On Windows, :func:`time.time` now uses the " "``GetSystemTimePreciseAsFileTime()`` clock to have a resolution better than " @@ -5861,7 +5930,7 @@ msgid "" "resolution of 15.6 ms. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3330 +#: ../NEWS:3373 msgid "" ":gh:`116764`: Restore support of ``None`` and other false values in :mod:" "`urllib.parse` functions :func:`~urllib.parse.parse_qs` and :func:`~urllib." @@ -5869,62 +5938,62 @@ msgid "" "non-empty sequences." msgstr "" -#: ../NEWS:3335 +#: ../NEWS:3378 msgid "" ":gh:`116811`: In ``PathFinder.invalidate_caches``, delegate to " "``MetadataPathFinder.invalidate_caches``." msgstr "" -#: ../NEWS:3338 +#: ../NEWS:3381 msgid ":gh:`116647`: Fix recursive child in dataclasses" msgstr "" -#: ../NEWS:3340 +#: ../NEWS:3383 msgid ":gh:`113171`: Fixed various false positives and false negatives in" msgstr "" -#: ../NEWS:3342 +#: ../NEWS:3385 msgid ":attr:`ipaddress.IPv4Address.is_private` (see these docs for details)" msgstr "" -#: ../NEWS:3343 +#: ../NEWS:3386 msgid ":attr:`ipaddress.IPv4Address.is_global`" msgstr "" -#: ../NEWS:3344 +#: ../NEWS:3387 msgid ":attr:`ipaddress.IPv6Address.is_private`" msgstr "" -#: ../NEWS:3345 +#: ../NEWS:3388 msgid ":attr:`ipaddress.IPv6Address.is_global`" msgstr "" -#: ../NEWS:3347 +#: ../NEWS:3390 msgid "" "Also in the corresponding :class:`ipaddress.IPv4Network` and :class:" "`ipaddress.IPv6Network` attributes." msgstr "" -#: ../NEWS:3350 +#: ../NEWS:3393 msgid "" ":gh:`63283`: In :mod:`encodings.idna`, any capitalization of the ACE prefix " "(``xn--``) is now acceptable. Patch by Pepijn de Vos and Zackery Spytz." msgstr "" -#: ../NEWS:3353 +#: ../NEWS:3396 msgid "" ":gh:`71042`: Add :func:`platform.android_ver`, which provides device and OS " "information on Android." msgstr "" -#: ../NEWS:3356 +#: ../NEWS:3399 msgid "" ":gh:`73468`: Added new :func:`math.fma` function, wrapping C99's ``fma()`` " "operation: fused multiply-add function. Patch by Mark Dickinson and Victor " "Stinner." msgstr "" -#: ../NEWS:3360 +#: ../NEWS:3403 msgid "" ":gh:`116608`: The :mod:`importlib.resources` functions :func:`~importlib." "resources.is_resource`, :func:`~importlib.resources.open_binary`, :func:" @@ -5935,109 +6004,109 @@ msgid "" "also allows subdirectories, but remains deprecated." msgstr "" -#: ../NEWS:3370 +#: ../NEWS:3413 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 "" -#: ../NEWS:3375 +#: ../NEWS:3418 msgid "" ":gh:`114314`: In :mod:`ctypes`, ctype data is now stored in type objects " "directly rather than in a dict subclass. This is an internal change that " "should not affect usage." msgstr "" -#: ../NEWS:3379 +#: ../NEWS:3422 msgid "" ":gh:`116401`: Fix blocking :func:`os.fwalk` and :func:`shutil.rmtree` on " "opening named pipe." msgstr "" -#: ../NEWS:3382 +#: ../NEWS:3425 msgid ":gh:`71052`: Implement :func:`ctypes.util.find_library` on Android." msgstr "" -#: ../NEWS:3384 +#: ../NEWS:3427 msgid "" ":gh:`90535`: Fix support of *interval* values > 1 in :class:`logging." "TimedRotatingFileHandler` for ``when='MIDNIGHT'`` and ``when='Wx'``." msgstr "" -#: ../NEWS:3388 +#: ../NEWS:3431 msgid "" ":gh:`113308`: Remove some internal protected parts from :mod:`uuid`: " "``_has_uuid_generate_time_safe``, ``_netbios_getnode``, " "``_ipconfig_getnode``, and ``_load_system_functions``. They were unused." msgstr "" -#: ../NEWS:3392 +#: ../NEWS:3435 msgid "" ":gh:`115627`: Fix the :mod:`ssl` module error handling of connection " "terminate by peer. It now throws an OSError with the appropriate error code " "instead of an EOFError." msgstr "" -#: ../NEWS:3396 +#: ../NEWS:3439 msgid "" ":gh:`114847`: Speed up :func:`os.path.realpath` on non-Windows platforms." msgstr "" -#: ../NEWS:3398 +#: ../NEWS:3441 msgid ":gh:`114271`: Fix a race in ``threading.Thread.join()``." msgstr "" -#: ../NEWS:3400 +#: ../NEWS:3443 msgid "" "``threading._MainThread`` now always represents the main thread of the main " "interpreter." msgstr "" -#: ../NEWS:3403 +#: ../NEWS:3446 msgid "" "``PyThreadState.on_delete`` and ``PyThreadState.on_delete_data`` have been " "removed." msgstr "" -#: ../NEWS:3406 +#: ../NEWS:3449 msgid "" ":gh:`113538`: Add :meth:`asyncio.Server.close_clients` and :meth:`asyncio." "Server.abort_clients` methods which allow to more forcefully close an " "asyncio server." msgstr "" -#: ../NEWS:3410 +#: ../NEWS:3453 msgid "" ":gh:`85287`: Changes Unicode codecs to return UnicodeEncodeError or " "UnicodeDecodeError, rather than just UnicodeError." msgstr "" -#: ../NEWS:3413 +#: ../NEWS:3456 msgid ":gh:`113548`: :mod:`pdb` now allows CLI arguments to ``pdb -m``." msgstr "" -#: ../NEWS:3415 +#: ../NEWS:3458 msgid ":gh:`112948`: Make completion of :mod:`pdb` similar to Python REPL" msgstr "" -#: ../NEWS:3417 +#: ../NEWS:3460 msgid "" ":gh:`105866`: Fixed ``_get_slots`` bug which caused error when defining " "dataclasses with slots and a weakref_slot." msgstr "" -#: ../NEWS:3420 +#: ../NEWS:3463 msgid "" ":gh:`96471`: Add :py:class:`asyncio.Queue` termination with :py:meth:" "`~asyncio.Queue.shutdown` method." msgstr "" -#: ../NEWS:3423 +#: ../NEWS:3466 msgid ":gh:`89739`: The :mod:`zipimport` module can now read ZIP64 files." msgstr "" -#: ../NEWS:3425 +#: ../NEWS:3468 msgid "" ":issue:`33533`: :func:`asyncio.as_completed` now returns an object that is " "both an asynchronous iterator and plain iterator. The new asynchronous " @@ -6046,86 +6115,86 @@ msgid "" "as_completed`'s iteration pattern. Patch by Justin Arthur." msgstr "" -#: ../NEWS:3432 +#: ../NEWS:3475 msgid "" ":issue:`27578`: :func:`inspect.getsource` (and related functions) work with " "empty module files, returning ``'\\n'`` (or reasonable equivalent) instead " "of raising ``OSError``. Patch by Kernc." msgstr "" -#: ../NEWS:3436 +#: ../NEWS:3479 msgid "" ":issue:`37141`: Accept an iterable of separators in :meth:`asyncio." "StreamReader.readuntil`, stopping when one of them is encountered." msgstr "" -#: ../NEWS:3440 +#: ../NEWS:3483 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 "" -#: ../NEWS:3444 +#: ../NEWS:3487 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 "" -#: ../NEWS:3451 +#: ../NEWS:3494 msgid ":gh:`115977`: Remove compatibility references to Emscripten." msgstr "" -#: ../NEWS:3453 +#: ../NEWS:3496 msgid "" ":gh:`114099`: Add an iOS platform guide, and flag modules not available on " "iOS." msgstr "" -#: ../NEWS:3456 +#: ../NEWS:3499 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 "" -#: ../NEWS:3462 +#: ../NEWS:3505 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 "" -#: ../NEWS:3466 +#: ../NEWS:3509 msgid ":gh:`117187`: Fix XML tests for vanilla Expat <2.6.0." msgstr "" -#: ../NEWS:3468 +#: ../NEWS:3511 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 "" -#: ../NEWS:3472 +#: ../NEWS:3515 msgid "" ":gh:`117089`: Consolidated tests for importlib.metadata in their own " "``metadata`` package." msgstr "" -#: ../NEWS:3475 +#: ../NEWS:3518 msgid "" ":gh:`115979`: Update test_importlib so that it passes under WASI SDK 21." msgstr "" -#: ../NEWS:3477 +#: ../NEWS:3520 msgid "" ":gh:`112536`: Add --tsan to test.regrtest for running TSAN tests in " "reasonable execution times. Patch by Donghee Na." msgstr "" -#: ../NEWS:3480 +#: ../NEWS:3523 msgid "" ":gh:`116307`: Added import helper ``isolated_modules`` as ``CleanImport`` " "does not remove modules imported during the context. Use it in importlib." @@ -6133,21 +6202,21 @@ msgid "" "tests." msgstr "" -#: ../NEWS:3488 +#: ../NEWS:3531 msgid ":gh:`114736`: Have WASI builds use WASI SDK 21." msgstr "" -#: ../NEWS:3490 +#: ../NEWS:3533 msgid "" ":gh:`115983`: Skip building test modules that must be built as shared under " "WASI." msgstr "" -#: ../NEWS:3493 +#: ../NEWS:3536 msgid ":gh:`71052`: Add Android build script and instructions." msgstr "" -#: ../NEWS:3498 +#: ../NEWS:3541 msgid "" ":gh:`117267`: Ensure ``DirEntry.stat().st_ctime`` behaves consistently with :" "func:`os.stat` during the deprecation period of ``st_ctime`` by containing " @@ -6156,13 +6225,13 @@ msgid "" "``DirEntry``), and only ``st_birthtime`` will contain the creation time." msgstr "" -#: ../NEWS:3505 +#: ../NEWS:3548 msgid "" ":gh:`116195`: Improves performance of :func:`os.getppid` by using an " "alternate system API when available. Contributed by vxiiduu." msgstr "" -#: ../NEWS:3508 +#: ../NEWS:3551 msgid "" ":gh:`88494`: On Windows, :func:`time.monotonic` now uses the " "``QueryPerformanceCounter()`` clock to have a resolution better than 1 us, " @@ -6170,75 +6239,75 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:3513 +#: ../NEWS:3556 msgid "" ":gh:`116773`: Fix instances of ``<_overlapped.Overlapped object at 0xXXX> " "still has pending operation at deallocation, the process may crash``." msgstr "" -#: ../NEWS:3516 +#: ../NEWS:3559 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 "" -#: ../NEWS:3520 +#: ../NEWS:3563 msgid "" ":gh:`115119`: Switched from vendored ``libmpdecimal`` code to a separately-" "hosted external package in the ``cpython-source-deps`` repository when " "building the ``_decimal`` module." msgstr "" -#: ../NEWS:3527 +#: ../NEWS:3570 msgid ":gh:`117642`: Fix :pep:`737` implementation for ``%#T`` and ``%#N``." msgstr "" -#: ../NEWS:3529 +#: ../NEWS:3572 msgid "" ":gh:`87193`: :c:func:`_PyBytes_Resize` can now be called for bytes objects " "with reference count > 1, including 1-byte bytes objects. It creates a new " "bytes object and destroys the old one if it has reference count > 1." msgstr "" -#: ../NEWS:3533 +#: ../NEWS:3576 msgid "" ":gh:`117021`: Fix integer overflow in :c:func:`PyLong_AsPid` on non-Windows " "64-bit platforms." msgstr "" -#: ../NEWS:3536 +#: ../NEWS:3579 msgid "" ":gh:`115756`: :c:func:`!PyCode_GetFirstFree` is an ustable API now and has " "been renamed to :c:func:`PyUnstable_Code_GetFirstFree`. (Contributed by " "Bogdan Romanyuk in :gh:`115781`)" msgstr "" -#: ../NEWS:3540 +#: ../NEWS:3583 msgid "" ":gh:`116869`: Add ``test_cext`` test: build a C extension to check if the " "Python C API emits C compiler warnings. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3543 +#: ../NEWS:3586 msgid "" ":gh:`116869`: Make the C API compatible with ``-Werror=declaration-after-" "statement`` compiler flag again. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3547 +#: ../NEWS:3590 msgid "" ":gh:`116936`: Add :c:func:`PyType_GetModuleByDef` to the limited C API. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:3550 +#: ../NEWS:3593 msgid "" ":gh:`116809`: Restore removed private ``_PyErr_ChainExceptions1()`` " "function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3553 +#: ../NEWS:3596 msgid "" ":gh:`115754`: In the limited C API version 3.13, getting ``Py_None``, " "``Py_False``, ``Py_True``, ``Py_Ellipsis`` and ``Py_NotImplemented`` " @@ -6247,7 +6316,7 @@ msgid "" "references. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3559 +#: ../NEWS:3602 msgid "" ":gh:`115754`: Add :c:func:`Py_GetConstant` and :c:func:" "`Py_GetConstantBorrowed` functions to get constants. For example, " @@ -6255,7 +6324,7 @@ msgid "" "the constant zero. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3564 +#: ../NEWS:3607 msgid "" ":gh:`111696`: Add support for ``%T``, ``%T#``, ``%N`` and ``%N#`` formats " "to :c:func:`PyUnicode_FromFormat`: format the fully qualified name of an " @@ -6263,14 +6332,14 @@ msgid "" "`737` for more information. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3569 +#: ../NEWS:3612 msgid "" ":gh:`111696`: Add :c:func:`PyType_GetModuleName` function to get the type's " "module name. Equivalent to getting the ``type.__module__`` attribute. Patch " "by Eric Snow and Victor Stinner." msgstr "" -#: ../NEWS:3573 +#: ../NEWS:3616 msgid "" ":gh:`111696`: Add :c:func:`PyType_GetFullyQualifiedName` function to get the " "type's fully qualified name. Equivalent to ``f\"{type.__module__}.{type." @@ -6278,148 +6347,148 @@ msgid "" "string or is equal to ``\"builtins\"``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3579 +#: ../NEWS:3622 msgid "" ":gh:`85283`: The ``fcntl``, ``grp``, ``pwd``, ``termios``, ``_statistics`` " "and ``_testconsole`` C extensions are now built with the :ref:`limited C API " "`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:3583 +#: ../NEWS:3626 msgid "" ":gh:`111140`: Add additional flags to :c:func:`PyLong_AsNativeBytes` and :c:" "func:`PyLong_FromNativeBytes` to allow the caller to determine how to handle " "edge cases around values that fill the entire buffer." msgstr "" -#: ../NEWS:3587 +#: ../NEWS:3630 msgid ":gh:`113024`: Add :c:func:`PyObject_GenericHash` function." msgstr "" -#: ../NEWS:3591 +#: ../NEWS:3634 msgid "Python 3.13.0 alpha 5" msgstr "" -#: ../NEWS:3593 +#: ../NEWS:3636 msgid "*Release date: 2024-03-12*" msgstr "" -#: ../NEWS:3598 +#: ../NEWS:3641 msgid "" ":gh:`115398`: Allow controlling Expat >=2.6.0 reparse deferral (:cve:" "`2023-52425`) by adding five new methods:" msgstr "" -#: ../NEWS:3601 +#: ../NEWS:3644 msgid ":meth:`xml.etree.ElementTree.XMLParser.flush`" msgstr "" -#: ../NEWS:3602 +#: ../NEWS:3645 msgid ":meth:`xml.etree.ElementTree.XMLPullParser.flush`" msgstr "" -#: ../NEWS:3603 +#: ../NEWS:3646 msgid ":meth:`xml.parsers.expat.xmlparser.GetReparseDeferralEnabled`" msgstr "" -#: ../NEWS:3604 +#: ../NEWS:3647 msgid ":meth:`xml.parsers.expat.xmlparser.SetReparseDeferralEnabled`" msgstr "" -#: ../NEWS:3605 +#: ../NEWS:3648 msgid ":meth:`xml.sax.expatreader.ExpatParser.flush`" msgstr "" -#: ../NEWS:3607 +#: ../NEWS:3650 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 "" -#: ../NEWS:3615 +#: ../NEWS:3658 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 "" -#: ../NEWS:3619 +#: ../NEWS:3662 msgid "" ":gh:`112087`: :class:`list` is now compatible with the implementation of :" "pep:`703`." msgstr "" -#: ../NEWS:3622 +#: ../NEWS:3665 msgid ":gh:`116381`: Add specialization for ``CONTAINS_OP``." msgstr "" -#: ../NEWS:3624 +#: ../NEWS:3667 msgid "" ":gh:`116296`: Fix possible refleak in :meth:`!object.__reduce__` internal " "error handling." msgstr "" -#: ../NEWS:3627 +#: ../NEWS:3670 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 "" -#: ../NEWS:3631 +#: ../NEWS:3674 msgid "" ":gh:`115778`: Add ``tierN`` annotation for instruction definition in " "interpreter DSL." msgstr "" -#: ../NEWS:3634 +#: ../NEWS:3677 msgid "" ":gh:`115733`: Fix crash when calling ``next()`` on exhausted list iterators." msgstr "" -#: ../NEWS:3636 +#: ../NEWS:3679 msgid ":gh:`115700`: The regen-cases build stage now works on Windows." msgstr "" -#: ../NEWS:3638 +#: ../NEWS:3681 msgid "" ":gh:`115347`: Fix bug where docstring was replaced by a redundant NOP when " "Python is run with ``-OO``." msgstr "" -#: ../NEWS:3641 +#: ../NEWS:3684 msgid "" ":gh:`115323`: Make error message more meaningful for when :meth:`bytearray." "extend` is called with a :class:`str` object." msgstr "" -#: ../NEWS:3644 +#: ../NEWS:3687 msgid "" ":gh:`112175`: Every ``PyThreadState`` now has its own ``eval_breaker``, " "allowing specific threads to be interrupted." msgstr "" -#: ../NEWS:3647 +#: ../NEWS:3690 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 "" -#: ../NEWS:3651 +#: ../NEWS:3694 msgid "" ":gh:`112433`: Add ability to force alignment of :mod:`ctypes.Structure` by " "way of the new ``_align_`` attribute on the class." msgstr "" -#: ../NEWS:3654 +#: ../NEWS:3697 msgid "" ":gh:`104090`: The multiprocessing resource tracker now exits with non-zero " "status code if a resource leak was detected. It still exits with status code " "0 otherwise." msgstr "" -#: ../NEWS:3658 +#: ../NEWS:3701 msgid "" ":gh:`105858`: Improve the constructors for :mod:`ast` nodes. Arguments of " "list types now default to an empty list if omitted, and optional fields " @@ -6430,65 +6499,65 @@ msgid "" "become an error in Python 3.15. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:3666 +#: ../NEWS:3709 msgid ":gh:`101860`: Expose ``__name__`` attribute on property." msgstr "" -#: ../NEWS:3668 +#: ../NEWS:3711 msgid "" ":gh:`96497`: Fix incorrect resolution of mangled class variables used in " "assignment expressions in comprehensions." msgstr "" -#: ../NEWS:3674 +#: ../NEWS:3717 msgid ":gh:`116600`: Fix :func:`repr` for global :class:`~enum.Flag` members." msgstr "" -#: ../NEWS:3676 +#: ../NEWS:3719 msgid "" ":gh:`116349`: :func:`platform.java_ver` is deprecated and will be removed in " "3.15. It was largely untested, had a confusing API, and was only useful for " "Jython support." msgstr "" -#: ../NEWS:3680 +#: ../NEWS:3723 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 "" -#: ../NEWS:3684 +#: ../NEWS:3727 msgid "" ":gh:`116127`: :mod:`typing`: implement :pep:`705` which adds :data:`typing." "ReadOnly` support to :class:`typing.TypedDict`." msgstr "" -#: ../NEWS:3687 +#: ../NEWS:3730 msgid "" ":gh:`116325`: :mod:`typing`: raise :exc:`SyntaxError` instead of :exc:" "`AttributeError` on forward references as empty strings." msgstr "" -#: ../NEWS:3690 +#: ../NEWS:3733 msgid "" ":gh:`115957`: When ``asyncio.TaskGroup.create_task`` is called on an " "inactive ``asyncio.TaskGroup``, the given coroutine will be closed (which " "prevents a ``RuntimeWarning``)." msgstr "" -#: ../NEWS:3694 +#: ../NEWS:3737 msgid "" ":gh:`115978`: Disable preadv(), readv(), pwritev(), and writev() on WASI." msgstr "" -#: ../NEWS:3696 +#: ../NEWS:3739 msgid "" "Under wasmtime for WASI 0.2, these functions don't pass test_posix (https://" "github.com/bytecodealliance/wasmtime/issues/7830)." msgstr "" -#: ../NEWS:3699 +#: ../NEWS:3742 msgid "" ":gh:`88352`: Fix the computation of the next rollover time in the :class:" "`logging.TimedRotatingFileHandler` handler. :meth:`!computeRollover` now " @@ -6498,13 +6567,13 @@ msgid "" "during repeated time at the DST change." msgstr "" -#: ../NEWS:3707 +#: ../NEWS:3750 msgid "" ":gh:`87115`: Set ``__main__.__spec__`` to ``None`` when running a script " "with :mod:`pdb`" msgstr "" -#: ../NEWS:3710 +#: ../NEWS:3753 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 " @@ -6512,42 +6581,42 @@ msgid "" "U+FFFD replacement character, like in the ``replace`` error handler." msgstr "" -#: ../NEWS:3716 +#: ../NEWS:3759 msgid "" ":gh:`89547`: Add support for nested typing special forms like " "Final[ClassVar[int]]." msgstr "" -#: ../NEWS:3719 +#: ../NEWS:3762 msgid ":gh:`65824`: Improve the ``less`` prompt in :mod:`pydoc`." msgstr "" -#: ../NEWS:3721 +#: ../NEWS:3764 msgid "" ":gh:`116040`: [Enum] fix by-value calls when second value is falsey; e.g. " "Cardinal(1, 0)" msgstr "" -#: ../NEWS:3724 +#: ../NEWS:3767 msgid "" ":gh:`115821`: [Enum] Improve error message when calling super().__new__() in " "custom __new__." msgstr "" -#: ../NEWS:3727 +#: ../NEWS:3770 msgid "" ":gh:`85644`: Use the ``XDG_CURRENT_DESKTOP`` environment variable in :mod:" "`webbrowser` to check desktop. Prefer it to the deprecated " "``GNOME_DESKTOP_SESSION_ID`` for GNOME detection." msgstr "" -#: ../NEWS:3731 +#: ../NEWS:3774 msgid "" ":gh:`75988`: Fixed :func:`unittest.mock.create_autospec` to pass the call " "through to the wrapped object to return the real result." msgstr "" -#: ../NEWS:3734 +#: ../NEWS:3777 msgid "" ":gh:`115881`: Fix issue where :func:`ast.parse` would incorrectly flag " "conditional context managers (such as ``with (x() if y else z()): ...``) as " @@ -6555,17 +6624,17 @@ msgid "" "changes to the grammar made as part of :gh:`94949`." msgstr "" -#: ../NEWS:3739 +#: ../NEWS:3782 msgid "" ":gh:`115886`: Fix silent truncation of the name with an embedded null " "character in :class:`multiprocessing.shared_memory.SharedMemory`." msgstr "" -#: ../NEWS:3742 +#: ../NEWS:3785 msgid ":gh:`115532`: Add kernel density estimation to the statistics module." msgstr "" -#: ../NEWS:3744 +#: ../NEWS:3787 msgid "" ":gh:`115714`: On WASI, the :mod:`time` module no longer get process time " "using ``times()`` or ``CLOCK_PROCESS_CPUTIME_ID``, system API is that is " @@ -6573,7 +6642,7 @@ msgid "" "functions fall back to calling ``clock()``." msgstr "" -#: ../NEWS:3749 +#: ../NEWS:3792 msgid "" ":gh:`115809`: Improve algorithm for computing which rolled-over log files to " "delete in :class:`logging.TimedRotatingFileHandler`. It is now reliable for " @@ -6581,20 +6650,20 @@ msgid "" "leaves the datetime part in the file name unmodified." msgstr "" -#: ../NEWS:3754 +#: ../NEWS:3797 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 "" -#: ../NEWS:3758 +#: ../NEWS:3801 msgid "" ":gh:`67044`: :func:`csv.writer` now always quotes or escapes ``'\\r'`` and " "``'\\n'``, regardless of *lineterminator* value." msgstr "" -#: ../NEWS:3761 +#: ../NEWS:3804 msgid "" ":gh:`115712`: Restore support of space delimiter with " "``skipinitialspace=True`` in :mod:`csv`. :func:`csv.writer` now quotes empty " @@ -6602,52 +6671,52 @@ msgid "" "exception if quoting is not possible." msgstr "" -#: ../NEWS:3766 +#: ../NEWS:3809 msgid "" ":gh:`112364`: Fixed :func:`ast.unparse` to handle format_spec with ``\"``, " "``'`` or ``\\\\``. Patched by Frank Hoffmann." msgstr "" -#: ../NEWS:3769 +#: ../NEWS:3812 msgid "" ":gh:`112997`: Stop logging potentially sensitive callback arguments in :mod:" "`asyncio` unless debug mode is active." msgstr "" -#: ../NEWS:3772 +#: ../NEWS:3815 msgid "" ":gh:`114914`: Fix an issue where an abandoned :class:`StreamWriter` would " "not be garbage collected." msgstr "" -#: ../NEWS:3775 +#: ../NEWS:3818 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 "" -#: ../NEWS:3779 +#: ../NEWS:3822 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 "" -#: ../NEWS:3783 +#: ../NEWS:3826 msgid "" ":gh:`112720`: Refactor :class:`dis.ArgResolver` to make it possible to " "subclass and change the way jump args are interpreted." msgstr "" -#: ../NEWS:3786 +#: ../NEWS:3829 msgid "" ":gh:`112006`: Fix :func:`inspect.unwrap` for types with the ``__wrapper__`` " "data descriptor. Fix :meth:`inspect.Signature.from_callable` for builtins :" "func:`classmethod` and :func:`staticmethod`." msgstr "" -#: ../NEWS:3790 +#: ../NEWS:3833 msgid "" ":gh:`101293`: Support callables with the ``__call__()`` method and types " "with ``__new__()`` and ``__init__()`` methods set to class methods, static " @@ -6655,18 +6724,18 @@ msgid "" "descriptors in :meth:`inspect.Signature.from_callable`." msgstr "" -#: ../NEWS:3795 +#: ../NEWS:3838 msgid ":gh:`103092`: Isolate :mod:`!_lsprof` (apply :pep:`687`)." msgstr "" -#: ../NEWS:3797 +#: ../NEWS:3840 msgid "" ":gh:`113942`: :mod:`pydoc` no longer skips global functions implemented as " "builtin methods, such as :class:`~type.MethodDescriptorType` and :class:" "`~type.WrapperDescriptorType`." msgstr "" -#: ../NEWS:3801 +#: ../NEWS:3844 msgid "" ":gh:`115256`: Added DeprecationWarning when accessing the tarfile attribute " "of TarInfo objects. The attribute is never used internally and is only " @@ -6675,40 +6744,40 @@ msgid "" "corruption when not closing the handle after writing a tarfile." msgstr "" -#: ../NEWS:3807 +#: ../NEWS:3850 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 "" -#: ../NEWS:3810 +#: ../NEWS:3853 msgid "" ":gh:`113812`: :meth:`DatagramTransport.sendto` will now send zero-length " "datagrams if called with an empty bytes object. The transport flow control " "also now accounts for the datagram header when calculating the buffer size." msgstr "" -#: ../NEWS:3815 +#: ../NEWS:3858 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 "" -#: ../NEWS:3819 +#: ../NEWS:3862 msgid "" ":gh:`114709`: :func:`posixpath.commonpath` now raises a :exc:`ValueError` " "exception when passed an empty iterable. Previously, :exc:`IndexError` was " "raised." msgstr "" -#: ../NEWS:3823 +#: ../NEWS:3866 msgid "" ":func:`posixpath.commonpath` now raises a :exc:`TypeError` exception when " "passed ``None``. Previously, :exc:`ValueError` was raised." msgstr "" -#: ../NEWS:3826 +#: ../NEWS:3869 msgid "" ":gh:`114610`: Fix bug where :meth:`pathlib.PurePath.with_stem` converted a " "non-empty path suffix to a stem when given an empty *stem* argument. It now " @@ -6717,30 +6786,30 @@ msgid "" "argument." msgstr "" -#: ../NEWS:3832 +#: ../NEWS:3875 msgid "" ":gh:`107361`: Add :data:`ssl.VERIFY_X509_PARTIAL_CHAIN` and :data:" "`VERIFY_X509_STRICT` to the default SSL context created with :func:`ssl." "create_default_context`." msgstr "" -#: ../NEWS:3836 +#: ../NEWS:3879 msgid "" ":gh:`112281`: Allow creating :ref:`union of types` for :class:" "`typing.Annotated` with unhashable metadata." msgstr "" -#: ../NEWS:3839 +#: ../NEWS:3882 msgid "" ":gh:`111775`: Fix :meth:`importlib.resources.simple.ResourceHandle.open` for " "text mode, added missed ``stream`` argument." msgstr "" -#: ../NEWS:3842 +#: ../NEWS:3885 msgid ":gh:`90095`: Make .pdbrc and -c work with any valid pdb commands." msgstr "" -#: ../NEWS:3844 +#: ../NEWS:3887 msgid "" ":gh:`107625`: Raise :exc:`configparser.ParsingError` from :meth:" "`~configparser.ConfigParser.read` and :meth:`~configparser.ConfigParser." @@ -6748,57 +6817,57 @@ msgid "" "corresponding value is continued (that is, followed by an indented line)." msgstr "" -#: ../NEWS:3850 +#: ../NEWS:3893 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 "" -#: ../NEWS:3854 +#: ../NEWS:3897 msgid "" ":gh:`57141`: Add option for *non-shallow* comparisons to :class:`filecmp." "dircmp` like :func:`filecmp.cmp`. Original patch by Steven Ward. Enhanced by " "Tobias Rautenkranz" msgstr "" -#: ../NEWS:3858 +#: ../NEWS:3901 msgid "" ":gh:`69990`: :meth:`Profile.print_stats` has been improved to accept " "multiple sort arguments. Patched by Chiu-Hsiang Hsu and Furkan Onder." msgstr "" -#: ../NEWS:3861 +#: ../NEWS:3904 msgid ":gh:`104061`: Add :data:`socket.SO_BINDTOIFINDEX` constant." msgstr "" -#: ../NEWS:3863 +#: ../NEWS:3906 msgid ":gh:`60346`: Fix ArgumentParser inconsistent with parse_known_args." msgstr "" -#: ../NEWS:3865 +#: ../NEWS:3908 msgid ":gh:`102389`: Add ``windows_31j`` to aliases for ``cp932`` codec" msgstr "" -#: ../NEWS:3867 +#: ../NEWS:3910 msgid "" ":gh:`72249`: :func:`functools.partial`s of :func:`repr` has been improved to " "include the :term:`module` name. Patched by Furkan Onder and Anilyka Barry." msgstr "" -#: ../NEWS:3871 +#: ../NEWS:3914 msgid "" ":gh:`100985`: Update HTTPSConnection to consistently wrap IPv6 Addresses " "when using a proxy." msgstr "" -#: ../NEWS:3874 +#: ../NEWS:3917 msgid "" ":gh:`100884`: email: fix misfolding of comma in address-lists over multiple " "lines in combination with unicode encoding." msgstr "" -#: ../NEWS:3877 +#: ../NEWS:3920 msgid "" ":gh:`95782`: Fix :func:`io.BufferedReader.tell`, :func:`io.BufferedReader." "seek`, :func:`!_pyio.BufferedReader.tell`, :func:`io.BufferedRandom.tell`, :" @@ -6806,13 +6875,13 @@ msgid "" "able to return negative offsets." msgstr "" -#: ../NEWS:3882 +#: ../NEWS:3925 msgid "" ":gh:`96310`: Fix a traceback in :mod:`argparse` when all options in a " "mutually exclusive group are suppressed." msgstr "" -#: ../NEWS:3885 +#: ../NEWS:3928 msgid "" ":gh:`93205`: Fixed a bug in :class:`logging.handlers." "TimedRotatingFileHandler` where multiple rotating handler instances pointing " @@ -6820,37 +6889,37 @@ msgid "" "delete the correct files." msgstr "" -#: ../NEWS:3890 +#: ../NEWS:3933 msgid ":issue:`31116`: Add Z85 encoding to ``base64``." msgstr "" -#: ../NEWS:3892 +#: ../NEWS:3935 msgid "" ":issue:`44865`: Add missing call to localization function in :mod:`argparse`." msgstr "" -#: ../NEWS:3894 +#: ../NEWS:3937 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 "" -#: ../NEWS:3898 +#: ../NEWS:3941 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 "" -#: ../NEWS:3902 +#: ../NEWS:3945 msgid "" ":issue:`41122`: Failing to pass arguments properly to :func:`functools." "singledispatchmethod` now throws a TypeError instead of hitting an index out " "of bounds internally." msgstr "" -#: ../NEWS:3906 +#: ../NEWS:3949 msgid "" ":issue:`40818`: The asyncio REPL now runs :data:`sys.__interactivehook__` on " "startup. The default implementation of :data:`sys.__interactivehook__` " @@ -6858,139 +6927,139 @@ msgid "" "Lapeyre." msgstr "" -#: ../NEWS:3911 +#: ../NEWS:3954 msgid "" ":issue:`33775`: Add 'default' and 'version' help text for localization in " "argparse." msgstr "" -#: ../NEWS:3917 +#: ../NEWS:3960 msgid "" ":gh:`115399`: Document :cve:`2023-52425` of Expat <2.6.0 under \"XML " "vulnerabilities\"." msgstr "" -#: ../NEWS:3920 +#: ../NEWS:3963 msgid ":gh:`109653`: Improve import time of :mod:`uuid` on Linux." msgstr "" -#: ../NEWS:3925 +#: ../NEWS:3968 msgid "" ":gh:`71052`: Add test exclusions to support running the test suite on " "Android." msgstr "" -#: ../NEWS:3928 +#: ../NEWS:3971 msgid "" ":gh:`71052`: Enable ``test_concurrent_futures`` on platforms that support " "threading but not multiprocessing." msgstr "" -#: ../NEWS:3931 +#: ../NEWS:3974 msgid "" ":gh:`115796`: Make '_testinternalcapi.assemble_code_object' construct the " "exception table for the code object." msgstr "" -#: ../NEWS:3934 +#: ../NEWS:3977 msgid "" ":gh:`115720`: Leak tests (``-R``, ``--huntrleaks``) now show a summary of " "the number of leaks found in each iteration." msgstr "" -#: ../NEWS:3937 +#: ../NEWS:3980 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 "" -#: ../NEWS:3941 +#: ../NEWS:3984 msgid "" ":gh:`115596`: Fix ``ProgramPriorityTests`` in ``test_os`` permanently " "changing the process priority." msgstr "" -#: ../NEWS:3944 +#: ../NEWS:3987 msgid "" ":gh:`115556`: On Windows, commas passed in arguments to " "``Tools\\buildbot\\test.bat`` and ``PCbuild\\\\rt.bat`` are now properly " "handled." msgstr "" -#: ../NEWS:3948 +#: ../NEWS:3991 msgid "" ":gh:`115420`: Fix translation of exception handler targets by " "``_testinternalcapi.optimize_cfg``." msgstr "" -#: ../NEWS:3951 +#: ../NEWS:3994 msgid "" ":gh:`115376`: Fix segfault in ``_testinternalcapi.compiler_codegen`` on bad " "input." msgstr "" -#: ../NEWS:3957 +#: ../NEWS:4000 msgid "" ":gh:`116313`: Get WASI builds to work under wasmtime 18 w/ WASI 0.2/preview2 " "primitives." msgstr "" -#: ../NEWS:3960 +#: ../NEWS:4003 msgid "" ":gh:`71052`: Change Android's :data:`sys.platform` from ``\"linux\"`` to " "``\"android\"``." msgstr "" -#: ../NEWS:3963 +#: ../NEWS:4006 msgid "" ":gh:`116117`: Backport ``libb2``'s PR #42 to fix compiling CPython on 32-bit " "Windows with ``clang-cl``." msgstr "" -#: ../NEWS:3966 +#: ../NEWS:4009 msgid ":gh:`71052`: Fix several Android build issues" msgstr "" -#: ../NEWS:3968 +#: ../NEWS:4011 msgid ":gh:`114099`: A testbed project was added to run the test suite on iOS." msgstr "" -#: ../NEWS:3970 +#: ../NEWS:4013 msgid "" ":gh:`115350`: Fix building ctypes module with -DWIN32_LEAN_AND_MEAN defined" msgstr "" -#: ../NEWS:3972 +#: ../NEWS:4015 msgid ":gh:`111225`: Link extension modules against libpython on Android." msgstr "" -#: ../NEWS:3974 +#: ../NEWS:4017 msgid "" ":gh:`115737`: The install name for libPython is now correctly set for non-" "framework macOS builds." msgstr "" -#: ../NEWS:3977 +#: ../NEWS:4020 msgid "" ":gh:`114099`: Makefile targets were added to support compiling an iOS-" "compatible framework build." msgstr "" -#: ../NEWS:3983 +#: ../NEWS:4026 msgid "" ":gh:`116012`: Ensure the value of ``GetLastError()`` is preserved across GIL " "operations." msgstr "" -#: ../NEWS:3986 +#: ../NEWS:4029 msgid "" ":gh:`115582`: Building extensions intended for free-threaded builds of " "CPython now require compiling with ``/DPy_GIL_DISABLED`` manually when using " "a regular install. This is expected to change in future releases." msgstr "" -#: ../NEWS:3990 +#: ../NEWS:4033 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 " @@ -7000,34 +7069,34 @@ msgid "" "obviously blocked." msgstr "" -#: ../NEWS:3997 +#: ../NEWS:4040 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 "" -#: ../NEWS:4004 +#: ../NEWS:4047 msgid ":gh:`116145`: Update macOS installer to Tcl/Tk 8.6.14." msgstr "" -#: ../NEWS:4009 +#: ../NEWS:4052 msgid "" ":gh:`88516`: On macOS show a proxy icon in the title bar of editor windows " "to match platform behaviour." msgstr "" -#: ../NEWS:4015 +#: ../NEWS:4058 msgid ":gh:`100176`: Remove outdated Tools/{io,cc,string}bench" msgstr "" -#: ../NEWS:4017 +#: ../NEWS:4060 msgid "" ":issue:`45101`: Add consistency in usage message IO between 2 versions of " "python-config." msgstr "" -#: ../NEWS:4023 +#: ../NEWS:4066 msgid "" ":gh:`114626`: Add again ``_PyCFunctionFastWithKeywords`` name, removed in " "Python 3.13 alpha 4 by mistake. Keep the old private " @@ -7036,38 +7105,38 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:4029 +#: ../NEWS:4072 msgid "" ":gh:`111418`: Add :c:macro:`PyHASH_MODULUS`, :c:macro:`PyHASH_BITS`, :c:" "macro:`PyHASH_INF` and :c:macro:`PyHASH_IMAG` C macros. Patch by Sergey B " "Kirpichev." msgstr "" -#: ../NEWS:4035 +#: ../NEWS:4078 msgid "Python 3.13.0 alpha 4" msgstr "" -#: ../NEWS:4037 +#: ../NEWS:4080 msgid "*Release date: 2024-02-15*" msgstr "" -#: ../NEWS:4042 +#: ../NEWS:4085 msgid ":gh:`115399`: Update bundled libexpat to 2.6.0" msgstr "" -#: ../NEWS:4044 +#: ../NEWS:4087 msgid "" ":gh:`115243`: Fix possible crashes in :meth:`collections.deque.index` when " "the deque is concurrently modified." msgstr "" -#: ../NEWS:4050 +#: ../NEWS:4093 msgid "" ":gh:`112087`: For an empty reverse iterator for list will be reduced to :" "func:`reversed`. Patch by Donghee Na" msgstr "" -#: ../NEWS:4053 +#: ../NEWS:4096 msgid "" ":gh:`114570`: Add :exc:`PythonFinalizationError` exception. This exception " "derived from :exc:`RuntimeError` is raised when an operation is blocked " @@ -7075,72 +7144,72 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:4058 +#: ../NEWS:4101 msgid "" ":gh:`114695`: Add :func:`sys._clear_internal_caches`, which clears all " "internal performance-related caches (and deprecate the less-general :func:" "`sys._clear_type_cache` function)." msgstr "" -#: ../NEWS:4062 +#: ../NEWS:4105 msgid "" ":gh:`114828`: Fix compilation crashes in uncommon code examples using :func:" "`super` inside a comprehension in a class body." msgstr "" -#: ../NEWS:4065 +#: ../NEWS:4108 msgid "" ":gh:`112069`: Adapt :class:`set` and :class:`frozenset` methods to Argument " "Clinic." msgstr "" -#: ../NEWS:4068 +#: ../NEWS:4111 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 "" -#: ../NEWS:4072 +#: ../NEWS:4115 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 "" -#: ../NEWS:4076 +#: ../NEWS:4119 msgid "" ":gh:`114944`: Fixes a race between ``PyParkingLot_Park`` and " "``_PyParkingLot_UnparkAll``." msgstr "" -#: ../NEWS:4079 +#: ../NEWS:4122 msgid "" ":gh:`113462`: Limit the number of versions that a single class can use. " "Prevents a few wayward classes using up all the version numbers." msgstr "" -#: ../NEWS:4082 +#: ../NEWS:4125 msgid "" ":gh:`76763`: The :func:`chr` builtin function now always raises :exc:" "`ValueError` for values outside the valid range. Previously it raised :exc:" "`OverflowError` for very large or small values." msgstr "" -#: ../NEWS:4086 +#: ../NEWS:4129 msgid "" ":gh:`114806`: No longer specialize calls to classes, if those classes have " "metaclasses. Fixes bug where the ``__call__`` method of the metaclass was " "not being called." msgstr "" -#: ../NEWS:4090 +#: ../NEWS:4133 msgid "" ":gh:`107944`: Improve error message for function calls with bad keyword " "arguments via getargs" msgstr "" -#: ../NEWS:4093 +#: ../NEWS:4136 msgid "" ":gh:`112529`: The free-threaded build no longer allocates space for the " "``PyGC_Head`` structure in objects that support cyclic garbage collection. A " @@ -7148,18 +7217,18 @@ msgid "" "including ``ob_gc_bits``, ``ob_tid``, and mimalloc internal data structures." msgstr "" -#: ../NEWS:4099 +#: ../NEWS:4142 msgid ":gh:`114456`: Lower the recursion limit under a debug build of WASI." msgstr "" -#: ../NEWS:4101 +#: ../NEWS:4144 msgid "" ":gh:`114083`: Compiler applies folding of LOAD_CONST with following " "instruction in a separate pass before other optimisations. This enables jump " "threading in certain circumstances." msgstr "" -#: ../NEWS:4105 +#: ../NEWS:4148 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 " @@ -7169,62 +7238,62 @@ msgid "" "of type T_UINT." msgstr "" -#: ../NEWS:4112 +#: ../NEWS:4155 msgid "" ":gh:`114265`: Compiler propagates line numbers before optimization, leading " "to more optimization opportunities and removing the need for the " "``guarantee_lineno_for_exits`` hack." msgstr "" -#: ../NEWS:4116 +#: ../NEWS:4159 msgid "" ":gh:`112529`: The free-threaded build now has its own thread-safe GC " "implementation that uses mimalloc to find GC tracked objects. It is non-" "generational, unlike the existing GC implementation." msgstr "" -#: ../NEWS:4120 +#: ../NEWS:4163 msgid "" ":gh:`114050`: Fix segmentation fault caused by an incorrect format string in " "``TypeError`` exception when more than two arguments are passed to ``int``." msgstr "" -#: ../NEWS:4124 +#: ../NEWS:4167 msgid "" ":gh:`112354`: The ``END_FOR`` instruction now pops only one value. This is " "to better support side exits in loops." msgstr "" -#: ../NEWS:4127 +#: ../NEWS:4170 msgid "" ":gh:`113884`: Make :class:`queue.SimpleQueue` thread safe when the GIL is " "disabled." msgstr "" -#: ../NEWS:4130 +#: ../NEWS:4173 msgid "" ":gh:`114058`: Implement the foundations of the Tier 2 redundancy eliminator." msgstr "" -#: ../NEWS:4132 +#: ../NEWS:4175 msgid "" ":gh:`113939`: frame.clear(): Clear frame.f_locals as well, and not only the " "fast locals. This is relevant once frame.f_locals was accessed, which would " "contain also references to all the locals." msgstr "" -#: ../NEWS:4136 +#: ../NEWS:4179 msgid "" ":gh:`112050`: Convert :class:`collections.deque` to use Argument Clinic." msgstr "" -#: ../NEWS:4138 +#: ../NEWS:4181 msgid "" ":gh:`112050`: Make methods on :class:`collections.deque` thread-safe when " "the GIL is disabled." msgstr "" -#: ../NEWS:4141 +#: ../NEWS:4184 msgid "" ":gh:`113464`: Add an option (``--enable-experimental-jit`` for ``configure``-" "based builds or ``--experimental-jit`` for ``PCbuild``-based ones) to build " @@ -7232,7 +7301,7 @@ msgid "" "fredrikbk.com/publications/copy-and-patch.pdf>`_" msgstr "" -#: ../NEWS:4146 +#: ../NEWS:4189 msgid "" ":gh:`113055`: Make interp->obmalloc a pointer. For interpreters that share " "state with the main interpreter, this points to the same static memory " @@ -7241,23 +7310,23 @@ msgid "" "and radix tree structures for interpreters with their own obmalloc state." msgstr "" -#: ../NEWS:4152 +#: ../NEWS:4195 msgid "" ":gh:`55664`: Add warning when creating :class:`type` using a namespace " "dictionary with non-string keys. Patched by Daniel Urban and Furkan Onder." msgstr "" -#: ../NEWS:4155 +#: ../NEWS:4198 msgid ":gh:`104530`: Use native Win32 condition variables." msgstr "" -#: ../NEWS:4160 +#: ../NEWS:4203 msgid "" ":gh:`115392`: Fix a bug in :mod:`doctest` where incorrect line numbers would " "be reported for decorated functions." msgstr "" -#: ../NEWS:4163 +#: ../NEWS:4206 msgid "" ":gh:`114563`: Fix several :func:`format` bugs when using the C " "implementation of :class:`~decimal.Decimal`: * memory leak in some rare " @@ -7267,14 +7336,14 @@ msgid "" "option (alternate form)" msgstr "" -#: ../NEWS:4170 +#: ../NEWS:4213 msgid "" ":gh:`102840`: Fix confused traceback when floordiv, mod, or divmod " "operations happens between instances of :class:`fractions.Fraction` and :" "class:`complex`." msgstr "" -#: ../NEWS:4174 +#: ../NEWS:4217 msgid "" ":gh:`115165`: Most exceptions are now ignored when attempting to set the " "``__orig_class__`` attribute on objects returned when calling :mod:`typing` " @@ -7283,44 +7352,44 @@ msgid "" "Dave Shawley." msgstr "" -#: ../NEWS:4180 +#: ../NEWS:4223 msgid "" ":gh:`112903`: Fix \"issubclass() arg 1 must be a class\" errors in certain " "cases of multiple inheritance with generic aliases (regression in early 3.13 " "alpha releases)." msgstr "" -#: ../NEWS:4184 +#: ../NEWS:4227 msgid "" ":gh:`115133`: Fix tests for :class:`~xml.etree.ElementTree.XMLPullParser` " "with Expat 2.6.0." msgstr "" -#: ../NEWS:4187 +#: ../NEWS:4230 msgid "" ":gh:`115059`: :meth:`io.BufferedRandom.read1` now flushes the underlying " "write buffer." msgstr "" -#: ../NEWS:4190 +#: ../NEWS:4233 msgid "" ":gh:`79382`: Trailing ``**`` no longer allows to match files and non-" "existing paths in recursive :func:`~glob.glob`." msgstr "" -#: ../NEWS:4193 +#: ../NEWS:4236 msgid "" ":gh:`67837`: Avoid race conditions in the creation of directories during " "concurrent extraction in :mod:`tarfile` and :mod:`zipfile`." msgstr "" -#: ../NEWS:4196 +#: ../NEWS:4239 msgid "" ":gh:`115060`: Speed up :meth:`pathlib.Path.glob` by removing redundant regex " "matching." msgstr "" -#: ../NEWS:4199 +#: ../NEWS:4242 msgid "" ":gh:`97928`: Partially revert the behavior of :meth:`tkinter.Text.count`. By " "default it preserves the behavior of older Python versions, except that " @@ -7329,44 +7398,44 @@ msgid "" "returning the single count as an integer instead of a 1-tuple or ``None``." msgstr "" -#: ../NEWS:4206 +#: ../NEWS:4249 msgid "" ":gh:`114628`: When csv.Error is raised when handling TypeError, do not print " "the TypeError traceback." msgstr "" -#: ../NEWS:4209 +#: ../NEWS:4252 msgid "" ":gh:`85984`: Added ``_POSIX_VDISABLE`` from C's ```` to :mod:" "`termios`." msgstr "" -#: ../NEWS:4212 +#: ../NEWS:4255 msgid ":gh:`114965`: Update bundled pip to 24.0" msgstr "" -#: ../NEWS:4214 +#: ../NEWS:4257 msgid "" ":gh:`114959`: :mod:`tarfile` no longer ignores errors when trying to extract " "a directory on top of a file." msgstr "" -#: ../NEWS:4217 +#: ../NEWS:4260 msgid ":gh:`114894`: Add :meth:`array.array.clear`." msgstr "" -#: ../NEWS:4219 +#: ../NEWS:4262 msgid "" ":gh:`114071`: Support tuple subclasses using auto() for enum member value." msgstr "" -#: ../NEWS:4221 +#: ../NEWS:4264 msgid "" ":gh:`109475`: Fix support of explicit option value \"--\" in :mod:`argparse` " "(e.g. ``--option=--``)." msgstr "" -#: ../NEWS:4224 +#: ../NEWS:4267 msgid "" ":gh:`49766`: Fix :class:`~datetime.date`-:class:`~datetime.datetime` " "comparison. Now the special comparison methods like ``__eq__`` and " @@ -7378,46 +7447,46 @@ msgid "" "special comparison methods in subclasses." msgstr "" -#: ../NEWS:4234 +#: ../NEWS:4277 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 "" -#: ../NEWS:4237 +#: ../NEWS:4280 msgid "" ":gh:`114678`: Ensure that deprecation warning for 'N' specifier in :class:" "`~decimal.Decimal` format is not raised for cases where 'N' appears in other " "places in the format specifier. Based on patch by Stefan Krah." msgstr "" -#: ../NEWS:4241 +#: ../NEWS:4284 msgid "" ":gh:`70303`: Return both files and directories from :meth:`pathlib.Path." "glob` if a pattern ends with \"``**``\". Previously only directories were " "returned." msgstr "" -#: ../NEWS:4245 +#: ../NEWS:4288 msgid "" ":gh:`109653`: Improve import time of :mod:`importlib.metadata` and :mod:" "`email.utils`." msgstr "" -#: ../NEWS:4248 +#: ../NEWS:4291 msgid "" ":gh:`113280`: Fix a leak of open socket in rare cases when error occurred " "in :class:`ssl.SSLSocket` creation." msgstr "" -#: ../NEWS:4251 +#: ../NEWS:4294 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 "" -#: ../NEWS:4255 +#: ../NEWS:4298 msgid "" ":gh:`83383`: Synchronization of the :mod:`dbm.dumb` database is now no-op if " "there was no modification since opening or last synchronization. The " @@ -7426,83 +7495,83 @@ msgid "" "synchronizing or closing." msgstr "" -#: ../NEWS:4261 +#: ../NEWS:4304 msgid "" ":gh:`91602`: Add *filter* keyword-only parameter to :meth:`sqlite3." "Connection.iterdump` for filtering database objects to dump. Patch by " "Mariusz Felisiak." msgstr "" -#: ../NEWS:4265 +#: ../NEWS:4308 msgid "" ":gh:`112451`: Prohibit subclassing pure-Python :class:`datetime.timezone`. " "This is consistent with C-extension implementation. Patch by Mariusz " "Felisiak." msgstr "" -#: ../NEWS:4269 +#: ../NEWS:4312 msgid "" ":gh:`69893`: Add the :meth:`!close` method for the iterator returned by :" "func:`xml.etree.ElementTree.iterparse`." msgstr "" -#: ../NEWS:4272 +#: ../NEWS:4315 msgid "" ":gh:`109653`: Reduce the import time of :mod:`threading` module by ~50%. " "Patch by Daniel Hollas." msgstr "" -#: ../NEWS:4275 +#: ../NEWS:4318 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 "" -#: ../NEWS:4278 +#: ../NEWS:4321 msgid "" ":gh:`114315`: Make :class:`threading.Lock` a real class, not a factory " "function. Add ``__new__`` to ``_thread.lock`` type." msgstr "" -#: ../NEWS:4281 +#: ../NEWS:4324 msgid "" ":gh:`100414`: Add :mod:`dbm.sqlite3` as a backend to :mod:`dbm`, and make it " "the new default :mod:`!dbm` backend. Patch by Raymond Hettinger and Erlend " "E. Aasland." msgstr "" -#: ../NEWS:4285 +#: ../NEWS:4328 msgid "" ":gh:`113267`: Revert changes in :gh:`106584` which made calls of " "``TestResult`` methods ``startTest()`` and ``stopTest()`` unbalanced." msgstr "" -#: ../NEWS:4288 +#: ../NEWS:4331 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 "" -#: ../NEWS:4292 +#: ../NEWS:4335 msgid "" ":gh:`114423`: ``_DummyThread`` entries in ``threading._active`` are now " "automatically removed when the related thread dies." msgstr "" -#: ../NEWS:4295 +#: ../NEWS:4338 msgid "" ":gh:`114257`: Dismiss the :exc:`FileNotFound` error in :func:`ctypes.util." "find_library` and just return ``None`` on Linux." msgstr "" -#: ../NEWS:4298 +#: ../NEWS:4341 msgid "" ":gh:`114321`: Expose more platform specific constants in the :mod:`fcntl` " "module on Linux, macOS, FreeBSD and NetBSD." msgstr "" -#: ../NEWS:4301 +#: ../NEWS:4344 msgid "" ":gh:`114328`: The :func:`tty.setcbreak` and new :func:`tty.cfmakecbreak` no " "longer clears the terminal input ICRLF flag. This fixes a regression " @@ -7510,14 +7579,14 @@ msgid "" "their ``stty(1)`` manual pages." msgstr "" -#: ../NEWS:4306 +#: ../NEWS:4349 msgid "" ":gh:`114281`: Remove type hints from ``Lib/asyncio/staggered.py``. The " "annotations in the `typeshed `__ project " "should be used instead." msgstr "" -#: ../NEWS:4310 +#: ../NEWS:4353 msgid "" ":gh:`101438`: Avoid reference cycle in ElementTree.iterparse. The iterator " "returned by ``ElementTree.iterparse`` may hold on to a file descriptor. The " @@ -7525,55 +7594,55 @@ msgid "" "returned iterator was not exhausted." msgstr "" -#: ../NEWS:4315 +#: ../NEWS:4358 msgid "" ":gh:`114198`: The signature for the ``__replace__`` method on :mod:" "`dataclasses` now has the first argument named ``self``, rather than ``obj``." msgstr "" -#: ../NEWS:4319 +#: ../NEWS:4362 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 "" -#: ../NEWS:4323 +#: ../NEWS:4366 msgid "" ":gh:`114149`: Enum: correctly handle tuple subclasses in custom ``__new__``." msgstr "" -#: ../NEWS:4325 +#: ../NEWS:4368 msgid "" ":gh:`83648`: Support deprecation of options, positional arguments and " "subcommands in :mod:`argparse`." msgstr "" -#: ../NEWS:4328 +#: ../NEWS:4371 msgid ":gh:`114087`: Speed up ``dataclasses.asdict`` up to 1.35x." msgstr "" -#: ../NEWS:4330 +#: ../NEWS:4373 msgid "" ":gh:`109534`: Fix a reference leak in :class:`asyncio.selector_events." "BaseSelectorEventLoop` when SSL handshakes fail. Patch contributed by Jamie " "Phan." msgstr "" -#: ../NEWS:4334 +#: ../NEWS:4377 msgid "" ":gh:`79634`: Accept :term:`path-like objects ` as patterns " "in :meth:`pathlib.Path.glob` and :meth:`~pathlib.Path.rglob`." msgstr "" -#: ../NEWS:4337 +#: ../NEWS:4380 msgid "" ":gh:`112202`: Ensure that a :func:`asyncio.Condition.notify` call does not " "get lost if the awakened ``Task`` is simultaneously cancelled or encounters " "any other error." msgstr "" -#: ../NEWS:4341 +#: ../NEWS:4384 msgid "" ":gh:`113951`: Fix the behavior of ``tag_unbind()`` methods of :class:" "`tkinter.Text` and :class:`tkinter.Canvas` classes with three arguments. " @@ -7584,7 +7653,7 @@ msgid "" "leaves *sequence* unbound only if *funcid* was the last bound command." msgstr "" -#: ../NEWS:4350 +#: ../NEWS:4393 msgid "" ":gh:`97959`: Fix rendering class methods, bound methods, method and function " "aliases in :mod:`pydoc`. Class methods no longer have \"method of builtins." @@ -7595,70 +7664,70 @@ msgid "" "of builtin classes are now supported as well as methods of Python classes." msgstr "" -#: ../NEWS:4359 +#: ../NEWS:4402 msgid "" ":gh:`113796`: Add more validation checks in the :class:`csv.Dialect` " "constructor. :exc:`ValueError` is now raised if the same character is used " "in different roles." msgstr "" -#: ../NEWS:4363 +#: ../NEWS:4406 msgid "" ":gh:`113732`: Fix support of :data:`~csv.QUOTE_NOTNULL` and :data:`~csv." "QUOTE_STRINGS` in :func:`csv.reader`." msgstr "" -#: ../NEWS:4366 +#: ../NEWS:4409 msgid "" ":gh:`113225`: Speed up :meth:`pathlib.Path.walk` by using :attr:`os.DirEntry." "path` where possible." msgstr "" -#: ../NEWS:4369 +#: ../NEWS:4412 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 "" -#: ../NEWS:4373 +#: ../NEWS:4416 msgid "" "Also, make sure to pass non-zero fold values when creating subclasses in " "various methods. Previously, fold was silently ignored." msgstr "" -#: ../NEWS:4376 +#: ../NEWS:4419 msgid "" ":gh:`112919`: Speed-up :func:`datetime.datetime.replace`, :func:`datetime." "date.replace` and :func:`datetime.time.replace`." msgstr "" -#: ../NEWS:4379 +#: ../NEWS:4422 msgid "" ":gh:`59013`: Set breakpoint on the first executable line of the function, " "instead of the line of function definition when the user do ``break func`` " "using :mod:`pdb`" msgstr "" -#: ../NEWS:4383 +#: ../NEWS:4426 msgid "" ":gh:`112343`: Improve handling of pdb convenience variables to avoid " "replacing string contents." msgstr "" -#: ../NEWS:4386 +#: ../NEWS:4429 msgid "" ":gh:`112240`: Add option to calendar module CLI to specify the weekday to " "start each week. Patch by Steven Ward." msgstr "" -#: ../NEWS:4389 +#: ../NEWS:4432 msgid "" ":gh:`111741`: Recognise ``image/webp`` as a standard format in the :mod:" "`mimetypes` module." msgstr "" -#: ../NEWS:4392 +#: ../NEWS:4435 msgid "" ":gh:`43457`: Fix the :mod:`tkinter` widget method :meth:`!wm_attributes`. It " "now accepts the attribute name without the minus prefix to get window " @@ -7669,74 +7738,74 @@ msgid "" "instead of string if *wantobjects* was set to 0." msgstr "" -#: ../NEWS:4400 +#: ../NEWS:4443 msgid "" ":gh:`82626`: Many functions now emit a warning if a boolean value is passed " "as a file descriptor argument." msgstr "" -#: ../NEWS:4403 +#: ../NEWS:4446 msgid "" ":gh:`111051`: Added check for file modification during debugging with :mod:" "`pdb`" msgstr "" -#: ../NEWS:4406 +#: ../NEWS:4449 msgid "" ":gh:`110345`: Show the Tcl/Tk patchlevel (rather than version) in :meth:" "`tkinter._test`." msgstr "" -#: ../NEWS:4409 +#: ../NEWS:4452 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 "" -#: ../NEWS:4413 +#: ../NEWS:4456 msgid "" ":gh:`75705`: Set unixfrom envelope in :class:`mailbox.mbox` and :class:" "`mailbox.MMDF`." msgstr "" -#: ../NEWS:4416 +#: ../NEWS:4459 msgid "" ":gh:`106233`: Fix stacklevel in ``InvalidTZPathWarning`` during :mod:" "`zoneinfo` module import." msgstr "" -#: ../NEWS:4419 +#: ../NEWS:4462 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 "" -#: ../NEWS:4423 +#: ../NEWS:4466 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 "" -#: ../NEWS:4427 +#: ../NEWS:4470 msgid "" ":gh:`96471`: Add :py:class:`queue.Queue` termination with :py:meth:`~queue." "Queue.shutdown`." msgstr "" -#: ../NEWS:4430 +#: ../NEWS:4473 msgid "" ":gh:`101599`: Changed argparse flag options formatting to remove redundancy." msgstr "" -#: ../NEWS:4432 +#: ../NEWS:4475 msgid "" ":gh:`85984`: Add POSIX pseudo-terminal functions :func:`os.posix_openpt`, :" "func:`os.grantpt`, :func:`os.unlockpt`, and :func:`os.ptsname`." msgstr "" -#: ../NEWS:4435 +#: ../NEWS:4478 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 " @@ -7744,18 +7813,18 @@ msgid "" "joined." msgstr "" -#: ../NEWS:4440 +#: ../NEWS:4483 msgid "" ":gh:`88569`: Add :func:`os.path.isreserved`, which identifies reserved " "pathnames such as \"NUL\", \"AUX\" and \"CON\". This function is only " "available on Windows." msgstr "" -#: ../NEWS:4444 +#: ../NEWS:4487 msgid "Deprecate :meth:`pathlib.PurePath.is_reserved`." msgstr "" -#: ../NEWS:4446 +#: ../NEWS:4489 msgid "" ":issue:`38364`: The ``inspect`` functions ``isgeneratorfunction``, " "``iscoroutinefunction``, ``isasyncgenfunction`` now support ``functools." @@ -7763,142 +7832,142 @@ msgid "" "partial``." msgstr "" -#: ../NEWS:4454 +#: ../NEWS:4497 msgid "" ":gh:`115233`: Fix an example for :class:`~logging.LoggerAdapter` in the " "Logging Cookbook." msgstr "" -#: ../NEWS:4457 +#: ../NEWS:4500 msgid "" ":gh:`114123`: Move the :mod:`csv` module docstring to the :mod:`!csv` module " "instead of reexporting it from the internal :mod:`!_csv` module, and remove " "``__doc__`` from ``csv.__all__``." msgstr "" -#: ../NEWS:4461 +#: ../NEWS:4504 msgid "" "Move :attr:`!csv.__version__` to the :mod:`!csv` module instead of " "reexporting it from the internal :mod:`!_csv` module, and remove " "``__version__`` from ``csv.__all__``." msgstr "" -#: ../NEWS:4468 +#: ../NEWS:4511 msgid "" ":gh:`114099`: Added test exclusions required to run the test suite on iOS." msgstr "" -#: ../NEWS:4470 +#: ../NEWS:4513 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 "" -#: ../NEWS:4478 +#: ../NEWS:4521 msgid "" ":gh:`115167`: Avoid vendoring ``vcruntime140_threads.dll`` when building " "with Visual Studio 2022 version 17.8." msgstr "" -#: ../NEWS:4481 +#: ../NEWS:4524 msgid "" ":gh:`113632`: Promote WASI to a tier 2 platform and drop Emscripten from " "tier 3 in configure.ac." msgstr "" -#: ../NEWS:4484 +#: ../NEWS:4527 msgid "" ":gh:`114099`: configure and Makefile were refactored to accommodate " "framework builds on Apple platforms other than macOS." msgstr "" -#: ../NEWS:4487 +#: ../NEWS:4530 msgid "" ":gh:`114875`: Add :c:func:`!getgrent` as a prerequisite for building the :" "mod:`grp` module." msgstr "" -#: ../NEWS:4493 +#: ../NEWS:4536 msgid "" ":gh:`115049`: Fixes ``py.exe`` launcher failing when run as users without " "user profiles." msgstr "" -#: ../NEWS:4496 +#: ../NEWS:4539 msgid ":gh:`115009`: Update Windows installer to use SQLite 3.45.1." msgstr "" -#: ../NEWS:4498 +#: ../NEWS:4541 msgid ":gh:`109991`: Update Windows build to use OpenSSL 3.0.13." msgstr "" -#: ../NEWS:4500 +#: ../NEWS:4543 msgid ":gh:`111239`: Update Windows builds to use zlib v1.3.1." msgstr "" -#: ../NEWS:4502 +#: ../NEWS:4545 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 "" -#: ../NEWS:4506 +#: ../NEWS:4549 msgid "" ":gh:`112984`: Adds free-threaded binaries to Windows installer as an " "optional component." msgstr "" -#: ../NEWS:4509 +#: ../NEWS:4552 msgid "" ":gh:`89240`: Allows :mod:`multiprocessing` to create pools of greater than " "62 processes." msgstr "" -#: ../NEWS:4515 +#: ../NEWS:4558 msgid ":gh:`115009`: Update macOS installer to use SQLite 3.45.1." msgstr "" -#: ../NEWS:4517 +#: ../NEWS:4560 msgid ":gh:`109991`: Update macOS installer to use OpenSSL 3.0.13." msgstr "" -#: ../NEWS:4519 +#: ../NEWS:4562 msgid "" ":gh:`114490`: Add Mach-O linkage support for :func:`platform.architecture`." msgstr "" -#: ../NEWS:4521 +#: ../NEWS:4564 msgid "" ":gh:`87804`: On macOS the result of ``os.statvfs`` and ``os.fstatvfs`` now " "correctly report the size of very large disks, in previous versions the " "reported number of blocks was wrong for disks with at least 2**32 blocks." msgstr "" -#: ../NEWS:4528 +#: ../NEWS:4571 msgid "" ":gh:`96905`: In idlelib code, stop redefining built-ins 'dict' and 'object'." msgstr "" -#: ../NEWS:4530 +#: ../NEWS:4573 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 "" -#: ../NEWS:4537 +#: ../NEWS:4580 msgid ":gh:`113516`: Don't set ``LDSHARED`` when building for WASI." msgstr "" -#: ../NEWS:4539 +#: ../NEWS:4582 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 "" -#: ../NEWS:4542 +#: ../NEWS:4585 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 | " @@ -7907,28 +7976,28 @@ msgid "" "would be silently accepted." msgstr "" -#: ../NEWS:4551 +#: ../NEWS:4594 msgid "" ":gh:`111140`: Adds :c:func:`PyLong_AsNativeBytes`, :c:func:" "`PyLong_FromNativeBytes` and :c:func:`PyLong_FromUnsignedNativeBytes` " "functions." msgstr "" -#: ../NEWS:4555 +#: ../NEWS:4598 msgid "" ":gh:`114685`: :c:func:`PyBuffer_FillInfo` now raises a :exc:`SystemError` if " "called with :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE` as flags. These " "flags should only be used with the ``PyMemoryView_*`` C API." msgstr "" -#: ../NEWS:4559 +#: ../NEWS:4602 msgid "" ":gh:`114685`: :c:func:`PyObject_GetBuffer` now raises a :exc:`SystemError` " "if called with :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE` as flags. " "These flags should only be used with the ``PyMemoryView_*`` C API." msgstr "" -#: ../NEWS:4563 +#: ../NEWS:4606 msgid "" ":gh:`114626`: Add ``PyCFunctionFast`` and ``PyCFunctionFastWithKeywords`` " "typedefs (identical to the existing ``_PyCFunctionFast`` and " @@ -7936,32 +8005,32 @@ msgid "" "prefix)." msgstr "" -#: ../NEWS:4568 +#: ../NEWS:4611 msgid "" ":gh:`114329`: Add :c:func:`PyList_GetItemRef`, which is similar to :c:func:" "`PyList_GetItem` but returns a :term:`strong reference` instead of a :term:" "`borrowed reference`." msgstr "" -#: ../NEWS:4572 +#: ../NEWS:4615 msgid ":gh:`110850`: Add PyTime C API:" msgstr "" -#: ../NEWS:4574 +#: ../NEWS:4617 msgid ":c:type:`PyTime_t` type." msgstr "" -#: ../NEWS:4575 +#: ../NEWS:4618 msgid ":c:var:`PyTime_MIN` and :c:var:`PyTime_MAX` constants." msgstr "" -#: ../NEWS:4576 +#: ../NEWS:4619 msgid "" ":c:func:`PyTime_AsSecondsDouble`, :c:func:`PyTime_Monotonic`, :c:func:" "`PyTime_PerfCounter`, and :c:func:`PyTime_Time` functions." msgstr "" -#: ../NEWS:4582 +#: ../NEWS:4625 msgid "" ":gh:`112066`: Add :c:func:`PyDict_SetDefaultRef`: insert a key and value " "into a dictionary if the key is not already present. This is similar to :" @@ -7970,135 +8039,135 @@ msgid "" "returns a strong reference instead of a borrowed reference." msgstr "" -#: ../NEWS:4591 +#: ../NEWS:4634 msgid "Python 3.13.0 alpha 3" msgstr "" -#: ../NEWS:4593 +#: ../NEWS:4636 msgid "*Release date: 2024-01-17*" msgstr "" -#: ../NEWS:4598 +#: ../NEWS:4641 msgid "" ":gh:`113659`: Skip ``.pth`` files with names starting with a dot or hidden " "file attribute." msgstr "" -#: ../NEWS:4601 +#: ../NEWS:4644 msgid "" ":gh:`112302`: Created a Software Bill-of-Materials document and tooling for " "tracking dependencies." msgstr "" -#: ../NEWS:4607 +#: ../NEWS:4650 msgid "" ":gh:`107901`: Compiler duplicates basic blocks that have an eval breaker " "check, no line number, and multiple predecessors." msgstr "" -#: ../NEWS:4610 +#: ../NEWS:4653 msgid "" ":gh:`107901`: A jump leaving an exception handler back to normal code no " "longer checks the eval breaker." msgstr "" -#: ../NEWS:4613 +#: ../NEWS:4656 msgid "" ":gh:`113655`: Set the C recursion limit to 4000 on Windows, and 10000 on " "Linux/OSX. This seems to be near the sweet spot to maintain safety, but not " "compromise backwards compatibility." msgstr "" -#: ../NEWS:4617 +#: ../NEWS:4660 msgid "" ":gh:`113710`: Add typed stack effects to the interpreter DSL, along with " "various instruction annotations." msgstr "" -#: ../NEWS:4620 +#: ../NEWS:4663 msgid "" ":gh:`77046`: On Windows, file descriptors wrapping Windows handles are now " "created non inheritable by default (:pep:`446`). Patch by Zackery Spytz and " "Victor Stinner." msgstr "" -#: ../NEWS:4624 +#: ../NEWS:4667 msgid "" ":gh:`113853`: Guarantee that all executors make progress. This then " "guarantees that tier 2 execution always makes progress." msgstr "" -#: ../NEWS:4627 +#: ../NEWS:4670 msgid "" ":gh:`113753`: Fix an issue where the finalizer of ``PyAsyncGenASend`` " "objects might not be called if they were allocated from a free list." msgstr "" -#: ../NEWS:4630 +#: ../NEWS:4673 msgid "" ":gh:`107901`: Compiler changed so that synthetic jumps which are not at loop " "end no longer check the eval breaker." msgstr "" -#: ../NEWS:4633 +#: ../NEWS:4676 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 "" -#: ../NEWS:4636 +#: ../NEWS:4679 msgid "" ":gh:`89811`: Check for a valid ``tp_version_tag`` before performing bytecode " "specializations that rely on this value being usable." msgstr "" -#: ../NEWS:4639 +#: ../NEWS:4682 msgid "" ":gh:`111488`: Changed error message in case of no 'in' keyword after 'for' " "in list comprehensions" msgstr "" -#: ../NEWS:4642 +#: ../NEWS:4685 msgid "" ":gh:`113657`: Fix an issue that caused important instruction pointer updates " "to be optimized out of tier two traces." msgstr "" -#: ../NEWS:4645 +#: ../NEWS:4688 msgid "" ":gh:`113603`: Fixed bug where a redundant NOP is not removed, causing an " "assertion to fail in the compiler in debug mode." msgstr "" -#: ../NEWS:4648 +#: ../NEWS:4691 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 "" -#: ../NEWS:4651 +#: ../NEWS:4694 msgid "" ":gh:`113486`: No longer issue spurious ``PY_UNWIND`` events for optimized " "calls to classes." msgstr "" -#: ../NEWS:4654 +#: ../NEWS:4697 msgid "" ":gh:`113297`: Fix segfault in the compiler on with statement with 19 context " "managers." msgstr "" -#: ../NEWS:4657 +#: ../NEWS:4700 msgid ":gh:`113212`: Improve :py:class:`super` error messages." msgstr "" -#: ../NEWS:4659 +#: ../NEWS:4702 msgid "" ":gh:`111375`: Only use ``NULL`` in the exception stack to indicate an " "exception was handled. Patch by Carey Metcalfe." msgstr "" -#: ../NEWS:4662 +#: ../NEWS:4705 msgid "" ":gh:`112215`: Increase the C recursion limit by a factor of 3 for non-debug " "builds, except for webassembly and s390 platforms which are unchanged. This " @@ -8106,83 +8175,83 @@ msgid "" "and Python code." msgstr "" -#: ../NEWS:4667 +#: ../NEWS:4710 msgid "" ":gh:`113054`: Fixed bug where a redundant NOP is not removed, causing an " "assertion to fail in the compiler in debug mode." msgstr "" -#: ../NEWS:4670 +#: ../NEWS:4713 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 "" -#: ../NEWS:4674 +#: ../NEWS:4717 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 "" -#: ../NEWS:4678 +#: ../NEWS:4721 msgid "" ":gh:`108866`: Change the API and contract of ``_PyExecutorObject`` to return " "the next_instr pointer, instead of the frame, and to always execute at least " "one instruction." msgstr "" -#: ../NEWS:4682 +#: ../NEWS:4725 msgid ":gh:`90350`: Optimize builtin functions :func:`min` and :func:`max`." msgstr "" -#: ../NEWS:4684 +#: ../NEWS:4727 msgid "" ":gh:`112943`: Correctly compute end column offsets for multiline tokens in " "the :mod:`tokenize` module. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:4687 +#: ../NEWS:4730 msgid "" ":gh:`112125`: Fix ``None.__ne__(None)`` returning ``NotImplemented`` instead " "of ``False``." msgstr "" -#: ../NEWS:4690 +#: ../NEWS:4733 msgid "" ":gh:`74616`: :func:`input` now raises a ValueError when output on the " "terminal if the prompt contains embedded null characters instead of silently " "truncating it." msgstr "" -#: ../NEWS:4694 +#: ../NEWS:4737 msgid "" ":gh:`112716`: Fix SystemError in the ``import`` statement and in " "``__reduce__()`` methods of builtin types when ``__builtins__`` is not a " "dict." msgstr "" -#: ../NEWS:4698 +#: ../NEWS:4741 msgid "" ":gh:`112730`: Use color to highlight error locations in tracebacks. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:4701 +#: ../NEWS:4744 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 "" -#: ../NEWS:4705 +#: ../NEWS:4748 msgid "" ":gh:`112660`: Do not clear unexpected errors during formatting error " "messages for ImportError and AttributeError for modules." msgstr "" -#: ../NEWS:4708 +#: ../NEWS:4751 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 " @@ -8190,7 +8259,7 @@ msgid "" "containing large data." msgstr "" -#: ../NEWS:4713 +#: ../NEWS:4756 msgid "" ":gh:`95754`: Provide a better error message when accessing invalid " "attributes on partially initialized modules. The origin of the module being " @@ -8198,13 +8267,13 @@ msgid "" "shadowing other modules." msgstr "" -#: ../NEWS:4718 +#: ../NEWS:4761 msgid "" ":gh:`112217`: Add check for the type of ``__cause__`` returned from calling " "the type ``T`` in ``raise from T``." msgstr "" -#: ../NEWS:4721 +#: ../NEWS:4764 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." @@ -8212,31 +8281,31 @@ msgid "" "state for a closed coroutine/generator." msgstr "" -#: ../NEWS:4726 +#: ../NEWS:4769 msgid "" ":gh:`112388`: Fix an error that was causing the parser to try to overwrite " "tokenizer errors. Patch by pablo Galindo" msgstr "" -#: ../NEWS:4729 +#: ../NEWS:4772 msgid "" ":gh:`112387`: Fix error positions for decoded strings with backwards " "tokenize errors. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:4732 +#: ../NEWS:4775 msgid "" ":gh:`99606`: Make code generated for an empty f-string identical to the code " "of an empty normal string." msgstr "" -#: ../NEWS:4735 +#: ../NEWS:4778 msgid "" ":gh:`112367`: Avoid undefined behaviour when using the perf trampolines by " "not freeing the code arenas until shutdown. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:4738 +#: ../NEWS:4781 msgid "" ":gh:`112320`: The Tier 2 translator now tracks the confidence level for " "staying \"on trace\" (i.e. not exiting back to the Tier 1 interpreter) for " @@ -8244,7 +8313,7 @@ msgid "" "\"counter\". Trace translation ends when the confidence drops below 1/3rd." msgstr "" -#: ../NEWS:4743 +#: ../NEWS:4786 msgid "" ":gh:`109598`: :c:func:`PyComplex_RealAsDouble`/:c:func:" "`PyComplex_ImagAsDouble` now tries to convert an object to a :class:" @@ -8252,55 +8321,55 @@ msgid "" "the ``__float__()`` method. Patch by Sergey B Kirpichev." msgstr "" -#: ../NEWS:4749 +#: ../NEWS:4792 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 "" -#: ../NEWS:4754 +#: ../NEWS:4797 msgid "" ":issue:`21861`: Use the object's actual class name in :meth:`!_io.FileIO." "__repr__`, :meth:`!_io._WindowsConsoleIO` and :meth:`!_io.TextIOWrapper." "__repr__`, to make these methods subclass friendly." msgstr "" -#: ../NEWS:4759 +#: ../NEWS:4802 msgid ":issue:`45369`: Remove LibreSSL workarounds as per :pep:`644`." msgstr "" -#: ../NEWS:4761 +#: ../NEWS:4804 msgid ":issue:`34392`: Added :func:`sys._is_interned`." msgstr "" -#: ../NEWS:4766 +#: ../NEWS:4809 msgid "" ":gh:`114077`: Fix possible :exc:`OverflowError` in :meth:`socket.socket." "sendfile` when pass *count* larger than 2 GiB on 32-bit platform." msgstr "" -#: ../NEWS:4770 +#: ../NEWS:4813 msgid "" ":gh:`111803`: :mod:`plistlib` now supports loading more deeply nested lists " "in binary format." msgstr "" -#: ../NEWS:4773 +#: ../NEWS:4816 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 "" -#: ../NEWS:4777 +#: ../NEWS:4820 msgid "" ":gh:`108364`: :meth:`sqlite3.Connection.iterdump` now ensures that foreign " "key support is disabled before dumping the database schema, if there is any " "foreign key violation. Patch by Erlend E. Aasland and Mariusz Felisiak." msgstr "" -#: ../NEWS:4782 +#: ../NEWS:4825 msgid "" ":gh:`113971`: The :class:`zipfile.ZipInfo` previously protected ``." "_compresslevel`` attribute has been made public as ``.compress_level`` with " @@ -8308,13 +8377,13 @@ msgid "" "compatibility." msgstr "" -#: ../NEWS:4787 +#: ../NEWS:4830 msgid "" ":gh:`113877`: Fix :mod:`tkinter` method ``winfo_pathname()`` on 64-bit " "Windows." msgstr "" -#: ../NEWS:4790 +#: ../NEWS:4833 msgid "" ":gh:`113868`: Added :data:`mmap.MAP_NORESERVE`, :data:`mmap.MAP_NOEXTEND`, :" "data:`mmap.MAP_HASSEMAPHORE`, :data:`mmap.MAP_NOCACHE`, :data:`mmap." @@ -8324,39 +8393,39 @@ msgid "" "MAP_TPRO`. All of them are ``mmap(2)`` flags on macOS." msgstr "" -#: ../NEWS:4797 +#: ../NEWS:4840 msgid "" ":gh:`113848`: :func:`asyncio.TaskGroup` and :func:`asyncio.timeout` context " "managers now handle :exc:`~asyncio.CancelledError` subclasses as well as " "exact :exc:`!CancelledError`." msgstr "" -#: ../NEWS:4801 +#: ../NEWS:4844 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 "" -#: ../NEWS:4805 +#: ../NEWS:4848 msgid "" ":gh:`96037`: Insert :exc:`TimeoutError` in the context of the exception that " "was raised during exiting an expired :func:`asyncio.timeout` block." msgstr "" -#: ../NEWS:4808 +#: ../NEWS:4851 msgid "" ":gh:`113781`: Silence unraisable AttributeError when warnings are emitted " "during Python finalization." msgstr "" -#: ../NEWS:4811 +#: ../NEWS:4854 msgid "" ":gh:`113238`: Add ``Anchor`` to ``importlib.resources`` (in order for the " "code to comply with the documentation)" msgstr "" -#: ../NEWS:4814 +#: ../NEWS:4857 msgid "" ":gh:`111693`: :func:`asyncio.Condition.wait` now re-raises the same :exc:" "`CancelledError` instance that may have caused it to be interrupted. Fixed " @@ -8364,34 +8433,34 @@ msgid "" "exc:`CancelledError`." msgstr "" -#: ../NEWS:4819 +#: ../NEWS:4862 msgid "" ":gh:`113791`: Add ``CLOCK_MONOTONIC_RAW_APPROX`` and " "``CLOCK_UPTIME_RAW_APPROX`` to :mod:`time` on macOS. These are clocks " "available on macOS 10.12 or later." msgstr "" -#: ../NEWS:4823 +#: ../NEWS:4866 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 "" -#: ../NEWS:4827 +#: ../NEWS:4870 msgid "" ":gh:`113568`: Raise deprecation warnings from :class:`pathlib.PurePath` and " "not its private base class ``PurePathBase``." msgstr "" -#: ../NEWS:4830 +#: ../NEWS:4873 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 "" -#: ../NEWS:4834 +#: ../NEWS:4877 msgid "" ":gh:`113538`: In :meth:`asyncio.StreamReaderProtocol.connection_made`, there " "is callback that logs an error if the task wrapping the \"connected " @@ -8400,24 +8469,24 @@ msgid "" "the transport but don't log an error." msgstr "" -#: ../NEWS:4840 +#: ../NEWS:4883 msgid "" ":gh:`113626`: Add support for the *allow_code* argument in the :mod:" "`marshal` module. Passing ``allow_code=False`` prevents serialization and de-" "serialization of code objects which is incompatible between Python versions." msgstr "" -#: ../NEWS:4845 +#: ../NEWS:4888 msgid "" ":gh:`85567`: Fix resource warnings for unclosed files in :mod:`pickle` and :" "mod:`pickletools` command line interfaces." msgstr "" -#: ../NEWS:4848 +#: ../NEWS:4891 msgid ":gh:`113537`: Support loads ``str`` in :func:`plistlib.loads`." msgstr "" -#: ../NEWS:4850 +#: ../NEWS:4893 msgid "" ":gh:`89850`: Add default implementations of :meth:`pickle.Pickler." "persistent_id` and :meth:`pickle.Unpickler.persistent_load` methods in the C " @@ -8427,13 +8496,13 @@ msgid "" "recursion." msgstr "" -#: ../NEWS:4857 +#: ../NEWS:4900 msgid "" ":gh:`113569`: Indicate if there were no actual calls in unittest :meth:" "`~unittest.mock.Mock.assert_has_calls` failure." msgstr "" -#: ../NEWS:4860 +#: ../NEWS:4903 msgid "" ":gh:`101225`: Increase the backlog for :class:`multiprocessing.connection." "Listener` objects created by :mod:`multiprocessing.manager` and :mod:" @@ -8442,19 +8511,19 @@ msgid "" "connection.Connection` to them." msgstr "" -#: ../NEWS:4866 +#: ../NEWS:4909 msgid "" ":gh:`113568`: Raise audit events from :class:`pathlib.Path` and not its " "private base class ``PathBase``." msgstr "" -#: ../NEWS:4869 +#: ../NEWS:4912 msgid "" ":gh:`113543`: Make sure that ``webbrowser.MacOSXOSAScript`` sends " "``webbrowser.open`` audit event." msgstr "" -#: ../NEWS:4872 +#: ../NEWS:4915 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 " @@ -8463,11 +8532,11 @@ msgid "" "newline) it resulted in duplicate objects." msgstr "" -#: ../NEWS:4878 +#: ../NEWS:4921 msgid ":gh:`113421`: Fix multiprocessing logger for ``%(filename)s``." msgstr "" -#: ../NEWS:4880 +#: ../NEWS:4923 msgid "" ":gh:`111784`: Fix segfaults in the ``_elementtree`` module. Fix first " "segfault during deallocation of ``_elementtree.XMLParser`` instances by " @@ -8477,13 +8546,13 @@ msgid "" "``XMLParser`` structure for ``_elementtree`` module lifetime." msgstr "" -#: ../NEWS:4887 +#: ../NEWS:4930 msgid "" ":gh:`113407`: Fix import of :mod:`unittest.mock` when CPython is built " "without docstrings." msgstr "" -#: ../NEWS:4890 +#: ../NEWS:4933 msgid "" ":gh:`113320`: Fix regression in Python 3.12 where :class:`~typing.Protocol` " "classes that were not marked as :func:`runtime-checkable ` by around 6%. Patch by Alex " "Waygood." msgstr "" -#: ../NEWS:5010 +#: ../NEWS:5053 msgid "" ":gh:`74690`: Speedup :func:`isinstance` checks by roughly 20% for :func:" "`runtime-checkable protocols ` that only have one " @@ -8703,31 +8772,31 @@ msgid "" "roughly 10%. Patch by Alex Waygood." msgstr "" -#: ../NEWS:5015 +#: ../NEWS:5058 msgid "" ":gh:`112645`: Remove deprecation error on passing ``onerror`` to :func:" "`shutil.rmtree`." msgstr "" -#: ../NEWS:5018 +#: ../NEWS:5061 msgid "" ":gh:`112640`: Add ``kwdefaults`` parameter to :data:`types.FunctionType` to " "set default keyword argument values." msgstr "" -#: ../NEWS:5021 +#: ../NEWS:5064 msgid "" ":gh:`112622`: Ensure ``name`` parameter is passed to event loop in :func:" "`asyncio.create_task`." msgstr "" -#: ../NEWS:5024 +#: ../NEWS:5067 msgid "" ":gh:`112618`: Fix a caching bug relating to :data:`typing.Annotated`. " "``Annotated[str, True]`` is no longer identical to ``Annotated[str, 1]``." msgstr "" -#: ../NEWS:5027 +#: ../NEWS:5070 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 " @@ -8735,7 +8804,7 @@ msgid "" "slower ``fork()``." msgstr "" -#: ../NEWS:5032 +#: ../NEWS:5075 msgid "" "Also fixed a second 3.12.0 potential security bug. If a value of " "``extra_groups=[]`` was passed to :mod:`subprocess.Popen` or related APIs, " @@ -8743,157 +8812,157 @@ msgid "" "would not be made in the child process prior to ``exec()``." msgstr "" -#: ../NEWS:5037 +#: ../NEWS:5080 msgid "" "This was identified via code inspection in the process of fixing the first " "bug." msgstr "" -#: ../NEWS:5040 +#: ../NEWS:5083 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 "" -#: ../NEWS:5043 +#: ../NEWS:5086 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 "" -#: ../NEWS:5047 +#: ../NEWS:5090 msgid "" ":gh:`112578`: Fix a spurious :exc:`RuntimeWarning` when executing the :mod:" "`zipfile` module." msgstr "" -#: ../NEWS:5050 +#: ../NEWS:5093 msgid ":gh:`112516`: Update the bundled copy of pip to version 23.3.1." msgstr "" -#: ../NEWS:5052 +#: ../NEWS:5095 msgid "" ":gh:`112510`: Add :data:`readline.backend` for the backend readline uses " "(``editline`` or ``readline``)" msgstr "" -#: ../NEWS:5055 +#: ../NEWS:5098 msgid "" ":gh:`112328`: [Enum] Make ``EnumDict``, ``EnumDict.member_names``, " "``EnumType._add_alias_`` and ``EnumType._add_value_alias_`` public." msgstr "" -#: ../NEWS:5058 +#: ../NEWS:5101 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 "" -#: ../NEWS:5062 +#: ../NEWS:5105 msgid "" ":gh:`101336`: Add ``keep_alive`` keyword parameter for :meth:" "`AbstractEventLoop.create_server` and :meth:`BaseEventLoop.create_server`." msgstr "" -#: ../NEWS:5066 +#: ../NEWS:5109 msgid "" ":gh:`63284`: Added support for TLS-PSK (pre-shared key) mode to the :mod:" "`ssl` module." msgstr "" -#: ../NEWS:5069 +#: ../NEWS:5112 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 "" -#: ../NEWS:5073 +#: ../NEWS:5116 msgid "" ":gh:`112358`: Revert change to :class:`struct.Struct` initialization that " "broke some cases of subclassing." msgstr "" -#: ../NEWS:5076 +#: ../NEWS:5119 msgid "" ":gh:`112405`: Optimize :meth:`pathlib.PurePath.relative_to`. Patch by Alex " "Waygood." msgstr "" -#: ../NEWS:5079 +#: ../NEWS:5122 msgid "" ":gh:`94722`: Fix bug where comparison between instances of :class:`~doctest." "DocTest` fails if one of them has ``None`` as its lineno." msgstr "" -#: ../NEWS:5082 +#: ../NEWS:5125 msgid "" ":gh:`112361`: Speed up a small handful of :mod:`pathlib` methods by removing " "some temporary objects." msgstr "" -#: ../NEWS:5085 +#: ../NEWS:5128 msgid "" ":gh:`112345`: Improve error message when trying to call :func:`issubclass` " "against a :class:`typing.Protocol` that has non-method members. Patch by " "Randolf Scholz." msgstr "" -#: ../NEWS:5089 +#: ../NEWS:5132 msgid "" ":gh:`112137`: Change :mod:`dis` output to display no-lineno as \"--\" " "instead of \"None\"." msgstr "" -#: ../NEWS:5092 +#: ../NEWS:5135 msgid "" ":gh:`112332`: Deprecate the ``exc_type`` field of :class:`traceback." "TracebackException`. Add ``exc_type_str`` to replace it." msgstr "" -#: ../NEWS:5095 +#: ../NEWS:5138 msgid ":gh:`81620`: Add extra tests for :func:`random.binomialvariate`" msgstr "" -#: ../NEWS:5097 +#: ../NEWS:5140 msgid "" ":gh:`112292`: Fix a crash in :mod:`readline` when imported from a sub " "interpreter. Patch by Anthony Shaw" msgstr "" -#: ../NEWS:5100 +#: ../NEWS:5143 msgid "" ":gh:`77621`: Slightly improve the import time of the :mod:`pathlib` module " "by deferring some imports. Patch by Barney Gale." msgstr "" -#: ../NEWS:5103 +#: ../NEWS:5146 msgid "" ":gh:`112137`: Change :mod:`dis` output to display logical labels for jump " "targets instead of offsets." msgstr "" -#: ../NEWS:5106 +#: ../NEWS:5149 msgid "" ":gh:`112139`: Add :meth:`Signature.format` to format signatures to string " "with extra options. And use it in :mod:`pydoc` to render more readable " "signatures that have new lines between parameters." msgstr "" -#: ../NEWS:5110 +#: ../NEWS:5153 msgid "" ":gh:`112105`: Make :func:`readline.set_completer_delims` work with libedit" msgstr "" -#: ../NEWS:5112 +#: ../NEWS:5155 msgid "" ":gh:`106922`: Display multiple lines with ``traceback`` when errors span " "multiple lines." msgstr "" -#: ../NEWS:5115 +#: ../NEWS:5158 msgid "" ":gh:`111874`: When creating a :class:`typing.NamedTuple` class, ensure :func:" "`~object.__set_name__` is called on all objects that define ``__set_name__`` " @@ -8901,30 +8970,30 @@ msgid "" "Patch by Alex Waygood." msgstr "" -#: ../NEWS:5120 +#: ../NEWS:5163 msgid "" ":gh:`68166`: Add support of the \"vsapi\" element type in :meth:`tkinter.ttk." "Style.element_create`." msgstr "" -#: ../NEWS:5123 +#: ../NEWS:5166 msgid "" ":gh:`110275`: Named tuple's methods ``_replace()`` and ``__replace__()`` now " "raise TypeError instead of ValueError for invalid keyword arguments." msgstr "" -#: ../NEWS:5126 +#: ../NEWS:5169 msgid "" ":gh:`99367`: Do not mangle ``sys.path[0]`` in :mod:`pdb` if safe_path is set" msgstr "" -#: ../NEWS:5128 +#: ../NEWS:5171 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 "" -#: ../NEWS:5131 +#: ../NEWS:5174 msgid "" ":gh:`75666`: Fix the behavior of :mod:`tkinter` widget's ``unbind()`` method " "with two arguments. Previously, ``widget.unbind(sequence, funcid)`` " @@ -8935,25 +9004,25 @@ msgid "" "command." msgstr "" -#: ../NEWS:5139 +#: ../NEWS:5182 msgid "" ":gh:`67790`: Implement basic formatting support (minimum width, alignment, " "fill) for :class:`fractions.Fraction`." msgstr "" -#: ../NEWS:5142 +#: ../NEWS:5185 msgid "" ":gh:`111049`: Fix crash during garbage collection of the :class:`io.BytesIO` " "buffer object." msgstr "" -#: ../NEWS:5145 +#: ../NEWS:5188 msgid "" ":gh:`102980`: Redirect the output of ``interact`` command of :mod:`pdb` to " "the same channel as the debugger. Add tests and improve docs." msgstr "" -#: ../NEWS:5148 +#: ../NEWS:5191 msgid "" ":gh:`102988`: :func:`email.utils.getaddresses` and :func:`email.utils." "parseaddr` now return ``('', '')`` 2-tuples in more situations where invalid " @@ -8965,13 +9034,13 @@ msgid "" "the :cve:`2023-27043` fix." msgstr "" -#: ../NEWS:5157 +#: ../NEWS:5200 msgid "" ":gh:`52161`: :meth:`cmd.Cmd.do_help` now cleans docstrings with :func:" "`inspect.cleandoc` before writing them. Patch by Filip Łapkiewicz." msgstr "" -#: ../NEWS:5160 +#: ../NEWS:5203 msgid "" ":gh:`82300`: Add ``track`` parameter to :class:`multiprocessing." "shared_memory.SharedMemory` that allows using shared memory blocks without " @@ -8979,85 +9048,85 @@ msgid "" "releases them upon process exit." msgstr "" -#: ../NEWS:5165 +#: ../NEWS:5208 msgid "" ":gh:`110109`: Add private ``pathlib._PurePathBase`` class: a base class for :" "class:`pathlib.PurePath` that omits certain magic methods. It may be made " "public (along with ``_PathBase``) in future." msgstr "" -#: ../NEWS:5169 +#: ../NEWS:5212 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 "" -#: ../NEWS:5173 +#: ../NEWS:5216 msgid "" ":gh:`109786`: Fix possible reference leaks and crash when re-enter the " "``__next__()`` method of :class:`itertools.pairwise`." msgstr "" -#: ../NEWS:5176 +#: ../NEWS:5219 msgid "" ":gh:`91539`: Small (10 - 20%) and trivial performance improvement of :func:" "`urllib.request.getproxies_environment`, typically useful when there are " "many environment variables to go over." msgstr "" -#: ../NEWS:5180 +#: ../NEWS:5223 msgid "" ":gh:`103363`: Add *follow_symlinks* keyword-only argument to :meth:`pathlib." "Path.owner` and :meth:`~pathlib.Path.group`, defaulting to ``True``." msgstr "" -#: ../NEWS:5184 +#: ../NEWS:5227 msgid ":gh:`102130`: Support tab completion in :mod:`cmd` for ``editline``." msgstr "" -#: ../NEWS:5186 +#: ../NEWS:5229 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 "" -#: ../NEWS:5189 +#: ../NEWS:5232 msgid "" ":gh:`104003`: Add :func:`warnings.deprecated`, a decorator to mark " "deprecated functions to static type checkers and to warn on usage of " "deprecated classes and functions. See :pep:`702`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:5193 +#: ../NEWS:5236 msgid "" ":gh:`103708`: Make hardcoded python name, a configurable parameter so that " "different implementations of python can override it instead of making huge " "diffs in sysconfig.py" msgstr "" -#: ../NEWS:5197 +#: ../NEWS:5240 msgid "" ":gh:`66515`: :class:`mailbox.MH` now supports folders that do not contain a " "``.mh_sequences`` file (e.g. Claws Mail IMAP-cache folders). Patch by Serhiy " "Storchaka." msgstr "" -#: ../NEWS:5201 +#: ../NEWS:5244 msgid "" ":gh:`83162`: Renamed :exc:`!re.error` to :exc:`PatternError` for clarity, " "and kept :exc:`!re.error` for backward compatibility. Patch by Matthias " "Bussonnier and Adam Chhina." msgstr "" -#: ../NEWS:5205 +#: ../NEWS:5248 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 "" -#: ../NEWS:5209 +#: ../NEWS:5252 msgid "" ":issue:`43153`: On Windows, ``tempfile.TemporaryDirectory`` previously " "masked a ``PermissionError`` with ``NotADirectoryError`` during directory " @@ -9065,34 +9134,34 @@ msgid "" "ignored. Patch by Andrei Kulakov and Ken Jin." msgstr "" -#: ../NEWS:5214 +#: ../NEWS:5257 msgid "" ":issue:`32731`: :func:`getpass.getuser` now raises :exc:`OSError` for all " "failures rather than :exc:`ImportError` on systems lacking the :mod:`pwd` " "module or :exc:`KeyError` if the password database is empty." msgstr "" -#: ../NEWS:5218 +#: ../NEWS:5261 msgid "" ":issue:`34321`: :class:`mmap.mmap` now has a *trackfd* parameter on Unix; if " "it is ``False``, the file descriptor specified by *fileno* will not be " "duplicated." msgstr "" -#: ../NEWS:5222 +#: ../NEWS:5265 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 "" -#: ../NEWS:5226 +#: ../NEWS:5269 msgid "" ":issue:`35928`: :class:`io.TextIOWrapper` now correctly handles the decoding " "buffer after ``read()`` and ``write()``." msgstr "" -#: ../NEWS:5229 +#: ../NEWS:5272 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 " @@ -9100,32 +9169,32 @@ msgid "" "exception. Patch by Jeffrey Kintscher." msgstr "" -#: ../NEWS:5234 +#: ../NEWS:5277 msgid "" ":issue:`41422`: Fixed memory leaks of :class:`pickle.Pickler` and :class:" "`pickle.Unpickler` involving cyclic references via the internal memo mapping." msgstr "" -#: ../NEWS:5238 +#: ../NEWS:5281 msgid "" ":issue:`19821`: The :func:`!pydoc.ispackage` function has been deprecated." msgstr "" -#: ../NEWS:5240 +#: ../NEWS:5283 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 "" -#: ../NEWS:5244 +#: ../NEWS:5287 msgid "" ":issue:`39912`: :func:`warnings.filterwarnings` and :func:`warnings." "simplefilter` now raise appropriate exceptions instead of " "``AssertionError``. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:5248 +#: ../NEWS:5291 msgid "" ":issue:`37260`: Fixed a race condition in :func:`shutil.rmtree` in which " "directory entries removed by another process or thread while ``shutil." @@ -9133,108 +9202,108 @@ msgid "" "Jeffrey Kintscher." msgstr "" -#: ../NEWS:5253 +#: ../NEWS:5296 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 "" -#: ../NEWS:5257 +#: ../NEWS:5300 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 "" -#: ../NEWS:5261 +#: ../NEWS:5304 msgid "" ":issue:`29779`: Add a new :envvar:`PYTHON_HISTORY` environment variable to " "set the location of a ``.python_history`` file." msgstr "" -#: ../NEWS:5264 +#: ../NEWS:5307 msgid "" ":issue:`21360`: :class:`mailbox.Maildir` now ignores files with a leading " "dot." msgstr "" -#: ../NEWS:5269 +#: ../NEWS:5312 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 "" -#: ../NEWS:5272 +#: ../NEWS:5315 msgid "" ":gh:`110746`: Improved markup for valid options/values for methods ttk." "treeview.column and ttk.treeview.heading, and for Layouts." msgstr "" -#: ../NEWS:5275 +#: ../NEWS:5318 msgid "" ":gh:`95649`: Document that the :mod:`asyncio` module contains code taken " "from `v0.16.0 of the uvloop project `_, as well as the required MIT licensing information." msgstr "" -#: ../NEWS:5283 +#: ../NEWS:5326 msgid "" ":gh:`111798`: Disable ``test_super_deep()`` from ``test_call`` under pydebug " "builds on WASI; the stack depth is too small to make the test useful." msgstr "" -#: ../NEWS:5286 +#: ../NEWS:5329 msgid "" ":gh:`111801`: Lower the recursion limit in ``test_isinstance`` for " "``test_infinitely_many_bases()``. This prevents a stack overflow on a " "pydebug build of WASI." msgstr "" -#: ../NEWS:5290 +#: ../NEWS:5333 msgid "" ":gh:`111802`: Specify a low recursion depth for ``test_bad_getattr()`` in " "``test.pickletester`` to avoid exhausting the stack under a pydebug build " "for WASI." msgstr "" -#: ../NEWS:5294 +#: ../NEWS:5337 msgid "" ":gh:`44626`: Fix :func:`os.path.isabs` incorrectly returning ``True`` when " "given a path that starts with exactly one (back)slash on Windows." msgstr "" -#: ../NEWS:5297 +#: ../NEWS:5340 msgid "" "Fix :meth:`pathlib.PureWindowsPath.is_absolute` incorrectly returning " "``False`` for some paths beginning with two (back)slashes." msgstr "" -#: ../NEWS:5300 +#: ../NEWS:5343 msgid ":gh:`113633`: Use module state for the _testcapi extension module." msgstr "" -#: ../NEWS:5302 +#: ../NEWS:5345 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 "" -#: ../NEWS:5306 +#: ../NEWS:5349 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 "" -#: ../NEWS:5310 +#: ../NEWS:5353 msgid "" ":gh:`112334`: Adds a regression test to verify that ``vfork()`` is used when " "expected by :mod:`subprocess` on vfork enabled POSIX systems (Linux)." msgstr "" -#: ../NEWS:5313 +#: ../NEWS:5356 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 " @@ -9242,11 +9311,11 @@ msgid "" "test_unittest or test_compileall) that uses that submodule." msgstr "" -#: ../NEWS:5318 +#: ../NEWS:5361 msgid ":issue:`40648`: Test modes that file can get with chmod() on Windows." msgstr "" -#: ../NEWS:5323 +#: ../NEWS:5366 msgid "" ":gh:`114013`: Fix ``Tools/wasm/wasi.py`` to not include the path to ``python." "wasm`` as part of ``HOSTRUNNER``. The environment variable is meant to " @@ -9254,62 +9323,62 @@ msgid "" "flags appended to the ``HOSTRUNNER``. This fixes ``make test`` work." msgstr "" -#: ../NEWS:5329 +#: ../NEWS:5372 msgid "" ":gh:`113258`: Changed the Windows build to write out generated frozen " "modules into the build tree instead of the source tree." msgstr "" -#: ../NEWS:5332 +#: ../NEWS:5375 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 "" -#: ../NEWS:5337 +#: ../NEWS:5380 msgid ":gh:`112536`: Add support for thread sanitizer (TSAN)" msgstr "" -#: ../NEWS:5339 +#: ../NEWS:5382 msgid "" ":gh:`112867`: Fix the build for the case that WITH_PYMALLOC_RADIX_TREE=0 set." msgstr "" -#: ../NEWS:5341 +#: ../NEWS:5384 msgid "" ":gh:`103065`: Introduce ``Tools/wasm/wasi.py`` to simplify doing a WASI " "build." msgstr "" -#: ../NEWS:5344 +#: ../NEWS:5387 msgid "" ":issue:`11102`: The :func:`os.major`, :func:`os.makedev`, and :func:`os." "minor` functions are now available on HP-UX v3." msgstr "" -#: ../NEWS:5347 +#: ../NEWS:5390 msgid ":issue:`36351`: Do not set ipv6type when cross-compiling." msgstr "" -#: ../NEWS:5352 +#: ../NEWS:5395 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 "" -#: ../NEWS:5356 +#: ../NEWS:5399 msgid "" ":gh:`111877`: :func:`os.stat` calls were returning incorrect time values for " "files that could not be accessed directly." msgstr "" -#: ../NEWS:5359 +#: ../NEWS:5402 msgid ":gh:`111973`: Update Windows installer to use SQLite 3.44.2." msgstr "" -#: ../NEWS:5361 +#: ../NEWS:5404 msgid "" ":gh:`113009`: :mod:`multiprocessing`: On Windows, fix a race condition in " "``Process.terminate()``: no longer set the ``returncode`` attribute to " @@ -9318,50 +9387,50 @@ msgid "" "``GetExitCodeProcess()`` is not ``STILL_ACTIVE``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5368 +#: ../NEWS:5411 msgid "" ":gh:`86179`: Fixes path calculations when launching Python on Windows " "through a symlink." msgstr "" -#: ../NEWS:5371 +#: ../NEWS:5414 msgid "" ":gh:`71383`: Update Tcl/Tk in Windows installer to 8.6.13 with a patch to " "suppress incorrect ThemeChanged warnings." msgstr "" -#: ../NEWS:5374 +#: ../NEWS:5417 msgid "" ":gh:`111650`: Ensures the ``Py_GIL_DISABLED`` preprocessor variable is " "defined in :file:`pyconfig.h` so that extension modules written in C are " "able to use it." msgstr "" -#: ../NEWS:5378 +#: ../NEWS:5421 msgid "" ":gh:`112278`: Reduce the time cost for some functions in :mod:`platform` on " "Windows if current user has no permission to the WMI." msgstr "" -#: ../NEWS:5381 +#: ../NEWS:5424 msgid "" ":gh:`73427`: Deprecate :func:`sys._enablelegacywindowsfsencoding`. Use :" "envvar:`PYTHONLEGACYWINDOWSFSENCODING` instead. Patch by Inada Naoki." msgstr "" -#: ../NEWS:5384 +#: ../NEWS:5427 msgid "" ":gh:`87868`: Correctly sort and remove duplicate environment variables in :" "py:func:`!_winapi.CreateProcess`." msgstr "" -#: ../NEWS:5387 +#: ../NEWS:5430 msgid "" ":issue:`37308`: Fix mojibake in :class:`mmap.mmap` when using a non-ASCII " "*tagname* argument on Windows." msgstr "" -#: ../NEWS:5393 +#: ../NEWS:5436 msgid "" ":gh:`113666`: Add the following constants to module :mod:`stat`: " "``UF_SETTABLE``, ``UF_TRACKED``, ``UF_DATAVAULT``, ``SF_SUPPORTED``, " @@ -9370,42 +9439,42 @@ msgid "" "``SF_SETTABLE`` and ``SF_SYNTHETIC`` are only available on macOS." msgstr "" -#: ../NEWS:5399 +#: ../NEWS:5442 msgid ":gh:`113536`: :func:`os.waitid` is now available on macOS" msgstr "" -#: ../NEWS:5401 +#: ../NEWS:5444 msgid "" ":gh:`110459`: Running ``configure ... --with-openssl-rpath=X/Y/Z`` no longer " "fails to detect OpenSSL on macOS." msgstr "" -#: ../NEWS:5404 +#: ../NEWS:5447 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 "" -#: ../NEWS:5408 +#: ../NEWS:5451 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 "" -#: ../NEWS:5412 +#: ../NEWS:5455 msgid "" ":gh:`87277`: webbrowser: Don't look for X11 browsers on macOS. Those are " "generally not used and probing for them can result in starting XQuartz even " "if it isn't used otherwise." msgstr "" -#: ../NEWS:5416 +#: ../NEWS:5459 msgid ":gh:`111973`: Update macOS installer to use SQLite 3.44.2." msgstr "" -#: ../NEWS:5418 +#: ../NEWS:5461 msgid "" ":gh:`108269`: Set ``CFBundleAllowMixedLocalizations`` to true in the Info." "plist for the framework, embedded Python.app and IDLE.app with framework " @@ -9413,121 +9482,121 @@ msgid "" "locale when that's different from english." msgstr "" -#: ../NEWS:5423 +#: ../NEWS:5466 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 "" -#: ../NEWS:5428 +#: ../NEWS:5471 msgid "" ":gh:`110017`: Disable a signal handling stress test on macOS due to a bug in " "macOS (FB13453490)." msgstr "" -#: ../NEWS:5431 +#: ../NEWS:5474 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 "" -#: ../NEWS:5435 +#: ../NEWS:5478 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 "" -#: ../NEWS:5442 +#: ../NEWS:5485 msgid "" ":gh:`72284`: Improve the lists of features, editor key bindings, and shell " "key bingings in the IDLE doc." msgstr "" -#: ../NEWS:5445 +#: ../NEWS:5488 msgid ":gh:`113903`: Fix rare failure of test.test_idle, in test_configdialog." msgstr "" -#: ../NEWS:5447 +#: ../NEWS:5490 msgid "" ":gh:`113729`: Fix the \"Help -> IDLE Doc\" menu bug in 3.11.7 and 3.12.1." msgstr "" -#: ../NEWS:5449 +#: ../NEWS:5492 msgid ":gh:`113269`: Fix test_editor hang on macOS Catalina." msgstr "" -#: ../NEWS:5451 +#: ../NEWS:5494 msgid ":gh:`112898`: Fix processing unsaved files when quitting IDLE on macOS." msgstr "" -#: ../NEWS:5453 +#: ../NEWS:5496 msgid "" ":issue:`13586`: Enter the selected text when opening the \"Replace\" dialog." msgstr "" -#: ../NEWS:5458 +#: ../NEWS:5501 msgid "" ":gh:`106560`: Fix redundant declarations in the public C API. Declare " "PyBool_Type, PyLong_Type and PySys_Audit() only once. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:5462 +#: ../NEWS:5505 msgid "" ":gh:`112438`: Fix support of format units \"es\", \"et\", \"es#\", and " "\"et#\" in nested tuples in :c:func:`PyArg_ParseTuple`-like functions." msgstr "" -#: ../NEWS:5465 +#: ../NEWS:5508 msgid "" ":gh:`111545`: Add :c:func:`Py_HashPointer` function to hash a pointer. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:5468 +#: ../NEWS:5511 msgid "" ":gh:`65210`: Change the declaration of the *keywords* parameter of :c:func:" "`PyArg_ParseTupleAndKeywords` and :c:func:`PyArg_VaParseTupleAndKeywords` " "for better compatibility with C++." msgstr "" -#: ../NEWS:5474 +#: ../NEWS:5517 msgid "Python 3.13.0 alpha 2" msgstr "" -#: ../NEWS:5476 +#: ../NEWS:5519 msgid "*Release date: 2023-11-22*" msgstr "" -#: ../NEWS:5481 +#: ../NEWS:5524 msgid "" ":gh:`112243`: Don't include comments in f-string debug expressions. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:5484 +#: ../NEWS:5527 msgid "" ":gh:`112287`: Slightly optimize the Tier 2 (uop) interpreter by only loading " "``oparg`` and ``operand`` when needed. Also double the trace size limit " "again, to 512 this time." msgstr "" -#: ../NEWS:5488 +#: ../NEWS:5531 msgid "" ":gh:`112266`: Change docstrings of :attr:`~object.__dict__` and :attr:" "`~object.__weakref__`." msgstr "" -#: ../NEWS:5491 +#: ../NEWS:5534 msgid "" ":gh:`111807`: Lower the max parser stack depth to 1000 under WASI debug " "builds." msgstr "" -#: ../NEWS:5494 +#: ../NEWS:5537 msgid "" ":gh:`111798`: When Python is built in debug mode, set the C recursion limit " "to 500 instead of 1500. A debug build is likely built with low optimization " @@ -9535,87 +9604,87 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:5499 +#: ../NEWS:5542 msgid ":gh:`106529`: Enable translating unspecialized ``FOR_ITER`` to Tier 2." msgstr "" -#: ../NEWS:5501 +#: ../NEWS:5544 msgid ":gh:`111916`: Make hashlib related modules thread-safe without the GIL" msgstr "" -#: ../NEWS:5503 +#: ../NEWS:5546 msgid "" ":gh:`81137`: Deprecate assignment to a function's ``__code__`` field when " "the new code object is of a mismatched type (e.g., from a generator to a " "plain function)." msgstr "" -#: ../NEWS:5507 +#: ../NEWS:5550 msgid "" ":gh:`79932`: Raise exception if :meth:`frame.clear` is called on a suspended " "frame." msgstr "" -#: ../NEWS:5510 +#: ../NEWS:5553 msgid ":gh:`81925`: Implement native thread ids for GNU KFreeBSD." msgstr "" -#: ../NEWS:5512 +#: ../NEWS:5555 msgid "" ":gh:`111843`: Use exponential backoff to reduce the number of failed tier 2 " "optimization attempts by over 99%." msgstr "" -#: ../NEWS:5515 +#: ../NEWS:5558 msgid "" ":gh:`110829`: Joining a thread now ensures the underlying OS thread has " "exited. This is required for safer fork() in multi-threaded processes." msgstr "" -#: ../NEWS:5518 +#: ../NEWS:5561 msgid "" ":gh:`109369`: Make sure that tier 2 traces are de-optimized if the code is " "instrumented" msgstr "" -#: ../NEWS:5521 +#: ../NEWS:5564 msgid "" ":gh:`111772`: Specialize slot loads and stores for _Py_T_OBJECT as well as " "Py_T_OBJECT_EX" msgstr "" -#: ../NEWS:5524 +#: ../NEWS:5567 msgid "" ":gh:`111666`: Speed up :meth:`BaseExceptionGroup.derive`, :meth:" "`BaseExceptionGroup.subgroup`, and :meth:`BaseExceptionGroup.split` by " "changing how they parse passed arguments." msgstr "" -#: ../NEWS:5528 +#: ../NEWS:5571 msgid "" ":gh:`111654`: Fix runtime crash when some error happens in opcode " "``LOAD_FROM_DICT_OR_DEREF``." msgstr "" -#: ../NEWS:5531 +#: ../NEWS:5574 msgid "" ":gh:`111623`: Add support for sharing tuples between interpreters using the " "cross-interpreter API. Patch by Anthony Shaw." msgstr "" -#: ../NEWS:5534 +#: ../NEWS:5577 msgid "" ":gh:`111354`: The oparg of :opcode:`YIELD_VALUE` is now ``1`` if the " "instruction is part of a yield-from or await, and ``0`` otherwise." msgstr "" -#: ../NEWS:5537 +#: ../NEWS:5580 msgid "" "The SUSPENDED frame state is now split into ``SUSPENDED`` and " "``SUSPENDED_YIELD_FROM``. This simplifies the code in ``_PyGen_yf``." msgstr "" -#: ../NEWS:5540 +#: ../NEWS:5583 msgid "" ":gh:`111520`: Merge the Tier 1 (bytecode) and Tier 2 (micro-ops) " "interpreters together, moving the Tier 2 interpreter loop and switch into " @@ -9624,55 +9693,55 @@ msgid "" "handled by the code generator." msgstr "" -#: ../NEWS:5546 +#: ../NEWS:5589 msgid "" "**Beware!** This changes the environment variables to enable micro-ops and " "their debugging to ``PYTHON_UOPS`` and ``PYTHON_LLTRACE``." msgstr "" -#: ../NEWS:5549 +#: ../NEWS:5592 msgid "" ":gh:`109181`: Speed up :class:`Traceback` object creation by lazily compute " "the line number. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5552 +#: ../NEWS:5595 msgid ":gh:`111420`: Allow type comments in parenthesized ``with`` statements" msgstr "" -#: ../NEWS:5554 +#: ../NEWS:5597 msgid "" ":gh:`111438`: Add support for sharing floats between interpreters using the " "cross-interpreter API. Patch by Anthony Shaw." msgstr "" -#: ../NEWS:5557 +#: ../NEWS:5600 msgid "" ":gh:`111435`: Add support for sharing of ``True`` and ``False`` between " "interpreters using the cross-interpreter API. Patch by Anthony Shaw." msgstr "" -#: ../NEWS:5560 +#: ../NEWS:5603 msgid "" ":gh:`102388`: Fix a bug where ``iso2022_jp_3`` and ``iso2022_jp_2004`` " "codecs read out of bounds" msgstr "" -#: ../NEWS:5563 +#: ../NEWS:5606 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 "" -#: ../NEWS:5567 +#: ../NEWS:5610 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 "" -#: ../NEWS:5571 +#: ../NEWS:5614 msgid "" ":gh:`111374`: Added a new environment variable :envvar:" "`PYTHON_FROZEN_MODULES`. It determines whether or not frozen modules are " @@ -9680,82 +9749,82 @@ msgid "" "frozen_modules <-X>` command-line option." msgstr "" -#: ../NEWS:5576 +#: ../NEWS:5619 msgid "" ":gh:`111354`: Remove ``oparg`` from :opcode:`YIELD_VALUE`. Change ``oparg`` " "of :opcode:`RESUME` to include information about the except-depth. These " "changes make it possible to simplify the code in generator close." msgstr "" -#: ../NEWS:5580 +#: ../NEWS:5623 msgid "" ":gh:`94438`: Fix a regression that prevented jumping across ``is None`` and " "``is not None`` when debugging. Patch by Savannah Ostrowski." msgstr "" -#: ../NEWS:5583 +#: ../NEWS:5626 msgid "" ":gh:`67224`: Show source lines in tracebacks when using the ``-c`` option " "when running Python. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5586 +#: ../NEWS:5629 msgid "" ":gh:`111123`: Fix a bug where a :keyword:`global` declaration in an :keyword:" "`except` block is rejected when the global is used in the :keyword:`else` " "block." msgstr "" -#: ../NEWS:5590 +#: ../NEWS:5633 msgid "" ":gh:`110938`: Fix error messages for indented blocks with functions and " "classes with generic type parameters. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5593 +#: ../NEWS:5636 msgid "" ":gh:`109214`: Remove unnecessary instruction pointer updates before " "returning from frames." msgstr "" -#: ../NEWS:5596 +#: ../NEWS:5639 msgid "" ":gh:`110912`: Correctly display the traceback for :exc:`MemoryError` " "exceptions using the :mod:`traceback` module. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5599 +#: ../NEWS:5642 msgid "" ":gh:`109894`: Fixed crash due to improperly initialized static :exc:" "`MemoryError` in subinterpreter." msgstr "" -#: ../NEWS:5602 +#: ../NEWS:5645 msgid "" ":gh:`110892`: Return ``NULL`` for ``PyTrace_RETURN`` events caused by an " "exception" msgstr "" -#: ../NEWS:5605 +#: ../NEWS:5648 msgid "" ":gh:`110864`: Fix argument parsing by ``_PyArg_UnpackKeywordsWithVararg`` " "for functions defining pos-or-keyword, vararg, and kw-only parameters." msgstr "" -#: ../NEWS:5608 +#: ../NEWS:5651 msgid "" ":gh:`109094`: Replace ``prev_instr`` on the interpreter frame by " "``instr_ptr`` which points to the beginning of the instruction that is " "currently executing (or will execute once the frame resumes)." msgstr "" -#: ../NEWS:5612 +#: ../NEWS:5655 msgid "" ":gh:`110805`: Allow the repl to show source code and complete tracebacks. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:5615 +#: ../NEWS:5658 msgid "" ":gh:`110722`: Add :envvar:`PYTHON_PRESITE=package.module` to import a module " "early in the interpreter lifecycle before ``site.py`` is executed. Python " @@ -9763,20 +9832,20 @@ msgid "" "exist." msgstr "" -#: ../NEWS:5620 +#: ../NEWS:5663 msgid "" ":gh:`110481`: Implement biased reference counting in ``--disable-gil`` " "builds." msgstr "" -#: ../NEWS:5623 +#: ../NEWS:5666 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 "" -#: ../NEWS:5628 +#: ../NEWS:5671 msgid "" ":gh:`89519`: Removed chained :class:`classmethod` descriptors (introduced " "in :issue:`19072`). This can no longer be used to wrap other descriptors " @@ -9786,77 +9855,77 @@ msgid "" "added in Python 3.10." msgstr "" -#: ../NEWS:5635 +#: ../NEWS:5678 msgid ":gh:`103615`: Use local events for opcode tracing" msgstr "" -#: ../NEWS:5637 +#: ../NEWS:5680 msgid ":issue:`46657`: Add mimalloc memory allocator support." msgstr "" -#: ../NEWS:5639 +#: ../NEWS:5682 msgid "" ":gh:`106718`: When PyConfig.stdlib_dir is explicitly set, it's now respected " "and won't be overridden by PyConfig.home." msgstr "" -#: ../NEWS:5642 +#: ../NEWS:5685 msgid "" ":gh:`106905`: Fix incorrect SystemError about AST constructor recursion " "depth mismatch." msgstr "" -#: ../NEWS:5645 +#: ../NEWS:5688 msgid "" ":gh:`100445`: Improve error message for unterminated strings with escapes." msgstr "" -#: ../NEWS:5647 +#: ../NEWS:5690 msgid "" ":issue:`45759`: Improved error messages for ``elif``/``else`` statements not " "matching any valid statements. Patch by Jeremiah Vivian." msgstr "" -#: ../NEWS:5653 +#: ../NEWS:5696 msgid "" ":gh:`111942`: Fix SystemError in the TextIOWrapper constructor with non-" "encodable \"errors\" argument in non-debug mode." msgstr "" -#: ../NEWS:5656 +#: ../NEWS:5699 msgid "" ":gh:`111995`: Added the ``NI_IDN`` constant to the :mod:`socket` module when " "present in C at build time for use with :func:`socket.getnameinfo`." msgstr "" -#: ../NEWS:5659 +#: ../NEWS:5702 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 "" -#: ../NEWS:5663 +#: ../NEWS:5706 msgid "" ":gh:`111942`: Fix crashes in :meth:`io.TextIOWrapper.reconfigure` when pass " "invalid arguments, e.g. non-string encoding." msgstr "" -#: ../NEWS:5666 +#: ../NEWS:5709 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 "" -#: ../NEWS:5670 +#: ../NEWS:5713 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 "" -#: ../NEWS:5674 +#: ../NEWS:5717 msgid "" ":gh:`111835`: The :class:`mmap.mmap` class now has an :meth:`~mmap.mmap." "seekable` method that can be used when a seekable file-like object is " @@ -9864,93 +9933,93 @@ msgid "" "position. Patch by Donghee Na." msgstr "" -#: ../NEWS:5679 +#: ../NEWS:5722 msgid "" ":gh:`111804`: Remove posix.fallocate() under WASI as the underlying " "posix_fallocate() is not available in WASI preview2." msgstr "" -#: ../NEWS:5682 +#: ../NEWS:5725 msgid "" ":gh:`111841`: Fix truncating arguments on an embedded null character in :" "meth:`os.putenv` and :meth:`os.unsetenv` on Windows." msgstr "" -#: ../NEWS:5685 +#: ../NEWS:5728 msgid "" ":gh:`111768`: :func:`wsgiref.util.is_hop_by_hop` is now exposed correctly in " "``__all__``." msgstr "" -#: ../NEWS:5688 +#: ../NEWS:5731 msgid "" ":gh:`80731`: Avoid executing the default function in :class:`cmd.Cmd` in an " "except block" msgstr "" -#: ../NEWS:5691 +#: ../NEWS:5734 msgid "" ":gh:`111541`: Fix :mod:`doctest` for :exc:`SyntaxError` not-builtin " "subclasses." msgstr "" -#: ../NEWS:5694 +#: ../NEWS:5737 msgid "" ":gh:`111719`: Add extra argument validation for ``alias`` command in :mod:" "`pdb`" msgstr "" -#: ../NEWS:5697 +#: ../NEWS:5740 msgid "" ":gh:`111482`: :mod:`time`: Make :func:`time.clock_gettime` and :func:`time." "clock_gettime_ns` functions up to 2x faster by faster calling convention. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:5701 +#: ../NEWS:5744 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 "" -#: ../NEWS:5705 +#: ../NEWS:5748 msgid "" ":gh:`111531`: Fix reference leaks in ``bind_class()`` and ``bind_all()`` " "methods of :mod:`tkinter` widgets." msgstr "" -#: ../NEWS:5708 +#: ../NEWS:5751 msgid "" ":gh:`111246`: :meth:`asyncio.loop.create_unix_server` will now automatically " "remove the Unix socket when the server is closed." msgstr "" -#: ../NEWS:5711 +#: ../NEWS:5754 msgid "" ":gh:`111356`: Added :func:`io.text_encoding`, :data:`io." "DEFAULT_BUFFER_SIZE`, and :class:`io.IncrementalNewlineDecoder` to ``io." "__all__``." msgstr "" -#: ../NEWS:5714 +#: ../NEWS:5757 msgid "" ":gh:`66425`: Remove the code to set the REMOTE_HOST header from wsgiref " "module, as it is unreachable. This header is used for performance reasons, " "which is not necessary in the wsgiref module." msgstr "" -#: ../NEWS:5718 +#: ../NEWS:5761 msgid "" ":gh:`111429`: Speed up :meth:`pathlib.PurePath.relative_to` and :meth:" "`~pathlib.PurePath.is_relative_to`." msgstr "" -#: ../NEWS:5721 +#: ../NEWS:5764 msgid ":gh:`111342`: Fixed typo in :func:`math.sumprod`." msgstr "" -#: ../NEWS:5723 +#: ../NEWS:5766 msgid "" ":gh:`68166`: Remove mention of not supported \"vsapi\" element type in :meth:" "`tkinter.ttk.Style.element_create`. Add tests for ``element_create()`` and " @@ -9958,14 +10027,14 @@ msgid "" "documentation." msgstr "" -#: ../NEWS:5728 +#: ../NEWS:5771 msgid "" ":gh:`111388`: Add ``show_group`` parameter to :func:`traceback." "format_exception_only`, which allows to format :exc:`ExceptionGroup` " "instances." msgstr "" -#: ../NEWS:5732 +#: ../NEWS:5775 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* " @@ -9975,85 +10044,85 @@ msgid "" "server hasn't been closed yet.)" msgstr "" -#: ../NEWS:5739 +#: ../NEWS:5782 msgid ":gh:`111259`: Optimize recursive wildcards in :mod:`pathlib`." msgstr "" -#: ../NEWS:5741 +#: ../NEWS:5784 msgid "" ":gh:`111295`: Fix :mod:`time` not checking for errors when initializing." msgstr "" -#: ../NEWS:5743 +#: ../NEWS:5786 msgid ":gh:`111253`: Add error checking during :mod:`!_socket` module init." msgstr "" -#: ../NEWS:5745 +#: ../NEWS:5788 msgid "" ":gh:`111251`: Fix :mod:`!_blake2` not checking for errors when initializing." msgstr "" -#: ../NEWS:5747 +#: ../NEWS:5790 msgid "" ":gh:`111233`: Fix :mod:`select` not checking for errors when initializing." msgstr "" -#: ../NEWS:5749 +#: ../NEWS:5792 msgid ":gh:`111230`: Fix :mod:`ssl` not checking for errors when initializing." msgstr "" -#: ../NEWS:5751 +#: ../NEWS:5794 msgid "" ":gh:`111174`: Fix crash in :meth:`io.BytesIO.getbuffer` called repeatedly " "for empty BytesIO." msgstr "" -#: ../NEWS:5754 +#: ../NEWS:5797 msgid "" ":gh:`111187`: Postpone removal version for locale.getdefaultlocale() to " "Python 3.15." msgstr "" -#: ../NEWS:5757 +#: ../NEWS:5800 msgid "" ":gh:`111159`: Fix :mod:`doctest` output comparison for exceptions with notes." msgstr "" -#: ../NEWS:5759 +#: ../NEWS:5802 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 "" -#: ../NEWS:5763 +#: ../NEWS:5806 msgid ":gh:`111092`: Make turtledemo run without default root enabled." msgstr "" -#: ../NEWS:5765 +#: ../NEWS:5808 msgid "" ":gh:`110944`: Support alias and convenience vars for :mod:`pdb` completion" msgstr "" -#: ../NEWS:5767 +#: ../NEWS:5810 msgid "" ":gh:`110745`: Added *newline* parameter to :meth:`pathlib.Path.read_text`. " "Patch by Junya Okabe." msgstr "" -#: ../NEWS:5770 +#: ../NEWS:5813 msgid "" ":gh:`84583`: Make :mod:`pdb` enter post-mortem mode even for :exc:" "`SyntaxError`" msgstr "" -#: ../NEWS:5773 +#: ../NEWS:5816 msgid "" ":gh:`80675`: Set ``f_trace_lines = True`` on all frames upon :func:`pdb." "set_trace`" msgstr "" -#: ../NEWS:5776 +#: ../NEWS:5819 msgid "" ":gh:`110771`: Expose the setup and cleanup portions of ``asyncio." "run_forever()`` as the standalone methods ``asyncio.run_forever_setup()`` " @@ -10061,13 +10130,13 @@ msgid "" "with GUI event loops." msgstr "" -#: ../NEWS:5781 +#: ../NEWS:5824 msgid "" ":gh:`110774`: Support setting the :class:`asyncio.Runner` loop_factory kwarg " "in :class:`unittest.IsolatedAsyncioTestCase`" msgstr "" -#: ../NEWS:5784 +#: ../NEWS:5827 msgid "" ":gh:`110392`: Fix :func:`tty.setraw` and :func:`tty.setcbreak`: previously " "they returned partially modified list of the original tty attributes. :func:" @@ -10075,58 +10144,58 @@ msgid "" "special characters before modifying it." msgstr "" -#: ../NEWS:5789 +#: ../NEWS:5832 msgid "" ":gh:`59013`: Make line number of function breakpoint more precise in :mod:" "`pdb`" msgstr "" -#: ../NEWS:5792 +#: ../NEWS:5835 msgid "" ":gh:`88434`: Emit deprecation warning for non-integer numbers in :mod:" "`gettext` functions and methods that consider plural forms even if the " "translation was not found." msgstr "" -#: ../NEWS:5796 +#: ../NEWS:5839 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 "" -#: ../NEWS:5800 +#: ../NEWS:5843 msgid "" ":gh:`110196`: Add ``__reduce__`` method to :class:`IPv6Address` in order to " "keep ``scope_id``" msgstr "" -#: ../NEWS:5803 +#: ../NEWS:5846 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 "" -#: ../NEWS:5807 +#: ../NEWS:5850 msgid "" ":gh:`109466`: Add the :attr:`ipaddress.IPv4Address.ipv6_mapped` property, " "which returns the IPv4-mapped IPv6 address." msgstr "" -#: ../NEWS:5810 +#: ../NEWS:5853 msgid "" ":gh:`85098`: Implement the CLI of the :mod:`symtable` module and improve the " "repr of :class:`~symtable.Symbol`." msgstr "" -#: ../NEWS:5813 +#: ../NEWS:5856 msgid "" ":gh:`108791`: Improved error handling in :mod:`pdb` command line interface, " "making it produce more concise error messages." msgstr "" -#: ../NEWS:5816 +#: ../NEWS:5859 msgid "" ":gh:`105931`: Change :mod:`compileall` to only strip the stripdir prefix " "from the full path recorded in the compiled ``.pyc`` file, when the prefix " @@ -10134,33 +10203,33 @@ msgid "" "match, no stripping is performed and a warning to this effect is displayed." msgstr "" -#: ../NEWS:5822 +#: ../NEWS:5865 msgid "" "Previously all path components of the stripdir prefix that matched the full " "path were removed, while those that did not match were left alone (including " "ones interspersed between matching components)." msgstr "" -#: ../NEWS:5826 +#: ../NEWS:5869 msgid "" ":gh:`107431`: Make the ``DictProxy`` and ``ListProxy`` types in :mod:" "`multiprocessing.managers` :ref:`Generic Alias Types` " "for ``[]`` use in typing contexts." msgstr "" -#: ../NEWS:5830 +#: ../NEWS:5873 msgid "" ":gh:`72904`: Add :func:`glob.translate`. This function converts a pathname " "with shell-style wildcards to a regular expression." msgstr "" -#: ../NEWS:5833 +#: ../NEWS:5876 msgid "" ":gh:`90026`: Define ``USE_XATTRS`` on Cygwin so that XATTR-related functions " "in the :mod:`os` module become available." msgstr "" -#: ../NEWS:5836 +#: ../NEWS:5879 msgid "" ":gh:`90890`: New methods :meth:`mailbox.Maildir.get_info`, :meth:`mailbox." "Maildir.set_info`, :meth:`mailbox.Maildir.get_flags`, :meth:`mailbox.Maildir." @@ -10170,20 +10239,20 @@ msgid "" "when iterating over a Maildir to find messages with specific flags." msgstr "" -#: ../NEWS:5844 +#: ../NEWS:5887 msgid "" ":gh:`102956`: Fix returning of empty byte strings after seek in zipfile " "module" msgstr "" -#: ../NEWS:5847 +#: ../NEWS:5890 msgid "" ":gh:`102895`: Added a parameter ``local_exit`` for :func:`code.interact` to " "prevent ``exit()`` and ``quit`` from closing ``sys.stdin`` and raise " "``SystemExit``." msgstr "" -#: ../NEWS:5851 +#: ../NEWS:5894 msgid "" ":gh:`97928`: Change the behavior of :meth:`tkinter.Text.count`. It now " "always returns an integer if one or less counting options are specified. " @@ -10192,7 +10261,7 @@ msgid "" "result is now the same if ``wantobjects`` is set to ``0``." msgstr "" -#: ../NEWS:5857 +#: ../NEWS:5900 msgid "" ":gh:`96954`: Switch the storage of the unicode codepoint names to use a " "different data-structure, a `directed acyclic word graph `. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5933 +#: ../NEWS:5976 msgid "" ":gh:`111856`: Fixes :func:`~os.fstat` on file systems that do not support " "file ID requests. This includes FAT32 and exFAT." msgstr "" -#: ../NEWS:5936 +#: ../NEWS:5979 msgid "" ":gh:`111293`: Fix :data:`os.DirEntry.inode` dropping higher 64 bits of a " "file id on some filesystems on Windows." msgstr "" -#: ../NEWS:5939 +#: ../NEWS:5982 msgid "" ":gh:`110913`: WindowsConsoleIO now correctly chunks large buffers without " "splitting up UTF-8 sequences." msgstr "" -#: ../NEWS:5945 +#: ../NEWS:5988 msgid "" ":gh:`59703`: For macOS framework builds, in ``getpath.c`` use the system " "``dladdr`` function to find the path to the shared library rather than " "depending on deprecated macOS APIs." msgstr "" -#: ../NEWS:5949 +#: ../NEWS:5992 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 "" -#: ../NEWS:5953 +#: ../NEWS:5996 msgid "" ":gh:`111015`: Ensure that IDLE.app and Python Launcher.app are installed " "with appropriate permissions on macOS builds." msgstr "" -#: ../NEWS:5956 +#: ../NEWS:5999 msgid "" ":gh:`71383`: Update macOS installer to include an upstream Tcl/Tk fix for " "the ``ttk::ThemeChanged`` error encountered in Tkinter." msgstr "" -#: ../NEWS:5959 +#: ../NEWS:6002 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 "" -#: ../NEWS:5966 +#: ../NEWS:6009 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``, " @@ -10363,7 +10432,7 @@ msgid "" "expand test_debugger." msgstr "" -#: ../NEWS:5974 +#: ../NEWS:6017 msgid "" ":gh:`111903`: Argument Clinic now supports the ``@critical_section`` " "directive that instructs Argument Clinic to generate a critical section " @@ -10371,223 +10440,223 @@ msgid "" "gil`` builds. Patch by Sam Gross." msgstr "" -#: ../NEWS:5982 +#: ../NEWS:6025 msgid "" ":gh:`112026`: Add again the private ``_PyThreadState_UncheckedGet()`` " "function as an alias to the new public :c:func:`PyThreadState_GetUnchecked` " "function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5986 +#: ../NEWS:6029 msgid "" ":gh:`112026`: Restore the removed ``_PyDict_GetItemStringWithError()`` " "function. It is used by numpy. Patch by Victor Stinner." msgstr "" -#: ../NEWS:5989 +#: ../NEWS:6032 msgid "" ":gh:`112026`: Restore removed private C API functions, macros and structures " "which have no simple replacement for now:" msgstr "" -#: ../NEWS:5992 +#: ../NEWS:6035 msgid "_PyDict_GetItem_KnownHash()" msgstr "" -#: ../NEWS:5993 +#: ../NEWS:6036 msgid "_PyDict_NewPresized()" msgstr "" -#: ../NEWS:5994 +#: ../NEWS:6037 msgid "_PyHASH_BITS" msgstr "" -#: ../NEWS:5995 +#: ../NEWS:6038 msgid "_PyHASH_IMAG" msgstr "" -#: ../NEWS:5996 +#: ../NEWS:6039 msgid "_PyHASH_INF" msgstr "" -#: ../NEWS:5997 +#: ../NEWS:6040 msgid "_PyHASH_MODULUS" msgstr "" -#: ../NEWS:5998 +#: ../NEWS:6041 msgid "_PyHASH_MULTIPLIER" msgstr "" -#: ../NEWS:5999 +#: ../NEWS:6042 msgid "_PyLong_Copy()" msgstr "" -#: ../NEWS:6000 +#: ../NEWS:6043 msgid "_PyLong_FromDigits()" msgstr "" -#: ../NEWS:6001 +#: ../NEWS:6044 msgid "_PyLong_New()" msgstr "" -#: ../NEWS:6002 +#: ../NEWS:6045 msgid "_PyLong_Sign()" msgstr "" -#: ../NEWS:6003 +#: ../NEWS:6046 msgid "_PyObject_CallMethodId()" msgstr "" -#: ../NEWS:6004 +#: ../NEWS:6047 msgid "_PyObject_CallMethodNoArgs()" msgstr "" -#: ../NEWS:6005 +#: ../NEWS:6048 msgid "_PyObject_CallMethodOneArg()" msgstr "" -#: ../NEWS:6006 +#: ../NEWS:6049 msgid "_PyObject_CallOneArg()" msgstr "" -#: ../NEWS:6007 +#: ../NEWS:6050 msgid "_PyObject_EXTRA_INIT" msgstr "" -#: ../NEWS:6008 +#: ../NEWS:6051 msgid "_PyObject_FastCallDict()" msgstr "" -#: ../NEWS:6009 +#: ../NEWS:6052 msgid "_PyObject_GetAttrId()" msgstr "" -#: ../NEWS:6010 +#: ../NEWS:6053 msgid "_PyObject_Vectorcall()" msgstr "" -#: ../NEWS:6011 +#: ../NEWS:6054 msgid "_PyObject_VectorcallMethod()" msgstr "" -#: ../NEWS:6012 +#: ../NEWS:6055 msgid "_PyStack_AsDict()" msgstr "" -#: ../NEWS:6013 +#: ../NEWS:6056 msgid "_PyThread_CurrentFrames()" msgstr "" -#: ../NEWS:6014 +#: ../NEWS:6057 msgid "_PyUnicodeWriter structure" msgstr "" -#: ../NEWS:6015 +#: ../NEWS:6058 msgid "_PyUnicodeWriter_Dealloc()" msgstr "" -#: ../NEWS:6016 +#: ../NEWS:6059 msgid "_PyUnicodeWriter_Finish()" msgstr "" -#: ../NEWS:6017 +#: ../NEWS:6060 msgid "_PyUnicodeWriter_Init()" msgstr "" -#: ../NEWS:6018 +#: ../NEWS:6061 msgid "_PyUnicodeWriter_Prepare()" msgstr "" -#: ../NEWS:6019 +#: ../NEWS:6062 msgid "_PyUnicodeWriter_PrepareKind()" msgstr "" -#: ../NEWS:6020 +#: ../NEWS:6063 msgid "_PyUnicodeWriter_WriteASCIIString()" msgstr "" -#: ../NEWS:6021 +#: ../NEWS:6064 msgid "_PyUnicodeWriter_WriteChar()" msgstr "" -#: ../NEWS:6022 +#: ../NEWS:6065 msgid "_PyUnicodeWriter_WriteLatin1String()" msgstr "" -#: ../NEWS:6023 +#: ../NEWS:6066 msgid "_PyUnicodeWriter_WriteStr()" msgstr "" -#: ../NEWS:6024 +#: ../NEWS:6067 msgid "_PyUnicodeWriter_WriteSubstring()" msgstr "" -#: ../NEWS:6025 +#: ../NEWS:6068 msgid "_PyUnicode_AsString()" msgstr "" -#: ../NEWS:6026 +#: ../NEWS:6069 msgid "_PyUnicode_FromId()" msgstr "" -#: ../NEWS:6027 +#: ../NEWS:6070 msgid "_PyVectorcall_Function()" msgstr "" -#: ../NEWS:6028 +#: ../NEWS:6071 msgid "_Py_IDENTIFIER()" msgstr "" -#: ../NEWS:6029 +#: ../NEWS:6072 msgid "_Py_c_abs()" msgstr "" -#: ../NEWS:6030 +#: ../NEWS:6073 msgid "_Py_c_diff()" msgstr "" -#: ../NEWS:6031 +#: ../NEWS:6074 msgid "_Py_c_neg()" msgstr "" -#: ../NEWS:6032 +#: ../NEWS:6075 msgid "_Py_c_pow()" msgstr "" -#: ../NEWS:6033 +#: ../NEWS:6076 msgid "_Py_c_prod()" msgstr "" -#: ../NEWS:6034 +#: ../NEWS:6077 msgid "_Py_c_quot()" msgstr "" -#: ../NEWS:6035 +#: ../NEWS:6078 msgid "_Py_c_sum()" msgstr "" -#: ../NEWS:6036 +#: ../NEWS:6079 msgid "_Py_static_string()" msgstr "" -#: ../NEWS:6037 +#: ../NEWS:6080 msgid "_Py_static_string_init()" msgstr "" -#: ../NEWS:6041 +#: ../NEWS:6084 msgid "" ":gh:`112026`: Add again ```` and ```` includes in " "``Python.h``, but don't include them in the limited C API version 3.13 and " "newer. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6045 +#: ../NEWS:6088 msgid "" ":gh:`111956`: Add internal-only one-time initialization API: ``_PyOnceFlag`` " "and ``_PyOnceFlag_CallOnce``." msgstr "" -#: ../NEWS:6048 +#: ../NEWS:6091 msgid "" ":gh:`111262`: Add :c:func:`PyDict_Pop` and :c:func:`PyDict_PopString` " "functions: remove a key from a dictionary and optionally return the removed " @@ -10596,58 +10665,58 @@ msgid "" "and Victor Stinner." msgstr "" -#: ../NEWS:6054 +#: ../NEWS:6097 msgid "" ":gh:`111863`: Rename ``Py_NOGIL`` to ``Py_GIL_DISABLED``. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:6057 +#: ../NEWS:6100 msgid "" ":gh:`111138`: Add :c:func:`PyList_Extend` and :c:func:`PyList_Clear` " "functions: similar to Python ``list.extend()`` and ``list.clear()`` methods. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:6061 +#: ../NEWS:6104 msgid "" ":gh:`108765`: On Windows, ``Python.h`` no longer includes the ```` " "standard header file. If needed, it should now be included explicitly. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:6065 +#: ../NEWS:6108 msgid "" ":gh:`111569`: Implement \"Python Critical Sections\" from :pep:`703`. These " "are macros to help replace the GIL with per-object locks in the ``--disable-" "gil`` build of CPython. The macros are no-ops in the default build." msgstr "" -#: ../NEWS:6070 +#: ../NEWS:6113 msgid "" ":gh:`111506`: In the limited C API version 3.13, :c:func:`Py_SET_REFCNT` " "function is now implemented as an opaque function call. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:6074 +#: ../NEWS:6117 msgid ":gh:`108082`: Add :c:func:`PyErr_FormatUnraisable` function." msgstr "" -#: ../NEWS:6076 +#: ../NEWS:6119 msgid "" ":gh:`110964`: Move the undocumented private _PyArg functions and " "_PyArg_Parser structure to internal C API (``pycore_modsupport.h``). Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:6080 +#: ../NEWS:6123 msgid "" ":gh:`110815`: Support non-ASCII keyword names in :c:func:" "`PyArg_ParseTupleAndKeywords`." msgstr "" -#: ../NEWS:6083 +#: ../NEWS:6126 msgid "" ":gh:`109587`: Introduced :c:func:`PyUnstable_PerfTrampoline_CompileCode`, :c:" "func:`PyUnstable_PerfTrampoline_SetPersistAfterFork` and :c:func:" @@ -10657,20 +10726,20 @@ msgid "" "fashion." msgstr "" -#: ../NEWS:6090 +#: ../NEWS:6133 msgid "" ":gh:`85283`: Add the :c:func:`PySys_Audit` function to the limited C API. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:6093 +#: ../NEWS:6136 msgid "" ":gh:`85283`: Add :c:func:`PyMem_RawMalloc`, :c:func:`PyMem_RawCalloc`, :c:" "func:`PyMem_RawRealloc` and :c:func:`PyMem_RawFree` to the limited C API. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:6097 +#: ../NEWS:6140 msgid "" ":gh:`106672`: Functions :c:func:`PyDict_GetItem`, :c:func:" "`PyDict_GetItemString`, :c:func:`PyMapping_HasKey`, :c:func:" @@ -10680,22 +10749,22 @@ msgid "" "`sys.unraisablehook`." msgstr "" -#: ../NEWS:6104 +#: ../NEWS:6147 msgid "" ":gh:`67565`: Remove redundant C-contiguity check in :file:`getargs.c`, :mod:" "`binascii`, :mod:`ssl` and Argument Clinic. Patched by Stefan Krah and " "Furkan Onder" msgstr "" -#: ../NEWS:6110 +#: ../NEWS:6153 msgid "Python 3.13.0 alpha 1" msgstr "" -#: ../NEWS:6112 +#: ../NEWS:6155 msgid "*Release date: 2023-10-13*" msgstr "" -#: ../NEWS:6117 +#: ../NEWS:6160 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 " @@ -10704,14 +10773,14 @@ msgid "" "`2023-40217` by Aapo Oksman. Patch by Gregory P. Smith." msgstr "" -#: ../NEWS:6123 +#: ../NEWS:6166 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 "" -#: ../NEWS:6127 +#: ../NEWS:6170 msgid "" ":gh:`102988`: Reverted the :mod:`email.utils` security improvement change " "released in 3.12beta4 that unintentionally caused :mod:`email.utils." @@ -10719,42 +10788,42 @@ msgid "" "name field. See :gh:`106669`." msgstr "" -#: ../NEWS:6132 +#: ../NEWS:6175 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 "" -#: ../NEWS:6136 +#: ../NEWS:6179 msgid "" ":gh:`102509`: Start initializing ``ob_digit`` during creation of :c:type:" "`PyLongObject` objects. Patch by Illia Volochii." msgstr "" -#: ../NEWS:6142 +#: ../NEWS:6185 msgid "" ":gh:`110782`: Fix crash when :class:`typing.TypeVar` is constructed with a " "keyword argument. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:6145 +#: ../NEWS:6188 msgid ":gh:`110752`: Reset ``ceval.eval_breaker`` in :func:`interpreter_clear`" msgstr "" -#: ../NEWS:6147 +#: ../NEWS:6190 msgid "" ":gh:`110721`: Use the :mod:`traceback` implementation for the default :c:" "func:`PyErr_Display` functionality. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6150 +#: ../NEWS:6193 msgid "" ":gh:`110696`: Fix incorrect error message for invalid argument unpacking. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6153 +#: ../NEWS:6196 msgid "" ":gh:`104169`: Split the tokenizer into two separate directories: - One part " "includes the actual lexeme producing logic and lives in ``Parser/lexer``. - " @@ -10763,78 +10832,78 @@ msgid "" "``Parser/tokenizer``." msgstr "" -#: ../NEWS:6159 +#: ../NEWS:6202 msgid "" ":gh:`110688`: Remove undocumented ``test_c_api`` method from :class:`set`, " "which was only defined for testing purposes under ``Py_DEBUG``. Now we have " "proper CAPI tests." msgstr "" -#: ../NEWS:6163 +#: ../NEWS:6206 msgid "" ":gh:`104584`: Fix a reference leak when running with :envvar:`PYTHONUOPS` " "or :option:`-X uops <-X>` enabled." msgstr "" -#: ../NEWS:6166 +#: ../NEWS:6209 msgid ":gh:`110514`: Add ``PY_THROW`` to :func:`sys.setprofile` events" msgstr "" -#: ../NEWS:6168 +#: ../NEWS:6211 msgid "" ":gh:`110489`: Optimise :func:`math.ceil` when the input is exactly a float, " "resulting in about a 10% improvement." msgstr "" -#: ../NEWS:6171 +#: ../NEWS:6214 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 "" -#: ../NEWS:6175 +#: ../NEWS:6218 msgid "" ":gh:`110309`: Remove unnecessary empty constant nodes in the ast of f-string " "specs." msgstr "" -#: ../NEWS:6178 +#: ../NEWS:6221 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 "" -#: ../NEWS:6182 +#: ../NEWS:6225 msgid "" ":gh:`110237`: Fix missing error checks for calls to ``PyList_Append`` in " "``_PyEval_MatchClass``." msgstr "" -#: ../NEWS:6185 +#: ../NEWS:6228 msgid "" ":gh:`110164`: regrtest: If the ``SOURCE_DATE_EPOCH`` environment variable is " "defined, regrtest now disables tests randomization. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6189 +#: ../NEWS:6232 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 "" -#: ../NEWS:6193 +#: ../NEWS:6236 msgid ":gh:`109853`: ``sys.path[0]`` is now set correctly for subinterpreters." msgstr "" -#: ../NEWS:6195 +#: ../NEWS:6238 msgid "" ":gh:`109923`: Set line number on the ``POP_TOP`` that follows a " "``RETURN_GENERATOR``." msgstr "" -#: ../NEWS:6198 +#: ../NEWS:6241 msgid "" ":gh:`105716`: Subinterpreters now correctly handle the case where they have " "threads running in the background. Before, such threads would interfere " @@ -10842,20 +10911,20 @@ msgid "" "script." msgstr "" -#: ../NEWS:6203 +#: ../NEWS:6246 msgid "" ":gh:`109369`: The internal eval_breaker and supporting flags, plus the " "monitoring version have been merged into a single atomic integer to speed up " "checks." msgstr "" -#: ../NEWS:6207 +#: ../NEWS:6250 msgid "" ":gh:`109823`: Fix bug where compiler does not adjust labels when removing an " "empty basic block which is a jump target." msgstr "" -#: ../NEWS:6210 +#: ../NEWS:6253 msgid "" ":gh:`109793`: The main thread no longer exits prematurely when a " "subinterpreter is cleaned up during runtime finalization. The bug was a " @@ -10863,13 +10932,13 @@ msgid "" "always return with a 0 exitcode, even if it failed." msgstr "" -#: ../NEWS:6215 +#: ../NEWS:6258 msgid "" ":gh:`109719`: Fix missing jump target labels when compiler reorders cold/" "warm blocks." msgstr "" -#: ../NEWS:6218 +#: ../NEWS:6261 msgid "" ":gh:`109595`: Add :option:`-X cpu_count <-X>` command line option to " "override return results of :func:`os.cpu_count` and :func:`os." @@ -10878,20 +10947,20 @@ msgid "" "(application code). Patch by Donghee Na." msgstr "" -#: ../NEWS:6224 +#: ../NEWS:6267 msgid "" ":gh:`109627`: Fix bug where the compiler does not assign a new jump target " "label to a duplicated small exit block." msgstr "" -#: ../NEWS:6227 +#: ../NEWS:6270 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 "" -#: ../NEWS:6231 +#: ../NEWS:6274 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 " @@ -10900,44 +10969,44 @@ msgid "" "checking for ``_Py_IsImmortal()``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6237 +#: ../NEWS:6280 msgid "" ":gh:`107265`: Deopt opcodes hidden by the executor when base opcode is needed" msgstr "" -#: ../NEWS:6239 +#: ../NEWS:6282 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 "" -#: ../NEWS:6243 +#: ../NEWS:6286 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 "" -#: ../NEWS:6247 +#: ../NEWS:6290 msgid "" ":gh:`109219`: Fix compiling type param scopes that use a name which is also " "free in an inner scope." msgstr "" -#: ../NEWS:6250 +#: ../NEWS:6293 msgid "" ":gh:`109351`: Fix crash when compiling an invalid AST involving a named " "(walrus) expression." msgstr "" -#: ../NEWS:6253 +#: ../NEWS:6296 msgid "" ":gh:`109341`: Fix crash when compiling an invalid AST involving a :class:" "`ast.TypeAlias`." msgstr "" -#: ../NEWS:6256 +#: ../NEWS:6299 msgid "" ":gh:`109195`: Fix source location for the ``LOAD_*`` instruction preceding a " "``LOAD_SUPER_ATTR`` to load the ``super`` global (or shadowing variable) so " @@ -10945,106 +11014,106 @@ msgid "" "parentheses." msgstr "" -#: ../NEWS:6261 +#: ../NEWS:6304 msgid "" ":gh:`109256`: Opcode IDs for specialized opcodes are allocated in their own " "range to improve stability of the IDs for the 'real' opcodes." msgstr "" -#: ../NEWS:6264 +#: ../NEWS:6307 msgid ":gh:`109216`: Fix possible memory leak in :opcode:`BUILD_MAP`." msgstr "" -#: ../NEWS:6266 +#: ../NEWS:6309 msgid "" ":gh:`109207`: Fix a SystemError in ``__repr__`` of symtable entry object." msgstr "" -#: ../NEWS:6268 +#: ../NEWS:6311 msgid "" ":gh:`109179`: Fix bug where the C traceback display drops notes from :exc:" "`SyntaxError`." msgstr "" -#: ../NEWS:6271 +#: ../NEWS:6314 msgid "" ":gh:`109118`: Disallow nested scopes (lambdas, generator expressions, and " "comprehensions) within PEP 695 annotation scopes that are nested within " "classes." msgstr "" -#: ../NEWS:6275 +#: ../NEWS:6318 msgid "" ":gh:`109156`: Add tests for de-instrumenting instructions while keeping the " "instrumentation for lines" msgstr "" -#: ../NEWS:6278 +#: ../NEWS:6321 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 "" -#: ../NEWS:6282 +#: ../NEWS:6325 msgid "" ":gh:`105848`: Add a new :opcode:`CALL_KW` opcode, used for calls containing " "keyword arguments. Also, fix a possible crash when jumping over method calls " "in a debugger." msgstr "" -#: ../NEWS:6286 +#: ../NEWS:6329 msgid "" ":gh:`109052`: Use the base opcode when comparing code objects to avoid " "interference from instrumentation" msgstr "" -#: ../NEWS:6289 +#: ../NEWS:6332 msgid "" ":gh:`109118`: Fix interpreter crash when a NameError is raised inside the " "type parameters of a generic class." msgstr "" -#: ../NEWS:6292 +#: ../NEWS:6335 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 "" -#: ../NEWS:6296 +#: ../NEWS:6339 msgid "" ":gh:`108976`: Fix crash that occurs after de-instrumenting a code object in " "a monitoring callback." msgstr "" -#: ../NEWS:6299 +#: ../NEWS:6342 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 "" -#: ../NEWS:6303 +#: ../NEWS:6346 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 "" -#: ../NEWS:6307 +#: ../NEWS:6350 msgid "" ":gh:`104584`: Fix a crash when running with :envvar:`PYTHONUOPS` or :option:" "`-X uops <-X>` enabled and an error occurs during optimization." msgstr "" -#: ../NEWS:6310 +#: ../NEWS:6353 msgid "" ":gh:`108727`: Define ``tp_dealloc`` for ``CounterOptimizer_Type``. This " "fixes a segfault on deallocation." msgstr "" -#: ../NEWS:6313 +#: ../NEWS:6356 msgid "" ":gh:`108520`: Fix :meth:`multiprocessing.synchronize.SemLock.__setstate__` " "to properly initialize :attr:`multiprocessing.synchronize.SemLock." @@ -11052,20 +11121,20 @@ msgid "" "processes." msgstr "" -#: ../NEWS:6318 +#: ../NEWS:6361 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 "" -#: ../NEWS:6322 +#: ../NEWS:6365 msgid "" ":gh:`108654`: Restore locals shadowed by an inlined comprehension if the " "comprehension raises an exception." msgstr "" -#: ../NEWS:6325 +#: ../NEWS:6368 msgid "" ":gh:`108488`: Change the initialization of inline cache entries so that the " "cache entry for ``JUMP_BACKWARD`` is initialized to zero, instead of the " @@ -11073,26 +11142,26 @@ msgid "" "counter, unique among instructions, counts up from zero." msgstr "" -#: ../NEWS:6330 +#: ../NEWS:6373 msgid "" ":gh:`108716`: Turn off deep-freezing of code objects. Modules are still " "frozen, so that a file system search is not needed for common modules." msgstr "" -#: ../NEWS:6333 +#: ../NEWS:6376 msgid "" ":gh:`108614`: Add RESUME_CHECK instruction, to avoid having to handle " "instrumentation, signals, and contexts switches in the tier 2 execution " "engine." msgstr "" -#: ../NEWS:6337 +#: ../NEWS:6380 msgid "" ":gh:`108487`: Move an assert that would cause a spurious crash in a devious " "case that should only trigger deoptimization." msgstr "" -#: ../NEWS:6340 +#: ../NEWS:6383 msgid "" ":gh:`106176`: Use a ``WeakValueDictionary`` to track the lists containing " "the modules each thread is currently importing. This helps avoid a reference " @@ -11100,19 +11169,19 @@ msgid "" "as GC can't interrupt the cleanup." msgstr "" -#: ../NEWS:6345 +#: ../NEWS:6388 msgid "" ":gh:`105481`: The regen-opcode build stage was removed and its work is now " "done in regen-cases." msgstr "" -#: ../NEWS:6348 +#: ../NEWS:6391 msgid "" ":gh:`107901`: Fix missing line number on :opcode:`JUMP_BACKWARD` at the end " "of a for loop." msgstr "" -#: ../NEWS:6351 +#: ../NEWS:6394 msgid "" ":gh:`108113`: The :func:`compile` built-in can now accept a new flag, ``ast." "PyCF_OPTIMIZED_AST``, which is similar to ``ast.PyCF_ONLY_AST`` except that " @@ -11120,36 +11189,36 @@ msgid "" "argument." msgstr "" -#: ../NEWS:6356 +#: ../NEWS:6399 msgid "" ":func:`ast.parse` now accepts an optional argument ``optimize`` which is " "passed on to the :func:`compile` built-in. This makes it possible to obtain " "an optimized ``AST``." msgstr "" -#: ../NEWS:6360 +#: ../NEWS:6403 msgid "" ":gh:`107971`: Opcode IDs are generated from bytecodes.c instead of being " "hard coded in opcode.py." msgstr "" -#: ../NEWS:6363 +#: ../NEWS:6406 msgid "" ":gh:`107944`: Improve error message for function calls with bad keyword " "arguments. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6366 +#: ../NEWS:6409 msgid "" ":gh:`108390`: Raise an exception when setting a non-local event (``RAISE``, " "``EXCEPTION_HANDLED``, etc.) in ``sys.monitoring.set_local_events``." msgstr "" -#: ../NEWS:6369 +#: ../NEWS:6412 msgid "Fixes crash when tracing in recursive calls to Python classes." msgstr "" -#: ../NEWS:6371 +#: ../NEWS:6414 msgid "" ":gh:`108035`: Remove the ``_PyCFrame`` struct, moving the pointer to the " "current interpreter frame back to the threadstate, as it was for 3.10 and " @@ -11158,31 +11227,31 @@ msgid "" "applies." msgstr "" -#: ../NEWS:6377 +#: ../NEWS:6420 msgid "" ":gh:`91051`: Fix abort / segfault when using all eight type watcher slots, " "on platforms where ``char`` is signed by default." msgstr "" -#: ../NEWS:6380 +#: ../NEWS:6423 msgid "" ":gh:`106581`: Fix possible assertion failures and missing instrumentation " "events when :envvar:`PYTHONUOPS` or :option:`-X uops <-X>` is enabled." msgstr "" -#: ../NEWS:6383 +#: ../NEWS:6426 msgid "" ":gh:`107526`: Revert converting ``vars``, ``dir``, ``next``, ``getattr``, " "and ``iter`` to argument clinic." msgstr "" -#: ../NEWS:6386 +#: ../NEWS:6429 msgid "" ":gh:`84805`: Autogenerate signature for :c:macro:`METH_NOARGS` and :c:macro:" "`METH_O` extension functions." msgstr "" -#: ../NEWS:6389 +#: ../NEWS:6432 msgid "" ":gh:`107758`: Make the ``dump_stack()`` routine used by the ``lltrace`` " "feature (low-level interpreter debugging) robust against recursion by " @@ -11191,43 +11260,43 @@ msgid "" "of ``stderr``), to match the ``lltrace`` code in ceval.c." msgstr "" -#: ../NEWS:6395 +#: ../NEWS:6438 msgid "" ":gh:`107659`: Add docstrings for :func:`ctypes.pointer` and :func:`ctypes." "POINTER`." msgstr "" -#: ../NEWS:6398 +#: ../NEWS:6441 msgid "" ":gh:`105848`: Modify the bytecode so that the actual callable for a :opcode:" "`CALL` is at a consistent position on the stack (regardless of whether or " "not bound-method-calling optimizations are active)." msgstr "" -#: ../NEWS:6402 +#: ../NEWS:6445 msgid ":gh:`107674`: Fixed performance regression in ``sys.settrace``." msgstr "" -#: ../NEWS:6404 +#: ../NEWS:6447 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 "" -#: ../NEWS:6408 +#: ../NEWS:6451 msgid "" ":gh:`84436`: Skip reference count modifications for many known immortal " "objects." msgstr "" -#: ../NEWS:6411 +#: ../NEWS:6454 msgid "" ":gh:`107596`: Specialize subscripting :class:`str` objects by :class:`int` " "indexes." msgstr "" -#: ../NEWS:6414 +#: ../NEWS:6457 msgid "" ":gh:`107080`: Trace refs builds (``--with-trace-refs``) were crashing when " "used with isolated subinterpreters. The problematic global state has been " @@ -11235,30 +11304,30 @@ msgid "" "not affect users." msgstr "" -#: ../NEWS:6419 +#: ../NEWS:6462 msgid "" ":gh:`107557`: Generate the cases needed for the barebones tier 2 abstract " "interpreter for optimization passes in CPython." msgstr "" -#: ../NEWS:6422 +#: ../NEWS:6465 msgid ":gh:`106608`: Make ``_PyUOpExecutorObject`` variable length." msgstr "" -#: ../NEWS:6424 +#: ../NEWS:6467 msgid "" ":gh:`100964`: Clear generators' exception state after ``return`` to break " "reference cycles." msgstr "" -#: ../NEWS:6427 +#: ../NEWS:6470 msgid "" ":gh:`107455`: Improve error messages when converting an incompatible type " "to :class:`ctypes.c_char_p`, :class:`ctypes.c_wchar_p` and :class:`ctypes." "c_void_p`." msgstr "" -#: ../NEWS:6431 +#: ../NEWS:6474 msgid "" ":gh:`107263`: Increase C recursion limit for functions other than the main " "interpreter from 800 to 1500. This should allow functions like ``list." @@ -11266,13 +11335,13 @@ msgid "" "to 3.12" msgstr "" -#: ../NEWS:6436 +#: ../NEWS:6479 msgid "" ":gh:`104584`: Fix an issue which caused incorrect inline caches to be read " "when running with :envvar:`PYTHONUOPS` or :option:`-X uops <-X>` enabled." msgstr "" -#: ../NEWS:6439 +#: ../NEWS:6482 msgid "" ":gh:`104432`: Fix potential unaligned memory access on C APIs involving " "returned sequences of ``char *`` pointers within the :mod:`grp` and :mod:" @@ -11280,33 +11349,33 @@ msgid "" "build on ARM macOS. Patch by Christopher Chavez." msgstr "" -#: ../NEWS:6444 +#: ../NEWS:6487 msgid "" ":gh:`106078`: Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie " "Zhao." msgstr "" -#: ../NEWS:6447 +#: ../NEWS:6490 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 handling callbacks." msgstr "" -#: ../NEWS:6451 +#: ../NEWS:6494 msgid "" ":gh:`106895`: Raise a ``ValueError`` when a monitoring callback function " "returns ``DISABLE`` for events that cannot be disabled locally." msgstr "" -#: ../NEWS:6454 +#: ../NEWS:6497 msgid "" ":gh:`106897`: Add a ``RERAISE`` event to ``sys.monitoring``, which occurs " "when an exception is reraise, either explicitly by a plain ``raise`` " "statement, or implicitly in an ``except`` or ``finally`` block." msgstr "" -#: ../NEWS:6458 +#: ../NEWS:6501 msgid "" ":gh:`77377`: Ensure that multiprocessing synchronization objects created in " "a fork context are not sent to a different process created in a spawn " @@ -11314,7 +11383,7 @@ msgid "" "parent process." msgstr "" -#: ../NEWS:6463 +#: ../NEWS:6506 msgid "" ":gh:`106931`: Statically allocated string objects are now interned globally " "instead of per-interpreter. This fixes a situation where such a string " @@ -11322,30 +11391,30 @@ msgid "" "unaffected." msgstr "" -#: ../NEWS:6468 +#: ../NEWS:6511 msgid ":gh:`104621`: Unsupported modules now always fail to be imported." msgstr "" -#: ../NEWS:6470 +#: ../NEWS:6513 msgid "" ":gh:`107122`: Add :meth:`dbm.ndbm.ndbm.clear` to :mod:`dbm.ndbm`. Patch By " "Donghee Na." msgstr "" -#: ../NEWS:6473 +#: ../NEWS:6516 msgid "" ":gh:`107122`: Add :meth:`dbm.gnu.gdbm.clear` to :mod:`dbm.gnu`. Patch By " "Donghee Na." msgstr "" -#: ../NEWS:6476 +#: ../NEWS:6519 msgid "" ":gh:`107015`: The ASYNC and AWAIT tokens are removed from the Grammar, which " "removes the possibility of making ``async`` and ``await`` soft keywords when " "using ``feature_version<7`` in :func:`ast.parse`." msgstr "" -#: ../NEWS:6480 +#: ../NEWS:6523 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 " @@ -11353,14 +11422,14 @@ msgid "" "of the call is not a classmethod." msgstr "" -#: ../NEWS:6485 +#: ../NEWS:6528 msgid "" ":gh:`105699`: Python no longer crashes due an infrequent race when " "initializing per-interpreter interned strings. The crash would manifest " "when the interpreter was finalized." msgstr "" -#: ../NEWS:6489 +#: ../NEWS:6532 msgid "" ":gh:`105699`: Python no longer crashes due to an infrequent race in setting " "``Py_FileSystemDefaultEncoding`` and ``Py_FileSystemDefaultEncodeErrors`` " @@ -11368,48 +11437,48 @@ msgid "" "subinterpreters. Now they are only set during runtime initialization." msgstr "" -#: ../NEWS:6494 +#: ../NEWS:6537 msgid "" ":gh:`106908`: Fix various hangs, reference leaks, test failures, and tracing/" "introspection bugs when running with :envvar:`PYTHONUOPS` or :option:`-X " "uops <-X>` enabled." msgstr "" -#: ../NEWS:6498 +#: ../NEWS:6541 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 "" -#: ../NEWS:6502 +#: ../NEWS:6545 msgid "" ":gh:`106485`: Reduce the number of materialized instances dictionaries by " "dematerializing them when possible." msgstr "" -#: ../NEWS:6505 +#: ../NEWS:6548 msgid "" ":gh:`106719`: No longer suppress arbitrary errors in the ``__annotations__`` " "getter and setter in the type and module types." msgstr "" -#: ../NEWS:6508 +#: ../NEWS:6551 msgid "" ":gh:`106723`: Propagate ``frozen_modules`` to multiprocessing spawned " "process interpreters." msgstr "" -#: ../NEWS:6511 +#: ../NEWS:6554 msgid ":gh:`104909`: Split :opcode:`LOAD_ATTR_INSTANCE_VALUE` into micro-ops." msgstr "" -#: ../NEWS:6513 +#: ../NEWS:6556 msgid "" ":gh:`104909`: Split :opcode:`LOAD_GLOBAL` specializations into micro-ops." msgstr "" -#: ../NEWS:6515 +#: ../NEWS:6558 msgid "" ":gh:`106597`: A new debug structure of offsets has been added to the " "``_PyRuntimeState`` that will help out-of-process debuggers and profilers to " @@ -11418,26 +11487,26 @@ msgid "" "headers. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6521 +#: ../NEWS:6564 msgid "" ":gh:`106487`: Allow the *count* argument of :meth:`str.replace` to be a " "keyword. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:6524 +#: ../NEWS:6567 msgid "" ":gh:`96844`: Improve error message of :meth:`list.remove`. Patch by Donghee " "Na." msgstr "" -#: ../NEWS:6527 +#: ../NEWS:6570 msgid "" ":gh:`81283`: Compiler now strips indents from docstrings. It reduces ``pyc`` " "file size 5% when the module is heavily documented. This change affects to " "``__doc__`` so tools like doctest will be affected." msgstr "" -#: ../NEWS:6531 +#: ../NEWS:6574 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 " @@ -11445,44 +11514,44 @@ msgid "" "`ast.Constant`." msgstr "" -#: ../NEWS:6536 +#: ../NEWS:6579 msgid "" ":gh:`100288`: Specialize :opcode:`LOAD_ATTR` for non-descriptors on the " "class. Adds :opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode:" "`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`." msgstr "" -#: ../NEWS:6540 +#: ../NEWS:6583 msgid "" ":gh:`106008`: Fix possible reference leaks when failing to optimize " "comparisons with :const:`None` in the bytecode compiler." msgstr "" -#: ../NEWS:6543 +#: ../NEWS:6586 msgid "" ":gh:`106145`: Make ``end_lineno`` and ``end_col_offset`` required on " "``type_param`` ast nodes." msgstr "" -#: ../NEWS:6546 +#: ../NEWS:6589 msgid "" ":gh:`106213`: Changed the way that Emscripten call trampolines work for " "compatibility with Wasm/JS Promise integration." msgstr "" -#: ../NEWS:6549 +#: ../NEWS:6592 msgid "" ":gh:`106182`: :func:`sys.getfilesystemencoding` and :mod:`sys." "getfilesystemencodeerrors` now return interned Unicode object." msgstr "" -#: ../NEWS:6552 +#: ../NEWS:6595 msgid "" ":gh:`106210`: Removed Emscripten import trampoline as it was no longer " "necessary for Pyodide." msgstr "" -#: ../NEWS:6555 +#: ../NEWS:6598 msgid "" ":gh:`104584`: Added a new, experimental, tracing optimizer and interpreter " "(a.k.a. \"tier 2\"). This currently pessimizes, so don't use yet -- this is " @@ -11492,24 +11561,24 @@ msgid "" "output and 4 is excessively verbose)." msgstr "" -#: ../NEWS:6562 +#: ../NEWS:6605 msgid ":gh:`105775`: :opcode:`LOAD_CLOSURE` is now a pseudo-op." msgstr "" -#: ../NEWS:6564 +#: ../NEWS:6607 msgid "" ":gh:`105730`: Allow any callable other than type objects as the condition " "predicate in :meth:`BaseExceptionGroup.split` and :meth:`BaseExceptionGroup." "subgroup`." msgstr "" -#: ../NEWS:6568 +#: ../NEWS:6611 msgid "" ":gh:`105979`: Fix crash in :func:`!_imp.get_frozen_object` due to improper " "exception handling." msgstr "" -#: ../NEWS:6571 +#: ../NEWS:6614 msgid "" ":gh:`106003`: Add a new :opcode:`TO_BOOL` instruction, which performs " "boolean conversions for :opcode:`POP_JUMP_IF_TRUE`, :opcode:" @@ -11518,81 +11587,81 @@ msgid "" "include an optional \"boolean conversion\" flag." msgstr "" -#: ../NEWS:6577 +#: ../NEWS:6620 msgid "" ":gh:`98931`: Ensure custom :exc:`SyntaxError` error messages are raised for " "invalid imports with multiple targets. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6580 +#: ../NEWS:6623 msgid "" ":gh:`105724`: Improve ``assert`` error messages by providing exact error " "range." msgstr "" -#: ../NEWS:6583 +#: ../NEWS:6626 msgid "" ":gh:`105908`: Fixed bug where :gh:`99111` breaks future import " "``barry_as_FLUFL`` in the Python REPL." msgstr "" -#: ../NEWS:6586 +#: ../NEWS:6629 msgid "" ":gh:`105840`: Fix possible crashes when specializing function calls with too " "many ``__defaults__``." msgstr "" -#: ../NEWS:6589 +#: ../NEWS:6632 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 "" -#: ../NEWS:6593 +#: ../NEWS:6636 msgid "" ":gh:`105800`: Correctly issue :exc:`SyntaxWarning` in f-strings if invalid " "sequences are used. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6596 +#: ../NEWS:6639 msgid "" ":gh:`105340`: Include the comprehension iteration variable in ``locals()`` " "inside a module- or class-scope comprehension." msgstr "" -#: ../NEWS:6599 +#: ../NEWS:6642 msgid "" ":gh:`105331`: Raise :exc:`ValueError` if the ``delay`` argument to :func:" "`asyncio.sleep` is a NaN (matching :func:`time.sleep`)." msgstr "" -#: ../NEWS:6602 +#: ../NEWS:6645 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 "" -#: ../NEWS:6606 +#: ../NEWS:6649 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 "" -#: ../NEWS:6609 +#: ../NEWS:6652 msgid "" ":gh:`105549`: Tokenize separately ``NUMBER`` and ``NAME`` tokens that are " "not ambiguous. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:6612 +#: ../NEWS:6655 msgid "" ":gh:`105588`: Fix an issue that could result in crashes when compiling " "malformed :mod:`ast` nodes." msgstr "" -#: ../NEWS:6615 +#: ../NEWS:6658 msgid "" ":gh:`100987`: Allow objects other than code objects as the \"executable\" in " "internal frames. In the long term, this can help tools like Cython and PySpy " @@ -11600,31 +11669,31 @@ msgid "" "optimizations more simply." msgstr "" -#: ../NEWS:6620 +#: ../NEWS:6663 msgid "" ":gh:`105375`: Fix bugs in the :mod:`builtins` module where exceptions could " "end up being overwritten." msgstr "" -#: ../NEWS:6623 +#: ../NEWS:6666 msgid "" ":gh:`105375`: Fix bug in the compiler where an exception could end up being " "overwritten." msgstr "" -#: ../NEWS:6626 +#: ../NEWS:6669 msgid "" ":gh:`105375`: Improve error handling in :c:func:`PyUnicode_BuildEncodingMap` " "where an exception could end up being overwritten." msgstr "" -#: ../NEWS:6629 +#: ../NEWS:6672 msgid "" ":gh:`105486`: Change the repr of ``ParamSpec`` list of args in ``types." "GenericAlias``." msgstr "" -#: ../NEWS:6632 +#: ../NEWS:6675 msgid "" ":gh:`105678`: Break the ``MAKE_FUNCTION`` instruction into two parts, " "``MAKE_FUNCTION`` which makes the function and ``SET_FUNCTION_ATTRIBUTE`` " @@ -11632,38 +11701,38 @@ msgid "" "``MAKE_FUNCTION`` regular to ease optimization and code generation." msgstr "" -#: ../NEWS:6637 +#: ../NEWS:6680 msgid "" ":gh:`105435`: Fix spurious newline character if file ends on a comment " "without a newline. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6640 +#: ../NEWS:6683 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 "" -#: ../NEWS:6644 +#: ../NEWS:6687 msgid "" ":gh:`105259`: Don't include newline character for trailing ``NEWLINE`` " "tokens emitted in the :mod:`tokenize` module. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6647 +#: ../NEWS:6690 msgid "" ":gh:`104635`: Eliminate redundant :opcode:`STORE_FAST` instructions in the " "compiler. Patch by Donghee Na and Carl Meyer." msgstr "" -#: ../NEWS:6650 +#: ../NEWS:6693 msgid "" ":gh:`105324`: Fix the main function of the :mod:`tokenize` module when " "reading from ``sys.stdin``. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6653 +#: ../NEWS:6696 msgid "" ":gh:`33092`: Simplify and speed up interpreter for f-strings. Removes " "``FORMAT_VALUE`` opcode. Add ``CONVERT_VALUE``, ``FORMAT_SIMPLE`` and " @@ -11671,20 +11740,20 @@ msgid "" "format expression." msgstr "" -#: ../NEWS:6658 +#: ../NEWS:6701 msgid "" ":gh:`105229`: Remove remaining two-codeunit superinstructions. All remaining " "superinstructions only take a single codeunit, simplifying instrumentation " "and quickening." msgstr "" -#: ../NEWS:6662 +#: ../NEWS:6705 msgid "" ":gh:`105235`: Prevent out-of-bounds memory access during ``mmap.find()`` " "calls." msgstr "" -#: ../NEWS:6665 +#: ../NEWS:6708 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 " @@ -11693,7 +11762,7 @@ msgid "" "to existing code." msgstr "" -#: ../NEWS:6671 +#: ../NEWS:6714 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 " @@ -11706,38 +11775,38 @@ msgid "" "intention when the state was made per-interpreter several years ago." msgstr "" -#: ../NEWS:6682 +#: ../NEWS:6725 msgid "" ":gh:`105194`: Do not escape with backslashes f-string format specifiers. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6685 +#: ../NEWS:6728 msgid "" ":gh:`105229`: Replace some dynamic superinstructions with single instruction " "equivalents." msgstr "" -#: ../NEWS:6688 +#: ../NEWS:6731 msgid "" ":gh:`105162`: Fixed bug in generator.close()/throw() where an inner iterator " "would be ignored when the outer iterator was instrumented." msgstr "" -#: ../NEWS:6691 +#: ../NEWS:6734 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 "" -#: ../NEWS:6694 +#: ../NEWS:6737 msgid "" ":gh:`105148`: Make ``_PyASTOptimizeState`` internal to ast_opt.c. Make " "``_PyAST_Optimize`` take two integers instead of a pointer to this struct. " "This avoids the need to include pycore_compile.h in ast_opt.c." msgstr "" -#: ../NEWS:6698 +#: ../NEWS:6741 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 :" @@ -11745,58 +11814,58 @@ msgid "" "list instead. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:6703 +#: ../NEWS:6746 msgid "" ":gh:`105111`: Remove the old trashcan macros ``Py_TRASHCAN_SAFE_BEGIN`` and " "``Py_TRASHCAN_SAFE_END``. They should be replaced by the new macros " "``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``." msgstr "" -#: ../NEWS:6707 +#: ../NEWS:6750 msgid "" ":gh:`105035`: Fix :func:`super` calls on types with custom :c:member:" "`~PyTypeObject.tp_getattro` implementation (e.g. meta-types.)" msgstr "" -#: ../NEWS:6710 +#: ../NEWS:6753 msgid "" ":gh:`105017`: Show CRLF lines in the tokenize string attribute in both NL " "and NEWLINE tokens. Patch by Marta Gómez." msgstr "" -#: ../NEWS:6713 +#: ../NEWS:6756 msgid "" ":gh:`105013`: Fix handling of multiline parenthesized lambdas in :func:" "`inspect.getsource`. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:6716 +#: ../NEWS:6759 msgid "" ":gh:`105017`: Do not include an additional final ``NL`` token when parsing " "files having CRLF lines. Patch by Marta Gómez." msgstr "" -#: ../NEWS:6719 +#: ../NEWS:6762 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 "" -#: ../NEWS:6723 +#: ../NEWS:6766 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 "" -#: ../NEWS:6727 +#: ../NEWS:6770 msgid "" ":gh:`104955`: Fix signature for the new :meth:`~object.__release_buffer__` " "slot. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:6730 +#: ../NEWS:6773 msgid "" ":gh:`104690`: Starting new threads and process creation through :func:`os." "fork` during interpreter shutdown (such as from :mod:`atexit` handlers) is " @@ -11807,40 +11876,40 @@ msgid "" "in the child process." msgstr "" -#: ../NEWS:6738 +#: ../NEWS:6781 msgid "" ":gh:`104879`: Fix crash when accessing the ``__module__`` attribute of type " "aliases defined outside a module. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:6741 +#: ../NEWS:6784 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 "" -#: ../NEWS:6745 +#: ../NEWS:6788 msgid "" ":gh:`104770`: If a generator returns a value upon being closed, the value is " "now returned by :meth:`generator.close`." msgstr "" -#: ../NEWS:6748 +#: ../NEWS:6791 msgid "" ":gh:`89091`: Raise :exc:`RuntimeWarning` for unawaited async generator " "methods like :meth:`~agen.asend`, :meth:`~agen.athrow` and :meth:`~agen." "aclose`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:6752 +#: ../NEWS:6795 msgid "" ":gh:`96663`: Add a better, more introspect-able error message when setting " "attributes on classes without a ``__dict__`` and no slot member for the " "attribute." msgstr "" -#: ../NEWS:6756 +#: ../NEWS:6799 msgid "" ":gh:`93627`: Update the Python pickle module implementation to match the C " "implementation of the pickle module. For objects setting reduction methods " @@ -11848,63 +11917,63 @@ msgid "" "``None``, pickling will result in a :exc:`TypeError`." msgstr "" -#: ../NEWS:6761 +#: ../NEWS:6804 msgid ":gh:`101006`: Improve error handling when read :mod:`marshal` data." msgstr "" -#: ../NEWS:6763 +#: ../NEWS:6806 msgid "" ":gh:`91095`: Specializes calls to most Python classes. Specifically, any " "class that inherits from ``object``, or another Python class, and does not " "override ``__new__``." msgstr "" -#: ../NEWS:6767 +#: ../NEWS:6810 msgid "The specialized instruction does the following:" msgstr "" -#: ../NEWS:6769 +#: ../NEWS:6812 msgid "Creates the object (by calling ``object.__new__``)" msgstr "" -#: ../NEWS:6770 +#: ../NEWS:6813 msgid "Pushes a shim frame to the frame stack (to cleanup after ``__init__``)" msgstr "" -#: ../NEWS:6771 +#: ../NEWS:6814 msgid "Pushes the frame for ``__init__`` to the frame stack" msgstr "" -#: ../NEWS:6773 +#: ../NEWS:6816 msgid "Speeds up the instantiation of most Python classes." msgstr "" -#: ../NEWS:6778 +#: ../NEWS:6821 msgid "" ":gh:`110786`: :mod:`sysconfig`'s CLI now ignores :exc:`BrokenPipeError`, " "making it exit normally if its output is being piped and the pipe closes." msgstr "" -#: ../NEWS:6781 +#: ../NEWS:6824 msgid "" ":gh:`103480`: The :mod:`sysconfig` module is now a package, instead of a " "single-file module." msgstr "" -#: ../NEWS:6784 +#: ../NEWS:6827 msgid "" ":gh:`110733`: Micro-optimization: Avoid calling ``min()``, ``max()`` in :" "meth:`BaseEventLoop._run_once`." msgstr "" -#: ../NEWS:6787 +#: ../NEWS:6830 msgid "" ":gh:`94597`: Added :class:`asyncio.EventLoop` for use with the :func:" "`asyncio.run` *loop_factory* kwarg to avoid calling the asyncio policy " "system." msgstr "" -#: ../NEWS:6791 +#: ../NEWS:6834 msgid "" ":gh:`110682`: :func:`runtime-checkable protocols ` " "used to consider ``__match_args__`` a protocol member in " @@ -11912,7 +11981,7 @@ msgid "" "is ignored if it is present." msgstr "" -#: ../NEWS:6796 +#: ../NEWS:6839 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:" @@ -11920,83 +11989,83 @@ msgid "" "was incorrectly considered invalid." msgstr "" -#: ../NEWS:6801 +#: ../NEWS:6844 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 "" -#: ../NEWS:6805 +#: ../NEWS:6848 msgid "" ":gh:`65052`: Prevent :mod:`pdb` from crashing when trying to display " "undisplayable objects" msgstr "" -#: ../NEWS:6808 +#: ../NEWS:6851 msgid "" ":gh:`110519`: Deprecation warning about non-integer number in :mod:`gettext` " "now always 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 "" -#: ../NEWS:6812 +#: ../NEWS:6855 msgid "" ":gh:`89902`: Deprecate non-standard format specifier \"N\" for :class:" "`decimal.Decimal`. It was not documented and only supported in the C " "implementation." msgstr "" -#: ../NEWS:6816 +#: ../NEWS:6859 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 "" -#: ../NEWS:6820 +#: ../NEWS:6863 msgid "" ":gh:`106670`: In :mod:`pdb`, set convenience variable ``$_exception`` for " "post mortem debugging." msgstr "" -#: ../NEWS:6823 +#: ../NEWS:6866 msgid "" ":gh:`110365`: Fix :func:`termios.tcsetattr` bug that was overwriting " "existing errors during parsing integers from ``term`` list." msgstr "" -#: ../NEWS:6826 +#: ../NEWS:6869 msgid "" ":gh:`109653`: Slightly improve the import time of several standard-library " "modules by deferring imports of :mod:`warnings` within those modules. Patch " "by Alex Waygood." msgstr "" -#: ../NEWS:6830 +#: ../NEWS:6873 msgid "" ":gh:`110273`: :func:`dataclasses.replace` now raises TypeError instead of " "ValueError if specify keyword argument for a field declared with init=False " "or miss keyword argument for required InitVar field." msgstr "" -#: ../NEWS:6834 +#: ../NEWS:6877 msgid ":gh:`110249`: Add ``--inline-caches`` flag to ``dis`` command line." msgstr "" -#: ../NEWS:6836 +#: ../NEWS:6879 msgid "" ":gh:`109653`: Fix a Python 3.12 regression in the import time of :mod:" "`random`. Patch by Alex Waygood." msgstr "" -#: ../NEWS:6839 +#: ../NEWS:6882 msgid "" ":gh:`110222`: Add support of struct sequence objects in :func:`copy." "replace`. Patched by Xuehai Pan." msgstr "" -#: ../NEWS:6842 +#: ../NEWS:6885 msgid "" ":gh:`109649`: :mod:`multiprocessing`, :mod:`concurrent.futures`, :mod:" "`compileall`: Replace :func:`os.cpu_count` with :func:`os.process_cpu_count` " @@ -12004,13 +12073,13 @@ msgid "" "affinity if supported. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6848 +#: ../NEWS:6891 msgid "" ":gh:`110150`: Fix base case handling in statistics.quantiles. Now allows a " "single data point." msgstr "" -#: ../NEWS:6851 +#: ../NEWS:6894 msgid "" ":gh:`110036`: On Windows, multiprocessing ``Popen.terminate()`` now catches :" "exc:`PermissionError` and get the process exit code. If the process is still " @@ -12018,33 +12087,33 @@ msgid "" "terminated as expected: store its exit code. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6857 +#: ../NEWS:6900 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 "" -#: ../NEWS:6861 +#: ../NEWS:6904 msgid "" ":gh:`110045`: Update the :mod:`symtable` module to support the new scopes " "introduced by :pep:`695`." msgstr "" -#: ../NEWS:6864 +#: ../NEWS:6907 msgid "" ":gh:`88402`: Add new variables to :py:meth:`sysconfig.get_config_vars` on " "Windows: ``LIBRARY``, ``LDLIBRARY``, ``LIBDIR``, ``SOABI``, and ``Py_NOGIL``." msgstr "" -#: ../NEWS:6868 +#: ../NEWS:6911 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 "" -#: ../NEWS:6872 +#: ../NEWS:6915 msgid "" ":gh:`109653`: Reduce the import time of :mod:`email.utils` by around 43%. " "This results in the import time of :mod:`email.message` falling by around " @@ -12052,13 +12121,13 @@ msgid "" "around 6%. Patch by Alex Waygood." msgstr "" -#: ../NEWS:6877 +#: ../NEWS:6920 msgid "" ":gh:`109818`: Fix :func:`reprlib.recursive_repr` not copying " "``__type_params__`` from decorated function." msgstr "" -#: ../NEWS:6880 +#: ../NEWS:6923 msgid "" ":gh:`109047`: :mod:`concurrent.futures`: The *executor manager thread* now " "catches exceptions when adding an item to the *call queue*. During Python " @@ -12067,19 +12136,19 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:6886 +#: ../NEWS:6929 msgid "" ":gh:`109782`: Ensure the signature of :func:`os.path.isdir` is identical on " "all platforms. Patch by Amin Alaee." msgstr "" -#: ../NEWS:6889 +#: ../NEWS:6932 msgid "" ":gh:`109653`: Improve import time of :mod:`functools` by around 13%. Patch " "by Alex Waygood." msgstr "" -#: ../NEWS:6892 +#: ../NEWS:6935 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 " @@ -12088,39 +12157,39 @@ msgid "" "to previous behavior in Python 3.11." msgstr "" -#: ../NEWS:6898 +#: ../NEWS:6941 msgid "" ":gh:`109653`: Reduce the import time of :mod:`enum` by over 50%. Patch by " "Alex Waygood." msgstr "" -#: ../NEWS:6901 +#: ../NEWS:6944 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 "" -#: ../NEWS:6906 +#: ../NEWS:6949 msgid "" ":gh:`109653`: Reduce the import time of :mod:`typing` by around a third. " "Patch by Alex Waygood." msgstr "" -#: ../NEWS:6909 +#: ../NEWS:6952 msgid "" ":gh:`109649`: Add :func:`os.process_cpu_count` function to get the number of " "logical CPUs usable by the calling thread of the current process. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:6913 +#: ../NEWS:6956 msgid "" ":gh:`74481`: Add ``set_error_mode`` related constants in ``msvcrt`` module " "in Python debug build." msgstr "" -#: ../NEWS:6916 +#: ../NEWS:6959 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 " @@ -12128,59 +12197,59 @@ msgid "" "succeeded with an exception set. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6921 +#: ../NEWS:6964 msgid "" ":gh:`109599`: Expose the type of PyCapsule objects as ``types.CapsuleType``." msgstr "" -#: ../NEWS:6929 +#: ../NEWS:6972 msgid ":gh:`109559`: Update :mod:`unicodedata` database to Unicode 15.1.0." msgstr "" -#: ../NEWS:6931 +#: ../NEWS:6974 msgid "" ":gh:`109543`: Remove unnecessary :func:`hasattr` check during :data:`typing." "TypedDict` creation." msgstr "" -#: ../NEWS:6934 +#: ../NEWS:6977 msgid "" ":gh:`109495`: Remove unnecessary extra ``__slots__`` in :class:`~datetime." "datetime`\\'s pure python implementation to reduce memory size, as they are " "defined in the superclass. Patch by James Hilton-Balfe" msgstr "" -#: ../NEWS:6938 +#: ../NEWS:6981 msgid "" ":gh:`109461`: :mod:`logging`: Use a context manager for lock acquisition." msgstr "" -#: ../NEWS:6940 +#: ../NEWS:6983 msgid "" ":gh:`109096`: :class:`http.server.CGIHTTPRequestHandler` has been deprecated " "for removal in 3.15. Its design is old and the web world has long since " "moved beyond CGI." msgstr "" -#: ../NEWS:6944 +#: ../NEWS:6987 msgid "" ":gh:`109409`: Fix error when it was possible to inherit a frozen dataclass " "from multiple parents some of which were possibly not frozen." msgstr "" -#: ../NEWS:6947 +#: ../NEWS:6990 msgid "" ":gh:`109375`: The :mod:`pdb` ``alias`` command now prevents registering " "aliases without arguments." msgstr "" -#: ../NEWS:6950 +#: ../NEWS:6993 msgid "" ":gh:`109319`: Deprecate the ``dis.HAVE_ARGUMENT`` field in favour of ``dis." "hasarg``." msgstr "" -#: ../NEWS:6953 +#: ../NEWS:6996 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 " @@ -12189,20 +12258,20 @@ msgid "" "interrupts the send, so the queue can be closed. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6959 +#: ../NEWS:7002 msgid "" ":gh:`66143`: The :class:`codecs.CodecInfo` object has been made copyable and " "pickleable. Patched by Robert Lehmann and Furkan Onder." msgstr "" -#: ../NEWS:6962 +#: ../NEWS:7005 msgid "" ":gh:`109187`: :meth:`pathlib.Path.resolve` now treats symlink loops like " "other errors: in strict mode, :exc:`OSError` is raised, and in non-strict " "mode, no exception is raised." msgstr "" -#: ../NEWS:6966 +#: ../NEWS:7009 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 " @@ -12210,25 +12279,25 @@ msgid "" "unpickling to fail with a RecursionError." msgstr "" -#: ../NEWS:6971 +#: ../NEWS:7014 msgid "" ":gh:`109174`: Add support of :class:`types.SimpleNamespace` in :func:`copy." "replace`." msgstr "" -#: ../NEWS:6974 +#: ../NEWS:7017 msgid "" ":gh:`109164`: :mod:`pdb`: Replace :mod:`getopt` with :mod:`argparse` for " "parsing command line arguments." msgstr "" -#: ../NEWS:6977 +#: ../NEWS:7020 msgid "" ":gh:`109151`: Enable ``readline`` editing features in the :ref:`sqlite3 " "command-line interface ` (``python -m sqlite3``)." msgstr "" -#: ../NEWS:6980 +#: ../NEWS:7023 msgid "" ":gh:`108987`: Fix :func:`_thread.start_new_thread` race condition. If a " "thread is created during Python finalization, the newly spawned thread now " @@ -12236,86 +12305,86 @@ msgid "" "crash. Patch by Victor Stinner." msgstr "" -#: ../NEWS:6985 +#: ../NEWS:7028 msgid "" ":gh:`108682`: Enum: require ``names=()`` or ``type=...`` to create an empty " "enum using the functional syntax." msgstr "" -#: ../NEWS:6988 +#: ../NEWS:7031 msgid "" ":gh:`109033`: Exceptions raised by os.utime builtin function now include the " "related filename" msgstr "" -#: ../NEWS:6991 +#: ../NEWS:7034 msgid "" ":gh:`108843`: Fix an issue in :func:`ast.unparse` when unparsing f-strings " "containing many quote types." msgstr "" -#: ../NEWS:6994 +#: ../NEWS:7037 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 "" -#: ../NEWS:6998 +#: ../NEWS:7041 msgid "" ":gh:`108751`: Add :func:`copy.replace` function which allows to create a " "modified copy of an object. It supports named tuples, dataclasses, and many " "other objects." msgstr "" -#: ../NEWS:7002 +#: ../NEWS:7045 msgid "" ":gh:`108682`: Enum: raise :exc:`TypeError` if ``super().__new__()`` is " "called from a custom ``__new__``." msgstr "" -#: ../NEWS:7005 +#: ../NEWS:7048 msgid "" ":gh:`108278`: Deprecate passing the callback callable by keyword for the " "following :class:`sqlite3.Connection` APIs:" msgstr "" -#: ../NEWS:7008 +#: ../NEWS:7051 msgid ":meth:`~sqlite3.Connection.set_authorizer`" msgstr "" -#: ../NEWS:7009 +#: ../NEWS:7052 msgid ":meth:`~sqlite3.Connection.set_progress_handler`" msgstr "" -#: ../NEWS:7010 +#: ../NEWS:7053 msgid ":meth:`~sqlite3.Connection.set_trace_callback`" msgstr "" -#: ../NEWS:7012 ../NEWS:7046 +#: ../NEWS:7055 ../NEWS:7089 msgid "The affected parameters will become positional-only in Python 3.15." msgstr "" -#: ../NEWS:7014 ../NEWS:7048 ../NEWS:12966 ../NEWS:16778 ../NEWS:18612 -#: ../NEWS:18717 +#: ../NEWS:7057 ../NEWS:7091 ../NEWS:13009 ../NEWS:16821 ../NEWS:18655 +#: ../NEWS:18760 msgid "Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:7016 +#: ../NEWS:7059 msgid ":gh:`105829`: Fix concurrent.futures.ProcessPoolExecutor deadlock" msgstr "" -#: ../NEWS:7018 +#: ../NEWS:7061 msgid "" ":gh:`108295`: Fix crashes related to use of weakrefs on :data:`typing." "TypeVar`." msgstr "" -#: ../NEWS:7021 +#: ../NEWS:7064 msgid ":gh:`108463`: Make expressions/statements work as expected in pdb" msgstr "" -#: ../NEWS:7023 +#: ../NEWS:7066 msgid "" ":gh:`108277`: Add :func:`os.timerfd_create`, :func:`os.timerfd_settime`, :" "func:`os.timerfd_gettime`, :func:`os.timerfd_settime_ns`, and :func:`os." @@ -12323,57 +12392,57 @@ msgid "" "notification file descriptor." msgstr "" -#: ../NEWS:7028 +#: ../NEWS:7071 msgid "" ":gh:`107811`: :mod:`tarfile`: extraction of members with overly large UID or " "GID (e.g. on an OS with 32-bit :c:type:`!id_t`) now fails in the same way as " "failing to set the ID." msgstr "" -#: ../NEWS:7032 +#: ../NEWS:7075 msgid "" ":gh:`64662`: Fix support for virtual tables in :meth:`sqlite3.Connection." "iterdump`. Patch by Aviv Palivoda." msgstr "" -#: ../NEWS:7035 +#: ../NEWS:7078 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 "" -#: ../NEWS:7038 +#: ../NEWS:7081 msgid ":gh:`108294`: :func:`time.sleep` now raises an auditing event." msgstr "" -#: ../NEWS:7040 +#: ../NEWS:7083 msgid "" ":gh:`108278`: Deprecate passing name, number of arguments, and the callable " "as keyword arguments, for the following :class:`sqlite3.Connection` APIs:" msgstr "" -#: ../NEWS:7043 +#: ../NEWS:7086 msgid ":meth:`~sqlite3.Connection.create_function`" msgstr "" -#: ../NEWS:7044 +#: ../NEWS:7087 msgid ":meth:`~sqlite3.Connection.create_aggregate`" msgstr "" -#: ../NEWS:7050 +#: ../NEWS:7093 msgid "" ":gh:`108322`: Speed-up NormalDist.samples() by using the inverse CDF method " "instead of calling random.gauss()." msgstr "" -#: ../NEWS:7053 +#: ../NEWS:7096 msgid "" ":gh:`83417`: Add the ability for venv to create a ``.gitignore`` file which " "causes the created environment to be ignored by Git. It is on by default " "when venv is called via its CLI." msgstr "" -#: ../NEWS:7057 +#: ../NEWS:7100 msgid "" ":gh:`105736`: Harmonized the pure Python version of :class:`~collections." "OrderedDict` with the C version. Now, both versions set up their internal " @@ -12381,27 +12450,27 @@ msgid "" "``__init__``." msgstr "" -#: ../NEWS:7062 +#: ../NEWS:7105 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 "" -#: ../NEWS:7066 +#: ../NEWS:7109 msgid "" ":gh:`107932`: Fix ``dis`` module to properly report and display bytecode " "that do not have source lines." msgstr "" -#: ../NEWS:7069 +#: ../NEWS:7112 msgid "" ":gh:`105539`: :mod:`sqlite3` now emits an :exc:`ResourceWarning` if a :class:" "`sqlite3.Connection` object is not :meth:`closed ` " "explicitly. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:7073 +#: ../NEWS:7116 msgid "" ":gh:`107995`: The ``__module__`` attribute on instances of :class:`functools." "cached_property` is now set to the name of the module in which the " @@ -12410,29 +12479,29 @@ msgid "" "the :mod:`doctest` module. Patch by Tyler Smart." msgstr "" -#: ../NEWS:7079 +#: ../NEWS:7122 msgid "" ":gh:`107963`: Fix :func:`multiprocessing.set_forkserver_preload` to check " "the given list of modules names. Patch by Donghee Na." msgstr "" -#: ../NEWS:7082 +#: ../NEWS:7125 msgid "" ":gh:`106242`: Fixes :func:`os.path.normpath` to handle embedded null " "characters without truncating the path." msgstr "" -#: ../NEWS:7085 +#: ../NEWS:7128 msgid "" ":gh:`81555`: :mod:`xml.dom.minidom` now only quotes ``\"`` in attributes." msgstr "" -#: ../NEWS:7087 +#: ../NEWS:7130 msgid "" ":gh:`50002`: :mod:`xml.dom.minidom` now preserves whitespaces in attributes." msgstr "" -#: ../NEWS:7089 +#: ../NEWS:7132 msgid "" ":gh:`93057`: Passing more than one positional argument to :func:`sqlite3." "connect` and the :class:`sqlite3.Connection` constructor is deprecated. The " @@ -12440,83 +12509,83 @@ msgid "" "Erlend E. Aasland." msgstr "" -#: ../NEWS:7094 +#: ../NEWS:7137 msgid "" ":gh:`76913`: Add *merge_extra* parameter/feature to :class:`logging." "LoggerAdapter`" msgstr "" -#: ../NEWS:7097 +#: ../NEWS:7140 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 "" -#: ../NEWS:7101 +#: ../NEWS:7144 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 "" -#: ../NEWS:7105 +#: ../NEWS:7148 msgid ":gh:`107812`: Extend socket's netlink support to the FreeBSD platform." msgstr "" -#: ../NEWS:7107 +#: ../NEWS:7150 msgid "" ":gh:`107805`: Fix signatures of module-level generated functions in :mod:" "`turtle`." msgstr "" -#: ../NEWS:7110 +#: ../NEWS:7153 msgid "" ":gh:`107782`: :mod:`pydoc` is now able to show signatures which are not " "representable in Python, e.g. for ``getattr`` and ``dict.pop``." msgstr "" -#: ../NEWS:7113 +#: ../NEWS:7156 msgid "" ":gh:`56166`: Deprecate passing optional arguments *maxsplit*, *count* and " "*flags* in module-level functions :func:`re.split`, :func:`re.sub` and :func:" "`re.subn` as positional. They should only be passed by keyword." msgstr "" -#: ../NEWS:7117 +#: ../NEWS:7160 msgid ":gh:`107710`: Speed up :func:`logging.getHandlerNames`." msgstr "" -#: ../NEWS:7119 +#: ../NEWS:7162 msgid "" ":gh:`107715`: Fix :meth:`doctest.DocTestFinder.find` in presence of class " "names with special characters. Patch by Gertjan van Zwieten." msgstr "" -#: ../NEWS:7122 +#: ../NEWS:7165 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 "" -#: ../NEWS:7125 +#: ../NEWS:7168 msgid "" ":gh:`72684`: Add :mod:`tkinter` widget methods: :meth:`!tk_busy_hold`, :meth:" "`!tk_busy_configure`, :meth:`!tk_busy_cget`, :meth:`!tk_busy_forget`, :meth:" "`!tk_busy_current`, and :meth:`!tk_busy_status`." msgstr "" -#: ../NEWS:7130 +#: ../NEWS:7173 msgid "" ":gh:`106684`: Raise :exc:`ResourceWarning` when :class:`asyncio." "StreamWriter` is not closed leading to memory leaks. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:7133 +#: ../NEWS:7176 msgid ":gh:`107465`: Add :meth:`pathlib.Path.from_uri` classmethod." msgstr "" -#: ../NEWS:7135 +#: ../NEWS:7178 msgid "" ":gh:`107077`: Seems that in some conditions, OpenSSL will return " "``SSL_ERROR_SYSCALL`` instead of ``SSL_ERROR_SSL`` when a certification " @@ -12526,108 +12595,108 @@ msgid "" "SSLCertVerificationError``. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:7142 +#: ../NEWS:7185 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 "" -#: ../NEWS:7146 +#: ../NEWS:7189 msgid "" ":gh:`105481`: Remove ``opcode.is_pseudo``, ``opcode.MIN_PSEUDO_OPCODE`` and " "``opcode.MAX_PSEUDO_OPCODE``, which were added in 3.12, were never " "documented and were not intended to be used externally." msgstr "" -#: ../NEWS:7150 +#: ../NEWS:7193 msgid "" ":gh:`105481`: :data:`!opcode.ENABLE_SPECIALIZATION` (which was added in 3.12 " "but never documented or intended for external usage) is moved to :data:`!" "_opcode.ENABLE_SPECIALIZATION` where tests can access it." msgstr "" -#: ../NEWS:7154 +#: ../NEWS:7197 msgid "" ":gh:`107396`: tarfiles; Fixed use before assignment of self.exception for " "gzip decompression" msgstr "" -#: ../NEWS:7157 +#: ../NEWS:7200 msgid "" ":gh:`107409`: Set :attr:`!__wrapped__` attribute in :func:`reprlib." "recursive_repr`." msgstr "" -#: ../NEWS:7160 +#: ../NEWS:7203 msgid "" ":gh:`107406`: Implement new :meth:`__repr__` method for :class:`struct." "Struct`. Now it returns ``Struct()``." msgstr "" -#: ../NEWS:7163 +#: ../NEWS:7206 msgid "" ":gh:`107369`: Optimize :func:`textwrap.indent`. It is ~30% faster for large " "input. Patch by Inada Naoki." msgstr "" -#: ../NEWS:7166 +#: ../NEWS:7209 msgid "" ":gh:`78722`: Fix issue where :meth:`pathlib.Path.iterdir` did not raise :exc:" "`OSError` until iterated." msgstr "" -#: ../NEWS:7169 +#: ../NEWS:7212 msgid "" ":gh:`105578`: Deprecate :class:`typing.AnyStr` in favor of the new Type " "Parameter syntax. See PEP 695." msgstr "" -#: ../NEWS:7172 +#: ../NEWS:7215 msgid "" ":gh:`62519`: Make :func:`gettext.pgettext` search plural definitions when " "translation is not found." msgstr "" -#: ../NEWS:7175 +#: ../NEWS:7218 msgid "" ":gh:`107089`: Shelves opened with :func:`shelve.open` have a much faster :" "meth:`clear` method. Patch by James Cave." msgstr "" -#: ../NEWS:7178 +#: ../NEWS:7221 msgid "" ":gh:`82500`: Fix overflow on 32-bit systems with :mod:`asyncio` :func:`os." "sendfile` implementation." msgstr "" -#: ../NEWS:7181 +#: ../NEWS:7224 msgid "" ":gh:`83006`: Document behavior of :func:`shutil.disk_usage` for non-mounted " "filesystems on Unix." msgstr "" -#: ../NEWS:7184 +#: ../NEWS:7227 msgid "" ":gh:`65495`: Use lowercase ``mail from`` and ``rcpt to`` in :class:`smptlib." "SMTP`." msgstr "" -#: ../NEWS:7187 +#: ../NEWS:7230 msgid "" ":gh:`106186`: Do not report ``MultipartInvariantViolationDefect`` defect " "when the :class:`email.parser.Parser` class is used to parse emails with " "``headersonly=True``." msgstr "" -#: ../NEWS:7191 +#: ../NEWS:7234 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 "" -#: ../NEWS:7195 +#: ../NEWS:7238 msgid "" ":gh:`106739`: Add the ``rtype_cache`` to the warning message (as an addition " "to the type of leaked objects and the number of leaked objects already " @@ -12637,64 +12706,64 @@ msgid "" "object was not properly cleaned up." msgstr "" -#: ../NEWS:7202 +#: ../NEWS:7245 msgid "" ":gh:`106751`: Optimize :meth:`SelectSelector.select` for many iteration " "case. Patch By Donghee Na." msgstr "" -#: ../NEWS:7205 +#: ../NEWS:7248 msgid "" ":gh:`106751`: Optimize :meth:`!_PollLikeSelector.select` for many iteration " "case." msgstr "" -#: ../NEWS:7208 +#: ../NEWS:7251 msgid "" ":gh:`106751`: Optimize :meth:`KqueueSelector.select` for many iteration " "case. Patch By Donghee Na." msgstr "" -#: ../NEWS:7211 +#: ../NEWS:7254 msgid "" ":gh:`106831`: Fix potential missing ``NULL`` check of ``d2i_SSL_SESSION`` " "result in ``_ssl.c``." msgstr "" -#: ../NEWS:7214 +#: ../NEWS:7257 msgid "" ":gh:`105481`: The various opcode lists in the :mod:`dis` module are now " "generated from bytecodes.c instead of explicitly constructed in opcode.py." msgstr "" -#: ../NEWS:7217 +#: ../NEWS:7260 msgid "" ":gh:`106727`: Make :func:`inspect.getsource` smarter for class for same name " "definitions" msgstr "" -#: ../NEWS:7220 +#: ../NEWS:7263 msgid ":gh:`106789`: Remove import of :mod:`pprint` from :mod:`sysconfig`." msgstr "" -#: ../NEWS:7222 +#: ../NEWS:7265 msgid "" ":gh:`105726`: Added ``__slots__`` to :class:`contextlib." "AbstractContextManager` and :class:`contextlib.AbstractAsyncContextManager` " "so that child classes can use ``__slots__``." msgstr "" -#: ../NEWS:7227 +#: ../NEWS:7270 msgid ":gh:`106774`: Update the bundled copy of pip to version 23.2.1." msgstr "" -#: ../NEWS:7229 +#: ../NEWS:7272 msgid "" ":gh:`106751`: :mod:`selectors`: Optimize ``EpollSelector.select()`` code by " "moving some code outside of the loop." msgstr "" -#: ../NEWS:7232 +#: ../NEWS:7275 msgid "" ":gh:`106752`: Fixed several bugs in zipfile.Path, including: in :meth:" "`zipfile.Path.match`, Windows separators are no longer honored (and never " @@ -12704,135 +12773,135 @@ msgid "" "behavior." msgstr "" -#: ../NEWS:7239 +#: ../NEWS:7282 msgid "" ":gh:`105293`: Remove call to ``SSL_CTX_set_session_id_context`` during " "client side context creation in the :mod:`ssl` module." msgstr "" -#: ../NEWS:7242 +#: ../NEWS:7285 msgid ":gh:`106734`: Disable tab completion in multiline mode of :mod:`pdb`" msgstr "" -#: ../NEWS:7244 +#: ../NEWS:7287 msgid ":gh:`105481`: Expose opcode metadata through :mod:`!_opcode`." msgstr "" -#: ../NEWS:7246 +#: ../NEWS:7289 msgid "" ":gh:`106670`: Add the new ``exceptions`` command to the Pdb debugger. It " "makes it possible to move between chained exceptions when using post mortem " "debugging." msgstr "" -#: ../NEWS:7250 +#: ../NEWS:7293 msgid ":gh:`106602`: Add __copy__ and __deepcopy__ in :mod:`enum`" msgstr "" -#: ../NEWS:7252 +#: ../NEWS:7295 msgid "" ":gh:`106664`: :mod:`selectors`: Add ``_SelectorMapping.get()`` method and " "optimize ``_SelectorMapping.__getitem__()``." msgstr "" -#: ../NEWS:7255 +#: ../NEWS:7298 msgid "" ":gh:`106628`: Speed up parsing of emails by about 20% by not compiling a new " "regular expression for every single email." msgstr "" -#: ../NEWS:7258 +#: ../NEWS:7301 msgid "" ":gh:`89427`: Set the environment variable ``VIRTUAL_ENV_PROMPT`` at :mod:" "`venv` activation, even when ``VIRTUAL_ENV_DISABLE_PROMPT`` is set." msgstr "" -#: ../NEWS:7261 +#: ../NEWS:7304 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 "" -#: ../NEWS:7265 +#: ../NEWS:7308 msgid "" ":gh:`106584`: Fix exit code for ``unittest`` if all tests are skipped. Patch " "by Egor Eliseev." msgstr "" -#: ../NEWS:7268 +#: ../NEWS:7311 msgid "" ":gh:`106566`: Optimize ``(?!)`` (pattern which always fails) in regular " "expressions." msgstr "" -#: ../NEWS:7271 +#: ../NEWS:7314 msgid "" ":gh:`106554`: :mod:`selectors`: Reduce Selector overhead by using a ``dict." "get()`` to lookup file descriptors." msgstr "" -#: ../NEWS:7274 +#: ../NEWS:7317 msgid "" ":gh:`106558`: Remove ref cycle in callers of :func:`~multiprocessing." "managers.convert_to_error` by deleting ``result`` from scope in a " "``finally`` block." msgstr "" -#: ../NEWS:7278 +#: ../NEWS:7321 msgid "" ":gh:`100502`: Add :attr:`pathlib.PurePath.pathmod` class attribute that " "stores the implementation of :mod:`os.path` used for low-level path " "operations: either ``posixpath`` or ``ntpath``." msgstr "" -#: ../NEWS:7282 +#: ../NEWS:7325 msgid "" ":gh:`106527`: Reduce overhead to add and remove :mod:`asyncio` readers and " "writers." msgstr "" -#: ../NEWS:7285 +#: ../NEWS:7328 msgid "" ":gh:`106524`: Fix crash in :func:`!_sre.template` with templates containing " "invalid group indices." msgstr "" -#: ../NEWS:7288 +#: ../NEWS:7331 msgid "" ":gh:`106531`: Removed ``_legacy`` and the names it provided from ``importlib." "resources``: ``Resource``, ``contents``, ``is_resource``, ``open_binary``, " "``open_text``, ``path``, ``read_binary``, and ``read_text``." msgstr "" -#: ../NEWS:7293 +#: ../NEWS:7336 msgid "" ":gh:`106052`: :mod:`re` module: fix the matching of possessive quantifiers " "in the case of a subpattern containing backtracking." msgstr "" -#: ../NEWS:7296 +#: ../NEWS:7339 msgid "" ":gh:`106510`: Improve debug output for atomic groups in regular expressions." msgstr "" -#: ../NEWS:7298 +#: ../NEWS:7341 msgid "" ":gh:`106503`: Fix ref cycle in :class:`!asyncio._SelectorSocketTransport` by " "removing ``_write_ready`` in ``close``." msgstr "" -#: ../NEWS:7301 +#: ../NEWS:7344 msgid ":gh:`105497`: Fix flag mask inversion when unnamed flags exist." msgstr "" -#: ../NEWS:7303 +#: ../NEWS:7346 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 "" -#: ../NEWS:7307 +#: ../NEWS:7350 msgid "" ":gh:`106403`: Instances of :class:`typing.TypeVar`, :class:`typing." "ParamSpec`, :class:`typing.ParamSpecArgs`, :class:`typing.ParamSpecKwargs`, " @@ -12840,14 +12909,14 @@ msgid "" "a regression introduced in Python 3.12.0 beta 1. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:7313 +#: ../NEWS:7356 msgid "" ":gh:`89812`: Add private ``pathlib._PathBase`` class, which provides " "experimental support for virtual filesystems, and may be made public in a " "future version of Python." msgstr "" -#: ../NEWS:7317 +#: ../NEWS:7360 msgid "" ":gh:`106292`: Check for an instance-dict cached value in the :meth:`__get__` " "method of :func:`functools.cached_property`. This better matches the " @@ -12855,76 +12924,76 @@ msgid "" "`functools.cached_property` and adding a :meth:`__set__` method." msgstr "" -#: ../NEWS:7322 +#: ../NEWS:7365 msgid "" ":gh:`106350`: Detect possible memory allocation failure in the libtommath " "function :c:func:`mp_init` used by the ``_tkinter`` module." msgstr "" -#: ../NEWS:7325 +#: ../NEWS:7368 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 "" -#: ../NEWS:7329 +#: ../NEWS:7372 msgid "" ":gh:`106309`: Deprecate :func:`typing.no_type_check_decorator`. No major " "type checker ever added support for this decorator. Patch by Alex Waygood." msgstr "" -#: ../NEWS:7332 +#: ../NEWS:7375 msgid "" ":gh:`102541`: Make :func:`pydoc.doc` catch bad module :exc:`ImportError` " "when output stream is not ``None``." msgstr "" -#: ../NEWS:7335 +#: ../NEWS:7378 msgid "" ":gh:`106263`: Fix crash when calling ``repr`` with a manually constructed " "SignalDict object. Patch by Charlie Zhao." msgstr "" -#: ../NEWS:7338 +#: ../NEWS:7381 msgid "" ":gh:`106236`: Replace ``assert`` statements with ``raise RuntimeError`` in :" "mod:`threading`, so that ``_DummyThread`` cannot be joined even with ``-OO``." msgstr "" -#: ../NEWS:7342 +#: ../NEWS:7385 msgid "" ":gh:`106238`: Fix rare concurrency bug in lock acquisition by the logging " "package." msgstr "" -#: ../NEWS:7345 +#: ../NEWS:7388 msgid "" ":gh:`106152`: Added PY_THROW event hook for :mod:`cProfile` for generators" msgstr "" -#: ../NEWS:7347 +#: ../NEWS:7390 msgid "" ":gh:`106075`: Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` " "for export in star imports." msgstr "" -#: ../NEWS:7350 +#: ../NEWS:7393 msgid ":gh:`104527`: Zipapp will now skip over appending an archive to itself." msgstr "" -#: ../NEWS:7352 +#: ../NEWS:7395 msgid "" ":gh:`106046`: Improve the error message from :func:`os.fspath` if called on " "an object where ``__fspath__`` is set to ``None``. Patch by Alex Waygood." msgstr "" -#: ../NEWS:7355 +#: ../NEWS:7398 msgid "" ":gh:`105987`: Fix crash due to improper reference counting in :mod:`asyncio` " "eager task factory internal routines." msgstr "" -#: ../NEWS:7358 +#: ../NEWS:7401 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:" @@ -12935,24 +13004,24 @@ msgid "" "Alex Waygood." msgstr "" -#: ../NEWS:7366 +#: ../NEWS:7409 msgid ":gh:`96145`: Reverted addition of ``json.AttrDict``." msgstr "" -#: ../NEWS:7368 +#: ../NEWS:7411 msgid "" ":gh:`89812`: Add :exc:`pathlib.UnsupportedOperation`, which is raised " "instead of :exc:`NotImplementedError` when a path operation isn't supported." msgstr "" -#: ../NEWS:7371 +#: ../NEWS:7414 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 "" -#: ../NEWS:7375 +#: ../NEWS:7418 msgid "" ":gh:`105481`: :func:`~dis.stack_effect` no longer raises an exception if an " "``oparg`` is provided for an ``opcode`` that doesn't use its arg, or when it " @@ -12960,20 +13029,20 @@ msgid "" "stack effect is returned for ``oparg=0``." msgstr "" -#: ../NEWS:7380 +#: ../NEWS:7423 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 "" -#: ../NEWS:7384 +#: ../NEWS:7427 msgid "" ":gh:`105793`: Add *follow_symlinks* keyword-only argument to :meth:`pathlib." "Path.is_dir` and :meth:`~pathlib.Path.is_file`, defaulting to ``True``." msgstr "" -#: ../NEWS:7388 +#: ../NEWS:7431 msgid "" ":gh:`105570`: Deprecate two methods of creating :class:`typing.TypedDict` " "classes with 0 fields using the functional syntax: ``TD = " @@ -12982,108 +13051,108 @@ msgid "" "either use ``class TD(TypedDict): pass`` or ``TD = TypedDict(\"TD\", {})``." msgstr "" -#: ../NEWS:7394 +#: ../NEWS:7437 msgid ":gh:`105745`: Fix ``webbrowser.Konqueror.open`` method." msgstr "" -#: ../NEWS:7396 +#: ../NEWS:7439 msgid "" ":gh:`105733`: :mod:`ctypes`: Deprecate undocumented :func:`!ctypes." "SetPointerType` and :func:`!ctypes.ARRAY` functions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7400 +#: ../NEWS:7443 msgid "" ":gh:`105687`: Remove deprecated ``re.template``, ``re.T``, ``re.TEMPLATE``, " "``sre_constans.SRE_FLAG_TEMPLATE``." msgstr "" -#: ../NEWS:7403 +#: ../NEWS:7446 msgid "" ":gh:`105684`: Supporting :meth:`asyncio.Task.set_name` is now mandatory for " "third party task implementations. The undocumented :func:`!_set_task_name` " "function (deprecated since 3.8) has been removed. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:7407 +#: ../NEWS:7450 msgid "" ":gh:`105375`: Fix a bug in :c:func:`!_Unpickler_SetInputStream` where an " "exception could end up being overwritten in case of failure." msgstr "" -#: ../NEWS:7410 +#: ../NEWS:7453 msgid "" ":gh:`105626`: Change the default return value of :meth:`http.client." "HTTPConnection.get_proxy_response_headers` to be ``None`` and not ``{}``." msgstr "" -#: ../NEWS:7414 +#: ../NEWS:7457 msgid "" ":gh:`105375`: Fix bugs in :mod:`sys` where exceptions could end up being " "overwritten because of deferred error handling." msgstr "" -#: ../NEWS:7417 +#: ../NEWS:7460 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 "" -#: ../NEWS:7421 +#: ../NEWS:7464 msgid "" ":gh:`105375`: Fix bug in :mod:`decimal` where an exception could end up " "being overwritten." msgstr "" -#: ../NEWS:7424 +#: ../NEWS:7467 msgid "" ":gh:`105375`: Fix bugs in :mod:`!_datetime` where exceptions could be " "overwritten in case of module initialisation failure." msgstr "" -#: ../NEWS:7427 +#: ../NEWS:7470 msgid "" ":gh:`105375`: Fix bugs in :mod:`!_ssl` initialisation which could lead to " "leaked references and overwritten exceptions." msgstr "" -#: ../NEWS:7430 +#: ../NEWS:7473 msgid "" ":gh:`105375`: Fix a bug in :class:`array.array` where an exception could end " "up being overwritten." msgstr "" -#: ../NEWS:7433 +#: ../NEWS:7476 msgid "" ":gh:`105375`: Fix bugs in :mod:`!_ctypes` where exceptions could end up " "being overwritten." msgstr "" -#: ../NEWS:7436 +#: ../NEWS:7479 msgid "" ":gh:`105375`: Fix a bug in the :mod:`posix` module where an exception could " "be overwritten." msgstr "" -#: ../NEWS:7439 +#: ../NEWS:7482 msgid "" ":gh:`105375`: Fix bugs in :mod:`!_elementtree` where exceptions could be " "overwritten." msgstr "" -#: ../NEWS:7442 +#: ../NEWS:7485 msgid "" ":gh:`105375`: Fix bugs in :mod:`zoneinfo` where exceptions could be " "overwritten." msgstr "" -#: ../NEWS:7445 +#: ../NEWS:7488 msgid "" ":gh:`105375`: Fix bugs in :mod:`errno` where exceptions could be overwritten." msgstr "" -#: ../NEWS:7447 +#: ../NEWS:7490 msgid "" ":gh:`105566`: Deprecate creating a :class:`typing.NamedTuple` class using " "keyword arguments to denote the fields (``NT = NamedTuple(\"NT\", x=int, " @@ -13091,7 +13160,7 @@ msgid "" "syntax or the functional syntax instead." msgstr "" -#: ../NEWS:7452 +#: ../NEWS:7495 msgid "" "Two methods of creating ``NamedTuple`` classes with 0 fields using the " "functional syntax are also deprecated, and will be disallowed in Python " @@ -13100,30 +13169,30 @@ msgid "" "NT(NamedTuple): pass`` or ``NT = NamedTuple(\"NT\", [])``." msgstr "" -#: ../NEWS:7458 +#: ../NEWS:7501 msgid "" ":gh:`105545`: Remove deprecated in 3.11 ``webbrowser.MacOSXOSAScript._name`` " "attribute." msgstr "" -#: ../NEWS:7461 +#: ../NEWS:7504 msgid ":gh:`105497`: Fix flag inversion when alias/mask members exist." msgstr "" -#: ../NEWS:7463 +#: ../NEWS:7506 msgid "" ":gh:`105509`: :data:`typing.Annotated` is now implemented as an instance of " "``typing._SpecialForm`` rather than a class. This should have no user-facing " "impact for users of the :mod:`typing` module public API." msgstr "" -#: ../NEWS:7467 +#: ../NEWS:7510 msgid "" ":gh:`105375`: Fix bugs in :mod:`pickle` where exceptions could be " "overwritten." msgstr "" -#: ../NEWS:7470 +#: ../NEWS:7513 msgid "" ":gh:`70303`: Emit :exc:`FutureWarning` from :meth:`pathlib.Path.glob` and :" "meth:`~pathlib.Path.rglob` if the given pattern ends with \"``**``\". In a " @@ -13131,21 +13200,21 @@ msgid "" "directories. Add a trailing slash to only match directories." msgstr "" -#: ../NEWS:7475 +#: ../NEWS:7518 msgid "" ":gh:`105375`: Fix a bug in :mod:`sqlite3` where an exception could be " "overwritten in the :meth:`collation ` " "callback." msgstr "" -#: ../NEWS:7479 +#: ../NEWS:7522 msgid "" ":gh:`105382`: Remove *cafile*, *capath* and *cadefault* parameters of the :" "func:`urllib.request.urlopen` function, deprecated in Python 3.6. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:7483 +#: ../NEWS:7526 msgid "" ":gh:`105376`: :mod:`logging`: Remove undocumented and untested ``Logger." "warn()`` and ``LoggerAdapter.warn()`` methods and ``logging.warn()`` " @@ -13154,21 +13223,21 @@ msgid "" "method and :func:`logging.warning` function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7490 +#: ../NEWS:7533 msgid ":gh:`105332`: Revert pickling method from by-name back to by-value." msgstr "" -#: ../NEWS:7492 +#: ../NEWS:7535 msgid ":gh:`104554`: Add RTSPS scheme support in urllib.parse" msgstr "" -#: ../NEWS:7494 +#: ../NEWS:7537 msgid "" ":gh:`105292`: Add option to :func:`traceback.format_exception_only` to " "recurse into the nested exception of a :exc:`BaseExceptionGroup`." msgstr "" -#: ../NEWS:7497 +#: ../NEWS:7540 msgid "" ":gh:`105280`: Fix bug where ``isinstance([], collections.abc.Mapping)`` " "could evaluate to ``True`` if garbage collection happened at the wrong time. " @@ -13176,19 +13245,19 @@ msgid "" "Protocol` in Python 3.12." msgstr "" -#: ../NEWS:7502 +#: ../NEWS:7545 msgid "" ":gh:`80480`: :mod:`array`: Add ``'w'`` typecode that represents ``Py_UCS4``." msgstr "" -#: ../NEWS:7504 +#: ../NEWS:7547 msgid "" ":gh:`105239`: Fix longstanding bug where ``issubclass(object, typing." "Protocol)`` would evaluate to ``True`` in some edge cases. Patch by Alex " "Waygood." msgstr "" -#: ../NEWS:7508 +#: ../NEWS:7551 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 " @@ -13199,13 +13268,13 @@ msgid "" "match the new function name." msgstr "" -#: ../NEWS:7516 +#: ../NEWS:7559 msgid "" ":gh:`105080`: Fixed inconsistent signature on derived classes for :func:" "`inspect.signature`" msgstr "" -#: ../NEWS:7519 +#: ../NEWS:7562 msgid "" ":gh:`105144`: Fix a recent regression in the :mod:`typing` module. The " "regression meant that doing ``class Foo(X, typing.Protocol)``, where ``X`` " @@ -13214,7 +13283,7 @@ msgid "" "Patch by Alex Waygood." msgstr "" -#: ../NEWS:7525 +#: ../NEWS:7568 msgid "" ":gh:`62948`: The :class:`io.IOBase` finalizer now logs the ``close()`` " "method errors with :data:`sys.unraisablehook`. Previously, errors were " @@ -13223,7 +13292,7 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:7531 +#: ../NEWS:7574 msgid "" ":gh:`105096`: :mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and " "``getmarkers()`` methods of the :class:`wave.Wave_read` and :class:`wave." @@ -13231,159 +13300,159 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:7536 +#: ../NEWS:7579 msgid "" ":gh:`104992`: Remove the untested and undocumented :meth:`!unittest." "TestProgram.usageExit` method, deprecated in Python 3.11. Patch by Hugo van " "Kemenade." msgstr "" -#: ../NEWS:7540 +#: ../NEWS:7583 msgid "" ":gh:`104996`: Improve performance of :class:`pathlib.PurePath` " "initialisation by deferring joining of paths when multiple arguments are " "given." msgstr "" -#: ../NEWS:7543 +#: ../NEWS:7586 msgid "" ":gh:`101588`: Deprecate undocumented copy/deepcopy/pickle support for " "itertools." msgstr "" -#: ../NEWS:7546 +#: ../NEWS:7589 msgid "" ":gh:`103631`: Fix ``pathlib.PurePosixPath(pathlib.PureWindowsPath(...))`` " "not converting path separators to restore 3.11 compatible behavior." msgstr "" -#: ../NEWS:7549 +#: ../NEWS:7592 msgid "" ":gh:`104947`: Make comparisons between :class:`pathlib.PureWindowsPath` " "objects consistent across Windows and Posix to match 3.11 behavior." msgstr "" -#: ../NEWS:7552 +#: ../NEWS:7595 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!audioop` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7555 +#: ../NEWS:7598 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!aifc` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7558 +#: ../NEWS:7601 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!uu` module, deprecated in Python " "3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7561 +#: ../NEWS:7604 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 "" -#: ../NEWS:7565 +#: ../NEWS:7608 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!crypt` module and its private :" "mod:`!_crypt` extension, deprecated in Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7569 +#: ../NEWS:7612 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!nis` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7572 +#: ../NEWS:7615 msgid "" ":gh:`104898`: Add missing :attr:`~object.__slots__` to :class:`os.PathLike`." msgstr "" -#: ../NEWS:7574 +#: ../NEWS:7617 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!xdrlib` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7577 +#: ../NEWS:7620 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!nntplib` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7580 +#: ../NEWS:7623 msgid "" ":gh:`104886`: Remove the undocumented :class:`!configparser." "LegacyInterpolation` class, deprecated in the docstring since Python 3.2, " "and with a deprecation warning since Python 3.11. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:7585 +#: ../NEWS:7628 msgid ":gh:`104786`: Remove kwargs-based :class:`typing.TypedDict` creation" msgstr "" -#: ../NEWS:7587 +#: ../NEWS:7630 msgid "" ":gh:`104876`: Remove the :meth:`!turtle.RawTurtle.settiltangle` method, " "deprecated in docs since Python 3.1 and with a deprecation warning since " "Python 3.11. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:7591 +#: ../NEWS:7634 msgid "" ":gh:`104773`: :pep:`594`: Removed the :mod:`!msilib` package, deprecated in " "Python 3.11." msgstr "" -#: ../NEWS:7594 +#: ../NEWS:7637 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!spwd` module, deprecated in " "Python 3.11: the :pypi:`python-pam` project can be used instead. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:7598 +#: ../NEWS:7641 msgid "" ":gh:`75552`: Removed the ``tkinter.tix`` module, deprecated since Python 3.6." msgstr "" -#: ../NEWS:7600 +#: ../NEWS:7643 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!chunk` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7603 +#: ../NEWS:7646 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!mailcap` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7606 +#: ../NEWS:7649 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!sunau` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7609 +#: ../NEWS:7652 msgid "" ":gh:`104780`: :pep:`594`: Remove the :mod:`!ossaudiodev` module, deprecated " "in Python 3.11. Patch Victor Stinner." msgstr "" -#: ../NEWS:7612 +#: ../NEWS:7655 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!pipes` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7615 +#: ../NEWS:7658 msgid "" ":gh:`104873`: Add :func:`typing.get_protocol_members` to return the set of " "members defining a :class:`typing.Protocol`. Add :func:`typing.is_protocol` " @@ -13391,58 +13460,58 @@ msgid "" "Zijlstra." msgstr "" -#: ../NEWS:7620 +#: ../NEWS:7663 msgid "" ":gh:`104874`: Document the ``__name__`` and ``__supertype__`` attributes of :" "class:`typing.NewType`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:7623 +#: ../NEWS:7666 msgid "" ":gh:`104835`: Removed the following :mod:`unittest` functions, deprecated in " "Python 3.11:" msgstr "" -#: ../NEWS:7626 +#: ../NEWS:7669 msgid ":func:`!unittest.findTestCases`" msgstr "" -#: ../NEWS:7627 +#: ../NEWS:7670 msgid ":func:`!unittest.makeSuite`" msgstr "" -#: ../NEWS:7628 +#: ../NEWS:7671 msgid ":func:`!unittest.getTestCaseNames`" msgstr "" -#: ../NEWS:7630 ../NEWS:18711 +#: ../NEWS:7673 ../NEWS:18754 msgid "Use :class:`~unittest.TestLoader` methods instead:" msgstr "" -#: ../NEWS:7632 ../NEWS:18713 +#: ../NEWS:7675 ../NEWS:18756 msgid ":meth:`unittest.TestLoader.loadTestsFromModule`" msgstr "" -#: ../NEWS:7633 ../NEWS:18714 +#: ../NEWS:7676 ../NEWS:18757 msgid ":meth:`unittest.TestLoader.loadTestsFromTestCase`" msgstr "" -#: ../NEWS:7634 ../NEWS:18715 +#: ../NEWS:7677 ../NEWS:18758 msgid ":meth:`unittest.TestLoader.getTestCaseNames`" msgstr "" -#: ../NEWS:7636 ../NEWS:16566 ../NEWS:17119 ../NEWS:18014 ../NEWS:18035 -#: ../NEWS:18064 ../NEWS:18071 ../NEWS:18078 +#: ../NEWS:7679 ../NEWS:16609 ../NEWS:17162 ../NEWS:18057 ../NEWS:18078 +#: ../NEWS:18107 ../NEWS:18114 ../NEWS:18121 msgid "Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:7638 +#: ../NEWS:7681 msgid "" ":gh:`104804`: Remove the untested and undocumented :mod:`webbrowser` :class:" "`!MacOSX` class, deprecated in Python 3.11. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:7642 +#: ../NEWS:7685 msgid "" ":gh:`83863`: Support for using :class:`pathlib.Path` objects as context " "managers has been removed. Before Python 3.9, exiting the context manager " @@ -13451,7 +13520,7 @@ msgid "" "nothing." msgstr "" -#: ../NEWS:7648 +#: ../NEWS:7691 msgid "" ":gh:`104799`: Adjust the location of the (see :pep:`695`) ``type_params`` " "field on :class:`ast.ClassDef`, :class:`ast.AsyncFunctionDef`, and :class:" @@ -13459,49 +13528,49 @@ msgid "" "Zijlstra" msgstr "" -#: ../NEWS:7653 +#: ../NEWS:7696 msgid "" ":gh:`104797`: Allow :class:`typing.Protocol` classes to inherit from :class:" "`collections.abc.Buffer`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:7656 +#: ../NEWS:7699 msgid "" ":gh:`104783`: Remove ``locale.resetlocale()`` function deprecated in Python " "3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7659 +#: ../NEWS:7702 msgid "" ":gh:`104780`: Remove the ``2to3`` program and the :mod:`!lib2to3` module, " "deprecated in Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7662 +#: ../NEWS:7705 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!telnetlib` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7665 +#: ../NEWS:7708 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!imghdr` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7668 +#: ../NEWS:7711 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!cgi` and :mod:`!cgitb` modules, " "deprecated in Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7671 +#: ../NEWS:7714 msgid "" ":gh:`104773`: :pep:`594`: Remove the :mod:`!sndhdr` module, deprecated in " "Python 3.11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7674 +#: ../NEWS:7717 msgid "" ":gh:`104372`: On Linux where :mod:`subprocess` can use the ``vfork()`` " "syscall for faster spawning, prevent the parent process from blocking other " @@ -13510,14 +13579,14 @@ msgid "" "from blocking the rest of the application." msgstr "" -#: ../NEWS:7680 +#: ../NEWS:7723 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 "" -#: ../NEWS:7685 +#: ../NEWS:7728 msgid "" ":gh:`102613`: Improve performance of :meth:`pathlib.Path.glob` when " "expanding a pattern with a non-terminal \"``**``\" component by filtering " @@ -13525,109 +13594,109 @@ msgid "" "scandir` more than once on each directory." msgstr "" -#: ../NEWS:7690 +#: ../NEWS:7733 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 "" -#: ../NEWS:7695 +#: ../NEWS:7738 msgid "" ":gh:`102676`: Add fields ``start_offset``, ``cache_offset``, ``end_offset``, " "``baseopname``, ``baseopcode``, ``jump_target`` and ``oparg`` to :class:`dis." "Instruction`." msgstr "" -#: ../NEWS:7699 +#: ../NEWS:7742 msgid "" ":gh:`103558`: Fixed ``parent`` argument validation mechanism of :mod:" "`argparse`. Improved test coverage." msgstr "" -#: ../NEWS:7702 +#: ../NEWS:7745 msgid "" ":gh:`103464`: Provide helpful usage messages when parsing incorrect :mod:" "`pdb` commands." msgstr "" -#: ../NEWS:7705 +#: ../NEWS:7748 msgid "" ":gh:`103384`: Generalize the regex pattern ``BaseConfigurator." "INDEX_PATTERN`` to allow spaces and non-alphanumeric characters in keys." msgstr "" -#: ../NEWS:7708 +#: ../NEWS:7751 msgid ":gh:`103124`: Added multiline statement support for :mod:`pdb`" msgstr "" -#: ../NEWS:7710 +#: ../NEWS:7753 msgid "" ":gh:`101162`: Forbid using :func:`builtins.issubclass` with :class:`types." "GenericAlias` as the first argument." msgstr "" -#: ../NEWS:7713 +#: ../NEWS:7756 msgid "" ":gh:`103200`: Fix cache repopulation semantics of zipimport." "invalidate_caches(). The cache is now repopulated upon retrieving files with " "an invalid cache, not when the cache is invalidated." msgstr "" -#: ../NEWS:7717 +#: ../NEWS:7760 msgid "" ":gh:`100061`: Fix a bug that causes wrong matches for regular expressions " "with possessive qualifier." msgstr "" -#: ../NEWS:7720 +#: ../NEWS:7763 msgid "" ":gh:`77609`: Add *follow_symlinks* argument to :meth:`pathlib.Path.glob` " "and :meth:`~pathlib.Path.rglob`, defaulting to false." msgstr "" -#: ../NEWS:7723 +#: ../NEWS:7766 msgid "" ":gh:`102541`: Hide traceback in :func:`help` prompt, when import failed." msgstr "" -#: ../NEWS:7725 +#: ../NEWS:7768 msgid "" ":gh:`102120`: Added a stream mode to ``tarfile`` that allows for reading " "archives without caching info about the inner files." msgstr "" -#: ../NEWS:7728 +#: ../NEWS:7771 msgid "" ":gh:`102029`: Deprecate passing any arguments to :func:`threading.RLock`." msgstr "" -#: ../NEWS:7730 +#: ../NEWS:7773 msgid "" ":gh:`88233`: Refactored ``zipfile._strip_extra`` to use higher level " "abstractions for extras instead of a heavy-state loop." msgstr "" -#: ../NEWS:7733 +#: ../NEWS:7776 msgid "" ":gh:`102024`: Reduce calls of ``_idle_semaphore.release()`` in :func:" "`concurrent.futures.thread._worker`." msgstr "" -#: ../NEWS:7736 +#: ../NEWS:7779 msgid "" ":gh:`73435`: Add support for recursive wildcards in :meth:`pathlib.PurePath." "match`." msgstr "" -#: ../NEWS:7739 +#: ../NEWS:7782 msgid "" ":gh:`84867`: :class:`unittest.TestLoader` no longer loads test cases from " "exact :class:`unittest.TestCase` and :class:`unittest.FunctionTestCase` " "classes." msgstr "" -#: ../NEWS:7743 +#: ../NEWS:7786 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 " @@ -13637,53 +13706,53 @@ msgid "" "``dry_run`` mode." msgstr "" -#: ../NEWS:7750 +#: ../NEWS:7793 msgid "" ":gh:`80480`: Emit :exc:`DeprecationWarning` for :mod:`array`'s ``'u'`` type " "code, deprecated in docs since Python 3.3." msgstr "" -#: ../NEWS:7753 +#: ../NEWS:7796 msgid "" ":gh:`94924`: :func:`unittest.mock.create_autospec` now properly returns " "coroutine functions compatible with :func:`inspect.iscoroutinefunction`" msgstr "" -#: ../NEWS:7756 +#: ../NEWS:7799 msgid "" ":gh:`94777`: Fix hanging :mod:`multiprocessing` ``ProcessPoolExecutor`` when " "a child process crashes while data is being written in the call queue." msgstr "" -#: ../NEWS:7759 +#: ../NEWS:7802 msgid "" ":gh:`92871`: Remove the ``typing.io`` and ``typing.re`` namespaces, " "deprecated since Python 3.8. All items are still available from the main :" "mod:`typing` module." msgstr "" -#: ../NEWS:7763 +#: ../NEWS:7806 msgid "" ":issue:`43633`: Improve the textual representation of IPv4-mapped IPv6 " "addresses (:rfc:`4291` Sections 2.2, 2.5.5.2) in :mod:`ipaddress`. Patch by " "Oleksandr Pavliuk." msgstr "" -#: ../NEWS:7767 +#: ../NEWS:7810 msgid "" ":issue:`44850`: Improve performance of :func:`operator.methodcaller` using " "the :pep:`590` ``vectorcall`` convention. Patch by Anthony Lee and Pieter " "Eendebak." msgstr "" -#: ../NEWS:7771 +#: ../NEWS:7814 msgid "" ":issue:`44185`: :func:`unittest.mock.mock_open` will call the :func:`close` " "method of the file handle mock when it is exiting from the context manager. " "Patch by Samet Yaslan." msgstr "" -#: ../NEWS:7775 +#: ../NEWS:7818 msgid "" ":issue:`40988`: Improve performance of :class:`functools." "singledispatchmethod` by caching the generated dispatch wrapper. " @@ -13691,123 +13760,123 @@ msgid "" "Pieter Eendebak." msgstr "" -#: ../NEWS:7779 +#: ../NEWS:7822 msgid "" ":issue:`41768`: :mod:`unittest.mock` speccing no longer calls class " "properties. Patch by Melanie Witt." msgstr "" -#: ../NEWS:7782 +#: ../NEWS:7825 msgid "" ":issue:`18319`: Ensure ``gettext(msg)`` retrieve translations even if a " "plural form exists. In other words: ``gettext(msg) == ngettext(msg, '', 1)``." msgstr "" -#: ../NEWS:7785 +#: ../NEWS:7828 msgid "" ":issue:`17013`: Add ``ThreadingMock`` to :mod:`unittest.mock` that can be " "used to create Mock objects that can wait until they are called. Patch by " "Karthikeyan Singaravelan and Mario Corchero." msgstr "" -#: ../NEWS:7792 +#: ../NEWS:7835 msgid "" ":gh:`109209`: The minimum Sphinx version required for the documentation is " "now 4.2." msgstr "" -#: ../NEWS:7795 +#: ../NEWS:7838 msgid "" ":gh:`108826`: :mod:`dis` module command-line interface is now mentioned in " "documentation." msgstr "" -#: ../NEWS:7798 +#: ../NEWS:7841 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 "" -#: ../NEWS:7802 +#: ../NEWS:7845 msgid "" ":gh:`107008`: Document the :mod:`curses` module variables :const:`~curses." "LINES` and :const:`~curses.COLS`." msgstr "" -#: ../NEWS:7805 +#: ../NEWS:7848 msgid "" ":gh:`106948`: Add a number of standard external names to ``nitpick_ignore``." msgstr "" -#: ../NEWS:7807 +#: ../NEWS:7850 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 "" -#: ../NEWS:7810 +#: ../NEWS:7853 msgid "" ":gh:`105172`: Fixed :func:`functools.lru_cache` docstring accounting for " "``typed`` argument's different handling of str and int. Patch by Bar Harel." msgstr "" -#: ../NEWS:7814 +#: ../NEWS:7857 msgid "" ":gh:`105052`: Update ``timeit`` doc to specify that time in seconds is just " "the default." msgstr "" -#: ../NEWS:7817 +#: ../NEWS:7860 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 "" -#: ../NEWS:7821 +#: ../NEWS:7864 msgid "" ":gh:`89412`: Add missing documentation for the ``end_lineno`` and " "``end_offset`` attributes of the :class:`traceback.TracebackException` class." msgstr "" -#: ../NEWS:7825 +#: ../NEWS:7868 msgid "" ":gh:`104943`: Remove mentions of old Python versions in :class:`typing." "NamedTuple`." msgstr "" -#: ../NEWS:7828 +#: ../NEWS:7871 msgid "" ":gh:`54738`: Add documentation on how to localize the :mod:`argparse` module." msgstr "" -#: ../NEWS:7830 +#: ../NEWS:7873 msgid "" ":gh:`102823`: Document the return type of ``x // y`` when ``x`` and ``y`` " "have type :class:`float`." msgstr "" -#: ../NEWS:7833 +#: ../NEWS:7876 msgid "" ":gh:`102759`: Align function signature for ``functools.reduce`` in " "documentation and docstring with the C implementation." msgstr "" -#: ../NEWS:7839 +#: ../NEWS:7882 msgid "" ":gh:`110647`: Fix test_stress_modifying_handlers() of test_signal. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:7842 +#: ../NEWS:7885 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 "" -#: ../NEWS:7846 +#: ../NEWS:7889 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 " @@ -13816,15 +13885,15 @@ msgid "" "addCleanup() in such situation. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7852 +#: ../NEWS:7895 msgid ":gh:`110388`: Add tests for :mod:`tty`." msgstr "" -#: ../NEWS:7854 +#: ../NEWS:7897 msgid ":gh:`81002`: Add tests for :mod:`termios`." msgstr "" -#: ../NEWS:7856 +#: ../NEWS:7899 msgid "" ":gh:`110367`: regrtest: When using worker processes (-jN) with --verbose3 " "option, regrtest can now display the worker output even if a worker process " @@ -13832,20 +13901,20 @@ msgid "" "worker output was lost on a crash. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7861 +#: ../NEWS:7904 msgid "" ":gh:`110267`: Add tests for pickling and copying PyStructSequence objects. " "Patched by Xuehai Pan." msgstr "" -#: ../NEWS:7864 +#: ../NEWS:7907 msgid "" ":gh:`110171`: ``libregrtest`` now always sets and shows ``random.seed``, so " "tests are more reproducible. Use ``--randseed`` flag to pass the explicit " "random seed for tests." msgstr "" -#: ../NEWS:7868 +#: ../NEWS:7911 msgid "" ":gh:`110152`: Remove ``Tools/scripts/run_tests.py`` and ``make " "hostrunnertest``. Just run ``./python -m test --slow-ci``, ``make " @@ -13855,13 +13924,13 @@ msgid "" "option is used. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7875 +#: ../NEWS:7918 msgid "" ":gh:`110031`: Skip test_threading tests using thread+fork if Python is built " "with Address Sanitizer (ASAN). Patch by Victor Stinner." msgstr "" -#: ../NEWS:7878 +#: ../NEWS:7921 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 " @@ -13869,14 +13938,14 @@ msgid "" "``test_asyncio.utils``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7883 +#: ../NEWS:7926 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 "" -#: ../NEWS:7887 +#: ../NEWS:7930 msgid "" ":gh:`110033`: Fix ``test_interprocess_signal()`` of ``test_signal``. Make " "sure that the ``subprocess.Popen`` object is deleted before the test raising " @@ -13885,7 +13954,7 @@ msgid "" "fails. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7893 +#: ../NEWS:7936 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 " @@ -13893,41 +13962,41 @@ msgid "" "before wait() timeout. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7898 +#: ../NEWS:7941 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 "" -#: ../NEWS:7901 +#: ../NEWS:7944 msgid "" ":gh:`109566`: regrtest: When ``--fast-ci`` or ``--slow-ci`` option is used, " "regrtest now replaces the current process with a new process to add ``-u -W " "default -bb -E`` options to Python. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7905 +#: ../NEWS:7948 msgid "" ":gh:`109748`: Fix ``test_zippath_from_non_installed_posix()`` of test_venv: " "don't copy ``__pycache__/`` sub-directories, because they can be modified by " "other Python tests running in parallel. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7909 +#: ../NEWS:7952 msgid "" ":gh:`109739`: regrtest: Fix reference leak check on Windows. Disable the " "load tracker on Windows in the reference leak check mode (-R option). Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:7913 +#: ../NEWS:7956 msgid "" ":gh:`109276`: regrtest: When a test fails with \"env changed\" and the --" "rerun option is used, the test is now re-run in verbose mode in a fresh " "process. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7917 +#: ../NEWS:7960 msgid "" ":gh:`103053`: Skip test_freeze_simple_script() of test_tools.test_freeze if " "Python is built with ``./configure --enable-optimizations``, which means " @@ -13936,14 +14005,14 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:7923 +#: ../NEWS:7966 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 "" -#: ../NEWS:7927 +#: ../NEWS:7970 msgid "" ":gh:`109566`: regrtest: Add ``--fast-ci`` and ``--slow-ci`` options. ``--" "fast-ci`` uses a default timeout of 10 minutes and ``-u all,-cpu`` (skip " @@ -13951,21 +14020,21 @@ msgid "" "all`` (run all tests). Patch by Victor Stinner." msgstr "" -#: ../NEWS:7932 +#: ../NEWS:7975 msgid "" ":gh:`109425`: libregrtest now decodes stdout of test worker processes with " "the \"backslashreplace\" error handler to log corrupted stdout, instead of " "failing with an error and not logging the stdout. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7936 +#: ../NEWS:7979 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 "" -#: ../NEWS:7940 +#: ../NEWS:7983 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 " @@ -13974,7 +14043,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:7946 +#: ../NEWS:7989 msgid "" ":gh:`109276`: libregrtest now calls :func:`random.seed` before running each " "test file when ``-r/--randomize`` command line option is used. Moreover, " @@ -13984,18 +14053,18 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:7953 +#: ../NEWS:7996 msgid "" ":gh:`109276`: libregrtest now uses a separated file descriptor to write test " "result as JSON. Previously, if a test wrote debug messages late around the " "JSON, the main test process failed to parse JSON. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7957 +#: ../NEWS:8000 msgid ":gh:`108996`: Fix and enable ``test_msvcrt``." msgstr "" -#: ../NEWS:7959 +#: ../NEWS:8002 msgid "" ":gh:`109237`: Fix ``test_site.test_underpth_basic()`` when the working " "directory contains at least one non-ASCII character: encode the ``._pth`` " @@ -14003,7 +14072,7 @@ msgid "" "stdout. Patch by Victor Stinner." msgstr "" -#: ../NEWS:7964 +#: ../NEWS:8007 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 " @@ -14012,11 +14081,11 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:7970 +#: ../NEWS:8013 msgid ":gh:`108996`: Add tests for ``msvcrt``." msgstr "" -#: ../NEWS:7972 +#: ../NEWS:8015 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``). " @@ -14027,7 +14096,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:7980 +#: ../NEWS:8023 msgid "" ":gh:`91960`: Skip ``test_gdb`` if gdb is unable to retrieve Python frame " "objects: if a frame is ````. When Python is built with " @@ -14039,41 +14108,41 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:7989 +#: ../NEWS:8032 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 "" -#: ../NEWS:7993 +#: ../NEWS:8036 msgid "" ":gh:`91960`: FreeBSD 13.2 CI coverage for pull requests is now provided by " "Cirrus-CI (a hosted CI service that supports Linux, macOS, Windows, and " "FreeBSD)." msgstr "" -#: ../NEWS:7997 +#: ../NEWS:8040 msgid "" ":gh:`89392`: Removed support of ``test_main()`` function in tests. They now " "always use normal unittest test runner." msgstr "" -#: ../NEWS:8000 +#: ../NEWS:8043 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 "" -#: ../NEWS:8004 +#: ../NEWS:8047 msgid "" ":gh:`108851`: Add ``get_recursion_available()`` and " "``get_recursion_depth()`` functions to the :mod:`test.support` module. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:8007 +#: ../NEWS:8050 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 " @@ -14081,13 +14150,13 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:8012 +#: ../NEWS:8055 msgid "" ":gh:`108834`: Rename regrtest ``--verbose2`` option (``-w``) to ``--rerun``. " "Keep ``--verbose2`` as a deprecated alias. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8015 +#: ../NEWS:8058 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 " @@ -14097,7 +14166,7 @@ msgid "" "parallel. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8022 +#: ../NEWS:8065 msgid "" ":gh:`108822`: ``regrtest`` now computes statistics on all tests: successes, " "failures and skipped. ``test_netrc``, ``test_pep646_syntax`` and " @@ -14105,20 +14174,20 @@ msgid "" "Patch by Victor Stinner and Alex Waygood." msgstr "" -#: ../NEWS:8027 +#: ../NEWS:8070 msgid "" ":gh:`108794`: The :meth:`doctest.DocTestRunner.run` method now counts the " "number of skipped tests. Add :attr:`doctest.DocTestRunner.skips` and :attr:" "`doctest.TestResults.skipped` attributes. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8031 +#: ../NEWS:8074 msgid "" ":gh:`108388`: Convert test_concurrent_futures to a package of 7 sub-tests. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8034 +#: ../NEWS:8077 msgid "" ":gh:`108388`: Split test_multiprocessing_fork, " "test_multiprocessing_forkserver and test_multiprocessing_spawn into test " @@ -14127,121 +14196,121 @@ msgid "" "test duration. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8040 +#: ../NEWS:8083 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 "" -#: ../NEWS:8044 +#: ../NEWS:8087 msgid "" ":gh:`107652`: Set up CIFuzz to run fuzz targets in GitHub Actions. Patch by " "Illia Volochii." msgstr "" -#: ../NEWS:8047 +#: ../NEWS:8090 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 "" -#: ../NEWS:8051 +#: ../NEWS:8094 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 "" -#: ../NEWS:8054 +#: ../NEWS:8097 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 "" -#: ../NEWS:8058 +#: ../NEWS:8101 msgid "" ":gh:`104090`: Avoid creating a reference to the test object in :meth:" "`~unittest.TestResult.collectedDurations`." msgstr "" -#: ../NEWS:8061 +#: ../NEWS:8104 msgid "" ":gh:`106752`: Moved tests for ``zipfile.Path`` into ``Lib/test/test_zipfile/" "_path``. Made ``zipfile._path`` a package." msgstr "" -#: ../NEWS:8064 +#: ../NEWS:8107 msgid "" ":gh:`106690`: Add .coveragerc to cpython repository for use with coverage " "package." msgstr "" -#: ../NEWS:8067 +#: ../NEWS:8110 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 "" -#: ../NEWS:8071 +#: ../NEWS:8114 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 "" -#: ../NEWS:8075 +#: ../NEWS:8118 msgid "" ":gh:`81005`: String tests are modified to reflect that ``str`` and " "``unicode`` are merged in Python 3. Patch by Daniel Fortunov." msgstr "" -#: ../NEWS:8078 +#: ../NEWS:8121 msgid "" ":gh:`103186`: Suppress and assert expected RuntimeWarnings in " "test_sys_settrace.py" msgstr "" -#: ../NEWS:8081 +#: ../NEWS:8124 msgid "" ":gh:`69714`: Add additional tests to :mod:`calendar` to achieve full test " "coverage." msgstr "" -#: ../NEWS:8087 +#: ../NEWS:8130 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 "" -#: ../NEWS:8091 +#: ../NEWS:8134 msgid "" ":gh:`109191`: Fix compile error when building with recent versions of " "libedit." msgstr "" -#: ../NEWS:8094 +#: ../NEWS:8137 msgid "" ":gh:`110276`: No longer ignore :envvar:`PROFILE_TASK` failure silently: " "command used by Profile Guided Optimization (PGO). Patch by Victor Stinner." msgstr "" -#: ../NEWS:8098 +#: ../NEWS:8141 msgid "" ":gh:`109566`: Remove ``make testall`` target: use ``make buildbottest`` " "instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8101 +#: ../NEWS:8144 msgid "" ":gh:`109740`: The experimental ``--disable-gil`` configure flag now includes " "\"t\" (for \"threaded\") in extension ABI tags." msgstr "" -#: ../NEWS:8104 +#: ../NEWS:8147 msgid "" ":gh:`109054`: Fix building the ``_testcapi`` extension on Linux AArch64 " "which requires linking to libatomic when ```` is used: " @@ -14251,14 +14320,14 @@ msgid "" "used to build the _testcapi extension. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8111 +#: ../NEWS:8154 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 "" -#: ../NEWS:8115 +#: ../NEWS:8158 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 " @@ -14267,89 +14336,89 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:8121 +#: ../NEWS:8164 msgid "" ":gh:`108634`: Python built with :file:`configure` :option:`--with-trace-" "refs` (tracing references) is now ABI compatible with Python release build " "and :ref:`debug build `. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8125 +#: ../NEWS:8168 msgid "" ":gh:`85283`: The ``_stat`` C extension is now built with the :ref:`limited C " "API `. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8128 +#: ../NEWS:8171 msgid ":gh:`108447`: Fix x86_64 GNU/Hurd build" msgstr "" -#: ../NEWS:8130 +#: ../NEWS:8173 msgid "" ":gh:`107814`: When calling ``find_python.bat`` with ``-q`` it did not " "properly silence the output of nuget. That is now fixed." msgstr "" -#: ../NEWS:8133 +#: ../NEWS:8176 msgid "" ":gh:`105481`: Remove the make target ``regen-opcode-targets``, merge its " "work into ``regen-opcode`` which repeats most of the calculation. This " "simplifies the code for the build and reduces code duplication." msgstr "" -#: ../NEWS:8137 +#: ../NEWS:8180 msgid "" ":gh:`106881`: Check for ``linux/limits.h`` before including it in ``Modules/" "posixmodule.c``." msgstr "" -#: ../NEWS:8140 +#: ../NEWS:8183 msgid "" ":gh:`95855`: Refactor platform triplet detection code and add detection for " "MIPS soft float and musl libc." msgstr "" -#: ../NEWS:8143 +#: ../NEWS:8186 msgid ":gh:`106962`: Detect MPI compilers in :file:`configure`." msgstr "" -#: ../NEWS:8145 +#: ../NEWS:8188 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 "" -#: ../NEWS:8149 +#: ../NEWS:8192 msgid "" ":gh:`105875`: SQLite 3.15.2 or newer is required to build the :mod:`sqlite3` " "extension module. Patch by Erlend Aasland." msgstr "" -#: ../NEWS:8152 +#: ../NEWS:8195 msgid "" ":gh:`90005`: Fix a regression in :file:`configure` where we could end up " "unintentionally linking with ``libbsd``." msgstr "" -#: ../NEWS:8155 +#: ../NEWS:8198 msgid "" ":gh:`102404`: Document how to perform a WASI build on Linux. Also add Tools/" "wasm/build_wasi.sh as a reference implementation of the docs." msgstr "" -#: ../NEWS:8158 +#: ../NEWS:8201 msgid "" ":gh:`89886`: Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate :" "file:`!configure`." msgstr "" -#: ../NEWS:8161 +#: ../NEWS:8204 msgid "" ":gh:`104692`: Include ``commoninstall`` as a prerequisite for ``bininstall``" msgstr "" -#: ../NEWS:8163 +#: ../NEWS:8206 msgid "" "This ensures that ``commoninstall`` is completed before ``bininstall`` is " "started when parallel builds are used (``make -j install``), and so the " @@ -14357,33 +14426,33 @@ msgid "" "installed." msgstr "" -#: ../NEWS:8168 +#: ../NEWS:8211 msgid "" ":gh:`101538`: Add experimental wasi-threads support. Patch by Takashi " "Yamamoto." msgstr "" -#: ../NEWS:8174 +#: ../NEWS:8217 msgid "" ":gh:`110437`: Allows overriding the source of VC redistributables so that " "releases can be guaranteed to never downgrade between updates." msgstr "" -#: ../NEWS:8177 +#: ../NEWS:8220 msgid ":gh:`109286`: Update Windows installer to use SQLite 3.43.1." msgstr "" -#: ../NEWS:8179 +#: ../NEWS:8222 msgid "" ":gh:`82367`: :func:`os.path.realpath` now resolves MS-DOS style file names " "even if the file is not accessible. Patch by Moonsik Park." msgstr "" -#: ../NEWS:8182 +#: ../NEWS:8225 msgid ":gh:`109991`: Update Windows build to use OpenSSL 3.0.11." msgstr "" -#: ../NEWS:8184 +#: ../NEWS:8227 msgid "" ":gh:`106242`: Fixes :func:`~os.path.realpath` to behave consistently when " "passed a path containing an embedded null character on Windows. In strict " @@ -14391,32 +14460,32 @@ msgid "" "`ValueError`, and in non-strict mode will make the path absolute." msgstr "" -#: ../NEWS:8189 +#: ../NEWS:8232 msgid "" ":gh:`83180`: Changes the :ref:`launcher` to prefer an active virtual " "environment when the launched script has a shebang line using a Unix-like " "virtual command, even if the command requests a specific version of Python." msgstr "" -#: ../NEWS:8194 +#: ../NEWS:8237 msgid "" ":gh:`106844`: Fix integer overflow and truncating by the null character in :" "func:`!_winapi.LCMapStringEx` which affects :func:`ntpath.normcase`." msgstr "" -#: ../NEWS:8197 +#: ../NEWS:8240 msgid "" ":gh:`105436`: Ensure that an empty environment block is terminated by two " "null characters, as is required by Windows." msgstr "" -#: ../NEWS:8200 +#: ../NEWS:8243 msgid "" ":gh:`105146`: Updated the links at the end of the installer to point to " "Discourse rather than the mailing lists." msgstr "" -#: ../NEWS:8203 +#: ../NEWS:8246 msgid "" ":gh:`103646`: When installed from the Microsoft Store, ``pip`` no longer " "defaults to per-user installs. However, as the install directory is " @@ -14425,7 +14494,7 @@ msgid "" "with ``--user``." msgstr "" -#: ../NEWS:8209 +#: ../NEWS:8252 msgid "" ":gh:`88745`: Improve performance of :func:`shutil.copy2` by using the " "operating system's ``CopyFile2`` function. This may result in subtle changes " @@ -14433,44 +14502,44 @@ msgid "" "OS behavior." msgstr "" -#: ../NEWS:8214 +#: ../NEWS:8257 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 "" -#: ../NEWS:8217 +#: ../NEWS:8260 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 "" -#: ../NEWS:8224 +#: ../NEWS:8267 msgid ":gh:`109286`: Update macOS installer to use SQLite 3.43.1." msgstr "" -#: ../NEWS:8226 +#: ../NEWS:8269 msgid ":gh:`109991`: Update macOS installer to use OpenSSL 3.0.11." msgstr "" -#: ../NEWS:8228 +#: ../NEWS:8271 msgid ":gh:`99079`: Update macOS installer to use OpenSSL 3.0.9." msgstr "" -#: ../NEWS:8233 +#: ../NEWS:8276 msgid "" ":gh:`104719`: Remove IDLE's modification of tokenize.tabsize and test other " "uses of tokenize data and methods." msgstr "" -#: ../NEWS:8239 +#: ../NEWS:8282 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 "" -#: ../NEWS:8242 +#: ../NEWS:8285 msgid "" ":gh:`108494`: `Argument Clinic `__ now has a partial support of the :ref:`Limited API " @@ -14479,7 +14548,7 @@ msgid "" "capi>`__ Patch by Victor Stinner." msgstr "" -#: ../NEWS:8249 +#: ../NEWS:8292 msgid "" ":gh:`107704`: It is now possible to deprecate passing keyword arguments for " "keyword-or-positional parameters with Argument Clinic, using the new ``/ " @@ -14489,17 +14558,17 @@ msgid "" "more information." msgstr "" -#: ../NEWS:8256 +#: ../NEWS:8299 msgid "" ":gh:`107880`: Argument Clinic can now clone :meth:`!__init__` and :meth:`!" "__new__` methods." msgstr "" -#: ../NEWS:8259 +#: ../NEWS:8302 msgid ":gh:`104683`: Add ``--exclude`` option to Argument Clinic CLI." msgstr "" -#: ../NEWS:8261 +#: ../NEWS:8304 msgid "" ":gh:`95065`: Argument Clinic now supports overriding automatically generated " "signature by using directive ``@text_signature``. See `documentation in the " @@ -14507,20 +14576,20 @@ msgid "" "clinic/#clinic-howto-override-signature>`__" msgstr "" -#: ../NEWS:8266 +#: ../NEWS:8309 msgid "" ":gh:`107609`: Fix duplicate module check in Argument Clinic. Previously, a " "duplicate definition would incorrectly be silently accepted. Patch by Erlend " "E. Aasland." msgstr "" -#: ../NEWS:8270 +#: ../NEWS:8313 msgid "" ":gh:`107467`: The Argument Clinic command-line tool now prints to stderr " "instead of stdout on failure." msgstr "" -#: ../NEWS:8273 +#: ../NEWS:8316 msgid "" ":gh:`106970`: Fix bugs in the Argument Clinic ``destination clear`` " "command; the destination buffers would never be cleared, and the " @@ -14528,26 +14597,26 @@ msgid "" "after processing the command. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:8278 +#: ../NEWS:8321 msgid "" ":gh:`106706`: Change bytecode syntax for families to remove redundant name " "matching pseudo syntax." msgstr "" -#: ../NEWS:8281 +#: ../NEWS:8324 msgid "" ":gh:`106359`: Argument Clinic now explicitly forbids \"kwarg splats\" in " "function calls used as annotations." msgstr "" -#: ../NEWS:8284 +#: ../NEWS:8327 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 "" -#: ../NEWS:8288 +#: ../NEWS:8331 msgid "" ":gh:`95065`: It is now possible to deprecate passing parameters positionally " "with Argument Clinic, using the new ``* [from X.Y]`` syntax. (To be read as " @@ -14558,7 +14627,7 @@ msgid "" "Storchaka." msgstr "" -#: ../NEWS:8299 +#: ../NEWS:8342 msgid "" ":gh:`85283`: If the :c:macro:`Py_LIMITED_API` macro is defined, :c:macro:`!" "Py_BUILD_CORE`, :c:macro:`!Py_BUILD_CORE_BUILTIN` and :c:macro:`!" @@ -14566,25 +14635,25 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:8304 +#: ../NEWS:8347 msgid "" ":gh:`110289`: Add :c:func:`PyUnicode_EqualToUTF8AndSize` and :c:func:" "`PyUnicode_EqualToUTF8` functions." msgstr "" -#: ../NEWS:8307 +#: ../NEWS:8350 msgid "" ":gh:`110235`: Raise :exc:`TypeError` for duplicate/unknown fields in " "``PyStructSequence`` constructor. Patched by Xuehai Pan." msgstr "" -#: ../NEWS:8310 +#: ../NEWS:8353 msgid "" ":gh:`110014`: Remove undocumented ``PY_TIMEOUT_MAX`` constant from the " "limited C API. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8313 +#: ../NEWS:8356 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 " @@ -14593,19 +14662,19 @@ msgid "" "attributes have wrong type." msgstr "" -#: ../NEWS:8319 +#: ../NEWS:8362 msgid "" ":gh:`108724`: Add :c:type:`PyMutex` internal-only lightweight locking API." msgstr "" -#: ../NEWS:8321 +#: ../NEWS:8364 msgid "" ":gh:`85283`: Add :c:func:`PySys_AuditTuple` function: similar to :c:func:" "`PySys_Audit`, but pass event arguments as a Python :class:`tuple` object. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8325 +#: ../NEWS:8368 msgid "" ":gh:`108867`: Add :c:func:`PyThreadState_GetUnchecked()` function: similar " "to :c:func:`PyThreadState_Get()`, but don't kill the process with a fatal " @@ -14614,7 +14683,7 @@ msgid "" "``_PyThreadState_UncheckedGet()``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8331 +#: ../NEWS:8374 msgid "" ":gh:`108765`: ``Python.h`` no longer includes the ```` standard " "header file. If needed, it should now be included explicitly. For example, " @@ -14623,7 +14692,7 @@ msgid "" "Py_ISALPHA` and :c:func:`!Py_TOLOWER`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8337 +#: ../NEWS:8380 msgid "" ":gh:`108765`: ``Python.h`` no longer includes the ```` standard " "header file. If needed, it should now be included explicitly. For example, " @@ -14631,7 +14700,7 @@ msgid "" "``sysconf()``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8342 +#: ../NEWS:8385 msgid "" ":gh:`108765`: ``Python.h`` no longer includes the ```` standard " "header. It was included for the ``finite()`` function which is now provided " @@ -14639,7 +14708,7 @@ msgid "" "Remove also the ``HAVE_IEEEFP_H`` macro. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8348 +#: ../NEWS:8391 msgid "" ":gh:`108765`: ``Python.h`` no longer includes these standard header files: " "````, ```` and ````. If needed, they " @@ -14649,14 +14718,14 @@ msgid "" "``gettimeofday()`` and ``setitimer()`` functions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8355 +#: ../NEWS:8398 msgid "" ":gh:`108511`: Add functions :c:func:`PyObject_HasAttrWithError`, :c:func:" "`PyObject_HasAttrStringWithError`, :c:func:`PyMapping_HasKeyWithError` and :" "c:func:`PyMapping_HasKeyStringWithError`." msgstr "" -#: ../NEWS:8360 +#: ../NEWS:8403 msgid "" ":gh:`107073`: Add :c:func:`PyObject_VisitManagedDict` and :c:func:" "`PyObject_ClearManagedDict` functions which must be called by the traverse " @@ -14664,14 +14733,14 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8365 +#: ../NEWS:8408 msgid "" ":gh:`108634`: Python built with :file:`configure` :option:`--with-trace-" "refs` (tracing references) now supports the :ref:`Limited API `. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8369 +#: ../NEWS:8412 msgid "" ":gh:`108014`: Add :c:func:`PyLong_AsInt` function: similar to :c:func:" "`PyLong_AsLong`, but store the result in a C :c:expr:`int` instead of a C :c:" @@ -14679,7 +14748,7 @@ msgid "" "_PyLong_AsInt` (with an underscore prefix). Patch by Victor Stinner." msgstr "" -#: ../NEWS:8375 +#: ../NEWS:8418 msgid "" ":gh:`108314`: Add :c:func:`PyDict_ContainsString` function: same as :c:func:" "`PyDict_Contains`, but *key* is specified as a :c:expr:`const char*` UTF-8 " @@ -14687,19 +14756,19 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:8380 +#: ../NEWS:8423 msgid "" ":gh:`108337`: Add atomic operations on additional data types in pyatomic.h." msgstr "" -#: ../NEWS:8382 +#: ../NEWS:8425 msgid "" ":gh:`108014`: Add :c:func:`Py_IsFinalizing` function: check if the main " "Python interpreter is :term:`shutting down `. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:8386 +#: ../NEWS:8429 msgid "" ":gh:`107916`: C API functions :c:func:`PyErr_SetFromErrnoWithFilename`, :c:" "func:`PyErr_SetExcFromWindowsErrWithFilename` and :c:func:" @@ -14707,7 +14776,7 @@ msgid "" "calling :c:func:`PyUnicode_DecodeFSDefault`." msgstr "" -#: ../NEWS:8391 +#: ../NEWS:8434 msgid "" ":gh:`107915`: Such C API functions as ``PyErr_SetString()``, " "``PyErr_Format()``, ``PyErr_SetFromErrnoWithFilename()`` and many others no " @@ -14715,25 +14784,25 @@ msgid "" "decode the filename. Instead, they keep a corresponding error." msgstr "" -#: ../NEWS:8396 +#: ../NEWS:8439 msgid "" ":gh:`107810`: Improve :exc:`DeprecationWarning` for uses of :c:type:" "`PyType_Spec` with metaclasses that have custom ``tp_new``." msgstr "" -#: ../NEWS:8399 +#: ../NEWS:8442 msgid "" ":gh:`107249`: Implement the :c:macro:`Py_UNUSED` macro for Windows MSVC " "compiler. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8402 +#: ../NEWS:8445 msgid "" ":gh:`107226`: :c:func:`PyModule_AddObjectRef` is now only available in the " "limited API version 3.10 or later." msgstr "" -#: ../NEWS:8405 +#: ../NEWS:8448 msgid "" ":gh:`106320`: Remove private ``_PyUnicode_AsString()`` alias to :c:func:" "`PyUnicode_AsUTF8`. It was kept for backward compatibility with Python 3.0 - " @@ -14742,43 +14811,43 @@ msgid "" "with Python 3.2 and older. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8411 +#: ../NEWS:8454 msgid "" ":gh:`106572`: Convert :c:func:`PyObject_DelAttr` and :c:func:" "`PyObject_DelAttrString` macros to functions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8415 +#: ../NEWS:8458 msgid ":gh:`106307`: Add :c:func:`PyMapping_GetOptionalItem` function." msgstr "" -#: ../NEWS:8417 +#: ../NEWS:8460 msgid "" ":gh:`106521`: Add :c:func:`PyObject_GetOptionalAttr` and :c:func:" "`PyObject_GetOptionalAttrString` functions." msgstr "" -#: ../NEWS:8420 +#: ../NEWS:8463 msgid "" ":gh:`106320`: Remove ``_PyInterpreterState_Get()`` alias to :c:func:" "`PyInterpreterState_Get()` which was kept for backward compatibility with " "Python 3.8. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8424 +#: ../NEWS:8467 msgid "" ":gh:`106316`: Remove ``cpython/pytime.h`` header file: it only contained " "private functions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8427 +#: ../NEWS:8470 msgid "" ":gh:`106023`: Remove private ``_PyObject_FastCall()`` function: use " "``PyObject_Vectorcall()`` which is available since Python 3.8 (:pep:`590`). " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8431 +#: ../NEWS:8474 msgid "" ":gh:`106168`: If Python is built in :ref:`debug mode ` or :" "option:`with assertions <--with-assertions>`, :c:func:`PyTuple_SET_ITEM` " @@ -14787,47 +14856,47 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8437 +#: ../NEWS:8480 msgid "" ":gh:`106084`: Remove the old aliases to functions calling functions which " "were kept for backward compatibility with Python 3.8 provisional API:" msgstr "" -#: ../NEWS:8440 +#: ../NEWS:8483 msgid "``_PyObject_CallMethodNoArgs()``: use ``PyObject_CallMethodNoArgs()``" msgstr "" -#: ../NEWS:8441 +#: ../NEWS:8484 msgid "``_PyObject_CallMethodOneArg()``: use ``PyObject_CallMethodOneArg()``" msgstr "" -#: ../NEWS:8442 +#: ../NEWS:8485 msgid "``_PyObject_CallOneArg()``: use ``PyObject_CallOneArg()``" msgstr "" -#: ../NEWS:8443 +#: ../NEWS:8486 msgid "``_PyObject_FastCallDict()``: use ``PyObject_VectorcallDict()``" msgstr "" -#: ../NEWS:8444 +#: ../NEWS:8487 msgid "``_PyObject_Vectorcall()``: use ``PyObject_Vectorcall()``" msgstr "" -#: ../NEWS:8445 +#: ../NEWS:8488 msgid "``_PyObject_VectorcallMethod()``: use ``PyObject_VectorcallMethod()``" msgstr "" -#: ../NEWS:8446 +#: ../NEWS:8489 msgid "``_PyVectorcall_Function()``: use ``PyVectorcall_Function()``" msgstr "" -#: ../NEWS:8448 +#: ../NEWS:8491 msgid "" "Just remove the underscore prefix to update your code. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:8451 +#: ../NEWS:8494 msgid "" ":gh:`106004`: Adds :c:func:`PyDict_GetItemRef` and :c:func:" "`PyDict_GetItemStringRef` functions: similar to :c:func:" @@ -14835,28 +14904,28 @@ msgid "" "of a :term:`borrowed reference`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8456 +#: ../NEWS:8499 msgid "" ":gh:`105927`: Deprecate the :c:func:`PyWeakref_GetObject` and :c:func:" "`PyWeakref_GET_OBJECT` functions: use the new :c:func:`PyWeakref_GetRef` " "function instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8460 +#: ../NEWS:8503 msgid "" ":gh:`105927`: Add :c:func:`PyWeakref_GetRef` function: similar to :c:func:" "`PyWeakref_GetObject` but returns a :term:`strong reference`, or ``NULL`` if " "the referent is no longer live. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8464 +#: ../NEWS:8507 msgid "" ":gh:`105922`: Add :c:func:`PyImport_AddModuleRef`: similar to :c:func:" "`PyImport_AddModule`, but return a :term:`strong reference` instead of a :" "term:`borrowed reference`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8468 +#: ../NEWS:8511 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 " @@ -14865,13 +14934,13 @@ msgid "" "PyType_GetDict()` provides the correct dict object instead." msgstr "" -#: ../NEWS:8474 +#: ../NEWS:8517 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 "" -#: ../NEWS:8477 +#: ../NEWS:8520 msgid "" ":gh:`105603`: We've renamed the new (in 3.12) ``PyInterpreterConfig." "own_gil`` to ``PyInterpreterConfig.gil`` and changed the meaning of the " @@ -14880,79 +14949,79 @@ msgid "" "``PyInterpreterConfig_OWN_GIL``. The default is \"shared\"." msgstr "" -#: ../NEWS:8483 +#: ../NEWS:8526 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 "" -#: ../NEWS:8487 +#: ../NEWS:8530 msgid "" ":gh:`105396`: Deprecate the :c:func:`PyImport_ImportModuleNoBlock` function " "which is just an alias to :c:func:`PyImport_ImportModule` since Python 3.3. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:8491 +#: ../NEWS:8534 msgid "" ":gh:`103968`: :c:func:`PyType_FromMetaclass` now allows metaclasses with " "``tp_new`` set to ``NULL``." msgstr "" -#: ../NEWS:8494 +#: ../NEWS:8537 msgid "" ":gh:`105268`: Remove the old private, undocumented and untested " "``_PyGC_FINALIZED()`` macro which was kept for backward compatibility with " "Python 3.8 and older. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8498 +#: ../NEWS:8541 msgid "" ":gh:`105182`: Remove ``PyEval_AcquireLock()`` and ``PyEval_ReleaseLock()`` " "functions, deprecated in Python 3.2. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8501 +#: ../NEWS:8544 msgid "" ":gh:`105182`: Remove ``PyEval_InitThreads()`` and " "``PyEval_ThreadsInitialized()`` functions, deprecated in Python 3.9. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:8505 +#: ../NEWS:8548 msgid ":gh:`105145`: Deprecate old Python initialization functions:" msgstr "" -#: ../NEWS:8507 +#: ../NEWS:8550 msgid ":c:func:`PySys_ResetWarnOptions`" msgstr ":c:func:`PySys_ResetWarnOptions`" -#: ../NEWS:8508 +#: ../NEWS:8551 msgid ":c:func:`Py_GetExecPrefix`" msgstr "" -#: ../NEWS:8509 +#: ../NEWS:8552 msgid ":c:func:`Py_GetPath`" msgstr "" -#: ../NEWS:8510 +#: ../NEWS:8553 msgid ":c:func:`Py_GetPrefix`" msgstr "" -#: ../NEWS:8511 +#: ../NEWS:8554 msgid ":c:func:`Py_GetProgramFullPath`" msgstr "" -#: ../NEWS:8512 +#: ../NEWS:8555 msgid ":c:func:`Py_GetProgramName`" msgstr "" -#: ../NEWS:8513 +#: ../NEWS:8556 msgid ":c:func:`Py_GetPythonHome`" msgstr "" -#: ../NEWS:8517 +#: ../NEWS:8560 msgid "" ":gh:`85275`: ``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, " "``PyObject_CheckReadBuffer()``, and ``PyObject_AsWriteBuffer()`` are " @@ -14960,7 +15029,7 @@ msgid "" "and :c:func:`PyBuffer_Release`." msgstr "" -#: ../NEWS:8522 +#: ../NEWS:8565 msgid "" ":gh:`105156`: Deprecate the old ``Py_UNICODE`` and ``PY_UNICODE_TYPE`` " "types: use directly the :c:type:`wchar_t` type instead. Since Python 3.3, " @@ -14968,84 +15037,84 @@ msgid "" "`wchar_t`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:8527 +#: ../NEWS:8570 msgid "" ":gh:`105145`: Remove the following old functions to configure the Python " "initialization, deprecated in Python 3.11:" msgstr "" -#: ../NEWS:8530 +#: ../NEWS:8573 msgid "``PySys_AddWarnOptionUnicode()``" msgstr "" -#: ../NEWS:8531 +#: ../NEWS:8574 msgid "``PySys_AddWarnOption()``" msgstr "" -#: ../NEWS:8532 +#: ../NEWS:8575 msgid "``PySys_AddXOption()``" msgstr "" -#: ../NEWS:8533 +#: ../NEWS:8576 msgid "``PySys_HasWarnOptions()``" msgstr "" -#: ../NEWS:8534 +#: ../NEWS:8577 msgid "``PySys_SetArgvEx()``" msgstr "" -#: ../NEWS:8535 +#: ../NEWS:8578 msgid "``PySys_SetArgv()``" msgstr "" -#: ../NEWS:8536 +#: ../NEWS:8579 msgid "``PySys_SetPath()``" msgstr "" -#: ../NEWS:8537 +#: ../NEWS:8580 msgid "``Py_SetPath()``" msgstr "" -#: ../NEWS:8538 +#: ../NEWS:8581 msgid "``Py_SetProgramName()``" msgstr "" -#: ../NEWS:8539 +#: ../NEWS:8582 msgid "``Py_SetPythonHome()``" msgstr "" -#: ../NEWS:8540 +#: ../NEWS:8583 msgid "``Py_SetStandardStreamEncoding()``" msgstr "" -#: ../NEWS:8541 +#: ../NEWS:8584 msgid "``_Py_SetProgramFullPath()``" msgstr "" -#: ../NEWS:8545 +#: ../NEWS:8588 msgid ":gh:`105107`: Remove functions deprecated in Python 3.9." msgstr "" -#: ../NEWS:8547 +#: ../NEWS:8590 msgid "" "``PyEval_CallObject()``, ``PyEval_CallObjectWithKeywords()``: use :c:func:" "`PyObject_CallNoArgs` and :c:func:`PyObject_Call` (positional arguments must " "not be *NULL*) instead." msgstr "" -#: ../NEWS:8550 +#: ../NEWS:8593 msgid "``PyEval_CallFunction()``: use :c:func:`PyObject_CallFunction` instead." msgstr "" -#: ../NEWS:8551 +#: ../NEWS:8594 msgid "``PyEval_CallMethod()``: use :c:func:`PyObject_CallMethod` instead." msgstr "" -#: ../NEWS:8552 +#: ../NEWS:8595 msgid "``PyCFunction_Call()``: use :c:func:`PyObject_Call` instead." msgstr "" -#: ../NEWS:8556 +#: ../NEWS:8599 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 " @@ -15053,27 +15122,27 @@ msgid "" "immortal objects." msgstr "" -#: ../NEWS:8561 +#: ../NEWS:8604 msgid "" ":gh:`105071`: Add ``PyUnstable_Exc_PrepReraiseStar`` to the unstable C api " "to expose the implementation of :keyword:`except* `." msgstr "" -#: ../NEWS:8564 +#: ../NEWS:8607 msgid "" ":gh:`104922`: ``PY_SSIZE_T_CLEAN`` is no longer required to use ``'#'`` " "formats in APIs like :c:func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue`. " "They uses ``Py_ssize_t`` for ``'#'`` regardless ``PY_SSIZE_T_CLEAN``." msgstr "" -#: ../NEWS:8569 +#: ../NEWS:8612 msgid "" ":gh:`104584`: Add an unstable C API for hooking in an optimizer. This is " "mainly internal, but marked \"unstable\" to allow third-party " "experimentation." msgstr "" -#: ../NEWS:8573 +#: ../NEWS:8616 msgid "" ":gh:`104668`: Don't call :c:var:`PyOS_InputHook` or :c:var:" "`PyOS_ReadlineFunctionPointer` in subinterpreters, since it's generally " @@ -15082,79 +15151,79 @@ msgid "" "subinterpreter they don't support (or haven't yet been loaded in)." msgstr "" -#: ../NEWS:8580 +#: ../NEWS:8623 msgid "" ":issue:`42327`: Add :c:func:`PyModule_Add` function: similar to :c:func:" "`PyModule_AddObjectRef` and :c:func:`PyModule_AddObject`, but always steals " "a reference to the value." msgstr "" -#: ../NEWS:8584 +#: ../NEWS:8627 msgid "" ":issue:`40309`: Properly handle trailing spaces before closing parenthesis " "in :c:func:`Py_BuildValue` format strings." msgstr "" -#: ../NEWS:8589 +#: ../NEWS:8632 msgid "Python 3.12.0 beta 1" msgstr "" -#: ../NEWS:8591 +#: ../NEWS:8634 msgid "*Release date: 2023-05-22*" msgstr "" -#: ../NEWS:8596 +#: ../NEWS:8639 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 "" -#: ../NEWS:8600 +#: ../NEWS:8643 msgid "" ":gh:`104049`: Do not expose the local on-disk location in directory indexes " "produced by :class:`http.client.SimpleHTTPRequestHandler`." msgstr "" -#: ../NEWS:8603 +#: ../NEWS:8646 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 "" -#: ../NEWS:8607 +#: ../NEWS:8650 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 "" -#: ../NEWS:8614 +#: ../NEWS:8657 msgid "" ":gh:`102856`: Implement PEP 701 changes in the :mod:`tokenize` module. Patch " "by Marta Gómez Macías and Pablo Galindo Salgado" msgstr "" -#: ../NEWS:8617 +#: ../NEWS:8660 msgid "" ":gh:`104615`: Fix wrong ordering of assignments in code like ``a, a = x, " "y``. Contributed by Carl Meyer." msgstr "" -#: ../NEWS:8620 +#: ../NEWS:8663 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 "" -#: ../NEWS:8624 +#: ../NEWS:8667 msgid "" ":gh:`104482`: Fix three error handling bugs in ast.c's validation of pattern " "matching statements." msgstr "" -#: ../NEWS:8627 +#: ../NEWS:8670 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 " @@ -15163,13 +15232,13 @@ msgid "" "the frame." msgstr "" -#: ../NEWS:8633 +#: ../NEWS:8676 msgid "" ":gh:`104405`: Fix an issue where some :term:`bytecode` instructions could " "ignore :pep:`523` when \"inlining\" calls." msgstr "" -#: ../NEWS:8636 +#: ../NEWS:8679 msgid "" ":gh:`103082`: Change behavior of ``sys.monitoring.events.LINE`` events in " "``sys.monitoring``: Line events now occur when a new line is reached " @@ -15178,7 +15247,7 @@ msgid "" "This should ease porting of tools from 3.11 to 3.12." msgstr "" -#: ../NEWS:8642 +#: ../NEWS:8685 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 " @@ -15188,7 +15257,7 @@ msgid "" "NaNs. Thanks Sebastian Berg." msgstr "" -#: ../NEWS:8649 +#: ../NEWS:8692 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 " @@ -15203,7 +15272,7 @@ msgid "" "additional work to add thread-safety. This should be an uncommon case." msgstr "" -#: ../NEWS:8662 +#: ../NEWS:8705 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 " @@ -15213,7 +15282,7 @@ msgid "" "own GIL, call ``Py_NewInterpreterFromConfig()``." msgstr "" -#: ../NEWS:8669 +#: ../NEWS:8712 msgid "" ":gh:`104108`: Multi-phase init extension modules may now indicate whether or " "not they actually support multiple interpreters. By default such modules " @@ -15223,75 +15292,75 @@ msgid "" "``1`` means it does. The default is ``1``." msgstr "" -#: ../NEWS:8677 +#: ../NEWS:8720 msgid "" ":gh:`104142`: Fix an issue where :class:`list` or :class:`tuple` repetition " "could fail to respect :pep:`683`." msgstr "" -#: ../NEWS:8680 +#: ../NEWS:8723 msgid "" ":gh:`104078`: Improve the performance of :c:func:`PyObject_HasAttrString`" msgstr "" -#: ../NEWS:8682 +#: ../NEWS:8725 msgid "" ":gh:`104066`: Improve the performance of :func:`hasattr` for module objects " "with a missing attribute." msgstr "" -#: ../NEWS:8685 +#: ../NEWS:8728 msgid "" ":gh:`104028`: Reduce object creation while calling callback function from " "gc. Patch by Donghee Na." msgstr "" -#: ../NEWS:8688 +#: ../NEWS:8731 msgid "" ":gh:`104018`: Disallow the \"z\" format specifier in %-format of bytes " "objects." msgstr "" -#: ../NEWS:8690 ../NEWS:9565 +#: ../NEWS:8733 ../NEWS:9608 msgid "" ":gh:`102213`: Fix performance loss when accessing an object's attributes " "with ``__getattr__`` defined." msgstr "" -#: ../NEWS:8693 +#: ../NEWS:8736 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 "" -#: ../NEWS:8698 +#: ../NEWS:8741 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 "" -#: ../NEWS:8702 +#: ../NEWS:8745 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 "" -#: ../NEWS:8706 +#: ../NEWS:8749 msgid "" ":gh:`103845`: Remove both line and instruction instrumentation before adding " "new ones for monitoring, to avoid newly added instrumentation being removed " "immediately." msgstr "" -#: ../NEWS:8710 +#: ../NEWS:8753 msgid "" ":gh:`103763`: Implement :pep:`695`, adding syntactic support for generic " "classes, generic functions, and type aliases." msgstr "" -#: ../NEWS:8713 +#: ../NEWS:8756 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 " @@ -15299,7 +15368,7 @@ msgid "" "This is implemented as a new AST node ``ast.TypeAlias``." msgstr "" -#: ../NEWS:8718 +#: ../NEWS:8761 msgid "" "New syntax (``class X[T]: ...``, ``def func[T](): ...``) is added for " "defining generic functions and classes. This is implemented as a new " @@ -15308,80 +15377,80 @@ msgid "" "ParamSpec``, and ``ast.TypeVarTuple``." msgstr "" -#: ../NEWS:8724 +#: ../NEWS:8767 msgid "" "``typing.TypeVar``, ``typing.ParamSpec``, ``typing.ParamSpecArgs``, ``typing." "ParamSpecKwargs``, ``typing.TypeVarTuple``, and ``typing.Generic`` are now " "implemented in C rather than Python." msgstr "" -#: ../NEWS:8728 +#: ../NEWS:8771 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 "" -#: ../NEWS:8732 +#: ../NEWS:8775 msgid "Patch by Eric Traut, Larry Hastings, and Jelle Zijlstra." msgstr "" -#: ../NEWS:8734 +#: ../NEWS:8777 msgid "" ":gh:`103801`: Adds three minor linting fixes to the wasm module caught that " "were caught by ruff." msgstr "" -#: ../NEWS:8737 +#: ../NEWS:8780 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 "" -#: ../NEWS:8741 +#: ../NEWS:8784 msgid ":gh:`102310`: Change the error range for invalid bytes literals." msgstr "" -#: ../NEWS:8743 +#: ../NEWS:8786 msgid "" ":gh:`103590`: Do not wrap a single exception raised from a ``try-except*`` " "construct in an :exc:`ExceptionGroup`." msgstr "" -#: ../NEWS:8746 +#: ../NEWS:8789 msgid "" ":gh:`103650`: Change the perf map format to remove the '0x' prefix from the " "addresses" msgstr "" -#: ../NEWS:8749 +#: ../NEWS:8792 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 "" -#: ../NEWS:8753 +#: ../NEWS:8796 msgid "" ":gh:`100530`: Clarify the error message raised when the called part of a " "class pattern isn't actually a class." msgstr "" -#: ../NEWS:8756 +#: ../NEWS:8799 msgid "" ":gh:`101517`: Fix bug in line numbers of instructions emitted for :keyword:" "`except* `." msgstr "" -#: ../NEWS:8759 +#: ../NEWS:8802 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 "" -#: ../NEWS:8763 +#: ../NEWS:8806 msgid "" ":gh:`87729`: Add :opcode:`LOAD_SUPER_ATTR` (and a specialization for " "``super().method()``) to speed up ``super().method()`` and ``super().attr``. " @@ -15390,14 +15459,14 @@ msgid "" "Carl Meyer." msgstr "" -#: ../NEWS:8769 +#: ../NEWS:8812 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 "" -#: ../NEWS:8773 +#: ../NEWS:8816 msgid "" ":gh:`82012`: The bitwise inversion operator (``~``) on bool is deprecated. " "It returns the bitwise inversion of the underlying ``int`` representation " @@ -15406,81 +15475,81 @@ msgid "" "inversion of the underlying ``int``, convert to int explicitly ``~int(x)``." msgstr "" -#: ../NEWS:8780 +#: ../NEWS:8823 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 "" -#: ../NEWS:8784 +#: ../NEWS:8827 msgid "" ":gh:`103333`: :exc:`AttributeError` now retains the ``name`` attribute when " "pickled and unpickled." msgstr "" -#: ../NEWS:8787 +#: ../NEWS:8830 msgid "" ":gh:`103242`: Migrate :meth:`~ssl.SSLContext.set_ecdh_curve` method not to " "use deprecated OpenSSL APIs. Patch by Donghee Na." msgstr "" -#: ../NEWS:8790 +#: ../NEWS:8833 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 "" -#: ../NEWS:8794 +#: ../NEWS:8837 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 "" -#: ../NEWS:8798 +#: ../NEWS:8841 msgid "" ":gh:`102700`: Allow built-in modules to be submodules. This allows " "submodules to be statically linked into a CPython binary." msgstr "" -#: ../NEWS:8801 +#: ../NEWS:8844 msgid ":gh:`103082`: Implement :pep:`669` Low Impact Monitoring for CPython." msgstr "" -#: ../NEWS:8803 +#: ../NEWS:8846 msgid "" ":gh:`88691`: Reduce the number of inline :opcode:`CACHE` entries for :opcode:" "`CALL`." msgstr "" -#: ../NEWS:8806 +#: ../NEWS:8849 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 "" -#: ../NEWS:8810 +#: ../NEWS:8853 msgid "" ":gh:`97933`: :pep:`709`: inline list, dict and set comprehensions to improve " "performance and reduce bytecode size." msgstr "" -#: ../NEWS:8813 +#: ../NEWS:8856 msgid "" ":gh:`99184`: Bypass instance attribute access of ``__name__`` in ``repr`` " "of :class:`weakref.ref`." msgstr "" -#: ../NEWS:8816 +#: ../NEWS:8859 msgid "" ":gh:`98003`: Complex function calls are now faster and consume no C stack " "space." msgstr "" -#: ../NEWS:8819 +#: ../NEWS:8862 msgid "" ":issue:`39610`: ``len()`` for 0-dimensional :class:`memoryview` objects " "(such as ``memoryview(ctypes.c_uint8(42))``) now raises a :exc:`TypeError`. " @@ -15488,19 +15557,19 @@ msgid "" "raising an :exc:`IndexError`." msgstr "" -#: ../NEWS:8824 +#: ../NEWS:8867 msgid "" ":issue:`31821`: Fix :func:`!pause_reading` to work when called from :func:`!" "connection_made` in :mod:`asyncio`." msgstr "" -#: ../NEWS:8830 +#: ../NEWS:8873 msgid "" ":gh:`104600`: :func:`functools.update_wrapper` now sets the " "``__type_params__`` attribute (added by :pep:`695`)." msgstr "" -#: ../NEWS:8833 +#: ../NEWS:8876 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 " @@ -15509,7 +15578,7 @@ msgid "" "docs, the ``wait_closed()`` call is optional (\"not mandatory\")." msgstr "" -#: ../NEWS:8840 +#: ../NEWS:8883 msgid "" ":gh:`104555`: Fix issue where an :func:`issubclass` check comparing a class " "``X`` against a :func:`runtime-checkable protocol `_ URLs." msgstr "" -#: ../NEWS:8887 +#: ../NEWS:8930 msgid "" ":gh:`104307`: :func:`socket.getnameinfo` now releases the GIL while " "contacting the DNS server" msgstr "" -#: ../NEWS:8890 +#: ../NEWS:8933 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 "" -#: ../NEWS:8894 +#: ../NEWS:8937 msgid "" ":gh:`87695`: Fix issue where :meth:`pathlib.Path.glob` raised :exc:`OSError` " "when it encountered a symlink to an overly long path." msgstr "" -#: ../NEWS:8897 +#: ../NEWS:8940 msgid "" ":gh:`104265`: Prevent possible crash by disallowing instantiation of the :" "class:`!_csv.Reader` and :class:`!_csv.Writer` types. The regression was " @@ -15617,18 +15686,18 @@ msgid "" "Chugunov." msgstr "" -#: ../NEWS:8902 +#: ../NEWS:8945 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 "" -#: ../NEWS:8906 +#: ../NEWS:8949 msgid ":gh:`65772`: Remove unneeded comments and code in turtle.py." msgstr "" -#: ../NEWS:8908 +#: ../NEWS:8951 msgid "" ":gh:`90208`: Fixed issue where :meth:`pathlib.Path.glob` returned incomplete " "results when it encountered a :exc:`PermissionError`. This method now " @@ -15636,158 +15705,158 @@ msgid "" "meth:`~pathlib.Path.is_dir` on the top-level path." msgstr "" -#: ../NEWS:8913 +#: ../NEWS:8956 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 "" -#: ../NEWS:8917 +#: ../NEWS:8960 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 "" -#: ../NEWS:8922 +#: ../NEWS:8965 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 "" -#: ../NEWS:8926 +#: ../NEWS:8969 msgid "" ":gh:`104104`: Improve performance of :meth:`pathlib.Path.glob` by using :" "const:`re.IGNORECASE` to implement case-insensitive matching." msgstr "" -#: ../NEWS:8929 +#: ../NEWS:8972 msgid "" ":gh:`104102`: Improve performance of :meth:`pathlib.Path.glob` when " "evaluating patterns that contain ``'../'`` segments." msgstr "" -#: ../NEWS:8932 +#: ../NEWS:8975 msgid "" ":gh:`103822`: Update the return type of ``weekday`` to the newly added Day " "attribute" msgstr "" -#: ../NEWS:8935 +#: ../NEWS:8978 msgid "" ":gh:`103629`: Update the ``repr`` of :class:`typing.Unpack` according to :" "pep:`692`." msgstr "" -#: ../NEWS:8938 +#: ../NEWS:8981 msgid "" ":gh:`103963`: Make :mod:`dis` display the names of the args for :opcode:`!" "CALL_INTRINSIC_*`." msgstr "" -#: ../NEWS:8941 +#: ../NEWS:8984 msgid "" ":gh:`104035`: Do not ignore user-defined ``__getstate__`` and " "``__setstate__`` methods for slotted frozen dataclasses." msgstr "" -#: ../NEWS:8944 +#: ../NEWS:8987 msgid "" ":gh:`103987`: In :mod:`mmap`, fix several bugs that could lead to access to " "memory-mapped files after they have been invalidated." msgstr "" -#: ../NEWS:8947 +#: ../NEWS:8990 msgid ":gh:`103977`: Improve import time of :mod:`platform` module." msgstr "" -#: ../NEWS:8949 +#: ../NEWS:8992 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 "" -#: ../NEWS:8953 +#: ../NEWS:8996 msgid "" ":gh:`103935`: Use :func:`io.open_code` for files to be executed instead of " "raw :func:`open`" msgstr "" -#: ../NEWS:8956 +#: ../NEWS:8999 msgid "" ":gh:`68968`: Fixed garbled output of :meth:`~unittest.TestCase.assertEqual` " "when an input lacks final newline." msgstr "" -#: ../NEWS:8959 +#: ../NEWS:9002 msgid "" ":gh:`100370`: Fix potential :exc:`OverflowError` in :meth:`sqlite3." "Connection.blobopen` for 32-bit builds. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:8963 +#: ../NEWS:9006 msgid "" ":gh:`102628`: Substitute CTRL-D with CTRL-Z in :mod:`sqlite3` CLI banner " "when running on Windows." msgstr "" -#: ../NEWS:8966 +#: ../NEWS:9009 msgid "" ":gh:`103636`: Module-level attributes ``January`` and ``February`` are " "deprecated from :mod:`calendar`." msgstr "" -#: ../NEWS:8969 +#: ../NEWS:9012 msgid "" ":gh:`103583`: Isolate :mod:`!_multibytecodec` and codecs extension modules. " "Patches by Erlend E. Aasland." msgstr "" -#: ../NEWS:8972 +#: ../NEWS:9015 msgid "" ":gh:`103848`: Add checks to ensure that ``[`` bracketed ``]`` hosts found " "by :func:`urllib.parse.urlsplit` are of IPv6 or IPvFuture format." msgstr "" -#: ../NEWS:8975 +#: ../NEWS:9018 msgid ":gh:`103872`: Update the bundled copy of pip to version 23.1.2." msgstr "" -#: ../NEWS:8977 +#: ../NEWS:9020 msgid "" ":gh:`99944`: Make :mod:`dis` display the value of oparg of :opcode:`!" "KW_NAMES`." msgstr "" -#: ../NEWS:8980 +#: ../NEWS:9023 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 "" -#: ../NEWS:8984 +#: ../NEWS:9027 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 "" -#: ../NEWS:8987 +#: ../NEWS:9030 msgid "" ":gh:`103857`: Deprecated :meth:`datetime.datetime.utcnow` and :meth:" "`datetime.datetime.utcfromtimestamp`. (Patch by Paul Ganssle)" msgstr "" -#: ../NEWS:8990 +#: ../NEWS:9033 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 "" -#: ../NEWS:8993 +#: ../NEWS:9036 msgid "" ":gh:`103791`: :class:`contextlib.suppress` now supports suppressing " "exceptions raised as part of an :exc:`ExceptionGroup`. If other exceptions " @@ -15795,61 +15864,61 @@ msgid "" "suppressed exceptions." msgstr "" -#: ../NEWS:8998 +#: ../NEWS:9041 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 "" -#: ../NEWS:9002 +#: ../NEWS:9045 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 "" -#: ../NEWS:9006 +#: ../NEWS:9049 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 "" -#: ../NEWS:9011 +#: ../NEWS:9054 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 "" -#: ../NEWS:9015 +#: ../NEWS:9058 msgid ":gh:`103693`: Add convenience variable feature to :mod:`pdb`" msgstr "" -#: ../NEWS:9017 +#: ../NEWS:9060 msgid "" ":gh:`92248`: Deprecate ``type``, ``choices``, and ``metavar`` parameters of " "``argparse.BooleanOptionalAction``." msgstr "" -#: ../NEWS:9020 +#: ../NEWS:9063 msgid "" ":gh:`89415`: Add :mod:`socket` constants for source-specific multicast. " "Patch by Reese Hyde." msgstr "" -#: ../NEWS:9023 +#: ../NEWS:9066 msgid "" ":gh:`103673`: :mod:`socketserver` gains ``ForkingUnixStreamServer`` and " "``ForkingUnixDatagramServer`` classes. Patch by Jay Berry." msgstr "" -#: ../NEWS:9026 +#: ../NEWS:9069 msgid ":gh:`103636`: Added Enum for months and days in the calendar module." msgstr "" -#: ../NEWS:9028 +#: ../NEWS:9071 msgid "" ":gh:`84976`: Create a new ``Lib/_pydatetime.py`` file that defines the " "Python version of the ``datetime`` module, and make ``datetime`` import the " @@ -15859,13 +15928,13 @@ msgid "" "unnecessarily." msgstr "" -#: ../NEWS:9035 +#: ../NEWS:9078 msgid "" ":gh:`103596`: Attributes/methods are no longer shadowed by same-named enum " "members, although they may be shadowed by enum.property's." msgstr "" -#: ../NEWS:9038 +#: ../NEWS:9081 msgid "" ":gh:`103584`: Updated ``importlib.metadata`` with changes from " "``importlib_metadata`` 5.2 through 6.5.0, including: Support ``installed-" @@ -15881,7 +15950,7 @@ msgid "" "``KeyError``." msgstr "" -#: ../NEWS:9051 +#: ../NEWS:9094 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." @@ -15889,18 +15958,18 @@ msgid "" "`PyFile_SetOpenCodeHook`." msgstr "" -#: ../NEWS:9056 +#: ../NEWS:9099 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 "" -#: ../NEWS:9060 +#: ../NEWS:9103 msgid ":gh:`103559`: Update the bundled copy of pip to version 23.1.1." msgstr "" -#: ../NEWS:9062 +#: ../NEWS:9105 msgid "" ":gh:`103548`: Improve performance of :meth:`pathlib.Path.absolute` and :meth:" "`~pathlib.Path.cwd` by joining paths only when necessary. Also improve " @@ -15908,45 +15977,45 @@ msgid "" "path parsing and normalization." msgstr "" -#: ../NEWS:9067 +#: ../NEWS:9110 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 "" -#: ../NEWS:9071 +#: ../NEWS:9114 msgid ":gh:`103533`: Update :mod:`cProfile` to use PEP 669 API" msgstr "" -#: ../NEWS:9073 +#: ../NEWS:9116 msgid "" ":gh:`103525`: Fix misleading exception message when mixed ``str`` and " "``bytes`` arguments are supplied to :class:`pathlib.PurePath` and :class:" "`~pathlib.Path`." msgstr "" -#: ../NEWS:9077 +#: ../NEWS:9120 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 "" -#: ../NEWS:9082 +#: ../NEWS:9125 msgid "" ":gh:`103365`: Set default Flag boundary to ``STRICT`` and fix bitwise " "operations." msgstr "" -#: ../NEWS:9085 +#: ../NEWS:9128 msgid "" ":gh:`103472`: Avoid a potential :exc:`ResourceWarning` in :class:`http." "client.HTTPConnection` by closing the proxy / tunnel's CONNECT response " "explicitly." msgstr "" -#: ../NEWS:9089 +#: ../NEWS:9132 msgid "" ":gh:`103462`: Fixed an issue with using :meth:`~asyncio.WriteTransport." "writelines` in :mod:`asyncio` to send very large payloads that exceed the " @@ -15955,30 +16024,30 @@ msgid "" "left unwritten." msgstr "" -#: ../NEWS:9095 +#: ../NEWS:9138 msgid "" ":gh:`103449`: Fix a bug in doc string generation in :func:`dataclasses." "dataclass`." msgstr "" -#: ../NEWS:9098 +#: ../NEWS:9141 msgid "" ":gh:`103092`: Isolate :mod:`!_collections` (apply :pep:`687`). Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:9101 +#: ../NEWS:9144 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 "" -#: ../NEWS:9105 +#: ../NEWS:9148 msgid ":gh:`103092`: Adapt the :mod:`winreg` extension module to :pep:`687`." msgstr "" -#: ../NEWS:9107 +#: ../NEWS:9150 msgid "" ":gh:`74690`: The performance of :func:`isinstance` checks against :func:" "`runtime-checkable protocols ` has been " @@ -15989,14 +16058,14 @@ msgid "" "_get_protocol_attrs``. Patches by Alex Waygood." msgstr "" -#: ../NEWS:9116 +#: ../NEWS:9159 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\" ` for more details." msgstr "" -#: ../NEWS:9121 +#: ../NEWS:9164 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 " @@ -16006,46 +16075,46 @@ msgid "" "b'M', 'sha3_256')``." msgstr "" -#: ../NEWS:9128 +#: ../NEWS:9171 msgid ":gh:`102778`: Support ``sys.last_exc`` in :mod:`idlelib`." msgstr "" -#: ../NEWS:9130 +#: ../NEWS:9173 msgid ":gh:`103285`: Improve performance of :func:`ast.get_source_segment`." msgstr "" -#: ../NEWS:9132 +#: ../NEWS:9175 msgid "" ":gh:`103225`: Fix a bug in :mod:`pdb` when displaying line numbers of module-" "level source code." msgstr "" -#: ../NEWS:9135 +#: ../NEWS:9178 msgid ":gh:`103092`: Adapt the :mod:`msvcrt` extension module to :pep:`687`." msgstr "" -#: ../NEWS:9137 +#: ../NEWS:9180 msgid ":gh:`103092`: Adapt the :mod:`winsound` extension module to :pep:`687`." msgstr "" -#: ../NEWS:9139 +#: ../NEWS:9182 msgid ":gh:`93910`: Remove deprecation of enum ``member.member`` access." msgstr "" -#: ../NEWS:9141 +#: ../NEWS:9184 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 "" -#: ../NEWS:9145 +#: ../NEWS:9188 msgid "" ":gh:`103092`: Isolate :mod:`!_socket` (apply :pep:`687`). Patch by Erlend E. " "Aasland." msgstr "" -#: ../NEWS:9148 +#: ../NEWS:9191 msgid "" ":gh:`100479`: Add :meth:`pathlib.PurePath.with_segments`, which creates a " "path object from arguments. This method is called whenever a derivative path " @@ -16053,54 +16122,54 @@ msgid "" "override this method to share information between path objects." msgstr "" -#: ../NEWS:9153 +#: ../NEWS:9196 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 "" -#: ../NEWS:9156 +#: ../NEWS:9199 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 "" -#: ../NEWS:9160 +#: ../NEWS:9203 msgid ":gh:`75586`: Fix various Windows-specific issues with ``shutil.which``." msgstr "" -#: ../NEWS:9162 +#: ../NEWS:9205 msgid "" ":gh:`103193`: Improve performance of :func:`inspect.getattr_static`. Patch " "by Alex Waygood." msgstr "" -#: ../NEWS:9165 +#: ../NEWS:9208 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 "" -#: ../NEWS:9169 +#: ../NEWS:9212 msgid ":gh:`103143`: Polish the help messages and docstrings of :mod:`pdb`." msgstr "" -#: ../NEWS:9171 +#: ../NEWS:9214 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 "" -#: ../NEWS:9175 +#: ../NEWS:9218 msgid "" ":gh:`103000`: Improve performance of :func:`dataclasses.astuple` and :func:" "`dataclasses.asdict` in cases where the contents are common Python types." msgstr "" -#: ../NEWS:9179 +#: ../NEWS:9222 msgid "" ":gh:`102953`: The extraction methods in :mod:`tarfile`, and :func:`shutil." "unpack_archive`, have a new a *filter* argument that allows limiting tar " @@ -16108,7 +16177,7 @@ msgid "" "the destination directory. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: ../NEWS:9185 +#: ../NEWS:9228 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. " @@ -16118,50 +16187,50 @@ msgid "" "task is scheduled and returned." msgstr "" -#: ../NEWS:9192 +#: ../NEWS:9235 msgid "" ":gh:`81079`: Add *case_sensitive* keyword-only argument to :meth:`pathlib." "Path.glob` and :meth:`~pathlib.Path.rglob`." msgstr "" -#: ../NEWS:9195 +#: ../NEWS:9238 msgid "" ":gh:`101819`: Isolate the :mod:`io` extension module by applying :pep:`687`. " "Patch by Kumar Aditya, Victor Stinner, and Erlend E. Aasland." msgstr "" -#: ../NEWS:9198 +#: ../NEWS:9241 msgid ":gh:`91896`: Deprecate :class:`collections.abc.ByteString`" msgstr "" -#: ../NEWS:9200 +#: ../NEWS:9243 msgid "" ":gh:`101362`: Speed up :class:`pathlib.Path` construction by omitting the " "path anchor from the internal list of path parts." msgstr "" -#: ../NEWS:9203 +#: ../NEWS:9246 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 "" -#: ../NEWS:9207 +#: ../NEWS:9250 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 "" -#: ../NEWS:9211 +#: ../NEWS:9254 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 "" -#: ../NEWS:9215 +#: ../NEWS:9258 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." @@ -16169,20 +16238,20 @@ msgid "" "flag masks by default." msgstr "" -#: ../NEWS:9220 +#: ../NEWS:9263 msgid "" ":gh:`101688`: Implement :func:`types.get_original_bases` to provide further " "introspection for types." msgstr "" -#: ../NEWS:9223 +#: ../NEWS:9266 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 "" -#: ../NEWS:9227 +#: ../NEWS:9270 msgid "" ":gh:`83861`: Fix datetime.astimezone method return value when invoked on a " "naive datetime instance that represents local time falling in a timezone " @@ -16190,89 +16259,89 @@ msgid "" "times than those with fold=0 in this case." msgstr "" -#: ../NEWS:9232 +#: ../NEWS:9275 msgid "" ":gh:`89550`: Decrease execution time of some :mod:`gzip` file writes by 15% " "by adding more appropriate buffering." msgstr "" -#: ../NEWS:9235 +#: ../NEWS:9278 msgid "" ":gh:`95299`: Remove the bundled setuptools wheel from ``ensurepip``, and " "stop installing setuptools in environments created by ``venv``." msgstr "" -#: ../NEWS:9238 +#: ../NEWS:9281 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 "" -#: ../NEWS:9242 +#: ../NEWS:9285 msgid ":gh:`98040`: Remove the long-deprecated ``imp`` module." msgstr "" -#: ../NEWS:9244 +#: ../NEWS:9287 msgid "" ":gh:`97850`: Deprecate :func:`pkgutil.find_loader` and :func:`pkgutil." "get_loader` in favor of :func:`importlib.util.find_spec`." msgstr "" -#: ../NEWS:9247 +#: ../NEWS:9290 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 "" -#: ../NEWS:9251 +#: ../NEWS:9294 msgid "" ":gh:`98040`: Remove more deprecated importlib APIs: ``find_loader()``, " "``find_module()``, ``importlib.abc.Finder``, ``pkgutil.ImpImporter``, " "``pkgutil.ImpLoader``." msgstr "" -#: ../NEWS:9255 +#: ../NEWS:9298 msgid ":gh:`96522`: Fix potential deadlock in pty.spawn()" msgstr "" -#: ../NEWS:9257 +#: ../NEWS:9300 msgid ":gh:`96534`: Support divert(4) added in FreeBSD 14." msgstr "" -#: ../NEWS:9259 +#: ../NEWS:9302 msgid "" ":gh:`87474`: Fix potential file descriptor leaks in :class:`subprocess." "Popen`." msgstr "" -#: ../NEWS:9262 +#: ../NEWS:9305 msgid "" ":gh:`94906`: Support multiple steps in :func:`math.nextafter`. Patch by " "Shantanu Jain and Matthias Gorgens." msgstr "" -#: ../NEWS:9265 +#: ../NEWS:9308 msgid "" ":gh:`51574`: Make :func:`tempfile.mkdtemp` return absolute paths when its " "*dir* parameter is relative." msgstr "" -#: ../NEWS:9268 +#: ../NEWS:9311 msgid "" ":gh:`94518`: Convert private :meth:`!_posixsubprocess.fork_exec` to use " "Argument Clinic." msgstr "" -#: ../NEWS:9271 +#: ../NEWS:9314 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 "" -#: ../NEWS:9275 +#: ../NEWS:9318 msgid "" ":issue:`46797`: Deprecation warnings are now emitted for :class:`!ast.Num`, :" "class:`!ast.Bytes`, :class:`!ast.Str`, :class:`!ast.NameConstant` and :class:" @@ -16280,13 +16349,13 @@ msgid "" "and will be removed in Python 3.14." msgstr "" -#: ../NEWS:9280 +#: ../NEWS:9323 msgid "" ":issue:`44844`: Enables :mod:`webbrowser` to detect and launch Microsoft " "Edge browser." msgstr "" -#: ../NEWS:9283 +#: ../NEWS:9326 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 " @@ -16295,106 +16364,106 @@ msgid "" "found in both cases." msgstr "" -#: ../NEWS:9289 +#: ../NEWS:9332 msgid "" ":issue:`23041`: Add :const:`~csv.QUOTE_STRINGS` and :const:`~csv." "QUOTE_NOTNULL` to the suite of :mod:`csv` module quoting styles." msgstr "" -#: ../NEWS:9292 +#: ../NEWS:9335 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 "" -#: ../NEWS:9297 +#: ../NEWS:9340 msgid "" ":issue:`17258`: :mod:`multiprocessing` now supports stronger HMAC algorithms " "for inter-process connection authentication rather than only HMAC-MD5." msgstr "" -#: ../NEWS:9300 +#: ../NEWS:9343 msgid "" ":issue:`39744`: Make :func:`asyncio.subprocess.Process.communicate` close " "the subprocess's stdin even when called with ``input=None``." msgstr "" -#: ../NEWS:9303 +#: ../NEWS:9346 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 "" -#: ../NEWS:9310 +#: ../NEWS:9353 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 "" -#: ../NEWS:9314 +#: ../NEWS:9357 msgid "" ":gh:`103629`: Mention the new way of typing ``**kwargs`` with ``Unpack`` and " "``TypedDict`` introduced in :pep:`692`." msgstr "" -#: ../NEWS:9317 +#: ../NEWS:9360 msgid "" ":gh:`48241`: Clarifying documentation about the url parameter to urllib." "request.urlopen and urllib.request.Request needing to be encoded properly." msgstr "" -#: ../NEWS:9321 +#: ../NEWS:9364 msgid "" ":gh:`86094`: Add support for Unicode Path Extra Field in ZipFile. Patch by " "Yeojin Kim and Andrea Giudiceandrea" msgstr "" -#: ../NEWS:9324 +#: ../NEWS:9367 msgid "" ":gh:`99202`: Fix extension type from documentation for compiling in C++20 " "mode" msgstr "" -#: ../NEWS:9330 +#: ../NEWS:9373 msgid "" ":gh:`104494`: Update ``test_pack_configure_in`` and " "``test_place_configure_in`` for changes to error message formatting in Tk " "8.7." msgstr "" -#: ../NEWS:9334 +#: ../NEWS:9377 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 "" -#: ../NEWS:9338 +#: ../NEWS:9381 msgid "" ":gh:`86275`: Added property-based tests to the :mod:`zoneinfo` tests, along " "with stubs for the ``hypothesis`` interface. (Patch by Paul Ganssle)" msgstr "" -#: ../NEWS:9341 +#: ../NEWS:9384 msgid "" ":gh:`103329`: Regression tests for the behaviour of ``unittest.mock." "PropertyMock`` were added." msgstr "" -#: ../NEWS:9344 +#: ../NEWS:9387 msgid ":gh:`102795`: fix use of poll in test_epoll's test_control_and_wait" msgstr "" -#: ../NEWS:9346 +#: ../NEWS:9389 msgid "" ":gh:`75729`: Fix the :func:`os.spawn* ` tests failing on Windows " "when the working directory or interpreter path contains spaces." msgstr "" -#: ../NEWS:9352 +#: ../NEWS:9395 msgid "" ":gh:`101282`: BOLT optimization is now applied to the libpython shared " "library if building a shared library. BOLT instrumentation and application " @@ -16402,23 +16471,23 @@ msgid "" "``BOLT_APPLY_FLAGS`` configure variables." msgstr "" -#: ../NEWS:9357 +#: ../NEWS:9400 msgid ":gh:`99017`: ``PYTHON_FOR_REGEN`` now require Python 3.10 or newer." msgstr "" -#: ../NEWS:9359 +#: ../NEWS:9402 msgid "" ":gh:`104490`: Define ``.PHONY`` / virtual make targets consistently and " "properly." msgstr "" -#: ../NEWS:9362 +#: ../NEWS:9405 msgid "" ":gh:`104106`: Add gcc fallback of mkfifoat/mknodat for macOS. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:9365 +#: ../NEWS:9408 msgid "" ":gh:`103532`: The ``TKINTER_PROTECT_LOADTK`` macro is no longer defined or " "used in the ``_tkinter`` module. It was previously only defined when " @@ -16426,14 +16495,14 @@ msgid "" "unsupported since :gh:`91152`." msgstr "" -#: ../NEWS:9370 +#: ../NEWS:9413 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 "" -#: ../NEWS:9374 +#: ../NEWS:9417 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 " @@ -16441,31 +16510,31 @@ msgid "" "files and yet return a successful result." msgstr "" -#: ../NEWS:9379 +#: ../NEWS:9422 msgid ":gh:`90656`: Add platform triplets for 64-bit LoongArch:" msgstr "" -#: ../NEWS:9381 +#: ../NEWS:9424 msgid "loongarch64-linux-gnusf" msgstr "" -#: ../NEWS:9382 +#: ../NEWS:9425 msgid "loongarch64-linux-gnuf32" msgstr "" -#: ../NEWS:9383 +#: ../NEWS:9426 msgid "loongarch64-linux-gnu" msgstr "" -#: ../NEWS:9385 +#: ../NEWS:9428 msgid "Patch by Zhang Na." msgstr "" -#: ../NEWS:9390 +#: ../NEWS:9433 msgid ":gh:`104623`: Update Windows installer to use SQLite 3.42.0." msgstr "" -#: ../NEWS:9392 +#: ../NEWS:9435 msgid "" ":gh:`82814`: Fix a potential ``[Errno 13] Permission denied`` when using :" "func:`shutil.copystat` within Windows Subsystem for Linux (WSL) on a mounted " @@ -16473,37 +16542,37 @@ msgid "" "the internal implementation." msgstr "" -#: ../NEWS:9397 +#: ../NEWS:9440 msgid "" ":gh:`103088`: Fix virtual environment :file:`activate` script having " "incorrect line endings for Cygwin." msgstr "" -#: ../NEWS:9400 +#: ../NEWS:9443 msgid "" ":gh:`103088`: Fixes venvs not working in bash on Windows across different " "disks" msgstr "" -#: ../NEWS:9403 +#: ../NEWS:9446 msgid ":gh:`102997`: Update Windows installer to use SQLite 3.41.2." msgstr "" -#: ../NEWS:9405 +#: ../NEWS:9448 msgid "" ":gh:`88013`: Fixed a bug where :exc:`TypeError` was raised when calling :" "func:`ntpath.realpath` with a bytes parameter in some cases." msgstr "" -#: ../NEWS:9411 +#: ../NEWS:9454 msgid ":gh:`99834`: Update macOS installer to Tcl/Tk 8.6.13." msgstr "" -#: ../NEWS:9413 +#: ../NEWS:9456 msgid ":gh:`104623`: Update macOS installer to SQLite 3.42.0." msgstr "" -#: ../NEWS:9415 +#: ../NEWS:9458 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 " @@ -16511,51 +16580,51 @@ msgid "" "the efficiency cores on Apple Silicon systems." msgstr "" -#: ../NEWS:9420 +#: ../NEWS:9463 msgid "" ":gh:`104180`: Support reading SOCKS proxy configuration from macOS System " "Configuration. Patch by Sam Schott." msgstr "" -#: ../NEWS:9423 +#: ../NEWS:9466 msgid "" ":gh:`60436`: update curses textbox to additionally handle backspace using " "the ``curses.ascii.DEL`` key press." msgstr "" -#: ../NEWS:9426 +#: ../NEWS:9469 msgid ":gh:`102997`: Update macOS installer to SQLite 3.41.2." msgstr "" -#: ../NEWS:9431 +#: ../NEWS:9474 msgid ":gh:`104499`: Fix completions for Tk Aqua 8.7 (currently blank)." msgstr "" -#: ../NEWS:9433 +#: ../NEWS:9476 msgid "" ":gh:`104496`: About prints both tcl and tk versions if different (expected " "someday)." msgstr "" -#: ../NEWS:9436 +#: ../NEWS:9479 msgid ":gh:`88496`: Fix IDLE test hang on macOS." msgstr "" -#: ../NEWS:9441 +#: ../NEWS:9484 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 "" -#: ../NEWS:9448 +#: ../NEWS:9491 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 "" -#: ../NEWS:9452 +#: ../NEWS:9495 msgid "" ":gh:`104109`: We've added ``Py_NewInterpreterFromConfig()`` and " "``PyInterpreterConfig`` to the public C-API (but not the stable ABI; not yet " @@ -16564,7 +16633,7 @@ msgid "" "interpreter GIL)." msgstr "" -#: ../NEWS:9458 +#: ../NEWS:9501 msgid "" ":gh:`103968`: :c:func:`PyType_FromSpec` and its variants now allow creating " "classes whose metaclass overrides :c:member:`~PyTypeObject.tp_new`. The " @@ -16572,14 +16641,14 @@ msgid "" "3.14+. The new :c:func:`PyType_FromMetaclass` already disallows it." msgstr "" -#: ../NEWS:9463 +#: ../NEWS:9506 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 "" -#: ../NEWS:9467 +#: ../NEWS:9510 msgid "" ":gh:`103295`: Introduced :c:func:`PyUnstable_WritePerfMapEntry`, :c:func:" "`PyUnstable_PerfMapState_Init` and :c:func:`PyUnstable_PerfMapState_Fini`. " @@ -16588,7 +16657,7 @@ msgid "" "uses these APIs to write entries in the perf-map file." msgstr "" -#: ../NEWS:9474 +#: ../NEWS:9517 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:" @@ -16597,19 +16666,19 @@ msgid "" "objects. See :pep:`697` for details." msgstr "" -#: ../NEWS:9480 +#: ../NEWS:9523 msgid "" ":gh:`103091`: Add a new C-API function to eagerly assign a version tag to a " "PyTypeObject: ``PyUnstable_Type_AssignVersionTag()``." msgstr "" -#: ../NEWS:9483 +#: ../NEWS:9526 msgid "" ":gh:`101408`: :c:macro:`PyObject_GC_Resize` should calculate preheader size " "if needed. Patch by Donghee Na." msgstr "" -#: ../NEWS:9486 +#: ../NEWS:9529 msgid "" ":gh:`98836`: Add support of more formatting options (left aligning, octals, " "uppercase hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:" @@ -16617,107 +16686,107 @@ msgid "" "`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV`." msgstr "" -#: ../NEWS:9491 +#: ../NEWS:9534 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 "" -#: ../NEWS:9495 +#: ../NEWS:9538 msgid "" "``PyCodeObject * PyUnstable_InterpreterFrame_GetCode(struct " "_PyInterpreterFrame *frame)``" msgstr "" -#: ../NEWS:9496 +#: ../NEWS:9539 msgid "" "``int PyUnstable_InterpreterFrame_GetLasti(struct _PyInterpreterFrame " "*frame)``" msgstr "" -#: ../NEWS:9497 +#: ../NEWS:9540 msgid "" "``int PyUnstable_InterpreterFrame_GetLine(struct _PyInterpreterFrame " "*frame)``" msgstr "" -#: ../NEWS:9501 +#: ../NEWS:9544 msgid "Python 3.12.0 alpha 7" msgstr "" -#: ../NEWS:9503 +#: ../NEWS:9546 msgid "*Release date: 2023-04-04*" msgstr "" -#: ../NEWS:9508 +#: ../NEWS:9551 msgid "" ":gh:`102192`: Deprecated ``_PyErr_ChainExceptions`` in favour of " "``_PyErr_ChainExceptions1``." msgstr "" -#: ../NEWS:9511 +#: ../NEWS:9554 msgid "" ":gh:`89987`: Reduce the number of inline :opcode:`CACHE` entries for :opcode:" "`BINARY_SUBSCR`." msgstr "" -#: ../NEWS:9514 +#: ../NEWS:9557 msgid "" ":gh:`102859`: Removed :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" "JUMP_IF_TRUE_OR_POP` instructions." msgstr "" -#: ../NEWS:9517 +#: ../NEWS:9560 msgid "" ":gh:`101975`: Fixed ``stacktop`` value on tracing entries to avoid " "corruption on garbage collection." msgstr "" -#: ../NEWS:9520 +#: ../NEWS:9563 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 "" -#: ../NEWS:9524 +#: ../NEWS:9567 msgid "" ":gh:`100982`: Replace all occurrences of ``COMPARE_AND_BRANCH`` with :opcode:" "`COMPARE_OP`." msgstr "" -#: ../NEWS:9527 +#: ../NEWS:9570 msgid ":gh:`102701`: Fix overflow when creating very large dict." msgstr "" -#: ../NEWS:9529 +#: ../NEWS:9572 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 "" -#: ../NEWS:9533 +#: ../NEWS:9576 msgid "" ":gh:`102594`: Add note to exception raised in ``PyErr_SetObject`` when " "normalization fails." msgstr "" -#: ../NEWS:9536 +#: ../NEWS:9579 msgid "" ":gh:`90997`: Shrink the number of inline :opcode:`CACHE` entries used by :" "opcode:`LOAD_GLOBAL`." msgstr "" -#: ../NEWS:9539 +#: ../NEWS:9582 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 "" -#: ../NEWS:9543 +#: ../NEWS:9586 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 " @@ -16725,88 +16794,88 @@ msgid "" "the unsigned size." msgstr "" -#: ../NEWS:9548 +#: ../NEWS:9591 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 "" -#: ../NEWS:9552 +#: ../NEWS:9595 msgid "" ":gh:`102397`: Fix segfault from race condition in signal handling during " "garbage collection. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:9555 +#: ../NEWS:9598 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 "" -#: ../NEWS:9559 +#: ../NEWS:9602 msgid "" ":gh:`102281`: Fix potential nullptr dereference and use of uninitialized " "memory in fileutils. Patch by Max Bachmann." msgstr "" -#: ../NEWS:9562 +#: ../NEWS:9605 msgid "" ":gh:`102300`: Reuse operands with refcount of 1 in float specializations of " "BINARY_OP." msgstr "" -#: ../NEWS:9568 +#: ../NEWS:9611 msgid "" ":gh:`102255`: Improve build support for the Xbox. Patch by Max Bachmann." msgstr "" -#: ../NEWS:9570 +#: ../NEWS:9613 msgid "" ":gh:`102027`: Fix SSE2 and SSE3 detection in ``_blake2`` internal module. " "Patch by Max Bachmann." msgstr "" -#: ../NEWS:9573 +#: ../NEWS:9616 msgid "" ":gh:`101865`: Deprecate ``co_lnotab`` in code objects, schedule it for " "removal in Python 3.14" msgstr "" -#: ../NEWS:9576 +#: ../NEWS:9619 msgid "" ":issue:`1635741`: Adapt :mod:`!_pickle` to :pep:`687`. Patch by Mohamed " "Koubaa and Erlend Aasland." msgstr "" -#: ../NEWS:9582 +#: ../NEWS:9625 msgid "" ":gh:`103085`: Pure python :func:`locale.getencoding` will not warn " "deprecation." msgstr "" -#: ../NEWS:9585 +#: ../NEWS:9628 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 "" -#: ../NEWS:9588 +#: ../NEWS:9631 msgid ":gh:`102549`: Don't ignore exceptions in member type creation." msgstr "" -#: ../NEWS:9590 +#: ../NEWS:9633 msgid "" ":gh:`103056`: Ensure final ``_generate_next_value_`` is a ``staticmethod``." msgstr "" -#: ../NEWS:9592 +#: ../NEWS:9635 msgid "" ":gh:`103046`: Display current line label correctly in :mod:`dis` when " "``show_caches`` is False and ``lasti`` points to a CACHE entry." msgstr "" -#: ../NEWS:9595 +#: ../NEWS:9638 msgid "" ":gh:`102433`: :func:`isinstance` checks against :func:`runtime-checkable " "protocols ` now use :func:`inspect.getattr_static` " @@ -16819,19 +16888,19 @@ msgid "" "users are unlikely to be affected by this change. Patch by Alex Waygood." msgstr "" -#: ../NEWS:9606 +#: ../NEWS:9649 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 "" -#: ../NEWS:9609 +#: ../NEWS:9652 msgid "" ":gh:`102947`: Improve traceback when :func:`dataclasses.fields` is called on " "a non-dataclass. Patch by Alex Waygood" msgstr "" -#: ../NEWS:9612 +#: ../NEWS:9655 msgid "" ":gh:`102780`: The :class:`asyncio.Timeout` context manager now works " "reliably even when performing cleanup due to task cancellation. Previously " @@ -16839,27 +16908,27 @@ msgid "" "TimeoutError` in such cases." msgstr "" -#: ../NEWS:9617 +#: ../NEWS:9660 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 "" -#: ../NEWS:9621 +#: ../NEWS:9664 msgid "" ":gh:`102839`: Improve performance of :func:`math.log` arguments handling by " "removing the argument clinic." msgstr "" -#: ../NEWS:9624 +#: ../NEWS:9667 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 "" -#: ../NEWS:9628 +#: ../NEWS:9671 msgid "" ":gh:`88965`: typing: Fix a bug relating to substitution in custom classes " "generic over a :class:`~typing.ParamSpec`. Previously, if the ``ParamSpec`` " @@ -16868,50 +16937,50 @@ msgid "" "subsequently substituted. This is now fixed." msgstr "" -#: ../NEWS:9634 +#: ../NEWS:9677 msgid "Patch by Nikita Sobolev." msgstr "" -#: ../NEWS:9636 +#: ../NEWS:9679 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 "" -#: ../NEWS:9640 +#: ../NEWS:9683 msgid "" ":gh:`78530`: :func:`asyncio.wait` now accepts generators yielding tasks. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:9643 +#: ../NEWS:9686 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 "" -#: ../NEWS:9647 +#: ../NEWS:9690 msgid "" ":gh:`102670`: Optimized fmean(), correlation(), covariance(), and " "linear_regression() using the new math.sumprod() function." msgstr "" -#: ../NEWS:9650 +#: ../NEWS:9693 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 "" -#: ../NEWS:9654 +#: ../NEWS:9697 msgid "" ":gh:`100112`: :meth:`asyncio.Task.get_coro` now always returns a coroutine " "when wrapping an awaitable object. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:9657 +#: ../NEWS:9700 msgid "" ":gh:`102578`: Speed up setting or deleting mutable attributes on non-" "dataclass subclasses of frozen dataclasses. Due to the implementation of " @@ -16920,86 +16989,86 @@ msgid "" "(1)." msgstr "" -#: ../NEWS:9663 +#: ../NEWS:9706 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 "" -#: ../NEWS:9667 +#: ../NEWS:9710 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 "" -#: ../NEWS:9671 +#: ../NEWS:9714 msgid "" ":gh:`102378`: Private helper method ``inspect." "_signature_strip_non_python_syntax`` will no longer strip ``/`` from the " "input string." msgstr "" -#: ../NEWS:9675 +#: ../NEWS:9718 msgid "" ":gh:`79940`: Add :func:`inspect.getasyncgenstate` and :func:`inspect." "getasyncgenlocals`. Patch by Thomas Krennwallner." msgstr "" -#: ../NEWS:9678 +#: ../NEWS:9721 msgid "" ":gh:`102103`: Add ``module`` argument to :func:`dataclasses.make_dataclass` " "and make classes produced by it pickleable." msgstr "" -#: ../NEWS:9681 +#: ../NEWS:9724 msgid "" ":gh:`102069`: Fix ``__weakref__`` descriptor generation for custom " "dataclasses." msgstr "" -#: ../NEWS:9684 +#: ../NEWS:9727 msgid "" ":gh:`102038`: Skip a ``stat`` in :mod:`site` if we have already found a " "``pyvenv.cfg``" msgstr "" -#: ../NEWS:9687 +#: ../NEWS:9730 msgid "" ":gh:`98886`: Fix issues when defining dataclasses that have fields with " "specific underscore names that aren't clearly reserved by :mod:`dataclasses`." msgstr "" -#: ../NEWS:9691 +#: ../NEWS:9734 msgid "" ":gh:`101673`: Fix a :mod:`pdb` bug where ``ll`` clears the changes to local " "variables." msgstr "" -#: ../NEWS:9694 +#: ../NEWS:9737 msgid ":gh:`101313`: Added -h and --help arguments to the webbrowser CLI" msgstr "" -#: ../NEWS:9696 +#: ../NEWS:9739 msgid "" ":gh:`100372`: :meth:`ssl.SSLContext.load_verify_locations` no longer " "incorrectly accepts some cases of trailing data when parsing DER." msgstr "" -#: ../NEWS:9699 +#: ../NEWS:9742 msgid "" ":gh:`89727`: Fix pathlib.Path.walk RecursionError on deep directory trees by " "rewriting it using iteration instead of recursion." msgstr "" -#: ../NEWS:9702 +#: ../NEWS:9745 msgid "" ":gh:`100131`: Added an optional ``delete`` keyword argument to :class:" "`tempfile.TemporaryDirectory`." msgstr "" -#: ../NEWS:9705 +#: ../NEWS:9748 msgid "" ":gh:`48330`: Added ``--durations`` command line option, showing the N " "slowest test cases. :class:`unittest.TextTestRunner` and :class:`unittest." @@ -17009,22 +17078,22 @@ msgid "" "collectedDurations` attribute." msgstr "" -#: ../NEWS:9712 +#: ../NEWS:9755 msgid "(Contributed by Giampaolo Rodola)" msgstr "" -#: ../NEWS:9714 +#: ../NEWS:9757 msgid "" ":gh:`98169`: Fix :func:`dataclasses.astuple` crash when :class:`collections." "defaultdict` is present in the attributes." msgstr "" -#: ../NEWS:9717 +#: ../NEWS:9760 msgid "" ":gh:`96931`: Fix incorrect results from :meth:`ssl.SSLSocket.shared_ciphers`" msgstr "" -#: ../NEWS:9719 +#: ../NEWS:9762 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 " @@ -17035,98 +17104,98 @@ msgid "" "specify the previous OpenSSL 3.0 behavior." msgstr "" -#: ../NEWS:9727 +#: ../NEWS:9770 msgid "" ":gh:`94684`: Now :func:`uuid.uuid3` and :func:`uuid.uuid5` functions " "support :class:`bytes` objects as their *name* argument." msgstr "" -#: ../NEWS:9730 +#: ../NEWS:9773 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 "" -#: ../NEWS:9734 +#: ../NEWS:9777 msgid "" ":gh:`72346`: Added deprecation warning to *isdst* parameter of :func:`email." "utils.localtime`." msgstr "" -#: ../NEWS:9737 +#: ../NEWS:9780 msgid "" ":issue:`36305`: Fix handling of Windows filenames that resemble drives, such " "as ``./a:b``, in :mod:`pathlib`." msgstr "" -#: ../NEWS:9743 +#: ../NEWS:9786 msgid "" ":gh:`103112`: Add docstring to :meth:`http.client.HTTPResponse.read` to fix " "``pydoc`` output." msgstr "" -#: ../NEWS:9749 +#: ../NEWS:9792 msgid ":gh:`102980`: Improve test coverage on :mod:`pdb`." msgstr "" -#: ../NEWS:9751 +#: ../NEWS:9794 msgid "" ":gh:`102537`: Adjust the error handling strategy in ``test_zoneinfo." "TzPathTest.python_tzpath_context``. Patch by Paul Ganssle." msgstr "" -#: ../NEWS:9754 +#: ../NEWS:9797 msgid ":gh:`101377`: Improved test_locale_calendar_formatweekday of calendar." msgstr "" -#: ../NEWS:9759 +#: ../NEWS:9802 msgid "" ":gh:`102973`: Add a dev container (along with accompanying Dockerfile) for " "development purposes." msgstr "" -#: ../NEWS:9762 +#: ../NEWS:9805 msgid ":gh:`102711`: Fix ``-Wstrict-prototypes`` compiler warnings." msgstr "" -#: ../NEWS:9767 +#: ../NEWS:9810 msgid "" ":gh:`102690`: Update :mod:`webbrowser` to fall back to Microsoft Edge " "instead of Internet Explorer." msgstr "" -#: ../NEWS:9770 +#: ../NEWS:9813 msgid "" ":gh:`99726`: Improves correctness of stat results for Windows, and uses " "faster API when available" msgstr "" -#: ../NEWS:9776 +#: ../NEWS:9819 msgid ":gh:`102809`: ``Misc/gdbinit`` was removed." msgstr "" -#: ../NEWS:9781 +#: ../NEWS:9824 msgid "" ":gh:`102013`: Add a new (unstable) C-API function for iterating over GC'able " "objects using a callback: ``PyUnstable_VisitObjects``." msgstr "" -#: ../NEWS:9786 +#: ../NEWS:9829 msgid "Python 3.12.0 alpha 6" msgstr "" -#: ../NEWS:9788 +#: ../NEWS:9831 msgid "*Release date: 2023-03-07*" msgstr "" -#: ../NEWS:9793 +#: ../NEWS:9836 msgid "" ":gh:`99108`: Replace builtin hashlib implementations of MD5 and SHA1 with " "verified ones from the HACL* project." msgstr "" -#: ../NEWS:9796 +#: ../NEWS:9839 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 :" @@ -17134,7 +17203,7 @@ msgid "" "openssl-library.org/news/secadv/20230207.txt>`_." msgstr "" -#: ../NEWS:9801 +#: ../NEWS:9844 msgid "" ":gh:`99108`: Replace the builtin :mod:`hashlib` implementations of SHA2-384 " "and SHA2-512 originally from LibTomCrypt with formally verified, side-" @@ -17143,81 +17212,81 @@ msgid "" "not provide them." msgstr "" -#: ../NEWS:9807 +#: ../NEWS:9850 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 "" -#: ../NEWS:9814 +#: ../NEWS:9857 msgid "" ":gh:`102493`: Fix regression in semantics of normalisation in " "``PyErr_SetObject``." msgstr "" -#: ../NEWS:9817 +#: ../NEWS:9860 msgid "" ":gh:`102416`: Do not memoize incorrectly automatically generated loop rules " "in the parser. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:9820 +#: ../NEWS:9863 msgid "" ":gh:`102356`: Fix a bug that caused a crash when deallocating deeply nested " "filter objects. Patch by Marta Gómez Macías." msgstr "" -#: ../NEWS:9823 +#: ../NEWS:9866 msgid "" ":gh:`102336`: Cleanup Windows 7 specific special handling. Patch by Max " "Bachmann." msgstr "" -#: ../NEWS:9826 +#: ../NEWS:9869 msgid "" ":gh:`102250`: Fixed a segfault occurring when the interpreter calls a " "``__bool__`` method that raises." msgstr "" -#: ../NEWS:9829 +#: ../NEWS:9872 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 "" -#: ../NEWS:9832 +#: ../NEWS:9875 msgid "" ":gh:`102027`: Use ``GetCurrentProcessId`` on Windows when ``getpid`` is " "unavailable. Patch by Max Bachmann." msgstr "" -#: ../NEWS:9835 +#: ../NEWS:9878 msgid "" ":gh:`102056`: Fix error handling bugs in interpreter's exception printing " "code, which could cause a crash on infinite recursion." msgstr "" -#: ../NEWS:9838 +#: ../NEWS:9881 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 "" -#: ../NEWS:9842 +#: ../NEWS:9885 msgid "" ":gh:`101967`: Fix possible segfault in ``positional_only_passed_as_keyword`` " "function, when new list created." msgstr "" -#: ../NEWS:9845 +#: ../NEWS:9888 msgid "" ":gh:`101952`: Fix possible segfault in ``BUILD_SET`` opcode, when new set " "created." msgstr "" -#: ../NEWS:9848 +#: ../NEWS:9891 msgid "" ":gh:`74895`: :mod:`socket.getaddrinfo` no longer raises :class:" "`OverflowError` for :class:`int` **port** values outside of the C long " @@ -17227,62 +17296,62 @@ msgid "" "error." msgstr "" -#: ../NEWS:9855 +#: ../NEWS:9898 msgid "" ":gh:`101799`: Add :opcode:`CALL_INTRINSIC_2` and use it instead of :opcode:`!" "PREP_RERAISE_STAR`." msgstr "" -#: ../NEWS:9858 +#: ../NEWS:9901 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 "" -#: ../NEWS:9861 +#: ../NEWS:9904 msgid "" ":gh:`84783`: Make the slice object hashable. Patch by Will Bradshaw and " "Furkan Onder." msgstr "" -#: ../NEWS:9864 +#: ../NEWS:9907 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 "" -#: ../NEWS:9868 +#: ../NEWS:9911 msgid "" ":gh:`101765`: Fix SystemError / segmentation fault in iter ``__reduce__`` " "when internal access of ``builtins.__dict__`` keys mutates the iter object." msgstr "" -#: ../NEWS:9872 +#: ../NEWS:9915 msgid "" ":gh:`101430`: Update :mod:`tracemalloc` to handle presize of object " "properly. Patch by Donghee Na." msgstr "" -#: ../NEWS:9875 +#: ../NEWS:9918 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 "" -#: ../NEWS:9879 +#: ../NEWS:9922 msgid ":gh:`101632`: Adds a new :opcode:`RETURN_CONST` instruction." msgstr "" -#: ../NEWS:9881 +#: ../NEWS:9924 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 "" -#: ../NEWS:9885 +#: ../NEWS:9928 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 " @@ -17291,56 +17360,56 @@ msgid "" "created with ``Py_NewInterpreter()``." msgstr "" -#: ../NEWS:9894 +#: ../NEWS:9937 msgid "" ":gh:`102302`: Micro-optimise hashing of :class:`inspect.Parameter`, reducing " "the time it takes to hash an instance by around 40%." msgstr "" -#: ../NEWS:9897 +#: ../NEWS:9940 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 "" -#: ../NEWS:9901 +#: ../NEWS:9944 msgid "" ":gh:`91038`: :meth:`platform.platform` now has boolean default arguments." msgstr "" -#: ../NEWS:9903 +#: ../NEWS:9946 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 "" -#: ../NEWS:9907 +#: ../NEWS:9950 msgid ":gh:`102179`: Fix :func:`os.dup2` error message for negative fds." msgstr "" -#: ../NEWS:9909 +#: ../NEWS:9952 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 "" -#: ../NEWS:9913 +#: ../NEWS:9956 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 "" -#: ../NEWS:9917 +#: ../NEWS:9960 msgid "" ":gh:`101566`: In zipfile, sync Path with `zipp 3.14 `_, including fix for " "extractall on the underlying zipfile after being wrapped in ``Path``." msgstr "" -#: ../NEWS:9922 +#: ../NEWS:9965 msgid "" ":gh:`97930`: Apply changes from `importlib_resources 5.12 `_, including fix " @@ -17348,11 +17417,11 @@ msgid "" "(python/importlib_resources#265)." msgstr "" -#: ../NEWS:9927 +#: ../NEWS:9970 msgid ":gh:`101997`: Upgrade pip wheel bundled with ensurepip (pip 23.0.1)" msgstr "" -#: ../NEWS:9929 +#: ../NEWS:9972 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 " @@ -17360,39 +17429,39 @@ msgid "" "modules." msgstr "" -#: ../NEWS:9934 +#: ../NEWS:9977 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 "" -#: ../NEWS:9938 +#: ../NEWS:9981 msgid "" ":gh:`87634`: Remove locking behavior from :func:`functools.cached_property`." msgstr "" -#: ../NEWS:9940 +#: ../NEWS:9983 msgid "" ":gh:`97786`: Fix potential undefined behaviour in corner cases of floating-" "point-to-time conversions." msgstr "" -#: ../NEWS:9943 +#: ../NEWS:9986 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 "" -#: ../NEWS:9947 +#: ../NEWS:9990 msgid "" ":gh:`101773`: Optimize :class:`fractions.Fraction` for small components. The " "private argument ``_normalize`` of the :class:`fractions.Fraction` " "constructor has been removed." msgstr "" -#: ../NEWS:9951 +#: ../NEWS:9994 msgid "" ":gh:`101693`: In :meth:`sqlite3.Cursor.execute`, :exc:`DeprecationWarning` " "is now emitted when :ref:`named placeholders ` are " @@ -17402,13 +17471,13 @@ msgid "" "ProgrammingError`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:9958 +#: ../NEWS:10001 msgid "" ":gh:`101446`: Change repr of :class:`collections.OrderedDict` to use regular " "dictionary formatting instead of pairs of keys and values." msgstr "" -#: ../NEWS:9961 +#: ../NEWS:10004 msgid "" ":gh:`101362`: Speed up :class:`pathlib.PurePath` construction by handling " "arguments more uniformly. When a :class:`pathlib.Path` argument is supplied, " @@ -17416,42 +17485,42 @@ msgid "" "`os.path.join`." msgstr "" -#: ../NEWS:9966 +#: ../NEWS:10009 msgid "" ":gh:`101362`: Speed up :class:`pathlib.PurePath` construction by calling :" "func:`os.path.join` only when two or more arguments are given." msgstr "" -#: ../NEWS:9969 +#: ../NEWS:10012 msgid "" ":gh:`101362`: Speed up :class:`pathlib.Path` construction by running the " "path flavour compatibility check only when pathlib is imported." msgstr "" -#: ../NEWS:9972 +#: ../NEWS:10015 msgid "" ":gh:`85984`: Refactored the implementation of :func:`pty.fork` to use :func:" "`os.login_tty`." msgstr "" -#: ../NEWS:9975 +#: ../NEWS:10018 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 "" -#: ../NEWS:9979 +#: ../NEWS:10022 msgid "" ":gh:`101561`: Add a new decorator :func:`typing.override`. See :pep:`698` " "for details. Patch by Steven Troxler." msgstr "" -#: ../NEWS:9982 +#: ../NEWS:10025 msgid ":gh:`63301`: Set exit code when :mod:`tabnanny` CLI exits on error." msgstr "" -#: ../NEWS:9984 +#: ../NEWS:10027 msgid "" ":gh:`101360`: Fix anchor matching in :meth:`pathlib.PureWindowsPath.match`. " "Path and pattern anchors are now matched with :mod:`fnmatch`, just like " @@ -17459,37 +17528,37 @@ msgid "" "matched." msgstr "" -#: ../NEWS:9989 +#: ../NEWS:10032 msgid "" ":gh:`101277`: Remove global state from :mod:`itertools` module (:pep:`687`). " "Patches by Erlend E. Aasland." msgstr "" -#: ../NEWS:9992 +#: ../NEWS:10035 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 "" -#: ../NEWS:9996 +#: ../NEWS:10039 msgid "" ":gh:`99138`: Apply :pep:`687` to :mod:`zoneinfo`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:9998 +#: ../NEWS:10041 msgid "" ":gh:`96764`: :func:`asyncio.wait_for` now uses :func:`asyncio.timeout` as " "its underlying implementation. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10001 +#: ../NEWS:10044 msgid "" ":gh:`88233`: Correctly preserve \"extra\" fields in ``zipfile`` regardless " "of their ordering relative to a zip64 \"extra.\"" msgstr "" -#: ../NEWS:10004 +#: ../NEWS:10047 msgid "" ":issue:`23224`: Fix segfaults when creating :class:`lzma.LZMADecompressor` " "and :class:`bz2.BZ2Decompressor` objects without calling ``__init__()``, and " @@ -17499,30 +17568,30 @@ msgid "" "times." msgstr "" -#: ../NEWS:10014 +#: ../NEWS:10057 msgid "" ":gh:`85417`: Update :mod:`cmath` documentation to clarify behaviour on " "branch cuts." msgstr "" -#: ../NEWS:10017 +#: ../NEWS:10060 msgid "" ":gh:`97725`: Fix :meth:`asyncio.Task.print_stack` description for " "``file=None``. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:10023 +#: ../NEWS:10066 msgid "" ":gh:`102019`: Fix deadlock on shutdown if ``test_current_{exception,frames}" "`` fails. Patch by Jacob Bower." msgstr "" -#: ../NEWS:10026 +#: ../NEWS:10069 msgid "" ":gh:`85984`: Utilize new \"winsize\" functions from termios in pty tests." msgstr "" -#: ../NEWS:10028 +#: ../NEWS:10071 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 " @@ -17530,94 +17599,94 @@ msgid "" "cpu_count instead of hard coding it as 8 cores." msgstr "" -#: ../NEWS:10036 +#: ../NEWS:10079 msgid "" ":gh:`99942`: On Android, in a static build, python-config in embed mode no " "longer incorrectly reports a library to link to." msgstr "" -#: ../NEWS:10039 +#: ../NEWS:10082 msgid "" ":gh:`99942`: On Android, python.pc now correctly reports the library to link " "to, the same as python-config.sh." msgstr "" -#: ../NEWS:10042 +#: ../NEWS:10085 msgid "" ":gh:`100221`: Fix creating install directories in ``make sharedinstall`` if " "they exist outside ``DESTDIR`` already." msgstr "" -#: ../NEWS:10045 +#: ../NEWS:10088 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 "" -#: ../NEWS:10053 +#: ../NEWS:10096 msgid "" ":gh:`102344`: Implement ``winreg.QueryValue`` using ``QueryValueEx`` and " "``winreg.SetValue`` using ``SetValueEx``. Patch by Max Bachmann." msgstr "" -#: ../NEWS:10056 +#: ../NEWS:10099 msgid "" ":gh:`101881`: Handle read and write operations on non-blocking pipes " "properly on Windows." msgstr "" -#: ../NEWS:10059 +#: ../NEWS:10102 msgid "" ":gh:`101881`: Add support for the os.get_blocking() and os.set_blocking() " "functions on Windows." msgstr "" -#: ../NEWS:10062 +#: ../NEWS:10105 msgid "" ":gh:`101849`: Ensures installer will correctly upgrade existing ``py.exe`` " "launcher installs." msgstr "" -#: ../NEWS:10065 +#: ../NEWS:10108 msgid "" ":gh:`101763`: Updates copy of libffi bundled with Windows installs to 3.4.4." msgstr "" -#: ../NEWS:10067 +#: ../NEWS:10110 msgid ":gh:`101759`: Update Windows installer to SQLite 3.40.1." msgstr "" -#: ../NEWS:10069 +#: ../NEWS:10112 msgid "" ":gh:`101614`: Correctly handle extensions built against debug binaries that " "reference ``python3_d.dll``." msgstr "" -#: ../NEWS:10072 +#: ../NEWS:10115 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 "" -#: ../NEWS:10079 +#: ../NEWS:10122 msgid ":gh:`101759`: Update macOS installer to SQLite 3.40.1." msgstr "" -#: ../NEWS:10084 +#: ../NEWS:10127 msgid "" ":gh:`101907`: Removes use of non-standard C++ extension in public header " "files." msgstr "" -#: ../NEWS:10087 +#: ../NEWS:10130 msgid "" ":gh:`99293`: Document that the Py_TPFLAGS_VALID_VERSION_TAG is an internal " "feature, should not be used, and will be removed." msgstr "" -#: ../NEWS:10090 +#: ../NEWS:10133 msgid "" ":gh:`101578`: Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -17626,29 +17695,29 @@ msgid "" "`PyErr_Restore`. This is less error prone and a bit more efficient." msgstr "" -#: ../NEWS:10097 +#: ../NEWS:10140 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 "" -#: ../NEWS:10101 +#: ../NEWS:10144 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 "" -#: ../NEWS:10107 +#: ../NEWS:10150 msgid "Python 3.12.0 alpha 5" msgstr "" -#: ../NEWS:10109 +#: ../NEWS:10152 msgid "*Release date: 2023-02-07*" msgstr "" -#: ../NEWS:10114 +#: ../NEWS:10157 msgid "" ":gh:`99108`: Replace the builtin :mod:`hashlib` implementations of SHA2-224 " "and SHA2-256 originally from LibTomCrypt with formally verified, side-" @@ -17657,13 +17726,13 @@ msgid "" "not provide them." msgstr "" -#: ../NEWS:10123 +#: ../NEWS:10166 msgid "" ":gh:`92173`: Fix the ``defs`` and ``kwdefs`` arguments to :c:func:" "`PyEval_EvalCodeEx` and a reference leak in that function." msgstr "" -#: ../NEWS:10126 +#: ../NEWS:10169 msgid "" ":gh:`59956`: The GILState API is now partially compatible with " "subinterpreters. Previously, ``PyThreadState_GET()`` and " @@ -17671,50 +17740,50 @@ msgid "" "inconsistent behavior and crashes." msgstr "" -#: ../NEWS:10131 +#: ../NEWS:10174 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 "" -#: ../NEWS:10134 +#: ../NEWS:10177 msgid "" ":gh:`101372`: Fix :func:`~unicodedata.is_normalized` to properly handle the " "UCD 3.2.0 cases. Patch by Donghee Na." msgstr "" -#: ../NEWS:10137 +#: ../NEWS:10180 msgid "" ":gh:`101266`: Fix :func:`sys.getsizeof` reporting for :class:`int` " "subclasses." msgstr "" -#: ../NEWS:10140 +#: ../NEWS:10183 msgid "" ":gh:`101291`: Refactor the ``PyLongObject`` struct into a normal Python " "object header and a ``PyLongValue`` struct." msgstr "" -#: ../NEWS:10143 +#: ../NEWS:10186 msgid "" ":gh:`101046`: Fix a possible memory leak in the parser when raising :exc:" "`MemoryError`. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:10146 +#: ../NEWS:10189 msgid "" ":gh:`101037`: Fix potential memory underallocation issue for instances of :" "class:`int` subclasses with value zero." msgstr "" -#: ../NEWS:10149 +#: ../NEWS:10192 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 "" -#: ../NEWS:10153 +#: ../NEWS:10196 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 " @@ -17722,26 +17791,26 @@ msgid "" "local to a single instruction." msgstr "" -#: ../NEWS:10158 +#: ../NEWS:10201 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 "" -#: ../NEWS:10162 +#: ../NEWS:10205 msgid "" ":gh:`100923`: Remove the ``mask`` cache entry for the :opcode:`COMPARE_OP` " "instruction and embed the mask into the oparg." msgstr "" -#: ../NEWS:10165 +#: ../NEWS:10208 msgid "" ":gh:`100892`: Fix race while iterating over thread states in clearing :class:" "`threading.local`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10168 +#: ../NEWS:10211 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:" @@ -17750,59 +17819,59 @@ msgid "" "-- as happens when it collects an open socket or file)" msgstr "" -#: ../NEWS:10174 +#: ../NEWS:10217 msgid "" ":gh:`100726`: Optimize construction of ``range`` object for medium size " "integers." msgstr "" -#: ../NEWS:10177 +#: ../NEWS:10220 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 "" -#: ../NEWS:10181 +#: ../NEWS:10224 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 "" -#: ../NEWS:10188 +#: ../NEWS:10231 msgid ":gh:`101541`: [Enum] - fix psuedo-flag creation" msgstr "" -#: ../NEWS:10190 +#: ../NEWS:10233 msgid ":gh:`101570`: Upgrade pip wheel bundled with ensurepip (pip 23.0)" msgstr "" -#: ../NEWS:10192 +#: ../NEWS:10235 msgid "" ":gh:`101323`: Fix a bug where errors where not thrown by zlib." "_ZlibDecompressor if encountered during decompressing." msgstr "" -#: ../NEWS:10195 +#: ../NEWS:10238 msgid "" ":gh:`101317`: Add *ssl_shutdown_timeout* parameter for :meth:`asyncio." "StreamWriter.start_tls`." msgstr "" -#: ../NEWS:10198 +#: ../NEWS:10241 msgid "" ":gh:`101326`: Fix regression when passing ``None`` as second or third " "argument to ``FutureIter.throw``." msgstr "" -#: ../NEWS:10201 +#: ../NEWS:10244 msgid "" ":gh:`92123`: Adapt the ``_elementtree`` extension module to multi-phase init " "(:pep:`489`). Patches by Erlend E. Aasland." msgstr "" -#: ../NEWS:10204 +#: ../NEWS:10247 msgid "" ":gh:`100795`: Avoid potential unexpected ``freeaddrinfo`` call (double free) " "in :mod:`socket` when when a libc ``getaddrinfo()`` implementation leaves " @@ -17810,13 +17879,13 @@ msgid "" "Sergey G. Brester." msgstr "" -#: ../NEWS:10209 +#: ../NEWS:10252 msgid "" ":gh:`101143`: Remove unused references to :class:`~asyncio.TimerHandle` in " "``asyncio.base_events.BaseEventLoop._add_callback``." msgstr "" -#: ../NEWS:10212 +#: ../NEWS:10255 msgid "" ":gh:`101144`: Make :func:`zipfile.Path.open` and :func:`zipfile.Path." "read_text` also accept ``encoding`` as a positional argument. This was the " @@ -17824,52 +17893,52 @@ msgid "" "supplying it as a positional argument would lead to a :exc:`TypeError`." msgstr "" -#: ../NEWS:10218 +#: ../NEWS:10261 msgid "" ":gh:`94518`: Group-related variables of ``_posixsubprocess`` module are " "renamed to stress that supplementary group affinity is added to a fork, not " "replace the inherited ones. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:10222 +#: ../NEWS:10265 msgid "" ":gh:`101015`: Fix :func:`typing.get_type_hints` on ``'*tuple[...]'`` and " "``*tuple[...]``. It must not drop the ``Unpack`` part." msgstr "" -#: ../NEWS:10225 +#: ../NEWS:10268 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 "" -#: ../NEWS:10230 +#: ../NEWS:10273 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 "" -#: ../NEWS:10234 +#: ../NEWS:10277 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 "" -#: ../NEWS:10238 +#: ../NEWS:10281 msgid ":gh:`100750`: pass encoding kwarg to subprocess in platform" msgstr "" -#: ../NEWS:10240 +#: ../NEWS:10283 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 "" -#: ../NEWS:10244 +#: ../NEWS:10287 msgid "" ":gh:`96290`: Fix handling of partial and invalid UNC drives in ``ntpath." "splitdrive()``, and in ``ntpath.normpath()`` on non-Windows systems. Paths " @@ -17880,49 +17949,49 @@ msgid "" "contributions by Barney Gale." msgstr "" -#: ../NEWS:10252 +#: ../NEWS:10295 msgid "" ":gh:`99952`: Fix a reference undercounting issue in :class:`ctypes." "Structure` with ``from_param()`` results larger than a C pointer." msgstr "" -#: ../NEWS:10255 +#: ../NEWS:10298 msgid "" ":gh:`67790`: Add float-style formatting support for :class:`fractions." "Fraction` instances." msgstr "" -#: ../NEWS:10258 +#: ../NEWS:10301 msgid ":gh:`99266`: Preserve more detailed error messages in :mod:`ctypes`." msgstr "" -#: ../NEWS:10260 +#: ../NEWS:10303 msgid "" ":gh:`86682`: Ensure runtime-created collections have the correct module name " "using the newly added (internal) :func:`sys._getframemodulename`." msgstr "" -#: ../NEWS:10263 +#: ../NEWS:10306 msgid "" ":gh:`88597`: :mod:`uuid` now has a command line interface. Try ``python -m " "uuid -h``." msgstr "" -#: ../NEWS:10266 +#: ../NEWS:10309 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 "" -#: ../NEWS:10270 +#: ../NEWS:10313 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 "" -#: ../NEWS:10274 +#: ../NEWS:10317 msgid "" ":issue:`38941`: The :mod:`xml.etree.ElementTree` module now emits :exc:" "`DeprecationWarning` when testing the truth value of an :class:`xml.etree." @@ -17930,57 +17999,57 @@ msgid "" "`FutureWarning`, and the C implementation emitted nothing." msgstr "" -#: ../NEWS:10279 +#: ../NEWS:10322 msgid "" ":issue:`40077`: Convert :mod:`elementtree` types to heap types. Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:10282 +#: ../NEWS:10325 msgid "" ":issue:`29847`: Fix a bug where :class:`pathlib.Path` accepted and ignored " "keyword arguments. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:10285 +#: ../NEWS:10328 msgid "" ":gh:`77772`: :class:`ctypes.CDLL`, :class:`ctypes.OleDLL`, :class:`ctypes." "WinDLL`, and :class:`ctypes.PyDLL` now accept :term:`path-like objects ` as their ``name`` argument. Patch by Robert Hoelzl." msgstr "" -#: ../NEWS:10293 +#: ../NEWS:10336 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 "" -#: ../NEWS:10300 +#: ../NEWS:10343 msgid "" ":gh:`101334`: ``test_tarfile`` has been updated to pass when run as a high " "UID." msgstr "" -#: ../NEWS:10306 +#: ../NEWS:10349 msgid "" ":gh:`101282`: Update BOLT configuration not to use deprecated usage of ``--" "split functions``. Patch by Donghee Na." msgstr "" -#: ../NEWS:10309 +#: ../NEWS:10352 msgid "" ":gh:`101522`: Allow overriding Windows dependencies versions and paths using " "MSBuild properties." msgstr "" -#: ../NEWS:10312 +#: ../NEWS:10355 msgid "" ":gh:`77532`: Minor fixes to allow building with ``PlatformToolset=ClangCL`` " "on Windows." msgstr "" -#: ../NEWS:10315 +#: ../NEWS:10358 msgid "" ":gh:`101152`: In accordance with :PEP:`699`, the ``ma_version_tag`` field " "in :c:type:`PyDictObject` is deprecated for extension modules. Accessing " @@ -17988,44 +18057,44 @@ msgid "" "be removed in Python 3.14." msgstr "" -#: ../NEWS:10320 +#: ../NEWS:10363 msgid "" ":gh:`100340`: Allows -Wno-int-conversion for wasm-sdk 17 and onwards, thus " "enables building WASI builds once against the latest sdk." msgstr "" -#: ../NEWS:10323 +#: ../NEWS:10366 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 "" -#: ../NEWS:10327 +#: ../NEWS:10370 msgid "" ":gh:`98705`: ``__bool__`` is defined in AIX system header files which breaks " "the build in AIX, so undefine it." msgstr "" -#: ../NEWS:10330 +#: ../NEWS:10373 msgid "" ":gh:`98636`: Fix a regression in detecting ``gdbm_compat`` library for the " "``_gdbm`` module build." msgstr "" -#: ../NEWS:10333 +#: ../NEWS:10376 msgid "" ":gh:`96305`: ``_aix_support`` now uses a simple code to get platform details " "rather than the now non-existent ``_bootsubprocess`` during bootstrap." msgstr "" -#: ../NEWS:10339 +#: ../NEWS:10382 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 "" -#: ../NEWS:10342 +#: ../NEWS:10385 msgid "" ":gh:`101467`: The ``py.exe`` launcher now correctly filters when only a " "single runtime is installed. It also correctly handles prefix matches on " @@ -18033,191 +18102,191 @@ msgid "" "``3.1-32``." msgstr "" -#: ../NEWS:10347 +#: ../NEWS:10390 msgid ":gh:`99834`: Updates bundled copy of Tcl/Tk to 8.6.13.0" msgstr "" -#: ../NEWS:10349 +#: ../NEWS:10392 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 "" -#: ../NEWS:10353 +#: ../NEWS:10396 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 "" -#: ../NEWS:10356 +#: ../NEWS:10399 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 "" -#: ../NEWS:10360 +#: ../NEWS:10403 msgid "" ":gh:`100247`: Restores support for the :file:`py.exe` launcher finding " "shebang commands in its configuration file using the full command name." msgstr "" -#: ../NEWS:10365 +#: ../NEWS:10408 msgid "Python 3.12.0 alpha 4" msgstr "" -#: ../NEWS:10367 +#: ../NEWS:10410 msgid "*Release date: 2023-01-10*" msgstr "" -#: ../NEWS:10372 +#: ../NEWS:10415 msgid "" ":gh:`100776`: Fix misleading default value in :func:`input`'s " "``__text_signature__``." msgstr "" -#: ../NEWS:10375 +#: ../NEWS:10418 msgid "" ":gh:`99005`: Remove :opcode:`!UNARY_POSITIVE`, :opcode:`!ASYNC_GEN_WRAP` " "and :opcode:`!LIST_TO_TUPLE`, replacing them with intrinsics." msgstr "" -#: ../NEWS:10378 +#: ../NEWS:10421 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 "" -#: ../NEWS:10383 +#: ../NEWS:10426 msgid "" ":gh:`100288`: Remove the LOAD_ATTR_METHOD_WITH_DICT specialized instruction. " "Stats show it is not useful." msgstr "" -#: ../NEWS:10386 +#: ../NEWS:10429 msgid "" ":gh:`100720`: Added ``_PyFrame_NumSlotsForCodeObject``, which returns the " "number of slots needed in a frame for a given code object." msgstr "" -#: ../NEWS:10389 +#: ../NEWS:10432 msgid "" ":gh:`100719`: Removed the co_nplaincellvars field from the code object, as " "it is redundant." msgstr "" -#: ../NEWS:10392 +#: ../NEWS:10435 msgid "" ":gh:`100637`: Fix :func:`int.__sizeof__` calculation to include the 1-" "element ``ob_digit`` array for ``0`` and ``False``." msgstr "" -#: ../NEWS:10395 +#: ../NEWS:10438 msgid "" ":gh:`100649`: Update the native_thread_id field of PyThreadState after fork." msgstr "" -#: ../NEWS:10397 +#: ../NEWS:10440 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 "" -#: ../NEWS:10401 +#: ../NEWS:10444 msgid "" ":gh:`87447`: Fix :exc:`SyntaxError` on comprehension rebind checking with " "names that are not actually redefined." msgstr "" -#: ../NEWS:10404 +#: ../NEWS:10447 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 "" -#: ../NEWS:10407 +#: ../NEWS:10450 msgid "" ":gh:`100268`: Add :meth:`int.is_integer` to improve duck type compatibility " "between :class:`int` and :class:`float`." msgstr "" -#: ../NEWS:10410 +#: ../NEWS:10453 msgid "" ":gh:`100425`: Improve the accuracy of ``sum()`` with compensated summation." msgstr "" -#: ../NEWS:10412 +#: ../NEWS:10455 msgid "" ":gh:`100374`: Fix incorrect result and delay in :func:`socket.getfqdn`. " "Patch by Dominic Socular." msgstr "" -#: ../NEWS:10415 +#: ../NEWS:10458 msgid "" ":gh:`100357`: Convert ``vars``, ``dir``, ``next``, ``getattr``, and ``iter`` " "to argument clinic." msgstr "" -#: ../NEWS:10418 +#: ../NEWS:10461 msgid "" ":gh:`100117`: Improve the output of :meth:`codeobject.co_lines` by emitting " "only one entry for each line range." msgstr "" -#: ../NEWS:10421 +#: ../NEWS:10464 msgid "" ":gh:`90043`: Handle NaNs when specializing :opcode:`COMPARE_OP` for :class:" "`float` values." msgstr "" -#: ../NEWS:10424 +#: ../NEWS:10467 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 "" -#: ../NEWS:10427 +#: ../NEWS:10470 msgid "" ":gh:`99955`: Internal compiler functions (in compile.c) now consistently " "return -1 on error and 0 on success." msgstr "" -#: ../NEWS:10430 +#: ../NEWS:10473 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 "" -#: ../NEWS:10434 +#: ../NEWS:10477 msgid "" ":gh:`99110`: Initialize frame->previous in frameobject.c to fix a " "segmentation fault when accessing frames created by :c:func:`PyFrame_New`." msgstr "" -#: ../NEWS:10437 +#: ../NEWS:10480 msgid "" ":gh:`94155`: Improved the hashing algorithm for code objects, mitigating " "some hash collisions." msgstr "" -#: ../NEWS:10440 +#: ../NEWS:10483 msgid "" ":gh:`99540`: ``None`` now hashes to a constant value. This is not a " "requirements change." msgstr "" -#: ../NEWS:10443 +#: ../NEWS:10486 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 "" -#: ../NEWS:10447 +#: ../NEWS:10490 msgid "" ":gh:`100146`: Improve ``BUILD_LIST`` opcode so that it works similarly to " "the ``BUILD_TUPLE`` opcode, by stealing references from the stack rather " @@ -18225,33 +18294,33 @@ msgid "" "details are in a new private API :c:func:`!_PyList_FromArraySteal`." msgstr "" -#: ../NEWS:10452 +#: ../NEWS:10495 msgid ":gh:`100110`: Specialize ``FOR_ITER`` for tuples." msgstr "" -#: ../NEWS:10454 +#: ../NEWS:10497 msgid "" ":gh:`100050`: Honor existing errors obtained when searching for mismatching " "parentheses in the tokenizer. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:10457 +#: ../NEWS:10500 msgid "" ":gh:`92216`: Improve the performance of :func:`hasattr` for type objects " "with a missing attribute." msgstr "" -#: ../NEWS:10460 +#: ../NEWS:10503 msgid ":gh:`99582`: Freeze :mod:`zipimport` module into ``_bootstrap_python``." msgstr "" -#: ../NEWS:10462 +#: ../NEWS:10505 msgid "" ":gh:`99554`: Pack debugging location tables more efficiently during bytecode " "compilation." msgstr "" -#: ../NEWS:10465 +#: ../NEWS:10508 msgid "" ":gh:`98522`: Add an internal version number to code objects, to give better " "versioning of inner functions and comprehensions, and thus better " @@ -18259,74 +18328,74 @@ msgid "" "and C extensions." msgstr "" -#: ../NEWS:10470 +#: ../NEWS:10513 msgid ":gh:`94603`: Improve performance of ``list.pop`` for small lists." msgstr "" -#: ../NEWS:10472 +#: ../NEWS:10515 msgid ":gh:`89051`: Add :const:`ssl.OP_LEGACY_SERVER_CONNECT`" msgstr "" -#: ../NEWS:10474 +#: ../NEWS:10517 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 "" -#: ../NEWS:10481 +#: ../NEWS:10524 msgid "" ":gh:`100833`: Speed up :func:`math.fsum` by removing defensive ``volatile`` " "qualifiers." msgstr "" -#: ../NEWS:10484 +#: ../NEWS:10527 msgid "" ":gh:`100805`: Modify :func:`random.choice` implementation to once again work " "with NumPy arrays." msgstr "" -#: ../NEWS:10487 +#: ../NEWS:10530 msgid ":gh:`100813`: Add :const:`socket.IP_PKTINFO` constant." msgstr "" -#: ../NEWS:10489 +#: ../NEWS:10532 msgid "" ":gh:`100792`: Make :meth:`email.message.Message.__contains__` twice as fast." msgstr "" -#: ../NEWS:10491 +#: ../NEWS:10534 msgid "" ":gh:`91851`: Microoptimizations for :meth:`fractions.Fraction.__round__`, :" "meth:`fractions.Fraction.__ceil__` and :meth:`fractions.Fraction.__floor__`." msgstr "" -#: ../NEWS:10495 +#: ../NEWS:10538 msgid "" ":gh:`90104`: Avoid RecursionError on ``repr`` if a dataclass field " "definition has a cyclic reference." msgstr "" -#: ../NEWS:10498 +#: ../NEWS:10541 msgid "" ":gh:`100689`: Fix crash in :mod:`pyexpat` by statically allocating " "``PyExpat_CAPI`` capsule." msgstr "" -#: ../NEWS:10501 +#: ../NEWS:10544 msgid "" ":gh:`100740`: Fix ``unittest.mock.Mock`` not respecting the spec for " "attribute names prefixed with ``assert``." msgstr "" -#: ../NEWS:10504 +#: ../NEWS:10547 msgid "" ":gh:`91219`: Change ``SimpleHTTPRequestHandler`` to support subclassing to " "provide a different set of index file names instead of using ``__init__`` " "parameters." msgstr "" -#: ../NEWS:10508 +#: ../NEWS:10551 msgid "" ":gh:`100690`: ``Mock`` objects which are not unsafe will now raise an " "``AttributeError`` when accessing an attribute that matches the name of an " @@ -18336,23 +18405,23 @@ msgid "" "``asert``, ``aseert``, and ``assrt``." msgstr "" -#: ../NEWS:10515 +#: ../NEWS:10558 msgid "" ":gh:`89727`: Simplify and optimize :func:`os.walk` by using :func:" "`isinstance` checks to check the top of the stack." msgstr "" -#: ../NEWS:10518 +#: ../NEWS:10561 msgid ":gh:`100485`: Add math.sumprod() to compute the sum of products." msgstr "" -#: ../NEWS:10520 +#: ../NEWS:10563 msgid "" ":gh:`86508`: Fix :func:`asyncio.open_connection` to skip binding to local " "addresses of different family. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10523 +#: ../NEWS:10566 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 " @@ -18362,88 +18431,88 @@ msgid "" "``anchor`` parameter is now optional and will default to the caller's module." msgstr "" -#: ../NEWS:10531 +#: ../NEWS:10574 msgid "" ":gh:`100585`: Fixed a bug where importlib.resources.as_file was leaving file " "pointers open" msgstr "" -#: ../NEWS:10534 +#: ../NEWS:10577 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 "" -#: ../NEWS:10539 +#: ../NEWS:10582 msgid "" ":gh:`100519`: Small simplification of :func:`http.cookiejar." "eff_request_host` that improves readability and better matches the RFC " "wording." msgstr "" -#: ../NEWS:10542 +#: ../NEWS:10585 msgid "" ":gh:`100287`: Fix the interaction of :func:`unittest.mock.seal` with :class:" "`unittest.mock.AsyncMock`." msgstr "" -#: ../NEWS:10545 +#: ../NEWS:10588 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 "" -#: ../NEWS:10549 +#: ../NEWS:10592 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 "" -#: ../NEWS:10553 +#: ../NEWS:10596 msgid "" ":gh:`100363`: Speed up :func:`asyncio.get_running_loop` by removing " "redundant ``getpid`` checks. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10556 +#: ../NEWS:10599 msgid "" ":gh:`78878`: Fix crash when creating an instance of :class:`!_ctypes.CField`." msgstr "" -#: ../NEWS:10558 +#: ../NEWS:10601 msgid "" ":gh:`100348`: Fix ref cycle in :class:`!asyncio._SelectorSocketTransport` by " "removing ``_read_ready_cb`` in ``close``." msgstr "" -#: ../NEWS:10561 +#: ../NEWS:10604 msgid "" ":gh:`100344`: Provide C implementation for :func:`asyncio.current_task` for " "a 4x-6x speedup." msgstr "" -#: ../NEWS:10564 +#: ../NEWS:10607 msgid "" ":gh:`100272`: Fix JSON serialization of OrderedDict. It now preserves the " "order of keys." msgstr "" -#: ../NEWS:10567 +#: ../NEWS:10610 msgid "" ":gh:`83076`: Instantiation of ``Mock()`` and ``AsyncMock()`` is now 3.8x " "faster." msgstr "" -#: ../NEWS:10570 +#: ../NEWS:10613 msgid "" ":gh:`100234`: Set a default value of 1.0 for the ``lambd`` parameter in " "random.expovariate()." msgstr "" -#: ../NEWS:10573 +#: ../NEWS:10616 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 " @@ -18452,29 +18521,29 @@ msgid "" "Python may not be aware of all threads." msgstr "" -#: ../NEWS:10579 +#: ../NEWS:10622 msgid ":gh:`100039`: Improve signatures for enums and flags." msgstr "" -#: ../NEWS:10581 +#: ../NEWS:10624 msgid "" ":gh:`100133`: Fix regression in :mod:`asyncio` where a subprocess would " "sometimes lose data received from pipe." msgstr "" -#: ../NEWS:10584 +#: ../NEWS:10627 msgid "" ":issue:`44592`: Fixes inconsistent handling of case sensitivity of " "*extrasaction* arg in :class:`csv.DictWriter`." msgstr "" -#: ../NEWS:10587 +#: ../NEWS:10630 msgid "" ":gh:`100098`: Fix ``tuple`` subclasses being cast to ``tuple`` when used as " "enum values." msgstr "" -#: ../NEWS:10590 +#: ../NEWS:10633 msgid "" ":gh:`85432`: Rename the *fmt* parameter of the pure-Python implementation " "of :meth:`datetime.time.strftime` to *format*. Rename the *t* parameter of :" @@ -18483,13 +18552,13 @@ msgid "" "parameter names in the C implementation. Patch by Alex Waygood." msgstr "" -#: ../NEWS:10596 +#: ../NEWS:10639 msgid "" ":gh:`98778`: Update :exc:`~urllib.error.HTTPError` to be initialized " "properly, even if the ``fp`` is ``None``. Patch by Donghee Na." msgstr "" -#: ../NEWS:10599 +#: ../NEWS:10642 msgid "" ":gh:`99925`: Unify error messages in JSON serialization between ``json." "dumps(float('nan'), allow_nan=False)`` and ``json.dumps(float('nan'), " @@ -18497,14 +18566,14 @@ msgid "" "of the value that could not be serialized." msgstr "" -#: ../NEWS:10604 +#: ../NEWS:10647 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 "" -#: ../NEWS:10608 +#: ../NEWS:10651 msgid "" ":gh:`94943`: Add :ref:`enum-dataclass-support` to the :class:`~enum.Enum` :" "meth:`~enum.Enum.__repr__`. When inheriting from a :class:`~dataclasses." @@ -18512,44 +18581,44 @@ msgid "" "func:`repr`, and not the dataclass' class name." msgstr "" -#: ../NEWS:10613 +#: ../NEWS:10656 msgid "" ":gh:`83035`: Fix :func:`inspect.getsource` handling of decorator calls with " "nested parentheses." msgstr "" -#: ../NEWS:10616 +#: ../NEWS:10659 msgid "" ":gh:`99576`: Fix ``.save()`` method for ``LWPCookieJar`` and " "``MozillaCookieJar``: saved file was not truncated on repeated save." msgstr "" -#: ../NEWS:10619 +#: ../NEWS:10662 msgid "" ":gh:`94912`: Add :func:`inspect.markcoroutinefunction` decorator which " "manually marks a function as a coroutine for the benefit of :func:" "`iscoroutinefunction`." msgstr "" -#: ../NEWS:10623 +#: ../NEWS:10666 msgid "" ":gh:`99509`: Add :pep:`585` support for :class:`multiprocessing.queues." "Queue`." msgstr "" -#: ../NEWS:10626 +#: ../NEWS:10669 msgid "" ":gh:`99482`: Remove ``Jython`` partial compatibility code from several " "stdlib modules." msgstr "" -#: ../NEWS:10629 +#: ../NEWS:10672 msgid "" ":gh:`99433`: Fix :mod:`doctest` failure on :class:`types.MethodWrapperType` " "in modules." msgstr "" -#: ../NEWS:10632 +#: ../NEWS:10675 msgid "" ":gh:`85267`: Several improvements to :func:`inspect.signature`'s handling of " "``__text_signature``. - Fixes a case where :func:`inspect.signature` dropped " @@ -18561,14 +18630,14 @@ msgid "" "raise :exc:`ValueError` - Removed a dead code path" msgstr "" -#: ../NEWS:10641 +#: ../NEWS:10684 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 "" -#: ../NEWS:10645 +#: ../NEWS:10688 msgid "" ":gh:`98030`: Add missing TCP socket options from Linux: ``TCP_MD5SIG``, " "``TCP_THIN_LINEAR_TIMEOUTS``, ``TCP_THIN_DUPACK``, ``TCP_REPAIR``, " @@ -18579,20 +18648,20 @@ msgid "" "``TCP_ZEROCOPY_RECEIVE``, ``TCP_INQ``, ``TCP_TX_DELAY``." msgstr "" -#: ../NEWS:10653 +#: ../NEWS:10696 msgid "" ":gh:`88500`: Reduced the memory usage of :func:`urllib.parse.unquote` and :" "func:`urllib.parse.unquote_to_bytes` on large values." msgstr "" -#: ../NEWS:10656 +#: ../NEWS:10699 msgid "" ":gh:`96127`: ``inspect.signature`` was raising ``TypeError`` on call with " "mock objects. Now it correctly returns ``(*args, **kwargs)`` as inferred " "signature." msgstr "" -#: ../NEWS:10660 +#: ../NEWS:10703 msgid "" ":gh:`95882`: Fix a 3.11 regression in :func:`~contextlib." "asynccontextmanager`, which caused it to propagate exceptions with incorrect " @@ -18601,25 +18670,25 @@ msgid "" "`StopIteration`." msgstr "" -#: ../NEWS:10666 +#: ../NEWS:10709 msgid "" ":gh:`78707`: Deprecate passing more than one positional argument to :meth:" "`pathlib.PurePath.relative_to` and :meth:`~pathlib.PurePath.is_relative_to`." msgstr "" -#: ../NEWS:10670 +#: ../NEWS:10713 msgid "" ":gh:`92122`: Fix reStructuredText syntax errors in docstrings in the :mod:" "`enum` module." msgstr "" -#: ../NEWS:10673 +#: ../NEWS:10716 msgid "" ":gh:`91851`: Optimize the :class:`~fractions.Fraction` arithmetics for small " "components." msgstr "" -#: ../NEWS:10676 +#: ../NEWS:10719 msgid "" ":issue:`24132`: Make :class:`pathlib.PurePath` and :class:`~pathlib.Path` " "subclassable (private to start). Previously, attempting to instantiate a " @@ -18627,57 +18696,57 @@ msgid "" "Gale." msgstr "" -#: ../NEWS:10681 +#: ../NEWS:10724 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 "" -#: ../NEWS:10685 +#: ../NEWS:10728 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 "" -#: ../NEWS:10692 +#: ../NEWS:10735 msgid "" ":gh:`100616`: Document existing ``attr`` parameter to :func:`curses.window." "vline` function in :mod:`curses`." msgstr "" -#: ../NEWS:10695 +#: ../NEWS:10738 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 "" -#: ../NEWS:10700 +#: ../NEWS:10743 msgid "" ":issue:`25377`: Clarify use of octal format of mode argument in help(os." "chmod) as well as help(os.fchmod)" msgstr "" -#: ../NEWS:10706 +#: ../NEWS:10749 msgid ":gh:`100454`: Start running SSL tests with OpenSSL 3.1.0-beta1." msgstr "" -#: ../NEWS:10708 +#: ../NEWS:10751 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 "" -#: ../NEWS:10712 +#: ../NEWS:10755 msgid "" ":gh:`93018`: Make two tests forgiving towards host system libexpat with " "backported security fixes applied." msgstr "" -#: ../NEWS:10718 +#: ../NEWS:10761 msgid "" ":gh:`100540`: Removed the ``--with-system-ffi`` ``configure`` option; " "``libffi`` must now always be supplied by the system on all non-Windows " @@ -18689,90 +18758,90 @@ msgid "" "found." msgstr "" -#: ../NEWS:10727 +#: ../NEWS:10770 msgid "" ":gh:`88267`: Avoid exporting Python symbols in linked Windows applications " "when the core is built as static." msgstr "" -#: ../NEWS:10730 +#: ../NEWS:10773 msgid "" ":issue:`41916`: Allow override of ac_cv_cxx_thread so that cross compiled " "python can set -pthread for CXX." msgstr "" -#: ../NEWS:10736 +#: ../NEWS:10779 msgid ":gh:`100180`: Update Windows installer to OpenSSL 1.1.1s" msgstr "" -#: ../NEWS:10738 +#: ../NEWS:10781 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 "" -#: ../NEWS:10742 +#: ../NEWS:10785 msgid "" ":gh:`79218`: Define ``MS_WIN64`` for Mingw-w64 64bit, fix cython compilation " "failure." msgstr "" -#: ../NEWS:10745 +#: ../NEWS:10788 msgid "" ":gh:`99941`: Ensure that :func:`asyncio.Protocol.data_received` receives an " "immutable :class:`bytes` object (as documented), instead of :class:" "`bytearray`." msgstr "" -#: ../NEWS:10749 +#: ../NEWS:10792 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 "" -#: ../NEWS:10753 +#: ../NEWS:10796 msgid "" ":issue:`34816`: ``hasattr(ctypes.windll, 'nonexistant')`` now returns " "``False`` instead of raising :exc:`OSError`." msgstr "" -#: ../NEWS:10759 +#: ../NEWS:10802 msgid ":gh:`100180`: Update macOS installer to OpenSSL 1.1.1s" msgstr "" -#: ../NEWS:10761 +#: ../NEWS:10804 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 "" -#: ../NEWS:10767 +#: ../NEWS:10810 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 "" -#: ../NEWS:10770 +#: ../NEWS:10813 msgid "" ":gh:`100342`: Add missing ``NULL`` check for possible allocation failure in " "``*args`` parsing in Argument Clinic." msgstr "" -#: ../NEWS:10776 +#: ../NEWS:10819 msgid "" ":gh:`99947`: Raising SystemError on import will now have its cause be set to " "the original unexpected exception." msgstr "" -#: ../NEWS:10779 +#: ../NEWS:10822 msgid "" ":gh:`99240`: In argument parsing, after deallocating newly allocated memory, " "reset its pointer to NULL." msgstr "" -#: ../NEWS:10782 +#: ../NEWS:10825 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 " @@ -18780,117 +18849,117 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:10789 +#: ../NEWS:10832 msgid "Python 3.12.0 alpha 3" msgstr "" -#: ../NEWS:10791 +#: ../NEWS:10834 msgid "*Release date: 2022-12-06*" msgstr "" -#: ../NEWS:10796 +#: ../NEWS:10839 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 "" -#: ../NEWS:10800 +#: ../NEWS:10843 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 "" -#: ../NEWS:10804 +#: ../NEWS:10847 msgid "" ":gh:`87604`: Avoid publishing list of active per-interpreter audit hooks via " "the :mod:`gc` module" msgstr "" -#: ../NEWS:10810 +#: ../NEWS:10853 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 "" -#: ../NEWS:10814 +#: ../NEWS:10857 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 "" -#: ../NEWS:10818 +#: ../NEWS:10861 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 "" -#: ../NEWS:10822 +#: ../NEWS:10865 msgid "" ":gh:`99708`: Fix bug where compiler crashes on an if expression with an " "empty body block." msgstr "" -#: ../NEWS:10825 +#: ../NEWS:10868 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 "" -#: ../NEWS:10829 +#: ../NEWS:10872 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 "" -#: ../NEWS:10833 +#: ../NEWS:10876 msgid "" ":gh:`99553`: Fix bug where an :exc:`ExceptionGroup` subclass can wrap a :exc:" "`BaseException`." msgstr "" -#: ../NEWS:10836 +#: ../NEWS:10879 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 "" -#: ../NEWS:10839 +#: ../NEWS:10882 msgid "" ":gh:`99370`: Fix zip path for venv created from a non-installed python on " "POSIX platforms." msgstr "" -#: ../NEWS:10842 +#: ../NEWS:10885 msgid ":gh:`99377`: Add audit events for thread creation and clear operations." msgstr "" -#: ../NEWS:10844 +#: ../NEWS:10887 msgid "" ":gh:`98686`: Remove the ``BINARY_OP_GENERIC`` and ``COMPARE_OP_GENERIC`` " "\"specializations\"." msgstr "" -#: ../NEWS:10847 +#: ../NEWS:10890 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 "" -#: ../NEWS:10851 +#: ../NEWS:10894 msgid "" ":gh:`99127`: Allow some features of :mod:`syslog` to the main interpreter " "only. Patch by Donghee Na." msgstr "" -#: ../NEWS:10854 +#: ../NEWS:10897 msgid "" ":gh:`91053`: Optimizing interpreters and JIT compilers may need to " "invalidate internal metadata when functions are modified. This change adds " @@ -18898,7 +18967,7 @@ msgid "" "is created, modified, or destroyed." msgstr "" -#: ../NEWS:10859 +#: ../NEWS:10902 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 " @@ -18907,27 +18976,27 @@ msgid "" "argument, eg ``foo(**kwarg={'a': 0})``." msgstr "" -#: ../NEWS:10865 +#: ../NEWS:10908 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 "" -#: ../NEWS:10869 +#: ../NEWS:10912 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 "" -#: ../NEWS:10873 +#: ../NEWS:10916 msgid "" ":issue:`38031`: Fix a possible assertion failure in :class:`io.FileIO` when " "the opener returns an invalid file descriptor." msgstr "" -#: ../NEWS:10879 +#: ../NEWS:10922 msgid "" ":gh:`100001`: Also \\ escape \\s in the http.server BaseHTTPRequestHandler." "log_message so that it is technically possible to parse the line and " @@ -18936,25 +19005,25 @@ msgid "" "through in the original request line." msgstr "" -#: ../NEWS:10885 +#: ../NEWS:10928 msgid "" ":gh:`99957`: Add ``frozen_default`` parameter to :func:`typing." "dataclass_transform`." msgstr "" -#: ../NEWS:10888 +#: ../NEWS:10931 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 "" -#: ../NEWS:10892 +#: ../NEWS:10935 msgid "" ":gh:`51524`: Fix bug when calling trace.CoverageResults with valid infile." msgstr "" -#: ../NEWS:10894 +#: ../NEWS:10937 msgid "" ":gh:`99645`: Fix a bug in handling class cleanups in :class:`unittest." "TestCase`. Now ``addClassCleanup()`` uses separate lists for different " @@ -18962,99 +19031,99 @@ msgid "" "particular class." msgstr "" -#: ../NEWS:10899 +#: ../NEWS:10942 msgid "" ":gh:`99508`: Fix ``TypeError`` in ``Lib/importlib/_bootstrap_external.py`` " "while calling ``_imp.source_hash()``." msgstr "" -#: ../NEWS:10902 +#: ../NEWS:10945 msgid "" ":gh:`66285`: Fix :mod:`asyncio` to not share event loop and signal wakeupfd " "in forked processes. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10905 +#: ../NEWS:10948 msgid "" ":gh:`97001`: Release the GIL when calling termios APIs to avoid blocking " "threads." msgstr "" -#: ../NEWS:10908 +#: ../NEWS:10951 msgid "" ":gh:`92647`: Use final status of an enum to determine lookup or creation " "branch of functional API." msgstr "" -#: ../NEWS:10911 +#: ../NEWS:10954 msgid "" ":gh:`99388`: Add *loop_factory* parameter to :func:`asyncio.run` to allow " "specifying a custom event loop factory. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:10914 +#: ../NEWS:10957 msgid "" ":gh:`99341`: Fix :func:`ast.increment_lineno` to also cover :class:`ast." "TypeIgnore` when changing line numbers." msgstr "" -#: ../NEWS:10917 +#: ../NEWS:10960 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 "" -#: ../NEWS:10921 +#: ../NEWS:10964 msgid "" ":gh:`99379`: Fix substitution of :class:`~typing.ParamSpec` followed by :" "class:`~typing.TypeVarTuple` in generic aliases." msgstr "" -#: ../NEWS:10924 +#: ../NEWS:10967 msgid "" ":gh:`99344`: Fix substitution of :class:`~typing.TypeVarTuple` and :class:" "`~typing.ParamSpec` together in user generics." msgstr "" -#: ../NEWS:10927 +#: ../NEWS:10970 msgid "" ":gh:`99284`: Remove ``_use_broken_old_ctypes_structure_semantics_`` old " "untested and undocumented hack from :mod:`ctypes`." msgstr "" -#: ../NEWS:10930 +#: ../NEWS:10973 msgid "" ":gh:`99201`: Fix :exc:`IndexError` when initializing the config variables on " "Windows if ``HAVE_DYNAMIC_LOADING`` is not set." msgstr "" -#: ../NEWS:10933 +#: ../NEWS:10976 msgid "" ":gh:`99240`: Fix double-free bug in Argument Clinic ``str_converter`` by " "extracting memory clean up to a new ``post_parsing`` section." msgstr "" -#: ../NEWS:10936 +#: ../NEWS:10979 msgid "" ":gh:`64490`: Fix refcount error when arguments are packed to tuple in " "Argument Clinic." msgstr "" -#: ../NEWS:10939 +#: ../NEWS:10982 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 "" -#: ../NEWS:10943 +#: ../NEWS:10986 msgid "" ":gh:`98253`: The implementation of the typing module is now more resilient " "to reference leaks in binary extension modules." msgstr "" -#: ../NEWS:10946 +#: ../NEWS:10989 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 " @@ -19065,13 +19134,13 @@ msgid "" "isolation." msgstr "" -#: ../NEWS:10954 +#: ../NEWS:10997 msgid "" ":gh:`98458`: Fix infinite loop in unittest when a self-referencing chained " "exception is raised" msgstr "" -#: ../NEWS:10957 +#: ../NEWS:11000 msgid "" ":gh:`93453`: :func:`asyncio.get_event_loop` and many other :mod:`asyncio` " "functions like :func:`asyncio.ensure_future`, :func:`asyncio.shield` or :" @@ -19084,44 +19153,44 @@ msgid "" "but the current event loop was set." msgstr "" -#: ../NEWS:10967 +#: ../NEWS:11010 msgid "" ":gh:`97966`: On ``uname_result``, restored expectation that ``_fields`` and " "``_asdict`` would include all six properties including ``processor``." msgstr "" -#: ../NEWS:10970 +#: ../NEWS:11013 msgid "" ":gh:`98248`: Provide informative error messages in :func:`struct.pack` when " "its integral arguments are not in range." msgstr "" -#: ../NEWS:10973 +#: ../NEWS:11016 msgid "" ":gh:`98108`: ``zipfile.Path`` is now pickleable if its initialization " "parameters were pickleable (e.g. for file system paths)." msgstr "" -#: ../NEWS:10976 +#: ../NEWS:11019 msgid "" ":gh:`98098`: Created packages from zipfile and test_zipfile modules, " "separating ``zipfile.Path`` functionality." msgstr "" -#: ../NEWS:10979 +#: ../NEWS:11022 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 "" -#: ../NEWS:10983 +#: ../NEWS:11026 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 "" -#: ../NEWS:10986 +#: ../NEWS:11029 msgid "" ":gh:`88863`: To avoid apparent memory leaks when :func:`asyncio." "open_connection` raises, break reference cycles generated by local exception " @@ -19129,114 +19198,114 @@ msgid "" "by Dong Uk, Kang." msgstr "" -#: ../NEWS:10991 +#: ../NEWS:11034 msgid "" ":gh:`91078`: :meth:`TarFile.next` now returns ``None`` when called on an " "empty tarfile." msgstr "" -#: ../NEWS:10994 +#: ../NEWS:11037 msgid "" ":issue:`47220`: Document the optional *callback* parameter of :class:" "`WeakMethod`. Patch by Géry Ogam." msgstr "" -#: ../NEWS:10997 +#: ../NEWS:11040 msgid "" ":issue:`44817`: Ignore WinError 53 (ERROR_BAD_NETPATH), 65 " "(ERROR_NETWORK_ACCESS_DENIED) and 161 (ERROR_BAD_PATHNAME) when using ntpath." "realpath()." msgstr "" -#: ../NEWS:11001 +#: ../NEWS:11044 msgid "" ":issue:`41260`: Rename the *fmt* parameter of the pure Python implementation " "of :meth:`datetime.date.strftime` to *format*." msgstr "" -#: ../NEWS:11004 +#: ../NEWS:11047 msgid "" ":issue:`15999`: All built-in functions now accept arguments of any type " "instead of just ``bool`` and ``int`` for boolean parameters." msgstr "" -#: ../NEWS:11010 +#: ../NEWS:11053 msgid "" ":gh:`99931`: Use `sphinxext-opengraph `__ to generate `OpenGraph metadata `__." msgstr "" -#: ../NEWS:11014 +#: ../NEWS:11057 msgid "" ":gh:`89682`: Reworded docstring of the default ``__contains__`` to clarify " "that it returns a :class:`bool`." msgstr "" -#: ../NEWS:11017 +#: ../NEWS:11060 msgid "" ":gh:`88330`: Improved the description of what a resource is in importlib." "resources docs." msgstr "" -#: ../NEWS:11020 +#: ../NEWS:11063 msgid "" ":gh:`92892`: Document that calling variadic functions with ctypes requires " "special care on macOS/arm64 (and possibly other platforms)." msgstr "" -#: ../NEWS:11023 +#: ../NEWS:11066 msgid "" ":issue:`41825`: Restructured the documentation for the :func:`os.wait* ` family of functions, and improved the docs for :func:`os.waitid` with " "more explanation of the possible argument constants." msgstr "" -#: ../NEWS:11031 +#: ../NEWS:11074 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 "" -#: ../NEWS:11035 +#: ../NEWS:11078 msgid "" ":gh:`99934`: Correct test_marsh on (32 bit) x86: test_deterministic sets was " "failing." msgstr "" -#: ../NEWS:11038 +#: ../NEWS:11081 msgid "" ":gh:`99741`: We've implemented multi-phase init (PEP 489/630/687) for the " "internal (for testing) _xxsubinterpreters module." msgstr "" -#: ../NEWS:11041 +#: ../NEWS:11084 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 "" -#: ../NEWS:11045 +#: ../NEWS:11088 msgid ":gh:`99593`: Cover the Unicode C API with tests." msgstr "" -#: ../NEWS:11047 +#: ../NEWS:11090 msgid ":gh:`96002`: Add functional test for Argument Clinic." msgstr "" -#: ../NEWS:11052 +#: ../NEWS:11095 msgid "" ":gh:`99086`: Fix ``-Wimplicit-int``, ``-Wstrict-prototypes``, and ``-" "Wimplicit-function-declaration`` compiler warnings in :program:`configure` " "checks." msgstr "" -#: ../NEWS:11056 +#: ../NEWS:11099 msgid ":gh:`99337`: Fix a compilation issue with GCC 12 on macOS." msgstr "" -#: ../NEWS:11058 +#: ../NEWS:11101 msgid "" ":gh:`99289`: Add a ``COMPILEALL_OPTS`` variable in Makefile to override :mod:" "`compileall` options (default: ``-j0``) in ``make install``. Also merged the " @@ -19244,89 +19313,89 @@ msgid "" "all optimization levels (0, 1, 2) at once. Patch by Victor Stinner." msgstr "" -#: ../NEWS:11064 +#: ../NEWS:11107 msgid "" ":gh:`98872`: Fix a possible fd leak in ``Programs/_freeze_module.c`` " "introduced in Python 3.11." msgstr "" -#: ../NEWS:11067 +#: ../NEWS:11110 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 "" -#: ../NEWS:11074 +#: ../NEWS:11117 msgid "" ":gh:`99345`: Use faster initialization functions to detect install location " "for Windows Store package" msgstr "" -#: ../NEWS:11077 +#: ../NEWS:11120 msgid "" ":gh:`98629`: Fix initialization of :data:`sys.version` and ``sys._git`` on " "Windows" msgstr "" -#: ../NEWS:11080 +#: ../NEWS:11123 msgid "" ":gh:`99442`: Fix handling in :ref:`launcher` when ``argv[0]`` does not " "include a file extension." msgstr "" -#: ../NEWS:11083 +#: ../NEWS:11126 msgid "" ":issue:`40882`: Fix a memory leak in :class:`multiprocessing.shared_memory." "SharedMemory` on Windows." msgstr "" -#: ../NEWS:11089 +#: ../NEWS:11132 msgid "" ":gh:`87235`: On macOS ``python3 /dev/fd/9 9` with unhashable " "exceptions." msgstr "" -#: ../NEWS:11173 +#: ../NEWS:11216 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 " @@ -19417,19 +19486,19 @@ msgid "" "\"python.\")." msgstr "" -#: ../NEWS:11179 +#: ../NEWS:11222 msgid "" ":gh:`96055`: Update :mod:`faulthandler` to emit an error message with the " "proper unexpected signal number. Patch by Donghee Na." msgstr "" -#: ../NEWS:11182 +#: ../NEWS:11225 msgid "" ":gh:`99153`: Fix location of :exc:`SyntaxError` for a :keyword:`try` block " "with both :keyword:`except` and :keyword:`except* `." msgstr "" -#: ../NEWS:11185 +#: ../NEWS:11228 msgid "" ":gh:`98686`: Merge the adaptive opcode logic into each instruction's " "unquickened variant, and merge the logic in ``EXTENDED_ARG_QUICK`` into :" @@ -19438,13 +19507,13 @@ msgid "" "counters and inserting superinstructions." msgstr "" -#: ../NEWS:11191 +#: ../NEWS:11234 msgid "" ":gh:`99103`: Fix the error reporting positions of specialized traceback " "anchors when the source line contains Unicode characters." msgstr "" -#: ../NEWS:11194 +#: ../NEWS:11237 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 " @@ -19453,7 +19522,7 @@ msgid "" "the method scope. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:11200 +#: ../NEWS:11243 msgid "" ":gh:`98401`: Octal escapes with value larger than ``0o377`` (ex: " "``\"\\477\"``), deprecated in Python 3.11, now produce a :exc:" @@ -19462,7 +19531,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:11205 +#: ../NEWS:11248 msgid "" ":gh:`98401`: A backslash-character pair that is not a valid escape sequence " "now generates a :exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. " @@ -19473,20 +19542,20 @@ msgid "" "`SyntaxWarning`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:11213 +#: ../NEWS:11256 msgid "" ":gh:`96793`: Handle StopIteration and StopAsyncIteration raised in generator " "or coroutines in the bytecode, rather than in wrapping C code." msgstr "" -#: ../NEWS:11216 +#: ../NEWS:11259 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 "" -#: ../NEWS:11219 +#: ../NEWS:11262 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 " @@ -19494,19 +19563,19 @@ msgid "" "type variable." msgstr "" -#: ../NEWS:11224 +#: ../NEWS:11267 msgid "" ":gh:`98925`: Lower the recursion depth for marshal on WASI to support (in-" "development) wasmtime 2.0." msgstr "" -#: ../NEWS:11227 +#: ../NEWS:11270 msgid "" ":gh:`98783`: Fix multiple crashes in debug mode when ``str`` subclasses are " "used instead of ``str`` itself." msgstr "" -#: ../NEWS:11230 +#: ../NEWS:11273 msgid "" ":gh:`98811`: Use complete source locations to simplify detection of " "``__future__`` imports which are not at the beginning of the file. Also " @@ -19514,39 +19583,39 @@ msgid "" "one and impeded highlighting." msgstr "" -#: ../NEWS:11235 +#: ../NEWS:11278 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 "" -#: ../NEWS:11240 +#: ../NEWS:11283 msgid ":gh:`98762`: Fix source locations of :keyword:`match` sub-patterns." msgstr "" -#: ../NEWS:11242 +#: ../NEWS:11285 msgid "" ":gh:`98586`: Added the methods :c:func:`PyObject_Vectorcall` and :c:func:" "`PyObject_VectorcallMethod` to the :ref:`Limited API ` along with " "the auxiliary macro constant :c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`." msgstr "" -#: ../NEWS:11247 +#: ../NEWS:11290 msgid "" "The availability of these functions enables more efficient :PEP:`590` vector " "calls from binary extension modules that avoid argument boxing/unboxing " "overheads." msgstr "" -#: ../NEWS:11251 +#: ../NEWS:11294 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 "" -#: ../NEWS:11256 +#: ../NEWS:11299 msgid "" ":gh:`93143`: Rather than changing :attr:`~types.CodeType.co_code`, the " "interpreter will now display a :exc:`RuntimeWarning` and assign :const:" @@ -19554,7 +19623,7 @@ msgid "" "`del` statements executed while tracing." msgstr "" -#: ../NEWS:11261 +#: ../NEWS:11304 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 " @@ -19565,7 +19634,7 @@ msgid "" "FRAME_OWNED_BY_CSTACK``." msgstr "" -#: ../NEWS:11269 +#: ../NEWS:11312 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:" @@ -19573,115 +19642,115 @@ msgid "" "now clear the frame." msgstr "" -#: ../NEWS:11274 +#: ../NEWS:11317 msgid "" ":gh:`98415`: Fix detection of MAC addresses for :mod:`uuid` on certain OSs. " "Patch by Chaim Sanders" msgstr "" -#: ../NEWS:11277 +#: ../NEWS:11320 msgid "" ":gh:`98686`: Quicken all code objects, and specialize adaptive bytecode " "instructions more aggressively." msgstr "" -#: ../NEWS:11280 +#: ../NEWS:11323 msgid "" ":gh:`92119`: Print exception class name instead of its string representation " "when raising errors from :mod:`ctypes` calls." msgstr "" -#: ../NEWS:11283 +#: ../NEWS:11326 msgid "" ":gh:`91058`: :exc:`ImportError` raised from failed ``from import " "`` now include suggestions for the value of ```` based on the " "available names in ````. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:11287 +#: ../NEWS:11330 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 "" -#: ../NEWS:11291 +#: ../NEWS:11334 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 "" -#: ../NEWS:11295 +#: ../NEWS:11338 msgid "" ":gh:`95389`: Expose :const:`~socket.ETH_P_ALL` and some of the :ref:" "`ETHERTYPE_* constants ` in :mod:`socket`. Patch by " "Noam Cohen." msgstr "" -#: ../NEWS:11299 +#: ../NEWS:11342 msgid "" ":gh:`93696`: Allow :mod:`pdb` to locate source for frozen modules in the " "standard library." msgstr "" -#: ../NEWS:11305 +#: ../NEWS:11348 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 "" -#: ../NEWS:11309 +#: ../NEWS:11352 msgid "" ":gh:`94597`: Deprecate :class:`asyncio.AbstractChildWatcher` to be removed " "in Python 3.14. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11312 +#: ../NEWS:11355 msgid ":gh:`99305`: Improve performance of :func:`secrets.token_hex`." msgstr "" -#: ../NEWS:11314 +#: ../NEWS:11357 msgid "" ":gh:`74044`: Fixed bug where :func:`inspect.signature` reported incorrect " "arguments for decorated methods." msgstr "" -#: ../NEWS:11317 +#: ../NEWS:11360 msgid "" ":gh:`99275`: Fix ``SystemError`` in :mod:`ctypes` when exception was not set " "during ``__initsubclass__``." msgstr "" -#: ../NEWS:11320 +#: ../NEWS:11363 msgid "" ":gh:`99277`: Remove older version of ``_SSLProtocolTransport." "get_write_buffer_limits`` in :mod:`!asyncio.sslproto`" msgstr "" -#: ../NEWS:11324 +#: ../NEWS:11367 msgid ":gh:`99248`: fix negative numbers failing in verify()" msgstr "" -#: ../NEWS:11326 +#: ../NEWS:11369 msgid "" ":gh:`99155`: Fix :class:`statistics.NormalDist` pickle with ``0`` and ``1`` " "protocols." msgstr "" -#: ../NEWS:11329 +#: ../NEWS:11372 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 "" -#: ../NEWS:11333 +#: ../NEWS:11376 msgid ":gh:`99134`: Update the bundled copy of pip to version 22.3.1." msgstr "" -#: ../NEWS:11335 +#: ../NEWS:11378 msgid "" ":gh:`92584`: Remove the ``distutils`` package. It was deprecated in Python " "3.10 by :pep:`632` \"Deprecate distutils module\". For projects still using " @@ -19690,66 +19759,66 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:11341 +#: ../NEWS:11384 msgid "" ":gh:`98999`: Now :mod:`!_pyio` is consistent with :mod:`!_io` in raising " "``ValueError`` when executing methods over closed buffers." msgstr "" -#: ../NEWS:11344 +#: ../NEWS:11387 msgid "" ":gh:`83004`: Clean up refleak on failed module initialisation in :mod:`!" "_zoneinfo`" msgstr "" -#: ../NEWS:11347 +#: ../NEWS:11390 msgid "" ":gh:`83004`: Clean up refleaks on failed module initialisation in :mod:`!" "_pickle`" msgstr "" -#: ../NEWS:11350 +#: ../NEWS:11393 msgid "" ":gh:`83004`: Clean up refleak on failed module initialisation in :mod:`!_io`." msgstr "" -#: ../NEWS:11352 +#: ../NEWS:11395 msgid "" ":gh:`98897`: Fix memory leak in :func:`math.dist` when both points don't " "have the same dimension. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11355 +#: ../NEWS:11398 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 "" -#: ../NEWS:11358 +#: ../NEWS:11401 msgid "" ":gh:`98139`: In :mod:`importlib._bootstrap`, enhance namespace package repr " "to ````." msgstr "" -#: ../NEWS:11361 +#: ../NEWS:11404 msgid "" ":gh:`90352`: Fix ``_SelectorDatagramTransport`` to inherit from :class:" "`~asyncio.DatagramTransport` in :mod:`asyncio`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11365 +#: ../NEWS:11408 msgid "" ":gh:`98793`: Fix argument typechecks in :func:`!_overlapped.WSAConnect` and :" "func:`!_overlapped.Overlapped.WSASendTo` functions." msgstr "" -#: ../NEWS:11368 +#: ../NEWS:11411 msgid "" ":gh:`98744`: Prevent crashing in :mod:`traceback` when retrieving the byte-" "offset for some source files that contain certain unicode characters." msgstr "" -#: ../NEWS:11371 +#: ../NEWS:11414 msgid "" ":gh:`98740`: Fix internal error in the :mod:`re` module which in very rare " "circumstances prevented compilation of a regular expression containing a :" @@ -19757,61 +19826,61 @@ msgid "" "\"else\" branch." msgstr "" -#: ../NEWS:11376 +#: ../NEWS:11419 msgid "" ":gh:`98703`: Fix :meth:`asyncio.StreamWriter.drain` to call ``protocol." "connection_lost`` callback only once on Windows." msgstr "" -#: ../NEWS:11379 +#: ../NEWS:11422 msgid "" ":gh:`98624`: Add a mutex to unittest.mock.NonCallableMock to protect " "concurrent access to mock attributes." msgstr "" -#: ../NEWS:11382 +#: ../NEWS:11425 msgid "" ":gh:`98658`: The :class:`array.array` class now supports subscripting, " "making it a :term:`generic type`." msgstr "" -#: ../NEWS:11385 +#: ../NEWS:11428 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 "" -#: ../NEWS:11389 +#: ../NEWS:11432 msgid "" ":gh:`96151`: Allow ``BUILTINS`` to be a valid field name for frozen " "dataclasses." msgstr "" -#: ../NEWS:11392 +#: ../NEWS:11435 msgid "" ":gh:`98086`: Make sure ``patch.dict()`` can be applied on async functions." msgstr "" -#: ../NEWS:11394 +#: ../NEWS:11437 msgid "" ":gh:`72719`: Remove modules :mod:`!asyncore` and :mod:`!asynchat`, which " "were deprecated by :pep:`594`." msgstr "" -#: ../NEWS:11397 +#: ../NEWS:11440 msgid "" ":gh:`96192`: Fix handling of ``bytes`` :term:`path-like objects ` in :func:`os.ismount`." msgstr "" -#: ../NEWS:11400 +#: ../NEWS:11443 msgid "" ":gh:`94172`: :mod:`ftplib`: Remove the ``FTP_TLS.ssl_version`` class " "attribute: use the *context* parameter instead. Patch by Victor Stinner" msgstr "" -#: ../NEWS:11403 +#: ../NEWS:11446 msgid "" ":gh:`94172`: Remove the *keyfile* and *certfile* parameters from the :mod:" "`ftplib`, :mod:`imaplib`, :mod:`poplib` and :mod:`smtplib` modules, and the " @@ -19820,7 +19889,7 @@ msgid "" "(*ssl_context* in :mod:`imaplib`) instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:11410 +#: ../NEWS:11453 msgid "" ":gh:`83638`: Add the :attr:`~sqlite3.Connection.autocommit` attribute to :" "class:`sqlite3.Connection` and the *autocommit* parameter to :func:`sqlite3." @@ -19828,106 +19897,106 @@ msgid "" "transaction-control-autocommit>`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:11416 +#: ../NEWS:11459 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 "" -#: ../NEWS:11420 +#: ../NEWS:11463 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 "" -#: ../NEWS:11424 +#: ../NEWS:11467 msgid "" ":issue:`38523`: :func:`shutil.copytree` now applies the " "*ignore_dangling_symlinks* argument recursively." msgstr "" -#: ../NEWS:11427 +#: ../NEWS:11470 msgid "" ":issue:`40358`: Add walk_up argument in :meth:`pathlib.PurePath.relative_to`." msgstr "" -#: ../NEWS:11429 +#: ../NEWS:11472 msgid "" ":issue:`36267`: Fix IndexError in :class:`argparse.ArgumentParser` when a " "``store_true`` action is given an explicit argument." msgstr "" -#: ../NEWS:11435 +#: ../NEWS:11478 msgid "" ":gh:`98832`: Changes wording of docstring for :func:`pathlib.Path.iterdir`." msgstr "" -#: ../NEWS:11437 +#: ../NEWS:11480 msgid "" ":gh:`97966`: Update uname docs to clarify the special nature of the platform " "attribute and to indicate when it became late-bound." msgstr "" -#: ../NEWS:11443 +#: ../NEWS:11486 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 "" -#: ../NEWS:11446 +#: ../NEWS:11489 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 "" -#: ../NEWS:11450 +#: ../NEWS:11493 msgid "" ":gh:`87390`: Add tests for star-unpacking with PEP 646, and some other " "miscellaneous PEP 646 tests." msgstr "" -#: ../NEWS:11453 +#: ../NEWS:11496 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 "" -#: ../NEWS:11457 +#: ../NEWS:11500 msgid "" ":issue:`34272`: Some C API tests were moved into the new Lib/test/test_capi/ " "directory." msgstr "" -#: ../NEWS:11463 +#: ../NEWS:11506 msgid "" ":gh:`99086`: Fix ``-Wimplicit-int`` compiler warning in :program:`configure` " "check for ``PTHREAD_SCOPE_SYSTEM``." msgstr "" -#: ../NEWS:11466 +#: ../NEWS:11509 msgid ":gh:`99016`: Fix build with ``PYTHON_FOR_REGEN=python3.8``." msgstr "" -#: ../NEWS:11468 +#: ../NEWS:11511 msgid "" ":gh:`97731`: Specify the full path to the source location for ``make " "docclean`` (needed for cross-builds)." msgstr "" -#: ../NEWS:11471 +#: ../NEWS:11514 msgid ":gh:`98949`: Drop unused build dependency on ``readelf``." msgstr "" -#: ../NEWS:11473 +#: ../NEWS:11516 msgid "" ":gh:`98989`: Use ``python3.11``, if available, for regeneration and freezing." msgstr "" -#: ../NEWS:11475 +#: ../NEWS:11518 msgid "" ":gh:`98831`: Add new tooling, in ``Tools/cases_generator``, to generate the " "interpreter switch statement from a list of opcode definitions. This only " @@ -19940,19 +20009,19 @@ msgid "" "switch." msgstr "" -#: ../NEWS:11485 +#: ../NEWS:11528 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 "" -#: ../NEWS:11489 +#: ../NEWS:11532 msgid "" ":gh:`98776`: Fix ``make regen-test-levenshtein`` for out-of-tree builds." msgstr "" -#: ../NEWS:11491 +#: ../NEWS:11534 msgid "" ":gh:`98707`: Don't use vendored ``libmpdec`` headers if :option:`--with-" "system-libmpdec` is passed to :program:`configure`. Don't use vendored " @@ -19960,40 +20029,40 @@ msgid "" "`configure`." msgstr "" -#: ../NEWS:11499 +#: ../NEWS:11542 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 "" -#: ../NEWS:11503 +#: ../NEWS:11546 msgid "" ":gh:`98790`: Assumes that a missing ``DLLs`` directory means that standard " "extension modules are in the executable's directory." msgstr "" -#: ../NEWS:11506 +#: ../NEWS:11549 msgid "" ":gh:`98745`: Update :file:`py.exe` launcher to install 3.11 by default and " "3.12 on request." msgstr "" -#: ../NEWS:11509 +#: ../NEWS:11552 msgid "" ":gh:`98692`: Fix the :ref:`launcher` ignoring unrecognized shebang lines " "instead of treating them as local paths" msgstr "" -#: ../NEWS:11512 +#: ../NEWS:11555 msgid ":gh:`94328`: Update Windows installer to use SQLite 3.39.4." msgstr "" -#: ../NEWS:11517 +#: ../NEWS:11560 msgid ":gh:`94328`: Update macOS installer to SQLite 3.39.4." msgstr "" -#: ../NEWS:11522 +#: ../NEWS:11565 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 " @@ -20001,20 +20070,20 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:11527 +#: ../NEWS:11570 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 "" -#: ../NEWS:11531 +#: ../NEWS:11574 msgid "" ":gh:`98410`: Add ``getbufferproc`` and ``releasebufferproc`` to the stable " "API." msgstr "" -#: ../NEWS:11534 +#: ../NEWS:11577 msgid "" ":gh:`98610`: Some configurable capabilities of sub-interpreters have " "changed. They always allow subprocesses (:mod:`subprocess`) now, whereas " @@ -20026,7 +20095,7 @@ msgid "" "affect the main interpreter, nor :c:func:`Py_NewInterpreter`." msgstr "" -#: ../NEWS:11543 +#: ../NEWS:11586 msgid "" ":gh:`98608`: A ``_PyInterpreterConfig`` has been added and " "``_Py_NewInterpreter()`` has been renamed to " @@ -20035,7 +20104,7 @@ msgid "" "that this is all \"private\" API." msgstr "" -#: ../NEWS:11549 +#: ../NEWS:11592 msgid "" ":gh:`96853`: ``Py_InitializeEx`` now correctly calls ``PyConfig_Clear`` " "after initializing the interpreter (the omission didn't cause a memory leak " @@ -20043,28 +20112,28 @@ msgid "" "by the wrapper function)" msgstr "" -#: ../NEWS:11554 +#: ../NEWS:11597 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 "" -#: ../NEWS:11559 +#: ../NEWS:11602 msgid "Python 3.12.0 alpha 1" msgstr "" -#: ../NEWS:11561 +#: ../NEWS:11604 msgid "*Release date: 2022-10-25*" msgstr "" -#: ../NEWS:11566 +#: ../NEWS:11609 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 "" -#: ../NEWS:11570 +#: ../NEWS:11613 msgid "" ":gh:`97514`: On Linux the :mod:`multiprocessing` module returns to using " "filesystem backed unix domain sockets for communication with the " @@ -20073,7 +20142,7 @@ msgid "" "` is affected." msgstr "" -#: ../NEWS:11576 +#: ../NEWS:11619 msgid "" "Abstract sockets have no permissions and could allow any user on the system " "in the same `network namespace ` option with no value (invalid) when the :envvar:" @@ -20286,28 +20355,28 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:11699 +#: ../NEWS:11742 msgid "" ":gh:`95921`: Fix overly-broad source position information for chained " "comparisons used as branching conditions." msgstr "" -#: ../NEWS:11702 +#: ../NEWS:11745 msgid ":gh:`96821`: Fix undefined behaviour in ``audioop.c``." msgstr "" -#: ../NEWS:11704 +#: ../NEWS:11747 msgid ":gh:`96821`: Fix undefined behaviour in ``_testcapimodule.c``." msgstr "" -#: ../NEWS:11706 +#: ../NEWS:11749 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 "" -#: ../NEWS:11710 +#: ../NEWS:11753 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 " @@ -20316,146 +20385,146 @@ msgid "" "Issue discovered and analyzed by Mingliang ZHAO. Patch by Victor Stinner." msgstr "" -#: ../NEWS:11716 +#: ../NEWS:11759 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 "" -#: ../NEWS:11720 +#: ../NEWS:11763 msgid "" ":gh:`95778`: The ``PyLong_FromString`` function was refactored to make it " "more maintainable and extensible." msgstr "" -#: ../NEWS:11723 +#: ../NEWS:11766 msgid "" ":gh:`96678`: Fix undefined behaviour in C code of null pointer arithmetic." msgstr "" -#: ../NEWS:11725 +#: ../NEWS:11768 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 "" -#: ../NEWS:11729 +#: ../NEWS:11772 msgid "" ":gh:`90997`: Improve the performance of reading and writing inline bytecode " "caches on some platforms." msgstr "" -#: ../NEWS:11732 +#: ../NEWS:11775 msgid ":gh:`96751`: Remove dead code from ``CALL_FUNCTION_EX`` opcode." msgstr "" -#: ../NEWS:11734 +#: ../NEWS:11777 msgid "" ":gh:`90751`: :class:`memoryview` now supports half-floats. Patch by Donghee " "Na and Antoine Pitrou." msgstr "" -#: ../NEWS:11737 +#: ../NEWS:11780 msgid ":gh:`96678`: Fix case of undefined behavior in ceval.c" msgstr "" -#: ../NEWS:11739 +#: ../NEWS:11782 msgid ":gh:`64373`: Convert :mod:`!_functools` to argument clinic." msgstr "" -#: ../NEWS:11741 +#: ../NEWS:11784 msgid ":gh:`96641`: Do not expose ``KeyWrapper`` in :mod:`!_functools`." msgstr "" -#: ../NEWS:11743 +#: ../NEWS:11786 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 "" -#: ../NEWS:11748 +#: ../NEWS:11791 msgid "" ":gh:`96572`: Fix use after free in trace refs build mode. Patch by Kumar " "Aditya." msgstr "" -#: ../NEWS:11751 +#: ../NEWS:11794 msgid "" ":gh:`96611`: When loading a file with invalid UTF-8 inside a multi-line " "string, a correct SyntaxError is emitted." msgstr "" -#: ../NEWS:11754 +#: ../NEWS:11797 msgid "" ":gh:`96612`: Make sure that incomplete frames do not show up in tracemalloc " "traces." msgstr "" -#: ../NEWS:11757 +#: ../NEWS:11800 msgid "" ":gh:`90230`: Fix compiler warnings and test failures when building with ``--" "enable-pystats``." msgstr "" -#: ../NEWS:11760 +#: ../NEWS:11803 msgid "" ":gh:`96587`: Correctly raise ``SyntaxError`` on exception groups (:pep:" "`654`) on python versions prior to 3.11" msgstr "" -#: ../NEWS:11763 +#: ../NEWS:11806 msgid "" ":gh:`96569`: Remove two cases of undefined behavior, by adding NULL checks." msgstr "" -#: ../NEWS:11765 +#: ../NEWS:11808 msgid "" ":gh:`96582`: Fix possible ``NULL`` pointer dereference in " "``_PyThread_CurrentFrames``. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11768 +#: ../NEWS:11811 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 "" -#: ../NEWS:11772 +#: ../NEWS:11815 msgid "" ":gh:`93911`: Fix an issue that could prevent :opcode:`LOAD_ATTR` from " "specializing properly when accessing properties." msgstr "" -#: ../NEWS:11775 +#: ../NEWS:11818 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 "" -#: ../NEWS:11779 +#: ../NEWS:11822 msgid "" ":gh:`95196`: Disable incorrect pickling of the C implemented classmethod " "descriptors." msgstr "" -#: ../NEWS:11782 +#: ../NEWS:11825 msgid "" ":gh:`96364`: Fix text signatures of ``list.__getitem__`` and ``dict." "__getitem__``." msgstr "" -#: ../NEWS:11785 +#: ../NEWS:11828 msgid "" ":gh:`96352`: Fix :exc:`AttributeError` missing ``name`` and ``obj`` " "attributes in :meth:`object.__getattribute__`. Patch by Philip Georgi." msgstr "" -#: ../NEWS:11788 +#: ../NEWS:11831 msgid "" ":gh:`93554`: Change the jump opcodes so that all conditional jumps are " "forward jumps. Backward jumps are converted by the assembler into a " @@ -20463,13 +20532,13 @@ msgid "" "reversed condition), followed by an unconditional backward jump. For example:" msgstr "" -#: ../NEWS:11794 +#: ../NEWS:11837 msgid "" "``POP_JUMP_IF_TRUE BACKWARD_TARGET`` becomes ``POP_JUMP_IF_FALSE NEXT_BLOCK; " "JUMP BACKWARD_TARGET``." msgstr "" -#: ../NEWS:11797 +#: ../NEWS:11840 msgid "" "All the directed conditional jump opcodes were removed: " "``POP_JUMP_FORWARD_IF_TRUE``, ``POP_JUMP_BACKWARD_IF_TRUE``, " @@ -20478,36 +20547,36 @@ msgid "" "``POP_JUMP_FORWARD_IF_NOT_NONE``, ``POP_JUMP_BACKWARD_IF_NOT_NONE``." msgstr "" -#: ../NEWS:11803 +#: ../NEWS:11846 msgid "" "The corresponding opcodes without direction are no longer pseudo-" "instructions, and they implement the forward conditional jumps." msgstr "" -#: ../NEWS:11806 +#: ../NEWS:11849 msgid "" ":gh:`96268`: Loading a file with invalid UTF-8 will now report the broken " "character at the correct location." msgstr "" -#: ../NEWS:11809 +#: ../NEWS:11852 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 "" -#: ../NEWS:11813 +#: ../NEWS:11856 msgid "It is safest to treat the ``_PyInterpreterFrame`` struct as opaque." msgstr "" -#: ../NEWS:11815 +#: ../NEWS:11858 msgid "" ":gh:`96187`: Fixed a bug that caused ``_PyCode_GetExtra`` to return garbage " "for negative indexes. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:11818 +#: ../NEWS:11861 msgid "" ":gh:`96143`: Add a new ``-X perf`` Python command line option as well as :" "func:`sys.activate_stack_trampoline` and :func:`sys." @@ -20519,13 +20588,13 @@ msgid "" "P. Smith [Google] and Mark Shannon." msgstr "" -#: ../NEWS:11828 +#: ../NEWS:11871 msgid "" ":gh:`96071`: Fix a deadlock in :c:func:`PyGILState_Ensure` when allocating " "new thread state. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11831 +#: ../NEWS:11874 msgid "" ":gh:`96046`: :c:func:`PyType_Ready` now initializes ``ht_cached_keys`` and " "performs additional checks to ensure that type objects are properly " @@ -20533,7 +20602,7 @@ msgid "" "API to create new types." msgstr "" -#: ../NEWS:11836 +#: ../NEWS:11879 msgid "" ":gh:`96005`: On WASI :const:`~errno.ENOTCAPABLE` is now mapped to :exc:" "`PermissionError`. The :mod:`errno` modules exposes the new error number. " @@ -20541,7 +20610,7 @@ msgid "" "landmark files ``pybuilddir.txt`` and ``pyenv.cfg``." msgstr "" -#: ../NEWS:11841 +#: ../NEWS:11884 msgid "" ":gh:`93678`: Added test a harness for direct unit tests of the compiler's " "optimization stage. The ``_testinternalcapi.optimize_cfg()`` function runs " @@ -20550,45 +20619,45 @@ msgid "" "checking the output." msgstr "" -#: ../NEWS:11847 +#: ../NEWS:11890 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 "" -#: ../NEWS:11851 +#: ../NEWS:11894 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 "" -#: ../NEWS:11855 +#: ../NEWS:11898 msgid "" ":gh:`95977`: Optimized calling :meth:`~object.__get__` with vectorcall. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:11858 +#: ../NEWS:11901 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 "" -#: ../NEWS:11862 +#: ../NEWS:11905 msgid "" ":gh:`95922`: Fixed bug where the compiler's ``eliminate_empty_basic_blocks`` " "function ignores the last block of the code unit." msgstr "" -#: ../NEWS:11865 +#: ../NEWS:11908 msgid "" ":gh:`95818`: Skip over incomplete frames in :c:func:`PyThreadState_GetFrame`." msgstr "" -#: ../NEWS:11867 +#: ../NEWS:11910 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 " @@ -20596,26 +20665,26 @@ msgid "" "Py_ssize_t arguments." msgstr "" -#: ../NEWS:11872 +#: ../NEWS:11915 msgid "" ":gh:`95605`: Fix misleading contents of error message when converting an all-" "whitespace string to :class:`float`." msgstr "" -#: ../NEWS:11875 +#: ../NEWS:11918 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 "" -#: ../NEWS:11879 +#: ../NEWS:11922 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 "" -#: ../NEWS:11882 +#: ../NEWS:11925 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. " @@ -20623,51 +20692,51 @@ msgid "" "mechanism." msgstr "" -#: ../NEWS:11887 +#: ../NEWS:11930 msgid "" ":gh:`95355`: ``_PyPegen_Parser_New`` now properly detects token memory " "allocation errors. Patch by Honglin Zhu." msgstr "" -#: ../NEWS:11890 +#: ../NEWS:11933 msgid "" ":gh:`90081`: Run Python code in tracer/profiler function at full speed. " "Fixes slowdown in earlier versions of 3.11." msgstr "" -#: ../NEWS:11893 +#: ../NEWS:11936 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 "" -#: ../NEWS:11896 +#: ../NEWS:11939 msgid "" ":gh:`95245`: Merge managed dict and values pointer into a single tagged " "pointer to save one word in the pre-header." msgstr "" -#: ../NEWS:11899 +#: ../NEWS:11942 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 "" -#: ../NEWS:11902 +#: ../NEWS:11945 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 "" -#: ../NEWS:11906 +#: ../NEWS:11949 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 "" -#: ../NEWS:11910 +#: ../NEWS:11953 msgid "" ":gh:`94438`: Fix an issue that caused extended opcode arguments and some " "conditional pops to be ignored when calculating valid jump targets for " @@ -20676,13 +20745,13 @@ msgid "" "the interpreter." msgstr "" -#: ../NEWS:11916 +#: ../NEWS:11959 msgid "" ":gh:`95060`: Undocumented ``PyCode_Addr2Location`` function now properly " "returns when ``addrq`` argument is less than zero." msgstr "" -#: ../NEWS:11919 +#: ../NEWS:11962 msgid "" ":gh:`95113`: Replace all ``EXTENDED_ARG_QUICK`` instructions with basic :" "opcode:`EXTENDED_ARG` instructions in unquickened code. Consumers of non-" @@ -20690,25 +20759,25 @@ msgid "" "they were handled in CPython 3.10 and older." msgstr "" -#: ../NEWS:11924 +#: ../NEWS:11967 msgid "" ":gh:`91409`: Fix incorrect source location info caused by certain " "optimizations in the bytecode compiler." msgstr "" -#: ../NEWS:11927 +#: ../NEWS:11970 msgid "" ":gh:`95023`: Implement :func:`os.setns` and :func:`os.unshare` for Linux. " "Patch by Noam Cohen." msgstr "" -#: ../NEWS:11930 +#: ../NEWS:11973 msgid "" ":gh:`94036`: Fix incorrect source location info for some multi-line " "attribute accesses and method calls." msgstr "" -#: ../NEWS:11933 +#: ../NEWS:11976 msgid "" ":gh:`94938`: Fix error detection in some builtin functions when keyword " "argument name is an instance of a str subclass with overloaded ``__eq__`` " @@ -20716,69 +20785,69 @@ msgid "" "behavior." msgstr "" -#: ../NEWS:11938 +#: ../NEWS:11981 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 "" -#: ../NEWS:11942 +#: ../NEWS:11985 msgid "" ":gh:`94739`: Allow jumping within, out of, and across exception handlers in " "the debugger." msgstr "" -#: ../NEWS:11945 +#: ../NEWS:11988 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 "" -#: ../NEWS:11949 +#: ../NEWS:11992 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 "" -#: ../NEWS:11953 +#: ../NEWS:11996 msgid "" ":gh:`91256`: Ensures the program name is known for help text during " "interpreter startup." msgstr "" -#: ../NEWS:11956 +#: ../NEWS:11999 msgid "" ":gh:`94869`: Fix the column offsets for some expressions in multi-line f-" "strings :mod:`ast` nodes. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:11959 +#: ../NEWS:12002 msgid "" ":gh:`94893`: Fix an issue where frame object manipulations could corrupt " "inline bytecode caches." msgstr "" -#: ../NEWS:11962 +#: ../NEWS:12005 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 "" -#: ../NEWS:11966 +#: ../NEWS:12009 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 "" -#: ../NEWS:11969 +#: ../NEWS:12012 msgid "" ":gh:`90699`: Fix reference counting bug in :meth:`bool.__repr__`. Patch by " "Kumar Aditya." msgstr "" -#: ../NEWS:11972 +#: ../NEWS:12015 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 " @@ -20786,21 +20855,21 @@ msgid "" "crash of the interpreter." msgstr "" -#: ../NEWS:11977 +#: ../NEWS:12020 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 "" -#: ../NEWS:11981 +#: ../NEWS:12024 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 "" -#: ../NEWS:11985 +#: ../NEWS:12028 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 " @@ -20808,98 +20877,98 @@ msgid "" "following code block begins." msgstr "" -#: ../NEWS:11990 +#: ../NEWS:12033 msgid "" ":gh:`94485`: Line number of a module's ``RESUME`` instruction is set to 0 as " "specified in :pep:`626`." msgstr "" -#: ../NEWS:11993 +#: ../NEWS:12036 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 "" -#: ../NEWS:11996 +#: ../NEWS:12039 msgid "" ":gh:`91719`: Reload ``opcode`` when raising ``unknown opcode error`` in the " "interpreter main loop, for C compilers to generate dispatching code " "independently." msgstr "" -#: ../NEWS:12000 +#: ../NEWS:12043 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 "" -#: ../NEWS:12004 +#: ../NEWS:12047 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 "" -#: ../NEWS:12007 +#: ../NEWS:12050 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 "" -#: ../NEWS:12010 +#: ../NEWS:12053 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 "" -#: ../NEWS:12014 +#: ../NEWS:12057 msgid "" ":gh:`94192`: Fix error for dictionary literals with invalid expression as " "value." msgstr "" -#: ../NEWS:12017 +#: ../NEWS:12060 msgid "" ":gh:`87995`: :class:`types.MappingProxyType` instances are now hashable if " "the underlying mapping is hashable." msgstr "" -#: ../NEWS:12020 +#: ../NEWS:12063 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 "" -#: ../NEWS:12024 +#: ../NEWS:12067 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 "" -#: ../NEWS:12028 +#: ../NEWS:12071 msgid ":gh:`94021`: Fix unreachable code warning in ``Python/specialize.c``." msgstr "" -#: ../NEWS:12030 +#: ../NEWS:12073 msgid "" ":gh:`93911`: Specialize ``LOAD_ATTR`` for objects with custom " "``__getattribute__``." msgstr "" -#: ../NEWS:12033 +#: ../NEWS:12076 msgid "" ":gh:`93955`: Improve performance of attribute lookups on objects with custom " "``__getattribute__`` and ``__getattr__``. Patch by Ken Jin." msgstr "" -#: ../NEWS:12036 +#: ../NEWS:12079 msgid ":gh:`93911`: Specialize ``LOAD_ATTR`` for ``property()`` attributes." msgstr "" -#: ../NEWS:12038 +#: ../NEWS:12081 msgid "" ":gh:`93678`: Refactor compiler optimisation code so that it no longer needs " "the ``struct assembler`` and ``struct compiler`` passed around. Instead, " @@ -20907,115 +20976,115 @@ msgid "" "make it possible to test this code directly." msgstr "" -#: ../NEWS:12043 +#: ../NEWS:12086 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 "" -#: ../NEWS:12047 +#: ../NEWS:12090 msgid "" ":gh:`93516`: Store offset of first traceable instruction in code object to " "avoid having to recompute it for each instruction when tracing." msgstr "" -#: ../NEWS:12050 +#: ../NEWS:12093 msgid "" ":gh:`93516`: Lazily create a table mapping bytecode offsets to line numbers " "to speed up calculation of line numbers when tracing." msgstr "" -#: ../NEWS:12053 +#: ../NEWS:12096 msgid "" ":gh:`89828`: :class:`types.GenericAlias` no longer relays the ``__class__`` " "attribute. For example, ``isinstance(list[int], type)`` no longer returns " "``True``." msgstr "" -#: ../NEWS:12057 +#: ../NEWS:12100 msgid "" ":gh:`93678`: Refactor the compiler to reduce boilerplate and repetition." msgstr "" -#: ../NEWS:12059 +#: ../NEWS:12102 msgid "" ":gh:`93671`: Fix some exponential backtrace case happening with deeply " "nested sequence patterns in match statements. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:12062 +#: ../NEWS:12105 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 "" -#: ../NEWS:12065 +#: ../NEWS:12108 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 "" -#: ../NEWS:12069 +#: ../NEWS:12112 msgid "" "``FileFinder`` no longer inserts a dot in the path, e.g. ``/egg/./spam`` is " "now ``/egg/spam``." msgstr "" -#: ../NEWS:12072 +#: ../NEWS:12115 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 "" -#: ../NEWS:12076 +#: ../NEWS:12119 msgid "" ":gh:`93533`: Reduce the size of the inline cache for ``LOAD_METHOD`` by 2 " "bytes." msgstr "" -#: ../NEWS:12079 +#: ../NEWS:12122 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 "" -#: ../NEWS:12083 +#: ../NEWS:12126 msgid "" ":gh:`93429`: ``LOAD_METHOD`` instruction has been removed. It was merged " "back into ``LOAD_ATTR``." msgstr "" -#: ../NEWS:12086 +#: ../NEWS:12129 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 "" -#: ../NEWS:12090 +#: ../NEWS:12133 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 "" -#: ../NEWS:12093 +#: ../NEWS:12136 msgid "" ":gh:`93359`: Ensure that custom :mod:`ast` nodes without explicit end " "positions can be compiled. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:12096 +#: ../NEWS:12139 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 "" -#: ../NEWS:12099 +#: ../NEWS:12142 msgid "" ":gh:`93354`: Use exponential backoff for specialization counters in the " "interpreter. Can reduce the number of failed specializations significantly " @@ -21023,19 +21092,19 @@ msgid "" "specialization." msgstr "" -#: ../NEWS:12104 +#: ../NEWS:12147 msgid "" ":gh:`93283`: Improve error message for invalid syntax of conversion " "character in f-string expressions." msgstr "" -#: ../NEWS:12107 +#: ../NEWS:12150 msgid "" ":gh:`93345`: Fix a crash in substitution of a ``TypeVar`` in nested generic " "alias after ``TypeVarTuple``." msgstr "" -#: ../NEWS:12110 +#: ../NEWS:12153 msgid "" ":gh:`93223`: When a bytecode instruction jumps to an unconditional jump " "instruction, the first instruction can often be optimized to target the " @@ -21045,50 +21114,50 @@ msgid "" "associated line number." msgstr "" -#: ../NEWS:12117 +#: ../NEWS:12160 msgid "" ":gh:`84694`: The ``--experimental-isolated-subinterpreters`` configure " "option and ``EXPERIMENTAL_ISOLATED_SUBINTERPRETERS`` macro have been removed." msgstr "" -#: ../NEWS:12120 +#: ../NEWS:12163 msgid "" ":gh:`91924`: Fix ``__lltrace__`` debug feature if the stdout encoding is not " "UTF-8. Patch by Victor Stinner." msgstr "" -#: ../NEWS:12123 +#: ../NEWS:12166 msgid "" ":gh:`93040`: Wraps unused parameters in ``Objects/obmalloc.c`` with " "``Py_UNUSED``." msgstr "" -#: ../NEWS:12126 +#: ../NEWS:12169 msgid "" ":gh:`93143`: Avoid ``NULL`` checks for uninitialized local variables by " "determining at compile time which variables must be initialized." msgstr "" -#: ../NEWS:12129 +#: ../NEWS:12172 msgid "" ":gh:`93061`: Backward jumps after ``async for`` loops are no longer given " "dubious line numbers." msgstr "" -#: ../NEWS:12132 +#: ../NEWS:12175 msgid "" ":gh:`93065`: Fix contextvars HAMT implementation to handle iteration over " "deep trees." msgstr "" -#: ../NEWS:12135 +#: ../NEWS:12178 msgid "" "The bug was discovered and fixed by Eli Libman. See `MagicStack/" "immutables#84 `_ for " "more details." msgstr "" -#: ../NEWS:12139 +#: ../NEWS:12182 msgid "" ":gh:`93012`: Added the new function :c:func:`PyType_FromMetaclass`, which " "generalizes the existing :c:func:`PyType_FromModuleAndSpec` using an " @@ -21097,190 +21166,190 @@ msgid "" "or static attribute access by specifying a metaclass with custom slots." msgstr "" -#: ../NEWS:12145 +#: ../NEWS:12188 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 "" -#: ../NEWS:12149 +#: ../NEWS:12192 msgid "" ":gh:`93021`: Fix the :attr:`__text_signature__` for :meth:`__get__` methods " "implemented in C. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:12152 +#: ../NEWS:12195 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 "" -#: ../NEWS:12156 +#: ../NEWS:12199 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 "" -#: ../NEWS:12159 +#: ../NEWS:12202 msgid "" ":gh:`92930`: Fixed a crash in ``_pickle.c`` from mutating collections during " "``__reduce__`` or ``persistent_id``." msgstr "" -#: ../NEWS:12162 +#: ../NEWS:12205 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 "" -#: ../NEWS:12166 +#: ../NEWS:12209 msgid "" ":gh:`92914`: Always round the allocated size for lists up to the nearest " "even number." msgstr "" -#: ../NEWS:12169 +#: ../NEWS:12212 msgid "" ":gh:`92858`: Improve error message for some suites with syntax error before " "':'" msgstr "" -#: ../NEWS:12172 +#: ../NEWS:12215 msgid "" ":gh:`90473`: Decrease default recursion limit on WASI to address limited " "call stack size." msgstr "" -#: ../NEWS:12175 +#: ../NEWS:12218 msgid "" ":gh:`92804`: Fix memory leak in ``memoryview`` iterator as it was not " "finalized at exit. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12178 +#: ../NEWS:12221 msgid "" ":gh:`92777`: Specialize ``LOAD_METHOD`` for objects with lazy dictionaries. " "Patch by Ken Jin." msgstr "" -#: ../NEWS:12181 +#: ../NEWS:12224 msgid "" ":gh:`92658`: Add support for connecting and binding to Hyper-V sockets on " "Windows Hyper-V hosts and guests." msgstr "" -#: ../NEWS:12184 +#: ../NEWS:12227 msgid "" ":gh:`92236`: Remove spurious \"LINE\" event when starting a generator or " "coroutine, visible tracing functions implemented in C." msgstr "" -#: ../NEWS:12187 +#: ../NEWS:12230 msgid "" ":gh:`91102`: :meth:`!_warnings.warn_explicit` is ported to Argument Clinic." msgstr "" -#: ../NEWS:12189 +#: ../NEWS:12232 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 "" -#: ../NEWS:12193 +#: ../NEWS:12236 msgid "" ":gh:`88750`: The deprecated debug build only ``PYTHONTHREADDEBUG`` " "environment variable no longer does anything." msgstr "" -#: ../NEWS:12196 +#: ../NEWS:12239 msgid ":gh:`92261`: Fix hang when trying to iterate over a ``typing.Union``." msgstr "" -#: ../NEWS:12198 +#: ../NEWS:12241 msgid "" ":gh:`91432`: Specialized the :opcode:`FOR_ITER` opcode using the PEP 659 " "machinery" msgstr "" -#: ../NEWS:12201 +#: ../NEWS:12244 msgid "" ":gh:`91399`: Removed duplicate '{0, 0, 0, 0, 0, 0}' entry in 'Objects/" "unicodetype_db.h'." msgstr "" -#: ../NEWS:12204 +#: ../NEWS:12247 msgid ":gh:`91578`: Updates the error message for abstract class." msgstr "" -#: ../NEWS:12206 +#: ../NEWS:12249 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 "" -#: ../NEWS:12210 +#: ../NEWS:12253 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 "" -#: ../NEWS:12214 +#: ../NEWS:12257 msgid "" ":issue:`42316`: Document some places where an assignment expression needs " "parentheses." msgstr "" -#: ../NEWS:12220 +#: ../NEWS:12263 msgid "" ":gh:`89237`: Fix hang on Windows in ``subprocess.wait_closed()`` in :mod:" "`asyncio` with :class:`~asyncio.ProactorEventLoop`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12224 +#: ../NEWS:12267 msgid "" ":gh:`97928`: :meth:`tkinter.Text.count` raises now an exception for options " "starting with \"-\" instead of silently ignoring them." msgstr "" -#: ../NEWS:12227 +#: ../NEWS:12270 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 "" -#: ../NEWS:12232 +#: ../NEWS:12275 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 "" -#: ../NEWS:12235 +#: ../NEWS:12278 msgid "" ":gh:`98331`: Update the bundled copies of pip and setuptools to versions " "22.3 and 65.5.0 respectively." msgstr "" -#: ../NEWS:12238 +#: ../NEWS:12281 msgid "" ":gh:`98307`: A :meth:`~logging.handlers.SysLogHandler.createSocket` method " "was added to :class:`~logging.handlers.SysLogHandler`." msgstr "" -#: ../NEWS:12241 +#: ../NEWS:12284 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 "" -#: ../NEWS:12245 +#: ../NEWS:12288 msgid "" ":gh:`98257`: Make :func:`sys.setprofile` and :func:`sys.settrace` functions " "reentrant. They can no long fail with: ``RuntimeError(\"Cannot install a " @@ -21288,13 +21357,13 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:12250 +#: ../NEWS:12293 msgid "" ":gh:`98251`: Allow :mod:`venv` to pass along :envvar:`!PYTHON*` variables to " "``ensurepip`` and ``pip`` when they do not impact path resolution" msgstr "" -#: ../NEWS:12253 +#: ../NEWS:12296 msgid "" ":gh:`94597`: Deprecated :meth:`asyncio.AbstractEventLoopPolicy." "get_child_watcher` and :meth:`asyncio.AbstractEventLoopPolicy." @@ -21302,7 +21371,7 @@ msgid "" "Aditya." msgstr "" -#: ../NEWS:12258 +#: ../NEWS:12301 msgid "" ":gh:`98178`: On macOS, fix a crash in :func:`syslog.syslog` in multi-" "threaded applications. On macOS, the libc ``syslog()`` function is not " @@ -21310,20 +21379,20 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:12263 +#: ../NEWS:12306 msgid "" ":gh:`44098`: Release the GIL when creating :class:`mmap.mmap` objects on " "Unix." msgstr "" -#: ../NEWS:12266 +#: ../NEWS:12309 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 "" -#: ../NEWS:12270 +#: ../NEWS:12313 msgid "" ":gh:`94597`: The child watcher classes :class:`~asyncio." "MultiLoopChildWatcher`, :class:`~asyncio.FastChildWatcher` and :class:" @@ -21331,69 +21400,69 @@ msgid "" "3.14. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12275 +#: ../NEWS:12318 msgid "" ":gh:`98023`: Change default child watcher to :class:`~asyncio." "PidfdChildWatcher` on Linux systems which supports it. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12279 +#: ../NEWS:12322 msgid "" ":gh:`90985`: Earlier in 3.11 we deprecated ``asyncio.Task." "cancel(\"message\")``. We realized we were too harsh, and have undeprecated " "it." msgstr "" -#: ../NEWS:12283 +#: ../NEWS:12326 msgid "" ":gh:`65961`: Do not rely solely on ``__cached__`` on modules; code will also " "support ``__spec__.cached``." msgstr "" -#: ../NEWS:12286 +#: ../NEWS:12329 msgid "" ":gh:`97646`: Replace deprecated ``application/javascript`` with ``text/" "javascript`` in :mod:`mimetypes`. See :rfc:`9239`. Patch by Noam Cohen." msgstr "" -#: ../NEWS:12290 +#: ../NEWS:12333 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 "" -#: ../NEWS:12294 +#: ../NEWS:12337 msgid "" ":gh:`97850`: Remove deprecated :func:`!importlib.util.set_loader` and :func:" "`!importlib.util.module_for_loader` from :mod:`importlib.util`." msgstr "" -#: ../NEWS:12297 +#: ../NEWS:12340 msgid ":gh:`97837`: Change deprecate warning message in :mod:`unittest` from" msgstr "" -#: ../NEWS:12299 +#: ../NEWS:12342 msgid "``It is deprecated to return a value!=None``" msgstr "" -#: ../NEWS:12301 +#: ../NEWS:12344 msgid "to" msgstr "to" -#: ../NEWS:12303 +#: ../NEWS:12346 msgid "" "``It is deprecated to return a value that is not None from a test case``" msgstr "" -#: ../NEWS:12305 +#: ../NEWS:12348 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 "" -#: ../NEWS:12309 +#: ../NEWS:12352 msgid "" ":gh:`97008`: :exc:`NameError` and :exc:`AttributeError` spelling suggestions " "provided since :gh:`82711` are now also emitted by the pure Python :mod:" @@ -21402,13 +21471,13 @@ msgid "" "Tereick and Łukasz Langa." msgstr "" -#: ../NEWS:12315 +#: ../NEWS:12358 msgid "" ":gh:`97799`: :mod:`dataclass` now uses :func:`inspect.get_annotations` to " "examine the annotations on class objects." msgstr "" -#: ../NEWS:12318 +#: ../NEWS:12361 msgid "" ":gh:`97781`: Removed deprecated interfaces in ``importlib.metadata`` (entry " "points accessed as dictionary, implicit dictionary construction of sequence " @@ -21417,32 +21486,32 @@ msgid "" "straightforward API (returning ``EntryPoints``)." msgstr "" -#: ../NEWS:12324 +#: ../NEWS:12367 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 "" -#: ../NEWS:12328 +#: ../NEWS:12371 msgid ":gh:`95534`: :meth:`gzip.GzipFile.read` reads 10% faster." msgstr "" -#: ../NEWS:12330 +#: ../NEWS:12373 msgid "" ":gh:`97592`: Avoid a crash in the C version of :meth:`asyncio.Future." "remove_done_callback` when an evil argument is passed." msgstr "" -#: ../NEWS:12334 +#: ../NEWS:12377 msgid ":gh:`97639`: Remove ``tokenize.NL`` check from :mod:`tabnanny`." msgstr "" -#: ../NEWS:12336 +#: ../NEWS:12379 msgid ":gh:`97545`: Make Semaphore run faster." msgstr "" -#: ../NEWS:12338 +#: ../NEWS:12381 msgid "" ":gh:`73588`: Fix generation of the default name of :class:`tkinter." "Checkbutton`. Previously, checkbuttons in different parent widgets could " @@ -21450,29 +21519,29 @@ msgid "" "\"variable\" are not specified. Now they are globally unique." msgstr "" -#: ../NEWS:12344 +#: ../NEWS:12387 msgid ":gh:`96865`: fix Flag to use boundary CONFORM" msgstr "" -#: ../NEWS:12346 +#: ../NEWS:12389 msgid "" "This restores previous Flag behavior of allowing flags with non-sequential " "values to be combined; e.g." msgstr "" -#: ../NEWS:12349 +#: ../NEWS:12392 msgid "class Skip(Flag): TWO = 2 EIGHT = 8" msgstr "" -#: ../NEWS:12351 +#: ../NEWS:12394 msgid "Skip.TWO | Skip.EIGHT -> " msgstr "" -#: ../NEWS:12353 +#: ../NEWS:12396 msgid ":gh:`97005`: Update bundled libexpat to 2.4.9" msgstr "" -#: ../NEWS:12355 +#: ../NEWS:12398 msgid "" ":gh:`85760`: Fix race condition in :mod:`asyncio` where :meth:`~asyncio." "SubprocessProtocol.process_exited` called before the :meth:`~asyncio." @@ -21480,7 +21549,7 @@ msgid "" "by Kumar Aditya." msgstr "" -#: ../NEWS:12360 +#: ../NEWS:12403 msgid "" ":gh:`96704`: Pass the correct ``contextvars.Context`` when a ``asyncio`` " "exception handler is called on behalf of a task or callback handle. This " @@ -21491,45 +21560,45 @@ msgid "" "is used." msgstr "" -#: ../NEWS:12368 +#: ../NEWS:12411 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 "" -#: ../NEWS:12372 +#: ../NEWS:12415 msgid "" ":gh:`95865`: Reduce :func:`urllib.parse.quote_from_bytes` memory use on " "large values." msgstr "" -#: ../NEWS:12375 +#: ../NEWS:12418 msgid "Contributed by Dennis Sweeney." msgstr "" -#: ../NEWS:12377 +#: ../NEWS:12420 msgid "" ":gh:`96741`: Corrected type annotation for dataclass attribute ``pstats." "FunctionProfile.ncalls`` to be ``str``." msgstr "" -#: ../NEWS:12380 +#: ../NEWS:12423 msgid ":gh:`96734`: Update :mod:`unicodedata` database to Unicode 15.0.0." msgstr "" -#: ../NEWS:12382 +#: ../NEWS:12425 msgid ":gh:`96735`: Fix undefined behaviour in :func:`struct.unpack`." msgstr "" -#: ../NEWS:12384 +#: ../NEWS:12427 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 "" -#: ../NEWS:12388 +#: ../NEWS:12431 msgid "" ":gh:`96652`: Fix the faulthandler implementation of ``faulthandler." "register(signal, chain=True)`` if the ``sigaction()`` function is not " @@ -21537,108 +21606,108 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:12393 +#: ../NEWS:12436 msgid "" ":gh:`68163`: Correct conversion of :class:`numbers.Rational`'s to :class:" "`float`." msgstr "" -#: ../NEWS:12396 +#: ../NEWS:12439 msgid "" ":gh:`96538`: Speed up ``bisect.bisect()`` functions by taking advantage of " "type-stability." msgstr "" -#: ../NEWS:12399 +#: ../NEWS:12442 msgid ":gh:`96465`: Fraction hashes are now cached." msgstr "" -#: ../NEWS:12401 +#: ../NEWS:12444 msgid "" ":gh:`96079`: In :mod:`typing`, fix missing field ``name`` and incorrect " "``__module__`` in _AnnotatedAlias." msgstr "" -#: ../NEWS:12404 +#: ../NEWS:12447 msgid ":gh:`96415`: Remove ``types._cell_factory`` from module namespace." msgstr "" -#: ../NEWS:12406 +#: ../NEWS:12449 msgid ":gh:`95987`: Fix ``repr`` of ``Any`` subclasses." msgstr "" -#: ../NEWS:12408 +#: ../NEWS:12451 msgid "" ":gh:`96388`: Work around missing socket functions in :class:`~socket." "socket`'s ``__repr__``." msgstr "" -#: ../NEWS:12411 +#: ../NEWS:12454 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 "" -#: ../NEWS:12415 +#: ../NEWS:12458 msgid "" ":gh:`96142`: Add ``match_args``, ``kw_only``, ``slots``, and " "``weakref_slot`` to ``_DataclassParams``." msgstr "" -#: ../NEWS:12418 +#: ../NEWS:12461 msgid "" ":gh:`96073`: In :mod:`inspect`, fix overeager replacement of \"``typing.``\" " "in formatting annotations." msgstr "" -#: ../NEWS:12421 +#: ../NEWS:12464 msgid "" ":gh:`89258`: Added a :meth:`~logging.Logger.getChildren` method to :class:" "`logging.Logger`, to get the immediate child loggers of a logger." msgstr "" -#: ../NEWS:12424 +#: ../NEWS:12467 msgid ":gh:`96346`: Use double caching for compiled RE patterns." msgstr "" -#: ../NEWS:12426 +#: ../NEWS:12469 msgid "" ":gh:`96349`: Fixed a minor performance regression in :func:`threading.Event." "__init__`" msgstr "" -#: ../NEWS:12429 +#: ../NEWS:12472 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 "" -#: ../NEWS:12432 +#: ../NEWS:12475 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 "" -#: ../NEWS:12436 +#: ../NEWS:12479 msgid "" ":gh:`96159`: Fix a performance regression in logging " "TimedRotatingFileHandler. Only check for special files when the rollover " "time has passed." msgstr "" -#: ../NEWS:12440 +#: ../NEWS:12483 msgid "" ":gh:`96175`: Fix unused ``localName`` parameter in the ``Attr`` class in :" "mod:`xml.dom.minidom`." msgstr "" -#: ../NEWS:12443 +#: ../NEWS:12486 msgid ":gh:`96145`: Add AttrDict to JSON module for use with object_hook." msgstr "" -#: ../NEWS:12445 +#: ../NEWS:12488 msgid "" ":gh:`96052`: Fix handling compiler warnings (SyntaxWarning and " "DeprecationWarning) in :func:`codeop.compile_command` when checking for " @@ -21647,33 +21716,33 @@ msgid "" "warnings." msgstr "" -#: ../NEWS:12451 +#: ../NEWS:12494 msgid "" ":gh:`96125`: Fix incorrect condition that causes ``sys.thread_info.name`` to " "be wrong on pthread platforms." msgstr "" -#: ../NEWS:12454 +#: ../NEWS:12497 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 "" -#: ../NEWS:12458 +#: ../NEWS:12501 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 "" -#: ../NEWS:12462 +#: ../NEWS:12505 msgid "" ":gh:`69142`: Add ``%:z`` strftime format code (generates tzoffset with " "colons as separator), see :ref:`strftime-strptime-behavior`." msgstr "" -#: ../NEWS:12465 +#: ../NEWS:12508 msgid "" ":gh:`95899`: Fix :class:`asyncio.Runner` to call :func:`asyncio." "set_event_loop` only once to avoid calling :meth:`~asyncio." @@ -21681,84 +21750,84 @@ msgid "" "Kumar Aditya." msgstr "" -#: ../NEWS:12470 +#: ../NEWS:12513 msgid "" ":gh:`95736`: Fix :class:`unittest.IsolatedAsyncioTestCase` to set event loop " "before calling setup functions. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12473 +#: ../NEWS:12516 msgid "" ":gh:`95865`: Speed up :func:`urllib.parse.quote_from_bytes` by replacing a " "list comprehension with ``map()``." msgstr "" -#: ../NEWS:12476 +#: ../NEWS:12519 msgid "" ":gh:`95861`: Add support for computing Spearman's correlation coefficient to " "the existing statistics.correlation() function." msgstr "" -#: ../NEWS:12479 +#: ../NEWS:12522 msgid "" ":gh:`95804`: Fix ``logging`` shutdown handler so it respects ``MemoryHandler." "flushOnClose``." msgstr "" -#: ../NEWS:12482 +#: ../NEWS:12525 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 "" -#: ../NEWS:12486 +#: ../NEWS:12529 msgid "" ":gh:`95149`: The :class:`HTTPStatus ` enum offers a couple " "of properties to indicate the HTTP status category e.g. ``HTTPStatus.OK." "is_success``." msgstr "" -#: ../NEWS:12490 +#: ../NEWS:12533 msgid ":gh:`95609`: Update bundled pip to 22.2.2." msgstr "" -#: ../NEWS:12492 +#: ../NEWS:12535 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 "" -#: ../NEWS:12496 +#: ../NEWS:12539 msgid "" ":gh:`94909`: Fix incorrect joining of relative Windows paths with drives in :" "class:`pathlib.PurePath` initializer." msgstr "" -#: ../NEWS:12499 +#: ../NEWS:12542 msgid "" ":gh:`95385`: Faster ``json.dumps()`` when sorting of keys is not requested " "(default)." msgstr "" -#: ../NEWS:12502 +#: ../NEWS:12545 msgid "" ":gh:`83901`: Improve :meth:`Signature.bind ` error " "message for missing keyword-only arguments." msgstr "" -#: ../NEWS:12505 +#: ../NEWS:12548 msgid ":gh:`95339`: Update bundled pip to 22.2.1." msgstr "" -#: ../NEWS:12507 +#: ../NEWS:12550 msgid "" ":gh:`95045`: Fix GC crash when deallocating ``_lsprof.Profiler`` by " "untracking it before calling any callbacks. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12510 +#: ../NEWS:12553 msgid "" ":gh:`95231`: Fail gracefully if :const:`~errno.EPERM` or :const:`~errno." "ENOSYS` is raised when loading :mod:`!crypt` methods. This may happen when " @@ -21766,42 +21835,42 @@ msgid "" "Information Processing Standard)` enabled." msgstr "" -#: ../NEWS:12515 +#: ../NEWS:12558 msgid "" ":gh:`95097`: Fix :func:`asyncio.run` for :class:`asyncio.Task` " "implementations without :meth:`~asyncio.Task.uncancel` method. Patch by " "Kumar Aditya." msgstr "" -#: ../NEWS:12519 +#: ../NEWS:12562 msgid "" ":gh:`95087`: Fix IndexError in parsing invalid date in the :mod:`email` " "module." msgstr "" -#: ../NEWS:12522 +#: ../NEWS:12565 msgid ":gh:`95199`: Upgrade bundled setuptools to 63.2.0." msgstr "" -#: ../NEWS:12524 +#: ../NEWS:12567 msgid ":gh:`95194`: Upgrade bundled pip to 22.2." msgstr "" -#: ../NEWS:12526 +#: ../NEWS:12569 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 "" -#: ../NEWS:12530 +#: ../NEWS:12573 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 "" -#: ../NEWS:12534 +#: ../NEWS:12577 msgid "" ":gh:`95132`: Fix a :mod:`sqlite3` regression where ``*args`` and ``**kwds`` " "were incorrectly relayed from :py:func:`~sqlite3.connect` to the :class:" @@ -21809,90 +21878,90 @@ msgid "" "PR 24421 (:gh:`85128`). Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:12539 +#: ../NEWS:12582 msgid "" ":gh:`93157`: Fix :mod:`fileinput` module didn't support ``errors`` option " "when ``inplace`` is true." msgstr "" -#: ../NEWS:12542 +#: ../NEWS:12585 msgid "" ":gh:`91212`: Fixed flickering of the turtle window when the tracer is turned " "off. Patch by Shin-myoung-serp." msgstr "" -#: ../NEWS:12545 +#: ../NEWS:12588 msgid "" ":gh:`95077`: Add deprecation warning for enum ``member.member`` access (e.g. " "``Color.RED.BLUE``). Remove ``EnumMeta.__getattr__``." msgstr "" -#: ../NEWS:12548 +#: ../NEWS:12591 msgid "" ":gh:`95109`: Ensure that timeouts scheduled with :class:`asyncio.Timeout` " "that have already expired are delivered promptly." msgstr "" -#: ../NEWS:12551 +#: ../NEWS:12594 msgid "" ":gh:`95105`: :meth:`wsgiref.types.InputStream.__iter__` should return " "``Iterator[bytes]``, not ``Iterable[bytes]``. Patch by Shantanu Jain." msgstr "" -#: ../NEWS:12554 +#: ../NEWS:12597 msgid "" ":gh:`95066`: Replaced assert with exception in :func:`ast.parse`, when " "``feature_version`` has an invalid major version. Patch by Shantanu Jain." msgstr "" -#: ../NEWS:12557 +#: ../NEWS:12600 msgid "" ":gh:`77617`: Add :mod:`sqlite3` :ref:`command-line interface `. " "Patch by Erlend Aasland." msgstr "" -#: ../NEWS:12560 +#: ../NEWS:12603 msgid "" ":gh:`95005`: Replace :c:expr:`_PyAccu` with :c:expr:`_PyUnicodeWriter` in " "JSON encoder and StringIO and remove the :c:expr:`_PyAccu` implementation." msgstr "" -#: ../NEWS:12563 +#: ../NEWS:12606 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 "" -#: ../NEWS:12567 +#: ../NEWS:12610 msgid "" ":gh:`94857`: Fix refleak in ``_io.TextIOWrapper.reconfigure``. Patch by " "Kumar Aditya." msgstr "" -#: ../NEWS:12570 +#: ../NEWS:12613 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 "" -#: ../NEWS:12573 +#: ../NEWS:12616 msgid "" ":gh:`94736`: Fix crash when deallocating an instance of a subclass of " "``_multiprocessing.SemLock``. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12576 +#: ../NEWS:12619 msgid ":gh:`81620`: Add random.binomialvariate()." msgstr "" -#: ../NEWS:12578 +#: ../NEWS:12621 msgid "" ":gh:`74116`: Allow :meth:`asyncio.StreamWriter.drain` to be awaited " "concurrently by multiple tasks. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12581 +#: ../NEWS:12624 msgid "" ":gh:`87822`: When called with ``capture_locals=True``, the :mod:`traceback` " "module functions swallow exceptions raised from calls to ``repr()`` on local " @@ -21901,33 +21970,33 @@ msgid "" "the missing value. (Patch by Simon-Martin Schroeder)." msgstr "" -#: ../NEWS:12587 +#: ../NEWS:12630 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 "" -#: ../NEWS:12591 +#: ../NEWS:12634 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 "" -#: ../NEWS:12595 +#: ../NEWS:12638 msgid "" ":gh:`94309`: Deprecate aliases :class:`typing.Hashable` and :class:`typing." "Sized`" msgstr "" -#: ../NEWS:12598 +#: ../NEWS:12641 msgid "" ":gh:`92546`: An undocumented ``python -m pprint`` benchmark is moved into " "``pprint`` suite of pyperformance. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:12601 +#: ../NEWS:12644 msgid "" ":gh:`94607`: Fix subclassing complex generics with type variables in :mod:" "`typing`. Previously an error message saying ``Some type variables ... are " @@ -21935,59 +22004,59 @@ msgid "" "``__parameters__`` with the ``__parameters__`` of a Python class." msgstr "" -#: ../NEWS:12607 +#: ../NEWS:12650 msgid "" ":gh:`94619`: Remove the long-deprecated ``module_repr()`` from :mod:" "`importlib`." msgstr "" -#: ../NEWS:12610 +#: ../NEWS:12653 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 "" -#: ../NEWS:12614 +#: ../NEWS:12657 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 "" -#: ../NEWS:12618 +#: ../NEWS:12661 msgid "" ":gh:`94343`: Allow setting the attributes of ``reprlib.Repr`` during object " "initialization" msgstr "" -#: ../NEWS:12621 +#: ../NEWS:12664 msgid "" ":gh:`94382`: Port static types of ``_multiprocessing`` module to heap types. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12624 +#: ../NEWS:12667 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 "" -#: ../NEWS:12628 +#: ../NEWS:12671 msgid "" ":gh:`94510`: Re-entrant calls to :func:`sys.setprofile` and :func:`sys." "settrace` now raise :exc:`RuntimeError`. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:12632 +#: ../NEWS:12675 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 "" -#: ../NEWS:12636 +#: ../NEWS:12679 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 " @@ -21995,7 +22064,7 @@ msgid "" "group." msgstr "" -#: ../NEWS:12641 +#: ../NEWS:12684 msgid "" ":gh:`94383`: :mod:`xml.etree`: Remove the ``ElementTree.Element.copy()`` " "method of the pure Python implementation, deprecated in Python 3.10, use " @@ -22004,7 +22073,7 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:12647 +#: ../NEWS:12690 msgid "" ":gh:`94379`: :mod:`zipimport`: Remove ``find_loader()`` and " "``find_module()`` methods, deprecated in Python 3.10: use the " @@ -22012,48 +22081,48 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:12651 +#: ../NEWS:12694 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 "" -#: ../NEWS:12655 +#: ../NEWS:12698 msgid ":gh:`94318`: Strip trailing spaces in :mod:`pydoc` text output." msgstr "" -#: ../NEWS:12657 +#: ../NEWS:12700 msgid "" ":gh:`89988`: Fix memory leak in :class:`pickle.Pickler` when looking up :" "attr:`dispatch_table`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12660 +#: ../NEWS:12703 msgid "" ":gh:`90016`: Deprecate :mod:`sqlite3` :ref:`default adapters and converters " "`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:12663 +#: ../NEWS:12706 msgid "" ":gh:`94254`: Fixed types of :mod:`struct` module to be immutable. Patch by " "Kumar Aditya." msgstr "" -#: ../NEWS:12666 +#: ../NEWS:12709 msgid "" ":gh:`93259`: Now raise ``ValueError`` when ``None`` or an empty string are " "passed to ``Distribution.from_name`` (and other callers)." msgstr "" -#: ../NEWS:12669 +#: ../NEWS:12712 msgid "" ":gh:`74696`: :func:`shutil.make_archive` now passes the *root_dir* argument " "to custom archivers which support it." msgstr "" -#: ../NEWS:12672 +#: ../NEWS:12715 msgid "" ":gh:`94216`: The :mod:`dis` module now has the opcodes for pseudo " "instructions (those which are used by the compiler during code generation " @@ -22061,32 +22130,32 @@ msgid "" "emitted)." msgstr "" -#: ../NEWS:12677 +#: ../NEWS:12720 msgid "" ":gh:`93096`: Removed undocumented ``python -m codecs``. Use ``python -m " "unittest test.test_codecs.EncodedFileTest`` instead." msgstr "" -#: ../NEWS:12680 +#: ../NEWS:12723 msgid "" ":gh:`94207`: Made :class:`!_struct.Struct` GC-tracked in order to fix a " "reference leak in the :mod:`!_struct` module." msgstr "" -#: ../NEWS:12683 +#: ../NEWS:12726 msgid "" ":gh:`93096`: Removed undocumented ``-t`` argument of ``python -m base64``. " "Use ``python -m unittest test.test_base64.LegacyBase64TestCase." "test_encodebytes`` instead." msgstr "" -#: ../NEWS:12687 +#: ../NEWS:12730 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 "" -#: ../NEWS:12690 +#: ../NEWS:12733 msgid "" ":gh:`94199`: Remove the :func:`ssl.match_hostname` function. The :func:`ssl." "match_hostname` was deprecated in Python 3.7. OpenSSL performs hostname " @@ -22094,13 +22163,13 @@ msgid "" "match_hostname` function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:12695 +#: ../NEWS:12738 msgid "" ":gh:`94214`: Document the ``context`` object used in the ``venv.EnvBuilder`` " "class, and add the new environment's library path to it." msgstr "" -#: ../NEWS:12698 +#: ../NEWS:12741 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 :" @@ -22110,14 +22179,14 @@ msgid "" "Improper Certificate Validation. Patch by Victor Stinner." msgstr "" -#: ../NEWS:12705 +#: ../NEWS:12748 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 "" -#: ../NEWS:12709 +#: ../NEWS:12752 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 " @@ -22126,7 +22195,7 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:12715 +#: ../NEWS:12758 msgid "" ":gh:`94196`: :mod:`gzip`: Remove the ``filename`` attribute of :class:`gzip." "GzipFile`, deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` " @@ -22134,14 +22203,14 @@ msgid "" "file extension if it was not present. Patch by Victor Stinner." msgstr "" -#: ../NEWS:12721 +#: ../NEWS:12764 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 "" -#: ../NEWS:12725 +#: ../NEWS:12768 msgid "" ":gh:`94169`: Remove ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated " "in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io." @@ -22149,20 +22218,20 @@ msgid "" "open` is also a static method. Patch by Victor Stinner." msgstr "" -#: ../NEWS:12730 +#: ../NEWS:12773 msgid "" ":gh:`91742`: Fix :mod:`pdb` crash after jump caused by a null pointer " "dereference. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:12733 +#: ../NEWS:12776 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 "" -#: ../NEWS:12737 +#: ../NEWS:12780 msgid "" ":gh:`84753`: :func:`inspect.iscoroutinefunction`, :func:`inspect." "isgeneratorfunction`, and :func:`inspect.isasyncgenfunction` now properly " @@ -22170,13 +22239,13 @@ msgid "" "class:`unittest.mock.AsyncMock`." msgstr "" -#: ../NEWS:12743 +#: ../NEWS:12786 msgid "" "This makes :func:`inspect.iscoroutinefunction` consistent with the behavior " "of :func:`asyncio.iscoroutinefunction`. Patch by Mehdi ABAAKOUK." msgstr "" -#: ../NEWS:12746 +#: ../NEWS:12789 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 " @@ -22184,89 +22253,89 @@ msgid "" "Aasland." msgstr "" -#: ../NEWS:12751 +#: ../NEWS:12794 msgid "" ":gh:`93973`: Add keyword argument ``all_errors`` to ``asyncio." "create_connection`` so that multiple connection errors can be raised as an " "``ExceptionGroup``." msgstr "" -#: ../NEWS:12755 +#: ../NEWS:12798 msgid "" ":gh:`93963`: Officially deprecate from ``importlib.abc`` classes moved to " "``importlib.resources.abc``." msgstr "" -#: ../NEWS:12758 +#: ../NEWS:12801 msgid "" ":gh:`93858`: Prevent error when activating venv in nested fish instances." msgstr "" -#: ../NEWS:12760 +#: ../NEWS:12803 msgid ":gh:`93820`: Pickle :class:`enum.Flag` by name." msgstr "" -#: ../NEWS:12762 +#: ../NEWS:12805 msgid ":gh:`93847`: Fix repr of enum of generic aliases." msgstr "" -#: ../NEWS:12764 +#: ../NEWS:12807 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 "" -#: ../NEWS:12768 +#: ../NEWS:12811 msgid ":gh:`83499`: Fix double closing of file description in :mod:`tempfile`." msgstr "" -#: ../NEWS:12770 +#: ../NEWS:12813 msgid "" ":gh:`93820`: Fixed a regression when :func:`copy.copy`-ing :class:`enum." "Flag` with multiple flag members." msgstr "" -#: ../NEWS:12773 +#: ../NEWS:12816 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 "" -#: ../NEWS:12777 +#: ../NEWS:12820 msgid "" ":gh:`91389`: Fix an issue where :mod:`dis` utilities could report missing or " "incorrect position information in the presence of ``CACHE`` entries." msgstr "" -#: ../NEWS:12780 +#: ../NEWS:12823 msgid "" ":gh:`93626`: Set ``__future__.annotations`` to have a ``None`` " "mandatoryRelease to indicate that it is currently 'TBD'." msgstr "" -#: ../NEWS:12783 +#: ../NEWS:12826 msgid "" ":gh:`90473`: Emscripten and WASI have no home directory and cannot provide :" "pep:`370` user site directory." msgstr "" -#: ../NEWS:12786 +#: ../NEWS:12829 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 "" -#: ../NEWS:12790 +#: ../NEWS:12833 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 "" -#: ../NEWS:12794 +#: ../NEWS:12837 msgid "" ":gh:`93521`: Fixed a case where dataclasses would try to add ``__weakref__`` " "into the ``__slots__`` for a dataclass that specified ``weakref_slot=True`` " @@ -22274,85 +22343,85 @@ msgid "" "``TypeError`` upon the new class being created." msgstr "" -#: ../NEWS:12799 +#: ../NEWS:12842 msgid "" ":gh:`79579`: :mod:`sqlite3` now correctly detects DML queries with leading " "comments. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:12802 +#: ../NEWS:12845 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 "" -#: ../NEWS:12806 +#: ../NEWS:12849 msgid "" ":gh:`93475`: Expose ``FICLONE`` and ``FICLONERANGE`` constants in :mod:" "`fcntl`. Patch by Illia Volochii." msgstr "" -#: ../NEWS:12809 +#: ../NEWS:12852 msgid "" ":gh:`93370`: Deprecate :data:`sqlite3.version` and :data:`sqlite3." "version_info`." msgstr "" -#: ../NEWS:12812 +#: ../NEWS:12855 msgid "" ":gh:`91810`: Suppress writing an XML declaration in open files in " "``ElementTree.write()`` with ``encoding='unicode'`` and " "``xml_declaration=None``." msgstr "" -#: ../NEWS:12816 +#: ../NEWS:12859 msgid "" ":gh:`91162`: Support splitting of unpacked arbitrary-length tuple over " "``TypeVar`` and ``TypeVarTuple`` parameters. For example:" msgstr "" -#: ../NEWS:12819 +#: ../NEWS:12862 msgid "``A[T, *Ts][*tuple[int, ...]]`` -> ``A[int, *tuple[int, ...]]``" msgstr "" -#: ../NEWS:12820 +#: ../NEWS:12863 msgid "``A[*Ts, T][*tuple[int, ...]]`` -> ``A[*tuple[int, ...], int]``" msgstr "" -#: ../NEWS:12822 +#: ../NEWS:12865 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 "" -#: ../NEWS:12827 +#: ../NEWS:12870 msgid "" ":gh:`83658`: Make :class:`multiprocessing.Pool` raise an exception if " "``maxtasksperchild`` is not ``None`` or a positive int." msgstr "" -#: ../NEWS:12830 +#: ../NEWS:12873 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 "" -#: ../NEWS:12834 +#: ../NEWS:12877 msgid "" ":gh:`88123`: Implement ``Enum.__contains__`` that returns ``True`` or " "``False`` to replace the deprecated behaviour that would sometimes raise a :" "exc:`TypeError`." msgstr "" -#: ../NEWS:12838 +#: ../NEWS:12881 msgid "" ":gh:`93297`: Make asyncio task groups prevent child tasks from being GCed" msgstr "" -#: ../NEWS:12840 +#: ../NEWS:12883 msgid "" ":gh:`85308`: Changed :class:`argparse.ArgumentParser` to use :term:" "`filesystem encoding and error handler` instead of default text encoding to " @@ -22361,13 +22430,13 @@ msgid "" "of ANSI Codepage." msgstr "" -#: ../NEWS:12846 +#: ../NEWS:12889 msgid "" ":gh:`93156`: Accessing the :attr:`pathlib.PurePath.parents` sequence of an " "absolute path using negative index values produced incorrect results." msgstr "" -#: ../NEWS:12849 +#: ../NEWS:12892 msgid "" ":gh:`93162`: Add the ability for :func:`logging.config.dictConfig` to " "usefully configure :class:`~logging.handlers.QueueHandler` and :class:" @@ -22376,45 +22445,45 @@ msgid "" "to handlers by name." msgstr "" -#: ../NEWS:12855 +#: ../NEWS:12898 msgid "" ":gh:`93243`: The :mod:`!smtpd` module was removed per the schedule in :pep:" "`594`." msgstr "" -#: ../NEWS:12858 +#: ../NEWS:12901 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 "" -#: ../NEWS:12862 +#: ../NEWS:12905 msgid "" ":gh:`90155`: Fix broken :class:`asyncio.Semaphore` when acquire is cancelled." msgstr "" -#: ../NEWS:12864 +#: ../NEWS:12907 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 "" -#: ../NEWS:12868 +#: ../NEWS:12911 msgid "" ":gh:`91513`: Added ``taskName`` attribute to :mod:`logging` module for use " "with :mod:`asyncio` tasks." msgstr "" -#: ../NEWS:12871 +#: ../NEWS:12914 msgid "" ":gh:`74696`: :func:`shutil.make_archive` no longer temporarily changes the " "current working directory during creation of standard ``.zip`` or tar " "archives." msgstr "" -#: ../NEWS:12875 +#: ../NEWS:12918 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 " @@ -22422,83 +22491,83 @@ msgid "" "Python 3.13." msgstr "" -#: ../NEWS:12880 +#: ../NEWS:12923 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 "" -#: ../NEWS:12884 +#: ../NEWS:12927 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 "" -#: ../NEWS:12888 +#: ../NEWS:12931 msgid "" ":gh:`93044`: No longer convert the database argument of :func:`sqlite3." "connect` to bytes before passing it to the factory." msgstr "" -#: ../NEWS:12891 +#: ../NEWS:12934 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 "" -#: ../NEWS:12895 +#: ../NEWS:12938 msgid "" ":gh:`92986`: Fix :func:`ast.unparse` when ``ImportFrom.level`` is ``None``" msgstr "" -#: ../NEWS:12897 +#: ../NEWS:12940 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 "" -#: ../NEWS:12901 +#: ../NEWS:12944 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 "" -#: ../NEWS:12905 +#: ../NEWS:12948 msgid "" ":gh:`87901`: Removed the ``encoding`` argument from :func:`os.popen` that " "was added in 3.11b1." msgstr "" -#: ../NEWS:12908 +#: ../NEWS:12951 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 "" -#: ../NEWS:12912 +#: ../NEWS:12955 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 "" -#: ../NEWS:12915 +#: ../NEWS:12958 msgid "" ":gh:`92839`: Fixed crash resulting from calling bisect.insort() or bisect." "insort_left() with the key argument not equal to ``None``." msgstr "" -#: ../NEWS:12918 +#: ../NEWS:12961 msgid "" ":gh:`90473`: :mod:`subprocess` now fails early on Emscripten and WASI " "platforms to work around missing :func:`os.pipe` on WASI." msgstr "" -#: ../NEWS:12921 +#: ../NEWS:12964 msgid "" ":gh:`89325`: Removed many old deprecated :mod:`unittest` features: :class:" "`~unittest.TestCase` method aliases, undocumented and broken :class:" @@ -22508,19 +22577,19 @@ msgid "" "`~unittest.TextTestResult` class." msgstr "" -#: ../NEWS:12928 +#: ../NEWS:12971 msgid "" ":gh:`92734`: Allow multi-element reprs emitted by :mod:`reprlib` to be " "pretty-printed using configurable indentation." msgstr "" -#: ../NEWS:12931 +#: ../NEWS:12974 msgid "" ":gh:`92671`: Fixed :func:`ast.unparse` for empty tuples in the assignment " "target context." msgstr "" -#: ../NEWS:12934 +#: ../NEWS:12977 msgid "" ":gh:`91581`: :meth:`~datetime.datetime.utcfromtimestamp` no longer attempts " "to resolve ``fold`` in the pure Python implementation, since the fold is " @@ -22529,7 +22598,7 @@ msgid "" "`datetime.min `. Patch by Paul Ganssle." msgstr "" -#: ../NEWS:12940 +#: ../NEWS:12983 msgid "" ":gh:`86388`: Removed randrange() functionality deprecated since Python 3.10. " "Formerly, randrange(10.0) losslessly converted to randrange(10). Now, it " @@ -22538,65 +22607,65 @@ msgid "" "TypeError." msgstr "" -#: ../NEWS:12946 +#: ../NEWS:12989 msgid "" ":gh:`90385`: Add :meth:`pathlib.Path.walk` as an alternative to :func:`os." "walk`." msgstr "" -#: ../NEWS:12949 +#: ../NEWS:12992 msgid ":gh:`92550`: Fix :meth:`pathlib.Path.rglob` for empty pattern." msgstr "" -#: ../NEWS:12951 +#: ../NEWS:12994 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 "" -#: ../NEWS:12956 +#: ../NEWS:12999 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 "" -#: ../NEWS:12960 +#: ../NEWS:13003 msgid "" ":gh:`92547`: Remove undocumented :mod:`sqlite3` features deprecated in " "Python 3.10:" msgstr "" -#: ../NEWS:12963 +#: ../NEWS:13006 msgid "``sqlite3.enable_shared_cache()``" msgstr "" -#: ../NEWS:12964 +#: ../NEWS:13007 msgid "``sqlite3.OptimizedUnicode``" msgstr "" -#: ../NEWS:12968 +#: ../NEWS:13011 msgid "" ":gh:`92530`: Fix an issue that occurred after interrupting :func:`threading." "Condition.notify`." msgstr "" -#: ../NEWS:12971 +#: ../NEWS:13014 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 "" -#: ../NEWS:12975 +#: ../NEWS:13018 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 "" -#: ../NEWS:12980 +#: ../NEWS:13023 msgid "" ":gh:`89336`: Removed :mod:`configparser` module APIs: the " "``SafeConfigParser`` class alias, the ``ParsingError.filename`` property and " @@ -22604,20 +22673,20 @@ msgid "" "deprecated since Python 3.2." msgstr "" -#: ../NEWS:12985 +#: ../NEWS:13028 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 "" -#: ../NEWS:12989 +#: ../NEWS:13032 msgid "" ":gh:`91968`: Add ``SO_RTABLE`` and ``SO_USER_COOKIE`` constants to :mod:" "`socket`." msgstr "" -#: ../NEWS:12992 +#: ../NEWS:13035 msgid "" ":gh:`91810`: :class:`~xml.etree.ElementTree.ElementTree` method :meth:`~xml." "etree.ElementTree.ElementTree.write` and function :func:`~xml.etree." @@ -22626,13 +22695,13 @@ msgid "" "``encoding=\"unicode\"`` is specified." msgstr "" -#: ../NEWS:12998 +#: ../NEWS:13041 msgid "" ":gh:`81790`: :func:`os.path.splitdrive` now understands DOS device paths " "with UNC links (beginning ``\\\\?\\UNC\\``). Contributed by Barney Gale." msgstr "" -#: ../NEWS:13001 +#: ../NEWS:13044 msgid "" ":gh:`91760`: Apply more strict rules for numerical group references and " "group names in regular expressions. Only sequence of ASCII digits is now " @@ -22641,7 +22710,7 @@ msgid "" "underscore." msgstr "" -#: ../NEWS:13007 +#: ../NEWS:13050 msgid "" ":gh:`90622`: Worker processes for :class:`concurrent.futures." "ProcessPoolExecutor` are no longer spawned on demand (a feature added in " @@ -22650,13 +22719,13 @@ msgid "" "threads are running." msgstr "" -#: ../NEWS:13013 +#: ../NEWS:13056 msgid "" ":gh:`91577`: Move imports in :class:`~multiprocessing.SharedMemory` methods " "to module level so that they can be executed late in python finalization." msgstr "" -#: ../NEWS:13016 +#: ../NEWS:13059 msgid "" ":gh:`91581`: Remove an unhandled error case in the C implementation of calls " "to :meth:`datetime.fromtimestamp ` with no " @@ -22666,135 +22735,135 @@ msgid "" "time. Patch by Paul Ganssle." msgstr "" -#: ../NEWS:13023 +#: ../NEWS:13066 msgid "" ":gh:`91539`: Improve performance of ``urllib.request." "getproxies_environment`` when there are many environment variables" msgstr "" -#: ../NEWS:13026 +#: ../NEWS:13069 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 "" -#: ../NEWS:13031 +#: ../NEWS:13074 msgid "" ":gh:`91447`: Fix findtext in the xml module to only give an empty string " "when the text attribute is set to ``None``." msgstr "" -#: ../NEWS:13034 +#: ../NEWS:13077 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 "" -#: ../NEWS:13038 +#: ../NEWS:13081 msgid "" ":issue:`47231`: Fixed an issue with inconsistent trailing slashes in tarfile " "longname directories." msgstr "" -#: ../NEWS:13041 +#: ../NEWS:13084 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 "" -#: ../NEWS:13045 +#: ../NEWS:13088 msgid "" ":issue:`41287`: Fix handling of the ``doc`` argument in subclasses of :func:" "`property`." msgstr "" -#: ../NEWS:13048 +#: ../NEWS:13091 msgid "" ":gh:`90005`: :mod:`ctypes` dependency ``libffi`` is now detected with ``pkg-" "config``." msgstr "" -#: ../NEWS:13051 +#: ../NEWS:13094 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 "" -#: ../NEWS:13055 +#: ../NEWS:13098 msgid "" ":issue:`35540`: Fix :func:`dataclasses.asdict` crash when :class:" "`collections.defaultdict` is present in the attributes." msgstr "" -#: ../NEWS:13058 +#: ../NEWS:13101 msgid "" ":issue:`47063`: Add an index_pages parameter to support using non-default " "index page names." msgstr "" -#: ../NEWS:13061 +#: ../NEWS:13104 msgid ":issue:`47025`: Drop support for :class:`bytes` on :data:`sys.path`." msgstr "" -#: ../NEWS:13063 +#: ../NEWS:13106 msgid "" ":issue:`46951`: Order the contents of zipapp archives, to make builds more " "reproducible." msgstr "" -#: ../NEWS:13066 +#: ../NEWS:13109 msgid "" ":issue:`42777`: Implement :meth:`pathlib.Path.is_mount` for Windows paths." msgstr "" -#: ../NEWS:13068 +#: ../NEWS:13111 msgid "" ":issue:`46755`: In :class:`QueueHandler`, clear ``stack_info`` from :class:" "`LogRecord` to prevent stack trace from being written twice." msgstr "" -#: ../NEWS:13071 +#: ../NEWS:13114 msgid "" ":issue:`45393`: Fix the formatting for ``await x`` and ``not x`` in the " "operator precedence table when using the :func:`help` system." msgstr "" -#: ../NEWS:13074 +#: ../NEWS:13117 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 "" -#: ../NEWS:13078 +#: ../NEWS:13121 msgid "" ":issue:`46364`: Restrict use of sockets instead of pipes for stdin of " "subprocesses created by :mod:`asyncio` to AIX platform only." msgstr "" -#: ../NEWS:13081 +#: ../NEWS:13124 msgid "" ":issue:`28249`: Set :attr:`doctest.DocTest.lineno` to ``None`` when an " "object does not have :attr:`~definition.__doc__`." msgstr "" -#: ../NEWS:13084 +#: ../NEWS:13127 msgid "" ":issue:`46197`: Fix :mod:`ensurepip` environment isolation for subprocess " "running ``pip``." msgstr "" -#: ../NEWS:13087 +#: ../NEWS:13130 msgid "" ":issue:`45924`: Fix :mod:`asyncio` incorrect traceback when future's " "exception is raised multiple times. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:13090 +#: ../NEWS:13133 msgid "" ":issue:`45046`: Add support of context managers in :mod:`unittest`: methods :" "meth:`~unittest.TestCase.enterContext` and :meth:`~unittest.TestCase." @@ -22804,50 +22873,50 @@ msgid "" "enterModuleContext`." msgstr "" -#: ../NEWS:13098 +#: ../NEWS:13141 msgid "" ":issue:`44173`: Enable fast seeking of uncompressed unencrypted :class:" "`zipfile.ZipExtFile`" msgstr "" -#: ../NEWS:13101 +#: ../NEWS:13144 msgid "" ":issue:`42627`: Fix incorrect parsing of Windows registry proxy settings" msgstr "" -#: ../NEWS:13103 +#: ../NEWS:13146 msgid "" ":issue:`42047`: Add :func:`threading.get_native_id` support for DragonFly " "BSD. Patch by David Carlier." msgstr "" -#: ../NEWS:13106 +#: ../NEWS:13149 msgid "" ":issue:`14243`: The :class:`tempfile.NamedTemporaryFile` function has a new " "optional parameter *delete_on_close*" msgstr "" -#: ../NEWS:13109 +#: ../NEWS:13152 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 "" -#: ../NEWS:13113 +#: ../NEWS:13156 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 "" -#: ../NEWS:13117 +#: ../NEWS:13160 msgid "" ":issue:`38693`: :mod:`importlib` now uses f-strings internally instead of " "``str.format``." msgstr "" -#: ../NEWS:13120 +#: ../NEWS:13163 msgid "" ":issue:`38267`: Add *timeout* parameter to :meth:`asyncio.loop." "shutdown_default_executor`. The default value is ``None``, which means the " @@ -22855,60 +22924,60 @@ msgid "" "`asyncio.Runner` or :func:`asyncio.run`, the default timeout is 5 minutes." msgstr "" -#: ../NEWS:13126 +#: ../NEWS:13169 msgid "" ":issue:`34828`: :meth:`sqlite3.Connection.iterdump` now handles databases " "that use ``AUTOINCREMENT`` in one or more tables." msgstr "" -#: ../NEWS:13129 +#: ../NEWS:13172 msgid "" ":issue:`32990`: Support reading wave files with the " "``WAVE_FORMAT_EXTENSIBLE`` format in the :mod:`wave` module." msgstr "" -#: ../NEWS:13132 +#: ../NEWS:13175 msgid "" ":issue:`26253`: Allow adjustable compression level for tarfile streams in :" "func:`tarfile.open`." msgstr "" -#: ../NEWS:13138 +#: ../NEWS:13181 msgid ":gh:`85525`: Remove extra row" msgstr "" -#: ../NEWS:13140 +#: ../NEWS:13183 msgid "" ":gh:`86404`: Deprecated tools ``make suspicious`` and ``rstlint.py`` are now " "removed. They have been replaced by :pypi:`sphinx-lint`." msgstr "" -#: ../NEWS:13143 +#: ../NEWS:13186 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 "" -#: ../NEWS:13146 +#: ../NEWS:13189 msgid "" ":gh:`96432`: Fraction literals now support whitespace around the forward " "slash, ``Fraction('2 / 3')``." msgstr "" -#: ../NEWS:13149 +#: ../NEWS:13192 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 "" -#: ../NEWS:13153 +#: ../NEWS:13196 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 "" -#: ../NEWS:13156 +#: ../NEWS:13199 msgid "" ":gh:`95588`: Clarified the conflicting advice given in the :mod:`ast` " "documentation about :func:`ast.literal_eval` being \"safe\" for use on " @@ -22918,117 +22987,117 @@ msgid "" "longer claim that ``literal_eval`` is safe." msgstr "" -#: ../NEWS:13163 +#: ../NEWS:13206 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 "" -#: ../NEWS:13166 +#: ../NEWS:13209 msgid "" ":gh:`95454`: Replaced incorrectly written true/false values in " "documentation. Patch by Robert O'Shea" msgstr "" -#: ../NEWS:13169 +#: ../NEWS:13212 msgid "" ":gh:`95451`: Update library documentation with :ref:`availability " "information ` on WebAssembly platforms ``wasm32-" "emscripten`` and ``wasm32-wasi``." msgstr "" -#: ../NEWS:13173 +#: ../NEWS:13216 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 "" -#: ../NEWS:13177 +#: ../NEWS:13220 msgid "" ":gh:`94321`: Document the :pep:`246` style protocol type :class:`sqlite3." "PrepareProtocol`." msgstr "" -#: ../NEWS:13180 +#: ../NEWS:13223 msgid "" ":gh:`86128`: Document a limitation in ThreadPoolExecutor where its exit " "handler is executed before any handlers in atexit." msgstr "" -#: ../NEWS:13183 +#: ../NEWS:13226 msgid "" ":gh:`61162`: Clarify :mod:`sqlite3` behavior when :ref:`sqlite3-connection-" "context-manager`." msgstr "" -#: ../NEWS:13186 +#: ../NEWS:13229 msgid "" ":gh:`87260`: Align :mod:`sqlite3` argument specs with the actual " "implementation." msgstr "" -#: ../NEWS:13189 +#: ../NEWS:13232 msgid "" ":gh:`86986`: The minimum Sphinx version required to build the documentation " "is now 3.2." msgstr "" -#: ../NEWS:13192 +#: ../NEWS:13235 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 "" -#: ../NEWS:13196 +#: ../NEWS:13239 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 "" -#: ../NEWS:13200 +#: ../NEWS:13243 msgid "" ":gh:`93031`: Update tutorial introduction output to use 3.10+ SyntaxError " "invalid range." msgstr "" -#: ../NEWS:13203 +#: ../NEWS:13246 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 "" -#: ../NEWS:13206 +#: ../NEWS:13249 msgid "" ":issue:`47161`: Document that :class:`pathlib.PurePath` does not collapse " "initial double slashes because they denote UNC paths." msgstr "" -#: ../NEWS:13209 +#: ../NEWS:13252 msgid "" ":issue:`40838`: Document that :func:`inspect.getdoc`, :func:`inspect." "getmodule`, and :func:`inspect.getsourcefile` might return ``None``." msgstr "" -#: ../NEWS:13213 +#: ../NEWS:13256 msgid "" ":issue:`43689`: The ``Differ`` documentation now also mentions other " "whitespace characters, which make it harder to understand the diff output." msgstr "" -#: ../NEWS:13216 +#: ../NEWS:13259 msgid "" ":issue:`38056`: Overhaul the :ref:`error-handlers` documentation in :mod:" "`codecs`." msgstr "" -#: ../NEWS:13219 +#: ../NEWS:13262 msgid ":issue:`13553`: Document tkinter.Tk args." msgstr "" -#: ../NEWS:13224 +#: ../NEWS:13267 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 " @@ -23036,20 +23105,20 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:13229 +#: ../NEWS:13272 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 "" -#: ../NEWS:13232 +#: ../NEWS:13275 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 "" -#: ../NEWS:13236 +#: ../NEWS:13279 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 " @@ -23059,85 +23128,85 @@ msgid "" "failures. Patch by Fantix King." msgstr "" -#: ../NEWS:13243 +#: ../NEWS:13286 msgid "" ":gh:`95280`: Fix problem with ``test_ssl`` ``test_get_ciphers`` on systems " "that require perfect forward secrecy (PFS) ciphers." msgstr "" -#: ../NEWS:13246 +#: ../NEWS:13289 msgid "" ":gh:`95212`: Make multiprocessing test case ``test_shared_memory_recreate`` " "parallel-safe." msgstr "" -#: ../NEWS:13249 +#: ../NEWS:13292 msgid "" ":gh:`95218`: Move tests for importlib.resources into test_importlib." "resources." msgstr "" -#: ../NEWS:13252 +#: ../NEWS:13295 msgid "" ":gh:`93963`: Updated tests to use preferred location for ``importlib." "resources`` ABCs." msgstr "" -#: ../NEWS:13255 +#: ../NEWS:13298 msgid "" ":gh:`94675`: Add a regression test for :mod:`re` exponentional slowdown when " "using rjsmin." msgstr "" -#: ../NEWS:13258 +#: ../NEWS:13301 msgid "" ":gh:`91330`: Added more tests for :mod:`dataclasses` to cover behavior with " "data descriptor-based fields." msgstr "" -#: ../NEWS:13261 +#: ../NEWS:13304 msgid "" ":gh:`94208`: ``test_ssl`` is now checking for supported TLS version and " "protocols in more tests." msgstr "" -#: ../NEWS:13264 +#: ../NEWS:13307 msgid "" ":gh:`94315`: Tests now check for DAC override capability instead of relying " "on :func:`os.geteuid`." msgstr "" -#: ../NEWS:13267 +#: ../NEWS:13310 msgid "" ":gh:`54781`: Rename test_tk to test_tkinter, and rename test_ttk_guionly to " "test_ttk. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13270 +#: ../NEWS:13313 msgid "" ":gh:`93839`: Move ``Lib/ctypes/test/`` to ``Lib/test/test_ctypes/``. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:13273 +#: ../NEWS:13316 msgid "" ":gh:`93951`: In test_bdb.StateTestCase.test_skip, avoid including auxiliary " "importers." msgstr "" -#: ../NEWS:13276 +#: ../NEWS:13319 msgid "" ":gh:`93957`: Provide nicer error reporting from subprocesses in test_venv." "EnsurePipTest.test_with_pip." msgstr "" -#: ../NEWS:13279 +#: ../NEWS:13322 msgid "" ":gh:`93884`: Add test cases for :c:func:`PyNumber_ToBase` that take a large " "number or a non-int object as parameter." msgstr "" -#: ../NEWS:13282 +#: ../NEWS:13325 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 " @@ -23145,25 +23214,25 @@ msgid "" "envvar:`TMPDIR` environment variable) is too long. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13288 +#: ../NEWS:13331 msgid "" ":gh:`93353`: regrtest now checks if a test leaks temporary files or " "directories if run with -jN option. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13291 +#: ../NEWS:13334 msgid "" ":gh:`84461`: ``run_tests.py`` now handles cross compiling env vars correctly " "and pass ``HOSTRUNNER`` to regression tests." msgstr "" -#: ../NEWS:13294 +#: ../NEWS:13337 msgid "" ":gh:`93616`: ``test_modulefinder`` now creates a temporary directory in " "``ModuleFinderTest.setUp()`` instead of module scope." msgstr "" -#: ../NEWS:13297 +#: ../NEWS:13340 msgid "" ":gh:`93575`: Fix issue with test_unicode test_raiseMemError. The test case " "now use ``test.support.calcobjsize`` to calculate size of PyUnicode " @@ -23171,67 +23240,67 @@ msgid "" "UTF-8 memory." msgstr "" -#: ../NEWS:13302 +#: ../NEWS:13345 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 "" -#: ../NEWS:13306 +#: ../NEWS:13349 msgid "" ":gh:`90473`: Skip tests on WASI that require symlinks with absolute paths." msgstr "" -#: ../NEWS:13308 +#: ../NEWS:13351 msgid "" ":gh:`57539`: Increase calendar test coverage for :meth:`calendar." "LocaleTextCalendar.formatweekday`." msgstr "" -#: ../NEWS:13311 +#: ../NEWS:13354 msgid "" ":gh:`90473`: Skip symlink tests on WASI. wasmtime uses ``openat2(2)`` with " "``RESOLVE_BENEATH`` flag, which prevents symlinks with absolute paths." msgstr "" -#: ../NEWS:13314 +#: ../NEWS:13357 msgid "" ":gh:`89858`: Fix ``test_embed`` for out-of-tree builds. Patch by Kumar " "Aditya." msgstr "" -#: ../NEWS:13317 +#: ../NEWS:13360 msgid "" ":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " "in ``test_imaplib.py``." msgstr "" -#: ../NEWS:13320 +#: ../NEWS:13363 msgid "" ":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " "in ``test_zipimport.py``" msgstr "" -#: ../NEWS:13323 +#: ../NEWS:13366 msgid "" ":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " "in ``test_py_compile.py``" msgstr "" -#: ../NEWS:13326 +#: ../NEWS:13369 msgid "" ":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " "in ``test_sys_settrace.py``." msgstr "" -#: ../NEWS:13329 +#: ../NEWS:13372 msgid "" ":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " "in ``_test_multiprocessing.py``" msgstr "" -#: ../NEWS:13332 +#: ../NEWS:13375 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 " @@ -23239,138 +23308,138 @@ msgid "" "considered as a file." msgstr "" -#: ../NEWS:13337 +#: ../NEWS:13380 msgid "" ":gh:`92514`: Remove unused ``test.support.BasicTestRunner``. Patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:13340 +#: ../NEWS:13383 msgid "" ":issue:`47016`: Create a GitHub Actions workflow for verifying bundled pip " "and setuptools. Patch by Illia Volochii and Adam Turner." msgstr "" -#: ../NEWS:13346 +#: ../NEWS:13389 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 "" -#: ../NEWS:13350 +#: ../NEWS:13393 msgid "" ":gh:`96883`: ``wasm32-emscripten`` builds for browsers now include :mod:" "`concurrent.futures` for :mod:`asyncio` and :mod:`unittest.mock`." msgstr "" -#: ../NEWS:13353 +#: ../NEWS:13396 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 "" -#: ../NEWS:13356 +#: ../NEWS:13399 msgid "" ":gh:`96729`: Ensure that Windows releases built with " "``Tools\\msi\\buildrelease.bat`` are upgradable to and from official Python " "releases." msgstr "" -#: ../NEWS:13360 +#: ../NEWS:13403 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 "" -#: ../NEWS:13364 +#: ../NEWS:13407 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 "" -#: ../NEWS:13368 +#: ../NEWS:13411 msgid "" ":gh:`95973`: Add a new ``--with-dsymutil`` configure option to link debug " "information in macOS. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:13371 +#: ../NEWS:13414 msgid "" ":gh:`90536`: Use the BOLT post-link optimizer to improve performance, " "particularly on medium-to-large applications." msgstr "" -#: ../NEWS:13374 +#: ../NEWS:13417 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 "" -#: ../NEWS:13378 +#: ../NEWS:13421 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 "" -#: ../NEWS:13382 +#: ../NEWS:13425 msgid "" ":gh:`95145`: wasm32-wasi builds no longer depend on WASIX's pthread stubs. " "Python now has its own stubbed pthread API." msgstr "" -#: ../NEWS:13385 +#: ../NEWS:13428 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 "" -#: ../NEWS:13389 +#: ../NEWS:13432 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 "" -#: ../NEWS:13393 +#: ../NEWS:13436 msgid "" ":gh:`95085`: Platforms ``wasm32-unknown-emscripten`` and ``wasm32-unknown-" "wasi`` have been promoted to :pep:`11` tier 3 platform support." msgstr "" -#: ../NEWS:13397 +#: ../NEWS:13440 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 "" -#: ../NEWS:13400 +#: ../NEWS:13443 msgid "" ":gh:`94841`: Fix the possible performance regression of :c:func:" "`PyObject_Free` compiled with MSVC version 1932." msgstr "" -#: ../NEWS:13403 +#: ../NEWS:13446 msgid "" ":gh:`94801`: ``configure`` now uses custom flags like ``ZLIB_CFLAGS`` and " "``ZLIB_LIBS`` when searching for headers and libraries." msgstr "" -#: ../NEWS:13406 +#: ../NEWS:13449 msgid "" ":gh:`94773`: ``deepfreeze.py`` now supports code object with frozensets that " "contain incompatible, unsortable types." msgstr "" -#: ../NEWS:13409 +#: ../NEWS:13452 msgid ":gh:`94682`: Build and test with OpenSSL 1.1.1q" msgstr "" -#: ../NEWS:13411 +#: ../NEWS:13454 msgid "" ":gh:`90005`: Dependencies of :mod:`readline` and :mod:`curses` module are " "now detected in ``configure`` script with ``pkg-config``. Only ``ncurses`` / " @@ -23379,16 +23448,16 @@ msgid "" "library has been removed." msgstr "" -#: ../NEWS:13417 +#: ../NEWS:13460 msgid ":gh:`90005`: Fix building ``_ctypes`` extension without ``pkg-config``." msgstr "" -#: ../NEWS:13419 +#: ../NEWS:13462 msgid "" ":gh:`90005`: ``_dbm`` module dependencies are now detected by configure." msgstr "" -#: ../NEWS:13421 +#: ../NEWS:13464 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. " @@ -23396,49 +23465,49 @@ msgid "" "system headers." msgstr "" -#: ../NEWS:13426 +#: ../NEWS:13469 msgid "" ":gh:`93939`: C extension modules are now built by ``configure`` and ``make`` " "instead of ``distutils`` and ``setup.py``." msgstr "" -#: ../NEWS:13429 +#: ../NEWS:13472 msgid "" ":gh:`93939`: The ``2to3``, ``idle``, and ``pydoc`` scripts are now generated " "and installed by ``Makefile`` instead of ``setup.py``." msgstr "" -#: ../NEWS:13432 +#: ../NEWS:13475 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 "" -#: ../NEWS:13436 +#: ../NEWS:13479 msgid "" ":gh:`93584`: Address race condition in ``Makefile`` when installing a PGO " "build. All ``test`` and ``install`` targets now depend on ``all`` target." msgstr "" -#: ../NEWS:13439 +#: ../NEWS:13482 msgid "" ":gh:`93491`: ``configure`` now detects and reports :pep:`11` support tiers." msgstr "" -#: ../NEWS:13441 +#: ../NEWS:13484 msgid "" ":gh:`69093`: Fix ``Modules/Setup.stdlib.in`` rule for ``_sqlite3`` extension." msgstr "" -#: ../NEWS:13443 +#: ../NEWS:13486 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 "" -#: ../NEWS:13447 +#: ../NEWS:13490 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 " @@ -23446,18 +23515,18 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:13452 +#: ../NEWS:13495 msgid "" ":gh:`90473`: Disable pymalloc and increase stack size on ``wasm32-wasi``." msgstr "" -#: ../NEWS:13454 +#: ../NEWS:13497 msgid "" ":issue:`34449`: Drop invalid compiler switch ``-fPIC`` for HP aCC on HP-UX. " "Patch by Michael Osipov." msgstr "" -#: ../NEWS:13460 +#: ../NEWS:13503 msgid "" ":gh:`98360`: Fixes :mod:`multiprocessing` spawning child processes on " "Windows from a virtual environment to ensure that child processes that also " @@ -23465,78 +23534,78 @@ msgid "" "are in a virtual environment." msgstr "" -#: ../NEWS:13465 +#: ../NEWS:13508 msgid "" ":gh:`98414`: Fix :file:`py.exe` launcher handling of :samp:`-V:{}/` " "option when default preferences have been set in environment variables or " "configuration files." msgstr "" -#: ../NEWS:13469 +#: ../NEWS:13512 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 "" -#: ../NEWS:13473 +#: ../NEWS:13516 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 "" -#: ../NEWS:13476 +#: ../NEWS:13519 msgid ":gh:`97649`: The ``Tools`` directory is no longer installed on Windows" msgstr "" -#: ../NEWS:13478 +#: ../NEWS:13521 msgid ":gh:`96965`: Update libffi to 3.4.3" msgstr "" -#: ../NEWS:13480 +#: ../NEWS:13523 msgid ":gh:`96577`: Fixes a potential buffer overrun in :mod:`!msilib`." msgstr "" -#: ../NEWS:13482 +#: ../NEWS:13525 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 "" -#: ../NEWS:13486 +#: ../NEWS:13529 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 "" -#: ../NEWS:13490 +#: ../NEWS:13533 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 "" -#: ../NEWS:13494 +#: ../NEWS:13537 msgid "" ":gh:`95733`: Make certain requirements of the Windows Store package optional " "to allow installing on earlier updates of Windows." msgstr "" -#: ../NEWS:13497 +#: ../NEWS:13540 msgid "" ":gh:`95656`: Enable the :meth:`~sqlite3.Connection.enable_load_extension` :" "mod:`sqlite3` API." msgstr "" -#: ../NEWS:13500 +#: ../NEWS:13543 msgid "" ":gh:`95587`: Fixes some issues where the Windows installer would incorrectly " "detect certain features of an existing install when upgrading." msgstr "" -#: ../NEWS:13503 +#: ../NEWS:13546 msgid "" ":gh:`94399`: Restores the behaviour of :ref:`launcher` for ``/usr/bin/env`` " "shebang lines, which will now search :envvar:`PATH` for an executable " @@ -23544,92 +23613,92 @@ msgid "" "used." msgstr "" -#: ../NEWS:13508 +#: ../NEWS:13551 msgid "" ":gh:`95445`: Fixes the unsuccessful removal of the HTML document directory " "when uninstalling with Windows msi." msgstr "" -#: ../NEWS:13511 +#: ../NEWS:13554 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 "" -#: ../NEWS:13515 +#: ../NEWS:13558 msgid "" ":gh:`95285`: Fix :ref:`launcher` handling of command lines where it is only " "passed a short executable name." msgstr "" -#: ../NEWS:13518 +#: ../NEWS:13561 msgid "" ":gh:`90844`: Allow virtual environments to correctly launch when they have " "spaces in the path." msgstr "" -#: ../NEWS:13521 +#: ../NEWS:13564 msgid ":gh:`94772`: Fix incorrect handling of shebang lines in py.exe launcher" msgstr "" -#: ../NEWS:13523 +#: ../NEWS:13566 msgid "" ":gh:`94018`: :mod:`zipfile` will now remove trailing spaces from path " "components when extracting files on Windows." msgstr "" -#: ../NEWS:13526 +#: ../NEWS:13569 msgid "" ":gh:`93824`: Drag and drop of files onto Python files in Windows Explorer " "has been enabled for Windows ARM64." msgstr "" -#: ../NEWS:13529 +#: ../NEWS:13572 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 "" -#: ../NEWS:13533 +#: ../NEWS:13576 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 "" -#: ../NEWS:13537 +#: ../NEWS:13580 msgid "" ":gh:`92984`: Explicitly disable incremental linking for non-Debug builds" msgstr "" -#: ../NEWS:13539 +#: ../NEWS:13582 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 "" -#: ../NEWS:13543 +#: ../NEWS:13586 msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.4." msgstr "" -#: ../NEWS:13545 +#: ../NEWS:13588 msgid ":gh:`91061`: Accept os.PathLike for the argument to winsound.PlaySound" msgstr "" -#: ../NEWS:13547 +#: ../NEWS:13590 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 "" -#: ../NEWS:13552 +#: ../NEWS:13595 msgid ":issue:`38704`: Prevent installation on unsupported Windows versions." msgstr "" -#: ../NEWS:13557 +#: ../NEWS:13600 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." @@ -23639,107 +23708,107 @@ msgid "" "(\"weaklinking\") as is done for other newer syscalls on macOS." msgstr "" -#: ../NEWS:13567 +#: ../NEWS:13610 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 "" -#: ../NEWS:13571 +#: ../NEWS:13614 msgid ":gh:`65802`: Document handling of extensions in Save As dialogs." msgstr "" -#: ../NEWS:13573 +#: ../NEWS:13616 msgid "" ":gh:`95191`: Include prompts when saving Shell (interactive input and " "output)." msgstr "" -#: ../NEWS:13576 +#: ../NEWS:13619 msgid "" ":gh:`95511`: Fix the Shell context menu copy-with-prompts bug of copying an " "extra line when one selects whole lines." msgstr "" -#: ../NEWS:13579 +#: ../NEWS:13622 msgid "" ":gh:`95471`: In the Edit menu, move ``Select All`` and add a new separator." msgstr "" -#: ../NEWS:13581 +#: ../NEWS:13624 msgid ":gh:`95411`: Enable using IDLE's module browser with .pyw files." msgstr "" -#: ../NEWS:13583 +#: ../NEWS:13626 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 "" -#: ../NEWS:13589 +#: ../NEWS:13632 msgid ":gh:`68686`: Remove ptags and eptags scripts." msgstr "" -#: ../NEWS:13591 +#: ../NEWS:13634 msgid "" ":gh:`97681`: Remove the ``Tools/demo/`` directory which contained old demo " "scripts. A copy can be found in the `old-demos project `_. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13595 +#: ../NEWS:13638 msgid "" ":gh:`97669`: Remove outdated example scripts of the ``Tools/scripts/`` " "directory. A copy can be found in the `old-demos project `_. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13599 +#: ../NEWS:13642 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 "" -#: ../NEWS:13602 +#: ../NEWS:13645 msgid "" ":gh:`95853`: The new tool ``Tools/wasm/wasm_builder.py`` automates " "configure, compile, and test steps for building CPython on WebAssembly " "platforms." msgstr "" -#: ../NEWS:13605 +#: ../NEWS:13648 msgid "" ":gh:`95731`: Fix handling of module docstrings in :file:`Tools/i18n/" "pygettext.py`." msgstr "" -#: ../NEWS:13608 +#: ../NEWS:13651 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 "" -#: ../NEWS:13612 +#: ../NEWS:13655 msgid "" ":gh:`94538`: Fix Argument Clinic output to custom file destinations. Patch " "by Erlend E. Aasland." msgstr "" -#: ../NEWS:13615 +#: ../NEWS:13658 msgid "" ":gh:`94430`: Allow parameters named ``module`` and ``self`` with custom C " "names in Argument Clinic. Patch by Erlend E. Aasland" msgstr "" -#: ../NEWS:13618 +#: ../NEWS:13661 msgid "" ":gh:`86087`: The ``Tools/scripts/parseentities.py`` script used to parse " "HTML4 entities has been removed." msgstr "" -#: ../NEWS:13624 +#: ../NEWS:13667 msgid "" ":gh:`98393`: The :c:func:`PyUnicode_FSDecoder` function no longer accepts " "bytes-like paths, like :class:`bytearray` and :class:`memoryview` types: " @@ -23747,25 +23816,25 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:13629 +#: ../NEWS:13672 msgid "" ":gh:`91051`: Add :c:func:`PyType_Watch` and related APIs to allow callbacks " "on :c:func:`PyType_Modified`." msgstr "" -#: ../NEWS:13632 +#: ../NEWS:13675 msgid "" ":gh:`95756`: Lazily create and cache ``co_`` attributes for better " "performance for code getters." msgstr "" -#: ../NEWS:13635 +#: ../NEWS:13678 msgid "" ":gh:`96512`: Configuration for the :ref:`integer string conversion length " "limitation ` now lives in the PyConfig C API struct." msgstr "" -#: ../NEWS:13638 +#: ../NEWS:13681 msgid "" ":gh:`95589`: Extensions classes that set ``tp_dictoffset`` and " "``tp_weaklistoffset`` lose the support for multiple inheritance, but are now " @@ -23773,7 +23842,7 @@ msgid "" "macro:`Py_TPFLAGS_MANAGED_WEAKREF` instead." msgstr "" -#: ../NEWS:13643 +#: ../NEWS:13686 msgid "" ":gh:`95781`: An unrecognized format character in :c:func:" "`PyUnicode_FromFormat` and :c:func:`PyUnicode_FromFormatV` now sets a :exc:" @@ -23782,33 +23851,33 @@ msgid "" "discarded." msgstr "" -#: ../NEWS:13649 +#: ../NEWS:13692 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 "" -#: ../NEWS:13652 +#: ../NEWS:13695 msgid "" ":gh:`92678`: Support C extensions using managed dictionaries by setting the " "``Py_TPFLAGS_MANAGED_DICT`` flag." msgstr "" -#: ../NEWS:13655 +#: ../NEWS:13698 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 "" -#: ../NEWS:13659 +#: ../NEWS:13702 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 "" -#: ../NEWS:13663 +#: ../NEWS:13706 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 " @@ -23818,21 +23887,21 @@ msgid "" "inherit the :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag." msgstr "" -#: ../NEWS:13671 +#: ../NEWS:13714 msgid "" ":gh:`95388`: Creating :c:macro:`immutable types ` " "with mutable bases is deprecated and is planned to be disabled in Python " "3.14." msgstr "" -#: ../NEWS:13675 +#: ../NEWS:13718 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 "" -#: ../NEWS:13679 +#: ../NEWS:13722 msgid "" ":gh:`94936`: Added :c:func:`PyCode_GetVarnames`, :c:func:" "`PyCode_GetCellvars` and :c:func:`PyCode_GetFreevars` for accessing " @@ -23840,14 +23909,14 @@ msgid "" "API." msgstr "" -#: ../NEWS:13683 +#: ../NEWS:13726 msgid "" ":gh:`94930`: Fix ``SystemError`` raised when :c:func:" "`PyArg_ParseTupleAndKeywords` is used with ``#`` in ``(...)`` but without " "``PY_SSIZE_T_CLEAN`` defined." msgstr "" -#: ../NEWS:13687 +#: ../NEWS:13730 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 " @@ -23855,66 +23924,66 @@ msgid "" "constant`` options for ``g++``." msgstr "" -#: ../NEWS:13692 +#: ../NEWS:13735 msgid "" ":gh:`93937`: The following frame functions and type are now directly " "available with ``#include ``, it's no longer needed to add " "``#include ``:" msgstr "" -#: ../NEWS:13696 +#: ../NEWS:13739 msgid ":c:func:`PyFrame_Check`" msgstr "" -#: ../NEWS:13697 +#: ../NEWS:13740 msgid ":c:func:`PyFrame_GetBack`" msgstr "" -#: ../NEWS:13698 +#: ../NEWS:13741 msgid ":c:func:`PyFrame_GetBuiltins`" msgstr "" -#: ../NEWS:13699 +#: ../NEWS:13742 msgid ":c:func:`PyFrame_GetGenerator`" msgstr "" -#: ../NEWS:13700 +#: ../NEWS:13743 msgid ":c:func:`PyFrame_GetGlobals`" msgstr "" -#: ../NEWS:13701 +#: ../NEWS:13744 msgid ":c:func:`PyFrame_GetLasti`" msgstr "" -#: ../NEWS:13702 +#: ../NEWS:13745 msgid ":c:func:`PyFrame_GetLocals`" msgstr "" -#: ../NEWS:13703 +#: ../NEWS:13746 msgid ":c:type:`PyFrame_Type`" msgstr "" -#: ../NEWS:13707 +#: ../NEWS:13750 msgid "" ":gh:`91321`: Fix the compatibility of the Python C API with C++ older than C+" "+11. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13710 +#: ../NEWS:13753 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 "" -#: ../NEWS:13714 +#: ../NEWS:13757 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 "" -#: ../NEWS:13719 +#: ../NEWS:13762 msgid "" ":gh:`93503`: Add two new public functions to the public C-API, :c:func:" "`PyEval_SetProfileAllThreads` and :c:func:`PyEval_SetTraceAllThreads`, that " @@ -23925,111 +23994,111 @@ msgid "" "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:13728 +#: ../NEWS:13771 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 "" -#: ../NEWS:13732 +#: ../NEWS:13775 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 "" -#: ../NEWS:13736 +#: ../NEWS:13779 msgid "" ":gh:`92898`: Fix C++ compiler warnings when casting function arguments to " "``PyObject*``. Patch by Serge Guelton." msgstr "" -#: ../NEWS:13739 +#: ../NEWS:13782 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 "" -#: ../NEWS:13744 +#: ../NEWS:13787 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 "" -#: ../NEWS:13748 +#: ../NEWS:13791 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 "" -#: ../NEWS:13751 +#: ../NEWS:13794 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 "" -#: ../NEWS:13755 +#: ../NEWS:13798 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 "" -#: ../NEWS:13759 +#: ../NEWS:13802 msgid ":gh:`92536`: Remove legacy Unicode APIs based on ``Py_UNICODE*``." msgstr "" -#: ../NEWS:13761 +#: ../NEWS:13804 msgid "" ":gh:`85858`: Remove the ``PyUnicode_InternImmortal()`` function and the " "``SSTATE_INTERNED_IMMORTAL`` macro. Patch by Victor Stinner." msgstr "" -#: ../NEWS:13764 +#: ../NEWS:13807 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 "" -#: ../NEWS:13767 +#: ../NEWS:13810 msgid "" "Warning: extensions using this API must preserve the behavior of the " "unaltered function!" msgstr "" -#: ../NEWS:13770 +#: ../NEWS:13813 msgid "" ":gh:`59121`: Fixed an assert that prevented ``PyRun_InteractiveOne`` from " "providing tracebacks when parsing from the provided FD." msgstr "" -#: ../NEWS:13773 +#: ../NEWS:13816 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 "" -#: ../NEWS:13779 +#: ../NEWS:13822 msgid "Python 3.11.0 beta 1" msgstr "" -#: ../NEWS:13781 +#: ../NEWS:13824 msgid "*Release date: 2022-05-06*" msgstr "" -#: ../NEWS:13786 +#: ../NEWS:13829 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 "" -#: ../NEWS:13793 +#: ../NEWS:13836 msgid "" ":gh:`89519`: Chaining classmethod descriptors (introduced in :issue:`19072`) " "is deprecated. It can no longer be used to wrap other descriptors such as " @@ -24037,7 +24106,7 @@ msgid "" "number of downstream problems." msgstr "" -#: ../NEWS:13798 +#: ../NEWS:13841 msgid "" ":gh:`92345`: ``pymain_run_python()`` now imports ``readline`` and " "``rlcompleter`` before sys.path is extended to include the current working " @@ -24045,19 +24114,19 @@ msgid "" "not affected." msgstr "" -#: ../NEWS:13803 +#: ../NEWS:13846 msgid "" ":issue:`43857`: Improve the :exc:`AttributeError` message when deleting a " "missing attribute. Patch by Géry Ogam." msgstr "" -#: ../NEWS:13806 +#: ../NEWS:13849 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 "" -#: ../NEWS:13810 +#: ../NEWS:13853 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 " @@ -24066,37 +24135,37 @@ msgid "" "it must be ``None`` if the code object doesn't refer to any free variables." msgstr "" -#: ../NEWS:13817 +#: ../NEWS:13860 msgid "" ":gh:`91173`: Disable frozen modules in debug builds. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:13819 +#: ../NEWS:13862 msgid "" ":gh:`92114`: Improve error message when subscript a type with " "``__class_getitem__`` set to ``None``." msgstr "" -#: ../NEWS:13822 +#: ../NEWS:13865 msgid "" ":gh:`92112`: Fix crash triggered by an evil custom ``mro()`` on a metaclass." msgstr "" -#: ../NEWS:13824 +#: ../NEWS:13867 msgid "" ":gh:`92063`: The ``PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS`` " "instruction now ensures methods are called only on objects of the correct " "type." msgstr "" -#: ../NEWS:13827 +#: ../NEWS:13870 msgid "" ":gh:`92031`: Deoptimize statically allocated code objects during " "``Py_FINALIZE()`` so that future ``_PyCode_Quicken`` calls always start with " "unquickened code." msgstr "" -#: ../NEWS:13831 +#: ../NEWS:13874 msgid "" ":gh:`92036`: Fix a crash in subinterpreters related to the garbage " "collector. When a subinterpreter is deleted, untrack all objects tracked by " @@ -24106,114 +24175,114 @@ msgid "" "by Victor Stinner." msgstr "" -#: ../NEWS:13838 +#: ../NEWS:13881 msgid "" ":gh:`92032`: The interpreter can now autocomplete soft keywords, as of now " "``match``, ``case``, and ``_`` (wildcard pattern) from :pep:`634`." msgstr "" -#: ../NEWS:13841 +#: ../NEWS:13884 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 "" -#: ../NEWS:13845 +#: ../NEWS:13888 msgid "" ":gh:`91869`: Fix an issue where specialized opcodes with extended arguments " "could produce incorrect tracing output or lead to assertion failures." msgstr "" -#: ../NEWS:13848 +#: ../NEWS:13891 msgid "" ":gh:`91603`: Speed up :class:`types.UnionType` instantiation. Based on patch " "provided by Yurii Karabas." msgstr "" -#: ../NEWS:13851 +#: ../NEWS:13894 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 "" -#: ../NEWS:13855 +#: ../NEWS:13898 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 "" -#: ../NEWS:13858 +#: ../NEWS:13901 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 "" -#: ../NEWS:13862 +#: ../NEWS:13905 msgid "" ":issue:`43950`: Use a single compact table for line starts, ends and column " "offsets. Reduces memory consumption for location info by half" msgstr "" -#: ../NEWS:13865 +#: ../NEWS:13908 msgid "" ":gh:`91102`: Use Argument Clinic for :class:`EncodingMap`. Patch by Oleg " "Iarygin." msgstr "" -#: ../NEWS:13868 +#: ../NEWS:13911 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 "" -#: ../NEWS:13872 +#: ../NEWS:13915 msgid "" ":gh:`91603`: Speed up :func:`isinstance` and :func:`issubclass` checks for :" "class:`types.UnionType`. Patch by Yurii Karabas." msgstr "" -#: ../NEWS:13875 +#: ../NEWS:13918 msgid "" ":gh:`91625`: Fixed a bug in which adaptive opcodes ignored any preceding " "``EXTENDED_ARG``\\ s on specialization failure." msgstr "" -#: ../NEWS:13878 +#: ../NEWS:13921 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 "" -#: ../NEWS:13882 +#: ../NEWS:13925 msgid "" ":gh:`91576`: Speed up iteration of ascii strings by 50%. Patch by Kumar " "Aditya." msgstr "" -#: ../NEWS:13885 +#: ../NEWS:13928 msgid "" ":gh:`89279`: Improve interpreter performance on Windows by inlining a few " "specific macros." msgstr "" -#: ../NEWS:13888 +#: ../NEWS:13931 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 "" -#: ../NEWS:13892 +#: ../NEWS:13935 msgid "" ":gh:`91266`: Refactor the ``bytearray`` strip methods ``strip``, ``lstrip`` " "and ``rstrip`` to use a common implementation." msgstr "" -#: ../NEWS:13895 +#: ../NEWS:13938 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, :" @@ -24221,32 +24290,32 @@ msgid "" "field is created when necessary." msgstr "" -#: ../NEWS:13900 +#: ../NEWS:13943 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 "" -#: ../NEWS:13904 +#: ../NEWS:13947 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 "" -#: ../NEWS:13908 +#: ../NEWS:13951 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 "" -#: ../NEWS:13911 +#: ../NEWS:13954 msgid ":gh:`91421`: Fix a potential integer overflow in _Py_DecodeUTF8Ex." msgstr "" -#: ../NEWS:13913 +#: ../NEWS:13956 msgid "" ":gh:`91428`: Add ``static const char *const _PyOpcode_OpName[256] = {...};`` " "to ``opcode.h`` for debug builds to assist in debugging the Python " @@ -24255,20 +24324,20 @@ msgid "" "corresponding decimal digits." msgstr "" -#: ../NEWS:13919 +#: ../NEWS:13962 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 "" -#: ../NEWS:13923 +#: ../NEWS:13966 msgid "" ":issue:`45317`: Add internal documentation explaining design of new (for " "3.11) frame stack." msgstr "" -#: ../NEWS:13926 +#: ../NEWS:13969 msgid "" ":issue:`47197`: ctypes used to mishandle ``void`` return types, so that for " "instance a function declared like ``ctypes.CFUNCTYPE(None, ctypes.c_int)`` " @@ -24277,13 +24346,13 @@ msgid "" "signatures so this led to crashes. The problem is now fixed." msgstr "" -#: ../NEWS:13932 +#: ../NEWS:13975 msgid "" ":issue:`47120`: Make opcodes :opcode:`!JUMP_IF_TRUE_OR_POP` and :opcode:`!" "JUMP_IF_FALSE_OR_POP` relative rather than absolute." msgstr "" -#: ../NEWS:13935 +#: ../NEWS:13978 msgid "" ":issue:`47177`: Replace the ``f_lasti`` member of the internal " "``_PyInterpreterFrame`` structure with a ``prev_instr`` pointer, which " @@ -24291,85 +24360,85 @@ msgid "" "Python-layer frame objects is preserved for backward-compatibility." msgstr "" -#: ../NEWS:13940 +#: ../NEWS:13983 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 "" -#: ../NEWS:13944 +#: ../NEWS:13987 msgid "" ":issue:`46962`: Classes and functions that unconditionally declared their " "docstrings ignoring the ``--without-doc-strings`` compilation flag no longer " "do so." msgstr "" -#: ../NEWS:13948 +#: ../NEWS:13991 msgid "" "The classes affected are :class:`ctypes.UnionType`, :class:`pickle." "PickleBuffer`, :class:`testcapi.RecursingInfinitelyError`, and :class:`types." "GenericAlias`." msgstr "" -#: ../NEWS:13952 +#: ../NEWS:13995 msgid "The functions affected are 24 methods in :mod:`ctypes`." msgstr "" -#: ../NEWS:13954 +#: ../NEWS:13997 msgid "Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:13956 +#: ../NEWS:13999 msgid "" ":issue:`46942`: Use Argument Clinic for the :class:`types.MethodType` " "constructor. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:13959 +#: ../NEWS:14002 msgid ":issue:`46764`: Fix wrapping bound methods with @classmethod" msgstr "" -#: ../NEWS:13961 +#: ../NEWS:14004 msgid "" ":issue:`43464`: Optimize :meth:`set.intersection` for non-set arguments." msgstr "" -#: ../NEWS:13963 +#: ../NEWS:14006 msgid ":issue:`46721`: Optimize :meth:`set.issuperset` for non-set argument." msgstr "" -#: ../NEWS:13965 +#: ../NEWS:14008 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 "" -#: ../NEWS:13969 ../NEWS:15684 +#: ../NEWS:14012 ../NEWS:15727 msgid ":issue:`46045`: Do not use POSIX semaphores on NetBSD" msgstr "" -#: ../NEWS:13971 +#: ../NEWS:14014 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 "" -#: ../NEWS:13975 +#: ../NEWS:14018 msgid "" ":issue:`34093`: ``marshal.dumps()`` uses ``FLAG_REF`` for all interned " "strings. This makes output more deterministic and helps reproducible build." msgstr "" -#: ../NEWS:13978 +#: ../NEWS:14021 msgid "" ":issue:`26579`: Added ``object.__getstate__`` which provides the default " "implementation of the ``__getstate__()`` method." msgstr "" -#: ../NEWS:13981 +#: ../NEWS:14024 msgid "" "Copying and pickling instances of subclasses of builtin types bytearray, " "set, frozenset, collections.OrderedDict, collections.deque, weakref.WeakSet, " @@ -24377,74 +24446,74 @@ msgid "" "as slots." msgstr "" -#: ../NEWS:13989 +#: ../NEWS:14032 msgid ":gh:`87901`: Add the *encoding* parameter to :func:`os.popen`." msgstr "" -#: ../NEWS:13991 +#: ../NEWS:14034 msgid "" ":gh:`90997`: Fix an issue where :mod:`dis` utilities may interpret populated " "inline cache entries as valid instructions." msgstr "" -#: ../NEWS:13994 +#: ../NEWS:14037 msgid "" ":gh:`92332`: Deprecate :class:`typing.Text` (removal of the class is " "currently not planned). Patch by Alex Waygood." msgstr "" -#: ../NEWS:13997 +#: ../NEWS:14040 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 "" -#: ../NEWS:14001 +#: ../NEWS:14044 msgid ":gh:`92356`: Fixed a performance regression in ctypes function calls." msgstr "" -#: ../NEWS:14003 +#: ../NEWS:14046 msgid "" ":gh:`90997`: Show the actual named values stored in inline caches when " "``show_caches=True`` is passed to :mod:`dis` utilities." msgstr "" -#: ../NEWS:14006 +#: ../NEWS:14049 msgid "" ":gh:`92301`: Prefer ``close_range()`` to iterating over procfs for file " "descriptor closing in :mod:`subprocess` for better performance." msgstr "" -#: ../NEWS:14009 +#: ../NEWS:14052 msgid ":gh:`67248`: Sort the miscellaneous topics in Cmd.do_help()" msgstr "" -#: ../NEWS:14011 +#: ../NEWS:14054 msgid "" ":gh:`92210`: Port ``socket.__init__`` to Argument Clinic. Patch by Cinder." msgstr "" -#: ../NEWS:14013 +#: ../NEWS:14056 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 "" -#: ../NEWS:14018 +#: ../NEWS:14061 msgid "" ":gh:`92118`: Fix a 3.11 regression in :func:`~contextlib.contextmanager`, " "which caused it to propagate exceptions with incorrect tracebacks." msgstr "" -#: ../NEWS:14021 +#: ../NEWS:14064 msgid "" ":gh:`90887`: Adding ``COPYFILE_STAT``, ``COPYFILE_ACL`` and " "``COPYFILE_XATTR`` constants for :func:`os.fcopyfile` available in macOs." msgstr "" -#: ../NEWS:14024 +#: ../NEWS:14067 msgid "" ":gh:`91215`: For :func:`@dataclass `, add " "*weakref_slot*. The new parameter defaults to ``False``. If true, and if " @@ -24452,65 +24521,65 @@ msgid "" "instances to be weakref'd. Contributed by Eric V. Smith" msgstr "" -#: ../NEWS:14029 +#: ../NEWS:14072 msgid ":gh:`85984`: New function os.login_tty() for Unix." msgstr "" -#: ../NEWS:14031 +#: ../NEWS:14074 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 "" -#: ../NEWS:14035 +#: ../NEWS:14078 msgid "" ":gh:`92049`: Forbid pickling constants ``re._constants.SUCCESS`` etc. " "Previously, pickling did not fail, but the result could not be unpickled." msgstr "" -#: ../NEWS:14038 +#: ../NEWS:14081 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 "" -#: ../NEWS:14042 +#: ../NEWS:14085 msgid "" ":gh:`87390`: Add an ``__unpacked__`` attribute to :class:`types." "GenericAlias`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14045 +#: ../NEWS:14088 msgid ":gh:`88089`: Add support for generic :class:`typing.NamedTuple`." msgstr "" -#: ../NEWS:14047 +#: ../NEWS:14090 msgid "" ":gh:`91996`: New http.HTTPMethod enum to represent all the available HTTP " "request methods in a convenient way" msgstr "" -#: ../NEWS:14050 +#: ../NEWS:14093 msgid "" ":gh:`91984`: Modified test strings in test_argparse.py to not contain " "trailing spaces before end of line." msgstr "" -#: ../NEWS:14053 +#: ../NEWS:14096 msgid "" ":gh:`91952`: Add ``encoding=\"locale\"`` support to :meth:`TextIOWrapper." "reconfigure`." msgstr "" -#: ../NEWS:14056 +#: ../NEWS:14099 msgid "" ":gh:`91954`: Add *encoding* and *errors* arguments to :func:`subprocess." "getoutput` and :func:`subprocess.getstatusoutput`." msgstr "" -#: ../NEWS:14059 +#: ../NEWS:14102 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 " @@ -24518,81 +24587,81 @@ msgid "" "at :meth:`multiprocessing.Queue.close` calls. Patch by Géry Ogam." msgstr "" -#: ../NEWS:14065 +#: ../NEWS:14108 msgid ":gh:`91928`: Add ``datetime.UTC`` alias for ``datetime.timezone.utc``." msgstr "" -#: ../NEWS:14067 +#: ../NEWS:14110 msgid "Patch by Kabir Kwatra." msgstr "" -#: ../NEWS:14069 +#: ../NEWS:14112 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 "" -#: ../NEWS:14073 +#: ../NEWS:14116 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 "" -#: ../NEWS:14077 +#: ../NEWS:14120 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 "" -#: ../NEWS:14081 +#: ../NEWS:14124 msgid "" ":gh:`91910`: Add missing f prefix to f-strings in error messages from the :" "mod:`multiprocessing` and :mod:`asyncio` modules." msgstr "" -#: ../NEWS:14084 +#: ../NEWS:14127 msgid "" ":gh:`91860`: Add :func:`typing.dataclass_transform`, implementing :pep:" "`681`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14087 +#: ../NEWS:14130 msgid "" ":gh:`91832`: Add ``required`` attribute to :class:`argparse.Action` repr " "output." msgstr "" -#: ../NEWS:14090 +#: ../NEWS:14133 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 "" -#: ../NEWS:14094 +#: ../NEWS:14137 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 "" -#: ../NEWS:14098 +#: ../NEWS:14141 msgid "" ":gh:`91821`: Fix unstable ``test_from_tuple`` test in ``test_decimal.py``." msgstr "" -#: ../NEWS:14100 +#: ../NEWS:14143 msgid ":gh:`91217`: Deprecate the xdrlib module." msgstr "" -#: ../NEWS:14102 +#: ../NEWS:14145 msgid ":gh:`91217`: Deprecate the uu module." msgstr "" -#: ../NEWS:14104 +#: ../NEWS:14147 msgid "" ":gh:`91760`: More strict rules will be applied for numerical group " "references and group names in regular expressions. For now, a deprecation " @@ -24600,29 +24669,29 @@ msgid "" "in future Python versions." msgstr "" -#: ../NEWS:14109 +#: ../NEWS:14152 msgid "" ":gh:`84461`: Add provisional :data:`sys._emscripten_info` named tuple with " "build-time and run-time information about Emscripten platform." msgstr "" -#: ../NEWS:14112 +#: ../NEWS:14155 msgid "" ":gh:`90623`: :func:`signal.raise_signal` and :func:`os.kill` now check " "immediately for pending signals. Patch by Victor Stinner." msgstr "" -#: ../NEWS:14115 +#: ../NEWS:14158 msgid ":gh:`91734`: Fix OSS audio support on Solaris." msgstr "" -#: ../NEWS:14117 +#: ../NEWS:14160 msgid "" ":gh:`90633`: Include the passed value in the exception thrown by :func:" "`typing.assert_never`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14120 +#: ../NEWS:14163 msgid "" ":gh:`91700`: Compilation of regular expression containing a conditional " "expression ``(?(group)...)`` now raises an appropriate :exc:`re.error` if " @@ -24630,80 +24699,80 @@ msgid "" "RuntimeError was raised." msgstr "" -#: ../NEWS:14125 +#: ../NEWS:14168 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 "" -#: ../NEWS:14129 +#: ../NEWS:14172 msgid "" ":gh:`91621`: Fix :func:`typing.get_type_hints` for :class:`collections.abc." "Callable`. Patch by Shantanu Jain." msgstr "" -#: ../NEWS:14132 +#: ../NEWS:14175 msgid "" ":gh:`90568`: Parsing ``\\N`` escapes of Unicode Named Character Sequences in " "a :mod:`regular expression ` raises now :exc:`re.error` instead of " "``TypeError``." msgstr "" -#: ../NEWS:14136 +#: ../NEWS:14179 msgid "" ":gh:`91670`: Remove deprecated ``SO`` config variable in :mod:`sysconfig`." msgstr "" -#: ../NEWS:14138 +#: ../NEWS:14181 msgid ":gh:`91217`: Deprecate the telnetlib module." msgstr "" -#: ../NEWS:14140 +#: ../NEWS:14183 msgid ":gh:`91217`: Deprecate the sunau module." msgstr "" -#: ../NEWS:14142 +#: ../NEWS:14185 msgid ":gh:`91217`: Deprecate the spwd module." msgstr "" -#: ../NEWS:14144 +#: ../NEWS:14187 msgid "" ":gh:`91217`: Deprecate the sndhdr module, as well as inline needed " "functionality for ``email.mime.MIMEAudio``." msgstr "" -#: ../NEWS:14147 +#: ../NEWS:14190 msgid "" ":gh:`91616`: :mod:`re` module, fix :meth:`~re.Pattern.fullmatch` mismatch " "when using Atomic Grouping or Possessive Quantifiers." msgstr "" -#: ../NEWS:14150 +#: ../NEWS:14193 msgid ":gh:`91217`: Deprecate the 'pipes' module." msgstr "" -#: ../NEWS:14152 +#: ../NEWS:14195 msgid ":gh:`91217`: Deprecate the ossaudiodev module." msgstr "" -#: ../NEWS:14154 +#: ../NEWS:14197 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 "" -#: ../NEWS:14157 +#: ../NEWS:14200 msgid ":gh:`91217`: Deprecate the nis module." msgstr "" -#: ../NEWS:14159 +#: ../NEWS:14202 msgid "" ":gh:`91595`: Fix the comparison of character and integer inside :func:`Tools." "gdb.libpython.write_repr`. Patch by Yu Liu." msgstr "" -#: ../NEWS:14162 +#: ../NEWS:14205 msgid "" ":gh:`74166`: Add option to raise all errors from :meth:`~socket." "create_connection` in an :exc:`ExceptionGroup` when it fails to create a " @@ -24711,19 +24780,19 @@ msgid "" "occurred when multiple addresses were tried." msgstr "" -#: ../NEWS:14167 +#: ../NEWS:14210 msgid "" ":gh:`91487`: Optimize asyncio UDP speed, over 100 times faster when " "transferring a large file." msgstr "" -#: ../NEWS:14170 +#: ../NEWS:14213 msgid "" ":gh:`91575`: Update case-insensitive matching in the :mod:`re` module to the " "latest Unicode version." msgstr "" -#: ../NEWS:14173 +#: ../NEWS:14216 msgid "" ":gh:`90622`: In ``concurrent.futures.process.ProcessPoolExecutor`` disallow " "the \"fork\" multiprocessing start method when the new " @@ -24732,7 +24801,7 @@ msgid "" "that circumstance if no ``mp_context`` was supplied." msgstr "" -#: ../NEWS:14179 +#: ../NEWS:14222 msgid "" ":gh:`89022`: In :mod:`sqlite3`, ``SQLITE_MISUSE`` result codes are now " "mapped to :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." @@ -24740,14 +24809,14 @@ msgid "" "parameters fail. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:14184 +#: ../NEWS:14227 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 "" -#: ../NEWS:14188 +#: ../NEWS:14231 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-" @@ -24758,174 +24827,174 @@ msgid "" "Pablo Galindo." msgstr "" -#: ../NEWS:14196 +#: ../NEWS:14239 msgid "" ":gh:`69093`: Add indexing and slicing support to :class:`sqlite3.Blob`. " "Patch by Aviv Palivoda and Erlend E. Aasland." msgstr "" -#: ../NEWS:14199 +#: ../NEWS:14242 msgid "" ":gh:`69093`: Add :term:`context manager` support to :class:`sqlite3.Blob`. " "Patch by Aviv Palivoda and Erlend E. Aasland." msgstr "" -#: ../NEWS:14202 +#: ../NEWS:14245 msgid ":gh:`91217`: Deprecate nntplib." msgstr "" -#: ../NEWS:14204 +#: ../NEWS:14247 msgid ":gh:`91217`: Deprecate msilib." msgstr "" -#: ../NEWS:14206 +#: ../NEWS:14249 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 "" -#: ../NEWS:14210 +#: ../NEWS:14253 msgid ":gh:`91217`: Deprecate the imghdr module." msgstr "" -#: ../NEWS:14212 +#: ../NEWS:14255 msgid ":gh:`91217`: Deprecate the crypt module." msgstr "" -#: ../NEWS:14214 +#: ../NEWS:14257 msgid ":gh:`91276`: Make space for longer opcodes in :mod:`dis` output." msgstr "" -#: ../NEWS:14216 +#: ../NEWS:14259 msgid "" ":issue:`47000`: Make :class:`TextIOWrapper` uses locale encoding when " "``encoding=\"locale\"`` is specified even in UTF-8 mode." msgstr "" -#: ../NEWS:14219 +#: ../NEWS:14262 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 "" -#: ../NEWS:14223 +#: ../NEWS:14266 msgid ":gh:`91217`: Deprecate the chunk module." msgstr "" -#: ../NEWS:14225 +#: ../NEWS:14268 msgid "" ":gh:`91498`: Add the ``TCP_CONNECTION_INFO`` option (available on macOS) to :" "mod:`socket`." msgstr "" -#: ../NEWS:14228 +#: ../NEWS:14271 msgid "" ":issue:`47260`: Fix ``os.closerange()`` potentially being a no-op in a Linux " "seccomp sandbox." msgstr "" -#: ../NEWS:14231 +#: ../NEWS:14274 msgid "" ":issue:`47087`: Implement ``typing.Required`` and ``typing.NotRequired`` (:" "pep:`655`). Patch by David Foster and Jelle Zijlstra." msgstr "" -#: ../NEWS:14234 +#: ../NEWS:14277 msgid ":issue:`47061`: Deprecate cgi and cgitb." msgstr "" -#: ../NEWS:14236 +#: ../NEWS:14279 msgid ":issue:`47061`: Deprecate audioop." msgstr "" -#: ../NEWS:14238 +#: ../NEWS:14281 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 `." msgstr "" -#: ../NEWS:14242 +#: ../NEWS:14285 msgid "" ":issue:`42012`: Add :mod:`wsgiref.types`, containing WSGI-specific types for " "static type checking." msgstr "" -#: ../NEWS:14245 +#: ../NEWS:14288 msgid "" ":issue:`47227`: Suppress expression chaining for more :mod:`re` parsing " "errors." msgstr "" -#: ../NEWS:14247 +#: ../NEWS:14290 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 "" -#: ../NEWS:14251 +#: ../NEWS:14294 msgid "" ":issue:`47135`: :meth:`decimal.localcontext` now accepts context attributes " "via keyword arguments" msgstr "" -#: ../NEWS:14254 +#: ../NEWS:14297 msgid "" ":issue:`43323`: Fix errors in the :mod:`email` module if the charset itself " "contains undecodable/unencodable characters." msgstr "" -#: ../NEWS:14257 +#: ../NEWS:14300 msgid ":issue:`46841`: Disassembly of quickened code." msgstr "" -#: ../NEWS:14259 +#: ../NEWS:14302 msgid ":issue:`46681`: Forward gzip.compress() compresslevel to zlib." msgstr "" -#: ../NEWS:14261 +#: ../NEWS:14304 msgid "" ":issue:`45100`: Add :func:`typing.get_overloads` and :func:`typing." "clear_overloads`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14264 +#: ../NEWS:14307 msgid "" ":issue:`44807`: :class:`typing.Protocol` no longer silently replaces :meth:" "`__init__` methods defined on subclasses. Patch by Adrian Garcia Badaracco." msgstr "" -#: ../NEWS:14268 +#: ../NEWS:14311 msgid "" ":issue:`46787`: Fix :class:`concurrent.futures.ProcessPoolExecutor` " "exception memory leak" msgstr "" -#: ../NEWS:14271 +#: ../NEWS:14314 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 "" -#: ../NEWS:14275 +#: ../NEWS:14318 msgid ":issue:`46696`: Add ``SO_INCOMING_CPU`` constant to :mod:`socket`." msgstr "" -#: ../NEWS:14277 +#: ../NEWS:14320 msgid ":issue:`46053`: Fix OSS audio support on NetBSD." msgstr "" -#: ../NEWS:14279 +#: ../NEWS:14322 msgid "" ":issue:`45639`: ``image/avif`` and ``image/webp`` were added to :mod:" "`mimetypes`." msgstr "" -#: ../NEWS:14282 +#: ../NEWS:14325 msgid "" ":issue:`46285`: Add command-line option ``-p``/``--protocol`` to module :mod:" "`http.server` which specifies the HTTP version to which the server is " @@ -24933,39 +25002,39 @@ msgid "" "interface of module :mod:`http.server`). Patch by Géry Ogam." msgstr "" -#: ../NEWS:14287 +#: ../NEWS:14330 msgid "" ":issue:`44791`: Accept ellipsis as the last argument of :data:`typing." "Concatenate`." msgstr "" -#: ../NEWS:14290 +#: ../NEWS:14333 msgid "" ":issue:`46547`: Remove variables leaking into ``pydoc.Helper`` class " "namespace." msgstr "" -#: ../NEWS:14292 +#: ../NEWS:14335 msgid "" ":issue:`46415`: Fix ipaddress.ip_{address,interface,network} raising " "TypeError instead of ValueError if given invalid tuple as address parameter." msgstr "" -#: ../NEWS:14295 +#: ../NEWS:14338 msgid "" ":issue:`46075`: ``CookieJar`` with ``DefaultCookiePolicy`` now can process " "cookies from localhost with domain=localhost explicitly specified in Set-" "Cookie header." msgstr "" -#: ../NEWS:14299 +#: ../NEWS:14342 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 "" -#: ../NEWS:14303 +#: ../NEWS:14346 msgid "" ":issue:`26175`: Fully implement the :class:`io.BufferedIOBase` or :class:`io." "TextIOBase` interface for :class:`tempfile.SpooledTemporaryFile` objects. " @@ -24973,7 +25042,7 @@ msgid "" "modules). Patch by Carey Metcalfe." msgstr "" -#: ../NEWS:14309 +#: ../NEWS:14352 msgid "" ":issue:`45138`: Fix a regression in the :mod:`sqlite3` trace callback where " "bound parameters were not expanded in the passed statement string. The " @@ -24981,7 +25050,7 @@ msgid "" "E. Aasland." msgstr "" -#: ../NEWS:14314 +#: ../NEWS:14357 msgid "" ":issue:`44863`: Allow :class:`~typing.TypedDict` subclasses to also include :" "class:`~typing.Generic` as a base class in class based syntax. Thereby " @@ -24989,33 +25058,33 @@ msgid "" "defined generic but with ``TypedDict`` semantics." msgstr "" -#: ../NEWS:14319 +#: ../NEWS:14362 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 "" -#: ../NEWS:14322 +#: ../NEWS:14365 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 "" -#: ../NEWS:14326 +#: ../NEWS:14369 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 "" -#: ../NEWS:14330 +#: ../NEWS:14373 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 "" -#: ../NEWS:14333 +#: ../NEWS:14376 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 " @@ -25023,21 +25092,21 @@ msgid "" "Cookie`` header. Patch by Iman Kermani." msgstr "" -#: ../NEWS:14338 +#: ../NEWS:14381 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 "" -#: ../NEWS:14342 +#: ../NEWS:14385 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 "" -#: ../NEWS:14346 +#: ../NEWS:14389 msgid "" ":issue:`39716`: Raise an ``ArgumentError`` when the same subparser name is " "added twice to an ``argparse.ArgumentParser``. This is consistent with the " @@ -25045,21 +25114,21 @@ msgid "" "``ArgumentParser``." msgstr "" -#: ../NEWS:14351 +#: ../NEWS:14394 msgid "" ":issue:`36073`: Raise :exc:`~sqlite3.ProgrammingError` instead of " "segfaulting on recursive usage of cursors in :mod:`sqlite3` converters. " "Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:14355 +#: ../NEWS:14398 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 "" -#: ../NEWS:14359 +#: ../NEWS:14402 msgid "" ":issue:`22276`: :class:`~pathlib.Path` methods :meth:`~pathlib.Path.glob` " "and :meth:`~pathlib.Path.rglob` return only directories if *pattern* ends " @@ -25067,117 +25136,117 @@ msgid "" "Eisuke Kawashima." msgstr "" -#: ../NEWS:14364 +#: ../NEWS:14407 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 "" -#: ../NEWS:14371 +#: ../NEWS:14414 msgid "" ":gh:`91888`: Add a new ``gh`` role to the documentation to link to GitHub " "issues." msgstr "" -#: ../NEWS:14374 +#: ../NEWS:14417 msgid "" ":gh:`91783`: Document security issues concerning the use of the function :" "meth:`shutil.unpack_archive`" msgstr "" -#: ../NEWS:14377 +#: ../NEWS:14420 msgid ":gh:`91547`: Remove \"Undocumented modules\" page." msgstr "" -#: ../NEWS:14379 +#: ../NEWS:14422 msgid "" ":gh:`91298`: In ``importlib.resources.abc``, refined the documentation of " "the Traversable Protocol, applying changes from importlib_resources 5.7.1." msgstr "" -#: ../NEWS:14382 +#: ../NEWS:14425 msgid "" ":issue:`44347`: Clarify the meaning of *dirs_exist_ok*, a kwarg of :func:" "`shutil.copytree`." msgstr "" -#: ../NEWS:14385 +#: ../NEWS:14428 msgid "" ":issue:`36329`: Remove 'make -C Doc serve' in favour of 'make -C Doc " "htmlview'" msgstr "" -#: ../NEWS:14387 +#: ../NEWS:14430 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 "" -#: ../NEWS:14390 +#: ../NEWS:14433 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 "" -#: ../NEWS:14394 +#: ../NEWS:14437 msgid "" ":issue:`47115`: The documentation now lists which members of C structs are " "part of the :ref:`Limited API/Stable ABI `." msgstr "" -#: ../NEWS:14397 +#: ../NEWS:14440 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 "" -#: ../NEWS:14402 +#: ../NEWS:14445 msgid "" ":issue:`26792`: Improve the docstrings of :func:`runpy.run_module` and :func:" "`runpy.run_path`. Original patch by Andrew Brezovsky." msgstr "" -#: ../NEWS:14408 +#: ../NEWS:14451 msgid "" ":gh:`92169`: Use ``warnings_helper.import_deprecated()`` to import " "deprecated modules uniformly in tests. Patch by Hugo van Kemenade." msgstr "" -#: ../NEWS:14411 +#: ../NEWS:14454 msgid "" ":gh:`84461`: When multiprocessing is enabled, libregrtest can now use a " "Python executable other than :code:`sys.executable` via the ``--python`` " "flag." msgstr "" -#: ../NEWS:14415 +#: ../NEWS:14458 msgid "" ":gh:`91904`: Fix initialization of :envvar:`PYTHONREGRTEST_UNICODE_GUARD` " "which prevented running regression tests on non-UTF-8 locale." msgstr "" -#: ../NEWS:14418 +#: ../NEWS:14461 msgid "" ":gh:`91752`: Added @requires_zlib to test.test_tools.test_freeze.TestFreeze." msgstr "" -#: ../NEWS:14420 +#: ../NEWS:14463 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 "" -#: ../NEWS:14424 +#: ../NEWS:14467 msgid "" ":issue:`40280`: Threading tests are now skipped on WASM targets without " "pthread support." msgstr "" -#: ../NEWS:14427 +#: ../NEWS:14470 msgid "" ":issue:`47109`: Test for :mod:`ctypes.macholib.dyld`, :mod:`ctypes.macholib." "dylib`, and :mod:`ctypes.macholib.framework` are brought from manual pre-:" @@ -25185,104 +25254,104 @@ msgid "" "Oleg Iarygin." msgstr "" -#: ../NEWS:14432 +#: ../NEWS:14475 msgid "" ":issue:`29890`: Add tests for :class:`ipaddress.IPv4Interface` and :class:" "`ipaddress.IPv6Interface` construction with tuple arguments. Original patch " "and tests by louisom." msgstr "" -#: ../NEWS:14439 +#: ../NEWS:14482 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 "" -#: ../NEWS:14442 +#: ../NEWS:14485 msgid "" ":gh:`91731`: Python is now built with ``-std=c11`` compiler option, rather " "than ``-std=c99``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:14445 +#: ../NEWS:14488 msgid "" ":issue:`47152`: Add script and make target for generating ``sre_constants." "h``." msgstr "" -#: ../NEWS:14447 +#: ../NEWS:14490 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 "" -#: ../NEWS:14454 +#: ../NEWS:14497 msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.3." msgstr "" -#: ../NEWS:14456 +#: ../NEWS:14499 msgid "" ":issue:`47239`: Fixed --list and --list-paths output for :ref:`launcher` " "when used in an active virtual environment." msgstr "" -#: ../NEWS:14459 +#: ../NEWS:14502 msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.2." msgstr "" -#: ../NEWS:14461 +#: ../NEWS:14504 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 "" -#: ../NEWS:14465 +#: ../NEWS:14508 msgid ":issue:`40859`: Update Windows build to use xz-5.2.5" msgstr "" -#: ../NEWS:14470 +#: ../NEWS:14513 msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.4." msgstr "" -#: ../NEWS:14475 +#: ../NEWS:14518 msgid "" ":gh:`91583`: Fix regression in the code generated by Argument Clinic for " "functions with the ``defining_class`` parameter." msgstr "" -#: ../NEWS:14478 +#: ../NEWS:14521 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 "" -#: ../NEWS:14482 +#: ../NEWS:14525 msgid "" ":gh:`91551`: Remove the ancient Pynche color editor. It has moved to " "https://gitlab.com/warsaw/pynche" msgstr "" -#: ../NEWS:14488 +#: ../NEWS:14531 msgid "" ":gh:`88279`: Deprecate the C functions: :c:func:`!PySys_SetArgv`, :c:func:`!" "PySys_SetArgvEx`, :c:func:`!PySys_SetPath`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:14492 +#: ../NEWS:14535 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 "" -#: ../NEWS:14495 +#: ../NEWS:14538 msgid "" ":gh:`92173`: Fix the ``closure`` argument to :c:func:`PyEval_EvalCodeEx`." msgstr "" -#: ../NEWS:14497 +#: ../NEWS:14540 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 " @@ -25290,7 +25359,7 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:14502 +#: ../NEWS:14545 msgid "" ":gh:`80527`: Mark functions as deprecated by :pep:`623`: :c:func:`!" "PyUnicode_AS_DATA`, :c:func:`!PyUnicode_AS_UNICODE`, :c:func:`!" @@ -25298,64 +25367,64 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:14507 +#: ../NEWS:14550 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 "" -#: ../NEWS:14511 +#: ../NEWS:14554 msgid "" ":gh:`91020`: Add ``PyBytes_Type.tp_alloc`` to initialize ``PyBytesObject." "ob_shash`` for bytes subclasses." msgstr "" -#: ../NEWS:14514 +#: ../NEWS:14557 msgid "" ":issue:`40421`: Add ``PyFrame_GetLasti`` C-API function to access frame " "object's ``f_lasti`` attribute safely from C code." msgstr "" -#: ../NEWS:14517 +#: ../NEWS:14560 msgid "" ":issue:`35134`: Remove the ``Include/code.h`` header file. C extensions " "should only include the main ```` header file. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:14520 +#: ../NEWS:14563 msgid "" ":issue:`47169`: :c:func:`PyOS_CheckStack` is now exported in the Stable ABI " "on Windows." msgstr "" -#: ../NEWS:14523 +#: ../NEWS:14566 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 "" -#: ../NEWS:14526 +#: ../NEWS:14569 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 "" -#: ../NEWS:14530 +#: ../NEWS:14573 msgid "They are included in the stable ABI." msgstr "" -#: ../NEWS:14534 +#: ../NEWS:14577 msgid "Python 3.11.0 alpha 7" msgstr "" -#: ../NEWS:14536 +#: ../NEWS:14579 msgid "*Release date: 2022-04-05*" msgstr "" -#: ../NEWS:14541 +#: ../NEWS:14584 msgid "" ":issue:`47212`: Raise :exc:`IndentationError` instead of :exc:`SyntaxError` " "for a bare ``except`` with no following indent. Improve :exc:`SyntaxError` " @@ -25363,13 +25432,13 @@ msgid "" "Matthieu Dartiailh." msgstr "" -#: ../NEWS:14546 +#: ../NEWS:14589 msgid "" ":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EG_MATCH` by :opcode:" "`CHECK_EG_MATCH` + jump." msgstr "" -#: ../NEWS:14549 +#: ../NEWS:14592 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." @@ -25379,31 +25448,31 @@ msgid "" "Python thread." msgstr "" -#: ../NEWS:14556 +#: ../NEWS:14599 msgid "" ":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EXC_MATCH` by :opcode:" "`CHECK_EXC_MATCH` + jump." msgstr "" -#: ../NEWS:14559 +#: ../NEWS:14602 msgid "" ":issue:`47120`: Replace the absolute jump opcode :opcode:`JUMP_NO_INTERRUPT` " "by the relative :opcode:`JUMP_BACKWARD_NO_INTERRUPT`." msgstr "" -#: ../NEWS:14562 +#: ../NEWS:14605 msgid "" ":issue:`46841`: Avoid unnecessary allocations when comparing code objects." msgstr "" -#: ../NEWS:14564 +#: ../NEWS:14607 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 "" -#: ../NEWS:14568 +#: ../NEWS:14611 msgid "" ":issue:`47162`: WebAssembly cannot deal with bad function pointer casts " "(different count or types of arguments). Python can now use call trampolines " @@ -25411,38 +25480,38 @@ msgid "" "trampolines." msgstr "" -#: ../NEWS:14573 +#: ../NEWS:14616 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 "" -#: ../NEWS:14577 +#: ../NEWS:14620 msgid "" ":issue:`47129`: Improve error messages in f-string syntax errors concerning " "empty expressions." msgstr "" -#: ../NEWS:14580 +#: ../NEWS:14623 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 "" -#: ../NEWS:14583 +#: ../NEWS:14626 msgid "" ":issue:`47127`: Speed up calls to c functions with keyword arguments by 25% " "with specialization. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:14586 +#: ../NEWS:14629 msgid "" ":issue:`47120`: Replaced :opcode:`JUMP_ABSOLUTE` by the relative jump :" "opcode:`JUMP_BACKWARD`." msgstr "" -#: ../NEWS:14589 +#: ../NEWS:14632 msgid "" ":issue:`42197`: :c:func:`!PyFrame_FastToLocalsWithError` and :c:func:`!" "PyFrame_LocalsToFast` are no longer called during profiling nor tracing. C " @@ -25450,7 +25519,7 @@ msgid "" "calling :c:func:`PyFrame_GetLocals`." msgstr "" -#: ../NEWS:14594 +#: ../NEWS:14637 msgid "" ":issue:`47070`: Improve performance of ``array_inplace_repeat`` by reducing " "the number of invocations of ``memcpy``. Refactor the ``repeat`` and inplace " @@ -25458,150 +25527,150 @@ msgid "" "``unicodeobject`` to use the common ``_PyBytes_Repeat``." msgstr "" -#: ../NEWS:14599 +#: ../NEWS:14642 msgid "" ":issue:`47053`: Reduce de-optimization in the specialized " "``BINARY_OP_INPLACE_ADD_UNICODE`` opcode." msgstr "" -#: ../NEWS:14602 +#: ../NEWS:14645 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 "" -#: ../NEWS:14607 +#: ../NEWS:14650 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 "" -#: ../NEWS:14611 +#: ../NEWS:14654 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 "" -#: ../NEWS:14614 +#: ../NEWS:14657 msgid "" ":issue:`46841`: Quicken bytecode in-place by storing it as part of the " "corresponding ``PyCodeObject``." msgstr "" -#: ../NEWS:14617 +#: ../NEWS:14660 msgid "" ":issue:`47012`: Speed up iteration of :class:`bytes` and :class:`bytearray` " "by 30%. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:14620 +#: ../NEWS:14663 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 "" -#: ../NEWS:14624 +#: ../NEWS:14667 msgid "" ":issue:`47005`: Improve performance of ``bytearray_repeat`` and " "``bytearray_irepeat`` by reducing the number of invocations of ``memcpy``." msgstr "" -#: ../NEWS:14627 +#: ../NEWS:14670 msgid "" ":issue:`46829`: Deprecate passing a message into :meth:`asyncio.Future." "cancel` and :meth:`asyncio.Task.cancel`" msgstr "" -#: ../NEWS:14630 +#: ../NEWS:14673 msgid "" ":issue:`46993`: Speed up :class:`bytearray` creation from :class:`list` and :" "class:`tuple` by 40%. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:14633 +#: ../NEWS:14676 msgid "" ":issue:`39829`: Removed the ``__len__()`` call when initializing a list and " "moved initializing to ``list_extend``. Patch by Jeremiah Pascual." msgstr "" -#: ../NEWS:14636 +#: ../NEWS:14679 msgid "" ":issue:`46944`: Speed up throwing exception in generator with :c:macro:" "`METH_FASTCALL` calling convention. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:14639 +#: ../NEWS:14682 msgid "" ":issue:`46841`: Modify :opcode:`STORE_SUBSCR` to use an inline cache entry " "(rather than its oparg) as an adaptive counter." msgstr "" -#: ../NEWS:14642 +#: ../NEWS:14685 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 "" -#: ../NEWS:14646 +#: ../NEWS:14689 msgid "" ":issue:`46881`: Statically allocate and initialize the latin1 characters." msgstr "" -#: ../NEWS:14648 +#: ../NEWS:14691 msgid "" ":issue:`46838`: Improve syntax errors for incorrect function definitions. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:14651 +#: ../NEWS:14694 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 "" -#: ../NEWS:14655 +#: ../NEWS:14698 msgid ":issue:`43224`: Make grammar changes required for PEP 646." msgstr "" -#: ../NEWS:14660 +#: ../NEWS:14703 msgid ":issue:`47208`: Allow vendors to override :const:`CTYPES_MAX_ARGCOUNT`." msgstr "" -#: ../NEWS:14662 +#: ../NEWS:14705 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 "" -#: ../NEWS:14665 +#: ../NEWS:14708 msgid "" ":issue:`47167`: Allow overriding a future compliance check in :class:" "`asyncio.Task`." msgstr "" -#: ../NEWS:14668 +#: ../NEWS:14711 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 "" -#: ../NEWS:14672 +#: ../NEWS:14715 msgid "" ":issue:`47152`: Convert the :mod:`re` module into a package. Deprecate " "modules ``sre_compile``, ``sre_constants`` and ``sre_parse``." msgstr "" -#: ../NEWS:14675 +#: ../NEWS:14718 msgid ":issue:`4833`: Add :meth:`ZipFile.mkdir`" msgstr "" -#: ../NEWS:14677 +#: ../NEWS:14720 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 " @@ -25609,20 +25678,20 @@ msgid "" "and :const:`socket.AF_UNIX`." msgstr "" -#: ../NEWS:14682 +#: ../NEWS:14725 msgid ":issue:`14265`: Adds the fully qualified test name to unittest output" msgstr "" -#: ../NEWS:14684 +#: ../NEWS:14727 msgid ":issue:`47061`: Deprecate the aifc module." msgstr "" -#: ../NEWS:14686 +#: ../NEWS:14729 msgid "" ":issue:`39622`: Handle Ctrl+C in asyncio programs to interrupt the main task." msgstr "" -#: ../NEWS:14688 +#: ../NEWS:14731 msgid "" ":issue:`47101`: :const:`hashlib.algorithms_available` now lists only " "algorithms that are provided by activated crypto providers on OpenSSL 3.0. " @@ -25630,7 +25699,7 @@ msgid "" "into the default OSSL context." msgstr "" -#: ../NEWS:14693 +#: ../NEWS:14736 msgid "" ":issue:`47099`: All :exc:`URLError` exception messages raised in :class:" "`urllib.request.URLopener` now contain a colon between ``ftp error`` and the " @@ -25638,51 +25707,51 @@ msgid "" "missed the colon. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:14699 +#: ../NEWS:14742 msgid "" ":issue:`47099`: Exception chaining is changed from :func:`Exception." "with_traceback`/:func:`sys.exc_info` to :pep:`3134`. Patch by Oleg Iarygin." msgstr "" -#: ../NEWS:14703 +#: ../NEWS:14746 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 "" -#: ../NEWS:14707 +#: ../NEWS:14750 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 "" -#: ../NEWS:14711 +#: ../NEWS:14754 msgid "" ":issue:`47088`: Implement :data:`typing.LiteralString`, part of :pep:`675`. " "Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14714 +#: ../NEWS:14757 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 "" -#: ../NEWS:14718 +#: ../NEWS:14761 msgid "" ":issue:`23691`: Protect the :func:`re.finditer` iterator from re-entering." msgstr "" -#: ../NEWS:14720 +#: ../NEWS:14763 msgid "" ":issue:`47067`: Optimize calling ``GenericAlias`` objects by using :pep:" "`590` ``vectorcall`` and by replacing ``PyObject_SetAttrString`` with " "``PyObject_SetAttr``." msgstr "" -#: ../NEWS:14724 +#: ../NEWS:14767 msgid "" ":issue:`28080`: Add the *metadata_encoding* parameter in the :class:`zipfile." "ZipFile` constructor and the ``--metadata-encoding`` option in the :mod:" @@ -25690,20 +25759,20 @@ msgid "" "the filenames within the archive." msgstr "" -#: ../NEWS:14729 +#: ../NEWS:14772 msgid "" ":issue:`47000`: Make :func:`io.text_encoding` returns \"utf-8\" when UTF-8 " "mode is enabled." msgstr "" -#: ../NEWS:14732 +#: ../NEWS:14775 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 "" -#: ../NEWS:14736 +#: ../NEWS:14779 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 " @@ -25712,100 +25781,100 @@ msgid "" "function." msgstr "" -#: ../NEWS:14742 +#: ../NEWS:14785 msgid "" "We also have :func:`binascii.crc32` release the GIL when computing on larger " "inputs as :func:`zlib.crc32` and :mod:`hashlib` do." msgstr "" -#: ../NEWS:14745 +#: ../NEWS:14788 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 "" -#: ../NEWS:14748 +#: ../NEWS:14791 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 "" -#: ../NEWS:14751 +#: ../NEWS:14794 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 "" -#: ../NEWS:14755 +#: ../NEWS:14798 msgid "" ":issue:`39394`: A warning about inline flags not at the start of the regular " "expression now contains the position of the flag." msgstr "" -#: ../NEWS:14758 +#: ../NEWS:14801 msgid "" ":issue:`433030`: Add support of atomic grouping (``(?>...)``) and possessive " "quantifiers (``*+``, ``++``, ``?+``, ``{m,n}+``) in :mod:`regular " "expressions `." msgstr "" -#: ../NEWS:14762 +#: ../NEWS:14805 msgid ":issue:`47062`: Implement :class:`asyncio.Runner` context manager." msgstr "" -#: ../NEWS:14764 +#: ../NEWS:14807 msgid "" ":issue:`46382`: :func:`~dataclasses.dataclass` ``slots=True`` now correctly " "omits slots already defined in base classes. Patch by Arie Bovenberg." msgstr "" -#: ../NEWS:14767 +#: ../NEWS:14810 msgid ":issue:`47057`: Use FASTCALL convention for ``FutureIter.throw()``" msgstr "" -#: ../NEWS:14769 +#: ../NEWS:14812 msgid ":issue:`47061`: Deprecate the various modules listed by :pep:`594`:" msgstr "" -#: ../NEWS:14771 +#: ../NEWS:14814 msgid "" "aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib, " "nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu, " "xdrlib" msgstr "" -#: ../NEWS:14775 +#: ../NEWS:14818 msgid "" ":issue:`34790`: Remove passing coroutine objects to :func:`asyncio.wait`." msgstr "" -#: ../NEWS:14777 +#: ../NEWS:14820 msgid "" ":issue:`47039`: Normalize ``repr()`` of asyncio future and task objects." msgstr "" -#: ../NEWS:14779 +#: ../NEWS:14822 msgid "" ":issue:`2604`: Fix bug where doctests using globals would fail when run " "multiple times." msgstr "" -#: ../NEWS:14782 +#: ../NEWS:14825 msgid "" ":issue:`45150`: Add :func:`hashlib.file_digest` helper for efficient hashing " "of file object." msgstr "" -#: ../NEWS:14785 +#: ../NEWS:14828 msgid ":issue:`34861`: Made cumtime the default sorting key for cProfile" msgstr "" -#: ../NEWS:14787 +#: ../NEWS:14830 msgid ":issue:`45997`: Fix :class:`asyncio.Semaphore` re-aquiring FIFO order." msgstr "" -#: ../NEWS:14789 +#: ../NEWS:14832 msgid "" ":issue:`47022`: The :mod:`!asynchat`, :mod:`!asyncore` and :mod:`!smtpd` " "modules have been deprecated since at least Python 3.6. Their documentation " @@ -25813,58 +25882,58 @@ msgid "" "in Python 3.12 (:pep:`594`)." msgstr "" -#: ../NEWS:14794 +#: ../NEWS:14837 msgid "" ":issue:`43253`: Fix a crash when closing transports where the underlying " "socket handle is already invalid on the Proactor event loop." msgstr "" -#: ../NEWS:14797 +#: ../NEWS:14840 msgid "" ":issue:`40280`: :func:`select.select` now passes ``NULL`` to ``select`` for " "each empty fdset." msgstr "" -#: ../NEWS:14800 +#: ../NEWS:14843 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 "" -#: ../NEWS:14804 +#: ../NEWS:14847 msgid "" ":issue:`46998`: Allow subclassing of :class:`typing.Any`. Patch by Shantanu " "Jain." msgstr "" -#: ../NEWS:14807 +#: ../NEWS:14850 msgid "" ":issue:`46995`: Deprecate missing :meth:`asyncio.Task.set_name` for third-" "party task implementations, schedule making it mandatory in Python 3.13." msgstr "" -#: ../NEWS:14810 +#: ../NEWS:14853 msgid "" ":issue:`46994`: Accept explicit contextvars.Context in :func:`asyncio." "create_task` and :meth:`asyncio.loop.create_task`." msgstr "" -#: ../NEWS:14813 +#: ../NEWS:14856 msgid "" ":issue:`46981`: ``typing.get_args(typing.Tuple[()])`` now returns ``()`` " "instead of ``((),)``." msgstr "" -#: ../NEWS:14816 +#: ../NEWS:14859 msgid ":issue:`46968`: Add ``os.sysconf_names['SC_MINSIGSTKSZ']``." msgstr "" -#: ../NEWS:14818 +#: ../NEWS:14861 msgid ":issue:`46985`: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)" msgstr "" -#: ../NEWS:14820 +#: ../NEWS:14863 msgid "" ":issue:`46968`: :mod:`faulthandler`: On Linux 5.14 and newer, dynamically " "determine size of signal handler stack size CPython allocates using " @@ -25873,67 +25942,67 @@ msgid "" "Xeon processor to succeed, unblocking use of the ISA in frameworks." msgstr "" -#: ../NEWS:14826 +#: ../NEWS:14869 msgid "" ":issue:`46917`: The :data:`math.nan` value is now always available. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:14829 +#: ../NEWS:14872 msgid "" ":issue:`46955`: Expose :class:`asyncio.base_events.Server` as :class:" "`asyncio.Server`. Patch by Stefan Zabka." msgstr "" -#: ../NEWS:14832 +#: ../NEWS:14875 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 "" -#: ../NEWS:14836 +#: ../NEWS:14879 msgid ":issue:`46932`: Update bundled libexpat to 2.4.7" msgstr "" -#: ../NEWS:14838 +#: ../NEWS:14881 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 "" -#: ../NEWS:14842 +#: ../NEWS:14885 msgid "" ":issue:`40059`: :pep:`680`, the :mod:`tomllib` module. Adds support for " "parsing TOML." msgstr "" -#: ../NEWS:14845 +#: ../NEWS:14888 msgid "" ":issue:`464471`: :func:`asyncio.timeout` and :func:`asyncio.timeout_at` " "context managers added. Patch by Tin Tvrtković and Andrew Svetlov." msgstr "" -#: ../NEWS:14848 +#: ../NEWS:14891 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 "" -#: ../NEWS:14853 +#: ../NEWS:14896 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 "" -#: ../NEWS:14857 +#: ../NEWS:14900 msgid "" ":issue:`46581`: Brings :class:`ParamSpec` propagation for :class:" "`GenericAlias` in line with :class:`Concatenate` (and others)." msgstr "" -#: ../NEWS:14860 +#: ../NEWS:14903 msgid "" ":issue:`45413`: Define *posix_venv* and *nt_venv* :ref:`sysconfig " "installation schemes ` to be used for bootstrapping new " @@ -25949,31 +26018,31 @@ msgid "" "`sysconfig.get_preferred_scheme` with ``key=\"prefix\"`` returns *venv*." msgstr "" -#: ../NEWS:14875 +#: ../NEWS:14918 msgid ":issue:`43224`: Implement support for PEP 646 in typing.py." msgstr "" -#: ../NEWS:14877 +#: ../NEWS:14920 msgid "" ":issue:`43224`: Allow unpacking types.GenericAlias objects, e.g. " "``*tuple[int, str]``." msgstr "" -#: ../NEWS:14880 +#: ../NEWS:14923 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 "" -#: ../NEWS:14884 +#: ../NEWS:14927 msgid "" ":issue:`41370`: :func:`typing.get_type_hints` now supports evaluating " "strings as forward references in :ref:`PEP 585 generic aliases `." msgstr "" -#: ../NEWS:14888 +#: ../NEWS:14931 msgid "" ":issue:`46607`: Add :exc:`DeprecationWarning` to :class:`!" "LegacyInterpolation`, deprecated in the docstring since Python 3.2. Will be " @@ -25981,65 +26050,65 @@ msgid "" "`ExtendedInterpolation` instead." msgstr "" -#: ../NEWS:14893 +#: ../NEWS:14936 msgid "" ":issue:`26120`: :mod:`pydoc` now excludes __future__ imports from the " "module's data items." msgstr "" -#: ../NEWS:14896 +#: ../NEWS:14939 msgid "" ":issue:`46480`: Add :func:`typing.assert_type`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:14898 +#: ../NEWS:14941 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 "" -#: ../NEWS:14902 +#: ../NEWS:14945 msgid "" ":issue:`46245`: Add optional parameter *dir_fd* in :func:`shutil.rmtree`." msgstr "" -#: ../NEWS:14904 +#: ../NEWS:14947 msgid "" ":issue:`22859`: :meth:`!unittest.TestProgram.usageExit` is marked as " "deprecated, to be removed in Python 3.13." msgstr "" -#: ../NEWS:14907 +#: ../NEWS:14950 msgid "" ":issue:`46170`: Improve the error message when you try to subclass an " "instance of :class:`typing.NewType`." msgstr "" -#: ../NEWS:14910 +#: ../NEWS:14953 msgid ":issue:`40296`: Fix supporting generic aliases in :mod:`pydoc`." msgstr "" -#: ../NEWS:14912 +#: ../NEWS:14955 msgid "" ":issue:`20392`: Fix inconsistency with uppercase file extensions in :meth:" "`MimeTypes.guess_type`. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:14915 +#: ../NEWS:14958 msgid "" ":issue:`46030`: Add ``LOCAL_CREDS``, ``LOCAL_CREDS_PERSISTENT`` and " "``SCM_CREDS2`` FreeBSD constants to the socket module." msgstr "" -#: ../NEWS:14918 +#: ../NEWS:14961 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 "" -#: ../NEWS:14922 +#: ../NEWS:14965 msgid "" ":issue:`45171`: Fix handling of the ``stacklevel`` argument to logging " "functions in the :mod:`logging` module so that it is consistent across all " @@ -26047,112 +26116,112 @@ msgid "" "used in :meth:`~warnings.warn`." msgstr "" -#: ../NEWS:14927 +#: ../NEWS:14970 msgid "" ":issue:`24959`: Fix bug where :mod:`unittest` sometimes drops frames from " "tracebacks of exceptions raised in tests." msgstr "" -#: ../NEWS:14930 +#: ../NEWS:14973 msgid "" ":issue:`44859`: Raise more accurate and :pep:`249` compatible exceptions in :" "mod:`sqlite3`." msgstr "" -#: ../NEWS:14933 +#: ../NEWS:14976 msgid "" "Raise :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." "ProgrammingError` for ``SQLITE_MISUSE`` errors." msgstr "" -#: ../NEWS:14935 +#: ../NEWS:14978 msgid "" "Don't overwrite :exc:`BufferError` with :exc:`ValueError` when conversion to " "BLOB fails." msgstr "" -#: ../NEWS:14937 +#: ../NEWS:14980 msgid "" "Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`~sqlite3.Warning` if " "user tries to :meth:`~sqlite3.Cursor.execute` more than one SQL statement." msgstr "" -#: ../NEWS:14939 +#: ../NEWS:14982 msgid "" "Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`ValueError` if an " "SQL query contains null characters." msgstr "" -#: ../NEWS:14942 +#: ../NEWS:14985 msgid ":issue:`44493`: Add missing terminated NUL in sockaddr_un's length" msgstr "" -#: ../NEWS:14944 +#: ../NEWS:14987 msgid "" "This was potentially observable when using non-abstract AF_UNIX datagram " "sockets to processes written in another programming language." msgstr "" -#: ../NEWS:14947 +#: ../NEWS:14990 msgid "" ":issue:`41930`: Add :meth:`~sqlite3.Connection.serialize` and :meth:" "`~sqlite3.Connection.deserialize` support to :mod:`sqlite3`. Patch by Erlend " "E. Aasland." msgstr "" -#: ../NEWS:14951 +#: ../NEWS:14994 msgid "" ":issue:`33178`: Added :class:`ctypes.BigEndianUnion` and :class:`ctypes." "LittleEndianUnion` classes, as originally documented in the library docs but " "not yet implemented." msgstr "" -#: ../NEWS:14955 +#: ../NEWS:14998 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 "" -#: ../NEWS:14959 +#: ../NEWS:15002 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 "" -#: ../NEWS:14965 +#: ../NEWS:15008 msgid ":issue:`45099`: Document internal :mod:`asyncio` API." msgstr "" -#: ../NEWS:14967 +#: ../NEWS:15010 msgid ":issue:`47126`: Update PEP URLs to :pep:`676`'s new canonical form." msgstr "" -#: ../NEWS:14969 +#: ../NEWS:15012 msgid "" ":issue:`47040`: Clarified the old Python versions compatibility note of :" "func:`binascii.crc32` / :func:`zlib.adler32` / :func:`zlib.crc32` functions." msgstr "" -#: ../NEWS:14973 +#: ../NEWS:15016 msgid ":issue:`46033`: Clarify ``for`` statement execution in its doc." msgstr "" -#: ../NEWS:14975 +#: ../NEWS:15018 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 "" -#: ../NEWS:14979 +#: ../NEWS:15022 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 "" -#: ../NEWS:14983 +#: ../NEWS:15026 msgid "" ":issue:`41233`: Link the errnos referenced in ``Doc/library/exceptions.rst`` " "to their respective section in ``Doc/library/errno.rst``, and vice versa. " @@ -26160,114 +26229,114 @@ msgid "" "\"yyyyyyyan\" Orestes." msgstr "" -#: ../NEWS:14991 +#: ../NEWS:15034 msgid "" ":issue:`47205`: Skip test for :func:`~os.sched_getaffinity` and :func:`~os." "sched_setaffinity` error case on FreeBSD." msgstr "" -#: ../NEWS:14994 +#: ../NEWS:15037 msgid ":issue:`46126`: Restore 'descriptions' when running tests internally." msgstr "" -#: ../NEWS:14996 +#: ../NEWS:15039 msgid "" ":issue:`47104`: Rewrite :func:`asyncio.to_thread` tests to use :class:" "`unittest.IsolatedAsyncioTestCase`." msgstr "" -#: ../NEWS:14999 +#: ../NEWS:15042 msgid "" ":issue:`40280`: The test suite is now passing on the Emscripten platform. " "All fork, socket, and subprocess-based tests are skipped." msgstr "" -#: ../NEWS:15002 +#: ../NEWS:15045 msgid "" ":issue:`47037`: Skip ``strftime(\"%4Y\")`` feature test on Windows. It can " "cause an assertion error in debug builds." msgstr "" -#: ../NEWS:15005 +#: ../NEWS:15048 msgid "" ":issue:`46587`: Skip tests if platform's ``strftime`` does not support non-" "portable glibc extensions." msgstr "" -#: ../NEWS:15008 +#: ../NEWS:15051 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 "" -#: ../NEWS:15015 +#: ../NEWS:15058 msgid "" ":issue:`40280`: Add configure option :option:`--enable-wasm-dynamic-linking` " "to enable ``dlopen`` and MAIN_MODULE / SIDE_MODULE on ``wasm32-emscripten``." msgstr "" -#: ../NEWS:15018 +#: ../NEWS:15061 msgid "" ":issue:`46023`: ``makesetup`` now detects and skips all duplicated module " "definitions. The first entry wins." msgstr "" -#: ../NEWS:15021 +#: ../NEWS:15064 msgid "" ":issue:`40280`: Add SOABI ``wasm32-emscripten`` for Emscripten and ``wasm32-" "wasi`` for WASI on 32bit WASM as well as ``wasm64`` counter parts." msgstr "" -#: ../NEWS:15025 +#: ../NEWS:15068 msgid "" ":issue:`47032`: Ensure Windows install builds fail correctly with a non-zero " "exit code when part of the build fails." msgstr "" -#: ../NEWS:15028 +#: ../NEWS:15071 msgid "" ":issue:`47024`: Update OpenSSL to 1.1.1n for macOS installers and all " "Windows builds." msgstr "" -#: ../NEWS:15031 +#: ../NEWS:15074 msgid "" ":issue:`46996`: The :mod:`tkinter` package now requires Tcl/Tk version " "8.5.12 or newer." msgstr "" -#: ../NEWS:15034 +#: ../NEWS:15077 msgid "" ":issue:`46973`: Add ``regen-configure`` make target to regenerate configure " "script with Christian's container image ``quay.io/tiran/" "cpython_autoconf:269``." msgstr "" -#: ../NEWS:15038 +#: ../NEWS:15081 msgid "" ":issue:`46917`: Building Python now requires support of IEEE 754 floating-" "point numbers. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15041 +#: ../NEWS:15084 msgid "" ":issue:`45774`: ``configure`` now verifies that all SQLite C APIs needed for " "the :mod:`sqlite3` extension module are found." msgstr "" -#: ../NEWS:15047 +#: ../NEWS:15090 msgid "" ":issue:`47194`: Update ``zlib`` to v1.2.12 to resolve :cve:`2018-25032`." msgstr "" -#: ../NEWS:15049 +#: ../NEWS:15092 msgid "" ":issue:`47171`: Enables installing the :file:`py.exe` launcher on Windows " "ARM64." msgstr "" -#: ../NEWS:15052 +#: ../NEWS:15095 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 " @@ -26277,53 +26346,53 @@ msgid "" "Microsoft Store." msgstr "" -#: ../NEWS:15059 +#: ../NEWS:15102 msgid "" ":issue:`47086`: The installer for Windows now includes documentation as " "loose HTML files rather than a single compiled :file:`.chm` file." msgstr "" -#: ../NEWS:15062 +#: ../NEWS:15105 msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.1." msgstr "" -#: ../NEWS:15064 +#: ../NEWS:15107 msgid "" ":issue:`44549`: Update bzip2 to 1.0.8 in Windows builds to mitigate :cve:" "`2016-3189` and :cve:`2019-12900`." msgstr "" -#: ../NEWS:15067 +#: ../NEWS:15110 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 "" -#: ../NEWS:15073 +#: ../NEWS:15116 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 "" -#: ../NEWS:15077 +#: ../NEWS:15120 msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.1." msgstr "" -#: ../NEWS:15082 +#: ../NEWS:15125 msgid "" ":issue:`40280`: Replace Emscripten's limited shell with Katie Bell's browser-" "ui REPL from python-wasm project." msgstr "" -#: ../NEWS:15088 +#: ../NEWS:15131 msgid "" ":issue:`40421`: Add ``PyFrame_GetBuiltins``, ``PyFrame_GetGenerator`` and " "``PyFrame_GetGlobals`` C-API functions to access frame object attributes " "safely from C code." msgstr "" -#: ../NEWS:15092 +#: ../NEWS:15135 msgid "" ":issue:`46850`: Move the private ``_PyFrameEvalFunction`` type, and private " "``_PyInterpreterState_GetEvalFrameFunc()`` and " @@ -26333,7 +26402,7 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:15099 +#: ../NEWS:15142 msgid "" ":issue:`46850`: Move the private undocumented ``_PyEval_EvalFrameDefault()`` " "function to the internal C API. The function now uses the " @@ -26341,14 +26410,14 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:15104 +#: ../NEWS:15147 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 "" -#: ../NEWS:15108 +#: ../NEWS:15151 msgid "" ":issue:`46850`: Remove the private undocumented function " "``_PyEval_GetCoroutineOriginTrackingDepth()`` from the C API. Call the " @@ -26356,41 +26425,41 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:15113 +#: ../NEWS:15156 msgid "" ":issue:`46850`: Remove the following private undocumented functions from the " "C API:" msgstr "" -#: ../NEWS:15116 +#: ../NEWS:15159 msgid "``_PyEval_GetAsyncGenFirstiter()``" msgstr "" -#: ../NEWS:15117 +#: ../NEWS:15160 msgid "``_PyEval_GetAsyncGenFinalizer()``" msgstr "" -#: ../NEWS:15118 +#: ../NEWS:15161 msgid "``_PyEval_SetAsyncGenFirstiter()``" msgstr "" -#: ../NEWS:15119 +#: ../NEWS:15162 msgid "``_PyEval_SetAsyncGenFinalizer()``" msgstr "" -#: ../NEWS:15121 +#: ../NEWS:15164 msgid "" "Call the public :func:`sys.get_asyncgen_hooks` and :func:`sys." "set_asyncgen_hooks` functions instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15124 +#: ../NEWS:15167 msgid "" ":issue:`46987`: Remove private functions ``_PySys_GetObjectId()`` and " "``_PySys_SetObjectId()``. Patch by Donghee Na." msgstr "" -#: ../NEWS:15127 +#: ../NEWS:15170 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:" @@ -26398,104 +26467,104 @@ msgid "" "func:`PyFloat_Unpack8`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15135 +#: ../NEWS:15178 msgid "Python 3.11.0 alpha 6" msgstr "" -#: ../NEWS:15137 +#: ../NEWS:15180 msgid "*Release date: 2022-03-07*" msgstr "" -#: ../NEWS:15142 +#: ../NEWS:15185 msgid "" ":issue:`46940`: Avoid overriding :exc:`AttributeError` metadata information " "for nested attribute access calls. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:15145 +#: ../NEWS:15188 msgid "" ":issue:`46927`: Include the type's name in the error message for " "subscripting non-generic types." msgstr "" -#: ../NEWS:15148 +#: ../NEWS:15191 msgid ":issue:`46921`: Support vectorcall for ``super()``. Patch by Ken Jin." msgstr "" -#: ../NEWS:15150 +#: ../NEWS:15193 msgid "" ":issue:`46841`: Fix incorrect handling of inline cache entries when " "specializing :opcode:`BINARY_OP`." msgstr "" -#: ../NEWS:15153 +#: ../NEWS:15196 msgid "" ":issue:`46841`: Use an oparg to simplify the construction of helpful error " "messages in :opcode:`GET_AWAITABLE`." msgstr "" -#: ../NEWS:15156 +#: ../NEWS:15199 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 "" -#: ../NEWS:15159 +#: ../NEWS:15202 msgid "" ":issue:`46841`: Add more detailed specialization failure stats for :opcode:" "`COMPARE_OP` followed by :opcode:`EXTENDED_ARG`." msgstr "" -#: ../NEWS:15162 +#: ../NEWS:15205 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 "" -#: ../NEWS:15166 +#: ../NEWS:15209 msgid "" ":issue:`46841`: Use inline caching for :opcode:`LOAD_ATTR`, :opcode:" "`LOAD_METHOD`, and :opcode:`STORE_ATTR`." msgstr "" -#: ../NEWS:15169 +#: ../NEWS:15212 msgid ":issue:`46841`: Use inline cache for :opcode:`BINARY_SUBSCR`." msgstr "" -#: ../NEWS:15171 +#: ../NEWS:15214 msgid ":issue:`46841`: Use inline caching for :opcode:`COMPARE_OP`." msgstr "" -#: ../NEWS:15173 +#: ../NEWS:15216 msgid "" ":issue:`46864`: Deprecate ``PyBytesObject.ob_shash``. It will be removed in " "Python 3.13." msgstr "" -#: ../NEWS:15176 +#: ../NEWS:15219 msgid ":issue:`46841`: Use inline caching for :opcode:`UNPACK_SEQUENCE`." msgstr "" -#: ../NEWS:15178 +#: ../NEWS:15221 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 "" -#: ../NEWS:15183 +#: ../NEWS:15226 msgid ":issue:`46841`: Use inline cache for :opcode:`LOAD_GLOBAL`." msgstr "" -#: ../NEWS:15185 +#: ../NEWS:15228 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 "" -#: ../NEWS:15189 +#: ../NEWS:15232 msgid "" ":issue:`46852`: Remove the undocumented private ``float.__set_format__()`` " "method, previously known as ``float.__setformat__()`` in Python 3.7. Its " @@ -26503,86 +26572,86 @@ msgid "" "mainly to be used in Python's test suite.\" Patch by Victor Stinner." msgstr "" -#: ../NEWS:15194 +#: ../NEWS:15237 msgid "" ":issue:`40116`: Fix regression that dict.update(other) may don't respect " "iterate order of other when other is key sharing dict." msgstr "" -#: ../NEWS:15197 +#: ../NEWS:15240 msgid ":issue:`46712`: Share global string identifiers in deep-frozen modules." msgstr "" -#: ../NEWS:15199 +#: ../NEWS:15242 msgid "" ":issue:`46430`: Fix memory leak in interned strings of deep-frozen modules." msgstr "" -#: ../NEWS:15201 +#: ../NEWS:15244 msgid "" ":issue:`46841`: Store :opcode:`BINARY_OP` caches inline using a new :opcode:" "`CACHE` instruction." msgstr "" -#: ../NEWS:15204 +#: ../NEWS:15247 msgid ":issue:`45107`: Specialize ``LOAD_METHOD`` for instances with a dict." msgstr "" -#: ../NEWS:15206 +#: ../NEWS:15249 msgid "" ":issue:`44337`: Reduce the memory usage of specialized :opcode:`LOAD_ATTR` " "and :opcode:`STORE_ATTR` instructions." msgstr "" -#: ../NEWS:15209 +#: ../NEWS:15252 msgid "" ":issue:`46729`: Add number of sub-exceptions to :meth:`BaseException." "__str__`." msgstr "" -#: ../NEWS:15211 +#: ../NEWS:15254 msgid "" ":issue:`45885`: Don't un-adapt :opcode:`COMPARE_OP` when collecting " "specialization stats." msgstr "" -#: ../NEWS:15214 +#: ../NEWS:15257 msgid "" ":issue:`46329`: Fix specialization stats gathering for :opcode:`!PRECALL` " "instructions." msgstr "" -#: ../NEWS:15217 +#: ../NEWS:15260 msgid ":issue:`46794`: Bump up the libexpat version into 2.4.6" msgstr "" -#: ../NEWS:15219 +#: ../NEWS:15262 msgid "" ":issue:`46823`: Implement a specialized combined opcode " "``LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE``. Patch by Dennis Sweeney." msgstr "" -#: ../NEWS:15222 +#: ../NEWS:15265 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 "" -#: ../NEWS:15226 +#: ../NEWS:15269 msgid "" ":issue:`46329`: Move ``KW_NAMES`` before ``PRECALL`` instruction in call " "sequence. Change ``operand`` of ``CALL`` to match ``PRECALL`` for easier " "specialization." msgstr "" -#: ../NEWS:15230 +#: ../NEWS:15273 msgid "" ":issue:`46808`: Remove the ``NEXT_BLOCK`` macro from compile.c, and make the " "compiler automatically generate implicit blocks when they are needed." msgstr "" -#: ../NEWS:15233 +#: ../NEWS:15276 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 " @@ -26590,18 +26659,18 @@ msgid "" "single ``PRECALL`` instruction." msgstr "" -#: ../NEWS:15238 ../NEWS:15621 +#: ../NEWS:15281 ../NEWS:15664 msgid "There is no change in semantics." msgstr "" -#: ../NEWS:15240 +#: ../NEWS:15283 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 "" -#: ../NEWS:15243 +#: ../NEWS:15286 msgid "" ":issue:`46730`: Message of AttributeError caused by getting, setting or " "deleting a property without the corresponding function now mentions that the " @@ -26609,76 +26678,76 @@ msgid "" "belongs to." msgstr "" -#: ../NEWS:15248 +#: ../NEWS:15291 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 "" -#: ../NEWS:15252 +#: ../NEWS:15295 msgid "" ":issue:`46732`: Correct the docstring for the :meth:`~object.__bool__` " "method. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:15255 +#: ../NEWS:15298 msgid "" ":issue:`46072`: Add more detailed specialization failure statistics for :" "opcode:`BINARY_OP`." msgstr "" -#: ../NEWS:15258 +#: ../NEWS:15301 msgid "" ":issue:`46707`: Avoid potential exponential backtracking when producing some " "syntax errors involving lots of brackets. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:15261 +#: ../NEWS:15304 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 "" -#: ../NEWS:15265 +#: ../NEWS:15308 msgid "" ":issue:`45923`: Add a quickened form of :opcode:`RESUME` that skips " "quickening checks." msgstr "" -#: ../NEWS:15268 +#: ../NEWS:15311 msgid "" ":issue:`46702`: Specialize :opcode:`UNPACK_SEQUENCE` for :class:`tuple` and :" "class:`list` unpackings." msgstr "" -#: ../NEWS:15271 +#: ../NEWS:15314 msgid "" ":issue:`46072`: Opcode pair stats are now gathered with ``--enable-" "pystats``. Defining ``DYNAMIC_EXECUTION_PROFILE`` or ``DXPAIRS`` no longer " "has any effect." msgstr "" -#: ../NEWS:15275 +#: ../NEWS:15318 msgid "" ":issue:`46675`: Allow more than 16 items in a split dict before it is " "combined. The limit is now 254." msgstr "" -#: ../NEWS:15278 +#: ../NEWS:15321 msgid "" ":issue:`40479`: Add a missing call to ``va_end()`` in ``Modules/_hashopenssl." "c``." msgstr "" -#: ../NEWS:15281 +#: ../NEWS:15324 msgid "" ":issue:`46323`: Use :c:func:`PyObject_Vectorcall` while calling ctypes " "callback function. Patch by Donghee Na." msgstr "" -#: ../NEWS:15284 +#: ../NEWS:15327 msgid "" ":issue:`46615`: When iterating over sets internally in ``setobject.c``, " "acquire strong references to the resulting items from the set. This " @@ -26686,92 +26755,92 @@ msgid "" "gets mutated." msgstr "" -#: ../NEWS:15289 +#: ../NEWS:15332 msgid "" ":issue:`45828`: The bytecode compiler now attempts to apply runtime stack " "manipulations at compile-time (whenever it is feasible to do so)." msgstr "" -#: ../NEWS:15292 +#: ../NEWS:15335 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 "" -#: ../NEWS:15299 +#: ../NEWS:15342 msgid "" ":issue:`25707`: Fixed a file leak in :func:`xml.etree.ElementTree.iterparse` " "when the iterator is not exhausted. Patch by Jacob Walls." msgstr "" -#: ../NEWS:15302 +#: ../NEWS:15345 msgid "" ":issue:`46877`: Export :func:`unittest.doModuleCleanups` in :mod:`unittest`. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15305 +#: ../NEWS:15348 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 "" -#: ../NEWS:15309 +#: ../NEWS:15352 msgid "" ":issue:`46736`: :class:`~http.server.SimpleHTTPRequestHandler` now uses " "HTML5 grammar. Patch by Donghee Na." msgstr "" -#: ../NEWS:15312 +#: ../NEWS:15355 msgid "" ":issue:`44886`: Inherit asyncio proactor datagram transport from :class:" "`asyncio.DatagramTransport`." msgstr "" -#: ../NEWS:15315 +#: ../NEWS:15358 msgid "" ":issue:`46827`: Support UDP sockets in :meth:`asyncio.loop.sock_connect` " "for selector-based event loops. Patch by Thomas Grainger." msgstr "" -#: ../NEWS:15318 +#: ../NEWS:15361 msgid ":issue:`46811`: Make test suite support Expat >=2.4.5" msgstr "" -#: ../NEWS:15320 +#: ../NEWS:15363 msgid "" ":issue:`46252`: Raise :exc:`TypeError` if :class:`ssl.SSLSocket` is passed " "to transport-based APIs." msgstr "" -#: ../NEWS:15323 +#: ../NEWS:15366 msgid "" ":issue:`46784`: Fix libexpat symbols collisions with user dynamically loaded " "or statically linked libexpat in embedded Python." msgstr "" -#: ../NEWS:15326 +#: ../NEWS:15369 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 "" -#: ../NEWS:15330 +#: ../NEWS:15373 msgid "" ":issue:`39327`: :func:`shutil.rmtree` can now work with VirtualBox shared " "folders when running from the guest operating-system." msgstr "" -#: ../NEWS:15333 +#: ../NEWS:15376 msgid "" ":issue:`45390`: Propagate :exc:`asyncio.CancelledError` message from inner " "task to outer awaiter." msgstr "" -#: ../NEWS:15336 +#: ../NEWS:15379 msgid "" ":issue:`46756`: Fix a bug in :meth:`urllib.request.HTTPPasswordMgr." "find_user_password` and :meth:`urllib.request.HTTPPasswordMgrWithPriorAuth." @@ -26780,38 +26849,38 @@ msgid "" "``example.org/foo``." msgstr "" -#: ../NEWS:15343 +#: ../NEWS:15386 msgid "" ":issue:`46737`: :func:`random.gauss` and :func:`random.normalvariate` now " "have default arguments." msgstr "" -#: ../NEWS:15346 +#: ../NEWS:15389 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 "" -#: ../NEWS:15351 +#: ../NEWS:15394 msgid ":issue:`46724`: Fix :mod:`dis` behavior on negative jump offsets." msgstr "" -#: ../NEWS:15353 +#: ../NEWS:15396 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 "" -#: ../NEWS:15357 +#: ../NEWS:15400 msgid "" ":issue:`46643`: In :func:`typing.get_type_hints`, support evaluating " "stringified ``ParamSpecArgs`` and ``ParamSpecKwargs`` annotations. Patch by " "Gregory Beauregard." msgstr "" -#: ../NEWS:15361 +#: ../NEWS:15404 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 " @@ -26819,20 +26888,20 @@ msgid "" "full-precision timestamps in the pax extended header." msgstr "" -#: ../NEWS:15366 +#: ../NEWS:15409 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 "" -#: ../NEWS:15370 +#: ../NEWS:15413 msgid "" ":issue:`46676`: Make :data:`typing.ParamSpec` args and kwargs equal to " "themselves. Patch by Gregory Beauregard." msgstr "" -#: ../NEWS:15373 +#: ../NEWS:15416 msgid "" ":issue:`46323`: ``ctypes.CFUNCTYPE()`` and ``ctypes.WINFUNCTYPE()`` now fail " "to create the type if its ``_argtypes_`` member contains too many arguments. " @@ -26840,13 +26909,13 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:15378 +#: ../NEWS:15421 msgid "" ":issue:`46672`: Fix ``NameError`` in :func:`asyncio.gather` when initial " "type check fails." msgstr "" -#: ../NEWS:15381 +#: ../NEWS:15424 msgid "" ":issue:`46659`: The :class:`calendar.LocaleTextCalendar` and :class:" "`calendar.LocaleHTMLCalendar` classes now use :func:`locale.getlocale`, " @@ -26854,7 +26923,7 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:15387 +#: ../NEWS:15430 msgid "" ":issue:`46659`: The :func:`locale.getdefaultlocale` function is deprecated " "and will be removed in Python 3.13. Use :func:`locale.setlocale`, :func:" @@ -26862,13 +26931,13 @@ msgid "" "`locale.getlocale` functions instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15392 +#: ../NEWS:15435 msgid "" ":issue:`46655`: In :func:`typing.get_type_hints`, support evaluating bare " "stringified ``TypeAlias`` annotations. Patch by Gregory Beauregard." msgstr "" -#: ../NEWS:15395 +#: ../NEWS:15438 msgid "" ":issue:`45948`: Fixed a discrepancy in the C implementation of the :mod:`xml." "etree.ElementTree` module. Now, instantiating an :class:`xml.etree." @@ -26877,57 +26946,57 @@ msgid "" "implementation does." msgstr "" -#: ../NEWS:15401 +#: ../NEWS:15444 msgid "" ":issue:`46626`: Expose Linux's ``IP_BIND_ADDRESS_NO_PORT`` option in :mod:" "`socket`." msgstr "" -#: ../NEWS:15404 +#: ../NEWS:15447 msgid "" ":issue:`46521`: Fix a bug in the :mod:`codeop` module that was incorrectly " "identifying invalid code involving string quotes as valid code." msgstr "" -#: ../NEWS:15407 +#: ../NEWS:15450 msgid ":issue:`46571`: Improve :func:`typing.no_type_check`." msgstr "" -#: ../NEWS:15409 +#: ../NEWS:15452 msgid "" "Now it does not modify external classes and functions. We also now correctly " "mark classmethods as not to be type checked." msgstr "" -#: ../NEWS:15412 +#: ../NEWS:15455 msgid ":issue:`46400`: expat: Update libexpat from 2.4.1 to 2.4.4" msgstr "" -#: ../NEWS:15414 +#: ../NEWS:15457 msgid "" ":issue:`46556`: Deprecate undocumented support for using a :class:`pathlib." "Path` object as a context manager." msgstr "" -#: ../NEWS:15417 +#: ../NEWS:15460 msgid "" ":issue:`46534`: Implement :pep:`673` :class:`typing.Self`. Patch by James " "Hilton-Balfe." msgstr "" -#: ../NEWS:15420 +#: ../NEWS:15463 msgid "" ":issue:`46522`: Make various module ``__getattr__`` AttributeErrors more " "closely match a typical AttributeError" msgstr "" -#: ../NEWS:15423 +#: ../NEWS:15466 msgid "" ":issue:`46475`: Add :data:`typing.Never` and :func:`typing.assert_never`. " "Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:15426 +#: ../NEWS:15469 msgid "" ":issue:`46333`: The :meth:`__eq__` and :meth:`__hash__` methods of :class:" "`typing.ForwardRef` now honor the ``module`` parameter of :class:`typing." @@ -26935,72 +27004,72 @@ msgid "" "differentiated." msgstr "" -#: ../NEWS:15431 +#: ../NEWS:15474 msgid "" ":issue:`46246`: Add missing ``__slots__`` to ``importlib.metadata." "DeprecatedList``. Patch by Arie Bovenberg." msgstr "" -#: ../NEWS:15434 +#: ../NEWS:15477 msgid "" ":issue:`46232`: The :mod:`ssl` module now handles certificates with bit " "strings in DN correctly." msgstr "" -#: ../NEWS:15437 +#: ../NEWS:15480 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 "" -#: ../NEWS:15441 +#: ../NEWS:15484 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 "" -#: ../NEWS:15444 +#: ../NEWS:15487 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 "" -#: ../NEWS:15447 +#: ../NEWS:15490 msgid "" ":issue:`44953`: Calling ``operator.itemgetter`` objects and ``operator." "attrgetter`` objects is now faster due to use of the vectorcall calling " "convention." msgstr "" -#: ../NEWS:15451 +#: ../NEWS:15494 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 "" -#: ../NEWS:15455 +#: ../NEWS:15498 msgid "" ":issue:`44011`: Reimplement SSL/TLS support in asyncio, borrow the " "implementation from uvloop library." msgstr "" -#: ../NEWS:15458 +#: ../NEWS:15501 msgid "" ":issue:`41086`: Make the :class:`configparser.ConfigParser` constructor " "raise :exc:`TypeError` if the ``interpolation`` parameter is not of type :" "class:`!configparser.Interpolation`" msgstr "" -#: ../NEWS:15462 +#: ../NEWS:15505 msgid "" ":issue:`29418`: Implement :func:`inspect.ismethodwrapper` and fix :func:" "`inspect.isroutine` for cases where methodwrapper is given. Patch by Hakan " "Çelik." msgstr "" -#: ../NEWS:15466 +#: ../NEWS:15509 msgid "" ":issue:`14156`: argparse.FileType now supports an argument of '-' in binary " "mode, returning the .buffer attribute of sys.stdin/sys.stdout as " @@ -27008,78 +27077,78 @@ msgid "" "when argument is '-'. Patch contributed by Josh Rosenberg" msgstr "" -#: ../NEWS:15474 +#: ../NEWS:15517 msgid "" ":issue:`42238`: ``Doc/tools/rstlint.py`` has moved to its own repository and " "is now packaged on PyPI as ``sphinx-lint``." msgstr "" -#: ../NEWS:15480 +#: ../NEWS:15523 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 "" -#: ../NEWS:15484 +#: ../NEWS:15527 msgid "" ":issue:`46760`: Remove bytecode offsets from expected values in test." "test_dis module. Reduces the obstacles to modifying the VM or compiler." msgstr "" -#: ../NEWS:15487 +#: ../NEWS:15530 msgid "" ":issue:`46708`: Prevent default asyncio event loop policy modification " "warning after ``test_asyncio`` execution." msgstr "" -#: ../NEWS:15490 +#: ../NEWS:15533 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 "" -#: ../NEWS:15495 +#: ../NEWS:15538 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 "" -#: ../NEWS:15502 +#: ../NEWS:15545 msgid "" ":issue:`46860`: Respect ``--with-suffix`` when building on case-insensitive " "file systems." msgstr "" -#: ../NEWS:15505 +#: ../NEWS:15548 msgid "" ":issue:`46656`: Building Python now requires a C11 compiler. Optional C11 " "features are not required. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15508 +#: ../NEWS:15551 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 "" -#: ../NEWS:15512 +#: ../NEWS:15555 msgid "" ":issue:`46640`: Building Python now requires a C99 ```` header file " "providing a ``NAN`` constant, or the ``__builtin_nan()`` built-in function. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:15516 +#: ../NEWS:15559 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 "" -#: ../NEWS:15520 +#: ../NEWS:15563 msgid "" ":issue:`40280`: Fix wasm32-emscripten test failures and platform issues. - " "Disable syscalls that are not supported or don't work, e.g. wait, " @@ -27089,25 +27158,25 @@ msgid "" "Enable bzip2. - Disable large file support. - Disable signal.alarm." msgstr "" -#: ../NEWS:15527 +#: ../NEWS:15570 msgid "" ":issue:`46430`: Intern strings in deep-frozen modules. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15532 +#: ../NEWS:15575 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 "" -#: ../NEWS:15536 +#: ../NEWS:15579 msgid "" ":issue:`46567`: Adds Tcl and Tk support for Windows ARM64. This also adds " "IDLE to the installation." msgstr "" -#: ../NEWS:15539 +#: ../NEWS:15582 msgid "" ":issue:`46638`: Ensures registry virtualization is consistently disabled. " "For 3.10 and earlier, it remains enabled (some registry writes are " @@ -27115,78 +27184,78 @@ msgid "" "affect all applications)." msgstr "" -#: ../NEWS:15547 +#: ../NEWS:15590 msgid "" ":issue:`46630`: Make query dialogs on Windows start with a cursor in the " "entry box." msgstr "" -#: ../NEWS:15550 +#: ../NEWS:15593 msgid "" ":issue:`45447`: Apply IDLE syntax highlighting to ``.pyi`` files. Patch by " "Alex Waygood and Terry Jan Reedy." msgstr "" -#: ../NEWS:15556 +#: ../NEWS:15599 msgid "" ":issue:`46748`: Python's public headers no longer import ````, " "leaving code that embeds/extends Python free to define ``bool``, ``true`` " "and ``false``." msgstr "" -#: ../NEWS:15560 +#: ../NEWS:15603 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 "" -#: ../NEWS:15564 +#: ../NEWS:15607 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 "" -#: ../NEWS:15568 +#: ../NEWS:15611 msgid "" ":issue:`45412`: Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to " "the internal C API). Patch by Victor Stinner." msgstr "" -#: ../NEWS:15571 +#: ../NEWS:15614 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 "" -#: ../NEWS:15576 +#: ../NEWS:15619 msgid "Python 3.11.0 alpha 5" msgstr "" -#: ../NEWS:15578 +#: ../NEWS:15621 msgid "*Release date: 2022-02-03*" msgstr "" -#: ../NEWS:15583 +#: ../NEWS:15626 msgid "" ":issue:`45773`: Remove two invalid \"peephole\" optimizations from the " "bytecode compiler." msgstr "" -#: ../NEWS:15586 +#: ../NEWS:15629 msgid "" ":issue:`46564`: Do not create frame objects when creating :class:`super` " "object. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15589 +#: ../NEWS:15632 msgid "" ":issue:`45885`: Added more fined-grained specialization failure stats " "regarding the ``COMPARE_OP`` bytecode." msgstr "" -#: ../NEWS:15592 +#: ../NEWS:15635 msgid "" ":issue:`44977`: The delegation of :func:`int` to :meth:`__trunc__` is now " "deprecated. Calling ``int(a)`` when ``type(a)`` implements :meth:`__trunc__` " @@ -27194,7 +27263,7 @@ msgid "" "`DeprecationWarning`." msgstr "" -#: ../NEWS:15597 +#: ../NEWS:15640 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 " @@ -27202,24 +27271,24 @@ msgid "" "the happy path." msgstr "" -#: ../NEWS:15602 +#: ../NEWS:15645 msgid "" ":issue:`46527`: Allow passing ``iterable`` as a keyword argument to :func:" "`enumerate` again. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:15605 +#: ../NEWS:15648 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 "" -#: ../NEWS:15609 +#: ../NEWS:15652 msgid ":issue:`46329`: Use two or three bytecodes to implement most calls." msgstr "" -#: ../NEWS:15611 +#: ../NEWS:15654 msgid "" "Calls without named arguments are implemented as a sequence of two " "instructions: ``PRECALL; CALL``. Calls with named arguments are implemented " @@ -27228,37 +27297,37 @@ msgid "" "``PRECALL_METHOD``. The latter pairs with ``LOAD_METHOD``." msgstr "" -#: ../NEWS:15618 +#: ../NEWS:15661 msgid "" "This partition into pre-call and call allows better specialization, and thus " "better performance ultimately." msgstr "" -#: ../NEWS:15623 +#: ../NEWS:15666 msgid "" ":issue:`46503`: Fix an assert when parsing some invalid \\N escape sequences " "in f-strings." msgstr "" -#: ../NEWS:15626 +#: ../NEWS:15669 msgid "" ":issue:`46431`: Improve error message on invalid calls to :meth:" "`BaseExceptionGroup.__new__`." msgstr "" -#: ../NEWS:15629 +#: ../NEWS:15672 msgid "" ":issue:`46476`: Fix memory leak in code objects generated by deepfreeze. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15632 +#: ../NEWS:15675 msgid "" ":issue:`46481`: Speed up calls to :meth:`weakref.ref.__call__` by using the :" "pep:`590` ``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:15635 +#: ../NEWS:15678 msgid "" ":issue:`46417`: Fix a race condition on setting a type ``__bases__`` " "attribute: the internal function ``add_subclass()`` now gets the " @@ -27267,40 +27336,40 @@ msgid "" "indirectly modify ``PyTypeObject.tp_subclasses``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15642 +#: ../NEWS:15685 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 "" -#: ../NEWS:15646 +#: ../NEWS:15689 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 "" -#: ../NEWS:15650 +#: ../NEWS:15693 msgid "" ":issue:`46407`: Optimize some modulo operations in ``Objects/longobject.c``. " "Patch by Jeremiah Vivian." msgstr "" -#: ../NEWS:15653 +#: ../NEWS:15696 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 "" -#: ../NEWS:15657 +#: ../NEWS:15700 msgid "" "Also add ``JUMP_NO_INTERRUPT`` bytecode that acts like ``JUMP_ABSOLUTE``, " "but does not check for interrupts." msgstr "" -#: ../NEWS:15660 +#: ../NEWS:15703 msgid "" ":issue:`46406`: The integer division ``//`` implementation has been " "optimized to better let the compiler understand its constraints. It can be " @@ -27308,192 +27377,192 @@ msgid "" "than ``2**30``." msgstr "" -#: ../NEWS:15665 +#: ../NEWS:15708 msgid "" ":issue:`46383`: Fix invalid signature of ``_zoneinfo``'s ``module_free`` " "function to resolve a crash on wasm32-emscripten platform." msgstr "" -#: ../NEWS:15668 +#: ../NEWS:15711 msgid "" ":issue:`46361`: Ensure that \"small\" integers created by :meth:`int." "from_bytes` and :class:`decimal.Decimal` are properly cached." msgstr "" -#: ../NEWS:15671 +#: ../NEWS:15714 msgid "" ":issue:`46161`: Fix the class building error when the arguments are " "constants and CALL_FUNCTION_EX is used." msgstr "" -#: ../NEWS:15674 +#: ../NEWS:15717 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 "" -#: ../NEWS:15678 +#: ../NEWS:15721 msgid "" ":issue:`46091`: Correctly calculate indentation levels for lines with " "whitespace character that are ended by line continuation characters. Patch " "by Pablo Galindo" msgstr "" -#: ../NEWS:15682 +#: ../NEWS:15725 msgid ":issue:`30512`: Add CAN Socket support for NetBSD." msgstr "" -#: ../NEWS:15686 +#: ../NEWS:15729 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 "" -#: ../NEWS:15693 +#: ../NEWS:15736 msgid "" ":issue:`46624`: Restore support for non-integer arguments of :func:`random." "randrange` and :func:`random.randint`." msgstr "" -#: ../NEWS:15696 +#: ../NEWS:15739 msgid "" ":issue:`46591`: Make the IDLE doc URL on the About IDLE dialog clickable." msgstr "" -#: ../NEWS:15698 +#: ../NEWS:15741 msgid "" ":issue:`46565`: Remove loop variables that are leaking into modules' " "namespaces." msgstr "" -#: ../NEWS:15701 +#: ../NEWS:15744 msgid "" ":issue:`46553`: In :func:`typing.get_type_hints`, support evaluating bare " "stringified ``ClassVar`` annotations. Patch by Gregory Beauregard." msgstr "" -#: ../NEWS:15704 +#: ../NEWS:15747 msgid "" ":issue:`46544`: Don't leak ``x`` & ``uspace`` intermediate vars in :class:" "`textwrap.TextWrapper`." msgstr "" -#: ../NEWS:15707 +#: ../NEWS:15750 msgid "" ":issue:`46487`: Add the ``get_write_buffer_limits`` method to :class:" "`asyncio.transports.WriteTransport` and to the SSL transport." msgstr "" -#: ../NEWS:15710 +#: ../NEWS:15753 msgid "" ":issue:`45173`: Note the configparser deprecations will be removed in Python " "3.12." msgstr "" -#: ../NEWS:15713 +#: ../NEWS:15756 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 "" -#: ../NEWS:15717 +#: ../NEWS:15760 msgid "" ":issue:`46539`: In :func:`typing.get_type_hints`, support evaluating " "stringified ``ClassVar`` and ``Final`` annotations inside ``Annotated``. " "Patch by Gregory Beauregard." msgstr "" -#: ../NEWS:15721 +#: ../NEWS:15764 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 "" -#: ../NEWS:15725 +#: ../NEWS:15768 msgid "" ":issue:`46491`: Allow :data:`typing.Annotated` to wrap :data:`typing.Final` " "and :data:`typing.ClassVar`. Patch by Gregory Beauregard." msgstr "" -#: ../NEWS:15728 +#: ../NEWS:15771 msgid "" ":issue:`46483`: Remove :meth:`~object.__class_getitem__` from :class:" "`pathlib.PurePath` as this class was not supposed to be generic." msgstr "" -#: ../NEWS:15731 +#: ../NEWS:15774 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 "" -#: ../NEWS:15735 +#: ../NEWS:15778 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 "" -#: ../NEWS:15739 +#: ../NEWS:15782 msgid "" ":issue:`46474`: In ``importlib.metadata.EntryPoint.pattern``, avoid " "potential REDoS by limiting ambiguity in consecutive whitespace." msgstr "" -#: ../NEWS:15742 +#: ../NEWS:15785 msgid "" ":issue:`46474`: Removed private method from ``importlib.metadata.Path``. " "Sync with importlib_metadata 4.10.0." msgstr "" -#: ../NEWS:15745 +#: ../NEWS:15788 msgid "" ":issue:`46470`: Remove unused branch from ``typing._remove_dups_flatten``" msgstr "" -#: ../NEWS:15747 +#: ../NEWS:15790 msgid "" ":issue:`46469`: :mod:`asyncio` generic classes now return :class:`types." "GenericAlias` in ``__class_getitem__`` instead of the same class." msgstr "" -#: ../NEWS:15751 +#: ../NEWS:15794 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 "" -#: ../NEWS:15755 +#: ../NEWS:15798 msgid "" ":issue:`46422`: Use ``dis.Positions`` in ``dis.Instruction`` instead of a " "regular ``tuple``." msgstr "" -#: ../NEWS:15758 +#: ../NEWS:15801 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 "" -#: ../NEWS:15762 +#: ../NEWS:15805 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 "" -#: ../NEWS:15765 +#: ../NEWS:15808 msgid "" ":issue:`46414`: Add :func:`typing.reveal_type`. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:15767 +#: ../NEWS:15810 msgid "" ":issue:`40280`: :mod:`subprocess` now imports Windows-specific imports when " "``msvcrt`` module is available, and POSIX-specific imports on all other " @@ -27501,83 +27570,83 @@ msgid "" "available (e.g. Emscripten browser target)." msgstr "" -#: ../NEWS:15772 +#: ../NEWS:15815 msgid "" ":issue:`40066`: ``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in " "type for their ``str()`` and ``format()`` output." msgstr "" -#: ../NEWS:15775 +#: ../NEWS:15818 msgid "" ":issue:`46316`: Optimize :meth:`pathlib.Path.iterdir` by removing an " "unnecessary check for special entries." msgstr "" -#: ../NEWS:15778 +#: ../NEWS:15821 msgid "" ":issue:`29688`: Document :meth:`pathlib.Path.absolute` (which has always " "existed)." msgstr "" -#: ../NEWS:15781 +#: ../NEWS:15824 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 "" -#: ../NEWS:15785 +#: ../NEWS:15828 msgid "" ":issue:`46258`: Speed up :func:`math.isqrt` for small positive integers by " "replacing two division steps with a lookup table." msgstr "" -#: ../NEWS:15788 +#: ../NEWS:15831 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 "" -#: ../NEWS:15792 +#: ../NEWS:15835 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 "" -#: ../NEWS:15796 +#: ../NEWS:15839 msgid "" ":issue:`26552`: Fixed case where failing :func:`asyncio.ensure_future` did " "not close the coroutine. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15799 +#: ../NEWS:15842 msgid "" ":issue:`21987`: Fix an issue with :meth:`tarfile.TarFile.getmember` getting " "a directory name with a trailing slash." msgstr "" -#: ../NEWS:15802 +#: ../NEWS:15845 msgid "" ":issue:`46124`: Update :mod:`zoneinfo` to rely on importlib.resources " "traversable API." msgstr "" -#: ../NEWS:15805 +#: ../NEWS:15848 msgid "" ":issue:`46103`: Now :func:`inspect.getmembers` only gets :attr:`__bases__` " "attribute from class type. Patch by Weipeng Hong." msgstr "" -#: ../NEWS:15808 +#: ../NEWS:15851 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 "" -#: ../NEWS:15813 +#: ../NEWS:15856 msgid "" ":issue:`44791`: Fix substitution of :class:`~typing.ParamSpec` in :data:" "`~typing.Concatenate` with different parameter expressions. Substitution " @@ -27586,13 +27655,13 @@ msgid "" "arguments." msgstr "" -#: ../NEWS:15822 +#: ../NEWS:15865 msgid "" ":issue:`46463`: Fixes :file:`escape4chm.py` script used when building the " "CHM documentation file" msgstr "" -#: ../NEWS:15828 +#: ../NEWS:15871 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." @@ -27601,46 +27670,46 @@ msgid "" "g. assert_called_once_with) will unconditionally pass." msgstr "" -#: ../NEWS:15834 +#: ../NEWS:15877 msgid "" ":issue:`46616`: Ensures ``test_importlib.test_windows`` cleans up registry " "keys after completion." msgstr "" -#: ../NEWS:15837 +#: ../NEWS:15880 msgid "" ":issue:`44359`: test_ftplib now silently ignores socket errors to prevent " "logging unhandled threading exceptions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15840 +#: ../NEWS:15883 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 "" -#: ../NEWS:15844 +#: ../NEWS:15887 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 "" -#: ../NEWS:15847 +#: ../NEWS:15890 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 "" -#: ../NEWS:15851 +#: ../NEWS:15894 msgid "" ":issue:`46542`: Fix ``test_json`` tests checking for :exc:`RecursionError`: " "modify these tests to use ``support.infinite_recursion()``. Patch by Victor " "Stinner." msgstr "" -#: ../NEWS:15855 +#: ../NEWS:15898 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 " @@ -27648,24 +27717,24 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:15860 +#: ../NEWS:15903 msgid "" ":issue:`40280`: Add :func:`test.support.requires_fork` decorators to mark " "tests that require a working :func:`os.fork`." msgstr "" -#: ../NEWS:15863 +#: ../NEWS:15906 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 "" -#: ../NEWS:15867 +#: ../NEWS:15910 msgid ":issue:`46126`: Disable 'descriptions' when running tests internally." msgstr "" -#: ../NEWS:15872 +#: ../NEWS:15915 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 " @@ -27673,46 +27742,46 @@ msgid "" "can result." msgstr "" -#: ../NEWS:15877 +#: ../NEWS:15920 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 "" -#: ../NEWS:15881 +#: ../NEWS:15924 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 "" -#: ../NEWS:15885 +#: ../NEWS:15928 msgid "" ":issue:`46513`: :program:`configure` no longer uses ``AC_C_CHAR_UNSIGNED`` " "macro and ``pyconfig.h`` no longer defines reserved symbol " "``__CHAR_UNSIGNED__``." msgstr "" -#: ../NEWS:15889 +#: ../NEWS:15932 msgid "" ":issue:`46471`: Use global singletons for single byte bytes objects in " "deepfreeze." msgstr "" -#: ../NEWS:15892 +#: ../NEWS:15935 msgid "" ":issue:`46443`: Deepfreeze now uses cached small integers as it saves some " "space for common small integers." msgstr "" -#: ../NEWS:15895 +#: ../NEWS:15938 msgid "" ":issue:`46429`: Merge all deep-frozen files into one for space savings. " "Patch by Kumar Aditya." msgstr "" -#: ../NEWS:15898 +#: ../NEWS:15941 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, " @@ -27721,41 +27790,41 @@ msgid "" "``PYLONG_BITS_IN_DIGIT`` in ``pyconfig.h``." msgstr "" -#: ../NEWS:15904 +#: ../NEWS:15947 msgid ":issue:`45925`: Update Windows installer to use SQLite 3.37.2." msgstr "" -#: ../NEWS:15906 +#: ../NEWS:15949 msgid "" ":issue:`43112`: Detect musl libc as a separate SOABI (tagged as ``linux-" "musl``)." msgstr "" -#: ../NEWS:15912 +#: ../NEWS:15955 msgid "" ":issue:`33125`: The traditional EXE/MSI based installer for Windows is now " "available for ARM64" msgstr "" -#: ../NEWS:15915 +#: ../NEWS:15958 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 "" -#: ../NEWS:15919 +#: ../NEWS:15962 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 "" -#: ../NEWS:15926 +#: ../NEWS:15969 msgid ":issue:`45925`: Update macOS installer to SQLite 3.37.2." msgstr "" -#: ../NEWS:15931 +#: ../NEWS:15974 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 " @@ -27763,7 +27832,7 @@ msgid "" "mean 'close Shell'. If there are no other windows, this also exits IDLE." msgstr "" -#: ../NEWS:15939 +#: ../NEWS:15982 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 " @@ -27771,40 +27840,40 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:15944 +#: ../NEWS:15987 msgid "" ":issue:`40170`: Move _Py_GetAllocatedBlocks() and " "_PyObject_DebugMallocStats() private functions to the internal C API. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:15947 +#: ../NEWS:15990 msgid "" ":issue:`46433`: The internal function _PyType_GetModuleByDef now correctly " "handles inheritance patterns involving static types." msgstr "" -#: ../NEWS:15950 +#: ../NEWS:15993 msgid "" ":issue:`45459`: :c:type:`Py_buffer` and various ``Py_buffer`` related " "functions are now part of the limited API and stable ABI." msgstr "" -#: ../NEWS:15953 +#: ../NEWS:15996 msgid "" ":issue:`14916`: Fixed bug in the tokenizer that prevented " "``PyRun_InteractiveOne`` from parsing from the provided FD." msgstr "" -#: ../NEWS:15958 +#: ../NEWS:16001 msgid "Python 3.11.0 alpha 4" msgstr "" -#: ../NEWS:15960 +#: ../NEWS:16003 msgid "*Release date: 2022-01-13*" msgstr "" -#: ../NEWS:15965 +#: ../NEWS:16008 msgid "" ":issue:`46070`: :c:func:`Py_EndInterpreter` now explicitly untracks all " "objects currently tracked by the GC. Previously, if an object was used later " @@ -27813,54 +27882,54 @@ msgid "" "structure became a dangling pointer. Patch by Victor Stinner." msgstr "" -#: ../NEWS:15971 +#: ../NEWS:16014 msgid ":issue:`46347`: Fix memory leak in PyEval_EvalCodeEx." msgstr "" -#: ../NEWS:15973 +#: ../NEWS:16016 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 "" -#: ../NEWS:15977 +#: ../NEWS:16020 msgid "" ":issue:`46331`: Do not set line number of instruction storing doc-string. " "Fixes regression introduced in 3.11 alpha." msgstr "" -#: ../NEWS:15980 +#: ../NEWS:16023 msgid "" ":issue:`46314`: Remove spurious \"call\" event when creating a lambda " "function that was accidentally introduced in 3.11a4." msgstr "" -#: ../NEWS:15983 +#: ../NEWS:16026 msgid "" ":issue:`46289`: ASDL declaration of ``FormattedValue`` has changed to " "reflect ``conversion`` field is not optional." msgstr "" -#: ../NEWS:15986 +#: ../NEWS:16029 msgid "" ":issue:`46297`: Fixed an interpreter crash on bootup with multiple " "PythonPaths set in the Windows registry. Patch by Derzsi Dániel." msgstr "" -#: ../NEWS:15989 +#: ../NEWS:16032 msgid "" ":issue:`46237`: Fix the line number of tokenizer errors inside f-strings. " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:15992 +#: ../NEWS:16035 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 "" -#: ../NEWS:15995 +#: ../NEWS:16038 msgid "" ":issue:`46006`: Fix a regression when a type method like ``__init__()`` is " "modified in a subinterpreter. Fix a regression in " @@ -27870,73 +27939,73 @@ msgid "" "interpreters. Patch by Victor Stinner." msgstr "" -#: ../NEWS:16002 +#: ../NEWS:16045 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 "" -#: ../NEWS:16006 +#: ../NEWS:16049 msgid "" ":issue:`46208`: Fix the regression of os.path.normpath(\"A/../../B\") not " "returning expected \"../B\" but \"B\"." msgstr "" -#: ../NEWS:16009 +#: ../NEWS:16052 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 "" -#: ../NEWS:16013 +#: ../NEWS:16056 msgid ":issue:`46009`: Remove the ``GEN_START`` opcode." msgstr "" -#: ../NEWS:16015 +#: ../NEWS:16058 msgid "" ":issue:`46235`: Certain sequence multiplication operations like ``[0] * " "1_000`` are now faster due to reference-counting optimizations. Patch by " "Dennis Sweeney." msgstr "" -#: ../NEWS:16019 +#: ../NEWS:16062 msgid "" ":issue:`46221`: :opcode:`!PREP_RERAISE_STAR` no longer pushes ``lasti`` to " "the stack." msgstr "" -#: ../NEWS:16022 +#: ../NEWS:16065 msgid "" ":issue:`46202`: Remove :opcode:`!POP_EXCEPT_AND_RERAISE` and replace it by " "an equivalent sequence of other opcodes." msgstr "" -#: ../NEWS:16025 +#: ../NEWS:16068 msgid ":issue:`46085`: Fix iterator cache mechanism of :class:`OrderedDict`." msgstr "" -#: ../NEWS:16027 +#: ../NEWS:16070 msgid "" ":issue:`46055`: Speed up shifting operation involving integers less than :c:" "macro:`PyLong_BASE`. Patch by Xinhang Xu." msgstr "" -#: ../NEWS:16030 +#: ../NEWS:16073 msgid "" ":issue:`46110`: Add a maximum recursion check to the PEG parser to avoid " "stack overflow. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16033 +#: ../NEWS:16076 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 "" -#: ../NEWS:16037 +#: ../NEWS:16080 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, " @@ -27944,105 +28013,105 @@ msgid "" "derived from ``exc_value``." msgstr "" -#: ../NEWS:16042 +#: ../NEWS:16085 msgid "" ":issue:`44525`: Replace the four call bytecode instructions which one pre-" "call instruction and two call instructions." msgstr "" -#: ../NEWS:16045 +#: ../NEWS:16088 msgid "" "Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and " "``CALL_METHOD_KW``." msgstr "" -#: ../NEWS:16048 +#: ../NEWS:16091 msgid "" "Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and " "``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``." msgstr "" -#: ../NEWS:16051 +#: ../NEWS:16094 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 "" -#: ../NEWS:16055 +#: ../NEWS:16098 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 "" -#: ../NEWS:16059 +#: ../NEWS:16102 msgid "" ":issue:`46054`: Fix parser error when parsing non-utf8 characters in source " "files. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16062 +#: ../NEWS:16105 msgid "" ":issue:`46042`: Improve the location of the caret in :exc:`SyntaxError` " "exceptions emitted by the symbol table. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16065 +#: ../NEWS:16108 msgid "" ":issue:`46049`: Ensure :file:`._pth` files work as intended on platforms " "other than Windows." msgstr "" -#: ../NEWS:16068 +#: ../NEWS:16111 msgid "" ":issue:`46048`: Fixes parsing of :file:`._pth` files on startup so that " "single-character paths are correctly read." msgstr "" -#: ../NEWS:16071 +#: ../NEWS:16114 msgid "" ":issue:`37971`: Fix a bug where the line numbers given in a traceback when a " "decorator application raised an exception were wrong." msgstr "" -#: ../NEWS:16074 +#: ../NEWS:16117 msgid "" ":issue:`46031`: Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:" "`POP_JUMP_IF_NONE` opcodes to speed up conditional jumps." msgstr "" -#: ../NEWS:16077 +#: ../NEWS:16120 msgid ":issue:`45654`: Deepfreeze :mod:`runpy`, patch by Kumar Aditya." msgstr "" -#: ../NEWS:16079 +#: ../NEWS:16122 msgid "" ":issue:`46025`: Fix a crash in the :mod:`atexit` module involving functions " "that unregister themselves before raising exceptions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16083 +#: ../NEWS:16126 msgid "" ":issue:`46000`: Improve compatibility of the :mod:`curses` module with " "NetBSD curses." msgstr "" -#: ../NEWS:16086 +#: ../NEWS:16129 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 "" -#: ../NEWS:16090 +#: ../NEWS:16133 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 "" -#: ../NEWS:16094 +#: ../NEWS:16137 msgid "" ":issue:`45953`: The main interpreter in _PyRuntimeState.interpreters is now " "statically allocated (as part of _PyRuntime). Likewise for the initial " @@ -28050,91 +28119,91 @@ msgid "" "init, as well as better memory locality for these key state objects." msgstr "" -#: ../NEWS:16100 +#: ../NEWS:16143 msgid "" ":issue:`45292`: Complete the :pep:`654` implementation: add ``except*``." msgstr "" -#: ../NEWS:16102 +#: ../NEWS:16145 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 "" -#: ../NEWS:16106 +#: ../NEWS:16149 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 "" -#: ../NEWS:16112 +#: ../NEWS:16155 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 "" -#: ../NEWS:16116 +#: ../NEWS:16159 msgid "" ":issue:`46328`: Added the :meth:`sys.exception` method which returns the " "active exception instance." msgstr "" -#: ../NEWS:16119 +#: ../NEWS:16162 msgid "" ":issue:`46307`: Add :meth:`string.Template.is_valid` and :meth:`string." "Template.get_identifiers` methods." msgstr "" -#: ../NEWS:16122 +#: ../NEWS:16165 msgid "" ":issue:`46306`: Assume that :class:`types.CodeType` always has :attr:`types." "CodeType.co_firstlineno` in :mod:`doctest`." msgstr "" -#: ../NEWS:16125 +#: ../NEWS:16168 msgid "" ":issue:`40479`: Fix :mod:`hashlib` *usedforsecurity* option to work " "correctly with OpenSSL 3.0.0 in FIPS mode." msgstr "" -#: ../NEWS:16128 +#: ../NEWS:16171 msgid "" ":issue:`46070`: Fix possible segfault when importing the :mod:`asyncio` " "module from different sub-interpreters in parallel. Patch by Erlend E. " "Aasland." msgstr "" -#: ../NEWS:16131 +#: ../NEWS:16174 msgid "" ":issue:`46244`: Removed ``__slots__`` from :class:`typing.ParamSpec` and :" "class:`typing.TypeVar`. They served no purpose. Patch by Arie Bovenberg." msgstr "" -#: ../NEWS:16134 +#: ../NEWS:16177 msgid "" ":issue:`46278`: Reflect ``context`` argument in ``AbstractEventLoop." "call_*()`` methods. Loop implementations already support it." msgstr "" -#: ../NEWS:16137 +#: ../NEWS:16180 msgid "" ":issue:`46269`: Remove special-casing of ``__new__`` in :meth:`enum.Enum." "__dir__`." msgstr "" -#: ../NEWS:16140 +#: ../NEWS:16183 msgid ":issue:`46266`: Improve day constants in :mod:`calendar`." msgstr "" -#: ../NEWS:16142 +#: ../NEWS:16185 msgid "" "Now all constants (``MONDAY`` ... ``SUNDAY``) are documented, tested, and " "added to ``__all__``." msgstr "" -#: ../NEWS:16145 +#: ../NEWS:16188 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 " @@ -28142,135 +28211,135 @@ msgid "" "algorithm is about twice as fast as the previous two pass code." msgstr "" -#: ../NEWS:16150 +#: ../NEWS:16193 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 "" -#: ../NEWS:16154 +#: ../NEWS:16197 msgid "" ":issue:`46239`: Improve error message when importing :mod:`asyncio." "windows_events` on non-Windows." msgstr "" -#: ../NEWS:16157 +#: ../NEWS:16200 msgid "" ":issue:`46238`: Reuse ``_winapi`` constants in ``asyncio.windows_events``." msgstr "" -#: ../NEWS:16159 +#: ../NEWS:16202 msgid "" ":issue:`46222`: Adding ``SF_NOCACHE`` sendfile constant for FreeBSD for the " "posixmodule." msgstr "" -#: ../NEWS:16162 +#: ../NEWS:16205 msgid "" ":issue:`37295`: Add fast path for ``0 <= k <= n <= 67`` for :func:`math." "comb`." msgstr "" -#: ../NEWS:16164 +#: ../NEWS:16207 msgid ":issue:`46176`: Adding the ``MAP_STACK`` constant for the mmap module." msgstr "" -#: ../NEWS:16166 +#: ../NEWS:16209 msgid "" ":issue:`43424`: Deprecate :attr:`webbrowser.MacOSXOSAScript._name` and use " "``name`` instead." msgstr "" -#: ../NEWS:16169 +#: ../NEWS:16212 msgid "" ":issue:`45321`: Added missing error codes to module ``xml.parsers.expat." "errors``." msgstr "" -#: ../NEWS:16172 +#: ../NEWS:16215 msgid "" ":issue:`46125`: Refactor tests to test traversable API directly. Includes " "changes from importlib 5.4.0." msgstr "" -#: ../NEWS:16175 +#: ../NEWS:16218 msgid "" ":issue:`46118`: Moved importlib.resources and its related functionality to a " "package." msgstr "" -#: ../NEWS:16178 +#: ../NEWS:16221 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 "" -#: ../NEWS:16182 +#: ../NEWS:16225 msgid "" ":issue:`20369`: :func:`concurrent.futures.wait` no longer blocks forever " "when given duplicate Futures. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:16185 +#: ../NEWS:16228 msgid "" ":issue:`46105`: Honor spec when generating requirement specs with urls and " "extras (importlib_metadata 4.8.3)." msgstr "" -#: ../NEWS:16188 +#: ../NEWS:16231 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 "" -#: ../NEWS:16192 +#: ../NEWS:16235 msgid "" ":issue:`22815`: Print unexpected successes together with failures and errors " "in summary in :class:`unittest.TextTestResult`." msgstr "" -#: ../NEWS:16195 +#: ../NEWS:16238 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 "" -#: ../NEWS:16200 +#: ../NEWS:16243 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 "" -#: ../NEWS:16204 +#: ../NEWS:16247 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 "" -#: ../NEWS:16208 +#: ../NEWS:16251 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 "" -#: ../NEWS:16212 +#: ../NEWS:16255 msgid ":issue:`16594`: Add allow allow_reuse_port flag in socketserver." msgstr "" -#: ../NEWS:16214 +#: ../NEWS:16257 msgid "" ":issue:`27718`: Fix help for the :mod:`signal` module. Some functions (e.g. " "``signal()`` and ``getsignal()``) were omitted." msgstr "" -#: ../NEWS:16217 +#: ../NEWS:16260 msgid "" ":issue:`46032`: The ``registry()`` method of :func:`functools." "singledispatch` functions checks now the first argument or the first " @@ -28279,44 +28348,44 @@ msgid "" "caused an error at calling time (e.g. ``list[int]``)." msgstr "" -#: ../NEWS:16223 +#: ../NEWS:16266 msgid "" ":issue:`46014`: Add ability to use ``typing.Union`` and ``types.UnionType`` " "as dispatch argument to ``functools.singledispatch``. Patch provided by " "Yurii Karabas." msgstr "" -#: ../NEWS:16227 +#: ../NEWS:16270 msgid "" ":issue:`27062`: Add :attr:`__all__` to :mod:`inspect`, patch by Kumar Aditya." msgstr "" -#: ../NEWS:16229 +#: ../NEWS:16272 msgid "" ":issue:`46018`: Ensure that :func:`math.expm1` does not raise on underflow." msgstr "" -#: ../NEWS:16231 +#: ../NEWS:16274 msgid "" ":issue:`46016`: Adding :const:`!F_DUP2FD` and :const:`!F_DUP2FD_CLOEXEC` " "constants from FreeBSD into the :mod:`fcntl` module." msgstr "" -#: ../NEWS:16234 +#: ../NEWS:16277 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 "" -#: ../NEWS:16238 +#: ../NEWS:16281 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 "" -#: ../NEWS:16242 +#: ../NEWS:16285 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 " @@ -28324,114 +28393,114 @@ msgid "" "mutability. Patch by Eric V. Smith, idea by Raymond Hettinger." msgstr "" -#: ../NEWS:16247 +#: ../NEWS:16290 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 "" -#: ../NEWS:16251 +#: ../NEWS:16294 msgid "" ":issue:`25066`: Added a :meth:`__repr__` method to :class:`multiprocessing." "Event` objects, patch by Kumar Aditya." msgstr "" -#: ../NEWS:16254 +#: ../NEWS:16297 msgid "" ":issue:`45643`: Added :const:`signal.SIGSTKFLT` on platforms where this " "signal is defined." msgstr "" -#: ../NEWS:16257 +#: ../NEWS:16300 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 "" -#: ../NEWS:16261 +#: ../NEWS:16304 msgid "" ":issue:`42413`: Replace ``concurrent.futures.TimeoutError`` and ``asyncio." "TimeoutError`` with builtin :exc:`TimeoutError`, keep these names as " "deprecated aliases." msgstr "" -#: ../NEWS:16268 +#: ../NEWS:16311 msgid ":issue:`46196`: Document method :meth:`cmd.Cmd.columnize`." msgstr "" -#: ../NEWS:16270 +#: ../NEWS:16313 msgid "" ":issue:`46120`: State that ``|`` is preferred for readability over ``Union`` " "in the :mod:`typing` docs." msgstr "" -#: ../NEWS:16273 +#: ../NEWS:16316 msgid "" ":issue:`46109`: Extracted ``importlib.resources`` and ``importlib.resources." "abc`` documentation into separate files." msgstr "" -#: ../NEWS:16276 +#: ../NEWS:16319 msgid "" ":issue:`19737`: Update the documentation for the :func:`globals` function." msgstr "" -#: ../NEWS:16281 +#: ../NEWS:16324 msgid "" ":issue:`46296`: Add a test case for :mod:`enum` with ``_use_args_ == True`` " "and ``_member_type_ == object``." msgstr "" -#: ../NEWS:16284 +#: ../NEWS:16327 msgid ":issue:`46205`: Fix hang in runtest_mp due to race condition" msgstr "" -#: ../NEWS:16286 +#: ../NEWS:16329 msgid "" ":issue:`46263`: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not " "fill freed memory with junk byte." msgstr "" -#: ../NEWS:16289 +#: ../NEWS:16332 msgid "" ":issue:`46262`: Cover ``ValueError`` path in tests for :meth:`enum.Flag." "_missing_`." msgstr "" -#: ../NEWS:16292 +#: ../NEWS:16335 msgid "" ":issue:`46150`: Now ``fakename`` in ``test_pathlib.PosixPathTest." "test_expanduser`` is checked to be non-existent." msgstr "" -#: ../NEWS:16296 +#: ../NEWS:16339 msgid "" ":issue:`46129`: Rewrite ``asyncio.locks`` tests with :class:`unittest." "IsolatedAsyncioTestCase` usage." msgstr "" -#: ../NEWS:16299 +#: ../NEWS:16342 msgid "" ":issue:`23819`: Fixed :mod:`asyncio` tests in python optimized mode. Patch " "by Kumar Aditya." msgstr "" -#: ../NEWS:16302 +#: ../NEWS:16345 msgid "" ":issue:`46114`: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses " "``0xMNN00PP0L``." msgstr "" -#: ../NEWS:16308 +#: ../NEWS:16351 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 "" -#: ../NEWS:16312 +#: ../NEWS:16355 msgid "" ":issue:`44133`: When Python is built without :option:`--enable-shared`, the " "``python`` program is now linked to object files, rather than being linked " @@ -28440,89 +28509,89 @@ msgid "" "`Py_FrozenMain` function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:16318 +#: ../NEWS:16361 msgid "" ":issue:`40280`: The ``configure`` script has a new option ``--with-" "emscripten-target`` to select browser or node as Emscripten build target." msgstr "" -#: ../NEWS:16322 +#: ../NEWS:16365 msgid "" ":issue:`46315`: Added and fixed ``#ifdef HAVE_FEATURE`` checks for " "functionality that is not available on WASI platform." msgstr "" -#: ../NEWS:16325 +#: ../NEWS:16368 msgid "" ":issue:`45723`: Fixed a regression in ``configure`` check for :func:`select." "epoll`." msgstr "" -#: ../NEWS:16328 +#: ../NEWS:16371 msgid "" ":issue:`46263`: ``configure`` no longer sets ``MULTIARCH`` on FreeBSD " "platforms." msgstr "" -#: ../NEWS:16331 +#: ../NEWS:16374 msgid "" ":issue:`46106`: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer " "builds, and CI. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:16334 +#: ../NEWS:16377 msgid "" ":issue:`46088`: Automatically detect or install bootstrap Python runtime " "when building from Visual Studio." msgstr "" -#: ../NEWS:16337 +#: ../NEWS:16380 msgid "" ":issue:`46072`: Add a --with-pystats configure option to turn on internal " "statistics gathering." msgstr "" -#: ../NEWS:16340 +#: ../NEWS:16383 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 "" -#: ../NEWS:16344 +#: ../NEWS:16387 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 "" -#: ../NEWS:16348 +#: ../NEWS:16391 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 "" -#: ../NEWS:16355 +#: ../NEWS:16398 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 "" -#: ../NEWS:16361 +#: ../NEWS:16404 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 "" -#: ../NEWS:16367 +#: ../NEWS:16410 msgid "" ":issue:`46236`: Fix a bug in :c:func:`PyFunction_GetAnnotations` that caused " "it to return a ``tuple`` instead of a ``dict``." msgstr "" -#: ../NEWS:16370 +#: ../NEWS:16413 msgid "" ":issue:`46140`: :c:func:`PyBuffer_GetPointer`, :c:func:" "`PyBuffer_FromContiguous`, :c:func:`PyBuffer_ToContiguous` and :c:func:" @@ -28533,20 +28602,20 @@ msgid "" "``const Py_ssize_t *``." msgstr "" -#: ../NEWS:16378 +#: ../NEWS:16421 msgid "" ":issue:`45855`: Document that the *no_block* argument to :c:func:" "`PyCapsule_Import` is a no-op now." msgstr "" -#: ../NEWS:16381 +#: ../NEWS:16424 msgid "" ":issue:`45855`: Replaced deprecated usage of :c:func:" "`PyImport_ImportModuleNoBlock` with :c:func:`PyImport_ImportModule` in " "stdlib modules. Patch by Kumar Aditya." msgstr "" -#: ../NEWS:16385 +#: ../NEWS:16428 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 " @@ -28554,15 +28623,15 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:16392 +#: ../NEWS:16435 msgid "Python 3.11.0 alpha 3" msgstr "" -#: ../NEWS:16394 +#: ../NEWS:16437 msgid "*Release date: 2021-12-08*" msgstr "" -#: ../NEWS:16399 +#: ../NEWS:16442 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 " @@ -28571,52 +28640,52 @@ msgid "" "onward, the behavior has been reverted to that of 3.9." msgstr "" -#: ../NEWS:16405 +#: ../NEWS:16448 msgid "" ":issue:`46004`: Fix the :exc:`SyntaxError` location for errors involving for " "loops with invalid targets. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16408 +#: ../NEWS:16451 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 "" -#: ../NEWS:16412 +#: ../NEWS:16455 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 "" -#: ../NEWS:16416 +#: ../NEWS:16459 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 "" -#: ../NEWS:16420 +#: ../NEWS:16463 msgid "" ":issue:`45915`: ``is_valid_fd`` now uses faster ``fcntl(fd, F_GETFD)`` on " "Linux, macOS, and Windows." msgstr "" -#: ../NEWS:16423 +#: ../NEWS:16466 msgid "" ":issue:`44530`: Reverts a change to the ``code.__new__`` :ref:`audit event " "` from an earlier prerelease." msgstr "" -#: ../NEWS:16426 +#: ../NEWS:16469 msgid "" ":issue:`42268`: Fail the configure step if the selected compiler doesn't " "support memory sanitizer. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16429 +#: ../NEWS:16472 msgid "" ":issue:`45711`: The three values of ``exc_info`` are now always consistent " "with each other. In particular, the ``type`` and ``traceback`` fields are " @@ -28627,133 +28696,133 @@ msgid "" "arguments provided to it." msgstr "" -#: ../NEWS:16437 +#: ../NEWS:16480 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 "" -#: ../NEWS:16441 +#: ../NEWS:16484 msgid "" ":issue:`45885`: Specialized the ``COMPARE_OP`` opcode using the PEP 659 " "machinery." msgstr "" -#: ../NEWS:16444 +#: ../NEWS:16487 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 "" -#: ../NEWS:16448 +#: ../NEWS:16491 msgid "" ":issue:`45614`: Fix :mod:`traceback` display for exceptions with invalid " "module name." msgstr "" -#: ../NEWS:16451 +#: ../NEWS:16494 msgid "" ":issue:`45813`: Fix crash when calling coro.cr_frame.clear() after coroutine " "has been freed." msgstr "" -#: ../NEWS:16454 +#: ../NEWS:16497 msgid "" ":issue:`45811`: Improve the tokenizer errors when encountering invisible " "control characters in the parser. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16457 +#: ../NEWS:16500 msgid "" ":issue:`45848`: Allow the parser to obtain error lines directly from encoded " "files. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16460 +#: ../NEWS:16503 msgid "" ":issue:`45709`: Restore behavior from 3.10 when tracing an exception raised " "within a with statement." msgstr "" -#: ../NEWS:16463 +#: ../NEWS:16506 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 "" -#: ../NEWS:16467 +#: ../NEWS:16510 msgid "" ":issue:`45829`: Specialize :opcode:`BINARY_SUBSCR` for classes with a " "``__getitem__`` method implemented in Python" msgstr "" -#: ../NEWS:16470 +#: ../NEWS:16513 msgid "" ":issue:`45826`: Fixed a crash when calling ``.with_traceback(None)`` on " "``NameError``. This occurs internally in ``unittest.TestCase." "assertRaises()``." msgstr "" -#: ../NEWS:16474 +#: ../NEWS:16517 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 "" -#: ../NEWS:16478 +#: ../NEWS:16521 msgid "" ":issue:`45820`: Fix a segfault when the parser fails without reading any " "input. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:16481 +#: ../NEWS:16524 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 "" -#: ../NEWS:16484 +#: ../NEWS:16527 msgid "" ":issue:`42540`: Fix crash when :func:`os.fork` is called with an active non-" "default memory allocator." msgstr "" -#: ../NEWS:16487 +#: ../NEWS:16530 msgid "" ":issue:`45738`: Fix computation of error location for invalid continuation " "characters in the parser. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16490 +#: ../NEWS:16533 msgid "" ":issue:`45636`: Remove an existing \"fast path\" for old-style string " "formatting, since it no longer appears to have any measurable impact." msgstr "" -#: ../NEWS:16493 +#: ../NEWS:16536 msgid "" ":issue:`45753`: Make recursion checks a bit more efficient by tracking " "amount of calls left before overflow." msgstr "" -#: ../NEWS:16496 +#: ../NEWS:16539 msgid "" ":issue:`45773`: Fix a compiler hang when attempting to optimize certain jump " "patterns." msgstr "" -#: ../NEWS:16499 +#: ../NEWS:16542 msgid "" ":issue:`45764`: The parser now gives a better error message when leaving out " "the opening parenthesis ``(`` after a ``def``-statement::" msgstr "" -#: ../NEWS:16502 +#: ../NEWS:16545 msgid "" ">>> def f:\n" " File \"\", line 1\n" @@ -28762,19 +28831,19 @@ msgid "" "SyntaxError: expected '('" msgstr "" -#: ../NEWS:16508 +#: ../NEWS:16551 msgid "" ":issue:`45609`: Specialized the ``STORE_SUBSCR`` opcode using the PEP 659 " "machinery." msgstr "" -#: ../NEWS:16511 +#: ../NEWS:16554 msgid "" ":issue:`45636`: Replace all numeric ``BINARY_*`` and ``INPLACE_*`` " "instructions with a single :opcode:`BINARY_OP` implementation." msgstr "" -#: ../NEWS:16514 +#: ../NEWS:16557 msgid "" ":issue:`45582`: Path calculation (known as ``getpath``) has been " "reimplemented as a frozen Python module. This should have no visible impact, " @@ -28782,19 +28851,19 @@ msgid "" "`sysconfig`." msgstr "" -#: ../NEWS:16519 +#: ../NEWS:16562 msgid "" ":issue:`45450`: Improve the syntax error message for parenthesized " "arguments. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16525 +#: ../NEWS:16568 msgid "" ":issue:`27946`: Fix possible crash when getting an attribute of :class:`xml." "etree.ElementTree.Element` simultaneously with replacing the ``attrib`` dict." msgstr "" -#: ../NEWS:16529 +#: ../NEWS:16572 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 " @@ -28802,68 +28871,68 @@ msgid "" "codebase, where an exc_info triplet is always normalized." msgstr "" -#: ../NEWS:16534 +#: ../NEWS:16577 msgid "" ":issue:`23819`: Replaced asserts with exceptions in asyncio, patch by Kumar " "Aditya." msgstr "" -#: ../NEWS:16537 +#: ../NEWS:16580 msgid "" ":issue:`13236`: :class:`unittest.TextTestResult` and :class:`unittest." "TextTestRunner` flush now the output stream more often." msgstr "" -#: ../NEWS:16540 +#: ../NEWS:16583 msgid "" ":issue:`45917`: Added :func:`math.exp2`:, which returns 2 raised to the " "power of x." msgstr "" -#: ../NEWS:16543 +#: ../NEWS:16586 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 "" -#: ../NEWS:16547 +#: ../NEWS:16590 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 "" -#: ../NEWS:16551 +#: ../NEWS:16594 msgid "" ":issue:`44649`: Handle dataclass(slots=True) with a field that has default a " "default value, but for which init=False." msgstr "" -#: ../NEWS:16554 +#: ../NEWS:16597 msgid "" ":issue:`45803`: Added missing kw_only parameter to dataclasses." "make_dataclass()." msgstr "" -#: ../NEWS:16557 +#: ../NEWS:16600 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 "" -#: ../NEWS:16561 +#: ../NEWS:16604 msgid "Use :meth:`turtle.RawTurtle.tiltangle` instead." msgstr "" -#: ../NEWS:16563 +#: ../NEWS:16606 msgid "" ":meth:`turtle.RawTurtle.tiltangle` was earlier incorrectly marked as " "deprecated, its docstring has been corrected." msgstr "" -#: ../NEWS:16568 +#: ../NEWS:16611 msgid "" ":issue:`45831`: :mod:`faulthandler` can now write ASCII-only strings (like " "filenames and function names) with a single write() syscall when dumping a " @@ -28872,26 +28941,26 @@ msgid "" "the same time. Patch by Victor Stinner." msgstr "" -#: ../NEWS:16574 +#: ../NEWS:16617 msgid "" ":issue:`45828`: :mod:`sqlite` C callbacks now use unraisable exceptions if " "callback tracebacks are enabled. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:16577 +#: ../NEWS:16620 msgid "" ":issue:`41735`: Fix thread lock in ``zlib.Decompress.flush()`` method before " "``PyObject_GetBuffer``." msgstr "" -#: ../NEWS:16580 +#: ../NEWS:16623 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 "" -#: ../NEWS:16584 +#: ../NEWS:16627 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 " @@ -28899,33 +28968,33 @@ msgid "" "E. Aasland." msgstr "" -#: ../NEWS:16589 +#: ../NEWS:16632 msgid "" ":issue:`45766`: Added *proportional* option to :meth:`statistics." "linear_regression`." msgstr "" -#: ../NEWS:16592 +#: ../NEWS:16635 msgid "" ":issue:`45765`: In importlib.metadata, fix distribution discovery for an " "empty path." msgstr "" -#: ../NEWS:16595 +#: ../NEWS:16638 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 "" -#: ../NEWS:16599 +#: ../NEWS:16642 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 "" -#: ../NEWS:16603 +#: ../NEWS:16646 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` " @@ -28934,61 +29003,61 @@ msgid "" "noticed." msgstr "" -#: ../NEWS:16609 +#: ../NEWS:16652 msgid ":issue:`45535`: Improve output of ``dir()`` with Enums." msgstr "" -#: ../NEWS:16611 +#: ../NEWS:16654 msgid "" ":issue:`45664`: Fix :func:`types.resolve_bases` and :func:`types.new_class` " "for :class:`types.GenericAlias` instance as a base." msgstr "" -#: ../NEWS:16614 +#: ../NEWS:16657 msgid "" ":issue:`45663`: Fix :func:`dataclasses.is_dataclass` for dataclasses which " "are subclasses of :class:`types.GenericAlias`." msgstr "" -#: ../NEWS:16617 +#: ../NEWS:16660 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 "" -#: ../NEWS:16620 +#: ../NEWS:16663 msgid "" ":issue:`43137`: Launch GNOME web browsers via gio tool instead of obsolete " "gvfs-open" msgstr "" -#: ../NEWS:16623 +#: ../NEWS:16666 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 "" -#: ../NEWS:16626 +#: ../NEWS:16669 msgid ":issue:`37295`: Optimize :func:`math.comb` and :func:`math.perm`." msgstr "" -#: ../NEWS:16628 +#: ../NEWS:16671 msgid "" ":issue:`45514`: Deprecated legacy functions in :mod:`importlib.resources`." msgstr "" -#: ../NEWS:16630 +#: ../NEWS:16673 msgid "" ":issue:`45507`: Add tests for truncated/missing trailers in gzip.decompress " "implementation." msgstr "" -#: ../NEWS:16633 +#: ../NEWS:16676 msgid "" ":issue:`45359`: Implement :pep:`585` for :class:`graphlib.TopologicalSorter`." msgstr "" -#: ../NEWS:16635 +#: ../NEWS:16678 msgid "" ":issue:`44733`: Add ``max_tasks_per_child`` to :class:`concurrent.futures." "ProcessPoolExecutor`. This allows users to specify the maximum number of " @@ -28996,133 +29065,133 @@ msgid "" "restarted." msgstr "" -#: ../NEWS:16640 +#: ../NEWS:16683 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 "" -#: ../NEWS:16644 +#: ../NEWS:16687 msgid "" ":issue:`43498`: Avoid a possible *\"RuntimeError: dictionary changed size " "during iteration\"* when adjusting the process count of :class:" "`ProcessPoolExecutor`." msgstr "" -#: ../NEWS:16648 +#: ../NEWS:16691 msgid "" ":issue:`42158`: Add MIME types for N-quads, N-triples, Notation3 and TriG to " "``mimetypes``." msgstr "" -#: ../NEWS:16651 +#: ../NEWS:16694 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 "" -#: ../NEWS:16658 +#: ../NEWS:16701 msgid "" ":issue:`42238`: ``make -C Doc suspicious`` will be removed soon in favor of " "``make -C Doc check``, mark it as deprecated." msgstr "" -#: ../NEWS:16661 +#: ../NEWS:16704 msgid "" ":issue:`45840`: Improve cross-references in the documentation for the data " "model." msgstr "" -#: ../NEWS:16664 +#: ../NEWS:16707 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 "" -#: ../NEWS:16668 +#: ../NEWS:16711 msgid "" ":issue:`45788`: Link doc for sys.prefix to sysconfig doc on installation " "paths." msgstr "" -#: ../NEWS:16670 +#: ../NEWS:16713 msgid "" ":issue:`45772`: ``socket.socket`` documentation is corrected to a class from " "a function." msgstr "" -#: ../NEWS:16673 +#: ../NEWS:16716 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 "" -#: ../NEWS:16676 +#: ../NEWS:16719 msgid "" ":issue:`45250`: Update the documentation to note that CPython does not " "consistently require iterators to define ``__iter__``." msgstr "" -#: ../NEWS:16679 +#: ../NEWS:16722 msgid "" ":issue:`25381`: In the extending chapter of the extending doc, update a " "paragraph about the global variables containing exception information." msgstr "" -#: ../NEWS:16682 +#: ../NEWS:16725 msgid "" ":issue:`43905`: Expanded :func:`~dataclasses.astuple` and :func:" "`~dataclasses.asdict` docs, warning about deepcopy being applied and " "providing a workaround." msgstr "" -#: ../NEWS:16689 +#: ../NEWS:16732 msgid "" ":issue:`45695`: Out-of-tree builds with a read-only source directory are now " "tested by CI." msgstr "" -#: ../NEWS:16692 +#: ../NEWS:16735 msgid "" ":issue:`19460`: Add new Test for ``Lib/email/mime/nonmultipart.py::" "MIMENonMultipart``." msgstr "" -#: ../NEWS:16695 +#: ../NEWS:16738 msgid "" ":issue:`45835`: Fix race condition in test_queue tests with multiple " "\"feeder\" threads." msgstr "" -#: ../NEWS:16698 +#: ../NEWS:16741 msgid "" ":issue:`45783`: The test for the freeze tool now handles file moves and " "deletions." msgstr "" -#: ../NEWS:16701 +#: ../NEWS:16744 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 "" -#: ../NEWS:16705 +#: ../NEWS:16748 msgid "" ":issue:`45701`: Add tests with ``tuple`` type with :func:`functools." "lru_cache` to ``test_functools``." msgstr "" -#: ../NEWS:16711 +#: ../NEWS:16754 msgid "" ":issue:`44035`: CI now verifies that autoconf files have been regenerated " "with a current and unpatched autoconf package." msgstr "" -#: ../NEWS:16714 +#: ../NEWS:16757 msgid "" ":issue:`45950`: The build system now uses a :program:`_bootstrap_python` " "interpreter for freezing and deepfreezing again. To speed up build process " @@ -29130,44 +29199,44 @@ msgid "" "are no longer build with LTO." msgstr "" -#: ../NEWS:16719 +#: ../NEWS:16762 msgid "" ":issue:`45881`: The :program:`configure` script now accepts ``--with-build-" "python`` and ``--with-freeze-module`` options to make cross compiling easier." msgstr "" -#: ../NEWS:16723 +#: ../NEWS:16766 msgid "" ":issue:`40280`: Emscripten platform now uses ``.wasm`` suffix by default." msgstr "" -#: ../NEWS:16725 +#: ../NEWS:16768 msgid "" ":issue:`40280`: Disable unusable core extension modules on WASM/Emscripten " "targets." msgstr "" -#: ../NEWS:16728 +#: ../NEWS:16771 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 "" -#: ../NEWS:16732 +#: ../NEWS:16775 msgid "" ":issue:`40280`: ``configure`` now checks for functions ``fork1, getegid, " "geteuid, getgid, getppid, getuid, opendir, pipe, system, wait, ttyname``." msgstr "" -#: ../NEWS:16735 +#: ../NEWS:16778 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 "" -#: ../NEWS:16739 +#: ../NEWS:16782 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 " @@ -29175,87 +29244,87 @@ msgid "" "\" header Patch by Victor Stinner." msgstr "" -#: ../NEWS:16744 +#: ../NEWS:16787 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 "" -#: ../NEWS:16749 +#: ../NEWS:16792 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 "" -#: ../NEWS:16752 +#: ../NEWS:16795 msgid "Based on patch by Roman Yurchak for pyodide." msgstr "" -#: ../NEWS:16754 +#: ../NEWS:16797 msgid "" ":issue:`45881`: ``setup.py`` now uses ``CC`` from environment first to " "discover multiarch and cross compile paths." msgstr "" -#: ../NEWS:16757 +#: ../NEWS:16800 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 "" -#: ../NEWS:16761 +#: ../NEWS:16804 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 "" -#: ../NEWS:16765 +#: ../NEWS:16808 msgid "" ":issue:`45847`: Port builtin hashlib extensions to ``PY_STDLIB_MOD`` macro " "and ``addext()``." msgstr "" -#: ../NEWS:16768 +#: ../NEWS:16811 msgid "" ":issue:`45723`: Add ``autoconf`` helpers for saving and restoring " "environment variables:" msgstr "" -#: ../NEWS:16771 +#: ../NEWS:16814 msgid "" "``SAVE_ENV``: Save ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and ``$CPPFLAGS``." msgstr "" -#: ../NEWS:16773 +#: ../NEWS:16816 msgid "" "``RESTORE_ENV``: Restore ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and " "``$CPPFLAGS``." msgstr "" -#: ../NEWS:16775 +#: ../NEWS:16818 msgid "" "``WITH_SAVE_ENV([SCRIPT])``: Run ``SCRIPT`` wrapped with ``SAVE_ENV`` and " "``RESTORE_ENV``." msgstr "" -#: ../NEWS:16780 +#: ../NEWS:16823 msgid "" ":issue:`45573`: Mandatory core modules, that are required to bootstrap " "Python, are now in ``Modules/Setup.bootstrap``." msgstr "" -#: ../NEWS:16783 +#: ../NEWS:16826 msgid "" ":issue:`45573`: ``configure`` now creates ``Modules/Setup.stdlib`` with " "conditionally enabled/disabled extension module lines. The file is not used, " "yet." msgstr "" -#: ../NEWS:16787 +#: ../NEWS:16830 msgid "" ":issue:`45573`: ``configure`` now uses a unified format to set state, " "compiler flags, and linker flags in Makefile. The new macro " @@ -29263,98 +29332,98 @@ msgid "" "Setup`` and ``setup.py``." msgstr "" -#: ../NEWS:16791 +#: ../NEWS:16834 msgid "" ":issue:`45816`: Python now supports building with Visual Studio 2022 (MSVC " "v143, VS Version 17.0). Patch by Jeremiah Vivian." msgstr "" -#: ../NEWS:16794 +#: ../NEWS:16837 msgid "" ":issue:`45800`: Settings for :mod:`pyexpat` C extension are now detected by " "``configure``. The bundled ``expat`` library is built in ``Makefile``." msgstr "" -#: ../NEWS:16797 +#: ../NEWS:16840 msgid "" ":issue:`45798`: Settings for :mod:`decimal` internal C extension are now " "detected by ``configure``. The bundled ``libmpdec`` library is built in " "``Makefile``." msgstr "" -#: ../NEWS:16801 +#: ../NEWS:16844 msgid "" ":issue:`45723`: :program:`configure` has a new option ``--with-pkg-config`` " "to disable or require pkg-config." msgstr "" -#: ../NEWS:16804 +#: ../NEWS:16847 msgid "" ":issue:`45774`: The build dependencies for :mod:`sqlite3` are now detected " "by ``configure`` and ``pkg-config``. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:16807 +#: ../NEWS:16850 msgid "" ":issue:`45763`: The build dependencies for :mod:`zlib`, :mod:`bz2`, and :mod:" "`lzma` are now detected by ``configure``." msgstr "" -#: ../NEWS:16810 +#: ../NEWS:16853 msgid "" ":issue:`45747`: gdbm and dbm build dependencies are now detected by " "``configure``." msgstr "" -#: ../NEWS:16813 +#: ../NEWS:16856 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 "" -#: ../NEWS:16817 +#: ../NEWS:16860 msgid "" ":issue:`45723`: ``configure.ac`` is now compatible with autoconf 2.71. " "Deprecated checks ``STDC_HEADERS`` and ``AC_HEADER_TIME`` have been removed." msgstr "" -#: ../NEWS:16821 +#: ../NEWS:16864 msgid "" ":issue:`45723`: ``configure`` now prints a warning when pkg-config is " "missing." msgstr "" -#: ../NEWS:16823 +#: ../NEWS:16866 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 "" -#: ../NEWS:16827 +#: ../NEWS:16870 msgid "" ":issue:`45723`: configure.ac now uses custom helper macros and " "``AC_CACHE_CHECK`` to simplify and speed up configure runs." msgstr "" -#: ../NEWS:16830 +#: ../NEWS:16873 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 "" -#: ../NEWS:16834 +#: ../NEWS:16877 msgid ":issue:`45561`: Run smelly.py tool from $(srcdir)." msgstr "" -#: ../NEWS:16839 +#: ../NEWS:16882 msgid "" ":issue:`46105`: Fixed calculation of :data:`sys.path` in a venv on Windows." msgstr "" -#: ../NEWS:16841 +#: ../NEWS:16884 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 " @@ -29362,7 +29431,7 @@ msgid "" "(that is, ``script.py args`` rather than ``python script.py args``)." msgstr "" -#: ../NEWS:16847 +#: ../NEWS:16890 msgid "" ":issue:`45616`: Fix Python Launcher's ability to distinguish between " "versions 3.1 and 3.10 when either one is explicitly requested. Previously, " @@ -29370,73 +29439,73 @@ msgid "" "used if 3.1 was requested but 3.10 was installed." msgstr "" -#: ../NEWS:16852 +#: ../NEWS:16895 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 "" -#: ../NEWS:16855 +#: ../NEWS:16898 msgid ":issue:`45732`: Updates bundled Tcl/Tk to 8.6.12." msgstr "" -#: ../NEWS:16857 +#: ../NEWS:16900 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 "" -#: ../NEWS:16864 +#: ../NEWS:16907 msgid ":issue:`45732`: Update python.org macOS installer to use Tcl/Tk 8.6.12." msgstr "" -#: ../NEWS:16869 +#: ../NEWS:16912 msgid "" ":issue:`39026`: Fix Python.h to build C extensions with Xcode: remove a " "relative include from ``Include/cpython/pystate.h``." msgstr "" -#: ../NEWS:16874 +#: ../NEWS:16917 msgid "Python 3.11.0 alpha 2" msgstr "" -#: ../NEWS:16876 +#: ../NEWS:16919 msgid "*Release date: 2021-11-05*" msgstr "" -#: ../NEWS:16881 +#: ../NEWS:16924 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 "" -#: ../NEWS:16885 +#: ../NEWS:16928 msgid "" ":issue:`45688`: :data:`sys.stdlib_module_names` now contains the macOS-" "specific module :mod:`!_scproxy`." msgstr "" -#: ../NEWS:16888 +#: ../NEWS:16931 msgid "" ":issue:`45379`: Clarify :exc:`ImportError` message when we try to explicitly " "import a frozen module but frozen modules are disabled." msgstr "" -#: ../NEWS:16891 +#: ../NEWS:16934 msgid "" ":issue:`44525`: Specialize simple calls to Python functions (no starargs, " "keyword dict, or closure)" msgstr "" -#: ../NEWS:16894 +#: ../NEWS:16937 msgid "" ":issue:`45530`: Cases of sorting using tuples as keys may now be " "significantly faster in some cases. Patch by Tim Peters." msgstr "" -#: ../NEWS:16897 +#: ../NEWS:16940 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-" @@ -29445,39 +29514,39 @@ msgid "" "ordering on list elements." msgstr "" -#: ../NEWS:16903 +#: ../NEWS:16946 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 "" -#: ../NEWS:16907 +#: ../NEWS:16950 msgid "" ":issue:`30570`: Fixed a crash in ``issubclass()`` from infinite recursion " "when searching pathological ``__bases__`` tuples." msgstr "" -#: ../NEWS:16910 +#: ../NEWS:16953 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 "" -#: ../NEWS:16914 +#: ../NEWS:16957 msgid "" ":issue:`45494`: Fix parser crash when reporting errors involving invalid " "continuation characters. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:16917 +#: ../NEWS:16960 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 "" -#: ../NEWS:16920 +#: ../NEWS:16963 msgid "" ":issue:`45340`: Object attributes are held in an array instead of a " "dictionary. An object's dictionary are created lazily, only when needed. " @@ -29485,32 +29554,32 @@ msgid "" "Patch by Mark Shannon." msgstr "" -#: ../NEWS:16925 +#: ../NEWS:16968 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 "" -#: ../NEWS:16929 +#: ../NEWS:16972 msgid "" ":issue:`29410`: Add SipHash13 for string hash algorithm and use it by " "default." msgstr "" -#: ../NEWS:16931 +#: ../NEWS:16974 msgid "" ":issue:`45385`: Fix reference leak from descr_check. Patch by Donghee Na." msgstr "" -#: ../NEWS:16933 +#: ../NEWS:16976 msgid "" ":issue:`45367`: Specialized the ``BINARY_MULTIPLY`` opcode to " "``BINARY_MULTIPLY_INT`` and ``BINARY_MULTIPLY_FLOAT`` using the PEP 659 " "machinery." msgstr "" -#: ../NEWS:16937 +#: ../NEWS:16980 msgid "" ":issue:`21736`: Frozen stdlib modules now have ``__file__`` to the .py file " "they would otherwise be loaded from, if possible. For packages, " @@ -29523,7 +29592,7 @@ msgid "" "not updated for the module." msgstr "" -#: ../NEWS:16947 +#: ../NEWS:16990 msgid "" ":issue:`45020`: For frozen stdlib modules, record the original module name " "as ``module.__spec__.loader_state.origname``. If the value is different " @@ -29532,20 +29601,20 @@ msgid "" "from a source file outside the stdlib." msgstr "" -#: ../NEWS:16953 +#: ../NEWS:16996 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 "" -#: ../NEWS:16957 +#: ../NEWS:17000 msgid "" ":issue:`45292`: Implement :pep:`654`. Add :class:`ExceptionGroup` and :class:" "`BaseExceptionGroup`. Update traceback display code." msgstr "" -#: ../NEWS:16960 +#: ../NEWS:17003 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 " @@ -29554,104 +29623,104 @@ msgid "" "Shannon." msgstr "" -#: ../NEWS:16966 +#: ../NEWS:17009 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 "" -#: ../NEWS:16970 +#: ../NEWS:17013 msgid "" ":issue:`44525`: Setup initial specialization infrastructure for the " "``CALL_FUNCTION`` opcode. Implemented initial specializations for C function " "calls:" msgstr "" -#: ../NEWS:16974 +#: ../NEWS:17017 msgid "``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag." msgstr "" -#: ../NEWS:16976 +#: ../NEWS:17019 msgid "" "``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords." msgstr "" -#: ../NEWS:16978 +#: ../NEWS:17021 msgid "``CALL_FUNCTION_LEN`` for ``len(o)``." msgstr "" -#: ../NEWS:16980 +#: ../NEWS:17023 msgid "``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``." msgstr "" -#: ../NEWS:16982 +#: ../NEWS:17025 msgid "" ":issue:`44511`: Improve the generated bytecode for class and mapping " "patterns." msgstr "" -#: ../NEWS:16984 +#: ../NEWS:17027 msgid "" ":issue:`43706`: Speed up calls to ``enumerate()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:16990 +#: ../NEWS:17033 msgid "" ":issue:`45679`: Fix caching of multi-value :data:`typing.Literal`. " "``Literal[True, 2]`` is no longer equal to ``Literal[1, 2]``." msgstr "" -#: ../NEWS:16993 +#: ../NEWS:17036 msgid "" ":issue:`42064`: Convert :mod:`sqlite3` to multi-phase initialisation (PEP " "489). Patches by Erlend E. Aasland." msgstr "" -#: ../NEWS:16996 +#: ../NEWS:17039 msgid "" ":issue:`45438`: Fix typing.Signature string representation for generic " "builtin types." msgstr "" -#: ../NEWS:16999 +#: ../NEWS:17042 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 "" -#: ../NEWS:17003 +#: ../NEWS:17046 msgid ":issue:`45574`: Fix warning about ``print_escape`` being unused." msgstr "" -#: ../NEWS:17005 +#: ../NEWS:17048 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 "" -#: ../NEWS:17009 +#: ../NEWS:17052 msgid "" ":issue:`45557`: :func:`pprint.pprint` now handles *underscore_numbers* " "correctly. Previously it was always setting it to ``False``." msgstr "" -#: ../NEWS:17012 +#: ../NEWS:17055 msgid "" ":issue:`44019`: Add :func:`operator.call` to ``operator.__all__``. Patch by " "Kreusada." msgstr "" -#: ../NEWS:17015 +#: ../NEWS:17058 msgid "" ":issue:`42174`: :meth:`shutil.get_terminal_size` now falls back to sane " "values if the column or line count are 0." msgstr "" -#: ../NEWS:17018 +#: ../NEWS:17061 msgid "" ":issue:`35673`: Improve the introspectability of the ``__loader__`` " "attribute for namespace packages. :class:`importlib.machinery." @@ -29660,14 +29729,14 @@ msgid "" "compatibility." msgstr "" -#: ../NEWS:17023 +#: ../NEWS:17066 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 "" -#: ../NEWS:17027 +#: ../NEWS:17070 msgid "" ":issue:`45475`: Reverted optimization of iterating :class:`gzip.GzipFile`, :" "class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see :issue:`43787`) because " @@ -29675,264 +29744,264 @@ msgid "" "them. Patch by Inada Naoki." msgstr "" -#: ../NEWS:17032 +#: ../NEWS:17075 msgid "" ":issue:`45489`: Update :class:`~typing.ForwardRef` to support ``|`` " "operator. Patch by Donghee Na." msgstr "" -#: ../NEWS:17035 +#: ../NEWS:17078 msgid "" ":issue:`42222`: Removed deprecated support for float arguments in " "*randrange()*." msgstr "" -#: ../NEWS:17038 +#: ../NEWS:17081 msgid "" ":issue:`45428`: Fix a regression in py_compile when reading filenames from " "standard input." msgstr "" -#: ../NEWS:17041 +#: ../NEWS:17084 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 "" -#: ../NEWS:17045 +#: ../NEWS:17088 msgid "" ":issue:`45461`: Fix incremental decoder and stream reader in the \"unicode-" "escape\" codec. Previously they failed if the escape sequence was split." msgstr "" -#: ../NEWS:17049 +#: ../NEWS:17092 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 "" -#: ../NEWS:17053 +#: ../NEWS:17096 msgid "" ":issue:`45417`: Fix quadratic behaviour in the enum module: Creation of enum " "classes with a lot of entries was quadratic." msgstr "" -#: ../NEWS:17056 +#: ../NEWS:17099 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 "" -#: ../NEWS:17060 +#: ../NEWS:17103 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 "" -#: ../NEWS:17064 +#: ../NEWS:17107 msgid "" ":issue:`20028`: Empty escapechar/quotechar is not allowed when initializing :" "class:`csv.Dialect`. Patch by Vajrasky Kok and Donghee Na." msgstr "" -#: ../NEWS:17067 +#: ../NEWS:17110 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 "" -#: ../NEWS:17071 +#: ../NEWS:17114 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 "" -#: ../NEWS:17075 +#: ../NEWS:17118 msgid "" ":issue:`45411`: Add extensions for files containing subtitles - .srt & .vtt " "- to the mimetypes.py module." msgstr "" -#: ../NEWS:17078 +#: ../NEWS:17121 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 "" -#: ../NEWS:17082 +#: ../NEWS:17125 msgid ":issue:`27580`: Add support of null characters in :mod:`csv`." msgstr "" -#: ../NEWS:17084 +#: ../NEWS:17127 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 "" -#: ../NEWS:17088 +#: ../NEWS:17131 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 "" -#: ../NEWS:17092 +#: ../NEWS:17135 msgid "" ":issue:`20028`: Improve error message of :class:`csv.Dialect` when " "initializing. Patch by Vajrasky Kok and Donghee Na." msgstr "" -#: ../NEWS:17095 +#: ../NEWS:17138 msgid ":issue:`45343`: Update bundled pip to 21.2.4 and setuptools to 58.1.0" msgstr "" -#: ../NEWS:17097 +#: ../NEWS:17140 msgid "" ":issue:`45328`: Fixed :class:`http.client.HTTPConnection` to work properly " "in OSs that don't support the ``TCP_NODELAY`` socket option." msgstr "" -#: ../NEWS:17100 +#: ../NEWS:17143 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 "" -#: ../NEWS:17105 +#: ../NEWS:17148 msgid ":issue:`45320`: Removed from the :mod:`inspect` module:" msgstr "" -#: ../NEWS:17107 +#: ../NEWS:17150 msgid "the ``getargspec`` function, deprecated since Python 3.0;" msgstr "" -#: ../NEWS:17108 +#: ../NEWS:17151 msgid "" "use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead." msgstr "" -#: ../NEWS:17110 +#: ../NEWS:17153 msgid "" "the ``formatargspec`` function, deprecated since Python 3.5; use the :func:" "`inspect.signature` function and :class:`Signature` object directly." msgstr "" -#: ../NEWS:17114 +#: ../NEWS:17157 msgid "" "the undocumented ``Signature.from_builtin`` and ``Signature.from_function`` " "functions, deprecated since Python 3.5; use the :meth:`Signature." "from_callable() ` method instead." msgstr "" -#: ../NEWS:17121 +#: ../NEWS:17164 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 "" -#: ../NEWS:17125 +#: ../NEWS:17168 msgid "Patch by Kyungmin Lee." msgstr "" -#: ../NEWS:17127 +#: ../NEWS:17170 msgid "" ":issue:`45160`: When tracing a tkinter variable used by a ttk OptionMenu, " "callbacks are no longer made twice." msgstr "" -#: ../NEWS:17130 +#: ../NEWS:17173 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 "" -#: ../NEWS:17134 +#: ../NEWS:17177 msgid "" ":issue:`24139`: Add support for SQLite extended result codes in :exc:" "`sqlite3.Error`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:17137 +#: ../NEWS:17180 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 "" -#: ../NEWS:17141 +#: ../NEWS:17184 msgid "" ":issue:`44547`: Implement ``Fraction.__int__``, so that a :class:`fractions." "Fraction` instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` " "check." msgstr "" -#: ../NEWS:17145 +#: ../NEWS:17188 msgid "" ":issue:`40321`: Adds support for HTTP 308 redirects to :mod:`urllib`. See :" "rfc:`7538` for details. Patch by Jochem Schulenklopper." msgstr "" -#: ../NEWS:17148 +#: ../NEWS:17191 msgid "" ":issue:`41374`: Ensure that ``socket.TCP_*`` constants are exposed on Cygwin " "3.1.6 and greater." msgstr "" -#: ../NEWS:17151 +#: ../NEWS:17194 msgid "" ":issue:`35970`: Add help flag to the base64 module's command line interface. " "Patch contributed by Robert Kuska." msgstr "" -#: ../NEWS:17157 +#: ../NEWS:17200 msgid "" ":issue:`45726`: Improve documentation for :func:`functools.singledispatch` " "and :class:`functools.singledispatchmethod`." msgstr "" -#: ../NEWS:17160 +#: ../NEWS:17203 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 "" -#: ../NEWS:17164 +#: ../NEWS:17207 msgid "" ":issue:`45618`: Update Sphinx version used to build the documentation to " "4.2.0. Patch by Maciej Olko." msgstr "" -#: ../NEWS:17167 +#: ../NEWS:17210 msgid "" ":issue:`45655`: Add a new \"relevant PEPs\" section to the top of the " "documentation for the ``typing`` module. Patch by Alex Waygood." msgstr "" -#: ../NEWS:17170 +#: ../NEWS:17213 msgid "" ":issue:`45604`: Add ``level`` argument to ``multiprocessing.log_to_stderr`` " "function docs." msgstr "" -#: ../NEWS:17173 +#: ../NEWS:17216 msgid "" ":issue:`45516`: Add protocol description to the :class:`importlib.abc." "TraversableResources` documentation." msgstr "" -#: ../NEWS:17176 +#: ../NEWS:17219 msgid "" ":issue:`45464`: Mention in the documentation of :ref:`Built-in Exceptions " "` that inheriting from multiple exception types in a " @@ -29940,72 +30009,72 @@ msgid "" "incompatibility." msgstr "" -#: ../NEWS:17181 +#: ../NEWS:17224 msgid ":issue:`45449`: Add note about :pep:`585` in :mod:`collections.abc`." msgstr "" -#: ../NEWS:17183 +#: ../NEWS:17226 msgid "" ":issue:`45516`: Add protocol description to the :class:`importlib.abc." "Traversable` documentation." msgstr "" -#: ../NEWS:17186 +#: ../NEWS:17229 msgid "" ":issue:`20692`: Add Programming FAQ entry explaining that int literal " "attribute access requires either a space after or parentheses around the " "literal." msgstr "" -#: ../NEWS:17192 +#: ../NEWS:17235 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 "" -#: ../NEWS:17196 +#: ../NEWS:17239 msgid ":issue:`45578`: Add tests for :func:`dis.distb`" msgstr "" -#: ../NEWS:17198 +#: ../NEWS:17241 msgid "" ":issue:`45678`: Add tests to ensure that ``functools.singledispatchmethod`` " "correctly wraps the attributes of the target function." msgstr "" -#: ../NEWS:17201 +#: ../NEWS:17244 msgid "" ":issue:`45668`: PGO tests now pass when Python is built without test " "extension modules." msgstr "" -#: ../NEWS:17204 +#: ../NEWS:17247 msgid "" ":issue:`45577`: Add subtests for all ``pickle`` protocols in " "``test_zoneinfo``." msgstr "" -#: ../NEWS:17206 +#: ../NEWS:17249 msgid "" ":issue:`45566`: Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check " "all ``pickle`` versions." msgstr "" -#: ../NEWS:17209 +#: ../NEWS:17252 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 "" -#: ../NEWS:17213 +#: ../NEWS:17256 msgid "" ":issue:`39679`: Add more test cases for ``@functools.singledispatchmethod`` " "when combined with ``@classmethod`` or ``@staticmethod``." msgstr "" -#: ../NEWS:17216 +#: ../NEWS:17259 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 " @@ -30013,20 +30082,20 @@ msgid "" "made analysis of buildbot logs harder Patch by Victor Stinner." msgstr "" -#: ../NEWS:17221 +#: ../NEWS:17264 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 "" -#: ../NEWS:17225 +#: ../NEWS:17268 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 "" -#: ../NEWS:17228 +#: ../NEWS:17271 msgid "" ":issue:`45400`: Fix " "test_name_error_suggestions_do_not_trigger_for_too_many_locals() of " @@ -30035,27 +30104,27 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:17234 +#: ../NEWS:17277 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 "" -#: ../NEWS:17241 +#: ../NEWS:17284 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 "" -#: ../NEWS:17245 +#: ../NEWS:17288 msgid "" ":issue:`45666`: Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed." "c``" msgstr "" -#: ../NEWS:17248 +#: ../NEWS:17291 msgid "" ":issue:`45548`: ``Modules/Setup`` and ``Modules/makesetup`` have been " "improved. The ``Setup`` file now contains working rules for all extensions. " @@ -30063,63 +30132,63 @@ msgid "" "dependencies correctly." msgstr "" -#: ../NEWS:17253 +#: ../NEWS:17296 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 "" -#: ../NEWS:17257 +#: ../NEWS:17300 msgid "" ":issue:`45595`: ``setup.py`` and ``makesetup`` now track build dependencies " "on all Python header files and module specific header files." msgstr "" -#: ../NEWS:17260 +#: ../NEWS:17303 msgid "" ":issue:`45571`: ``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of " "``PY_CFLAGS`` to compile shared modules." msgstr "" -#: ../NEWS:17263 +#: ../NEWS:17306 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 "" -#: ../NEWS:17267 +#: ../NEWS:17310 msgid "" ":issue:`43974`: ``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. " "Instead every module, that uses the internal API, defines the macro." msgstr "" -#: ../NEWS:17270 +#: ../NEWS:17313 msgid ":issue:`45548`: Fill in missing entries in Modules/Setup." msgstr "" -#: ../NEWS:17272 +#: ../NEWS:17315 msgid "" ":issue:`45532`: Update :data:`sys.version` to use ``main`` as fallback " "information. Patch by Jeong YunWon." msgstr "" -#: ../NEWS:17275 +#: ../NEWS:17318 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 "" -#: ../NEWS:17279 +#: ../NEWS:17322 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 "" -#: ../NEWS:17283 +#: ../NEWS:17326 msgid "" ":issue:`45440`: Building Python now requires a C99 ```` header file " "providing the following functions: ``copysign()``, ``hypot()``, " @@ -30127,24 +30196,24 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:17288 +#: ../NEWS:17331 msgid "" ":issue:`45405`: Prevent ``internal configure error`` when running " "``configure`` with recent versions of non-Apple clang. Patch by David " "Bohman." msgstr "" -#: ../NEWS:17291 +#: ../NEWS:17334 msgid ":issue:`45433`: Avoid linking libpython with libcrypt." msgstr "" -#: ../NEWS:17296 +#: ../NEWS:17339 msgid "" ":issue:`43652`: Update Tcl/Tk to 8.6.11, actually this time. The previous " "update incorrectly included 8.6.10." msgstr "" -#: ../NEWS:17299 +#: ../NEWS:17342 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 " @@ -30152,52 +30221,52 @@ msgid "" "is required." msgstr "" -#: ../NEWS:17304 +#: ../NEWS:17347 msgid "" ":issue:`43851`: Build SQLite ``SQLITE_OMIT_AUTOINIT`` on Windows. Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:17310 +#: ../NEWS:17353 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 "" -#: ../NEWS:17317 +#: ../NEWS:17360 msgid "" ":issue:`45495`: Add context keywords 'case' and 'match' to completions list." msgstr "" -#: ../NEWS:17322 +#: ../NEWS:17365 msgid "" ":issue:`29103`: :c:func:`PyType_FromSpec* ` 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 "" -#: ../NEWS:17326 +#: ../NEWS:17369 msgid "" ":issue:`45522`: The internal freelists for frame, float, list, dict, async " "generators, and context objects can now be disabled." msgstr "" -#: ../NEWS:17329 +#: ../NEWS:17372 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 "" -#: ../NEWS:17333 +#: ../NEWS:17376 msgid "" ":issue:`35081`: Move the ``interpreteridobject.h`` header file from " "``Include/`` to ``Include/internal/``. It only provides private functions. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:17337 +#: ../NEWS:17380 msgid "" ":issue:`35134`: The non-limited API files ``cellobject.h``, ``classobject." "h``, ``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` " @@ -30208,50 +30277,50 @@ msgid "" "h`` instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17345 +#: ../NEWS:17388 msgid "" ":issue:`45474`: The following items are no longer available when " "``Py_LIMITED_API`` is defined:" msgstr "" -#: ../NEWS:17348 +#: ../NEWS:17391 msgid ":c:func:`PyMarshal_WriteLongToFile`" msgstr ":c:func:`PyMarshal_WriteLongToFile`" -#: ../NEWS:17349 +#: ../NEWS:17392 msgid ":c:func:`PyMarshal_WriteObjectToFile`" msgstr ":c:func:`PyMarshal_WriteObjectToFile`" -#: ../NEWS:17350 +#: ../NEWS:17393 msgid ":c:func:`PyMarshal_ReadObjectFromString`" msgstr ":c:func:`PyMarshal_ReadObjectFromString`" -#: ../NEWS:17351 +#: ../NEWS:17394 msgid ":c:func:`PyMarshal_WriteObjectToString`" msgstr ":c:func:`PyMarshal_WriteObjectToString`" -#: ../NEWS:17352 +#: ../NEWS:17395 msgid "the ``Py_MARSHAL_VERSION`` macro" msgstr "``Py_MARSHAL_VERSION`` マクロ" -#: ../NEWS:17354 +#: ../NEWS:17397 msgid "These are not part of the :ref:`limited API `." msgstr "" -#: ../NEWS:17358 +#: ../NEWS:17401 msgid "" ":issue:`45434`: Remove the ``pystrhex.h`` header file. It only contains " "private functions. C extensions should only include the main ```` " "header file. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17362 +#: ../NEWS:17405 msgid "" ":issue:`45440`: Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the " "``Py_IS_INFINITY()`` macro. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17365 +#: ../NEWS:17408 msgid "" ":issue:`45434`: ```` no longer includes the header files ````, ````, ```` and ```` when the " @@ -30260,7 +30329,7 @@ msgid "" "``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17371 +#: ../NEWS:17414 msgid "" ":issue:`41123`: Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` " "macros, deprecated since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or " @@ -30268,33 +30337,33 @@ msgid "" "instead. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17376 +#: ../NEWS:17419 msgid "" ":issue:`45412`: Remove the following math macros using the ``errno`` " "variable:" msgstr "" -#: ../NEWS:17378 +#: ../NEWS:17421 msgid "``Py_ADJUST_ERANGE1()``" msgstr "``Py_ADJUST_ERANGE1()``" -#: ../NEWS:17379 +#: ../NEWS:17422 msgid "``Py_ADJUST_ERANGE2()``" msgstr "``Py_ADJUST_ERANGE2()``" -#: ../NEWS:17380 +#: ../NEWS:17423 msgid "``Py_OVERFLOWED()``" msgstr "``Py_OVERFLOWED()``" -#: ../NEWS:17381 +#: ../NEWS:17424 msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" msgstr "``Py_SET_ERANGE_IF_OVERFLOW()``" -#: ../NEWS:17382 +#: ../NEWS:17425 msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" msgstr "``Py_SET_ERRNO_ON_MATH_ERROR()``" -#: ../NEWS:17386 +#: ../NEWS:17429 msgid "" ":issue:`45395`: Custom frozen modules (the array set to " "``PyImport_FrozenModules``) are now treated as additions, rather than " @@ -30302,40 +30371,40 @@ msgid "" "disabled by setting the \"code\" field of the custom array entry to NULL." msgstr "" -#: ../NEWS:17391 +#: ../NEWS:17434 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 "" -#: ../NEWS:17395 +#: ../NEWS:17438 msgid "" ":issue:`44220`: :c:var:`PyStructSequence_UnnamedField` is added to the " "Stable ABI." msgstr "" -#: ../NEWS:17400 +#: ../NEWS:17443 msgid "Python 3.11.0 alpha 1" msgstr "" -#: ../NEWS:17402 +#: ../NEWS:17445 msgid "*Release date: 2021-10-05*" msgstr "" -#: ../NEWS:17407 +#: ../NEWS:17450 msgid "" ":issue:`42278`: Replaced usage of :func:`tempfile.mktemp` with :class:" "`~tempfile.TemporaryDirectory` to avoid a potential race condition." msgstr "" -#: ../NEWS:17410 +#: ../NEWS:17453 msgid "" ":issue:`44600`: Fix incorrect line numbers while tracing some failed " "patterns in :ref:`match ` statements. Patch by Charles Burkland." msgstr "" -#: ../NEWS:17413 +#: ../NEWS:17456 msgid "" ":issue:`41180`: Add auditing events to the :mod:`marshal` module, and stop " "raising ``code.__init__`` events for every unmarshalled code object. " @@ -30344,34 +30413,34 @@ msgid "" "reduces a significant performance overhead when loading from ``.pyc`` files." msgstr "" -#: ../NEWS:17420 +#: ../NEWS:17463 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 "" -#: ../NEWS:17424 +#: ../NEWS:17467 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 "" -#: ../NEWS:17428 +#: ../NEWS:17471 msgid "" ":issue:`44022`: :mod:`http.client` now avoids infinitely reading potential " "HTTP headers after a ``100 Continue`` status response from the server." msgstr "" -#: ../NEWS:17434 +#: ../NEWS:17477 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 "" -#: ../NEWS:17438 +#: ../NEWS:17481 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 " @@ -30380,28 +30449,28 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:17444 +#: ../NEWS:17487 msgid "" ":issue:`24076`: sum() was further optimised for summing up single digit " "integers." msgstr "" -#: ../NEWS:17447 +#: ../NEWS:17490 msgid ":issue:`45190`: Update Unicode databases to Unicode 14.0.0." msgstr "" -#: ../NEWS:17449 +#: ../NEWS:17492 msgid ":issue:`45167`: Fix deepcopying of :class:`types.GenericAlias` objects." msgstr "" -#: ../NEWS:17451 +#: ../NEWS:17494 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 "" -#: ../NEWS:17456 +#: ../NEWS:17499 msgid "" ":issue:`44219`: Release the GIL while performing ``isatty`` system calls on " "arbitrary file descriptors. In particular, this affects :func:`os.isatty`, :" @@ -30410,20 +30479,20 @@ msgid "" "func:`os.isatty`. Patch by Vincent Michel in :issue:`44219`." msgstr "" -#: ../NEWS:17462 +#: ../NEWS:17505 msgid "" ":issue:`44959`: Added fallback to extension modules with '.sl' suffix on HP-" "UX" msgstr "" -#: ../NEWS:17464 +#: ../NEWS:17507 msgid "" ":issue:`45121`: Fix issue where ``Protocol.__init__`` raises " "``RecursionError`` when it's called directly or via ``super()``. Patch " "provided by Yurii Karabas." msgstr "" -#: ../NEWS:17468 +#: ../NEWS:17511 msgid "" ":issue:`44348`: The deallocator function of the :exc:`BaseException` type " "now uses the trashcan mechanism to prevent stack overflow. For example, when " @@ -30435,27 +30504,27 @@ msgid "" "memory. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17477 +#: ../NEWS:17520 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 "" -#: ../NEWS:17481 +#: ../NEWS:17524 msgid "" ":issue:`1514420`: Interpreter no longer attempts to open files with names in " "angle brackets (like \"\" or \"\") when formatting an " "exception." msgstr "" -#: ../NEWS:17485 +#: ../NEWS:17528 msgid "" ":issue:`41031`: Match C and Python code formatting of unprintable exceptions " "and exceptions in the :mod:`__main__` module." msgstr "" -#: ../NEWS:17488 +#: ../NEWS:17531 msgid "" ":issue:`37330`: :func:`open`, :func:`io.open`, :func:`codecs.open` and :" "class:`fileinput.FileInput` no longer accept ``'U'`` (\"universal newline\") " @@ -30463,7 +30532,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:17493 +#: ../NEWS:17536 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 " @@ -30471,13 +30540,13 @@ msgid "" "displayed." msgstr "" -#: ../NEWS:17498 +#: ../NEWS:17541 msgid "" "(This issue impacted only the C code exception rendering, the :mod:" "`traceback` module was using qualname already)." msgstr "" -#: ../NEWS:17501 +#: ../NEWS:17544 msgid "" ":issue:`34561`: List sorting now uses the merge-ordering strategy from Munro " "and Wild's ``powersort()``. Unlike the former strategy, this is provably " @@ -30490,45 +30559,45 @@ msgid "" "strategy did better." msgstr "" -#: ../NEWS:17511 +#: ../NEWS:17554 msgid "" ":issue:`45056`: Compiler now removes trailing unused constants from " "co_consts." msgstr "" -#: ../NEWS:17513 +#: ../NEWS:17556 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 "" -#: ../NEWS:17517 +#: ../NEWS:17560 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 "" -#: ../NEWS:17521 +#: ../NEWS:17564 msgid "" ":issue:`45018`: Fixed pickling of range iterators that iterated for over " "``2**32`` times." msgstr "" -#: ../NEWS:17524 +#: ../NEWS:17567 msgid "" ":issue:`45000`: A :exc:`SyntaxError` is now raised when trying to delete :" "const:`__debug__`. Patch by Donghee Na." msgstr "" -#: ../NEWS:17527 +#: ../NEWS:17570 msgid "" ":issue:`44963`: Implement ``send()`` and ``throw()`` methods for " "``anext_awaitable`` objects. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17530 +#: ../NEWS:17573 msgid "" ":issue:`44962`: Fix a race in WeakKeyDictionary, WeakValueDictionary and " "WeakSet when two threads attempt to commit the last pending removal. This " @@ -30536,368 +30605,368 @@ msgid "" "shutdown_asyncgens is not run" msgstr "" -#: ../NEWS:17535 +#: ../NEWS:17578 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 "" -#: ../NEWS:17539 +#: ../NEWS:17582 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 "" -#: ../NEWS:17543 +#: ../NEWS:17586 msgid "" ":issue:`44954`: Fixed a corner case bug where the result of ``float." "fromhex('0x.8p-1074')`` was rounded the wrong way." msgstr "" -#: ../NEWS:17546 +#: ../NEWS:17589 msgid "" ":issue:`44947`: Refine the syntax error for trailing commas in import " "statements. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17549 +#: ../NEWS:17592 msgid "" ":issue:`44945`: Specialize the BINARY_ADD instruction using the PEP 659 " "machinery. Adds five new instructions:" msgstr "" -#: ../NEWS:17552 +#: ../NEWS:17595 msgid "BINARY_ADD_ADAPTIVE" msgstr "" -#: ../NEWS:17553 +#: ../NEWS:17596 msgid "BINARY_ADD_FLOAT" msgstr "" -#: ../NEWS:17554 +#: ../NEWS:17597 msgid "BINARY_ADD_INT" msgstr "" -#: ../NEWS:17555 +#: ../NEWS:17598 msgid "BINARY_ADD_UNICODE" msgstr "" -#: ../NEWS:17556 +#: ../NEWS:17599 msgid "BINARY_ADD_UNICODE_INPLACE_FAST" msgstr "" -#: ../NEWS:17558 +#: ../NEWS:17601 msgid "" ":issue:`44929`: Fix some edge cases of ``enum.Flag`` string representation " "in the REPL. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17561 +#: ../NEWS:17604 msgid ":issue:`44914`: Class version tags are no longer recycled." msgstr "" -#: ../NEWS:17563 +#: ../NEWS:17606 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 "" -#: ../NEWS:17567 +#: ../NEWS:17610 msgid "" ":issue:`44698`: Restore behaviour of complex exponentiation with integer-" "valued exponent of type :class:`float` or :class:`complex`." msgstr "" -#: ../NEWS:17570 +#: ../NEWS:17613 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 "" -#: ../NEWS:17574 +#: ../NEWS:17617 msgid ":issue:`44900`: Add five superinstructions for PEP 659 quickening:" msgstr "" -#: ../NEWS:17576 +#: ../NEWS:17619 msgid "LOAD_FAST LOAD_FAST" msgstr "" -#: ../NEWS:17577 +#: ../NEWS:17620 msgid "STORE_FAST LOAD_FAST" msgstr "" -#: ../NEWS:17578 +#: ../NEWS:17621 msgid "LOAD_FAST LOAD_CONST" msgstr "" -#: ../NEWS:17579 +#: ../NEWS:17622 msgid "LOAD_CONST LOAD_FAST" msgstr "" -#: ../NEWS:17580 +#: ../NEWS:17623 msgid "STORE_FAST STORE_FAST" msgstr "" -#: ../NEWS:17582 +#: ../NEWS:17625 msgid "" ":issue:`44889`: Initial implementation of adaptive specialization of " "``LOAD_METHOD``. The following specialized forms were added:" msgstr "" -#: ../NEWS:17585 +#: ../NEWS:17628 msgid "``LOAD_METHOD_CACHED``" msgstr "" -#: ../NEWS:17587 +#: ../NEWS:17630 msgid "``LOAD_METHOD_MODULE``" msgstr "" -#: ../NEWS:17589 +#: ../NEWS:17632 msgid "``LOAD_METHOD_CLASS``" msgstr "" -#: ../NEWS:17591 +#: ../NEWS:17634 msgid "" ":issue:`44890`: Specialization stats are always collected in debug builds." msgstr "" -#: ../NEWS:17593 +#: ../NEWS:17636 msgid "" ":issue:`44885`: Correct the ast locations of f-strings with format specs and " "repeated expressions. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:17596 +#: ../NEWS:17639 msgid "" ":issue:`44878`: Remove the loop from the bytecode interpreter. All " "instructions end with a DISPATCH macro, so the loop is now redundant." msgstr "" -#: ../NEWS:17599 +#: ../NEWS:17642 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 "" -#: ../NEWS:17603 +#: ../NEWS:17646 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 "" -#: ../NEWS:17607 +#: ../NEWS:17650 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 "" -#: ../NEWS:17610 +#: ../NEWS:17653 msgid "" ":issue:`33930`: Fix segmentation fault with deep recursion when cleaning " "method objects. Patch by Augusto Goulart and Pablo Galindo." msgstr "" -#: ../NEWS:17613 +#: ../NEWS:17656 msgid "" ":issue:`25782`: Fix bug where ``PyErr_SetObject`` hangs when the current " "exception has a cycle in its context chain." msgstr "" -#: ../NEWS:17616 +#: ../NEWS:17659 msgid "" ":issue:`44856`: Fix reference leaks in the error paths of ``update_bases()`` " "and ``__build_class__``. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17619 +#: ../NEWS:17662 msgid "" ":issue:`44826`: Initial implementation of adaptive specialization of " "STORE_ATTR" msgstr "" -#: ../NEWS:17621 +#: ../NEWS:17664 msgid "Three specialized forms of STORE_ATTR are added:" msgstr "" -#: ../NEWS:17623 +#: ../NEWS:17666 msgid "STORE_ATTR_SLOT" msgstr "" -#: ../NEWS:17625 +#: ../NEWS:17668 msgid "STORE_ATTR_SPLIT_KEYS" msgstr "" -#: ../NEWS:17627 +#: ../NEWS:17670 msgid "STORE_ATTR_WITH_HINT" msgstr "" -#: ../NEWS:17629 +#: ../NEWS:17672 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 "" -#: ../NEWS:17633 +#: ../NEWS:17676 msgid "" ":issue:`44821`: Create instance dictionaries (__dict__) eagerly, to improve " "regularity of object layout and assist specialization." msgstr "" -#: ../NEWS:17636 +#: ../NEWS:17679 msgid "" ":issue:`44792`: Improve syntax errors for if expressions. Patch by Miguel " "Brito" msgstr "" -#: ../NEWS:17638 +#: ../NEWS:17681 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 "" -#: ../NEWS:17642 +#: ../NEWS:17685 msgid ":issue:`44732`: Rename ``types.Union`` to ``types.UnionType``." msgstr "" -#: ../NEWS:17644 +#: ../NEWS:17687 msgid "" ":issue:`44725`: Expose specialization stats in python via :func:`!_opcode." "get_specialization_stats`." msgstr "" -#: ../NEWS:17647 +#: ../NEWS:17690 msgid "" ":issue:`44717`: Improve AttributeError on circular imports of submodules." msgstr "" -#: ../NEWS:17649 +#: ../NEWS:17692 msgid "" ":issue:`44698`: Fix undefined behaviour in complex object exponentiation." msgstr "" -#: ../NEWS:17651 +#: ../NEWS:17694 msgid "" ":issue:`44653`: Support :mod:`typing` types in parameter substitution in the " "union type." msgstr "" -#: ../NEWS:17654 +#: ../NEWS:17697 msgid "" ":issue:`44676`: Add ability to serialise ``types.Union`` objects. Patch " "provided by Yurii Karabas." msgstr "" -#: ../NEWS:17657 +#: ../NEWS:17700 msgid "" ":issue:`44633`: Parameter substitution of the union type with wrong types " "now raises ``TypeError`` instead of returning :data:`NotImplemented`." msgstr "" -#: ../NEWS:17660 +#: ../NEWS:17703 msgid "" ":issue:`44661`: Update ``property_descr_set`` to use vectorcall if possible. " "Patch by Donghee Na." msgstr "" -#: ../NEWS:17663 +#: ../NEWS:17706 msgid "" ":issue:`44662`: Add ``__module__`` to ``types.Union``. This also fixes " "``types.Union`` issues with ``typing.Annotated``. Patch provided by Yurii " "Karabas." msgstr "" -#: ../NEWS:17667 +#: ../NEWS:17710 msgid "" ":issue:`44655`: Include the name of the type in unset __slots__ attribute " "errors. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:17670 +#: ../NEWS:17713 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 "" -#: ../NEWS:17674 +#: ../NEWS:17717 msgid "" ":issue:`44646`: Fix the hash of the union type: it no longer depends on the " "order of arguments." msgstr "" -#: ../NEWS:17677 +#: ../NEWS:17720 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 "" -#: ../NEWS:17681 +#: ../NEWS:17724 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 "" -#: ../NEWS:17685 +#: ../NEWS:17728 msgid "" ":issue:`44635`: Convert ``None`` to ``type(None)`` in the union type " "constructor." msgstr "" -#: ../NEWS:17688 +#: ../NEWS:17731 msgid ":issue:`26280`: Implement adaptive specialization for BINARY_SUBSCR" msgstr "" -#: ../NEWS:17690 +#: ../NEWS:17733 msgid "Three specialized forms of BINARY_SUBSCR are added:" msgstr "" -#: ../NEWS:17692 +#: ../NEWS:17735 msgid "BINARY_SUBSCR_LIST_INT" msgstr "" -#: ../NEWS:17694 +#: ../NEWS:17737 msgid "BINARY_SUBSCR_TUPLE_INT" msgstr "" -#: ../NEWS:17696 +#: ../NEWS:17739 msgid "BINARY_SUBSCR_DICT" msgstr "" -#: ../NEWS:17698 +#: ../NEWS:17741 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 "" -#: ../NEWS:17701 +#: ../NEWS:17744 msgid "" ":issue:`44606`: Fix ``__instancecheck__`` and ``__subclasscheck__`` for the " "union type." msgstr "" -#: ../NEWS:17704 +#: ../NEWS:17747 msgid "" ":issue:`42073`: The ``@classmethod`` decorator can now wrap other " "classmethod-like descriptors." msgstr "" -#: ../NEWS:17707 +#: ../NEWS:17750 msgid "" ":issue:`41972`: Tuned the string-searching algorithm of fastsearch.h to have " "a shorter inner loop for most cases." msgstr "" -#: ../NEWS:17710 +#: ../NEWS:17753 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 " @@ -30906,7 +30975,7 @@ msgid "" "frame objects are always available when needed. Patch by Mark Shannon." msgstr "" -#: ../NEWS:17716 +#: ../NEWS:17759 msgid "" ":issue:`44584`: The threading debug (:envvar:`!PYTHONTHREADDEBUG` " "environment variable) is deprecated in Python 3.10 and will be removed in " @@ -30914,7 +30983,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:17720 +#: ../NEWS:17763 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 " @@ -30922,40 +30991,40 @@ msgid "" "systems has been removed from dynload_shlib.c." msgstr "" -#: ../NEWS:17725 +#: ../NEWS:17768 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 "" -#: ../NEWS:17730 +#: ../NEWS:17773 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 "" -#: ../NEWS:17734 +#: ../NEWS:17777 msgid "" "Contributed by Pablo Galindo, Batuhan Taskaya and Ammar Askar as part of :" "pep:`657`." msgstr "" -#: ../NEWS:17737 +#: ../NEWS:17780 msgid "" ":issue:`44562`: Remove uses of :c:func:`PyObject_GC_Del` in error path when " "initializing :class:`types.GenericAlias`." msgstr "" -#: ../NEWS:17740 +#: ../NEWS:17783 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 "" -#: ../NEWS:17744 +#: ../NEWS:17787 msgid "" ":issue:`43908`: Heap types with the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` flag " "can now inherit the :pep:`590` vectorcall protocol. Previously, this was " @@ -30963,19 +31032,19 @@ msgid "" "Aasland." msgstr "" -#: ../NEWS:17749 +#: ../NEWS:17792 msgid "" ":issue:`44553`: Implement GC methods for ``types.Union`` to break reference " "cycles and prevent memory leaks." msgstr "" -#: ../NEWS:17752 +#: ../NEWS:17795 msgid "" ":issue:`44490`: Add ``__parameters__`` attribute and ``__getitem__`` " "operator to ``types.Union``. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:17755 +#: ../NEWS:17798 msgid "" ":issue:`44523`: Remove the pass-through for :func:`hash` of :class:`weakref." "proxy` objects to prevent unintended consequences when the original referred " @@ -30983,25 +31052,25 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:17760 +#: ../NEWS:17803 msgid "" ":issue:`44483`: Fix a crash in ``types.Union`` objects when creating a union " "of an object with bad ``__module__`` field." msgstr "" -#: ../NEWS:17763 +#: ../NEWS:17806 msgid "" ":issue:`44486`: Modules will always have a dictionary, even when created by " "``types.ModuleType.__new__()``" msgstr "" -#: ../NEWS:17766 +#: ../NEWS:17809 msgid "" ":issue:`44472`: Fix ltrace functionality when exceptions are raised. Patch " "by Pablo Galindo" msgstr "" -#: ../NEWS:17769 +#: ../NEWS:17812 msgid "" ":issue:`12022`: A :exc:`TypeError` is now raised instead of an :exc:" "`AttributeError` in :keyword:`with` and :keyword:`async with` statements for " @@ -31009,39 +31078,39 @@ msgid "" "`asynchronous context manager` protocols correspondingly." msgstr "" -#: ../NEWS:17774 +#: ../NEWS:17817 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 "" -#: ../NEWS:17778 +#: ../NEWS:17821 msgid "" ":issue:`44456`: Improve the syntax error when mixing positional and keyword " "patterns. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17781 +#: ../NEWS:17824 msgid "" ":issue:`44409`: Fix error location information for tokenizer errors raised " "on initialization of the tokenizer. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17784 +#: ../NEWS:17827 msgid "" ":issue:`44396`: Fix a possible crash in the tokenizer when raising syntax " "errors for unclosed strings. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17787 +#: ../NEWS:17830 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 "" -#: ../NEWS:17791 +#: ../NEWS:17834 msgid "" ":issue:`44313`: Directly imported objects and modules (through import and " "from import statements) don't generate ``LOAD_METHOD``/``CALL_METHOD`` for " @@ -31049,67 +31118,67 @@ msgid "" "``LOAD_ATTR``/``CALL_FUNCTION``." msgstr "" -#: ../NEWS:17796 +#: ../NEWS:17839 msgid ":issue:`44338`: Implement adaptive specialization for LOAD_GLOBAL" msgstr "" -#: ../NEWS:17798 +#: ../NEWS:17841 msgid "Two specialized forms of LOAD_GLOBAL are added:" msgstr "" -#: ../NEWS:17800 +#: ../NEWS:17843 msgid "LOAD_GLOBAL_MODULE" msgstr "" -#: ../NEWS:17802 +#: ../NEWS:17845 msgid "LOAD_GLOBAL_BUILTIN" msgstr "" -#: ../NEWS:17804 +#: ../NEWS:17847 msgid "" ":issue:`44368`: Improve syntax errors for invalid \"as\" targets. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:17807 +#: ../NEWS:17850 msgid "" ":issue:`44349`: Fix an edge case when displaying text from files with " "encoding in syntax errors. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17810 +#: ../NEWS:17853 msgid "" ":issue:`44337`: Initial implementation of adaptive specialization of " "LOAD_ATTR" msgstr "" -#: ../NEWS:17812 +#: ../NEWS:17855 msgid "Four specialized forms of LOAD_ATTR are added:" msgstr "" -#: ../NEWS:17814 +#: ../NEWS:17857 msgid "LOAD_ATTR_SLOT" msgstr "" -#: ../NEWS:17816 +#: ../NEWS:17859 msgid "LOAD_ATTR_SPLIT_KEYS" msgstr "" -#: ../NEWS:17818 +#: ../NEWS:17861 msgid "LOAD_ATTR_WITH_HINT" msgstr "" -#: ../NEWS:17820 +#: ../NEWS:17863 msgid "LOAD_ATTR_MODULE" msgstr "" -#: ../NEWS:17822 +#: ../NEWS:17865 msgid "" ":issue:`44335`: Fix a regression when identifying incorrect characters in " "syntax errors. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:17825 +#: ../NEWS:17868 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 " @@ -31117,26 +31186,26 @@ msgid "" "argument and cell variable." msgstr "" -#: ../NEWS:17830 +#: ../NEWS:17873 msgid "" ":issue:`44317`: Improve tokenizer error with improved locations. Patch by " "Pablo Galindo." msgstr "" -#: ../NEWS:17833 +#: ../NEWS:17876 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 "" -#: ../NEWS:17837 +#: ../NEWS:17880 msgid "" ":issue:`44305`: Improve error message for ``try`` blocks without ``except`` " "or ``finally`` blocks. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17840 +#: ../NEWS:17883 msgid "" ":issue:`43413`: Constructors of subclasses of some builtin classes (e.g. :" "class:`tuple`, :class:`list`, :class:`frozenset`) no longer accept arbitrary " @@ -31145,13 +31214,13 @@ msgid "" "overriding also ``__init__()``." msgstr "" -#: ../NEWS:17846 +#: ../NEWS:17889 msgid "" ":issue:`43667`: Improve Unicode support in non-UTF locales on Oracle " "Solaris. This issue does not affect other Solaris systems." msgstr "" -#: ../NEWS:17849 +#: ../NEWS:17892 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 " @@ -31160,7 +31229,7 @@ msgid "" "entry." msgstr "" -#: ../NEWS:17855 +#: ../NEWS:17898 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 " @@ -31168,130 +31237,130 @@ msgid "" "class is not the metaclass. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17860 +#: ../NEWS:17903 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 "" -#: ../NEWS:17864 +#: ../NEWS:17907 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 "" -#: ../NEWS:17868 +#: ../NEWS:17911 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 "" -#: ../NEWS:17871 +#: ../NEWS:17914 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 "" -#: ../NEWS:17875 +#: ../NEWS:17918 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 "" -#: ../NEWS:17879 +#: ../NEWS:17922 msgid "" ":issue:`44168`: Fix error message in the parser involving keyword arguments " "with invalid expressions. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:17882 +#: ../NEWS:17925 msgid "" ":issue:`44156`: String caches in ``compile.c`` are now subinterpreter " "compatible." msgstr "" -#: ../NEWS:17885 +#: ../NEWS:17928 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 "" -#: ../NEWS:17889 +#: ../NEWS:17932 msgid "" ":issue:`44032`: Move 'fast' locals and other variables from the frame object " "to a per-thread datastack." msgstr "" -#: ../NEWS:17892 +#: ../NEWS:17935 msgid "" ":issue:`44114`: Fix incorrect dictkeys_reversed and dictitems_reversed " "function signatures in C code, which broke webassembly builds." msgstr "" -#: ../NEWS:17895 +#: ../NEWS:17938 msgid ":issue:`44110`: Improve :func:`str.__getitem__` error message" msgstr "" -#: ../NEWS:17897 +#: ../NEWS:17940 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 "" -#: ../NEWS:17901 +#: ../NEWS:17944 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 "" -#: ../NEWS:17905 +#: ../NEWS:17948 msgid "" ":issue:`43149`: Correct the syntax error message regarding multiple " "exception types to not refer to \"exception groups\". Patch by Pablo Galindo" msgstr "" -#: ../NEWS:17908 +#: ../NEWS:17951 msgid "" ":issue:`43822`: The parser will prioritize tokenizer errors over custom " "syntax errors when raising exceptions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:17911 +#: ../NEWS:17954 msgid ":issue:`40222`: \"Zero cost\" exception handling." msgstr "" -#: ../NEWS:17913 +#: ../NEWS:17956 msgid "Uses a lookup table to determine how to handle exceptions." msgstr "" -#: ../NEWS:17914 +#: ../NEWS:17957 msgid "" "Removes SETUP_FINALLY and POP_TOP block instructions, eliminating the " "runtime overhead of try statements." msgstr "" -#: ../NEWS:17915 +#: ../NEWS:17958 msgid "Reduces the size of the frame object by about 60%." msgstr "" -#: ../NEWS:17917 +#: ../NEWS:17960 msgid "Patch by Mark Shannon" msgstr "" -#: ../NEWS:17919 +#: ../NEWS:17962 msgid "" ":issue:`43918`: Document the signature and ``default`` argument in the " "docstring of the new ``anext`` builtin." msgstr "" -#: ../NEWS:17922 +#: ../NEWS:17965 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. " @@ -31299,13 +31368,13 @@ msgid "" "followed by other keyword or identifier." msgstr "" -#: ../NEWS:17927 +#: ../NEWS:17970 msgid "" ":issue:`43879`: Add native_thread_id to PyThreadState. Patch by Gabriele N. " "Tornetta." msgstr "" -#: ../NEWS:17930 +#: ../NEWS:17973 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 " @@ -31313,50 +31382,50 @@ msgid "" "Preserving LOAD_CLOSURE helps keep bytecode a bit more readable." msgstr "" -#: ../NEWS:17935 +#: ../NEWS:17978 msgid "" ":issue:`17792`: More accurate error messages for access of unbound locals or " "free vars." msgstr "" -#: ../NEWS:17938 +#: ../NEWS:17981 msgid ":issue:`28146`: Fix a confusing error message in :func:`str.format`." msgstr "" -#: ../NEWS:17940 +#: ../NEWS:17983 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 "" -#: ../NEWS:17944 +#: ../NEWS:17987 msgid "" ":issue:`39091`: Fix crash when using passing a non-exception to a " "generator's ``throw()`` method. Patch by Noah Oxer" msgstr "" -#: ../NEWS:17947 +#: ../NEWS:17990 msgid "" ":issue:`33346`: Asynchronous comprehensions are now allowed inside " "comprehensions in asynchronous functions. Outer comprehensions implicitly " "become asynchronous." msgstr "" -#: ../NEWS:17954 +#: ../NEWS:17997 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 "" -#: ../NEWS:17958 +#: ../NEWS:18001 msgid "" ":issue:`45329`: Fix freed memory access in :class:`pyexpat.xmlparser` when " "building it with an installed expat library <= 2.2.0." msgstr "" -#: ../NEWS:17961 +#: ../NEWS:18004 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` " @@ -31365,14 +31434,14 @@ msgid "" "to not be affected by system clock changes. Patch by Victor Stinner." msgstr "" -#: ../NEWS:17968 +#: ../NEWS:18011 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 "" -#: ../NEWS:17972 +#: ../NEWS:18015 msgid "" ":issue:`45274`: Fix a race condition in the :meth:`Thread.join() ` method of the :mod:`threading` module. If the function is " @@ -31381,7 +31450,7 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:17978 +#: ../NEWS:18021 msgid "" ":issue:`21302`: In Unix operating systems, :func:`time.sleep` now uses the " "``nanosleep()`` function, if ``clock_nanosleep()`` is not available but " @@ -31389,7 +31458,7 @@ msgid "" "nanosecond precision." msgstr "" -#: ../NEWS:17983 +#: ../NEWS:18026 msgid "" ":issue:`21302`: On Windows, :func:`time.sleep` now uses a waitable timer " "which has a resolution of 100 nanoseconds (10\\ :sup:`-7` seconds). " @@ -31397,62 +31466,62 @@ msgid "" "Patch by Benjamin Szőke and Victor Stinner." msgstr "" -#: ../NEWS:17988 +#: ../NEWS:18031 msgid "" ":issue:`45238`: Fix :meth:`unittest.IsolatedAsyncioTestCase.debug`: it runs " "now asynchronous methods and callbacks." msgstr "" -#: ../NEWS:17991 +#: ../NEWS:18034 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 "" -#: ../NEWS:17995 +#: ../NEWS:18038 msgid "" ":issue:`45235`: Fix an issue where argparse would not preserve values in a " "provided namespace when using a subparser with defaults." msgstr "" -#: ../NEWS:17998 +#: ../NEWS:18041 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 "" -#: ../NEWS:18002 +#: ../NEWS:18045 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 "" -#: ../NEWS:18007 +#: ../NEWS:18050 msgid "" ":issue:`45228`: Fix stack buffer overflow in parsing J1939 network address." msgstr "" -#: ../NEWS:18009 +#: ../NEWS:18052 msgid ":issue:`45225`: use map function instead of genexpr in capwords." msgstr "" -#: ../NEWS:18011 +#: ../NEWS:18054 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 "" -#: ../NEWS:18016 +#: ../NEWS:18059 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 "" -#: ../NEWS:18020 +#: ../NEWS:18063 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 " @@ -31460,14 +31529,14 @@ msgid "" "is not useful and can be confusing." msgstr "" -#: ../NEWS:18025 +#: ../NEWS:18068 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 "" -#: ../NEWS:18029 +#: ../NEWS:18072 msgid "" ":issue:`45173`: Remove from the :mod:`configparser` module: the :class:`!" "SafeConfigParser` class, the :attr:`!filename` property of the :class:" @@ -31475,13 +31544,13 @@ msgid "" "`~configparser.ConfigParser` class, deprecated since Python 3.2." msgstr "" -#: ../NEWS:18037 +#: ../NEWS:18080 msgid "" ":issue:`44987`: Pure ASCII strings are now normalized in constant time by :" "func:`unicodedata.normalize`. Patch by Donghee Na." msgstr "" -#: ../NEWS:18040 +#: ../NEWS:18083 msgid "" ":issue:`35474`: Calling :func:`mimetypes.guess_all_extensions` with " "``strict=False`` no longer affects the result of the following call with " @@ -31489,57 +31558,57 @@ msgid "" "global state." msgstr "" -#: ../NEWS:18045 +#: ../NEWS:18088 msgid "" ":issue:`45166`: :func:`typing.get_type_hints` now works with :data:`~typing." "Final` wrapped in :class:`~typing.ForwardRef`." msgstr "" -#: ../NEWS:18048 +#: ../NEWS:18091 msgid ":issue:`45162`: Remove many old deprecated :mod:`unittest` features:" msgstr "" -#: ../NEWS:18050 +#: ../NEWS:18093 msgid "" "\"``fail*``\" and \"``assert*``\" aliases of :class:`~unittest.TestCase` " "methods." msgstr "" -#: ../NEWS:18051 +#: ../NEWS:18094 msgid "" "Broken from start :class:`~unittest.TestCase` method " "``assertDictContainsSubset()``." msgstr "" -#: ../NEWS:18052 +#: ../NEWS:18095 msgid "" "Ignored :meth:` TestLoader." "loadTestsFromModule` parameter *use_load_tests*." msgstr "" -#: ../NEWS:18053 +#: ../NEWS:18096 msgid "Old alias ``_TextTestResult`` of :class:`~unittest.TextTestResult`." msgstr "" -#: ../NEWS:18055 +#: ../NEWS:18098 msgid "" ":issue:`38371`: Remove the deprecated ``split()`` method of :class:`!" "_tkinter.TkappType`. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:18058 +#: ../NEWS:18101 msgid "" ":issue:`20499`: Improve the speed and accuracy of statistics.pvariance()." msgstr "" -#: ../NEWS:18060 +#: ../NEWS:18103 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 "" -#: ../NEWS:18066 +#: ../NEWS:18109 msgid "" ":issue:`45129`: Due to significant security concerns, the *reuse_address* " "parameter of :meth:`asyncio.loop.create_datagram_endpoint`, disabled in " @@ -31547,17 +31616,17 @@ msgid "" "socket option ``SO_REUSEADDR`` in UDP." msgstr "" -#: ../NEWS:18073 +#: ../NEWS:18116 msgid "" ":issue:`45124`: The ``bdist_msi`` command, deprecated in Python 3.9, is now " "removed." msgstr "" -#: ../NEWS:18076 +#: ../NEWS:18119 msgid "Use ``bdist_wheel`` (wheel packages) instead." msgstr "" -#: ../NEWS:18080 +#: ../NEWS:18123 msgid "" ":issue:`30856`: :class:`unittest.TestResult` methods :meth:`~unittest." "TestResult.addFailure`, :meth:`~unittest.TestResult.addError`, :meth:" @@ -31566,7 +31635,7 @@ msgid "" "subtest. Previously they were called only after finishing the test clean up." msgstr "" -#: ../NEWS:18088 +#: ../NEWS:18131 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 " @@ -31574,7 +31643,7 @@ msgid "" "expressions." msgstr "" -#: ../NEWS:18092 +#: ../NEWS:18135 msgid "" ":issue:`25894`: :mod:`unittest` now always reports skipped and failed " "subtests separately: separate characters in default mode and separate lines " @@ -31582,162 +31651,162 @@ msgid "" "method, class and module cleanups." msgstr "" -#: ../NEWS:18097 +#: ../NEWS:18140 msgid "" ":issue:`45081`: Fix issue when dataclasses that inherit from ``typing." "Protocol`` subclasses have wrong ``__init__``. Patch provided by Yurii " "Karabas." msgstr "" -#: ../NEWS:18101 +#: ../NEWS:18144 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 "" -#: ../NEWS:18105 +#: ../NEWS:18148 msgid "``a2b_hqx()``, ``b2a_hqx()``;" msgstr "" -#: ../NEWS:18106 +#: ../NEWS:18149 msgid "``rlecode_hqx()``, ``rledecode_hqx()``." msgstr "" -#: ../NEWS:18108 +#: ../NEWS:18151 msgid "The :func:`binascii.crc_hqx` function remains available." msgstr "" -#: ../NEWS:18112 +#: ../NEWS:18155 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 "" -#: ../NEWS:18116 +#: ../NEWS:18159 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 "" -#: ../NEWS:18120 +#: ../NEWS:18163 msgid "Updated code and docs to better distinguish frame and FrameSummary." msgstr "" -#: ../NEWS:18122 +#: ../NEWS:18165 msgid "" ":issue:`31299`: Add option to completely drop frames from a traceback by " "returning ``None`` from a :meth:`~traceback.StackSummary.format_frame` " "override." msgstr "" -#: ../NEWS:18126 +#: ../NEWS:18169 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 "" -#: ../NEWS:18130 +#: ../NEWS:18173 msgid "" ":issue:`45021`: Fix a potential deadlock at shutdown of forked children when " "using :mod:`concurrent.futures` module" msgstr "" -#: ../NEWS:18133 +#: ../NEWS:18176 msgid "" ":issue:`43913`: Fix bugs in cleaning up classes and modules in :mod:" "`unittest`:" msgstr "" -#: ../NEWS:18135 +#: ../NEWS:18178 msgid "" "Functions registered with :func:`~unittest.addModuleCleanup` were not called " "unless the user defines ``tearDownModule()`` in their test module." msgstr "" -#: ../NEWS:18136 +#: ../NEWS:18179 msgid "" "Functions registered with :meth:`~unittest.TestCase.addClassCleanup` were " "not called if ``tearDownClass`` is set to ``None``." msgstr "" -#: ../NEWS:18137 +#: ../NEWS:18180 msgid "" "Buffering in :class:`~unittest.TestResult` did not work with functions " "registered with ``addClassCleanup()`` and ``addModuleCleanup()``." msgstr "" -#: ../NEWS:18138 +#: ../NEWS:18181 msgid "" "Errors in functions registered with ``addClassCleanup()`` and " "``addModuleCleanup()`` were not handled correctly in buffered and debug " "modes." msgstr "" -#: ../NEWS:18139 +#: ../NEWS:18182 msgid "" "Errors in ``setUpModule()`` and functions registered with " "``addModuleCleanup()`` were reported in wrong order." msgstr "" -#: ../NEWS:18140 +#: ../NEWS:18183 msgid "And several lesser bugs." msgstr "" -#: ../NEWS:18142 +#: ../NEWS:18185 msgid "" ":issue:`45030`: Fix integer overflow in pickling and copying the range " "iterator." msgstr "" -#: ../NEWS:18145 +#: ../NEWS:18188 msgid "" ":issue:`45001`: Made email date parsing more robust against malformed input, " "namely a whitespace-only ``Date:`` header. Patch by Wouter Bolsterlee." msgstr "" -#: ../NEWS:18148 +#: ../NEWS:18191 msgid "" ":issue:`45010`: Remove support of special method ``__div__`` in :mod:" "`unittest.mock`. It is not used in Python 3." msgstr "" -#: ../NEWS:18151 +#: ../NEWS:18194 msgid "" ":issue:`39218`: Improve accuracy of variance calculations by using ``x*x`` " "instead of ``x**2``." msgstr "" -#: ../NEWS:18154 +#: ../NEWS:18197 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 "" -#: ../NEWS:18158 +#: ../NEWS:18201 msgid "" ":issue:`37596`: Ensure that :class:`set` and :class:`frozenset` objects are " "always :mod:`marshalled ` reproducibly." msgstr "" -#: ../NEWS:18161 +#: ../NEWS:18204 msgid "" ":issue:`44019`: A new function ``operator.call`` has been added, such that " "``operator.call(obj, *args, **kwargs) == obj(*args, **kwargs)``." msgstr "" -#: ../NEWS:18164 +#: ../NEWS:18207 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 :mod:`webbrowser` itself. Patch by Donghee Na." msgstr "" -#: ../NEWS:18168 +#: ../NEWS:18211 msgid "" ":issue:`44955`: Method :meth:`~unittest.TestResult.stopTestRun` is now " "always called in pair with method :meth:`~unittest.TestResult.startTestRun` " @@ -31746,97 +31815,97 @@ msgid "" "classes decorated with a skipping decorator." msgstr "" -#: ../NEWS:18174 +#: ../NEWS:18217 msgid "" ":issue:`39039`: tarfile.open raises :exc:`~tarfile.ReadError` when a zlib " "error occurs during file extraction." msgstr "" -#: ../NEWS:18177 +#: ../NEWS:18220 msgid "" ":issue:`44935`: :mod:`subprocess` on Solaris now also uses :func:`os." "posix_spawn` for better performance." msgstr "" -#: ../NEWS:18180 +#: ../NEWS:18223 msgid "" ":issue:`44911`: :class:`~unittest.IsolatedAsyncioTestCase` will no longer " "throw an exception while cancelling leaked tasks. Patch by Bar Harel." msgstr "" -#: ../NEWS:18183 +#: ../NEWS:18226 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 "" -#: ../NEWS:18187 +#: ../NEWS:18230 msgid "" ":issue:`44524`: Make exception message more useful when subclass from typing " "special form alias. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18190 +#: ../NEWS:18233 msgid "" ":issue:`38956`: :class:`argparse.BooleanOptionalAction`'s default value is " "no longer printed twice when used with :class:`argparse." "ArgumentDefaultsHelpFormatter`." msgstr "" -#: ../NEWS:18194 +#: ../NEWS:18237 msgid "" ":issue:`44860`: Fix the ``posix_user`` scheme in :mod:`sysconfig` to not " "depend on :data:`sys.platlibdir`." msgstr "" -#: ../NEWS:18197 +#: ../NEWS:18240 msgid "" ":issue:`44859`: Improve error handling in :mod:`sqlite3` and raise more " "accurate exceptions." msgstr "" -#: ../NEWS:18200 +#: ../NEWS:18243 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 "" -#: ../NEWS:18201 +#: ../NEWS:18244 msgid "" ":exc:`UnicodEncodeError` is now raised instead of :exc:`sqlite3.Warning` " "when the statement contains surrogate characters in ``Connection." "__call__()`` and ``Cursor.execute()``." msgstr "" -#: ../NEWS:18202 +#: ../NEWS:18245 msgid "" ":exc:`TypeError` is now raised instead of :exc:`ValueError` for non-string " "script argument in ``Cursor.executescript()``." msgstr "" -#: ../NEWS:18203 +#: ../NEWS:18246 msgid "" ":exc:`ValueError` is now raised for script containing the null character " "instead of truncating it in ``Cursor.executescript()``." msgstr "" -#: ../NEWS:18204 +#: ../NEWS:18247 msgid "" "Correctly handle exceptions raised when getting boolean value of the result " "of the progress handler." msgstr "" -#: ../NEWS:18205 +#: ../NEWS:18248 msgid "Add many tests covering different corner cases." msgstr "" -#: ../NEWS:18207 +#: ../NEWS:18250 msgid ":issue:`44581`: Upgrade bundled pip to 21.2.3 and setuptools to 57.4.0" msgstr "" -#: ../NEWS:18209 +#: ../NEWS:18252 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 :" @@ -31844,19 +31913,19 @@ msgid "" "implementation. Patch by Victor Stinner." msgstr "" -#: ../NEWS:18214 +#: ../NEWS:18257 msgid "" ":issue:`44605`: The @functools.total_ordering() decorator now works with " "metaclasses." msgstr "" -#: ../NEWS:18217 +#: ../NEWS:18260 msgid "" ":issue:`44524`: Fixed an issue wherein the ``__name__`` and ``__qualname__`` " "attributes of subscribed specialforms could be ``None``." msgstr "" -#: ../NEWS:18220 +#: ../NEWS:18263 msgid "" ":issue:`44839`: :class:`MemoryError` raised in user-defined functions will " "now produce a ``MemoryError`` in :mod:`sqlite3`. :class:`OverflowError` will " @@ -31864,46 +31933,46 @@ msgid "" "OperationalError` was produced in these cases." msgstr "" -#: ../NEWS:18225 +#: ../NEWS:18268 msgid "" ":issue:`44822`: :mod:`sqlite3` user-defined functions and aggregators " "returning :class:`strings ` with embedded NUL characters are no longer " "truncated. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:18229 +#: ../NEWS:18272 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 "" -#: ../NEWS:18233 +#: ../NEWS:18276 msgid "" ":issue:`44806`: Non-protocol subclasses of :class:`typing.Protocol` ignore " "now the ``__init__`` method inherited from protocol base classes." msgstr "" -#: ../NEWS:18236 +#: ../NEWS:18279 msgid "" ":issue:`27275`: :meth:`collections.OrderedDict.popitem` and :meth:" "`collections.OrderedDict.pop` no longer call ``__getitem__`` and " "``__delitem__`` methods of the OrderedDict subclasses." msgstr "" -#: ../NEWS:18240 +#: ../NEWS:18283 msgid "" ":issue:`44793`: Fix checking the number of arguments when subscribe a " "generic type with ``ParamSpec`` parameter." msgstr "" -#: ../NEWS:18243 +#: ../NEWS:18286 msgid "" ":issue:`44784`: In importlib.metadata tests, override warnings behavior " "under expected DeprecationWarnings (importlib_metadata 4.6.3)." msgstr "" -#: ../NEWS:18246 +#: ../NEWS:18289 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 " @@ -31911,7 +31980,7 @@ msgid "" "token. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:18251 +#: ../NEWS:18294 msgid "" ":issue:`44771`: Added ``importlib.simple`` module implementing adapters from " "a low-level resources reader interface to a ``TraversableResources`` " @@ -31921,20 +31990,20 @@ msgid "" "``importlib_resources`` 5.2." msgstr "" -#: ../NEWS:18258 +#: ../NEWS:18301 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 "" -#: ../NEWS:18262 +#: ../NEWS:18305 msgid "" ":issue:`44747`: Refactor usage of ``sys._getframe`` in ``typing`` module. " "Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18265 +#: ../NEWS:18308 msgid "" ":issue:`42378`: Fixes the issue with log file being overwritten when :class:" "`logging.FileHandler` is used in :mod:`atexit` with *filemode* set to " @@ -31942,38 +32011,38 @@ msgid "" "the log stream is already closed due to shutdown of logging." msgstr "" -#: ../NEWS:18270 +#: ../NEWS:18313 msgid "" ":issue:`44720`: ``weakref.proxy`` objects referencing non-iterators now " "raise ``TypeError`` rather than dereferencing the null ``tp_iternext`` slot " "and crashing." msgstr "" -#: ../NEWS:18274 +#: ../NEWS:18317 msgid "" ":issue:`44704`: The implementation of ``collections.abc.Set._hash()`` now " "matches that of ``frozenset.__hash__()``." msgstr "" -#: ../NEWS:18277 +#: ../NEWS:18320 msgid "" ":issue:`44666`: Fixed issue in :func:`compileall.compile_file` when ``sys." "stdout`` is redirected. Patch by Stefan Hölzl." msgstr "" -#: ../NEWS:18280 +#: ../NEWS:18323 msgid "" ":issue:`44688`: :meth:`sqlite3.Connection.create_collation` now accepts non-" "ASCII collation names. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:18283 +#: ../NEWS:18326 msgid "" ":issue:`44690`: Adopt *binacii.a2b_base64*'s strict mode in *base64." "b64decode*." msgstr "" -#: ../NEWS:18285 +#: ../NEWS:18328 msgid "" ":issue:`42854`: Fixed a bug in the :mod:`!_ssl` module that was throwing :" "exc:`OverflowError` when using :meth:`!_ssl._SSLSocket.write` and :meth:`!" @@ -31981,69 +32050,69 @@ msgid "" "Pablo Galindo." msgstr "" -#: ../NEWS:18290 +#: ../NEWS:18333 msgid "" ":issue:`44686`: Replace ``unittest.mock._importer`` with ``pkgutil." "resolve_name``." msgstr "" -#: ../NEWS:18293 +#: ../NEWS:18336 msgid "" ":issue:`44353`: Make ``NewType.__call__`` faster by implementing it in C. " "Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18296 +#: ../NEWS:18339 msgid "" ":issue:`44682`: Change the :mod:`pdb` *commands* directive to disallow " "setting commands for an invalid breakpoint and to display an appropriate " "error." msgstr "" -#: ../NEWS:18299 +#: ../NEWS:18342 msgid "" ":issue:`44353`: Refactor ``typing.NewType`` from function into callable " "class. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18302 +#: ../NEWS:18345 msgid "" ":issue:`44678`: Added a separate error message for discontinuous padding in " "*binascii.a2b_base64* strict mode." msgstr "" -#: ../NEWS:18305 +#: ../NEWS:18348 msgid "" ":issue:`44524`: Add missing ``__name__`` and ``__qualname__`` attributes to " "``typing`` module classes. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18308 +#: ../NEWS:18351 msgid "" ":issue:`40897`: Give priority to using the current class constructor in :" "func:`inspect.signature`. Patch by Weipeng Hong." msgstr "" -#: ../NEWS:18311 +#: ../NEWS:18354 msgid "" ":issue:`44638`: Add a reference to the zipp project and hint as to how to " "use it." msgstr "" -#: ../NEWS:18314 +#: ../NEWS:18357 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 "" -#: ../NEWS:18319 +#: ../NEWS:18362 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 "" -#: ../NEWS:18322 +#: ../NEWS:18365 msgid "" ":issue:`44594`: Fix an edge case of :class:`ExitStack` and :class:" "`AsyncExitStack` exception chaining. They will now match ``with`` block " @@ -32051,7 +32120,7 @@ msgid "" "exception is in flight." msgstr "" -#: ../NEWS:18327 +#: ../NEWS:18370 msgid "" ":issue:`42799`: In :mod:`fnmatch`, the cache size for compiled regex " "patterns (:func:`functools.lru_cache`) was bumped up from 256 to 32768, " @@ -32059,7 +32128,7 @@ msgid "" "func:`fnmatch.filter`." msgstr "" -#: ../NEWS:18332 +#: ../NEWS:18375 msgid "" ":issue:`41928`: Update :func:`shutil.copyfile` to raise :exc:" "`FileNotFoundError` instead of confusing :exc:`IsADirectoryError` when a " @@ -32067,7 +32136,7 @@ msgid "" "and :func:`shutil.copy2` are also affected." msgstr "" -#: ../NEWS:18337 +#: ../NEWS:18380 msgid "" ":issue:`44569`: Added the :func:`StackSummary.format_frame` function in :mod:" "`traceback`. This allows users to customize the way individual lines are " @@ -32075,80 +32144,80 @@ msgid "" "tracebacks." msgstr "" -#: ../NEWS:18342 +#: ../NEWS:18385 msgid "" ":issue:`44566`: handle StopIteration subclass raised from @contextlib." "contextmanager generator" msgstr "" -#: ../NEWS:18345 +#: ../NEWS:18388 msgid "" ":issue:`44558`: Make the implementation consistency of :func:`~operator." "indexOf` between C and Python versions. Patch by Donghee Na." msgstr "" -#: ../NEWS:18349 +#: ../NEWS:18392 msgid "" ":issue:`41249`: Fixes ``TypedDict`` to work with ``typing.get_type_hints()`` " "and postponed evaluation of annotations across modules." msgstr "" -#: ../NEWS:18352 +#: ../NEWS:18395 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 "" -#: ../NEWS:18356 +#: ../NEWS:18399 msgid "" ":issue:`34798`: Break up paragraph about :class:`pprint.PrettyPrinter` " "construction parameters to make it easier to read." msgstr "" -#: ../NEWS:18359 +#: ../NEWS:18402 msgid "" ":issue:`44539`: Added support for recognizing JPEG files without JFIF or " "Exif markers." msgstr "" -#: ../NEWS:18362 +#: ../NEWS:18405 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 "" -#: ../NEWS:18365 +#: ../NEWS:18408 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 "" -#: ../NEWS:18368 +#: ../NEWS:18411 msgid ":issue:`44516`: Update vendored pip to 21.1.3" msgstr "" -#: ../NEWS:18370 +#: ../NEWS:18413 msgid "" ":issue:`42892`: Fixed an exception thrown while parsing a malformed " "multipart email by :class:`email.message.EmailMessage`." msgstr "" -#: ../NEWS:18373 +#: ../NEWS:18416 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 "" -#: ../NEWS:18377 +#: ../NEWS:18420 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 "" -#: ../NEWS:18381 +#: ../NEWS:18424 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 " @@ -32156,19 +32225,19 @@ msgid "" "Sequence`." msgstr "" -#: ../NEWS:18386 +#: ../NEWS:18429 msgid "" ":issue:`44482`: Fix very unlikely resource leak in :mod:`glob` in alternate " "Python implementations." msgstr "" -#: ../NEWS:18389 +#: ../NEWS:18432 msgid "" ":issue:`44466`: The :mod:`faulthandler` module now detects if a fatal error " "occurs during a garbage collector collection. Patch by Victor Stinner." msgstr "" -#: ../NEWS:18392 +#: ../NEWS:18435 msgid "" ":issue:`44471`: A :exc:`TypeError` is now raised instead of an :exc:" "`AttributeError` in :meth:`contextlib.ExitStack.enter_context` and :meth:" @@ -32177,44 +32246,44 @@ msgid "" "protocols correspondingly." msgstr "" -#: ../NEWS:18398 +#: ../NEWS:18441 msgid "" ":issue:`44404`: :mod:`tkinter`'s ``after()`` method now supports callables " "without the ``__name__`` attribute." msgstr "" -#: ../NEWS:18401 +#: ../NEWS:18444 msgid "" ":issue:`41546`: Make :mod:`pprint` (like the builtin ``print``) not attempt " "to write to ``stdout`` when it is ``None``." msgstr "" -#: ../NEWS:18404 +#: ../NEWS:18447 msgid "" ":issue:`44458`: ``BUFFER_BLOCK_SIZE`` is now declared static, to avoid " "linking collisions when bz2, lmza or zlib are statically linked." msgstr "" -#: ../NEWS:18407 +#: ../NEWS:18450 msgid "" ":issue:`44464`: Remove exception for flake8 in deprecated importlib.metadata " "interfaces. Sync with importlib_metadata 4.6." msgstr "" -#: ../NEWS:18410 +#: ../NEWS:18453 msgid "" ":issue:`44446`: Take into account that ``lineno`` might be ``None`` in :" "class:`traceback.FrameSummary`." msgstr "" -#: ../NEWS:18413 +#: ../NEWS:18456 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 "" -#: ../NEWS:18417 +#: ../NEWS:18460 msgid "" ":issue:`44434`: _thread.start_new_thread() no longer calls " "PyThread_exit_thread() explicitly at the thread exit, the call was " @@ -32223,104 +32292,104 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:18423 +#: ../NEWS:18466 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 "" -#: ../NEWS:18427 +#: ../NEWS:18470 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 "" -#: ../NEWS:18430 +#: ../NEWS:18473 msgid "" ":issue:`38291`: Importing typing.io or typing.re now prints a " "``DeprecationWarning``." msgstr "" -#: ../NEWS:18433 +#: ../NEWS:18476 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 "" -#: ../NEWS:18437 +#: ../NEWS:18480 msgid ":issue:`44389`: Fix deprecation of :data:`ssl.OP_NO_TLSv1_3`" msgstr "" -#: ../NEWS:18439 +#: ../NEWS:18482 msgid "" ":issue:`27827`: :meth:`pathlib.PureWindowsPath.is_reserved` now identifies a " "greater range of reserved filenames, including those with trailing spaces or " "colons." msgstr "" -#: ../NEWS:18443 +#: ../NEWS:18486 msgid "" ":issue:`44395`: Fix :meth:`~email.message.MIMEPart.as_string` to pass " "unixfrom properly. Patch by Donghee Na." msgstr "" -#: ../NEWS:18446 +#: ../NEWS:18489 msgid "" ":issue:`34266`: Handle exceptions from parsing the arg of :mod:`pdb`'s run/" "restart command." msgstr "" -#: ../NEWS:18449 +#: ../NEWS:18492 msgid "" ":issue:`44362`: Improve :mod:`ssl` module's deprecation messages, error " "reporting, and documentation for deprecations." msgstr "" -#: ../NEWS:18452 +#: ../NEWS:18495 msgid ":issue:`44342`: [Enum] Change pickling from by-value to by-name." msgstr "" -#: ../NEWS:18454 +#: ../NEWS:18497 msgid "" ":issue:`44356`: [Enum] Allow multiple data-type mixins if they are all the " "same." msgstr "" -#: ../NEWS:18457 +#: ../NEWS:18500 msgid "" ":issue:`44351`: Restore back :func:`parse_makefile` in ``distutils." "sysconfig`` because it behaves differently than the similar implementation " "in :mod:`sysconfig`." msgstr "" -#: ../NEWS:18461 +#: ../NEWS:18504 msgid "" ":issue:`35800`: :class:`!smtpd.MailmanProxy` is now removed as it is " "unusable without an external module, ``mailman``. Patch by Donghee Na." msgstr "" -#: ../NEWS:18464 +#: ../NEWS:18507 msgid "" ":issue:`44357`: Added a function that returns cube root of the given number :" "func:`math.cbrt`" msgstr "" -#: ../NEWS:18467 +#: ../NEWS:18510 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 "" -#: ../NEWS:18471 +#: ../NEWS:18514 msgid "" ":issue:`44242`: Remove missing flag check from Enum creation and move into a " "``verify`` decorator." msgstr "" -#: ../NEWS:18474 +#: ../NEWS:18517 msgid "" ":issue:`44246`: In ``importlib.metadata``, restore compatibility in the " "result from ``Distribution.entry_points`` (``EntryPoints``) to honor " @@ -32333,57 +32402,57 @@ msgid "" "first (e.g. ``tuple(dist.entry_points)[0]``)." msgstr "" -#: ../NEWS:18484 +#: ../NEWS:18527 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 "" -#: ../NEWS:18489 +#: ../NEWS:18532 msgid "" ":issue:`43858`: Added a function that returns a copy of a dict of logging " "levels: :func:`logging.getLevelNamesMapping`" msgstr "" -#: ../NEWS:18492 +#: ../NEWS:18535 msgid "" ":issue:`44260`: The :class:`random.Random` constructor no longer reads " "system entropy without need." msgstr "" -#: ../NEWS:18495 +#: ../NEWS:18538 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 "" -#: ../NEWS:18498 +#: ../NEWS:18541 msgid "" ":issue:`44258`: Support PEP 515 for Fraction's initialization from string." msgstr "" -#: ../NEWS:18500 +#: ../NEWS:18543 msgid "" ":issue:`44235`: Remove deprecated functions in the :mod:`gettext`. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:18503 +#: ../NEWS:18546 msgid ":issue:`38693`: Prefer f-strings to ``.format`` in importlib.resources." msgstr "" -#: ../NEWS:18505 +#: ../NEWS:18548 msgid ":issue:`33693`: Importlib.metadata now prefers f-strings to .format." msgstr "" -#: ../NEWS:18507 +#: ../NEWS:18550 msgid "" ":issue:`44241`: Incorporate minor tweaks from importlib_metadata 4.1: " "SimplePath protocol, support for Metadata 2.2." msgstr "" -#: ../NEWS:18510 +#: ../NEWS:18553 msgid "" ":issue:`43216`: Remove the :func:`@asyncio.coroutine ` :" "term:`decorator` enabling legacy generator-based coroutines to be compatible " @@ -32393,36 +32462,36 @@ msgid "" "Python 3.10. Patch by Illia Volochii." msgstr "" -#: ../NEWS:18518 +#: ../NEWS:18561 msgid ":issue:`44210`: Make importlib.metadata._meta.PackageMetadata public." msgstr "" -#: ../NEWS:18520 +#: ../NEWS:18563 msgid "" ":issue:`43643`: Declare readers.MultiplexedPath.name as a property per the " "spec." msgstr "" -#: ../NEWS:18523 +#: ../NEWS:18566 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 "" -#: ../NEWS:18527 +#: ../NEWS:18570 msgid "" ":issue:`4928`: Documented existing behavior on POSIX: NamedTemporaryFiles " "are not deleted when creating process is killed with SIGKILL" msgstr "" -#: ../NEWS:18530 +#: ../NEWS:18573 msgid "" ":issue:`44154`: Optimize :class:`fractions.Fraction` pickling for large " "components." msgstr "" -#: ../NEWS:18533 +#: ../NEWS:18576 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 " @@ -32430,17 +32499,17 @@ msgid "" "addresses were considered private by the IPv6 check." msgstr "" -#: ../NEWS:18538 +#: ../NEWS:18581 msgid ":issue:`44150`: Add optional *weights* argument to statistics.fmean()." msgstr "" -#: ../NEWS:18540 +#: ../NEWS:18583 msgid "" ":issue:`44142`: :func:`ast.unparse` will now drop the redundant parentheses " "when tuples used as assignment targets (e.g in for loops)." msgstr "" -#: ../NEWS:18543 +#: ../NEWS:18586 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 " @@ -32448,14 +32517,14 @@ msgid "" "algorithms support." msgstr "" -#: ../NEWS:18548 +#: ../NEWS:18591 msgid "" ":issue:`44095`: :class:`zipfile.Path` now supports :attr:`zipfile.Path." "stem`, :attr:`zipfile.Path.suffixes`, and :attr:`zipfile.Path.suffix` " "attributes." msgstr "" -#: ../NEWS:18551 +#: ../NEWS:18594 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 " @@ -32463,12 +32532,12 @@ msgid "" "``socket.IP_RECVTOS``." msgstr "" -#: ../NEWS:18556 +#: ../NEWS:18599 msgid "" ":issue:`37788`: Fix a reference leak when a Thread object is never joined." msgstr "" -#: ../NEWS:18558 +#: ../NEWS:18601 msgid "" ":issue:`38908`: Subclasses of ``typing.Protocol`` which only have data " "variables declared will now raise a ``TypeError`` when checked with " @@ -32476,7 +32545,7 @@ msgid "" "Previously, these checks passed silently. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:18563 +#: ../NEWS:18606 msgid "" ":issue:`44098`: ``typing.ParamSpec`` will no longer be found in the " "``__parameters__`` of most :mod:`typing` generics except in valid use " @@ -32485,64 +32554,64 @@ msgid "" "passed silently in 3.10 beta 1 and earlier will now error." msgstr "" -#: ../NEWS:18569 +#: ../NEWS:18612 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 "" -#: ../NEWS:18572 +#: ../NEWS:18615 msgid "" ":issue:`44081`: :func:`ast.unparse` now doesn't use redundant spaces to " "separate ``lambda`` and the ``:`` if there are no parameters." msgstr "" -#: ../NEWS:18575 +#: ../NEWS:18618 msgid "" ":issue:`44061`: Fix regression in previous release when calling :func:" "`pkgutil.iter_modules` with a list of :class:`pathlib.Path` objects" msgstr "" -#: ../NEWS:18578 +#: ../NEWS:18621 msgid "" ":issue:`44059`: Register the SerenityOS Browser in the :mod:`webbrowser` " "module." msgstr "" -#: ../NEWS:18581 +#: ../NEWS:18624 msgid "" ":issue:`36515`: The :mod:`hashlib` module no longer does unaligned memory " "accesses when compiled for ARM platforms." msgstr "" -#: ../NEWS:18584 +#: ../NEWS:18627 msgid ":issue:`40465`: Remove random module features deprecated in Python 3.9." msgstr "" -#: ../NEWS:18586 +#: ../NEWS:18629 msgid ":issue:`44018`: random.seed() no longer mutates bytearray inputs." msgstr "" -#: ../NEWS:18588 +#: ../NEWS:18631 msgid "" ":issue:`38352`: Add ``IO``, ``BinaryIO``, ``TextIO``, ``Match``, and " "``Pattern`` to ``typing.__all__``. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:18591 +#: ../NEWS:18634 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 "" -#: ../NEWS:18595 +#: ../NEWS:18638 msgid "" "The undocumented internal :mod:`urllib.parse` ``Quoted`` class API is now " "deprecated, for removal in 3.14." msgstr "" -#: ../NEWS:18598 +#: ../NEWS:18641 msgid "" ":issue:`43972`: When :class:`http.server.SimpleHTTPRequestHandler` sends a " "``301 (Moved Permanently)`` for a directory path not ending with ``/``, add " @@ -32550,28 +32619,28 @@ msgid "" "clients." msgstr "" -#: ../NEWS:18603 +#: ../NEWS:18646 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 "" -#: ../NEWS:18606 +#: ../NEWS:18649 msgid "" ":issue:`43853`: Improved string handling for :mod:`sqlite3` user-defined " "functions and aggregates:" msgstr "" -#: ../NEWS:18609 +#: ../NEWS:18652 msgid "" "It is now possible to pass strings with embedded null characters to UDFs" msgstr "" -#: ../NEWS:18610 +#: ../NEWS:18653 msgid "Conversion failures now correctly raise :exc:`MemoryError`" msgstr "" -#: ../NEWS:18614 +#: ../NEWS:18657 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 " @@ -32580,14 +32649,14 @@ msgid "" "build is provided. Patch by M Felt." msgstr "" -#: ../NEWS:18620 +#: ../NEWS:18663 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 "" -#: ../NEWS:18624 +#: ../NEWS:18667 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 " @@ -32596,7 +32665,7 @@ msgid "" "when wbits=31 is used." msgstr "" -#: ../NEWS:18630 +#: ../NEWS:18673 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 " @@ -32604,37 +32673,37 @@ msgid "" "import_module` and :func:`importlib.__import__`." msgstr "" -#: ../NEWS:18635 +#: ../NEWS:18678 msgid "" ":issue:`43318`: Fix a bug where :mod:`pdb` does not always echo cleared " "breakpoints." msgstr "" -#: ../NEWS:18638 +#: ../NEWS:18681 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 "" -#: ../NEWS:18643 +#: ../NEWS:18686 msgid "" ":issue:`43232`: Prohibit previously deprecated potentially disruptive " "operations on :class:`asyncio.trsock.TransportSocket`. Patch by Illia " "Volochii." msgstr "" -#: ../NEWS:18647 +#: ../NEWS:18690 msgid ":issue:`30077`: Added support for Apple's aifc/sowt pseudo-compression" msgstr "" -#: ../NEWS:18649 +#: ../NEWS:18692 msgid "" ":issue:`42971`: Add definition of ``errno.EQFULL`` for platforms that define " "this constant (such as macOS)." msgstr "" -#: ../NEWS:18652 +#: ../NEWS:18695 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 " @@ -32643,20 +32712,20 @@ msgid "" "documentation." msgstr "" -#: ../NEWS:18658 +#: ../NEWS:18701 msgid "" ":issue:`43024`: Improve the help signature of :func:`traceback." "print_exception`, :func:`traceback.format_exception` and :func:`traceback." "format_exception_only`." msgstr "" -#: ../NEWS:18662 +#: ../NEWS:18705 msgid "" ":issue:`33809`: Add the :meth:`traceback.TracebackException.print` method " "which prints the formatted exception information." msgstr "" -#: ../NEWS:18665 +#: ../NEWS:18708 msgid "" ":issue:`42862`: :mod:`sqlite3` now utilizes :meth:`functools.lru_cache` to " "implement the connection statement cache. As a small optimisation, the " @@ -32664,99 +32733,99 @@ msgid "" "Erlend E. Aasland." msgstr "" -#: ../NEWS:18670 +#: ../NEWS:18713 msgid "" ":issue:`41818`: Soumendra Ganguly: add termios.tcgetwinsize(), termios." "tcsetwinsize()." msgstr "" -#: ../NEWS:18673 +#: ../NEWS:18716 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 "" -#: ../NEWS:18678 +#: ../NEWS:18721 msgid "" ":issue:`37449`: ``ensurepip`` now uses ``importlib.resources.files()`` " "traversable APIs" msgstr "" -#: ../NEWS:18681 +#: ../NEWS:18724 msgid "" ":issue:`40956`: Use Argument Clinic in :mod:`sqlite3`. Patches by Erlend E. " "Aasland." msgstr "" -#: ../NEWS:18684 +#: ../NEWS:18727 msgid "" ":issue:`41730`: ``DeprecationWarning`` is now raised when importing :mod:" "`tkinter.tix`, which has been deprecated in documentation since Python 3.6." msgstr "" -#: ../NEWS:18688 +#: ../NEWS:18731 msgid "" ":issue:`20684`: Remove unused ``_signature_get_bound_param`` function from :" "mod:`inspect` - by Anthony Sottile." msgstr "" -#: ../NEWS:18691 +#: ../NEWS:18734 msgid "" ":issue:`41402`: Fix :meth:`email.message.EmailMessage.set_content` when " "called with binary data and ``7bit`` content transfer encoding." msgstr "" -#: ../NEWS:18694 +#: ../NEWS:18737 msgid "" ":issue:`32695`: The *compresslevel* and *preset* keyword arguments of :func:" "`tarfile.open` are now both documented and tested." msgstr "" -#: ../NEWS:18697 +#: ../NEWS:18740 msgid "" ":issue:`41137`: Use utf-8 encoding while reading .pdbrc files. Patch by " "Srinivas Reddy Thatiparthy" msgstr "" -#: ../NEWS:18700 +#: ../NEWS:18743 msgid "" ":issue:`24391`: Improved reprs of :mod:`threading` synchronization objects: :" "class:`~threading.Semaphore`, :class:`~threading.BoundedSemaphore`, :class:" "`~threading.Event` and :class:`~threading.Barrier`." msgstr "" -#: ../NEWS:18704 +#: ../NEWS:18747 msgid "" ":issue:`5846`: Deprecated the following :mod:`unittest` functions, scheduled " "for removal in Python 3.13:" msgstr "" -#: ../NEWS:18707 +#: ../NEWS:18750 msgid ":func:`!findTestCases`" msgstr "" -#: ../NEWS:18708 +#: ../NEWS:18751 msgid ":func:`!makeSuite`" msgstr "" -#: ../NEWS:18709 +#: ../NEWS:18752 msgid ":func:`!getTestCaseNames`" msgstr "" -#: ../NEWS:18719 +#: ../NEWS:18762 msgid "" ":issue:`40563`: Support pathlike objects on dbm/shelve. Patch by Hakan Çelik " "and Henry-Joseph Audéoud." msgstr "" -#: ../NEWS:18722 +#: ../NEWS:18765 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 "" -#: ../NEWS:18725 +#: ../NEWS:18768 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” " @@ -32764,77 +32833,77 @@ msgid "" "individual reprlib.Repr instances or in subclasses thereof." msgstr "" -#: ../NEWS:18730 +#: ../NEWS:18773 msgid "" ":issue:`37022`: :mod:`pdb` now displays exceptions from ``repr()`` with its " "``p`` and ``pp`` commands." msgstr "" -#: ../NEWS:18733 +#: ../NEWS:18776 msgid "" ":issue:`38840`: Fix ``test___all__`` on platforms lacking a shared memory " "implementation." msgstr "" -#: ../NEWS:18736 +#: ../NEWS:18779 msgid "" ":issue:`39359`: Add one missing check that the password is a bytes object " "for an encrypted zipfile." msgstr "" -#: ../NEWS:18739 +#: ../NEWS:18782 msgid "" ":issue:`38741`: :mod:`configparser`: using ']' inside a section header will " "no longer cut the section name short at the ']'" msgstr "" -#: ../NEWS:18742 +#: ../NEWS:18785 msgid "" ":issue:`38415`: Added missing behavior to :func:`contextlib." "asynccontextmanager` to match :func:`contextlib.contextmanager` so decorated " "functions can themselves be decorators." msgstr "" -#: ../NEWS:18747 +#: ../NEWS:18790 msgid "" ":issue:`30256`: Pass multiprocessing BaseProxy argument ``manager_owned`` " "through AutoProxy." msgstr "" -#: ../NEWS:18750 +#: ../NEWS:18793 msgid "" ":issue:`27513`: :func:`email.utils.getaddresses` now accepts :class:`email." "header.Header` objects along with string values. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:18754 +#: ../NEWS:18797 msgid "" ":issue:`16379`: Add SQLite error code and name to :mod:`sqlite3` exceptions. " "Patch by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland." msgstr "" -#: ../NEWS:18757 +#: ../NEWS:18800 msgid "" ":issue:`26228`: pty.spawn no longer hangs on FreeBSD, macOS, and Solaris." msgstr "" -#: ../NEWS:18759 +#: ../NEWS:18802 msgid ":issue:`33349`: lib2to3 now recognizes async generators everywhere." msgstr "" -#: ../NEWS:18761 +#: ../NEWS:18804 msgid "" ":issue:`29298`: Fix ``TypeError`` when required subparsers without ``dest`` " "do not receive arguments. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:18767 +#: ../NEWS:18810 msgid "" ":issue:`45216`: Remove extra documentation listing methods in ``difflib``. " "It was rendering twice in pydoc and was outdated in some places." msgstr "" -#: ../NEWS:18770 +#: ../NEWS:18813 msgid "" ":issue:`45024`: :mod:`collections.abc` documentation has been expanded to " "explicitly cover how instance and subclass checks work, with additional " @@ -32843,21 +32912,21 @@ msgid "" "Hettinger." msgstr "" -#: ../NEWS:18776 +#: ../NEWS:18819 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 "" -#: ../NEWS:18780 +#: ../NEWS:18823 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 "" -#: ../NEWS:18784 +#: ../NEWS:18827 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 " @@ -32865,78 +32934,78 @@ msgid "" "GuiProgramming>`_." msgstr "" -#: ../NEWS:18789 +#: ../NEWS:18832 msgid "" ":issue:`33479`: Tkinter documentation has been greatly expanded with new " "\"Architecture\" and \"Threading model\" sections." msgstr "" -#: ../NEWS:18792 +#: ../NEWS:18835 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 "" -#: ../NEWS:18796 +#: ../NEWS:18839 msgid "" ":issue:`44740`: Replaced occurrences of uppercase \"Web\" and \"Internet\" " "with lowercase versions per the 2016 revised Associated Press Style Book." msgstr "" -#: ../NEWS:18799 +#: ../NEWS:18842 msgid "" ":issue:`44693`: Update the definition of __future__ in the glossary by " "replacing the confusing word \"pseudo-module\" with a more accurate " "description." msgstr "" -#: ../NEWS:18803 +#: ../NEWS:18846 msgid ":issue:`35183`: Add typical examples to os.path.splitext docs" msgstr "" -#: ../NEWS:18805 +#: ../NEWS:18848 msgid "" ":issue:`30511`: Clarify that :func:`shutil.make_archive` is not thread-safe " "due to reliance on changing the current working directory." msgstr "" -#: ../NEWS:18808 +#: ../NEWS:18851 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 "" -#: ../NEWS:18812 +#: ../NEWS:18855 msgid "" ":issue:`44651`: Delete entry \"coercion\" in Doc/glossary.rst for its " "outdated definition." msgstr "" -#: ../NEWS:18815 +#: ../NEWS:18858 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 "" -#: ../NEWS:18818 +#: ../NEWS:18861 msgid "" ":issue:`44631`: Refactored the ``repr()`` code of the ``_Environ`` (os " "module)." msgstr "" -#: ../NEWS:18820 +#: ../NEWS:18863 msgid ":issue:`44613`: importlib.metadata is no longer provisional." msgstr "" -#: ../NEWS:18822 +#: ../NEWS:18865 msgid "" ":issue:`44558`: Match the docstring and python implementation of :func:" "`~operator.countOf` to the behavior of its c implementation." msgstr "" -#: ../NEWS:18825 +#: ../NEWS:18868 msgid "" ":issue:`44544`: List all kwargs for :func:`textwrap.wrap`, :func:`textwrap." "fill`, and :func:`textwrap.shorten`. Now, there are nav links to attributes " @@ -32944,24 +33013,24 @@ msgid "" "duplication in the documentation." msgstr "" -#: ../NEWS:18830 +#: ../NEWS:18873 msgid "" ":issue:`38062`: Clarify that atexit uses equality comparisons internally." msgstr "" -#: ../NEWS:18832 +#: ../NEWS:18875 msgid "" ":issue:`40620`: Convert examples in tutorial controlflow.rst section 4.3 to " "be interpreter-demo style." msgstr "" -#: ../NEWS:18835 +#: ../NEWS:18878 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 "" -#: ../NEWS:18838 +#: ../NEWS:18881 msgid "" ":issue:`39452`: Rewrote ``Doc/library/__main__.rst``. Broadened scope of the " "document to explicitly discuss and differentiate between ``__main__.py`` in " @@ -32969,108 +33038,108 @@ msgid "" "that surround it)." msgstr "" -#: ../NEWS:18843 +#: ../NEWS:18886 msgid "" ":issue:`13814`: In the Design FAQ, answer \"Why don't generators support the " "with statement?\"" msgstr "" -#: ../NEWS:18846 +#: ../NEWS:18889 msgid ":issue:`27752`: Documentation of csv.Dialect is more descriptive." msgstr "" -#: ../NEWS:18848 +#: ../NEWS:18891 msgid "" ":issue:`44453`: Fix documentation for the return type of :func:`sysconfig." "get_path`." msgstr "" -#: ../NEWS:18851 +#: ../NEWS:18894 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 "" -#: ../NEWS:18855 +#: ../NEWS:18898 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 "" -#: ../NEWS:18859 +#: ../NEWS:18902 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 "" -#: ../NEWS:18862 +#: ../NEWS:18905 msgid "" ":issue:`42392`: Document the deprecation and removal of the ``loop`` " "parameter for many functions and classes in :mod:`asyncio`." msgstr "" -#: ../NEWS:18865 +#: ../NEWS:18908 msgid "" ":issue:`44195`: Corrected references to ``TraversableResources`` in docs. " "There is no ``TraversableReader``." msgstr "" -#: ../NEWS:18868 +#: ../NEWS:18911 msgid "" ":issue:`41963`: Document that ``ConfigParser`` strips off comments when " "reading configuration files." msgstr "" -#: ../NEWS:18871 +#: ../NEWS:18914 msgid "" ":issue:`44072`: Correct where in the numeric ABC hierarchy ``**`` support is " "added, i.e., in numbers.Complex, not numbers.Integral." msgstr "" -#: ../NEWS:18874 +#: ../NEWS:18917 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 "" -#: ../NEWS:18878 +#: ../NEWS:18921 msgid "" ":issue:`44025`: Clarify when '_' in match statements is a keyword, and when " "not." msgstr "" -#: ../NEWS:18881 +#: ../NEWS:18924 msgid "" ":issue:`41706`: Fix docs about how methods like ``__add__`` are invoked when " "evaluating operator expressions." msgstr "" -#: ../NEWS:18884 +#: ../NEWS:18927 msgid "" ":issue:`41621`: Document that :class:`collections.defaultdict` parameter " "``default_factory`` defaults to ``None`` and is positional-only." msgstr "" -#: ../NEWS:18887 +#: ../NEWS:18930 msgid ":issue:`41576`: document BaseException in favor of bare except" msgstr "" -#: ../NEWS:18889 +#: ../NEWS:18932 msgid "" ":issue:`21760`: The description for __file__ fixed. Patch by Furkan Onder" msgstr "" -#: ../NEWS:18891 +#: ../NEWS:18934 msgid "" ":issue:`39498`: Add a \"Security Considerations\" index which links to " "standard library modules that have explicitly documented security " "considerations." msgstr "" -#: ../NEWS:18894 +#: ../NEWS:18937 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 " @@ -33078,81 +33147,81 @@ msgid "" "patching _tkinter.c," msgstr "" -#: ../NEWS:18902 +#: ../NEWS:18945 msgid "" ":issue:`40173`: Fix :func:`test.support.import_helper.import_fresh_module`." msgstr "" -#: ../NEWS:18904 +#: ../NEWS:18947 msgid ":issue:`45280`: Add a test case for empty :class:`typing.NamedTuple`." msgstr "" -#: ../NEWS:18906 +#: ../NEWS:18949 msgid "" ":issue:`45269`: Cover case when invalid ``markers`` type is supplied to " "``c_make_encoder``." msgstr "" -#: ../NEWS:18909 +#: ../NEWS:18952 msgid "" ":issue:`45128`: Fix ``test_multiprocessing_fork`` failure due to " "``test_logging`` and ``sys.modules`` manipulation." msgstr "" -#: ../NEWS:18912 +#: ../NEWS:18955 msgid "" ":issue:`45209`: Fix ``UserWarning: resource_tracker`` warning in " "``_test_multiprocessing._TestSharedMemory." "test_shared_memory_cleaned_after_process_termination``" msgstr "" -#: ../NEWS:18915 +#: ../NEWS:18958 msgid "" ":issue:`45185`: Enables ``TestEnumerations`` test cases in ``test_ssl`` " "suite." msgstr "" -#: ../NEWS:18917 +#: ../NEWS:18960 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 "" -#: ../NEWS:18921 +#: ../NEWS:18964 msgid "" ":issue:`45156`: Fixes infinite loop on :func:`unittest.mock.seal` of mocks " "created by :func:`~unittest.create_autospec`." msgstr "" -#: ../NEWS:18924 +#: ../NEWS:18967 msgid "" ":issue:`45125`: Improves pickling tests and docs of ``SharedMemory`` and " "``SharableList`` objects." msgstr "" -#: ../NEWS:18927 +#: ../NEWS:18970 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 "" -#: ../NEWS:18931 +#: ../NEWS:18974 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 "" -#: ../NEWS:18935 +#: ../NEWS:18978 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 "" -#: ../NEWS:18939 +#: ../NEWS:18982 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 " @@ -33161,68 +33230,68 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:18945 +#: ../NEWS:18988 msgid "" ":issue:`45042`: Fixes that test classes decorated with ``@hashlib_helper." "requires_hashdigest`` were skipped all the time." msgstr "" -#: ../NEWS:18948 +#: ../NEWS:18991 msgid "" ":issue:`25130`: Add calls of :func:`gc.collect` in tests to support PyPy." msgstr "" -#: ../NEWS:18950 +#: ../NEWS:18993 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 "" -#: ../NEWS:18954 +#: ../NEWS:18997 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 "" -#: ../NEWS:18957 +#: ../NEWS:19000 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 "" -#: ../NEWS:18961 +#: ../NEWS:19004 msgid "" ":issue:`44852`: Add ability to wholesale silence DeprecationWarnings while " "running the regression test suite." msgstr "" -#: ../NEWS:18964 +#: ../NEWS:19007 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 "" -#: ../NEWS:18968 +#: ../NEWS:19011 msgid ":issue:`44734`: Fixed floating-point precision issue in turtle tests." msgstr "" -#: ../NEWS:18970 +#: ../NEWS:19013 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 "" -#: ../NEWS:18973 +#: ../NEWS:19016 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 "" -#: ../NEWS:18976 +#: ../NEWS:19019 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 " @@ -33230,13 +33299,13 @@ msgid "" "set PYTHONREGRTEST_UNICODE_GUARD=0 in your test environment." msgstr "" -#: ../NEWS:18981 +#: ../NEWS:19024 msgid "" ":issue:`44515`: Adjust recently added contextlib tests to avoid assuming the " "use of a refcounted GC" msgstr "" -#: ../NEWS:18984 +#: ../NEWS:19027 msgid "" ":issue:`44287`: Fix asyncio test_popen() of test_windows_utils by using a " "longer timeout. Use military grade battle-tested :data:`test.support." @@ -33245,73 +33314,73 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:18990 +#: ../NEWS:19033 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 "" -#: ../NEWS:18994 +#: ../NEWS:19037 msgid "" ":issue:`44363`: Account for address sanitizer in test_capi. test_capi now " "passes when run GCC address sanitizer." msgstr "" -#: ../NEWS:18997 +#: ../NEWS:19040 msgid ":issue:`44364`: Add non integral tests for :func:`math.sqrt` function." msgstr "" -#: ../NEWS:18999 +#: ../NEWS:19042 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 "" -#: ../NEWS:19003 +#: ../NEWS:19046 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 "" -#: ../NEWS:19007 +#: ../NEWS:19050 msgid "" ":issue:`44131`: Add test_frozenmain to test_embed to test the :c:func:" "`Py_FrozenMain` C function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19010 +#: ../NEWS:19053 msgid ":issue:`31904`: Ignore error string case in test_file_not_exists()." msgstr "" -#: ../NEWS:19012 +#: ../NEWS:19055 msgid "" ":issue:`42083`: Add test to check that ``PyStructSequence_NewType`` accepts " "a ``PyStructSequence_Desc`` with ``doc`` field set to ``NULL``." msgstr "" -#: ../NEWS:19015 +#: ../NEWS:19058 msgid "" ":issue:`35753`: Fix crash in doctest when doctest parses modules that " "include unwrappable functions by skipping those functions." msgstr "" -#: ../NEWS:19018 +#: ../NEWS:19061 msgid "" ":issue:`30256`: Add test for nested queues when using ``multiprocessing`` " "shared objects ``AutoProxy[Queue]`` inside ``ListProxy`` and ``DictProxy``" msgstr "" -#: ../NEWS:19024 +#: ../NEWS:19067 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 "" -#: ../NEWS:19028 +#: ../NEWS:19071 msgid "" ":issue:`45020`: Freeze stdlib modules that are imported during startup. " "This provides significant performance improvements to startup. If " @@ -33319,137 +33388,137 @@ msgid "" "option to force importing the source modules." msgstr "" -#: ../NEWS:19033 +#: ../NEWS:19076 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 "" -#: ../NEWS:19037 +#: ../NEWS:19080 msgid ":issue:`45163`: Fixes Haiku platform build." msgstr "" -#: ../NEWS:19039 +#: ../NEWS:19082 msgid "" ":issue:`45067`: The ncurses function extended_color_content was introduced " "in 2017" msgstr "" -#: ../NEWS:19042 +#: ../NEWS:19085 msgid "(https://invisible-island.net/ncurses/NEWS.html#index-t20170401). The" msgstr "" -#: ../NEWS:19044 +#: ../NEWS:19087 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 "" -#: ../NEWS:19048 +#: ../NEWS:19091 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 "" -#: ../NEWS:19052 +#: ../NEWS:19095 msgid "" ":issue:`44340`: Add support for building with clang thin lto via --with-" "lto=thin/full. Patch by Donghee Na and Brett Holman." msgstr "" -#: ../NEWS:19055 +#: ../NEWS:19098 msgid "" ":issue:`44535`: Enable building using a Visual Studio 2022 install on " "Windows." msgstr "" -#: ../NEWS:19057 +#: ../NEWS:19100 msgid "" ":issue:`43298`: Improved error message when building without a Windows SDK " "installed." msgstr "" -#: ../NEWS:19060 +#: ../NEWS:19103 msgid "" ":issue:`44381`: The Windows build now accepts :envvar:" "`EnableControlFlowGuard` set to ``guard`` to enable CFG." msgstr "" -#: ../NEWS:19063 +#: ../NEWS:19106 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 "" -#: ../NEWS:19070 +#: ../NEWS:19113 msgid "" ":issue:`45375`: Fixes an assertion failure due to searching for the standard " "library in unnormalised paths." msgstr "" -#: ../NEWS:19073 +#: ../NEWS:19116 msgid ":issue:`45022`: Update Windows release to include libffi 3.4.2" msgstr "" -#: ../NEWS:19075 +#: ../NEWS:19118 msgid ":issue:`45007`: Update to OpenSSL 1.1.1l in Windows build" msgstr "" -#: ../NEWS:19077 +#: ../NEWS:19120 msgid ":issue:`44848`: Upgrade Windows installer to use SQLite 3.36.0." msgstr "" -#: ../NEWS:19079 +#: ../NEWS:19122 msgid "" ":issue:`44572`: Avoid consuming standard input in the :mod:`platform` module" msgstr "" -#: ../NEWS:19081 +#: ../NEWS:19124 msgid "" ":issue:`44582`: Accelerate speed of :mod:`mimetypes` initialization using a " "native implementation of the registry scan." msgstr "" -#: ../NEWS:19084 +#: ../NEWS:19127 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 "" -#: ../NEWS:19088 +#: ../NEWS:19131 msgid "" ":issue:`42686`: Build :mod:`sqlite3` with math functions enabled. Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:19091 +#: ../NEWS:19134 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 "" -#: ../NEWS:19098 +#: ../NEWS:19141 msgid ":issue:`45007`: Update macOS installer builds to use OpenSSL 1.1.1l." msgstr "" -#: ../NEWS:19100 +#: ../NEWS:19143 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 "" -#: ../NEWS:19104 +#: ../NEWS:19147 msgid ":issue:`44848`: Update macOS installer to use SQLite 3.36.0." msgstr "" -#: ../NEWS:19106 +#: ../NEWS:19149 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. " @@ -33458,48 +33527,48 @@ msgid "" "how system libraries are stored." msgstr "" -#: ../NEWS:19112 +#: ../NEWS:19155 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 "" -#: ../NEWS:19115 +#: ../NEWS:19158 msgid "" ":issue:`43109`: Allow --with-lto configure option to work with Apple-" "supplied Xcode or Command Line Tools." msgstr "" -#: ../NEWS:19118 +#: ../NEWS:19161 msgid "" ":issue:`34932`: Add socket.TCP_KEEPALIVE support for macOS. Patch by Shane " "Harvey." msgstr "" -#: ../NEWS:19124 +#: ../NEWS:19167 msgid "" ":issue:`45296`: On Windows, change exit/quit message to suggest Ctrl-D, " "which works, instead of , which does not work in IDLE." msgstr "" -#: ../NEWS:19127 +#: ../NEWS:19170 msgid ":issue:`45193`: Make completion boxes appear on Ubuntu again." msgstr "" -#: ../NEWS:19129 +#: ../NEWS:19172 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 "" -#: ../NEWS:19133 +#: ../NEWS:19176 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 "" -#: ../NEWS:19136 +#: ../NEWS:19179 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 " @@ -33507,18 +33576,18 @@ msgid "" "dialog better fit small screens." msgstr "" -#: ../NEWS:19141 +#: ../NEWS:19184 msgid "" ":issue:`41611`: Avoid uncaught exceptions in ``AutoCompleteWindow." "winconfig_event()``." msgstr "" -#: ../NEWS:19144 +#: ../NEWS:19187 msgid "" ":issue:`41611`: Fix IDLE sometimes freezing upon tab-completion on macOS." msgstr "" -#: ../NEWS:19146 +#: ../NEWS:19189 msgid "" ":issue:`44010`: Highlight the new :ref:`match ` statement's :ref:" "`soft keywords `: :keyword:`match`, :keyword:`case `, " @@ -33527,100 +33596,100 @@ msgid "" "``case`` patterns." msgstr "" -#: ../NEWS:19152 +#: ../NEWS:19195 msgid "" ":issue:`44026`: Include interpreter's typo fix suggestions in message line " "for NameErrors and AttributeErrors. Patch by E. Paine." msgstr "" -#: ../NEWS:19158 +#: ../NEWS:19201 msgid "" ":issue:`44786`: Fix a warning in regular expression in the c-analyzer script." msgstr "" -#: ../NEWS:19160 +#: ../NEWS:19203 msgid "" ":issue:`44967`: pydoc now returns a non-zero status code when a module " "cannot be found." msgstr "" -#: ../NEWS:19163 +#: ../NEWS:19206 msgid "" ":issue:`44978`: Allow the Argument Clinic tool to handle ``__complex__`` " "special methods." msgstr "" -#: ../NEWS:19166 +#: ../NEWS:19209 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 "" -#: ../NEWS:19170 +#: ../NEWS:19213 msgid "" ":issue:`44074`: Make patchcheck automatically detect the correct base branch " "name (previously it was hardcoded to 'master')" msgstr "" -#: ../NEWS:19173 +#: ../NEWS:19216 msgid "" ":issue:`20291`: Added support for variadic positional parameters in Argument " "Clinic." msgstr "" -#: ../NEWS:19179 +#: ../NEWS:19222 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 "" -#: ../NEWS:19183 +#: ../NEWS:19226 msgid "" ":issue:`44687`: :meth:`BufferedReader.peek` no longer raises :exc:" "`ValueError` when the entire file has already been buffered." msgstr "" -#: ../NEWS:19186 +#: ../NEWS:19229 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 "" -#: ../NEWS:19190 +#: ../NEWS:19233 msgid "" ":issue:`45094`: Add the :c:macro:`Py_NO_INLINE` macro to disable inlining on " "a function. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19193 +#: ../NEWS:19236 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 "" -#: ../NEWS:19197 +#: ../NEWS:19240 msgid "" ":issue:`42035`: Add a new :c:func:`PyType_GetQualName` function to get " "type's qualified name." msgstr "" -#: ../NEWS:19200 +#: ../NEWS:19243 msgid "" ":issue:`41103`: Reverts removal of the old buffer protocol because they are " "part of stable ABI." msgstr "" -#: ../NEWS:19203 +#: ../NEWS:19246 msgid "" ":issue:`44751`: Remove ``crypt.h`` include from the public ``Python.h`` " "header." msgstr "" -#: ../NEWS:19205 +#: ../NEWS:19248 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 " @@ -33628,17 +33697,17 @@ msgid "" "objects with the relevant fields missing." msgstr "" -#: ../NEWS:19210 +#: ../NEWS:19253 msgid "" ":issue:`44530`: Added the ``co_qualname`` to the ``PyCodeObject`` structure " "to propagate the qualified name from the compiler to code objects." msgstr "" -#: ../NEWS:19213 +#: ../NEWS:19256 msgid "Patch by Gabriele N. Tornetta" msgstr "" -#: ../NEWS:19215 +#: ../NEWS:19258 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:" @@ -33646,7 +33715,7 @@ msgid "" "initialization. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19220 +#: ../NEWS:19263 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 " @@ -33655,27 +33724,27 @@ msgid "" "in Python 3.9." msgstr "" -#: ../NEWS:19226 +#: ../NEWS:19269 msgid "Removed functions:" msgstr "" -#: ../NEWS:19228 +#: ../NEWS:19271 msgid "_PyTrash_deposit_object()" msgstr "" -#: ../NEWS:19229 +#: ../NEWS:19272 msgid "_PyTrash_destroy_chain()" msgstr "" -#: ../NEWS:19230 +#: ../NEWS:19273 msgid "_PyTrash_thread_deposit_object()" msgstr "" -#: ../NEWS:19231 +#: ../NEWS:19274 msgid "_PyTrash_thread_destroy_chain()" msgstr "" -#: ../NEWS:19233 +#: ../NEWS:19276 msgid "" "The trashcan C API was never usable with the limited C API, since old " "trashcan macros accessed directly :c:type:`PyThreadState` members like " @@ -33683,30 +33752,30 @@ msgid "" "structure is opaque in the limited C API." msgstr "" -#: ../NEWS:19238 +#: ../NEWS:19281 msgid "Exclude also the ``PyTrash_UNWIND_LEVEL`` constant from the C API." msgstr "" -#: ../NEWS:19242 +#: ../NEWS:19285 msgid "" ":issue:`40939`: Removed documentation for the removed ``PyParser_*`` C API." msgstr "" -#: ../NEWS:19244 +#: ../NEWS:19287 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 "" -#: ../NEWS:19248 +#: ../NEWS:19291 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 "" -#: ../NEWS:19252 +#: ../NEWS:19295 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:" @@ -33714,7 +33783,7 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:19257 +#: ../NEWS:19300 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 " @@ -33722,61 +33791,61 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:19262 +#: ../NEWS:19305 msgid "" ":issue:`43795`: The undocumented function :c:func:`Py_FrozenMain` is removed " "from the Limited API." msgstr "" -#: ../NEWS:19265 +#: ../NEWS:19308 msgid "" ":issue:`44113`: Deprecate the following functions to configure the Python " "initialization:" msgstr "" -#: ../NEWS:19268 +#: ../NEWS:19311 msgid ":c:func:`!PySys_AddWarnOptionUnicode`" msgstr "" -#: ../NEWS:19269 +#: ../NEWS:19312 msgid ":c:func:`!PySys_AddWarnOption`" msgstr "" -#: ../NEWS:19270 +#: ../NEWS:19313 msgid ":c:func:`!PySys_AddXOption`" msgstr "" -#: ../NEWS:19271 +#: ../NEWS:19314 msgid ":c:func:`!PySys_HasWarnOptions`" msgstr "" -#: ../NEWS:19272 +#: ../NEWS:19315 msgid ":c:func:`!Py_SetPath`" msgstr "" -#: ../NEWS:19273 +#: ../NEWS:19316 msgid ":c:func:`!Py_SetProgramName`" msgstr "" -#: ../NEWS:19274 +#: ../NEWS:19317 msgid ":c:func:`!Py_SetPythonHome`" msgstr "" -#: ../NEWS:19275 +#: ../NEWS:19318 msgid ":c:func:`!Py_SetStandardStreamEncoding`" msgstr "" -#: ../NEWS:19276 +#: ../NEWS:19319 msgid ":c:func:`!_Py_SetProgramFullPath`" msgstr "" -#: ../NEWS:19278 +#: ../NEWS:19321 msgid "" "Use the new :c:type:`PyConfig` API of the :ref:`Python Initialization " "Configuration ` instead (:pep:`587`)." msgstr "" -#: ../NEWS:19281 +#: ../NEWS:19324 msgid "" ":issue:`44094`: Remove ``PyErr_SetFromErrnoWithUnicodeFilename()``, " "``PyErr_SetFromWindowsErrWithUnicodeFilename()``, and " @@ -33784,13 +33853,13 @@ msgid "" "and have been deprecated since Python 3.3." msgstr "" -#: ../NEWS:19286 +#: ../NEWS:19329 msgid "" ":issue:`43795`: :c:func:`PyCodec_Unregister` is now properly exported as a " "function in the Windows Stable ABI DLL." msgstr "" -#: ../NEWS:19289 +#: ../NEWS:19332 msgid "" ":issue:`44029`: Remove deprecated ``Py_UNICODE`` APIs: ``PyUnicode_Encode``, " "``PyUnicode_EncodeUTF7``, ``PyUnicode_EncodeUTF8``, " @@ -33803,21 +33872,21 @@ msgid "" "pep:`393` and :pep:`624` for reference." msgstr "" -#: ../NEWS:19299 +#: ../NEWS:19342 msgid "" ":issue:`42035`: Add a new :c:func:`PyType_GetName` function to get type's " "short name." msgstr "" -#: ../NEWS:19304 +#: ../NEWS:19347 msgid "Python 3.10.0 beta 1" msgstr "" -#: ../NEWS:19306 +#: ../NEWS:19349 msgid "*Release date: 2021-05-03*" msgstr "" -#: ../NEWS:19311 +#: ../NEWS:19354 msgid "" ":issue:`43434`: Creating :class:`sqlite3.Connection` objects now also " "produces ``sqlite3.connect`` and ``sqlite3.connect/handle`` :ref:`auditing " @@ -33825,7 +33894,7 @@ msgid "" "`sqlite3.connect` calls. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:19316 +#: ../NEWS:19359 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 " @@ -33834,47 +33903,47 @@ msgid "" "protocol version TLS 1.2. Settings are based on Hynek Schlawack's research." msgstr "" -#: ../NEWS:19323 +#: ../NEWS:19366 msgid "" ":issue:`43882`: The presence of newline or tab characters in parts of a URL " "could allow some forms of attacks." msgstr "" -#: ../NEWS:19326 +#: ../NEWS:19369 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 "" -#: ../NEWS:19330 +#: ../NEWS:19373 msgid "" ":issue:`43472`: Ensures interpreter-level audit hooks receive the ``cpython." "PyInterpreterState_New`` event when called through the " "``_xxsubinterpreters`` module." msgstr "" -#: ../NEWS:19334 +#: ../NEWS:19377 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 "" -#: ../NEWS:19337 +#: ../NEWS:19380 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 "" -#: ../NEWS:19341 +#: ../NEWS:19384 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 "" -#: ../NEWS:19345 +#: ../NEWS:19388 msgid "" ":issue:`36384`: :mod:`ipaddress` module no longer accepts any leading zeros " "in IPv4 address strings. Leading zeros are ambiguous and interpreted as " @@ -33885,7 +33954,7 @@ msgid "" "ambiguous leading zeros." msgstr "" -#: ../NEWS:19353 +#: ../NEWS:19396 msgid "" ":issue:`43075`: Fix Regular Expression Denial of Service (ReDoS) " "vulnerability in :class:`urllib.request.AbstractBasicAuthHandler`. The " @@ -33895,42 +33964,42 @@ msgid "" "server." msgstr "" -#: ../NEWS:19359 +#: ../NEWS:19402 msgid "" ":issue:`42800`: Audit hooks are now fired for frame.f_code, traceback." "tb_frame, and generator code/frame attribute access." msgstr "" -#: ../NEWS:19362 +#: ../NEWS:19405 msgid ":issue:`37363`: Add audit events to the :mod:`http.client` module." msgstr "" -#: ../NEWS:19367 +#: ../NEWS:19410 msgid "" ":issue:`43977`: Prevent classes being both a sequence and a mapping when " "pattern matching." msgstr "" -#: ../NEWS:19370 +#: ../NEWS:19413 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 "" -#: ../NEWS:19374 +#: ../NEWS:19417 msgid "" ":issue:`43892`: Restore proper validation of complex literal value patterns " "when parsing :keyword:`!match` blocks." msgstr "" -#: ../NEWS:19377 +#: ../NEWS:19420 msgid "" ":issue:`43933`: Set frame.f_lineno to the line number of the 'with' kweyword " "when executing the call to ``__exit__``." msgstr "" -#: ../NEWS:19380 +#: ../NEWS:19423 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. " @@ -33938,13 +34007,13 @@ msgid "" "circumstances." msgstr "" -#: ../NEWS:19385 +#: ../NEWS:19428 msgid "" ":issue:`43963`: Importing the :mod:`!_signal` module in a subinterpreter has " "no longer side effects." msgstr "" -#: ../NEWS:19388 +#: ../NEWS:19431 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 " @@ -33952,25 +34021,25 @@ msgid "" "handling of line number tables more robust in some circumstances." msgstr "" -#: ../NEWS:19393 +#: ../NEWS:19436 msgid "" ":issue:`43908`: Make :mod:`re` types immutable. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:19395 +#: ../NEWS:19438 msgid "" ":issue:`43908`: Make the :class:`array.array` type immutable. Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:19398 +#: ../NEWS:19441 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 "" -#: ../NEWS:19402 +#: ../NEWS:19445 msgid "" ":issue:`43892`: Match patterns now use new dedicated AST nodes " "(``MatchValue``, ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, " @@ -33979,27 +34048,27 @@ msgid "" "expression nodes. Patch by Nick Coghlan." msgstr "" -#: ../NEWS:19408 +#: ../NEWS:19451 msgid "" ":issue:`42725`: Usage of ``await``/``yield``/``yield from`` and named " "expressions within an annotation is now forbidden when PEP 563 is activated." msgstr "" -#: ../NEWS:19412 +#: ../NEWS:19455 msgid "" ":issue:`43754`: When performing structural pattern matching (:pep:`634`), " "captured names are now left unbound until the *entire* pattern has matched " "successfully." msgstr "" -#: ../NEWS:19416 +#: ../NEWS:19459 msgid "" ":issue:`42737`: Annotations for complex targets (everything beside simple " "names) no longer cause any runtime effects with ``from __future__ import " "annotations``." msgstr "" -#: ../NEWS:19420 +#: ../NEWS:19463 msgid "" ":issue:`43914`: :exc:`SyntaxError` exceptions raised by the interpreter will " "highlight the full error range of the expression that constitutes the syntax " @@ -34007,7 +34076,7 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:19425 +#: ../NEWS:19468 msgid "" ":issue:`38605`: Revert making ``from __future__ import annotations`` the " "default. This follows the Steering Council decision to postpone PEP 563 " @@ -34017,7 +34086,7 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:19432 +#: ../NEWS:19475 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 " @@ -34025,62 +34094,62 @@ msgid "" "hash tables." msgstr "" -#: ../NEWS:19437 +#: ../NEWS:19480 msgid "" ":issue:`43859`: Improve the error message for :exc:`IndentationError` " "exceptions. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:19440 +#: ../NEWS:19483 msgid "" ":issue:`41323`: Constant tuple folding in bytecode optimizer now reuses " "tuple in constant table." msgstr "" -#: ../NEWS:19443 +#: ../NEWS:19486 msgid "" ":issue:`43846`: Data stack usage is much reduced for large literal and call " "expressions." msgstr "" -#: ../NEWS:19446 +#: ../NEWS:19489 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 "" -#: ../NEWS:19450 +#: ../NEWS:19493 msgid "" ":issue:`43823`: Improve syntax errors for invalid dictionary literals. Patch " "by Pablo Galindo." msgstr "" -#: ../NEWS:19453 +#: ../NEWS:19496 msgid "" ":issue:`43822`: Improve syntax errors in the parser for missing commas " "between expressions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:19456 +#: ../NEWS:19499 msgid "" ":issue:`43798`: :class:`ast.alias` nodes now include source location " "metadata attributes e.g. lineno, col_offset." msgstr "" -#: ../NEWS:19459 +#: ../NEWS:19502 msgid "" ":issue:`43797`: Improve ``SyntaxError`` error messages for invalid " "comparisons. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:19462 +#: ../NEWS:19505 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 "" -#: ../NEWS:19465 +#: ../NEWS:19508 msgid "" ":issue:`43682`: Static methods (:func:`@staticmethod `) and " "class methods (:func:`@classmethod `) now inherit the method " @@ -34089,81 +34158,81 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:19471 +#: ../NEWS:19514 msgid "" ":issue:`43751`: Fixed a bug where ``anext(ait, default)`` would erroneously " "return None." msgstr "" -#: ../NEWS:19474 +#: ../NEWS:19517 msgid "" ":issue:`42128`: :data:`~object.__match_args__` is no longer allowed to be a " "list." msgstr "" -#: ../NEWS:19477 +#: ../NEWS:19520 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 "" -#: ../NEWS:19481 +#: ../NEWS:19524 msgid "" ":issue:`43105`: Importlib now resolves relative paths when creating module " "spec objects from file locations." msgstr "" -#: ../NEWS:19484 +#: ../NEWS:19527 msgid "" ":issue:`43682`: Static methods (:func:`@staticmethod `) are " "now callable as regular functions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19487 +#: ../NEWS:19530 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 "" -#: ../NEWS:19491 +#: ../NEWS:19534 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 "" -#: ../NEWS:19498 +#: ../NEWS:19541 msgid "" ":issue:`44015`: In @dataclass(), raise a TypeError if KW_ONLY is specified " "more than once." msgstr "" -#: ../NEWS:19501 +#: ../NEWS:19544 msgid "" ":issue:`25478`: Added a *total()* method to collections.Counter() to compute " "the sum of the counts." msgstr "" -#: ../NEWS:19504 +#: ../NEWS:19547 msgid "" ":issue:`43733`: Change :class:`netrc.netrc` to use UTF-8 encoding before " "using locale encoding." msgstr "" -#: ../NEWS:19507 +#: ../NEWS:19550 msgid "" ":issue:`43979`: Removed an unnecessary list comprehension before looping " "from :func:`urllib.parse.parse_qsl`. Patch by Christoph Zwerschke and " "Donghee Na." msgstr "" -#: ../NEWS:19511 +#: ../NEWS:19554 msgid ":issue:`43993`: Update bundled pip to 21.1.1." msgstr "" -#: ../NEWS:19513 +#: ../NEWS:19556 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, " @@ -34171,7 +34240,7 @@ msgid "" "enum or one of its members' value." msgstr "" -#: ../NEWS:19518 +#: ../NEWS:19561 msgid "" ":issue:`42904`: For backwards compatibility with previous minor versions of " "Python, if :func:`typing.get_type_hints` receives no namespace dictionary " @@ -34180,28 +34249,28 @@ msgid "" "forward references) inside a class." msgstr "" -#: ../NEWS:19524 +#: ../NEWS:19567 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 "" -#: ../NEWS:19527 +#: ../NEWS:19570 msgid ":issue:`41139`: Deprecate undocumented ``cgi.log()`` API." msgstr "" -#: ../NEWS:19529 +#: ../NEWS:19572 msgid "" ":issue:`43937`: Fixed the :mod:`turtle` module working with non-default root " "window." msgstr "" -#: ../NEWS:19532 +#: ../NEWS:19575 msgid ":issue:`43930`: Update bundled pip to 21.1 and setuptools to 56.0.0" msgstr "" -#: ../NEWS:19534 +#: ../NEWS:19577 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 " @@ -34209,7 +34278,7 @@ msgid "" "bytearray object." msgstr "" -#: ../NEWS:19539 +#: ../NEWS:19582 msgid "" ":issue:`43926`: In ``importlib.metadata``, provide a uniform interface to " "``Description``, allow for any field to be encoded with multiline values, " @@ -34218,20 +34287,20 @@ msgid "" "``importlib_metadata 4.0``." msgstr "" -#: ../NEWS:19545 +#: ../NEWS:19588 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 "" -#: ../NEWS:19549 +#: ../NEWS:19592 msgid "" ":issue:`43607`: :mod:`urllib` can now convert Windows paths with ``\\\\?\\`` " "prefixes into URL paths." msgstr "" -#: ../NEWS:19552 +#: ../NEWS:19595 msgid "" ":issue:`43817`: Add :func:`inspect.get_annotations`, which safely computes " "the annotations defined on an object. It works around the quirks of " @@ -34240,7 +34309,7 @@ msgid "" "also correctly un-stringize stringized annotations." msgstr "" -#: ../NEWS:19558 +#: ../NEWS:19601 msgid "" ":func:`inspect.signature`, :func:`inspect.from_callable`, and :func:`inspect." "from_function` now call :func:`inspect.get_annotations` to retrieve " @@ -34248,7 +34317,7 @@ msgid "" "from_callable` can now un-stringize stringized annotations, too." msgstr "" -#: ../NEWS:19564 +#: ../NEWS:19607 msgid "" ":issue:`43284`: platform.win32_ver derives the windows version from sys." "getwindowsversion().platform_version which in turn derives the version from " @@ -34257,7 +34326,7 @@ msgid "" "platform module's _syscmd_ver private function to return an accurate version." msgstr "" -#: ../NEWS:19571 +#: ../NEWS:19614 msgid "" ":issue:`42854`: The :mod:`ssl` module now uses ``SSL_read_ex`` and " "``SSL_write_ex`` internally. The functions support reading and writing of " @@ -34265,19 +34334,19 @@ msgid "" "protocol violation error." msgstr "" -#: ../NEWS:19576 +#: ../NEWS:19619 msgid "" ":issue:`42333`: Port ``_ssl`` extension module to multiphase initialization." msgstr "" -#: ../NEWS:19578 +#: ../NEWS:19621 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 "" -#: ../NEWS:19582 +#: ../NEWS:19625 msgid "" ":issue:`41559`: :pep:`612` is now implemented purely in Python; builtin " "``types.GenericAlias`` objects no longer include ``typing.ParamSpec`` in " @@ -34287,7 +34356,7 @@ msgid "" "now raise ``TypeError`` during substitution." msgstr "" -#: ../NEWS:19589 +#: ../NEWS:19632 msgid "" ":issue:`43867`: The :mod:`multiprocessing` ``Server`` class now explicitly " "catches :exc:`SystemExit` and closes the client connection in this case. It " @@ -34295,26 +34364,26 @@ msgid "" "(EOF)." msgstr "" -#: ../NEWS:19594 +#: ../NEWS:19637 msgid "" ":issue:`40443`: Remove unused imports: pyclbr no longer uses copy, and " "typing no longer uses ast. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19597 +#: ../NEWS:19640 msgid "" ":issue:`43820`: Remove an unneeded copy of the namespace passed to " "dataclasses.make_dataclass()." msgstr "" -#: ../NEWS:19600 +#: ../NEWS:19643 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 "" -#: ../NEWS:19604 +#: ../NEWS:19647 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 " @@ -34324,7 +34393,7 @@ msgid "" "and builtins.open() is now io.open()." msgstr "" -#: ../NEWS:19611 +#: ../NEWS:19654 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 " @@ -34334,50 +34403,50 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:19618 +#: ../NEWS:19661 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 "" -#: ../NEWS:19621 +#: ../NEWS:19664 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 "" -#: ../NEWS:19625 +#: ../NEWS:19668 msgid "" ":issue:`42248`: [Enum] ensure exceptions raised in ``_missing__`` are " "released" msgstr "" -#: ../NEWS:19627 +#: ../NEWS:19670 msgid "" ":issue:`43744`: fix issue with enum member name matching the start of a " "private variable name" msgstr "" -#: ../NEWS:19630 +#: ../NEWS:19673 msgid "" ":issue:`43772`: Fixed the return value of ``TypeVar.__ror__``. Patch by " "Jelle Zijlstra." msgstr "" -#: ../NEWS:19633 +#: ../NEWS:19676 msgid "" ":issue:`43764`: Add match_args parameter to @dataclass decorator to allow " "suppression of __match_args__ generation." msgstr "" -#: ../NEWS:19636 +#: ../NEWS:19679 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 "" -#: ../NEWS:19639 +#: ../NEWS:19682 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 " @@ -34387,13 +34456,13 @@ msgid "" "assert_called_once_with) will unconditionally pass." msgstr "" -#: ../NEWS:19646 +#: ../NEWS:19689 msgid "" ":issue:`43794`: Add :const:`ssl.OP_IGNORE_UNEXPECTED_EOF` constants (OpenSSL " "3.0.0)" msgstr "" -#: ../NEWS:19649 +#: ../NEWS:19692 msgid "" ":issue:`43785`: Improve ``bz2.BZ2File`` performance by removing the RLock " "from BZ2File. This makes BZ2File thread unsafe in the face of multiple " @@ -34401,13 +34470,13 @@ msgid "" "`gzip` and :mod:`lzma` have always been. Patch by Inada Naoki." msgstr "" -#: ../NEWS:19654 +#: ../NEWS:19697 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 "" -#: ../NEWS:19657 +#: ../NEWS:19700 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. " @@ -34415,27 +34484,27 @@ msgid "" "file with error codes." msgstr "" -#: ../NEWS:19662 +#: ../NEWS:19705 msgid "" ":issue:`43766`: Implement :pep:`647` in the :mod:`typing` module by adding :" "data:`TypeGuard`." msgstr "" -#: ../NEWS:19665 +#: ../NEWS:19708 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 "" -#: ../NEWS:19669 +#: ../NEWS:19712 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 "" -#: ../NEWS:19674 +#: ../NEWS:19717 msgid "" ":gh:`47383`: The ``P.args`` and ``P.kwargs`` attributes of :class:`typing." "ParamSpec` are now instances of the new classes :class:`typing." @@ -34443,18 +34512,18 @@ msgid "" "useful ``repr()``. Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:19679 +#: ../NEWS:19722 msgid "" ":issue:`43731`: Add an ``encoding`` parameter :func:`logging.fileConfig`." msgstr "" -#: ../NEWS:19681 +#: ../NEWS:19724 msgid "" ":issue:`43712`: Add ``encoding`` and ``errors`` parameters to :func:" "`fileinput.input` and :class:`fileinput.FileInput`." msgstr "" -#: ../NEWS:19684 +#: ../NEWS:19727 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 " @@ -34462,121 +34531,121 @@ msgid "" "updated to use ``simple_enum``." msgstr "" -#: ../NEWS:19689 +#: ../NEWS:19732 msgid "" ":issue:`43764`: Fix an issue where :data:`~object.__match_args__` generation " "could fail for some :mod:`dataclasses`." msgstr "" -#: ../NEWS:19692 +#: ../NEWS:19735 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 "" -#: ../NEWS:19696 +#: ../NEWS:19739 msgid "" ":issue:`43655`: :mod:`tkinter` dialog windows are now recognized as dialogs " "by window managers on macOS and X Window." msgstr "" -#: ../NEWS:19699 +#: ../NEWS:19742 msgid "" ":issue:`43723`: The following ``threading`` methods are now deprecated and " "should be replaced:" msgstr "" -#: ../NEWS:19702 +#: ../NEWS:19745 msgid "``currentThread`` => :func:`threading.current_thread`" msgstr "" -#: ../NEWS:19704 +#: ../NEWS:19747 msgid "``activeCount`` => :func:`threading.active_count`" msgstr "" -#: ../NEWS:19706 +#: ../NEWS:19749 msgid "``Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" -#: ../NEWS:19708 +#: ../NEWS:19751 msgid "``Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" -#: ../NEWS:19710 +#: ../NEWS:19753 msgid "``Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" -#: ../NEWS:19712 +#: ../NEWS:19755 msgid "``thread.getName`` => :attr:`threading.Thread.name`" msgstr "" -#: ../NEWS:19714 +#: ../NEWS:19757 msgid "``Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: ../NEWS:19716 +#: ../NEWS:19759 msgid "``Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: ../NEWS:19718 +#: ../NEWS:19761 msgid "Patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:19720 +#: ../NEWS:19763 msgid "" ":issue:`2135`: Deprecate find_module() and find_loader() implementations in " "importlib and zipimport." msgstr "" -#: ../NEWS:19723 +#: ../NEWS:19766 msgid "" ":issue:`43534`: :func:`turtle.textinput` and :func:`turtle.numinput` create " "now a transient window working on behalf of the canvas window." msgstr "" -#: ../NEWS:19726 +#: ../NEWS:19769 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 "" -#: ../NEWS:19729 +#: ../NEWS:19772 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 "" -#: ../NEWS:19733 +#: ../NEWS:19776 msgid "" ":issue:`8978`: Improve error message for :func:`tarfile.open` when :mod:" "`lzma` / :mod:`bz2` are unavailable. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:19736 +#: ../NEWS:19779 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 "" -#: ../NEWS:19740 +#: ../NEWS:19783 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 "" -#: ../NEWS:19744 +#: ../NEWS:19787 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 "" -#: ../NEWS:19748 +#: ../NEWS:19791 msgid "" ":issue:`43265`: Improve :meth:`sqlite3.Connection.backup` error handling. " "The error message for non-existent target database names is now ``unknown " @@ -34584,50 +34653,50 @@ msgid "" "E. Aasland." msgstr "" -#: ../NEWS:19753 +#: ../NEWS:19796 msgid "" ":issue:`41282`: Install schemes in ``distutils.command.install`` are now " "loaded from :mod:`sysconfig`." msgstr "" -#: ../NEWS:19756 +#: ../NEWS:19799 msgid "" ":issue:`41282`: ``distutils.sysconfig`` has been merged to :mod:`sysconfig`." msgstr "" -#: ../NEWS:19758 +#: ../NEWS:19801 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 "" -#: ../NEWS:19761 +#: ../NEWS:19804 msgid "" ":issue:`43080`: :mod:`pprint` now has support for :class:`dataclasses." "dataclass`. Patch by Lewis Gaul." msgstr "" -#: ../NEWS:19764 +#: ../NEWS:19807 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 "" -#: ../NEWS:19768 +#: ../NEWS:19811 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 "" -#: ../NEWS:19771 +#: ../NEWS:19814 msgid "" ":issue:`42269`: Add ``slots`` parameter to ``dataclasses.dataclass`` " "decorator to automatically generate ``__slots__`` for class. Patch provided " "by Yurii Karabas." msgstr "" -#: ../NEWS:19775 +#: ../NEWS:19818 msgid "" ":issue:`39529`: Deprecated use of :func:`asyncio.get_event_loop` without " "running event loop. Emit deprecation warning for :mod:`asyncio` functions " @@ -34639,13 +34708,13 @@ msgid "" "`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`." msgstr "" -#: ../NEWS:19785 +#: ../NEWS:19828 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 "" -#: ../NEWS:19788 +#: ../NEWS:19831 msgid "" ":issue:`41486`: Use a new output buffer management code for :mod:`bz2` / :" "mod:`lzma` / :mod:`zlib` modules, and add ``.readall()`` function to " @@ -34653,49 +34722,49 @@ msgid "" "improvements. Patch by Ma Lin." msgstr "" -#: ../NEWS:19793 +#: ../NEWS:19836 msgid "" ":issue:`31870`: The :func:`ssl.get_server_certificate` function now has a " "*timeout* parameter." msgstr "" -#: ../NEWS:19796 +#: ../NEWS:19839 msgid "" ":issue:`41735`: Fix thread locks in zlib module may go wrong in rare case. " "Patch by Ma Lin." msgstr "" -#: ../NEWS:19799 +#: ../NEWS:19842 msgid "" ":issue:`36470`: Fix dataclasses with ``InitVar``\\s and :func:`~dataclasses." "replace`. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:19802 +#: ../NEWS:19845 msgid ":issue:`40849`: Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag" msgstr "" -#: ../NEWS:19804 +#: ../NEWS:19847 msgid "" ":issue:`35114`: :func:`ssl.RAND_status` now returns a boolean value (as " "documented) instead of ``1`` or ``0``." msgstr "" -#: ../NEWS:19807 +#: ../NEWS:19850 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 "" -#: ../NEWS:19811 +#: ../NEWS:19854 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 "" -#: ../NEWS:19815 +#: ../NEWS:19858 msgid "" ":meth:`pathlib.Path.expanduser` and :meth:`~pathlib.Path.home` now " "consistently raise :exc:`RuntimeError` exception when a home directory " @@ -34703,87 +34772,87 @@ msgid "" "on Windows when the ``\"USERNAME\"`` environment variable was unset." msgstr "" -#: ../NEWS:19820 +#: ../NEWS:19863 msgid "" ":issue:`36076`: Added SNI support to :func:`ssl.get_server_certificate`." msgstr "" -#: ../NEWS:19822 +#: ../NEWS:19865 msgid "" ":issue:`38490`: Covariance, Pearson's correlation, and simple linear " "regression functionality was added to statistics module. Patch by Tymoteusz " "Wołodźko." msgstr "" -#: ../NEWS:19825 +#: ../NEWS:19868 msgid "" ":issue:`33731`: Provide a locale.localize() function, which converts a " "normalized number string into a locale format." msgstr "" -#: ../NEWS:19828 +#: ../NEWS:19871 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 "" -#: ../NEWS:19835 +#: ../NEWS:19878 msgid "" ":issue:`43987`: Add \"Annotations Best Practices\" document as a new HOWTO." msgstr "" -#: ../NEWS:19837 +#: ../NEWS:19880 msgid "" ":issue:`43977`: Document the new :c:macro:`Py_TPFLAGS_MAPPING` and :c:macro:" "`Py_TPFLAGS_SEQUENCE` type flags." msgstr "" -#: ../NEWS:19840 +#: ../NEWS:19883 msgid "" ":issue:`43959`: The documentation on the PyContextVar C-API was clarified." msgstr "" -#: ../NEWS:19842 +#: ../NEWS:19885 msgid "" ":issue:`43938`: Update dataclasses documentation to express that " "FrozenInstanceError is derived from AttributeError." msgstr "" -#: ../NEWS:19845 +#: ../NEWS:19888 msgid "" ":issue:`43778`: Fix the Sphinx glossary_search extension: create the " "_static/ sub-directory if it doesn't exist." msgstr "" -#: ../NEWS:19848 +#: ../NEWS:19891 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 "" -#: ../NEWS:19852 +#: ../NEWS:19895 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 "" -#: ../NEWS:19858 +#: ../NEWS:19901 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 "" -#: ../NEWS:19862 +#: ../NEWS:19905 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 "" -#: ../NEWS:19866 +#: ../NEWS:19909 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 " @@ -34791,42 +34860,42 @@ msgid "" "env-changed`` option to mark the test as failed. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19872 +#: ../NEWS:19915 msgid "" ":issue:`43811`: Tests multiple OpenSSL versions on GitHub Actions. Use " "ccache to speed up testing." msgstr "" -#: ../NEWS:19875 +#: ../NEWS:19918 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 "" -#: ../NEWS:19881 +#: ../NEWS:19924 msgid "" ":issue:`43567`: Improved generated code refresh (AST/tokens/opcodes/" "keywords) on Windows." msgstr "" -#: ../NEWS:19884 +#: ../NEWS:19927 msgid "" ":issue:`43669`: Implement :pep:`644`. Python now requires OpenSSL 1.1.1 or " "newer." msgstr "" -#: ../NEWS:19890 +#: ../NEWS:19933 msgid "" ":issue:`35306`: Adds additional arguments to :func:`os.startfile` function." msgstr "" -#: ../NEWS:19892 +#: ../NEWS:19935 msgid "" ":issue:`43538`: Avoid raising errors from :meth:`pathlib.Path.exists` when " "passed an invalid filename." msgstr "" -#: ../NEWS:19895 +#: ../NEWS:19938 msgid "" ":issue:`38822`: Fixed :func:`os.stat` failing on inaccessible directories " "with a trailing slash, rather than falling back to the parent directory's " @@ -34834,40 +34903,40 @@ msgid "" "isdir`." msgstr "" -#: ../NEWS:19900 +#: ../NEWS:19943 msgid "" ":issue:`26227`: Fixed decoding of host names in :func:`socket.gethostbyaddr` " "and :func:`socket.gethostbyname_ex`." msgstr "" -#: ../NEWS:19903 +#: ../NEWS:19946 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 "" -#: ../NEWS:19907 +#: ../NEWS:19950 msgid "" ":issue:`43745`: Actually updates Windows release to OpenSSL 1.1.1k. Earlier " "releases were mislabelled and actually included 1.1.1i again." msgstr "" -#: ../NEWS:19910 +#: ../NEWS:19953 msgid ":issue:`43652`: Update Tcl and Tk to 8.6.11 in Windows installer." msgstr "" -#: ../NEWS:19912 +#: ../NEWS:19955 msgid ":issue:`43492`: Upgrade Windows installer to use SQLite 3.35.5." msgstr "" -#: ../NEWS:19914 +#: ../NEWS:19957 msgid "" ":issue:`30555`: Fix ``WindowsConsoleIO`` errors in the presence of fd " "redirection. Patch by Segev Finer." msgstr "" -#: ../NEWS:19920 +#: ../NEWS:19963 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``, " @@ -34878,11 +34947,11 @@ msgid "" "incorrectly treated as SDK locations." msgstr "" -#: ../NEWS:19928 +#: ../NEWS:19971 msgid ":issue:`43568`: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3" msgstr "" -#: ../NEWS:19930 +#: ../NEWS:19973 msgid "" ":issue:`44009`: Provide \"python3.x-intel64\" executable to allow reliably " "forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 " @@ -34890,24 +34959,24 @@ msgid "" "universal2 wheels are not yet available." msgstr "" -#: ../NEWS:19935 +#: ../NEWS:19978 msgid "" ":issue:`43851`: Build SQLite with ``SQLITE_OMIT_AUTOINIT`` on macOS. Patch " "by Erlend E. Aasland." msgstr "" -#: ../NEWS:19938 +#: ../NEWS:19981 msgid ":issue:`43492`: Update macOS installer to use SQLite 3.35.4." msgstr "" -#: ../NEWS:19940 +#: ../NEWS:19983 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 "" -#: ../NEWS:19947 +#: ../NEWS:19990 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 " @@ -34916,33 +34985,33 @@ msgid "" "selected text." msgstr "" -#: ../NEWS:19953 +#: ../NEWS:19996 msgid "" ":issue:`43981`: Fix reference leak in test_sidebar and test_squeezer. " "Patches by Terry Jan Reedy and Pablo Galindo" msgstr "" -#: ../NEWS:19956 +#: ../NEWS:19999 msgid ":issue:`37892`: Indent IDLE Shell input with spaces instead of tabs" msgstr "" -#: ../NEWS:19958 +#: ../NEWS:20001 msgid "" ":issue:`43655`: IDLE dialog windows are now recognized as dialogs by window " "managers on macOS and X Window." msgstr "" -#: ../NEWS:19961 +#: ../NEWS:20004 msgid ":issue:`37903`: IDLE's shell now shows prompts in a separate side-bar." msgstr "" -#: ../NEWS:19966 +#: ../NEWS:20009 msgid "" ":issue:`43916`: Add a new :c:macro:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type " "flag to disallow creating type instances. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19969 +#: ../NEWS:20012 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 " @@ -34951,7 +35020,7 @@ msgid "" "environment variable)." msgstr "" -#: ../NEWS:19975 +#: ../NEWS:20018 msgid "" ":issue:`43962`: _PyInterpreterState_IDIncref() now calls " "_PyInterpreterState_IDInitref() and always increments id_refcount. " @@ -34960,40 +35029,40 @@ msgid "" "deallocated. Patch by Victor Stinner." msgstr "" -#: ../NEWS:19981 +#: ../NEWS:20024 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 "" -#: ../NEWS:19986 +#: ../NEWS:20029 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 "" -#: ../NEWS:19990 +#: ../NEWS:20033 msgid "" ":issue:`43795`: :c:func:`PyMem_Calloc` is now available in the limited C API " "(``Py_LIMITED_API``)." msgstr "" -#: ../NEWS:19993 +#: ../NEWS:20036 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 "" -#: ../NEWS:19997 +#: ../NEWS:20040 msgid "" ":issue:`43795`: Stable ABI and limited API definitions are generated from a " "central manifest (:pep:`652`)." msgstr "" -#: ../NEWS:20000 +#: ../NEWS:20043 msgid "" ":issue:`43753`: Add the :c:func:`Py_Is(x, y) ` function to test if " "the *x* object is the *y* object, the same as ``x is y`` in Python. Add also " @@ -35002,15 +35071,15 @@ msgid "" "singleton or the ``False`` singleton. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20009 +#: ../NEWS:20052 msgid "Python 3.10.0 alpha 7" msgstr "" -#: ../NEWS:20011 +#: ../NEWS:20054 msgid "*Release date: 2021-04-05*" msgstr "" -#: ../NEWS:20016 +#: ../NEWS:20059 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 " @@ -35019,7 +35088,7 @@ msgid "" "David Schwörer." msgstr "" -#: ../NEWS:20022 +#: ../NEWS:20065 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 " @@ -35027,104 +35096,104 @@ msgid "" "combinations on the client network." msgstr "" -#: ../NEWS:20027 +#: ../NEWS:20070 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 "" -#: ../NEWS:20031 +#: ../NEWS:20074 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 "" -#: ../NEWS:20038 +#: ../NEWS:20081 msgid ":issue:`27129`: Update CPython bytecode magic number." msgstr "" -#: ../NEWS:20040 +#: ../NEWS:20083 msgid ":issue:`43672`: Raise ImportWarning when calling find_loader()." msgstr "" -#: ../NEWS:20042 +#: ../NEWS:20085 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 "" -#: ../NEWS:20046 +#: ../NEWS:20089 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 "" -#: ../NEWS:20050 +#: ../NEWS:20093 msgid "" ":issue:`40645`: Fix reference leak in the :mod:`!_hashopenssl` extension. " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20053 +#: ../NEWS:20096 msgid "" ":issue:`42134`: Calls to find_module() by the import system now raise " "ImportWarning." msgstr "" -#: ../NEWS:20056 +#: ../NEWS:20099 msgid "" ":issue:`41064`: Improve the syntax error for invalid usage of double starred " "elements ('**') in f-strings. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20059 +#: ../NEWS:20102 msgid "" ":issue:`43575`: Speed up calls to ``map()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:20062 +#: ../NEWS:20105 msgid "" ":issue:`42137`: The import system now prefers using ``__spec__`` for " "``ModuleType.__repr__`` over ``module_repr()``." msgstr "" -#: ../NEWS:20065 +#: ../NEWS:20108 msgid "" ":issue:`43452`: Added micro-optimizations to ``_PyType_Lookup()`` to improve " "cache lookup performance in the common case of cache hits." msgstr "" -#: ../NEWS:20068 +#: ../NEWS:20111 msgid "" ":issue:`43555`: Report the column offset for :exc:`SyntaxError` for invalid " "line continuation characters. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20071 +#: ../NEWS:20114 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 "" -#: ../NEWS:20075 +#: ../NEWS:20118 msgid "" ":issue:`43497`: Emit SyntaxWarnings for assertions with tuple constants, " "this is a regression introduced in python3.7" msgstr "" -#: ../NEWS:20078 +#: ../NEWS:20121 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 "" -#: ../NEWS:20082 +#: ../NEWS:20125 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:" @@ -35132,25 +35201,25 @@ msgid "" "as Unicode characters outside the [U+0000; U+10ffff] range." msgstr "" -#: ../NEWS:20087 +#: ../NEWS:20130 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 "" -#: ../NEWS:20090 +#: ../NEWS:20133 msgid "" ":issue:`43406`: Fix a possible race condition where ``PyErr_CheckSignals`` " "tries to execute a non-Python signal handler." msgstr "" -#: ../NEWS:20093 +#: ../NEWS:20136 msgid "" ":issue:`42128`: Add ``__match_args__`` to :ref:`struct sequence objects " "`. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20096 +#: ../NEWS:20139 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-" @@ -35160,13 +35229,13 @@ msgid "" "the vast majority of processes that don't use sigaltstack." msgstr "" -#: ../NEWS:20103 +#: ../NEWS:20146 msgid "" ":issue:`43287`: Speed up calls to ``filter()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:20106 +#: ../NEWS:20149 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 " @@ -35175,7 +35244,7 @@ msgid "" "significantly higher percentage of requests from its ultra-fast paths." msgstr "" -#: ../NEWS:20112 +#: ../NEWS:20155 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 " @@ -35183,17 +35252,17 @@ msgid "" "_Py_NO_SANITIZE_MEMORY. Those annotations are no longer needed." msgstr "" -#: ../NEWS:20117 +#: ../NEWS:20160 msgid "" "To disable the radix tree map, set a preprocessor flag as follows: ``-" "DWITH_PYMALLOC_RADIX_TREE=0``." msgstr "" -#: ../NEWS:20120 +#: ../NEWS:20163 msgid "Co-authored-by: Tim Peters " msgstr "" -#: ../NEWS:20122 +#: ../NEWS:20165 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 " @@ -35201,90 +35270,90 @@ msgid "" "interrupts." msgstr "" -#: ../NEWS:20130 +#: ../NEWS:20173 msgid "" ":issue:`43720`: Document various stdlib deprecations in imp, pkgutil, and " "importlib.util for removal in Python 3.12." msgstr "" -#: ../NEWS:20133 +#: ../NEWS:20176 msgid "" ":issue:`43433`: :class:`xmlrpc.client.ServerProxy` no longer ignores query " "and fragment in the URL of the server." msgstr "" -#: ../NEWS:20136 +#: ../NEWS:20179 msgid "" ":issue:`31956`: The :meth:`~array.array.index` method of :class:`array." "array` now has optional *start* and *stop* parameters." msgstr "" -#: ../NEWS:20139 +#: ../NEWS:20182 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 "" -#: ../NEWS:20143 +#: ../NEWS:20186 msgid "" ":issue:`42136`: Deprecate all module_repr() methods found in importlib as " "their use is being phased out by Python 3.12." msgstr "" -#: ../NEWS:20146 +#: ../NEWS:20189 msgid "" ":issue:`35930`: Raising an exception raised in a \"future\" instance will " "create reference cycles." msgstr "" -#: ../NEWS:20149 +#: ../NEWS:20192 msgid "" ":issue:`41369`: Finish updating the vendored libmpdec to version 2.5.1. " "Patch by Stefan Krah." msgstr "" -#: ../NEWS:20152 +#: ../NEWS:20195 msgid "" ":issue:`43422`: Revert the _decimal C API which was added in :issue:`41324`." msgstr "" -#: ../NEWS:20154 +#: ../NEWS:20197 msgid "" ":issue:`43577`: Fix deadlock when using :class:`ssl.SSLContext` debug " "callback with :meth:`ssl.SSLContext.sni_callback`." msgstr "" -#: ../NEWS:20157 +#: ../NEWS:20200 msgid "" ":issue:`43571`: It's now possible to create MPTCP sockets with IPPROTO_MPTCP" msgstr "" -#: ../NEWS:20159 +#: ../NEWS:20202 msgid "" ":issue:`43542`: ``image/heic`` and ``image/heif`` were added to :mod:" "`mimetypes`." msgstr "" -#: ../NEWS:20162 +#: ../NEWS:20205 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 "" -#: ../NEWS:20165 +#: ../NEWS:20208 msgid "" ":issue:`43510`: Implement :pep:`597`: Add ``EncodingWarning`` warning, ``-X " "warn_default_encoding`` option, :envvar:`PYTHONWARNDEFAULTENCODING` " "environment variable and ``encoding=\"locale\"`` argument value." msgstr "" -#: ../NEWS:20169 +#: ../NEWS:20212 msgid ":issue:`43521`: ``ast.unparse`` can now render NaNs and empty sets." msgstr "" -#: ../NEWS:20171 +#: ../NEWS:20214 msgid "" ":issue:`42914`: :func:`pprint.pprint` gains a new boolean " "``underscore_numbers`` optional argument to emit integers with thousands " @@ -35292,69 +35361,69 @@ msgid "" "``1_000_000`` instead of ``1000000``)." msgstr "" -#: ../NEWS:20176 +#: ../NEWS:20219 msgid "" ":issue:`41361`: :meth:`~collections.deque.rotate` calls are now slightly " "faster due to faster argument parsing." msgstr "" -#: ../NEWS:20179 +#: ../NEWS:20222 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 "" -#: ../NEWS:20183 +#: ../NEWS:20226 msgid "" ":issue:`27820`: Fixed long-standing bug of smtplib.SMTP where doing AUTH " "LOGIN with initial_response_ok=False will fail." msgstr "" -#: ../NEWS:20186 +#: ../NEWS:20229 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 "" -#: ../NEWS:20190 +#: ../NEWS:20233 msgid "Also fixes bug with the test for smtpd." msgstr "" -#: ../NEWS:20192 +#: ../NEWS:20235 msgid "" ":issue:`43445`: Add frozen modules to :data:`sys.stdlib_module_names`. For " "example, add ``\"_frozen_importlib\"`` and " "``\"_frozen_importlib_external\"`` names." msgstr "" -#: ../NEWS:20196 +#: ../NEWS:20239 msgid "" ":issue:`43245`: Add keyword arguments support to ``ChainMap.new_child()``." msgstr "" -#: ../NEWS:20198 +#: ../NEWS:20241 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 "" -#: ../NEWS:20202 +#: ../NEWS:20245 msgid "" ":issue:`43428`: Include changes from `importlib_metadata 3.7 `_:" msgstr "" -#: ../NEWS:20205 +#: ../NEWS:20248 msgid "Performance enhancements to distribution discovery." msgstr "" -#: ../NEWS:20207 +#: ../NEWS:20250 msgid "``entry_points`` only returns unique distributions." msgstr "" -#: ../NEWS:20209 +#: ../NEWS:20252 msgid "" "Introduces new ``EntryPoints`` object for containing a set of entry points " "with convenience methods for selecting entry points by group or name. " @@ -35364,38 +35433,38 @@ msgid "" "likely to be deprecated in the future." msgstr "" -#: ../NEWS:20216 +#: ../NEWS:20259 msgid "" "Added packages_distributions function to return a mapping of packages to the " "distributions that provide them." msgstr "" -#: ../NEWS:20219 +#: ../NEWS:20262 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 "" -#: ../NEWS:20223 +#: ../NEWS:20266 msgid "" ":issue:`43420`: Improve performance of :class:`fractions.Fraction` " "arithmetics for large components. Contributed by Sergey B. Kirpichev." msgstr "" -#: ../NEWS:20226 +#: ../NEWS:20269 msgid "" ":issue:`43356`: Allow passing a signal number to ``_thread." "interrupt_main()``." msgstr "" -#: ../NEWS:20228 +#: ../NEWS:20271 msgid "" ":issue:`43399`: Fix ``ElementTree.extend`` not working on iterators when " "using the Python implementation" msgstr "" -#: ../NEWS:20231 +#: ../NEWS:20274 msgid "" ":issue:`43369`: Improve :mod:`sqlite3` error handling: If " "``sqlite3_column_text()`` and ``sqlite3_column_blob()`` set " @@ -35403,63 +35472,63 @@ msgid "" "Aasland." msgstr "" -#: ../NEWS:20236 +#: ../NEWS:20279 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 "" -#: ../NEWS:20240 +#: ../NEWS:20283 msgid "" ":issue:`41282`: Fixed stacklevel of ``DeprecationWarning`` emitted from " "``import distutils``." msgstr "" -#: ../NEWS:20243 +#: ../NEWS:20286 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 "" -#: ../NEWS:20248 +#: ../NEWS:20291 msgid "" ":issue:`43295`: :meth:`datetime.datetime.strptime` now raises ``ValueError`` " "instead of ``IndexError`` when matching ``'z'`` with the ``%z`` format " "specifier." msgstr "" -#: ../NEWS:20252 +#: ../NEWS:20295 msgid "" ":issue:`43125`: Return empty string if base64mime.body_encode receive empty " "bytes" msgstr "" -#: ../NEWS:20255 +#: ../NEWS:20298 msgid "" ":issue:`43084`: :func:`curses.window.enclose` returns now ``True`` or " "``False`` (as was documented) instead of ``1`` or ``0``." msgstr "" -#: ../NEWS:20258 +#: ../NEWS:20301 msgid ":issue:`42994`: Add MIME types for opus, AAC, 3gpp and 3gpp2" msgstr "" -#: ../NEWS:20260 +#: ../NEWS:20303 msgid "" ":issue:`14678`: Add an invalidate_caches() method to the zipimport." "zipimporter class to support importlib.invalidate_caches(). Patch by Desmond " "Cheong." msgstr "" -#: ../NEWS:20263 +#: ../NEWS:20306 msgid "" ":issue:`42782`: Fail fast in :func:`shutil.move` to avoid creating " "destination directories on failure." msgstr "" -#: ../NEWS:20266 +#: ../NEWS:20309 msgid "" ":issue:`40066`: Enum's ``repr()`` and ``str()`` have changed: ``repr()`` is " "now *EnumClass.MemberName* and ``str()`` is *MemberName*. Additionally, " @@ -35468,20 +35537,20 @@ msgid "" "IGNORECASE``." msgstr "" -#: ../NEWS:20272 +#: ../NEWS:20315 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 "" -#: ../NEWS:20276 +#: ../NEWS:20319 msgid "" ":issue:`24160`: Fixed bug where breakpoints did not persist across multiple " "debugger sessions in :mod:`pdb`'s interactive mode." msgstr "" -#: ../NEWS:20279 +#: ../NEWS:20322 msgid "" ":issue:`40701`: When the :data:`tempfile.tempdir` global variable is set to " "a value of type bytes, it is now handled consistently. Previously " @@ -35491,26 +35560,26 @@ msgid "" "``str`` and ``bytes`` respectively." msgstr "" -#: ../NEWS:20286 +#: ../NEWS:20329 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 "" -#: ../NEWS:20291 +#: ../NEWS:20334 msgid "" ":issue:`31861`: Add builtins.aiter and builtins.anext. Patch by Joshua " "Bronson (@jab), Daniel Pope (@lordmauve), and Justin Wang (@justin39)." msgstr "" -#: ../NEWS:20297 +#: ../NEWS:20340 msgid "" ":issue:`43199`: Answer \"Why is there no goto?\" in the Design and History " "FAQ." msgstr "" -#: ../NEWS:20299 +#: ../NEWS:20342 msgid "" ":issue:`43407`: Clarified that a result from :func:`time.monotonic`, :func:" "`time.perf_counter`, :func:`time.process_time`, or :func:`time.thread_time` " @@ -35518,53 +35587,53 @@ msgid "" "- not just the next immediate call." msgstr "" -#: ../NEWS:20304 +#: ../NEWS:20347 msgid "" ":issue:`43354`: Fix type documentation for ``Fault.faultCode``; the type has " "to be ``int`` instead of ``str``." msgstr "" -#: ../NEWS:20307 +#: ../NEWS:20350 msgid "" ":issue:`41933`: Clarified wording of s * n in the Common Sequence Operations" msgstr "" -#: ../NEWS:20312 +#: ../NEWS:20355 msgid "" ":issue:`37945`: Fix test_getsetlocale_issue1813() of test_locale: skip the " "test if ``setlocale()`` fails. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20315 +#: ../NEWS:20358 msgid "" ":issue:`41561`: Add workaround for Ubuntu's custom OpenSSL security level " "policy." msgstr "" -#: ../NEWS:20321 +#: ../NEWS:20364 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 "" -#: ../NEWS:20325 +#: ../NEWS:20368 msgid ":issue:`43631`: Update macOS, Windows, and CI to OpenSSL 1.1.1k." msgstr "" -#: ../NEWS:20327 +#: ../NEWS:20370 msgid "" ":issue:`43617`: Improve configure.ac: Check for presence of autoconf-archive " "package and remove our copies of M4 macros." msgstr "" -#: ../NEWS:20330 +#: ../NEWS:20373 msgid "" ":issue:`43466`: The ``configure`` script now supports ``--with-openssl-" "rpath`` option." msgstr "" -#: ../NEWS:20333 +#: ../NEWS:20376 msgid "" ":issue:`43372`: Use ``_freeze_importlib`` to generate code for the " "``__hello__`` module. This approach ensures the code matches the interpreter " @@ -35574,20 +35643,20 @@ msgid "" "ctypes test_frozentable." msgstr "" -#: ../NEWS:20343 +#: ../NEWS:20386 msgid "" ":issue:`43440`: Build :mod:`sqlite3` with the ``R*Tree`` module enabled. " "Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:20349 +#: ../NEWS:20392 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 "" -#: ../NEWS:20356 +#: ../NEWS:20399 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, " @@ -35600,91 +35669,91 @@ msgid "" "`36465`)." msgstr "" -#: ../NEWS:20366 +#: ../NEWS:20409 msgid "" "The limited C API is still not supported in the ``--with-trace-refs`` " "special build (``Py_TRACE_REFS`` macro)." msgstr "" -#: ../NEWS:20371 +#: ../NEWS:20414 msgid ":issue:`43244`: Remove the ``pyarena.h`` header file with functions:" msgstr "" -#: ../NEWS:20373 +#: ../NEWS:20416 msgid "``PyArena_New()``" msgstr "" -#: ../NEWS:20374 +#: ../NEWS:20417 msgid "``PyArena_Free()``" msgstr "" -#: ../NEWS:20375 +#: ../NEWS:20418 msgid "``PyArena_Malloc()``" msgstr "" -#: ../NEWS:20376 +#: ../NEWS:20419 msgid "``PyArena_AddPyObject()``" msgstr "" -#: ../NEWS:20378 +#: ../NEWS:20421 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20381 +#: ../NEWS:20424 msgid "" ":issue:`43244`: Remove the compiler and parser functions using ``struct " "_mod`` type, because the public AST C API was removed:" msgstr "" -#: ../NEWS:20384 +#: ../NEWS:20427 msgid "``PyAST_Compile()``" msgstr "" -#: ../NEWS:20385 +#: ../NEWS:20428 msgid "``PyAST_CompileEx()``" msgstr "" -#: ../NEWS:20386 +#: ../NEWS:20429 msgid "``PyAST_CompileObject()``" msgstr "" -#: ../NEWS:20387 +#: ../NEWS:20430 msgid "``PyFuture_FromAST()``" msgstr "" -#: ../NEWS:20388 +#: ../NEWS:20431 msgid "``PyFuture_FromASTObject()``" msgstr "" -#: ../NEWS:20389 +#: ../NEWS:20432 msgid "``PyParser_ASTFromFile()``" msgstr "" -#: ../NEWS:20390 +#: ../NEWS:20433 msgid "``PyParser_ASTFromFileObject()``" msgstr "" -#: ../NEWS:20391 +#: ../NEWS:20434 msgid "``PyParser_ASTFromFilename()``" msgstr "" -#: ../NEWS:20392 +#: ../NEWS:20435 msgid "``PyParser_ASTFromString()``" msgstr "" -#: ../NEWS:20393 +#: ../NEWS:20436 msgid "``PyParser_ASTFromStringObject()``" msgstr "" -#: ../NEWS:20395 +#: ../NEWS:20438 msgid "" "These functions were undocumented and excluded from the limited C API. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:20398 +#: ../NEWS:20441 msgid "" ":issue:`43244`: Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header " "files. These functions were undocumented and excluded from the limited C " @@ -35695,54 +35764,54 @@ msgid "" "Patch by Victor Stinner." msgstr "" -#: ../NEWS:20406 +#: ../NEWS:20449 msgid "" ":issue:`43541`: Fix a ``PyEval_EvalCodeEx()`` regression: fix reference " "counting on builtins. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20409 +#: ../NEWS:20452 msgid "" ":issue:`43244`: Remove the ``symtable.h`` header file and the undocumented " "functions:" msgstr "" -#: ../NEWS:20412 +#: ../NEWS:20455 msgid "``PyST_GetScope()``" msgstr "" -#: ../NEWS:20413 +#: ../NEWS:20456 msgid "``PySymtable_Build()``" msgstr "" -#: ../NEWS:20414 +#: ../NEWS:20457 msgid "``PySymtable_BuildObject()``" msgstr "" -#: ../NEWS:20415 +#: ../NEWS:20458 msgid "``PySymtable_Free()``" msgstr "" -#: ../NEWS:20416 +#: ../NEWS:20459 msgid "``Py_SymtableString()``" msgstr "" -#: ../NEWS:20417 +#: ../NEWS:20460 msgid "``Py_SymtableStringObject()``" msgstr "" -#: ../NEWS:20419 +#: ../NEWS:20462 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 "" -#: ../NEWS:20423 +#: ../NEWS:20466 msgid "The Python :mod:`symtable` module remains available and is unchanged." msgstr "" -#: ../NEWS:20427 +#: ../NEWS:20470 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 " @@ -35750,42 +35819,42 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:20434 +#: ../NEWS:20477 msgid "Python 3.10.0 alpha 6" msgstr "" -#: ../NEWS:20436 +#: ../NEWS:20479 msgid "*Release date: 2021-03-01*" msgstr "" -#: ../NEWS:20441 +#: ../NEWS:20484 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 "" -#: ../NEWS:20448 +#: ../NEWS:20491 msgid "" ":issue:`43321`: Fix ``SystemError`` raised when ``PyArg_Parse*()`` is used " "with ``#`` but without ``PY_SSIZE_T_CLEAN`` defined." msgstr "" -#: ../NEWS:20451 +#: ../NEWS:20494 msgid "" ":issue:`36346`: ``PyArg_Parse*()`` functions now emits " "``DeprecationWarning`` when ``u`` or ``Z`` format is used. See :pep:`623` " "for detail." msgstr "" -#: ../NEWS:20454 +#: ../NEWS:20497 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 "" -#: ../NEWS:20458 +#: ../NEWS:20501 msgid "" ":issue:`42990`: The :data:`types.FunctionType` constructor now inherits the " "current builtins if the *globals* dictionary has no ``\"__builtins__\"`` " @@ -35796,7 +35865,7 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:20466 +#: ../NEWS:20509 msgid "" ":issue:`42990`: Functions have a new ``__builtins__`` attribute which is " "used to look for builtin symbols when a function is executed, instead of " @@ -35804,19 +35873,19 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:20471 +#: ../NEWS:20514 msgid "" ":issue:`43149`: Improve the error message in the parser for exception groups " "without parentheses. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20474 +#: ../NEWS:20517 msgid "" ":issue:`43121`: Fixed an incorrect :exc:`SyntaxError` message for missing " "comma in literals. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20477 +#: ../NEWS:20520 msgid "" ":issue:`42819`: :mod:`readline`: Explicitly disable bracketed paste in the " "interactive interpreter, even if it's set in the inputrc, is enabled by " @@ -35829,32 +35898,32 @@ msgid "" "Rodrigues." msgstr "" -#: ../NEWS:20487 +#: ../NEWS:20530 msgid "" ":issue:`42808`: Simple calls to ``type(object)`` are now faster due to the " "``vectorcall`` calling convention. Patch by Dennis Sweeney." msgstr "" -#: ../NEWS:20490 +#: ../NEWS:20533 msgid "" ":issue:`42217`: Make the compiler merges same co_code and co_linetable " "objects in a module like already did for co_consts." msgstr "" -#: ../NEWS:20493 +#: ../NEWS:20536 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 "" -#: ../NEWS:20497 +#: ../NEWS:20540 msgid "" ":issue:`42128`: Implement :pep:`634` (structural pattern matching). Patch by " "Brandt Bucher." msgstr "" -#: ../NEWS:20500 +#: ../NEWS:20543 msgid "" ":issue:`40692`: In the :class:`concurrent.futures.ProcessPoolExecutor`, " "validate that :func:`multiprocess.synchronize` is available on a given " @@ -35863,61 +35932,61 @@ msgid "" "those platforms." msgstr "" -#: ../NEWS:20506 +#: ../NEWS:20549 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 "" -#: ../NEWS:20513 +#: ../NEWS:20556 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 "" -#: ../NEWS:20517 +#: ../NEWS:20560 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 "" -#: ../NEWS:20521 +#: ../NEWS:20564 msgid "" ":issue:`43146`: Handle None in single-arg versions of :func:`~traceback." "print_exception` and :func:`~traceback.format_exception`." msgstr "" -#: ../NEWS:20525 +#: ../NEWS:20568 msgid "" ":issue:`43260`: Fix TextIOWrapper can not flush internal buffer forever " "after very large text is written." msgstr "" -#: ../NEWS:20528 +#: ../NEWS:20571 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 "" -#: ../NEWS:20532 +#: ../NEWS:20575 msgid "" ":issue:`43251`: Improve :mod:`sqlite3` error handling: " "``sqlite3_column_name()`` failures now result in :exc:`MemoryError`. Patch " "by Erlend E. Aasland." msgstr "" -#: ../NEWS:20536 +#: ../NEWS:20579 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 "" -#: ../NEWS:20540 +#: ../NEWS:20583 msgid "" ":issue:`43172`: The readline module now passes its tests when built directly " "against libedit. Existing irreconcilable API differences remain in :func:" @@ -35925,46 +35994,46 @@ msgid "" "libreadline vs libedit use." msgstr "" -#: ../NEWS:20545 +#: ../NEWS:20588 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 "" -#: ../NEWS:20549 +#: ../NEWS:20592 msgid "" ":issue:`43162`: deprecate unsupported ability to access enum members as " "attributes of other enum members" msgstr "" -#: ../NEWS:20552 +#: ../NEWS:20595 msgid "" ":issue:`43146`: Fix recent regression in None argument handling in :mod:" "`~traceback` module functions." msgstr "" -#: ../NEWS:20555 +#: ../NEWS:20598 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 "" -#: ../NEWS:20559 +#: ../NEWS:20602 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 "" -#: ../NEWS:20563 +#: ../NEWS:20606 msgid "" ":issue:`42960`: Adds :const:`resource.RLIMIT_KQUEUES` constant from FreeBSD " "to the :mod:`resource` module." msgstr "" -#: ../NEWS:20566 +#: ../NEWS:20609 msgid "" ":issue:`42151`: Make the pure Python implementation of :mod:`xml.etree." "ElementTree` behave the same as the C implementation (:mod:`!_elementree`) " @@ -35972,54 +36041,54 @@ msgid "" "``specified_attributes=1``)." msgstr "" -#: ../NEWS:20571 +#: ../NEWS:20614 msgid "" ":issue:`29753`: In ctypes, now packed bitfields are calculated properly and " "the first item of packed bitfields is now shrank correctly." msgstr "" -#: ../NEWS:20577 +#: ../NEWS:20620 msgid "" ":issue:`27646`: Clarify that 'yield from ' works with any iterable, " "not just iterators." msgstr "" -#: ../NEWS:20580 +#: ../NEWS:20623 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 "" -#: ../NEWS:20586 +#: ../NEWS:20629 msgid "" ":issue:`43288`: Fix test_importlib to correctly skip Unicode file tests if " "the filesystem does not support them." msgstr "" -#: ../NEWS:20592 +#: ../NEWS:20635 msgid ":issue:`43174`: Windows build now uses ``/utf-8`` compiler option." msgstr "" -#: ../NEWS:20594 +#: ../NEWS:20637 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 "" -#: ../NEWS:20598 +#: ../NEWS:20641 msgid "" ":issue:`13501`: The configure script can now use *libedit* instead of " "*readline* with the command line option ``--with-readline=editline``." msgstr "" -#: ../NEWS:20601 +#: ../NEWS:20644 msgid "" ":issue:`42603`: Make configure script use pkg-config to detect the location " "of Tcl/Tk headers and libraries, used to build tkinter." msgstr "" -#: ../NEWS:20604 +#: ../NEWS:20647 msgid "" "On macOS, a Tcl/Tk configuration provided by pkg-config will be preferred " "over Tcl/Tk frameworks installed in ``/{System/,}Library/Frameworks``. If " @@ -36027,41 +36096,41 @@ msgid "" "configuration options need to be explicitly set." msgstr "" -#: ../NEWS:20609 +#: ../NEWS:20652 msgid "" ":issue:`39448`: Add the \"regen-frozen\" makefile target that regenerates " "the code for the frozen ``__hello__`` module." msgstr "" -#: ../NEWS:20615 +#: ../NEWS:20658 msgid "" ":issue:`43155`: :c:func:`PyCMethod_New` is now present in ``python3.lib``." msgstr "" -#: ../NEWS:20620 +#: ../NEWS:20663 msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1j." msgstr "" -#: ../NEWS:20625 +#: ../NEWS:20668 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 "" -#: ../NEWS:20632 +#: ../NEWS:20675 msgid "" ":issue:`43278`: Always put compiler and system information on the first line " "of the REPL welcome message." msgstr "" -#: ../NEWS:20635 +#: ../NEWS:20678 msgid "" ":issue:`43270`: Remove the private ``_PyErr_OCCURRED()`` macro: use the " "public :c:func:`PyErr_Occurred` function instead." msgstr "" -#: ../NEWS:20638 +#: ../NEWS:20681 msgid "" ":issue:`35134`: Move odictobject.h, parser_interface.h, picklebufobject.h, " "pydebug.h, and pyfpe.h into the cpython/ directory. They must not be " @@ -36069,124 +36138,124 @@ msgid "" "Files `." msgstr "" -#: ../NEWS:20643 +#: ../NEWS:20686 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 `." msgstr "" -#: ../NEWS:20647 +#: ../NEWS:20690 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 "" -#: ../NEWS:20651 +#: ../NEWS:20694 msgid "" ":issue:`43239`: The :c:func:`PyCFunction_New` function is now exported in " "the ABI when compiled with ``-fvisibility=hidden``." msgstr "" -#: ../NEWS:20654 +#: ../NEWS:20697 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 "" -#: ../NEWS:20658 +#: ../NEWS:20701 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 "" -#: ../NEWS:20663 +#: ../NEWS:20706 msgid "" ":issue:`43181`: Convert :c:func:`PyObject_TypeCheck` macro to a static " "inline function. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:20668 +#: ../NEWS:20711 msgid "Python 3.10.0 alpha 5" msgstr "" -#: ../NEWS:20670 +#: ../NEWS:20713 msgid "*Release date: 2021-02-02*" msgstr "" -#: ../NEWS:20675 +#: ../NEWS:20718 msgid "" ":issue:`42938`: Avoid static buffers when computing the repr of :class:" "`ctypes.c_double` and :class:`ctypes.c_longdouble` values." msgstr "" -#: ../NEWS:20681 +#: ../NEWS:20724 msgid ":issue:`42990`: Refactor the ``PyEval_`` family of functions." msgstr "" -#: ../NEWS:20683 +#: ../NEWS:20726 msgid "" "An new function ``_PyEval_Vector`` is added to simplify calls to Python from " "C." msgstr "" -#: ../NEWS:20684 +#: ../NEWS:20727 msgid "``_PyEval_EvalCodeWithName`` is removed" msgstr "" -#: ../NEWS:20685 +#: ../NEWS:20728 msgid "" "``PyEval_EvalCodeEx`` is retained as part of the API, but is not used " "internally" msgstr "" -#: ../NEWS:20687 +#: ../NEWS:20730 msgid "" ":issue:`38631`: Replace :c:func:`Py_FatalError` calls in the compiler with " "regular :exc:`SystemError` exceptions. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20690 +#: ../NEWS:20733 msgid "" ":issue:`42997`: Improve error message for missing \":\" before blocks. Patch " "by Pablo Galindo." msgstr "" -#: ../NEWS:20693 +#: ../NEWS:20736 msgid "" ":issue:`43017`: Improve error message in the parser when using un-" "parenthesised tuples in comprehensions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20696 +#: ../NEWS:20739 msgid "" ":issue:`42986`: Fix parser crash when reporting syntax errors in f-string " "with newlines. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20699 +#: ../NEWS:20742 msgid "" ":issue:`40176`: Syntax errors for unterminated string literals now point to " "the start of the string instead of reporting EOF/EOL." msgstr "" -#: ../NEWS:20702 +#: ../NEWS:20745 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 "" -#: ../NEWS:20706 +#: ../NEWS:20749 msgid "" ":issue:`42864`: Improve error messages in the parser when parentheses are " "not closed. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:20709 +#: ../NEWS:20752 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. " @@ -36194,7 +36263,7 @@ msgid "" "byte string)." msgstr "" -#: ../NEWS:20714 +#: ../NEWS:20757 msgid "" ":issue:`42882`: Fix the :c:func:`!_PyUnicode_FromId` function " "(_Py_IDENTIFIER(var) API) when :c:func:`Py_Initialize` / :c:func:" @@ -36202,87 +36271,87 @@ msgid "" "next_index`` value." msgstr "" -#: ../NEWS:20719 +#: ../NEWS:20762 msgid "" ":issue:`42827`: Fix a crash when working out the error line of a :exc:" "`SyntaxError` in some multi-line expressions." msgstr "" -#: ../NEWS:20722 +#: ../NEWS:20765 msgid "" ":issue:`42823`: frame.f_lineno is correct even if frame.f_trace is set to " "True" msgstr "" -#: ../NEWS:20724 +#: ../NEWS:20767 msgid "" ":issue:`37324`: Remove deprecated aliases to :ref:`collections-abstract-base-" "classes` from the :mod:`collections` module." msgstr "" -#: ../NEWS:20728 +#: ../NEWS:20771 msgid "" ":issue:`41994`: Fixed possible leak in ``import`` when ``sys.modules`` is " "not a ``dict``." msgstr "" -#: ../NEWS:20731 +#: ../NEWS:20774 msgid "" ":issue:`27772`: In string formatting, preceding the *width* field by ``'0'`` " "no longer affects the default alignment for strings." msgstr "" -#: ../NEWS:20737 +#: ../NEWS:20780 msgid "" ":issue:`43108`: Fixed a reference leak in the :mod:`curses` module. Patch by " "Pablo Galindo" msgstr "" -#: ../NEWS:20740 +#: ../NEWS:20783 msgid "" ":issue:`43077`: Update the bundled pip to 21.0.1 and setuptools to 52.0.0." msgstr "" -#: ../NEWS:20742 +#: ../NEWS:20785 msgid "" ":issue:`41282`: Deprecate ``distutils`` in documentation and add warning on " "import." msgstr "" -#: ../NEWS:20745 +#: ../NEWS:20788 msgid "" ":issue:`43014`: Improve performance of :mod:`tokenize` by 20-30%. Patch by " "Anthony Sottile." msgstr "" -#: ../NEWS:20748 +#: ../NEWS:20791 msgid ":issue:`42323`: Fix :func:`math.nextafter` for NaN on AIX." msgstr "" -#: ../NEWS:20750 +#: ../NEWS:20793 msgid "" ":issue:`42955`: Add :data:`sys.stdlib_module_names`, containing the list of " "the standard library module names. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20753 +#: ../NEWS:20796 msgid "" ":issue:`42944`: Fix ``random.Random.sample`` when ``counts`` argument is not " "``None``." msgstr "" -#: ../NEWS:20756 +#: ../NEWS:20799 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 "" -#: ../NEWS:20760 +#: ../NEWS:20803 msgid ":issue:`42931`: Add :func:`randbytes` to ``random.__all__``." msgstr "" -#: ../NEWS:20762 +#: ../NEWS:20805 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 " @@ -36291,7 +36360,7 @@ msgid "" "value. Iteration for both Flag and Flag members is in definition order." msgstr "" -#: ../NEWS:20769 +#: ../NEWS:20812 msgid "" ":issue:`42877`: Added the ``compact`` parameter to the constructor of :class:" "`traceback.TracebackException` to reduce time and memory for use cases that " @@ -36299,80 +36368,80 @@ msgid "" "`TracebackException.format_exception_only`." msgstr "" -#: ../NEWS:20774 +#: ../NEWS:20817 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 "" -#: ../NEWS:20778 +#: ../NEWS:20821 msgid "" ":issue:`42848`: Removed recursion from :class:`~traceback." "TracebackException` to allow it to handle long exception chains." msgstr "" -#: ../NEWS:20781 +#: ../NEWS:20824 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 "" -#: ../NEWS:20785 +#: ../NEWS:20828 msgid "" ":issue:`42780`: Fix os.set_inheritable() for O_PATH file descriptors on " "Linux." msgstr "" -#: ../NEWS:20787 +#: ../NEWS:20830 msgid "" ":issue:`42866`: Fix a reference leak in the ``getcodec()`` function of CJK " "codecs. Patch by Victor Stinner." msgstr "" -#: ../NEWS:20790 +#: ../NEWS:20833 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 "" -#: ../NEWS:20794 +#: ../NEWS:20837 msgid ":issue:`42851`: remove __init_subclass__ support for Enum members" msgstr "" -#: ../NEWS:20796 +#: ../NEWS:20839 msgid "" ":issue:`42834`: Make internal caches of the ``_json`` module compatible with " "subinterpreters." msgstr "" -#: ../NEWS:20799 +#: ../NEWS:20842 msgid "" ":issue:`41748`: Fix HTMLParser parsing rules for element attributes " "containing commas with spaces. Patch by Karl Dubost." msgstr "" -#: ../NEWS:20802 +#: ../NEWS:20845 msgid "" ":issue:`40810`: Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:20804 +#: ../NEWS:20847 msgid "" ":issue:`1635741`: Convert the _multibytecodec extension module (CJK codecs) " "to multi-phase initialization (:pep:`489`). Patch by Erlend E. Aasland." msgstr "" -#: ../NEWS:20807 +#: ../NEWS:20850 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 "" -#: ../NEWS:20811 +#: ../NEWS:20854 msgid "" ":issue:`24464`: The undocumented built-in function ``sqlite3." "enable_shared_cache`` is now deprecated, scheduled for removal in Python " @@ -36380,39 +36449,39 @@ msgid "" "by Erlend E. Aasland." msgstr "" -#: ../NEWS:20816 +#: ../NEWS:20859 msgid "" ":issue:`42384`: Make pdb populate sys.path[0] exactly the same as regular " "python execution." msgstr "" -#: ../NEWS:20819 +#: ../NEWS:20862 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 "" -#: ../NEWS:20823 +#: ../NEWS:20866 msgid "" ":issue:`42005`: Fix CLI of :mod:`cProfile` and :mod:`profile` to catch :exc:" "`BrokenPipeError`." msgstr "" -#: ../NEWS:20826 +#: ../NEWS:20869 msgid "" ":issue:`41604`: Don't decrement the reference count of the previous user_ptr " "when set_panel_userptr fails." msgstr "" -#: ../NEWS:20829 +#: ../NEWS:20872 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 "" -#: ../NEWS:20833 +#: ../NEWS:20876 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 " @@ -36420,69 +36489,69 @@ msgid "" "Patch by Aviral Srivastava." msgstr "" -#: ../NEWS:20838 +#: ../NEWS:20881 msgid "" ":issue:`39273`: The ``BUTTON5_*`` constants are now exposed in the :mod:" "`curses` module if available." msgstr "" -#: ../NEWS:20841 +#: ../NEWS:20884 msgid "" ":issue:`33289`: Correct call to :mod:`tkinter.colorchooser` to return RGB " "triplet of ints instead of floats. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:20847 +#: ../NEWS:20890 msgid "" ":issue:`40304`: Fix doc for type(name, bases, dict). Patch by Boris " "Verkhovskiy and Éric Araujo." msgstr "" -#: ../NEWS:20850 +#: ../NEWS:20893 msgid "" ":issue:`42811`: Updated importlib.util.resolve_name() doc to use __spec__." "parent instead of __package__. (Thanks Yair Frid.)" msgstr "" -#: ../NEWS:20856 +#: ../NEWS:20899 msgid "" ":issue:`40823`: Use :meth:`unittest.TestLoader().loadTestsFromTestCase` " "instead of :meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:20860 +#: ../NEWS:20903 msgid "" ":issue:`40810`: In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for " "SQLite pre 3.7.15." msgstr "" -#: ../NEWS:20866 +#: ../NEWS:20909 msgid "" ":issue:`43031`: Pass ``--timeout=$(TESTTIMEOUT)`` option to the default " "profile task ``./python -m test --pgo`` command." msgstr "" -#: ../NEWS:20869 +#: ../NEWS:20912 msgid "" ":issue:`36143`: ``make regen-all`` now also runs ``regen-keyword``. Patch by " "Victor Stinner." msgstr "" -#: ../NEWS:20872 +#: ../NEWS:20915 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 "" -#: ../NEWS:20876 +#: ../NEWS:20919 msgid "" ":issue:`31904`: Add library search path by wr-cc in " "add_cross_compiling_paths() for VxWorks." msgstr "" -#: ../NEWS:20879 +#: ../NEWS:20922 msgid "" ":issue:`42856`: Add ``--with-wheel-pkg-dir=PATH`` option to the ``./" "configure`` script. If specified, the :mod:`ensurepip` module looks for " @@ -36491,7 +36560,7 @@ msgid "" "packages." msgstr "" -#: ../NEWS:20884 +#: ../NEWS:20927 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" @@ -36499,45 +36568,45 @@ msgid "" "_bundled`` package." msgstr "" -#: ../NEWS:20892 +#: ../NEWS:20935 msgid ":issue:`41837`: Updated Windows installer to include OpenSSL 1.1.1i" msgstr "" -#: ../NEWS:20894 +#: ../NEWS:20937 msgid ":issue:`42584`: Upgrade Windows installer to use SQLite 3.34.0." msgstr "" -#: ../NEWS:20899 +#: ../NEWS:20942 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 "" -#: ../NEWS:20906 +#: ../NEWS:20949 msgid "" ":issue:`43008`: Make IDLE invoke :func:`sys.excepthook` in normal, 2-process " "mode. Patch by Ken Hilton." msgstr "" -#: ../NEWS:20909 +#: ../NEWS:20952 msgid "" ":issue:`33065`: Fix problem debugging user classes with __repr__ method." msgstr "" -#: ../NEWS:20911 +#: ../NEWS:20954 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 "" -#: ../NEWS:20914 +#: ../NEWS:20957 msgid "" ":issue:`32631`: Finish zzdummy example extension module: make menu entries " "work; add docstrings and tests with 100% coverage." msgstr "" -#: ../NEWS:20920 +#: ../NEWS:20963 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 " @@ -36546,98 +36615,98 @@ msgid "" "and the current exception (if an exception is set). Patch by Victor Stinner." msgstr "" -#: ../NEWS:20926 +#: ../NEWS:20969 msgid "" ":issue:`43030`: Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` " "on platforms with signed :c:type:`wchar_t`." msgstr "" -#: ../NEWS:20931 +#: ../NEWS:20974 msgid "Python 3.10.0 alpha 4" msgstr "" -#: ../NEWS:20933 +#: ../NEWS:20976 msgid "*Release date: 2021-01-04*" msgstr "" -#: ../NEWS:20938 +#: ../NEWS:20981 msgid "" ":issue:`42814`: Fix undefined behavior in ``Objects/genericaliasobject.c``." msgstr "" -#: ../NEWS:20940 +#: ../NEWS:20983 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 "" -#: ../NEWS:20944 +#: ../NEWS:20987 msgid "" ":issue:`40631`: Fix regression where a single parenthesized starred " "expression was a valid assignment target." msgstr "" -#: ../NEWS:20947 +#: ../NEWS:20990 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 "" -#: ../NEWS:20951 +#: ../NEWS:20994 msgid "" ":issue:`42745`: Make the type attribute lookup cache per-interpreter. Patch " "by Victor Stinner." msgstr "" -#: ../NEWS:20954 +#: ../NEWS:20997 msgid "" ":issue:`42246`: Jumps to jumps are not eliminated when it would break PEP " "626." msgstr "" -#: ../NEWS:20956 +#: ../NEWS:20999 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 "" -#: ../NEWS:20960 +#: ../NEWS:21003 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 "" -#: ../NEWS:20964 +#: ../NEWS:21007 msgid "" ":issue:`30858`: Improve error location in expressions that contain " "assignments. Patch by Pablo Galindo and Lysandros Nikolaou." msgstr "" -#: ../NEWS:20967 +#: ../NEWS:21010 msgid "" ":issue:`42615`: Remove jump commands made redundant by the deletion of " "unreachable bytecode blocks" msgstr "" -#: ../NEWS:20970 +#: ../NEWS:21013 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 "" -#: ../NEWS:20974 +#: ../NEWS:21017 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 "" -#: ../NEWS:20978 +#: ../NEWS:21021 msgid "" ":issue:`42195`: The ``__args__`` of the parameterized generics for :data:" "`typing.Callable` and :class:`collections.abc.Callable` are now consistent. " @@ -36652,95 +36721,95 @@ msgid "" "Ken Jin." msgstr "" -#: ../NEWS:20990 +#: ../NEWS:21033 msgid "" ":issue:`40137`: Convert functools module to use :c:func:" "`PyType_FromModuleAndSpec`." msgstr "" -#: ../NEWS:20993 +#: ../NEWS:21036 msgid "" ":issue:`40077`: Convert :mod:`array` to use heap types, and establish module " "state for these." msgstr "" -#: ../NEWS:20996 +#: ../NEWS:21039 msgid ":issue:`42008`: Fix _random.Random() seeding." msgstr "" -#: ../NEWS:20998 +#: ../NEWS:21041 msgid "" ":issue:`1635741`: Port the :mod:`pyexpat` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:21001 +#: ../NEWS:21044 msgid "" ":issue:`40521`: Make the Unicode dictionary of interned strings compatible " "with subinterpreters. Patch by Victor Stinner." msgstr "" -#: ../NEWS:21004 +#: ../NEWS:21047 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 "" -#: ../NEWS:21011 +#: ../NEWS:21054 msgid "" ":issue:`42257`: Handle empty string in variable executable in platform." "libc_ver()" msgstr "" -#: ../NEWS:21014 +#: ../NEWS:21057 msgid "" ":issue:`42772`: randrange() now raises a TypeError when step is specified " "without a stop argument. Formerly, it silently ignored the step argument." msgstr "" -#: ../NEWS:21017 +#: ../NEWS:21060 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 "" -#: ../NEWS:21021 +#: ../NEWS:21064 msgid "" ":issue:`42756`: Configure LMTP Unix-domain socket to use socket global " "default timeout when a timeout is not explicitly provided." msgstr "" -#: ../NEWS:21024 +#: ../NEWS:21067 msgid "" ":issue:`23328`: Allow / character in username, password fields on _PROXY " "envars." msgstr "" -#: ../NEWS:21027 +#: ../NEWS:21070 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 "" -#: ../NEWS:21030 +#: ../NEWS:21073 msgid "" ":issue:`42655`: :mod:`subprocess` *extra_groups* is now correctly passed " "into setgroups() system call." msgstr "" -#: ../NEWS:21033 +#: ../NEWS:21076 msgid "" ":issue:`42727`: ``EnumMeta.__prepare__`` now accepts ``**kwds`` to properly " "support ``__init_subclass__``" msgstr "" -#: ../NEWS:21036 +#: ../NEWS:21079 msgid ":issue:`38308`: Add optional *weights* to *statistics.harmonic_mean()*." msgstr "" -#: ../NEWS:21038 +#: ../NEWS:21081 msgid "" ":issue:`42721`: When simple query dialogs (:mod:`tkinter.simpledialog`), " "message boxes (:mod:`tkinter.messagebox`) or color choose dialog (:mod:" @@ -36752,27 +36821,27 @@ msgid "" "these simple dialog windows in programs which do not need other GUI." msgstr "" -#: ../NEWS:21048 +#: ../NEWS:21091 msgid ":issue:`25246`: Optimized :meth:`collections.deque.remove`." msgstr "" -#: ../NEWS:21050 +#: ../NEWS:21093 msgid "" ":issue:`35728`: Added a root parameter to :func:`tkinter.font.nametofont`." msgstr "" -#: ../NEWS:21052 +#: ../NEWS:21095 msgid "" ":issue:`15303`: :mod:`tkinter` supports now widgets with boolean value False." msgstr "" -#: ../NEWS:21054 +#: ../NEWS:21097 msgid "" ":issue:`42681`: Fixed range checks for color and pair numbers in :mod:" "`curses`." msgstr "" -#: ../NEWS:21056 +#: ../NEWS:21099 msgid "" ":issue:`42685`: Improved placing of simple query windows in Tkinter (such " "as :func:`tkinter.simpledialog.askinteger`). They are now centered at the " @@ -36780,26 +36849,26 @@ msgid "" "center of the screen." msgstr "" -#: ../NEWS:21061 +#: ../NEWS:21104 msgid "" ":issue:`9694`: Argparse help no longer uses the confusing phrase, \"optional " "arguments\". It uses \"options\" instead." msgstr "" -#: ../NEWS:21064 +#: ../NEWS:21107 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 "" -#: ../NEWS:21068 +#: ../NEWS:21111 msgid "" ":issue:`37961`: Fix crash in :func:`tracemalloc.Traceback.__repr__` " "(regressed in Python 3.9)." msgstr "" -#: ../NEWS:21071 +#: ../NEWS:21114 msgid "" ":issue:`42630`: :mod:`tkinter` functions and constructors which need a " "default root window raise now :exc:`RuntimeError` with descriptive message " @@ -36807,34 +36876,34 @@ msgid "" "created yet or cannot be created automatically." msgstr "" -#: ../NEWS:21076 +#: ../NEWS:21119 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 "" -#: ../NEWS:21080 +#: ../NEWS:21123 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 "" -#: ../NEWS:21084 +#: ../NEWS:21127 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 "" -#: ../NEWS:21089 +#: ../NEWS:21132 msgid "" ":issue:`36541`: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional " "only argument syntax." msgstr "" -#: ../NEWS:21092 +#: ../NEWS:21135 msgid "" ":issue:`42382`: In ``importlib.metadata``: - ``EntryPoint`` objects now " "expose a ``.dist`` object referencing the ``Distribution`` when constructed " @@ -36844,20 +36913,20 @@ msgid "" "for the ``.get_all()`` method. - Synced with importlib_metadata 3.3." msgstr "" -#: ../NEWS:21099 +#: ../NEWS:21142 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 "" -#: ../NEWS:21103 +#: ../NEWS:21146 msgid "" ":issue:`39717`: [tarfile] update nested exception raising to use ``from " "None`` or ``from e``" msgstr "" -#: ../NEWS:21106 +#: ../NEWS:21149 msgid "" ":issue:`41877`: AttributeError for suspected misspellings of assertions on " "mocks are now pointing out that the cause are misspelled assertions and also " @@ -36866,122 +36935,122 @@ msgid "" "recognised misspellings." msgstr "" -#: ../NEWS:21112 +#: ../NEWS:21155 msgid "" ":issue:`41559`: Implemented :pep:`612`: added ``ParamSpec`` and " "``Concatenate`` to :mod:`typing`. Patch by Ken Jin." msgstr "" -#: ../NEWS:21115 +#: ../NEWS:21158 msgid ":issue:`42385`: StrEnum: fix _generate_next_value_ to return a str" msgstr "" -#: ../NEWS:21117 +#: ../NEWS:21160 msgid ":issue:`31904`: Define THREAD_STACK_SIZE for VxWorks." msgstr "" -#: ../NEWS:21119 +#: ../NEWS:21162 msgid ":issue:`34750`: [Enum] ``_EnumDict.update()`` is now supported." msgstr "" -#: ../NEWS:21121 +#: ../NEWS:21164 msgid "" ":issue:`42517`: Enum: private names do not become members / do not generate " "errors -- they remain normal attributes" msgstr "" -#: ../NEWS:21124 +#: ../NEWS:21167 msgid "" ":issue:`42678`: ``Enum``: call ``__init_subclass__`` after members have been " "added" msgstr "" -#: ../NEWS:21127 +#: ../NEWS:21170 msgid "" ":issue:`28964`: :func:`ast.literal_eval` adds line number information (if " "available) in error message for malformed nodes." msgstr "" -#: ../NEWS:21130 +#: ../NEWS:21173 msgid "" ":issue:`42470`: :func:`random.sample` no longer warns on a sequence which is " "also a set." msgstr "" -#: ../NEWS:21133 +#: ../NEWS:21176 msgid "" ":issue:`31904`: :func:`posixpath.expanduser` returns the input *path* " "unchanged if user home directory is None on VxWorks." msgstr "" -#: ../NEWS:21136 +#: ../NEWS:21179 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 "" -#: ../NEWS:21140 +#: ../NEWS:21183 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 "" -#: ../NEWS:21144 +#: ../NEWS:21187 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 "" -#: ../NEWS:21148 +#: ../NEWS:21191 msgid "" ":issue:`42222`: Harmonized :func:`random.randrange` argument handling to " "match :func:`range`." msgstr "" -#: ../NEWS:21151 +#: ../NEWS:21194 msgid "" "The integer test and conversion in ``randrange()`` now uses :func:`operator." "index`." msgstr "" -#: ../NEWS:21153 +#: ../NEWS:21196 msgid "Non-integer arguments to ``randrange()`` are deprecated." msgstr "" -#: ../NEWS:21154 +#: ../NEWS:21197 msgid "The ``ValueError`` is deprecated in favor of a ``TypeError``." msgstr "" -#: ../NEWS:21155 +#: ../NEWS:21198 msgid "It now runs a little faster than before." msgstr "" -#: ../NEWS:21157 +#: ../NEWS:21200 msgid "(Contributed by Raymond Hettinger and Serhiy Storchaka.)" msgstr "" -#: ../NEWS:21159 +#: ../NEWS:21202 msgid "" ":issue:`42163`: Restore compatibility for ``uname_result`` around deepcopy " "and _replace." msgstr "" -#: ../NEWS:21162 +#: ../NEWS:21205 msgid "" ":issue:`42090`: ``zipfile.Path.joinpath`` now accepts arbitrary arguments, " "same as ``pathlib.Path.joinpath``." msgstr "" -#: ../NEWS:21165 +#: ../NEWS:21208 msgid "" ":issue:`1635741`: Port the _csv module to the multi-phase initialization API " "(:pep:`489`)." msgstr "" -#: ../NEWS:21168 +#: ../NEWS:21211 msgid "" ":issue:`42059`: :class:`typing.TypedDict` types created using the " "alternative call-style syntax now correctly respect the ``total`` keyword " @@ -36989,117 +37058,117 @@ msgid "" "class attributes." msgstr "" -#: ../NEWS:21173 +#: ../NEWS:21216 msgid "" ":issue:`41960`: Add ``globalns`` and ``localns`` parameters to the :func:" "`inspect.signature` and :meth:`inspect.Signature.from_callable`." msgstr "" -#: ../NEWS:21176 +#: ../NEWS:21219 msgid ":issue:`41907`: fix ``format()`` behavior for ``IntFlag``" msgstr "" -#: ../NEWS:21178 +#: ../NEWS:21221 msgid ":issue:`41891`: Ensure asyncio.wait_for waits for task completion" msgstr "" -#: ../NEWS:21180 +#: ../NEWS:21223 msgid "" ":issue:`24792`: Fixed bug where :mod:`zipimporter` sometimes reports an " "incorrect cause of import errors." msgstr "" -#: ../NEWS:21183 +#: ../NEWS:21226 msgid "" ":issue:`31904`: Fix site and sysconfig modules for VxWorks RTOS which has no " "home directories." msgstr "" -#: ../NEWS:21186 +#: ../NEWS:21229 msgid ":issue:`41462`: Add :func:`os.set_blocking` support for VxWorks RTOS." msgstr "" -#: ../NEWS:21188 +#: ../NEWS:21231 msgid "" ":issue:`40219`: Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to " "prevent hiding part of the content label." msgstr "" -#: ../NEWS:21191 +#: ../NEWS:21234 msgid "" ":issue:`37193`: Fixed memory leak in ``socketserver.ThreadingMixIn`` " "introduced in Python 3.7." msgstr "" -#: ../NEWS:21194 +#: ../NEWS:21237 msgid "" ":issue:`39068`: Fix initialization race condition in :func:`a85encode` and :" "func:`b85encode` in :mod:`base64`. Patch by Brandon Stansbury." msgstr "" -#: ../NEWS:21200 +#: ../NEWS:21243 msgid "" ":issue:`17140`: Add documentation for the :class:`multiprocessing.pool." "ThreadPool` class." msgstr "" -#: ../NEWS:21203 +#: ../NEWS:21246 msgid "" ":issue:`34398`: Prominently feature listings from the glossary in " "documentation search results. Patch by Ammar Askar." msgstr "" -#: ../NEWS:21209 +#: ../NEWS:21252 msgid "" ":issue:`42794`: Update test_nntplib to use official group name of news.aioe." "org for testing. Patch by Donghee Na." msgstr "" -#: ../NEWS:21212 +#: ../NEWS:21255 msgid ":issue:`31904`: Skip some asyncio tests on VxWorks." msgstr "" -#: ../NEWS:21214 +#: ../NEWS:21257 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 "" -#: ../NEWS:21218 +#: ../NEWS:21261 msgid ":issue:`31904`: Skip some tests in _test_all_chown_common() on VxWorks." msgstr "" -#: ../NEWS:21220 +#: ../NEWS:21263 msgid ":issue:`42199`: Fix bytecode helper assertNotInBytecode." msgstr "" -#: ../NEWS:21222 +#: ../NEWS:21265 msgid ":issue:`41443`: Add more attribute checking in test_posix.py" msgstr "" -#: ../NEWS:21224 +#: ../NEWS:21267 msgid ":issue:`31904`: Disable os.popen and impacted tests on VxWorks" msgstr "" -#: ../NEWS:21226 +#: ../NEWS:21269 msgid ":issue:`41439`: Port test_ssl and test_uuid to VxWorks RTOS." msgstr "" -#: ../NEWS:21231 +#: ../NEWS:21274 msgid "" ":issue:`42692`: Fix __builtin_available check on older compilers. Patch by " "Joshua Root." msgstr "" -#: ../NEWS:21234 +#: ../NEWS:21277 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 "" -#: ../NEWS:21238 +#: ../NEWS:21281 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 " @@ -37107,93 +37176,93 @@ msgid "" "VxWorks were using a value for \"EXT_SUFFIX\" that included \"SOABI\"." msgstr "" -#: ../NEWS:21243 +#: ../NEWS:21286 msgid "" ":issue:`42598`: Fix implicit function declarations in configure which could " "have resulted in incorrect configuration checks. Patch contributed by " "Joshua Root." msgstr "" -#: ../NEWS:21247 +#: ../NEWS:21290 msgid ":issue:`31904`: Enable libpython3.so for VxWorks." msgstr "" -#: ../NEWS:21249 +#: ../NEWS:21292 msgid ":issue:`29076`: Add fish shell support to macOS installer." msgstr "" -#: ../NEWS:21254 +#: ../NEWS:21297 msgid "" ":issue:`42361`: Update macOS installer build to use Tcl/Tk 8.6.11 (rc2, " "expected to be final release)." msgstr "" -#: ../NEWS:21257 +#: ../NEWS:21300 msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1i." msgstr "" -#: ../NEWS:21259 +#: ../NEWS:21302 msgid ":issue:`42584`: Update macOS installer to use SQLite 3.34.0." msgstr "" -#: ../NEWS:21264 +#: ../NEWS:21307 msgid "" ":issue:`42726`: Fixed Python 3 compatibility issue with gdb/libpython.py " "handling of attribute dictionaries." msgstr "" -#: ../NEWS:21267 +#: ../NEWS:21310 msgid "" ":issue:`42613`: Fix ``freeze.py`` tool to use the prope config and library " "directories. Patch by Victor Stinner." msgstr "" -#: ../NEWS:21273 +#: ../NEWS:21316 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 "" -#: ../NEWS:21277 +#: ../NEWS:21320 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 "" -#: ../NEWS:21281 +#: ../NEWS:21324 msgid ":issue:`1635741`: Port :mod:`resource` extension module to module state" msgstr "" -#: ../NEWS:21283 +#: ../NEWS:21326 msgid "" ":issue:`42111`: Update the ``xxlimited`` module to be a better example of " "how to use the limited C API." msgstr "" -#: ../NEWS:21286 +#: ../NEWS:21329 msgid "" ":issue:`40052`: Fix an alignment build warning/error in function " "``PyVectorcall_Function()``. Patch by Andreas Schneider, Antoine Pitrou and " "Petr Viktorin." msgstr "" -#: ../NEWS:21292 +#: ../NEWS:21335 msgid "Python 3.10.0 alpha 3" msgstr "" -#: ../NEWS:21294 +#: ../NEWS:21337 msgid "*Release date: 2020-12-07*" msgstr "" -#: ../NEWS:21299 +#: ../NEWS:21342 msgid "" ":issue:`40791`: Add ``volatile`` to the accumulator variable in ``hmac." "compare_digest``, making constant-time-defeating optimizations less likely." msgstr "" -#: ../NEWS:21306 +#: ../NEWS:21349 msgid "" ":issue:`42576`: ``types.GenericAlias`` will now raise a ``TypeError`` when " "attempting to initialize with a keyword argument. Previously, this would " @@ -37202,85 +37271,85 @@ msgid "" "Ken Jin." msgstr "" -#: ../NEWS:21312 +#: ../NEWS:21355 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 `:" msgstr "" -#: ../NEWS:21316 +#: ../NEWS:21359 msgid ":meth:`collections.OrderedDict.items() `" msgstr "" -#: ../NEWS:21318 +#: ../NEWS:21361 msgid ":meth:`dict.items`" msgstr "" -#: ../NEWS:21320 +#: ../NEWS:21363 msgid ":func:`enumerate`" msgstr ":func:`enumerate`" -#: ../NEWS:21322 +#: ../NEWS:21365 msgid ":func:`functools.reduce`" msgstr "" -#: ../NEWS:21324 +#: ../NEWS:21367 msgid ":func:`itertools.combinations`" msgstr "" -#: ../NEWS:21326 +#: ../NEWS:21369 msgid ":func:`itertools.combinations_with_replacement`" msgstr "" -#: ../NEWS:21328 +#: ../NEWS:21371 msgid ":func:`itertools.permutations`" msgstr "" -#: ../NEWS:21330 +#: ../NEWS:21373 msgid ":func:`itertools.product`" msgstr "" -#: ../NEWS:21332 +#: ../NEWS:21375 msgid ":func:`itertools.zip_longest`" msgstr "" -#: ../NEWS:21334 +#: ../NEWS:21377 msgid ":func:`zip`" msgstr ":func:`zip`" -#: ../NEWS:21336 +#: ../NEWS:21379 msgid "" "Previously, they could have become untracked by a prior garbage collection. " "Patch by Brandt Bucher." msgstr "" -#: ../NEWS:21339 +#: ../NEWS:21382 msgid "" ":issue:`42500`: Improve handling of exceptions near recursion limit. " "Converts a number of Fatal Errors in RecursionErrors." msgstr "" -#: ../NEWS:21342 +#: ../NEWS:21385 msgid "" ":issue:`42246`: PEP 626: After a return, the f_lineno attribute of a frame " "is always the last line executed." msgstr "" -#: ../NEWS:21345 +#: ../NEWS:21388 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 "" -#: ../NEWS:21349 +#: ../NEWS:21392 msgid "" ":issue:`1635741`: Port the ``_warnings`` extension module to the multi-phase " "initialization API (:pep:`489`). Patch by Victor Stinner." msgstr "" -#: ../NEWS:21352 +#: ../NEWS:21395 msgid "" ":issue:`41686`: On Windows, the ``SIGINT`` event, ``_PyOS_SigintEvent()``, " "is now created even if Python is configured to not install signal handlers " @@ -37288,36 +37357,36 @@ msgid "" "``Py_InitializeEx(0)``)." msgstr "" -#: ../NEWS:21357 +#: ../NEWS:21400 msgid "" ":issue:`42381`: Allow assignment expressions in set literals and set " "comprehensions as per PEP 572. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:21360 +#: ../NEWS:21403 msgid "" ":issue:`42202`: Change function parameters annotations internal " "representation to tuple of strings. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:21363 +#: ../NEWS:21406 msgid "" ":issue:`42374`: Fix a regression introduced by the new parser, where an " "unparenthesized walrus operator was not allowed within generator expressions." msgstr "" -#: ../NEWS:21367 +#: ../NEWS:21410 msgid ":issue:`42316`: Allow an unparenthesized walrus in subscript indexes." msgstr "" -#: ../NEWS:21369 +#: ../NEWS:21412 msgid "" ":issue:`42349`: Make sure that the compiler front-end produces a well-formed " "control flow graph. Be more aggressive in the compiler back-end, as it is " "now safe to do so." msgstr "" -#: ../NEWS:21373 +#: ../NEWS:21416 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 " @@ -37325,41 +37394,41 @@ msgid "" "deciding if the thread can handle signals is wrong." msgstr "" -#: ../NEWS:21378 +#: ../NEWS:21421 msgid "" ":issue:`42332`: :class:`types.GenericAlias` objects can now be the targets " "of weakrefs." msgstr "" -#: ../NEWS:21381 +#: ../NEWS:21424 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 "" -#: ../NEWS:21385 +#: ../NEWS:21428 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 "" -#: ../NEWS:21389 +#: ../NEWS:21432 msgid ":issue:`40077`: Convert :mod:`queue` to use heap types." msgstr "" -#: ../NEWS:21391 +#: ../NEWS:21434 msgid "" ":issue:`42246`: Improved accuracy of line tracing events and f_lineno " "attribute of Frame objects. See PEP 626 for details." msgstr "" -#: ../NEWS:21394 +#: ../NEWS:21437 msgid ":issue:`40077`: Convert :mod:`mmap` to use heap types." msgstr "" -#: ../NEWS:21396 +#: ../NEWS:21439 msgid "" ":issue:`42233`: Allow ``GenericAlias`` objects to use :ref:`union type " "expressions `. This allows expressions like ``list[int] | " @@ -37368,30 +37437,30 @@ msgid "" "objects. (Contributed by Ken Jin in :issue:`42233`.)" msgstr "" -#: ../NEWS:21402 +#: ../NEWS:21445 msgid "" ":issue:`26131`: The import system triggers a ``ImportWarning`` when it falls " "back to using ``load_module()``." msgstr "" -#: ../NEWS:21408 +#: ../NEWS:21451 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 "" -#: ../NEWS:21412 +#: ../NEWS:21455 msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." msgstr "" -#: ../NEWS:21414 +#: ../NEWS:21457 msgid "" ":issue:`42562`: Fix issue when dis failed to parse function that has no line " "numbers. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:21417 +#: ../NEWS:21460 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 " @@ -37399,35 +37468,35 @@ msgid "" "it was imported. PR by Irit Katriel." msgstr "" -#: ../NEWS:21422 +#: ../NEWS:21465 msgid "" ":issue:`42116`: Fix handling of trailing comments by :func:`inspect." "getsource`." msgstr "" -#: ../NEWS:21424 +#: ../NEWS:21467 msgid "" ":issue:`42532`: Remove unexpected call of ``__bool__`` when passing a " "``spec_arg`` argument to a Mock." msgstr "" -#: ../NEWS:21427 +#: ../NEWS:21470 msgid ":issue:`38200`: Added itertools.pairwise()" msgstr "" -#: ../NEWS:21429 +#: ../NEWS:21472 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 "" -#: ../NEWS:21432 +#: ../NEWS:21475 msgid "" ":issue:`42487`: ChainMap.__iter__ no longer calls __getitem__ on underlying " "maps" msgstr "" -#: ../NEWS:21435 +#: ../NEWS:21478 msgid "" ":issue:`42482`: :class:`~traceback.TracebackException` no longer holds a " "reference to the exception's traceback object. Consequently, instances of " @@ -37435,31 +37504,31 @@ msgid "" "equal." msgstr "" -#: ../NEWS:21440 +#: ../NEWS:21483 msgid "" ":issue:`41818`: Make test_openpty() avoid unexpected success due to number " "of rows and/or number of columns being == 0." msgstr "" -#: ../NEWS:21443 +#: ../NEWS:21486 msgid "" ":issue:`42392`: Remove loop parameter from ``asyncio.subprocess`` and " "``asyncio.tasks`` functions. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:21446 +#: ../NEWS:21489 msgid "" ":issue:`42392`: Remove loop parameter from ``asyncio.open_connection`` and " "``asyncio.start_server`` functions. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:21449 +#: ../NEWS:21492 msgid "" ":issue:`28468`: Add :func:`platform.freedesktop_os_release` function to " "parse freedesktop.org ``os-release`` files." msgstr "" -#: ../NEWS:21452 +#: ../NEWS:21495 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 " @@ -37468,13 +37537,13 @@ msgid "" "classes they use into their code. Patch by Donghee Na and and Terry J. Reedy." msgstr "" -#: ../NEWS:21459 +#: ../NEWS:21502 msgid "" ":issue:`26131`: Deprecate zipimport.zipimporter.load_module() in favour of " "exec_module()." msgstr "" -#: ../NEWS:21462 +#: ../NEWS:21505 msgid "" ":issue:`41818`: Updated tests for the pty library. test_basic() has been " "changed to test_openpty(); this additionally checks if slave termios and " @@ -37484,29 +37553,29 @@ msgid "" "an OSError to exit from its copy loop." msgstr "" -#: ../NEWS:21469 +#: ../NEWS:21512 msgid "" ":issue:`42392`: Remove loop parameter from ``__init__`` in all ``asyncio." "locks`` and ``asyncio.Queue`` classes. Patch provided by Yurii Karabas." msgstr "" -#: ../NEWS:21473 +#: ../NEWS:21516 msgid "" ":issue:`15450`: Make :class:`filecmp.dircmp` respect subclassing. Now the :" "attr:`filecmp.dircmp.subdirs` behaves as expected when subclassing dircmp." msgstr "" -#: ../NEWS:21477 +#: ../NEWS:21520 msgid "" ":issue:`42413`: The exception :exc:`socket.timeout` is now an alias of :exc:" "`TimeoutError`." msgstr "" -#: ../NEWS:21480 +#: ../NEWS:21523 msgid ":issue:`31904`: Support signal module on VxWorks." msgstr "" -#: ../NEWS:21482 +#: ../NEWS:21525 msgid "" ":issue:`42406`: We fixed an issue in ``pickle.whichmodule`` in which " "importing ``multiprocessing`` could change the how pickle identifies which " @@ -37514,7 +37583,7 @@ msgid "" "objects." msgstr "" -#: ../NEWS:21486 +#: ../NEWS:21529 msgid "" ":issue:`42403`: Simplify the :mod:`importlib` external bootstrap code: " "``importlib._bootstrap_external`` now uses regular imports to import builtin " @@ -37523,30 +37592,30 @@ msgid "" "`sys`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:21492 +#: ../NEWS:21535 msgid "" ":issue:`1635741`: Convert _sre module types to heap types (PEP 384). Patch " "by Erlend E. Aasland." msgstr "" -#: ../NEWS:21495 +#: ../NEWS:21538 msgid ":issue:`42375`: subprocess module update for DragonFlyBSD support." msgstr "" -#: ../NEWS:21497 +#: ../NEWS:21540 msgid "" ":issue:`41713`: Port the ``_signal`` extension module to the multi-phase " "initialization API (:pep:`489`). Patch by Victor Stinner and Mohamed Koubaa." msgstr "" -#: ../NEWS:21501 +#: ../NEWS:21544 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 "" -#: ../NEWS:21505 +#: ../NEWS:21548 msgid "" ":issue:`42328`: Fixed :meth:`tkinter.ttk.Style.map`. The function accepts " "now the representation of the default state as empty sequence (as returned " @@ -37554,14 +37623,14 @@ msgid "" "platform and does not depend on the value of ``wantobjects``." msgstr "" -#: ../NEWS:21510 +#: ../NEWS:21553 msgid "" ":issue:`42345`: Fix various issues with ``typing.Literal`` parameter " "handling (flatten, deduplicate, use type to cache key). Patch provided by " "Yurii Karabas." msgstr "" -#: ../NEWS:21514 +#: ../NEWS:21557 msgid "" ":issue:`37205`: :func:`time.perf_counter` on Windows and :func:`time." "monotonic` on macOS are now system-wide. Previously, they used an offset " @@ -37570,53 +37639,53 @@ msgid "" "Python 3.7 to avoid this precision loss." msgstr "" -#: ../NEWS:21520 +#: ../NEWS:21563 msgid "" ":issue:`42318`: Fixed support of non-BMP characters in :mod:`tkinter` on " "macOS." msgstr "" -#: ../NEWS:21522 +#: ../NEWS:21565 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 "" -#: ../NEWS:21526 +#: ../NEWS:21569 msgid ":issue:`42333`: Port _ssl extension module to heap types." msgstr "" -#: ../NEWS:21528 +#: ../NEWS:21571 msgid "" ":issue:`42014`: The ``onerror`` callback from ``shutil.rmtree`` now receives " "correct function when ``os.open`` fails." msgstr "" -#: ../NEWS:21531 +#: ../NEWS:21574 msgid ":issue:`42237`: Fix ``os.sendfile()`` on illumos." msgstr "" -#: ../NEWS:21533 +#: ../NEWS:21576 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 "" -#: ../NEWS:21537 +#: ../NEWS:21580 msgid "" ":issue:`42131`: Implement PEP 451/spec methods on zipimport.zipimporter: " "find_spec(), create_module(), and exec_module()." msgstr "" -#: ../NEWS:21540 +#: ../NEWS:21583 msgid "" "This also allows for the documented deprecation of find_loader(), " "find_module(), and load_module()." msgstr "" -#: ../NEWS:21543 +#: ../NEWS:21586 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 " @@ -37624,67 +37693,67 @@ msgid "" "assret." msgstr "" -#: ../NEWS:21548 +#: ../NEWS:21591 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 "" -#: ../NEWS:21552 +#: ../NEWS:21595 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 "" -#: ../NEWS:21557 +#: ../NEWS:21600 msgid ":issue:`42249`: Fixed writing binary Plist files larger than 4 GiB." msgstr "" -#: ../NEWS:21559 +#: ../NEWS:21602 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 " "` is enabled." msgstr "" -#: ../NEWS:21563 +#: ../NEWS:21606 msgid "" ":issue:`41754`: webbrowser: Ignore *NotADirectoryError* when calling ``xdg-" "settings``." msgstr "" -#: ../NEWS:21566 +#: ../NEWS:21609 msgid "" ":issue:`42183`: Fix a stack overflow error for asyncio Task or Future repr()." msgstr "" -#: ../NEWS:21568 +#: ../NEWS:21611 msgid "" "The overflow occurs under some circumstances when a Task or Future " "recursively returns itself." msgstr "" -#: ../NEWS:21571 +#: ../NEWS:21614 msgid "" ":issue:`42140`: Improve asyncio.wait function to create the futures set just " "one time." msgstr "" -#: ../NEWS:21574 +#: ../NEWS:21617 msgid "" ":issue:`42133`: Update various modules in the stdlib to fall back on " "``__spec__.loader`` when ``__loader__`` isn't defined on a module." msgstr "" -#: ../NEWS:21577 +#: ../NEWS:21620 msgid "" ":issue:`26131`: The ``load_module()`` methods found in ``importlib`` now " "trigger a ``DeprecationWarning``." msgstr "" -#: ../NEWS:21580 +#: ../NEWS:21623 msgid "" ":issue:`39825`: Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` " "to the expected full ``platform_tag.extension`` format. Previously it was " @@ -37693,67 +37762,67 @@ msgid "" "windows into conformance with the other platforms." msgstr "" -#: ../NEWS:21586 +#: ../NEWS:21629 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 "" -#: ../NEWS:21591 +#: ../NEWS:21634 msgid "" ":issue:`41889`: Enum: fix regression involving inheriting a multiply " "inherited enum" msgstr "" -#: ../NEWS:21594 +#: ../NEWS:21637 msgid "" ":issue:`41861`: Convert :mod:`sqlite3` to use heap types (PEP 384). Patch by " "Erlend E. Aasland." msgstr "" -#: ../NEWS:21597 +#: ../NEWS:21640 msgid "" ":issue:`40624`: Added support for the XPath ``!=`` operator in xml.etree" msgstr "" -#: ../NEWS:21599 +#: ../NEWS:21642 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 "" -#: ../NEWS:21603 +#: ../NEWS:21646 msgid "" ":issue:`41625`: Expose the :c:func:`splice` as :func:`os.splice` in the :mod:" "`os` module. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:21606 +#: ../NEWS:21649 msgid "" ":issue:`34215`: Clarify the error message for :exc:`asyncio." "IncompleteReadError` when ``expected`` is ``None``." msgstr "" -#: ../NEWS:21609 +#: ../NEWS:21652 msgid "" ":issue:`41543`: Add async context manager support for contextlib.nullcontext." msgstr "" -#: ../NEWS:21611 +#: ../NEWS:21654 msgid "" ":issue:`21041`: :attr:`pathlib.PurePath.parents` now supports negative " "indexing. Patch contributed by Yaroslav Pankovych." msgstr "" -#: ../NEWS:21614 +#: ../NEWS:21657 msgid "" ":issue:`41332`: Added missing connect_accepted_socket() method to ``asyncio." "AbstractEventLoop``." msgstr "" -#: ../NEWS:21617 +#: ../NEWS:21660 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 " @@ -37761,125 +37830,125 @@ msgid "" "Jeffrey Kintscher, and Senthil Kumaran." msgstr "" -#: ../NEWS:21622 +#: ../NEWS:21665 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 "" -#: ../NEWS:21626 +#: ../NEWS:21669 msgid "" ":issue:`41001`: Add :func:`os.eventfd` to provide a low level interface for " "Linux's event notification file descriptor." msgstr "" -#: ../NEWS:21629 +#: ../NEWS:21672 msgid "" ":issue:`40816`: Add AsyncContextDecorator to contextlib to support async " "context manager as a decorator." msgstr "" -#: ../NEWS:21632 +#: ../NEWS:21675 msgid "" ":issue:`40550`: Fix time-of-check/time-of-action issue in subprocess.Popen." "send_signal." msgstr "" -#: ../NEWS:21635 +#: ../NEWS:21678 msgid "" ":issue:`39411`: Add an ``is_async`` identifier to :mod:`pyclbr`'s " "``Function`` objects. Patch by Batuhan Taskaya" msgstr "" -#: ../NEWS:21638 +#: ../NEWS:21681 msgid ":issue:`35498`: Add slice support to :attr:`pathlib.PurePath.parents`." msgstr "" -#: ../NEWS:21643 +#: ../NEWS:21686 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 "" -#: ../NEWS:21647 +#: ../NEWS:21690 msgid ":issue:`42153`: Fix the URL for the IMAP protocol documents." msgstr "" -#: ../NEWS:21649 +#: ../NEWS:21692 msgid "" ":issue:`41028`: Language and version switchers, previously maintained in " "every cpython branches, are now handled by docsbuild-script." msgstr "" -#: ../NEWS:21655 +#: ../NEWS:21698 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 "" -#: ../NEWS:21659 +#: ../NEWS:21702 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 "" -#: ../NEWS:21663 +#: ../NEWS:21706 msgid "" ":issue:`31904`: Fix test_netrc on VxWorks: create temporary directories " "using temp_cwd()." msgstr "" -#: ../NEWS:21666 +#: ../NEWS:21709 msgid "" ":issue:`31904`: skip test_getaddrinfo_ipv6_scopeid_symbolic and " "test_getnameinfo_ipv6_scopeid_symbolic on VxWorks" msgstr "" -#: ../NEWS:21669 +#: ../NEWS:21712 msgid ":issue:`31904`: skip test_test of test_mailcap on VxWorks" msgstr "" -#: ../NEWS:21671 +#: ../NEWS:21714 msgid ":issue:`31904`: add shell requirement for test_pipes" msgstr "" -#: ../NEWS:21673 +#: ../NEWS:21716 msgid ":issue:`31904`: skip some tests related to fifo on VxWorks" msgstr "" -#: ../NEWS:21675 +#: ../NEWS:21718 msgid ":issue:`31904`: Fix test_doctest.py failures for VxWorks." msgstr "" -#: ../NEWS:21677 +#: ../NEWS:21720 msgid "" ":issue:`40754`: Include ``_testinternalcapi`` module in Windows installer " "for test suite" msgstr "" -#: ../NEWS:21680 +#: ../NEWS:21723 msgid "" ":issue:`41561`: test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is " "not available" msgstr "" -#: ../NEWS:21683 +#: ../NEWS:21726 msgid ":issue:`31904`: Fix os module failures for VxWorks RTOS." msgstr "" -#: ../NEWS:21685 +#: ../NEWS:21728 msgid ":issue:`31904`: Fix fifo test cases for VxWorks RTOS." msgstr "" -#: ../NEWS:21690 +#: ../NEWS:21733 msgid "" ":issue:`31904`: remove libnet dependency from detect_socket() for VxWorks" msgstr "" -#: ../NEWS:21692 +#: ../NEWS:21735 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 " @@ -37888,14 +37957,14 @@ msgid "" "modification time." msgstr "" -#: ../NEWS:21697 +#: ../NEWS:21740 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 "" -#: ../NEWS:21701 +#: ../NEWS:21744 msgid "" ":issue:`38823`: It is no longer possible to build the ``_ctypes`` extension " "module without :c:type:`wchar_t` type: remove ``CTYPES_UNICODE`` macro. " @@ -37903,149 +37972,149 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:21706 +#: ../NEWS:21749 msgid "" ":issue:`42087`: Support was removed for AIX 5.3 and below. See :issue:" "`40680`." msgstr "" -#: ../NEWS:21708 +#: ../NEWS:21751 msgid "" ":issue:`40998`: Addressed three compiler warnings found by undefined " "behavior sanitizer (ubsan)." msgstr "" -#: ../NEWS:21714 +#: ../NEWS:21757 msgid "" ":issue:`42120`: Remove macro definition of ``copysign`` (to ``_copysign``) " "in headers." msgstr "" -#: ../NEWS:21717 +#: ../NEWS:21760 msgid "" ":issue:`38506`: The Windows launcher now properly handles Python 3.10 when " "listing installed Python versions." msgstr "" -#: ../NEWS:21723 +#: ../NEWS:21766 msgid "" ":issue:`42504`: Fix build on macOS Big Sur when MACOSX_DEPLOYMENT_TARGET=11" msgstr "" -#: ../NEWS:21725 +#: ../NEWS:21768 msgid "" ":issue:`41116`: Ensure distutils.unixxcompiler.find_library_file can find " "system provided libraries on macOS 11." msgstr "" -#: ../NEWS:21728 +#: ../NEWS:21771 msgid ":issue:`41100`: Add support for macOS 11 and Apple Silicon systems." msgstr "" -#: ../NEWS:21730 +#: ../NEWS:21773 msgid "" "It is now possible to build \"Universal 2\" binaries using \"--enable-" "universalsdk --with-universal-archs=universal2\"." msgstr "" -#: ../NEWS:21733 +#: ../NEWS:21776 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 "" -#: ../NEWS:21737 +#: ../NEWS:21780 msgid ":issue:`42232`: Added Darwin specific madvise options to mmap module." msgstr "" -#: ../NEWS:21739 +#: ../NEWS:21782 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 "" -#: ../NEWS:21746 +#: ../NEWS:21789 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 "" -#: ../NEWS:21750 +#: ../NEWS:21793 msgid ":issue:`42426`: Fix reporting offset of the RE error in searchengine." msgstr "" -#: ../NEWS:21752 +#: ../NEWS:21795 msgid "" ":issue:`42415`: Get docstrings for IDLE calltips more often by using inspect." "getdoc." msgstr "" -#: ../NEWS:21758 +#: ../NEWS:21801 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 "" -#: ../NEWS:21762 +#: ../NEWS:21805 msgid "" ":issue:`36310`: Allow :file:`Tools/i18n/pygettext.py` to detect calls to " "``gettext`` in f-strings." msgstr "" -#: ../NEWS:21768 +#: ../NEWS:21811 msgid "" ":issue:`42423`: The :c:func:`PyType_FromSpecWithBases` and :c:func:" "`PyType_FromModuleAndSpec` functions now accept a single class as the " "*bases* argument." msgstr "" -#: ../NEWS:21772 +#: ../NEWS:21815 msgid "" ":issue:`1635741`: Port :mod:`select` extension module to multiphase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:21775 +#: ../NEWS:21818 msgid "" ":issue:`1635741`: Port _posixsubprocess extension module to multiphase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:21778 +#: ../NEWS:21821 msgid "" ":issue:`1635741`: Port _posixshmem extension module to multiphase " "initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21781 +#: ../NEWS:21824 msgid "" ":issue:`1635741`: Port _struct extension module to multiphase initialization " "(:pep:`489`)" msgstr "" -#: ../NEWS:21784 +#: ../NEWS:21827 msgid "" ":issue:`1635741`: Port :mod:`!spwd` extension module to multiphase " "initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21787 +#: ../NEWS:21830 msgid "" ":issue:`1635741`: Port :mod:`gc` extension module to multiphase " "initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21790 +#: ../NEWS:21833 msgid "" ":issue:`1635741`: Port _queue extension module to multiphase initialization " "(:pep:`489`)" msgstr "" -#: ../NEWS:21793 +#: ../NEWS:21836 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 " @@ -38053,38 +38122,38 @@ msgid "" "object type and size: ``Py_TYPE(obj) = type;`` and ``Py_SIZE(obj) = size;``." msgstr "" -#: ../NEWS:21798 +#: ../NEWS:21841 msgid "" ":issue:`1635741`: Port :mod:`symtable` extension module to multiphase " "initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21801 +#: ../NEWS:21844 msgid "" ":issue:`1635741`: Port :mod:`grp` and :mod:`pwd` extension modules to " "multiphase initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21804 +#: ../NEWS:21847 msgid "" ":issue:`1635741`: Port _random extension module to multiphase initialization " "(:pep:`489`)" msgstr "" -#: ../NEWS:21807 +#: ../NEWS:21850 msgid "" ":issue:`1635741`: Port _hashlib extension module to multiphase " "initialization (:pep:`489`)" msgstr "" -#: ../NEWS:21810 +#: ../NEWS:21853 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 "" -#: ../NEWS:21814 +#: ../NEWS:21857 msgid "" ":issue:`40170`: The ``Py_TRASHCAN_BEGIN`` macro no longer accesses " "PyTypeObject attributes, but now can get the condition by calling the new " @@ -38092,7 +38161,7 @@ msgid "" "details." msgstr "" -#: ../NEWS:21818 +#: ../NEWS:21861 msgid "" ":issue:`42260`: :c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:" "`Py_GetExecPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:" @@ -38103,7 +38172,7 @@ msgid "" "config>`. Patch by Victor Stinner." msgstr "" -#: ../NEWS:21826 +#: ../NEWS:21869 msgid "" ":issue:`42260`: The :c:func:`PyConfig_Read` function now only parses :c:" "member:`PyConfig.argv` arguments once: :c:member:`PyConfig.parse_argv` is " @@ -38112,34 +38181,34 @@ msgid "" "parse the application options as Python options." msgstr "" -#: ../NEWS:21832 +#: ../NEWS:21875 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 "" -#: ../NEWS:21836 +#: ../NEWS:21879 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 "" -#: ../NEWS:21840 +#: ../NEWS:21883 msgid "" ":issue:`41832`: The :c:func:`PyType_FromModuleAndSpec` function now accepts " "NULL ``tp_doc`` slot." msgstr "" -#: ../NEWS:21843 +#: ../NEWS:21886 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 "" -#: ../NEWS:21847 +#: ../NEWS:21890 msgid "" ":issue:`42171`: The :c:macro:`METH_FASTCALL` calling convention is added to " "the limited API. The functions :c:func:`PyModule_AddType`, :c:func:" @@ -38147,16 +38216,16 @@ msgid "" "`PyType_GetModuleState` are added to the limited API on Windows." msgstr "" -#: ../NEWS:21852 +#: ../NEWS:21895 msgid "" ":issue:`42085`: Add dedicated entry to PyAsyncMethods for sending values" msgstr "" -#: ../NEWS:21854 +#: ../NEWS:21897 msgid ":issue:`41073`: :c:func:`PyType_GetSlot()` can now accept static types." msgstr "" -#: ../NEWS:21856 +#: ../NEWS:21899 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 " @@ -38166,35 +38235,35 @@ msgid "" "Victor Stinner." msgstr "" -#: ../NEWS:21865 +#: ../NEWS:21908 msgid "Python 3.10.0 alpha 2" msgstr "" -#: ../NEWS:21867 +#: ../NEWS:21910 msgid "*Release date: 2020-11-03*" msgstr "" -#: ../NEWS:21872 +#: ../NEWS:21915 msgid "" ":issue:`42103`: Prevented potential DoS attack via CPU and RAM exhaustion " "when processing malformed Apple Property List files in binary format." msgstr "" -#: ../NEWS:21875 +#: ../NEWS:21918 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 "" -#: ../NEWS:21883 +#: ../NEWS:21926 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 "" -#: ../NEWS:21887 +#: ../NEWS:21930 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 " @@ -38202,32 +38271,32 @@ msgid "" "crashes in other places." msgstr "" -#: ../NEWS:21892 +#: ../NEWS:21935 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 "" -#: ../NEWS:21895 +#: ../NEWS:21938 msgid "" ":issue:`42206`: Propagate and raise the errors caused by :c:func:" "`PyAST_Validate` in the parser." msgstr "" -#: ../NEWS:21898 +#: ../NEWS:21941 msgid "" ":issue:`41796`: The :mod:`ast` module internal state is now per interpreter. " "Patch by Victor Stinner." msgstr "" -#: ../NEWS:21901 +#: ../NEWS:21944 msgid "" ":issue:`42143`: Fix handling of errors during creation of " "``PyFunctionObject``, which resulted in operations on uninitialized memory. " "Patch by Yonatan Goldschmidt." msgstr "" -#: ../NEWS:21905 +#: ../NEWS:21948 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 " @@ -38236,52 +38305,52 @@ msgid "" "in the REPL." msgstr "" -#: ../NEWS:21911 +#: ../NEWS:21954 msgid "" ":issue:`42150`: Fix possible buffer overflow in the new parser when checking " "for continuation lines. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:21914 +#: ../NEWS:21957 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 "" -#: ../NEWS:21918 +#: ../NEWS:21961 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 "" -#: ../NEWS:21922 +#: ../NEWS:21965 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 "" -#: ../NEWS:21926 +#: ../NEWS:21969 msgid "" ":issue:`41984`: The garbage collector now tracks all user-defined classes. " "Patch by Brandt Bucher." msgstr "" -#: ../NEWS:21929 +#: ../NEWS:21972 msgid "" ":issue:`41993`: Fixed potential issues with removing not completely " "initialized module from ``sys.modules`` when import fails." msgstr "" -#: ../NEWS:21932 +#: ../NEWS:21975 msgid "" ":issue:`41979`: Star-unpacking is now allowed for with item's targets in the " "PEG parser." msgstr "" -#: ../NEWS:21935 +#: ../NEWS:21978 msgid "" ":issue:`41974`: Removed special methods ``__int__``, ``__float__``, " "``__floordiv__``, ``__mod__``, ``__divmod__``, ``__rfloordiv__``, " @@ -38289,48 +38358,48 @@ msgid "" "raised a :exc:`TypeError`." msgstr "" -#: ../NEWS:21940 +#: ../NEWS:21983 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 "" -#: ../NEWS:21945 +#: ../NEWS:21988 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 "" -#: ../NEWS:21949 +#: ../NEWS:21992 msgid "" ":issue:`41902`: Micro optimization for range.index if step is 1. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:21952 +#: ../NEWS:21995 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 "" -#: ../NEWS:21956 +#: ../NEWS:21999 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 "" -#: ../NEWS:21963 +#: ../NEWS:22006 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 "" -#: ../NEWS:21967 +#: ../NEWS:22010 msgid "" ":issue:`42233`: The :func:`repr` of :mod:`typing` types containing :ref:" "`Generic Alias Types ` previously did not show the " @@ -38338,12 +38407,12 @@ msgid "" "do so." msgstr "" -#: ../NEWS:21972 +#: ../NEWS:22015 msgid "" ":issue:`29566`: ``binhex.binhex()`` consistently writes macOS 9 line endings." msgstr "" -#: ../NEWS:21974 +#: ../NEWS:22017 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 " @@ -38351,28 +38420,28 @@ msgid "" "defined``. Patch by Victor Stinner." msgstr "" -#: ../NEWS:21979 +#: ../NEWS:22022 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 "" -#: ../NEWS:21983 +#: ../NEWS:22026 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 "" -#: ../NEWS:21988 +#: ../NEWS:22031 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 "" -#: ../NEWS:21992 +#: ../NEWS:22035 msgid "" ":issue:`42103`: :exc:`~plistlib.InvalidFileException` and :exc:" "`RecursionError` are now the only errors caused by loading malformed binary " @@ -38380,7 +38449,7 @@ msgid "" "specific cases)." msgstr "" -#: ../NEWS:21997 +#: ../NEWS:22040 msgid "" ":issue:`41490`: In ``importlib.resources``, ``.path`` method is more " "aggressive about releasing handles to zipfile objects early, enabling use-" @@ -38388,58 +38457,58 @@ msgid "" "file." msgstr "" -#: ../NEWS:22001 +#: ../NEWS:22044 msgid "" ":issue:`41052`: Pickling heap types implemented in C with protocols 0 and 1 " "raises now an error instead of producing incorrect data." msgstr "" -#: ../NEWS:22004 +#: ../NEWS:22047 msgid "" ":issue:`42089`: In ``importlib.metadata.PackageNotFoundError``, make " "reference to the package metadata being missing to improve the user " "experience." msgstr "" -#: ../NEWS:22007 +#: ../NEWS:22050 msgid "" ":issue:`41491`: plistlib: fix parsing XML plists with hexadecimal integer " "values" msgstr "" -#: ../NEWS:22010 +#: ../NEWS:22053 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 "" -#: ../NEWS:22014 +#: ../NEWS:22057 msgid "" ":issue:`41966`: Fix pickling pure Python :class:`datetime.time` subclasses. " "Patch by Dean Inwood." msgstr "" -#: ../NEWS:22017 +#: ../NEWS:22060 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 "" -#: ../NEWS:22021 +#: ../NEWS:22064 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 "" -#: ../NEWS:22024 +#: ../NEWS:22067 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 "" -#: ../NEWS:22028 +#: ../NEWS:22071 msgid "" ":issue:`42043`: Add support for ``zipfile.Path`` inheritance. ``zipfile.Path." "is_file()`` now returns False for non-existent names. ``zipfile.Path`` " @@ -38448,17 +38517,17 @@ msgid "" "zipfile." msgstr "" -#: ../NEWS:22034 +#: ../NEWS:22077 msgid ":issue:`42021`: Fix possible ref leaks in :mod:`sqlite3` module init." msgstr "" -#: ../NEWS:22036 +#: ../NEWS:22079 msgid "" ":issue:`39101`: Fixed tests using IsolatedAsyncioTestCase from hanging on " "BaseExceptions." msgstr "" -#: ../NEWS:22039 +#: ../NEWS:22082 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 " @@ -38466,109 +38535,109 @@ msgid "" "Galindo" msgstr "" -#: ../NEWS:22043 +#: ../NEWS:22086 msgid "" ":issue:`41943`: Fix bug where TestCase.assertLogs doesn't correctly filter " "messages by level." msgstr "" -#: ../NEWS:22046 +#: ../NEWS:22089 msgid "" ":issue:`41923`: Implement :pep:`613`, introducing :data:`typing.TypeAlias` " "annotation." msgstr "" -#: ../NEWS:22049 +#: ../NEWS:22092 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 "" -#: ../NEWS:22053 +#: ../NEWS:22096 msgid "" ":issue:`23706`: Added *newline* parameter to ``pathlib.Path.write_text()``." msgstr "" -#: ../NEWS:22055 +#: ../NEWS:22098 msgid ":issue:`41876`: Tkinter font class repr uses font name" msgstr "" -#: ../NEWS:22057 +#: ../NEWS:22100 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 "" -#: ../NEWS:22061 +#: ../NEWS:22104 msgid "" ":issue:`39337`: :func:`encodings.normalize_encoding` now ignores non-ASCII " "characters." msgstr "" -#: ../NEWS:22064 +#: ../NEWS:22107 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 "" -#: ../NEWS:22068 +#: ../NEWS:22111 msgid "" ":issue:`30681`: Handle exceptions caused by unparsable date headers when " "using email \"default\" policy. Patch by Tim Bell, Georges Toth" msgstr "" -#: ../NEWS:22071 +#: ../NEWS:22114 msgid "" ":issue:`41586`: Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module. Allow " "setting pipesize on subprocess.Popen." msgstr "" -#: ../NEWS:22074 +#: ../NEWS:22117 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 "" -#: ../NEWS:22078 +#: ../NEWS:22121 msgid "" ":issue:`16396`: Allow ``ctypes.wintypes`` to be imported on non-Windows " "systems." msgstr "" -#: ../NEWS:22081 +#: ../NEWS:22124 msgid ":issue:`4356`: Add a key function to the bisect module." msgstr "" -#: ../NEWS:22083 +#: ../NEWS:22126 msgid "" ":issue:`40592`: :func:`shutil.which` now ignores empty entries in :envvar:" "`PATHEXT` instead of treating them as a match." msgstr "" -#: ../NEWS:22086 +#: ../NEWS:22129 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 "" -#: ../NEWS:22090 +#: ../NEWS:22133 msgid "" ":issue:`34204`: The :mod:`shelve` module now uses :const:`pickle." "DEFAULT_PROTOCOL` by default instead of :mod:`pickle` protocol ``3``." msgstr "" -#: ../NEWS:22094 +#: ../NEWS:22137 msgid "" ":issue:`27321`: Fixed KeyError exception when flattening an email to a " "string attempts to replace a non-existent Content-Transfer-Encoding header." msgstr "" -#: ../NEWS:22097 +#: ../NEWS:22140 msgid "" ":issue:`38976`: The :mod:`http.cookiejar` module now supports the parsing of " "cookies in CURL-style cookiejar files through MozillaCookieJar on all " @@ -38576,23 +38645,23 @@ msgid "" "loading a cookiejar with such entries." msgstr "" -#: ../NEWS:22102 +#: ../NEWS:22145 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 "" -#: ../NEWS:22109 +#: ../NEWS:22152 msgid ":issue:`42061`: Document __format__ functionality for IP addresses." msgstr "" -#: ../NEWS:22111 +#: ../NEWS:22154 msgid "" ":issue:`41910`: Document the default implementation of ``object.__eq__``." msgstr "" -#: ../NEWS:22113 +#: ../NEWS:22156 msgid "" ":issue:`42010`: Clarify that subscription expressions are also valid for " "certain :term:`classes ` and :term:`types ` in the standard " @@ -38600,181 +38669,181 @@ msgid "" "`__class_getitem__` is provided." msgstr "" -#: ../NEWS:22118 +#: ../NEWS:22161 msgid "" ":issue:`41805`: Documented :ref:`generic alias type ` " "and :data:`types.GenericAlias`. Also added an entry in glossary for :term:" "`generic types `." msgstr "" -#: ../NEWS:22122 +#: ../NEWS:22165 msgid ":issue:`39693`: Fix tarfile's extractfile documentation" msgstr "" -#: ../NEWS:22124 +#: ../NEWS:22167 msgid "" ":issue:`39416`: Document some restrictions on the default string " "representations of numeric classes." msgstr "" -#: ../NEWS:22130 +#: ../NEWS:22173 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 "" -#: ../NEWS:22134 +#: ../NEWS:22177 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 "" -#: ../NEWS:22137 +#: ../NEWS:22180 msgid "" ":issue:`41944`: Tests for CJK codecs no longer call ``eval()`` on content " "received via HTTP." msgstr "" -#: ../NEWS:22140 +#: ../NEWS:22183 msgid "" ":issue:`41306`: Fixed a failure in ``test_tk.test_widgets.ScaleTest`` " "happening when executing the test with Tk 8.6.10." msgstr "" -#: ../NEWS:22146 +#: ../NEWS:22189 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 "" -#: ../NEWS:22153 +#: ../NEWS:22196 msgid "" ":issue:`38439`: Updates the icons for IDLE in the Windows Store package." msgstr "" -#: ../NEWS:22155 +#: ../NEWS:22198 msgid "" ":issue:`38252`: Use 8-byte step to detect ASCII sequence in 64-bit Windows " "build." msgstr "" -#: ../NEWS:22158 +#: ../NEWS:22201 msgid ":issue:`39107`: Update Tcl and Tk to 8.6.10 in Windows installer." msgstr "" -#: ../NEWS:22160 +#: ../NEWS:22203 msgid ":issue:`41557`: Update Windows installer to use SQLite 3.33.0." msgstr "" -#: ../NEWS:22162 +#: ../NEWS:22205 msgid "" ":issue:`38324`: Avoid Unicode errors when accessing certain locale data on " "Windows." msgstr "" -#: ../NEWS:22168 +#: ../NEWS:22211 msgid ":issue:`41471`: Ignore invalid prefix lengths in system proxy excludes." msgstr "" -#: ../NEWS:22173 +#: ../NEWS:22216 msgid "" ":issue:`33987`: Mostly finish using ttk widgets, mainly for editor, " "settings, and searches. Some patches by Mark Roseman." msgstr "" -#: ../NEWS:22176 +#: ../NEWS:22219 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 "" -#: ../NEWS:22180 +#: ../NEWS:22223 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 "" -#: ../NEWS:22186 +#: ../NEWS:22229 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 "" -#: ../NEWS:22190 +#: ../NEWS:22233 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 "" -#: ../NEWS:22194 +#: ../NEWS:22237 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 "" -#: ../NEWS:22198 +#: ../NEWS:22241 msgid "" ":issue:`41845`: :c:func:`PyObject_GenericGetDict` is available again in the " "limited API when targeting 3.10 or later." msgstr "" -#: ../NEWS:22201 +#: ../NEWS:22244 msgid "" ":issue:`40422`: Add ``_Py_closerange`` function to provide performant " "closing of a range of file descriptors." msgstr "" -#: ../NEWS:22204 +#: ../NEWS:22247 msgid "" ":issue:`41986`: :c:data:`!Py_FileSystemDefaultEncodeErrors` and :c:data:`!" "Py_UTF8Mode` are available again in limited API." msgstr "" -#: ../NEWS:22207 +#: ../NEWS:22250 msgid "" ":issue:`41756`: Add ``PyIter_Send`` function to allow sending value into " "generator/coroutine/iterator without raising StopIteration exception to " "signal return." msgstr "" -#: ../NEWS:22211 +#: ../NEWS:22254 msgid ":issue:`41784`: Added ``PyUnicode_AsUTF8AndSize`` to the limited C API." msgstr "" -#: ../NEWS:22215 +#: ../NEWS:22258 msgid "Python 3.10.0 alpha 1" msgstr "" -#: ../NEWS:22217 +#: ../NEWS:22260 msgid "*Release date: 2020-10-05*" msgstr "" -#: ../NEWS:22222 +#: ../NEWS:22265 msgid "" ":issue:`41304`: Fixes ``python3x._pth`` being ignored on Windows, caused by " "the fix for :issue:`29778` (:cve:`2020-15801`)." msgstr "" -#: ../NEWS:22225 +#: ../NEWS:22268 msgid "" ":issue:`41162`: Audit hooks are now cleared later during finalization to " "avoid missing events." msgstr "" -#: ../NEWS:22228 +#: ../NEWS:22271 msgid "" ":issue:`29778`: Ensure :file:`python3.dll` is loaded from correct locations " "when Python is embedded (:cve:`2020-15523`)." msgstr "" -#: ../NEWS:22231 +#: ../NEWS:22274 msgid "" ":issue:`41004`: The __hash__() methods of ipaddress.IPv4Interface and " "ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and " @@ -38783,144 +38852,144 @@ msgid "" "network address)." msgstr "" -#: ../NEWS:22237 +#: ../NEWS:22280 msgid "" ":issue:`39603`: Prevent http header injection by rejecting control " "characters in http.client.putrequest(...)." msgstr "" -#: ../NEWS:22243 +#: ../NEWS:22286 msgid "" ":issue:`41909`: Fixed stack overflow in :func:`issubclass` and :func:" "`isinstance` when getting the ``__bases__`` attribute leads to infinite " "recursion." msgstr "" -#: ../NEWS:22247 +#: ../NEWS:22290 msgid "" ":issue:`41922`: Speed up calls to ``reversed()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:22250 +#: ../NEWS:22293 msgid "" ":issue:`41873`: Calls to ``float()`` are now faster due to the " "``vectorcall`` calling convention. Patch by Dennis Sweeney." msgstr "" -#: ../NEWS:22253 +#: ../NEWS:22296 msgid "" ":issue:`41870`: Speed up calls to ``bool()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:22256 +#: ../NEWS:22299 msgid "" ":issue:`1635741`: Port the :mod:`!_bisect` module to the multi-phase " "initialization API (:pep:`489`)." msgstr "" -#: ../NEWS:22259 +#: ../NEWS:22302 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 "" -#: ../NEWS:22263 +#: ../NEWS:22306 msgid "" ":issue:`41780`: Fix :meth:`__dir__` of :class:`types.GenericAlias`. Patch by " "Batuhan Taskaya." msgstr "" -#: ../NEWS:22266 +#: ../NEWS:22309 msgid "" ":issue:`1635741`: Port the :mod:`!_lsprof` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22269 +#: ../NEWS:22312 msgid "" ":issue:`1635741`: Port the :mod:`cmath` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22272 +#: ../NEWS:22315 msgid "" ":issue:`1635741`: Port the :mod:`!_scproxy` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22275 +#: ../NEWS:22318 msgid "" ":issue:`1635741`: Port the :mod:`termios` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22278 +#: ../NEWS:22321 msgid "" ":issue:`1635741`: Convert the :mod:`!_sha256` extension module types to heap " "types." msgstr "" -#: ../NEWS:22281 +#: ../NEWS:22324 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 "" -#: ../NEWS:22285 +#: ../NEWS:22328 msgid "" ":issue:`1635741`: Port the :mod:`!_overlapped` extension module to multi-" "phase initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22288 +#: ../NEWS:22331 msgid "" ":issue:`1635741`: Port the :mod:`!_curses_panel` extension module to multi-" "phase initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22291 +#: ../NEWS:22334 msgid "" ":issue:`1635741`: Port the :mod:`!_opcode` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22294 +#: ../NEWS:22337 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 "" -#: ../NEWS:22297 +#: ../NEWS:22340 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 "" -#: ../NEWS:22301 +#: ../NEWS:22344 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 "" -#: ../NEWS:22305 +#: ../NEWS:22348 msgid "" ":issue:`41654`: Fix a crash that occurred when destroying subclasses of :" "class:`MemoryError`. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22308 +#: ../NEWS:22351 msgid "" ":issue:`1635741`: Port the :mod:`zlib` extension module to multi-phase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:22311 +#: ../NEWS:22354 msgid "" ":issue:`41631`: The ``_ast`` module uses again a global state. Using a " "module state per module instance is causing subtle practical problems. For " @@ -38929,123 +38998,123 @@ msgid "" "return a fully initialized ``_ast`` module." msgstr "" -#: ../NEWS:22317 +#: ../NEWS:22360 msgid "" ":issue:`40077`: Convert :mod:`!_operator` to use :c:func:`PyType_FromSpec`." msgstr "" -#: ../NEWS:22319 +#: ../NEWS:22362 msgid "" ":issue:`1653741`: Port :mod:`!_sha3` to multi-phase init. Convert static " "types to heap types." msgstr "" -#: ../NEWS:22322 +#: ../NEWS:22365 msgid "" ":issue:`1635741`: Port the :mod:`!_blake2` extension module to the multi-" "phase initialization API (:pep:`489`)." msgstr "" -#: ../NEWS:22325 +#: ../NEWS:22368 msgid "" ":issue:`41533`: Free the stack allocated in ``va_build_stack`` if " "``do_mkstack`` fails and the stack is not a ``small_stack``." msgstr "" -#: ../NEWS:22328 +#: ../NEWS:22371 msgid "" ":issue:`41531`: Fix a bug that was dropping keys when compiling dict " "literals with more than 0xFFFF elements. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22331 +#: ../NEWS:22374 msgid "" ":issue:`41525`: The output of ``python --help`` contains now only ASCII " "characters." msgstr "" -#: ../NEWS:22334 +#: ../NEWS:22377 msgid "" ":issue:`1635741`: Port the :mod:`!_sha1`, :mod:`!_sha512`, and :mod:`!_md5` " "extension modules to multi-phase initialization API (:pep:`489`)." msgstr "" -#: ../NEWS:22337 +#: ../NEWS:22380 msgid "" ":issue:`41431`: Optimize ``dict_merge()`` for copying dict (e.g. ``dict(d)`` " "and ``{}.update(d)``)." msgstr "" -#: ../NEWS:22340 +#: ../NEWS:22383 msgid "" ":issue:`41428`: Implement PEP 604. This supports (int | str) etc. in place " "of Union[str, int]." msgstr "" -#: ../NEWS:22343 +#: ../NEWS:22386 msgid ":issue:`41340`: Removed fallback implementation for ``strdup``." msgstr "" -#: ../NEWS:22345 +#: ../NEWS:22388 msgid "" ":issue:`38156`: Handle interrupts that come after EOF correctly in " "``PyOS_StdioReadline``." msgstr "" -#: ../NEWS:22348 +#: ../NEWS:22391 msgid "" ":issue:`41342`: :func:`round` with integer argument is now faster (9--60%)." msgstr "" -#: ../NEWS:22350 +#: ../NEWS:22393 msgid "" ":issue:`41334`: Constructors :func:`str`, :func:`bytes` and :func:" "`bytearray` are now faster (around 30--40% for small objects)." msgstr "" -#: ../NEWS:22353 +#: ../NEWS:22396 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 "" -#: ../NEWS:22358 +#: ../NEWS:22401 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 "" -#: ../NEWS:22362 +#: ../NEWS:22405 msgid "" ":issue:`41247`: Always cache the running loop holder when running ``asyncio." "set_running_loop``." msgstr "" -#: ../NEWS:22365 +#: ../NEWS:22408 msgid "" ":issue:`41252`: Fix incorrect refcounting in _ssl.c's " "``_servername_callback()``." msgstr "" -#: ../NEWS:22368 +#: ../NEWS:22411 msgid "" ":issue:`1635741`: Port :mod:`multiprocessing` to multi-phase initialization" msgstr "" -#: ../NEWS:22370 +#: ../NEWS:22413 msgid ":issue:`1635741`: Port :mod:`winapi` to multiphase initialization" msgstr "" -#: ../NEWS:22372 +#: ../NEWS:22415 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 "" -#: ../NEWS:22376 +#: ../NEWS:22419 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 " @@ -39053,156 +39122,156 @@ msgid "" "tagged as so." msgstr "" -#: ../NEWS:22381 +#: ../NEWS:22424 msgid "" ":issue:`1635741`: Port :mod:`faulthandler` to multiphase initialization." msgstr "" -#: ../NEWS:22383 +#: ../NEWS:22426 msgid ":issue:`1635741`: Port :mod:`sha256` to multiphase initialization" msgstr "" -#: ../NEWS:22385 +#: ../NEWS:22428 msgid "" ":issue:`41175`: Guard against a NULL pointer dereference within " "bytearrayobject triggered by the ``bytearray() + bytearray()`` operation." msgstr "" -#: ../NEWS:22388 +#: ../NEWS:22431 msgid ":issue:`41100`: add arm64 to the allowable Mac OS arches in mpdecimal.h" msgstr "" -#: ../NEWS:22390 +#: ../NEWS:22433 msgid "" ":issue:`41094`: Fix decoding errors with audit when open files with non-" "ASCII names on non-UTF-8 locale." msgstr "" -#: ../NEWS:22393 +#: ../NEWS:22436 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 "" -#: ../NEWS:22397 +#: ../NEWS:22440 msgid "" ":issue:`41084`: Prefix the error message with 'f-string: ', when parsing an " "f-string expression which throws a :exc:`SyntaxError`." msgstr "" -#: ../NEWS:22400 +#: ../NEWS:22443 msgid ":issue:`40521`: Empty frozensets are no longer singletons." msgstr "" -#: ../NEWS:22402 +#: ../NEWS:22445 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 "" -#: ../NEWS:22406 +#: ../NEWS:22449 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 "" -#: ../NEWS:22410 +#: ../NEWS:22453 msgid "" ":issue:`41061`: Fix incorrect expressions and asserts in hashtable code and " "tests." msgstr "" -#: ../NEWS:22413 +#: ../NEWS:22456 msgid "" ":issue:`41052`: Opt out serialization/deserialization for _random.Random" msgstr "" -#: ../NEWS:22415 +#: ../NEWS:22458 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 "" -#: ../NEWS:22419 +#: ../NEWS:22462 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 "" -#: ../NEWS:22423 +#: ../NEWS:22466 msgid "" ":issue:`40939`: Remove the remaining files from the old parser and the :mod:" "`symbol` module." msgstr "" -#: ../NEWS:22426 +#: ../NEWS:22469 msgid ":issue:`40077`: Convert :mod:`!_bz2` to use :c:func:`PyType_FromSpec`." msgstr "" -#: ../NEWS:22428 +#: ../NEWS:22471 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 "" -#: ../NEWS:22432 +#: ../NEWS:22475 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 "" -#: ../NEWS:22436 +#: ../NEWS:22479 msgid ":issue:`1635741`: Port :mod:`!_gdbm` to multiphase initialization." msgstr "" -#: ../NEWS:22438 +#: ../NEWS:22481 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 "" -#: ../NEWS:22442 +#: ../NEWS:22485 msgid "" ":issue:`40958`: Fix a possible buffer overflow in the PEG parser when " "gathering information for emitting syntax errors. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22445 +#: ../NEWS:22488 msgid ":issue:`1635741`: Port :mod:`!_dbm` to multiphase initialization." msgstr "" -#: ../NEWS:22447 +#: ../NEWS:22490 msgid ":issue:`40957`: Fix refleak in _Py_fopen_obj() when PySys_Audit() fails" msgstr "" -#: ../NEWS:22449 +#: ../NEWS:22492 msgid "" ":issue:`40950`: Add a state to the :mod:`!nis` module (:pep:`3121`) and " "apply the multiphase initialization. Patch by Donghee Na." msgstr "" -#: ../NEWS:22452 +#: ../NEWS:22495 msgid "" ":issue:`40947`: The Python :ref:`Path Configuration ` now " "takes :c:member:`PyConfig.platlibdir` in account." msgstr "" -#: ../NEWS:22455 +#: ../NEWS:22498 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 "" -#: ../NEWS:22459 +#: ../NEWS:22502 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, " @@ -39212,76 +39281,76 @@ msgid "" "character was interpreted as a :exc:`SyntaxError`." msgstr "" -#: ../NEWS:22466 +#: ../NEWS:22509 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 "" -#: ../NEWS:22470 +#: ../NEWS:22513 msgid "" ":issue:`40889`: Improved the performance of symmetric difference operations " "on dictionary item views. Patch by Dennis Sweeney." msgstr "" -#: ../NEWS:22473 +#: ../NEWS:22516 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 "" -#: ../NEWS:22477 +#: ../NEWS:22520 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 "" -#: ../NEWS:22481 +#: ../NEWS:22524 msgid "" ":issue:`40880`: Fix invalid memory read in the new parser when checking " "newlines in string literals. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22484 +#: ../NEWS:22527 msgid "" ":issue:`40883`: Fix memory leak in when parsing f-strings in the new parser. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:22487 +#: ../NEWS:22530 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 "" -#: ../NEWS:22491 +#: ../NEWS:22534 msgid "" ":issue:`40854`: Allow overriding :data:`sys.platlibdir` via a new :envvar:" "`PYTHONPLATLIBDIR` environment variable." msgstr "" -#: ../NEWS:22494 +#: ../NEWS:22537 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 "" -#: ../NEWS:22498 +#: ../NEWS:22541 msgid ":issue:`1635741`: Port :mod:`fcntl` to multiphase initialization." msgstr "" -#: ../NEWS:22500 +#: ../NEWS:22543 msgid "" ":issue:`19468`: Delete unnecessary instance check in importlib.reload(). " "Patch by Furkan Önder." msgstr "" -#: ../NEWS:22503 +#: ../NEWS:22546 msgid "" ":issue:`40824`: Unexpected errors in calling the ``__iter__`` method are no " "longer masked by ``TypeError`` in the :keyword:`in` operator and functions :" @@ -39289,33 +39358,33 @@ msgid "" "countOf` of the :mod:`operator` module." msgstr "" -#: ../NEWS:22508 +#: ../NEWS:22551 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 "" -#: ../NEWS:22512 +#: ../NEWS:22555 msgid "" ":issue:`40780`: Fix a corner case where g-style string formatting of a float " "failed to remove trailing zeros." msgstr "" -#: ../NEWS:22515 +#: ../NEWS:22558 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 "" -#: ../NEWS:22519 +#: ../NEWS:22562 msgid "" ":issue:`40750`: Support the \"-d\" debug flag in the new PEG parser. Patch " "by Pablo Galindo" msgstr "" -#: ../NEWS:22522 +#: ../NEWS:22565 msgid "" ":issue:`40217`: Instances of types created with :c:func:" "`PyType_FromSpecWithBases` will no longer automatically visit their class " @@ -39323,72 +39392,72 @@ msgid "" "expected to manually visit the object's class. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22528 +#: ../NEWS:22571 msgid "" ":issue:`39573`: :c:func:`Py_TYPE()` is changed to the inline static " "function. Patch by Donghee Na." msgstr "" -#: ../NEWS:22531 +#: ../NEWS:22574 msgid "" ":issue:`40696`: Fix a hang that can arise after :meth:`generator.throw` due " "to a cycle in the exception context chain." msgstr "" -#: ../NEWS:22534 +#: ../NEWS:22577 msgid "" ":issue:`40521`: Each interpreter now its has own free lists, singletons and " "caches:" msgstr "" -#: ../NEWS:22537 +#: ../NEWS:22580 msgid "" "Free lists: float, tuple, list, dict, frame, context, asynchronous " "generator, MemoryError." msgstr "" -#: ../NEWS:22539 +#: ../NEWS:22582 msgid "" "Singletons: empty tuple, empty bytes string, empty Unicode string, single " "byte character, single Unicode (latin1) character." msgstr "" -#: ../NEWS:22541 +#: ../NEWS:22584 msgid "Slice cache." msgstr "" -#: ../NEWS:22543 +#: ../NEWS:22586 msgid "They are no longer shared by all interpreters." msgstr "" -#: ../NEWS:22545 +#: ../NEWS:22588 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 "" -#: ../NEWS:22549 +#: ../NEWS:22592 msgid "" ":issue:`29590`: Make the stack trace correct after calling :meth:`generator." "throw` on a generator that has yielded from a ``yield from``." msgstr "" -#: ../NEWS:22553 +#: ../NEWS:22596 msgid "" ":issue:`4022`: Improve performance of generators by not raising internal " "StopIteration." msgstr "" -#: ../NEWS:22556 +#: ../NEWS:22599 msgid ":issue:`1635741`: Port :mod:`mmap` to multiphase initialization." msgstr "" -#: ../NEWS:22558 +#: ../NEWS:22601 msgid ":issue:`1635741`: Port :mod:`!_lzma` to multiphase initialization." msgstr "" -#: ../NEWS:22560 +#: ../NEWS:22603 msgid "" ":issue:`37999`: Builtin and extension functions that take integer arguments " "no longer accept :class:`~decimal.Decimal`\\ s, :class:`~fractions." @@ -39397,13 +39466,13 @@ msgid "" "the :meth:`~object.__index__` method)." msgstr "" -#: ../NEWS:22566 +#: ../NEWS:22609 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 "" -#: ../NEWS:22569 +#: ../NEWS:22612 msgid "" ":issue:`36982`: Use ncurses extended color functions when available to " "support terminals with 256 colors, and add the new function :func:`curses." @@ -39411,277 +39480,277 @@ msgid "" "provided by the underlying ncurses library." msgstr "" -#: ../NEWS:22574 +#: ../NEWS:22617 msgid "" ":issue:`19569`: Add the private macros ``_Py_COMP_DIAG_PUSH``, " "``_Py_COMP_DIAG_IGNORE_DEPR_DECLS``, and ``_Py_COMP_DIAG_POP``." msgstr "" -#: ../NEWS:22577 +#: ../NEWS:22620 msgid "" ":issue:`26680`: The int type now supports the x.is_integer() method for " "compatibility with float." msgstr "" -#: ../NEWS:22583 +#: ../NEWS:22626 msgid "" ":issue:`41900`: C14N 2.0 serialisation in xml.etree.ElementTree failed for " "unprefixed attributes when a default namespace was defined." msgstr "" -#: ../NEWS:22586 +#: ../NEWS:22629 msgid "" ":issue:`41887`: Strip leading spaces and tabs on :func:`ast.literal_eval`. " "Also document stripping of spaces and tabs for :func:`eval`." msgstr "" -#: ../NEWS:22589 +#: ../NEWS:22632 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 "" -#: ../NEWS:22593 +#: ../NEWS:22636 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 "" -#: ../NEWS:22597 +#: ../NEWS:22640 msgid "" ":issue:`41842`: Add :func:`codecs.unregister` function to unregister a codec " "search function." msgstr "" -#: ../NEWS:22600 +#: ../NEWS:22643 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 "" -#: ../NEWS:22604 +#: ../NEWS:22647 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 "" -#: ../NEWS:22608 +#: ../NEWS:22651 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 "" -#: ../NEWS:22612 +#: ../NEWS:22655 msgid "" ":issue:`41817`: fix ``tkinter.EventType`` Enum so all members are strings, " "and none are tuples" msgstr "" -#: ../NEWS:22615 +#: ../NEWS:22658 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 "" -#: ../NEWS:22619 +#: ../NEWS:22662 msgid "" ":issue:`41815`: Fix SQLite3 segfault when backing up closed database. Patch " "contributed by Peter David McCormick." msgstr "" -#: ../NEWS:22622 +#: ../NEWS:22665 msgid "" ":issue:`41816`: StrEnum added: it ensures that all members are already " "strings or string candidates" msgstr "" -#: ../NEWS:22625 +#: ../NEWS:22668 msgid "" ":issue:`41517`: fix bug allowing Enums to be extended via multiple " "inheritance" msgstr "" -#: ../NEWS:22627 +#: ../NEWS:22670 msgid "" ":issue:`39587`: use the correct mix-in data type when constructing Enums" msgstr "" -#: ../NEWS:22629 +#: ../NEWS:22672 msgid "" ":issue:`41792`: Add is_typeddict function to typing.py to check if a type is " "a TypedDict class" msgstr "" -#: ../NEWS:22632 +#: ../NEWS:22675 msgid "" "Previously there was no way to check that without using private API. See the " "`relevant issue in python/typing `_." msgstr "" -#: ../NEWS:22636 +#: ../NEWS:22679 msgid "" ":issue:`41789`: Honor ``object`` overrides in ``Enum`` class creation " "(specifically, ``__str__``, ``__repr__``, ``__format__``, and " "``__reduce_ex__``)." msgstr "" -#: ../NEWS:22640 +#: ../NEWS:22683 msgid "" ":issue:`32218`: ``enum.Flag`` and ``enum.IntFlag`` members are now iterable." msgstr "" -#: ../NEWS:22642 +#: ../NEWS:22685 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 "" -#: ../NEWS:22646 +#: ../NEWS:22689 msgid "" ":issue:`1635741`: Port the ``mashal`` extension module to the multi-phase " "initialization API (:pep:`489`)." msgstr "" -#: ../NEWS:22649 +#: ../NEWS:22692 msgid "" ":issue:`1635741`: Port the ``_string`` extension module to the multi-phase " "initialization API (:pep:`489`)." msgstr "" -#: ../NEWS:22652 +#: ../NEWS:22695 msgid ":issue:`41732`: Added an :term:`iterator` to :class:`memoryview`." msgstr "" -#: ../NEWS:22654 +#: ../NEWS:22697 msgid "" ":issue:`41720`: Fixed :meth:`turtle.Vec2D.__rmul__` for arguments which are " "not int or float." msgstr "" -#: ../NEWS:22657 +#: ../NEWS:22700 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 "" -#: ../NEWS:22661 +#: ../NEWS:22704 msgid "" ":issue:`41687`: Fix implementation of sendfile to be compatible with Solaris." msgstr "" -#: ../NEWS:22663 +#: ../NEWS:22706 msgid "" ":issue:`41662`: No longer override exceptions raised in ``__len__()`` of a " "sequence of parameters in :mod:`sqlite3` with :exc:`~sqlite3." "ProgrammingError`." msgstr "" -#: ../NEWS:22667 +#: ../NEWS:22710 msgid "" ":issue:`39010`: Restarting a ``ProactorEventLoop`` on Windows no longer logs " "spurious ``ConnectionResetErrors``." msgstr "" -#: ../NEWS:22670 +#: ../NEWS:22713 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 "" -#: ../NEWS:22674 +#: ../NEWS:22717 msgid "" ":issue:`41662`: Fixed crash when mutate list of parameters during iteration " "in :mod:`sqlite3`." msgstr "" -#: ../NEWS:22677 +#: ../NEWS:22720 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 "" -#: ../NEWS:22681 +#: ../NEWS:22724 msgid "" ":issue:`41609`: The pdb whatis command correctly reports instance methods as " "'Method' rather than 'Function'." msgstr "" -#: ../NEWS:22684 +#: ../NEWS:22727 msgid "" ":issue:`39994`: Fixed pprint's handling of dict subclasses that override " "__repr__." msgstr "" -#: ../NEWS:22687 +#: ../NEWS:22730 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 "" -#: ../NEWS:22692 +#: ../NEWS:22735 msgid "" ":issue:`37658`: :meth:`asyncio.wait_for` now properly handles races between " "cancellation of itself and the completion of the wrapped awaitable." msgstr "" -#: ../NEWS:22695 +#: ../NEWS:22738 msgid "" ":issue:`40782`: Change the method asyncio.AbstractEventLoop.run_in_executor " "to not be a coroutine." msgstr "" -#: ../NEWS:22698 +#: ../NEWS:22741 msgid "" ":issue:`41520`: Fix :mod:`codeop` regression that prevented turning compile " "warnings into errors." msgstr "" -#: ../NEWS:22701 +#: ../NEWS:22744 msgid "" ":issue:`41528`: turtle uses math module functions to convert degrees to " "radians and vice versa and to calculate vector norm" msgstr "" -#: ../NEWS:22704 +#: ../NEWS:22747 msgid "" ":issue:`41513`: Minor algorithmic improvement to math.hypot() and math." "dist() giving small gains in speed and accuracy." msgstr "" -#: ../NEWS:22707 +#: ../NEWS:22750 msgid "" ":issue:`41503`: Fixed a race between setTarget and flush in logging.handlers." "MemoryHandler." msgstr "" -#: ../NEWS:22710 +#: ../NEWS:22753 msgid ":issue:`41497`: Fix potential UnicodeDecodeError in dis module." msgstr "" -#: ../NEWS:22712 +#: ../NEWS:22755 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 "" -#: ../NEWS:22716 +#: ../NEWS:22759 msgid ":issue:`41425`: Make tkinter doc example runnable." msgstr "" -#: ../NEWS:22718 +#: ../NEWS:22761 msgid "" ":issue:`41421`: Make an algebraic simplification to random.paretovariate(). " "It now is slightly less subject to round-off error and is slightly faster. " @@ -39689,110 +39758,110 @@ msgid "" "instead." msgstr "" -#: ../NEWS:22723 +#: ../NEWS:22766 msgid ":issue:`41440`: Add :func:`os.cpu_count` support for VxWorks RTOS." msgstr "" -#: ../NEWS:22725 +#: ../NEWS:22768 msgid "" ":issue:`41316`: Fix the :mod:`tarfile` module to write only basename of TAR " "file to GZIP compression header." msgstr "" -#: ../NEWS:22728 +#: ../NEWS:22771 msgid "" ":issue:`41384`: Raise TclError instead of TypeError when an unknown option " "is passed to tkinter.OptionMenu." msgstr "" -#: ../NEWS:22731 +#: ../NEWS:22774 msgid "" ":issue:`41317`: Use add_done_callback() in asyncio.loop.sock_accept() to " "unsubscribe reader early on cancellation." msgstr "" -#: ../NEWS:22734 +#: ../NEWS:22777 msgid ":issue:`41364`: Reduce import overhead of :mod:`uuid`." msgstr "" -#: ../NEWS:22736 +#: ../NEWS:22779 msgid "" ":issue:`35328`: Set the environment variable ``VIRTUAL_ENV_PROMPT`` at :mod:" "`venv` activation." msgstr "" -#: ../NEWS:22739 +#: ../NEWS:22782 msgid "" ":issue:`41341`: Recursive evaluation of ``typing.ForwardRef`` in " "``get_type_hints``." msgstr "" -#: ../NEWS:22742 +#: ../NEWS:22785 msgid "" ":issue:`41344`: Prevent creating :class:`shared_memory.SharedMemory` objects " "with :code:`size=0`." msgstr "" -#: ../NEWS:22745 +#: ../NEWS:22788 msgid "" ":issue:`41333`: :meth:`collections.OrderedDict.pop` is now 2 times faster." msgstr "" -#: ../NEWS:22747 +#: ../NEWS:22790 msgid "" ":issue:`41288`: Unpickling invalid NEWOBJ_EX opcode with the C " "implementation raises now UnpicklingError instead of crashing." msgstr "" -#: ../NEWS:22750 +#: ../NEWS:22793 msgid "" ":issue:`39017`: Avoid infinite loop when reading specially crafted TAR files " "using the tarfile module (:cve:`2019-20907`)." msgstr "" -#: ../NEWS:22753 +#: ../NEWS:22796 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 "" -#: ../NEWS:22757 +#: ../NEWS:22800 msgid "" ":issue:`41235`: Fix the error handling in :meth:`ssl.SSLContext." "load_dh_params`." msgstr "" -#: ../NEWS:22760 +#: ../NEWS:22803 msgid "" ":issue:`41207`: In distutils.spawn, restore expectation that " "DistutilsExecError is raised when the command is not found." msgstr "" -#: ../NEWS:22763 +#: ../NEWS:22806 msgid "" ":issue:`29727`: Register :class:`array.array` as a :class:`~collections.abc." "MutableSequence`. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:22766 +#: ../NEWS:22809 msgid "" ":issue:`39168`: Remove the ``__new__`` method of :class:`typing.Generic`." msgstr "" -#: ../NEWS:22768 +#: ../NEWS:22811 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 "" -#: ../NEWS:22771 +#: ../NEWS:22814 msgid "" ":issue:`41195`: Add read-only ssl.SSLContext.security_level attribute to " "retrieve the context's security level." msgstr "" -#: ../NEWS:22774 +#: ../NEWS:22817 msgid "" ":issue:`41193`: The ``write_history()`` atexit function of the readline " "completer now ignores any :exc:`OSError` to ignore error if the filesystem " @@ -39800,149 +39869,149 @@ msgid "" "`PermissionError`." msgstr "" -#: ../NEWS:22779 +#: ../NEWS:22822 msgid ":issue:`41182`: selector: use DefaultSelector based upon implementation" msgstr "" -#: ../NEWS:22781 +#: ../NEWS:22824 msgid "" ":issue:`41161`: The decimal module now requires libmpdec-2.5.0. Users of --" "with-system-libmpdec should update their system library." msgstr "" -#: ../NEWS:22784 +#: ../NEWS:22827 msgid ":issue:`40874`: The decimal module now requires libmpdec-2.5.0." msgstr "" -#: ../NEWS:22786 +#: ../NEWS:22829 msgid "" ":issue:`41138`: Fixed the :mod:`trace` module CLI for Python source files " "with non-UTF-8 encoding." msgstr "" -#: ../NEWS:22789 +#: ../NEWS:22832 msgid "" ":issue:`31082`: Use the term \"iterable\" in the docstring for :func:" "`functools.reduce`." msgstr "" -#: ../NEWS:22792 +#: ../NEWS:22835 msgid ":issue:`40521`: Remove freelist from collections.deque()." msgstr "" -#: ../NEWS:22794 +#: ../NEWS:22837 msgid "" ":issue:`31938`: Fix default-value signatures of several functions in the :" "mod:`select` module - by Anthony Sottile." msgstr "" -#: ../NEWS:22797 +#: ../NEWS:22840 msgid "" ":issue:`41068`: Fixed reading files with non-ASCII names from ZIP archive " "directly after writing them." msgstr "" -#: ../NEWS:22800 +#: ../NEWS:22843 msgid "" ":issue:`41058`: :func:`pdb.find_function` now correctly determines the " "source file encoding." msgstr "" -#: ../NEWS:22803 +#: ../NEWS:22846 msgid "" ":issue:`41056`: Invalid file descriptor values are now prevented from being " "passed to os.fpathconf. (discovered by Coverity)" msgstr "" -#: ../NEWS:22806 +#: ../NEWS:22849 msgid "" ":issue:`41056`: Fix a NULL pointer dereference within the ssl module during " "a MemoryError in the keylog callback. (discovered by Coverity)" msgstr "" -#: ../NEWS:22809 +#: ../NEWS:22852 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 "" -#: ../NEWS:22813 +#: ../NEWS:22856 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 "" -#: ../NEWS:22817 +#: ../NEWS:22860 msgid "" ":issue:`41043`: Fixed the use of :func:`~glob.glob` in the stdlib: literal " "part of the path is now always correctly escaped." msgstr "" -#: ../NEWS:22820 +#: ../NEWS:22863 msgid "" ":issue:`41025`: Fixed an issue preventing the C implementation of :class:" "`zoneinfo.ZoneInfo` from being subclassed." msgstr "" -#: ../NEWS:22823 +#: ../NEWS:22866 msgid "" ":issue:`35018`: Add the :class:`xml.sax.handler.LexicalHandler` class that " "is present in other SAX XML implementations." msgstr "" -#: ../NEWS:22826 +#: ../NEWS:22869 msgid "" ":issue:`41002`: Improve performance of HTTPResponse.read with a given " "amount. Patch by Bruce Merry." msgstr "" -#: ../NEWS:22829 +#: ../NEWS:22872 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 "" -#: ../NEWS:22833 +#: ../NEWS:22876 msgid "" ":issue:`40967`: Removed :meth:`!asyncio.Task.current_task` and :meth:`!" "asyncio.Task.all_tasks`. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:22836 +#: ../NEWS:22879 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 "" -#: ../NEWS:22840 +#: ../NEWS:22883 msgid "" ":issue:`40955`: Fix a minor memory leak in :mod:`subprocess` module when " "extra_groups was specified." msgstr "" -#: ../NEWS:22843 +#: ../NEWS:22886 msgid "" ":issue:`40855`: The standard deviation and variance functions in the " "statistics module were ignoring their mu and xbar arguments." msgstr "" -#: ../NEWS:22846 +#: ../NEWS:22889 msgid "" ":issue:`40939`: Use the new PEG parser when generating the stdlib :mod:" "`keyword` module." msgstr "" -#: ../NEWS:22849 +#: ../NEWS:22892 msgid "" ":issue:`23427`: Add :data:`sys.orig_argv` attribute: the list of the " "original command line arguments passed to the Python executable." msgstr "" -#: ../NEWS:22852 +#: ../NEWS:22895 msgid "" ":issue:`33689`: Ignore empty or whitespace-only lines in .pth files. This " "matches the documentated behavior. Before, empty lines caused the site-" @@ -39950,49 +40019,49 @@ msgid "" "contributors Malcolm Smith and Tal Einat." msgstr "" -#: ../NEWS:22857 +#: ../NEWS:22900 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 "" -#: ../NEWS:22861 +#: ../NEWS:22904 msgid ":issue:`40876`: Clarify error message in the :mod:`csv` module." msgstr "" -#: ../NEWS:22863 +#: ../NEWS:22906 msgid "" ":issue:`39791`: Refresh importlib.metadata from importlib_metadata 1.6.1." msgstr "" -#: ../NEWS:22865 +#: ../NEWS:22908 msgid "" ":issue:`40807`: Stop codeop._maybe_compile, used by code." "InteractiveInterpreter (and IDLE). from emitting each warning three times." msgstr "" -#: ../NEWS:22868 +#: ../NEWS:22911 msgid "" ":issue:`32604`: Fix reference leak in the :mod:`select` module when the " "module is imported in a subinterpreter." msgstr "" -#: ../NEWS:22871 +#: ../NEWS:22914 msgid "" ":issue:`39791`: Built-in loaders (SourceFileLoader and ZipImporter) now " "supply ``TraversableResources`` implementations for ``ResourceReader``, and " "the fallback function has been removed." msgstr "" -#: ../NEWS:22875 +#: ../NEWS:22918 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 "" -#: ../NEWS:22879 +#: ../NEWS:22922 msgid "" ":issue:`17005`: The topological sort functionality that was introduced " "initially in the :mod:`functools` module has been moved to a new :mod:" @@ -40000,30 +40069,30 @@ msgid "" "scope of the :mod:`functools` module. Patch by Pablo Galindo" msgstr "" -#: ../NEWS:22884 +#: ../NEWS:22927 msgid "" ":issue:`40834`: Fix truncate when sending str object with_xxsubinterpreters." "channel_send." msgstr "" -#: ../NEWS:22887 +#: ../NEWS:22930 msgid ":issue:`40755`: Add rich comparisons to collections.Counter()." msgstr "" -#: ../NEWS:22889 +#: ../NEWS:22932 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 "" -#: ../NEWS:22893 +#: ../NEWS:22936 msgid "" ":issue:`39384`: Fixed email.contentmanager to allow set_content() to set a " "null string." msgstr "" -#: ../NEWS:22896 +#: ../NEWS:22939 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 " @@ -40031,38 +40100,38 @@ msgid "" "and runtime. Patch by Sergey Fedoseev and Erlend E. Aasland." msgstr "" -#: ../NEWS:22901 +#: ../NEWS:22944 msgid "" ":issue:`40777`: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-" "time to avoid errors on some compilers." msgstr "" -#: ../NEWS:22904 +#: ../NEWS:22947 msgid "" ":issue:`38488`: Update ensurepip to install pip 20.1.1 and setuptools 47.1.0." msgstr "" -#: ../NEWS:22906 +#: ../NEWS:22949 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 "" -#: ../NEWS:22910 +#: ../NEWS:22953 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 "" -#: ../NEWS:22914 +#: ../NEWS:22957 msgid "" ":issue:`40791`: :func:`hashlib.compare_digest` uses OpenSSL's " "``CRYPTO_memcmp()`` function when OpenSSL is available." msgstr "" -#: ../NEWS:22917 +#: ../NEWS:22960 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." @@ -40070,84 +40139,84 @@ msgid "" "was logged into stderr by :c:func:`PyErr_Print`." msgstr "" -#: ../NEWS:22922 +#: ../NEWS:22965 msgid "" ":issue:`16995`: Add :func:`base64.b32hexencode` and :func:`base64." "b32hexdecode` to support the Base32 Encoding with Extended Hex Alphabet." msgstr "" -#: ../NEWS:22925 +#: ../NEWS:22968 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 "" -#: ../NEWS:22928 +#: ../NEWS:22971 msgid ":issue:`30064`: Fix asyncio ``loop.sock_*`` race condition issue" msgstr "" -#: ../NEWS:22930 +#: ../NEWS:22973 msgid ":issue:`40759`: Deprecate the :mod:`symbol` module." msgstr "" -#: ../NEWS:22932 +#: ../NEWS:22975 msgid "" ":issue:`40756`: The second argument (extra) of ``LoggerAdapter.__init__`` " "now defaults to None." msgstr "" -#: ../NEWS:22935 +#: ../NEWS:22978 msgid "" ":issue:`37129`: Add a new :const:`os.RWF_APPEND` flag for :func:`os.pwritev`." msgstr "" -#: ../NEWS:22937 +#: ../NEWS:22980 msgid "" ":issue:`40737`: Fix possible reference leak for :mod:`sqlite3` " "initialization." msgstr "" -#: ../NEWS:22939 +#: ../NEWS:22982 msgid "" ":issue:`40726`: Handle cases where the ``end_lineno`` is ``None`` on :func:" "`ast.increment_lineno`." msgstr "" -#: ../NEWS:22942 +#: ../NEWS:22985 msgid "" ":issue:`40698`: ``distutils`` upload creates SHA2-256 and Blake2b-256 " "digests. MD5 digests is skipped if platform blocks MD5." msgstr "" -#: ../NEWS:22945 +#: ../NEWS:22988 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 "" -#: ../NEWS:22949 +#: ../NEWS:22992 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 "" -#: ../NEWS:22953 +#: ../NEWS:22996 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 "" -#: ../NEWS:22956 +#: ../NEWS:22999 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 "" -#: ../NEWS:22960 +#: ../NEWS:23003 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." @@ -40159,13 +40228,13 @@ msgid "" "older than 4." msgstr "" -#: ../NEWS:22969 +#: ../NEWS:23012 msgid "" ":issue:`40671`: Prepare ``_hashlib`` for :pep:`489` and use :c:func:" "`PyModule_AddType`." msgstr "" -#: ../NEWS:22972 +#: ../NEWS:23015 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 " @@ -40174,124 +40243,124 @@ msgid "" "arguments." msgstr "" -#: ../NEWS:22978 +#: ../NEWS:23021 msgid "" ":issue:`36543`: Restored the deprecated :mod:`xml.etree.cElementTree` module." msgstr "" -#: ../NEWS:22980 +#: ../NEWS:23023 msgid "" ":issue:`40611`: :const:`~mmap.MAP_POPULATE` constant has now been added to " "the list of exported :mod:`mmap` module flags." msgstr "" -#: ../NEWS:22983 +#: ../NEWS:23026 msgid "" ":issue:`39881`: PEP 554 for use in the test suite. (Patch By Joannah " "Nanjekye)" msgstr "" -#: ../NEWS:22985 +#: ../NEWS:23028 msgid "" ":issue:`13097`: ``ctypes`` now raises an ``ArgumentError`` when a callback " "is invoked with more than 1024 arguments." msgstr "" -#: ../NEWS:22988 +#: ../NEWS:23031 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 "" -#: ../NEWS:22992 +#: ../NEWS:23035 msgid "" ":issue:`23082`: Updated the error message and docs of PurePath.relative_to() " "to better reflect the function behaviour." msgstr "" -#: ../NEWS:22995 +#: ../NEWS:23038 msgid ":issue:`40318`: Use SQLite3 trace v2 API, if it is available." msgstr "" -#: ../NEWS:22997 +#: ../NEWS:23040 msgid "" ":issue:`40105`: ZipFile truncates files to avoid corruption when a shorter " "comment is provided in append (\"a\") mode. Patch by Jan Mazur." msgstr "" -#: ../NEWS:23000 +#: ../NEWS:23043 msgid "" ":issue:`40084`: Fix ``Enum.__dir__``: dir(Enum.member) now includes " "attributes as well as methods." msgstr "" -#: ../NEWS:23003 +#: ../NEWS:23046 msgid "" ":issue:`31122`: ssl.wrap_socket() now raises ssl.SSLEOFError rather than " "OSError when peer closes connection during TLS negotiation" msgstr "" -#: ../NEWS:23006 +#: ../NEWS:23049 msgid "" ":issue:`39728`: fix default ``_missing_`` so a duplicate ``ValueError`` is " "not set as the ``__context__`` of the original ``ValueError``." msgstr "" -#: ../NEWS:23009 +#: ../NEWS:23052 msgid "" ":issue:`39244`: Fixed :class:`multiprocessing.context.get_all_start_methods` " "to properly return the default method first on macOS." msgstr "" -#: ../NEWS:23012 +#: ../NEWS:23055 msgid "" ":issue:`39040`: Fix parsing of invalid mime headers parameters by collapsing " "whitespace between encoded words in a bare-quote-string." msgstr "" -#: ../NEWS:23015 +#: ../NEWS:23058 msgid "" ":issue:`38731`: Add ``--quiet`` option to command-line interface of :mod:" "`py_compile`. Patch by Gregory Schevchenko." msgstr "" -#: ../NEWS:23018 +#: ../NEWS:23061 msgid "" ":issue:`35714`: :exc:`struct.error` is now raised if there is a null " "character in a :mod:`struct` format string." msgstr "" -#: ../NEWS:23021 +#: ../NEWS:23064 msgid "" ":issue:`38144`: Added the *root_dir* and *dir_fd* parameters in :func:`glob." "glob`." msgstr "" -#: ../NEWS:23024 +#: ../NEWS:23067 msgid "" ":issue:`26543`: Fix :meth:`IMAP4.noop` when debug mode is enabled (ex: " "``imaplib.Debug = 3``)." msgstr "" -#: ../NEWS:23027 +#: ../NEWS:23070 msgid "" ":issue:`12178`: :func:`csv.writer` now correctly escapes *escapechar* when " "input contains *escapechar*. Patch by Catalin Iacob, Berker Peksag, and " "Itay Elbirt." msgstr "" -#: ../NEWS:23031 +#: ../NEWS:23074 msgid "" ":issue:`36290`: AST nodes are now raising :exc:`TypeError` on conflicting " "keyword arguments. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:23034 +#: ../NEWS:23077 msgid ":issue:`33944`: Added site.py site-packages tracing in verbose mode." msgstr "" -#: ../NEWS:23036 +#: ../NEWS:23079 msgid "" ":issue:`35078`: Refactor formatweekday, formatmonthname methods in " "LocaleHTMLCalendar and LocaleTextCalendar classes in calendar module to call " @@ -40299,7 +40368,7 @@ msgid "" "LocaleHTMLCalendar. Patch by Srinivas Reddy Thatiparthy" msgstr "" -#: ../NEWS:23041 +#: ../NEWS:23084 msgid "" ":issue:`29620`: :func:`~unittest.TestCase.assertWarns` no longer raises a " "``RuntimeException`` when accessing a module's ``__warningregistry__`` " @@ -40307,7 +40376,7 @@ msgid "" "another thread. Patch by Kernc." msgstr "" -#: ../NEWS:23046 +#: ../NEWS:23089 msgid "" ":issue:`31844`: Remove ``ParserBase.error()`` method from the private and " "undocumented ``_markupbase`` module. :class:`html.parser.HTMLParser` is the " @@ -40315,152 +40384,152 @@ msgid "" "deprecated in Python 3.4 and removed in Python 3.5." msgstr "" -#: ../NEWS:23051 +#: ../NEWS:23094 msgid "" ":issue:`34226`: Fix ``cgi.parse_multipart`` without content_length. Patch by " "Roger Duran" msgstr "" -#: ../NEWS:23054 +#: ../NEWS:23097 msgid "" ":issue:`33660`: Fix pathlib.PosixPath to resolve a relative path located on " "the root directory properly." msgstr "" -#: ../NEWS:23057 +#: ../NEWS:23100 msgid "" ":issue:`28557`: Improve the error message for a misbehaving ``rawio." "readinto``" msgstr "" -#: ../NEWS:23059 +#: ../NEWS:23102 msgid "" ":issue:`26680`: The d.is_integer() method is added to the Decimal type, for " "compatibility with other number types." msgstr "" -#: ../NEWS:23062 +#: ../NEWS:23105 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 "" -#: ../NEWS:23069 +#: ../NEWS:23112 msgid "" ":issue:`41428`: Add documentation for :pep:`604` (Allow writing union types " "as ``X | Y``)." msgstr "" -#: ../NEWS:23072 +#: ../NEWS:23115 msgid "" ":issue:`41774`: In Programming FAQ \"Sequences (Tuples/Lists)\" section, add " "\"How do you remove multiple items from a list\"." msgstr "" -#: ../NEWS:23075 +#: ../NEWS:23118 msgid "" ":issue:`35293`: Fix RemovedInSphinx40Warning when building the " "documentation. Patch by Donghee Na." msgstr "" -#: ../NEWS:23078 +#: ../NEWS:23121 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 "" -#: ../NEWS:23082 +#: ../NEWS:23125 msgid "" ":issue:`41726`: Update the refcounts info of ``PyType_FromModuleAndSpec``." msgstr "" -#: ../NEWS:23084 +#: ../NEWS:23127 msgid ":issue:`41624`: Fix the signature of :class:`typing.Coroutine`." msgstr "" -#: ../NEWS:23086 +#: ../NEWS:23129 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 "" -#: ../NEWS:23090 +#: ../NEWS:23133 msgid ":issue:`41045`: Add documentation for debug feature of f-strings." msgstr "" -#: ../NEWS:23092 +#: ../NEWS:23135 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 "" -#: ../NEWS:23096 +#: ../NEWS:23139 msgid "" ":issue:`40979`: Refactored typing.rst, arranging more than 70 classes, " "functions, and decorators into new sub-sections." msgstr "" -#: ../NEWS:23099 +#: ../NEWS:23142 msgid "" ":issue:`40552`: Fix in tutorial section 4.2. Code snippet is now correct." msgstr "" -#: ../NEWS:23101 +#: ../NEWS:23144 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 "" -#: ../NEWS:23105 +#: ../NEWS:23148 msgid "" ":issue:`37703`: Updated Documentation to comprehensively elaborate on the " "behaviour of gather.cancel()" msgstr "" -#: ../NEWS:23111 +#: ../NEWS:23154 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 "" -#: ../NEWS:23115 +#: ../NEWS:23158 msgid ":issue:`41731`: Make test_cmd_line_script pass with option '-vv'." msgstr "" -#: ../NEWS:23117 +#: ../NEWS:23160 msgid ":issue:`41602`: Add tests for SIGINT handling in the runpy module." msgstr "" -#: ../NEWS:23119 +#: ../NEWS:23162 msgid "" ":issue:`41521`: :mod:`test.support`: Rename ``blacklist`` parameter of :func:" "`~test.support.check__all__` to ``not_exported``." msgstr "" -#: ../NEWS:23122 +#: ../NEWS:23165 msgid ":issue:`41477`: Make ctypes optional in test_genericalias." msgstr "" -#: ../NEWS:23124 +#: ../NEWS:23167 msgid "" ":issue:`41085`: Fix integer overflow in the :meth:`array.array.index` method " "on 64-bit Windows for index larger than ``2**31``." msgstr "" -#: ../NEWS:23127 +#: ../NEWS:23170 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 "" -#: ../NEWS:23131 +#: ../NEWS:23174 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." @@ -40468,177 +40537,177 @@ msgid "" "`test.support` module." msgstr "" -#: ../NEWS:23136 +#: ../NEWS:23179 msgid "" ":issue:`41009`: Fix use of ``support.require_{linux|mac|freebsd}_version()`` " "decorators as class decorator." msgstr "" -#: ../NEWS:23139 +#: ../NEWS:23182 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 "" -#: ../NEWS:23143 +#: ../NEWS:23186 msgid "" ":issue:`40964`: Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu." "edu is blocking incoming connections." msgstr "" -#: ../NEWS:23146 +#: ../NEWS:23189 msgid "" ":issue:`40927`: Fix test_binhex when run twice: it now uses " "import_fresh_module() to ensure that it raises DeprecationWarning each time." msgstr "" -#: ../NEWS:23150 +#: ../NEWS:23193 msgid "" ":issue:`17258`: Skip some :mod:`multiprocessing` tests when MD5 hash digest " "is blocked." msgstr "" -#: ../NEWS:23153 +#: ../NEWS:23196 msgid ":issue:`31904`: Increase LOOPBACK_TIMEOUT to 10 for VxWorks RTOS." msgstr "" -#: ../NEWS:23155 +#: ../NEWS:23198 msgid "" ":issue:`38169`: Increase code coverage for SharedMemory and ShareableList" msgstr "" -#: ../NEWS:23157 +#: ../NEWS:23200 msgid "" ":issue:`34401`: Make test_gdb properly run on HP-UX. Patch by Michael Osipov." msgstr "" -#: ../NEWS:23162 +#: ../NEWS:23205 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 "" -#: ../NEWS:23165 +#: ../NEWS:23208 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 "" -#: ../NEWS:23168 +#: ../NEWS:23211 msgid ":issue:`40204`: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``." msgstr "" -#: ../NEWS:23170 +#: ../NEWS:23213 msgid "" ":issue:`36020`: The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` " "are now required to build Python." msgstr "" -#: ../NEWS:23173 +#: ../NEWS:23216 msgid "" ":issue:`40684`: ``make install`` now uses the ``PLATLIBDIR`` variable for " "the destination ``lib-dynload/`` directory when ``./configure --with-" "platlibdir`` is used." msgstr "" -#: ../NEWS:23177 +#: ../NEWS:23220 msgid "" ":issue:`40683`: Fixed an issue where the :mod:`zoneinfo` module and its " "tests were not included when Python is installed with ``make``." msgstr "" -#: ../NEWS:23183 +#: ../NEWS:23226 msgid "" ":issue:`41744`: Fixes automatic import of props file when using the Nuget " "package." msgstr "" -#: ../NEWS:23186 +#: ../NEWS:23229 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 "" -#: ../NEWS:23189 +#: ../NEWS:23232 msgid "" ":issue:`41526`: Fixed layout of final page of the installer by removing the " "special thanks to Mark Hammond (with his permission)." msgstr "" -#: ../NEWS:23192 +#: ../NEWS:23235 msgid ":issue:`41492`: Fixes the description that appears in UAC prompts." msgstr "" -#: ../NEWS:23194 +#: ../NEWS:23237 msgid "" ":issue:`40948`: Improve post-install message to direct people to the \"py\" " "command." msgstr "" -#: ../NEWS:23197 +#: ../NEWS:23240 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 "" -#: ../NEWS:23200 +#: ../NEWS:23243 msgid ":issue:`40741`: Update Windows release to include SQLite 3.32.3." msgstr "" -#: ../NEWS:23202 +#: ../NEWS:23245 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 "" -#: ../NEWS:23205 +#: ../NEWS:23248 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 "" -#: ../NEWS:23209 +#: ../NEWS:23252 msgid "" ":issue:`41039`: Stable ABI redirection DLL (python3.dll) now uses ``#pragma " "comment(linker)`` for re-exporting." msgstr "" -#: ../NEWS:23212 +#: ../NEWS:23255 msgid ":issue:`40164`: Updates Windows OpenSSL to 1.1.1g" msgstr "" -#: ../NEWS:23214 +#: ../NEWS:23257 msgid "" ":issue:`39631`: Changes the registered MIME type for ``.py`` files on " "Windows to ``text/x-python`` instead of ``text/plain``." msgstr "" -#: ../NEWS:23217 +#: ../NEWS:23260 msgid "" ":issue:`40677`: Manually define IO_REPARSE_TAG_APPEXECLINK in case some old " "Windows SDK doesn't have it." msgstr "" -#: ../NEWS:23220 +#: ../NEWS:23263 msgid "" ":issue:`37556`: Extend py.exe help to mention overrides via venv, shebang, " "environmental variables & ini files." msgstr "" -#: ../NEWS:23226 +#: ../NEWS:23269 msgid ":issue:`41557`: Update macOS installer to use SQLite 3.33.0." msgstr "" -#: ../NEWS:23228 +#: ../NEWS:23271 msgid "" ":issue:`39580`: Avoid opening Finder window if running installer from the " "command line. Patch contributed by Rick Heil." msgstr "" -#: ../NEWS:23231 +#: ../NEWS:23274 msgid "" ":issue:`41100`: Fix configure error when building on macOS 11. Note that the " "current Python release was released shortly after the first developer " @@ -40647,133 +40716,133 @@ msgid "" "supported in a future bugfix release of Python 3.8.x and with 3.9.0." msgstr "" -#: ../NEWS:23237 +#: ../NEWS:23280 msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.3." msgstr "" -#: ../NEWS:23239 +#: ../NEWS:23282 msgid "" ":issue:`41005`: fixed an XDG settings issue not allowing macos to open " "browser in webbrowser.py" msgstr "" -#: ../NEWS:23242 +#: ../NEWS:23285 msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.2." msgstr "" -#: ../NEWS:23247 +#: ../NEWS:23290 msgid ":issue:`41775`: Use 'IDLE Shell' as shell title" msgstr "" -#: ../NEWS:23249 +#: ../NEWS:23292 msgid ":issue:`35764`: Rewrite the Calltips doc section." msgstr "" -#: ../NEWS:23251 +#: ../NEWS:23294 msgid "" ":issue:`40181`: In calltips, stop reminding that '/' marks the end of " "positional-only arguments." msgstr "" -#: ../NEWS:23254 +#: ../NEWS:23297 msgid "" ":issue:`41468`: Improve IDLE run crash error message (which users should " "never see)." msgstr "" -#: ../NEWS:23257 +#: ../NEWS:23300 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 "" -#: ../NEWS:23261 +#: ../NEWS:23304 msgid "" ":issue:`41300`: Save files with non-ascii chars. Fix regression released in " "3.9.0b4 and 3.8.4." msgstr "" -#: ../NEWS:23264 +#: ../NEWS:23307 msgid "" ":issue:`37765`: Add keywords to module name completion list. Rewrite " "Completions section of IDLE doc." msgstr "" -#: ../NEWS:23267 +#: ../NEWS:23310 msgid "" ":issue:`41152`: The encoding of ``stdin``, ``stdout`` and ``stderr`` in IDLE " "is now always UTF-8." msgstr "" -#: ../NEWS:23270 +#: ../NEWS:23313 msgid ":issue:`41144`: Make Open Module open a special module such as os.path." msgstr "" -#: ../NEWS:23272 +#: ../NEWS:23315 msgid "" ":issue:`39885`: Make context menu Cut and Copy work again when right-" "clicking within a selection." msgstr "" -#: ../NEWS:23275 +#: ../NEWS:23318 msgid ":issue:`40723`: Make test_idle pass when run after import." msgstr "" -#: ../NEWS:23280 +#: ../NEWS:23323 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 "" -#: ../NEWS:23284 +#: ../NEWS:23327 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 "" -#: ../NEWS:23288 +#: ../NEWS:23331 msgid "" ":issue:`41842`: Add :c:func:`PyCodec_Unregister` function to unregister a " "codec search function." msgstr "" -#: ../NEWS:23291 +#: ../NEWS:23334 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 "" -#: ../NEWS:23295 +#: ../NEWS:23338 msgid "" ":issue:`41689`: Types created with :c:func:`PyType_FromSpec` now make any " "signature in their ``tp_doc`` slot accessible from ``__text_signature__``." msgstr "" -#: ../NEWS:23298 +#: ../NEWS:23341 msgid "" ":issue:`41524`: Fix bug in PyOS_mystrnicmp and PyOS_mystricmp that " "incremented pointers beyond the end of a string." msgstr "" -#: ../NEWS:23301 +#: ../NEWS:23344 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 "" -#: ../NEWS:23305 +#: ../NEWS:23348 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 "" -#: ../NEWS:23310 +#: ../NEWS:23353 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 " @@ -40781,25 +40850,25 @@ msgid "" "hides implementation details." msgstr "" -#: ../NEWS:23315 +#: ../NEWS:23358 msgid ":issue:`41123`: Remove ``PyUnicode_AsUnicodeCopy``." msgstr "" -#: ../NEWS:23317 +#: ../NEWS:23360 msgid ":issue:`41123`: Removed ``PyLong_FromUnicode()``." msgstr "" -#: ../NEWS:23319 +#: ../NEWS:23362 msgid ":issue:`41123`: Removed ``PyUnicode_GetMax()``." msgstr "" -#: ../NEWS:23321 +#: ../NEWS:23364 msgid "" ":issue:`41123`: Removed ``Py_UNICODE_str*`` functions manipulating " "``Py_UNICODE*`` strings." msgstr "" -#: ../NEWS:23324 +#: ../NEWS:23367 msgid "" ":issue:`41103`: ``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, " "``PyObject_CheckReadBuffer()``, and ``PyObject_AsWriteBuffer()`` are " @@ -40807,13 +40876,13 @@ msgid "" "and :c:func:`PyBuffer_Release`." msgstr "" -#: ../NEWS:23329 +#: ../NEWS:23372 msgid "" ":issue:`36346`: Raises DeprecationWarning for ``PyUnicode_FromUnicode(NULL, " "size)`` and ``PyUnicode_FromStringAndSize(NULL, size)`` with ``size > 0``." msgstr "" -#: ../NEWS:23332 +#: ../NEWS:23375 msgid "" ":issue:`36346`: Mark ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, " "``PyUnicode_WSTR_LENGTH``, ``PyUnicode_FromUnicode``, " @@ -40822,20 +40891,20 @@ msgid "" "3.3." msgstr "" -#: ../NEWS:23338 +#: ../NEWS:23381 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 "" -#: ../NEWS:23342 +#: ../NEWS:23385 msgid "" ":issue:`36020`: On Windows, ``#include \"pyerrors.h\"`` no longer defines " "``snprintf`` and ``vsnprintf`` macros." msgstr "" -#: ../NEWS:23345 +#: ../NEWS:23388 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 ``#``: " @@ -40843,43 +40912,43 @@ msgid "" "ref:`Parsing arguments and building values ` and the :pep:`353`." msgstr "" -#: ../NEWS:23351 +#: ../NEWS:23394 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 "" -#: ../NEWS:23355 +#: ../NEWS:23398 msgid ":issue:`40724`: Allow defining buffer slots in type specs." msgstr "" -#: ../NEWS:23357 +#: ../NEWS:23400 msgid "" ":issue:`40679`: Fix a ``_PyEval_EvalCode()`` crash if *qualname* argument is " "NULL." msgstr "" -#: ../NEWS:23360 +#: ../NEWS:23403 msgid "" ":issue:`40839`: Calling :c:func:`PyDict_GetItem` without :term:`GIL` held " "had been allowed for historical reason. It is no longer allowed." msgstr "" -#: ../NEWS:23363 +#: ../NEWS:23406 msgid "" ":issue:`40826`: :c:func:`PyOS_InterruptOccurred` now fails with a fatal " "error if it is called with the GIL released." msgstr "" -#: ../NEWS:23366 +#: ../NEWS:23409 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 "" -#: ../NEWS:23370 +#: ../NEWS:23413 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:" @@ -40888,91 +40957,91 @@ msgid "" "API for an opaque :c:type:`PyObject` structure." msgstr "" -#: ../NEWS:23376 +#: ../NEWS:23419 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 "" -#: ../NEWS:23379 +#: ../NEWS:23422 msgid "" ":issue:`39583`: Remove superfluous \"extern C\" declarations from ``Include/" "cpython/*.h``." msgstr "" -#: ../NEWS:23384 +#: ../NEWS:23427 msgid "Python 3.9.0 beta 1" msgstr "Python 3.9.0 beta 1" -#: ../NEWS:23386 +#: ../NEWS:23429 msgid "*Release date: 2020-05-19*" msgstr "" -#: ../NEWS:23391 +#: ../NEWS:23434 msgid "" ":issue:`40501`: :mod:`uuid` no longer uses :mod:`ctypes` to load :file:" "`libuuid` or :file:`rpcrt4.dll` at runtime." msgstr "" -#: ../NEWS:23397 +#: ../NEWS:23440 msgid "" ":issue:`40663`: Correctly generate annotations where parentheses are omitted " "but required (e.g: ``Type[(str, int, *other))]``." msgstr "" -#: ../NEWS:23400 +#: ../NEWS:23443 msgid "" ":issue:`40596`: Fixed :meth:`str.isidentifier` for non-canonicalized strings " "containing non-BMP characters on Windows." msgstr "" -#: ../NEWS:23403 +#: ../NEWS:23446 msgid "" ":issue:`40593`: Improved syntax errors for invalid characters in source code." msgstr "" -#: ../NEWS:23405 +#: ../NEWS:23448 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 "" -#: ../NEWS:23409 +#: ../NEWS:23452 msgid ":issue:`40566`: Apply :pep:`573` to :mod:`abc`." msgstr "" -#: ../NEWS:23411 +#: ../NEWS:23454 msgid "" ":issue:`40502`: Initialize ``n->n_col_offset``. (Patch by Joannah Nanjekye)" msgstr "" -#: ../NEWS:23413 +#: ../NEWS:23456 msgid "" ":issue:`40527`: Fix command line argument parsing: no longer write errors " "multiple times into stderr." msgstr "" -#: ../NEWS:23416 +#: ../NEWS:23459 msgid "" ":issue:`1635741`: Port :mod:`errno` to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:23418 +#: ../NEWS:23461 msgid "" ":issue:`40523`: Add pass-throughs for :func:`hash` and :func:`reversed` to :" "class:`weakref.proxy` objects. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:23421 +#: ../NEWS:23464 msgid "" ":issue:`1635741`: Port :mod:`syslog` to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:23423 +#: ../NEWS:23466 msgid "" ":issue:`40246`: Reporting a specialised error message for invalid string " "prefixes, which was introduced in :issue:`40246`, is being reverted due to " @@ -40982,77 +41051,77 @@ msgid "" "acceptable breakage on such short notice." msgstr "" -#: ../NEWS:23430 +#: ../NEWS:23473 msgid "" ":issue:`40417`: Fix imp module deprecation warning when " "PyImport_ReloadModule is called. Patch by Robert Rouhani." msgstr "" -#: ../NEWS:23433 +#: ../NEWS:23476 msgid "" ":issue:`40408`: Fixed support of nested type variables in GenericAlias (e.g. " "``list[list[T]]``)." msgstr "" -#: ../NEWS:23436 +#: ../NEWS:23479 msgid "" ":issue:`1635741`: Port _stat module to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:23438 +#: ../NEWS:23481 msgid "" ":issue:`29587`: Enable implicit exception chaining when calling :meth:" "`generator.throw`." msgstr "" -#: ../NEWS:23441 +#: ../NEWS:23484 msgid "" ":issue:`40328`: Add tools for generating mappings headers for CJKCodecs." msgstr "" -#: ../NEWS:23443 +#: ../NEWS:23486 msgid "" ":issue:`40228`: Setting frame.f_lineno is now robust w.r.t. changes in the " "source-to-bytecode compiler" msgstr "" -#: ../NEWS:23446 +#: ../NEWS:23489 msgid "" ":issue:`38880`: Added the ability to list interpreters associated with " "channel ends in the internal subinterpreters module." msgstr "" -#: ../NEWS:23449 +#: ../NEWS:23492 msgid "" ":issue:`37986`: Improve performance of :c:func:`PyLong_FromDouble` for " "values that fit into :c:expr:`long`." msgstr "" -#: ../NEWS:23455 +#: ../NEWS:23498 msgid "" ":issue:`40662`: Fixed :func:`ast.get_source_segment` for ast nodes that have " "incomplete location information. Patch by Irit Katriel." msgstr "" -#: ../NEWS:23458 +#: ../NEWS:23501 msgid ":issue:`40665`: Convert :mod:`bisect` to use Argument Clinic." msgstr "" -#: ../NEWS:23460 +#: ../NEWS:23503 msgid "" ":issue:`40536`: Added the :func:`~zoneinfo.available_timezones` function to " "the :mod:`zoneinfo` module. Patch by Paul Ganssle." msgstr "" -#: ../NEWS:23463 +#: ../NEWS:23506 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 "" -#: ../NEWS:23467 +#: ../NEWS:23510 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 " @@ -41060,245 +41129,245 @@ msgid "" "the public API." msgstr "" -#: ../NEWS:23472 +#: ../NEWS:23515 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 "" -#: ../NEWS:23476 +#: ../NEWS:23519 msgid "" ":issue:`37630`: The :mod:`hashlib` module can now use SHA3 hashes and SHAKE " "XOF from OpenSSL when available." msgstr "" -#: ../NEWS:23479 +#: ../NEWS:23522 msgid "" ":issue:`40479`: The :mod:`hashlib` now compiles with OpenSSL 3.0.0-alpha2." msgstr "" -#: ../NEWS:23481 +#: ../NEWS:23524 msgid ":issue:`40257`: Revert changes to :func:`inspect.getdoc`." msgstr "" -#: ../NEWS:23483 +#: ../NEWS:23526 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 "" -#: ../NEWS:23487 +#: ../NEWS:23530 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 "" -#: ../NEWS:23491 +#: ../NEWS:23534 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 "" -#: ../NEWS:23494 +#: ../NEWS:23537 msgid "" ":issue:`40571`: Added functools.cache() as a simpler, more discoverable way " "to access the unbounded cache variant of lru_cache(maxsize=None)." msgstr "" -#: ../NEWS:23497 +#: ../NEWS:23540 msgid "" ":issue:`40503`: :pep:`615`, the :mod:`zoneinfo` module. Adds support for the " "IANA time zone database." msgstr "" -#: ../NEWS:23500 +#: ../NEWS:23543 msgid "" ":issue:`40397`: Removed attributes ``__args__`` and ``__parameters__`` from " "special generic aliases like ``typing.List`` (not subscripted)." msgstr "" -#: ../NEWS:23503 +#: ../NEWS:23546 msgid "" ":issue:`40549`: Convert posixmodule.c (\"posix\" or \"nt\" module) to the " "multiphase initialization (PEP 489)." msgstr "" -#: ../NEWS:23506 +#: ../NEWS:23549 msgid "" ":issue:`31033`: Add a ``msg`` argument to :meth:`Future.cancel` and :meth:" "`Task.cancel`." msgstr "" -#: ../NEWS:23509 +#: ../NEWS:23552 msgid "" ":issue:`40541`: Added an optional *counts* parameter to random.sample()." msgstr "" -#: ../NEWS:23511 +#: ../NEWS:23554 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 "" -#: ../NEWS:23515 +#: ../NEWS:23558 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 "" -#: ../NEWS:23519 +#: ../NEWS:23562 msgid "" ":issue:`40504`: :func:`functools.lru_cache` objects can now be the targets " "of weakrefs." msgstr "" -#: ../NEWS:23522 +#: ../NEWS:23565 msgid "" ":issue:`40559`: Fix possible memory leak in the C implementation of :class:" "`asyncio.Task`." msgstr "" -#: ../NEWS:23525 +#: ../NEWS:23568 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 "" -#: ../NEWS:23530 +#: ../NEWS:23573 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 "" -#: ../NEWS:23534 +#: ../NEWS:23577 msgid "" ":issue:`40457`: The ssl module now support OpenSSL builds without TLS 1.0 " "and 1.1 methods." msgstr "" -#: ../NEWS:23537 +#: ../NEWS:23580 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 "" -#: ../NEWS:23541 +#: ../NEWS:23584 msgid "" ":issue:`40465`: Deprecated the optional *random* argument to *random." "shuffle()*." msgstr "" -#: ../NEWS:23544 +#: ../NEWS:23587 msgid "" ":issue:`40459`: :func:`platform.win32_ver` now produces correct *ptype* " "strings instead of empty strings." msgstr "" -#: ../NEWS:23547 +#: ../NEWS:23590 msgid "" ":issue:`39435`: The first argument of :func:`pickle.loads` is now positional-" "only." msgstr "" -#: ../NEWS:23550 +#: ../NEWS:23593 msgid "" ":issue:`39305`: Update :mod:`!nntplib` to merge :class:`!nntplib.NNTP` and :" "class:`!nntplib._NNTPBase`. Patch by Donghee Na." msgstr "" -#: ../NEWS:23553 +#: ../NEWS:23596 msgid "" ":issue:`32494`: Update :mod:`dbm.gnu` to use gdbm_count if possible when " "calling :func:`len`. Patch by Donghee Na." msgstr "" -#: ../NEWS:23556 +#: ../NEWS:23599 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 "" -#: ../NEWS:23560 +#: ../NEWS:23603 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 "" -#: ../NEWS:23564 +#: ../NEWS:23607 msgid "" ":issue:`40394`: Added default arguments to :meth:`difflib.SequenceMatcher." "find_longest_match`." msgstr "" -#: ../NEWS:23567 +#: ../NEWS:23610 msgid "" ":issue:`39995`: Fix a race condition in concurrent.futures._ThreadWakeup: " "access to _ThreadWakeup is now protected with the shutdown lock." msgstr "" -#: ../NEWS:23570 +#: ../NEWS:23613 msgid "" ":issue:`30966`: ``Process.shutdown(wait=True)`` of :mod:`concurrent.futures` " "now closes explicitly the result queue." msgstr "" -#: ../NEWS:23573 +#: ../NEWS:23616 msgid "" ":issue:`30966`: Add a new :meth:`~multiprocessing.SimpleQueue.close` method " "to the :class:`~multiprocessing.SimpleQueue` class to explicitly close the " "queue." msgstr "" -#: ../NEWS:23577 +#: ../NEWS:23620 msgid "" ":issue:`39966`: Revert :issue:`25597`. :class:`unittest.mock.MagicMock` with " "wraps' set uses default return values for magic methods." msgstr "" -#: ../NEWS:23580 +#: ../NEWS:23623 msgid "" ":issue:`39791`: Added ``files()`` function to importlib.resources with " "support for subdirectories in package data, matching backport in " "importlib_resources 1.5." msgstr "" -#: ../NEWS:23584 +#: ../NEWS:23627 msgid "" ":issue:`40375`: :meth:`imaplib.IMAP4.unselect` is added. Patch by Donghee Na." msgstr "" -#: ../NEWS:23586 +#: ../NEWS:23629 msgid "" ":issue:`40389`: ``repr()`` now returns ``typing.Optional[T]`` when called " "for ``typing.Union`` of two types, one of which is ``NoneType``." msgstr "" -#: ../NEWS:23589 +#: ../NEWS:23632 msgid "" ":issue:`40291`: Add support for CAN_J1939 sockets (available on Linux 5.4+)" msgstr "" -#: ../NEWS:23591 +#: ../NEWS:23634 msgid ":issue:`40273`: :class:`types.MappingProxyType` is now reversible." msgstr "" -#: ../NEWS:23593 +#: ../NEWS:23636 msgid "" ":issue:`39075`: The repr for :class:`types.SimpleNamespace` is now insertion " "ordered rather than alphabetical." msgstr "" -#: ../NEWS:23596 +#: ../NEWS:23639 msgid "" ":issue:`40192`: On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -41306,13 +41375,13 @@ msgid "" "milliseconds. Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:23601 +#: ../NEWS:23644 msgid "" ":issue:`40025`: Raise TypeError when _generate_next_value_ is defined after " "members. Patch by Ethan Onstott." msgstr "" -#: ../NEWS:23604 +#: ../NEWS:23647 msgid "" ":issue:`39058`: In the argparse module, the repr for Namespace() and other " "argument holders now displayed in the order attributes were added. Formerly, " @@ -41320,85 +41389,85 @@ msgid "" "the user visible parts of the module." msgstr "" -#: ../NEWS:23609 +#: ../NEWS:23652 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 "" -#: ../NEWS:23616 +#: ../NEWS:23659 msgid "" ":issue:`34790`: Add version of removal for explicit passing of coros to " "``asyncio.wait()``'s documentation" msgstr "" -#: ../NEWS:23619 +#: ../NEWS:23662 msgid ":issue:`40561`: Provide docstrings for webbrowser open functions." msgstr "" -#: ../NEWS:23621 +#: ../NEWS:23664 msgid "" ":issue:`40499`: Mention that :func:`asyncio.wait` requires a non-empty set " "of awaitables." msgstr "" -#: ../NEWS:23624 +#: ../NEWS:23667 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 "" -#: ../NEWS:23628 +#: ../NEWS:23671 msgid "" ":issue:`39435`: Fix an incorrect signature for :func:`pickle.loads` in the " "docs" msgstr "" -#: ../NEWS:23633 +#: ../NEWS:23676 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 "" -#: ../NEWS:23637 +#: ../NEWS:23680 msgid "" ":issue:`40436`: test_gdb and test.pythoninfo now check gdb command exit code." msgstr "" -#: ../NEWS:23642 +#: ../NEWS:23685 msgid "" ":issue:`40653`: Move _dirnameW out of HAVE_SYMLINK to fix a potential " "compiling issue." msgstr "" -#: ../NEWS:23645 +#: ../NEWS:23688 msgid "" ":issue:`40514`: Add ``--with-experimental-isolated-subinterpreters`` build " "option to ``configure``: better isolate subinterpreters, experimental build " "mode." msgstr "" -#: ../NEWS:23652 +#: ../NEWS:23695 msgid ":issue:`40650`: Include winsock2.h in pytime.c for timeval." msgstr "" -#: ../NEWS:23654 +#: ../NEWS:23697 msgid "" ":issue:`40458`: Increase reserved stack space to prevent overflow crash on " "Windows." msgstr "" -#: ../NEWS:23657 +#: ../NEWS:23700 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 "" -#: ../NEWS:23664 +#: ../NEWS:23707 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 ``/" @@ -41408,113 +41477,113 @@ msgid "" "still be overridden with ``--with-tcltk-includes`` and ``--with-tcltk-libs``." msgstr "" -#: ../NEWS:23672 +#: ../NEWS:23715 msgid ":issue:`35569`: Expose RFC 3542 IPv6 socket options." msgstr "" -#: ../NEWS:23677 +#: ../NEWS:23720 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 "" -#: ../NEWS:23680 +#: ../NEWS:23723 msgid "" ":issue:`40431`: Fix a syntax typo in ``turtledemo`` that now raises a " "``SyntaxError``." msgstr "" -#: ../NEWS:23683 +#: ../NEWS:23726 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 "" -#: ../NEWS:23690 +#: ../NEWS:23733 msgid "" ":issue:`39465`: Remove the ``_PyUnicode_ClearStaticStrings()`` function from " "the C API." msgstr "" -#: ../NEWS:23693 +#: ../NEWS:23736 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 "" -#: ../NEWS:23697 +#: ../NEWS:23740 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 "" -#: ../NEWS:23701 +#: ../NEWS:23744 msgid "" ":issue:`40412`: Nullify inittab_copy during finalization, preventing future " "interpreter initializations in an embedded situation from crashing. Patch by " "Gregory Szorc." msgstr "" -#: ../NEWS:23705 +#: ../NEWS:23748 msgid "" ":issue:`40429`: The :c:func:`PyThreadState_GetFrame` function now returns a " "strong reference to the frame." msgstr "" -#: ../NEWS:23708 +#: ../NEWS:23751 msgid "" ":issue:`40428`: Remove the following functions from the C API. Call :c:func:" "`PyGC_Collect` explicitly to free all free lists." msgstr "" -#: ../NEWS:23711 +#: ../NEWS:23754 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "``PyAsyncGen_ClearFreeLists()``" -#: ../NEWS:23712 +#: ../NEWS:23755 msgid "``PyContext_ClearFreeList()``" msgstr "``PyContext_ClearFreeList()``" -#: ../NEWS:23713 +#: ../NEWS:23756 msgid "``PyDict_ClearFreeList()``" msgstr "``PyDict_ClearFreeList()``" -#: ../NEWS:23714 +#: ../NEWS:23757 msgid "``PyFloat_ClearFreeList()``" msgstr "``PyFloat_ClearFreeList()``" -#: ../NEWS:23715 +#: ../NEWS:23758 msgid "``PyFrame_ClearFreeList()``" msgstr "``PyFrame_ClearFreeList()``" -#: ../NEWS:23716 +#: ../NEWS:23759 msgid "``PyList_ClearFreeList()``" msgstr "``PyList_ClearFreeList()``" -#: ../NEWS:23717 +#: ../NEWS:23760 msgid "``PySet_ClearFreeList()``" msgstr "``PySet_ClearFreeList()``" -#: ../NEWS:23718 +#: ../NEWS:23761 msgid "``PyTuple_ClearFreeList()``" msgstr "``PyTuple_ClearFreeList()``" -#: ../NEWS:23720 +#: ../NEWS:23763 msgid "" ":issue:`40421`: New :c:func:`PyFrame_GetBack` function: get the frame next " "outer frame." msgstr "" -#: ../NEWS:23723 +#: ../NEWS:23766 msgid "" ":issue:`40421`: New :c:func:`PyFrame_GetCode` function: return a borrowed " "reference to the frame code." msgstr "" -#: ../NEWS:23726 +#: ../NEWS:23769 msgid "" ":issue:`40217`: Ensure that instances of types created with :c:func:" "`PyType_FromSpecWithBases` will visit its class object when traversing " @@ -41522,31 +41591,31 @@ msgid "" "provided :c:member:`~PyTypeObject.tp_traverse`). Patch by Pablo Galindo." msgstr "" -#: ../NEWS:23732 +#: ../NEWS:23775 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 "" -#: ../NEWS:23737 +#: ../NEWS:23780 msgid "Python 3.9.0 alpha 6" msgstr "Python 3.9.0 alpha 6" -#: ../NEWS:23739 +#: ../NEWS:23782 msgid "*Release date: 2020-04-27*" msgstr "" -#: ../NEWS:23744 +#: ../NEWS:23787 msgid ":issue:`40121`: Fixes audit events raised on creating a new socket." msgstr "" -#: ../NEWS:23746 +#: ../NEWS:23789 msgid "" ":issue:`39073`: Disallow CR or LF in email.headerregistry.Address arguments " "to guard against header injection attacks." msgstr "" -#: ../NEWS:23749 +#: ../NEWS:23792 msgid "" ":issue:`39503`: :cve:`2020-8492`: The :class:`~urllib.request." "AbstractBasicAuthHandler` class of the :mod:`urllib.request` module uses an " @@ -41555,11 +41624,11 @@ msgid "" "backtracking. Vulnerability reported by Ben Caller and Matt Schwager." msgstr "" -#: ../NEWS:23759 +#: ../NEWS:23802 msgid ":issue:`40313`: Improve the performance of bytes.hex()." msgstr "" -#: ../NEWS:23761 +#: ../NEWS:23804 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`` " @@ -41568,7 +41637,7 @@ msgid "" "anything that depends on it." msgstr "" -#: ../NEWS:23767 +#: ../NEWS:23810 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 " @@ -41576,25 +41645,25 @@ msgid "" "``invalid syntax``." msgstr "" -#: ../NEWS:23772 +#: ../NEWS:23815 msgid "" ":issue:`39522`: Correctly unparse explicit ``u`` prefix for strings when " "postponed evaluation for annotations activated. Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:23775 +#: ../NEWS:23818 msgid "" ":issue:`40246`: Report a specialized error message, ``invalid string " "prefix``, when the tokenizer encounters a string with an invalid prefix." msgstr "" -#: ../NEWS:23778 +#: ../NEWS:23821 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 "" -#: ../NEWS:23781 +#: ../NEWS:23824 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. " @@ -41602,89 +41671,89 @@ msgid "" "and str.decode()." msgstr "" -#: ../NEWS:23786 +#: ../NEWS:23829 msgid "" ":issue:`40077`: Fix possible refleaks in :mod:`!_json`, memo of " "PyScannerObject should be traversed." msgstr "" -#: ../NEWS:23789 +#: ../NEWS:23832 msgid "" ":issue:`37207`: Speed up calls to ``dict()`` by using the :pep:`590` " "``vectorcall`` calling convention." msgstr "" -#: ../NEWS:23792 +#: ../NEWS:23835 msgid "" ":issue:`40141`: Add column and line information to ``ast.keyword`` nodes. " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:23795 +#: ../NEWS:23838 msgid "" ":issue:`1635741`: Port :mod:`resource` to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:23798 +#: ../NEWS:23841 msgid "" ":issue:`1635741`: Port :mod:`math` to multiphase initialization (:pep:`489`)." msgstr "" -#: ../NEWS:23800 +#: ../NEWS:23843 msgid "" ":issue:`1635741`: Port _uuid module to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:23802 +#: ../NEWS:23845 msgid ":issue:`40077`: Convert json module to use :c:func:`PyType_FromSpec`." msgstr "" -#: ../NEWS:23804 +#: ../NEWS:23847 msgid "" ":issue:`40067`: Improve the error message for multiple star expressions in " "an assignment. Patch by Furkan Onder" msgstr "" -#: ../NEWS:23807 +#: ../NEWS:23850 msgid "" ":issue:`1635741`: Port _functools module to multiphase initialization (PEP " "489). Patch by Paulo Henrique Silva." msgstr "" -#: ../NEWS:23810 +#: ../NEWS:23853 msgid "" ":issue:`1635741`: Port operator module to multiphase initialization (PEP " "489). Patch by Paulo Henrique Silva." msgstr "" -#: ../NEWS:23813 +#: ../NEWS:23856 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 "" -#: ../NEWS:23817 +#: ../NEWS:23860 msgid "" ":issue:`1635741`: Port time module to multiphase initialization (:pep:" "`489`). Patch by Paulo Henrique Silva." msgstr "" -#: ../NEWS:23820 ../NEWS:24212 +#: ../NEWS:23863 ../NEWS:24255 msgid "" ":issue:`1635741`: Port _weakref extension module to multiphase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:23823 +#: ../NEWS:23866 msgid "" ":issue:`40020`: Fix a leak and subsequent crash in parsetok.c caused by " "realloc misuse on a rare codepath." msgstr "" -#: ../NEWS:23826 +#: ../NEWS:23869 msgid "" ":issue:`39939`: Added str.removeprefix and str.removesuffix methods and " "corresponding bytes, bytearray, and collections.UserString methods to remove " @@ -41692,38 +41761,38 @@ msgid "" "Patch by Dennis Sweeney." msgstr "" -#: ../NEWS:23831 +#: ../NEWS:23874 msgid "" ":issue:`39481`: Implement PEP 585. This supports list[int], tuple[str, ...] " "etc." msgstr "" -#: ../NEWS:23834 +#: ../NEWS:23877 msgid "" ":issue:`32894`: Support unparsing of infinity numbers in postponed " "annotations. Patch by Batuhan Taşkaya." msgstr "" -#: ../NEWS:23837 +#: ../NEWS:23880 msgid "" ":issue:`37207`: Speed up calls to ``list()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Mark Shannon." msgstr "" -#: ../NEWS:23843 +#: ../NEWS:23886 msgid "" ":issue:`40398`: :func:`typing.get_args` now always returns an empty tuple " "for special generic aliases." msgstr "" -#: ../NEWS:23846 +#: ../NEWS:23889 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 "" -#: ../NEWS:23850 +#: ../NEWS:23893 msgid "" ":issue:`38061`: Optimize the :mod:`subprocess` module on FreeBSD using " "``closefrom()``. A single ``close(fd)`` syscall is cheap, but when " @@ -41731,76 +41800,76 @@ msgid "" "file descriptor can take several milliseconds." msgstr "" -#: ../NEWS:23855 +#: ../NEWS:23898 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 "" -#: ../NEWS:23858 ../NEWS:23866 +#: ../NEWS:23901 ../NEWS:23909 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 "" -#: ../NEWS:23862 +#: ../NEWS:23905 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 "" -#: ../NEWS:23870 +#: ../NEWS:23913 msgid "" ":issue:`40360`: The :mod:`!lib2to3` module is pending deprecation due to :" "pep:`617`." msgstr "" -#: ../NEWS:23873 +#: ../NEWS:23916 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 "" -#: ../NEWS:23877 +#: ../NEWS:23920 msgid "" ":issue:`39942`: Set \"__main__\" as the default module name when " "\"__name__\" is missing in :class:`typing.TypeVar`. Patch by Weipeng Hong." msgstr "" -#: ../NEWS:23880 +#: ../NEWS:23923 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 "" -#: ../NEWS:23884 +#: ../NEWS:23927 msgid "" ":issue:`40275`: The :mod:`asyncio` package is now imported lazily in :mod:" "`unittest` only when the :class:`~unittest.IsolatedAsyncioTestCase` class is " "used." msgstr "" -#: ../NEWS:23888 +#: ../NEWS:23931 msgid "" ":issue:`40330`: In :meth:`ShareableList.__setitem__`, check the size of a " "new string item after encoding it to utf-8, not before." msgstr "" -#: ../NEWS:23891 +#: ../NEWS:23934 msgid "" ":issue:`40148`: Added :meth:`pathlib.Path.with_stem` to create a new Path " "with the stem replaced." msgstr "" -#: ../NEWS:23894 +#: ../NEWS:23937 msgid ":issue:`40325`: Deprecated support for set objects in random.sample()." msgstr "" -#: ../NEWS:23896 +#: ../NEWS:23939 msgid "" ":issue:`40257`: Improved help for the :mod:`typing` module. Docstrings are " "now shown for all special forms and special generic aliases (like ``Union`` " @@ -41808,7 +41877,7 @@ msgid "" "show the help for the correspondent concrete type (``list`` in this case)." msgstr "" -#: ../NEWS:23901 +#: ../NEWS:23944 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 " @@ -41817,56 +41886,56 @@ msgid "" "that has its own ``__doc__`` attribute." msgstr "" -#: ../NEWS:23907 +#: ../NEWS:23950 msgid "" ":issue:`40287`: Fixed ``SpooledTemporaryFile.seek()`` to return the position." msgstr "" -#: ../NEWS:23909 +#: ../NEWS:23952 msgid ":issue:`40290`: Added zscore() to statistics.NormalDist()." msgstr "" -#: ../NEWS:23911 +#: ../NEWS:23954 msgid "" ":issue:`40282`: Allow ``random.getrandbits(0)`` to succeed and to return 0." msgstr "" -#: ../NEWS:23913 +#: ../NEWS:23956 msgid "" ":issue:`40286`: Add :func:`random.randbytes` function and :meth:`random." "Random.randbytes` method to generate random bytes." msgstr "" -#: ../NEWS:23916 +#: ../NEWS:23959 msgid "" ":issue:`40277`: :func:`collections.namedtuple` now provides a human-readable " "repr for its field accessors." msgstr "" -#: ../NEWS:23919 +#: ../NEWS:23962 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 "" -#: ../NEWS:23923 +#: ../NEWS:23966 msgid "" ":issue:`29255`: Wait in ``KqueueSelector.select`` when no fds are registered" msgstr "" -#: ../NEWS:23925 +#: ../NEWS:23968 msgid "" ":issue:`40260`: Ensure :mod:`modulefinder` uses :func:`io.open_code` and " "respects coding comments." msgstr "" -#: ../NEWS:23928 +#: ../NEWS:23971 msgid "" ":issue:`40234`: Allow again to spawn daemon threads in subinterpreters " "(revert change which denied them)." msgstr "" -#: ../NEWS:23931 +#: ../NEWS:23974 msgid "" ":issue:`39207`: Workers in :class:`~concurrent.futures.ProcessPoolExecutor` " "are now spawned on demand, only when there are no available idle workers to " @@ -41874,54 +41943,54 @@ msgid "" "time to idle workers. Patch by Kyle Stanley." msgstr "" -#: ../NEWS:23936 +#: ../NEWS:23979 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 "" -#: ../NEWS:23940 +#: ../NEWS:23983 msgid "" ":issue:`40149`: Implement traverse and clear slots in _abc._abc_data type." msgstr "" -#: ../NEWS:23942 +#: ../NEWS:23985 msgid "" ":issue:`40208`: Remove deprecated :meth:`!symtable.SymbolTable.has_exec`." msgstr "" -#: ../NEWS:23944 +#: ../NEWS:23987 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 "" -#: ../NEWS:23947 +#: ../NEWS:23990 msgid "" ":issue:`40190`: Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." msgstr "" -#: ../NEWS:23949 +#: ../NEWS:23992 msgid "" ":issue:`40182`: Removed the ``_field_types`` attribute of the :class:`typing." "NamedTuple` class." msgstr "" -#: ../NEWS:23952 +#: ../NEWS:23995 msgid "" ":issue:`36517`: Multiple inheritance with :class:`typing.NamedTuple` now " "raises an error instead of silently ignoring other types." msgstr "" -#: ../NEWS:23955 +#: ../NEWS:23998 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 "" -#: ../NEWS:23959 +#: ../NEWS:24002 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 " @@ -41929,27 +41998,27 @@ msgid "" "exit code -11.\"" msgstr "" -#: ../NEWS:23964 +#: ../NEWS:24007 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 "" -#: ../NEWS:23968 +#: ../NEWS:24011 msgid "" ":issue:`40094`: Add :func:`os.waitstatus_to_exitcode` function: convert a " "wait status to an exit code." msgstr "" -#: ../NEWS:23971 +#: ../NEWS:24014 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 "" -#: ../NEWS:23975 +#: ../NEWS:24018 msgid "" ":issue:`40089`: Add a private ``_at_fork_reinit()`` method to :class:`!" "_thread.Lock`, :class:`!_thread.RLock`, :class:`threading.RLock` and :class:" @@ -41959,20 +42028,20 @@ msgid "" "``_at_fork_reinit()``." msgstr "" -#: ../NEWS:23982 +#: ../NEWS:24025 msgid "" ":issue:`25780`: Expose :const:`~socket.CAN_RAW_JOIN_FILTERS` in the :mod:" "`socket` module." msgstr "" -#: ../NEWS:23985 +#: ../NEWS:24028 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 "" -#: ../NEWS:23990 +#: ../NEWS:24033 msgid "" ":issue:`39812`: Removed daemon threads from :mod:`concurrent.futures` by " "adding an internal ``threading._register_atexit()``, which calls registered " @@ -41980,14 +42049,14 @@ msgid "" "compatibility with subinterpreters, which don't support daemon threads." msgstr "" -#: ../NEWS:23995 +#: ../NEWS:24038 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 "" -#: ../NEWS:23999 +#: ../NEWS:24042 msgid "" ":issue:`40014`: Fix ``os.getgrouplist()``: if ``getgrouplist()`` function " "fails because the group list is too small, retry with a larger group list. " @@ -41996,37 +42065,37 @@ msgid "" "list size." msgstr "" -#: ../NEWS:24005 +#: ../NEWS:24048 msgid "" ":issue:`40017`: Add :const:`time.CLOCK_TAI` constant if the operating system " "support it." msgstr "" -#: ../NEWS:24008 +#: ../NEWS:24051 msgid "" ":issue:`40016`: In re docstring, clarify the relationship between inline and " "argument compile flags." msgstr "" -#: ../NEWS:24011 +#: ../NEWS:24054 msgid "" ":issue:`39953`: Update internal table of OpenSSL error codes in the ``ssl`` " "module." msgstr "" -#: ../NEWS:24014 +#: ../NEWS:24057 msgid "" ":issue:`36144`: Added :pep:`584` operators to :class:`weakref." "WeakValueDictionary`." msgstr "" -#: ../NEWS:24017 +#: ../NEWS:24060 msgid "" ":issue:`36144`: Added :pep:`584` operators to :class:`weakref." "WeakKeyDictionary`." msgstr "" -#: ../NEWS:24020 +#: ../NEWS:24063 msgid "" ":issue:`38891`: Fix linear runtime behaviour of the ``__getitem__`` and " "``__setitem__`` methods in :class:`multiprocessing.shared_memory." @@ -42034,158 +42103,158 @@ msgid "" "``ShareableList``. Patch by Thomas Krennwallner." msgstr "" -#: ../NEWS:24026 +#: ../NEWS:24069 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 "" -#: ../NEWS:24030 +#: ../NEWS:24073 msgid "" ":issue:`36144`: Added :pep:`584` operators (``|`` and ``|=``) to :class:" "`collections.ChainMap`." msgstr "" -#: ../NEWS:24033 +#: ../NEWS:24076 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 "" -#: ../NEWS:24037 +#: ../NEWS:24080 msgid "" ":issue:`38410`: Properly handle :func:`sys.audit` failures in :func:`sys." "set_asyncgen_hooks`." msgstr "" -#: ../NEWS:24040 +#: ../NEWS:24083 msgid "" ":issue:`36541`: lib2to3 now recognizes named assignment expressions (the " "walrus operator, ``:=``)" msgstr "" -#: ../NEWS:24043 +#: ../NEWS:24086 msgid "" ":issue:`35967`: In platform, delay the invocation of 'uname -p' until the " "processor attribute is requested." msgstr "" -#: ../NEWS:24046 +#: ../NEWS:24089 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 "" -#: ../NEWS:24051 +#: ../NEWS:24094 msgid "" ":issue:`33262`: Deprecate passing None as an argument for :func:`shlex." "split`'s ``s`` parameter. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:24054 +#: ../NEWS:24097 msgid "" ":issue:`31758`: Prevent crashes when using an uninitialized ``_elementtree." "XMLParser`` object. Patch by Oren Milman." msgstr "" -#: ../NEWS:24060 +#: ../NEWS:24103 msgid "" ":issue:`27635`: The pickle documentation incorrectly claimed that " "``__new__`` isn't called by default when unpickling." msgstr "" -#: ../NEWS:24063 +#: ../NEWS:24106 msgid "" ":issue:`39879`: Updated :ref:`datamodel` docs to include :func:`dict` " "insertion order preservation. Patch by Furkan Onder and Samy Lahfa." msgstr "" -#: ../NEWS:24066 +#: ../NEWS:24109 msgid "" ":issue:`38387`: Document :c:macro:`PyDoc_STRVAR` macro in the C-API " "reference." msgstr "" -#: ../NEWS:24068 +#: ../NEWS:24111 msgid "" ":issue:`13743`: Some methods within xml.dom.minidom.Element class are now " "better documented." msgstr "" -#: ../NEWS:24074 +#: ../NEWS:24117 msgid "" ":issue:`31904`: Set expected default encoding in test_c_locale_coercion.py " "for VxWorks RTOS." msgstr "" -#: ../NEWS:24077 +#: ../NEWS:24120 msgid ":issue:`40162`: Update Travis CI configuration to OpenSSL 1.1.1f." msgstr "" -#: ../NEWS:24079 +#: ../NEWS:24122 msgid ":issue:`40146`: Update OpenSSL to 1.1.1f in Azure Pipelines." msgstr "" -#: ../NEWS:24081 +#: ../NEWS:24124 msgid ":issue:`40094`: Add :func:`test.support.wait_process` function." msgstr "" -#: ../NEWS:24083 +#: ../NEWS:24126 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 "" -#: ../NEWS:24087 +#: ../NEWS:24130 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 "" -#: ../NEWS:24091 +#: ../NEWS:24134 msgid "" ":issue:`39793`: Use the same domain when testing ``make_msgid``. Patch by " "Batuhan Taskaya." msgstr "" -#: ../NEWS:24094 +#: ../NEWS:24137 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 "" -#: ../NEWS:24100 +#: ../NEWS:24143 msgid ":issue:`38360`: Support single-argument form of macOS -isysroot flag." msgstr "" -#: ../NEWS:24102 +#: ../NEWS:24145 msgid "" ":issue:`40158`: Fix CPython MSBuild Properties in NuGet Package (build/" "native/python.props)" msgstr "" -#: ../NEWS:24105 +#: ../NEWS:24148 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 "" -#: ../NEWS:24112 +#: ../NEWS:24155 msgid ":issue:`40164`: Updates Windows to OpenSSL 1.1.1f" msgstr "" -#: ../NEWS:24114 +#: ../NEWS:24157 msgid "" ":issue:`8901`: Ignore the Windows registry when the ``-E`` option is used." msgstr "" -#: ../NEWS:24119 +#: ../NEWS:24162 msgid "" ":issue:`38329`: python.org macOS installers now update the Current version " "symlink of /Library/Frameworks/Python.framework/Versions for 3.9 installs. " @@ -42193,53 +42262,53 @@ msgid "" "make it easier to embed Python 3 into other macOS applications." msgstr "" -#: ../NEWS:24124 +#: ../NEWS:24167 msgid ":issue:`40164`: Update macOS installer builds to use OpenSSL 1.1.1g." msgstr "" -#: ../NEWS:24129 +#: ../NEWS:24172 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 "" -#: ../NEWS:24133 +#: ../NEWS:24176 msgid "" ":issue:`38689`: IDLE will no longer freeze when inspect.signature fails when " "fetching a calltip." msgstr "" -#: ../NEWS:24139 +#: ../NEWS:24182 msgid "" ":issue:`40385`: Removed the checkpyc.py tool. Please see compileall without " "force mode as a potential alternative." msgstr "" -#: ../NEWS:24142 +#: ../NEWS:24185 msgid ":issue:`40179`: Fixed translation of ``#elif`` in Argument Clinic." msgstr "" -#: ../NEWS:24144 +#: ../NEWS:24187 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 "" -#: ../NEWS:24151 +#: ../NEWS:24194 msgid "" ":issue:`40241`: Move the :c:type:`!PyGC_Head` structure to the internal C " "API." msgstr "" -#: ../NEWS:24153 +#: ../NEWS:24196 msgid "" ":issue:`40170`: Convert :c:func:`PyObject_IS_GC` macro to a function to hide " "implementation details." msgstr "" -#: ../NEWS:24156 +#: ../NEWS:24199 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 " @@ -42247,7 +42316,7 @@ msgid "" "garbage collector respectively. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:24161 +#: ../NEWS:24204 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 " @@ -42256,7 +42325,7 @@ msgid "" "tp_basicsize` member." msgstr "" -#: ../NEWS:24167 +#: ../NEWS:24210 msgid "" ":issue:`40170`: :c:func:`PyType_HasFeature` now always calls :c:func:" "`PyType_GetFlags` to hide implementation details. Previously, it accessed " @@ -42264,49 +42333,49 @@ msgid "" "was not used." msgstr "" -#: ../NEWS:24172 +#: ../NEWS:24215 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 "" -#: ../NEWS:24176 +#: ../NEWS:24219 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 "" -#: ../NEWS:24180 +#: ../NEWS:24223 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 "" -#: ../NEWS:24184 +#: ../NEWS:24227 msgid "" ":issue:`39947`: Add :c:func:`PyThreadState_GetID` function: get the unique " "identifier of a Python thread state." msgstr "" -#: ../NEWS:24189 +#: ../NEWS:24232 msgid "Python 3.9.0 alpha 5" msgstr "Python 3.9.0 alpha 5" -#: ../NEWS:24191 +#: ../NEWS:24234 msgid "*Release date: 2020-03-23*" msgstr "" -#: ../NEWS:24196 +#: ../NEWS:24239 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 "" -#: ../NEWS:24203 +#: ../NEWS:24246 msgid "" ":issue:`40010`: Optimize pending calls in multithreaded applications. If a " "thread different than the main thread schedules a pending call (:c:func:" @@ -42315,19 +42384,19 @@ msgid "" "executed. Only the main thread can execute pending calls." msgstr "" -#: ../NEWS:24209 +#: ../NEWS:24252 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread executes pending calls." msgstr "" -#: ../NEWS:24215 +#: ../NEWS:24258 msgid "" ":issue:`1635741`: Port _collections module to multiphase initialization (:" "pep:`489`)." msgstr "" -#: ../NEWS:24218 +#: ../NEWS:24261 msgid "" ":issue:`40010`: Optimize signal handling in multithreaded applications. If a " "thread different than the main thread gets a signal, the bytecode evaluation " @@ -42336,13 +42405,13 @@ msgid "" "interpreter can handle signals." msgstr "" -#: ../NEWS:24224 +#: ../NEWS:24267 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals." msgstr "" -#: ../NEWS:24227 +#: ../NEWS:24270 msgid "" ":issue:`39984`: If :c:func:`Py_AddPendingCall` is called in a " "subinterpreter, the function is now scheduled to be called from the " @@ -42350,93 +42419,93 @@ msgid "" "subinterpreter now has its own list of scheduled calls." msgstr "" -#: ../NEWS:24232 +#: ../NEWS:24275 msgid ":issue:`1635741`: Port _heapq module to multiphase initialization." msgstr "" -#: ../NEWS:24234 +#: ../NEWS:24277 msgid "" ":issue:`1635741`: Port itertools module to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:24237 +#: ../NEWS:24280 msgid "" ":issue:`37207`: Speed up calls to ``frozenset()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:24240 +#: ../NEWS:24283 msgid "" ":issue:`39984`: subinterpreters: Move ``_PyRuntimeState.ceval." "tracing_possible`` to ``PyInterpreterState.ceval.tracing_possible``: each " "interpreter now has its own variable." msgstr "" -#: ../NEWS:24245 +#: ../NEWS:24288 msgid "" ":issue:`37207`: Speed up calls to ``set()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:24248 +#: ../NEWS:24291 msgid "" ":issue:`1635741`: Port _statistics module to multiphase initialization (:pep:" "`489`)." msgstr "" -#: ../NEWS:24251 +#: ../NEWS:24294 msgid "" ":issue:`39968`: Use inline function to replace extension modules' " "get_module_state macros." msgstr "" -#: ../NEWS:24254 +#: ../NEWS:24297 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 "" -#: ../NEWS:24258 +#: ../NEWS:24301 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 "" -#: ../NEWS:24262 +#: ../NEWS:24305 msgid "" ":issue:`37207`: Speed up calls to ``tuple()`` by using the :pep:`590` " "``vectorcall`` calling convention. Patch by Donghee Na." msgstr "" -#: ../NEWS:24265 +#: ../NEWS:24308 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 "" -#: ../NEWS:24269 +#: ../NEWS:24312 msgid ":issue:`39926`: Update Unicode database to Unicode version 13.0.0." msgstr "" -#: ../NEWS:24271 +#: ../NEWS:24314 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 "" -#: ../NEWS:24275 +#: ../NEWS:24318 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 "" -#: ../NEWS:24280 +#: ../NEWS:24323 msgid "" ":issue:`39877`: Fix :c:func:`PyEval_RestoreThread` random crash at exit with " "daemon threads. It now accesses the ``_PyRuntime`` variable directly instead " @@ -42445,130 +42514,130 @@ msgid "" "thread now exits before trying to take the GIL." msgstr "" -#: ../NEWS:24286 +#: ../NEWS:24329 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 "" -#: ../NEWS:24290 +#: ../NEWS:24333 msgid "" ":issue:`39776`: Fix race condition where threads created by " "PyGILState_Ensure() could get a duplicate id." msgstr "" -#: ../NEWS:24293 +#: ../NEWS:24336 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 "" -#: ../NEWS:24297 +#: ../NEWS:24340 msgid "" ":issue:`39778`: Fixed a crash due to incorrect handling of weak references " "in ``collections.OrderedDict`` classes. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:24300 +#: ../NEWS:24343 msgid "" ":issue:`1635741`: Port audioop extension module to multiphase initialization " "(:pep:`489`)." msgstr "" -#: ../NEWS:24303 +#: ../NEWS:24346 msgid "" ":issue:`39702`: Relax :term:`decorator` grammar restrictions to allow any " "valid expression (:pep:`614`)." msgstr "" -#: ../NEWS:24306 +#: ../NEWS:24349 msgid "" ":issue:`38091`: Tweak import deadlock detection code to not deadlock itself." msgstr "" -#: ../NEWS:24308 +#: ../NEWS:24351 msgid "" ":issue:`1635741`: Port _locale extension module to multiphase initialization " "(:pep:`489`)." msgstr "" -#: ../NEWS:24311 +#: ../NEWS:24354 msgid "" ":issue:`39087`: Optimize :c:func:`PyUnicode_AsUTF8` and :c:func:" "`PyUnicode_AsUTF8AndSize` slightly when they need to create internal UTF-8 " "cache." msgstr "" -#: ../NEWS:24315 +#: ../NEWS:24358 msgid "" ":issue:`39520`: Fix unparsing of ext slices with no items (``foo[:,]``). " "Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:24318 +#: ../NEWS:24361 msgid "" ":issue:`39220`: Do not optimize annotations if 'from __future__ import " "annotations' is used. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:24321 +#: ../NEWS:24364 msgid "" ":issue:`35712`: Using :data:`NotImplemented` in a boolean context has been " "deprecated. Patch contributed by Josh Rosenberg." msgstr "" -#: ../NEWS:24324 +#: ../NEWS:24367 msgid "" ":issue:`22490`: Don't leak environment variable ``__PYVENV_LAUNCHER__`` into " "the interpreter session on macOS." msgstr "" -#: ../NEWS:24330 +#: ../NEWS:24373 msgid "" ":issue:`39830`: Add :class:`zipfile.Path` to ``__all__`` in the :mod:" "`zipfile` module." msgstr "" -#: ../NEWS:24333 +#: ../NEWS:24376 msgid "" ":issue:`40000`: Improved error messages for validation of ``ast.Constant`` " "nodes. Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:24336 +#: ../NEWS:24379 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 "" -#: ../NEWS:24340 +#: ../NEWS:24383 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 "" -#: ../NEWS:24343 +#: ../NEWS:24386 msgid "" ":issue:`39988`: Deprecated ``ast.AugLoad`` and ``ast.AugStore`` node classes " "because they are no longer used." msgstr "" -#: ../NEWS:24346 +#: ../NEWS:24389 msgid "" ":issue:`39656`: Ensure ``bin/python3.#`` is always present in virtual " "environments on POSIX platforms - by Anthony Sottile." msgstr "" -#: ../NEWS:24349 +#: ../NEWS:24392 msgid "" ":issue:`39969`: Deprecated ``ast.Param`` node class because it's no longer " "used. Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:24352 +#: ../NEWS:24395 msgid "" ":issue:`39360`: Ensure all workers exit when finalizing a :class:" "`multiprocessing.Pool` implicitly via the module finalization handlers of " @@ -42578,14 +42647,14 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:24359 +#: ../NEWS:24402 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 "" -#: ../NEWS:24363 +#: ../NEWS:24406 msgid "" ":issue:`39936`: AIX: Fix _aix_support module when the subprocess is not " "available, when building Python from scratch. It now uses new private " @@ -42594,19 +42663,19 @@ msgid "" "the same if subprocess is available or not." msgstr "" -#: ../NEWS:24369 +#: ../NEWS:24412 msgid "" ":issue:`36144`: :class:`collections.OrderedDict` now implements ``|`` and ``|" "=`` (:pep:`584`)." msgstr "" -#: ../NEWS:24372 +#: ../NEWS:24415 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 "" -#: ../NEWS:24375 +#: ../NEWS:24418 msgid "" ":issue:`39915`: Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has " "call objects in the order of awaited arguments instead of using :attr:" @@ -42614,13 +42683,13 @@ msgid "" "by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:24380 +#: ../NEWS:24423 msgid "" ":issue:`36144`: Updated :data:`os.environ` and :data:`os.environb` to " "support :pep:`584`'s merge (``|``) and update (``|=``) operators." msgstr "" -#: ../NEWS:24383 +#: ../NEWS:24426 msgid "" ":issue:`38662`: The ``ensurepip`` module now invokes ``pip`` via the " "``runpy`` module. Hence it is no longer tightly coupled with the internal " @@ -42628,19 +42697,19 @@ msgid "" "``pip`` version both internally and for distributors." msgstr "" -#: ../NEWS:24388 +#: ../NEWS:24431 msgid "" ":issue:`38075`: Fix the :meth:`random.Random.seed` method when a :class:" "`bool` is passed as the seed." msgstr "" -#: ../NEWS:24391 +#: ../NEWS:24434 msgid "" ":issue:`39916`: More reliable use of ``os.scandir()`` in ``Path.glob()``. It " "no longer emits a ResourceWarning when interrupted." msgstr "" -#: ../NEWS:24394 +#: ../NEWS:24437 msgid "" ":issue:`39850`: :mod:`multiprocessing` now supports abstract socket " "addresses (if abstract sockets are supported in the running platform). When " @@ -42650,7 +42719,7 @@ msgid "" "large for an AF_UNIX socket address. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:24401 +#: ../NEWS:24444 msgid "" ":issue:`36287`: :func:`ast.dump` no longer outputs optional fields and " "attributes with default values. The default values for optional fields and " @@ -42658,87 +42727,87 @@ msgid "" "kind`` is set to ``None``)." msgstr "" -#: ../NEWS:24406 +#: ../NEWS:24449 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 "" -#: ../NEWS:24410 +#: ../NEWS:24453 msgid "" ":issue:`39828`: Fix :mod:`json.tool` to catch :exc:`BrokenPipeError`. Patch " "by Donghee Na." msgstr "" -#: ../NEWS:24413 +#: ../NEWS:24456 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 "" -#: ../NEWS:24417 +#: ../NEWS:24460 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 "" -#: ../NEWS:24421 +#: ../NEWS:24464 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 "" -#: ../NEWS:24425 +#: ../NEWS:24468 msgid "" ":issue:`39826`: Add getConnection method to logging HTTPHandler to enable " "custom connections." msgstr "" -#: ../NEWS:24428 +#: ../NEWS:24471 msgid "" ":issue:`39763`: Reimplement ``distutils.spawn.spawn`` function with the :mod:" "`subprocess` module." msgstr "" -#: ../NEWS:24431 +#: ../NEWS:24474 msgid "" ":issue:`39794`: Add --without-decimal-contextvar build option. This enables " "a thread-local rather than a coroutine local context." msgstr "" -#: ../NEWS:24434 +#: ../NEWS:24477 msgid "" ":issue:`36144`: :class:`collections.defaultdict` now implements ``|`` (:pep:" "`584`)." msgstr "" -#: ../NEWS:24437 +#: ../NEWS:24480 msgid ":issue:`39517`: Fix runpy.run_path() when using pathlike objects" msgstr "" -#: ../NEWS:24439 +#: ../NEWS:24482 msgid "" ":issue:`39775`: Change ``inspect.Signature.parameters`` back to " "``collections.OrderedDict``. This was changed to ``dict`` in Python 3.9.0a4." msgstr "" -#: ../NEWS:24443 +#: ../NEWS:24486 msgid "" ":issue:`39678`: Refactor queue_manager in :class:`concurrent.futures." "ProcessPoolExecutor` to make it easier to maintain." msgstr "" -#: ../NEWS:24447 +#: ../NEWS:24490 msgid "" ":issue:`39764`: Fix AttributeError when calling get_stack on a " "PyAsyncGenObject Task" msgstr "" -#: ../NEWS:24450 +#: ../NEWS:24493 msgid "" ":issue:`39769`: The :func:`compileall.compile_dir` function's *ddir* " "parameter and the compileall command line flag ``-d`` no longer write the " @@ -42747,88 +42816,88 @@ msgid "" "Python 3.5." msgstr "" -#: ../NEWS:24456 +#: ../NEWS:24499 msgid "" ":issue:`36144`: :class:`types.MappingProxyType` objects now support the " "merge (``|``) operator from :pep:`584`." msgstr "" -#: ../NEWS:24459 +#: ../NEWS:24502 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 "" -#: ../NEWS:24463 +#: ../NEWS:24506 msgid "" ":issue:`39719`: Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as " "files no longer have the ``softspace`` attribute in Python 3. Patch by " "Shantanu." msgstr "" -#: ../NEWS:24466 +#: ../NEWS:24509 msgid "" ":issue:`39667`: Improve pathlib.Path compatibility on zipfile.Path and " "correct performance degradation as found in zipp 3.0." msgstr "" -#: ../NEWS:24469 +#: ../NEWS:24512 msgid "" ":issue:`39638`: Keep ASDL signatures in the docstrings for ``AST`` nodes. " "Patch by Batuhan Taskaya" msgstr "" -#: ../NEWS:24472 +#: ../NEWS:24515 msgid "" ":issue:`39639`: Deprecated ``ast.Suite`` node class because it's no longer " "used. Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:24475 +#: ../NEWS:24518 msgid ":issue:`39609`: Add thread_name_prefix to default asyncio executor" msgstr "" -#: ../NEWS:24477 +#: ../NEWS:24520 msgid "" ":issue:`39548`: Fix handling of header in :class:`urllib.request." "AbstractDigestAuthHandler` when the optional ``qop`` parameter is not " "present." msgstr "" -#: ../NEWS:24481 +#: ../NEWS:24524 msgid "" ":issue:`39509`: HTTP status codes ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` " "are added to :class:`http.HTTPStatus`. Patch by Donghee Na." msgstr "" -#: ../NEWS:24484 +#: ../NEWS:24527 msgid "" ":issue:`39507`: Adding HTTP status 418 \"I'm a Teapot\" to HTTPStatus in " "http library. Patch by Ross Rhodes." msgstr "" -#: ../NEWS:24487 +#: ../NEWS:24530 msgid "" ":issue:`39495`: Remove default value from *attrs* parameter of :meth:`xml." "etree.ElementTree.TreeBuilder.start` for consistency between Python and C " "implementations." msgstr "" -#: ../NEWS:24491 +#: ../NEWS:24534 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 "" -#: ../NEWS:24496 +#: ../NEWS:24539 msgid "" ":issue:`38641`: Added starred expressions support to ``return`` and " "``yield`` statements for ``lib2to3``. Patch by Vlad Emelianov." msgstr "" -#: ../NEWS:24499 +#: ../NEWS:24542 msgid "" ":issue:`37534`: When using minidom module to generate XML documents the " "ability to add Standalone Document Declaration is added. All the changes are " @@ -42837,13 +42906,13 @@ msgid "" "org/TR/xml/#sec-prolog-dtd)." msgstr "" -#: ../NEWS:24505 +#: ../NEWS:24548 msgid "" ":issue:`34788`: Add support for scoped IPv6 addresses to :mod:`ipaddress`. " "Patch by Oleksandr Pavliuk." msgstr "" -#: ../NEWS:24508 +#: ../NEWS:24551 msgid "" ":issue:`34822`: Simplified AST for subscription. Simple indices are now " "represented by their value, extended slices are represented as tuples. :mod:" @@ -42853,75 +42922,75 @@ msgid "" "Load())``." msgstr "" -#: ../NEWS:24518 +#: ../NEWS:24561 msgid ":issue:`39868`: Updated the Language Reference for :pep:`572`." msgstr "" -#: ../NEWS:24520 +#: ../NEWS:24563 msgid ":issue:`13790`: Change 'string' to 'specification' in format doc." msgstr "" -#: ../NEWS:24522 +#: ../NEWS:24565 msgid "" ":issue:`17422`: The language reference no longer restricts default class " "namespaces to dicts only." msgstr "" -#: ../NEWS:24525 +#: ../NEWS:24568 msgid "" ":issue:`39530`: Fix misleading documentation about mixed-type numeric " "comparisons." msgstr "" -#: ../NEWS:24528 +#: ../NEWS:24571 msgid "" ":issue:`39718`: Update :mod:`token` documentation to reflect additions in " "Python 3.8" msgstr "" -#: ../NEWS:24531 +#: ../NEWS:24574 msgid "" ":issue:`39677`: Changed operand name of **MAKE_FUNCTION** from *argc* to " "*flags* for module :mod:`dis`" msgstr "" -#: ../NEWS:24537 +#: ../NEWS:24580 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 "" -#: ../NEWS:24540 +#: ../NEWS:24583 msgid "" ":issue:`27807`: ``test_site.test_startup_imports()`` is now skipped if a " "path of :data:`sys.path` contains a ``.pth`` file." msgstr "" -#: ../NEWS:24543 +#: ../NEWS:24586 msgid "" ":issue:`26067`: Do not fail test_shutil test_chown test when uid or gid of " "user cannot be resolved to a name." msgstr "" -#: ../NEWS:24546 +#: ../NEWS:24589 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 "" -#: ../NEWS:24553 +#: ../NEWS:24596 msgid ":issue:`39761`: Fix build with DTrace but without additional DFLAGS." msgstr "" -#: ../NEWS:24555 +#: ../NEWS:24598 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 "" -#: ../NEWS:24559 +#: ../NEWS:24602 msgid "" ":issue:`1294959`: Add ``--with-platlibdir`` option to the configure script: " "name of the platform-specific library directory, stored in the new :data:" @@ -42932,19 +43001,19 @@ msgid "" "Charalampos Stratakis and Victor Stinner." msgstr "" -#: ../NEWS:24570 +#: ../NEWS:24613 msgid "" ":issue:`39930`: Ensures the required :file:`vcruntime140.dll` is included in " "install packages." msgstr "" -#: ../NEWS:24573 +#: ../NEWS:24616 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 "" -#: ../NEWS:24577 +#: ../NEWS:24620 msgid "" ":issue:`38597`: ``distutils`` will no longer statically link :file:" "`vcruntime140.dll` when a redistributable version is unavailable. All future " @@ -42952,49 +43021,49 @@ msgid "" "extensions can continue to load." msgstr "" -#: ../NEWS:24582 +#: ../NEWS:24625 msgid ":issue:`38380`: Update Windows builds to use SQLite 3.31.1" msgstr "" -#: ../NEWS:24584 +#: ../NEWS:24627 msgid "" ":issue:`39789`: Update Windows release build machines to Visual Studio 2019 " "(MSVC 14.2)." msgstr "" -#: ../NEWS:24587 +#: ../NEWS:24630 msgid "" ":issue:`34803`: Package for nuget.org now includes repository reference and " "bundled icon image." msgstr "" -#: ../NEWS:24593 +#: ../NEWS:24636 msgid ":issue:`38380`: Update macOS builds to use SQLite 3.31.1" msgstr "" -#: ../NEWS:24598 +#: ../NEWS:24641 msgid "" ":issue:`27115`: For 'Go to Line', use a Query box subclass with IDLE " "standard behavior and improved error checking." msgstr "" -#: ../NEWS:24601 +#: ../NEWS:24644 msgid "" ":issue:`39885`: Since clicking to get an IDLE context menu moves the cursor, " "any text selection should be and now is cleared." msgstr "" -#: ../NEWS:24604 +#: ../NEWS:24647 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 "" -#: ../NEWS:24607 +#: ../NEWS:24650 msgid ":issue:`39781`: Selecting code context lines no longer causes a jump." msgstr "" -#: ../NEWS:24612 +#: ../NEWS:24655 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, " @@ -43002,19 +43071,19 @@ msgid "" "Linux and can be a different condition than the GIL." msgstr "" -#: ../NEWS:24617 +#: ../NEWS:24660 msgid "" ":issue:`38080`: Added support to fix ``getproxies`` in the :mod:`!lib2to3." "fixes.fix_urllib` module. Patch by José Roberto Meza Cabrera." msgstr "" -#: ../NEWS:24624 +#: ../NEWS:24667 msgid "" ":issue:`40024`: Add :c:func:`PyModule_AddType` helper function: add a type " "to a module. Patch by Donghee Na." msgstr "" -#: ../NEWS:24627 +#: ../NEWS:24670 msgid "" ":issue:`39946`: Remove ``_PyRuntime.getframe`` hook and remove " "``_PyThreadState_GetFrame`` macro which was an alias to ``_PyRuntime." @@ -43022,37 +43091,37 @@ msgid "" "``PyThreadFrameGetter`` type." msgstr "" -#: ../NEWS:24632 +#: ../NEWS:24675 msgid "" ":issue:`39947`: Add :c:func:`PyThreadState_GetFrame` function: get the " "current frame of a Python thread state." msgstr "" -#: ../NEWS:24635 +#: ../NEWS:24678 msgid "" ":issue:`37207`: Add _PyArg_NoKwnames helper function. Patch by Donghee Na." msgstr "" -#: ../NEWS:24637 +#: ../NEWS:24680 msgid "" ":issue:`39947`: Add :c:func:`PyThreadState_GetInterpreter`: get the " "interpreter of a Python thread state." msgstr "" -#: ../NEWS:24640 +#: ../NEWS:24683 msgid "" ":issue:`39947`: Add :c:func:`PyInterpreterState_Get` function to the limited " "C API." msgstr "" -#: ../NEWS:24643 +#: ../NEWS:24686 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 "" -#: ../NEWS:24646 +#: ../NEWS:24689 msgid "" ":issue:`39947`: Move the static inline function flavor of " "Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to the internal C API: " @@ -43060,7 +43129,7 @@ msgid "" "functions which hide implementation details." msgstr "" -#: ../NEWS:24651 +#: ../NEWS:24694 msgid "" ":issue:`39947`: Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no " "longer access PyThreadState attributes, but call new private " @@ -43068,40 +43137,40 @@ msgid "" "details." msgstr "" -#: ../NEWS:24655 +#: ../NEWS:24698 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 "" -#: ../NEWS:24659 +#: ../NEWS:24702 msgid "" ":issue:`39877`: Deprecated :c:func:`!PyEval_InitThreads` and :c:func:`!" "PyEval_ThreadsInitialized`. Calling :c:func:`!PyEval_InitThreads` now does " "nothing." msgstr "" -#: ../NEWS:24663 +#: ../NEWS:24706 msgid "" ":issue:`38249`: :c:macro:`Py_UNREACHABLE` is now implemented with " "``__builtin_unreachable()`` and analogs in release mode." msgstr "" -#: ../NEWS:24666 +#: ../NEWS:24709 msgid "" ":issue:`38643`: :c:func:`PyNumber_ToBase` now raises a :exc:`SystemError` " "instead of crashing when called with invalid base." msgstr "" -#: ../NEWS:24669 +#: ../NEWS:24712 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 "" -#: ../NEWS:24673 +#: ../NEWS:24716 msgid "" ":issue:`39824`: Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:" "member:`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions " @@ -43113,18 +43182,18 @@ msgid "" "by :c:func:`PyModule_GetState`) is ``NULL``." msgstr "" -#: ../NEWS:24682 +#: ../NEWS:24725 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: ../NEWS:24684 +#: ../NEWS:24727 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 "" -#: ../NEWS:24687 +#: ../NEWS:24730 msgid "" ":issue:`38500`: Add a private API to get and set the frame evaluation " "function: add :c:func:`_PyInterpreterState_GetEvalFrameFunc` and :c:func:" @@ -43132,130 +43201,130 @@ msgid "" "`_PyFrameEvalFunction` function type now takes a *tstate* parameter." msgstr "" -#: ../NEWS:24695 +#: ../NEWS:24738 msgid "Python 3.9.0 alpha 4" msgstr "Python 3.9.0 alpha 4" -#: ../NEWS:24697 +#: ../NEWS:24740 msgid "*Release date: 2020-02-25*" msgstr "" -#: ../NEWS:24702 +#: ../NEWS:24745 msgid "" ":issue:`39184`: Add audit events to functions in ``fcntl``, ``msvcrt``, " "``os``, ``resource``, ``shutil``, ``signal`` and ``syslog``." msgstr "" -#: ../NEWS:24705 +#: ../NEWS:24748 msgid "" ":issue:`39401`: Avoid unsafe DLL load at startup on Windows 7 and earlier." msgstr "" -#: ../NEWS:24707 +#: ../NEWS:24750 msgid "" ":issue:`39184`: Add audit events to command execution functions in os and " "pty modules." msgstr "" -#: ../NEWS:24713 +#: ../NEWS:24756 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 "" -#: ../NEWS:24717 +#: ../NEWS:24760 msgid "" ":issue:`39573`: Update clinic tool to use :c:func:`Py_IS_TYPE`. Patch by " "Donghee Na." msgstr "" -#: ../NEWS:24720 +#: ../NEWS:24763 msgid ":issue:`39619`: Enable use of :func:`os.chroot` on HP-UX systems." msgstr "" -#: ../NEWS:24722 +#: ../NEWS:24765 msgid "" ":issue:`39573`: Add :c:func:`Py_IS_TYPE` static inline function to check " "whether the object *o* type is *type*." msgstr "" -#: ../NEWS:24725 +#: ../NEWS:24768 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 "" -#: ../NEWS:24729 +#: ../NEWS:24772 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 "" -#: ../NEWS:24733 +#: ../NEWS:24776 msgid "" ":issue:`1635741`: Port _crypt extension module to multiphase initialization " "(:pep:`489`)." msgstr "" -#: ../NEWS:24736 +#: ../NEWS:24779 msgid "" ":issue:`1635741`: Port _contextvars extension module to multiphase " "initialization (:pep:`489`)." msgstr "" -#: ../NEWS:24739 +#: ../NEWS:24782 msgid "" ":issue:`39510`: Fix segfault in ``readinto()`` method on closed " "BufferedReader." msgstr "" -#: ../NEWS:24741 +#: ../NEWS:24784 msgid "" ":issue:`39502`: Fix :func:`time.localtime` on 64-bit AIX to support years " "before 1902 and after 2038. Patch by M Felt." msgstr "" -#: ../NEWS:24744 +#: ../NEWS:24787 msgid "" ":issue:`39492`: Fix a reference cycle in the C Pickler that was preventing " "the garbage collection of deleted, pickled objects." msgstr "" -#: ../NEWS:24747 +#: ../NEWS:24790 msgid "" ":issue:`39453`: Fixed a possible crash in :meth:`list.__contains__` when a " "list is changed during comparing items. Patch by Donghee Na." msgstr "" -#: ../NEWS:24750 +#: ../NEWS:24793 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 "" -#: ../NEWS:24754 +#: ../NEWS:24797 msgid "" ":issue:`1635741`: Port _codecs extension module to multiphase initialization " "(:pep:`489`)." msgstr "" -#: ../NEWS:24757 +#: ../NEWS:24800 msgid "" ":issue:`1635741`: Port _bz2 extension module to multiphase initialization (:" "pep:`489`)." msgstr "" -#: ../NEWS:24760 +#: ../NEWS:24803 msgid "" ":issue:`1635741`: Port _abc extension module to multiphase initialization (:" "pep:`489`)." msgstr "" -#: ../NEWS:24763 +#: ../NEWS:24806 msgid "" ":issue:`39320`: Replace two complex bytecodes for building dicts with two " "simpler ones. The new bytecodes ``DICT_MERGE`` and ``DICT_UPDATE`` have been " @@ -43263,79 +43332,79 @@ msgid "" "``BUILD_MAP_UNPACK_WITH_CALL`` have been removed." msgstr "" -#: ../NEWS:24768 +#: ../NEWS:24811 msgid "" ":issue:`39219`: Syntax errors raised in the tokenizer now always set correct " "\"text\" and \"offset\" attributes." msgstr "" -#: ../NEWS:24771 +#: ../NEWS:24814 msgid "" ":issue:`36051`: Drop the GIL during large ``bytes.join`` operations. Patch " "by Bruce Merry." msgstr "" -#: ../NEWS:24774 +#: ../NEWS:24817 msgid "" ":issue:`38960`: Fix DTrace build issues on FreeBSD. Patch by David Carlier." msgstr "" -#: ../NEWS:24776 +#: ../NEWS:24819 msgid "" ":issue:`37207`: Speed up calls to ``range()`` by about 30%, by using the PEP " "590 ``vectorcall`` calling convention. Patch by Mark Shannon." msgstr "" -#: ../NEWS:24779 +#: ../NEWS:24822 msgid "" ":issue:`36144`: :class:`dict` (and :class:`collections.UserDict`) objects " "now support PEP 584's merge (``|``) and update (``|=``) operators. Patch by " "Brandt Bucher." msgstr "" -#: ../NEWS:24783 +#: ../NEWS:24826 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 "" -#: ../NEWS:24790 +#: ../NEWS:24833 msgid "" ":issue:`30566`: Fix :exc:`IndexError` when trying to decode an invalid " "string with punycode codec." msgstr "" -#: ../NEWS:24793 +#: ../NEWS:24836 msgid "" ":issue:`39649`: Remove obsolete check for ``__args__`` in ``bdb.Bdb." "format_stack_entry``." msgstr "" -#: ../NEWS:24796 +#: ../NEWS:24839 msgid "" ":issue:`39648`: Expanded :func:`math.gcd` and :func:`math.lcm` to handle " "multiple arguments." msgstr "" -#: ../NEWS:24799 +#: ../NEWS:24842 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 "" -#: ../NEWS:24803 +#: ../NEWS:24846 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 "" -#: ../NEWS:24807 +#: ../NEWS:24850 msgid ":issue:`39479`: Add :func:`math.lcm` function: least common multiple." msgstr "" -#: ../NEWS:24809 +#: ../NEWS:24852 msgid "" ":issue:`39674`: Revert \"Do not expose abstract collection classes in the " "collections module\" change (:issue:`25988`). Aliases to ABC like " @@ -43343,23 +43412,23 @@ msgid "" "2.7, but will be removed in Python 3.10." msgstr "" -#: ../NEWS:24814 +#: ../NEWS:24857 msgid "" ":issue:`39104`: Fix hanging ProcessPoolExcutor on ``shutdown(wait=False)`` " "when a task has failed pickling." msgstr "" -#: ../NEWS:24817 +#: ../NEWS:24860 msgid ":issue:`39627`: Fixed TypedDict totality check for inherited keys." msgstr "" -#: ../NEWS:24819 +#: ../NEWS:24862 msgid "" ":issue:`39474`: Fixed starting position of AST for expressions like ``(a)" "(b)``, ``(a)[b]`` and ``(a).b``." msgstr "" -#: ../NEWS:24822 +#: ../NEWS:24865 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 " @@ -43367,19 +43436,19 @@ msgid "" "Patch by Jan Matějek." msgstr "" -#: ../NEWS:24827 +#: ../NEWS:24870 msgid "" ":issue:`39590`: Collections.deque now holds strong references during deque." "__contains__ and deque.count, fixing crashes." msgstr "" -#: ../NEWS:24830 +#: ../NEWS:24873 msgid "" ":issue:`39586`: The distutils ``bdist_msi`` command is deprecated in Python " "3.9, use ``bdist_wheel`` (wheel packages) instead." msgstr "" -#: ../NEWS:24833 +#: ../NEWS:24876 msgid "" ":issue:`39595`: Improved performance of zipfile.Path for files with a large " "number of entries. Also improved performance and fixed minor issue as " @@ -43387,7 +43456,7 @@ msgid "" "readthedocs.io/en/latest/history.html#v1-5-0>`_." msgstr "" -#: ../NEWS:24838 +#: ../NEWS:24881 msgid "" ":issue:`39350`: Fix regression in :class:`fractions.Fraction` if the " "numerator and/or the denominator is an :class:`int` subclass. The :func:" @@ -43396,38 +43465,38 @@ msgid "" "Previously, the GCD type depended on *numerator* and *denominator*." msgstr "" -#: ../NEWS:24844 +#: ../NEWS:24887 msgid "" ":issue:`39567`: Added audit for :func:`os.walk`, :func:`os.fwalk`, :meth:" "`pathlib.Path.glob` and :meth:`pathlib.Path.rglob`." msgstr "" -#: ../NEWS:24847 +#: ../NEWS:24890 msgid "" ":issue:`39559`: Remove unused, undocumented argument ``getters`` from :func:" "`uuid.getnode`" msgstr "" -#: ../NEWS:24850 +#: ../NEWS:24893 msgid "" ":issue:`38149`: :func:`sys.audit` is now called only once per call of :func:" "`glob.glob` and :func:`glob.iglob`." msgstr "" -#: ../NEWS:24853 +#: ../NEWS:24896 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 "" -#: ../NEWS:24857 +#: ../NEWS:24900 msgid "" ":issue:`39450`: Striped whitespace from docstring before returning it from :" "func:`unittest.case.shortDescription`." msgstr "" -#: ../NEWS:24860 +#: ../NEWS:24903 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." @@ -43436,55 +43505,55 @@ msgid "" "access." msgstr "" -#: ../NEWS:24866 +#: ../NEWS:24909 msgid "" ":issue:`39353`: The :func:`binascii.crc_hqx` function is no longer " "deprecated." msgstr "" -#: ../NEWS:24868 +#: ../NEWS:24911 msgid ":issue:`39493`: Mark ``typing.IO.closed`` as a property" msgstr "" -#: ../NEWS:24870 +#: ../NEWS:24913 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 "" -#: ../NEWS:24874 +#: ../NEWS:24917 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 "" -#: ../NEWS:24878 +#: ../NEWS:24921 msgid "" ":issue:`38932`: Mock fully resets child objects on reset_mock(). Patch by " "Vegard Stikbakke" msgstr "" -#: ../NEWS:24881 +#: ../NEWS:24924 msgid ":issue:`39082`: Allow AsyncMock to correctly patch static/class methods" msgstr "" -#: ../NEWS:24883 +#: ../NEWS:24926 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 "" -#: ../NEWS:24887 +#: ../NEWS:24930 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 "" -#: ../NEWS:24891 +#: ../NEWS:24934 msgid "" ":issue:`39349`: Added a new *cancel_futures* parameter to :meth:`concurrent." "futures.Executor.shutdown` that cancels all pending futures which have not " @@ -43492,20 +43561,20 @@ msgid "" "down the executor." msgstr "" -#: ../NEWS:24896 +#: ../NEWS:24939 msgid "" ":issue:`39274`: ``bool(fraction.Fraction)`` now returns a boolean even if " "(numerator != 0) does not return a boolean (ex: numpy number)." msgstr "" -#: ../NEWS:24899 +#: ../NEWS:24942 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 "" -#: ../NEWS:24903 +#: ../NEWS:24946 msgid "" ":issue:`25597`: Ensure, if ``wraps`` is supplied to :class:`unittest.mock." "MagicMock`, it is used to calculate return values for the magic methods " @@ -43513,98 +43582,98 @@ msgid "" "Singaravelan." msgstr "" -#: ../NEWS:24908 +#: ../NEWS:24951 msgid "" ":issue:`36350`: ``inspect.Signature.parameters`` and ``inspect." "BoundArguments.arguments`` are now dicts instead of OrderedDicts. Patch " "contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:24912 +#: ../NEWS:24955 msgid "" ":issue:`35727`: Fix sys.exit() and sys.exit(None) exit code propagation when " "used in multiprocessing.Process." msgstr "" -#: ../NEWS:24915 +#: ../NEWS:24958 msgid "" ":issue:`32173`: * Add ``lazycache`` function to ``__all__``. * Use ``dict." "clear`` to clear the cache. * Refactoring ``getline`` function and " "``checkcache`` function." msgstr "" -#: ../NEWS:24922 +#: ../NEWS:24965 msgid "" ":issue:`17422`: The language reference now specifies restrictions on class " "namespaces. Adapted from a patch by Ethan Furman." msgstr "" -#: ../NEWS:24925 +#: ../NEWS:24968 msgid "" ":issue:`39572`: Updated documentation of ``total`` flag of ``TypedDict``." msgstr "" -#: ../NEWS:24927 +#: ../NEWS:24970 msgid "" ":issue:`39654`: In pyclbr doc, update 'class' to 'module' where appropriate " "and add readmodule comment. Patch by Hakan Çelik." msgstr "" -#: ../NEWS:24930 +#: ../NEWS:24973 msgid "" ":issue:`39153`: Clarify refcounting semantics for the following functions: - " "PyObject_SetItem - PyMapping_SetItemString - PyDict_SetItem - " "PyDict_SetItemString" msgstr "" -#: ../NEWS:24934 +#: ../NEWS:24977 msgid "" ":issue:`39392`: Explain that when filling with turtle, overlap regions may " "be left unfilled." msgstr "" -#: ../NEWS:24937 +#: ../NEWS:24980 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 "" -#: ../NEWS:24942 +#: ../NEWS:24985 msgid ":issue:`9056`: Include subsection in TOC for PDF version of docs." msgstr "" -#: ../NEWS:24947 +#: ../NEWS:24990 msgid ":issue:`38325`: Skip tests on non-BMP characters of test_winconsoleio." msgstr "" -#: ../NEWS:24949 +#: ../NEWS:24992 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 "" -#: ../NEWS:24956 +#: ../NEWS:24999 msgid ":issue:`39489`: Remove ``COUNT_ALLOCS`` special build." msgstr "" -#: ../NEWS:24961 +#: ../NEWS:25004 msgid ":issue:`39553`: Delete unused code related to SxS manifests." msgstr "" -#: ../NEWS:24963 +#: ../NEWS:25006 msgid "" ":issue:`39439`: Honor the Python path when a virtualenv is active on Windows." msgstr "" -#: ../NEWS:24965 +#: ../NEWS:25008 msgid "" ":issue:`39393`: Improve the error message when attempting to load a DLL with " "unresolved dependencies." msgstr "" -#: ../NEWS:24968 +#: ../NEWS:25011 msgid "" ":issue:`38883`: :meth:`~pathlib.Path.home` and :meth:`~pathlib.Path." "expanduser` on Windows now prefer :envvar:`USERPROFILE` and no longer use :" @@ -43613,46 +43682,46 @@ msgid "" "to ignore :envvar:`HOME` in 3.8, see :issue:`36264`." msgstr "" -#: ../NEWS:24974 +#: ../NEWS:25017 msgid "" ":issue:`39185`: The build.bat script has additional options for very-quiet " "output (-q) and very-verbose output (-vv)" msgstr "" -#: ../NEWS:24980 +#: ../NEWS:25023 msgid ":issue:`39663`: Add tests for pyparse find_good_parse_start()." msgstr "" -#: ../NEWS:24982 +#: ../NEWS:25025 msgid "" ":issue:`39600`: In the font configuration window, remove duplicated font " "names." msgstr "" -#: ../NEWS:24984 +#: ../NEWS:25027 msgid "" ":issue:`30780`: Add remaining configdialog tests for buttons and highlights " "and keys tabs." msgstr "" -#: ../NEWS:24987 +#: ../NEWS:25030 msgid ":issue:`39388`: IDLE Settings Cancel button now cancels pending changes" msgstr "" -#: ../NEWS:24989 +#: ../NEWS:25032 msgid "" ":issue:`38792`: Close an IDLE shell calltip if a :exc:`KeyboardInterrupt` or " "shell restart occurs. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:24995 +#: ../NEWS:25038 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 "" -#: ../NEWS:24999 +#: ../NEWS:25042 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``). " @@ -43660,37 +43729,37 @@ msgid "" "``Py_BUILD_CORE`` macro defined." msgstr "" -#: ../NEWS:25004 +#: ../NEWS:25047 msgid "" ":issue:`39573`: Add :c:func:`Py_SET_SIZE` function to set the size of an " "object." msgstr "" -#: ../NEWS:25007 +#: ../NEWS:25050 msgid "" ":issue:`39500`: :c:func:`PyUnicode_IsIdentifier` does not call :c:func:" "`Py_FatalError` anymore if the string is not ready." msgstr "" -#: ../NEWS:25010 +#: ../NEWS:25053 msgid "" ":issue:`39573`: Add :c:func:`Py_SET_TYPE` function to set the type of an " "object." msgstr "" -#: ../NEWS:25013 +#: ../NEWS:25056 msgid "" ":issue:`39573`: Add a :c:func:`Py_SET_REFCNT` function to set the reference " "counter of an object." msgstr "" -#: ../NEWS:25016 +#: ../NEWS:25059 msgid "" ":issue:`39542`: Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` " "and :c:func:`PyType_CheckExact` macros to static inline functions." msgstr "" -#: ../NEWS:25019 +#: ../NEWS:25062 msgid "" ":issue:`39542`: In the limited C API, ``PyObject_INIT()`` and " "``PyObject_INIT_VAR()`` are now defined as aliases to :c:func:" @@ -43701,28 +43770,28 @@ msgid "" "``_PyTraceMalloc_NewReference()`` and ``_Py_GetRefTotal()``." msgstr "" -#: ../NEWS:25027 +#: ../NEWS:25070 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 "" -#: ../NEWS:25031 +#: ../NEWS:25074 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 "" -#: ../NEWS:25035 +#: ../NEWS:25078 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 "" -#: ../NEWS:25039 +#: ../NEWS:25082 msgid "" ":issue:`39245`: The Vectorcall API (PEP 590) was made public, adding the " "functions ``PyObject_Vectorcall``, ``PyObject_VectorcallMethod``, " @@ -43731,92 +43800,92 @@ msgid "" "``PyObject_FastCallDict``, and the flag ``Py_TPFLAGS_HAVE_VECTORCALL``." msgstr "" -#: ../NEWS:25047 +#: ../NEWS:25090 msgid "Python 3.9.0 alpha 3" msgstr "Python 3.9.0 alpha 3" -#: ../NEWS:25049 +#: ../NEWS:25092 msgid "*Release date: 2020-01-24*" msgstr "" -#: ../NEWS:25054 +#: ../NEWS:25097 msgid "" ":issue:`39427`: Document all possibilities for the ``-X`` options in the " "command line help section. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25057 +#: ../NEWS:25100 msgid "" ":issue:`39421`: Fix possible crashes when operating with the functions in " "the :mod:`heapq` module and custom comparison operators." msgstr "" -#: ../NEWS:25060 +#: ../NEWS:25103 msgid ":issue:`39386`: Prevent double awaiting of async iterator." msgstr "" -#: ../NEWS:25062 +#: ../NEWS:25105 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 "" -#: ../NEWS:25066 +#: ../NEWS:25109 msgid "" ":issue:`39320`: Replace four complex bytecodes for building sequences with " "three simpler ones." msgstr "" -#: ../NEWS:25069 +#: ../NEWS:25112 msgid "The following four bytecodes have been removed:" msgstr "" -#: ../NEWS:25071 +#: ../NEWS:25114 msgid "BUILD_LIST_UNPACK" msgstr "BUILD_LIST_UNPACK" -#: ../NEWS:25072 +#: ../NEWS:25115 msgid "BUILD_TUPLE_UNPACK" msgstr "BUILD_TUPLE_UNPACK" -#: ../NEWS:25073 +#: ../NEWS:25116 msgid "BUILD_SET_UNPACK" msgstr "BUILD_SET_UNPACK" -#: ../NEWS:25074 +#: ../NEWS:25117 msgid "BUILD_TUPLE_UNPACK_WITH_CALL" msgstr "BUILD_TUPLE_UNPACK_WITH_CALL" -#: ../NEWS:25076 +#: ../NEWS:25119 msgid "The following three bytecodes have been added:" msgstr "" -#: ../NEWS:25078 +#: ../NEWS:25121 msgid "LIST_TO_TUPLE" msgstr "LIST_TO_TUPLE" -#: ../NEWS:25079 +#: ../NEWS:25122 msgid "LIST_EXTEND" msgstr "LIST_EXTEND" -#: ../NEWS:25080 +#: ../NEWS:25123 msgid "SET_UPDATE" msgstr "SET_UPDATE" -#: ../NEWS:25082 +#: ../NEWS:25125 msgid "" ":issue:`39336`: Import loaders which publish immutable module objects can " "now publish immutable packages in addition to individual modules." msgstr "" -#: ../NEWS:25085 +#: ../NEWS:25128 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 "" -#: ../NEWS:25089 +#: ../NEWS:25132 msgid "" ":issue:`39048`: Improve the displayed error message when incorrect types are " "passed to ``async with`` statements by looking up the :meth:`__aenter__` " @@ -43824,97 +43893,97 @@ msgid "" "asynchronous context manager. Patch by Géry Ogam." msgstr "" -#: ../NEWS:25094 +#: ../NEWS:25137 msgid "" ":issue:`39235`: Fix AST end location for lone generator expression in " "function call, e.g. f(i for i in a)." msgstr "" -#: ../NEWS:25097 +#: ../NEWS:25140 msgid "" ":issue:`39209`: Correctly handle multi-line tokens in interactive mode. " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25100 +#: ../NEWS:25143 msgid "" ":issue:`1635741`: Port _json extension module to multiphase initialization (:" "pep:`489`)." msgstr "" -#: ../NEWS:25103 +#: ../NEWS:25146 msgid "" ":issue:`39216`: Fix constant folding optimization for positional only " "arguments - by Anthony Sottile." msgstr "" -#: ../NEWS:25106 +#: ../NEWS:25149 msgid "" ":issue:`39215`: Fix ``SystemError`` when nested function has annotation on " "positional-only argument - by Anthony Sottile." msgstr "" -#: ../NEWS:25109 +#: ../NEWS:25152 msgid "" ":issue:`39200`: Correct the error message when calling the :func:`min` or :" "func:`max` with no arguments. Patch by Donghee Na." msgstr "" -#: ../NEWS:25112 +#: ../NEWS:25155 msgid "" ":issue:`39200`: Correct the error message when trying to construct :class:" "`range` objects with no arguments. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25115 +#: ../NEWS:25158 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 "" -#: ../NEWS:25119 +#: ../NEWS:25162 msgid "" ":issue:`39114`: Fix incorrect line execution reporting in trace functions " "when tracing exception handlers with name binding. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25122 +#: ../NEWS:25165 msgid "" ":issue:`39156`: Split the COMPARE_OP bytecode instruction into four distinct " "instructions." msgstr "" -#: ../NEWS:25125 +#: ../NEWS:25168 msgid "COMPARE_OP for rich comparisons" msgstr "" -#: ../NEWS:25126 +#: ../NEWS:25169 msgid "IS_OP for 'is' and 'is not' tests" msgstr "" -#: ../NEWS:25127 +#: ../NEWS:25170 msgid "CONTAINS_OP for 'in' and 'is not' tests" msgstr "" -#: ../NEWS:25128 +#: ../NEWS:25171 msgid "" "JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." msgstr "" -#: ../NEWS:25130 +#: ../NEWS:25173 msgid "" "This improves the clarity of the interpreter and should provide a modest " "speedup." msgstr "" -#: ../NEWS:25133 +#: ../NEWS:25176 msgid "" ":issue:`38588`: Fix possible crashes in dict and list when calling :c:func:" "`PyObject_RichCompareBool`." msgstr "" -#: ../NEWS:25136 +#: ../NEWS:25179 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`` " @@ -43922,81 +43991,81 @@ msgid "" "envvar:`PYTHONUNBUFFERED` environment variable." msgstr "" -#: ../NEWS:25141 +#: ../NEWS:25184 msgid "(Contributed by Jendrik Seipp in :issue:`13601`.)" msgstr "" -#: ../NEWS:25143 +#: ../NEWS:25186 msgid "" ":issue:`38610`: Fix possible crashes in several list methods by holding " "strong references to list elements when calling :c:func:" "`PyObject_RichCompareBool`." msgstr "" -#: ../NEWS:25147 +#: ../NEWS:25190 msgid ":issue:`32021`: Include brotli .br encoding in mimetypes encodings_map" msgstr "" -#: ../NEWS:25152 +#: ../NEWS:25195 msgid ":issue:`39430`: Fixed race condition in lazy imports in :mod:`tarfile`." msgstr "" -#: ../NEWS:25154 +#: ../NEWS:25197 msgid "" ":issue:`39413`: The :func:`os.unsetenv` function is now also available on " "Windows." msgstr "" -#: ../NEWS:25157 +#: ../NEWS:25200 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 "" -#: ../NEWS:25161 +#: ../NEWS:25204 msgid "" ":issue:`39395`: The :func:`os.putenv` and :func:`os.unsetenv` functions are " "now always available." msgstr "" -#: ../NEWS:25164 +#: ../NEWS:25207 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 "" -#: ../NEWS:25168 +#: ../NEWS:25211 msgid ":issue:`39396`: Fix ``math.nextafter(-0.0, +0.0)`` on AIX 7.1." msgstr "" -#: ../NEWS:25170 +#: ../NEWS:25213 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 "" -#: ../NEWS:25174 +#: ../NEWS:25217 msgid "" ":issue:`39377`: Removed ``encoding`` option from :func:`json.loads`. It has " "been deprecated since Python 3.1." msgstr "" -#: ../NEWS:25177 +#: ../NEWS:25220 msgid "" ":issue:`39389`: Write accurate compression level metadata in :mod:`gzip` " "archives, rather than always signaling maximum compression." msgstr "" -#: ../NEWS:25180 +#: ../NEWS:25223 msgid "" ":issue:`39366`: The previously deprecated ``xpath()`` and ``xgtitle()`` " "methods of :class:`!nntplib.NNTP` have been removed." msgstr "" -#: ../NEWS:25183 +#: ../NEWS:25226 msgid "" ":issue:`39357`: Remove the *buffering* parameter of :class:`bz2.BZ2File`. " "Since Python 3.0, it was ignored and using it was emitting :exc:" @@ -44004,7 +44073,7 @@ msgid "" "opened. The *compresslevel* parameter becomes keyword-only." msgstr "" -#: ../NEWS:25188 +#: ../NEWS:25231 msgid "" ":issue:`39353`: Deprecate binhex4 and hexbin4 standards. Deprecate the :mod:" "`binhex` module and the following :mod:`binascii` functions: :func:" @@ -44012,119 +44081,119 @@ msgid "" "rlecode_hqx`, :func:`~binascii.rledecode_hqx`, :func:`~binascii.crc_hqx`." msgstr "" -#: ../NEWS:25194 +#: ../NEWS:25237 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 "" -#: ../NEWS:25198 +#: ../NEWS:25241 msgid "" ":issue:`39350`: Remove ``fractions.gcd()`` function, deprecated since Python " "3.5 (:issue:`22486`): use :func:`math.gcd` instead." msgstr "" -#: ../NEWS:25201 +#: ../NEWS:25244 msgid "" ":issue:`39329`: :class:`~smtplib.LMTP` constructor now has an optional " "*timeout* parameter. Patch by Donghee Na." msgstr "" -#: ../NEWS:25204 +#: ../NEWS:25247 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 "" -#: ../NEWS:25208 +#: ../NEWS:25251 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 "" -#: ../NEWS:25212 +#: ../NEWS:25255 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 "" -#: ../NEWS:25216 +#: ../NEWS:25259 msgid "" ":issue:`39310`: Add :func:`math.ulp`: return the value of the least " "significant bit of a float." msgstr "" -#: ../NEWS:25219 +#: ../NEWS:25262 msgid "" ":issue:`39297`: Improved performance of importlib.metadata distribution " "discovery and resilients to inaccessible sys.path entries " "(importlib_metadata v1.4.0)." msgstr "" -#: ../NEWS:25223 +#: ../NEWS:25266 msgid "" ":issue:`39259`: :class:`!NNTP` and :class:`!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 "" -#: ../NEWS:25227 +#: ../NEWS:25270 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 "" -#: ../NEWS:25231 +#: ../NEWS:25274 msgid "" ":issue:`39288`: Add :func:`math.nextafter`: return the next floating-point " "value after *x* towards *y*." msgstr "" -#: ../NEWS:25234 +#: ../NEWS:25277 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 "" -#: ../NEWS:25238 +#: ../NEWS:25281 msgid "" ":issue:`39242`: Updated the Gmane domain from news.gmane.org to news.gmane." "io which is used for examples of :class:`!NNTP` news reader server and " "nntplib tests." msgstr "" -#: ../NEWS:25242 +#: ../NEWS:25285 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 "" -#: ../NEWS:25246 +#: ../NEWS:25289 msgid "" ":issue:`39239`: The :meth:`select.epoll.unregister` method no longer ignores " "the :data:`~errno.EBADF` error." msgstr "" -#: ../NEWS:25249 +#: ../NEWS:25292 msgid "" ":issue:`38907`: In http.server script, restore binding to IPv4 on Windows." msgstr "" -#: ../NEWS:25251 +#: ../NEWS:25294 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 "" -#: ../NEWS:25254 +#: ../NEWS:25297 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 " @@ -44132,20 +44201,20 @@ msgid "" "block of code with ``try...finally`` to ensure the lock is released." msgstr "" -#: ../NEWS:25259 +#: ../NEWS:25302 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 "" -#: ../NEWS:25263 +#: ../NEWS:25306 msgid "" ":issue:`38871`: Correctly parenthesize filter-based statements that contain " "lambda expressions in :mod:`!lib2to3`. Patch by Donghee Na." msgstr "" -#: ../NEWS:25266 +#: ../NEWS:25309 msgid "" ":issue:`39142`: A change was made to logging.config.dictConfig to avoid " "converting instances of named tuples to ConvertingTuple. It's assumed that " @@ -44154,51 +44223,51 @@ msgid "" "to implement that themselves in their named tuple class." msgstr "" -#: ../NEWS:25272 +#: ../NEWS:25315 msgid ":issue:`39158`: ast.literal_eval() now supports empty sets." msgstr "" -#: ../NEWS:25274 +#: ../NEWS:25317 msgid ":issue:`39129`: Fix import path for ``asyncio.TimeoutError``" msgstr "" -#: ../NEWS:25276 +#: ../NEWS:25319 msgid "" ":issue:`39057`: :func:`urllib.request.proxy_bypass_environment` now ignores " "leading dots and no longer ignores a trailing newline." msgstr "" -#: ../NEWS:25279 +#: ../NEWS:25322 msgid "" ":issue:`39056`: Fixed handling invalid warning category in the -W option. " "No longer import the re module if it is not needed." msgstr "" -#: ../NEWS:25282 +#: ../NEWS:25325 msgid "" ":issue:`39055`: :func:`base64.b64decode` with ``validate=True`` raises now a " "binascii.Error if the input ends with a single ``\\n``." msgstr "" -#: ../NEWS:25285 +#: ../NEWS:25328 msgid "" ":issue:`21600`: Fix :func:`mock.patch.stopall` to stop active patches that " "were created with :func:`mock.patch.dict`." msgstr "" -#: ../NEWS:25288 +#: ../NEWS:25331 msgid "" ":issue:`39019`: Implement dummy ``__class_getitem__`` for :class:`tempfile." "SpooledTemporaryFile`." msgstr "" -#: ../NEWS:25291 +#: ../NEWS:25334 msgid "" ":issue:`39019`: Implement dummy ``__class_getitem__`` for ``subprocess." "Popen``, ``subprocess.CompletedProcess``" msgstr "" -#: ../NEWS:25294 +#: ../NEWS:25337 msgid "" ":issue:`38914`: Adjusted the wording of the warning issued by distutils' " "``check`` command when the ``author`` and ``maintainer`` fields are supplied " @@ -44207,13 +44276,13 @@ msgid "" "but not required. Patch by Juergen Gmach." msgstr "" -#: ../NEWS:25300 +#: ../NEWS:25343 msgid "" ":issue:`38878`: Fixed __subclasshook__ of :class:`os.PathLike` to return a " "correct result upon inheritance. Patch by Bar Harel." msgstr "" -#: ../NEWS:25303 +#: ../NEWS:25346 msgid "" ":issue:`38615`: :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now " "have an optional *timeout* parameter for their constructors. Also, the :meth:" @@ -44223,14 +44292,14 @@ msgid "" "Na." msgstr "" -#: ../NEWS:25310 +#: ../NEWS:25353 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 "" -#: ../NEWS:25314 +#: ../NEWS:25357 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 " @@ -44239,7 +44308,7 @@ msgid "" "new different process." msgstr "" -#: ../NEWS:25320 +#: ../NEWS:25363 msgid "" ":issue:`38536`: Removes trailing space in formatted currency with " "``international=True`` and a locale with symbol following value. E.g. " @@ -44247,32 +44316,32 @@ msgid "" "instead of ``'12,34 EUR'``." msgstr "" -#: ../NEWS:25325 +#: ../NEWS:25368 msgid "" ":issue:`38473`: Use signature from inner mock for autospecced methods " "attached with :func:`unittest.mock.attach_mock`. Patch by Karthikeyan " "Singaravelan." msgstr "" -#: ../NEWS:25328 +#: ../NEWS:25371 msgid "" ":issue:`38361`: Fixed an issue where ``ident`` could include a leading path " "separator when :func:`syslog.openlog` was called without arguments." msgstr "" -#: ../NEWS:25331 +#: ../NEWS:25374 msgid "" ":issue:`38293`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to :" "func:`property` objects." msgstr "" -#: ../NEWS:25334 +#: ../NEWS:25377 msgid "" ":issue:`37958`: Added the pstats.Stats.get_profile_dict() method to return " "the profile data as a StatsProfile instance." msgstr "" -#: ../NEWS:25337 +#: ../NEWS:25380 msgid "" ":issue:`28367`: Termios magic constants for the following baud rates: - " "B500000 - B576000 - B921600 - B1000000 - B1152000 - B1500000 - " @@ -44280,61 +44349,61 @@ msgid "" "Smirnov" msgstr "" -#: ../NEWS:25345 +#: ../NEWS:25388 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 "" -#: ../NEWS:25348 +#: ../NEWS:25391 msgid "" ":issue:`38918`: Add an entry for ``__module__`` in the \"function\" & " "\"method\" sections of the :mod:`inspect` docs' :ref:`inspect-types` table." msgstr "" -#: ../NEWS:25351 +#: ../NEWS:25394 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 "" -#: ../NEWS:25358 +#: ../NEWS:25401 msgid "" ":issue:`39395`: On non-Windows platforms, the :c:func:`setenv` and :c:func:" "`unsetenv` functions are now required to build Python." msgstr "" -#: ../NEWS:25361 +#: ../NEWS:25404 msgid "" ":issue:`39160`: Updated the documentation in ``./configure --help`` to show " "default values, reference documentation where required and add additional " "explanation where needed." msgstr "" -#: ../NEWS:25365 +#: ../NEWS:25408 msgid "" ":issue:`39144`: The ctags and etags build targets both include Modules/" "_ctypes and Python standard library source files." msgstr "" -#: ../NEWS:25371 +#: ../NEWS:25414 msgid ":issue:`39050`: Make IDLE Settings dialog Help button work again." msgstr "" -#: ../NEWS:25373 +#: ../NEWS:25416 msgid "" ":issue:`34118`: Tag memoryview, range, and tuple as classes, the same as " "list, etcetera, in the library manual built-in functions list." msgstr "" -#: ../NEWS:25376 +#: ../NEWS:25419 msgid "" ":issue:`32989`: Add tests for editor newline_and_indent_event method. Remove " "dead code from pyparse find_good_parse_start method." msgstr "" -#: ../NEWS:25382 +#: ../NEWS:25425 msgid "" ":issue:`39372`: Clean header files of interfaces defined but with no " "implementation. The public API symbols being removed are: " @@ -44346,21 +44415,21 @@ msgid "" "``PyNoArgsFunction``." msgstr "" -#: ../NEWS:25391 +#: ../NEWS:25434 msgid "" ":issue:`39164`: Add a private ``_PyErr_GetExcInfo()`` function to retrieve " "exception information of the specified Python thread state." msgstr "" -#: ../NEWS:25396 +#: ../NEWS:25439 msgid "Python 3.9.0 alpha 2" msgstr "" -#: ../NEWS:25398 +#: ../NEWS:25441 msgid "*Release date: 2019-12-18*" msgstr "" -#: ../NEWS:25403 +#: ../NEWS:25446 msgid "" ":issue:`38945`: Newline characters have been escaped when performing uu " "encoding to prevent them from overflowing into to content section of the " @@ -44368,7 +44437,7 @@ msgid "" "during the decoding process." msgstr "" -#: ../NEWS:25408 +#: ../NEWS:25451 msgid "" ":issue:`37228`: Due to significant security concerns, the *reuse_address* " "parameter of :meth:`asyncio.loop.create_datagram_endpoint` is no longer " @@ -44378,76 +44447,76 @@ msgid "" "`37228`.)" msgstr "" -#: ../NEWS:25415 +#: ../NEWS:25458 msgid "" ":issue:`38804`: Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch " "by Ben Caller." msgstr "" -#: ../NEWS:25421 +#: ../NEWS:25464 msgid "" ":issue:`39028`: Slightly improve the speed of keyword argument parsing with " "many kwargs by strengthening the assumption that kwargs are interned strings." msgstr "" -#: ../NEWS:25425 +#: ../NEWS:25468 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 "" -#: ../NEWS:25429 +#: ../NEWS:25472 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 "" -#: ../NEWS:25433 +#: ../NEWS:25476 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 "" -#: ../NEWS:25437 +#: ../NEWS:25480 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 "" -#: ../NEWS:25441 +#: ../NEWS:25484 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 "" -#: ../NEWS:25444 +#: ../NEWS:25487 msgid "" ":issue:`38922`: Calling ``replace`` on a code object now raises the ``code." "__new__`` audit event." msgstr "" -#: ../NEWS:25447 +#: ../NEWS:25490 msgid "" ":issue:`38920`: Add audit hooks for when :func:`sys.excepthook` and :func:" "`sys.unraisablehook` are invoked." msgstr "" -#: ../NEWS:25450 +#: ../NEWS:25493 msgid "" ":issue:`38892`: Improve documentation for audit events table and functions." msgstr "" -#: ../NEWS:25452 +#: ../NEWS:25495 msgid "" ":issue:`38852`: Set the thread stack size to 8 Mb for debug builds on " "android platforms." msgstr "" -#: ../NEWS:25455 +#: ../NEWS:25498 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 " @@ -44456,58 +44525,58 @@ msgid "" "``pycore_pystate.h`` header file." msgstr "" -#: ../NEWS:25461 +#: ../NEWS:25504 msgid "" ":issue:`36854`: The garbage collector state becomes per interpreter " "(``PyInterpreterState.gc``), rather than being global (``_PyRuntimeState." "gc``)." msgstr "" -#: ../NEWS:25465 +#: ../NEWS:25508 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 "" -#: ../NEWS:25469 +#: ../NEWS:25512 msgid "" ":issue:`38328`: Sped up the creation time of constant :class:`list` and :" "class:`set` displays. Patch by Brandt Bucher." msgstr "" -#: ../NEWS:25472 +#: ../NEWS:25515 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 "" -#: ../NEWS:25476 +#: ../NEWS:25519 msgid "" ":issue:`38629`: Added ``__floor__`` and ``__ceil__`` methods to float " "object. Patch by Batuhan Taşkaya." msgstr "" -#: ../NEWS:25479 +#: ../NEWS:25522 msgid "" ":issue:`27145`: int + int and int - int operators can now return small " "integer singletons. Patch by hongweipeng." msgstr "" -#: ../NEWS:25482 +#: ../NEWS:25525 msgid "" ":issue:`38021`: Provide a platform tag for AIX that is sufficient for PEP425 " "binary distribution identification. Patch by Michael Felt." msgstr "" -#: ../NEWS:25485 +#: ../NEWS:25528 msgid "" ":issue:`35409`: Ignore GeneratorExit exceptions when throwing an exception " "into the aclose coroutine of an asynchronous generator." msgstr "" -#: ../NEWS:25488 +#: ../NEWS:25531 msgid "" ":issue:`33387`: Removed WITH_CLEANUP_START, WITH_CLEANUP_FINISH, " "BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and POP_FINALLY bytecodes. Replaced " @@ -44517,70 +44586,70 @@ msgid "" "replicated for each exit from the 'try' body." msgstr "" -#: ../NEWS:25498 +#: ../NEWS:25541 msgid "" ":issue:`39033`: Fix :exc:`NameError` in :mod:`zipimport`. Patch by " "Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:25501 +#: ../NEWS:25544 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 "" -#: ../NEWS:25505 +#: ../NEWS:25548 msgid "" ":issue:`39006`: Fix asyncio when the ssl module is missing: only check for " "ssl.SSLSocket instance if the ssl module is available." msgstr "" -#: ../NEWS:25508 +#: ../NEWS:25551 msgid "" ":issue:`38708`: Fix a potential IndexError in email parser when parsing an " "empty msg-id." msgstr "" -#: ../NEWS:25511 +#: ../NEWS:25554 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 "" -#: ../NEWS:25515 +#: ../NEWS:25558 msgid "" ":issue:`38994`: Implement ``__class_getitem__`` for ``os.PathLike``, " "``pathlib.Path``." msgstr "" -#: ../NEWS:25518 +#: ../NEWS:25561 msgid "" ":issue:`38979`: Return class from ``ContextVar.__class_getitem__`` to " "simplify subclassing." msgstr "" -#: ../NEWS:25521 +#: ../NEWS:25564 msgid "" ":issue:`38978`: Implement ``__class_getitem__`` on asyncio objects (Future, " "Task, Queue). Patch by Batuhan Taskaya." msgstr "" -#: ../NEWS:25524 +#: ../NEWS:25567 msgid "" ":issue:`38916`: :class:`array.array`: Remove ``tostring()`` and " "``fromstring()`` methods. They were aliases to ``tobytes()`` and " "``frombytes()``, deprecated since Python 3.2." msgstr "" -#: ../NEWS:25528 +#: ../NEWS:25571 msgid "" ":issue:`38986`: Make repr of C accelerated TaskWakeupMethWrapper the same as " "of pure Python version." msgstr "" -#: ../NEWS:25531 +#: ../NEWS:25574 msgid "" ":issue:`38982`: Fix asyncio ``PidfdChildWatcher``: handle ``waitpid()`` " "error. If ``waitpid()`` is called elsewhere, ``waitpid()`` call fails with :" @@ -44589,68 +44658,68 @@ msgid "" "occurs." msgstr "" -#: ../NEWS:25537 +#: ../NEWS:25580 msgid "" ":issue:`38529`: Drop too noisy asyncio warning about deletion of a stream " "without explicit ``.close()`` call." msgstr "" -#: ../NEWS:25540 +#: ../NEWS:25583 msgid "" ":issue:`27413`: Added ability to pass through ``ensure_ascii`` options to " "json.dumps in the ``json.tool`` command-line interface." msgstr "" -#: ../NEWS:25543 +#: ../NEWS:25586 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 "" -#: ../NEWS:25547 +#: ../NEWS:25590 msgid "" ":issue:`33684`: Fix ``json.tool`` failed to read a JSON file with non-ASCII " "characters when locale encoding is not UTF-8." msgstr "" -#: ../NEWS:25550 +#: ../NEWS:25593 msgid "" ":issue:`38698`: Prevent UnboundLocalError to pop up in parse_message_id." msgstr "" -#: ../NEWS:25552 +#: ../NEWS:25595 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 "" -#: ../NEWS:25556 +#: ../NEWS:25599 msgid "" ":issue:`38927`: Use ``python -m pip`` instead of ``pip`` to upgrade " "dependencies in venv." msgstr "" -#: ../NEWS:25559 +#: ../NEWS:25602 msgid "" ":issue:`26730`: Fix ``SpooledTemporaryFile.rollover()`` might corrupt the " "file when it is in text mode. Patch by Serhiy Storchaka." msgstr "" -#: ../NEWS:25562 +#: ../NEWS:25605 msgid "" ":issue:`38881`: random.choices() now raises a ValueError when all the " "weights are zero." msgstr "" -#: ../NEWS:25565 +#: ../NEWS:25608 msgid "" ":issue:`38876`: Raise pickle.UnpicklingError when loading an item from memo " "for invalid input." msgstr "" -#: ../NEWS:25568 +#: ../NEWS:25611 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 " @@ -44660,7 +44729,7 @@ msgid "" "as the determined index was bogus. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:25575 +#: ../NEWS:25618 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 " @@ -44669,20 +44738,20 @@ msgid "" "directories. Patch by Bruno P. Kinoshita." msgstr "" -#: ../NEWS:25581 +#: ../NEWS:25624 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 "" -#: ../NEWS:25585 +#: ../NEWS:25628 msgid "" ":issue:`37838`: :meth:`typing.get_type_hints` properly handles functions " "decorated with :meth:`functools.wraps`." msgstr "" -#: ../NEWS:25588 +#: ../NEWS:25631 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 " @@ -44690,14 +44759,14 @@ msgid "" "when parsed. Patch by Pablo Galindo and Batuhan Taskaya." msgstr "" -#: ../NEWS:25593 +#: ../NEWS:25636 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 "" -#: ../NEWS:25597 +#: ../NEWS:25640 msgid "" ":issue:`38857`: AsyncMock fix for return values that are awaitable types. " "This also covers side_effect iterable values that happened to be awaitable, " @@ -44705,7 +44774,7 @@ msgid "" "were being awaited instead of being returned as is." msgstr "" -#: ../NEWS:25602 +#: ../NEWS:25645 msgid "" ":issue:`38834`: :class:`typing.TypedDict` subclasses now track which keys " "are optional using the ``__required_keys__`` and ``__optional_keys__`` " @@ -44713,46 +44782,46 @@ msgid "" "Zac Hatfield-Dodds." msgstr "" -#: ../NEWS:25607 +#: ../NEWS:25650 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 "" -#: ../NEWS:25611 +#: ../NEWS:25654 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 "" -#: ../NEWS:25615 +#: ../NEWS:25658 msgid "" ":issue:`38811`: Fix an unhandled exception in :mod:`pathlib` when :meth:`os." "link` is missing. Patch by Toke Høiland-Jørgensen." msgstr "" -#: ../NEWS:25618 +#: ../NEWS:25661 msgid "" ":issue:`38686`: Added support for multiple ``qop`` values in :class:`urllib." "request.AbstractDigestAuthHandler`." msgstr "" -#: ../NEWS:25621 +#: ../NEWS:25664 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 "" -#: ../NEWS:25625 +#: ../NEWS:25668 msgid "" ":issue:`38348`: Add ``-i`` and ``--indent`` (indentation level), and ``--no-" "type-comments`` (type comments) command line options to ast parsing tool." msgstr "" -#: ../NEWS:25629 +#: ../NEWS:25672 msgid "" ":issue:`37523`: Change :class:`zipfile.ZipExtFile` to raise ``ValueError`` " "when trying to access the underlying file object after it has been closed. " @@ -44760,38 +44829,38 @@ msgid "" "in other parts of Python." msgstr "" -#: ../NEWS:25634 +#: ../NEWS:25677 msgid "" ":issue:`38045`: Improve the performance of :func:`enum._decompose` in :mod:" "`enum`. Patch by hongweipeng." msgstr "" -#: ../NEWS:25637 +#: ../NEWS:25680 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 "" -#: ../NEWS:25641 +#: ../NEWS:25684 msgid "" ":issue:`36406`: Handle namespace packages in :mod:`doctest`. Patch by " "Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:25644 +#: ../NEWS:25687 msgid "" ":issue:`34776`: Fix dataclasses to support forward references in type " "annotations" msgstr "" -#: ../NEWS:25647 +#: ../NEWS:25690 msgid "" ":issue:`20928`: ElementTree supports recursive XInclude processing. Patch " "by Stefan Behnel." msgstr "" -#: ../NEWS:25650 +#: ../NEWS:25693 msgid "" ":issue:`29636`: Add whitespace options for formatting JSON with the ``json." "tool`` CLI. The following mutually exclusive options are now supported: ``--" @@ -44801,39 +44870,39 @@ msgid "" "indent=4``." msgstr "" -#: ../NEWS:25660 +#: ../NEWS:25703 msgid "" ":issue:`38928`: Correct when venv's ``upgrade_dependencies()`` and ``--" "upgrade-deps`` are added." msgstr "" -#: ../NEWS:25663 +#: ../NEWS:25706 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 "" -#: ../NEWS:25667 +#: ../NEWS:25710 msgid "" ":issue:`22377`: Improves documentation of the values that :meth:`datetime." "datetime.strptime` accepts for ``%Z``. Patch by Karl Dubost." msgstr "" -#: ../NEWS:25674 +#: ../NEWS:25717 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 "" -#: ../NEWS:25678 +#: ../NEWS:25721 msgid "" ":issue:`38546`: Multiprocessing and concurrent.futures tests now stop the " "resource tracker process when tests complete." msgstr "" -#: ../NEWS:25681 +#: ../NEWS:25724 msgid "" ":issue:`38614`: Replace hardcoded timeout constants in tests with new :mod:" "`test.support` constants: :data:`~test.support.LOOPBACK_TIMEOUT`, :data:" @@ -44843,20 +44912,20 @@ msgid "" "single test file." msgstr "" -#: ../NEWS:25689 +#: ../NEWS:25732 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 "" -#: ../NEWS:25693 +#: ../NEWS:25736 msgid "" ":issue:`38992`: Fix a test for :func:`math.fsum` that was failing due to " "constant folding." msgstr "" -#: ../NEWS:25696 +#: ../NEWS:25739 msgid "" ":issue:`38991`: :mod:`test.support`: :func:`~test.support." "run_python_until_end`, :func:`~test.support.assert_python_ok` and :func:" @@ -44864,7 +44933,7 @@ msgid "" "from stderr. Remove ``test.support.strip_python_stderr()`` function." msgstr "" -#: ../NEWS:25703 +#: ../NEWS:25746 msgid "" ":issue:`38965`: Fix test_faulthandler on GCC 10. Use the \"volatile\" " "keyword in ``faulthandler._stack_overflow()`` to prevent tail call " @@ -44872,20 +44941,20 @@ msgid "" "pragma." msgstr "" -#: ../NEWS:25707 +#: ../NEWS:25750 msgid "" ":issue:`38875`: test_capi: trashcan tests now require the test \"cpu\" " "resource." msgstr "" -#: ../NEWS:25709 +#: ../NEWS:25752 msgid "" ":issue:`38841`: Skip asyncio " "test_create_datagram_endpoint_existing_sock_unix on platforms lacking a " "functional bind() for named unix domain sockets." msgstr "" -#: ../NEWS:25712 +#: ../NEWS:25755 msgid "" ":issue:`38692`: Skip the test_posix.test_pidfd_open() test if ``os." "pidfd_open()`` fails with a :exc:`PermissionError`. This situation can " @@ -44893,138 +44962,138 @@ msgid "" "``pidfd_open()`` syscall yet." msgstr "" -#: ../NEWS:25717 +#: ../NEWS:25760 msgid "" ":issue:`38839`: Fix some unused functions in tests. Patch by Adam Johnson." msgstr "" -#: ../NEWS:25719 +#: ../NEWS:25762 msgid "" ":issue:`38669`: Raise :exc:`TypeError` when passing target as a string with :" "meth:`unittest.mock.patch.object`." msgstr "" -#: ../NEWS:25722 +#: ../NEWS:25765 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 "" -#: ../NEWS:25729 +#: ../NEWS:25772 msgid "" ":issue:`37404`: :mod:`asyncio` now raises :exc:`TypeError` when calling " "incompatible methods with an :class:`ssl.SSLSocket` socket. Patch by Ido " "Michael." msgstr "" -#: ../NEWS:25733 +#: ../NEWS:25776 msgid "" ":issue:`36500`: Added an optional \"regen\" project to the Visual Studio " "solution that will regenerate all grammar, tokens, and opcodes." msgstr "" -#: ../NEWS:25739 +#: ../NEWS:25782 msgid ":issue:`39007`: Add auditing events to functions in :mod:`winreg`." msgstr "" -#: ../NEWS:25741 +#: ../NEWS:25784 msgid "" ":issue:`33125`: Add support for building and releasing Windows ARM64 " "packages." msgstr "" -#: ../NEWS:25746 +#: ../NEWS:25789 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 "" -#: ../NEWS:25753 +#: ../NEWS:25796 msgid "" ":issue:`38944`: Escape key now closes IDLE completion windows. Patch by " "Johnny Najera." msgstr "" -#: ../NEWS:25756 +#: ../NEWS:25799 msgid "" ":issue:`38943`: Fix IDLE autocomplete windows not always appearing on some " "systems. Patch by Johnny Najera." msgstr "" -#: ../NEWS:25759 +#: ../NEWS:25802 msgid "" ":issue:`38862`: 'Strip Trailing Whitespace' on the Format menu removes extra " "newlines at the end of non-shell files." msgstr "" -#: ../NEWS:25762 +#: ../NEWS:25805 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 "" -#: ../NEWS:25769 +#: ../NEWS:25812 msgid "" ":issue:`38896`: Remove ``PyUnicode_ClearFreeList()`` function: the Unicode " "free list has been removed in Python 3.3." msgstr "" -#: ../NEWS:25772 +#: ../NEWS:25815 msgid "" ":issue:`37340`: Remove ``PyMethod_ClearFreeList()`` and " "``PyCFunction_ClearFreeList()`` functions: the free lists of bound method " "objects have been removed." msgstr "" -#: ../NEWS:25776 +#: ../NEWS:25819 msgid "" ":issue:`38835`: Exclude ``PyFPE_START_PROTECT()`` and " "``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from ``Py_LIMITED_API`` " "(stable API)." msgstr "" -#: ../NEWS:25781 +#: ../NEWS:25824 msgid "Python 3.9.0 alpha 1" msgstr "" -#: ../NEWS:25783 +#: ../NEWS:25826 msgid "*Release date: 2019-11-19*" msgstr "" -#: ../NEWS:25788 +#: ../NEWS:25831 msgid "" ":issue:`38722`: :mod:`runpy` now uses :meth:`io.open_code` to open code " "files. Patch by Jason Killen." msgstr "" -#: ../NEWS:25791 +#: ../NEWS:25834 msgid "" ":issue:`38622`: Add additional audit events for the :mod:`ctypes` module." msgstr "" -#: ../NEWS:25793 +#: ../NEWS:25836 msgid "" ":issue:`38418`: Fixes audit event for :func:`os.system` to be named ``os." "system``." msgstr "" -#: ../NEWS:25796 +#: ../NEWS:25839 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 "" -#: ../NEWS:25800 +#: ../NEWS:25843 msgid "" ":issue:`38174`: Update vendorized expat library version to 2.2.8, which " "resolves :cve:`2019-15903`." msgstr "" -#: ../NEWS:25803 +#: ../NEWS:25846 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 " @@ -45032,19 +45101,19 @@ msgid "" "word. Patch by Ashwin Ramaswami." msgstr "" -#: ../NEWS:25808 +#: ../NEWS:25851 msgid "" ":issue:`37461`: Fix an infinite loop when parsing specially crafted email " "headers. Patch by Abhilash Raj." msgstr "" -#: ../NEWS:25811 +#: ../NEWS:25854 msgid "" ":issue:`37363`: Adds audit events for the range of supported run commands " "(see :ref:`using-on-general`)." msgstr "" -#: ../NEWS:25814 +#: ../NEWS:25857 msgid "" ":issue:`37463`: ssl.match_hostname() no longer accepts IPv4 addresses with " "additional text after the address and only quad-dotted notation without " @@ -45052,7 +45121,7 @@ msgid "" "all data after whitespace, e.g. '127.0.0.1 whatever'." msgstr "" -#: ../NEWS:25819 +#: ../NEWS:25862 msgid "" ":issue:`37363`: Adds audit events for :mod:`ensurepip`, :mod:`ftplib`, :mod:" "`glob`, :mod:`imaplib`, :mod:`!nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:" @@ -45061,88 +45130,88 @@ msgid "" "listdir`, :func:`os.scandir` and :func:`breakpoint`." msgstr "" -#: ../NEWS:25825 +#: ../NEWS:25868 msgid "" ":issue:`37364`: :func:`io.open_code` is now used when reading :file:`.pth` " "files." msgstr "" -#: ../NEWS:25828 +#: ../NEWS:25871 msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in Windows installer" msgstr "" -#: ../NEWS:25830 +#: ../NEWS:25873 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 "" -#: ../NEWS:25837 +#: ../NEWS:25880 msgid "" ":issue:`38631`: Replace ``Py_FatalError()`` call with a regular :exc:" "`RuntimeError` exception in :meth:`float.__getformat__`." msgstr "" -#: ../NEWS:25840 +#: ../NEWS:25883 msgid "" ":issue:`38639`: Optimized :func:`math.floor`, :func:`math.ceil` and :func:" "`math.trunc` for floats." msgstr "" -#: ../NEWS:25843 +#: ../NEWS:25886 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 "" -#: ../NEWS:25847 +#: ../NEWS:25890 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 "" -#: ../NEWS:25851 +#: ../NEWS:25894 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 "" -#: ../NEWS:25855 +#: ../NEWS:25898 msgid "" ":issue:`38535`: Fixed line numbers and column offsets for AST nodes for " "calls without arguments in decorators." msgstr "" -#: ../NEWS:25858 +#: ../NEWS:25901 msgid "" ":issue:`38525`: Fix a segmentation fault when using reverse iterators of " "empty ``dict`` objects. Patch by Donghee Na and Inada Naoki." msgstr "" -#: ../NEWS:25861 +#: ../NEWS:25904 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 "" -#: ../NEWS:25865 +#: ../NEWS:25908 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 "" -#: ../NEWS:25869 +#: ../NEWS:25912 msgid "" ":issue:`38437`: Activate the ``GC_DEBUG`` macro for debug builds of the " "interpreter (when ``Py_DEBUG`` is set). Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25872 +#: ../NEWS:25915 msgid "" ":issue:`38379`: When the garbage collector makes a collection in which some " "objects resurrect (they are reachable from outside the isolated cycles after " @@ -45150,7 +45219,7 @@ msgid "" "objects that are still unreachable. Patch by Pablo Galindo and Tim Peters." msgstr "" -#: ../NEWS:25878 +#: ../NEWS:25921 msgid "" ":issue:`38379`: When cyclic garbage collection (gc) runs finalizers that " "resurrect unreachable objects, the current gc run ends, without collecting " @@ -45160,53 +45229,53 @@ msgid "" "none were collected." msgstr "" -#: ../NEWS:25885 +#: ../NEWS:25928 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 "" -#: ../NEWS:25889 +#: ../NEWS:25932 msgid "" ":issue:`38210`: Remove unnecessary intersection and update set operation in " "dictview with empty set. (Contributed by Donghee Na in :issue:`38210`.)" msgstr "" -#: ../NEWS:25892 +#: ../NEWS:25935 msgid "" ":issue:`38402`: Check the error from the system's underlying ``crypt`` or " "``crypt_r``." msgstr "" -#: ../NEWS:25895 +#: ../NEWS:25938 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 "" -#: ../NEWS:25899 +#: ../NEWS:25942 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 "" -#: ../NEWS:25903 +#: ../NEWS:25946 msgid "" ":issue:`38317`: Fix warnings options priority: ``PyConfig.warnoptions`` has " "the highest priority, as stated in the :pep:`587`." msgstr "" -#: ../NEWS:25906 +#: ../NEWS:25949 msgid "" ":issue:`38310`: Predict ``BUILD_MAP_UNPACK_WITH_CALL`` -> " "``CALL_FUNCTION_EX`` opcode pairs in the main interpreter loop. Patch by " "Brandt Bucher." msgstr "" -#: ../NEWS:25909 +#: ../NEWS:25952 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 " @@ -45214,7 +45283,7 @@ msgid "" "leading to misleading error output." msgstr "" -#: ../NEWS:25914 +#: ../NEWS:25957 msgid "" ":issue:`11410`: Better control over symbol visibility is provided through " "use of the visibility attributes available in gcc >= 4.0, provided in a " @@ -45222,213 +45291,213 @@ msgid "" "updated to compile with -fvisibility=hidden, minimising exported symbols." msgstr "" -#: ../NEWS:25919 +#: ../NEWS:25962 msgid "" ":issue:`38219`: Optimized the :class:`dict` constructor and the :meth:`~dict." "update` method for the case when the argument is a dict." msgstr "" -#: ../NEWS:25922 +#: ../NEWS:25965 msgid "" ":issue:`38236`: Python now dumps path configuration if it fails to import " "the Python codecs of the filesystem and stdio encodings." msgstr "" -#: ../NEWS:25925 +#: ../NEWS:25968 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 "" -#: ../NEWS:25929 +#: ../NEWS:25972 msgid "" ":issue:`38124`: Fix an off-by-one error in PyState_AddModule that could " "cause out-of-bounds memory access." msgstr "" -#: ../NEWS:25932 +#: ../NEWS:25975 msgid "" ":issue:`38116`: The select module is now PEP-384 compliant and no longer has " "static state" msgstr "" -#: ../NEWS:25935 +#: ../NEWS:25978 msgid ":issue:`38113`: ast module updated to PEP-384 and all statics removed" msgstr "" -#: ../NEWS:25937 +#: ../NEWS:25980 msgid ":issue:`38076`: The struct module is now PEP-384 compatible" msgstr "" -#: ../NEWS:25939 +#: ../NEWS:25982 msgid ":issue:`38075`: The random module is now PEP-384 compatible" msgstr "" -#: ../NEWS:25941 +#: ../NEWS:25984 msgid ":issue:`38074`: zlib module made PEP-384 compatible" msgstr "" -#: ../NEWS:25943 +#: ../NEWS:25986 msgid ":issue:`38073`: Make pwd extension module PEP-384 compatible" msgstr "" -#: ../NEWS:25945 +#: ../NEWS:25988 msgid ":issue:`38072`: grp module made PEP-384 compatible" msgstr "" -#: ../NEWS:25947 +#: ../NEWS:25990 msgid ":issue:`38069`: Make _posixsubprocess PEP-384 compatible" msgstr "" -#: ../NEWS:25949 +#: ../NEWS:25992 msgid ":issue:`38071`: Make termios extension module PEP-384 compatible" msgstr "" -#: ../NEWS:25951 +#: ../NEWS:25994 msgid "" ":issue:`38005`: Fixed comparing and creating of InterpreterID and ChannelID." msgstr "" -#: ../NEWS:25953 +#: ../NEWS:25996 msgid "" ":issue:`36946`: Fix possible signed integer overflow when handling slices. " "Patch by hongweipeng." msgstr "" -#: ../NEWS:25956 +#: ../NEWS:25999 msgid "" ":issue:`37994`: Fixed silencing arbitrary errors if an attribute lookup " "fails in several sites. Only AttributeError should be silenced." msgstr "" -#: ../NEWS:25959 +#: ../NEWS:26002 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 "" -#: ../NEWS:25963 +#: ../NEWS:26006 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 "" -#: ../NEWS:25967 +#: ../NEWS:26010 msgid "" ":issue:`37947`: Adjust correctly the recursion level in the symtable " "generation for named expressions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:25970 +#: ../NEWS:26013 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 "" -#: ../NEWS:25974 +#: ../NEWS:26017 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 "" -#: ../NEWS:25978 +#: ../NEWS:26021 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 "" -#: ../NEWS:25982 +#: ../NEWS:26025 msgid "" ":issue:`20490`: Improve import error message for partially initialized " "module on circular ``from`` imports - by Anthony Sottile." msgstr "" -#: ../NEWS:25985 +#: ../NEWS:26028 msgid "" ":issue:`37840`: Fix handling of negative indices in :c:member:" "`~PySequenceMethods.sq_item` of :class:`bytearray`. Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:25989 +#: ../NEWS:26032 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 "" -#: ../NEWS:25993 +#: ../NEWS:26036 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 "" -#: ../NEWS:25997 +#: ../NEWS:26040 msgid "" ":issue:`32912`: Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` " "instead of :exc:`DeprecationWarning` for invalid escape sequences in string " "and bytes literals." msgstr "" -#: ../NEWS:26001 +#: ../NEWS:26044 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 "" -#: ../NEWS:26005 +#: ../NEWS:26048 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 "" -#: ../NEWS:26009 +#: ../NEWS:26052 msgid "" ":issue:`36279`: Fix potential use of uninitialized memory in :func:`os." "wait3`." msgstr "" -#: ../NEWS:26011 +#: ../NEWS:26054 msgid "" ":issue:`36311`: Decoding bytes objects larger than 2GiB is faster and no " "longer fails when a multibyte characters spans a chunk boundary." msgstr "" -#: ../NEWS:26014 +#: ../NEWS:26057 msgid "" ":issue:`34880`: The :keyword:`assert` statement now works properly if the :" "exc:`AssertionError` exception is being shadowed. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:26017 +#: ../NEWS:26060 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 "" -#: ../NEWS:26021 +#: ../NEWS:26064 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 "" -#: ../NEWS:26025 +#: ../NEWS:26068 msgid "" ":issue:`37444`: Update differing exception between :meth:`builtins." "__import__` and :meth:`importlib.__import__`." msgstr "" -#: ../NEWS:26028 +#: ../NEWS:26071 msgid "" ":issue:`37619`: When adding a wrapper descriptor from one class to a " "different class (for example, setting ``__add__ = str.__add__`` on an " @@ -45436,43 +45505,43 @@ msgid "" "called." msgstr "" -#: ../NEWS:26032 +#: ../NEWS:26075 msgid "" ":issue:`37593`: Swap the positions of the *posonlyargs* and *args* " "parameters in the constructor of :class:`ast.parameters` nodes." msgstr "" -#: ../NEWS:26035 +#: ../NEWS:26078 msgid ":issue:`37543`: Optimized pymalloc for non PGO build." msgstr "" -#: ../NEWS:26037 +#: ../NEWS:26080 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 "" -#: ../NEWS:26041 +#: ../NEWS:26084 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 "" -#: ../NEWS:26045 +#: ../NEWS:26088 msgid "" ":issue:`37433`: Fix ``SyntaxError`` indicator printing too many spaces for " "multi-line strings - by Anthony Sottile." msgstr "" -#: ../NEWS:26048 +#: ../NEWS:26091 msgid "" ":issue:`37417`: :meth:`bytearray.extend` now correctly handles errors that " "arise during iteration. Patch by Brandt Bucher." msgstr "" -#: ../NEWS:26051 +#: ../NEWS:26094 msgid "" ":issue:`37414`: The undocumented ``sys.callstats()`` function has been " "removed. Since Python 3.7, it was deprecated and always returned ``None``. " @@ -45480,7 +45549,7 @@ msgid "" "removed in Python 3.7." msgstr "" -#: ../NEWS:26056 +#: ../NEWS:26099 msgid "" ":issue:`37392`: Remove ``sys.getcheckinterval()`` and ``sys." "setcheckinterval()`` functions. They were deprecated since Python 3.2. Use :" @@ -45488,7 +45557,7 @@ msgid "" "Remove also ``check_interval`` field of the ``PyInterpreterState`` structure." msgstr "" -#: ../NEWS:26062 +#: ../NEWS:26105 msgid "" ":issue:`37388`: In development mode and in debug build, *encoding* and " "*errors* arguments are now checked on string encoding and decoding " @@ -45496,55 +45565,55 @@ msgid "" "decode`." msgstr "" -#: ../NEWS:26066 +#: ../NEWS:26109 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 "" -#: ../NEWS:26070 +#: ../NEWS:26113 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 "" -#: ../NEWS:26073 +#: ../NEWS:26116 msgid "" ":issue:`24214`: Improved support of the surrogatepass error handler in the " "UTF-8 and UTF-16 incremental decoders." msgstr "" -#: ../NEWS:26076 +#: ../NEWS:26119 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 "" -#: ../NEWS:26080 +#: ../NEWS:26123 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 "" -#: ../NEWS:26084 +#: ../NEWS:26127 msgid "" ":issue:`37316`: Fix the :c:func:`PySys_Audit` call in :class:`mmap.mmap`." msgstr "" -#: ../NEWS:26086 +#: ../NEWS:26129 msgid ":issue:`37300`: Remove an unnecessary Py_XINCREF in classobject.c." msgstr "" -#: ../NEWS:26088 +#: ../NEWS:26131 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 "" -#: ../NEWS:26092 +#: ../NEWS:26135 msgid "" ":issue:`20443`: Python now gets the absolute path of the script filename " "specified on the command line (ex: \"python3 script.py\"): the __file__ " @@ -45552,7 +45621,7 @@ msgid "" "rather than a relative path." msgstr "" -#: ../NEWS:26097 +#: ../NEWS:26140 msgid "" ":issue:`37257`: Python's small object allocator (``obmalloc.c``) now allows " "(no more than) one empty arena to remain available for immediate reuse, " @@ -45560,330 +45629,330 @@ msgid "" "where an arena could be created and destroyed anew on each iteration." msgstr "" -#: ../NEWS:26102 +#: ../NEWS:26145 msgid "" ":issue:`37231`: The dispatching of type slots to special methods (for " "example calling ``__mul__`` when doing ``x * y``) has been made faster." msgstr "" -#: ../NEWS:26105 +#: ../NEWS:26148 msgid "" ":issue:`36974`: Implemented separate vectorcall functions for every calling " "convention of builtin functions and methods. This improves performance for " "calls." msgstr "" -#: ../NEWS:26109 +#: ../NEWS:26152 msgid "" ":issue:`37213`: Handle correctly negative line offsets in the peephole " "optimizer. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:26112 +#: ../NEWS:26155 msgid "" ":issue:`37219`: Remove erroneous optimization for empty set differences." msgstr "" -#: ../NEWS:26114 +#: ../NEWS:26157 msgid "" ":issue:`15913`: Implement :c:func:`PyBuffer_SizeFromFormat()` function " "(previously documented but not implemented): call :func:`struct.calcsize`. " "Patch by Joannah Nanjekye." msgstr "" -#: ../NEWS:26118 +#: ../NEWS:26161 msgid "" ":issue:`36922`: Slot functions optimize any callable with " "``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances of ``function``." msgstr "" -#: ../NEWS:26122 +#: ../NEWS:26165 msgid "" ":issue:`36974`: The slot ``tp_vectorcall_offset`` is inherited " "unconditionally to support ``super().__call__()`` when the base class uses " "vectorcall." msgstr "" -#: ../NEWS:26125 +#: ../NEWS:26168 msgid "" ":issue:`37160`: :func:`threading.get_native_id` now also supports NetBSD." msgstr "" -#: ../NEWS:26127 +#: ../NEWS:26170 msgid "" ":issue:`37077`: Add :func:`threading.get_native_id` support for AIX. Patch " "by M. Felt" msgstr "" -#: ../NEWS:26130 +#: ../NEWS:26173 msgid ":issue:`36781`: :func:`sum` has been optimized for boolean values." msgstr "" -#: ../NEWS:26132 +#: ../NEWS:26175 msgid "" ":issue:`34556`: Add ``--upgrade-deps`` to venv module. Patch by Cooper Ry " "Lees" msgstr "" -#: ../NEWS:26134 +#: ../NEWS:26177 msgid "" ":issue:`20523`: ``pdb.Pdb`` supports ~/.pdbrc in Windows 7. Patch by Tim " "Hopper and Dan Lidral-Porter." msgstr "" -#: ../NEWS:26137 +#: ../NEWS:26180 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 "" -#: ../NEWS:26141 +#: ../NEWS:26184 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 "" -#: ../NEWS:26145 +#: ../NEWS:26188 msgid "" ":issue:`27575`: Improve speed of dictview intersection by directly using set " "intersection logic. Patch by David Su." msgstr "" -#: ../NEWS:26148 +#: ../NEWS:26191 msgid "" ":issue:`30773`: Prohibit parallel running of aclose() / asend() / athrow(). " "Fix ag_running to reflect the actual running status of the AG." msgstr "" -#: ../NEWS:26154 +#: ../NEWS:26197 msgid "" ":issue:`36589`: The :func:`curses.update_lines_cols` function now returns " "``None`` instead of ``1`` on success." msgstr "" -#: ../NEWS:26157 +#: ../NEWS:26200 msgid "" ":issue:`38807`: Update :exc:`TypeError` messages for :meth:`os.path.join` to " "include :class:`os.PathLike` objects as acceptable input types." msgstr "" -#: ../NEWS:26160 +#: ../NEWS:26203 msgid "" ":issue:`38724`: Add a repr for ``subprocess.Popen`` objects. Patch by Andrey " "Doroschenko." msgstr "" -#: ../NEWS:26163 +#: ../NEWS:26206 msgid "" ":issue:`38786`: pydoc now recognizes and parses HTTPS URLs. Patch by " "python273." msgstr "" -#: ../NEWS:26165 +#: ../NEWS:26208 msgid "" ":issue:`38785`: Prevent asyncio from crashing if parent ``__init__`` is not " "called from a constructor of object derived from ``asyncio.Future``." msgstr "" -#: ../NEWS:26168 +#: ../NEWS:26211 msgid "" ":issue:`38723`: :mod:`pdb` now uses :meth:`io.open_code` to trigger auditing " "events." msgstr "" -#: ../NEWS:26171 +#: ../NEWS:26214 msgid "" ":issue:`27805`: Allow opening pipes and other non-seekable files in append " "mode with :func:`open`." msgstr "" -#: ../NEWS:26174 +#: ../NEWS:26217 msgid "" ":issue:`38438`: Simplify the :mod:`argparse` usage message for " "``nargs=\"*\"``." msgstr "" -#: ../NEWS:26176 +#: ../NEWS:26219 msgid "" ":issue:`38761`: WeakSet is now registered as a collections.abc.MutableSet." msgstr "" -#: ../NEWS:26178 +#: ../NEWS:26221 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 "" -#: ../NEWS:26182 +#: ../NEWS:26225 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 "" -#: ../NEWS:26185 +#: ../NEWS:26228 msgid "" ":issue:`38692`: Add :class:`asyncio.PidfdChildWatcher`, a Linux-specific " "child watcher implementation that polls process file descriptors." msgstr "" -#: ../NEWS:26188 +#: ../NEWS:26231 msgid "" ":issue:`38692`: Expose the Linux ``pidfd_open`` syscall as :func:`os." "pidfd_open`." msgstr "" -#: ../NEWS:26191 +#: ../NEWS:26234 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 "" -#: ../NEWS:26195 +#: ../NEWS:26238 msgid "" ":issue:`38334`: Fixed seeking backward on an encrypted :class:`zipfile." "ZipExtFile`." msgstr "" -#: ../NEWS:26198 +#: ../NEWS:26241 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 "" -#: ../NEWS:26202 +#: ../NEWS:26245 msgid "" ":issue:`38586`: Now :func:`~logging.config.fileConfig` correctly sets the ." "name of handlers loaded." msgstr "" -#: ../NEWS:26205 +#: ../NEWS:26248 msgid "" ":issue:`38565`: Add new cache_parameters() method for functools.lru_cache() " "to better support pickling." msgstr "" -#: ../NEWS:26208 +#: ../NEWS:26251 msgid "" ":issue:`34679`: asynci.ProactorEventLoop.close() now only calls signal." "set_wakeup_fd() in the main thread." msgstr "" -#: ../NEWS:26211 +#: ../NEWS:26254 msgid "" ":issue:`31202`: The case the result of :func:`pathlib.WindowsPath.glob` " "matches now the case of the pattern for literal parts." msgstr "" -#: ../NEWS:26214 +#: ../NEWS:26257 msgid "" ":issue:`36321`: Remove misspelled attribute. The 3.8 changelog noted that " "this would be removed in 3.9." msgstr "" -#: ../NEWS:26217 +#: ../NEWS:26260 msgid "" ":issue:`38521`: Fixed erroneous equality comparison in statistics." "NormalDist()." msgstr "" -#: ../NEWS:26219 +#: ../NEWS:26262 msgid "" ":issue:`38493`: Added :const:`~os.CLD_KILLED` and :const:`~os.CLD_STOPPED` " "for :attr:`si_code`. Patch by Donghee Na." msgstr "" -#: ../NEWS:26222 +#: ../NEWS:26265 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 "" -#: ../NEWS:26226 +#: ../NEWS:26269 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 "" -#: ../NEWS:26230 +#: ../NEWS:26273 msgid "" ":issue:`38378`: Parameters *out* and *in* of :func:`os.sendfile` was renamed " "to *out_fd* and *in_fd*." msgstr "" -#: ../NEWS:26233 +#: ../NEWS:26276 msgid "" ":issue:`38417`: Added support for setting the umask in the child process to " "the subprocess module on POSIX systems." msgstr "" -#: ../NEWS:26236 +#: ../NEWS:26279 msgid "" ":issue:`38449`: Revert PR 15522, which introduces a regression in :meth:" "`mimetypes.guess_type` due to improper handling of filenames as urls." msgstr "" -#: ../NEWS:26240 +#: ../NEWS:26283 msgid "" ":issue:`38431`: Fix ``__repr__`` method for :class:`dataclasses.InitVar` to " "support typing objects, patch by Samuel Colvin." msgstr "" -#: ../NEWS:26243 +#: ../NEWS:26286 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 "" -#: ../NEWS:26247 +#: ../NEWS:26290 msgid ":issue:`38422`: Clarify docstrings of pathlib suffix(es)" msgstr "" -#: ../NEWS:26249 +#: ../NEWS:26292 msgid "" ":issue:`38405`: Nested subclasses of :class:`typing.NamedTuple` are now " "pickleable." msgstr "" -#: ../NEWS:26252 +#: ../NEWS:26295 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 "" -#: ../NEWS:26257 +#: ../NEWS:26300 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 "" -#: ../NEWS:26261 +#: ../NEWS:26304 msgid "" ":issue:`38341`: Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:" "`smtplib` exported names." msgstr "" -#: ../NEWS:26264 +#: ../NEWS:26307 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 "" -#: ../NEWS:26268 +#: ../NEWS:26311 msgid ":issue:`38242`: Revert the new asyncio Streams API" msgstr "" -#: ../NEWS:26270 +#: ../NEWS:26313 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 " @@ -45891,13 +45960,13 @@ msgid "" "to Python and back now never fails (except MemoryError)." msgstr "" -#: ../NEWS:26275 +#: ../NEWS:26318 msgid "" ":issue:`38019`: Correctly handle pause/resume reading of closed asyncio unix " "pipe." msgstr "" -#: ../NEWS:26278 +#: ../NEWS:26321 msgid "" ":issue:`38163`: Child mocks will now detect their type as either synchronous " "or asynchronous, asynchronous child mocks will be AsyncMocks and synchronous " @@ -45905,11 +45974,11 @@ msgid "" "type)." msgstr "" -#: ../NEWS:26283 +#: ../NEWS:26326 msgid ":issue:`38161`: Removes _AwaitEvent from AsyncMock." msgstr "" -#: ../NEWS:26285 +#: ../NEWS:26328 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:" @@ -45917,49 +45986,49 @@ msgid "" "to test their own behavior in the face of bad requests." msgstr "" -#: ../NEWS:26290 +#: ../NEWS:26333 msgid "" ":issue:`28286`: Deprecate opening :class:`~gzip.GzipFile` for writing " "implicitly. Always specify the *mode* argument for writing." msgstr "" -#: ../NEWS:26293 +#: ../NEWS:26336 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 "" -#: ../NEWS:26297 +#: ../NEWS:26340 msgid "" ":issue:`38265`: Update the *length* parameter of :func:`os.pread` to accept :" "c:type:`Py_ssize_t` instead of :c:expr:`int`." msgstr "" -#: ../NEWS:26300 +#: ../NEWS:26343 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 "" -#: ../NEWS:26304 +#: ../NEWS:26347 msgid ":issue:`38248`: asyncio: Fix inconsistent immediate Task cancellation" msgstr "" -#: ../NEWS:26306 +#: ../NEWS:26349 msgid "" ":issue:`38237`: The arguments for the builtin pow function are more " "descriptive. They can now also be passed in as keywords." msgstr "" -#: ../NEWS:26309 +#: ../NEWS:26352 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 "" -#: ../NEWS:26312 +#: ../NEWS:26355 msgid "" ":issue:`38191`: Constructors of :class:`~typing.NamedTuple` and :class:" "`~typing.TypedDict` types now accept arbitrary keyword argument names, " @@ -45967,18 +46036,18 @@ msgid "" "\"_fields\"." msgstr "" -#: ../NEWS:26317 +#: ../NEWS:26360 msgid "" ":issue:`38155`: Add ``__all__`` to :mod:`datetime`. Patch by Tahia Khan." msgstr "" -#: ../NEWS:26319 +#: ../NEWS:26362 msgid "" ":issue:`38185`: Fixed case-insensitive string comparison in :class:`sqlite3." "Row` indexing." msgstr "" -#: ../NEWS:26322 +#: ../NEWS:26365 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 " @@ -45986,74 +46055,74 @@ msgid "" "documentation around this." msgstr "" -#: ../NEWS:26327 +#: ../NEWS:26370 msgid "" ":issue:`37828`: Fix default mock name in :meth:`unittest.mock.Mock." "assert_called` exceptions. Patch by Abraham Toriz Cruz." msgstr "" -#: ../NEWS:26331 +#: ../NEWS:26374 msgid "" ":issue:`38175`: Fix a memory leak in comparison of :class:`sqlite3.Row` " "objects." msgstr "" -#: ../NEWS:26334 +#: ../NEWS:26377 msgid "" ":issue:`33936`: _hashlib no longer calls obsolete OpenSSL initialization " "function with OpenSSL 1.1.0+." msgstr "" -#: ../NEWS:26337 +#: ../NEWS:26380 msgid "" ":issue:`34706`: Preserve subclassing in inspect.Signature.from_callable." msgstr "" -#: ../NEWS:26339 +#: ../NEWS:26382 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 "" -#: ../NEWS:26343 +#: ../NEWS:26386 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 "" -#: ../NEWS:26347 +#: ../NEWS:26390 msgid "" ":issue:`38148`: Add slots to :mod:`asyncio` transport classes, which can " "reduce memory usage." msgstr "" -#: ../NEWS:26350 +#: ../NEWS:26393 msgid "" ":issue:`38142`: The _hashlib OpenSSL wrapper extension module is now PEP-384 " "compliant." msgstr "" -#: ../NEWS:26353 +#: ../NEWS:26396 msgid "" ":issue:`9216`: hashlib constructors now support usedforsecurity flag to " "signal that a hashing algorithm is not used in a security context." msgstr "" -#: ../NEWS:26356 +#: ../NEWS:26399 msgid "" ":issue:`36991`: Fixes a potential incorrect AttributeError exception " "escaping ZipFile.extract() in some unsupported input error situations." msgstr "" -#: ../NEWS:26359 +#: ../NEWS:26402 msgid "" ":issue:`38134`: Remove obsolete copy of PBKDF2_HMAC_fast. All supported " "OpenSSL versions contain a fast implementation." msgstr "" -#: ../NEWS:26362 +#: ../NEWS:26405 msgid "" ":issue:`38132`: The OpenSSL hashlib wrapper uses a simpler implementation. " "Several Macros and pointless caches are gone. The hash name now comes from " @@ -46061,14 +46130,14 @@ msgid "" "lower case." msgstr "" -#: ../NEWS:26367 +#: ../NEWS:26410 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 "" -#: ../NEWS:26371 +#: ../NEWS:26414 msgid "" ":issue:`34037`: For :mod:`asyncio`, add a new coroutine :meth:`loop." "shutdown_default_executor`. The new coroutine provides an API to schedule an " @@ -46077,121 +46146,121 @@ msgid "" "Kyle Stanley." msgstr "" -#: ../NEWS:26377 +#: ../NEWS:26420 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 "" -#: ../NEWS:26380 +#: ../NEWS:26423 msgid "" ":issue:`38121`: Update parameter names on functions in importlib.metadata " "matching the changes in the 0.22 release of importlib_metadata." msgstr "" -#: ../NEWS:26383 +#: ../NEWS:26426 msgid "" ":issue:`38110`: The os.closewalk() implementation now uses the libc fdwalk() " "API on platforms where it is available." msgstr "" -#: ../NEWS:26386 +#: ../NEWS:26429 msgid "" ":issue:`38093`: Fixes AsyncMock so it doesn't crash when used with " "AsyncContextManagers or AsyncIterators." msgstr "" -#: ../NEWS:26389 +#: ../NEWS:26432 msgid "" ":issue:`37488`: Add warning to :meth:`datetime.utctimetuple`, :meth:" "`datetime.utcnow` and :meth:`datetime.utcfromtimestamp` ." msgstr "" -#: ../NEWS:26392 +#: ../NEWS:26435 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 "" -#: ../NEWS:26396 +#: ../NEWS:26439 msgid "" ":issue:`38086`: Update importlib.metadata with changes from " "`importlib_metadata 0.21 `_." msgstr "" -#: ../NEWS:26400 +#: ../NEWS:26443 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 "" -#: ../NEWS:26404 +#: ../NEWS:26447 msgid ":issue:`38037`: Fix reference counters in the :mod:`signal` module." msgstr "" -#: ../NEWS:26406 +#: ../NEWS:26449 msgid "" ":issue:`38066`: Hide internal asyncio.Stream methods: feed_eof(), " "feed_data(), set_exception() and set_transport()." msgstr "" -#: ../NEWS:26409 +#: ../NEWS:26452 msgid ":issue:`38059`: inspect.py now uses sys.exit() instead of exit()" msgstr "" -#: ../NEWS:26411 +#: ../NEWS:26454 msgid ":issue:`38049`: Added command-line interface for the :mod:`ast` module." msgstr "" -#: ../NEWS:26413 +#: ../NEWS:26456 msgid "" ":issue:`37953`: In :mod:`typing`, improved the ``__hash__`` and ``__eq__`` " "methods for :class:`ForwardReferences`." msgstr "" -#: ../NEWS:26416 +#: ../NEWS:26459 msgid "" ":issue:`38026`: Fixed :func:`inspect.getattr_static` used ``isinstance`` " "while it should avoid dynamic lookup." msgstr "" -#: ../NEWS:26419 +#: ../NEWS:26462 msgid "" ":issue:`35923`: Update :class:`importlib.machinery.BuiltinImporter` to use " "``loader._ORIGIN`` instead of a hardcoded value. Patch by Donghee Na." msgstr "" -#: ../NEWS:26422 +#: ../NEWS:26465 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 "" -#: ../NEWS:26426 +#: ../NEWS:26469 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 "" -#: ../NEWS:26430 +#: ../NEWS:26473 msgid "" ":issue:`37995`: Added the *indent* option to :func:`ast.dump` which allows " "it to produce a multiline indented output." msgstr "" -#: ../NEWS:26433 +#: ../NEWS:26476 msgid "" ":issue:`34410`: Fixed a crash in the :func:`tee` iterator when re-enter it. " "RuntimeError is now raised in this case." msgstr "" -#: ../NEWS:26436 +#: ../NEWS:26479 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 " @@ -46201,149 +46270,149 @@ msgid "" "twice." msgstr "" -#: ../NEWS:26442 +#: ../NEWS:26485 msgid "" ":issue:`37587`: ``_json.scanstring`` is now up to 3x faster when there are " "many backslash escaped characters in the JSON string." msgstr "" -#: ../NEWS:26445 +#: ../NEWS:26488 msgid "" ":issue:`37834`: Prevent shutil.rmtree exception when built on non-Windows " "system without fd system call support, like older versions of macOS." msgstr "" -#: ../NEWS:26448 +#: ../NEWS:26491 msgid "" ":issue:`10978`: Semaphores and BoundedSemaphores can now release more than " "one waiting thread at a time." msgstr "" -#: ../NEWS:26451 +#: ../NEWS:26494 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 "" -#: ../NEWS:26455 +#: ../NEWS:26498 msgid "``call().foo().__getitem__('bar')``" msgstr "" -#: ../NEWS:26457 +#: ../NEWS:26500 msgid "Patch by blhsing" msgstr "" -#: ../NEWS:26459 +#: ../NEWS:26502 msgid "" ":issue:`37965`: Fix C compiler warning caused by distutils.ccompiler." "CCompiler.has_function." msgstr "" -#: ../NEWS:26462 +#: ../NEWS:26505 msgid ":issue:`37964`: Add ``F_GETPATH`` command to :mod:`fcntl`." msgstr "" -#: ../NEWS:26464 +#: ../NEWS:26507 msgid "" ":issue:`37960`: ``repr()`` of buffered and text streams now silences only " "expected exceptions when get the value of \"name\" and \"mode\" attributes." msgstr "" -#: ../NEWS:26467 +#: ../NEWS:26510 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 "" -#: ../NEWS:26471 +#: ../NEWS:26514 msgid "" ":issue:`37951`: Most features of the subprocess module now work again in " "subinterpreters. Only *preexec_fn* is restricted in subinterpreters." msgstr "" -#: ../NEWS:26474 +#: ../NEWS:26517 msgid "" ":issue:`36205`: Fix the rusage implementation of time.process_time() to " "correctly report the sum of the system and user CPU time." msgstr "" -#: ../NEWS:26477 +#: ../NEWS:26520 msgid "" ":issue:`37950`: Fix :func:`ast.dump` when call with incompletely initialized " "node." msgstr "" -#: ../NEWS:26480 +#: ../NEWS:26523 msgid "" ":issue:`34679`: Restores instantiation of Windows IOCP event loops from the " "non-main thread." msgstr "" -#: ../NEWS:26483 +#: ../NEWS:26526 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 "" -#: ../NEWS:26488 +#: ../NEWS:26531 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 "" -#: ../NEWS:26491 +#: ../NEWS:26534 msgid "" ":issue:`26589`: Added a new status code to the http module: 451 " "UNAVAILABLE_FOR_LEGAL_REASONS" msgstr "" -#: ../NEWS:26494 +#: ../NEWS:26537 msgid "" ":issue:`37915`: Fix a segmentation fault that appeared when comparing " "instances of ``datetime.timezone`` and ``datetime.tzinfo`` objects. Patch by " "Pablo Galindo." msgstr "" -#: ../NEWS:26498 +#: ../NEWS:26541 msgid "" ":issue:`32554`: Deprecate having random.seed() call hash on arbitrary types." msgstr "" -#: ../NEWS:26500 +#: ../NEWS:26543 msgid "" ":issue:`9938`: Add optional keyword argument ``exit_on_error`` for :class:" "`ArgumentParser`." msgstr "" -#: ../NEWS:26503 +#: ../NEWS:26546 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 "" -#: ../NEWS:26507 +#: ../NEWS:26550 msgid "" ":issue:`32793`: Fix a duplicated debug message when :meth:`smtplib.SMTP." "connect` is called." msgstr "" -#: ../NEWS:26510 +#: ../NEWS:26553 msgid "" ":issue:`37885`: venv: Don't generate unset variable warning on deactivate." msgstr "" -#: ../NEWS:26512 +#: ../NEWS:26555 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 "" -#: ../NEWS:26516 +#: ../NEWS:26559 msgid "" ":issue:`37811`: Fix ``socket`` module's ``socket.connect(address)`` function " "being unable to establish connection in case of interrupted system call. The " @@ -46351,12 +46420,12 @@ msgid "" "non-negative integers and -1 as a timeout value." msgstr "" -#: ../NEWS:26521 +#: ../NEWS:26564 msgid "" ":issue:`37863`: Optimizations for Fraction.__hash__ suggested by Tim Peters." msgstr "" -#: ../NEWS:26523 +#: ../NEWS:26566 msgid "" ":issue:`21131`: Fix ``faulthandler.register(chain=True)`` stack. " "faulthandler now allocates a dedicated stack of ``SIGSTKSZ*2`` bytes, " @@ -46365,79 +46434,79 @@ msgid "" "memory on some platforms." msgstr "" -#: ../NEWS:26529 +#: ../NEWS:26572 msgid "" ":issue:`37798`: Add C fastpath for statistics.NormalDist.inv_cdf() Patch by " "Donghee Na" msgstr "" -#: ../NEWS:26532 +#: ../NEWS:26575 msgid "" ":issue:`37804`: Remove the deprecated method ``threading.Thread.isAlive()``. " "Patch by Donghee Na." msgstr "" -#: ../NEWS:26535 +#: ../NEWS:26578 msgid "" ":issue:`37819`: Add Fraction.as_integer_ratio() to match the corresponding " "methods in bool, int, float, and decimal." msgstr "" -#: ../NEWS:26538 +#: ../NEWS:26581 msgid "" ":issue:`14465`: Add an xml.etree.ElementTree.indent() function for pretty-" "printing XML trees. Contributed by Stefan Behnel." msgstr "" -#: ../NEWS:26541 +#: ../NEWS:26584 msgid "" ":issue:`37810`: Fix :mod:`difflib` ``?`` hint in diff output when dealing " "with tabs. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:26544 +#: ../NEWS:26587 msgid "" ":issue:`37772`: In ``zipfile.Path``, when adding implicit dirs, ensure that " "ancestral directories are added and that duplicates are excluded." msgstr "" -#: ../NEWS:26547 +#: ../NEWS:26590 msgid "" ":issue:`18578`: Renamed and documented ``test.bytecode_helper`` as ``test." "support.bytecode_helper``. Patch by Joannah Nanjekye." msgstr "" -#: ../NEWS:26550 +#: ../NEWS:26593 msgid ":issue:`37785`: Fix xgettext warnings in :mod:`argparse`." msgstr "" -#: ../NEWS:26552 +#: ../NEWS:26595 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 "" -#: ../NEWS:26556 +#: ../NEWS:26599 msgid "" ":issue:`37449`: ``ensurepip`` now uses ``importlib.resources.read_binary()`` " "to read data instead of ``pkgutil.get_data()``. Patch by Joannah Nanjekye." msgstr "" -#: ../NEWS:26559 +#: ../NEWS:26602 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 "" -#: ../NEWS:26563 +#: ../NEWS:26606 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 "" -#: ../NEWS:26567 +#: ../NEWS:26610 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 " @@ -46446,48 +46515,48 @@ msgid "" "getLogger(__name__) in some top-level module called 'root.py'." msgstr "" -#: ../NEWS:26573 +#: ../NEWS:26616 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 "" -#: ../NEWS:26577 +#: ../NEWS:26620 msgid "" ":issue:`37723`: Fix performance regression on regular expression parsing " "with huge character sets. Patch by Yann Vaginay." msgstr "" -#: ../NEWS:26580 +#: ../NEWS:26623 msgid "" ":issue:`35943`: The function :c:func:`PyImport_GetModule` now ensures any " "module it returns is fully initialized. Patch by Joannah Nanjekye." msgstr "" -#: ../NEWS:26583 +#: ../NEWS:26626 msgid "" ":issue:`32178`: Fix IndexError in :mod:`email` package when trying to parse " "invalid address fields starting with ``:``." msgstr "" -#: ../NEWS:26586 +#: ../NEWS:26629 msgid "" ":issue:`37268`: The :mod:`parser` module is deprecated and will be removed " "in future versions of Python." msgstr "" -#: ../NEWS:26589 +#: ../NEWS:26632 msgid ":issue:`11953`: Completing WSA* error codes in :mod:`socket`." msgstr "" -#: ../NEWS:26591 +#: ../NEWS:26634 msgid "" ":issue:`37685`: Fixed comparisons of :class:`datetime.timedelta` and :class:" "`datetime.timezone`." msgstr "" -#: ../NEWS:26594 +#: ../NEWS:26637 msgid "" ":issue:`37697`: Synchronize ``importlib.metadata`` with `importlib_metadata " "0.19 `_, " @@ -46495,31 +46564,31 @@ msgid "" "names contained colons." msgstr "" -#: ../NEWS:26600 +#: ../NEWS:26643 msgid "" ":issue:`37695`: Correct :func:`curses.unget_wch` error message. Patch by " "Anthony Sottile." msgstr "" -#: ../NEWS:26603 +#: ../NEWS:26646 msgid "" ":issue:`37689`: Add :meth:`is_relative_to` in :class:`PurePath` to determine " "whether or not one path is relative to another." msgstr "" -#: ../NEWS:26606 +#: ../NEWS:26649 msgid "" ":issue:`29553`: Fixed :meth:`argparse.ArgumentParser.format_usage` for " "mutually exclusive groups. Patch by Andrew Nester." msgstr "" -#: ../NEWS:26609 +#: ../NEWS:26652 msgid "" ":issue:`37691`: Let math.dist() accept coordinates as sequences (or " "iterables) rather than just tuples." msgstr "" -#: ../NEWS:26612 +#: ../NEWS:26655 msgid "" ":issue:`37685`: Fixed ``__eq__``, ``__lt__`` etc implementations in some " "classes. They now return :data:`NotImplemented` for unsupported type of the " @@ -46527,25 +46596,25 @@ msgid "" "equality comparison with :data:`~unittest.mock.ANY` will return ``True``)." msgstr "" -#: ../NEWS:26618 +#: ../NEWS:26661 msgid "" ":issue:`37354`: Make Activate.ps1 Powershell script static to allow for " "signing it." msgstr "" -#: ../NEWS:26621 +#: ../NEWS:26664 msgid "" ":issue:`37664`: Update wheels bundled with ensurepip (pip 19.2.3 and " "setuptools 41.2.0)" msgstr "" -#: ../NEWS:26624 +#: ../NEWS:26667 msgid "" ":issue:`37663`: Bring consistency to venv shell activation scripts by always " "using __VENV_PROMPT__." msgstr "" -#: ../NEWS:26627 +#: ../NEWS:26670 msgid "" ":issue:`37642`: Allowed the pure Python implementation of :class:`datetime." "timezone` to represent sub-minute offsets close to minimum and maximum " @@ -46553,61 +46622,61 @@ msgid "" "Patch by Ngalim Siregar" msgstr "" -#: ../NEWS:26632 +#: ../NEWS:26675 msgid "" ":issue:`36161`: In :mod:`posix`, use ``ttyname_r`` instead of ``ttyname`` " "for thread safety." msgstr "" -#: ../NEWS:26635 +#: ../NEWS:26678 msgid "" ":issue:`36324`: Make internal attributes for statistics.NormalDist() private." msgstr "" -#: ../NEWS:26637 +#: ../NEWS:26680 msgid "" ":issue:`37555`: Fix ``NonCallableMock._call_matcher`` returning tuple " "instead of ``_Call`` object when ``self._spec_signature`` exists. Patch by " "Elizabeth Uselton" msgstr "" -#: ../NEWS:26641 +#: ../NEWS:26684 msgid "" ":issue:`29446`: Make ``from tkinter import *`` import only the expected " "objects." msgstr "" -#: ../NEWS:26644 +#: ../NEWS:26687 msgid "" ":issue:`16970`: Adding a value error when an invalid value in passed to " "nargs Patch by Robert Leenders" msgstr "" -#: ../NEWS:26647 +#: ../NEWS:26690 msgid "" ":issue:`34443`: Exceptions from :mod:`enum` now use the ``__qualname`` of " "the enum class in the exception message instead of the ``__name__``." msgstr "" -#: ../NEWS:26650 +#: ../NEWS:26693 msgid "" ":issue:`37491`: Fix ``IndexError`` when parsing email headers with " "unexpectedly ending bare-quoted string value. Patch by Abhilash Raj." msgstr "" -#: ../NEWS:26653 +#: ../NEWS:26696 msgid "" ":issue:`37587`: Make json.loads faster for long strings. (Patch by Marco " "Paolini)" msgstr "" -#: ../NEWS:26656 +#: ../NEWS:26699 msgid "" ":issue:`18378`: Recognize \"UTF-8\" as a valid value for LC_CTYPE in locale." "_parse_localename." msgstr "" -#: ../NEWS:26659 +#: ../NEWS:26702 msgid "" ":issue:`37579`: Return :exc:`NotImplemented` in Python implementation of " "``__eq__`` for :class:`~datetime.timedelta` and :class:`~datetime.time` when " @@ -46615,50 +46684,50 @@ msgid "" "implementation. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:26664 +#: ../NEWS:26707 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 "" -#: ../NEWS:26668 +#: ../NEWS:26711 msgid "" ":issue:`37531`: \"python3 -m test -jN --timeout=TIMEOUT\" now kills a worker " "process if it runs longer than *TIMEOUT* seconds." msgstr "" -#: ../NEWS:26671 +#: ../NEWS:26714 msgid "" ":issue:`37482`: Fix serialization of display name in originator or " "destination address fields with both encoded words and special chars." msgstr "" -#: ../NEWS:26674 +#: ../NEWS:26717 msgid "" ":issue:`36993`: Improve error reporting for corrupt zip files with bad zip64 " "extra data. Patch by Daniel Hillier." msgstr "" -#: ../NEWS:26677 +#: ../NEWS:26720 msgid "" ":issue:`37502`: pickle.loads() no longer raises TypeError when the buffers " "argument is set to None" msgstr "" -#: ../NEWS:26680 +#: ../NEWS:26723 msgid "" ":issue:`37520`: Correct behavior for zipfile.Path.parent when the path " "object identifies a subdirectory." msgstr "" -#: ../NEWS:26683 +#: ../NEWS:26726 msgid "" ":issue:`18374`: Fix the ``.col_offset`` attribute of nested :class:`ast." "BinOp` instances which had a too large value in some situations." msgstr "" -#: ../NEWS:26686 +#: ../NEWS:26729 msgid "" ":issue:`37424`: Fixes a possible hang when using a timeout on ``subprocess." "run()`` while capturing output. If the child process spawned its own " @@ -46667,7 +46736,7 @@ msgid "" "killed when attempting to read final output from the pipes." msgstr "" -#: ../NEWS:26692 +#: ../NEWS:26735 msgid "" ":issue:`37421`: Fix :func:`multiprocessing.util.get_temp_dir` finalizer: " "clear also the 'tempdir' configuration of the current process, so next call " @@ -46675,31 +46744,31 @@ msgid "" "reusing the removed temporary directory." msgstr "" -#: ../NEWS:26697 +#: ../NEWS:26740 msgid "" ":issue:`37481`: The distutils ``bdist_wininst`` command is deprecated in " "Python 3.8, use ``bdist_wheel`` (wheel packages) instead." msgstr "" -#: ../NEWS:26700 +#: ../NEWS:26743 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 "" -#: ../NEWS:26704 +#: ../NEWS:26747 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 "" -#: ../NEWS:26707 +#: ../NEWS:26750 msgid ":issue:`37437`: Update vendorized expat version to 2.2.7." msgstr "" -#: ../NEWS:26709 +#: ../NEWS:26752 msgid "" ":issue:`37428`: SSLContext.post_handshake_auth = True no longer sets " "SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the " @@ -46707,34 +46776,34 @@ msgid "" "chain validation when the flag is set." msgstr "" -#: ../NEWS:26714 +#: ../NEWS:26757 msgid "" ":issue:`37420`: :func:`os.sched_setaffinity` now correctly handles errors " "that arise during iteration over its ``mask`` argument. Patch by Brandt " "Bucher." msgstr "" -#: ../NEWS:26717 +#: ../NEWS:26760 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 "" -#: ../NEWS:26721 +#: ../NEWS:26764 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 "" -#: ../NEWS:26725 +#: ../NEWS:26768 msgid "" ":issue:`29412`: Fix IndexError in parsing a header value ending " "unexpectedly. Patch by Abhilash Raj." msgstr "" -#: ../NEWS:26728 +#: ../NEWS:26771 msgid "" ":issue:`36546`: The *dist* argument for statistics.quantiles() is now " "positional only. The current name doesn't reflect that the argument can be " @@ -46742,19 +46811,19 @@ msgid "" "avoids confusion and makes it possible to change the name later." msgstr "" -#: ../NEWS:26733 +#: ../NEWS:26776 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 "" -#: ../NEWS:26736 +#: ../NEWS:26779 msgid "" ":issue:`37376`: :mod:`pprint` now has support for :class:`types." "SimpleNamespace`. Patch by Carl Bordum Hansen." msgstr "" -#: ../NEWS:26739 +#: ../NEWS:26782 msgid "" ":issue:`26967`: An :class:`~argparse.ArgumentParser` with " "``allow_abbrev=False`` no longer disables grouping of short flags, such as " @@ -46762,19 +46831,19 @@ msgid "" "by Zac Hatfield-Dodds." msgstr "" -#: ../NEWS:26744 +#: ../NEWS:26787 msgid "" ":issue:`37212`: :func:`unittest.mock.call` now preserves the order of " "keyword arguments in repr output. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:26747 +#: ../NEWS:26790 msgid "" ":issue:`37372`: Fix error unpickling datetime.time objects from Python 2 " "with seconds>=24. Patch by Justin Blanchard." msgstr "" -#: ../NEWS:26750 +#: ../NEWS:26793 msgid "" ":issue:`37345`: Add formal support for UDPLITE sockets. Support was present " "before, but it is now easier to detect support with ``hasattr(socket, " @@ -46783,11 +46852,11 @@ msgid "" "``UDPLITE_RECV_CSCOV``. Patch by Gabe Appleton." msgstr "" -#: ../NEWS:26756 +#: ../NEWS:26799 msgid ":issue:`37358`: Optimized ``functools.partial`` by using vectorcall." msgstr "" -#: ../NEWS:26758 +#: ../NEWS:26801 msgid "" ":issue:`37347`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." "Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" @@ -46797,77 +46866,77 @@ msgid "" "more carefully. Patch by Aleksandr Balezin." msgstr "" -#: ../NEWS:26766 +#: ../NEWS:26809 msgid "" ":issue:`37163`: The *obj* argument of :func:`dataclasses.replace` is " "positional-only now." msgstr "" -#: ../NEWS:26769 +#: ../NEWS:26812 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 "" -#: ../NEWS:26773 +#: ../NEWS:26816 msgid "" ":issue:`37328`: ``HTMLParser.unescape`` is removed. It was undocumented and " "deprecated since Python 3.4." msgstr "" -#: ../NEWS:26776 +#: ../NEWS:26819 msgid "" ":issue:`37305`: Add .webmanifest -> application/manifest+json to list of " "recognized file types and content type headers" msgstr "" -#: ../NEWS:26779 +#: ../NEWS:26822 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 "" -#: ../NEWS:26783 +#: ../NEWS:26826 msgid "" ":issue:`37315`: Deprecated accepting floats with integral value (like " "``5.0``) in :func:`math.factorial`." msgstr "" -#: ../NEWS:26786 +#: ../NEWS:26829 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 "" -#: ../NEWS:26790 +#: ../NEWS:26833 msgid "" ":issue:`33972`: Email with single part but content-type set to ``multipart/" "*`` doesn't raise AttributeError anymore." msgstr "" -#: ../NEWS:26793 +#: ../NEWS:26836 msgid "" ":issue:`37280`: Use threadpool for reading from file for sendfile fallback " "mode." msgstr "" -#: ../NEWS:26796 +#: ../NEWS:26839 msgid "" ":issue:`37279`: Fix asyncio sendfile support when sendfile sends extra data " "in fallback mode." msgstr "" -#: ../NEWS:26799 +#: ../NEWS:26842 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 "" -#: ../NEWS:26803 +#: ../NEWS:26846 msgid "" ":issue:`37266`: In a subinterpreter, spawning a daemon thread now raises an " "exception. Daemon threads were never supported in subinterpreters. " @@ -46875,13 +46944,13 @@ msgid "" "error if a daemon thread was still running." msgstr "" -#: ../NEWS:26808 +#: ../NEWS:26851 msgid "" ":issue:`37210`: Allow pure Python implementation of :mod:`pickle` to work " "even when the C :mod:`!_pickle` module is unavailable." msgstr "" -#: ../NEWS:26811 +#: ../NEWS:26854 msgid "" ":issue:`21872`: Fix :mod:`lzma`: module decompresses data incompletely. When " "decompressing a FORMAT_ALONE format file, and it doesn't have the end " @@ -46889,7 +46958,7 @@ msgid "" "Lin." msgstr "" -#: ../NEWS:26816 +#: ../NEWS:26859 msgid "" ":issue:`35922`: Fix :meth:`RobotFileParser.crawl_delay` and :meth:" "`RobotFileParser.request_rate` to return ``None`` rather than raise :exc:" @@ -46897,27 +46966,27 @@ msgid "" "Patch by Rémi Lapeyre." msgstr "" -#: ../NEWS:26821 +#: ../NEWS:26864 msgid "" ":issue:`35766`: Change the format of feature_version to be a (major, minor) " "tuple." msgstr "" -#: ../NEWS:26824 +#: ../NEWS:26867 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 "" -#: ../NEWS:26828 +#: ../NEWS:26871 msgid "" ":issue:`18748`: :class:`!_pyio.IOBase` destructor now does nothing if " "getting the ``closed`` attribute fails to better mimic :class:`!_io.IOBase` " "finalizer." msgstr "" -#: ../NEWS:26832 +#: ../NEWS:26875 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 " @@ -46925,25 +46994,25 @@ msgid "" "daemon Python threads complete." msgstr "" -#: ../NEWS:26837 +#: ../NEWS:26880 msgid "" ":issue:`37206`: Default values which cannot be represented as Python objects " "no longer improperly represented as ``None`` in function signatures." msgstr "" -#: ../NEWS:26840 +#: ../NEWS:26883 msgid "" ":issue:`37111`: Added ``encoding`` and ``errors`` keyword parameters to " "``logging.basicConfig``." msgstr "" -#: ../NEWS:26843 +#: ../NEWS:26886 msgid "" ":issue:`12144`: Ensure cookies with ``expires`` attribute are handled in :" "meth:`CookieJar.make_cookies`." msgstr "" -#: ../NEWS:26846 +#: ../NEWS:26889 msgid "" ":issue:`34886`: Fix an unintended ValueError from :func:`subprocess.run` " "when checking for conflicting *input* and *stdin* or *capture_output* and " @@ -46952,152 +47021,152 @@ msgid "" "directly by name. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:26852 +#: ../NEWS:26895 msgid "" ":issue:`37173`: The exception message for ``inspect.getfile()`` now " "correctly reports the passed class rather than the builtins module." msgstr "" -#: ../NEWS:26855 +#: ../NEWS:26898 msgid "" ":issue:`37178`: Give math.perm() a one argument form that means the same as " "math.factorial()." msgstr "" -#: ../NEWS:26858 +#: ../NEWS:26901 msgid "" ":issue:`37178`: For math.perm(n, k), let k default to n, giving the same " "result as factorial." msgstr "" -#: ../NEWS:26861 +#: ../NEWS:26904 msgid "" ":issue:`37165`: Converted _collections._count_elements to use the Argument " "Clinic." msgstr "" -#: ../NEWS:26864 +#: ../NEWS:26907 msgid "" ":issue:`34767`: Do not always create a :class:`collections.deque` in :class:" "`asyncio.Lock`." msgstr "" -#: ../NEWS:26867 +#: ../NEWS:26910 msgid "" ":issue:`37158`: Speed-up statistics.fmean() by switching from a function to " "a generator." msgstr "" -#: ../NEWS:26870 +#: ../NEWS:26913 msgid ":issue:`34282`: Remove ``Enum._convert`` method, deprecated in 3.8." msgstr "" -#: ../NEWS:26872 +#: ../NEWS:26915 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 "" -#: ../NEWS:26876 +#: ../NEWS:26919 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 "" -#: ../NEWS:26880 +#: ../NEWS:26923 msgid "" ":issue:`35621`: Support running asyncio subprocesses when execution event " "loop in a thread on UNIX." msgstr "" -#: ../NEWS:26883 +#: ../NEWS:26926 msgid "" ":issue:`36520`: Lengthy email headers with UTF-8 characters are now properly " "encoded when they are folded. Patch by Jeffrey Kintscher." msgstr "" -#: ../NEWS:26886 +#: ../NEWS:26929 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 "" -#: ../NEWS:26890 +#: ../NEWS:26933 msgid "" ":issue:`31163`: pathlib.Path instance's rename and replace methods now " "return the new Path instance." msgstr "" -#: ../NEWS:26893 +#: ../NEWS:26936 msgid "" ":issue:`25068`: :class:`urllib.request.ProxyHandler` now lowercases the keys " "of the passed dictionary." msgstr "" -#: ../NEWS:26896 +#: ../NEWS:26939 msgid "" ":issue:`26185`: Fix :func:`repr` on empty :class:`ZipInfo` object. Patch by " "Mickaël Schoentgen." msgstr "" -#: ../NEWS:26899 +#: ../NEWS:26942 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 "" -#: ../NEWS:26903 +#: ../NEWS:26946 msgid "" ":issue:`31904`: Port test_datetime to VxWorks: skip zoneinfo tests on VxWorks" msgstr "" -#: ../NEWS:26905 +#: ../NEWS:26948 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 "" -#: ../NEWS:26909 +#: ../NEWS:26952 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 "" -#: ../NEWS:26913 +#: ../NEWS:26956 msgid "" ":issue:`35070`: posix.getgrouplist() now works correctly when the user " "belongs to NGROUPS_MAX supplemental groups. Patch by Jeffrey Kintscher." msgstr "" -#: ../NEWS:26916 +#: ../NEWS:26959 msgid "" ":issue:`31783`: Fix race condition in ThreadPoolExecutor when worker threads " "are created during interpreter shutdown." msgstr "" -#: ../NEWS:26919 +#: ../NEWS:26962 msgid "" ":issue:`36582`: Fix ``UserString.encode()`` to correctly return ``bytes`` " "rather than a ``UserString`` instance." msgstr "" -#: ../NEWS:26922 +#: ../NEWS:26965 msgid "" ":issue:`32424`: Deprecate xml.etree.ElementTree.Element.copy() in favor of " "copy.copy()." msgstr "" -#: ../NEWS:26925 +#: ../NEWS:26968 msgid "Patch by Gordon P. Hemsley" msgstr "" -#: ../NEWS:26927 +#: ../NEWS:26970 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 " @@ -47105,94 +47174,94 @@ msgid "" "Ganssle" msgstr "" -#: ../NEWS:26932 +#: ../NEWS:26975 msgid "" ":issue:`36543`: Removed methods Element.getchildren(), Element.getiterator() " "and ElementTree.getiterator() and the xml.etree.cElementTree module." msgstr "" -#: ../NEWS:26935 +#: ../NEWS:26978 msgid ":issue:`36409`: Remove the old plistlib API deprecated in Python 3.4" msgstr "" -#: ../NEWS:26937 +#: ../NEWS:26980 msgid "" ":issue:`36302`: distutils sorts source file lists so that Extension .so " "files build more reproducibly by default" msgstr "" -#: ../NEWS:26940 +#: ../NEWS:26983 msgid "" ":issue:`36250`: Ignore ``ValueError`` from ``signal`` with ``interaction`` " "in non-main thread." msgstr "" -#: ../NEWS:26943 +#: ../NEWS:26986 msgid "" ":issue:`36046`: Added ``user``, ``group`` and ``extra_groups`` parameters to " "the subprocess.Popen constructor. Patch by Patrick McLean." msgstr "" -#: ../NEWS:26946 +#: ../NEWS:26989 msgid "" ":issue:`32627`: Fix compile error when ``_uuid`` headers conflicting " "included." msgstr "" -#: ../NEWS:26948 +#: ../NEWS:26991 msgid "" ":issue:`35800`: Deprecate ``smtpd.MailmanProxy`` ready for future removal." msgstr "" -#: ../NEWS:26950 +#: ../NEWS:26993 msgid "" ":issue:`35168`: :attr:`shlex.shlex.punctuation_chars` is now a read-only " "property." msgstr "" -#: ../NEWS:26953 +#: ../NEWS:26996 msgid "" ":issue:`8538`: Add support for boolean actions like ``--foo`` and ``--no-" "foo`` to argparse. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:26956 +#: ../NEWS:26999 msgid "" ":issue:`20504`: Fixes a bug in :mod:`!cgi` module when a multipart/form-data " "request has no ``Content-Length`` header." msgstr "" -#: ../NEWS:26959 +#: ../NEWS:27002 msgid "" ":issue:`25988`: The abstract base classes in :mod:`collections.abc` no " "longer are exposed in the regular :mod:`collections` module." msgstr "" -#: ../NEWS:26962 +#: ../NEWS:27005 msgid "" ":issue:`11122`: Distutils won't check for rpmbuild in specified paths only." msgstr "" -#: ../NEWS:26964 +#: ../NEWS:27007 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 "" -#: ../NEWS:26968 +#: ../NEWS:27011 msgid "" ":issue:`34749`: :func:`binascii.a2b_base64` is now up to 2 times faster. " "Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:26971 +#: ../NEWS:27014 msgid "" ":issue:`34519`: Add additional aliases for HP Roman 8. Patch by Michael " "Osipov." msgstr "" -#: ../NEWS:26973 +#: ../NEWS:27016 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 " @@ -47200,31 +47269,31 @@ msgid "" "by Michael Felt." msgstr "" -#: ../NEWS:26978 +#: ../NEWS:27021 msgid "" ":issue:`30618`: Add :meth:`~pathlib.Path.readlink`. Patch by Girts Folkmanis." msgstr "" -#: ../NEWS:26980 +#: ../NEWS:27023 msgid "" ":issue:`32498`: Made :func:`urllib.parse.unquote` accept bytes in addition " "to strings. Patch by Stein Karlsen." msgstr "" -#: ../NEWS:26983 +#: ../NEWS:27026 msgid "" ":issue:`33348`: lib2to3 now recognizes expressions after ``*`` and ``**`` " "like in ``f(*[] or [])``." msgstr "" -#: ../NEWS:26986 +#: ../NEWS:27029 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 "" -#: ../NEWS:26990 +#: ../NEWS:27033 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 " @@ -47232,80 +47301,80 @@ msgid "" "supports '#' and '_' modifiers." msgstr "" -#: ../NEWS:26995 +#: ../NEWS:27038 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 "" -#: ../NEWS:26999 +#: ../NEWS:27042 msgid "" ":issue:`4963`: Fixed non-deterministic behavior related to mimetypes " "extension mapping and module reinitialization." msgstr "" -#: ../NEWS:27005 +#: ../NEWS:27048 msgid "" ":issue:`21767`: Explicitly mention abc support in functools.singledispatch" msgstr "" -#: ../NEWS:27007 +#: ../NEWS:27050 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 "" -#: ../NEWS:27012 +#: ../NEWS:27055 msgid "" ":issue:`38351`: Modernize :mod:`email` examples from %-formatting to f-" "strings." msgstr "" -#: ../NEWS:27014 +#: ../NEWS:27057 msgid "" ":issue:`38778`: Document the fact that :exc:`RuntimeError` is raised if :" "meth:`os.fork` is called in a subinterpreter." msgstr "" -#: ../NEWS:27017 +#: ../NEWS:27060 msgid "" ":issue:`38592`: Add Brazilian Portuguese to the language switcher at Python " "Documentation website." msgstr "" -#: ../NEWS:27020 +#: ../NEWS:27063 msgid "" ":issue:`38294`: Add list of no-longer-escaped chars to re.escape " "documentation" msgstr "" -#: ../NEWS:27022 +#: ../NEWS:27065 msgid ":issue:`38053`: Modernized the plistlib documentation" msgstr "" -#: ../NEWS:27024 +#: ../NEWS:27067 msgid "" ":issue:`26868`: Fix example usage of :c:func:`PyModule_AddObject` to " "properly handle errors." msgstr "" -#: ../NEWS:27027 +#: ../NEWS:27070 msgid ":issue:`36797`: Fix a dead link in the distutils API Reference." msgstr "" -#: ../NEWS:27029 +#: ../NEWS:27072 msgid ":issue:`37977`: Warn more strongly and clearly about pickle insecurity" msgstr "" -#: ../NEWS:27031 +#: ../NEWS:27074 msgid "" ":issue:`37979`: Added a link to dateutil.parser.isoparse in the datetime." "fromisoformat documentation. Patch by Paul Ganssle" msgstr "" -#: ../NEWS:27034 +#: ../NEWS:27077 msgid "" ":issue:`12707`: Deprecate info(), geturl(), getcode() methods in favor of " "the headers, url, and status properties, respectively, for HTTPResponse and " @@ -47313,158 +47382,158 @@ msgid "" "status attribute. Patch by Ashwin Ramaswami" msgstr "" -#: ../NEWS:27039 +#: ../NEWS:27082 msgid ":issue:`37937`: Mention ``frame.f_trace`` in :func:`sys.settrace` docs." msgstr "" -#: ../NEWS:27041 +#: ../NEWS:27084 msgid ":issue:`37878`: Make :c:func:`PyThreadState_DeleteCurrent` Internal." msgstr "" -#: ../NEWS:27043 +#: ../NEWS:27086 msgid ":issue:`37759`: Beginning edits to Whatsnew 3.8" msgstr "" -#: ../NEWS:27045 +#: ../NEWS:27088 msgid "" ":issue:`37726`: Stop recommending getopt in the tutorial for command line " "argument parsing and promote argparse." msgstr "" -#: ../NEWS:27048 +#: ../NEWS:27091 msgid "" ":issue:`32910`: Remove implementation-specific behaviour of how venv's " "Deactivate works." msgstr "" -#: ../NEWS:27051 +#: ../NEWS:27094 msgid "" ":issue:`37256`: Fix wording of arguments for :class:`Request` in :mod:" "`urllib.request`" msgstr "" -#: ../NEWS:27054 +#: ../NEWS:27097 msgid "" ":issue:`37284`: Add a brief note to indicate that any new ``sys." "implementation`` required attributes must go through the PEP process." msgstr "" -#: ../NEWS:27058 +#: ../NEWS:27101 msgid "" ":issue:`30088`: Documented that :class:`mailbox.Maildir` constructor doesn't " "attempt to verify the maildir folder layout correctness. Patch by Sviatoslav " "Sydorenko." msgstr "" -#: ../NEWS:27062 +#: ../NEWS:27105 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 "" -#: ../NEWS:27066 +#: ../NEWS:27109 msgid "Thanks to Benjamin Mintz for finding the bug." msgstr "" -#: ../NEWS:27068 +#: ../NEWS:27111 msgid ":issue:`37456`: Slash ('/') is now part of syntax." msgstr "" -#: ../NEWS:27070 +#: ../NEWS:27113 msgid ":issue:`37487`: Fix PyList_GetItem index description to include 0." msgstr "" -#: ../NEWS:27072 +#: ../NEWS:27115 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 "" -#: ../NEWS:27075 +#: ../NEWS:27118 msgid "" ":issue:`37478`: Added possible exceptions to the description of os.chdir()." msgstr "" -#: ../NEWS:27077 +#: ../NEWS:27120 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 "" -#: ../NEWS:27080 +#: ../NEWS:27123 msgid "" ":issue:`36260`: Add decompression pitfalls to zipfile module documentation." msgstr "" -#: ../NEWS:27082 +#: ../NEWS:27125 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 "" -#: ../NEWS:27086 +#: ../NEWS:27129 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 "" -#: ../NEWS:27089 +#: ../NEWS:27132 msgid "" ":issue:`36487`: Make C-API docs clear about what the \"main\" interpreter is." msgstr "" -#: ../NEWS:27091 +#: ../NEWS:27134 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 "" -#: ../NEWS:27095 +#: ../NEWS:27138 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 "" -#: ../NEWS:27099 +#: ../NEWS:27142 msgid "" ":issue:`33944`: Added a note about the intended use of code in .pth files." msgstr "" -#: ../NEWS:27101 +#: ../NEWS:27144 msgid "" ":issue:`34293`: Fix the Doc/Makefile regarding PAPER environment variable " "and PDF builds" msgstr "" -#: ../NEWS:27104 +#: ../NEWS:27147 msgid ":issue:`25237`: Add documentation for tkinter modules" msgstr "" -#: ../NEWS:27109 +#: ../NEWS:27152 msgid "" ":issue:`38614`: Fix test_communicate() of test_asyncio.test_subprocess: use " "``support.LONG_TIMEOUT`` (5 minutes), instead of just 1 minute." msgstr "" -#: ../NEWS:27112 +#: ../NEWS:27155 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 "" -#: ../NEWS:27118 +#: ../NEWS:27161 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 "" -#: ../NEWS:27122 +#: ../NEWS:27165 msgid "" ":issue:`35998`: Fix a race condition in test_asyncio." "test_start_tls_server_1(). Previously, there was a race condition between " @@ -47474,14 +47543,14 @@ msgid "" "sends data." msgstr "" -#: ../NEWS:27128 +#: ../NEWS:27171 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 "" -#: ../NEWS:27132 +#: ../NEWS:27175 msgid "" ":issue:`37531`: On timeout, regrtest no longer attempts to call ``popen." "communicate()`` again: it can hang until all child processes using stdout " @@ -47490,11 +47559,11 @@ msgid "" "minutes, for Python slowest buildbots." msgstr "" -#: ../NEWS:27138 +#: ../NEWS:27181 msgid ":issue:`38239`: Fix test_gdb for Link Time Optimization (LTO) builds." msgstr "" -#: ../NEWS:27140 +#: ../NEWS:27183 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 " @@ -47502,7 +47571,7 @@ msgid "" "for platforms that override OpenSSL's default with strict settings." msgstr "" -#: ../NEWS:27145 +#: ../NEWS:27188 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 " @@ -47510,7 +47579,7 @@ msgid "" "encryption instead." msgstr "" -#: ../NEWS:27150 +#: ../NEWS:27193 msgid "" ":issue:`38270`: test.support now has a helper function to check for " "availability of a hash digest function. Several tests are refactored avoid " @@ -47518,7 +47587,7 @@ msgid "" "when MD5 is disabled." msgstr "" -#: ../NEWS:27155 +#: ../NEWS:27198 msgid "" ":issue:`37123`: Multiprocessing test test_mymanager() now also expects -" "SIGTERM, not only exitcode 0. BaseManager._finalize_manager() sends SIGTERM " @@ -47526,98 +47595,98 @@ msgid "" "happens on slow buildbots." msgstr "" -#: ../NEWS:27160 +#: ../NEWS:27203 msgid "" ":issue:`38212`: Multiprocessing tests: increase " "test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." msgstr "" -#: ../NEWS:27163 +#: ../NEWS:27206 msgid ":issue:`38117`: Test with OpenSSL 1.1.1d" msgstr "" -#: ../NEWS:27165 +#: ../NEWS:27208 msgid "" ":issue:`38018`: Increase code coverage for multiprocessing.shared_memory." msgstr "" -#: ../NEWS:27167 +#: ../NEWS:27210 msgid "" ":issue:`37805`: Add tests for json.dump(..., skipkeys=True). Patch by " "Donghee Na." msgstr "" -#: ../NEWS:27170 +#: ../NEWS:27213 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 "" -#: ../NEWS:27174 +#: ../NEWS:27217 msgid ":issue:`37876`: Add tests for ROT-13 codec." msgstr "" -#: ../NEWS:27176 +#: ../NEWS:27219 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 "" -#: ../NEWS:27179 +#: ../NEWS:27222 msgid "" ":issue:`37558`: Fix test_shared_memory_cleaned_after_process_termination " "name handling" msgstr "" -#: ../NEWS:27182 +#: ../NEWS:27225 msgid "" ":issue:`37526`: Add :func:`test.support.catch_threading_exception`: context " "manager catching :class:`threading.Thread` exception using :func:`threading." "excepthook`." msgstr "" -#: ../NEWS:27186 +#: ../NEWS:27229 msgid "" ":issue:`37421`: test_concurrent_futures now explicitly stops the ForkServer " "instance if it's running." msgstr "" -#: ../NEWS:27189 +#: ../NEWS:27232 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 "" -#: ../NEWS:27193 +#: ../NEWS:27236 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 "" -#: ../NEWS:27197 +#: ../NEWS:27240 msgid "" ":issue:`37421`: test_concurrent_futures now cleans up multiprocessing to " "remove immediately temporary directories created by multiprocessing.util." "get_temp_dir()." msgstr "" -#: ../NEWS:27201 +#: ../NEWS:27244 msgid "" ":issue:`37421`: test_winconsoleio doesn't leak a temporary file anymore: use " "tempfile.TemporaryFile() to remove it when the test completes." msgstr "" -#: ../NEWS:27204 +#: ../NEWS:27247 msgid "" ":issue:`37421`: multiprocessing tests now explicitly call " "``_run_finalizers()`` to immediately remove temporary directories created by " "tests." msgstr "" -#: ../NEWS:27207 +#: ../NEWS:27250 msgid "" ":issue:`37421`: urllib.request tests now call :func:`~urllib.request." "urlcleanup` to remove temporary files created by ``urlretrieve()`` tests and " @@ -47625,170 +47694,170 @@ msgid "" "calling indirectly ``urlopen()``." msgstr "" -#: ../NEWS:27212 +#: ../NEWS:27255 msgid ":issue:`37472`: Remove ``Lib/test/outstanding_bugs.py``." msgstr "" -#: ../NEWS:27214 +#: ../NEWS:27257 msgid ":issue:`37199`: Fix test failures when IPv6 is unavailable or disabled." msgstr "" -#: ../NEWS:27216 +#: ../NEWS:27259 msgid "" ":issue:`19696`: Replace deprecated method \"random.choose\" with \"random." "choice\" in \"test_pkg_import.py\"." msgstr "" -#: ../NEWS:27219 +#: ../NEWS:27262 msgid "" ":issue:`37335`: Remove no longer necessary code from c locale coercion tests" msgstr "" -#: ../NEWS:27221 +#: ../NEWS:27264 msgid ":issue:`37421`: Fix test_shutil to no longer leak temporary files." msgstr "" -#: ../NEWS:27223 +#: ../NEWS:27266 msgid "" ":issue:`37411`: Fix test_wsgiref.testEnviron() to no longer depend on the " "environment variables (don't fail if \"X\" variable is set)." msgstr "" -#: ../NEWS:27226 +#: ../NEWS:27269 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 "" -#: ../NEWS:27229 +#: ../NEWS:27272 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 "" -#: ../NEWS:27233 +#: ../NEWS:27276 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 "" -#: ../NEWS:27237 +#: ../NEWS:27280 msgid "" ":issue:`35998`: Avoid TimeoutError in test_asyncio: test_start_tls_server_1()" msgstr "" -#: ../NEWS:27239 +#: ../NEWS:27282 msgid "" ":issue:`37278`: Fix test_asyncio ProactorLoopCtrlC: join the thread to " "prevent leaking a running thread and leaking a reference." msgstr "" -#: ../NEWS:27242 +#: ../NEWS:27285 msgid "" ":issue:`37261`: Fix :func:`test.support.catch_unraisable_exception`: its " "__exit__() method now ignores unraisable exception raised when clearing its " "``unraisable`` attribute." msgstr "" -#: ../NEWS:27246 +#: ../NEWS:27289 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 "" -#: ../NEWS:27250 +#: ../NEWS:27293 msgid "" "Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " "tests." msgstr "" -#: ../NEWS:27253 +#: ../NEWS:27296 msgid "" ":issue:`37252`: Fix assertions in ``test_close`` and " "``test_events_mask_overflow`` devpoll tests." msgstr "" -#: ../NEWS:27256 +#: ../NEWS:27299 msgid ":issue:`37169`: Rewrite ``_PyObject_IsFreed()`` unit tests." msgstr "" -#: ../NEWS:27258 +#: ../NEWS:27301 msgid "" ":issue:`37153`: ``test_venv.test_multiprocessing()`` now explicitly calls " "``pool.terminate()`` to wait until the pool completes." msgstr "" -#: ../NEWS:27261 +#: ../NEWS:27304 msgid "" ":issue:`34001`: Make test_ssl pass with LibreSSL. LibreSSL handles minimum " "and maximum TLS version differently than OpenSSL." msgstr "" -#: ../NEWS:27264 +#: ../NEWS:27307 msgid "" ":issue:`36919`: Make ``test_source_encoding.test_issue2301`` implementation " "independent. The test will work now for both CPython and IronPython." msgstr "" -#: ../NEWS:27267 +#: ../NEWS:27310 msgid "" ":issue:`30202`: Update ``test.test_importlib.test_abc`` to test " "``find_spec()``." msgstr "" -#: ../NEWS:27270 +#: ../NEWS:27313 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 "" -#: ../NEWS:27273 +#: ../NEWS:27316 msgid "" ":issue:`34596`: Fallback to a default reason when :func:`unittest.skip` is " "uncalled. Patch by Naitree Zhu." msgstr "" -#: ../NEWS:27279 +#: ../NEWS:27322 msgid "" ":issue:`38809`: On Windows, build scripts will now recognize and use python." "exe from an active virtual env." msgstr "" -#: ../NEWS:27282 +#: ../NEWS:27325 msgid "" ":issue:`38684`: Fix _hashlib build when Blake2 is disabled, but OpenSSL " "supports it." msgstr "" -#: ../NEWS:27285 +#: ../NEWS:27328 msgid "" ":issue:`38468`: Misc/python-config.in now uses ``getvar()`` for all still " "existing ``sysconfig.get_config_var()`` calls. Patch by Joannah Nanjekye." msgstr "" -#: ../NEWS:27288 +#: ../NEWS:27331 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 "" -#: ../NEWS:27291 +#: ../NEWS:27334 msgid "" ":issue:`38301`: In Solaris family, we must be sure to use ``-D_REENTRANT``. " "Patch by Jesús Cea Avión." msgstr "" -#: ../NEWS:27294 +#: ../NEWS:27337 msgid "" ":issue:`36002`: Locate ``llvm-profdata`` and ``llvm-ar`` binaries using " "``AC_PATH_TOOL`` rather than ``AC_PATH_TARGET_TOOL``." msgstr "" -#: ../NEWS:27297 +#: ../NEWS:27340 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 " @@ -47797,7 +47866,7 @@ msgid "" "ignore files and directories with the same name anywhere in the tree." msgstr "" -#: ../NEWS:27303 +#: ../NEWS:27346 msgid "" ":issue:`37760`: The :file:`Tools/unicode/makeunicodedata.py` script, which " "is used for converting information from the Unicode Character Database into " @@ -47806,27 +47875,27 @@ msgid "" "with named attributes, rather than a length-18 list of different fields." msgstr "" -#: ../NEWS:27310 +#: ../NEWS:27353 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 "" -#: ../NEWS:27313 +#: ../NEWS:27356 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 "" -#: ../NEWS:27317 +#: ../NEWS:27360 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 "" -#: ../NEWS:27321 +#: ../NEWS:27364 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 " @@ -47839,25 +47908,25 @@ msgid "" "depend on the environment, workload, and compiler tool chain." msgstr "" -#: ../NEWS:27331 +#: ../NEWS:27374 msgid "" ":issue:`37468`: ``make install`` no longer installs ``wininst-*.exe`` files " "used by distutils bdist_wininst: bdist_wininst only works on Windows." msgstr "" -#: ../NEWS:27334 +#: ../NEWS:27377 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 "" -#: ../NEWS:27338 +#: ../NEWS:27381 msgid "" ":issue:`25361`: Enables use of SSE2 instructions in Windows 32-bit build." msgstr "" -#: ../NEWS:27340 +#: ../NEWS:27383 msgid "" ":issue:`36210`: Update optional extension module detection for AIX. " "ossaudiodev and spwd are not applicable for AIX, and are no longer reported " @@ -47866,153 +47935,153 @@ msgid "" "libcurses.a. However, skip trying to build _curses_panel." msgstr "" -#: ../NEWS:27346 +#: ../NEWS:27389 msgid "patch by M Felt" msgstr "" -#: ../NEWS:27351 +#: ../NEWS:27394 msgid "" ":issue:`38589`: Fixes HTML Help shortcut when Windows is not installed to C " "drive" msgstr "" -#: ../NEWS:27354 +#: ../NEWS:27397 msgid "" ":issue:`38453`: Ensure ntpath.realpath() correctly resolves relative paths." msgstr "" -#: ../NEWS:27356 +#: ../NEWS:27399 msgid "" ":issue:`38519`: Restores the internal C headers that were missing from the " "nuget.org and Microsoft Store packages." msgstr "" -#: ../NEWS:27359 +#: ../NEWS:27402 msgid "" ":issue:`38492`: Remove ``pythonw.exe`` dependency on the Microsoft C++ " "runtime." msgstr "" -#: ../NEWS:27361 +#: ../NEWS:27404 msgid ":issue:`38344`: Fix error message in activate.bat" msgstr "" -#: ../NEWS:27363 +#: ../NEWS:27406 msgid "" ":issue:`38359`: Ensures ``pyw.exe`` launcher reads correct registry key." msgstr "" -#: ../NEWS:27365 +#: ../NEWS:27408 msgid "" ":issue:`38355`: Fixes ``ntpath.realpath`` failing on ``sys.executable``." msgstr "" -#: ../NEWS:27367 +#: ../NEWS:27410 msgid ":issue:`38117`: Update bundled OpenSSL to 1.1.1d" msgstr "" -#: ../NEWS:27369 +#: ../NEWS:27412 msgid "" ":issue:`38092`: Reduce overhead when using multiprocessing in a Windows " "virtual environment." msgstr "" -#: ../NEWS:27372 +#: ../NEWS:27415 msgid "" ":issue:`38133`: Allow py.exe launcher to locate installations from the " "Microsoft Store and improve display of active virtual environments." msgstr "" -#: ../NEWS:27375 +#: ../NEWS:27418 msgid "" ":issue:`38114`: The ``pip.ini`` is no longer included in the Nuget package." msgstr "" -#: ../NEWS:27377 +#: ../NEWS:27420 msgid "" ":issue:`32592`: Set Windows 8 as the minimum required version for API support" msgstr "" -#: ../NEWS:27379 +#: ../NEWS:27422 msgid "" ":issue:`36634`: :func:`os.cpu_count` now returns active processors rather " "than maximum processors." msgstr "" -#: ../NEWS:27382 +#: ../NEWS:27425 msgid "" ":issue:`36634`: venv activate.bat now works when the existing variables " "contain double quote characters." msgstr "" -#: ../NEWS:27385 +#: ../NEWS:27428 msgid "" ":issue:`38081`: Prevent error calling :func:`os.path.realpath` on ``'NUL'``." msgstr "" -#: ../NEWS:27387 +#: ../NEWS:27430 msgid ":issue:`38087`: Fix case sensitivity in test_pathlib and test_ntpath." msgstr "" -#: ../NEWS:27389 +#: ../NEWS:27432 msgid "" ":issue:`38088`: Fixes distutils not finding vcruntime140.dll with only the " "v142 toolset installed." msgstr "" -#: ../NEWS:27392 +#: ../NEWS:27435 msgid "" ":issue:`37283`: Ensure command-line and unattend.xml setting override " "previously detected states in Windows installer." msgstr "" -#: ../NEWS:27395 +#: ../NEWS:27438 msgid "" ":issue:`38030`: Fixes :func:`os.stat` failing for block devices on Windows" msgstr "" -#: ../NEWS:27397 +#: ../NEWS:27440 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 "" -#: ../NEWS:27401 +#: ../NEWS:27444 msgid ":issue:`37705`: Improve the implementation of ``winerror_to_errno()``." msgstr "" -#: ../NEWS:27403 +#: ../NEWS:27446 msgid "" ":issue:`37549`: :func:`os.dup` no longer fails for standard streams on " "Windows 7." msgstr "" -#: ../NEWS:27406 +#: ../NEWS:27449 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 "" -#: ../NEWS:27410 +#: ../NEWS:27453 msgid "" ":issue:`9949`: Enable support for following symlinks in :func:`os.realpath`." msgstr "" -#: ../NEWS:27412 +#: ../NEWS:27455 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 "" -#: ../NEWS:27416 +#: ../NEWS:27459 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 "" -#: ../NEWS:27420 +#: ../NEWS:27463 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 " @@ -48021,109 +48090,109 @@ msgid "" "the problem." msgstr "" -#: ../NEWS:27426 +#: ../NEWS:27469 msgid "" ":issue:`37778`: Fixes the icons used for file associations to the Microsoft " "Store package." msgstr "" -#: ../NEWS:27429 +#: ../NEWS:27472 msgid "" ":issue:`37734`: Fix use of registry values to launch Python from Microsoft " "Store app." msgstr "" -#: ../NEWS:27432 +#: ../NEWS:27475 msgid "" ":issue:`37702`: Fix memory leak on Windows in creating an SSLContext object " "or running ``urllib.request.urlopen('https://...')``." msgstr "" -#: ../NEWS:27435 +#: ../NEWS:27478 msgid "" ":issue:`37672`: Switch Windows Store package's pip to use bundled :file:`pip." "ini` instead of :envvar:`PIP_USER` variable." msgstr "" -#: ../NEWS:27438 +#: ../NEWS:27481 msgid "" ":issue:`10945`: Officially drop support for creating bdist_wininst " "installers on non-Windows systems." msgstr "" -#: ../NEWS:27441 +#: ../NEWS:27484 msgid "" ":issue:`37445`: Include the ``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in " "``FormatMessageW()`` calls." msgstr "" -#: ../NEWS:27444 +#: ../NEWS:27487 msgid "" ":issue:`37369`: Fixes path for :data:`sys.executable` when running from the " "Microsoft Store." msgstr "" -#: ../NEWS:27447 +#: ../NEWS:27490 msgid "" ":issue:`37380`: Don't collect unfinished processes with ``subprocess." "_active`` on Windows to cleanup later. Patch by Ruslan Kuprieiev." msgstr "" -#: ../NEWS:27450 +#: ../NEWS:27493 msgid "" ":issue:`37351`: Removes libpython38.a from standard Windows distribution." msgstr "" -#: ../NEWS:27452 +#: ../NEWS:27495 msgid ":issue:`35360`: Update Windows builds to use SQLite 3.28.0." msgstr "" -#: ../NEWS:27454 +#: ../NEWS:27497 msgid "" ":issue:`37267`: On Windows, :func:`os.dup` no longer creates an inheritable " "fd when handling a character file." msgstr "" -#: ../NEWS:27457 +#: ../NEWS:27500 msgid "" ":issue:`36779`: Ensure ``time.tzname`` is correct on Windows when the active " "code page is set to CP_UTF7 or CP_UTF8." msgstr "" -#: ../NEWS:27460 +#: ../NEWS:27503 msgid "" ":issue:`32587`: Make :const:`winreg.REG_MULTI_SZ` support zero-length " "strings." msgstr "" -#: ../NEWS:27462 +#: ../NEWS:27505 msgid "" ":issue:`28269`: Replace use of :c:func:`strcasecmp` for the system function :" "c:func:`!_stricmp`. Patch by Minmin Gong." msgstr "" -#: ../NEWS:27465 +#: ../NEWS:27508 msgid ":issue:`36590`: Add native Bluetooth RFCOMM support to socket module." msgstr "" -#: ../NEWS:27470 +#: ../NEWS:27513 msgid ":issue:`38117`: Updated OpenSSL to 1.1.1d in macOS installer." msgstr "" -#: ../NEWS:27472 +#: ../NEWS:27515 msgid "" ":issue:`38089`: Move Azure Pipelines to latest VM versions and make macOS " "tests optional" msgstr "" -#: ../NEWS:27475 +#: ../NEWS:27518 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 "" -#: ../NEWS:27479 +#: ../NEWS:27522 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 " @@ -48131,159 +48200,159 @@ msgid "" "a larger default stack size." msgstr "" -#: ../NEWS:27484 +#: ../NEWS:27527 msgid ":issue:`35360`: Update macOS installer to use SQLite 3.28.0." msgstr "" -#: ../NEWS:27486 +#: ../NEWS:27529 msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in macOS installer." msgstr "" -#: ../NEWS:27491 +#: ../NEWS:27534 msgid ":issue:`26353`: Stop adding newline when saving an IDLE shell window." msgstr "" -#: ../NEWS:27493 +#: ../NEWS:27536 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 "" -#: ../NEWS:27497 +#: ../NEWS:27540 msgid ":issue:`38598`: Do not try to compile IDLE shell or output windows" msgstr "" -#: ../NEWS:27499 +#: ../NEWS:27542 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 "" -#: ../NEWS:27503 +#: ../NEWS:27546 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 "" -#: ../NEWS:27507 +#: ../NEWS:27550 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 "" -#: ../NEWS:27511 +#: ../NEWS:27554 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 "" -#: ../NEWS:27514 +#: ../NEWS:27557 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 "" -#: ../NEWS:27518 +#: ../NEWS:27561 msgid "" ":issue:`35771`: To avoid occasional spurious test_idle failures on slower " "machines, increase the ``hover_delay`` in test_tooltip." msgstr "" -#: ../NEWS:27521 +#: ../NEWS:27564 msgid "" ":issue:`37824`: Properly handle user input warnings in IDLE shell. Cease " "turning SyntaxWarnings into SyntaxErrors." msgstr "" -#: ../NEWS:27524 +#: ../NEWS:27567 msgid "" ":issue:`37929`: IDLE Settings dialog now closes properly when there is no " "shell window." msgstr "" -#: ../NEWS:27527 +#: ../NEWS:27570 msgid "" ":issue:`37902`: Add mousewheel scrolling for IDLE module, path, and stack " "browsers. Patch by George Zhang." msgstr "" -#: ../NEWS:27530 +#: ../NEWS:27573 msgid "" ":issue:`37849`: Fixed completions list appearing too high or low when shown " "above the current line." msgstr "" -#: ../NEWS:27533 +#: ../NEWS:27576 msgid ":issue:`36419`: Refactor IDLE autocomplete and improve testing." msgstr "" -#: ../NEWS:27535 +#: ../NEWS:27578 msgid "" ":issue:`37748`: Reorder the Run menu. Put the most common choice, Run " "Module, at the top." msgstr "" -#: ../NEWS:27538 +#: ../NEWS:27581 msgid "" ":issue:`37692`: Improve highlight config sample with example shell " "interaction and better labels for shell elements." msgstr "" -#: ../NEWS:27541 +#: ../NEWS:27584 msgid ":issue:`37628`: Settings dialog no longer expands with font size." msgstr "" -#: ../NEWS:27543 +#: ../NEWS:27586 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 "" -#: ../NEWS:27547 +#: ../NEWS:27590 msgid "" ":issue:`33610`: Fix code context not showing the correct context when first " "toggled on." msgstr "" -#: ../NEWS:27550 +#: ../NEWS:27593 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 "" -#: ../NEWS:27554 +#: ../NEWS:27597 msgid "" ":issue:`27452`: Cleanup ``config.py`` by inlining ``RemoveFile`` and " "simplifying the handling of ``file`` in ``CreateConfigHandlers``." msgstr "" -#: ../NEWS:27557 +#: ../NEWS:27600 msgid "" ":issue:`37325`: Fix tab focus traversal order for help source and custom run " "dialogs." msgstr "" -#: ../NEWS:27560 +#: ../NEWS:27603 msgid "" ":issue:`37321`: Both subprocess connection error messages now refer to the " "'Startup failure' section of the IDLE doc." msgstr "" -#: ../NEWS:27563 +#: ../NEWS:27606 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 "" -#: ../NEWS:27567 +#: ../NEWS:27610 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 " @@ -48291,14 +48360,14 @@ msgid "" "this addition mostly transparent." msgstr "" -#: ../NEWS:27572 +#: ../NEWS:27615 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 "" -#: ../NEWS:27576 +#: ../NEWS:27619 msgid "" ":issue:`37039`: Adjust \"Zoom Height\" to individual screens by momentarily " "maximizing the window on first use with a particular screen. Changing " @@ -48306,76 +48375,76 @@ msgid "" "maximized, \"Zoom Height\" has no effect." msgstr "" -#: ../NEWS:27581 +#: ../NEWS:27624 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 "" -#: ../NEWS:27584 +#: ../NEWS:27627 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 "" -#: ../NEWS:27588 +#: ../NEWS:27631 msgid "" ":issue:`36390`: Gather Format menu functions into format.py. Combine " "paragraph.py, rstrip.py, and format methods from editor.py." msgstr "" -#: ../NEWS:27594 +#: ../NEWS:27637 msgid "" ":issue:`38118`: Update Valgrind suppression file to ignore a false alarm in :" "c:func:`PyUnicode_Decode` when using GCC builtin strcmp()." msgstr "" -#: ../NEWS:27597 +#: ../NEWS:27640 msgid "" ":issue:`38347`: pathfix.py: Assume all files that end on '.py' are Python " "scripts when working recursively." msgstr "" -#: ../NEWS:27600 +#: ../NEWS:27643 msgid "" ":issue:`37803`: pdb's ``--help`` and ``--version`` long options now work." msgstr "" -#: ../NEWS:27602 +#: ../NEWS:27645 msgid ":issue:`37942`: Improve ArgumentClinic converter for floats." msgstr "" -#: ../NEWS:27604 +#: ../NEWS:27647 msgid "" ":issue:`37704`: Remove ``Tools/scripts/h2py.py``: use cffi to access a C API " "in Python." msgstr "" -#: ../NEWS:27607 +#: ../NEWS:27650 msgid ":issue:`37675`: 2to3 now works when run from a zipped standard library." msgstr "" -#: ../NEWS:27609 +#: ../NEWS:27652 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 "" -#: ../NEWS:27613 +#: ../NEWS:27656 msgid "" ":issue:`37064`: Add option -k to pathscript.py script: preserve shebang " "flags. Add option -a to pathscript.py script: add flags." msgstr "" -#: ../NEWS:27619 +#: ../NEWS:27662 msgid "" ":issue:`37633`: Re-export some function compatibility wrappers for macros in " "``pythonrun.h``." msgstr "" -#: ../NEWS:27622 +#: ../NEWS:27665 msgid "" ":issue:`38644`: Provide :c:func:`Py_EnterRecursiveCall` and :c:func:" "`Py_LeaveRecursiveCall` as regular functions for the limited API. " @@ -48384,20 +48453,20 @@ msgid "" "Remove ``_Py_CheckRecursionLimit`` from the stable ABI." msgstr "" -#: ../NEWS:27628 +#: ../NEWS:27671 msgid "" ":issue:`38650`: The global variable :c:data:`PyStructSequence_UnnamedField` " "is now a constant and refers to a constant string." msgstr "" -#: ../NEWS:27631 +#: ../NEWS:27674 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 "" -#: ../NEWS:27635 +#: ../NEWS:27678 msgid "" ":issue:`38395`: Fix a crash in :class:`weakref.proxy` objects due to " "incorrect lifetime management when calling some associated methods that may " @@ -48405,52 +48474,52 @@ msgid "" "Pablo Galindo." msgstr "" -#: ../NEWS:27640 +#: ../NEWS:27683 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 "" -#: ../NEWS:27644 +#: ../NEWS:27687 msgid "" ":issue:`38266`: Revert the removal of PyThreadState_DeleteCurrent() with " "documentation." msgstr "" -#: ../NEWS:27647 +#: ../NEWS:27690 msgid "" ":issue:`38303`: Update audioop extension module to use the stable ABI " "(PEP-384). Patch by Tyler Kieft." msgstr "" -#: ../NEWS:27650 +#: ../NEWS:27693 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 "" -#: ../NEWS:27654 +#: ../NEWS:27697 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 "" -#: ../NEWS:27658 +#: ../NEWS:27701 msgid "" ":issue:`38205`: The :c:func:`Py_UNREACHABLE` macro now calls :c:func:" "`Py_FatalError`." msgstr "" -#: ../NEWS:27661 +#: ../NEWS:27704 msgid "" ":issue:`38140`: Make dict and weakref offsets opaque for C heap types by " "passing the offsets through PyMemberDef" msgstr "" -#: ../NEWS:27664 +#: ../NEWS:27707 msgid "" ":issue:`15088`: The C function ``PyGen_NeedsFinalizing`` has been removed. " "It was not documented, tested or used anywhere within CPython after the " @@ -48458,29 +48527,29 @@ msgid "" "Nanjekye)" msgstr "" -#: ../NEWS:27669 +#: ../NEWS:27712 msgid "" ":issue:`36763`: Options added by ``PySys_AddXOption()`` are now handled the " "same way than ``PyConfig.xoptions`` and command line ``-X`` options." msgstr "" -#: ../NEWS:27672 +#: ../NEWS:27715 msgid ":issue:`37926`: Fix a crash in ``PySys_SetArgvEx(0, NULL, 0)``." msgstr "" -#: ../NEWS:27674 +#: ../NEWS:27717 msgid "" ":issue:`37879`: Fix subtype_dealloc to suppress the type decref when the " "base type is a C heap type" msgstr "" -#: ../NEWS:27677 +#: ../NEWS:27720 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 "" -#: ../NEWS:27680 +#: ../NEWS:27723 msgid "" ":issue:`29548`: The functions ``PyEval_CallObject``, " "``PyEval_CallFunction``, ``PyEval_CallMethod`` and " @@ -48488,54 +48557,54 @@ msgid "" "`PyObject_Call` and its variants instead." msgstr "" -#: ../NEWS:27684 +#: ../NEWS:27727 msgid "" ":issue:`37151`: ``PyCFunction_Call`` is now a deprecated alias of :c:func:" "`PyObject_Call`." msgstr "" -#: ../NEWS:27687 +#: ../NEWS:27730 msgid "" ":issue:`37540`: The vectorcall protocol now requires that the caller passes " "only strings as keyword names." msgstr "" -#: ../NEWS:27690 +#: ../NEWS:27733 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 "" -#: ../NEWS:27694 +#: ../NEWS:27737 msgid "" ":issue:`21120`: Exclude Python-ast.h, ast.h and asdl.h from the limited API." msgstr "" -#: ../NEWS:27696 +#: ../NEWS:27739 msgid "" ":issue:`37483`: Add new function ``_PyObject_CallOneArg`` for calling an " "object with one positional argument." msgstr "" -#: ../NEWS:27699 +#: ../NEWS:27742 msgid ":issue:`36763`: Add :c:func:`PyConfig_SetWideStringList` function." msgstr "" -#: ../NEWS:27701 +#: ../NEWS:27744 msgid "" ":issue:`37337`: Add fast functions for calling methods: :c:func:`!" "_PyObject_VectorcallMethod`, :c:func:`!_PyObject_CallMethodNoArgs` and :c:" "func:`!_PyObject_CallMethodOneArg`." msgstr "" -#: ../NEWS:27706 +#: ../NEWS:27749 msgid "" ":issue:`28805`: The :c:macro:`METH_FASTCALL` calling convention has been " "documented." msgstr "" -#: ../NEWS:27709 +#: ../NEWS:27752 msgid "" ":issue:`37221`: The new function :c:func:`!PyCode_NewWithPosOnlyArgs` allows " "to create code objects like :c:func:`!PyCode_New`, but with an extra " @@ -48543,11 +48612,11 @@ msgid "" "arguments." msgstr "" -#: ../NEWS:27714 +#: ../NEWS:27757 msgid ":issue:`37215`: Fix dtrace issue introduce by :issue:`36842`" msgstr "" -#: ../NEWS:27716 +#: ../NEWS:27759 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 " @@ -48557,65 +48626,65 @@ msgid "" "bytes per call." msgstr "" -#: ../NEWS:27723 +#: ../NEWS:27766 msgid "" ":issue:`37170`: Fix the cast on error in :c:func:" "`PyLong_AsUnsignedLongLongMask()`." msgstr "" -#: ../NEWS:27726 +#: ../NEWS:27769 msgid "" ":issue:`35381`: Convert posixmodule.c statically allocated types " "``DirEntryType`` and ``ScandirIteratorType`` to heap-allocated types." msgstr "" -#: ../NEWS:27729 +#: ../NEWS:27772 msgid "" ":issue:`34331`: Use singular/plural noun in error message when instantiating " "an abstract class with non-overridden abstract method(s)." msgstr "" -#: ../NEWS:27734 +#: ../NEWS:27777 msgid "Python 3.8.0 beta 1" msgstr "" -#: ../NEWS:27736 +#: ../NEWS:27779 msgid "*Release date: 2019-06-04*" msgstr "" -#: ../NEWS:27741 +#: ../NEWS:27784 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 "" -#: ../NEWS:27746 +#: ../NEWS:27789 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 "" -#: ../NEWS:27750 +#: ../NEWS:27793 msgid "" ":issue:`33164`: Updated blake2 implementation which uses secure memset " "implementation provided by platform." msgstr "" -#: ../NEWS:27756 +#: ../NEWS:27799 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 "" -#: ../NEWS:27760 +#: ../NEWS:27803 msgid "" ":issue:`37126`: All structseq objects are now tracked by the garbage " "collector. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:27763 +#: ../NEWS:27806 msgid "" ":issue:`37122`: Make the *co_argcount* attribute of code objects represent " "the total number of positional arguments (including positional-only " @@ -48625,7 +48694,7 @@ msgid "" "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:27770 +#: ../NEWS:27813 msgid "" ":issue:`20092`: Constructors of :class:`int`, :class:`float` and :class:" "`complex` will now use the :meth:`~object.__index__` special method, if " @@ -48633,22 +48702,22 @@ msgid "" "`~object.__float__` or :meth:`~object.__complex__` is not available." msgstr "" -#: ../NEWS:27775 +#: ../NEWS:27818 msgid ":issue:`37087`: Add native thread ID (TID) support to OpenBSD." msgstr "" -#: ../NEWS:27777 +#: ../NEWS:27820 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 "" -#: ../NEWS:27781 +#: ../NEWS:27824 msgid ":issue:`37072`: Fix crash in PyAST_FromNodeObject() when flags is NULL." msgstr "" -#: ../NEWS:27783 +#: ../NEWS:27826 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 " @@ -48659,13 +48728,13 @@ msgid "" "this can greatly reduce the time needed to release their memory." msgstr "" -#: ../NEWS:27792 +#: ../NEWS:27835 msgid "" ":issue:`26423`: Fix possible overflow in ``wrap_lenfunc()`` when " "``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit Windows)." msgstr "" -#: ../NEWS:27795 +#: ../NEWS:27838 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 " @@ -48673,7 +48742,7 @@ msgid "" "(possibly merged with adjacent constant expressions inside the f-string)." msgstr "" -#: ../NEWS:27800 +#: ../NEWS:27843 msgid "" ":issue:`22385`: The ``bytes.hex``, ``bytearray.hex``, and ``memoryview.hex`` " "methods as well as the ``binascii.hexlify`` and ``b2a_hex`` functions now " @@ -48681,23 +48750,23 @@ msgid "" "functionality was inspired by MicroPython's hexlify implementation." msgstr "" -#: ../NEWS:27805 +#: ../NEWS:27848 msgid ":issue:`26836`: Add :func:`os.memfd_create`." msgstr "" -#: ../NEWS:27807 +#: ../NEWS:27850 msgid "" ":issue:`37032`: Added new ``replace()`` method to the code type (:class:" "`types.CodeType`)." msgstr "" -#: ../NEWS:27810 +#: ../NEWS:27853 msgid "" ":issue:`37007`: Implement :func:`socket.if_nameindex`, :func:`socket." "if_nametoindex`, and :func:`socket.if_indextoname` on Windows." msgstr "" -#: ../NEWS:27814 +#: ../NEWS:27857 msgid "" ":issue:`36829`: :c:func:`PyErr_WriteUnraisable` now creates a traceback " "object if there is no current traceback. Moreover, call :c:func:" @@ -48705,72 +48774,72 @@ msgid "" "normalize the exception value. Ignore any error." msgstr "" -#: ../NEWS:27819 +#: ../NEWS:27862 msgid "" ":issue:`36878`: Only accept text after ``# type: ignore`` if the first " "character is ASCII. This is to disallow things like ``# type: ignoreé``." msgstr "" -#: ../NEWS:27822 +#: ../NEWS:27865 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 "" -#: ../NEWS:27826 +#: ../NEWS:27869 msgid "" ":issue:`2180`: Treat line continuation at EOF as a ``SyntaxError`` by " "Anthony Sottile." msgstr "" -#: ../NEWS:27829 +#: ../NEWS:27872 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 "" -#: ../NEWS:27833 +#: ../NEWS:27876 msgid "" ":issue:`36946`: Fix possible signed integer overflow when handling slices." msgstr "" -#: ../NEWS:27835 +#: ../NEWS:27878 msgid ":issue:`36826`: Add NamedExpression kind support to ast_unparse.c" msgstr "" -#: ../NEWS:27837 +#: ../NEWS:27880 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 "" -#: ../NEWS:27841 +#: ../NEWS:27884 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 "" -#: ../NEWS:27845 +#: ../NEWS:27888 msgid ":issue:`36861`: Update the Unicode database to version 12.1.0." msgstr "" -#: ../NEWS:27847 +#: ../NEWS:27890 msgid "" ":issue:`28866`: Avoid caching attributes of classes which type defines mro() " "to avoid a hard cache invalidation problem." msgstr "" -#: ../NEWS:27850 +#: ../NEWS:27893 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 "" -#: ../NEWS:27853 +#: ../NEWS:27896 msgid "" ":issue:`34616`: The ``compile()`` builtin functions now support the ``ast." "PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, which allow to compile sources that " @@ -48779,25 +48848,25 @@ msgid "" "example in a custom REPL." msgstr "" -#: ../NEWS:27859 +#: ../NEWS:27902 msgid "" ":issue:`36842`: Implement PEP 578, adding sys.audit, io.open_code and " "related APIs." msgstr "" -#: ../NEWS:27862 +#: ../NEWS:27905 msgid "" ":issue:`27639`: Correct return type for UserList slicing operations. Patch " "by Michael Blahay, Erick Cervantes, and vaultah" msgstr "" -#: ../NEWS:27865 +#: ../NEWS:27908 msgid "" ":issue:`36737`: Move PyRuntimeState.warnings into per-interpreter state (via " "\"module state\")." msgstr "" -#: ../NEWS:27868 +#: ../NEWS:27911 msgid "" ":issue:`36793`: Removed ``__str__`` implementations from builtin types :" "class:`bool`, :class:`int`, :class:`float`, :class:`complex` and few classes " @@ -48805,7 +48874,7 @@ msgid "" "`object`." msgstr "" -#: ../NEWS:27873 +#: ../NEWS:27916 msgid "" ":issue:`36817`: Add a ``=`` feature f-strings for debugging. This can " "precede ``!s``, ``!r``, or ``!a``. It produces the text of the expression, " @@ -48816,49 +48885,49 @@ msgid "" "unchanged, and __format__ will be used." msgstr "" -#: ../NEWS:27881 +#: ../NEWS:27924 msgid "" ":issue:`24048`: Save the live exception during import.c's " "``remove_module()``." msgstr "" -#: ../NEWS:27883 +#: ../NEWS:27926 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 "" -#: ../NEWS:27887 +#: ../NEWS:27930 msgid "" ":issue:`36601`: A long-since-meaningless check for ``getpid() == main_pid`` " "was removed from Python's internal C signal handler." msgstr "" -#: ../NEWS:27890 +#: ../NEWS:27933 msgid "" ":issue:`36594`: Fix incorrect use of ``%p`` in format strings. Patch by " "Zackery Spytz." msgstr "" -#: ../NEWS:27893 +#: ../NEWS:27936 msgid "" ":issue:`36045`: ``builtins.help()`` now prefixes ``async`` for async " "functions." msgstr "" -#: ../NEWS:27895 +#: ../NEWS:27938 msgid "" ":issue:`36084`: Add native thread ID (TID) to threading.Thread objects " "(supported platforms: Windows, FreeBSD, Linux, macOS)" msgstr "" -#: ../NEWS:27898 +#: ../NEWS:27941 msgid "" ":issue:`36035`: Added fix for broken symlinks in combination with pathlib" msgstr "" -#: ../NEWS:27900 +#: ../NEWS:27943 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 " @@ -48866,84 +48935,84 @@ msgid "" "mechanism. Patch by Jeroen Demeyer." msgstr "" -#: ../NEWS:27905 +#: ../NEWS:27948 msgid "" ":issue:`20602`: Do not clear :data:`sys.flags` and :data:`sys.float_info` " "during shutdown. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:27908 +#: ../NEWS:27951 msgid "" ":issue:`26826`: Expose :func:`copy_file_range` as a low level API in the :" "mod:`os` module." msgstr "" -#: ../NEWS:27911 +#: ../NEWS:27954 msgid "" ":issue:`32388`: Remove cross-version binary compatibility requirement in " "tp_flags." msgstr "" -#: ../NEWS:27914 +#: ../NEWS:27957 msgid "" ":issue:`31862`: Port binascii to PEP 489 multiphase initialization. Patch by " "Marcel Plch." msgstr "" -#: ../NEWS:27920 +#: ../NEWS:27963 msgid ":issue:`37128`: Added :func:`math.perm`." msgstr "" -#: ../NEWS:27922 +#: ../NEWS:27965 msgid "" ":issue:`37120`: Add SSLContext.num_tickets to control the number of TLSv1.3 " "session tickets." msgstr "" -#: ../NEWS:27925 +#: ../NEWS:27968 msgid "" ":issue:`12202`: Fix the error handling in :meth:`!msilib.SummaryInformation." "GetProperty`. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:27928 +#: ../NEWS:27971 msgid "" ":issue:`26835`: The fcntl module now contains file sealing constants for " "sealing of memfds." msgstr "" -#: ../NEWS:27931 +#: ../NEWS:27974 msgid "" ":issue:`29262`: Add ``get_origin()`` and ``get_args()`` introspection " "helpers to ``typing`` module." msgstr "" -#: ../NEWS:27934 +#: ../NEWS:27977 msgid "" ":issue:`12639`: :meth:`!msilib.Directory.start_component` no longer fails if " "*keyfile* is not ``None``." msgstr "" -#: ../NEWS:27937 +#: ../NEWS:27980 msgid "" ":issue:`36999`: Add the ``asyncio.Task.get_coro()`` method to publicly " "expose the tasks's coroutine object." msgstr "" -#: ../NEWS:27940 +#: ../NEWS:27983 msgid "" ":issue:`35246`: Make :func:`asyncio.create_subprocess_exec` accept path-like " "arguments." msgstr "" -#: ../NEWS:27943 +#: ../NEWS:27986 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 "" -#: ../NEWS:27947 +#: ../NEWS:27990 msgid "" ":issue:`37076`: :func:`_thread.start_new_thread` now logs uncaught exception " "raised by the function using :func:`sys.unraisablehook`, rather than :func:" @@ -48951,13 +49020,13 @@ msgid "" "exception." msgstr "" -#: ../NEWS:27952 +#: ../NEWS:27995 msgid "" ":issue:`33725`: On macOS, the :mod:`multiprocessing` module now uses *spawn* " "start method by default." msgstr "" -#: ../NEWS:27955 +#: ../NEWS:27998 msgid "" ":issue:`37054`: Fix destructor :class:`!_pyio.BytesIO` and :class:`!_pyio." "TextIOWrapper`: initialize their ``_buffer`` attribute as soon as possible " @@ -48965,41 +49034,41 @@ msgid "" "``close()``." msgstr "" -#: ../NEWS:27960 +#: ../NEWS:28003 msgid "" ":issue:`37058`: PEP 544: Add ``Protocol`` and ``@runtime_checkable`` to the " "``typing`` module." msgstr "" -#: ../NEWS:27963 +#: ../NEWS:28006 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 "" -#: ../NEWS:27967 +#: ../NEWS:28010 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 "" -#: ../NEWS:27971 +#: ../NEWS:28014 msgid ":issue:`37049`: PEP 589: Add ``TypedDict`` to the ``typing`` module." msgstr "" -#: ../NEWS:27973 +#: ../NEWS:28016 msgid ":issue:`37046`: PEP 586: Add ``Literal`` to the ``typing`` module." msgstr "" -#: ../NEWS:27975 +#: ../NEWS:28018 msgid "" ":issue:`37045`: PEP 591: Add ``Final`` qualifier and ``@final`` decorator to " "the ``typing`` module." msgstr "" -#: ../NEWS:27978 +#: ../NEWS:28021 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 " @@ -49008,41 +49077,41 @@ msgid "" "asyncio logs." msgstr "" -#: ../NEWS:27984 +#: ../NEWS:28027 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 "" -#: ../NEWS:27988 +#: ../NEWS:28031 msgid ":issue:`37028`: Implement asyncio REPL" msgstr "" -#: ../NEWS:27990 +#: ../NEWS:28033 msgid "" ":issue:`37027`: Return safe to use proxy socket object from transport." "get_extra_info('socket')" msgstr "" -#: ../NEWS:27993 +#: ../NEWS:28036 msgid ":issue:`32528`: Make asyncio.CancelledError a BaseException." msgstr "" -#: ../NEWS:27995 +#: ../NEWS:28038 msgid "" "This will address the common mistake many asyncio users make: an \"except " "Exception\" clause breaking Tasks cancellation." msgstr "" -#: ../NEWS:27998 +#: ../NEWS:28041 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 "" -#: ../NEWS:28002 +#: ../NEWS:28045 msgid "" ":issue:`1230540`: Add a new :func:`threading.excepthook` function which " "handles uncaught :meth:`threading.Thread.run` exception. It can be " @@ -49050,56 +49119,56 @@ msgid "" "are handled." msgstr "" -#: ../NEWS:28006 +#: ../NEWS:28049 msgid "" ":issue:`36996`: Handle :func:`unittest.mock.patch` used as a decorator on " "async functions." msgstr "" -#: ../NEWS:28009 +#: ../NEWS:28052 msgid "" ":issue:`37008`: Add support for calling :func:`next` with the mock resulting " "from :func:`unittest.mock.mock_open`" msgstr "" -#: ../NEWS:28012 +#: ../NEWS:28055 msgid "" ":issue:`27737`: Allow whitespace only header encoding in ``email.header`` - " "by Batuhan Taskaya" msgstr "" -#: ../NEWS:28015 +#: ../NEWS:28058 msgid "" ":issue:`36969`: PDB command ``args`` now display positional only arguments. " "Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:28018 +#: ../NEWS:28061 msgid "" ":issue:`36969`: PDB command ``args`` now display keyword only arguments. " "Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:28021 +#: ../NEWS:28064 msgid "" ":issue:`36983`: Add missing names to ``typing.__all__``: ``ChainMap``, " "``ForwardRef``, ``OrderedDict`` - by Anthony Sottile." msgstr "" -#: ../NEWS:28024 +#: ../NEWS:28067 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 "" -#: ../NEWS:28028 +#: ../NEWS:28071 msgid "" ":issue:`32972`: Implement ``unittest.IsolatedAsyncioTestCase`` to help " "testing asyncio-based code." msgstr "" -#: ../NEWS:28031 +#: ../NEWS:28074 msgid "" ":issue:`36952`: :func:`fileinput.input` and :class:`fileinput.FileInput` " "**bufsize** argument has been removed (was deprecated and ignored since " @@ -49107,7 +49176,7 @@ msgid "" "been made keyword-only." msgstr "" -#: ../NEWS:28036 +#: ../NEWS:28079 msgid "" ":issue:`36952`: Starting with Python 3.3, importing ABCs from :mod:" "`collections` is deprecated, and import should be done from :mod:" @@ -49116,58 +49185,58 @@ msgid "" "``DeprecationWarning`` clarified." msgstr "" -#: ../NEWS:28042 +#: ../NEWS:28085 msgid ":issue:`36949`: Implement __repr__ for WeakSet objects." msgstr "" -#: ../NEWS:28044 +#: ../NEWS:28087 msgid "" ":issue:`36948`: Fix :exc:`NameError` in :meth:`urllib.request.URLopener." "retrieve`. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:28048 +#: ../NEWS:28091 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 "" -#: ../NEWS:28052 +#: ../NEWS:28095 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 "" -#: ../NEWS:28056 +#: ../NEWS:28099 msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." msgstr "" -#: ../NEWS:28058 +#: ../NEWS:28101 msgid "" ":issue:`36888`: Python child processes can now access the status of their " "parent process using multiprocessing.process.parent_process" msgstr "" -#: ../NEWS:28061 +#: ../NEWS:28104 msgid ":issue:`36921`: Deprecate ``@coroutine`` for sake of ``async def``." msgstr "" -#: ../NEWS:28063 +#: ../NEWS:28106 msgid "" ":issue:`25652`: Fix bug in ``__rmod__`` of ``UserString`` - by Batuhan " "Taskaya." msgstr "" -#: ../NEWS:28065 +#: ../NEWS:28108 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 "" -#: ../NEWS:28069 +#: ../NEWS:28112 msgid "" ":issue:`36889`: Introduce :class:`asyncio.Stream` class that merges :class:" "`asyncio.StreamReader` and :class:`asyncio.StreamWriter` functionality. :" @@ -49184,53 +49253,53 @@ msgid "" "StreamReaderProtocol` outside of asyncio package." msgstr "" -#: ../NEWS:28085 +#: ../NEWS:28128 msgid "" ":issue:`36845`: Added validation of integer prefixes to the construction of " "IP networks and interfaces in the ipaddress module." msgstr "" -#: ../NEWS:28088 +#: ../NEWS:28131 msgid ":issue:`23378`: Add an extend action to argparser." msgstr "" -#: ../NEWS:28090 +#: ../NEWS:28133 msgid "" ":issue:`36867`: Fix a bug making a SharedMemoryManager instance and its " "parent process use two separate resource_tracker processes." msgstr "" -#: ../NEWS:28093 +#: ../NEWS:28136 msgid "" ":issue:`23896`: Adds a grammar to lib2to3.pygram that contains exec as a " "function not as statement." msgstr "" -#: ../NEWS:28096 +#: ../NEWS:28139 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 "" -#: ../NEWS:28099 +#: ../NEWS:28142 msgid "" ":issue:`35545`: Fix asyncio discarding IPv6 scopes when ensuring hostname " "resolutions internally" msgstr "" -#: ../NEWS:28102 +#: ../NEWS:28145 msgid "" ":issue:`36887`: Add new function :func:`math.isqrt` to compute integer " "square roots." msgstr "" -#: ../NEWS:28105 +#: ../NEWS:28148 msgid "" ":issue:`34632`: Introduce the ``importlib.metadata`` module with " "(provisional) support for reading metadata from third-party packages." msgstr "" -#: ../NEWS:28108 +#: ../NEWS:28151 msgid "" ":issue:`36878`: When using ``type_comments=True`` in ``ast.parse``, treat " "``# type: ignore`` followed by a non-alphanumeric character and then " @@ -49239,33 +49308,33 @@ msgid "" "ignore[E1000]``." msgstr "" -#: ../NEWS:28114 +#: ../NEWS:28157 msgid "" ":issue:`36778`: ``cp65001`` encoding (Windows code page 65001) becomes an " "alias to ``utf_8`` encoding." msgstr "" -#: ../NEWS:28117 +#: ../NEWS:28160 msgid "" ":issue:`36867`: The multiprocessing.resource_tracker replaces the " "multiprocessing.semaphore_tracker module. Other than semaphores, " "resource_tracker also tracks shared_memory segments." msgstr "" -#: ../NEWS:28121 +#: ../NEWS:28164 msgid "" ":issue:`30262`: The ``Cache`` and ``Statement`` objects of the :mod:" "`sqlite3` module are not exposed to the user. Patch by Aviv Palivoda." msgstr "" -#: ../NEWS:28124 +#: ../NEWS:28167 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 "" -#: ../NEWS:28128 +#: ../NEWS:28171 msgid "" ":issue:`36829`: Add new :func:`sys.unraisablehook` function which can be " "overridden to control how \"unraisable exceptions\" are handled. It is " @@ -49274,110 +49343,110 @@ msgid "" "garbage collection (:func:`gc.collect`)." msgstr "" -#: ../NEWS:28134 +#: ../NEWS:28177 msgid "" ":issue:`36832`: Introducing ``zipfile.Path``, a pathlib-compatible wrapper " "for traversing zip files." msgstr "" -#: ../NEWS:28137 +#: ../NEWS:28180 msgid "" ":issue:`36814`: Fix an issue where os.posix_spawnp() would incorrectly raise " "a TypeError when file_actions is None." msgstr "" -#: ../NEWS:28140 +#: ../NEWS:28183 msgid "" ":issue:`33110`: Handle exceptions raised by functions added by concurrent." "futures add_done_callback correctly when the Future has already completed." msgstr "" -#: ../NEWS:28144 +#: ../NEWS:28187 msgid "" ":issue:`26903`: Limit ``max_workers`` in ``ProcessPoolExecutor`` to 61 to " "work around a WaitForMultipleObjects limitation." msgstr "" -#: ../NEWS:28147 +#: ../NEWS:28190 msgid "" ":issue:`36813`: Fix :class:`~logging.handlers.QueueListener` to call ``queue." "task_done()`` upon stopping. Patch by Bar Harel." msgstr "" -#: ../NEWS:28150 +#: ../NEWS:28193 msgid "" ":issue:`36806`: Forbid creation of asyncio stream objects like StreamReader, " "StreamWriter, Process, and their protocols outside of asyncio package." msgstr "" -#: ../NEWS:28153 +#: ../NEWS:28196 msgid "" ":issue:`36802`: Provide both sync and async calls for StreamWriter.write() " "and StreamWriter.close()" msgstr "" -#: ../NEWS:28156 +#: ../NEWS:28199 msgid "" ":issue:`36801`: Properly handle SSL connection closing in asyncio " "StreamWriter.drain() call." msgstr "" -#: ../NEWS:28159 +#: ../NEWS:28202 msgid "" ":issue:`36785`: Implement PEP 574 (pickle protocol 5 with out-of-band " "buffers)." msgstr "" -#: ../NEWS:28161 +#: ../NEWS:28204 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 "" -#: ../NEWS:28164 +#: ../NEWS:28207 msgid "" ":issue:`6584`: Add a :exc:`~gzip.BadGzipFile` exception to the :mod:`gzip` " "module." msgstr "" -#: ../NEWS:28167 +#: ../NEWS:28210 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 "" -#: ../NEWS:28171 +#: ../NEWS:28214 msgid "" ":issue:`8138`: Don't mark ``wsgiref.simple_server.SimpleServer`` as multi-" "threaded since ``wsgiref.simple_server.WSGIServer`` is single-threaded." msgstr "" -#: ../NEWS:28175 +#: ../NEWS:28218 msgid "" ":issue:`22640`: :func:`py_compile.compile` now supports silent mode. Patch " "by Joannah Nanjekye" msgstr "" -#: ../NEWS:28178 +#: ../NEWS:28221 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 "" -#: ../NEWS:28182 +#: ../NEWS:28225 msgid ":issue:`36548`: Improved the repr of regular expression flags." msgstr "" -#: ../NEWS:28184 +#: ../NEWS:28227 msgid "" ":issue:`36542`: The signature of Python functions can now be overridden by " "specifying the ``__text_signature__`` attribute." msgstr "" -#: ../NEWS:28187 +#: ../NEWS:28230 msgid "" ":issue:`36533`: Reinitialize logging.Handler locks in forked child processes " "instead of attempting to acquire them all in the parent before forking only " @@ -49387,80 +49456,80 @@ msgid "" "cannot be guaranteed." msgstr "" -#: ../NEWS:28194 +#: ../NEWS:28237 msgid "" ":issue:`35252`: Throw a TypeError instead of an AssertionError when using an " "invalid type annotation with singledispatch." msgstr "" -#: ../NEWS:28197 +#: ../NEWS:28240 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 "" -#: ../NEWS:28201 +#: ../NEWS:28244 msgid "" ":issue:`35900`: enable custom reduction callback registration for functions " "and classes in _pickle.c, using the new Pickler's attribute " "``reducer_override``" msgstr "" -#: ../NEWS:28205 +#: ../NEWS:28248 msgid "" ":issue:`36368`: Fix a bug crashing SharedMemoryManager instances in " "interactive sessions after a ctrl-c (KeyboardInterrupt) was sent" msgstr "" -#: ../NEWS:28208 +#: ../NEWS:28251 msgid ":issue:`31904`: Fix mmap fail for VxWorks" msgstr "" -#: ../NEWS:28210 +#: ../NEWS:28253 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 "" -#: ../NEWS:28214 +#: ../NEWS:28257 msgid "" ":issue:`36239`: Parsing .mo files now ignores comments starting and ending " "with #-#-#-#-#." msgstr "" -#: ../NEWS:28217 +#: ../NEWS:28260 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 "" -#: ../NEWS:28221 +#: ../NEWS:28264 msgid ":issue:`31904`: Add posix module support for VxWorks." msgstr "" -#: ../NEWS:28223 +#: ../NEWS:28266 msgid "" ":issue:`35125`: Asyncio: Remove inner callback on outer cancellation in " "shield" msgstr "" -#: ../NEWS:28225 +#: ../NEWS:28268 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 "" -#: ../NEWS:28229 +#: ../NEWS:28272 msgid "" ":issue:`31855`: :func:`unittest.mock.mock_open` results now respects the " "argument of read([size]). Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:28232 +#: ../NEWS:28275 msgid "" ":issue:`35431`: Implement :func:`math.comb` that returns binomial " "coefficient, that computes the number of ways to choose k items from n items " @@ -49468,7 +49537,7 @@ msgid "" "Fuchs." msgstr "" -#: ../NEWS:28236 +#: ../NEWS:28279 msgid "" ":issue:`26660`: Fixed permission errors in :class:`~tempfile." "TemporaryDirectory` clean up. Previously ``TemporaryDirectory.cleanup()`` " @@ -49476,65 +49545,65 @@ msgid "" "created inside a temporary directory." msgstr "" -#: ../NEWS:28242 +#: ../NEWS:28285 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 "" -#: ../NEWS:28246 +#: ../NEWS:28289 msgid "" ":issue:`26467`: Added AsyncMock to support using unittest to mock asyncio " "coroutines. Patch by Lisa Roach." msgstr "" -#: ../NEWS:28249 +#: ../NEWS:28292 msgid "" ":issue:`33569`: dataclasses.InitVar: Exposes the type used to create the " "init var." msgstr "" -#: ../NEWS:28252 +#: ../NEWS:28295 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 "" -#: ../NEWS:28256 +#: ../NEWS:28299 msgid "" ":issue:`34303`: Performance of :func:`functools.reduce` is slightly " "improved. Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:28259 +#: ../NEWS:28302 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 "" -#: ../NEWS:28263 +#: ../NEWS:28306 msgid "" ":issue:`22454`: The :mod:`shlex` module now exposes :func:`shlex.join`, the " "inverse of :func:`shlex.split`. Patch by Bo Bayles." msgstr "" -#: ../NEWS:28266 +#: ../NEWS:28309 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 "" -#: ../NEWS:28270 +#: ../NEWS:28313 msgid "" ":issue:`24882`: Change ThreadPoolExecutor to use existing idle threads " "before spinning up new ones." msgstr "" -#: ../NEWS:28273 +#: ../NEWS:28316 msgid "" ":issue:`31961`: Added support for bytes and path-like objects in :func:" "`subprocess.Popen` on Windows. The *args* parameter now accepts a :term:" @@ -49544,210 +49613,210 @@ msgid "" "Based on patch by Anders Lorentsen." msgstr "" -#: ../NEWS:28280 +#: ../NEWS:28323 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 "" -#: ../NEWS:28284 +#: ../NEWS:28327 msgid "" ":issue:`32941`: Allow :class:`mmap.mmap` objects to access the madvise() " "system call (through :meth:`mmap.mmap.madvise`)." msgstr "" -#: ../NEWS:28287 +#: ../NEWS:28330 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 "" -#: ../NEWS:28291 +#: ../NEWS:28334 msgid "" ":issue:`32515`: trace.py can now run modules via python3 -m trace -t --" "module module_name" msgstr "" -#: ../NEWS:28294 +#: ../NEWS:28337 msgid "" ":issue:`32299`: Changed :func:`unittest.mock.patch.dict` to return the " "patched dictionary when used as context manager. Patch by Vadim Tsander." msgstr "" -#: ../NEWS:28297 +#: ../NEWS:28340 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 "" -#: ../NEWS:28301 +#: ../NEWS:28344 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 "" -#: ../NEWS:28305 +#: ../NEWS:28348 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 "" -#: ../NEWS:28311 +#: ../NEWS:28354 msgid "" ":issue:`36896`: Clarify that some types have unstable constructor signature " "between Python versions." msgstr "" -#: ../NEWS:28314 +#: ../NEWS:28357 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 "" -#: ../NEWS:28318 +#: ../NEWS:28361 msgid "" "Add a few tests to verify that the various values passed to the std* " "arguments actually work." msgstr "" -#: ../NEWS:28321 +#: ../NEWS:28364 msgid "" ":issue:`36984`: Improve version added references in ``typing`` module - by " "Anthony Sottile." msgstr "" -#: ../NEWS:28324 +#: ../NEWS:28367 msgid "" ":issue:`36868`: What's new now mentions SSLContext." "hostname_checks_common_name instead of SSLContext.host_flags." msgstr "" -#: ../NEWS:28327 +#: ../NEWS:28370 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 "" -#: ../NEWS:28330 +#: ../NEWS:28373 msgid "" ":issue:`36783`: Added C API Documentation for Time_FromTimeAndFold and " "PyDateTime_FromDateAndTimeAndFold as per PEP 495. Patch by Edison Abahurire." msgstr "" -#: ../NEWS:28334 +#: ../NEWS:28377 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 "" -#: ../NEWS:28338 +#: ../NEWS:28381 msgid "" ":issue:`22865`: Add detail to the documentation on the ``pty.spawn`` " "function." msgstr "" -#: ../NEWS:28340 +#: ../NEWS:28383 msgid "" ":issue:`35397`: Remove deprecation and document urllib.parse.unwrap(). Patch " "contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:28343 +#: ../NEWS:28386 msgid ":issue:`32995`: Added the context variable in glossary." msgstr "" -#: ../NEWS:28345 +#: ../NEWS:28388 msgid "" ":issue:`33519`: Clarify that ``copy()`` is not part of the " "``MutableSequence`` ABC." msgstr "" -#: ../NEWS:28348 +#: ../NEWS:28391 msgid "" ":issue:`33482`: Make ``codecs.StreamRecoder.writelines`` take a list of " "bytes." msgstr "" -#: ../NEWS:28350 +#: ../NEWS:28393 msgid "" ":issue:`25735`: Added documentation for func factorial to indicate that " "returns integer values" msgstr "" -#: ../NEWS:28353 +#: ../NEWS:28396 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 "" -#: ../NEWS:28360 +#: ../NEWS:28403 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 "" -#: ../NEWS:28365 +#: ../NEWS:28408 msgid ":issue:`37098`: Fix test_memfd_create on older Linux Kernels." msgstr "" -#: ../NEWS:28367 +#: ../NEWS:28410 msgid ":issue:`37081`: Test with OpenSSL 1.1.1c" msgstr "" -#: ../NEWS:28369 +#: ../NEWS:28412 msgid "" ":issue:`36829`: Add :func:`test.support.catch_unraisable_exception`: context " "manager catching unraisable exception using :func:`sys.unraisablehook`." msgstr "" -#: ../NEWS:28372 +#: ../NEWS:28415 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 "" -#: ../NEWS:28376 +#: ../NEWS:28419 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 "" -#: ../NEWS:28380 +#: ../NEWS:28423 msgid "" ":issue:`36816`: Update Lib/test/selfsigned_pythontestdotnet.pem to match " "self-signed.pythontest.net's new TLS certificate." msgstr "" -#: ../NEWS:28383 +#: ../NEWS:28426 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 "" -#: ../NEWS:28387 +#: ../NEWS:28430 msgid "" ":issue:`36782`: Add tests for several C API functions in the :mod:`datetime` " "module. Patch by Edison Abahurire." msgstr "" -#: ../NEWS:28390 +#: ../NEWS:28433 msgid "" ":issue:`36342`: Fix test_multiprocessing in test_venv if platform lacks " "functioning sem_open." msgstr "" -#: ../NEWS:28396 +#: ../NEWS:28439 msgid "" ":issue:`36721`: To embed Python into an application, a new ``--embed`` " "option must be passed to ``python3-config --libs --embed`` to get ``-" @@ -49756,7 +49825,7 @@ msgid "" "config --libs`` (without ``--embed``) if the previous command fails." msgstr "" -#: ../NEWS:28402 +#: ../NEWS:28445 msgid "" "Add a pkg-config ``python-3.8-embed`` module to embed Python into an " "application: ``pkg-config python-3.8-embed --libs`` includes ``-" @@ -49772,7 +49841,7 @@ msgstr "" "python-X.Y --libs`` (``--embed`` なし) にフォールバックしてください。(``X." "Y`` を使用するPython のバージョンに置き換えてください)" -#: ../NEWS:28409 +#: ../NEWS:28452 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 " @@ -49780,107 +49849,107 @@ msgid "" "on purpose." msgstr "" -#: ../NEWS:28414 +#: ../NEWS:28457 msgid ":issue:`36786`: \"make install\" now runs compileall in parallel." msgstr "" -#: ../NEWS:28419 +#: ../NEWS:28462 msgid "" ":issue:`36965`: include of STATUS_CONTROL_C_EXIT without depending on MSC " "compiler" msgstr "" -#: ../NEWS:28422 +#: ../NEWS:28465 msgid ":issue:`35926`: Update to OpenSSL 1.1.1b for Windows." msgstr "" -#: ../NEWS:28424 +#: ../NEWS:28467 msgid "" ":issue:`29883`: Add Windows support for UDP transports for the Proactor " "Event Loop. Patch by Adam Meily." msgstr "" -#: ../NEWS:28427 +#: ../NEWS:28470 msgid "" ":issue:`33407`: The :c:macro:`Py_DEPRECATED()` macro has been implemented " "for MSVC." msgstr "" -#: ../NEWS:28433 +#: ../NEWS:28476 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 "" -#: ../NEWS:28440 +#: ../NEWS:28483 msgid "" ":issue:`35610`: Replace now redundant .context_use_ps1 with ." "prompt_last_line. This finishes change started in :issue:`31858`." msgstr "" -#: ../NEWS:28443 +#: ../NEWS:28486 msgid ":issue:`37038`: Make idlelib.run runnable; add test clause." msgstr "" -#: ../NEWS:28445 +#: ../NEWS:28488 msgid "" ":issue:`36958`: Print any argument other than None or int passed to " "SystemExit or sys.exit()." msgstr "" -#: ../NEWS:28448 +#: ../NEWS:28491 msgid "" ":issue:`36807`: When saving a file, call os.fsync() so bits are flushed to e." "g. USB drive." msgstr "" -#: ../NEWS:28451 +#: ../NEWS:28494 msgid "" ":issue:`32411`: In browser.py, remove extraneous sorting by line number " "since dictionary was created in line number order." msgstr "" -#: ../NEWS:28457 +#: ../NEWS:28500 msgid "" ":issue:`37053`: Handle strings like u\"bar\" correctly in Tools/parser/" "unparse.py. Patch by Chih-Hsuan Yen." msgstr "" -#: ../NEWS:28463 +#: ../NEWS:28506 msgid "" ":issue:`36763`: Implement the :pep:`587` \"Python Initialization " "Configuration\"." msgstr "" -#: ../NEWS:28465 +#: ../NEWS:28508 msgid "" ":issue:`36379`: Fix crashes when attempting to use the *modulo* parameter " "when ``__ipow__`` is implemented in C." msgstr "" -#: ../NEWS:28468 +#: ../NEWS:28511 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 "" -#: ../NEWS:28473 +#: ../NEWS:28516 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 "" -#: ../NEWS:28477 +#: ../NEWS:28520 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 "" -#: ../NEWS:28481 +#: ../NEWS:28524 msgid "" ":issue:`36922`: Add new type flag ``Py_TPFLAGS_METHOD_DESCRIPTOR`` for " "objects behaving like unbound methods. These are objects supporting the " @@ -49888,28 +49957,28 @@ msgid "" "590." msgstr "" -#: ../NEWS:28486 +#: ../NEWS:28529 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 "" -#: ../NEWS:28492 +#: ../NEWS:28535 msgid "Python 3.8.0 alpha 4" msgstr "" -#: ../NEWS:28494 +#: ../NEWS:28537 msgid "*Release date: 2019-05-06*" msgstr "" -#: ../NEWS:28499 +#: ../NEWS:28542 msgid "" ":issue:`36742`: Fixes mishandling of pre-normalization characters in " "urlsplit()." msgstr "" -#: ../NEWS:28502 +#: ../NEWS:28545 msgid "" ":issue:`30458`: Address :cve:`2019-9740` by disallowing URL paths with " "embedded whitespace or control characters through into the underlying http " @@ -49917,7 +49986,7 @@ msgid "" "an http.client.InvalidURL exception to be raised." msgstr "" -#: ../NEWS:28507 +#: ../NEWS:28550 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 " @@ -49927,31 +49996,31 @@ msgid "" "variable is not set." msgstr "" -#: ../NEWS:28517 +#: ../NEWS:28560 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 "" -#: ../NEWS:28520 +#: ../NEWS:28563 msgid "" ":issue:`32849`: Fix Python Initialization code on FreeBSD to detect properly " "when stdin file descriptor (fd 0) is invalid." msgstr "" -#: ../NEWS:28523 +#: ../NEWS:28566 msgid "" ":issue:`36623`: Remove parser headers and related function declarations that " "lack implementations after the removal of pgen." msgstr "" -#: ../NEWS:28526 +#: ../NEWS:28569 msgid "" ":issue:`20180`: ``dict.pop()`` is now up to 33% faster thanks to Argument " "Clinic. Patch by Inada Naoki." msgstr "" -#: ../NEWS:28529 +#: ../NEWS:28572 msgid "" ":issue:`36611`: Debug memory allocators: disable serialno field by default " "from debug hooks on Python memory allocators to reduce the memory footprint " @@ -49961,7 +50030,7 @@ msgid "" "get back the field." msgstr "" -#: ../NEWS:28536 +#: ../NEWS:28579 msgid "" ":issue:`36588`: On AIX, :data:`sys.platform` doesn't contain the major " "version anymore. Always return ``'aix'``, instead of ``'aix3'`` .. " @@ -49970,19 +50039,19 @@ msgid "" "M. Felt." msgstr "" -#: ../NEWS:28541 +#: ../NEWS:28584 msgid "" ":issue:`36549`: Change str.capitalize to use titlecase for the first " "character instead of uppercase." msgstr "" -#: ../NEWS:28544 +#: ../NEWS:28587 msgid "" ":issue:`36540`: Implement :pep:`570` (Python positional-only parameters). " "Patch by Pablo Galindo." msgstr "" -#: ../NEWS:28547 +#: ../NEWS:28590 msgid "" ":issue:`36475`: :c:func:`!PyEval_AcquireLock` and :c:func:`!" "PyEval_AcquireThread` now terminate the current thread if called while the " @@ -49991,25 +50060,25 @@ msgid "" "`PyGILState_Ensure`." msgstr "" -#: ../NEWS:28553 +#: ../NEWS:28596 msgid "" ":issue:`36504`: Fix signed integer overflow in _ctypes.c's " "``PyCArrayType_new()``." msgstr "" -#: ../NEWS:28556 +#: ../NEWS:28599 msgid "" ":issue:`20844`: Fix running script with encoding cookie and LF line ending " "may fail on Windows." msgstr "" -#: ../NEWS:28559 +#: ../NEWS:28602 msgid "" ":issue:`24214`: Fixed support of the surrogatepass error handler in the " "UTF-8 incremental decoder." msgstr "" -#: ../NEWS:28562 +#: ../NEWS:28605 msgid "" ":issue:`36452`: Changing ``dict`` keys during iteration of the dict itself, " "``keys()``, ``values()``, or ``items()`` will now be detected in certain " @@ -50018,96 +50087,96 @@ msgid "" "Contributed by Thomas Perl." msgstr "" -#: ../NEWS:28568 +#: ../NEWS:28611 msgid "" ":issue:`36459`: Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's " "``tok_nextc()``." msgstr "" -#: ../NEWS:28571 +#: ../NEWS:28614 msgid ":issue:`36433`: Fixed TypeError message in classmethoddescr_call." msgstr "" -#: ../NEWS:28573 +#: ../NEWS:28616 msgid "" ":issue:`36430`: Fix a possible reference leak in :func:`itertools.count`." msgstr "" -#: ../NEWS:28575 +#: ../NEWS:28618 msgid "" ":issue:`36440`: Include node names in ``ParserError`` messages, instead of " "numeric IDs. Patch by A. Skrobov." msgstr "" -#: ../NEWS:28578 +#: ../NEWS:28621 msgid "" ":issue:`36143`: Regenerate :mod:`keyword` from the Grammar and Tokens file " "using pgen. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:28581 +#: ../NEWS:28624 msgid "" ":issue:`18372`: Add missing :c:func:`PyObject_GC_Track` calls in the :mod:" "`pickle` module. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:28587 +#: ../NEWS:28630 msgid ":issue:`35952`: Fix pythoninfo when the compiler is missing." msgstr "" -#: ../NEWS:28589 +#: ../NEWS:28632 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 "" -#: ../NEWS:28593 +#: ../NEWS:28636 msgid "" ":issue:`26978`: ``pathlib.path.link_to()`` is now implemented. It creates a " "hard link pointing to a path." msgstr "" -#: ../NEWS:28596 +#: ../NEWS:28639 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 "" -#: ../NEWS:28600 +#: ../NEWS:28643 msgid "" ":issue:`36734`: Fix compilation of ``faulthandler.c`` on HP-UX. Initialize " "``stack_t current_stack`` to zero using ``memset()``." msgstr "" -#: ../NEWS:28603 +#: ../NEWS:28646 msgid "" ":issue:`13611`: The xml.etree.ElementTree packages gained support for C14N " "2.0 serialisation. Patch by Stefan Behnel." msgstr "" -#: ../NEWS:28606 +#: ../NEWS:28649 msgid "" ":issue:`36669`: Add missing matrix multiplication operator support to " "weakref.proxy." msgstr "" -#: ../NEWS:28609 +#: ../NEWS:28652 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 "" -#: ../NEWS:28613 +#: ../NEWS:28656 msgid "" ":issue:`36673`: The TreeBuilder and XMLPullParser in xml.etree.ElementTree " "gained support for parsing comments and processing instructions. Patch by " "Stefan Behnel." msgstr "" -#: ../NEWS:28617 +#: ../NEWS:28660 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 " @@ -50115,7 +50184,7 @@ msgid "" "trigger an unexpected cache miss." msgstr "" -#: ../NEWS:28622 +#: ../NEWS:28665 msgid "" ":issue:`28552`: Fix ``distutils.sysconfig`` if :data:`sys.executable` is " "``None`` or an empty string: use :func:`os.getcwd` to initialize " @@ -50123,7 +50192,7 @@ msgid "" "`sys.executable` if it is ``None`` or an empty string." msgstr "" -#: ../NEWS:28627 +#: ../NEWS:28670 msgid "" ":issue:`35755`: :func:`shutil.which` and ``distutils.spawn.find_executable`` " "now use ``os.confstr(\"CS_PATH\")`` if available instead of :data:`os." @@ -50132,36 +50201,36 @@ msgid "" "environment variable is set to an empty string." msgstr "" -#: ../NEWS:28633 +#: ../NEWS:28676 msgid ":issue:`25430`: improve performance of ``IPNetwork.__contains__()``" msgstr "" -#: ../NEWS:28635 +#: ../NEWS:28678 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 "" -#: ../NEWS:28639 +#: ../NEWS:28682 msgid "" ":issue:`36613`: Fix :mod:`asyncio` wait() not removing callback if exception" msgstr "" -#: ../NEWS:28641 +#: ../NEWS:28684 msgid "" ":issue:`36598`: Fix ``isinstance`` check for Mock objects with spec when the " "code is executed under tracing. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:28644 +#: ../NEWS:28687 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 "" -#: ../NEWS:28648 +#: ../NEWS:28691 msgid "" ":issue:`36575`: The ``_lsprof`` module now uses internal timer same to " "``time.perf_counter()`` by default. ``gettimeofday(2)`` was used on Unix. " @@ -50170,53 +50239,53 @@ msgid "" "monotonic. Patch by Inada Naoki." msgstr "" -#: ../NEWS:28654 +#: ../NEWS:28697 msgid "" ":issue:`33461`: ``json.loads`` now emits ``DeprecationWarning`` when " "``encoding`` option is specified. Patch by Matthias Bussonnier." msgstr "" -#: ../NEWS:28657 +#: ../NEWS:28700 msgid "" ":issue:`36559`: The random module now prefers the lean internal _sha512 " "module over hashlib for seed(version=2) to optimize import time." msgstr "" -#: ../NEWS:28660 +#: ../NEWS:28703 msgid "" ":issue:`17561`: Set backlog=None as the default for socket.create_server." msgstr "" -#: ../NEWS:28662 +#: ../NEWS:28705 msgid "" ":issue:`34373`: Fix :func:`time.mktime` error handling on AIX for year " "before 1970." msgstr "" -#: ../NEWS:28665 +#: ../NEWS:28708 msgid "" ":issue:`36232`: Improve error message when trying to open existing DBM " "database that actually doesn't exist. Patch by Marco Rougeth." msgstr "" -#: ../NEWS:28668 +#: ../NEWS:28711 msgid ":issue:`36546`: Add statistics.quantiles()" msgstr "" -#: ../NEWS:28670 +#: ../NEWS:28713 msgid "" ":issue:`36050`: Optimized ``http.client.HTTPResponse.read()`` for large " "response. Patch by Inada Naoki." msgstr "" -#: ../NEWS:28673 +#: ../NEWS:28716 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 "" -#: ../NEWS:28677 +#: ../NEWS:28720 msgid "" ":issue:`36492`: Deprecated passing required arguments like *func* as keyword " "arguments in functions which should accept arbitrary keyword arguments and " @@ -50225,11 +50294,11 @@ msgid "" "arguments are passed as positional arguments." msgstr "" -#: ../NEWS:28683 +#: ../NEWS:28726 msgid ":issue:`27181`: Add statistics.geometric_mean()." msgstr "" -#: ../NEWS:28685 +#: ../NEWS:28728 msgid "" ":issue:`30427`: ``os.path.normcase()`` relies on ``os.fspath()`` to check " "the type of its argument. Redundant checks have been removed from its " @@ -50237,7 +50306,7 @@ msgid "" "Wolfgang Maier." msgstr "" -#: ../NEWS:28690 +#: ../NEWS:28733 msgid "" ":issue:`36385`: Stop rejecting IPv4 octets for being ambiguously octal. " "Leading zeros are ignored, and no longer are assumed to specify octal " @@ -50245,25 +50314,25 @@ msgid "" "three digits, including leading zeroes." msgstr "" -#: ../NEWS:28695 +#: ../NEWS:28738 msgid "" ":issue:`36434`: Errors during writing to a ZIP file no longer prevent to " "properly close it." msgstr "" -#: ../NEWS:28698 +#: ../NEWS:28741 msgid "" ":issue:`36407`: Fixed wrong indentation writing for CDATA section in xml.dom." "minidom. Patch by Vladimir Surjaninov." msgstr "" -#: ../NEWS:28701 +#: ../NEWS:28744 msgid "" ":issue:`36326`: inspect.getdoc() can now find docstrings for member objects " "when __slots__ is a dictionary." msgstr "" -#: ../NEWS:28704 +#: ../NEWS:28747 msgid "" ":issue:`36366`: Calling ``stop()`` on an unstarted or stopped :func:" "`unittest.mock.patch` object will now return ``None`` instead of raising :" @@ -50271,26 +50340,26 @@ msgid "" "Singaravelan." msgstr "" -#: ../NEWS:28709 +#: ../NEWS:28752 msgid "" ":issue:`36348`: The :meth:`imap.IMAP4.logout` method no longer ignores " "silently arbitrary exceptions." msgstr "" -#: ../NEWS:28712 +#: ../NEWS:28755 msgid "" ":issue:`31904`: Add time module support and fix test_time failures for " "VxWorks." msgstr "" -#: ../NEWS:28714 +#: ../NEWS:28757 msgid "" ":issue:`36227`: Added support for keyword arguments ``default_namespace`` " "and ``xml_declaration`` in functions ``ElementTree.tostring()`` and " "``ElementTree.tostringlist()``." msgstr "" -#: ../NEWS:28718 +#: ../NEWS:28761 msgid "" ":issue:`36004`: Added new alternate constructors :meth:`datetime.date." "fromisocalendar` and :meth:`datetime.datetime.fromisocalendar`, which " @@ -50298,26 +50367,26 @@ msgid "" "inverse of each class's ``isocalendar`` method. Patch by Paul Ganssle." msgstr "" -#: ../NEWS:28724 +#: ../NEWS:28767 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 "" -#: ../NEWS:28729 +#: ../NEWS:28772 msgid "" ":issue:`35376`: :mod:`modulefinder` correctly handles modules that have the " "same name as a bad package. Patch by Brandt Bucher." msgstr "" -#: ../NEWS:28732 +#: ../NEWS:28775 msgid "" ":issue:`17396`: :mod:`modulefinder` no longer crashes when encountering " "syntax errors in followed imports. Patch by Brandt Bucher." msgstr "" -#: ../NEWS:28735 +#: ../NEWS:28778 msgid "" ":issue:`35934`: Added :meth:`~socket.create_server` and :meth:`~socket." "has_dualstack_ipv6` convenience functions to automate the necessary tasks " @@ -50326,93 +50395,93 @@ msgid "" "Rodola in :issue:`17561`.)" msgstr "" -#: ../NEWS:28741 +#: ../NEWS:28784 msgid "" ":issue:`23078`: Add support for :func:`classmethod` and :func:`staticmethod` " "to :func:`unittest.mock.create_autospec`. Initial patch by Felipe Ochoa." msgstr "" -#: ../NEWS:28744 +#: ../NEWS:28787 msgid "" ":issue:`35416`: Fix potential resource warnings in distutils. Patch by " "Mickaël Schoentgen." msgstr "" -#: ../NEWS:28747 +#: ../NEWS:28790 msgid "" ":issue:`25451`: Add transparency methods to :class:`tkinter.PhotoImage`. " "Patch by Zackery Spytz." msgstr "" -#: ../NEWS:28750 +#: ../NEWS:28793 msgid "" ":issue:`35082`: Don't return deleted attributes when calling dir on a :class:" "`unittest.mock.Mock`." msgstr "" -#: ../NEWS:28753 +#: ../NEWS:28796 msgid "" ":issue:`34547`: :class:`wsgiref.handlers.BaseHandler` now handles abrupt " "client connection terminations gracefully. Patch by Petter Strandmark." msgstr "" -#: ../NEWS:28756 +#: ../NEWS:28799 msgid "" ":issue:`31658`: :func:`xml.sax.parse` now supports :term:`path-like `. Patch by Mickaël Schoentgen." msgstr "" -#: ../NEWS:28759 +#: ../NEWS:28802 msgid ":issue:`34139`: Remove stale unix datagram socket before binding" msgstr "" -#: ../NEWS:28761 +#: ../NEWS:28804 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 "" -#: ../NEWS:28765 +#: ../NEWS:28808 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 "" -#: ../NEWS:28769 +#: ../NEWS:28812 msgid "" ":issue:`31310`: Fix the multiprocessing.semaphore_tracker so it is reused by " "child processes" msgstr "" -#: ../NEWS:28772 +#: ../NEWS:28815 msgid "" ":issue:`31292`: Fix ``setup.py check --restructuredtext`` for files " "containing ``include`` directives." msgstr "" -#: ../NEWS:28778 +#: ../NEWS:28821 msgid "" ":issue:`36625`: Remove obsolete comments from docstrings in fractions." "Fraction" msgstr "" -#: ../NEWS:28780 +#: ../NEWS:28823 msgid ":issue:`30840`: Document relative imports" msgstr "" -#: ../NEWS:28782 +#: ../NEWS:28825 msgid ":issue:`36523`: Add docstring for io.IOBase.writelines()." msgstr "" -#: ../NEWS:28784 +#: ../NEWS:28827 msgid "" ":issue:`36425`: New documentation translation: `Simplified Chinese `_." msgstr "" -#: ../NEWS:28787 +#: ../NEWS:28830 msgid "" ":issue:`36345`: Avoid the duplication of code from ``Tools/scripts/serve." "py`` in using the :rst:dir:`literalinclude` directive for the basic wsgiref-" @@ -50420,18 +50489,18 @@ msgid "" "Stéphane Wirtel." msgstr "" -#: ../NEWS:28792 +#: ../NEWS:28835 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 "" -#: ../NEWS:28796 +#: ../NEWS:28839 msgid ":issue:`36157`: Added documentation for PyInterpreterState_Main()." msgstr "" -#: ../NEWS:28798 +#: ../NEWS:28841 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' " @@ -50439,21 +50508,21 @@ msgid "" "links and information in the Documentation Bugs section." msgstr "" -#: ../NEWS:28803 +#: ../NEWS:28846 msgid "" ":issue:`35581`: @typing.type_check_only now allows type stubs to mark " "functions and classes not available during runtime." msgstr "" -#: ../NEWS:28806 +#: ../NEWS:28849 msgid ":issue:`33832`: Add glossary entry for 'magic method'." msgstr "" -#: ../NEWS:28808 +#: ../NEWS:28851 msgid ":issue:`32913`: Added re.Match.groupdict example to regex HOWTO." msgstr "" -#: ../NEWS:28813 +#: ../NEWS:28856 msgid "" ":issue:`36719`: regrtest now always detects uncollectable objects. " "Previously, the check was only enabled by ``--findleaks``. The check now " @@ -50461,14 +50530,14 @@ msgid "" "deprecated alias to ``--fail-env-changed``." msgstr "" -#: ../NEWS:28818 +#: ../NEWS:28861 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 "" -#: ../NEWS:28822 +#: ../NEWS:28865 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. " @@ -50476,37 +50545,37 @@ msgid "" "Stinner." msgstr "" -#: ../NEWS:28827 +#: ../NEWS:28870 msgid "" ":issue:`32424`: Improve test coverage for xml.etree.ElementTree. Patch by " "Gordon P. Hemsley." msgstr "" -#: ../NEWS:28830 +#: ../NEWS:28873 msgid "" ":issue:`32424`: Fix typo in test_cyclic_gc() test for xml.etree.ElementTree. " "Patch by Gordon P. Hemsley." msgstr "" -#: ../NEWS:28833 +#: ../NEWS:28876 msgid "" ":issue:`36635`: Add a new :mod:`!_testinternalcapi` module to test the " "internal C API." msgstr "" -#: ../NEWS:28836 +#: ../NEWS:28879 msgid "" ":issue:`36629`: Fix ``test_imap4_host_default_value()`` of ``test_imaplib``: " "catch also :const:`errno.ENETUNREACH` error." msgstr "" -#: ../NEWS:28839 +#: ../NEWS:28882 msgid "" ":issue:`36611`: Fix ``test_sys.test_getallocatedblocks()`` when :mod:" "`tracemalloc` is enabled." msgstr "" -#: ../NEWS:28842 +#: ../NEWS:28885 msgid "" ":issue:`36560`: Fix reference leak hunting in regrtest: compute also deltas " "(of reference count, allocated memory blocks, file descriptor count) during " @@ -50514,58 +50583,58 @@ msgid "" "reference leaks." msgstr "" -#: ../NEWS:28847 +#: ../NEWS:28890 msgid "" ":issue:`36565`: Fix reference hunting (``python3 -m test -R 3:3``) when " "Python has no built-in abc module." msgstr "" -#: ../NEWS:28850 +#: ../NEWS:28893 msgid "" ":issue:`31904`: Port test_resource to VxWorks: skip tests cases setting " "RLIMIT_FSIZE and RLIMIT_CPU." msgstr "" -#: ../NEWS:28853 +#: ../NEWS:28896 msgid "" ":issue:`31904`: Fix test_tabnanny on VxWorks: adjust ENOENT error message." msgstr "" -#: ../NEWS:28855 +#: ../NEWS:28898 msgid "" ":issue:`36436`: Fix ``_testcapi.pymem_buffer_overflow()``: handle memory " "allocation failure." msgstr "" -#: ../NEWS:28858 +#: ../NEWS:28901 msgid "" ":issue:`31904`: Fix test_utf8_mode on VxWorks: Python always use UTF-8 on " "VxWorks." msgstr "" -#: ../NEWS:28861 +#: ../NEWS:28904 msgid "" ":issue:`36341`: Fix tests that may fail with PermissionError upon calling " "bind() on AF_UNIX sockets." msgstr "" -#: ../NEWS:28867 +#: ../NEWS:28910 msgid ":issue:`36747`: Remove the stale scriptsinstall Makefile target." msgstr "" -#: ../NEWS:28869 +#: ../NEWS:28912 msgid "" ":issue:`21536`: On Unix, C extensions are no longer linked to libpython " "except on Android and Cygwin." msgstr "" -#: ../NEWS:28872 +#: ../NEWS:28915 msgid "" "It is now possible for a statically linked Python to load a C extension " "built using a shared library Python." msgstr "" -#: ../NEWS:28875 +#: ../NEWS:28918 msgid "" "When Python is embedded, ``libpython`` must not be loaded with " "``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using " @@ -50574,18 +50643,18 @@ msgid "" "built by the ``*shared*`` section of ``Modules/Setup``." msgstr "" -#: ../NEWS:28881 +#: ../NEWS:28924 msgid "distutils, python-config and python-config.py have been modified." msgstr "" -#: ../NEWS:28883 +#: ../NEWS:28926 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 "" -#: ../NEWS:28887 +#: ../NEWS:28930 msgid "" ":issue:`36635`: Change ``PyAPI_FUNC(type)``, ``PyAPI_DATA(type)`` and " "``PyMODINIT_FUNC`` macros of ``pyport.h`` when ``Py_BUILD_CORE_MODULE`` is " @@ -50594,11 +50663,11 @@ msgid "" "samp:`PyInit_{xxx}()` function in DLL exports on Windows." msgstr "" -#: ../NEWS:28893 +#: ../NEWS:28936 msgid ":issue:`31904`: Don't build the ``_crypt`` extension on VxWorks." msgstr "" -#: ../NEWS:28895 +#: ../NEWS:28938 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, " @@ -50610,13 +50679,13 @@ msgid "" "third party C extensions can have the same issue." msgstr "" -#: ../NEWS:28904 +#: ../NEWS:28947 msgid "" ":issue:`36605`: ``make tags`` and ``make TAGS`` now also parse ``Modules/_io/" "*.c`` and ``Modules/_io/*.h``." msgstr "" -#: ../NEWS:28907 +#: ../NEWS:28950 msgid "" ":issue:`36465`: Release builds and debug builds are now ABI compatible: " "defining the ``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` " @@ -50626,50 +50695,50 @@ msgid "" "configure --with-trace-refs`` build option." msgstr "" -#: ../NEWS:28914 +#: ../NEWS:28957 msgid "" ":issue:`36577`: setup.py now correctly reports missing OpenSSL headers and " "libraries again." msgstr "" -#: ../NEWS:28917 +#: ../NEWS:28960 msgid "" ":issue:`36544`: Fix regression introduced in :issue:`36146` refactoring " "setup.py" msgstr "" -#: ../NEWS:28919 +#: ../NEWS:28962 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 "" -#: ../NEWS:28923 +#: ../NEWS:28966 msgid "" ":issue:`36503`: Remove references to \"aix3\" and \"aix4\". Patch by M. Felt." msgstr "" -#: ../NEWS:28928 +#: ../NEWS:28971 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 "" -#: ../NEWS:28932 +#: ../NEWS:28975 msgid "" ":issue:`36649`: Remove trailing spaces for registry keys when installed via " "the Store." msgstr "" -#: ../NEWS:28935 +#: ../NEWS:28978 msgid "" ":issue:`34144`: Fixed activate.bat to correctly update codepage when chcp." "com returns dots in output. Patch by Lorenz Mende." msgstr "" -#: ../NEWS:28938 +#: ../NEWS:28981 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 " @@ -50677,7 +50746,7 @@ msgid "" "cross-compiled when using MSVC." msgstr "" -#: ../NEWS:28943 +#: ../NEWS:28986 msgid "" ":issue:`35941`: enum_certificates function of the ssl module now returns " "certificates from all available certificate stores inside windows in a query " @@ -50689,24 +50758,24 @@ msgid "" "the windows certificate revocation list stores." msgstr "" -#: ../NEWS:28953 +#: ../NEWS:28996 msgid "" ":issue:`36441`: Fixes creating a venv when debug binaries are installed." msgstr "" -#: ../NEWS:28955 +#: ../NEWS:28998 msgid "" ":issue:`36085`: Enable better DLL resolution on Windows by using safe DLL " "search paths and adding :func:`os.add_dll_directory`." msgstr "" -#: ../NEWS:28958 +#: ../NEWS:29001 msgid "" ":issue:`36010`: Add the venv standard library module to the nuget " "distribution for Windows." msgstr "" -#: ../NEWS:28961 +#: ../NEWS:29004 msgid "" ":issue:`29515`: Add the following socket module constants on Windows: " "IPPROTO_AH IPPROTO_CBT IPPROTO_DSTOPTS IPPROTO_EGP IPPROTO_ESP " @@ -50716,25 +50785,25 @@ msgid "" "IPPROTO_RDP IPPROTO_ROUTING IPPROTO_SCTP IPPROTO_ST" msgstr "" -#: ../NEWS:28969 +#: ../NEWS:29012 msgid "" ":issue:`35947`: Added current version of libffi to cpython-source-deps. " "Change _ctypes to use current version of libffi on Windows." msgstr "" -#: ../NEWS:28972 +#: ../NEWS:29015 msgid "" ":issue:`34060`: Report system load when running test suite on Windows. Patch " "by Ammar Askar. Based on prior work by Jeremy Kloth." msgstr "" -#: ../NEWS:28975 +#: ../NEWS:29018 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 "" -#: ../NEWS:28981 +#: ../NEWS:29024 msgid "" ":issue:`34602`: Avoid failures setting macOS stack resource limit with " "resource.setrlimit. This reverts an earlier fix for :issue:`18075` which " @@ -50742,31 +50811,31 @@ msgid "" "macOS." msgstr "" -#: ../NEWS:28989 +#: ../NEWS:29032 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 "" -#: ../NEWS:28996 +#: ../NEWS:29039 msgid ":issue:`14546`: Fix the argument handling in Tools/scripts/lll.py." msgstr "" -#: ../NEWS:29001 +#: ../NEWS:29044 msgid "" ":issue:`36763`: Fix memory leak in :c:func:`!Py_SetStandardStreamEncoding`: " "release memory if the function is called twice." msgstr "" -#: ../NEWS:29004 +#: ../NEWS:29047 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 "" -#: ../NEWS:29008 +#: ../NEWS:29051 msgid "" ":issue:`36389`: Change the value of ``CLEANBYTE``, ``DEADDYTE`` and " "``FORBIDDENBYTE`` internal constants used by debug hooks on Python memory " @@ -50776,7 +50845,7 @@ msgid "" "``free()``." msgstr "" -#: ../NEWS:29015 +#: ../NEWS:29058 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 " @@ -50786,7 +50855,7 @@ msgid "" "c:func:`!_Py_PreInitialize` API with ``_PyPreConfig``." msgstr "" -#: ../NEWS:29022 +#: ../NEWS:29065 msgid "" ":issue:`36025`: Fixed an accidental change to the datetime C API where the " "arguments to the :c:func:`PyDate_FromTimestamp` function were incorrectly " @@ -50796,7 +50865,7 @@ msgid "" "by Paul Ganssle." msgstr "" -#: ../NEWS:29029 +#: ../NEWS:29072 msgid "" ":issue:`35810`: Modify ``PyObject_Init`` to correctly increase the refcount " "of heap-allocated Type objects. Also fix the refcounts of the heap-allocated " @@ -50804,22 +50873,22 @@ msgid "" "refcount in tp_dealloc" msgstr "" -#: ../NEWS:29036 +#: ../NEWS:29079 msgid "Python 3.8.0 alpha 3" msgstr "" -#: ../NEWS:29038 +#: ../NEWS:29081 msgid "*Release date: 2019-03-25*" msgstr "" -#: ../NEWS:29043 +#: ../NEWS:29086 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 "" -#: ../NEWS:29047 +#: ../NEWS:29090 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 " @@ -50827,104 +50896,104 @@ msgid "" "Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:29055 +#: ../NEWS:29098 msgid "" ":issue:`36421`: Fix a possible double decref in _ctypes.c's " "``PyCArrayType_new()``." msgstr "" -#: ../NEWS:29058 +#: ../NEWS:29101 msgid ":issue:`36412`: Fix a possible crash when creating a new dictionary." msgstr "" -#: ../NEWS:29060 +#: ../NEWS:29103 msgid ":issue:`36398`: Fix a possible crash in ``structseq_repr()``." msgstr "" -#: ../NEWS:29062 +#: ../NEWS:29105 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 "" -#: ../NEWS:29065 +#: ../NEWS:29108 msgid ":issue:`36365`: repr(structseq) is no longer limited to 512 bytes." msgstr "" -#: ../NEWS:29067 +#: ../NEWS:29110 msgid "" ":issue:`36374`: Fix a possible null pointer dereference in " "``merge_consts_recursive()``. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29070 +#: ../NEWS:29113 msgid "" ":issue:`36236`: At Python initialization, the current directory is no longer " "prepended to :data:`sys.path` if it has been removed." msgstr "" -#: ../NEWS:29073 +#: ../NEWS:29116 msgid "" ":issue:`36352`: Python initialization now fails with an error, rather than " "silently truncating paths, if a path is too long." msgstr "" -#: ../NEWS:29076 +#: ../NEWS:29119 msgid "" ":issue:`36301`: Python initialization now fails if decoding ``pybuilddir." "txt`` configuration file fails at startup." msgstr "" -#: ../NEWS:29079 +#: ../NEWS:29122 msgid "" ":issue:`36333`: Fix leak in _PyRuntimeState_Fini. Contributed by Stéphane " "Wirtel." msgstr "" -#: ../NEWS:29082 +#: ../NEWS:29125 msgid "" ":issue:`36332`: The builtin :func:`compile` can now handle AST objects that " "contain assignment expressions. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:29085 +#: ../NEWS:29128 msgid "" ":issue:`36282`: Improved error message for too much positional arguments in " "some builtin functions." msgstr "" -#: ../NEWS:29088 +#: ../NEWS:29131 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 "" -#: ../NEWS:29092 +#: ../NEWS:29135 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 "" -#: ../NEWS:29096 +#: ../NEWS:29139 msgid ":issue:`36252`: Update Unicode databases to version 12.0.0." msgstr "" -#: ../NEWS:29098 +#: ../NEWS:29141 msgid "" ":issue:`36218`: Fix a segfault occurring when sorting a list of " "heterogeneous values. Patch contributed by Rémi Lapeyre and Elliot " "Gorokhovsky." msgstr "" -#: ../NEWS:29101 +#: ../NEWS:29144 msgid "" ":issue:`36188`: Cleaned up left-over vestiges of Python 2 unbound method " "handling in method objects and documentation. Patch by Martijn Pieters" msgstr "" -#: ../NEWS:29104 +#: ../NEWS:29147 msgid "" ":issue:`36124`: Add a new interpreter-specific dict and expose it in the C-" "API via PyInterpreterState_GetDict(). This parallels " @@ -50932,7 +51001,7 @@ msgid "" "PyModule_GetState() for their own internal per-interpreter state." msgstr "" -#: ../NEWS:29109 +#: ../NEWS:29152 msgid "" ":issue:`35975`: Add a ``feature_version`` flag to ``ast.parse()`` " "(documented) and ``compile()`` (hidden) that allows tweaking the parser to " @@ -50943,11 +51012,11 @@ msgid "" "the parser driver recognizes.)" msgstr "" -#: ../NEWS:29117 +#: ../NEWS:29160 msgid ":issue:`31904`: Use UTF-8 as the system encoding on VxWorks." msgstr "" -#: ../NEWS:29119 +#: ../NEWS:29162 msgid "" ":issue:`36048`: The :meth:`~object.__index__` special method will be used " "instead of :meth:`~object.__int__` for implicit conversion of Python numbers " @@ -50955,19 +51024,19 @@ msgid "" "been deprecated." msgstr "" -#: ../NEWS:29124 +#: ../NEWS:29167 msgid "" ":issue:`35808`: Retire pgen and use a modified version of pgen2 to generate " "the parser. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:29130 +#: ../NEWS:29173 msgid "" ":issue:`36401`: The class documentation created by pydoc now has a separate " "section for readonly properties." msgstr "" -#: ../NEWS:29133 +#: ../NEWS:29176 msgid "" ":issue:`36320`: The typing.NamedTuple() class has deprecated the " "_field_types attribute in favor of the __annotations__ attribute which " @@ -50975,19 +51044,19 @@ msgid "" "OrderedDict to a regular dict." msgstr "" -#: ../NEWS:29138 +#: ../NEWS:29181 msgid "" ":issue:`34745`: Fix :mod:`asyncio` ssl memory issues caused by circular " "references" msgstr "" -#: ../NEWS:29141 +#: ../NEWS:29184 msgid "" ":issue:`36324`: Add method to statistics.NormalDist for computing the " "inverse cumulative normal distribution." msgstr "" -#: ../NEWS:29144 +#: ../NEWS:29187 msgid "" ":issue:`36321`: collections.namedtuple() misspelled the name of an " "attribute. To be consistent with typing.NamedTuple, the attribute name " @@ -50996,60 +51065,60 @@ msgid "" "version may be removed in the future." msgstr "" -#: ../NEWS:29150 +#: ../NEWS:29193 msgid "" ":issue:`36297`: \"unicode_internal\" codec is removed. It was deprecated " "since Python 3.3. Patch by Inada Naoki." msgstr "" -#: ../NEWS:29153 +#: ../NEWS:29196 msgid "" ":issue:`36298`: Raise ModuleNotFoundError in pyclbr when a module can't be " "found. Thanks to 'mental' for the bug report." msgstr "" -#: ../NEWS:29156 +#: ../NEWS:29199 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 "" -#: ../NEWS:29160 +#: ../NEWS:29203 msgid "" ":issue:`36285`: Fix integer overflows in the array module. Patch by Stephan " "Hohe." msgstr "" -#: ../NEWS:29163 +#: ../NEWS:29206 msgid ":issue:`31904`: Add _signal module support for VxWorks." msgstr "" -#: ../NEWS:29165 +#: ../NEWS:29208 msgid "" ":issue:`36272`: :mod:`logging` does not silently ignore RecursionError " "anymore. Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:29168 +#: ../NEWS:29211 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 "" -#: ../NEWS:29171 +#: ../NEWS:29214 msgid "" ":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles all " "exceptions." msgstr "" -#: ../NEWS:29174 +#: ../NEWS:29217 msgid "" ":issue:`36251`: Fix format strings used for stderrprinter and re.Match " "reprs. Patch by Stephan Hohe." msgstr "" -#: ../NEWS:29177 +#: ../NEWS:29220 msgid "" ":issue:`36235`: Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils." "sysconfig``: when the ``CFLAGS`` environment variable is defined, don't " @@ -51057,84 +51126,84 @@ msgid "" "patch written by David Malcolm." msgstr "" -#: ../NEWS:29182 +#: ../NEWS:29225 msgid "" ":issue:`35807`: Update ensurepip to install pip 19.0.3 and setuptools 40.8.0." msgstr "" -#: ../NEWS:29184 +#: ../NEWS:29227 msgid ":issue:`36139`: Release GIL when closing :class:`~mmap.mmap` objects." msgstr "" -#: ../NEWS:29186 +#: ../NEWS:29229 msgid "" ":issue:`36179`: Fix two unlikely reference leaks in _hashopenssl. The leaks " "only occur in out-of-memory cases." msgstr "" -#: ../NEWS:29189 +#: ../NEWS:29232 msgid "" ":issue:`36169`: Add overlap() method to statistics.NormalDist. Computes the " "overlapping coefficient for two normal distributions." msgstr "" -#: ../NEWS:29192 +#: ../NEWS:29235 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 "" -#: ../NEWS:29196 +#: ../NEWS:29239 msgid "" ":issue:`36130`: Fix ``pdb`` with ``skip=...`` when stepping into a frame " "without a ``__name__`` global. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:29199 +#: ../NEWS:29242 msgid "" ":issue:`35652`: shutil.copytree(copy_function=...) erroneously pass DirEntry " "instead of a path string." msgstr "" -#: ../NEWS:29202 +#: ../NEWS:29245 msgid "" ":issue:`35178`: Ensure custom :func:`warnings.formatwarning` function can " "receive ``line`` as positional argument. Based on patch by Tashrif Billah." msgstr "" -#: ../NEWS:29205 +#: ../NEWS:29248 msgid "" ":issue:`36106`: Resolve potential name clash with libm's sinpi(). Patch by " "Dmitrii Pasechnik." msgstr "" -#: ../NEWS:29208 +#: ../NEWS:29251 msgid "" ":issue:`36091`: Clean up reference to async generator in Lib/types. Patch by " "Henry Chen." msgstr "" -#: ../NEWS:29211 +#: ../NEWS:29254 msgid "" ":issue:`36043`: :class:`FileCookieJar` supports :term:`path-like object`. " "Contributed by Stéphane Wirtel" msgstr "" -#: ../NEWS:29214 +#: ../NEWS:29257 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 "" -#: ../NEWS:29218 +#: ../NEWS:29261 msgid "" ":issue:`21269`: Add ``args`` and ``kwargs`` properties to mock call objects. " "Contributed by Kumar Akshay." msgstr "" -#: ../NEWS:29221 +#: ../NEWS:29264 msgid "" ":issue:`30670`: ``pprint.pp`` has been added to pretty-print objects with " "dictionary keys being sorted with their insertion order by default. " @@ -51142,80 +51211,80 @@ msgid "" "pformat`` and ``pprint.PrettyPrinter``. Contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:29227 +#: ../NEWS:29270 msgid "" ":issue:`35843`: Implement ``__getitem__`` for ``_NamespacePath``. Patch by " "Anthony Sottile." msgstr "" -#: ../NEWS:29230 +#: ../NEWS:29273 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 "" -#: ../NEWS:29234 +#: ../NEWS:29277 msgid "" ":issue:`35715`: Librates the return value of a ProcessPoolExecutor " "_process_worker after it's no longer needed to free memory" msgstr "" -#: ../NEWS:29237 +#: ../NEWS:29280 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 "" -#: ../NEWS:29241 +#: ../NEWS:29284 msgid ":issue:`35661`: Store the venv prompt in pyvenv.cfg." msgstr "" -#: ../NEWS:29243 +#: ../NEWS:29286 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 "" -#: ../NEWS:29247 +#: ../NEWS:29290 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 "" -#: ../NEWS:29251 +#: ../NEWS:29294 msgid ":issue:`35198`: Fix C++ extension compilation on AIX" msgstr "" -#: ../NEWS:29256 +#: ../NEWS:29299 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 "" -#: ../NEWS:29260 +#: ../NEWS:29303 msgid "" ":issue:`36138`: Improve documentation about converting datetime.timedelta to " "scalars." msgstr "" -#: ../NEWS:29263 +#: ../NEWS:29306 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 "" -#: ../NEWS:29270 +#: ../NEWS:29313 msgid "" ":issue:`36234`: test_posix.PosixUidGidTests: add tests for invalid uid/gid " "type (str). Initial patch written by David Malcolm." msgstr "" -#: ../NEWS:29273 +#: ../NEWS:29316 msgid "" ":issue:`29571`: Fix ``test_re.test_locale_flag()``: use ``locale." "getpreferredencoding()`` rather than ``locale.getlocale()`` to get the " @@ -51223,158 +51292,158 @@ msgid "" "encoding." msgstr "" -#: ../NEWS:29278 +#: ../NEWS:29321 msgid ":issue:`36123`: Fix race condition in test_socket." msgstr "" -#: ../NEWS:29283 +#: ../NEWS:29326 msgid "" ":issue:`36356`: Fix leaks that led to build failure when configured with " "address sanitizer." msgstr "" -#: ../NEWS:29286 +#: ../NEWS:29329 msgid "" ":issue:`36146`: Add ``TEST_EXTENSIONS`` constant to ``setup.py`` to allow to " "not build test extensions like ``_testcapi``." msgstr "" -#: ../NEWS:29289 +#: ../NEWS:29332 msgid "" ":issue:`36146`: Fix setup.py on macOS: only add ``/usr/include/ffi`` to " "include directories of _ctypes, not for all extensions." msgstr "" -#: ../NEWS:29292 +#: ../NEWS:29335 msgid ":issue:`31904`: Enable build system to cross-build for VxWorks RTOS." msgstr "" -#: ../NEWS:29297 +#: ../NEWS:29340 msgid "" ":issue:`36312`: Fixed decoders for the following code pages: 50220, 50221, " "50222, 50225, 50227, 50229, 57002 through 57011, 65000 and 42." msgstr "" -#: ../NEWS:29300 +#: ../NEWS:29343 msgid "" ":issue:`36264`: Don't honor POSIX ``HOME`` in ``os.path.expanduser`` on " "windows. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:29303 +#: ../NEWS:29346 msgid "" ":issue:`24643`: Fix name collisions due to ``#define timezone _timezone`` in " "PC/pyconfig.h." msgstr "" -#: ../NEWS:29309 +#: ../NEWS:29352 msgid ":issue:`36405`: Use dict unpacking in idlelib." msgstr "" -#: ../NEWS:29311 +#: ../NEWS:29354 msgid "" ":issue:`36396`: Remove fgBg param of idlelib.config.GetHighlight(). This " "param was only used twice and changed the return type." msgstr "" -#: ../NEWS:29314 +#: ../NEWS:29357 msgid "" ":issue:`36176`: Fix IDLE autocomplete & calltip popup colors. Prevent " "conflicts with Linux dark themes (and slightly darken calltip background)." msgstr "" -#: ../NEWS:29317 +#: ../NEWS:29360 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 "" -#: ../NEWS:29321 +#: ../NEWS:29364 msgid ":issue:`23216`: Add docstrings to IDLE search modules." msgstr "" -#: ../NEWS:29323 +#: ../NEWS:29366 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 "" -#: ../NEWS:29327 +#: ../NEWS:29370 msgid "" ":issue:`32129`: Avoid blurry IDLE application icon on macOS with Tk 8.6. " "Patch by Kevin Walzer." msgstr "" -#: ../NEWS:29330 +#: ../NEWS:29373 msgid "" ":issue:`36096`: Refactor class variables to instance variables in colorizer." msgstr "" -#: ../NEWS:29332 +#: ../NEWS:29375 msgid "" ":issue:`30348`: Increase test coverage of idlelib.autocomplete by 30%. Patch " "by Louie Lu" msgstr "" -#: ../NEWS:29338 +#: ../NEWS:29381 msgid "" ":issue:`35132`: Fix py-list and py-bt commands of python-gdb.py on gdb7." msgstr "" -#: ../NEWS:29340 +#: ../NEWS:29383 msgid ":issue:`32217`: Fix freeze script on Windows." msgstr "" -#: ../NEWS:29345 +#: ../NEWS:29388 msgid "" ":issue:`36381`: Raise ``DeprecationWarning`` when '#' formats are used for " "building or parsing values without ``PY_SSIZE_T_CLEAN``." msgstr "" -#: ../NEWS:29348 +#: ../NEWS:29391 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 "" -#: ../NEWS:29354 +#: ../NEWS:29397 msgid "Python 3.8.0 alpha 2" msgstr "" -#: ../NEWS:29356 +#: ../NEWS:29399 msgid "*Release date: 2019-02-25*" msgstr "" -#: ../NEWS:29361 +#: ../NEWS:29404 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 "" -#: ../NEWS:29365 +#: ../NEWS:29408 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 "" -#: ../NEWS:29368 +#: ../NEWS:29411 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 "" -#: ../NEWS:29372 +#: ../NEWS:29415 msgid "" ":issue:`36016`: ``gc.get_objects`` can now receive an optional parameter " "indicating a generation to get objects from. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:29375 +#: ../NEWS:29418 msgid "" ":issue:`1054041`: When the main interpreter exits due to an uncaught " "KeyboardInterrupt, the process now exits in the appropriate manner for its " @@ -51383,67 +51452,67 @@ msgid "" "to stop." msgstr "" -#: ../NEWS:29381 +#: ../NEWS:29424 msgid "" ":issue:`35992`: Fix ``__class_getitem__()`` not being called on a class with " "a custom non-subscriptable metaclass." msgstr "" -#: ../NEWS:29384 +#: ../NEWS:29427 msgid "" ":issue:`35993`: Fix a crash on fork when using subinterpreters. Contributed " "by Stéphane Wirtel" msgstr "" -#: ../NEWS:29387 +#: ../NEWS:29430 msgid ":issue:`35991`: Fix a potential double free in Modules/_randommodule.c." msgstr "" -#: ../NEWS:29389 +#: ../NEWS:29432 msgid "" ":issue:`35961`: Fix a crash in slice_richcompare(): use strong references " "rather than stolen references for the two temporary internal tuples." msgstr "" -#: ../NEWS:29392 +#: ../NEWS:29435 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 "" -#: ../NEWS:29396 +#: ../NEWS:29439 msgid "" ":issue:`12822`: Use monotonic clock for ``pthread_cond_timedwait`` when " "``pthread_condattr_setclock`` and ``CLOCK_MONOTONIC`` are available." msgstr "" -#: ../NEWS:29399 +#: ../NEWS:29442 msgid "" ":issue:`15248`: The compiler emits now syntax warnings in the case when a " "comma is likely missed before tuple or list." msgstr "" -#: ../NEWS:29402 +#: ../NEWS:29445 msgid "" ":issue:`35886`: The implementation of PyInterpreterState has been moved into " "the internal header files (guarded by Py_BUILD_CORE)." msgstr "" -#: ../NEWS:29405 +#: ../NEWS:29448 msgid "" ":issue:`31506`: Clarify the errors reported when ``object.__new__`` and " "``object.__init__`` receive more than one argument. Contributed by Sanyam " "Khurana." msgstr "" -#: ../NEWS:29409 +#: ../NEWS:29452 msgid "" ":issue:`35724`: Signal-handling is now guaranteed to happen relative to the " "main interpreter." msgstr "" -#: ../NEWS:29412 +#: ../NEWS:29455 msgid "" ":issue:`33608`: We added a new internal _Py_AddPendingCall() that operates " "relative to the provided interpreter. This allows us to use the existing " @@ -51453,20 +51522,20 @@ msgid "" "interpreter." msgstr "" -#: ../NEWS:29419 +#: ../NEWS:29462 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 "" -#: ../NEWS:29425 +#: ../NEWS:29468 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 "" -#: ../NEWS:29429 +#: ../NEWS:29472 msgid "" ":issue:`36018`: Add statistics.NormalDist, a tool for creating and " "manipulating normal distributions of random variable. Features a composite " @@ -51474,56 +51543,56 @@ msgid "" "single entity." msgstr "" -#: ../NEWS:29434 +#: ../NEWS:29477 msgid "" ":issue:`35904`: Added statistics.fmean() as a faster, floating-point variant " "of the existing mean() function." msgstr "" -#: ../NEWS:29437 +#: ../NEWS:29480 msgid "" ":issue:`35918`: Removed broken ``has_key`` method from multiprocessing." "managers.SyncManager.dict. Contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:29440 +#: ../NEWS:29483 msgid ":issue:`18283`: Add support for bytes to :func:`shutil.which`." msgstr "" -#: ../NEWS:29442 +#: ../NEWS:29485 msgid "" ":issue:`35960`: Fix :func:`dataclasses.field` throwing away empty mapping " "objects passed as metadata." msgstr "" -#: ../NEWS:29445 +#: ../NEWS:29488 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 "" -#: ../NEWS:29449 +#: ../NEWS:29492 msgid "" ":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles " "syntax errors." msgstr "" -#: ../NEWS:29452 +#: ../NEWS:29495 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 "" -#: ../NEWS:29456 +#: ../NEWS:29499 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 "" -#: ../NEWS:29460 +#: ../NEWS:29503 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 " @@ -51532,7 +51601,7 @@ msgid "" "so the pool does not get destroyed if a pool iterator is still alive." msgstr "" -#: ../NEWS:29467 +#: ../NEWS:29510 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 " @@ -51540,21 +51609,21 @@ msgid "" "between two match attempts. Patch by Ma Lin." msgstr "" -#: ../NEWS:29472 +#: ../NEWS:29515 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 "" -#: ../NEWS:29476 +#: ../NEWS:29519 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 "" -#: ../NEWS:29480 +#: ../NEWS:29523 msgid "" ":issue:`32417`: Performing arithmetic between :class:`datetime.datetime` " "subclasses and :class:`datetime.timedelta` now returns an object of the same " @@ -51564,51 +51633,51 @@ msgid "" "``tz`` argument now *also* retain their subclass." msgstr "" -#: ../NEWS:29487 +#: ../NEWS:29530 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 "" -#: ../NEWS:29491 +#: ../NEWS:29534 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 "" -#: ../NEWS:29498 +#: ../NEWS:29541 msgid "" ":issue:`36083`: Fix formatting of --check-hash-based-pycs options in the " "manpage Synopsis." msgstr "" -#: ../NEWS:29501 +#: ../NEWS:29544 msgid "" ":issue:`36007`: Bump minimum sphinx version to 1.8. Patch by Anthony " "Sottile." msgstr "" -#: ../NEWS:29503 +#: ../NEWS:29546 msgid "" ":issue:`22062`: Update documentation and docstrings for pathlib. Original " "patch by Mike Short." msgstr "" -#: ../NEWS:29509 +#: ../NEWS:29552 msgid "" ":issue:`27313`: Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa " "Tk." msgstr "" -#: ../NEWS:29512 +#: ../NEWS:29555 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 "" -#: ../NEWS:29516 +#: ../NEWS:29559 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 " @@ -51616,90 +51685,90 @@ msgid "" "TLS version." msgstr "" -#: ../NEWS:29521 +#: ../NEWS:29564 msgid ":issue:`35798`: Added :func:`test.support.check_syntax_warning`." msgstr "" -#: ../NEWS:29523 +#: ../NEWS:29566 msgid "" ":issue:`35505`: Make test_imap4_host_default_value independent on whether " "the local IMAP server is running." msgstr "" -#: ../NEWS:29526 +#: ../NEWS:29569 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 "" -#: ../NEWS:29530 +#: ../NEWS:29573 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 "" -#: ../NEWS:29533 +#: ../NEWS:29576 msgid "Patch by Michael Felt (aixtools)" msgstr "" -#: ../NEWS:29535 +#: ../NEWS:29578 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 "" -#: ../NEWS:29542 +#: ../NEWS:29585 msgid "" ":issue:`35976`: Added ARM build support to Windows build files in PCBuild." msgstr "" -#: ../NEWS:29544 +#: ../NEWS:29587 msgid "" ":issue:`35692`: ``pathlib`` no longer raises when checking file and " "directory existence on drives that are not ready" msgstr "" -#: ../NEWS:29547 +#: ../NEWS:29590 msgid "" ":issue:`35872`: Uses the base Python executable when invoking venv in a " "virtual environment" msgstr "" -#: ../NEWS:29550 +#: ../NEWS:29593 msgid ":issue:`35873`: Prevents venv paths being inherited by child processes" msgstr "" -#: ../NEWS:29552 +#: ../NEWS:29595 msgid "" ":issue:`35299`: Fix sysconfig detection of the source directory and " "distutils handling of pyconfig.h during PGO profiling" msgstr "" -#: ../NEWS:29558 +#: ../NEWS:29601 msgid ":issue:`24310`: IDLE -- Document settings dialog font tab sample." msgstr "" -#: ../NEWS:29560 +#: ../NEWS:29603 msgid "" ":issue:`35833`: Revise IDLE doc for control codes sent to Shell. Add a code " "example block." msgstr "" -#: ../NEWS:29563 +#: ../NEWS:29606 msgid ":issue:`35689`: Add docstrings and unittests for colorizer.py." msgstr "" -#: ../NEWS:29567 +#: ../NEWS:29610 msgid "Python 3.8.0 alpha 1" msgstr "" -#: ../NEWS:29569 +#: ../NEWS:29612 msgid "*Release date: 2019-02-03*" msgstr "" -#: ../NEWS:29574 +#: ../NEWS:29617 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 " @@ -51708,7 +51777,7 @@ msgid "" "Cisco." msgstr "" -#: ../NEWS:29580 +#: ../NEWS:29623 msgid "" ":issue:`34812`: The :option:`-I` command line option (run Python in isolated " "mode) is now also copied by the :mod:`multiprocessing` and ``distutils`` " @@ -51716,56 +51785,56 @@ msgid "" "option:`-s` options (enabled by :option:`-I`) were copied." msgstr "" -#: ../NEWS:29585 +#: ../NEWS:29628 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 "" -#: ../NEWS:29589 +#: ../NEWS:29632 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 "" -#: ../NEWS:29593 +#: ../NEWS:29636 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 "" -#: ../NEWS:29597 +#: ../NEWS:29640 msgid ":issue:`34405`: Updated to OpenSSL 1.1.0i for Windows builds." msgstr "" -#: ../NEWS:29599 +#: ../NEWS:29642 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 "" -#: ../NEWS:29603 +#: ../NEWS:29646 msgid ":issue:`32533`: Fixed thread-safety of error handling in _ssl." msgstr "" -#: ../NEWS:29605 ../NEWS:33104 +#: ../NEWS:29648 ../NEWS:33147 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 "" -#: ../NEWS:29609 ../NEWS:33108 ../NEWS:37503 +#: ../NEWS:29652 ../NEWS:33151 ../NEWS:37546 msgid "" ":issue:`33001`: Minimal fix to prevent buffer overrun in os.symlink on " "Windows" msgstr "" -#: ../NEWS:29611 ../NEWS:33110 ../NEWS:37505 +#: ../NEWS:29654 ../NEWS:33153 ../NEWS:37548 msgid "" ":issue:`32981`: Regexes in difflib and poplib were vulnerable to " "catastrophic backtracking. These regexes formed potential DOS vectors " @@ -51773,51 +51842,51 @@ msgid "" "`2018-1061`. Patch by Jamie Davis." msgstr "" -#: ../NEWS:29616 ../NEWS:33322 +#: ../NEWS:29659 ../NEWS:33365 msgid "" ":issue:`28414`: The ssl module now allows users to perform their own IDN en/" "decoding when using SNI." msgstr "" -#: ../NEWS:29622 +#: ../NEWS:29665 msgid "" ":issue:`35877`: Make parenthesis optional for named expressions in while " "statement. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:29625 +#: ../NEWS:29668 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 "" -#: ../NEWS:29629 +#: ../NEWS:29672 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 "" -#: ../NEWS:29634 +#: ../NEWS:29677 msgid "" ":issue:`35713`: Reorganize Python initialization to get working exceptions " "and sys.stderr earlier." msgstr "" -#: ../NEWS:29637 +#: ../NEWS:29680 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 "" -#: ../NEWS:29640 +#: ../NEWS:29683 msgid "" ":issue:`35720`: Fixed a minor memory leak in pymain_parse_cmdline_impl " "function in Modules/main.c" msgstr "" -#: ../NEWS:29643 +#: ../NEWS:29686 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 " @@ -51825,71 +51894,71 @@ msgid "" "since Python 3.6." msgstr "" -#: ../NEWS:29648 +#: ../NEWS:29691 msgid "" ":issue:`35623`: Fix a crash when sorting very long lists. Patch by Stephan " "Hohe." msgstr "" -#: ../NEWS:29651 +#: ../NEWS:29694 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 "" -#: ../NEWS:29655 +#: ../NEWS:29698 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 "" -#: ../NEWS:29659 +#: ../NEWS:29702 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 "" -#: ../NEWS:29663 +#: ../NEWS:29706 msgid "" ":issue:`35504`: Fix segfaults and :exc:`SystemError`\\ s when deleting " "certain attributes. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29666 +#: ../NEWS:29709 msgid "" ":issue:`35504`: Fixed a SystemError when delete the characters_written " "attribute of an OSError." msgstr "" -#: ../NEWS:29669 +#: ../NEWS:29712 msgid "" ":issue:`35494`: Improved syntax error messages for unbalanced parentheses in " "f-string." msgstr "" -#: ../NEWS:29672 +#: ../NEWS:29715 msgid "" ":issue:`35444`: Fixed error handling in pickling methods when fail to look " "up builtin \"getattr\". Sped up pickling iterators." msgstr "" -#: ../NEWS:29675 +#: ../NEWS:29718 msgid "" ":issue:`35436`: Fix various issues with memory allocation error handling. " "Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29678 +#: ../NEWS:29721 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 "" -#: ../NEWS:29682 +#: ../NEWS:29725 msgid "" ":issue:`35357`: Internal attributes' names of unittest.mock._Call and " "unittest.mock.MagicProxy (name, parent & from_kall) are now prefixed with " @@ -51897,19 +51966,19 @@ msgid "" "minor typo in test function name." msgstr "" -#: ../NEWS:29687 +#: ../NEWS:29730 msgid "" ":issue:`35372`: Fixed the code page decoder for input longer than 2 GiB " "containing undecodable bytes." msgstr "" -#: ../NEWS:29690 +#: ../NEWS:29733 msgid "" ":issue:`35336`: Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce " "the C locale if the LC_CTYPE locale is \"C\"." msgstr "" -#: ../NEWS:29693 +#: ../NEWS:29736 msgid "" ":issue:`31241`: The *lineno* and *col_offset* attributes of AST nodes for " "list comprehensions, generator expressions and tuples are now point to the " @@ -51917,39 +51986,39 @@ msgid "" "point to the position of the first item." msgstr "" -#: ../NEWS:29698 +#: ../NEWS:29741 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 "" -#: ../NEWS:29702 +#: ../NEWS:29745 msgid "" ":issue:`35269`: Fix a possible segfault involving a newly created coroutine. " "Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29705 +#: ../NEWS:29748 msgid "" ":issue:`35224`: Implement :pep:`572` (assignment expressions). Patch by " "Emily Morehouse." msgstr "" -#: ../NEWS:29708 +#: ../NEWS:29751 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 "" -#: ../NEWS:29711 +#: ../NEWS:29754 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 "" -#: ../NEWS:29715 +#: ../NEWS:29758 msgid "" ":issue:`35214`: The interpreter and extension modules have had annotations " "added so that they work properly under clang's Memory Sanitizer. A new " @@ -51957,7 +52026,7 @@ msgid "" "this nature easier to perform." msgstr "" -#: ../NEWS:29720 +#: ../NEWS:29763 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 " @@ -51965,36 +52034,36 @@ msgid "" "3.7 until now." msgstr "" -#: ../NEWS:29725 +#: ../NEWS:29768 msgid ":issue:`35169`: Improved error messages for forbidden assignments." msgstr "" -#: ../NEWS:29727 +#: ../NEWS:29770 msgid "" ":issue:`34022`: Fix handling of hash-based bytecode files in :mod:" "`zipimport`. Patch by Elvis Pranskevichus." msgstr "" -#: ../NEWS:29730 +#: ../NEWS:29773 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 "" -#: ../NEWS:29734 +#: ../NEWS:29777 msgid "" ":issue:`29341`: Clarify in the docstrings of :mod:`os` methods that path-" "like objects are also accepted as input parameters." msgstr "" -#: ../NEWS:29737 +#: ../NEWS:29780 msgid "" ":issue:`35050`: :mod:`socket`: Fix off-by-one bug in length check for " "``AF_ALG`` name and type." msgstr "" -#: ../NEWS:29740 +#: ../NEWS:29783 msgid "" ":issue:`29743`: Raise :exc:`ValueError` instead of :exc:`OverflowError` in " "case of a negative ``_length_`` in a :class:`ctypes.Array` subclass. Also " @@ -52002,45 +52071,45 @@ msgid "" "``_length_``. Original patch by Oren Milman." msgstr "" -#: ../NEWS:29745 +#: ../NEWS:29788 msgid "" ":issue:`16806`: Fix ``lineno`` and ``col_offset`` for multi-line string " "tokens." msgstr "" -#: ../NEWS:29747 +#: ../NEWS:29790 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 "" -#: ../NEWS:29751 +#: ../NEWS:29794 msgid "" ":issue:`34983`: Expose :meth:`symtable.Symbol.is_nonlocal` in the symtable " "module. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:29754 +#: ../NEWS:29797 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 "" -#: ../NEWS:29758 +#: ../NEWS:29801 msgid "" ":issue:`34939`: Allow annotated names in module namespace that are declared " "global before the annotation happens. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:29761 +#: ../NEWS:29804 msgid "" ":issue:`34973`: Fixed crash in :func:`bytes` when the :class:`list` argument " "is mutated while it is iterated." msgstr "" -#: ../NEWS:29764 +#: ../NEWS:29807 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 " @@ -52050,32 +52119,32 @@ msgid "" "the parent AST node." msgstr "" -#: ../NEWS:29771 +#: ../NEWS:29814 msgid "" ":issue:`34879`: Fix a possible null pointer dereference in bytesobject.c. " "Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29774 +#: ../NEWS:29817 msgid "" ":issue:`34784`: Fix the implementation of PyStructSequence_NewType in order " "to create heap allocated StructSequences." msgstr "" -#: ../NEWS:29777 +#: ../NEWS:29820 msgid "" ":issue:`32912`: A :exc:`SyntaxWarning` is now emitted instead of a :exc:" "`DeprecationWarning` for invalid escape sequences in string and bytes " "literals." msgstr "" -#: ../NEWS:29781 +#: ../NEWS:29824 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 "" -#: ../NEWS:29784 +#: ../NEWS:29827 msgid "" ":issue:`34850`: The compiler now produces a :exc:`SyntaxWarning` when " "identity checks (``is`` and ``is not``) are used with certain types of " @@ -52084,13 +52153,13 @@ msgid "" "use equality tests (``==`` and ``!=``) instead." msgstr "" -#: ../NEWS:29790 +#: ../NEWS:29833 msgid "" ":issue:`34824`: Fix a possible null pointer dereference in Modules/_ssl.c. " "Patch by Zackery Spytz." msgstr "" -#: ../NEWS:29793 +#: ../NEWS:29836 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 " @@ -52098,11 +52167,11 @@ msgid "" "worth it and it causes 3 different crashes last years." msgstr "" -#: ../NEWS:29798 +#: ../NEWS:29841 msgid ":issue:`34762`: Fix contextvars C API to use PyObject* pointer types." msgstr "" -#: ../NEWS:29800 +#: ../NEWS:29843 msgid "" ":issue:`34751`: The hash function for tuples is now based on xxHash which " "gives better collision results on (formerly) pathological cases. " @@ -52110,83 +52179,83 @@ msgid "" "by Jeroen Demeyer with substantial contributions by Tim Peters." msgstr "" -#: ../NEWS:29805 +#: ../NEWS:29848 msgid "" ":issue:`34735`: Fix a memory leak in Modules/timemodule.c. Patch by Zackery " "Spytz." msgstr "" -#: ../NEWS:29808 +#: ../NEWS:29851 msgid "" ":issue:`34683`: Fixed a bug where some SyntaxError error pointed to " "locations that were off-by-one." msgstr "" -#: ../NEWS:29811 +#: ../NEWS:29854 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 "" -#: ../NEWS:29815 +#: ../NEWS:29858 msgid "" ":issue:`34653`: Remove unused function PyParser_SimpleParseStringFilename." msgstr "" -#: ../NEWS:29817 +#: ../NEWS:29860 msgid "" ":issue:`32236`: Warn that line buffering is not supported if :func:`open` is " "called with binary mode and ``buffering=1``." msgstr "" -#: ../NEWS:29820 +#: ../NEWS:29863 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 "" -#: ../NEWS:29824 +#: ../NEWS:29867 msgid "" ":issue:`34637`: Make the *start* argument to *sum()* visible as a keyword " "argument." msgstr "" -#: ../NEWS:29827 +#: ../NEWS:29870 msgid "" ":issue:`1621`: Do not assume signed integer overflow behavior (C undefined " "behavior) when performing set hash table resizing." msgstr "" -#: ../NEWS:29830 +#: ../NEWS:29873 msgid "" ":issue:`34588`: Fix an off-by-one in the recursive call pruning feature of " "traceback formatting." msgstr "" -#: ../NEWS:29833 +#: ../NEWS:29876 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 "" -#: ../NEWS:29837 +#: ../NEWS:29880 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 "" -#: ../NEWS:29841 +#: ../NEWS:29884 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 "" -#: ../NEWS:29845 +#: ../NEWS:29888 msgid "" ":issue:`34485`: Python now gets the locale encoding with C code to " "initialize the encoding of standard streams like sys.stdout. Moreover, the " @@ -52195,33 +52264,33 @@ msgid "" "importing _bootlocale and _locale modules at startup by default." msgstr "" -#: ../NEWS:29851 +#: ../NEWS:29894 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 "" -#: ../NEWS:29855 +#: ../NEWS:29898 msgid "" ":issue:`34527`: The UTF-8 Mode is now also enabled by the \"POSIX\" locale, " "not only by the \"C\" locale." msgstr "" -#: ../NEWS:29858 +#: ../NEWS:29901 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 "" -#: ../NEWS:29862 +#: ../NEWS:29905 msgid "" ":issue:`34523`: The Python filesystem encoding is now read earlier during " "the Python initialization." msgstr "" -#: ../NEWS:29865 +#: ../NEWS:29908 msgid "" ":issue:`12458`: Tracebacks show now correct line number for subexpressions " "in multiline expressions. Tracebacks show now the line number of the first " @@ -52229,160 +52298,160 @@ msgid "" "subexpression." msgstr "" -#: ../NEWS:29870 +#: ../NEWS:29913 msgid "" ":issue:`34408`: Prevent a null pointer dereference and resource leakage in " "``PyInterpreterState_New()``." msgstr "" -#: ../NEWS:29873 +#: ../NEWS:29916 msgid "" ":issue:`34400`: Fix undefined behavior in parsetok.c. Patch by Zackery " "Spytz." msgstr "" -#: ../NEWS:29875 +#: ../NEWS:29918 msgid "" ":issue:`33073`: Added as_integer_ratio to ints to make them more " "interoperable with floats." msgstr "" -#: ../NEWS:29878 +#: ../NEWS:29921 msgid "" ":issue:`34377`: Update valgrind suppression list to use ``_PyObject_Free``/" "``_PyObject_Realloc`` instead of ``PyObject_Free``/``PyObject_Realloc``." msgstr "" -#: ../NEWS:29882 +#: ../NEWS:29925 msgid "" ":issue:`34353`: Added the \"socket\" option in the ``stat.filemode()`` " "Python implementation to match the C implementation." msgstr "" -#: ../NEWS:29885 +#: ../NEWS:29928 msgid "" ":issue:`34320`: Fix ``dict(od)`` didn't copy iteration order of OrderedDict." msgstr "" -#: ../NEWS:29887 +#: ../NEWS:29930 msgid "" ":issue:`34113`: Fixed crash on debug builds when opcode stack was adjusted " "with negative numbers. Patch by Constantin Petrisor." msgstr "" -#: ../NEWS:29890 +#: ../NEWS:29933 msgid "" ":issue:`34100`: Compiler now merges constants in tuples and frozensets " "recursively. Code attributes like ``co_names`` are merged too." msgstr "" -#: ../NEWS:29893 +#: ../NEWS:29936 msgid "" ":issue:`34151`: Performance of list concatenation, repetition and slicing " "operations is slightly improved. Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:29896 +#: ../NEWS:29939 msgid "" ":issue:`34170`: -X dev: it is now possible to override the memory allocator " "using PYTHONMALLOC even if the developer mode is enabled." msgstr "" -#: ../NEWS:29899 +#: ../NEWS:29942 msgid "" ":issue:`33237`: Improved :exc:`AttributeError` message for partially " "initialized module." msgstr "" -#: ../NEWS:29902 +#: ../NEWS:29945 msgid "" ":issue:`34149`: Fix min and max functions to get default behavior when key " "is None." msgstr "" -#: ../NEWS:29905 +#: ../NEWS:29948 msgid "" ":issue:`34125`: Profiling of unbound built-in methods now works when " "``**kwargs`` is given." msgstr "" -#: ../NEWS:29908 +#: ../NEWS:29951 msgid "" ":issue:`34141`: Optimized pickling atomic types (None, bool, int, float, " "bytes, str)." msgstr "" -#: ../NEWS:29911 +#: ../NEWS:29954 msgid "" ":issue:`34126`: Fix crashes when profiling certain invalid calls of unbound " "methods. Patch by Jeroen Demeyer." msgstr "" -#: ../NEWS:29914 +#: ../NEWS:29957 msgid "" ":issue:`24618`: Fixed reading invalid memory when create the code object " "with too small varnames tuple or too large argument counts." msgstr "" -#: ../NEWS:29917 +#: ../NEWS:29960 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 "" -#: ../NEWS:29921 +#: ../NEWS:29964 msgid "" ":issue:`34087`: Fix buffer overflow while converting unicode to numeric " "values." msgstr "" -#: ../NEWS:29923 +#: ../NEWS:29966 msgid "" ":issue:`34080`: Fixed a memory leak in the compiler when it raised some " "uncommon errors during tokenizing." msgstr "" -#: ../NEWS:29926 +#: ../NEWS:29969 msgid "" ":issue:`34066`: Disabled interruption by Ctrl-C between calling ``open()`` " "and entering a **with** block in ``with open()``." msgstr "" -#: ../NEWS:29929 +#: ../NEWS:29972 msgid "" ":issue:`34042`: Fix dict.copy() to maintain correct total refcount (as " "reported by sys.gettotalrefcount())." msgstr "" -#: ../NEWS:29932 +#: ../NEWS:29975 msgid "" ":issue:`33418`: Fix potential memory leak in function object when it creates " "reference cycle." msgstr "" -#: ../NEWS:29935 +#: ../NEWS:29978 msgid ":issue:`33985`: Implement contextvars.ContextVar.name attribute." msgstr "" -#: ../NEWS:29937 +#: ../NEWS:29980 msgid ":issue:`33956`: Update vendored Expat library copy to version 2.2.5." msgstr "" -#: ../NEWS:29939 +#: ../NEWS:29982 msgid "" ":issue:`24596`: Decref the module object in :c:func:" "`PyRun_SimpleFileExFlags` before calling :c:func:`PyErr_Print()`. Patch by " "Zackery Spytz." msgstr "" -#: ../NEWS:29942 +#: ../NEWS:29985 msgid "" ":issue:`33451`: Close directly executed pyc files before calling " "``PyEval_EvalCode()``." msgstr "" -#: ../NEWS:29945 +#: ../NEWS:29988 msgid "" ":issue:`1617161`: The hash of :class:`BuiltinMethodType` instances (methods " "of built-in classes) now depends on the hash of the identity of *__self__* " @@ -52393,19 +52462,19 @@ msgid "" "`MethodWrapperType` instances no longer support ordering." msgstr "" -#: ../NEWS:29953 +#: ../NEWS:29996 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 "" -#: ../NEWS:29956 ../NEWS:32602 +#: ../NEWS:29999 ../NEWS:32645 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 "" -#: ../NEWS:29959 +#: ../NEWS:30002 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:" @@ -52413,36 +52482,36 @@ msgid "" "macro checks was added." msgstr "" -#: ../NEWS:29964 ../NEWS:37176 +#: ../NEWS:30007 ../NEWS:37219 msgid "" ":issue:`33786`: Fix asynchronous generators to handle GeneratorExit in " "athrow() correctly" msgstr "" -#: ../NEWS:29967 +#: ../NEWS:30010 msgid "" ":issue:`30167`: ``PyRun_SimpleFileExFlags`` removes ``__cached__`` from " "module in addition to ``__file__``." msgstr "" -#: ../NEWS:29970 ../NEWS:32605 +#: ../NEWS:30013 ../NEWS:32648 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 "" -#: ../NEWS:29973 +#: ../NEWS:30016 msgid ":issue:`33597`: Reduce ``PyGC_Head`` size from 3 words to 2 words." msgstr "" -#: ../NEWS:29975 ../NEWS:32608 ../NEWS:37179 +#: ../NEWS:30018 ../NEWS:32651 ../NEWS:37222 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 "" -#: ../NEWS:29979 ../NEWS:32714 ../NEWS:37183 +#: ../NEWS:30022 ../NEWS:32757 ../NEWS:37226 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." @@ -52450,12 +52519,12 @@ msgid "" "set and preserves it." msgstr "" -#: ../NEWS:29984 +#: ../NEWS:30027 msgid "" ":issue:`33462`: Make dict and dict views reversible. Patch by Rémi Lapeyre." msgstr "" -#: ../NEWS:29986 +#: ../NEWS:30029 msgid "" ":issue:`23722`: A :exc:`RuntimeError` is now raised when the custom " "metaclass doesn't provide the ``__classcell__`` entry in the namespace " @@ -52463,115 +52532,115 @@ msgid "" "Python 3.6--3.7." msgstr "" -#: ../NEWS:29991 +#: ../NEWS:30034 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 "" -#: ../NEWS:29995 +#: ../NEWS:30038 msgid "" ":issue:`25711`: The :mod:`zipimport` module has been rewritten in pure " "Python." msgstr "" -#: ../NEWS:29997 ../NEWS:32719 +#: ../NEWS:30040 ../NEWS:32762 msgid "" ":issue:`33509`: Fix module_globals parameter of warnings.warn_explicit(): " "don't crash if module_globals is not a dict." msgstr "" -#: ../NEWS:30000 ../NEWS:32612 ../NEWS:37188 +#: ../NEWS:30043 ../NEWS:32655 ../NEWS:37231 msgid ":issue:`31849`: Fix signed/unsigned comparison warning in pyhash.c." msgstr "" -#: ../NEWS:30002 ../NEWS:32726 +#: ../NEWS:30045 ../NEWS:32769 msgid "" ":issue:`33475`: Fixed miscellaneous bugs in converting annotations to " "strings and optimized parentheses in the string representation." msgstr "" -#: ../NEWS:30005 +#: ../NEWS:30048 msgid "" ":issue:`20104`: Added support for the ``setpgroup``, ``resetids``, " "``setsigmask``, ``setsigdef`` and ``scheduler`` parameters of " "``posix_spawn``. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:30009 ../NEWS:32729 ../NEWS:37190 +#: ../NEWS:30052 ../NEWS:32772 ../NEWS:37233 msgid ":issue:`33391`: Fix a leak in set_symmetric_difference()." msgstr "" -#: ../NEWS:30011 ../NEWS:32927 +#: ../NEWS:30054 ../NEWS:32970 msgid "" ":issue:`33363`: Raise a SyntaxError for ``async with`` and ``async for`` " "statements outside of async functions." msgstr "" -#: ../NEWS:30014 ../NEWS:32731 ../NEWS:37192 +#: ../NEWS:30057 ../NEWS:32774 ../NEWS:37235 msgid "" ":issue:`28055`: Fix unaligned accesses in siphash24(). Patch by Rolf Eike " "Beer." msgstr "" -#: ../NEWS:30016 ../NEWS:32930 +#: ../NEWS:30059 ../NEWS:32973 msgid "" ":issue:`33128`: Fix a bug that causes PathFinder to appear twice on sys." "meta_path. Patch by Pablo Galindo Salgado." msgstr "" -#: ../NEWS:30019 +#: ../NEWS:30062 msgid "" ":issue:`33331`: Modules imported last are now cleared first at interpreter " "shutdown." msgstr "" -#: ../NEWS:30022 ../NEWS:32933 +#: ../NEWS:30065 ../NEWS:32976 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 "" -#: ../NEWS:30026 +#: ../NEWS:30069 msgid "" ":issue:`33305`: Improved syntax error messages for invalid numerical " "literals." msgstr "" -#: ../NEWS:30028 +#: ../NEWS:30071 msgid "" ":issue:`33306`: Improved syntax error messages for unbalanced parentheses." msgstr "" -#: ../NEWS:30030 +#: ../NEWS:30073 msgid "" ":issue:`33234`: The list constructor will pre-size and not over-allocate " "when the input length is known." msgstr "" -#: ../NEWS:30033 +#: ../NEWS:30076 msgid "" ":issue:`33270`: Intern the names for all anonymous code objects. Patch by " "Zackery Spytz." msgstr "" -#: ../NEWS:30036 +#: ../NEWS:30079 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 "" -#: ../NEWS:30039 +#: ../NEWS:30082 msgid ":issue:`33176`: Add a ``toreadonly()`` method to memoryviews." msgstr "" -#: ../NEWS:30041 ../NEWS:32937 ../NEWS:37194 +#: ../NEWS:30084 ../NEWS:32980 ../NEWS:37237 msgid ":issue:`33231`: Fix potential memory leak in ``normalizestring()``." msgstr "" -#: ../NEWS:30043 ../NEWS:32939 +#: ../NEWS:30086 ../NEWS:32982 msgid "" ":issue:`33205`: Change dict growth function from " "``round_up_to_power_2(used*2+hashtable_size/2)`` to " @@ -52579,19 +52648,19 @@ msgid "" "``used == 0``. Now dict has more chance to be shrinked." msgstr "" -#: ../NEWS:30048 ../NEWS:32944 ../NEWS:37196 +#: ../NEWS:30091 ../NEWS:32987 ../NEWS:37239 msgid "" ":issue:`29922`: Improved error messages in 'async with' when " "``__aenter__()`` or ``__aexit__()`` return non-awaitable object." msgstr "" -#: ../NEWS:30051 ../NEWS:32947 ../NEWS:37199 +#: ../NEWS:30094 ../NEWS:32990 ../NEWS:37242 msgid "" ":issue:`33199`: Fix ``ma_version_tag`` in dict implementation is " "uninitialized when copying from key-sharing dict." msgstr "" -#: ../NEWS:30054 ../NEWS:33118 +#: ../NEWS:30097 ../NEWS:33161 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 " @@ -52599,66 +52668,66 @@ msgid "" "time of the import)" msgstr "" -#: ../NEWS:30059 +#: ../NEWS:30102 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 "" -#: ../NEWS:30063 ../NEWS:33123 +#: ../NEWS:30106 ../NEWS:33166 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 "" -#: ../NEWS:30067 +#: ../NEWS:30110 msgid "" ":issue:`33083`: ``math.factorial`` no longer accepts arguments that are not " "int-like. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:30070 +#: ../NEWS:30113 msgid "" ":issue:`33041`: Added new opcode :opcode:`END_ASYNC_FOR` and fixes the " "following issues:" msgstr "" -#: ../NEWS:30073 +#: ../NEWS:30116 msgid "" "Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " "loops." msgstr "" -#: ../NEWS:30075 +#: ../NEWS:30118 msgid "Jumping into an ``async for`` loop is now disabled." msgstr "" -#: ../NEWS:30076 +#: ../NEWS:30119 msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." msgstr "" -#: ../NEWS:30078 +#: ../NEWS:30121 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 "" -#: ../NEWS:30082 +#: ../NEWS:30125 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 "" -#: ../NEWS:30086 ../NEWS:33129 ../NEWS:37513 +#: ../NEWS:30129 ../NEWS:33172 ../NEWS:37556 msgid "" ":issue:`33026`: Fixed jumping out of \"with\" block by setting f_lineno." msgstr "" -#: ../NEWS:30088 ../NEWS:33131 +#: ../NEWS:30131 ../NEWS:33174 msgid "" ":issue:`33005`: Fix a crash on fork when using a custom memory allocator " "(ex: using PYTHONMALLOC env var). _PyGILState_Reinit() and " @@ -52666,7 +52735,7 @@ msgid "" "allocate a new interpreters mutex on fork." msgstr "" -#: ../NEWS:30093 ../NEWS:32733 +#: ../NEWS:30136 ../NEWS:32776 msgid "" ":issue:`32911`: Due to unexpected compatibility issues discovered during " "downstream beta testing, reverted :issue:`29463`. ``docstring`` field is " @@ -52675,79 +52744,79 @@ msgid "" "statement in their body. Based on patch by Inada Naoki." msgstr "" -#: ../NEWS:30099 ../NEWS:33136 ../NEWS:37515 +#: ../NEWS:30142 ../NEWS:33179 ../NEWS:37558 msgid "" ":issue:`17288`: Prevent jumps from 'return' and 'exception' trace events." msgstr "" -#: ../NEWS:30101 +#: ../NEWS:30144 msgid "" ":issue:`32946`: Importing names from already imported module with \"from ... " "import ...\" is now 30% faster if the module is not a package." msgstr "" -#: ../NEWS:30104 +#: ../NEWS:30147 msgid "" ":issue:`32932`: Make error message more revealing when there are non-str " "objects in ``__all__``." msgstr "" -#: ../NEWS:30107 +#: ../NEWS:30150 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 "" -#: ../NEWS:30111 ../NEWS:33328 ../NEWS:37517 +#: ../NEWS:30154 ../NEWS:33371 ../NEWS:37560 msgid "" ":issue:`32889`: Update Valgrind suppression list to account for the rename " "of ``Py_ADDRESS_IN_RANG`` to ``address_in_range``." msgstr "" -#: ../NEWS:30114 ../NEWS:33138 +#: ../NEWS:30157 ../NEWS:33181 msgid "" ":issue:`32836`: Don't use temporary variables in cases of list/dict/set " "comprehensions" msgstr "" -#: ../NEWS:30117 ../NEWS:33331 +#: ../NEWS:30160 ../NEWS:33374 msgid "" ":issue:`31356`: Remove the new API added in :issue:`31356` (gc." "ensure_disabled() context manager)." msgstr "" -#: ../NEWS:30120 ../NEWS:33334 +#: ../NEWS:30163 ../NEWS:33377 msgid "" ":issue:`32305`: For namespace packages, ensure that both ``__file__`` and " "``__spec__.origin`` are set to None." msgstr "" -#: ../NEWS:30123 ../NEWS:33337 +#: ../NEWS:30166 ../NEWS:33380 msgid "" ":issue:`32303`: Make sure ``__spec__.loader`` matches ``__loader__`` for " "namespace packages." msgstr "" -#: ../NEWS:30126 ../NEWS:33340 +#: ../NEWS:30169 ../NEWS:33383 msgid "" ":issue:`32711`: Fix the warning messages for Python/ast_unparse.c. Patch by " "Stéphane Wirtel" msgstr "" -#: ../NEWS:30129 ../NEWS:33343 ../NEWS:37528 +#: ../NEWS:30172 ../NEWS:33386 ../NEWS:37571 msgid "" ":issue:`32583`: Fix possible crashing in builtin Unicode decoders caused by " "write out-of-bound errors when using customized decode error handlers." msgstr "" -#: ../NEWS:30132 +#: ../NEWS:30175 msgid "" ":issue:`32489`: A :keyword:`continue` statement is now allowed in the :" "keyword:`finally` clause." msgstr "" -#: ../NEWS:30135 +#: ../NEWS:30178 msgid "" ":issue:`17611`: Simplified the interpreter loop by moving the logic of " "unrolling the stack of blocks into the compiler. The compiler emits now " @@ -52756,7 +52825,7 @@ msgid "" "`return`." msgstr "" -#: ../NEWS:30141 +#: ../NEWS:30184 msgid "" "Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" "`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" @@ -52765,67 +52834,67 @@ msgid "" "`WITH_CLEANUP_START`." msgstr "" -#: ../NEWS:30147 +#: ../NEWS:30190 msgid "" ":issue:`32285`: New function unicodedata.is_normalized, which can check " "whether a string is in a specific normal form." msgstr "" -#: ../NEWS:30150 +#: ../NEWS:30193 msgid "" ":issue:`10544`: Yield expressions are now disallowed in comprehensions and " "generator expressions except the expression for the outermost iterable." msgstr "" -#: ../NEWS:30153 +#: ../NEWS:30196 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 "" -#: ../NEWS:30157 +#: ../NEWS:30200 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 "" -#: ../NEWS:30161 +#: ../NEWS:30204 msgid "" ":issue:`25862`: Fix assertion failures in the ``tell()`` method of ``io." "TextIOWrapper``. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:30164 ../NEWS:32739 ../NEWS:37207 +#: ../NEWS:30207 ../NEWS:32782 ../NEWS:37250 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 "" -#: ../NEWS:30167 +#: ../NEWS:30210 msgid "" ":issue:`31577`: Fix a crash in ``os.utime()`` in case of a bad ns argument. " "Patch by Oren Milman." msgstr "" -#: ../NEWS:30170 +#: ../NEWS:30213 msgid "" ":issue:`29832`: Remove references to 'getsockaddrarg' from various socket " "error messages. Patch by Oren Milman." msgstr "" -#: ../NEWS:30176 +#: ../NEWS:30219 msgid ":issue:`35845`: Add 'order' parameter to memoryview.tobytes()." msgstr "" -#: ../NEWS:30178 +#: ../NEWS:30221 msgid "" ":issue:`35864`: The _asdict() method for collections.namedtuple now returns " "a regular dict instead of an OrderedDict." msgstr "" -#: ../NEWS:30181 +#: ../NEWS:30224 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 " @@ -52833,19 +52902,19 @@ msgid "" "be closed instead of leaked. (patch by Giampaolo Rodola)" msgstr "" -#: ../NEWS:30186 +#: ../NEWS:30229 msgid "" ":issue:`35847`: RISC-V needed the CTYPES_PASS_BY_REF_HACK. Fixes ctypes " "Structure test_pass_by_value." msgstr "" -#: ../NEWS:30189 +#: ../NEWS:30232 msgid "" ":issue:`35813`: Shared memory submodule added to multiprocessing to avoid " "need for serialization between processes" msgstr "" -#: ../NEWS:30192 +#: ../NEWS:30235 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 " @@ -52860,93 +52929,93 @@ msgid "" "was called." msgstr "" -#: ../NEWS:30204 +#: ../NEWS:30247 msgid "" ":issue:`35537`: :func:`os.posix_spawn` and :func:`os.posix_spawnp` now have " "a *setsid* parameter." msgstr "" -#: ../NEWS:30207 +#: ../NEWS:30250 msgid "" ":issue:`23846`: :class:`asyncio.ProactorEventLoop` now catches and logs send " "errors when the self-pipe is full." msgstr "" -#: ../NEWS:30210 +#: ../NEWS:30253 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 "" -#: ../NEWS:30214 +#: ../NEWS:30257 msgid "" ":issue:`35674`: Add a new :func:`os.posix_spawnp` function. Patch by Joannah " "Nanjekye." msgstr "" -#: ../NEWS:30217 +#: ../NEWS:30260 msgid "" ":issue:`35733`: ``ast.Constant(boolean)`` no longer an instance of :class:" "`ast.Num`. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:30220 +#: ../NEWS:30263 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 "" -#: ../NEWS:30224 +#: ../NEWS:30267 msgid "" ":issue:`35719`: Sped up multi-argument :mod:`math` functions atan2(), " "copysign(), remainder() and hypot() by 1.3--2.5 times." msgstr "" -#: ../NEWS:30227 +#: ../NEWS:30270 msgid "" ":issue:`35717`: Fix KeyError exception raised when using enums and compile. " "Patch contributed by Rémi Lapeyre." msgstr "" -#: ../NEWS:30230 +#: ../NEWS:30273 msgid "" ":issue:`35699`: Fixed detection of Visual Studio Build Tools 2017 in " "distutils" msgstr "" -#: ../NEWS:30232 +#: ../NEWS:30275 msgid "" ":issue:`32710`: Fix memory leaks in asyncio ProactorEventLoop on overlapped " "operation failure." msgstr "" -#: ../NEWS:30235 +#: ../NEWS:30278 msgid "" ":issue:`35702`: The :const:`time.CLOCK_UPTIME_RAW` constant is now available " "for macOS 10.12." msgstr "" -#: ../NEWS:30238 +#: ../NEWS:30281 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 "" -#: ../NEWS:30242 +#: ../NEWS:30285 msgid "" ":issue:`35682`: Fix ``asyncio.ProactorEventLoop.sendfile()``: don't attempt " "to set the result of an internal future if it's already done." msgstr "" -#: ../NEWS:30245 +#: ../NEWS:30288 msgid "" ":issue:`35283`: Add a deprecated warning for the :meth:`threading.Thread." "isAlive` method. Patch by Donghee Na." msgstr "" -#: ../NEWS:30248 +#: ../NEWS:30291 msgid "" ":issue:`35664`: Improve operator.itemgetter() performance by 33% with " "optimized argument handling and with adding a fast path for the common case " @@ -52954,45 +53023,45 @@ msgid "" "use case in the standard library)." msgstr "" -#: ../NEWS:30253 +#: ../NEWS:30296 msgid "" ":issue:`35643`: Fixed a SyntaxWarning: invalid escape sequence in Modules/" "_sha3/cleanup.py. Patch by Mickaël Schoentgen." msgstr "" -#: ../NEWS:30256 +#: ../NEWS:30299 msgid "" ":issue:`35619`: Improved support of custom data descriptors in :func:`help` " "and :mod:`pydoc`." msgstr "" -#: ../NEWS:30259 +#: ../NEWS:30302 msgid "" ":issue:`28503`: The ``crypt`` module now internally uses the ``crypt_r()`` " "library function instead of ``crypt()`` when available." msgstr "" -#: ../NEWS:30262 +#: ../NEWS:30305 msgid ":issue:`35614`: Fixed help() on metaclasses. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:30264 +#: ../NEWS:30307 msgid ":issue:`35568`: Expose ``raise(signum)`` as ``raise_signal``" msgstr "" -#: ../NEWS:30266 +#: ../NEWS:30309 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 "" -#: ../NEWS:30270 +#: ../NEWS:30313 msgid "" ":issue:`35585`: Speed-up building enums by value, e.g. http.HTTPStatus(200)." msgstr "" -#: ../NEWS:30272 +#: ../NEWS:30315 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 " @@ -53000,32 +53069,32 @@ msgid "" "produce a difference stream of random variables than it used to." msgstr "" -#: ../NEWS:30277 +#: ../NEWS:30320 msgid "" ":issue:`35537`: The :mod:`subprocess` module can now use the :func:`os." "posix_spawn` function in some cases for better performance." msgstr "" -#: ../NEWS:30280 +#: ../NEWS:30323 msgid "" ":issue:`35526`: Delaying the 'joke' of barry_as_FLUFL.mandatory to Python " "version 4.0" msgstr "" -#: ../NEWS:30283 +#: ../NEWS:30326 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 "" -#: ../NEWS:30287 +#: ../NEWS:30330 msgid "" ":issue:`31784`: :func:`uuid.uuid1` now calls :func:`time.time_ns` rather " "than ``int(time.time() * 1e9)``." msgstr "" -#: ../NEWS:30290 +#: ../NEWS:30333 msgid "" ":issue:`35513`: :class:`~unittest.runner.TextTestRunner` of :mod:`unittest." "runner` now uses :func:`time.perf_counter` rather than :func:`time.time` to " @@ -53033,14 +53102,14 @@ msgid "" "whereas :func:`time.perf_counter` is monotonic." msgstr "" -#: ../NEWS:30296 +#: ../NEWS:30339 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 "" -#: ../NEWS:30300 +#: ../NEWS:30343 msgid "" ":issue:`35348`: Make :func:`platform.architecture` parsing of ``file`` " "command output more reliable: add the ``-b`` option to the ``file`` command " @@ -53048,7 +53117,7 @@ msgid "" "\"shared object\" pattern." msgstr "" -#: ../NEWS:30305 +#: ../NEWS:30348 msgid "" ":issue:`35491`: :mod:`multiprocessing`: Add ``Pool.__repr__()`` and enhance " "``BaseProcess.__repr__()`` (add pid and parent pid) to ease debugging. Pool " @@ -53056,65 +53125,65 @@ msgid "" "``RUN`` value becomes ``'RUN'`` instead of ``0``." msgstr "" -#: ../NEWS:30310 +#: ../NEWS:30353 msgid "" ":issue:`35477`: :meth:`multiprocessing.Pool.__enter__` now fails if the pool " "is not running: ``with pool:`` fails if used more than once." msgstr "" -#: ../NEWS:30313 +#: ../NEWS:30356 msgid "" ":issue:`31446`: Copy command line that was passed to CreateProcessW since " "this function can change the content of the input buffer." msgstr "" -#: ../NEWS:30316 +#: ../NEWS:30359 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 "" -#: ../NEWS:30319 +#: ../NEWS:30362 msgid "" ":issue:`23057`: Unblock Proactor event loop when keyboard interrupt is " "received on Windows" msgstr "" -#: ../NEWS:30322 +#: ../NEWS:30365 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 "" -#: ../NEWS:30325 +#: ../NEWS:30368 msgid "" ":issue:`20239`: Allow repeated assignment deletion of :class:`unittest.mock." "Mock` attributes. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:30328 +#: ../NEWS:30371 msgid "" ":issue:`17185`: Set ``__signature__`` on mock for :mod:`inspect` to get " "signature. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:30331 +#: ../NEWS:30374 msgid "" ":issue:`35445`: Memory errors during creating posix.environ no longer " "ignored." msgstr "" -#: ../NEWS:30333 +#: ../NEWS:30376 msgid ":issue:`35415`: Validate fileno= argument to socket.socket()." msgstr "" -#: ../NEWS:30335 +#: ../NEWS:30378 msgid "" ":issue:`35424`: :class:`multiprocessing.Pool` destructor now emits :exc:" "`ResourceWarning` if the pool is still running." msgstr "" -#: ../NEWS:30338 +#: ../NEWS:30381 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 " @@ -53122,20 +53191,20 @@ msgid "" "same way that it is done with return_value." msgstr "" -#: ../NEWS:30343 +#: ../NEWS:30386 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 "" -#: ../NEWS:30347 +#: ../NEWS:30390 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 "" -#: ../NEWS:30351 +#: ../NEWS:30394 msgid "" ":issue:`10496`: :func:`posixpath.expanduser` now returns the input *path* " "unchanged if the ``HOME`` environment variable is not set and the current " @@ -53145,18 +53214,18 @@ msgid "" "directory)." msgstr "" -#: ../NEWS:30358 +#: ../NEWS:30401 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 "" -#: ../NEWS:30362 +#: ../NEWS:30405 msgid ":issue:`35394`: Add empty slots to asyncio abstract protocols." msgstr "" -#: ../NEWS:30364 +#: ../NEWS:30407 msgid "" ":issue:`35310`: Fix a bug in :func:`select.select` where, in some cases, the " "file descriptor sequences were returned unmodified after a signal " @@ -53165,31 +53234,31 @@ msgid "" "occurred. Patch by Oran Avraham." msgstr "" -#: ../NEWS:30370 +#: ../NEWS:30413 msgid "" ":issue:`35380`: Enable TCP_NODELAY on Windows for proactor asyncio event " "loop." msgstr "" -#: ../NEWS:30372 +#: ../NEWS:30415 msgid "" ":issue:`35341`: Add generic version of ``collections.OrderedDict`` to the " "``typing`` module. Patch by Ismo Toijala." msgstr "" -#: ../NEWS:30375 +#: ../NEWS:30418 msgid "" ":issue:`35371`: Fixed possible crash in ``os.utime()`` on Windows when pass " "incorrect arguments." msgstr "" -#: ../NEWS:30378 +#: ../NEWS:30421 msgid "" ":issue:`35346`: :func:`platform.uname` now redirects ``stderr`` to :data:`os." "devnull` when running external programs like ``cmd /c ver``." msgstr "" -#: ../NEWS:30381 +#: ../NEWS:30424 msgid "" ":issue:`35066`: Previously, calling the strftime() method on a datetime " "object with a trailing '%' in the format string would result in an " @@ -53198,38 +53267,38 @@ msgid "" "PEP-399 compliant, and will not throw an exception on a trailing '%'." msgstr "" -#: ../NEWS:30387 +#: ../NEWS:30430 msgid "" ":issue:`35345`: The function ``platform.popen`` has been removed, it was " "deprecated since Python 3.3: use :func:`os.popen` instead." msgstr "" -#: ../NEWS:30390 +#: ../NEWS:30433 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 "" -#: ../NEWS:30394 +#: ../NEWS:30437 msgid "" ":issue:`35312`: Make ``lib2to3.pgen2.parse.ParseError`` round-trip pickle-" "able. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:30397 +#: ../NEWS:30440 msgid "" ":issue:`35308`: Fix regression in ``webbrowser`` where default browsers may " "be preferred over browsers in the ``BROWSER`` environment variable." msgstr "" -#: ../NEWS:30400 +#: ../NEWS:30443 msgid "" ":issue:`24746`: Avoid stripping trailing whitespace in doctest fancy diff. " "Original patch by R. David Murray & Jairo Trad. Enhanced by Sanyam Khurana." msgstr "" -#: ../NEWS:30404 +#: ../NEWS:30447 msgid "" ":issue:`28604`: :func:`locale.localeconv` now sets temporarily the " "``LC_CTYPE`` locale to the ``LC_MONETARY`` locale if the two locales are " @@ -53237,60 +53306,60 @@ msgid "" "other threads." msgstr "" -#: ../NEWS:30409 +#: ../NEWS:30452 msgid "" ":issue:`35277`: Update ensurepip to install pip 18.1 and setuptools 40.6.2." msgstr "" -#: ../NEWS:30411 +#: ../NEWS:30454 msgid ":issue:`24209`: Adds IPv6 support when invoking http.server directly." msgstr "" -#: ../NEWS:30413 +#: ../NEWS:30456 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 "" -#: ../NEWS:30418 +#: ../NEWS:30461 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 "" -#: ../NEWS:30422 +#: ../NEWS:30465 msgid "" ":issue:`35189`: Modify the following fnctl function to retry if interrupted " "by a signal (EINTR): flock, lockf, fnctl" msgstr "" -#: ../NEWS:30425 +#: ../NEWS:30468 msgid "" ":issue:`30064`: Use add_done_callback() in sock_* asyncio API to unsubscribe " "reader/writer early on calcellation." msgstr "" -#: ../NEWS:30428 +#: ../NEWS:30471 msgid "" ":issue:`35186`: Removed the \"built with\" comment added when ``setup.py " "upload`` is used with either ``bdist_rpm`` or ``bdist_dumb``." msgstr "" -#: ../NEWS:30431 +#: ../NEWS:30474 msgid "" ":issue:`35152`: Allow sending more than 2 GB at once on a multiprocessing " "connection on non-Windows systems." msgstr "" -#: ../NEWS:30434 +#: ../NEWS:30477 msgid "" ":issue:`35062`: Fix incorrect parsing of :class:`io." "IncrementalNewlineDecoder`'s *translate* argument." msgstr "" -#: ../NEWS:30437 +#: ../NEWS:30480 msgid "" ":issue:`35065`: Remove ``StreamReaderProtocol._untrack_reader``. The call to " "``_untrack_reader`` is currently performed too soon, causing the protocol to " @@ -53298,19 +53367,19 @@ msgid "" "to the reader." msgstr "" -#: ../NEWS:30442 +#: ../NEWS:30485 msgid "" ":issue:`34160`: ElementTree and minidom now preserve the attribute order " "specified by the user." msgstr "" -#: ../NEWS:30445 +#: ../NEWS:30488 msgid "" ":issue:`35079`: Improve difflib.SequenceManager.get_matching_blocks doc by " "adding 'non-overlapping' and changing '!=' to '<'." msgstr "" -#: ../NEWS:30448 +#: ../NEWS:30491 msgid "" ":issue:`33710`: Deprecated ``l*gettext()`` functions and methods in the :mod:" "`gettext` module. They return encoded bytes instead of Unicode strings and " @@ -53318,91 +53387,91 @@ msgid "" "related to setting the charset for ``l*gettext()`` functions and methods." msgstr "" -#: ../NEWS:30454 +#: ../NEWS:30497 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 "" -#: ../NEWS:30458 +#: ../NEWS:30501 msgid "" ":issue:`35024`: ``importlib`` no longer logs ``wrote `` " "redundantly after ``(created|could not create) `` is already " "logged. Patch by Quentin Agren." msgstr "" -#: ../NEWS:30462 +#: ../NEWS:30505 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 "" -#: ../NEWS:30466 +#: ../NEWS:30509 msgid "" ":issue:`31047`: Fix ``ntpath.abspath`` regression where it didn't remove a " "trailing separator on Windows. Patch by Tim Graham." msgstr "" -#: ../NEWS:30469 +#: ../NEWS:30512 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 "" -#: ../NEWS:30473 +#: ../NEWS:30516 msgid "" ":issue:`31553`: Add the --json-lines option to json.tool. Patch by " "hongweipeng." msgstr "" -#: ../NEWS:30475 +#: ../NEWS:30518 msgid "" ":issue:`34794`: Fixed a leak in Tkinter when pass the Python wrapper around " "Tcl_Obj back to Tcl/Tk." msgstr "" -#: ../NEWS:30478 +#: ../NEWS:30521 msgid "" ":issue:`34909`: Enum: fix grandchildren subclassing when parent mixed with " "concrete data types." msgstr "" -#: ../NEWS:30481 +#: ../NEWS:30524 msgid "" ":issue:`35022`: :class:`unittest.mock.MagicMock` now supports the " "``__fspath__`` method (from :class:`os.PathLike`)." msgstr "" -#: ../NEWS:30484 +#: ../NEWS:30527 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 "" -#: ../NEWS:30488 +#: ../NEWS:30531 msgid "" ":issue:`23420`: Verify the value for the parameter '-s' of the cProfile CLI. " "Patch by Robert Kuska" msgstr "" -#: ../NEWS:30491 +#: ../NEWS:30534 msgid "" ":issue:`33947`: dataclasses now handle recursive reprs without raising " "RecursionError." msgstr "" -#: ../NEWS:30494 +#: ../NEWS:30537 msgid "" ":issue:`34890`: Make :func:`inspect.iscoroutinefunction`, :func:`inspect." "isgeneratorfunction` and :func:`inspect.isasyncgenfunction` work with :func:" "`functools.partial`. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:30498 +#: ../NEWS:30541 msgid "" ":issue:`34521`: Use :func:`socket.CMSG_SPACE` to calculate ancillary data " "size instead of :func:`socket.CMSG_LEN` in :func:`multiprocessing.reduction." @@ -53410,19 +53479,19 @@ msgid "" "applications." msgstr "" -#: ../NEWS:30503 +#: ../NEWS:30546 msgid "" ":issue:`31522`: The ``mailbox.mbox.get_string`` function *from_* parameter " "can now successfully be set to a non-default value." msgstr "" -#: ../NEWS:30506 +#: ../NEWS:30549 msgid "" ":issue:`34970`: Protect tasks weak set manipulation in ``asyncio." "all_tasks()``" msgstr "" -#: ../NEWS:30508 +#: ../NEWS:30551 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 " @@ -53430,90 +53499,90 @@ msgid "" "level to 6 (tradeoff)." msgstr "" -#: ../NEWS:30513 +#: ../NEWS:30556 msgid "" ":issue:`16965`: The 2to3 ``execfile`` fixer now opens the file with mode " "``'rb'``. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:30516 +#: ../NEWS:30559 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 "" -#: ../NEWS:30520 +#: ../NEWS:30563 msgid "" ":issue:`34926`: :meth:`mimetypes.MimeTypes.guess_type` now accepts :term:" "`path-like object` in addition to url strings. Patch by Mayank Asthana." msgstr "" -#: ../NEWS:30524 +#: ../NEWS:30567 msgid "" ":issue:`23831`: Add ``moveto()`` method to the ``tkinter.Canvas`` widget. " "Patch by Juliette Monsel." msgstr "" -#: ../NEWS:30527 +#: ../NEWS:30570 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 "" -#: ../NEWS:30531 +#: ../NEWS:30574 msgid "" ":issue:`32680`: :class:`smtplib.SMTP` objects now always have a ``sock`` " "attribute present" msgstr "" -#: ../NEWS:30534 +#: ../NEWS:30577 msgid "" ":issue:`34769`: Fix for async generators not finalizing when event loop is " "in debug mode and garbage collector runs in another thread." msgstr "" -#: ../NEWS:30537 +#: ../NEWS:30580 msgid "" ":issue:`34936`: Fix ``TclError`` in ``tkinter.Spinbox.selection_element()``. " "Patch by Juliette Monsel." msgstr "" -#: ../NEWS:30540 +#: ../NEWS:30583 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 "" -#: ../NEWS:30544 +#: ../NEWS:30587 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 "" -#: ../NEWS:30549 +#: ../NEWS:30592 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 "" -#: ../NEWS:30553 +#: ../NEWS:30596 msgid "" ":issue:`34925`: 25% speedup in argument parsing for the functions in the " "bisect module." msgstr "" -#: ../NEWS:30556 +#: ../NEWS:30599 msgid "" ":issue:`34900`: Fixed :meth:`unittest.TestCase.debug` when used to call test " "methods with subtests. Patch by Bruno Oliveira." msgstr "" -#: ../NEWS:30559 +#: ../NEWS:30602 msgid "" ":issue:`34844`: logging.Formatter enhancement - Ensure styles and fmt " "matches in logging.Formatter - Added validate method in each format style " @@ -53523,39 +53592,39 @@ msgid "" "that it's an error with the invalid format fields." msgstr "" -#: ../NEWS:30566 +#: ../NEWS:30609 msgid "" ":issue:`34897`: Adjust test.support.missing_compiler_executable check so " "that a nominal command name of \"\" is ignored. Patch by Michael Felt." msgstr "" -#: ../NEWS:30569 +#: ../NEWS:30612 msgid "" ":issue:`34871`: Fix inspect module polluted ``sys.modules`` when parsing " "``__text_signature__`` of callable." msgstr "" -#: ../NEWS:30572 +#: ../NEWS:30615 msgid "" ":issue:`34898`: Add ``mtime`` argument to ``gzip.compress`` for reproducible " "output. Patch by Guo Ci Teo." msgstr "" -#: ../NEWS:30575 +#: ../NEWS:30618 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 "" -#: ../NEWS:30579 +#: ../NEWS:30622 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 "" -#: ../NEWS:30583 +#: ../NEWS:30626 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 " @@ -53563,63 +53632,63 @@ msgid "" "Felt." msgstr "" -#: ../NEWS:30588 +#: ../NEWS:30631 msgid "" ":issue:`34872`: Fix self-cancellation in C implementation of asyncio.Task" msgstr "" -#: ../NEWS:30590 +#: ../NEWS:30633 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 "" -#: ../NEWS:30595 +#: ../NEWS:30638 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 "" -#: ../NEWS:30599 +#: ../NEWS:30642 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 "" -#: ../NEWS:30603 +#: ../NEWS:30646 msgid "" ":issue:`34758`: Add .wasm -> application/wasm to list of recognized file " "types and content type headers" msgstr "" -#: ../NEWS:30606 +#: ../NEWS:30649 msgid "" ":issue:`34789`: :func:`xml.sax.make_parser` now accepts any iterable as its " "*parser_list* argument. Patch by Andrés Delfino." msgstr "" -#: ../NEWS:30609 +#: ../NEWS:30652 msgid "" ":issue:`34334`: In :class:`QueueHandler`, clear ``exc_text`` from :class:" "`LogRecord` to prevent traceback from being written twice." msgstr "" -#: ../NEWS:30612 +#: ../NEWS:30655 msgid "" ":issue:`34687`: On Windows, asyncio now uses ProactorEventLoop, instead of " "SelectorEventLoop, by default." msgstr "" -#: ../NEWS:30615 +#: ../NEWS:30658 msgid "" ":issue:`5950`: Support reading zip files with archive comments in :mod:" "`zipimport`." msgstr "" -#: ../NEWS:30618 +#: ../NEWS:30661 msgid "" ":issue:`32892`: The parser now represents all constants as :class:`ast." "Constant` instead of using specific constant AST types (``Num``, ``Str``, " @@ -53627,66 +53696,66 @@ msgid "" "deprecated and will be removed in future Python versions." msgstr "" -#: ../NEWS:30624 +#: ../NEWS:30667 msgid "" ":issue:`34728`: Add deprecation warning when ``loop`` is used in methods: " "``asyncio.sleep``, ``asyncio.wait`` and ``asyncio.wait_for``." msgstr "" -#: ../NEWS:30627 +#: ../NEWS:30670 msgid "" ":issue:`34738`: ZIP files created by ``distutils`` will now include entries " "for directories." msgstr "" -#: ../NEWS:30630 +#: ../NEWS:30673 msgid "" ":issue:`34659`: Add an optional *initial* argument to itertools.accumulate()." msgstr "" -#: ../NEWS:30632 +#: ../NEWS:30675 msgid ":issue:`29577`: Support multiple mixin classes when creating Enums." msgstr "" -#: ../NEWS:30634 +#: ../NEWS:30677 msgid "" ":issue:`34670`: Add SSLContext.post_handshake_auth and SSLSocket." "verify_client_post_handshake for TLS 1.3's post handshake authentication " "feature." msgstr "" -#: ../NEWS:30638 +#: ../NEWS:30681 msgid "" ":issue:`32718`: The Activate.ps1 script from venv works with PowerShell Core " "6.1 and is now available under all operating systems." msgstr "" -#: ../NEWS:30641 +#: ../NEWS:30684 msgid "" ":issue:`31177`: Fix bug that prevented using :meth:`reset_mock ` on mock instances with deleted attributes" msgstr "" -#: ../NEWS:30644 +#: ../NEWS:30687 msgid "" ":issue:`34672`: Add a workaround, so the ``'Z'`` :func:`time.strftime` " "specifier on the musl C library can work in some cases." msgstr "" -#: ../NEWS:30647 +#: ../NEWS:30690 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 "" -#: ../NEWS:30652 +#: ../NEWS:30695 msgid "" ":issue:`6721`: Acquire the logging module's commonly used internal locks " "while fork()ing to avoid deadlocks in the child process." msgstr "" -#: ../NEWS:30655 +#: ../NEWS:30698 msgid "" ":issue:`34658`: Fix a rare interpreter unhandled exception state SystemError " "only seen when using subprocess with a preexec_fn while an after_parent " @@ -53694,11 +53763,11 @@ msgid "" "call fails." msgstr "" -#: ../NEWS:30660 +#: ../NEWS:30703 msgid ":issue:`34652`: Ensure :func:`os.lchmod` is never defined on Linux." msgstr "" -#: ../NEWS:30662 +#: ../NEWS:30705 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 " @@ -53706,19 +53775,19 @@ msgid "" "call." msgstr "" -#: ../NEWS:30667 +#: ../NEWS:30710 msgid "" ":issue:`34536`: ``Enum._missing_``: raise ``ValueError`` if None returned " "and ``TypeError`` if non-member is returned." msgstr "" -#: ../NEWS:30670 +#: ../NEWS:30713 msgid "" ":issue:`34636`: Speed up re scanning of many non-matching characters for \\s " "\\w and \\d within bytes objects. (microoptimization)" msgstr "" -#: ../NEWS:30673 +#: ../NEWS:30716 msgid "" ":issue:`24412`: Add :func:`~unittest.addModuleCleanup` and :meth:`~unittest." "TestCase.addClassCleanup` to unittest to support cleanups for :func:" @@ -53726,36 +53795,36 @@ msgid "" "Lisa Roach." msgstr "" -#: ../NEWS:30678 +#: ../NEWS:30721 msgid "" ":issue:`34630`: Don't log SSL certificate errors in asyncio code (connection " "error logging is skipped already)." msgstr "" -#: ../NEWS:30681 +#: ../NEWS:30724 msgid "" ":issue:`32490`: Prevent filename duplication in :mod:`subprocess` exception " "messages. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:30684 +#: ../NEWS:30727 msgid "" ":issue:`34363`: dataclasses.asdict() and .astuple() now handle namedtuples " "correctly." msgstr "" -#: ../NEWS:30687 +#: ../NEWS:30730 msgid ":issue:`34625`: Update vendorized expat library version to 2.2.6." msgstr "" -#: ../NEWS:30689 +#: ../NEWS:30732 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 "" -#: ../NEWS:30693 +#: ../NEWS:30736 msgid "" ":issue:`34622`: Create a dedicated ``asyncio.CancelledError``, ``asyncio." "InvalidStateError`` and ``asyncio.TimeoutError`` exception classes. Inherit " @@ -53763,67 +53832,67 @@ msgid "" "Extract ``asyncio`` exceptions into a separate file." msgstr "" -#: ../NEWS:30699 +#: ../NEWS:30742 msgid "" ":issue:`34610`: Fixed iterator of :class:`multiprocessing.managers." "DictProxy`." msgstr "" -#: ../NEWS:30701 +#: ../NEWS:30744 msgid "" ":issue:`34421`: Fix distutils logging for non-ASCII strings. This caused " "installation issues on Windows." msgstr "" -#: ../NEWS:30704 +#: ../NEWS:30747 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 "" -#: ../NEWS:30708 +#: ../NEWS:30751 msgid "" ":issue:`30977`: Make uuid.UUID use ``__slots__`` to reduce its memory " "footprint. Based on original patch by Wouter Bolsterlee." msgstr "" -#: ../NEWS:30711 +#: ../NEWS:30754 msgid "" ":issue:`34574`: OrderedDict iterators are not exhausted during pickling " "anymore. Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:30714 +#: ../NEWS:30757 msgid "" ":issue:`8110`: Refactored :mod:`subprocess` to check for Windows-specific " "modules rather than ``sys.platform == 'win32'``." msgstr "" -#: ../NEWS:30717 +#: ../NEWS:30760 msgid "" ":issue:`34530`: ``distutils.spawn.find_executable()`` now falls back on :" "data:`os.defpath` if the ``PATH`` environment variable is not set." msgstr "" -#: ../NEWS:30720 +#: ../NEWS:30763 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 "" -#: ../NEWS:30724 +#: ../NEWS:30767 msgid ":issue:`34558`: Correct typo in Lib/ctypes/_aix.py" msgstr "" -#: ../NEWS:30726 +#: ../NEWS:30769 msgid "" ":issue:`34282`: Move ``Enum._convert`` to ``EnumMeta._convert_`` and fix " "enum members getting shadowed by parent attributes." msgstr "" -#: ../NEWS:30729 +#: ../NEWS:30772 msgid "" ":issue:`22872`: When the queue is closed, :exc:`ValueError` is now raised " "by :meth:`multiprocessing.Queue.put` and :meth:`multiprocessing.Queue.get` " @@ -53831,27 +53900,27 @@ msgid "" "Zackery Spytz." msgstr "" -#: ../NEWS:30734 +#: ../NEWS:30777 msgid "" ":issue:`34515`: Fix parsing non-ASCII identifiers in :mod:`!lib2to3.pgen2." "tokenize` (:pep:`3131`)." msgstr "" -#: ../NEWS:30737 +#: ../NEWS:30780 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 "" -#: ../NEWS:30741 +#: ../NEWS:30784 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 "" -#: ../NEWS:30745 +#: ../NEWS:30788 msgid "" ":issue:`34454`: Fix the .fromisoformat() methods of datetime types crashing " "when given unicode with non-UTF-8-encodable code points. Specifically, " @@ -53859,94 +53928,94 @@ msgid "" "the separator. Report and tests by Alexey Izbyshev, patch by Paul Ganssle." msgstr "" -#: ../NEWS:30750 +#: ../NEWS:30793 msgid "" ":issue:`6700`: Fix inspect.getsourcelines for module level frames/" "tracebacks. Patch by Vladimir Matveev." msgstr "" -#: ../NEWS:30753 +#: ../NEWS:30796 msgid "" ":issue:`34171`: Running the :mod:`trace` module no longer creates the " "``trace.cover`` file." msgstr "" -#: ../NEWS:30756 +#: ../NEWS:30799 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 "" -#: ../NEWS:30760 +#: ../NEWS:30803 msgid "" ":issue:`34427`: Fix infinite loop in ``a.extend(a)`` for ``MutableSequence`` " "subclasses." msgstr "" -#: ../NEWS:30763 +#: ../NEWS:30806 msgid "" ":issue:`34412`: Make :func:`signal.strsignal` work on HP-UX. Patch by " "Michael Osipov." msgstr "" -#: ../NEWS:30766 +#: ../NEWS:30809 msgid "" ":issue:`20849`: shutil.copytree now accepts a new ``dirs_exist_ok`` keyword " "argument. Patch by Josh Bronson." msgstr "" -#: ../NEWS:30769 +#: ../NEWS:30812 msgid "" ":issue:`31715`: Associate ``.mjs`` file extension with ``application/" "javascript`` MIME Type." msgstr "" -#: ../NEWS:30772 +#: ../NEWS:30815 msgid "" ":issue:`34384`: :func:`os.readlink` now accepts :term:`path-like ` and :class:`bytes` objects on Windows." msgstr "" -#: ../NEWS:30775 +#: ../NEWS:30818 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 "" -#: ../NEWS:30779 +#: ../NEWS:30822 msgid "" ":issue:`2122`: The :meth:`mmap.flush() ` method now returns " "``None`` on success, raises an exception on error under all platforms." msgstr "" -#: ../NEWS:30782 +#: ../NEWS:30825 msgid "" ":issue:`34341`: Appending to the ZIP archive with the ZIP64 extension no " "longer grows the size of extra fields of existing entries." msgstr "" -#: ../NEWS:30785 +#: ../NEWS:30828 msgid "" ":issue:`34333`: Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` " "when formatting an error message." msgstr "" -#: ../NEWS:30788 +#: ../NEWS:30831 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 "" -#: ../NEWS:30792 +#: ../NEWS:30835 msgid "" ":issue:`26502`: Implement ``traceback.FrameSummary.__len__()`` method to " "preserve compatibility with the old tuple API." msgstr "" -#: ../NEWS:30795 +#: ../NEWS:30838 msgid "" ":issue:`34318`: :func:`~unittest.TestCase.assertRaises`, :func:`~unittest." "TestCase.assertRaisesRegex`, :func:`~unittest.TestCase.assertWarns` and :" @@ -53956,52 +54025,52 @@ msgid "" "Python 3.5." msgstr "" -#: ../NEWS:30803 +#: ../NEWS:30846 msgid "" ":issue:`9372`: Deprecate :meth:`~object.__getitem__` methods of :class:`xml." "dom.pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:" "`fileinput.FileInput`." msgstr "" -#: ../NEWS:30807 +#: ../NEWS:30850 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 "" -#: ../NEWS:30811 +#: ../NEWS:30854 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 "" -#: ../NEWS:30815 +#: ../NEWS:30858 msgid "" ":issue:`33089`: Add math.dist() to compute the Euclidean distance between " "two points." msgstr "" -#: ../NEWS:30818 +#: ../NEWS:30861 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 "" -#: ../NEWS:30821 +#: ../NEWS:30864 msgid "" ":issue:`31047`: Fix ``ntpath.abspath`` for invalid paths on windows. Patch " "by Franz Woellert." msgstr "" -#: ../NEWS:30824 +#: ../NEWS:30867 msgid "" ":issue:`32321`: Add pure Python fallback for functools.reduce. Patch by " "Robert Wright." msgstr "" -#: ../NEWS:30827 +#: ../NEWS:30870 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 :" @@ -54013,69 +54082,69 @@ msgid "" "monotonic counter." msgstr "" -#: ../NEWS:30836 +#: ../NEWS:30879 msgid "" ":issue:`34263`: asyncio's event loop will not pass timeouts longer than one " "day to epoll/select etc." msgstr "" -#: ../NEWS:30839 +#: ../NEWS:30882 msgid "" ":issue:`34035`: Fix several AttributeError in zipfile seek() methods. Patch " "by Mickaël Schoentgen." msgstr "" -#: ../NEWS:30842 +#: ../NEWS:30885 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 "" -#: ../NEWS:30845 +#: ../NEWS:30888 msgid "" ":issue:`34075`: Deprecate passing non-ThreadPoolExecutor instances to :meth:" "`AbstractEventLoop.set_default_executor`." msgstr "" -#: ../NEWS:30848 +#: ../NEWS:30891 msgid "" ":issue:`34251`: Restore ``msilib.Win64`` to preserve backwards compatibility " "since it's already used by ``distutils``' ``bdist_msi`` command." msgstr "" -#: ../NEWS:30851 +#: ../NEWS:30894 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 "" -#: ../NEWS:30855 +#: ../NEWS:30898 msgid "" ":issue:`33089`: Enhanced math.hypot() to support more than two dimensions." msgstr "" -#: ../NEWS:30857 +#: ../NEWS:30900 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 "" -#: ../NEWS:30861 +#: ../NEWS:30904 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 "" -#: ../NEWS:30865 +#: ../NEWS:30908 msgid "" ":issue:`34213`: Allow frozen dataclasses to have a field named \"object\". " "Previously this conflicted with an internal use of \"object\"." msgstr "" -#: ../NEWS:30868 +#: ../NEWS:30911 msgid "" ":issue:`34052`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." "Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" @@ -54085,168 +54154,168 @@ msgid "" "Sergey Fedoseev." msgstr "" -#: ../NEWS:30876 +#: ../NEWS:30919 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 "" -#: ../NEWS:30880 +#: ../NEWS:30923 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 "" -#: ../NEWS:30884 +#: ../NEWS:30927 msgid "" ":issue:`21446`: The ``reload`` fixer now uses :func:`importlib.reload` " "instead of deprecated :func:`!imp.reload`." msgstr "" -#: ../NEWS:30887 +#: ../NEWS:30930 msgid "" ":issue:`940286`: pydoc's ``Helper.showtopic()`` method now prints the cross " "references of a topic correctly." msgstr "" -#: ../NEWS:30890 +#: ../NEWS:30933 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 "" -#: ../NEWS:30894 +#: ../NEWS:30937 msgid ":issue:`33729`: Fixed issues with arguments parsing in :mod:`hashlib`." msgstr "" -#: ../NEWS:30896 +#: ../NEWS:30939 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 "" -#: ../NEWS:30900 +#: ../NEWS:30943 msgid ":issue:`34108`: Remove extraneous CR in 2to3 refactor." msgstr "" -#: ../NEWS:30902 +#: ../NEWS:30945 msgid "" ":issue:`34070`: Make sure to only check if the handle is a tty, when opening " "a file with ``buffering=-1``." msgstr "" -#: ../NEWS:30905 +#: ../NEWS:30948 msgid "" ":issue:`27494`: Reverted :issue:`27494`. 2to3 rejects now a trailing comma " "in generator expressions." msgstr "" -#: ../NEWS:30908 +#: ../NEWS:30951 msgid "" ":issue:`33967`: functools.singledispatch now raises TypeError instead of " "IndexError when no positional arguments are passed." msgstr "" -#: ../NEWS:30911 +#: ../NEWS:30954 msgid "" ":issue:`34041`: Add the parameter *deterministic* to the :meth:`sqlite3." "Connection.create_function` method. Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:30915 +#: ../NEWS:30958 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 "" -#: ../NEWS:30919 +#: ../NEWS:30962 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 "" -#: ../NEWS:30923 +#: ../NEWS:30966 msgid "" ":issue:`34043`: Optimize tarfile uncompress performance about 15% when gzip " "is used." msgstr "" -#: ../NEWS:30926 +#: ../NEWS:30969 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 "" -#: ../NEWS:30930 +#: ../NEWS:30973 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 "" -#: ../NEWS:30934 +#: ../NEWS:30977 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 "" -#: ../NEWS:30937 +#: ../NEWS:30980 msgid "" ":issue:`34003`: csv.DictReader now creates dicts instead of OrderedDicts. " "Patch by Michael Selik." msgstr "" -#: ../NEWS:30940 +#: ../NEWS:30983 msgid "" ":issue:`33978`: Closed existing logging handlers before reconfiguration via " "fileConfig and dictConfig. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:30943 +#: ../NEWS:30986 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 "" -#: ../NEWS:30947 +#: ../NEWS:30990 msgid "" ":issue:`33974`: Fixed passing lists and tuples of strings containing special " "characters ``\"``, ``\\``, ``{``, ``}`` and ``\\n`` as options to :mod:" "`~tkinter.ttk` widgets." msgstr "" -#: ../NEWS:30951 +#: ../NEWS:30994 msgid ":issue:`27500`: Fix getaddrinfo to resolve IPv6 addresses correctly." msgstr "" -#: ../NEWS:30953 +#: ../NEWS:30996 msgid "" ":issue:`24567`: Improve random.choices() to handle subnormal input weights " "that could occasionally trigger an IndexError." msgstr "" -#: ../NEWS:30956 +#: ../NEWS:30999 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 "" -#: ../NEWS:30960 +#: ../NEWS:31003 msgid "" ":issue:`25007`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to " "zlib compressors and decompressors. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:30963 +#: ../NEWS:31006 msgid "" ":issue:`33929`: multiprocessing: Fix a race condition in Popen of " "multiprocessing.popen_spawn_win32. The child process now duplicates the read " @@ -54255,19 +54324,19 @@ msgid "" "had been terminated before it could steal the handle from the parent process." msgstr "" -#: ../NEWS:30970 +#: ../NEWS:31013 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 "" -#: ../NEWS:30974 +#: ../NEWS:31017 msgid "" ":issue:`33897`: Added a 'force' keyword argument to logging.basicConfig()." msgstr "" -#: ../NEWS:30976 +#: ../NEWS:31019 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 " @@ -54278,30 +54347,30 @@ msgid "" "`33695`.)" msgstr "" -#: ../NEWS:30984 +#: ../NEWS:31027 msgid "" ":issue:`33916`: bz2 and lzma: When Decompressor.__init__() is called twice, " "free the old lock to not leak memory." msgstr "" -#: ../NEWS:30987 +#: ../NEWS:31030 msgid "" ":issue:`32568`: Make select.epoll() and its documentation consistent " "regarding *sizehint* and *flags*." msgstr "" -#: ../NEWS:30990 +#: ../NEWS:31033 msgid "" ":issue:`33833`: Fixed bug in asyncio where ProactorSocketTransport logs " "AssertionError if force closed during write." msgstr "" -#: ../NEWS:30993 +#: ../NEWS:31036 msgid "" ":issue:`33663`: Convert content length to string before putting to header." msgstr "" -#: ../NEWS:30995 +#: ../NEWS:31038 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`, :" @@ -54316,176 +54385,176 @@ msgid "" "that contain characters or bytes unrepresentable at the OS level." msgstr "" -#: ../NEWS:31009 +#: ../NEWS:31052 msgid "" ":issue:`26544`: Fixed implementation of :func:`platform.libc_ver`. It almost " "always returned version '2.9' for glibc." msgstr "" -#: ../NEWS:31012 +#: ../NEWS:31055 msgid "" ":issue:`33843`: Remove deprecated ``cgi.escape``, ``cgi.parse_qs`` and ``cgi." "parse_qsl``." msgstr "" -#: ../NEWS:31015 +#: ../NEWS:31058 msgid "" ":issue:`33842`: Remove ``tarfile.filemode`` which is deprecated since Python " "3.3." msgstr "" -#: ../NEWS:31018 ../NEWS:32617 ../NEWS:37213 +#: ../NEWS:31061 ../NEWS:32660 ../NEWS:37256 msgid "" ":issue:`30167`: Prevent site.main() exception if PYTHONSTARTUP is set. Patch " "by Steve Weber." msgstr "" -#: ../NEWS:31021 +#: ../NEWS:31064 msgid "" ":issue:`33805`: Improve error message of dataclasses.replace() when an " "InitVar is not specified" msgstr "" -#: ../NEWS:31024 +#: ../NEWS:31067 msgid "" ":issue:`33687`: Fix the call to ``os.chmod()`` for ``uu.decode()`` if a mode " "is given or decoded. Patch by Timo Furrer." msgstr "" -#: ../NEWS:31027 ../NEWS:32620 ../NEWS:37216 +#: ../NEWS:31070 ../NEWS:32663 ../NEWS:37259 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 "" -#: ../NEWS:31031 +#: ../NEWS:31074 msgid "" ":issue:`32108`: In configparser, don't clear section when it is assigned to " "itself." msgstr "" -#: ../NEWS:31034 +#: ../NEWS:31077 msgid "" ":issue:`27397`: Make email module properly handle invalid-length base64 " "strings." msgstr "" -#: ../NEWS:31037 +#: ../NEWS:31080 msgid ":issue:`33578`: Implement multibyte encoder/decoder state methods" msgstr "" -#: ../NEWS:31039 ../NEWS:32624 ../NEWS:37220 +#: ../NEWS:31082 ../NEWS:32667 ../NEWS:37263 msgid ":issue:`30805`: Avoid race condition with debug logging" msgstr "" -#: ../NEWS:31041 +#: ../NEWS:31084 msgid "" ":issue:`33476`: Fix _header_value_parser.py when address group is missing " "final ';'. Contributed by Enrique Perez-Terron" msgstr "" -#: ../NEWS:31044 ../NEWS:32626 +#: ../NEWS:31087 ../NEWS:32669 msgid "" ":issue:`33694`: asyncio: Fix a race condition causing data loss on " "pause_reading()/resume_reading() when using the ProactorEventLoop." msgstr "" -#: ../NEWS:31047 ../NEWS:32629 +#: ../NEWS:31090 ../NEWS:32672 msgid "" ":issue:`32493`: Correct test for ``uuid_enc_be`` availability in ``configure." "ac``. Patch by Michael Felt." msgstr "" -#: ../NEWS:31050 ../NEWS:32632 +#: ../NEWS:31093 ../NEWS:32675 msgid "" ":issue:`33792`: Add asyncio.WindowsSelectorEventLoopPolicy and asyncio." "WindowsProactorEventLoopPolicy." msgstr "" -#: ../NEWS:31053 +#: ../NEWS:31096 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 "" -#: ../NEWS:31057 ../NEWS:32635 +#: ../NEWS:31100 ../NEWS:32678 msgid "" ":issue:`33778`: Update ``unicodedata``'s database to Unicode version 11.0.0." msgstr "" -#: ../NEWS:31059 +#: ../NEWS:31102 msgid "" ":issue:`33165`: Added a stacklevel parameter to logging calls to allow use " "of wrapper/helper functions for logging APIs." msgstr "" -#: ../NEWS:31062 ../NEWS:32637 +#: ../NEWS:31105 ../NEWS:32680 msgid "" ":issue:`33770`: improve base64 exception message for encoded inputs of " "invalid length" msgstr "" -#: ../NEWS:31065 ../NEWS:32640 +#: ../NEWS:31108 ../NEWS:32683 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 "" -#: ../NEWS:31068 ../NEWS:32643 ../NEWS:37222 +#: ../NEWS:31111 ../NEWS:32686 ../NEWS:37265 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 "" -#: ../NEWS:31072 ../NEWS:32647 +#: ../NEWS:31115 ../NEWS:32690 msgid "" ":issue:`33734`: asyncio/ssl: Fix AttributeError, increase default handshake " "timeout" msgstr "" -#: ../NEWS:31075 +#: ../NEWS:31118 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 "" -#: ../NEWS:31079 +#: ../NEWS:31122 msgid ":issue:`2504`: Add gettext.pgettext() and variants." msgstr "" -#: ../NEWS:31081 +#: ../NEWS:31124 msgid ":issue:`33197`: Add description property for _ParameterKind" msgstr "" -#: ../NEWS:31083 ../NEWS:32745 +#: ../NEWS:31126 ../NEWS:32788 msgid "" ":issue:`32751`: When cancelling the task due to a timeout, :meth:`asyncio." "wait_for` will now wait until the cancellation is complete." msgstr "" -#: ../NEWS:31086 ../NEWS:32748 ../NEWS:37226 +#: ../NEWS:31129 ../NEWS:32791 ../NEWS:37269 msgid "" ":issue:`32684`: Fix gather to propagate cancellation of itself even with " "return_exceptions." msgstr "" -#: ../NEWS:31089 ../NEWS:32751 +#: ../NEWS:31132 ../NEWS:32794 msgid "" ":issue:`33654`: Support protocol type switching in SSLTransport." "set_protocol()." msgstr "" -#: ../NEWS:31091 ../NEWS:32753 +#: ../NEWS:31134 ../NEWS:32796 msgid "" ":issue:`33674`: Pause the transport as early as possible to further reduce " "the risk of data_received() being called before connection_made()." msgstr "" -#: ../NEWS:31094 +#: ../NEWS:31137 msgid "" ":issue:`33671`: :func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil." "copy2`, :func:`shutil.copytree` and :func:`shutil.move` use platform-" @@ -54498,7 +54567,7 @@ msgid "" "`25427`.)" msgstr "" -#: ../NEWS:31104 ../NEWS:32756 ../NEWS:37229 +#: ../NEWS:31147 ../NEWS:32799 ../NEWS:37272 msgid "" ":issue:`33674`: Fix a race condition in SSLProtocol.connection_made() of " "asyncio.sslproto: start immediately the handshake instead of using " @@ -54506,47 +54575,47 @@ msgid "" "handshake started, causing the handshake to hang or fail." msgstr "" -#: ../NEWS:31109 ../NEWS:32761 ../NEWS:37234 +#: ../NEWS:31152 ../NEWS:32804 ../NEWS:37277 msgid "" ":issue:`31647`: Fixed bug where calling write_eof() on a " "_SelectorSocketTransport after it's already closed raises AttributeError." msgstr "" -#: ../NEWS:31112 ../NEWS:32764 +#: ../NEWS:31155 ../NEWS:32807 msgid ":issue:`32610`: Make asyncio.all_tasks() return only pending tasks." msgstr "" -#: ../NEWS:31114 ../NEWS:32766 +#: ../NEWS:31157 ../NEWS:32809 msgid ":issue:`32410`: Avoid blocking on file IO in sendfile fallback code" msgstr "" -#: ../NEWS:31116 ../NEWS:32768 ../NEWS:37239 +#: ../NEWS:31159 ../NEWS:32811 ../NEWS:37282 msgid "" ":issue:`33469`: Fix RuntimeError after closing loop that used run_in_executor" msgstr "" -#: ../NEWS:31118 ../NEWS:32770 ../NEWS:37237 +#: ../NEWS:31161 ../NEWS:32813 ../NEWS:37280 msgid ":issue:`33672`: Fix Task.__repr__ crash with Cython's bogus coroutines" msgstr "" -#: ../NEWS:31120 ../NEWS:32772 +#: ../NEWS:31163 ../NEWS:32815 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 "" -#: ../NEWS:31124 ../NEWS:32776 +#: ../NEWS:31167 ../NEWS:32819 msgid "" ":issue:`33652`: Pickles of type variables and subscripted generics are now " "future-proof and compatible with older Python versions." msgstr "" -#: ../NEWS:31127 ../NEWS:32779 +#: ../NEWS:31170 ../NEWS:32822 msgid ":issue:`32493`: Fixed :func:`uuid.uuid1` on FreeBSD." msgstr "" -#: ../NEWS:31129 +#: ../NEWS:31172 msgid "" ":issue:`33238`: Add ``InvalidStateError`` to :mod:`concurrent.futures`. " "``Future.set_result`` and ``Future.set_exception`` now raise " @@ -54554,61 +54623,61 @@ msgid "" "Jason Haydaman." msgstr "" -#: ../NEWS:31134 ../NEWS:32781 +#: ../NEWS:31177 ../NEWS:32824 msgid "" ":issue:`33618`: Finalize and document preliminary and experimental TLS 1.3 " "support with OpenSSL 1.1.1" msgstr "" -#: ../NEWS:31137 +#: ../NEWS:31180 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 "" -#: ../NEWS:31141 ../NEWS:32784 +#: ../NEWS:31184 ../NEWS:32827 msgid "" ":issue:`33623`: Fix possible SIGSGV when asyncio.Future is created in __del__" msgstr "" -#: ../NEWS:31143 ../NEWS:32650 ../NEWS:37241 +#: ../NEWS:31186 ../NEWS:32693 ../NEWS:37284 msgid "" ":issue:`11874`: Use a better regex when breaking usage into wrappable parts. " "Avoids bogus assertion errors from custom metavar strings." msgstr "" -#: ../NEWS:31146 ../NEWS:32786 ../NEWS:37244 +#: ../NEWS:31189 ../NEWS:32829 ../NEWS:37287 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 "" -#: ../NEWS:31150 +#: ../NEWS:31193 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 "" -#: ../NEWS:31153 ../NEWS:32653 +#: ../NEWS:31196 ../NEWS:32696 msgid ":issue:`33582`: Emit a deprecation warning for inspect.formatargspec" msgstr "" -#: ../NEWS:31155 +#: ../NEWS:31198 msgid "" ":issue:`21145`: Add ``functools.cached_property`` decorator, for computed " "properties cached for the life of the instance." msgstr "" -#: ../NEWS:31158 ../NEWS:32790 +#: ../NEWS:31201 ../NEWS:32833 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 "" -#: ../NEWS:31162 ../NEWS:32794 +#: ../NEWS:31205 ../NEWS:32837 msgid "" ":issue:`28556`: Do not simplify arguments to ``typing.Union``. Now " "``Union[Manager, Employee]`` is not simplified to ``Employee`` at runtime. " @@ -54616,121 +54685,121 @@ msgid "" "for introspection." msgstr "" -#: ../NEWS:31167 +#: ../NEWS:31210 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 "" -#: ../NEWS:31171 ../NEWS:32799 +#: ../NEWS:31214 ../NEWS:32842 msgid "" ":issue:`33540`: Add a new ``block_on_close`` class attribute to " "``ForkingMixIn`` and ``ThreadingMixIn`` classes of :mod:`socketserver`." msgstr "" -#: ../NEWS:31174 ../NEWS:32802 ../NEWS:37248 +#: ../NEWS:31217 ../NEWS:32845 ../NEWS:37291 msgid "" ":issue:`33548`: tempfile._candidate_tempdir_list should consider common TEMP " "locations" msgstr "" -#: ../NEWS:31177 ../NEWS:32805 +#: ../NEWS:31220 ../NEWS:32848 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 "" -#: ../NEWS:31180 +#: ../NEWS:31223 msgid "" ":issue:`33541`: Remove unused private method ``_strptime.LocaleTime.__pad`` " "(a.k.a. ``_LocaleTime__pad``)." msgstr "" -#: ../NEWS:31183 ../NEWS:32808 +#: ../NEWS:31226 ../NEWS:32851 msgid "" ":issue:`33536`: dataclasses.make_dataclass now checks for invalid field " "names and duplicate fields. Also, added a check for invalid field " "specifications." msgstr "" -#: ../NEWS:31187 ../NEWS:32812 ../NEWS:37251 +#: ../NEWS:31230 ../NEWS:32855 ../NEWS:37294 msgid "" ":issue:`33542`: Prevent ``uuid.get_node`` from using a DUID instead of a MAC " "on Windows. Patch by Zvi Effron" msgstr "" -#: ../NEWS:31190 ../NEWS:32815 ../NEWS:37254 +#: ../NEWS:31233 ../NEWS:32858 ../NEWS:37297 msgid "" ":issue:`26819`: Fix race condition with ``ReadTransport.resume_reading`` in " "Windows proactor event loop." msgstr "" -#: ../NEWS:31193 ../NEWS:32818 +#: ../NEWS:31236 ../NEWS:32861 msgid "" "Fix failure in ``typing.get_type_hints()`` when ClassVar was provided as a " "string forward reference." msgstr "" -#: ../NEWS:31196 +#: ../NEWS:31239 msgid "" ":issue:`33516`: :class:`unittest.mock.MagicMock` now supports the " "``__round__`` magic method." msgstr "" -#: ../NEWS:31199 +#: ../NEWS:31242 msgid "" ":issue:`28612`: Added support for Site Maps to urllib's ``RobotFileParser`` " "as :meth:`RobotFileParser.site_maps() `. Patch by Lady Red, based on patch by Peter Wirtz." msgstr "" -#: ../NEWS:31204 +#: ../NEWS:31247 msgid "" ":issue:`28167`: Remove platform.linux_distribution, which was deprecated " "since 3.5." msgstr "" -#: ../NEWS:31207 +#: ../NEWS:31250 msgid "" ":issue:`33504`: Switch the default dictionary implementation for :mod:" "`configparser` from :class:`collections.OrderedDict` to the standard :class:" "`dict` type." msgstr "" -#: ../NEWS:31211 ../NEWS:32821 +#: ../NEWS:31254 ../NEWS:32864 msgid "" ":issue:`33505`: Optimize asyncio.ensure_future() by reordering if checks: " "1.17x faster." msgstr "" -#: ../NEWS:31214 ../NEWS:32824 +#: ../NEWS:31257 ../NEWS:32867 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 "" -#: ../NEWS:31218 +#: ../NEWS:31261 msgid "" ":issue:`29235`: The :class:`cProfile.Profile` class can now be used as a " "context manager. Patch by Scott Sanderson." msgstr "" -#: ../NEWS:31221 ../NEWS:32828 +#: ../NEWS:31264 ../NEWS:32871 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 "" -#: ../NEWS:31225 +#: ../NEWS:31268 msgid "" ":issue:`26103`: Correct ``inspect.isdatadescriptor`` to look for ``__set__`` " "or ``__delete__``. Patch by Aaron Hall." msgstr "" -#: ../NEWS:31228 +#: ../NEWS:31271 msgid "" ":issue:`29209`: Removed the ``doctype()`` method and the *html* parameter of " "the constructor of :class:`~xml.etree.ElementTree.XMLParser`. The " @@ -54740,7 +54809,7 @@ msgid "" "exc:`PendingDeprecationWarning`." msgstr "" -#: ../NEWS:31235 ../NEWS:32832 +#: ../NEWS:31278 ../NEWS:32875 msgid "" ":issue:`33453`: Fix dataclasses to work if using literal string type " "annotations or if using PEP 563 \"Postponed Evaluation of Annotations\". " @@ -54749,81 +54818,81 @@ msgid "" "InitVar\")." msgstr "" -#: ../NEWS:31240 ../NEWS:32837 ../NEWS:37257 +#: ../NEWS:31283 ../NEWS:32880 ../NEWS:37300 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 "" -#: ../NEWS:31244 +#: ../NEWS:31287 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 "" -#: ../NEWS:31248 ../NEWS:32841 ../NEWS:37261 +#: ../NEWS:31291 ../NEWS:32884 ../NEWS:37304 msgid "" ":issue:`20087`: Updated alias mapping with glibc 2.27 supported locales." msgstr "" -#: ../NEWS:31250 ../NEWS:32843 ../NEWS:37263 +#: ../NEWS:31293 ../NEWS:32886 ../NEWS:37306 msgid "" ":issue:`33422`: Fix trailing quotation marks getting deleted when looking up " "byte/string literals on pydoc. Patch by Andrés Delfino." msgstr "" -#: ../NEWS:31253 ../NEWS:32846 +#: ../NEWS:31296 ../NEWS:32889 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 "" -#: ../NEWS:31257 ../NEWS:32953 +#: ../NEWS:31300 ../NEWS:32996 msgid ":issue:`33281`: Fix ctypes.util.find_library regression on macOS." msgstr "" -#: ../NEWS:31259 +#: ../NEWS:31302 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 "" -#: ../NEWS:31263 +#: ../NEWS:31306 msgid "" ":issue:`27300`: The file classes in *tempfile* now accept an *errors* " "parameter that complements the already existing *encoding*. Patch by " "Stephan Hohe." msgstr "" -#: ../NEWS:31266 +#: ../NEWS:31309 msgid "" ":issue:`32933`: :func:`unittest.mock.mock_open` now supports iteration over " "the file contents. Patch by Tony Flury." msgstr "" -#: ../NEWS:31269 +#: ../NEWS:31312 msgid "" ":issue:`33217`: Raise :exc:`TypeError` when looking up non-Enum objects in " "Enum classes and Enum members." msgstr "" -#: ../NEWS:31272 ../NEWS:32850 ../NEWS:37266 +#: ../NEWS:31315 ../NEWS:32893 ../NEWS:37309 msgid "" ":issue:`33197`: Update error message when constructing invalid inspect." "Parameters Patch by Donghee Na." msgstr "" -#: ../NEWS:31275 ../NEWS:32955 ../NEWS:37269 +#: ../NEWS:31318 ../NEWS:32998 ../NEWS:37312 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 "" -#: ../NEWS:31278 +#: ../NEWS:31321 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 " @@ -54831,101 +54900,101 @@ msgid "" "and should work better for dynamically executed code." msgstr "" -#: ../NEWS:31283 +#: ../NEWS:31326 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 "" -#: ../NEWS:31287 +#: ../NEWS:31330 msgid ":issue:`32455`: Added *jump* parameter to :func:`dis.stack_effect`." msgstr "" -#: ../NEWS:31289 +#: ../NEWS:31332 msgid "" ":issue:`27485`: Rename and deprecate undocumented functions in :func:`urllib." "parse`." msgstr "" -#: ../NEWS:31292 +#: ../NEWS:31335 msgid "" ":issue:`33332`: Add ``signal.valid_signals()`` to expose the POSIX " "sigfillset() functionality." msgstr "" -#: ../NEWS:31295 +#: ../NEWS:31338 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 "" -#: ../NEWS:31298 ../NEWS:32958 ../NEWS:37272 +#: ../NEWS:31341 ../NEWS:33001 ../NEWS:37315 msgid ":issue:`33329`: Fix multiprocessing regression on newer glibcs" msgstr "" -#: ../NEWS:31300 +#: ../NEWS:31343 msgid "" ":issue:`33334`: :func:`dis.stack_effect` now supports all defined opcodes " "including NOP and EXTENDED_ARG." msgstr "" -#: ../NEWS:31303 ../NEWS:32960 ../NEWS:37274 +#: ../NEWS:31346 ../NEWS:33003 ../NEWS:37317 msgid "" ":issue:`991266`: Fix quoting of the ``Comment`` attribute of :class:`http." "cookies.SimpleCookie`." msgstr "" -#: ../NEWS:31306 ../NEWS:32963 ../NEWS:37277 +#: ../NEWS:31349 ../NEWS:33006 ../NEWS:37320 msgid ":issue:`33131`: Upgrade bundled version of pip to 10.0.1." msgstr "" -#: ../NEWS:31308 ../NEWS:32965 ../NEWS:37279 +#: ../NEWS:31351 ../NEWS:33008 ../NEWS:37322 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 "" -#: ../NEWS:31312 +#: ../NEWS:31355 msgid "" ":issue:`23403`: lib2to3 now uses pickle protocol 4 for pre-computed grammars." msgstr "" -#: ../NEWS:31314 ../NEWS:32969 +#: ../NEWS:31357 ../NEWS:33012 msgid ":issue:`33266`: lib2to3 now recognizes ``rf'...'`` strings." msgstr "" -#: ../NEWS:31316 ../NEWS:32971 +#: ../NEWS:31359 ../NEWS:33014 msgid ":issue:`11594`: Ensure line-endings are respected when using lib2to3." msgstr "" -#: ../NEWS:31318 ../NEWS:32973 +#: ../NEWS:31361 ../NEWS:33016 msgid "" ":issue:`33254`: Have :func:`importlib.resources.contents` and :meth:" "`importlib.abc.ResourceReader.contents` return an :term:`iterable` instead " "of an :term:`iterator`." msgstr "" -#: ../NEWS:31322 +#: ../NEWS:31365 msgid "" ":issue:`33265`: ``contextlib.ExitStack`` and ``contextlib.AsyncExitStack`` " "now use a method instead of a wrapper function for exit callbacks." msgstr "" -#: ../NEWS:31325 ../NEWS:32853 ../NEWS:37283 +#: ../NEWS:31368 ../NEWS:32896 ../NEWS:37326 msgid "" ":issue:`33263`: Fix FD leak in ``_SelectorSocketTransport`` Patch by Vlad " "Starostin." msgstr "" -#: ../NEWS:31328 ../NEWS:32977 ../NEWS:37286 +#: ../NEWS:31371 ../NEWS:33020 ../NEWS:37329 msgid "" ":issue:`33256`: Fix display of ```` call in the html produced by " "``cgitb.html()``. Patch by Stéphane Blondon." msgstr "" -#: ../NEWS:31331 +#: ../NEWS:31374 msgid "" ":issue:`33144`: ``random.Random()`` and its subclassing mechanism got " "optimized to check only once at class/subclass instantiation time whether " @@ -54934,52 +55003,52 @@ msgid "" "Patch by Wolfgang Maier." msgstr "" -#: ../NEWS:31337 +#: ../NEWS:31380 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 "" -#: ../NEWS:31341 +#: ../NEWS:31384 msgid "" "This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " "necessary, rather than adding ``\".\"``." msgstr "" -#: ../NEWS:31344 +#: ../NEWS:31387 msgid "" ":issue:`29613`: Added support for the ``SameSite`` cookie flag to the ``http." "cookies`` module." msgstr "" -#: ../NEWS:31347 ../NEWS:32985 +#: ../NEWS:31390 ../NEWS:33028 msgid "" ":issue:`33169`: Delete entries of ``None`` in :data:`sys." "path_importer_cache` when :meth:`importlib.machinery.invalidate_caches` is " "called." msgstr "" -#: ../NEWS:31350 ../NEWS:32991 ../NEWS:37289 +#: ../NEWS:31393 ../NEWS:33034 ../NEWS:37332 msgid "" ":issue:`33203`: ``random.Random.choice()`` now raises ``IndexError`` for " "empty sequences consistently even when called from subclasses without a " "``getrandbits()`` implementation." msgstr "" -#: ../NEWS:31354 ../NEWS:32995 ../NEWS:37293 +#: ../NEWS:31397 ../NEWS:33038 ../NEWS:37336 msgid "" ":issue:`33224`: Update difflib.mdiff() for :pep:`479`. Convert an uncaught " "StopIteration in a generator into a return-statement." msgstr "" -#: ../NEWS:31357 ../NEWS:32998 ../NEWS:37296 +#: ../NEWS:31400 ../NEWS:33041 ../NEWS:37339 msgid "" ":issue:`33209`: End framing at the end of C implementation of :func:`pickle." "Pickler.dump`." msgstr "" -#: ../NEWS:31360 +#: ../NEWS:31403 msgid "" ":issue:`32861`: The urllib.robotparser's ``__str__`` representation now " "includes wildcard entries and the \"Crawl-delay\" and \"Request-rate\" " @@ -54987,7 +55056,7 @@ msgid "" "the string. Patch by Michael Lazar." msgstr "" -#: ../NEWS:31365 +#: ../NEWS:31408 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 " @@ -54995,52 +55064,52 @@ msgid "" "in Python 3.0." msgstr "" -#: ../NEWS:31370 ../NEWS:33001 +#: ../NEWS:31413 ../NEWS:33044 msgid "" ":issue:`20104`: Improved error handling and fixed a reference leak in :func:" "`os.posix_spawn`." msgstr "" -#: ../NEWS:31373 +#: ../NEWS:31416 msgid "" ":issue:`33106`: Deleting a key from a read-only dbm database raises module " "specific error instead of KeyError." msgstr "" -#: ../NEWS:31376 ../NEWS:33004 +#: ../NEWS:31419 ../NEWS:33047 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 "" -#: ../NEWS:31380 +#: ../NEWS:31423 msgid "" ":issue:`32380`: Create functools.singledispatchmethod to support generic " "single dispatch on descriptors and methods." msgstr "" -#: ../NEWS:31383 ../NEWS:33144 +#: ../NEWS:31426 ../NEWS:33187 msgid "" ":issue:`33141`: Have Field objects pass through __set_name__ to their " "default values, if they have their own __set_name__." msgstr "" -#: ../NEWS:31386 ../NEWS:33147 ../NEWS:37303 +#: ../NEWS:31429 ../NEWS:33190 ../NEWS:37346 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 "" -#: ../NEWS:31390 ../NEWS:33151 +#: ../NEWS:31433 ../NEWS:33194 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 "" -#: ../NEWS:31394 ../NEWS:33155 +#: ../NEWS:31437 ../NEWS:33198 msgid "" ":issue:`33134`: When computing dataclass's __hash__, use the lookup table to " "contain the function which returns the __hash__ value. This is an " @@ -55048,40 +55117,40 @@ msgid "" "what to do." msgstr "" -#: ../NEWS:31399 ../NEWS:33160 ../NEWS:37307 +#: ../NEWS:31442 ../NEWS:33203 ../NEWS:37350 msgid ":issue:`33127`: The ssl module now compiles with LibreSSL 2.7.1." msgstr "" -#: ../NEWS:31401 ../NEWS:33162 +#: ../NEWS:31444 ../NEWS:33205 msgid "" ":issue:`32505`: Raise TypeError if a member variable of a dataclass is of " "type Field, but doesn't have a type annotation." msgstr "" -#: ../NEWS:31404 ../NEWS:33165 +#: ../NEWS:31447 ../NEWS:33208 msgid "" ":issue:`33078`: Fix the failure on OSX caused by the tests relying on " "sem_getvalue" msgstr "" -#: ../NEWS:31407 ../NEWS:33168 +#: ../NEWS:31450 ../NEWS:33211 msgid ":issue:`33116`: Add 'Field' to dataclasses.__all__." msgstr "" -#: ../NEWS:31409 ../NEWS:33170 +#: ../NEWS:31452 ../NEWS:33213 msgid "" ":issue:`32896`: Fix an error where subclassing a dataclass with a field that " "uses a default_factory would generate an incorrect class." msgstr "" -#: ../NEWS:31412 ../NEWS:33173 +#: ../NEWS:31455 ../NEWS:33216 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 "" -#: ../NEWS:31416 ../NEWS:33177 +#: ../NEWS:31459 ../NEWS:33220 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 " @@ -55089,139 +55158,139 @@ msgid "" "hierarchy to be either all frozen or all non-frozen." msgstr "" -#: ../NEWS:31421 ../NEWS:33008 +#: ../NEWS:31464 ../NEWS:33051 msgid "" ":issue:`33097`: Raise RuntimeError when ``executor.submit`` is called during " "interpreter shutdown." msgstr "" -#: ../NEWS:31424 +#: ../NEWS:31467 msgid "" ":issue:`32968`: Modulo and floor division involving Fraction and float " "should return float." msgstr "" -#: ../NEWS:31427 ../NEWS:33182 +#: ../NEWS:31470 ../NEWS:33225 msgid ":issue:`33061`: Add missing ``NoReturn`` to ``__all__`` in typing.py" msgstr "" -#: ../NEWS:31429 ../NEWS:33184 +#: ../NEWS:31472 ../NEWS:33227 msgid "" ":issue:`33078`: Fix the size handling in multiprocessing.Queue when a " "pickling error occurs." msgstr "" -#: ../NEWS:31432 ../NEWS:33187 ../NEWS:37559 +#: ../NEWS:31475 ../NEWS:33230 ../NEWS:37602 msgid "" ":issue:`33064`: lib2to3 now properly supports trailing commas after " "``*args`` and ``**kwargs`` in function signatures." msgstr "" -#: ../NEWS:31435 ../NEWS:33190 +#: ../NEWS:31478 ../NEWS:33233 msgid "" ":issue:`33056`: FIX properly close leaking fds in concurrent.futures." "ProcessPoolExecutor." msgstr "" -#: ../NEWS:31438 ../NEWS:33193 ../NEWS:37309 +#: ../NEWS:31481 ../NEWS:33236 ../NEWS:37352 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 "" -#: ../NEWS:31442 ../NEWS:33197 ../NEWS:37562 +#: ../NEWS:31485 ../NEWS:33240 ../NEWS:37605 msgid "" ":issue:`31804`: Avoid failing in multiprocessing.Process if the standard " "streams are closed or None at exit." msgstr "" -#: ../NEWS:31445 +#: ../NEWS:31488 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 "" -#: ../NEWS:31449 +#: ../NEWS:31492 msgid "" ":issue:`30249`: Improve struct.unpack_from() exception messages for problems " "with the buffer size and offset." msgstr "" -#: ../NEWS:31452 ../NEWS:33200 ../NEWS:37565 +#: ../NEWS:31495 ../NEWS:33243 ../NEWS:37608 msgid "" ":issue:`33037`: Skip sending/receiving data after SSL transport closing." msgstr "" -#: ../NEWS:31454 ../NEWS:33202 ../NEWS:37313 +#: ../NEWS:31497 ../NEWS:33245 ../NEWS:37356 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 "" -#: ../NEWS:31458 +#: ../NEWS:31501 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 "" -#: ../NEWS:31461 ../NEWS:33206 +#: ../NEWS:31504 ../NEWS:33249 msgid "" ":issue:`32999`: Fix C implementation of ``ABC.__subclasscheck__(cls, " "subclass)`` crashed when ``subclass`` is not a type object." msgstr "" -#: ../NEWS:31464 ../NEWS:33209 ../NEWS:37569 +#: ../NEWS:31507 ../NEWS:33252 ../NEWS:37612 msgid "" ":issue:`33009`: Fix inspect.signature() for single-parameter partialmethods." msgstr "" -#: ../NEWS:31466 ../NEWS:33211 ../NEWS:37571 +#: ../NEWS:31509 ../NEWS:33254 ../NEWS:37614 msgid "" ":issue:`32969`: Expose several missing constants in zlib and fix " "corresponding documentation." msgstr "" -#: ../NEWS:31469 ../NEWS:33214 +#: ../NEWS:31512 ../NEWS:33257 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 "" -#: ../NEWS:31473 +#: ../NEWS:31516 msgid ":issue:`32970`: Improved disassembly of the MAKE_FUNCTION instruction." msgstr "" -#: ../NEWS:31475 ../NEWS:33218 ../NEWS:37317 +#: ../NEWS:31518 ../NEWS:33261 ../NEWS:37360 msgid "" ":issue:`32844`: Fix wrong redirection of a low descriptor (0 or 1) to stderr " "in subprocess if another low descriptor is closed." msgstr "" -#: ../NEWS:31478 ../NEWS:33349 +#: ../NEWS:31521 ../NEWS:33392 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 "" -#: ../NEWS:31482 ../NEWS:33353 ../NEWS:37574 +#: ../NEWS:31525 ../NEWS:33396 ../NEWS:37617 msgid "" ":issue:`32713`: Fixed tarfile.itn handling of out-of-bounds float values. " "Patch by Joffrey Fuhrer." msgstr "" -#: ../NEWS:31485 ../NEWS:32860 +#: ../NEWS:31528 ../NEWS:32903 msgid "" ":issue:`32257`: The ssl module now contains OP_NO_RENEGOTIATION constant, " "available with OpenSSL 1.1.0h or 1.1.1." msgstr "" -#: ../NEWS:31488 ../NEWS:33356 +#: ../NEWS:31531 ../NEWS:33399 msgid "" ":issue:`32951`: Direct instantiation of SSLSocket and SSLObject objects is " "now prohibited. The constructors were never documented, tested, or designed " @@ -55229,7 +55298,7 @@ msgid "" "SSLContext." msgstr "" -#: ../NEWS:31493 ../NEWS:33361 +#: ../NEWS:31536 ../NEWS:33404 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 " @@ -55239,65 +55308,65 @@ msgid "" "just as hash=None used to be." msgstr "" -#: ../NEWS:31500 ../NEWS:33368 +#: ../NEWS:31543 ../NEWS:33411 msgid "" ":issue:`32947`: Add OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for " "TLSv1.3 for future compatibility with OpenSSL 1.1.1." msgstr "" -#: ../NEWS:31503 +#: ../NEWS:31546 msgid "" ":issue:`32146`: Document the interaction between frozen executables and the " "spawn and forkserver start methods in multiprocessing." msgstr "" -#: ../NEWS:31506 ../NEWS:33371 ../NEWS:37577 +#: ../NEWS:31549 ../NEWS:33414 ../NEWS:37620 msgid "" ":issue:`30622`: The ssl module now detects missing NPN support in LibreSSL." msgstr "" -#: ../NEWS:31508 ../NEWS:33373 ../NEWS:37579 +#: ../NEWS:31551 ../NEWS:33416 ../NEWS:37622 msgid "" ":issue:`32922`: dbm.open() now encodes filename with the filesystem encoding " "rather than default encoding." msgstr "" -#: ../NEWS:31511 +#: ../NEWS:31554 msgid ":issue:`32759`: Free unused arenas in multiprocessing.heap." msgstr "" -#: ../NEWS:31513 ../NEWS:33376 ../NEWS:37582 +#: ../NEWS:31556 ../NEWS:33419 ../NEWS:37625 msgid "" ":issue:`32859`: In ``os.dup2``, don't check every call whether the ``dup3`` " "syscall exists or not." msgstr "" -#: ../NEWS:31516 ../NEWS:33379 +#: ../NEWS:31559 ../NEWS:33422 msgid "" ":issue:`32556`: nt._getfinalpathname, nt._getvolumepathname and nt." "_getdiskusage now correctly convert from bytes." msgstr "" -#: ../NEWS:31519 ../NEWS:33385 ../NEWS:37585 +#: ../NEWS:31562 ../NEWS:33428 ../NEWS:37628 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 "" -#: ../NEWS:31523 ../NEWS:33221 ../NEWS:37589 +#: ../NEWS:31566 ../NEWS:33264 ../NEWS:37632 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 "" -#: ../NEWS:31527 ../NEWS:33389 ../NEWS:37593 +#: ../NEWS:31570 ../NEWS:33432 ../NEWS:37636 msgid "" ":issue:`32852`: Make sure sys.argv remains as a list when running trace." msgstr "" -#: ../NEWS:31529 +#: ../NEWS:31572 msgid "" ":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " "implementations for various functions and methods in ``abc``. Creating an " @@ -55306,7 +55375,7 @@ msgid "" "to 10% faster." msgstr "" -#: ../NEWS:31535 +#: ../NEWS:31578 msgid "" "Note that the new implementation hides internal registry and caches, " "previously accessible via private attributes ``_abc_registry``, " @@ -55315,57 +55384,57 @@ msgid "" "``_abc_registry_clear``, and ``_abc_caches_clear``." msgstr "" -#: ../NEWS:31541 ../NEWS:33401 ../NEWS:37595 +#: ../NEWS:31584 ../NEWS:33444 ../NEWS:37638 msgid "" ":issue:`32841`: Fixed ``asyncio.Condition`` issue which silently ignored " "cancellation after notifying and cancelling a conditional lock. Patch by Bar " "Harel." msgstr "" -#: ../NEWS:31545 ../NEWS:33405 +#: ../NEWS:31588 ../NEWS:33448 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 "" -#: ../NEWS:31549 +#: ../NEWS:31592 msgid "" ":issue:`19675`: ``multiprocessing.Pool`` no longer leaks processes if its " "initialization fails." msgstr "" -#: ../NEWS:31552 ../NEWS:33409 +#: ../NEWS:31595 ../NEWS:33452 msgid "" ":issue:`32394`: socket: Remove TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE," "TCP_KEEPINTVL flags on older version Windows during run-time." msgstr "" -#: ../NEWS:31556 ../NEWS:33413 ../NEWS:37599 +#: ../NEWS:31599 ../NEWS:33456 ../NEWS:37642 msgid "" ":issue:`31787`: Fixed refleaks of ``__init__()`` methods in various modules. " "(Contributed by Oren Milman)" msgstr "" -#: ../NEWS:31559 ../NEWS:33416 ../NEWS:37602 +#: ../NEWS:31602 ../NEWS:33459 ../NEWS:37645 msgid "" ":issue:`30157`: Fixed guessing quote and delimiter in csv.Sniffer.sniff() " "when only the last field is quoted. Patch by Jake Davis." msgstr "" -#: ../NEWS:31562 +#: ../NEWS:31605 msgid "" ":issue:`30688`: Added support of ``\\N{name}`` escapes in regular " "expressions. Based on patch by Jonathan Eunice." msgstr "" -#: ../NEWS:31565 ../NEWS:33419 +#: ../NEWS:31608 ../NEWS:33462 msgid "" ":issue:`32792`: collections.ChainMap() preserves the order of the underlying " "mappings." msgstr "" -#: ../NEWS:31568 ../NEWS:33422 +#: ../NEWS:31611 ../NEWS:33465 msgid "" ":issue:`32775`: :func:`fnmatch.translate` no longer produces patterns which " "contain set operations. Sets starting with '[' or containing '--', '&&', " @@ -55374,55 +55443,55 @@ msgid "" "avoids producing patterns containing such sets by accident." msgstr "" -#: ../NEWS:31574 ../NEWS:33428 +#: ../NEWS:31617 ../NEWS:33471 msgid "" ":issue:`32622`: Implement native fast sendfile for Windows proactor event " "loop." msgstr "" -#: ../NEWS:31576 ../NEWS:33430 ../NEWS:37608 +#: ../NEWS:31619 ../NEWS:33473 ../NEWS:37651 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 "" -#: ../NEWS:31581 ../NEWS:33435 ../NEWS:37613 +#: ../NEWS:31624 ../NEWS:33478 ../NEWS:37656 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 "" -#: ../NEWS:31585 +#: ../NEWS:31628 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 "" -#: ../NEWS:31589 ../NEWS:33439 +#: ../NEWS:31632 ../NEWS:33482 msgid ":issue:`32741`: Implement ``asyncio.TimerHandle.when()`` method." msgstr "" -#: ../NEWS:31591 ../NEWS:33441 +#: ../NEWS:31634 ../NEWS:33484 msgid ":issue:`32691`: Use mod_spec.parent when running modules with pdb" msgstr "" -#: ../NEWS:31593 ../NEWS:33443 ../NEWS:37617 +#: ../NEWS:31636 ../NEWS:33486 ../NEWS:37660 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 "" -#: ../NEWS:31597 ../NEWS:33447 ../NEWS:37621 +#: ../NEWS:31640 ../NEWS:33490 ../NEWS:37664 msgid "" ":issue:`32727`: Do not include name field in SMTP envelope from address. " "Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:31600 ../NEWS:33450 +#: ../NEWS:31643 ../NEWS:33493 msgid "" ":issue:`31453`: Add TLSVersion constants and SSLContext.maximum_version / " "minimum_version attributes. The new API wraps OpenSSL 1.1 https://web." @@ -55430,7 +55499,7 @@ msgid "" "SSL_CTX_set_min_proto_version.html feature." msgstr "" -#: ../NEWS:31605 ../NEWS:33455 +#: ../NEWS:31648 ../NEWS:33498 msgid "" ":issue:`24334`: Internal implementation details of ssl module were cleaned " "up. The SSLSocket has one less layer of indirection. Owner and session " @@ -55438,49 +55507,49 @@ msgid "" "Channel binding implementation has been simplified." msgstr "" -#: ../NEWS:31610 ../NEWS:33460 ../NEWS:37634 +#: ../NEWS:31653 ../NEWS:33503 ../NEWS:37677 msgid "" ":issue:`31848`: Fix the error handling in Aifc_read.initfp() when the SSND " "chunk is not found. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:31613 ../NEWS:33463 +#: ../NEWS:31656 ../NEWS:33506 msgid "" ":issue:`32585`: Add Ttk spinbox widget to :mod:`tkinter.ttk`. Patch by Alan " "D Moore." msgstr "" -#: ../NEWS:31616 +#: ../NEWS:31659 msgid "" ":issue:`32512`: :mod:`profile` CLI accepts ``-m module_name`` as an " "alternative to script path." msgstr "" -#: ../NEWS:31619 +#: ../NEWS:31662 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 "" -#: ../NEWS:31623 +#: ../NEWS:31666 msgid "Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:31625 +#: ../NEWS:31668 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 "" -#: ../NEWS:31629 +#: ../NEWS:31672 msgid "" ":issue:`29877`: compileall: import ProcessPoolExecutor only when needed, " "preventing hangs on low resource platforms" msgstr "" -#: ../NEWS:31632 ../NEWS:33466 +#: ../NEWS:31675 ../NEWS:33509 msgid "" ":issue:`32221`: Various functions returning tuple containing IPv6 addresses " "now omit ``%scope`` part since the same information is already encoded in " @@ -55489,212 +55558,212 @@ msgid "" "name is omitted." msgstr "" -#: ../NEWS:31638 +#: ../NEWS:31681 msgid "" ":issue:`32147`: :func:`binascii.unhexlify` is now up to 2 times faster. " "Patch by Sergey Fedoseev." msgstr "" -#: ../NEWS:31641 ../NEWS:33472 +#: ../NEWS:31684 ../NEWS:33515 msgid "" ":issue:`30693`: The TarFile class now recurses directories in a reproducible " "way." msgstr "" -#: ../NEWS:31644 ../NEWS:33475 +#: ../NEWS:31687 ../NEWS:33518 msgid "" ":issue:`30693`: The ZipFile class now recurses directories in a reproducible " "way." msgstr "" -#: ../NEWS:31647 +#: ../NEWS:31690 msgid ":issue:`31680`: Added :data:`curses.ncurses_version`." msgstr "" -#: ../NEWS:31649 ../NEWS:33011 ../NEWS:37320 +#: ../NEWS:31692 ../NEWS:33054 ../NEWS:37363 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 "" -#: ../NEWS:31653 +#: ../NEWS:31696 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 "" -#: ../NEWS:31657 +#: ../NEWS:31700 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 "" -#: ../NEWS:31662 +#: ../NEWS:31705 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 "" -#: ../NEWS:31667 ../NEWS:33229 +#: ../NEWS:31710 ../NEWS:33272 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 "" -#: ../NEWS:31671 ../NEWS:32863 ../NEWS:37327 +#: ../NEWS:31714 ../NEWS:32906 ../NEWS:37370 msgid "" ":issue:`16865`: Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev " "Finer." msgstr "" -#: ../NEWS:31673 +#: ../NEWS:31716 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 "" -#: ../NEWS:31677 +#: ../NEWS:31720 msgid "" ":issue:`29456`: Fix bugs in hangul normalization: u1176, u11a7 and u11c3" msgstr "" -#: ../NEWS:31682 +#: ../NEWS:31725 msgid ":issue:`21257`: Document :func:`http.client.parse_headers`." msgstr "" -#: ../NEWS:31684 +#: ../NEWS:31727 msgid ":issue:`34764`: Improve example of iter() with 2nd sentinel argument." msgstr "" -#: ../NEWS:31686 +#: ../NEWS:31729 msgid "" ":issue:`35564`: Explicitly set master_doc variable in conf.py for compliance " "with Sphinx 2.0" msgstr "" -#: ../NEWS:31689 +#: ../NEWS:31732 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 "" -#: ../NEWS:31693 +#: ../NEWS:31736 msgid ":issue:`10536`: Enhance the gettext docs. Patch by Éric Araujo" msgstr "" -#: ../NEWS:31695 +#: ../NEWS:31738 msgid "" ":issue:`35089`: Remove mention of ``typing.io`` and ``typing.re``. Their " "types should be imported from ``typing`` directly." msgstr "" -#: ../NEWS:31698 +#: ../NEWS:31741 msgid "" ":issue:`35038`: Fix the documentation about an unexisting ``f_restricted`` " "attribute in the frame object. Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:31701 +#: ../NEWS:31744 msgid "" ":issue:`35042`: Replace PEP XYZ by the pep role and allow to use the direct " "links to the PEPs." msgstr "" -#: ../NEWS:31704 +#: ../NEWS:31747 msgid "" ":issue:`35044`: Fix the documentation with the role ``exc`` for the " "appropriated exception. Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:31707 +#: ../NEWS:31750 msgid "" ":issue:`35035`: Rename documentation for :mod:`email.utils` to ``email.utils." "rst``." msgstr "" -#: ../NEWS:31710 +#: ../NEWS:31753 msgid "" ":issue:`34967`: Use app.add_object_type() instead of the deprecated Sphinx " "function app.description_unit()" msgstr "" -#: ../NEWS:31713 +#: ../NEWS:31756 msgid "" ":issue:`34913`: Add documentation about the new command line interface of " "the gzip module." msgstr "" -#: ../NEWS:31716 +#: ../NEWS:31759 msgid "" ":issue:`32174`: chm document displays non-ASCII characters properly on some " "MBCS Windows systems." msgstr "" -#: ../NEWS:31719 +#: ../NEWS:31762 msgid "" ":issue:`11233`: Create availability directive for documentation. Original " "patch by Georg Brandl." msgstr "" -#: ../NEWS:31722 +#: ../NEWS:31765 msgid "" ":issue:`34790`: Document how passing coroutines to asyncio.wait() can be " "confusing." msgstr "" -#: ../NEWS:31725 +#: ../NEWS:31768 msgid "" ":issue:`34552`: Make clear that ``==`` operator sometimes is equivalent to " "``is``. The ``<``, ``<=``, ``>`` and ``>=`` operators are only defined where " "they make sense." msgstr "" -#: ../NEWS:31729 +#: ../NEWS:31772 msgid "" ":issue:`28617`: Fixed info in the stdtypes docs concerning the types that " "support membership tests." msgstr "" -#: ../NEWS:31732 +#: ../NEWS:31775 msgid "" ":issue:`20177`: Migrate datetime.date.fromtimestamp to Argument Clinic. " "Patch by Tim Hoffmann." msgstr "" -#: ../NEWS:31735 +#: ../NEWS:31778 msgid "" ":issue:`34065`: Fix wrongly written basicConfig documentation markup syntax" msgstr "" -#: ../NEWS:31737 +#: ../NEWS:31780 msgid "" ":issue:`33460`: replaced ellipsis with correct error codes in tutorial " "chapter 3." msgstr "" -#: ../NEWS:31740 +#: ../NEWS:31783 msgid ":issue:`33847`: Add '@' operator entry to index." msgstr "" -#: ../NEWS:31742 ../NEWS:32658 +#: ../NEWS:31785 ../NEWS:32701 msgid "" ":issue:`33409`: Clarified the relationship between :pep:`538`'s " "PYTHONCOERCECLOCALE and PEP 540's PYTHONUTF8 mode." msgstr "" -#: ../NEWS:31745 +#: ../NEWS:31788 msgid "" ":issue:`33197`: Add versionadded tag to the documentation of ParameterKind." "description" msgstr "" -#: ../NEWS:31748 +#: ../NEWS:31791 msgid "" ":issue:`17045`: Improve the C-API doc for PyTypeObject. This includes " "adding several quick-reference tables and a lot of missing slot/typedef " @@ -55702,188 +55771,188 @@ msgid "" "consistent format." msgstr "" -#: ../NEWS:31753 ../NEWS:32661 +#: ../NEWS:31796 ../NEWS:32704 msgid "" ":issue:`33736`: Improve the documentation of :func:`asyncio." "open_connection`, :func:`asyncio.start_server` and their UNIX socket " "counterparts." msgstr "" -#: ../NEWS:31756 ../NEWS:32868 +#: ../NEWS:31799 ../NEWS:32911 msgid "" ":issue:`23859`: Document that ``asyncio.wait()`` does not cancel its futures " "on timeout." msgstr "" -#: ../NEWS:31759 ../NEWS:32871 +#: ../NEWS:31802 ../NEWS:32914 msgid ":issue:`32436`: Document :pep:`567` changes to asyncio." msgstr "" -#: ../NEWS:31761 ../NEWS:32873 +#: ../NEWS:31804 ../NEWS:32916 msgid "" ":issue:`33604`: Update HMAC md5 default to a DeprecationWarning, bump " "removal to 3.8." msgstr "" -#: ../NEWS:31764 +#: ../NEWS:31807 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 "" -#: ../NEWS:31768 ../NEWS:32876 ../NEWS:37336 +#: ../NEWS:31811 ../NEWS:32919 ../NEWS:37379 msgid ":issue:`33503`: Fix broken pypi link" msgstr "" -#: ../NEWS:31770 ../NEWS:32878 ../NEWS:37338 +#: ../NEWS:31813 ../NEWS:32921 ../NEWS:37381 msgid "" ":issue:`33421`: Add missing documentation for ``typing.AsyncContextManager``." msgstr "" -#: ../NEWS:31772 +#: ../NEWS:31815 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 "" -#: ../NEWS:31776 ../NEWS:33018 ../NEWS:37340 +#: ../NEWS:31819 ../NEWS:33061 ../NEWS:37383 msgid "" ":issue:`33378`: Add Korean language switcher for https://docs.python.org/3/" msgstr "" -#: ../NEWS:31778 ../NEWS:33020 ../NEWS:37342 +#: ../NEWS:31821 ../NEWS:33063 ../NEWS:37385 msgid "" ":issue:`33276`: Clarify that the ``__path__`` attribute on modules cannot be " "just any value." msgstr "" -#: ../NEWS:31781 ../NEWS:33023 ../NEWS:37345 +#: ../NEWS:31824 ../NEWS:33066 ../NEWS:37388 msgid ":issue:`33201`: Modernize documentation for writing C extension types." msgstr "" -#: ../NEWS:31783 ../NEWS:33025 ../NEWS:37347 +#: ../NEWS:31826 ../NEWS:33068 ../NEWS:37390 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 "" -#: ../NEWS:31787 ../NEWS:33236 ../NEWS:37351 +#: ../NEWS:31830 ../NEWS:33279 ../NEWS:37394 msgid ":issue:`33126`: Document PyBuffer_ToContiguous()." msgstr "" -#: ../NEWS:31789 ../NEWS:33238 ../NEWS:37353 +#: ../NEWS:31832 ../NEWS:33281 ../NEWS:37396 msgid "" ":issue:`27212`: Modify documentation for the :func:`islice` recipe to " "consume initial values up to the start index." msgstr "" -#: ../NEWS:31792 ../NEWS:33241 ../NEWS:37356 +#: ../NEWS:31835 ../NEWS:33284 ../NEWS:37399 msgid "" ":issue:`28247`: Update :mod:`zipapp` documentation to describe how to make " "standalone applications." msgstr "" -#: ../NEWS:31795 ../NEWS:33244 ../NEWS:37359 +#: ../NEWS:31838 ../NEWS:33287 ../NEWS:37402 msgid "" ":issue:`18802`: Documentation changes for ipaddress. Patch by Jon Foster " "and Berker Peksag." msgstr "" -#: ../NEWS:31798 ../NEWS:33247 ../NEWS:37362 +#: ../NEWS:31841 ../NEWS:33290 ../NEWS:37405 msgid "" ":issue:`27428`: Update documentation to clarify that " "``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch by Himanshu " "Lakhara)" msgstr "" -#: ../NEWS:31801 ../NEWS:33481 +#: ../NEWS:31844 ../NEWS:33524 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 "" -#: ../NEWS:31805 ../NEWS:33485 ../NEWS:37692 +#: ../NEWS:31848 ../NEWS:33528 ../NEWS:37735 msgid ":issue:`17232`: Clarify docs for -O and -OO. Patch by Terry Reedy." msgstr "" -#: ../NEWS:31807 ../NEWS:33487 +#: ../NEWS:31850 ../NEWS:33530 msgid ":issue:`32436`: Add documentation for the contextvars module (PEP 567)." msgstr "" -#: ../NEWS:31809 ../NEWS:33489 ../NEWS:37694 +#: ../NEWS:31852 ../NEWS:33532 ../NEWS:37737 msgid ":issue:`32800`: Update link to w3c doc for xml default namespaces." msgstr "" -#: ../NEWS:31811 ../NEWS:33491 +#: ../NEWS:31854 ../NEWS:33534 msgid ":issue:`11015`: Update :mod:`test.support` documentation." msgstr "" -#: ../NEWS:31813 +#: ../NEWS:31856 msgid "" ":issue:`32613`: Update the faq/windows.html to use the py command from PEP " "397 instead of python." msgstr "" -#: ../NEWS:31816 ../NEWS:33493 ../NEWS:37696 +#: ../NEWS:31859 ../NEWS:33536 ../NEWS:37739 msgid "" ":issue:`8722`: Document :meth:`__getattr__` behavior when property :meth:" "`get` method raises :exc:`AttributeError`." msgstr "" -#: ../NEWS:31819 ../NEWS:33496 ../NEWS:37699 +#: ../NEWS:31862 ../NEWS:33539 ../NEWS:37742 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 "" -#: ../NEWS:31823 +#: ../NEWS:31866 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 "" -#: ../NEWS:31826 +#: ../NEWS:31869 msgid "" ":issue:`32722`: Remove the bad example in the tutorial of the Generator " "Expression. Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:31829 ../NEWS:33500 ../NEWS:37703 +#: ../NEWS:31872 ../NEWS:33543 ../NEWS:37746 msgid ":issue:`31972`: Improve docstrings for ``pathlib.PurePath`` subclasses." msgstr "" -#: ../NEWS:31831 +#: ../NEWS:31874 msgid "" ":issue:`30607`: Use the externalized ``python-docs-theme`` package when " "building the documentation." msgstr "" -#: ../NEWS:31834 ../NEWS:33029 ../NEWS:37365 +#: ../NEWS:31877 ../NEWS:33072 ../NEWS:37408 msgid "" ":issue:`8243`: Add a note about curses.addch and curses.addstr exception " "behavior when writing outside a window, or pad." msgstr "" -#: ../NEWS:31837 ../NEWS:33032 +#: ../NEWS:31880 ../NEWS:33075 msgid ":issue:`32337`: Update documentation related with ``dict`` order." msgstr "" -#: ../NEWS:31839 +#: ../NEWS:31882 msgid ":issue:`25041`: Document ``AF_PACKET`` in the :mod:`socket` module." msgstr "" -#: ../NEWS:31841 ../NEWS:32664 ../NEWS:37368 +#: ../NEWS:31884 ../NEWS:32707 ../NEWS:37411 msgid "" ":issue:`31432`: Clarify meaning of CERT_NONE, CERT_OPTIONAL, and " "CERT_REQUIRED flags for ssl.SSLContext.verify_mode." msgstr "" -#: ../NEWS:31847 +#: ../NEWS:31890 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 " @@ -55894,32 +55963,32 @@ msgid "" "of 4 KiB." msgstr "" -#: ../NEWS:31855 +#: ../NEWS:31898 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 "" -#: ../NEWS:31858 +#: ../NEWS:31901 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 "" -#: ../NEWS:31862 +#: ../NEWS:31905 msgid "" ":issue:`33717`: test.pythoninfo now logs information of all clocks, not only " "time.time() and time.perf_counter()." msgstr "" -#: ../NEWS:31865 +#: ../NEWS:31908 msgid "" ":issue:`35488`: Add a test to pathlib's Path.match() to verify it does not " "support glob-style ** recursive pattern matching." msgstr "" -#: ../NEWS:31868 +#: ../NEWS:31911 msgid "" ":issue:`31731`: Fix a race condition in ``check_interrupted_write()`` of " "test_io: create directly the thread with SIGALRM signal blocked, rather than " @@ -55927,64 +55996,64 @@ msgid "" "the thread gets the signal before the signal is blocked." msgstr "" -#: ../NEWS:31873 +#: ../NEWS:31916 msgid "" ":issue:`35424`: Fix test_multiprocessing_main_handling: use :class:" "`multiprocessing.Pool` with a context manager and then explicitly join the " "pool." msgstr "" -#: ../NEWS:31877 +#: ../NEWS:31920 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 "" -#: ../NEWS:31881 +#: ../NEWS:31924 msgid "" ":issue:`35513`: Replace :func:`time.time` with :func:`time.monotonic` in " "tests to measure time delta." msgstr "" -#: ../NEWS:31884 +#: ../NEWS:31927 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 "" -#: ../NEWS:31889 +#: ../NEWS:31932 msgid "" ":issue:`35412`: Add testcase to ``test_future4``: check unicode literal." msgstr "" -#: ../NEWS:31891 +#: ../NEWS:31934 msgid "" ":issue:`26704`: Added test demonstrating double-patching of an instance " "method. Patch by Anthony Sottile." msgstr "" -#: ../NEWS:31894 +#: ../NEWS:31937 msgid "" ":issue:`33725`: test_multiprocessing_fork may crash on recent versions of " "macOS. Until the issue is resolved, skip the test on macOS." msgstr "" -#: ../NEWS:31897 +#: ../NEWS:31940 msgid "" ":issue:`35352`: Modify test_asyncio to use the certificate set from the test " "directory." msgstr "" -#: ../NEWS:31900 +#: ../NEWS:31943 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 "" -#: ../NEWS:31904 +#: ../NEWS:31947 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 " @@ -55992,30 +56061,30 @@ msgid "" "Lysandros Nikolaou" msgstr "" -#: ../NEWS:31909 +#: ../NEWS:31952 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 "" -#: ../NEWS:31913 +#: ../NEWS:31956 msgid ":issue:`34962`: make docstest in Doc now passes., and is enforced in CI" msgstr "" -#: ../NEWS:31915 +#: ../NEWS:31958 msgid "" ":issue:`23596`: Use argparse for the command line of the gzip module. Patch " "by Antony Lee" msgstr "" -#: ../NEWS:31918 +#: ../NEWS:31961 msgid "" ":issue:`34537`: Fix ``test_gdb.test_strings()`` when ``LC_ALL=C`` and GDB " "was compiled with Python 3.6 or earlier." msgstr "" -#: ../NEWS:31921 +#: ../NEWS:31964 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 " @@ -56025,60 +56094,60 @@ msgid "" "design, so just remove it." msgstr "" -#: ../NEWS:31928 +#: ../NEWS:31971 msgid ":issue:`34661`: Fix test_shutil if unzip doesn't support -t." msgstr "" -#: ../NEWS:31930 +#: ../NEWS:31973 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 "" -#: ../NEWS:31934 +#: ../NEWS:31977 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 "" -#: ../NEWS:31938 +#: ../NEWS:31981 msgid ":issue:`34594`: Fix usage of hardcoded ``errno`` values in the tests." msgstr "" -#: ../NEWS:31940 +#: ../NEWS:31983 msgid ":issue:`34579`: Fix test_embed for AIX Patch by Michael Felt" msgstr "" -#: ../NEWS:31942 +#: ../NEWS:31985 msgid "" ":issue:`34542`: Use 3072 RSA keys and SHA-256 signature for test certs and " "keys." msgstr "" -#: ../NEWS:31945 +#: ../NEWS:31988 msgid "" ":issue:`11193`: Remove special condition for AIX in ``test_subprocess." "test_undecodable_env``" msgstr "" -#: ../NEWS:31948 +#: ../NEWS:31991 msgid ":issue:`34347`: Fix ``test_utf8_mode.test_cmd_line`` for AIX" msgstr "" -#: ../NEWS:31950 +#: ../NEWS:31993 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 "" -#: ../NEWS:31953 +#: ../NEWS:31996 msgid "" ":issue:`34391`: Fix ftplib test for TLS 1.3 by reading from data socket." msgstr "" -#: ../NEWS:31955 +#: ../NEWS:31998 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 " @@ -56086,39 +56155,39 @@ msgid "" "based ``sys.platform()``" msgstr "" -#: ../NEWS:31960 +#: ../NEWS:32003 msgid "" ":issue:`34399`: Update all RSA keys and DH params to use at least 2048 bits." msgstr "" -#: ../NEWS:31962 +#: ../NEWS:32005 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 "" -#: ../NEWS:31966 +#: ../NEWS:32009 msgid "" ":issue:`11191`: Skip the distutils test 'test_search_cpp' when using XLC as " "compiler patch by aixtools (Michael Felt)" msgstr "" -#: ../NEWS:31969 +#: ../NEWS:32012 msgid "Improved an error message when mock assert_has_calls fails." msgstr "" -#: ../NEWS:31971 +#: ../NEWS:32014 msgid ":issue:`33746`: Fix test_unittest when run in verbose mode." msgstr "" -#: ../NEWS:31973 +#: ../NEWS:32016 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 "" -#: ../NEWS:31976 +#: ../NEWS:32019 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 " @@ -56126,115 +56195,115 @@ msgid "" "must be used)." msgstr "" -#: ../NEWS:31981 +#: ../NEWS:32024 msgid "" ":issue:`33562`: Check that a global asyncio event loop policy is not left " "behind by any tests." msgstr "" -#: ../NEWS:31984 ../NEWS:32883 ../NEWS:37374 +#: ../NEWS:32027 ../NEWS:32926 ../NEWS:37417 msgid "" ":issue:`33655`: Ignore test_posix_fallocate failures on BSD platforms that " "might be due to running on ZFS." msgstr "" -#: ../NEWS:31987 +#: ../NEWS:32030 msgid "" ":issue:`32962`: Fixed test_gdb when Python is compiled with flags -mcet -fcf-" "protection -O0." msgstr "" -#: ../NEWS:31990 ../NEWS:33037 +#: ../NEWS:32033 ../NEWS:33080 msgid "" ":issue:`33358`: Fix ``test_embed.test_pre_initialization_sys_options()`` " "when the interpreter is built with ``--enable-shared``." msgstr "" -#: ../NEWS:31993 ../NEWS:33253 ../NEWS:37487 +#: ../NEWS:32036 ../NEWS:33296 ../NEWS:37530 msgid "" ":issue:`32872`: Avoid regrtest compatibility issue with namespace packages." msgstr "" -#: ../NEWS:31995 ../NEWS:33255 ../NEWS:37712 +#: ../NEWS:32038 ../NEWS:33298 ../NEWS:37755 msgid "" ":issue:`32517`: Fix failing ``test_asyncio`` on macOS 10.12.2+ due to " "transport of ``KqueueSelector`` loop was not being closed." msgstr "" -#: ../NEWS:31998 +#: ../NEWS:32041 msgid "" ":issue:`32663`: Making sure the ``SMTPUTF8SimTests`` class of tests gets run " "in ``test_smtplib.py``." msgstr "" -#: ../NEWS:32001 +#: ../NEWS:32044 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 "" -#: ../NEWS:32005 +#: ../NEWS:32048 msgid "Applicable to Python2-2.7 and later" msgstr "" -#: ../NEWS:32007 ../NEWS:33258 ../NEWS:37377 +#: ../NEWS:32050 ../NEWS:33301 ../NEWS:37420 msgid ":issue:`19417`: Add test_bdb.py." msgstr "" -#: ../NEWS:32009 ../NEWS:33505 +#: ../NEWS:32052 ../NEWS:33548 msgid ":issue:`31809`: Add tests to verify connection with secp ECDH curves." msgstr "" -#: ../NEWS:32014 +#: ../NEWS:32057 msgid "" ":issue:`34691`: The _contextvars module is now built into the core Python " "library on Windows." msgstr "" -#: ../NEWS:32017 +#: ../NEWS:32060 msgid "" ":issue:`35683`: Improved Azure Pipelines build steps and now verifying " "layouts correctly" msgstr "" -#: ../NEWS:32020 +#: ../NEWS:32063 msgid ":issue:`35642`: Remove asynciomodule.c from pythoncore.vcxproj" msgstr "" -#: ../NEWS:32022 +#: ../NEWS:32065 msgid "" ":issue:`35550`: Fix incorrect Solaris #ifdef checks to look for __sun && " "__SVR4 instead of sun when compiling." msgstr "" -#: ../NEWS:32025 +#: ../NEWS:32068 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 "" -#: ../NEWS:32029 +#: ../NEWS:32072 msgid "" ":issue:`35257`: Avoid leaking the linker flags from Link Time Optimizations " "(LTO) into distutils when compiling C extensions." msgstr "" -#: ../NEWS:32032 +#: ../NEWS:32075 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 "" -#: ../NEWS:32036 +#: ../NEWS:32079 msgid "" ":issue:`35139`: Fix a compiler error when statically linking ``pyexpat`` in " "``Modules/Setup``." msgstr "" -#: ../NEWS:32039 +#: ../NEWS:32082 msgid "" ":issue:`35059`: PCbuild: Set InlineFunctionExpansion to OnlyExplicitInline " "(\"/Ob1\" option) in pyproject.props in Debug mode to expand functions " @@ -56242,7 +56311,7 @@ msgid "" "little bit faster on Windows." msgstr "" -#: ../NEWS:32044 +#: ../NEWS:32087 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 " @@ -56250,144 +56319,144 @@ msgid "" "modules with their own version of libexpat." msgstr "" -#: ../NEWS:32049 +#: ../NEWS:32092 msgid ":issue:`28015`: Have --with-lto works correctly with clang." msgstr "" -#: ../NEWS:32051 +#: ../NEWS:32094 msgid "" ":issue:`34765`: Update the outdated install-sh file to the latest revision " "from automake v1.16.1" msgstr "" -#: ../NEWS:32054 +#: ../NEWS:32097 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 "" -#: ../NEWS:32058 +#: ../NEWS:32101 msgid ":issue:`34710`: Fixed SSL module build with OpenSSL & pedantic CFLAGS." msgstr "" -#: ../NEWS:32060 +#: ../NEWS:32103 msgid "" ":issue:`34582`: Add JUnit XML output for regression tests and update Azure " "DevOps builds." msgstr "" -#: ../NEWS:32063 +#: ../NEWS:32106 msgid ":issue:`34081`: Make Sphinx warnings as errors in the Docs Makefile." msgstr "" -#: ../NEWS:32065 +#: ../NEWS:32108 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 "" -#: ../NEWS:32068 +#: ../NEWS:32111 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 "" -#: ../NEWS:32072 +#: ../NEWS:32115 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 "" -#: ../NEWS:32076 +#: ../NEWS:32119 msgid ":issue:`34121`: Fix detection of C11 atomic support on clang." msgstr "" -#: ../NEWS:32078 +#: ../NEWS:32121 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 "" -#: ../NEWS:32082 +#: ../NEWS:32125 msgid "" ":issue:`30345`: Add -g to LDFLAGS when compiling with LTO to get debug " "symbols." msgstr "" -#: ../NEWS:32084 ../NEWS:32670 ../NEWS:37382 +#: ../NEWS:32127 ../NEWS:32713 ../NEWS:37425 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 "" -#: ../NEWS:32088 ../NEWS:32892 ../NEWS:37386 +#: ../NEWS:32131 ../NEWS:32935 ../NEWS:37429 msgid "" ":issue:`33614`: Ensures module definition files for the stable ABI on " "Windows are correctly regenerated." msgstr "" -#: ../NEWS:32091 +#: ../NEWS:32134 msgid "" ":issue:`33648`: The --with-c-locale-warning configuration flag has been " "removed. It has had no effect for about a year." msgstr "" -#: ../NEWS:32094 ../NEWS:32895 ../NEWS:37389 +#: ../NEWS:32137 ../NEWS:32938 ../NEWS:37432 msgid "" ":issue:`33522`: Enable CI builds on Visual Studio Team Services at https://" "python.visualstudio.com/cpython" msgstr "" -#: ../NEWS:32097 +#: ../NEWS:32140 msgid "" ":issue:`33512`: configure's check for \"long double\" has been simplified" msgstr "" -#: ../NEWS:32099 +#: ../NEWS:32142 msgid "" ":issue:`33483`: C compiler is now correctly detected from the standard " "environment variables. --without-gcc and --with-icc options have been " "removed." msgstr "" -#: ../NEWS:32103 ../NEWS:33043 ../NEWS:37396 +#: ../NEWS:32146 ../NEWS:33086 ../NEWS:37439 msgid "" ":issue:`33394`: Enable the verbose build for extension modules, when GNU " "make is passed macros on the command line." msgstr "" -#: ../NEWS:32106 ../NEWS:33046 +#: ../NEWS:32149 ../NEWS:33089 msgid ":issue:`33393`: Update config.guess and config.sub files." msgstr "" -#: ../NEWS:32108 ../NEWS:33048 +#: ../NEWS:32151 ../NEWS:33091 msgid "" ":issue:`33377`: Add new triplets for mips r6 and riscv variants (used in " "extension suffixes)." msgstr "" -#: ../NEWS:32111 ../NEWS:33051 +#: ../NEWS:32154 ../NEWS:33094 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 "" -#: ../NEWS:32115 ../NEWS:33055 +#: ../NEWS:32158 ../NEWS:33098 msgid "" ":issue:`33182`: The embedding tests can once again be built with clang 6.0" msgstr "" -#: ../NEWS:32117 ../NEWS:33263 ../NEWS:37492 +#: ../NEWS:32160 ../NEWS:33306 ../NEWS:37535 msgid ":issue:`33163`: Upgrade pip to 9.0.3 and setuptools to v39.0.1." msgstr "" -#: ../NEWS:32119 +#: ../NEWS:32162 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 " @@ -56396,117 +56465,117 @@ msgid "" "all functions that implement METH_NOARGS." msgstr "" -#: ../NEWS:32125 ../NEWS:33510 +#: ../NEWS:32168 ../NEWS:33553 msgid ":issue:`32898`: Fix the python debug build when using COUNT_ALLOCS." msgstr "" -#: ../NEWS:32127 +#: ../NEWS:32170 msgid ":issue:`29442`: Replace optparse with argparse in setup.py" msgstr "" -#: ../NEWS:32132 +#: ../NEWS:32175 msgid ":issue:`35890`: Fix API calling consistency of GetVersionEx and wcstok." msgstr "" -#: ../NEWS:32134 +#: ../NEWS:32177 msgid "" ":issue:`32560`: The ``py`` launcher now forwards its ``STARTUPINFO`` " "structure to child processes." msgstr "" -#: ../NEWS:32137 +#: ../NEWS:32180 msgid ":issue:`35854`: Fix EnvBuilder and --symlinks in venv on Windows" msgstr "" -#: ../NEWS:32139 +#: ../NEWS:32182 msgid "" ":issue:`35811`: Avoid propagating venv settings when launching via py.exe" msgstr "" -#: ../NEWS:32141 +#: ../NEWS:32184 msgid "" ":issue:`35797`: Fix default executable used by the multiprocessing module" msgstr "" -#: ../NEWS:32143 +#: ../NEWS:32186 msgid ":issue:`35758`: Allow building on ARM with MSVC." msgstr "" -#: ../NEWS:32145 +#: ../NEWS:32188 msgid ":issue:`29734`: Fix handle leaks in os.stat on Windows." msgstr "" -#: ../NEWS:32147 +#: ../NEWS:32190 msgid "" ":issue:`35596`: Use unchecked PYCs for the embeddable distro to avoid " "zipimport restrictions." msgstr "" -#: ../NEWS:32150 +#: ../NEWS:32193 msgid "" ":issue:`35596`: Fix vcruntime140.dll being added to embeddable distro " "multiple times." msgstr "" -#: ../NEWS:32153 +#: ../NEWS:32196 msgid ":issue:`35402`: Update Windows build to use Tcl and Tk 8.6.9" msgstr "" -#: ../NEWS:32155 +#: ../NEWS:32198 msgid ":issue:`35401`: Updates Windows build to OpenSSL 1.1.0j" msgstr "" -#: ../NEWS:32157 +#: ../NEWS:32200 msgid "" ":issue:`34977`: venv on Windows will now use a python.exe redirector rather " "than copying the actual binaries from the base environment." msgstr "" -#: ../NEWS:32160 +#: ../NEWS:32203 msgid ":issue:`34977`: Adds support for building a Windows App Store package" msgstr "" -#: ../NEWS:32162 +#: ../NEWS:32205 msgid "" ":issue:`35067`: Remove _distutils_findvs module and use vswhere.exe instead." msgstr "" -#: ../NEWS:32164 +#: ../NEWS:32207 msgid ":issue:`32557`: Allow shutil.disk_usage to take a file path on Windows" msgstr "" -#: ../NEWS:32166 +#: ../NEWS:32209 msgid "" ":issue:`34770`: Fix a possible null pointer dereference in pyshellext.cpp." msgstr "" -#: ../NEWS:32168 +#: ../NEWS:32211 msgid ":issue:`34603`: Fix returning structs from functions produced by MSVC" msgstr "" -#: ../NEWS:32170 +#: ../NEWS:32213 msgid "" ":issue:`34581`: Guard MSVC-specific code in socketmodule.c with ``#ifdef " "_MSC_VER``." msgstr "" -#: ../NEWS:32173 +#: ../NEWS:32216 msgid ":issue:`34532`: Fixes exit code of list version arguments for py.exe." msgstr "" -#: ../NEWS:32175 +#: ../NEWS:32218 msgid "" ":issue:`34062`: Fixed the '--list' and '--list-paths' arguments for the py." "exe launcher" msgstr "" -#: ../NEWS:32178 +#: ../NEWS:32221 msgid "" ":issue:`34225`: Ensure INCLUDE and LIB directories do not end with a " "backslash." msgstr "" -#: ../NEWS:32180 +#: ../NEWS:32223 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. " @@ -56515,128 +56584,128 @@ msgid "" "a venv is created." msgstr "" -#: ../NEWS:32186 +#: ../NEWS:32229 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 "" -#: ../NEWS:32190 +#: ../NEWS:32233 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 "" -#: ../NEWS:32194 +#: ../NEWS:32237 msgid "" ":issue:`30237`: Output error when ReadConsole is canceled by " "CancelSynchronousIo instead of crashing." msgstr "" -#: ../NEWS:32197 +#: ../NEWS:32240 msgid "" ":issue:`33895`: GIL is released while calling functions that acquire Windows " "loader lock." msgstr "" -#: ../NEWS:32200 ../NEWS:32677 +#: ../NEWS:32243 ../NEWS:32720 msgid "" ":issue:`33720`: Reduces maximum marshal recursion depth on release builds." msgstr "" -#: ../NEWS:32202 +#: ../NEWS:32245 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 "" -#: ../NEWS:32206 +#: ../NEWS:32249 msgid ":issue:`33316`: PyThread_release_lock always fails" msgstr "" -#: ../NEWS:32208 ../NEWS:33060 +#: ../NEWS:32251 ../NEWS:33103 msgid ":issue:`33184`: Update Windows installer to use OpenSSL 1.1.0h." msgstr "" -#: ../NEWS:32210 +#: ../NEWS:32253 msgid "" ":issue:`32890`: Fix usage of GetLastError() instead of errno in os.execve() " "and os.truncate()." msgstr "" -#: ../NEWS:32213 ../NEWS:33268 ../NEWS:37733 +#: ../NEWS:32256 ../NEWS:33311 ../NEWS:37776 msgid "" ":issue:`33016`: Fix potential use of uninitialized memory in nt." "_getfinalpathname" msgstr "" -#: ../NEWS:32216 ../NEWS:33271 ../NEWS:37736 +#: ../NEWS:32259 ../NEWS:33314 ../NEWS:37779 msgid "" ":issue:`32903`: Fix a memory leak in os.chdir() on Windows if the current " "directory is set to a UNC path." msgstr "" -#: ../NEWS:32219 ../NEWS:33515 +#: ../NEWS:32262 ../NEWS:33558 msgid ":issue:`32901`: Update Tcl and Tk versions to 8.6.8" msgstr "" -#: ../NEWS:32221 ../NEWS:33517 ../NEWS:37739 +#: ../NEWS:32264 ../NEWS:33560 ../NEWS:37782 msgid ":issue:`31966`: Fixed WindowsConsoleIO.write() for writing empty data." msgstr "" -#: ../NEWS:32223 ../NEWS:33519 ../NEWS:37741 +#: ../NEWS:32266 ../NEWS:33562 ../NEWS:37784 msgid ":issue:`32409`: Ensures activate.bat can handle Unicode contents." msgstr "" -#: ../NEWS:32225 ../NEWS:33521 ../NEWS:37743 +#: ../NEWS:32268 ../NEWS:33564 ../NEWS:37786 msgid "" ":issue:`32457`: Improves handling of denormalized executable path when " "launching Python." msgstr "" -#: ../NEWS:32228 ../NEWS:33524 ../NEWS:37746 +#: ../NEWS:32271 ../NEWS:33567 ../NEWS:37789 msgid "" ":issue:`32370`: Use the correct encoding for ipconfig output in the uuid " "module. Patch by Segev Finer." msgstr "" -#: ../NEWS:32231 ../NEWS:33527 ../NEWS:37749 +#: ../NEWS:32274 ../NEWS:33570 ../NEWS:37792 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 "" -#: ../NEWS:32235 +#: ../NEWS:32278 msgid "" ":issue:`1104`: Correctly handle string length in ``msilib.SummaryInfo." "GetProperty()`` to prevent it from truncating the last character." msgstr "" -#: ../NEWS:32242 +#: ../NEWS:32285 msgid ":issue:`35401`: Update macOS installer to use OpenSSL 1.1.0j." msgstr "" -#: ../NEWS:32244 +#: ../NEWS:32287 msgid "" ":issue:`35025`: Properly guard the use of the ``CLOCK_GETTIME`` et al. " "macros in ``timemodule`` on macOS." msgstr "" -#: ../NEWS:32247 +#: ../NEWS:32290 msgid "" ":issue:`24658`: On macOS, fix reading from and writing into a file with a " "size larger than 2 GiB." msgstr "" -#: ../NEWS:32250 +#: ../NEWS:32293 msgid ":issue:`34405`: Update to OpenSSL 1.1.0i for macOS installer builds." msgstr "" -#: ../NEWS:32252 +#: ../NEWS:32295 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 " @@ -56645,18 +56714,18 @@ msgid "" "extended with the same error ignoring pattern." msgstr "" -#: ../NEWS:32258 ../NEWS:32905 +#: ../NEWS:32301 ../NEWS:32948 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 "" -#: ../NEWS:32262 ../NEWS:33065 +#: ../NEWS:32305 ../NEWS:33108 msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.1.0h." msgstr "" -#: ../NEWS:32264 ../NEWS:33277 +#: ../NEWS:32307 ../NEWS:33320 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 " @@ -56665,17 +56734,17 @@ msgid "" "installed, such as ActiveTcl." msgstr "" -#: ../NEWS:32270 ../NEWS:33534 +#: ../NEWS:32313 ../NEWS:33577 msgid ":issue:`32901`: Update macOS 10.9+ installer to Tcl/Tk 8.6.8." msgstr "" -#: ../NEWS:32272 +#: ../NEWS:32315 msgid "" ":issue:`31903`: In :mod:`!_scproxy`, drop the GIL when calling into " "``SystemConfiguration`` to avoid deadlocks." msgstr "" -#: ../NEWS:32278 +#: ../NEWS:32321 msgid "" ":issue:`35770`: IDLE macosx deletes Options => Configure IDLE. It previously " "deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options " @@ -56683,102 +56752,102 @@ msgid "" "menu." msgstr "" -#: ../NEWS:32283 +#: ../NEWS:32326 msgid "" ":issue:`35769`: Change IDLE's new file name from 'Untitled' to 'untitled'" msgstr "" -#: ../NEWS:32285 +#: ../NEWS:32328 msgid ":issue:`35660`: Fix imports in idlelib.window." msgstr "" -#: ../NEWS:32287 +#: ../NEWS:32330 msgid "" ":issue:`35641`: Proper format ``calltip`` when the function has no docstring." msgstr "" -#: ../NEWS:32289 +#: ../NEWS:32332 msgid ":issue:`33987`: Use ttk Frame for ttk widgets." msgstr "" -#: ../NEWS:32291 +#: ../NEWS:32334 msgid "" ":issue:`34055`: Fix erroneous 'smart' indents and newlines in IDLE Shell." msgstr "" -#: ../NEWS:32293 +#: ../NEWS:32336 msgid ":issue:`35591`: Find Selection now works when selection not found." msgstr "" -#: ../NEWS:32295 +#: ../NEWS:32338 msgid ":issue:`35196`: Speed up squeezer line counting." msgstr "" -#: ../NEWS:32297 +#: ../NEWS:32340 msgid "" ":issue:`35598`: Update config_key: use PEP 8 names and ttk widgets, make " "some objects global, and add tests." msgstr "" -#: ../NEWS:32300 +#: ../NEWS:32343 msgid ":issue:`28097`: Add Previous/Next History entries to Shell menu." msgstr "" -#: ../NEWS:32302 +#: ../NEWS:32345 msgid "" ":issue:`35208`: Squeezer now properly counts wrapped lines before newlines." msgstr "" -#: ../NEWS:32304 +#: ../NEWS:32347 msgid "" ":issue:`35555`: Gray out Code Context menu entry when it's not applicable." msgstr "" -#: ../NEWS:32306 +#: ../NEWS:32349 msgid "" ":issue:`35521`: Document the IDLE editor code context feature. Add some " "internal references within the IDLE doc." msgstr "" -#: ../NEWS:32309 +#: ../NEWS:32352 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 "" -#: ../NEWS:32313 +#: ../NEWS:32356 msgid ":issue:`35213`: Where appropriate, use 'macOS' in idlelib." msgstr "" -#: ../NEWS:32315 +#: ../NEWS:32358 msgid "" ":issue:`34864`: On macOS, warn if the system preference \"Prefer tabs when " "opening documents\" is set to \"Always\"." msgstr "" -#: ../NEWS:32318 +#: ../NEWS:32361 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 "" -#: ../NEWS:32322 +#: ../NEWS:32365 msgid ":issue:`35202`: Remove unused imports from lib/idlelib" msgstr "" -#: ../NEWS:32324 +#: ../NEWS:32367 msgid "" ":issue:`33000`: Document that IDLE's shell has no line limit. A program that " "runs indefinitely can overfill memory." msgstr "" -#: ../NEWS:32327 +#: ../NEWS:32370 msgid ":issue:`23220`: Explain how IDLE's Shell displays output." msgstr "" -#: ../NEWS:32329 +#: ../NEWS:32372 msgid "" ":issue:`35099`: Improve the doc about IDLE running user code. The section " "is renamed from \"IDLE -- console differences\" is renamed \"Running user " @@ -56786,35 +56855,35 @@ msgid "" "` objects." msgstr "" -#: ../NEWS:32334 +#: ../NEWS:32377 msgid "" ":issue:`35097`: Add IDLE doc subsection explaining editor windows. Topics " "include opening, title and status bar, .py* extension, and running." msgstr "" -#: ../NEWS:32337 +#: ../NEWS:32380 msgid "" ":issue:`35093`: Document the IDLE document viewer in the IDLE doc. Add a " "paragraph in \"Help and preferences\", \"Help sources\" subsection." msgstr "" -#: ../NEWS:32340 +#: ../NEWS:32383 msgid "" ":issue:`35088`: Update idlelib.help.copy_string docstring. We now use git " "and backporting instead of hg and forward merging." msgstr "" -#: ../NEWS:32343 +#: ../NEWS:32386 msgid "" ":issue:`35087`: Update idlelib help files for the current doc build. The " "main change is the elimination of chapter-section numbers." msgstr "" -#: ../NEWS:32346 +#: ../NEWS:32389 msgid ":issue:`34548`: Use configured color theme for read-only text views." msgstr "" -#: ../NEWS:32348 +#: ../NEWS:32391 msgid "" ":issue:`1529353`: Enable \"squeezing\" of long outputs in the shell, to " "avoid performance degradation and to clean up the history without losing it. " @@ -56822,80 +56891,80 @@ msgid "" "\"unsqueezed\"." msgstr "" -#: ../NEWS:32353 +#: ../NEWS:32396 msgid ":issue:`34047`: Fixed mousewheel scrolling direction on macOS." msgstr "" -#: ../NEWS:32355 +#: ../NEWS:32398 msgid "" ":issue:`34275`: Make IDLE calltips always visible on Mac. Some MacOS-tk " "combinations need .update_idletasks(). Patch by Kevin Walzer." msgstr "" -#: ../NEWS:32358 +#: ../NEWS:32401 msgid "" ":issue:`34120`: Fix unresponsiveness after closing certain windows and " "dialogs." msgstr "" -#: ../NEWS:32360 +#: ../NEWS:32403 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 "" -#: ../NEWS:32364 +#: ../NEWS:32407 msgid ":issue:`33905`: Add test for idlelib.stackview.StackBrowser." msgstr "" -#: ../NEWS:32366 +#: ../NEWS:32409 msgid "" ":issue:`33924`: Change mainmenu.menudefs key 'windows' to 'window'. Every " "other menudef key is lowercase version of main menu entry." msgstr "" -#: ../NEWS:32369 +#: ../NEWS:32412 msgid "" ":issue:`33906`: Rename idlelib.windows as window Match Window on the main " "menu and remove last plural module name." msgstr "" -#: ../NEWS:32372 +#: ../NEWS:32415 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 "" -#: ../NEWS:32376 +#: ../NEWS:32419 msgid ":issue:`33904`: IDLE: In rstrip, rename class RstripExtension as Rstrip" msgstr "" -#: ../NEWS:32378 +#: ../NEWS:32421 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 "" -#: ../NEWS:32382 +#: ../NEWS:32425 msgid ":issue:`33856`: Add \"help\" in the welcome message of IDLE" msgstr "" -#: ../NEWS:32384 +#: ../NEWS:32427 msgid "" ":issue:`33839`: IDLE: refactor ToolTip and CallTip and add documentation and " "tests" msgstr "" -#: ../NEWS:32387 +#: ../NEWS:32430 msgid "" ":issue:`33855`: Minimally test all IDLE modules. Add missing files, import " "module, instantiate classes, and check coverage. Check existing files." msgstr "" -#: ../NEWS:32390 ../NEWS:32682 ../NEWS:37412 +#: ../NEWS:32433 ../NEWS:32725 ../NEWS:37455 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 " @@ -56903,19 +56972,19 @@ msgid "" "text and lines sharper. It should otherwise have no effect." msgstr "" -#: ../NEWS:32395 ../NEWS:32687 ../NEWS:37417 +#: ../NEWS:32438 ../NEWS:32730 ../NEWS:37460 msgid "" ":issue:`33768`: Clicking on a context line moves that line to the top of the " "editor window." msgstr "" -#: ../NEWS:32398 ../NEWS:32690 ../NEWS:37420 +#: ../NEWS:32441 ../NEWS:32733 ../NEWS:37463 msgid "" ":issue:`33763`: IDLE: Use read-only text widget for code context instead of " "label widget." msgstr "" -#: ../NEWS:32401 ../NEWS:32693 ../NEWS:37423 +#: ../NEWS:32444 ../NEWS:32736 ../NEWS:37466 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 " @@ -56923,29 +56992,29 @@ msgid "" "the shell and grep output windows, but not to read-only text views." msgstr "" -#: ../NEWS:32406 ../NEWS:32698 ../NEWS:37428 +#: ../NEWS:32449 ../NEWS:32741 ../NEWS:37471 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 "" -#: ../NEWS:32410 ../NEWS:32702 ../NEWS:37432 +#: ../NEWS:32453 ../NEWS:32745 ../NEWS:37475 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 "" -#: ../NEWS:32413 ../NEWS:32912 ../NEWS:37435 +#: ../NEWS:32456 ../NEWS:32955 ../NEWS:37478 msgid ":issue:`33628`: IDLE: Cleanup codecontext.py and its test." msgstr "" -#: ../NEWS:32415 ../NEWS:32914 ../NEWS:37437 +#: ../NEWS:32458 ../NEWS:32957 ../NEWS:37480 msgid "" ":issue:`33564`: IDLE's code context now recognizes async as a block opener." msgstr "" -#: ../NEWS:32417 ../NEWS:33070 ../NEWS:37442 +#: ../NEWS:32460 ../NEWS:33113 ../NEWS:37485 msgid "" ":issue:`21474`: Update word/identifier definition from ascii to unicode. In " "text and entry boxes, this affects selection by double-click, movement left/" @@ -56953,7 +57022,7 @@ msgid "" "DEL." msgstr "" -#: ../NEWS:32422 ../NEWS:33075 ../NEWS:37447 +#: ../NEWS:32465 ../NEWS:33118 ../NEWS:37490 msgid "" ":issue:`33204`: IDLE: consistently color invalid string prefixes. A 'u' " "string prefix cannot be paired with either 'r' or 'f'. Consistently color as " @@ -56961,7 +57030,7 @@ msgid "" "colorizer test." msgstr "" -#: ../NEWS:32427 ../NEWS:33286 ../NEWS:37766 +#: ../NEWS:32470 ../NEWS:33329 ../NEWS:37809 msgid "" ":issue:`32984`: Set ``__file__`` while running a startup file. Like Python, " "IDLE optionally runs one startup file in the Shell window before presenting " @@ -56972,30 +57041,30 @@ msgid "" "does the same when run normally, without the ``-n`` option." msgstr "" -#: ../NEWS:32436 ../NEWS:33295 ../NEWS:37775 +#: ../NEWS:32479 ../NEWS:33338 ../NEWS:37818 msgid "" ":issue:`32940`: Simplify and rename StringTranslatePseudoMapping in pyparse." msgstr "" -#: ../NEWS:32438 ../NEWS:33539 ../NEWS:37777 +#: ../NEWS:32481 ../NEWS:33582 ../NEWS:37820 msgid ":issue:`32916`: Change ``str`` to ``code`` in pyparse." msgstr "" -#: ../NEWS:32440 ../NEWS:33541 ../NEWS:37779 +#: ../NEWS:32483 ../NEWS:33584 ../NEWS:37822 msgid ":issue:`32905`: Remove unused code in pyparse module." msgstr "" -#: ../NEWS:32442 ../NEWS:33543 ../NEWS:37781 +#: ../NEWS:32485 ../NEWS:33586 ../NEWS:37824 msgid ":issue:`32874`: Add tests for pyparse." msgstr "" -#: ../NEWS:32444 ../NEWS:33545 ../NEWS:37783 +#: ../NEWS:32487 ../NEWS:33588 ../NEWS:37826 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 "" -#: ../NEWS:32447 ../NEWS:33548 ../NEWS:37786 +#: ../NEWS:32490 ../NEWS:33591 ../NEWS:37829 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 " @@ -57004,88 +57073,88 @@ msgid "" "character in CREDITS.txt." msgstr "" -#: ../NEWS:32453 ../NEWS:32916 ../NEWS:37452 +#: ../NEWS:32496 ../NEWS:32959 ../NEWS:37495 msgid ":issue:`32831`: Add docstrings and tests for codecontext." msgstr "" -#: ../NEWS:32455 ../NEWS:33554 ../NEWS:37792 +#: ../NEWS:32498 ../NEWS:33597 ../NEWS:37835 msgid "" ":issue:`32765`: Update configdialog General tab docstring to add new widgets " "to the widget list." msgstr "" -#: ../NEWS:32461 +#: ../NEWS:32504 msgid "" ":issue:`35884`: Add a benchmark script for timing various ways to access " "variables: ``Tools/scripts/var_access_benchmark.py``." msgstr "" -#: ../NEWS:32464 +#: ../NEWS:32507 msgid "" ":issue:`34989`: python-gdb.py now handles errors on computing the line " "number of a Python frame." msgstr "" -#: ../NEWS:32467 +#: ../NEWS:32510 msgid "" ":issue:`20260`: Argument Clinic now has non-bitwise unsigned int converters." msgstr "" -#: ../NEWS:32469 +#: ../NEWS:32512 msgid "" ":issue:`32962`: python-gdb now catches ``UnicodeDecodeError`` exceptions " "when calling ``string()``." msgstr "" -#: ../NEWS:32472 +#: ../NEWS:32515 msgid "" ":issue:`32962`: python-gdb now catches ValueError on read_var(): when Python " "has no debug symbols for example." msgstr "" -#: ../NEWS:32475 ../NEWS:33083 ../NEWS:37457 +#: ../NEWS:32518 ../NEWS:33126 ../NEWS:37500 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 "" -#: ../NEWS:32479 ../NEWS:33087 ../NEWS:37461 +#: ../NEWS:32522 ../NEWS:33130 ../NEWS:37504 msgid "" ":issue:`31920`: Fixed handling directories as arguments in the ``pygettext`` " "script. Based on patch by Oleg Krasnikov." msgstr "" -#: ../NEWS:32482 ../NEWS:33090 ../NEWS:37464 +#: ../NEWS:32525 ../NEWS:33133 ../NEWS:37507 msgid ":issue:`29673`: Fix pystackv and pystack gdbinit macros." msgstr "" -#: ../NEWS:32484 +#: ../NEWS:32527 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 "" -#: ../NEWS:32488 ../NEWS:33300 ../NEWS:37466 +#: ../NEWS:32531 ../NEWS:33343 ../NEWS:37509 msgid "" ":issue:`32885`: Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to " "disable automatic backup creation (files with ``~`` suffix)." msgstr "" -#: ../NEWS:32491 ../NEWS:33560 ../NEWS:37802 +#: ../NEWS:32534 ../NEWS:33603 ../NEWS:37845 msgid "" ":issue:`32222`: Fix pygettext not extracting docstrings for functions with " "type annotated arguments. Patch by Toby Harradine." msgstr "" -#: ../NEWS:32494 ../NEWS:33092 ../NEWS:37469 +#: ../NEWS:32537 ../NEWS:33135 ../NEWS:37512 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 "" -#: ../NEWS:32500 +#: ../NEWS:32543 msgid "" ":issue:`35713`: The :c:func:`!PyByteArray_Init` and :c:func:`!" "PyByteArray_Fini` functions have been removed. They did nothing since Python " @@ -57093,102 +57162,102 @@ msgid "" "were not documented." msgstr "" -#: ../NEWS:32505 +#: ../NEWS:32548 msgid "" ":issue:`33817`: Fixed :c:func:`_PyBytes_Resize` for empty bytes objects." msgstr "" -#: ../NEWS:32507 +#: ../NEWS:32550 msgid "" ":issue:`35322`: Fix memory leak in :c:func:`PyUnicode_EncodeLocale` and :c:" "func:`PyUnicode_EncodeFSDefault` on error handling." msgstr "" -#: ../NEWS:32510 +#: ../NEWS:32553 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 "" -#: ../NEWS:32515 +#: ../NEWS:32558 msgid "" ":issue:`35296`: ``make install`` now also installs the internal API: " "``Include/internal/*.h`` header files." msgstr "" -#: ../NEWS:32518 +#: ../NEWS:32561 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 "" -#: ../NEWS:32522 +#: ../NEWS:32565 msgid "" ":issue:`35259`: Conditionally declare :c:func:`Py_FinalizeEx()` (new in 3.6) " "based on Py_LIMITED_API. Patch by Arthur Neufeld." msgstr "" -#: ../NEWS:32525 +#: ../NEWS:32568 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 "" -#: ../NEWS:32529 +#: ../NEWS:32572 msgid ":issue:`35134`: Creation of a new ``Include/cpython/`` subdirectory." msgstr "" -#: ../NEWS:32531 +#: ../NEWS:32574 msgid "" ":issue:`34725`: Adds _Py_SetProgramFullPath so embedders may override sys." "executable" msgstr "" -#: ../NEWS:32534 +#: ../NEWS:32577 msgid "" ":issue:`34910`: Ensure that :c:func:`PyObject_Print` always returns ``-1`` " "on error. Patch by Zackery Spytz." msgstr "" -#: ../NEWS:32537 +#: ../NEWS:32580 msgid "" ":issue:`34523`: Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 " "encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero." msgstr "" -#: ../NEWS:32540 +#: ../NEWS:32583 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 "" -#: ../NEWS:32544 +#: ../NEWS:32587 msgid "" ":issue:`34127`: Return grammatically correct error message based on argument " "count. Patch by Karthikeyan Singaravelan." msgstr "" -#: ../NEWS:32547 +#: ../NEWS:32590 msgid "" ":issue:`23927`: Fixed :exc:`SystemError` in :c:func:" "`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used for " "optional parameter." msgstr "" -#: ../NEWS:32551 +#: ../NEWS:32594 msgid ":issue:`32455`: Added :c:func:`PyCompile_OpcodeStackEffectWithJump`." msgstr "" -#: ../NEWS:32553 +#: ../NEWS:32596 msgid "" ":issue:`34008`: Py_Main() can again be called after Py_Initialize(), as in " "Python 3.6." msgstr "" -#: ../NEWS:32556 +#: ../NEWS:32599 msgid "" ":issue:`32500`: Fixed error messages for :c:func:`PySequence_Size`, :c:func:" "`PySequence_GetItem`, :c:func:`PySequence_SetItem` and :c:func:" @@ -57196,104 +57265,104 @@ msgid "" "called with a sequence." msgstr "" -#: ../NEWS:32561 +#: ../NEWS:32604 msgid "" ":issue:`33818`: :c:func:`PyExceptionClass_Name` will now return ``const char " "*`` instead of ``char *``." msgstr "" -#: ../NEWS:32564 ../NEWS:33306 +#: ../NEWS:32607 ../NEWS:33349 msgid "" ":issue:`33042`: Embedding applications may once again call " "PySys_ResetWarnOptions, PySys_AddWarnOption, and PySys_AddXOption prior to " "calling Py_Initialize." msgstr "" -#: ../NEWS:32568 ../NEWS:33310 ../NEWS:37475 +#: ../NEWS:32611 ../NEWS:33353 ../NEWS:37518 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 "" -#: ../NEWS:32571 +#: ../NEWS:32614 msgid "" ":issue:`30863`: :c:func:`PyUnicode_AsWideChar` and :c:func:" "`PyUnicode_AsWideCharString` no longer cache the ``wchar_t*`` representation " "of string objects." msgstr "" -#: ../NEWS:32577 +#: ../NEWS:32620 msgid "Python 3.7.0 final" msgstr "" -#: ../NEWS:32579 ../NEWS:37162 +#: ../NEWS:32622 ../NEWS:37205 msgid "*Release date: 2018-06-27*" msgstr "" -#: ../NEWS:32584 +#: ../NEWS:32627 msgid "" ":issue:`33851`: Fix :func:`ast.get_docstring` for a node that lacks a " "docstring." msgstr "" -#: ../NEWS:32590 +#: ../NEWS:32633 msgid "" ":issue:`33932`: Calling Py_Initialize() twice does nothing, instead of " "failing with a fatal error: restore the Python 3.6 behaviour." msgstr "" -#: ../NEWS:32595 +#: ../NEWS:32638 msgid "Python 3.7.0 release candidate 1" msgstr "" -#: ../NEWS:32597 +#: ../NEWS:32640 msgid "*Release date: 2018-06-12*" msgstr "" -#: ../NEWS:32707 +#: ../NEWS:32750 msgid "Python 3.7.0 beta 5" msgstr "" -#: ../NEWS:32709 +#: ../NEWS:32752 msgid "*Release date: 2018-05-30*" msgstr "" -#: ../NEWS:32722 +#: ../NEWS:32765 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 "" -#: ../NEWS:32856 ../NEWS:37299 +#: ../NEWS:32899 ../NEWS:37342 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 "" -#: ../NEWS:32886 +#: ../NEWS:32929 msgid "" ":issue:`32604`: Remove the _xxsubinterpreters module (meant for testing) and " "associated helpers. This module was originally added recently in 3.7b1." msgstr "" -#: ../NEWS:32898 ../NEWS:37392 +#: ../NEWS:32941 ../NEWS:37435 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 "" -#: ../NEWS:32920 +#: ../NEWS:32963 msgid "Python 3.7.0 beta 4" msgstr "" -#: ../NEWS:32922 +#: ../NEWS:32965 msgid "*Release date: 2018-05-02*" msgstr "" -#: ../NEWS:32980 +#: ../NEWS:33023 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 :" @@ -57301,48 +57370,48 @@ msgid "" "`sys.path` when necessary, rather than adding ``\".\"``." msgstr "" -#: ../NEWS:32988 +#: ../NEWS:33031 msgid "" ":issue:`33217`: Deprecate looking up non-Enum objects in Enum classes and " "Enum members (will raise :exc:`TypeError` in 3.8+)." msgstr "" -#: ../NEWS:33097 +#: ../NEWS:33140 msgid "Python 3.7.0 beta 3" msgstr "" -#: ../NEWS:33099 +#: ../NEWS:33142 msgid "*Release date: 2018-03-29*" msgstr "" -#: ../NEWS:33127 ../NEWS:37202 +#: ../NEWS:33170 ../NEWS:37245 msgid "" ":issue:`33041`: Fixed jumping when the function contains an ``async for`` " "loop." msgstr "" -#: ../NEWS:33225 +#: ../NEWS:33268 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 "" -#: ../NEWS:33315 +#: ../NEWS:33358 msgid "Python 3.7.0 beta 2" msgstr "" -#: ../NEWS:33317 +#: ../NEWS:33360 msgid "*Release date: 2018-02-27*" msgstr "" -#: ../NEWS:33382 +#: ../NEWS:33425 msgid "" ":issue:`25988`: Emit a :exc:`DeprecationWarning` when using or importing an " "ABC directly from :mod:`collections` rather than from :mod:`collections.abc`." msgstr "" -#: ../NEWS:33391 +#: ../NEWS:33434 msgid "" ":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " "implementations for various functions and methods in ``abc``. Creating an " @@ -57355,33 +57424,33 @@ msgid "" "``_abc_registry_clear``, and ``_abc_caches_clear``." msgstr "" -#: ../NEWS:33565 +#: ../NEWS:33608 msgid "Python 3.7.0 beta 1" msgstr "" -#: ../NEWS:33567 +#: ../NEWS:33610 msgid "*Release date: 2018-01-30*" msgstr "" -#: ../NEWS:33572 +#: ../NEWS:33615 msgid "" ":issue:`32703`: Fix coroutine's ResourceWarning when there's an active error " "set when it's being finalized." msgstr "" -#: ../NEWS:33575 ../NEWS:37520 +#: ../NEWS:33618 ../NEWS:37563 msgid "" ":issue:`32650`: Pdb and other debuggers dependent on bdb.py will correctly " "step over (next command) native coroutines. Patch by Pablo Galindo." msgstr "" -#: ../NEWS:33578 +#: ../NEWS:33621 msgid "" ":issue:`28685`: Optimize list.sort() and sorted() by using type specialized " "comparisons when possible." msgstr "" -#: ../NEWS:33581 ../NEWS:37523 +#: ../NEWS:33624 ../NEWS:37566 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 " @@ -57389,7 +57458,7 @@ msgid "" "Chandra." msgstr "" -#: ../NEWS:33586 +#: ../NEWS:33629 msgid "" ":issue:`32697`: Python now explicitly preserves the definition order of " "keyword-only parameters. It's always preserved their order, but this " @@ -57397,20 +57466,20 @@ msgid "" "tested." msgstr "" -#: ../NEWS:33591 +#: ../NEWS:33634 msgid "" ":issue:`32690`: The locals() dictionary now displays in the lexical order " "that variables were defined. Previously, the order was reversed." msgstr "" -#: ../NEWS:33594 +#: ../NEWS:33637 msgid "" ":issue:`32677`: Add ``.isascii()`` method to ``str``, ``bytes`` and " "``bytearray``. It can be used to test that string contains only ASCII " "characters." msgstr "" -#: ../NEWS:33598 +#: ../NEWS:33641 msgid "" ":issue:`32670`: Enforce :pep:`479` for all code. This means that manually " "raising a StopIteration exception from a generator is prohibited for all " @@ -57418,7 +57487,7 @@ msgid "" "or not." msgstr "" -#: ../NEWS:33603 +#: ../NEWS:33646 msgid "" ":issue:`32591`: Added built-in support for tracking the origin of coroutine " "objects; see sys.set_coroutine_origin_tracking_depth and CoroutineType." @@ -57426,80 +57495,80 @@ msgid "" "for native coroutine objects." msgstr "" -#: ../NEWS:33608 +#: ../NEWS:33651 msgid "" ":issue:`31368`: Expose preadv and pwritev system calls in the os module. " "Patch by Pablo Galindo" msgstr "" -#: ../NEWS:33611 +#: ../NEWS:33654 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 "" -#: ../NEWS:33615 ../NEWS:37531 +#: ../NEWS:33658 ../NEWS:37574 msgid "" ":issue:`26163`: Improved frozenset() hash to create more distinct hash " "values when faced with datasets containing many similar values." msgstr "" -#: ../NEWS:33618 +#: ../NEWS:33661 msgid ":issue:`32550`: Remove the STORE_ANNOTATION bytecode." msgstr "" -#: ../NEWS:33620 +#: ../NEWS:33663 msgid "" ":issue:`20104`: Expose posix_spawn as a low level API in the os module. " "(removed before 3.7.0rc1)" msgstr "" -#: ../NEWS:33623 +#: ../NEWS:33666 msgid ":issue:`24340`: Fixed estimation of the code stack size." msgstr "" -#: ../NEWS:33625 +#: ../NEWS:33668 msgid ":issue:`32436`: Implement :pep:`567` Context Variables." msgstr "" -#: ../NEWS:33627 ../NEWS:37544 +#: ../NEWS:33670 ../NEWS:37587 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 "" -#: ../NEWS:33632 +#: ../NEWS:33675 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 "" -#: ../NEWS:33636 ../NEWS:37549 +#: ../NEWS:33679 ../NEWS:37592 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 "" -#: ../NEWS:33640 +#: ../NEWS:33683 msgid ":issue:`31179`: Make dict.copy() up to 5.5 times faster." msgstr "" -#: ../NEWS:33642 +#: ../NEWS:33685 msgid "" ":issue:`31113`: Get rid of recursion in the compiler for normal control flow." msgstr "" -#: ../NEWS:33647 +#: ../NEWS:33690 msgid "" ":issue:`25988`: Deprecate exposing the contents of collections.abc in the " "regular collections module." msgstr "" -#: ../NEWS:33650 +#: ../NEWS:33693 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 " @@ -57507,7 +57576,7 @@ msgid "" "Default cipher suite selection can be configured on compile time." msgstr "" -#: ../NEWS:33655 +#: ../NEWS:33698 msgid "" ":issue:`30306`: contextlib.contextmanager now releases the arguments passed " "to the underlying generator as soon as the context manager is entered. " @@ -57516,83 +57585,83 @@ msgid "" "Teichmann." msgstr "" -#: ../NEWS:33661 +#: ../NEWS:33704 msgid "" ":issue:`21417`: Added support for setting the compression level for zipfile." "ZipFile." msgstr "" -#: ../NEWS:33664 +#: ../NEWS:33707 msgid ":issue:`32251`: Implement asyncio.BufferedProtocol (provisional API)." msgstr "" -#: ../NEWS:33666 +#: ../NEWS:33709 msgid "" ":issue:`32513`: In dataclasses, allow easier overriding of dunder methods " "without specifying decorator parameters." msgstr "" -#: ../NEWS:33669 +#: ../NEWS:33712 msgid "" ":issue:`32660`: :mod:`termios` makes available ``FIONREAD``, ``FIONCLEX``, " "``FIOCLEX``, ``FIOASYNC`` and ``FIONBIO`` also under Solaris/derivatives." msgstr "" -#: ../NEWS:33672 ../NEWS:37624 +#: ../NEWS:33715 ../NEWS:37667 msgid "" ":issue:`27931`: Fix email address header parsing error when the username is " "an empty quoted string. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:33675 +#: ../NEWS:33718 msgid "" ":issue:`32659`: Under Solaris and derivatives, :class:`os.stat_result` " "provides a st_fstype attribute." msgstr "" -#: ../NEWS:33678 +#: ../NEWS:33721 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 "" -#: ../NEWS:33682 +#: ../NEWS:33725 msgid "" ":issue:`32391`: Implement :meth:`asyncio.StreamWriter.wait_closed` and :meth:" "`asyncio.StreamWriter.is_closing` methods" msgstr "" -#: ../NEWS:33685 +#: ../NEWS:33728 msgid "" ":issue:`32643`: Make Task._step, Task._wakeup and Future._schedule_callbacks " "methods private." msgstr "" -#: ../NEWS:33688 +#: ../NEWS:33731 msgid "" ":issue:`32630`: Refactor decimal module to use contextvars to store decimal " "context." msgstr "" -#: ../NEWS:33691 +#: ../NEWS:33734 msgid ":issue:`32622`: Add :meth:`asyncio.AbstractEventLoop.sendfile` method." msgstr "" -#: ../NEWS:33693 ../NEWS:37627 +#: ../NEWS:33736 ../NEWS:37670 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 "" -#: ../NEWS:33697 ../NEWS:37631 +#: ../NEWS:33740 ../NEWS:37674 msgid "" ":issue:`32502`: uuid.uuid1 no longer raises an exception if a 64-bit " "hardware address is encountered." msgstr "" -#: ../NEWS:33700 +#: ../NEWS:33743 msgid "" ":issue:`32596`: ``concurrent.futures`` imports ``ThreadPoolExecutor`` and " "``ProcessPoolExecutor`` lazily (using :pep:`562`). It makes ``import " @@ -57600,69 +57669,69 @@ msgid "" "by default." msgstr "" -#: ../NEWS:33705 +#: ../NEWS:33748 msgid "" ":issue:`31801`: Add ``_ignore_`` to ``Enum`` so temporary variables can be " "used during class construction without being turned into members." msgstr "" -#: ../NEWS:33708 +#: ../NEWS:33751 msgid "" ":issue:`32576`: Use queue.SimpleQueue() in places where it can be invoked " "from a weakref callback." msgstr "" -#: ../NEWS:33711 +#: ../NEWS:33754 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 "" -#: ../NEWS:33715 ../NEWS:37641 +#: ../NEWS:33758 ../NEWS:37684 msgid "" ":issue:`32521`: The nis module is now compatible with new libnsl and headers " "location." msgstr "" -#: ../NEWS:33718 +#: ../NEWS:33761 msgid "" ":issue:`32467`: collections.abc.ValuesView now inherits from collections.abc." "Collection." msgstr "" -#: ../NEWS:33721 ../NEWS:37644 +#: ../NEWS:33764 ../NEWS:37687 msgid ":issue:`32473`: Improve ABCMeta._dump_registry() output readability" msgstr "" -#: ../NEWS:33723 +#: ../NEWS:33766 msgid ":issue:`32102`: New argument ``capture_output`` for subprocess.run" msgstr "" -#: ../NEWS:33725 ../NEWS:37646 +#: ../NEWS:33768 ../NEWS:37689 msgid "" ":issue:`32521`: glibc has removed Sun RPC. Use replacement libtirpc headers " "and library in nis module." msgstr "" -#: ../NEWS:33728 +#: ../NEWS:33771 msgid ":issue:`32493`: UUID module fixes build for FreeBSD/OpenBSD" msgstr "" -#: ../NEWS:33730 +#: ../NEWS:33773 msgid "" ":issue:`32503`: Pickling with protocol 4 no longer creates too small frames." msgstr "" -#: ../NEWS:33732 +#: ../NEWS:33775 msgid ":issue:`29237`: Create enum for pstats sorting options" msgstr "" -#: ../NEWS:33734 +#: ../NEWS:33777 msgid ":issue:`32454`: Add close(fd) function to the socket module." msgstr "" -#: ../NEWS:33736 +#: ../NEWS:33779 msgid "" ":issue:`25942`: The subprocess module is now more graceful when handling a " "Ctrl-C KeyboardInterrupt during subprocess.call, subprocess.run, or a Popen " @@ -57672,52 +57741,52 @@ msgid "" "call() and run() APIs, but at least the child had a chance first." msgstr "" -#: ../NEWS:33743 +#: ../NEWS:33786 msgid "" ":issue:`32433`: The hmac module now has hmac.digest(), which provides an " "optimized HMAC digest." msgstr "" -#: ../NEWS:33746 +#: ../NEWS:33789 msgid "" ":issue:`28134`: Sockets now auto-detect family, type and protocol from file " "descriptor by default." msgstr "" -#: ../NEWS:33749 +#: ../NEWS:33792 msgid "" ":issue:`32404`: Fix bug where :meth:`datetime.datetime.fromtimestamp` did " "not call __new__ in :class:`datetime.datetime` subclasses." msgstr "" -#: ../NEWS:33752 +#: ../NEWS:33795 msgid "" ":issue:`32403`: Improved speed of :class:`datetime.date` and :class:" "`datetime.datetime` alternate constructors." msgstr "" -#: ../NEWS:33755 ../NEWS:37649 +#: ../NEWS:33798 ../NEWS:37692 msgid "" ":issue:`32228`: Ensure that ``truncate()`` preserves the file position (as " "reported by ``tell()``) after writes longer than the buffer size." msgstr "" -#: ../NEWS:33758 +#: ../NEWS:33801 msgid "" ":issue:`32410`: Implement ``loop.sock_sendfile`` for asyncio event loop." msgstr "" -#: ../NEWS:33760 +#: ../NEWS:33803 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 "" -#: ../NEWS:33763 +#: ../NEWS:33806 msgid ":issue:`32373`: Add socket.getblocking() method." msgstr "" -#: ../NEWS:33765 +#: ../NEWS:33808 msgid "" ":issue:`32248`: Add :mod:`importlib.resources` and :class:`importlib.abc." "ResourceReader` as the unified API for reading resources contained within " @@ -57727,17 +57796,17 @@ msgid "" "deprecated in favor of these new APIs." msgstr "" -#: ../NEWS:33773 +#: ../NEWS:33816 msgid ":issue:`32320`: collections.namedtuple() now supports default values." msgstr "" -#: ../NEWS:33775 +#: ../NEWS:33818 msgid "" ":issue:`29302`: Add contextlib.AsyncExitStack. Patch by Alexander Mohr and " "Ilya Kulakov." msgstr "" -#: ../NEWS:33778 +#: ../NEWS:33821 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 " @@ -57745,7 +57814,7 @@ msgid "" "well." msgstr "" -#: ../NEWS:33783 ../NEWS:37677 +#: ../NEWS:33826 ../NEWS:37720 msgid "" ":issue:`31900`: The :func:`locale.localeconv` function now sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale to decode " @@ -57757,13 +57826,13 @@ msgid "" "(ex: ``'{:n}'.format(1234)``)." msgstr "" -#: ../NEWS:33792 +#: ../NEWS:33835 msgid "" ":issue:`31853`: Use super().method instead of socket.method in SSLSocket. " "They were there most likely for legacy reasons." msgstr "" -#: ../NEWS:33795 +#: ../NEWS:33838 msgid "" ":issue:`31399`: The ssl module now uses OpenSSL's " "X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify " @@ -57771,44 +57840,44 @@ msgid "" "SSLContext.hostname_checks_common_name." msgstr "" -#: ../NEWS:33800 +#: ../NEWS:33843 msgid "" ":issue:`14976`: Add a queue.SimpleQueue class, an unbounded FIFO queue with " "a reentrant C implementation of put()." msgstr "" -#: ../NEWS:33806 +#: ../NEWS:33849 msgid "" ":issue:`32724`: Add references to some commands in the documentation of Pdb. " "Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:33809 +#: ../NEWS:33852 msgid "" ":issue:`32649`: Complete the C API documentation, profiling and tracing part " "with the newly added per-opcode events." msgstr "" -#: ../NEWS:33812 ../NEWS:37705 +#: ../NEWS:33855 ../NEWS:37748 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 "" -#: ../NEWS:33819 ../NEWS:37715 +#: ../NEWS:33862 ../NEWS:37758 msgid "" ":issue:`32721`: Fix test_hashlib to not fail if the _md5 module is not built." msgstr "" -#: ../NEWS:33821 +#: ../NEWS:33864 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 "" -#: ../NEWS:33825 +#: ../NEWS:33868 msgid "" ":issue:`32604`: Add a new \"_xxsubinterpreters\" extension module that " "exposes the existing subinterpreter C-API and a new cross-interpreter data " @@ -57817,58 +57886,58 @@ msgid "" "_xxsubinterpreters module has been removed in 3.7.0rc1." msgstr "" -#: ../NEWS:33831 +#: ../NEWS:33874 msgid "" ":issue:`32602`: Add test certs and test for ECDSA cert and EC/RSA dual mode." msgstr "" -#: ../NEWS:33833 +#: ../NEWS:33876 msgid "" ":issue:`32549`: On Travis CI, Python now Compiles and uses a local copy of " "OpenSSL 1.1.0g for testing." msgstr "" -#: ../NEWS:33839 ../NEWS:37727 +#: ../NEWS:33882 ../NEWS:37770 msgid "" ":issue:`32635`: Fix segfault of the crypt module when libxcrypt is provided " "instead of libcrypt at the system." msgstr "" -#: ../NEWS:33842 +#: ../NEWS:33885 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 "" -#: ../NEWS:33846 +#: ../NEWS:33889 msgid ":issue:`32593`: Drop support of FreeBSD 9 and older." msgstr "" -#: ../NEWS:33848 +#: ../NEWS:33891 msgid "" ":issue:`29708`: If the :envvar:`SOURCE_DATE_EPOCH` environment variable is " "set, :mod:`py_compile` will always create hash-based ``.pyc`` files." msgstr "" -#: ../NEWS:33854 +#: ../NEWS:33897 msgid "" ":issue:`32588`: Create standalone _distutils_findvs module and add missing " "_queue module to installer." msgstr "" -#: ../NEWS:33857 +#: ../NEWS:33900 msgid "" ":issue:`29911`: Ensure separate Modify and Uninstall buttons are displayed." msgstr "" -#: ../NEWS:33859 +#: ../NEWS:33902 msgid "" ":issue:`32507`: Use app-local UCRT install rather than the proper update for " "old versions of Windows." msgstr "" -#: ../NEWS:33865 +#: ../NEWS:33908 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 " @@ -57876,75 +57945,75 @@ msgid "" "installer now links with and supplies its own copy of Tcl/Tk 8.6." msgstr "" -#: ../NEWS:33870 +#: ../NEWS:33913 msgid "" ":issue:`28440`: No longer add /Library/Python/3.x/site-packages to sys.path " "for macOS framework builds to avoid future conflicts." msgstr "" -#: ../NEWS:33876 +#: ../NEWS:33919 msgid "" ":issue:`32681`: Fix uninitialized variable 'res' in the C implementation of " "os.dup2. Patch by Stéphane Wirtel" msgstr "" -#: ../NEWS:33879 +#: ../NEWS:33922 msgid "" ":issue:`10381`: Add C API access to the ``datetime.timezone`` constructor " "and ``datetime.timzone.UTC`` singleton." msgstr "" -#: ../NEWS:33884 +#: ../NEWS:33927 msgid "Python 3.7.0 alpha 4" msgstr "" -#: ../NEWS:33886 +#: ../NEWS:33929 msgid "*Release date: 2018-01-08*" msgstr "" -#: ../NEWS:33891 +#: ../NEWS:33934 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 "" -#: ../NEWS:33896 +#: ../NEWS:33939 msgid ":issue:`32226`: ``__class_getitem__`` is now an automatic class method." msgstr "" -#: ../NEWS:33898 +#: ../NEWS:33941 msgid "" ":issue:`32399`: Add AIX uuid library support for RFC4122 using uuid_create() " "in libc.a" msgstr "" -#: ../NEWS:33901 +#: ../NEWS:33944 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 "" -#: ../NEWS:33905 +#: ../NEWS:33948 msgid "" ":issue:`32379`: Make MRO computation faster when a class inherits from a " "single base." msgstr "" -#: ../NEWS:33908 +#: ../NEWS:33951 msgid "" ":issue:`32259`: The error message of a TypeError raised when unpack non-" "iterable is now more specific." msgstr "" -#: ../NEWS:33911 ../NEWS:37534 +#: ../NEWS:33954 ../NEWS:37577 msgid "" ":issue:`27169`: The ``__debug__`` constant is now optimized out at compile " "time. This fixes also :issue:`22091`." msgstr "" -#: ../NEWS:33914 +#: ../NEWS:33957 msgid "" ":issue:`32329`: The :option:`-R` option now turns on hash randomization when " "the :envvar:`PYTHONHASHSEED` environment variable is set to ``0``. " @@ -57953,7 +58022,7 @@ msgid "" "turned off by ``PYTHONHASHSEED=0``." msgstr "" -#: ../NEWS:33920 +#: ../NEWS:33963 msgid "" ":issue:`30416`: The optimizer is now protected from spending much time doing " "complex calculations and consuming much memory for creating large constants " @@ -57961,32 +58030,32 @@ msgid "" "constant folding." msgstr "" -#: ../NEWS:33925 ../NEWS:37204 +#: ../NEWS:33968 ../NEWS:37247 msgid "" ":issue:`32282`: Fix an unnecessary ifdef in the include of VersionHelpers.h " "in socketmodule on Windows." msgstr "" -#: ../NEWS:33928 +#: ../NEWS:33971 msgid "" ":issue:`30579`: Implement TracebackType.__new__ to allow Python-level " "creation of traceback objects, and make TracebackType.tb_next mutable." msgstr "" -#: ../NEWS:33931 +#: ../NEWS:33974 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 "" -#: ../NEWS:33935 +#: ../NEWS:33978 msgid "" ":issue:`31506`: Improve the error message logic for object.__new__ and " "object.__init__. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:33938 +#: ../NEWS:33981 msgid "" ":issue:`20361`: ``-b`` and ``-bb`` now inject ``'default::BytesWarning'`` " "and ``error::BytesWarning`` entries into ``sys.warnoptions``, ensuring that " @@ -57994,112 +58063,112 @@ msgid "" "W`` option or the ``PYTHONWARNINGS`` environment variable." msgstr "" -#: ../NEWS:33943 +#: ../NEWS:33986 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 "" -#: ../NEWS:33947 +#: ../NEWS:33990 msgid ":issue:`29240`: Add a new UTF-8 mode: implementation of the :pep:`540`." msgstr "" -#: ../NEWS:33949 +#: ../NEWS:33992 msgid "" ":issue:`32226`: :pep:`560`: Add support for ``__mro_entries__`` and " "``__class_getitem__``. Implemented by Ivan Levkivskyi." msgstr "" -#: ../NEWS:33952 +#: ../NEWS:33995 msgid "" ":issue:`32225`: :pep:`562`: Add support for module ``__getattr__`` and " "``__dir__``. Implemented by Ivan Levkivskyi." msgstr "" -#: ../NEWS:33955 +#: ../NEWS:33998 msgid "" ":issue:`31901`: The ``atexit`` module now has its callback stored per " "interpreter." msgstr "" -#: ../NEWS:33958 +#: ../NEWS:34001 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 "" -#: ../NEWS:33962 +#: ../NEWS:34005 msgid "" ":issue:`29469`: Move constant folding from bytecode layer to AST layer. " "Original patch by Eugene Toder." msgstr "" -#: ../NEWS:33968 +#: ../NEWS:34011 msgid "" ":issue:`32506`: Now that dict is defined as keeping insertion order, drop " "OrderedDict and just use plain dict." msgstr "" -#: ../NEWS:33971 +#: ../NEWS:34014 msgid "" ":issue:`32279`: Add params to dataclasses.make_dataclasses(): init, repr, " "eq, order, hash, and frozen. Pass them through to dataclass()." msgstr "" -#: ../NEWS:33974 +#: ../NEWS:34017 msgid "" ":issue:`32278`: Make type information optional on dataclasses." "make_dataclass(). If omitted, the string 'typing.Any' is used." msgstr "" -#: ../NEWS:33977 +#: ../NEWS:34020 msgid "" ":issue:`32499`: Add dataclasses.is_dataclass(obj), which returns True if obj " "is a dataclass or an instance of one." msgstr "" -#: ../NEWS:33980 +#: ../NEWS:34023 msgid "" ":issue:`32468`: Improve frame repr() to mention filename, code name and " "current line number." msgstr "" -#: ../NEWS:33983 +#: ../NEWS:34026 msgid ":issue:`23749`: asyncio: Implement loop.start_tls()" msgstr "" -#: ../NEWS:33985 +#: ../NEWS:34028 msgid "" ":issue:`32441`: Return the new file descriptor (i.e., the second argument) " "from ``os.dup2``. Previously, ``None`` was always returned." msgstr "" -#: ../NEWS:33988 +#: ../NEWS:34031 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 "" -#: ../NEWS:33991 +#: ../NEWS:34034 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 "" -#: ../NEWS:33995 +#: ../NEWS:34038 msgid ":issue:`32415`: asyncio: Add Task.get_loop() and Future.get_loop()" msgstr "" -#: ../NEWS:33997 ../NEWS:37652 +#: ../NEWS:34040 ../NEWS:37695 msgid "" ":issue:`26133`: Don't unsubscribe signals in asyncio UNIX event loop on " "interpreter shutdown." msgstr "" -#: ../NEWS:34000 +#: ../NEWS:34043 msgid "" ":issue:`32363`: Make asyncio.Task.set_exception() and set_result() raise " "NotImplementedError. Task._step() and Future.__await__() raise proper " @@ -58107,7 +58176,7 @@ msgid "" "AssertionError." msgstr "" -#: ../NEWS:34005 +#: ../NEWS:34048 msgid "" ":issue:`32357`: Optimize asyncio.iscoroutine() and loop.create_task() for " "non-native coroutines (e.g. async/await compiled with Cython). 'loop." @@ -58115,27 +58184,27 @@ msgid "" "create_task(cython_coroutine)'. Now, the latter is as fast." msgstr "" -#: ../NEWS:34010 +#: ../NEWS:34053 msgid "" ":issue:`32356`: asyncio.transport.resume_reading() and pause_reading() are " "now idempotent. New transport.is_reading() method is added." msgstr "" -#: ../NEWS:34013 +#: ../NEWS:34056 msgid ":issue:`32355`: Optimize asyncio.gather(); now up to 15% faster." msgstr "" -#: ../NEWS:34015 +#: ../NEWS:34058 msgid ":issue:`32351`: Use fastpath in asyncio.sleep if delay<0 (2x boost)" msgstr "" -#: ../NEWS:34017 +#: ../NEWS:34060 msgid "" ":issue:`32348`: Optimize asyncio.Future schedule/add/remove callback. The " "optimization shows 3-6% performance improvements of async/await code." msgstr "" -#: ../NEWS:34020 +#: ../NEWS:34063 msgid "" ":issue:`32331`: Fix socket.settimeout() and socket.setblocking() to keep " "socket.type as is. Fix socket.socket() constructor to reset any bit flags " @@ -58143,7 +58212,7 @@ msgid "" "SOCK_NONBLOCK and/or SOCK_CLOEXEC." msgstr "" -#: ../NEWS:34025 +#: ../NEWS:34068 msgid "" ":issue:`32248`: Add :class:`importlib.abc.ResourceReader` as an ABC for " "loaders to provide a unified API for reading resources contained within " @@ -58151,64 +58220,64 @@ msgid "" "``importlib_resources``." msgstr "" -#: ../NEWS:34030 +#: ../NEWS:34073 msgid ":issue:`32311`: Implement asyncio.create_task(coro) shortcut" msgstr "" -#: ../NEWS:34032 +#: ../NEWS:34075 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 "" -#: ../NEWS:34036 ../NEWS:37658 +#: ../NEWS:34079 ../NEWS:37701 msgid "" ":issue:`32323`: :func:`urllib.parse.urlsplit` does not convert zone-id " "(scope) to lower case for scoped IPv6 addresses in hostnames now." msgstr "" -#: ../NEWS:34039 ../NEWS:37661 +#: ../NEWS:34082 ../NEWS:37704 msgid "" ":issue:`32302`: Fix bdist_wininst of distutils for CRT v142: it binary " "compatible with CRT v140." msgstr "" -#: ../NEWS:34042 +#: ../NEWS:34085 msgid "" ":issue:`29711`: Fix ``stop_serving`` in asyncio proactor loop kill all " "listening servers" msgstr "" -#: ../NEWS:34045 +#: ../NEWS:34088 msgid "" ":issue:`32308`: :func:`re.sub` now replaces empty matches adjacent to a " "previous non-empty match." msgstr "" -#: ../NEWS:34048 +#: ../NEWS:34091 msgid "" ":issue:`29970`: Abort asyncio SSLProtocol connection if handshake not " "complete within 10 seconds." msgstr "" -#: ../NEWS:34051 +#: ../NEWS:34094 msgid ":issue:`32314`: Implement asyncio.run()." msgstr "" -#: ../NEWS:34053 +#: ../NEWS:34096 msgid "" ":issue:`17852`: Revert incorrect fix based on misunderstanding of " "_Py_PyAtExit() semantics." msgstr "" -#: ../NEWS:34056 +#: ../NEWS:34099 msgid "" ":issue:`32296`: Implement asyncio._get_running_loop() and get_event_loop() " "in C. This makes them 4x faster." msgstr "" -#: ../NEWS:34059 +#: ../NEWS:34102 msgid "" ":issue:`32250`: Implement ``asyncio.current_task()`` and ``asyncio." "all_tasks()``. Add helpers intended to be used by alternative task " @@ -58217,47 +58286,47 @@ msgid "" "``asyncio.Task.current_task()`` and ``asyncio.Task.all_tasks()``." msgstr "" -#: ../NEWS:34065 ../NEWS:37664 +#: ../NEWS:34108 ../NEWS:37707 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 "" -#: ../NEWS:34069 ../NEWS:37668 +#: ../NEWS:34112 ../NEWS:37711 msgid "" ":issue:`32277`: Raise ``NotImplementedError`` instead of ``SystemError`` on " "platforms where ``chmod(..., follow_symlinks=False)`` is not supported. " "Patch by Anthony Sottile." msgstr "" -#: ../NEWS:34073 +#: ../NEWS:34116 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 "" -#: ../NEWS:34077 +#: ../NEWS:34120 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 "" -#: ../NEWS:34081 +#: ../NEWS:34124 msgid ":issue:`32273`: Move asyncio.test_utils to test.test_asyncio." msgstr "" -#: ../NEWS:34083 +#: ../NEWS:34126 msgid ":issue:`32272`: Remove asyncio.async() function." msgstr "" -#: ../NEWS:34085 +#: ../NEWS:34128 msgid ":issue:`32269`: Add asyncio.get_running_loop() function." msgstr "" -#: ../NEWS:34087 +#: ../NEWS:34130 msgid "" ":issue:`32265`: All class and static methods of builtin types now are " "correctly classified by inspect.classify_class_attrs() and grouped in pydoc " @@ -58265,35 +58334,35 @@ msgid "" "builtin types." msgstr "" -#: ../NEWS:34092 +#: ../NEWS:34135 msgid "" ":issue:`32253`: Deprecate ``yield from lock``, ``await lock``, ``with (yield " "from lock)`` and ``with await lock`` for asyncio synchronization primitives." msgstr "" -#: ../NEWS:34096 +#: ../NEWS:34139 msgid "" ":issue:`22589`: Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/" "bmp'" msgstr "" -#: ../NEWS:34098 +#: ../NEWS:34141 msgid "" ":issue:`32193`: Convert asyncio to use *async/await* syntax. Old styled " "``yield from`` is still supported too." msgstr "" -#: ../NEWS:34101 +#: ../NEWS:34144 msgid ":issue:`32206`: Add support to run modules with pdb" msgstr "" -#: ../NEWS:34103 +#: ../NEWS:34146 msgid "" ":issue:`32227`: ``functools.singledispatch`` now supports registering " "implementations using type annotations." msgstr "" -#: ../NEWS:34106 +#: ../NEWS:34149 msgid "" ":issue:`15873`: Added new alternate constructors :meth:`datetime.datetime." "fromisoformat`, :meth:`datetime.time.fromisoformat` and :meth:`datetime.date." @@ -58301,53 +58370,53 @@ msgid "" "``isoformat`` methods." msgstr "" -#: ../NEWS:34112 ../NEWS:37672 +#: ../NEWS:34155 ../NEWS:37715 msgid "" ":issue:`32199`: The getnode() ip getter now uses 'ip link' instead of 'ip " "link list'." msgstr "" -#: ../NEWS:34115 +#: ../NEWS:34158 msgid ":issue:`32143`: os.statvfs() includes the f_fsid field from statvfs(2)" msgstr "" -#: ../NEWS:34117 +#: ../NEWS:34160 msgid "" ":issue:`26439`: Fix ctypes.util.find_library() for AIX by implementing " "ctypes._aix.find_library() Patch by: Michael Felt" msgstr "" -#: ../NEWS:34120 +#: ../NEWS:34163 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 "" -#: ../NEWS:34124 ../NEWS:37675 +#: ../NEWS:34167 ../NEWS:37718 msgid "" ":issue:`27456`: Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner." msgstr "" -#: ../NEWS:34126 +#: ../NEWS:34169 msgid "" ":issue:`31778`: ast.literal_eval() is now more strict. Addition and " "subtraction of arbitrary numbers no longer allowed." msgstr "" -#: ../NEWS:34129 ../NEWS:37686 +#: ../NEWS:34172 ../NEWS:37729 msgid "" ":issue:`31802`: Importing native path module (``posixpath``, ``ntpath``) now " "works even if the ``os`` module still is not imported." msgstr "" -#: ../NEWS:34132 +#: ../NEWS:34175 msgid "" ":issue:`30241`: Add contextlib.AbstractAsyncContextManager. Patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:34135 +#: ../NEWS:34178 msgid "" ":issue:`31699`: Fix deadlocks in :class:`concurrent.futures." "ProcessPoolExecutor` when task arguments or results cause pickling or " @@ -58355,76 +58424,76 @@ msgid "" "`ProcessPoolExecutor` API always eventually return." msgstr "" -#: ../NEWS:34140 +#: ../NEWS:34183 msgid "" ":issue:`15216`: ``TextIOWrapper.reconfigure()`` supports changing " "*encoding*, *errors*, and *newline*." msgstr "" -#: ../NEWS:34146 +#: ../NEWS:34189 msgid "" ":issue:`32418`: Add get_loop() method to Server and AbstractServer classes." msgstr "" -#: ../NEWS:34151 ../NEWS:37717 +#: ../NEWS:34194 ../NEWS:37760 msgid "" ":issue:`32252`: Fix faulthandler_suppress_crash_report() used to prevent " "core dump files when testing crashes. getrlimit() returns zero on success." msgstr "" -#: ../NEWS:34154 +#: ../NEWS:34197 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 "" -#: ../NEWS:34160 +#: ../NEWS:34203 msgid "" ":issue:`19764`: Implement support for ``subprocess.Popen(close_fds=True)`` " "on Windows. Patch by Segev Finer." msgstr "" -#: ../NEWS:34166 ../NEWS:37798 +#: ../NEWS:34209 ../NEWS:37841 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 "" -#: ../NEWS:34173 +#: ../NEWS:34216 msgid "" ":issue:`32030`: Py_Initialize() doesn't reset the memory allocators to " "default if the ``PYTHONMALLOC`` environment variable is not set." msgstr "" -#: ../NEWS:34176 ../NEWS:37808 +#: ../NEWS:34219 ../NEWS:37851 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 "" -#: ../NEWS:34180 +#: ../NEWS:34223 msgid "" ":issue:`32264`: Moved the pygetopt.h header into internal/, since it has no " "public APIs." msgstr "" -#: ../NEWS:34183 +#: ../NEWS:34226 msgid "" ":issue:`32241`: :c:func:`!Py_SetProgramName` and :c:func:`!Py_SetPythonHome` " "now take the ``const wchar *`` arguments instead of ``wchar *``." msgstr "" -#: ../NEWS:34188 +#: ../NEWS:34231 msgid "Python 3.7.0 alpha 3" msgstr "" -#: ../NEWS:34190 ../NEWS:37825 +#: ../NEWS:34233 ../NEWS:37868 msgid "*Release date: 2017-12-05*" msgstr "" -#: ../NEWS:34195 ../NEWS:37830 +#: ../NEWS:34238 ../NEWS:37873 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 " @@ -58433,20 +58502,20 @@ msgid "" "function." msgstr "" -#: ../NEWS:34201 +#: ../NEWS:34244 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 "" -#: ../NEWS:34205 ../NEWS:37553 +#: ../NEWS:34248 ../NEWS:37596 msgid "" ":issue:`32137`: The repr of deeply nested dict now raises a RecursionError " "instead of crashing due to a stack overflow." msgstr "" -#: ../NEWS:34208 +#: ../NEWS:34251 msgid "" ":issue:`32096`: Revert memory allocator changes in the C API: move " "structures back from _PyRuntime to Objects/obmalloc.c. The memory allocators " @@ -58454,13 +58523,13 @@ msgid "" "Py_DecodeLocale() can be called before _PyRuntime_Initialize()." msgstr "" -#: ../NEWS:34213 +#: ../NEWS:34256 msgid "" ":issue:`32043`: Add a new \"developer mode\": new \"-X dev\" command line " "option to enable debug checks at runtime." msgstr "" -#: ../NEWS:34216 +#: ../NEWS:34259 msgid "" ":issue:`32023`: SyntaxError is now correctly raised when a generator " "expression without parenthesis is used instead of an inheritance list in a " @@ -58468,7 +58537,7 @@ msgid "" "calls." msgstr "" -#: ../NEWS:34221 +#: ../NEWS:34264 msgid "" ":issue:`32012`: SyntaxError is now correctly raised when a generator " "expression without parenthesis is passed as an argument, but followed by a " @@ -58476,7 +58545,7 @@ msgid "" "set of parentheses and cannot have a comma on either side." msgstr "" -#: ../NEWS:34226 +#: ../NEWS:34269 msgid "" ":issue:`28180`: A new internal ``_Py_SetLocaleFromEnv(category)`` helper " "function has been added in order to improve the consistency of behaviour " @@ -58484,7 +58553,7 @@ msgid "" "setting the locale from the environment by default)." msgstr "" -#: ../NEWS:34231 ../NEWS:37836 +#: ../NEWS:34274 ../NEWS:37879 msgid "" ":issue:`31949`: Fixed several issues in printing tracebacks " "(PyTraceBack_Print()). Setting sys.tracebacklimit to 0 or less now " @@ -58495,13 +58564,13 @@ msgid "" "traceback items on Windows. Fixed output errors handling." msgstr "" -#: ../NEWS:34239 ../NEWS:37844 +#: ../NEWS:34282 ../NEWS:37887 msgid "" ":issue:`30696`: Fix the interactive interpreter looping endlessly when no " "memory." msgstr "" -#: ../NEWS:34242 ../NEWS:37847 +#: ../NEWS:34285 ../NEWS:37890 msgid "" ":issue:`20047`: Bytearray methods partition() and rpartition() now accept " "only bytes-like objects as separator, as documented. In particular they now " @@ -58509,33 +58578,33 @@ msgid "" "as a separator." msgstr "" -#: ../NEWS:34247 ../NEWS:37855 +#: ../NEWS:34290 ../NEWS:37898 msgid "" ":issue:`21720`: BytesWarning no longer emitted when the *fromlist* argument " "of ``__import__()`` or the ``__all__`` attribute of the module contain bytes " "instances." msgstr "" -#: ../NEWS:34251 +#: ../NEWS:34294 msgid "" ":issue:`31845`: Environment variables are once more read correctly at " "interpreter startup." msgstr "" -#: ../NEWS:34254 +#: ../NEWS:34297 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 "" -#: ../NEWS:34258 ../NEWS:37859 +#: ../NEWS:34301 ../NEWS:37902 msgid "" ":issue:`31825`: Fixed OverflowError in the 'unicode-escape' codec and in " "codecs.escape_decode() when decode an escaped non-ascii byte." msgstr "" -#: ../NEWS:34261 +#: ../NEWS:34304 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 " @@ -58546,14 +58615,14 @@ msgid "" "first." msgstr "" -#: ../NEWS:34269 ../NEWS:37862 +#: ../NEWS:34312 ../NEWS:37905 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 "" -#: ../NEWS:34273 ../NEWS:37866 +#: ../NEWS:34316 ../NEWS:37909 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 " @@ -58561,62 +58630,62 @@ msgid "" "by Pablo Galindo." msgstr "" -#: ../NEWS:34278 +#: ../NEWS:34321 msgid "" ":issue:`31781`: Prevent crashes when calling methods of an uninitialized " "``zipimport.zipimporter`` object. Patch by Oren Milman." msgstr "" -#: ../NEWS:34281 +#: ../NEWS:34324 msgid "" ":issue:`30399`: Standard repr() of BaseException with a single argument no " "longer contains redundant trailing comma." msgstr "" -#: ../NEWS:34284 ../NEWS:37874 +#: ../NEWS:34327 ../NEWS:37917 msgid "" ":issue:`31626`: Fixed a bug in debug memory allocator. There was a write to " "freed memory after shrinking a memory block." msgstr "" -#: ../NEWS:34287 ../NEWS:37919 +#: ../NEWS:34330 ../NEWS:37962 msgid "" ":issue:`30817`: ``PyErr_PrintEx()`` clears now the ignored exception that " "may be raised by ``_PySys_SetObjectId()``, for example when no memory." msgstr "" -#: ../NEWS:34293 ../NEWS:37925 +#: ../NEWS:34336 ../NEWS:37968 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 "" -#: ../NEWS:34297 +#: ../NEWS:34340 msgid "" ":issue:`32214`: PEP 557, Data Classes. Provides a decorator which adds " "boilerplate methods to classes which use type annotations so specify fields." msgstr "" -#: ../NEWS:34301 ../NEWS:37929 +#: ../NEWS:34344 ../NEWS:37972 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 "" -#: ../NEWS:34305 ../NEWS:37933 +#: ../NEWS:34348 ../NEWS:37976 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 "" -#: ../NEWS:34309 +#: ../NEWS:34352 msgid ":issue:`32101`: Add :attr:`sys.flags.dev_mode` flag" msgstr "" -#: ../NEWS:34311 +#: ../NEWS:34354 msgid "" ":issue:`32154`: The ``asyncio.windows_utils.socketpair()`` function has been " "removed: use directly :func:`socket.socketpair` which is available on all " @@ -58625,14 +58694,14 @@ msgid "" "socketpair`` on Python 3.5 and newer." msgstr "" -#: ../NEWS:34317 +#: ../NEWS:34360 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 "" -#: ../NEWS:34321 +#: ../NEWS:34364 msgid "" ":issue:`32107`: ``uuid.getnode()`` now preferentially returns universally " "administered MAC addresses if available, over locally administered MAC " @@ -58641,28 +58710,28 @@ msgid "" "are available, the first such one found is returned." msgstr "" -#: ../NEWS:34327 +#: ../NEWS:34370 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 "" -#: ../NEWS:34331 ../NEWS:37937 +#: ../NEWS:34374 ../NEWS:37980 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 "" -#: ../NEWS:34335 +#: ../NEWS:34378 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 "" -#: ../NEWS:34339 +#: ../NEWS:34382 msgid "" ":issue:`32121`: Made ``tracemalloc.Traceback`` behave more like the " "traceback module, sorting the frames from oldest to most recent. ``Traceback." @@ -58672,21 +58741,21 @@ msgid "" "Bakker.)" msgstr "" -#: ../NEWS:34346 ../NEWS:37941 +#: ../NEWS:34389 ../NEWS:37984 msgid "" ":issue:`31325`: Fix wrong usage of :func:`collections.namedtuple` in the :" "meth:`RobotFileParser.parse() ` " "method. Initial patch by Robin Wellner." msgstr "" -#: ../NEWS:34350 ../NEWS:37945 +#: ../NEWS:34393 ../NEWS:37988 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 "" -#: ../NEWS:34354 +#: ../NEWS:34397 msgid "" ":issue:`19610`: ``setup()`` now warns about invalid types for some fields. " "The ``distutils.dist.Distribution`` class now warns when ``classifiers``, " @@ -58694,20 +58763,20 @@ msgid "" "string." msgstr "" -#: ../NEWS:34359 +#: ../NEWS:34402 msgid "" ":issue:`32071`: Added the ``-k`` command-line option to ``python -m " "unittest`` to run only tests that match the given pattern(s)." msgstr "" -#: ../NEWS:34362 +#: ../NEWS:34405 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 "" -#: ../NEWS:34366 +#: ../NEWS:34409 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 " @@ -58716,14 +58785,14 @@ msgid "" "in enforcing mode)." msgstr "" -#: ../NEWS:34372 ../NEWS:37949 +#: ../NEWS:34415 ../NEWS:37992 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 "" -#: ../NEWS:34376 +#: ../NEWS:34419 msgid "" ":issue:`27535`: The warnings module doesn't leak memory anymore in the " "hidden warnings registry for the \"ignore\" action of warnings filters. " @@ -58731,27 +58800,27 @@ msgid "" "for the \"ignore\" action." msgstr "" -#: ../NEWS:34381 +#: ../NEWS:34424 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 "" -#: ../NEWS:34385 +#: ../NEWS:34428 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 "" -#: ../NEWS:34389 +#: ../NEWS:34432 msgid "" ":issue:`25054`: Added support of splitting on a pattern that could match an " "empty string." msgstr "" -#: ../NEWS:34392 ../NEWS:37953 ../NEWS:42632 +#: ../NEWS:34435 ../NEWS:37996 ../NEWS:42675 msgid "" ":issue:`32072`: Fixed issues with binary plists: Fixed saving bytearrays. " "Identical objects will be saved only once. Equal references will be load as " @@ -58759,35 +58828,35 @@ msgid "" "structures." msgstr "" -#: ../NEWS:34397 +#: ../NEWS:34440 msgid "" ":issue:`32069`: Drop legacy SSL transport from asyncio, ssl.MemoryBIO is " "always used anyway." msgstr "" -#: ../NEWS:34400 +#: ../NEWS:34443 msgid "" ":issue:`32066`: asyncio: Support pathlib.Path in create_unix_connection; " "sock arg should be optional" msgstr "" -#: ../NEWS:34403 +#: ../NEWS:34446 msgid "" ":issue:`32046`: Updates 2to3 to convert from operator.isCallable(obj) to " "callable(obj). Patch by Donghee Na." msgstr "" -#: ../NEWS:34406 +#: ../NEWS:34449 msgid "" ":issue:`32018`: inspect.signature should follow :pep:`8`, if the parameter " "has an annotation and a default value. Patch by Donghee Na." msgstr "" -#: ../NEWS:34409 +#: ../NEWS:34452 msgid ":issue:`32025`: Add time.thread_time() and time.thread_time_ns()" msgstr "" -#: ../NEWS:34411 +#: ../NEWS:34454 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 " @@ -58795,25 +58864,25 @@ msgid "" "unpickled as int instances in Python 2." msgstr "" -#: ../NEWS:34416 ../NEWS:37958 +#: ../NEWS:34459 ../NEWS:38001 msgid "" ":issue:`32034`: Make asyncio.IncompleteReadError and LimitOverrunError " "pickleable." msgstr "" -#: ../NEWS:34419 ../NEWS:37961 +#: ../NEWS:34462 ../NEWS:38004 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 "" -#: ../NEWS:34422 ../NEWS:37964 +#: ../NEWS:34465 ../NEWS:38007 msgid "" ":issue:`32011`: Restored support of loading marshal files with the " "TYPE_INT64 code. These files can be produced in Python 2.7." msgstr "" -#: ../NEWS:34425 +#: ../NEWS:34468 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 " @@ -58821,13 +58890,13 @@ msgid "" "file-like objects." msgstr "" -#: ../NEWS:34430 +#: ../NEWS:34473 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 "" -#: ../NEWS:34433 +#: ../NEWS:34476 msgid "" ":issue:`31985`: Formally deprecated aifc.openfp, sunau.openfp, and wave." "openfp. Since change 7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, " @@ -58836,64 +58905,64 @@ msgid "" "untested and undocumented." msgstr "" -#: ../NEWS:34439 +#: ../NEWS:34482 msgid "" ":issue:`21862`: cProfile command line now accepts ``-m module_name`` as an " "alternative to script path. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:34442 ../NEWS:37967 +#: ../NEWS:34485 ../NEWS:38010 msgid ":issue:`31970`: Reduce performance overhead of asyncio debug mode." msgstr "" -#: ../NEWS:34444 +#: ../NEWS:34487 msgid "" ":issue:`31843`: *database* argument of sqlite3.connect() now accepts a :term:" "`path-like object`, instead of just a string." msgstr "" -#: ../NEWS:34447 +#: ../NEWS:34490 msgid "" ":issue:`31945`: Add Configurable *blocksize* to ``HTTPConnection`` and " "``HTTPSConnection`` for improved upload throughput. Patch by Nir Soffer." msgstr "" -#: ../NEWS:34450 +#: ../NEWS:34493 msgid "" ":issue:`31943`: Add a ``cancelled()`` method to :class:`asyncio.Handle`. " "Patch by Marat Sharafutdinov." msgstr "" -#: ../NEWS:34453 ../NEWS:37969 +#: ../NEWS:34496 ../NEWS:38012 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 "" -#: ../NEWS:34457 ../NEWS:37973 +#: ../NEWS:34500 ../NEWS:38016 msgid ":issue:`30057`: Fix potential missed signal in signal.signal()." msgstr "" -#: ../NEWS:34459 ../NEWS:37975 +#: ../NEWS:34502 ../NEWS:38018 msgid "" ":issue:`31933`: Fix Blake2 params leaf_size and node_offset on big endian " "platforms. Patch by Jack O'Connor." msgstr "" -#: ../NEWS:34462 +#: ../NEWS:34505 msgid "" ":issue:`21423`: Add an initializer argument to {Process,Thread}PoolExecutor" msgstr "" -#: ../NEWS:34464 ../NEWS:37978 +#: ../NEWS:34507 ../NEWS:38021 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 "" -#: ../NEWS:34468 ../NEWS:37982 +#: ../NEWS:34511 ../NEWS:38025 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 " @@ -58901,60 +58970,60 @@ msgid "" "by Steve Fink." msgstr "" -#: ../NEWS:34473 +#: ../NEWS:34516 msgid "" ":issue:`31917`: Add 3 new clock identifiers: :const:`time.CLOCK_BOOTTIME`, :" "const:`time.CLOCK_PROF` and :const:`time.CLOCK_UPTIME`." msgstr "" -#: ../NEWS:34476 ../NEWS:37987 +#: ../NEWS:34519 ../NEWS:38030 msgid "" ":issue:`31897`: plistlib now catches more errors when read binary plists and " "raises InvalidFileException instead of unexpected exceptions." msgstr "" -#: ../NEWS:34479 ../NEWS:37990 +#: ../NEWS:34522 ../NEWS:38033 msgid "" ":issue:`25720`: Fix the method for checking pad state of curses WINDOW. " "Patch by Masayuki Yamamoto." msgstr "" -#: ../NEWS:34482 ../NEWS:37993 +#: ../NEWS:34525 ../NEWS:38036 msgid "" ":issue:`31893`: Fixed the layout of the kqueue_event structure on OpenBSD " "and NetBSD. Fixed the comparison of the kqueue_event objects." msgstr "" -#: ../NEWS:34485 ../NEWS:37996 +#: ../NEWS:34528 ../NEWS:38039 msgid ":issue:`31891`: Fixed building the curses module on NetBSD." msgstr "" -#: ../NEWS:34487 +#: ../NEWS:34530 msgid "" ":issue:`31884`: added required constants to subprocess module for setting " "priority on windows" msgstr "" -#: ../NEWS:34490 +#: ../NEWS:34533 msgid "" ":issue:`28281`: Remove year (1-9999) limits on the Calendar.weekday() " "function. Patch by Mark Gollahon." msgstr "" -#: ../NEWS:34493 +#: ../NEWS:34536 msgid "" ":issue:`31702`: crypt.mksalt() now allows to specify the number of rounds " "for SHA-256 and SHA-512 hashing." msgstr "" -#: ../NEWS:34496 +#: ../NEWS:34539 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 "" -#: ../NEWS:34500 +#: ../NEWS:34543 msgid "" ":issue:`30768`: Fix the pthread+semaphore implementation of " "PyThread_acquire_lock_timed() when called with timeout > 0 and intr_flag=0: " @@ -58962,17 +59031,17 @@ msgid "" "See also the :pep:`475`." msgstr "" -#: ../NEWS:34505 +#: ../NEWS:34548 msgid ":issue:`31854`: Add ``mmap.ACCESS_DEFAULT`` constant." msgstr "" -#: ../NEWS:34507 +#: ../NEWS:34550 msgid "" ":issue:`31834`: Use optimized code for BLAKE2 only with SSSE3+. The pure " "SSE2 implementation is slower than the pure C reference implementation." msgstr "" -#: ../NEWS:34510 +#: ../NEWS:34553 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 " @@ -58982,69 +59051,69 @@ msgid "" "datetime.date." msgstr "" -#: ../NEWS:34517 +#: ../NEWS:34560 msgid "" ":issue:`28564`: The shutil.rmtree() function has been sped up to 20--40%. " "This was done using the os.scandir() function." msgstr "" -#: ../NEWS:34520 ../NEWS:37998 +#: ../NEWS:34563 ../NEWS:38041 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 "" -#: ../NEWS:34524 +#: ../NEWS:34567 msgid "" ":issue:`31653`: Don't release the GIL if we can acquire a multiprocessing " "semaphore immediately." msgstr "" -#: ../NEWS:34527 ../NEWS:38002 +#: ../NEWS:34570 ../NEWS:38045 msgid "" ":issue:`28326`: Fix multiprocessing.Process when stdout and/or stderr is " "closed or None." msgstr "" -#: ../NEWS:34530 +#: ../NEWS:34573 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 "" -#: ../NEWS:34534 +#: ../NEWS:34577 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 "" -#: ../NEWS:34538 +#: ../NEWS:34581 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 "" -#: ../NEWS:34542 +#: ../NEWS:34585 msgid ":issue:`31819`: Add AbstractEventLoop.sock_recv_into()." msgstr "" -#: ../NEWS:34544 ../NEWS:37324 ../NEWS:38005 +#: ../NEWS:34587 ../NEWS:37367 ../NEWS:38048 msgid "" ":issue:`31457`: If nested log adapters are used, the inner ``process()`` " "methods are no longer omitted." msgstr "" -#: ../NEWS:34547 ../NEWS:38008 +#: ../NEWS:34590 ../NEWS:38051 msgid "" ":issue:`31457`: The ``manager`` property on LoggerAdapter objects is now " "properly settable." msgstr "" -#: ../NEWS:34550 ../NEWS:38011 +#: ../NEWS:34593 ../NEWS:38054 msgid "" ":issue:`31806`: Fix timeout rounding in time.sleep(), threading.Lock." "acquire() and socket.socket.settimeout() to round correctly negative " @@ -59053,33 +59122,33 @@ msgid "" "Galindo." msgstr "" -#: ../NEWS:34556 +#: ../NEWS:34599 msgid "" ":issue:`31803`: time.clock() and time.get_clock_info('clock') now emit a " "DeprecationWarning warning." msgstr "" -#: ../NEWS:34559 +#: ../NEWS:34602 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 "" -#: ../NEWS:34563 ../NEWS:38017 +#: ../NEWS:34606 ../NEWS:38060 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 "" -#: ../NEWS:34567 +#: ../NEWS:34610 msgid "" ":issue:`30541`: Add new function to seal a mock and prevent the " "automatically creation of child mocks. Patch by Mario Corchero." msgstr "" -#: ../NEWS:34570 +#: ../NEWS:34613 msgid "" ":issue:`31784`: Implement the :pep:`564`, add new 6 new functions with " "nanosecond resolution to the :mod:`time` module: :func:`~time." @@ -59088,245 +59157,245 @@ msgid "" "process_time_ns`, :func:`~time.time_ns`." msgstr "" -#: ../NEWS:34576 +#: ../NEWS:34619 msgid "" ":issue:`30143`: 2to3 now generates a code that uses abstract collection " "classes from collections.abc rather than collections." msgstr "" -#: ../NEWS:34579 ../NEWS:38023 +#: ../NEWS:34622 ../NEWS:38066 msgid "" ":issue:`31770`: Prevent a crash when calling the ``__init__()`` method of a " "``sqlite3.Cursor`` object more than once. Patch by Oren Milman." msgstr "" -#: ../NEWS:34582 ../NEWS:38030 +#: ../NEWS:34625 ../NEWS:38073 msgid "" ":issue:`31764`: Prevent a crash in ``sqlite3.Cursor.close()`` in case the " "``Cursor`` object is uninitialized. Patch by Oren Milman." msgstr "" -#: ../NEWS:34585 ../NEWS:38033 +#: ../NEWS:34628 ../NEWS:38076 msgid "" ":issue:`31752`: Fix possible crash in timedelta constructor called with " "custom integers." msgstr "" -#: ../NEWS:34588 ../NEWS:38042 +#: ../NEWS:34631 ../NEWS:38085 msgid "" ":issue:`31620`: an empty asyncio.Queue now doesn't leak memory when queue." "get pollers timeout" msgstr "" -#: ../NEWS:34591 +#: ../NEWS:34634 msgid "" ":issue:`31690`: Allow the flags re.ASCII, re.LOCALE, and re.UNICODE to be " "used as group flags for regular expressions." msgstr "" -#: ../NEWS:34594 +#: ../NEWS:34637 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 "" -#: ../NEWS:34598 +#: ../NEWS:34641 msgid "" ":issue:`31664`: Added support for the Blowfish hashing in the crypt module." msgstr "" -#: ../NEWS:34600 ../NEWS:38045 +#: ../NEWS:34643 ../NEWS:38088 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 "" -#: ../NEWS:34604 ../NEWS:38056 +#: ../NEWS:34647 ../NEWS:38099 msgid "" ":issue:`15037`: Added a workaround for getkey() in curses for ncurses 5.7 " "and earlier." msgstr "" -#: ../NEWS:34607 +#: ../NEWS:34650 msgid "" ":issue:`31307`: Allow use of bytes objects for arguments to :meth:" "`configparser.ConfigParser.read`. Patch by Vincent Michel." msgstr "" -#: ../NEWS:34610 ../NEWS:38076 +#: ../NEWS:34653 ../NEWS:38119 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 "" -#: ../NEWS:34614 ../NEWS:38080 +#: ../NEWS:34657 ../NEWS:38123 msgid "" ":issue:`31310`: multiprocessing's semaphore tracker should be launched again " "if crashed." msgstr "" -#: ../NEWS:34617 ../NEWS:38083 +#: ../NEWS:34660 ../NEWS:38126 msgid "" ":issue:`31308`: Make multiprocessing's forkserver process immune to Ctrl-C " "and other user interruptions. If it crashes, restart it when necessary." msgstr "" -#: ../NEWS:34620 +#: ../NEWS:34663 msgid "" ":issue:`31245`: Added support for AF_UNIX socket in asyncio " "``create_datagram_endpoint``." msgstr "" -#: ../NEWS:34623 +#: ../NEWS:34666 msgid "" ":issue:`30553`: Add HTTP/2 status code 421 (Misdirected Request) to :class:" "`http.HTTPStatus`. Patch by Vitor Pereira." msgstr "" -#: ../NEWS:34629 ../NEWS:38089 +#: ../NEWS:34672 ../NEWS:38132 msgid "" ":issue:`32105`: Added asyncio.BaseEventLoop.connect_accepted_socket " "versionadded marker." msgstr "" -#: ../NEWS:34635 ../NEWS:38102 +#: ../NEWS:34678 ../NEWS:38145 msgid "" ":issue:`31380`: Skip test_httpservers test_undecodable_file on macOS: fails " "on APFS." msgstr "" -#: ../NEWS:34638 ../NEWS:38105 +#: ../NEWS:34681 ../NEWS:38148 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 "" -#: ../NEWS:34642 +#: ../NEWS:34685 msgid "" ":issue:`32138`: Skip on Android test_faulthandler tests that raise SIGSEGV " "and remove the test.support.requires_android_level decorator." msgstr "" -#: ../NEWS:34645 +#: ../NEWS:34688 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 "" -#: ../NEWS:34648 +#: ../NEWS:34691 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 "" -#: ../NEWS:34652 +#: ../NEWS:34695 msgid "" ":issue:`32126`: Skip test_get_event_loop_new_process in test.test_asyncio." "test_events when sem_open() is not functional." msgstr "" -#: ../NEWS:34655 ../NEWS:38109 +#: ../NEWS:34698 ../NEWS:38152 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 "" -#: ../NEWS:34662 +#: ../NEWS:34705 msgid "" ":issue:`28538`: Revert the previous changes, the if_nameindex structure is " "defined by Unified Headers." msgstr "" -#: ../NEWS:34665 +#: ../NEWS:34708 msgid "" ":issue:`28762`: Revert the last commit, the F_LOCK macro is defined by " "Android Unified Headers." msgstr "" -#: ../NEWS:34668 +#: ../NEWS:34711 msgid "" ":issue:`29040`: Support building Android with Unified Headers. The first NDK " "release to support Unified Headers is android-ndk-r14." msgstr "" -#: ../NEWS:34671 ../NEWS:38119 +#: ../NEWS:34714 ../NEWS:38162 msgid "" ":issue:`32059`: ``detect_modules()`` in ``setup.py`` now also searches the " "sysroot paths when cross-compiling." msgstr "" -#: ../NEWS:34674 ../NEWS:38122 +#: ../NEWS:34717 ../NEWS:38165 msgid "" ":issue:`31957`: Fixes Windows SDK version detection when building for " "Windows." msgstr "" -#: ../NEWS:34676 ../NEWS:38124 +#: ../NEWS:34719 ../NEWS:38167 msgid ":issue:`31609`: Fixes quotes in PCbuild/clean.bat" msgstr "" -#: ../NEWS:34678 ../NEWS:38126 +#: ../NEWS:34721 ../NEWS:38169 msgid "" ":issue:`31934`: Abort the build when building out of a not clean source tree." msgstr "" -#: ../NEWS:34680 ../NEWS:38128 +#: ../NEWS:34723 ../NEWS:38171 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 "" -#: ../NEWS:34684 ../NEWS:38132 +#: ../NEWS:34727 ../NEWS:38175 msgid ":issue:`28791`: Update Windows builds to use SQLite 3.21.0." msgstr "" -#: ../NEWS:34686 ../NEWS:38134 +#: ../NEWS:34729 ../NEWS:38177 msgid ":issue:`28791`: Update OS X installer to use SQLite 3.21.0." msgstr "" -#: ../NEWS:34688 +#: ../NEWS:34731 msgid ":issue:`28643`: Record profile-opt build progress with stamp files." msgstr "" -#: ../NEWS:34690 +#: ../NEWS:34733 msgid ":issue:`31866`: Finish removing support for AtheOS." msgstr "" -#: ../NEWS:34695 ../NEWS:38144 +#: ../NEWS:34738 ../NEWS:38187 msgid "" ":issue:`1102`: Return ``None`` when ``View.Fetch()`` returns " "``ERROR_NO_MORE_ITEMS`` instead of raising ``MSIError``. Initial patch by " "Anthony Tuininga." msgstr "" -#: ../NEWS:34699 ../NEWS:38148 +#: ../NEWS:34742 ../NEWS:38191 msgid ":issue:`31944`: Fixes Modify button in Apps and Features dialog." msgstr "" -#: ../NEWS:34701 +#: ../NEWS:34744 msgid "" ":issue:`20486`: Implement the ``Database.Close()`` method to help closing " "MSI database objects." msgstr "" -#: ../NEWS:34704 +#: ../NEWS:34747 msgid "" ":issue:`31857`: Make the behavior of USE_STACKCHECK deterministic in a multi-" "threaded environment." msgstr "" -#: ../NEWS:34710 ../NEWS:38153 +#: ../NEWS:34753 ../NEWS:38196 msgid ":issue:`31392`: Update macOS installer to use OpenSSL 1.0.2m" msgstr "" -#: ../NEWS:34715 ../NEWS:38158 +#: ../NEWS:34758 ../NEWS:38201 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." @@ -59335,19 +59404,19 @@ msgid "" "by user code. Patch based on a suggestion by Serhiy Storchaka." msgstr "" -#: ../NEWS:34721 ../NEWS:38164 +#: ../NEWS:34764 ../NEWS:38207 msgid "" ":issue:`32164`: Delete unused file idlelib/tabbedpages.py. Use of " "TabbedPageSet in configdialog was replaced by ttk.Notebook." msgstr "" -#: ../NEWS:34724 ../NEWS:38167 +#: ../NEWS:34767 ../NEWS:38210 msgid "" ":issue:`32100`: IDLE: Fix old and new bugs in pathbrowser; improve tests. " "Patch mostly by Cheryl Sabella." msgstr "" -#: ../NEWS:34727 ../NEWS:38170 +#: ../NEWS:34770 ../NEWS:38213 msgid "" ":issue:`31858`: IDLE -- Restrict shell prompt manipulation to the shell. " "Editor and output windows only see an empty last prompt line. This " @@ -59355,27 +59424,27 @@ msgid "" "if present, is read on Shell start-up, but is not set or changed." msgstr "" -#: ../NEWS:34732 ../NEWS:38175 +#: ../NEWS:34775 ../NEWS:38218 msgid "" ":issue:`31860`: The font sample in the IDLE configuration dialog is now " "editable. Changes persist while IDLE remains open" msgstr "" -#: ../NEWS:34735 ../NEWS:38178 +#: ../NEWS:34778 ../NEWS:38221 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 "" -#: ../NEWS:34739 ../NEWS:38182 +#: ../NEWS:34782 ../NEWS:38225 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 "" -#: ../NEWS:34743 +#: ../NEWS:34786 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 " @@ -59386,34 +59455,34 @@ msgid "" "help explains a bit about the additions." msgstr "" -#: ../NEWS:34754 +#: ../NEWS:34797 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 "" -#: ../NEWS:34759 ../NEWS:38221 +#: ../NEWS:34802 ../NEWS:38264 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 "" -#: ../NEWS:34766 ../NEWS:38228 +#: ../NEWS:34809 ../NEWS:38271 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 "" -#: ../NEWS:34770 +#: ../NEWS:34813 msgid "" ":issue:`32125`: The ``Py_UseClassExceptionsFlag`` flag has been removed. It " "was deprecated and wasn't used anymore since Python 2.0." msgstr "" -#: ../NEWS:34773 +#: ../NEWS:34816 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 " @@ -59421,13 +59490,13 @@ msgid "" "a generator." msgstr "" -#: ../NEWS:34778 +#: ../NEWS:34821 msgid "" ":issue:`23699`: Add Py_RETURN_RICHCOMPARE macro to reduce boilerplate code " "in rich comparison functions." msgstr "" -#: ../NEWS:34781 ../NEWS:38235 +#: ../NEWS:34824 ../NEWS:38278 msgid "" ":issue:`30697`: The ``PyExc_RecursionErrorInst`` singleton is removed and " "``PyErr_NormalizeException()`` does not use it anymore. This singleton is " @@ -59435,15 +59504,15 @@ msgid "" "finalization of the interpreter. See also :issue:`22898`." msgstr "" -#: ../NEWS:34788 +#: ../NEWS:34831 msgid "Python 3.7.0 alpha 2" msgstr "" -#: ../NEWS:34790 +#: ../NEWS:34833 msgid "*Release date: 2017-10-16*" msgstr "" -#: ../NEWS:34795 +#: ../NEWS:34838 msgid "" ":issue:`31558`: ``gc.freeze()`` is a new API that allows for moving all " "objects currently tracked by the garbage collector to a permanent " @@ -59452,108 +59521,108 @@ msgid "" "effect, this enables great copy-on-write stability at fork()." msgstr "" -#: ../NEWS:34801 ../NEWS:37871 +#: ../NEWS:34844 ../NEWS:37914 msgid "" ":issue:`31642`: Restored blocking \"from package import module\" by setting " "sys.modules[\"package.module\"] to None." msgstr "" -#: ../NEWS:34804 +#: ../NEWS:34847 msgid "" ":issue:`31708`: Allow use of asynchronous generator expressions in " "synchronous functions." msgstr "" -#: ../NEWS:34807 +#: ../NEWS:34850 msgid ":issue:`31709`: Drop support of asynchronous __aiter__." msgstr "" -#: ../NEWS:34809 +#: ../NEWS:34852 msgid "" ":issue:`30404`: The -u option now makes the stdout and stderr streams " "unbuffered rather than line-buffered." msgstr "" -#: ../NEWS:34812 ../NEWS:37877 +#: ../NEWS:34855 ../NEWS:37920 msgid "" ":issue:`31619`: Fixed a ValueError when convert a string with large number " "of underscores to integer with binary base." msgstr "" -#: ../NEWS:34815 +#: ../NEWS:34858 msgid "" ":issue:`31602`: Fix an assertion failure in ``zipimporter.get_source()`` in " "case of a bad ``zlib.decompress()``. Patch by Oren Milman." msgstr "" -#: ../NEWS:34818 ../NEWS:37880 +#: ../NEWS:34861 ../NEWS:37923 msgid "" ":issue:`31592`: Fixed an assertion failure in Python parser in case of a bad " "``unicodedata.normalize()``. Patch by Oren Milman." msgstr "" -#: ../NEWS:34821 ../NEWS:37883 +#: ../NEWS:34864 ../NEWS:37926 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 "" -#: ../NEWS:34825 +#: ../NEWS:34868 msgid "" ":issue:`31574`: Importlib was instrumented with two dtrace probes to profile " "import timing." msgstr "" -#: ../NEWS:34828 ../NEWS:37887 +#: ../NEWS:34871 ../NEWS:37930 msgid "" ":issue:`31566`: Fix an assertion failure in ``_warnings.warn()`` in case of " "a bad ``__name__`` global. Patch by Oren Milman." msgstr "" -#: ../NEWS:34831 +#: ../NEWS:34874 msgid "" ":issue:`31506`: Improved the error message logic for ``object.__new__`` and " "``object.__init__``." msgstr "" -#: ../NEWS:34834 ../NEWS:37890 +#: ../NEWS:34877 ../NEWS:37933 msgid "" ":issue:`31505`: Fix an assertion failure in ``json``, in case ``_json." "make_encoder()`` received a bad ``encoder()`` argument. Patch by Oren Milman." msgstr "" -#: ../NEWS:34838 ../NEWS:37894 +#: ../NEWS:34881 ../NEWS:37937 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 "" -#: ../NEWS:34842 ../NEWS:37902 +#: ../NEWS:34885 ../NEWS:37945 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 "" -#: ../NEWS:34845 +#: ../NEWS:34888 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 "" -#: ../NEWS:34848 +#: ../NEWS:34891 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 "" -#: ../NEWS:34852 +#: ../NEWS:34895 msgid ":issue:`31410`: Optimized calling wrapper and classmethod descriptors." msgstr "" -#: ../NEWS:34854 +#: ../NEWS:34897 msgid "" ":issue:`31353`: :pep:`553` - Add a new built-in called ``breakpoint()`` " "which calls ``sys.breakpointhook()``. By default this imports ``pdb`` and " @@ -59562,93 +59631,93 @@ msgid "" "saved in ``sys.__breakpointhook__``." msgstr "" -#: ../NEWS:34860 +#: ../NEWS:34903 msgid "" ":issue:`17852`: Maintain a list of open buffered files, flush them before " "exiting the interpreter. Based on a patch from Armin Rigo." msgstr "" -#: ../NEWS:34863 ../NEWS:37905 +#: ../NEWS:34906 ../NEWS:37948 msgid "" ":issue:`31315`: Fix an assertion failure in imp.create_dynamic(), when spec." "name is not a string. Patch by Oren Milman." msgstr "" -#: ../NEWS:34866 ../NEWS:37908 +#: ../NEWS:34909 ../NEWS:37951 msgid "" ":issue:`31311`: Fix a crash in the ``__setstate__()`` method of ``ctypes." "_CData``, in case of a bad ``__dict__``. Patch by Oren Milman." msgstr "" -#: ../NEWS:34869 ../NEWS:37911 +#: ../NEWS:34912 ../NEWS:37954 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 "" -#: ../NEWS:34873 ../NEWS:37915 +#: ../NEWS:34916 ../NEWS:37958 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 "" -#: ../NEWS:34877 +#: ../NEWS:34920 msgid "" ":issue:`30406`: Make ``async`` and ``await`` proper keywords, as specified " "in :pep:`492`." msgstr "" -#: ../NEWS:34883 ../NEWS:38021 +#: ../NEWS:34926 ../NEWS:38064 msgid ":issue:`30058`: Fixed buffer overflow in select.kqueue.control()." msgstr "" -#: ../NEWS:34885 ../NEWS:38026 +#: ../NEWS:34928 ../NEWS:38069 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 "" -#: ../NEWS:34889 ../NEWS:38036 +#: ../NEWS:34932 ../NEWS:38079 msgid "" ":issue:`31701`: On Windows, faulthandler.enable() now ignores MSC and COM " "exceptions." msgstr "" -#: ../NEWS:34892 ../NEWS:38039 +#: ../NEWS:34935 ../NEWS:38082 msgid "" ":issue:`31728`: Prevent crashes in ``_elementtree`` due to unsafe cleanup of " "``Element.text`` and ``Element.tail``. Patch by Oren Milman." msgstr "" -#: ../NEWS:34895 +#: ../NEWS:34938 msgid "" ":issue:`31671`: Now ``re.compile()`` converts passed RegexFlag to normal int " "object before compiling. bm_regex_compile benchmark shows 14% performance " "improvements." msgstr "" -#: ../NEWS:34899 +#: ../NEWS:34942 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 "" -#: ../NEWS:34903 ../NEWS:38049 +#: ../NEWS:34946 ../NEWS:38092 msgid "" ":issue:`31675`: Fixed memory leaks in Tkinter's methods splitlist() and " "split() when pass a string larger than 2 GiB." msgstr "" -#: ../NEWS:34906 ../NEWS:38052 +#: ../NEWS:34949 ../NEWS:38095 msgid "" ":issue:`31673`: Fixed typo in the name of Tkinter's method adderrorinfo()." msgstr "" -#: ../NEWS:34908 +#: ../NEWS:34951 msgid "" ":issue:`31648`: Improvements to path predicates in ElementTree: Allow " "whitespace around predicate parts, i.e. \"[a = 'text']\" instead of " @@ -59656,60 +59725,60 @@ msgid "" "of the current node, like \"[.='text']\". Patch by Stefan Behnel." msgstr "" -#: ../NEWS:34913 ../NEWS:38054 +#: ../NEWS:34956 ../NEWS:38097 msgid ":issue:`30806`: Fix the string representation of a netrc object." msgstr "" -#: ../NEWS:34915 +#: ../NEWS:34958 msgid "" ":issue:`31638`: Add optional argument ``compressed`` to ``zipapp." "create_archive``, and add option ``--compress`` to the command line " "interface of ``zipapp``." msgstr "" -#: ../NEWS:34919 ../NEWS:38059 +#: ../NEWS:34962 ../NEWS:38102 msgid ":issue:`25351`: Avoid venv activate failures with undefined variables" msgstr "" -#: ../NEWS:34921 +#: ../NEWS:34964 msgid "" ":issue:`20519`: Avoid ctypes use (if possible) and improve import time for " "uuid." msgstr "" -#: ../NEWS:34924 +#: ../NEWS:34967 msgid "" ":issue:`28293`: The regular expression cache is no longer completely dumped " "when it is full." msgstr "" -#: ../NEWS:34927 +#: ../NEWS:34970 msgid ":issue:`31596`: Added pthread_getcpuclockid() to the time module" msgstr "" -#: ../NEWS:34929 +#: ../NEWS:34972 msgid "" ":issue:`27494`: Make 2to3 accept a trailing comma in generator expressions. " "For example, ``set(x for x in [],)`` is now allowed." msgstr "" -#: ../NEWS:34932 ../NEWS:38065 +#: ../NEWS:34975 ../NEWS:38108 msgid "" ":issue:`30347`: Stop crashes when concurrently iterate over itertools." "groupby() iterators." msgstr "" -#: ../NEWS:34935 +#: ../NEWS:34978 msgid "" ":issue:`30346`: An iterator produced by itertools.groupby() iterator now " "becomes exhausted after advancing the groupby iterator." msgstr "" -#: ../NEWS:34938 +#: ../NEWS:34981 msgid ":issue:`31556`: Cancel asyncio.wait_for future faster if timeout <= 0" msgstr "" -#: ../NEWS:34940 +#: ../NEWS:34983 msgid "" ":issue:`31540`: Allow passing a context object in :class:`concurrent.futures." "ProcessPoolExecutor` constructor. Also, free job resources in :class:" @@ -59717,19 +59786,19 @@ msgid "" "when a worker waits for new jobs." msgstr "" -#: ../NEWS:34945 ../NEWS:38068 +#: ../NEWS:34988 ../NEWS:38111 msgid "" ":issue:`31516`: ``threading.current_thread()`` should not return a dummy " "thread at shutdown." msgstr "" -#: ../NEWS:34948 +#: ../NEWS:34991 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 "" -#: ../NEWS:34951 +#: ../NEWS:34994 msgid "" ":issue:`26510`: argparse subparsers are now required by default. This " "matches behaviour in Python 2. For optional subparsers, use the new " @@ -59738,7 +59807,7 @@ msgid "" "since Python 3.3.)" msgstr "" -#: ../NEWS:34957 +#: ../NEWS:35000 msgid "" ":issue:`27541`: Reprs of subclasses of some collection and iterator classes " "(``bytearray``, ``array.array``, ``collections.deque``, ``collections." @@ -59746,66 +59815,66 @@ msgid "" "type name instead of hardcoded names of the base class." msgstr "" -#: ../NEWS:34962 ../NEWS:38071 +#: ../NEWS:35005 ../NEWS:38114 msgid "" ":issue:`31351`: python -m ensurepip now exits with non-zero exit code if pip " "bootstrapping has failed." msgstr "" -#: ../NEWS:34965 +#: ../NEWS:35008 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 "" -#: ../NEWS:34972 ../NEWS:38092 +#: ../NEWS:35015 ../NEWS:38135 msgid "" ":issue:`31537`: Fix incorrect usage of ``get_history_length`` in readline " "documentation example code. Patch by Brad Smith." msgstr "" -#: ../NEWS:34975 ../NEWS:38095 +#: ../NEWS:35018 ../NEWS:38138 msgid "" ":issue:`30085`: The operator functions without double underscores are " "preferred for clarity. The one with underscores are only kept for back-" "compatibility." msgstr "" -#: ../NEWS:34982 +#: ../NEWS:35025 msgid "" ":issue:`31696`: Improve compiler version information in :data:`sys.version` " "when Python is built with Clang." msgstr "" -#: ../NEWS:34985 +#: ../NEWS:35028 msgid "" ":issue:`31625`: Stop using ranlib on static libraries. Instead, we assume ar " "supports the 's' flag." msgstr "" -#: ../NEWS:34988 +#: ../NEWS:35031 msgid ":issue:`31624`: Remove support for BSD/OS." msgstr "" -#: ../NEWS:34990 ../NEWS:38136 +#: ../NEWS:35033 ../NEWS:38179 msgid "" ":issue:`22140`: Prevent double substitution of prefix in python-config.sh." msgstr "" -#: ../NEWS:34992 +#: ../NEWS:35035 msgid "" ":issue:`31569`: Correct PCBuild/ case to PCbuild/ in build scripts and " "documentation." msgstr "" -#: ../NEWS:34995 ../NEWS:38138 +#: ../NEWS:35038 ../NEWS:38181 msgid "" ":issue:`31536`: Avoid wholesale rebuild after ``make regen-all`` if nothing " "changed." msgstr "" -#: ../NEWS:35001 ../NEWS:38194 +#: ../NEWS:35044 ../NEWS:38237 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 " @@ -59814,15 +59883,15 @@ msgid "" "browsing python files that do not end in .py." msgstr "" -#: ../NEWS:35007 ../NEWS:38200 +#: ../NEWS:35050 ../NEWS:38243 msgid ":issue:`31649`: IDLE - Make _htest, _utest parameters keyword only." msgstr "" -#: ../NEWS:35009 ../NEWS:38202 +#: ../NEWS:35052 ../NEWS:38245 msgid ":issue:`31559`: Remove test order dependence in idle_test.test_browser." msgstr "" -#: ../NEWS:35011 ../NEWS:38204 +#: ../NEWS:35054 ../NEWS:38247 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 " @@ -59832,31 +59901,31 @@ msgid "" "Settings dialog, is not changed. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:35019 ../NEWS:38212 +#: ../NEWS:35062 ../NEWS:38255 msgid ":issue:`31500`: Default fonts now are scaled on HiDPI displays." msgstr "" -#: ../NEWS:35021 ../NEWS:38214 +#: ../NEWS:35064 ../NEWS:38257 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 "" -#: ../NEWS:35028 +#: ../NEWS:35071 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 "" -#: ../NEWS:35032 ../NEWS:38232 +#: ../NEWS:35075 ../NEWS:38275 msgid "" ":issue:`31532`: Fix memory corruption due to allocator mix in getpath.c " "between Py_GetPath() and Py_SetPath()" msgstr "" -#: ../NEWS:35035 +#: ../NEWS:35078 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 " @@ -59865,39 +59934,39 @@ msgid "" "Yamamoto." msgstr "" -#: ../NEWS:35043 +#: ../NEWS:35086 msgid "Python 3.7.0 alpha 1" msgstr "" -#: ../NEWS:35045 +#: ../NEWS:35088 msgid "*Release date: 2017-09-19*" msgstr "" -#: ../NEWS:35050 ../NEWS:38270 +#: ../NEWS:35093 ../NEWS:38313 msgid "" ":issue:`29781`: SSLObject.version() now correctly returns None when " "handshake over BIO has not been performed yet." msgstr "" -#: ../NEWS:35053 +#: ../NEWS:35096 msgid "" ":issue:`29505`: Add fuzz tests for float(str), int(str), unicode(str); for " "oss-fuzz." msgstr "" -#: ../NEWS:35056 ../NEWS:38273 ../NEWS:42620 +#: ../NEWS:35099 ../NEWS:38316 ../NEWS:42663 msgid "" ":issue:`30947`: Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 " "to get security fixes." msgstr "" -#: ../NEWS:35059 ../NEWS:38734 ../NEWS:42662 +#: ../NEWS:35102 ../NEWS:38777 ../NEWS:42705 msgid "" ":issue:`30730`: Prevent environment variables injection in subprocess on " "Windows. Prevent passing other environment variables and command arguments." msgstr "" -#: ../NEWS:35063 ../NEWS:38738 ../NEWS:42666 +#: ../NEWS:35106 ../NEWS:38781 ../NEWS:42709 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 " @@ -59909,7 +59978,7 @@ msgid "" "secret using ``XML_SetHashSalt()``." msgstr "" -#: ../NEWS:35072 ../NEWS:38747 ../NEWS:42675 +#: ../NEWS:35115 ../NEWS:38790 ../NEWS:42718 msgid "" ":issue:`30500`: Fix urllib.parse.splithost() to correctly parse fragments. " "For example, ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns " @@ -59917,41 +59986,41 @@ msgid "" "authentication (``login@host``)." msgstr "" -#: ../NEWS:35077 ../NEWS:38761 ../NEWS:42680 +#: ../NEWS:35120 ../NEWS:38804 ../NEWS:42723 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 "" -#: ../NEWS:35084 ../NEWS:37898 +#: ../NEWS:35127 ../NEWS:37941 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 "" -#: ../NEWS:35088 ../NEWS:38279 +#: ../NEWS:35131 ../NEWS:38322 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 "" -#: ../NEWS:35092 ../NEWS:38283 +#: ../NEWS:35135 ../NEWS:38326 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 "" -#: ../NEWS:35095 ../NEWS:38286 +#: ../NEWS:35138 ../NEWS:38329 msgid "" ":issue:`31416`: Fix assertion failures in case of a bad warnings.filters or " "warnings.defaultaction. Patch by Oren Milman." msgstr "" -#: ../NEWS:35098 +#: ../NEWS:35141 msgid "" ":issue:`28411`: Change direct usage of PyInterpreterState.modules to " "PyImport_GetModuleDict(). Also introduce more uniformity in other code that " @@ -59959,7 +60028,7 @@ msgid "" "modules." msgstr "" -#: ../NEWS:35103 +#: ../NEWS:35146 msgid "" ":issue:`28411`: Switch to the abstract API when dealing with " "``PyInterpreterState.modules``. This allows later support for all dict " @@ -59967,13 +60036,13 @@ msgid "" "``PyImport_GetModule()`` function to reduce a bunch of duplicated code." msgstr "" -#: ../NEWS:35108 ../NEWS:38289 +#: ../NEWS:35151 ../NEWS:38332 msgid "" ":issue:`31411`: Raise a TypeError instead of SystemError in case warnings." "onceregistry is not a dictionary. Patch by Oren Milman." msgstr "" -#: ../NEWS:35111 +#: ../NEWS:35154 msgid "" ":issue:`31344`: For finer control of tracing behaviour when testing the " "interpreter, two new frame attributes have been added to control the " @@ -59982,104 +60051,104 @@ msgid "" "default) to turn on per-opcode trace events." msgstr "" -#: ../NEWS:35117 ../NEWS:38292 +#: ../NEWS:35160 ../NEWS:38335 msgid "" ":issue:`31373`: Fix several possible instances of undefined behavior due to " "floating-point demotions." msgstr "" -#: ../NEWS:35120 ../NEWS:38295 +#: ../NEWS:35163 ../NEWS:38338 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 "" -#: ../NEWS:35124 +#: ../NEWS:35167 msgid "" ":issue:`30860`: Consolidate CPython's global runtime state under a single " "struct. This improves discoverability of the runtime state." msgstr "" -#: ../NEWS:35127 +#: ../NEWS:35170 msgid "" ":issue:`31347`: Fix possible undefined behavior in " "_PyObject_FastCall_Prepend." msgstr "" -#: ../NEWS:35129 ../NEWS:38299 +#: ../NEWS:35172 ../NEWS:38342 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 "" -#: ../NEWS:35132 ../NEWS:38302 +#: ../NEWS:35175 ../NEWS:38345 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 "" -#: ../NEWS:35136 ../NEWS:38306 +#: ../NEWS:35179 ../NEWS:38349 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 "" -#: ../NEWS:35140 ../NEWS:38310 +#: ../NEWS:35183 ../NEWS:38353 msgid "" ":issue:`31243`: Fix a crash in some methods of ``io.TextIOWrapper``, when " "the decoder's state is invalid. Patch by Oren Milman." msgstr "" -#: ../NEWS:35143 ../NEWS:38313 +#: ../NEWS:35186 ../NEWS:38356 msgid "" ":issue:`30721`: ``print`` now shows correct usage hint for using Python 2 " "redirection syntax. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:35146 ../NEWS:38316 +#: ../NEWS:35189 ../NEWS:38359 msgid ":issue:`31070`: Fix a race condition in importlib _get_module_lock()." msgstr "" -#: ../NEWS:35148 +#: ../NEWS:35191 msgid "" ":issue:`30747`: Add a non-dummy implementation of _Py_atomic_store and " "_Py_atomic_load on MSVC." msgstr "" -#: ../NEWS:35151 ../NEWS:38318 ../NEWS:42626 +#: ../NEWS:35194 ../NEWS:38361 ../NEWS:42669 msgid "" ":issue:`31095`: Fix potential crash during GC caused by ``tp_dealloc`` which " "doesn't call ``PyObject_GC_UnTrack()``." msgstr "" -#: ../NEWS:35154 ../NEWS:38321 +#: ../NEWS:35197 ../NEWS:38364 msgid "" ":issue:`31071`: Avoid masking original TypeError in call with * unpacking " "when other arguments are passed." msgstr "" -#: ../NEWS:35157 ../NEWS:38324 +#: ../NEWS:35200 ../NEWS:38367 msgid "" ":issue:`30978`: str.format_map() now passes key lookup exceptions through. " "Previously any exception was replaced with a KeyError exception." msgstr "" -#: ../NEWS:35160 ../NEWS:38327 +#: ../NEWS:35203 ../NEWS:38370 msgid "" ":issue:`30808`: Use _Py_atomic API for concurrency-sensitive signal state." msgstr "" -#: ../NEWS:35162 ../NEWS:38329 ../NEWS:42687 +#: ../NEWS:35205 ../NEWS:38372 ../NEWS:42730 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 "" -#: ../NEWS:35166 ../NEWS:38333 +#: ../NEWS:35209 ../NEWS:38376 msgid "" ":issue:`30703`: Improve signal delivery. Avoid using Py_AddPendingCall from " "signal handler, to avoid calling signal-unsafe functions. The tests I'm " @@ -60087,56 +60156,56 @@ msgid "" "means our signal delivery logic had defects (some signals could be lost)." msgstr "" -#: ../NEWS:35171 ../NEWS:38338 ../NEWS:42691 +#: ../NEWS:35214 ../NEWS:38381 ../NEWS:42734 msgid "" ":issue:`30765`: Avoid blocking in pthread_mutex_lock() when " "PyThread_acquire_lock() is asked not to block." msgstr "" -#: ../NEWS:35174 ../NEWS:38341 +#: ../NEWS:35217 ../NEWS:38384 msgid "" ":issue:`31161`: Make sure the 'Missing parentheses' syntax error message is " "only applied to SyntaxError, not to subclasses. Patch by Martijn Pieters." msgstr "" -#: ../NEWS:35177 ../NEWS:38344 +#: ../NEWS:35220 ../NEWS:38387 msgid "" ":issue:`30814`: Fixed a race condition when import a submodule from a " "package." msgstr "" -#: ../NEWS:35179 +#: ../NEWS:35222 msgid "" ":issue:`30736`: The internal unicodedata database has been upgraded to " "Unicode 10.0." msgstr "" -#: ../NEWS:35182 +#: ../NEWS:35225 msgid "" ":issue:`30604`: Move co_extra_freefuncs from per-thread to per-interpreter " "to avoid crashes." msgstr "" -#: ../NEWS:35185 ../NEWS:38346 +#: ../NEWS:35228 ../NEWS:38389 msgid "" ":issue:`30597`: ``print`` now shows expected input in custom error message " "when used as a Python 2 statement. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:35188 ../NEWS:38768 +#: ../NEWS:35231 ../NEWS:38811 msgid "" ":issue:`30682`: Removed a too-strict assertion that failed for certain f-" "strings, such as eval(\"f'\\\\\\n'\") and eval(\"f'\\\\\\r'\")." msgstr "" -#: ../NEWS:35191 +#: ../NEWS:35234 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 "" -#: ../NEWS:35195 +#: ../NEWS:35238 msgid "" ":issue:`28180`: Implement :pep:`538` (legacy C locale coercion). This means " "that when a suitable coercion target locale is available, both the core " @@ -60144,143 +60213,143 @@ msgid "" "the default text encoding, rather than ASCII." msgstr "" -#: ../NEWS:35200 +#: ../NEWS:35243 msgid "" ":issue:`30486`: Allows setting cell values for __closure__. Patch by Lisa " "Roach." msgstr "" -#: ../NEWS:35203 +#: ../NEWS:35246 msgid "" ":issue:`30537`: itertools.islice now accepts integer-like objects (having an " "__index__ method) as start, stop, and slice arguments" msgstr "" -#: ../NEWS:35206 +#: ../NEWS:35249 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 "" -#: ../NEWS:35210 ../NEWS:38773 +#: ../NEWS:35253 ../NEWS:38816 msgid ":issue:`29104`: Fixed parsing backslashes in f-strings." msgstr "" -#: ../NEWS:35212 ../NEWS:38775 ../NEWS:42694 +#: ../NEWS:35255 ../NEWS:38818 ../NEWS:42737 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 "" -#: ../NEWS:35216 ../NEWS:38779 ../NEWS:42698 +#: ../NEWS:35259 ../NEWS:38822 ../NEWS:42741 msgid "" ":issue:`25794`: Fixed type.__setattr__() and type.__delattr__() for non-" "interned attribute names. Based on patch by Eryk Sun." msgstr "" -#: ../NEWS:35219 ../NEWS:38782 +#: ../NEWS:35262 ../NEWS:38825 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 "" -#: ../NEWS:35223 +#: ../NEWS:35266 msgid "" ":issue:`28974`: ``object.__format__(x, '')`` is now equivalent to ``str(x)`` " "rather than ``format(str(self), '')``." msgstr "" -#: ../NEWS:35226 +#: ../NEWS:35269 msgid "" ":issue:`30024`: Circular imports involving absolute imports with binding a " "submodule to a name are now supported." msgstr "" -#: ../NEWS:35229 ../NEWS:38786 +#: ../NEWS:35272 ../NEWS:38829 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 "" -#: ../NEWS:35233 +#: ../NEWS:35276 msgid "" ":issue:`29839`: len() now raises ValueError rather than OverflowError if " "__len__() returned a large negative integer." msgstr "" -#: ../NEWS:35236 +#: ../NEWS:35279 msgid "" ":issue:`11913`: README.rst is now included in the list of distutils standard " "READMEs and therefore included in source distributions." msgstr "" -#: ../NEWS:35239 +#: ../NEWS:35282 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 "" -#: ../NEWS:35243 ../NEWS:38790 +#: ../NEWS:35286 ../NEWS:38833 msgid "" ":issue:`29949`: Fix memory usage regression of set and frozenset object." msgstr "" -#: ../NEWS:35245 ../NEWS:38792 ../NEWS:42701 +#: ../NEWS:35288 ../NEWS:38835 ../NEWS:42744 msgid "" ":issue:`29935`: Fixed error messages in the index() method of tuple, list " "and deque when pass indices of wrong type." msgstr "" -#: ../NEWS:35248 +#: ../NEWS:35291 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 "" -#: ../NEWS:35253 +#: ../NEWS:35296 msgid "" ":issue:`24821`: Fixed the slowing down to 25 times in the searching of some " "unlucky Unicode characters." msgstr "" -#: ../NEWS:35256 +#: ../NEWS:35299 msgid "" ":issue:`29102`: Add a unique ID to PyInterpreterState. This makes it easier " "to identify each subinterpreter." msgstr "" -#: ../NEWS:35259 +#: ../NEWS:35302 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 "" -#: ../NEWS:35263 ../NEWS:38795 +#: ../NEWS:35306 ../NEWS:38838 msgid "" ":issue:`29859`: Show correct error messages when any of the pthread_* calls " "in thread_pthread.h fails." msgstr "" -#: ../NEWS:35266 +#: ../NEWS:35309 msgid "" ":issue:`29849`: Fix a memory leak when an ImportError is raised during from " "import." msgstr "" -#: ../NEWS:35269 ../NEWS:38803 +#: ../NEWS:35312 ../NEWS:38846 msgid "" ":issue:`28856`: Fix an oversight that %b format for bytes should support " "objects follow the buffer protocol." msgstr "" -#: ../NEWS:35272 ../NEWS:39110 +#: ../NEWS:35315 ../NEWS:39153 msgid "" ":issue:`29723`: The ``sys.path[0]`` initialization change for :issue:`29139` " "caused a regression by revealing an inconsistency in how sys.path is " @@ -60291,76 +60360,76 @@ msgid "" "location named on the command line." msgstr "" -#: ../NEWS:35280 +#: ../NEWS:35323 msgid "" ":issue:`29568`: Escaped percent \"%%\" in the format string for classic " "string formatting no longer allows any characters between two percents." msgstr "" -#: ../NEWS:35283 ../NEWS:38806 +#: ../NEWS:35326 ../NEWS:38849 msgid "" ":issue:`29714`: Fix a regression that bytes format may fail when containing " "zero bytes inside." msgstr "" -#: ../NEWS:35286 +#: ../NEWS:35329 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 "" -#: ../NEWS:35290 ../NEWS:39134 +#: ../NEWS:35333 ../NEWS:39177 msgid "" ":issue:`28893`: Set correct __cause__ for errors about invalid awaitables " "returned from __aiter__ and __anext__." msgstr "" -#: ../NEWS:35293 ../NEWS:38798 ../NEWS:42704 +#: ../NEWS:35336 ../NEWS:38841 ../NEWS:42747 msgid "" ":issue:`28876`: ``bool(range)`` works even if ``len(range)`` raises :exc:" "`OverflowError`." msgstr "" -#: ../NEWS:35296 ../NEWS:39137 +#: ../NEWS:35339 ../NEWS:39180 msgid "" ":issue:`29683`: Fixes to memory allocation in _PyCode_SetExtra. Patch by " "Brian Coleman." msgstr "" -#: ../NEWS:35299 ../NEWS:39140 +#: ../NEWS:35342 ../NEWS:39183 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 "" -#: ../NEWS:35303 ../NEWS:39144 ../NEWS:42715 +#: ../NEWS:35346 ../NEWS:39187 ../NEWS:42758 msgid "" ":issue:`28598`: Support __rmod__ for subclasses of str being called before " "str.__mod__. Patch by Martijn Pieters." msgstr "" -#: ../NEWS:35306 ../NEWS:39147 +#: ../NEWS:35349 ../NEWS:39190 msgid "" ":issue:`29607`: Fix stack_effect computation for CALL_FUNCTION_EX. Patch by " "Matthieu Dartiailh." msgstr "" -#: ../NEWS:35309 ../NEWS:39150 ../NEWS:42718 +#: ../NEWS:35352 ../NEWS:39193 ../NEWS:42761 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 "" -#: ../NEWS:35313 ../NEWS:39154 ../NEWS:42722 +#: ../NEWS:35356 ../NEWS:39197 ../NEWS:42765 msgid "" ":issue:`29347`: Fixed possibly dereferencing undefined pointers when " "creating weakref objects." msgstr "" -#: ../NEWS:35316 +#: ../NEWS:35359 msgid "" ":issue:`29463`: Add ``docstring`` field to Module, ClassDef, FunctionDef, " "and AsyncFunctionDef ast nodes. docstring is not first stmt in their body " @@ -60368,99 +60437,99 @@ msgid "" "module and class. (Reverted in :issue:`32911`.)" msgstr "" -#: ../NEWS:35321 ../NEWS:39157 ../NEWS:42725 +#: ../NEWS:35364 ../NEWS:39200 ../NEWS:42768 msgid ":issue:`29438`: Fixed use-after-free problem in key sharing dict." msgstr "" -#: ../NEWS:35323 +#: ../NEWS:35366 msgid "" ":issue:`29546`: Set the 'path' and 'name' attribute on ImportError for " "``from ... import ...``." msgstr "" -#: ../NEWS:35326 +#: ../NEWS:35369 msgid ":issue:`29546`: Improve from-import error message with location" msgstr "" -#: ../NEWS:35328 ../NEWS:38809 ../NEWS:42732 +#: ../NEWS:35371 ../NEWS:38852 ../NEWS:42775 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 "" -#: ../NEWS:35331 ../NEWS:39159 ../NEWS:42727 +#: ../NEWS:35374 ../NEWS:39202 ../NEWS:42770 msgid ":issue:`29319`: Prevent RunMainFromImporter overwriting sys.path[0]." msgstr "" -#: ../NEWS:35333 ../NEWS:39161 ../NEWS:42729 +#: ../NEWS:35376 ../NEWS:39204 ../NEWS:42772 msgid "" ":issue:`29337`: Fixed possible BytesWarning when compare the code objects. " "Warnings could be emitted at compile time." msgstr "" -#: ../NEWS:35336 ../NEWS:39164 +#: ../NEWS:35379 ../NEWS:39207 msgid "" ":issue:`29327`: Fixed a crash when pass the iterable keyword argument to " "sorted()." msgstr "" -#: ../NEWS:35339 ../NEWS:39167 +#: ../NEWS:35382 ../NEWS:39210 msgid "" ":issue:`29034`: Fix memory leak and use-after-free in os module " "(path_converter)." msgstr "" -#: ../NEWS:35342 ../NEWS:39170 +#: ../NEWS:35385 ../NEWS:39213 msgid "" ":issue:`29159`: Fix regression in bytes(x) when x.__index__() raises " "Exception." msgstr "" -#: ../NEWS:35344 +#: ../NEWS:35387 msgid "" ":issue:`29049`: Call _PyObject_GC_TRACK() lazily when calling Python " "function. Calling function is up to 5% faster." msgstr "" -#: ../NEWS:35347 +#: ../NEWS:35390 msgid "" ":issue:`28927`: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII " "whitespace, not only spaces. Patch by Robert Xiao." msgstr "" -#: ../NEWS:35350 ../NEWS:39172 ../NEWS:43090 +#: ../NEWS:35393 ../NEWS:39215 ../NEWS:43133 msgid ":issue:`28932`: Do not include if it does not exist." msgstr "" -#: ../NEWS:35352 ../NEWS:39174 ../NEWS:43095 +#: ../NEWS:35395 ../NEWS:39217 ../NEWS:43138 msgid "" ":issue:`25677`: Correct the positioning of the syntax error caret for " "indented blocks. Based on patch by Michael Layzell." msgstr "" -#: ../NEWS:35355 ../NEWS:39177 ../NEWS:43098 +#: ../NEWS:35398 ../NEWS:39220 ../NEWS:43141 msgid "" ":issue:`29000`: Fixed bytes formatting of octals with zero padding in " "alternate form." msgstr "" -#: ../NEWS:35358 +#: ../NEWS:35401 msgid "" ":issue:`18896`: Python function can now have more than 255 parameters. " "collections.namedtuple() now supports tuples with more than 255 elements." msgstr "" -#: ../NEWS:35361 +#: ../NEWS:35404 msgid "" ":issue:`28596`: The preferred encoding is UTF-8 on Android. Patch written by " "Chi Hsuan Yen." msgstr "" -#: ../NEWS:35364 +#: ../NEWS:35407 msgid ":issue:`22257`: Clean up interpreter startup (see :pep:`432`)." msgstr "" -#: ../NEWS:35366 ../NEWS:39180 +#: ../NEWS:35409 ../NEWS:39223 msgid "" ":issue:`26919`: On Android, operating system data is now always encoded/" "decoded to/from UTF-8, instead of the locale encoding to avoid " @@ -60468,38 +60537,38 @@ msgid "" "UTF-8." msgstr "" -#: ../NEWS:35370 ../NEWS:39184 +#: ../NEWS:35413 ../NEWS:39227 msgid "" ":issue:`28991`: functools.lru_cache() was susceptible to an obscure " "reentrancy bug triggerable by a monkey-patched len() function." msgstr "" -#: ../NEWS:35373 ../NEWS:39458 +#: ../NEWS:35416 ../NEWS:39501 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 "" -#: ../NEWS:35376 ../NEWS:39187 +#: ../NEWS:35419 ../NEWS:39230 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 "" -#: ../NEWS:35379 ../NEWS:39190 ../NEWS:43101 +#: ../NEWS:35422 ../NEWS:39233 ../NEWS:43144 msgid "" ":issue:`28512`: Fixed setting the offset attribute of SyntaxError by " "PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject()." msgstr "" -#: ../NEWS:35382 ../NEWS:39193 +#: ../NEWS:35425 ../NEWS:39236 msgid "" ":issue:`28918`: Fix the cross compilation of xxlimited when Python has been " "built with Py_DEBUG defined." msgstr "" -#: ../NEWS:35385 ../NEWS:39488 +#: ../NEWS:35428 ../NEWS:39531 msgid "" ":issue:`23722`: Rather than silently producing a class that doesn't support " "zero-argument ``super()`` in methods, failing to pass the new " @@ -60507,14 +60576,14 @@ msgid "" "``DeprecationWarning`` and a class that supports zero-argument ``super()``." msgstr "" -#: ../NEWS:35391 ../NEWS:39494 +#: ../NEWS:35434 ../NEWS:39537 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 "" -#: ../NEWS:35395 +#: ../NEWS:35438 msgid "" ":issue:`28799`: Remove the ``PyEval_GetCallStats()`` function and deprecate " "the untested and undocumented ``sys.callstats()`` function. Remove the " @@ -60522,19 +60591,19 @@ msgid "" "mod:`cProfile` or :mod:`profile` to profile function calls." msgstr "" -#: ../NEWS:35400 +#: ../NEWS:35443 msgid "" ":issue:`12844`: More than 255 arguments can now be passed to a function." msgstr "" -#: ../NEWS:35402 ../NEWS:39498 +#: ../NEWS:35445 ../NEWS:39541 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 "" -#: ../NEWS:35406 +#: ../NEWS:35449 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-" @@ -60542,319 +60611,319 @@ msgid "" "U+0000-U+00FF range for Latin1)." msgstr "" -#: ../NEWS:35411 ../NEWS:39196 +#: ../NEWS:35454 ../NEWS:39239 msgid "" ":issue:`28731`: Optimize _PyDict_NewPresized() to create correct size dict. " "Improve speed of dict literal with constant keys up to 30%." msgstr "" -#: ../NEWS:35414 ../NEWS:39552 +#: ../NEWS:35457 ../NEWS:39595 msgid ":issue:`28532`: Show sys.version when -V option is supplied twice." msgstr "" -#: ../NEWS:35416 ../NEWS:39554 +#: ../NEWS:35459 ../NEWS:39597 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 "" -#: ../NEWS:35420 ../NEWS:39558 +#: ../NEWS:35463 ../NEWS:39601 msgid "" ":issue:`28746`: Fix the set_inheritable() file descriptor method on " "platforms that do not have the ioctl FIOCLEX and FIONCLEX commands." msgstr "" -#: ../NEWS:35423 ../NEWS:39561 +#: ../NEWS:35466 ../NEWS:39604 msgid "" ":issue:`26920`: Fix not getting the locale's charset upon initializing the " "interpreter, on platforms that do not have langinfo." msgstr "" -#: ../NEWS:35426 ../NEWS:39564 ../NEWS:43107 +#: ../NEWS:35469 ../NEWS:39607 ../NEWS:43150 msgid "" ":issue:`28648`: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X " "when decode astral characters. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:35429 ../NEWS:39570 +#: ../NEWS:35472 ../NEWS:39613 msgid ":issue:`28665`: Improve speed of the STORE_DEREF opcode by 40%." msgstr "" -#: ../NEWS:35431 ../NEWS:39567 ../NEWS:43110 +#: ../NEWS:35474 ../NEWS:39610 ../NEWS:43153 msgid "" ":issue:`19398`: Extra slash no longer added to sys.path components in case " "of empty compile-time PYTHONPATH components." msgstr "" -#: ../NEWS:35434 +#: ../NEWS:35477 msgid "" ":issue:`28621`: Sped up converting int to float by reusing faster bits " "counting implementation. Patch by Adrian Wielgosik." msgstr "" -#: ../NEWS:35437 +#: ../NEWS:35480 msgid "" ":issue:`28580`: Optimize iterating split table values. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:35439 ../NEWS:39572 +#: ../NEWS:35482 ../NEWS:39615 msgid "" ":issue:`28583`: PyDict_SetDefault didn't combine split table when needed. " "Patch by Xiang Zhang." msgstr "" -#: ../NEWS:35442 ../NEWS:39666 +#: ../NEWS:35485 ../NEWS:39709 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 "" -#: ../NEWS:35446 ../NEWS:39670 +#: ../NEWS:35489 ../NEWS:39713 msgid "" ":issue:`28509`: dict.update() no longer allocate unnecessary large memory." msgstr "" -#: ../NEWS:35448 ../NEWS:39672 ../NEWS:43113 +#: ../NEWS:35491 ../NEWS:39715 ../NEWS:43156 msgid "" ":issue:`28426`: Fixed potential crash in PyUnicode_AsDecodedObject() in " "debug build." msgstr "" -#: ../NEWS:35451 ../NEWS:39675 +#: ../NEWS:35494 ../NEWS:39718 msgid "" ":issue:`28517`: Fixed of-by-one error in the peephole optimizer that caused " "keeping unreachable code." msgstr "" -#: ../NEWS:35454 ../NEWS:39678 +#: ../NEWS:35497 ../NEWS:39721 msgid "" ":issue:`28214`: Improved exception reporting for problematic __set_name__ " "attributes." msgstr "" -#: ../NEWS:35457 ../NEWS:39681 ../NEWS:43116 +#: ../NEWS:35500 ../NEWS:39724 ../NEWS:43159 msgid "" ":issue:`23782`: Fixed possible memory leak in _PyTraceback_Add() and " "exception loss in PyTraceBack_Here()." msgstr "" -#: ../NEWS:35460 ../NEWS:39790 +#: ../NEWS:35503 ../NEWS:39833 msgid ":issue:`28183`: Optimize and cleanup dict iteration." msgstr "" -#: ../NEWS:35462 ../NEWS:39792 +#: ../NEWS:35505 ../NEWS:39835 msgid "" ":issue:`26081`: Added C implementation of asyncio.Future. Original patch by " "Yury Selivanov." msgstr "" -#: ../NEWS:35465 ../NEWS:39795 ../NEWS:43119 +#: ../NEWS:35508 ../NEWS:39838 ../NEWS:43162 msgid "" ":issue:`28379`: Added sanity checks and tests for " "PyUnicode_CopyCharacters(). Patch by Xiang Zhang." msgstr "" -#: ../NEWS:35468 ../NEWS:39798 ../NEWS:43122 +#: ../NEWS:35511 ../NEWS:39841 ../NEWS:43165 msgid "" ":issue:`28376`: The type of long range iterator is now registered as " "Iterator. Patch by Oren Milman." msgstr "" -#: ../NEWS:35471 +#: ../NEWS:35514 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 "" -#: ../NEWS:35475 ../NEWS:39807 ../NEWS:43128 +#: ../NEWS:35518 ../NEWS:39850 ../NEWS:43171 msgid "" ":issue:`26906`: Resolving special methods of uninitialized type now causes " "implicit initialization of the type instead of a fail." msgstr "" -#: ../NEWS:35478 ../NEWS:39810 ../NEWS:43131 +#: ../NEWS:35521 ../NEWS:39853 ../NEWS:43174 msgid "" ":issue:`18287`: PyType_Ready() now checks that tp_name is not NULL. Original " "patch by Niklas Koep." msgstr "" -#: ../NEWS:35481 ../NEWS:39813 ../NEWS:43134 +#: ../NEWS:35524 ../NEWS:39856 ../NEWS:43177 msgid "" ":issue:`24098`: Fixed possible crash when AST is changed in process of " "compiling it." msgstr "" -#: ../NEWS:35484 ../NEWS:39816 +#: ../NEWS:35527 ../NEWS:39859 msgid "" ":issue:`28201`: Dict reduces possibility of 2nd conflict in hash table when " "hashes have same lower bits." msgstr "" -#: ../NEWS:35487 ../NEWS:39819 ../NEWS:43137 +#: ../NEWS:35530 ../NEWS:39862 ../NEWS:43180 msgid "" ":issue:`28350`: String constants with null character no longer interned." msgstr "" -#: ../NEWS:35489 ../NEWS:39821 ../NEWS:43139 +#: ../NEWS:35532 ../NEWS:39864 ../NEWS:43182 msgid ":issue:`26617`: Fix crash when GC runs during weakref callbacks." msgstr "" -#: ../NEWS:35491 ../NEWS:39823 ../NEWS:43141 +#: ../NEWS:35534 ../NEWS:39866 ../NEWS:43184 msgid "" ":issue:`27942`: String constants now interned recursively in tuples and " "frozensets." msgstr "" -#: ../NEWS:35494 +#: ../NEWS:35537 msgid "" ":issue:`28289`: ImportError.__init__ now resets not specified attributes." msgstr "" -#: ../NEWS:35496 ../NEWS:39826 ../NEWS:43144 +#: ../NEWS:35539 ../NEWS:39869 ../NEWS:43187 msgid "" ":issue:`21578`: Fixed misleading error message when ImportError called with " "invalid keyword args." msgstr "" -#: ../NEWS:35499 ../NEWS:39829 +#: ../NEWS:35542 ../NEWS:39872 msgid "" ":issue:`28203`: Fix incorrect type in complex(1.0, {2:3}) error message. " "Patch by Soumya Sharma." msgstr "" -#: ../NEWS:35502 ../NEWS:39832 +#: ../NEWS:35545 ../NEWS:39875 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 "" -#: ../NEWS:35505 ../NEWS:39835 +#: ../NEWS:35548 ../NEWS:39878 msgid "" ":issue:`28214`: Now __set_name__ is looked up on the class instead of the " "instance." msgstr "" -#: ../NEWS:35508 ../NEWS:39838 ../NEWS:43150 +#: ../NEWS:35551 ../NEWS:39881 ../NEWS:43193 msgid "" ":issue:`27955`: Fallback on reading /dev/urandom device when the getrandom() " "syscall fails with EPERM, for example when blocked by SECCOMP." msgstr "" -#: ../NEWS:35511 ../NEWS:39841 +#: ../NEWS:35554 ../NEWS:39884 msgid ":issue:`28192`: Don't import readline in isolated mode." msgstr "" -#: ../NEWS:35513 +#: ../NEWS:35556 msgid "" ":issue:`27441`: Remove some redundant assignments to ob_size in longobject." "c. Thanks Oren Milman." msgstr "" -#: ../NEWS:35516 +#: ../NEWS:35559 msgid "" ":issue:`27222`: Clean up redundant code in long_rshift function. Thanks Oren " "Milman." msgstr "" -#: ../NEWS:35519 ../NEWS:39843 +#: ../NEWS:35562 ../NEWS:39886 msgid "Upgrade internal unicode databases to Unicode version 9.0.0." msgstr "" -#: ../NEWS:35521 ../NEWS:39845 ../NEWS:43153 +#: ../NEWS:35564 ../NEWS:39888 ../NEWS:43196 msgid "" ":issue:`28131`: Fix a regression in zipimport's compile_source(). zipimport " "should use the same optimization level as the interpreter." msgstr "" -#: ../NEWS:35524 ../NEWS:39848 +#: ../NEWS:35567 ../NEWS:39891 msgid "" ":issue:`28126`: Replace Py_MEMCPY with memcpy(). Visual Studio can properly " "optimize memcpy()." msgstr "" -#: ../NEWS:35527 ../NEWS:39851 +#: ../NEWS:35570 ../NEWS:39894 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 "" -#: ../NEWS:35530 ../NEWS:39854 +#: ../NEWS:35573 ../NEWS:39897 msgid "" ":issue:`26182`: Raise DeprecationWarning when async and await keywords are " "used as variable/attribute/class/function name." msgstr "" -#: ../NEWS:35533 ../NEWS:39579 +#: ../NEWS:35576 ../NEWS:39622 msgid ":issue:`26182`: Fix a refleak in code that raises DeprecationWarning." msgstr "" -#: ../NEWS:35535 ../NEWS:39581 +#: ../NEWS:35578 ../NEWS:39624 msgid "" ":issue:`28721`: Fix asynchronous generators aclose() and athrow() to handle " "StopAsyncIteration propagation properly." msgstr "" -#: ../NEWS:35538 +#: ../NEWS:35581 msgid "" ":issue:`26110`: Speed-up method calls: add LOAD_METHOD and CALL_METHOD " "opcodes." msgstr "" -#: ../NEWS:35543 ../NEWS:38352 +#: ../NEWS:35586 ../NEWS:38395 msgid "" ":issue:`31499`: xml.etree: Fix a crash when a parser is part of a reference " "cycle." msgstr "" -#: ../NEWS:35546 ../NEWS:38074 +#: ../NEWS:35589 ../NEWS:38117 msgid ":issue:`31482`: ``random.seed()`` now works with bytes in version=1" msgstr "" -#: ../NEWS:35548 ../NEWS:38355 +#: ../NEWS:35591 ../NEWS:38398 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 "" -#: ../NEWS:35551 ../NEWS:38358 +#: ../NEWS:35594 ../NEWS:38401 msgid "" ":issue:`28556`: Speed improvements to the ``typing`` module. Original PRs " "by Ivan Levkivskyi and Mitar." msgstr "" -#: ../NEWS:35554 ../NEWS:38361 +#: ../NEWS:35597 ../NEWS:38404 msgid "" ":issue:`31544`: The C accelerator module of ElementTree ignored exceptions " "raised when looking up TreeBuilder target methods in XMLParser()." msgstr "" -#: ../NEWS:35557 ../NEWS:38364 +#: ../NEWS:35600 ../NEWS:38407 msgid "" ":issue:`31234`: socket.create_connection() now fixes manually a reference " "cycle: clear the variable storing the last exception on success." msgstr "" -#: ../NEWS:35560 ../NEWS:38367 +#: ../NEWS:35603 ../NEWS:38410 msgid ":issue:`31457`: LoggerAdapter objects can now be nested." msgstr "" -#: ../NEWS:35562 +#: ../NEWS:35605 msgid "" ":issue:`31431`: SSLContext.check_hostname now automatically sets SSLContext." "verify_mode to ssl.CERT_REQUIRED instead of failing with a ValueError." msgstr "" -#: ../NEWS:35566 +#: ../NEWS:35609 msgid "" ":issue:`31233`: socketserver.ThreadingMixIn now keeps a list of non-daemonic " "threads to wait until all these threads complete in server_close()." msgstr "" -#: ../NEWS:35569 +#: ../NEWS:35612 msgid "" ":issue:`28638`: Changed the implementation strategy for collections." "namedtuple() to substantially reduce the use of exec() in favor of " @@ -60868,68 +60937,68 @@ msgid "" "Hettinger.)" msgstr "" -#: ../NEWS:35580 ../NEWS:38369 +#: ../NEWS:35623 ../NEWS:38412 msgid "" ":issue:`31400`: Improves SSL error handling to avoid losing error numbers." msgstr "" -#: ../NEWS:35582 +#: ../NEWS:35625 msgid "" ":issue:`27629`: Make return types of SSLContext.wrap_bio() and SSLContext." "wrap_socket() customizable." msgstr "" -#: ../NEWS:35585 ../NEWS:38371 +#: ../NEWS:35628 ../NEWS:38414 msgid "" ":issue:`28958`: ssl.SSLContext() now uses OpenSSL error information when a " "context cannot be instantiated." msgstr "" -#: ../NEWS:35588 +#: ../NEWS:35631 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 "" -#: ../NEWS:35592 ../NEWS:38374 +#: ../NEWS:35635 ../NEWS:38417 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 "" -#: ../NEWS:35596 +#: ../NEWS:35639 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 "" -#: ../NEWS:35601 ../NEWS:38378 +#: ../NEWS:35644 ../NEWS:38421 msgid "" ":issue:`31178`: Fix string concatenation bug in rare error path in the " "subprocess module" msgstr "" -#: ../NEWS:35604 ../NEWS:38381 +#: ../NEWS:35647 ../NEWS:38424 msgid "" ":issue:`31350`: Micro-optimize :func:`asyncio._get_running_loop` to become " "up to 10% faster." msgstr "" -#: ../NEWS:35607 ../NEWS:38384 ../NEWS:42637 +#: ../NEWS:35650 ../NEWS:38427 ../NEWS:42680 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 "" -#: ../NEWS:35611 ../NEWS:38388 +#: ../NEWS:35654 ../NEWS:38431 msgid ":issue:`29136`: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3." msgstr "" -#: ../NEWS:35613 +#: ../NEWS:35656 msgid "" ":issue:`1198569`: ``string.Template`` subclasses can optionally define " "``braceidpattern`` if they want to specify different placeholder patterns " @@ -60937,64 +61006,64 @@ msgid "" "``idpattern``." msgstr "" -#: ../NEWS:35618 +#: ../NEWS:35661 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 "" -#: ../NEWS:35622 ../NEWS:38399 +#: ../NEWS:35665 ../NEWS:38442 msgid "" ":issue:`27144`: The ``map()`` and ``as_completed()`` iterators in " "``concurrent.futures`` now avoid keeping a reference to yielded objects." msgstr "" -#: ../NEWS:35625 +#: ../NEWS:35668 msgid "" ":issue:`31281`: Fix ``fileinput.FileInput(files, inplace=True)`` when " "``files`` contain ``pathlib.Path`` objects." msgstr "" -#: ../NEWS:35628 ../NEWS:38402 +#: ../NEWS:35671 ../NEWS:38445 msgid "" ":issue:`10746`: Fix ctypes producing wrong :pep:`3118` type codes for " "integer types." msgstr "" -#: ../NEWS:35631 +#: ../NEWS:35674 msgid "" ":issue:`27584`: ``AF_VSOCK`` has been added to the socket interface which " "allows communication between virtual machines and their host." msgstr "" -#: ../NEWS:35634 ../NEWS:38405 +#: ../NEWS:35677 ../NEWS:38448 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 "" -#: ../NEWS:35638 +#: ../NEWS:35681 msgid "" ":issue:`29741`: Update some methods in the _pyio module to also accept " "integer types. Patch by Oren Milman." msgstr "" -#: ../NEWS:35641 ../NEWS:38409 +#: ../NEWS:35684 ../NEWS:38452 msgid "" ":issue:`31249`: concurrent.futures: WorkItem.run() used by " "ThreadPoolExecutor now breaks a reference cycle between an exception object " "and the WorkItem object." msgstr "" -#: ../NEWS:35645 ../NEWS:38413 +#: ../NEWS:35688 ../NEWS:38456 msgid "" ":issue:`31247`: xmlrpc.server now explicitly breaks reference cycles when " "using sys.exc_info() in code handling exceptions." msgstr "" -#: ../NEWS:35648 +#: ../NEWS:35691 msgid "" ":issue:`23835`: configparser: reading defaults in the ``ConfigParser()`` " "constructor is now using ``read_dict()``, making its behavior consistent " @@ -61003,24 +61072,24 @@ msgid "" "Tocknell." msgstr "" -#: ../NEWS:35654 ../NEWS:37329 +#: ../NEWS:35697 ../NEWS:37372 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 "" -#: ../NEWS:35658 +#: ../NEWS:35701 msgid "" ":issue:`5001`: Many asserts in ``multiprocessing`` are now more informative, " "and some error types have been changed to more specific ones." msgstr "" -#: ../NEWS:35661 +#: ../NEWS:35704 msgid ":issue:`31109`: Convert zipimport to use Argument Clinic." msgstr "" -#: ../NEWS:35663 ../NEWS:38416 +#: ../NEWS:35706 ../NEWS:38459 msgid "" ":issue:`30102`: The ssl and hashlib modules now call " "OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The function detects " @@ -61028,19 +61097,19 @@ msgid "" "POWER8. Patch is based on research from Gustavo Serra Scalet." msgstr "" -#: ../NEWS:35668 +#: ../NEWS:35711 msgid "" ":issue:`18966`: Non-daemonic threads created by a multiprocessing.Process " "are now joined on child exit." msgstr "" -#: ../NEWS:35671 +#: ../NEWS:35714 msgid "" ":issue:`31183`: ``dis`` now works with asynchronous generator and coroutine " "objects. Patch by George Collins based on diagnosis by Luciano Ramalho." msgstr "" -#: ../NEWS:35674 +#: ../NEWS:35717 msgid "" ":issue:`5001`: There are a number of uninformative asserts in the " "``multiprocessing`` module, as noted in issue 5001. This change fixes two of " @@ -61053,29 +61122,29 @@ msgid "" "Smith (drallensmith on github)." msgstr "" -#: ../NEWS:35684 ../NEWS:38421 +#: ../NEWS:35727 ../NEWS:38464 msgid ":issue:`31185`: Fixed miscellaneous errors in asyncio speedup module." msgstr "" -#: ../NEWS:35686 +#: ../NEWS:35729 msgid "" ":issue:`31151`: socketserver.ForkingMixIn.server_close() now waits until all " "child processes completed to prevent leaking zombie processes." msgstr "" -#: ../NEWS:35689 +#: ../NEWS:35732 msgid "" ":issue:`31072`: Add an ``include_file`` parameter to ``zipapp." "create_archive()``" msgstr "" -#: ../NEWS:35692 +#: ../NEWS:35735 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 "" -#: ../NEWS:35695 ../NEWS:38423 +#: ../NEWS:35738 ../NEWS:38466 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 " @@ -61083,126 +61152,126 @@ msgid "" "and scale attributes to help the garbage collector to destroy all widgets." msgstr "" -#: ../NEWS:35701 ../NEWS:38429 +#: ../NEWS:35744 ../NEWS:38472 msgid "" ":issue:`31107`: Fix ``copyreg._slotnames()`` mangled attribute calculation " "for classes whose name begins with an underscore. Patch by Shane Harvey." msgstr "" -#: ../NEWS:35704 +#: ../NEWS:35747 msgid "" ":issue:`31080`: Allow ``logging.config.fileConfig`` to accept kwargs and/or " "args." msgstr "" -#: ../NEWS:35707 +#: ../NEWS:35750 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 "" -#: ../NEWS:35711 ../NEWS:38432 +#: ../NEWS:35754 ../NEWS:38475 msgid ":issue:`31061`: Fixed a crash when using asyncio and threads." msgstr "" -#: ../NEWS:35713 +#: ../NEWS:35756 msgid "" ":issue:`30987`: Added support for CAN ISO-TP protocol in the socket module." msgstr "" -#: ../NEWS:35715 +#: ../NEWS:35758 msgid "" ":issue:`30522`: Added a ``setStream`` method to ``logging.StreamHandler`` to " "allow the stream to be set after creation." msgstr "" -#: ../NEWS:35718 ../NEWS:38434 +#: ../NEWS:35761 ../NEWS:38477 msgid "" ":issue:`30502`: Fix handling of long oids in ssl. Based on patch by " "Christian Heimes." msgstr "" -#: ../NEWS:35721 +#: ../NEWS:35764 msgid ":issue:`5288`: Support tzinfo objects with sub-minute offsets." msgstr "" -#: ../NEWS:35723 +#: ../NEWS:35766 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 "" -#: ../NEWS:35727 +#: ../NEWS:35770 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 "" -#: ../NEWS:35731 ../NEWS:38444 ../NEWS:42738 +#: ../NEWS:35774 ../NEWS:38487 ../NEWS:42781 msgid "" ":issue:`29403`: Fix ``unittest.mock``'s autospec to not fail on method-bound " "builtin functions. Patch by Aaron Gallagher." msgstr "" -#: ../NEWS:35734 ../NEWS:38447 ../NEWS:42741 +#: ../NEWS:35777 ../NEWS:38490 ../NEWS:42784 msgid ":issue:`30961`: Fix decrementing a borrowed reference in tracemalloc." msgstr "" -#: ../NEWS:35736 +#: ../NEWS:35779 msgid "" ":issue:`19896`: Fix multiprocessing.sharedctypes to recognize typecodes " "``'q'`` and ``'Q'``." msgstr "" -#: ../NEWS:35739 +#: ../NEWS:35782 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 "" -#: ../NEWS:35742 ../NEWS:38449 +#: ../NEWS:35785 ../NEWS:38492 msgid "" ":issue:`25684`: Change ``ttk.OptionMenu`` radiobuttons to be unique across " "instances of ``OptionMenu``." msgstr "" -#: ../NEWS:35745 ../NEWS:38452 ../NEWS:42743 +#: ../NEWS:35788 ../NEWS:38495 ../NEWS:42786 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 "" -#: ../NEWS:35749 ../NEWS:38456 ../NEWS:42747 +#: ../NEWS:35792 ../NEWS:38499 ../NEWS:42790 msgid "" ":issue:`29854`: Fix segfault in readline when using readline's history-size " "option. Patch by Nir Soffer." msgstr "" -#: ../NEWS:35752 +#: ../NEWS:35795 msgid "" ":issue:`30794`: Added multiprocessing.Process.kill method to terminate using " "the SIGKILL signal on Unix." msgstr "" -#: ../NEWS:35755 ../NEWS:38459 +#: ../NEWS:35798 ../NEWS:38502 msgid ":issue:`30319`: socket.close() now ignores ECONNRESET error." msgstr "" -#: ../NEWS:35757 ../NEWS:38461 +#: ../NEWS:35800 ../NEWS:38504 msgid "" ":issue:`30828`: Fix out of bounds write in ``asyncio.CFuture." "remove_done_callback()``." msgstr "" -#: ../NEWS:35760 +#: ../NEWS:35803 msgid ":issue:`30302`: Use keywords in the ``repr`` of ``datetime.timedelta``." msgstr "" -#: ../NEWS:35762 ../NEWS:38464 ../NEWS:42750 +#: ../NEWS:35805 ../NEWS:38507 ../NEWS:42793 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(), " @@ -61211,19 +61280,19 @@ msgid "" "interval, therefore disabling the timer instead of (re-)scheduling it." msgstr "" -#: ../NEWS:35769 ../NEWS:38471 ../NEWS:42757 +#: ../NEWS:35812 ../NEWS:38514 ../NEWS:42800 msgid "" ":issue:`30441`: Fix bug when modifying os.environ while iterating over it" msgstr "" -#: ../NEWS:35771 +#: ../NEWS:35814 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 "" -#: ../NEWS:35774 +#: ../NEWS:35817 msgid "" ":issue:`29293`: Add missing parameter \"n\" on multiprocessing.Condition." "notify(). The doc claims multiprocessing.Condition behaves like threading." @@ -61232,279 +61301,279 @@ msgid "" "accepts." msgstr "" -#: ../NEWS:35780 ../NEWS:38473 ../NEWS:42759 +#: ../NEWS:35823 ../NEWS:38516 ../NEWS:42802 msgid "" ":issue:`30532`: Fix email header value parser dropping folding white space " "in certain cases." msgstr "" -#: ../NEWS:35783 +#: ../NEWS:35826 msgid "" ":issue:`30596`: Add a ``close()`` method to ``multiprocessing.Process``." msgstr "" -#: ../NEWS:35785 ../NEWS:38395 +#: ../NEWS:35828 ../NEWS:38438 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 "" -#: ../NEWS:35789 ../NEWS:39202 ../NEWS:42762 +#: ../NEWS:35832 ../NEWS:39245 ../NEWS:42805 msgid ":issue:`29169`: Update zlib to 1.2.11." msgstr "" -#: ../NEWS:35791 ../NEWS:38437 ../NEWS:42650 +#: ../NEWS:35834 ../NEWS:38480 ../NEWS:42693 msgid "" ":issue:`30119`: ftplib.FTP.putline() now throws ValueError on commands that " "contains CR or LF. Patch by Donghee Na." msgstr "" -#: ../NEWS:35794 ../NEWS:38476 ../NEWS:42764 +#: ../NEWS:35837 ../NEWS:38519 ../NEWS:42807 msgid "" ":issue:`30879`: os.listdir() and os.scandir() now emit bytes names when " "called with bytes-like argument." msgstr "" -#: ../NEWS:35797 ../NEWS:38479 ../NEWS:42767 +#: ../NEWS:35840 ../NEWS:38522 ../NEWS:42810 msgid "" ":issue:`30746`: Prohibited the '=' character in environment variable names " "in ``os.putenv()`` and ``os.spawn*()``." msgstr "" -#: ../NEWS:35800 +#: ../NEWS:35843 msgid "" ":issue:`30664`: The description of a unittest subtest now preserves the " "order of keyword arguments of TestCase.subTest()." msgstr "" -#: ../NEWS:35803 +#: ../NEWS:35846 msgid "" ":issue:`21071`: struct.Struct.format type is now :class:`str` instead of :" "class:`bytes`." msgstr "" -#: ../NEWS:35806 ../NEWS:38390 +#: ../NEWS:35849 ../NEWS:38433 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 "" -#: ../NEWS:35811 ../NEWS:38482 ../NEWS:42770 +#: ../NEWS:35854 ../NEWS:38525 ../NEWS:42813 msgid "" ":issue:`29755`: Fixed the lgettext() family of functions in the gettext " "module. They now always return bytes." msgstr "" -#: ../NEWS:35814 ../NEWS:38815 +#: ../NEWS:35857 ../NEWS:38858 msgid "" ":issue:`30616`: Functional API of enum allows to create empty enums. Patched " "by Donghee Na" msgstr "" -#: ../NEWS:35817 ../NEWS:38818 +#: ../NEWS:35860 ../NEWS:38861 msgid "" ":issue:`30038`: Fix race condition between signal delivery and wakeup file " "descriptor. Patch by Nathaniel Smith." msgstr "" -#: ../NEWS:35820 ../NEWS:38821 +#: ../NEWS:35863 ../NEWS:38864 msgid "" ":issue:`23894`: lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings." msgstr "" -#: ../NEWS:35822 +#: ../NEWS:35865 msgid "" ":issue:`24744`: pkgutil.walk_packages function now raises ValueError if " "*path* is a string. Patch by Sanyam Khurana." msgstr "" -#: ../NEWS:35825 ../NEWS:42787 +#: ../NEWS:35868 ../NEWS:42830 msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup." msgstr "" -#: ../NEWS:35827 +#: ../NEWS:35870 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 "" -#: ../NEWS:35831 ../NEWS:38842 ../NEWS:42789 +#: ../NEWS:35874 ../NEWS:38885 ../NEWS:42832 msgid "" ":issue:`28994`: The traceback no longer displayed for SystemExit raised in a " "callback registered by atexit." msgstr "" -#: ../NEWS:35834 ../NEWS:38845 ../NEWS:42792 +#: ../NEWS:35877 ../NEWS:38888 ../NEWS:42835 msgid "" ":issue:`30508`: Don't log exceptions if Task/Future \"cancel()\" method was " "called." msgstr "" -#: ../NEWS:35837 +#: ../NEWS:35880 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 "" -#: ../NEWS:35841 +#: ../NEWS:35884 msgid "" ":issue:`11822`: The dis.dis() function now is able to disassemble nested " "code objects." msgstr "" -#: ../NEWS:35844 +#: ../NEWS:35887 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 "" -#: ../NEWS:35848 ../NEWS:38440 +#: ../NEWS:35891 ../NEWS:38483 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 "" -#: ../NEWS:35852 ../NEWS:38848 ../NEWS:42795 +#: ../NEWS:35895 ../NEWS:38891 ../NEWS:42838 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 "" -#: ../NEWS:35856 ../NEWS:38837 +#: ../NEWS:35899 ../NEWS:38880 msgid "" ":issue:`30605`: re.compile() no longer raises a BytesWarning when compiling " "a bytes instance with misplaced inline modifier. Patch by Roy Williams." msgstr "" -#: ../NEWS:35859 ../NEWS:38852 ../NEWS:42799 +#: ../NEWS:35902 ../NEWS:38895 ../NEWS:42842 msgid "" ":issue:`29870`: Fix ssl sockets leaks when connection is aborted in asyncio/" "ssl implementation. Patch by Michaël Sghaïer." msgstr "" -#: ../NEWS:35862 ../NEWS:38855 ../NEWS:42802 +#: ../NEWS:35905 ../NEWS:38898 ../NEWS:42845 msgid "" ":issue:`29743`: Closing transport during handshake process leaks open " "socket. Patch by Nikolay Kim" msgstr "" -#: ../NEWS:35865 ../NEWS:38858 ../NEWS:42805 +#: ../NEWS:35908 ../NEWS:38901 ../NEWS:42848 msgid "" ":issue:`27585`: Fix waiter cancellation in asyncio.Lock. Patch by Mathieu " "Sornay." msgstr "" -#: ../NEWS:35868 +#: ../NEWS:35911 msgid "" ":issue:`30014`: modify() method of poll(), epoll() and devpoll() based " "classes of selectors module is around 10% faster. Patch by Giampaolo " "Rodola'." msgstr "" -#: ../NEWS:35871 ../NEWS:38861 ../NEWS:42808 +#: ../NEWS:35914 ../NEWS:38904 ../NEWS:42851 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 "" -#: ../NEWS:35875 +#: ../NEWS:35918 msgid "" ":issue:`30463`: Addded empty __slots__ to abc.ABC. This allows subclassers " "to deny __dict__ and __weakref__ creation. Patch by Aaron Hall." msgstr "" -#: ../NEWS:35878 +#: ../NEWS:35921 msgid ":issue:`30520`: Loggers are now pickleable." msgstr "" -#: ../NEWS:35880 ../NEWS:38872 +#: ../NEWS:35923 ../NEWS:38915 msgid "" ":issue:`30557`: faulthandler now correctly filters and displays exception " "codes on Windows" msgstr "" -#: ../NEWS:35883 +#: ../NEWS:35926 msgid "" ":issue:`30526`: Add TextIOWrapper.reconfigure() and a TextIOWrapper." "write_through attribute." msgstr "" -#: ../NEWS:35886 +#: ../NEWS:35929 msgid "" ":issue:`30245`: Fix possible overflow when organize struct.pack_into error " "message. Patch by Yuan Liu." msgstr "" -#: ../NEWS:35889 ../NEWS:38875 ../NEWS:42812 +#: ../NEWS:35932 ../NEWS:38918 ../NEWS:42855 msgid "" ":issue:`30378`: Fix the problem that logging.handlers.SysLogHandler cannot " "handle IPv6 addresses." msgstr "" -#: ../NEWS:35892 +#: ../NEWS:35935 msgid ":issue:`16500`: Allow registering at-fork handlers." msgstr "" -#: ../NEWS:35894 +#: ../NEWS:35937 msgid "" ":issue:`30470`: Deprecate invalid ctypes call protection on Windows. Patch " "by Mariatta Wijaya." msgstr "" -#: ../NEWS:35897 ../NEWS:38881 ../NEWS:42818 +#: ../NEWS:35940 ../NEWS:38924 ../NEWS:42861 msgid "" ":issue:`30414`: multiprocessing.Queue._feed background running thread do not " "break from main loop on exception." msgstr "" -#: ../NEWS:35900 ../NEWS:38884 ../NEWS:42821 +#: ../NEWS:35943 ../NEWS:38927 ../NEWS:42864 msgid "" ":issue:`30003`: Fix handling escape characters in HZ codec. Based on patch " "by Ma Lin." msgstr "" -#: ../NEWS:35903 ../NEWS:38826 ../NEWS:42780 +#: ../NEWS:35946 ../NEWS:38869 ../NEWS:42823 msgid "" ":issue:`30149`: inspect.signature() now supports callables with variable-" "argument parameters wrapped with partialmethod. Patch by Donghee Na." msgstr "" -#: ../NEWS:35907 +#: ../NEWS:35950 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 "" -#: ../NEWS:35911 ../NEWS:38887 ../NEWS:42824 +#: ../NEWS:35954 ../NEWS:38930 ../NEWS:42867 msgid "" ":issue:`30301`: Fix AttributeError when using SimpleQueue.empty() under " "*spawn* and *forkserver* start methods." msgstr "" -#: ../NEWS:35914 ../NEWS:38894 ../NEWS:42831 +#: ../NEWS:35957 ../NEWS:38937 ../NEWS:42874 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 "" -#: ../NEWS:35918 ../NEWS:38890 ../NEWS:42827 +#: ../NEWS:35961 ../NEWS:38933 ../NEWS:42870 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 "" -#: ../NEWS:35922 +#: ../NEWS:35965 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 " @@ -61512,38 +61581,38 @@ msgid "" "longer can use attribute access to access items of these dictionaries." msgstr "" -#: ../NEWS:35927 +#: ../NEWS:35970 msgid "" ":issue:`9850`: The :mod:`macpath` is now deprecated and will be removed in " "Python 3.8." msgstr "" -#: ../NEWS:35930 +#: ../NEWS:35973 msgid "" ":issue:`30299`: Compiling regular expression in debug mode on CPython now " "displays the compiled bytecode in human readable form." msgstr "" -#: ../NEWS:35933 ../NEWS:38898 ../NEWS:42835 +#: ../NEWS:35976 ../NEWS:38941 ../NEWS:42878 msgid "" ":issue:`30048`: Fixed ``Task.cancel()`` can be ignored when the task is " "running coroutine and the coroutine returned without any more ``await``." msgstr "" -#: ../NEWS:35936 ../NEWS:38901 +#: ../NEWS:35979 ../NEWS:38944 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 "" -#: ../NEWS:35940 +#: ../NEWS:35983 msgid "" ":issue:`30340`: Enhanced regular expressions optimization. This increased " "the performance of matching some patterns up to 25 times." msgstr "" -#: ../NEWS:35943 ../NEWS:38905 +#: ../NEWS:35986 ../NEWS:38948 msgid "" ":issue:`30298`: Weaken the condition of deprecation warnings for inline " "modifiers. Now allowed several subsequential inline modifiers at the start " @@ -61552,105 +61621,105 @@ msgid "" "i) (?s)...'``)." msgstr "" -#: ../NEWS:35949 +#: ../NEWS:35992 msgid "" ":issue:`30285`: Optimized case-insensitive matching and searching of regular " "expressions." msgstr "" -#: ../NEWS:35952 ../NEWS:38911 ../NEWS:42838 +#: ../NEWS:35995 ../NEWS:38954 ../NEWS:42881 msgid "" ":issue:`29990`: Fix range checking in GB18030 decoder. Original patch by Ma " "Lin." msgstr "" -#: ../NEWS:35955 +#: ../NEWS:35998 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 "" -#: ../NEWS:35959 ../NEWS:38917 ../NEWS:42844 +#: ../NEWS:36002 ../NEWS:38960 ../NEWS:42887 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 "" -#: ../NEWS:35963 +#: ../NEWS:36006 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 "" -#: ../NEWS:35967 ../NEWS:38921 ../NEWS:42848 +#: ../NEWS:36010 ../NEWS:38964 ../NEWS:42891 msgid "" ":issue:`30185`: Avoid KeyboardInterrupt tracebacks in forkserver helper " "process when Ctrl-C is received." msgstr "" -#: ../NEWS:35970 +#: ../NEWS:36013 msgid "" ":issue:`30103`: binascii.b2a_uu() and uu.encode() now support using ``'`'`` " "as zero instead of space." msgstr "" -#: ../NEWS:35973 ../NEWS:38924 ../NEWS:42851 +#: ../NEWS:36016 ../NEWS:38967 ../NEWS:42894 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 "" -#: ../NEWS:35977 ../NEWS:38928 ../NEWS:42855 +#: ../NEWS:36020 ../NEWS:38971 ../NEWS:42898 msgid ":issue:`30205`: Fix getsockname() for unbound AF_UNIX sockets on Linux." msgstr "" -#: ../NEWS:35979 +#: ../NEWS:36022 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 "" -#: ../NEWS:35983 +#: ../NEWS:36026 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 "" -#: ../NEWS:35987 +#: ../NEWS:36030 msgid ":issue:`30101`: Add support for curses.A_ITALIC." msgstr "" -#: ../NEWS:35989 ../NEWS:38865 +#: ../NEWS:36032 ../NEWS:38908 msgid "" ":issue:`29822`: inspect.isabstract() now works during __init_subclass__. " "Patch by Nate Soares." msgstr "" -#: ../NEWS:35992 ../NEWS:38878 ../NEWS:42815 +#: ../NEWS:36035 ../NEWS:38921 ../NEWS:42858 msgid "" ":issue:`29960`: Preserve generator state when _random.Random.setstate() " "raises an exception. Patch by Bryan Olson." msgstr "" -#: ../NEWS:35995 ../NEWS:38930 ../NEWS:42857 +#: ../NEWS:36038 ../NEWS:38973 ../NEWS:42900 msgid "" ":issue:`30070`: Fixed leaks and crashes in errors handling in the parser " "module." msgstr "" -#: ../NEWS:35998 +#: ../NEWS:36041 msgid "" ":issue:`22352`: Column widths in the output of dis.dis() are now adjusted " "for large line numbers and instruction offsets." msgstr "" -#: ../NEWS:36001 ../NEWS:38933 ../NEWS:42860 +#: ../NEWS:36044 ../NEWS:38976 ../NEWS:42903 msgid "" ":issue:`30061`: Fixed crashes in IOBase methods __next__() and readlines() " "when readline() or __next__() respectively return non-sizeable object. Fixed " @@ -61658,453 +61727,453 @@ msgid "" "PySequence_Size(), or PyMapping_Size()." msgstr "" -#: ../NEWS:36006 +#: ../NEWS:36049 msgid "" ":issue:`30218`: Fix PathLike support for shutil.unpack_archive. Patch by " "Jelle Zijlstra." msgstr "" -#: ../NEWS:36009 +#: ../NEWS:36052 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 "" -#: ../NEWS:36012 ../NEWS:38942 ../NEWS:42865 +#: ../NEWS:36055 ../NEWS:38985 ../NEWS:42908 msgid "" ":issue:`30068`: _io._IOBase.readlines will check if it's closed first when " "hint is present." msgstr "" -#: ../NEWS:36015 ../NEWS:38945 ../NEWS:42868 +#: ../NEWS:36058 ../NEWS:38988 ../NEWS:42911 msgid "" ":issue:`29694`: Fixed race condition in pathlib mkdir with flags " "parents=True. Patch by Armin Rigo." msgstr "" -#: ../NEWS:36018 ../NEWS:38948 ../NEWS:42871 +#: ../NEWS:36061 ../NEWS:38991 ../NEWS:42914 msgid "" ":issue:`29692`: Fixed arbitrary unchaining of RuntimeError exceptions in " "contextlib.contextmanager. Patch by Siddharth Velankar." msgstr "" -#: ../NEWS:36021 +#: ../NEWS:36064 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 "" -#: ../NEWS:36025 ../NEWS:38938 +#: ../NEWS:36068 ../NEWS:38981 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 "" -#: ../NEWS:36029 ../NEWS:38951 ../NEWS:42874 +#: ../NEWS:36072 ../NEWS:38994 ../NEWS:42917 msgid "" ":issue:`29998`: Pickling and copying ImportError now preserves name and path " "attributes." msgstr "" -#: ../NEWS:36032 +#: ../NEWS:36075 msgid ":issue:`29995`: re.escape() now escapes only regex special characters." msgstr "" -#: ../NEWS:36034 +#: ../NEWS:36077 msgid "" ":issue:`29962`: Add math.remainder operation, implementing remainder as " "specified in IEEE 754." msgstr "" -#: ../NEWS:36037 +#: ../NEWS:36080 msgid "" ":issue:`29649`: Improve struct.pack_into() exception messages for problems " "with the buffer size and offset. Patch by Andrew Nester." msgstr "" -#: ../NEWS:36040 +#: ../NEWS:36083 msgid "" ":issue:`29654`: Support If-Modified-Since HTTP header (browser cache). " "Patch by Pierre Quentel." msgstr "" -#: ../NEWS:36043 ../NEWS:38834 ../NEWS:42784 +#: ../NEWS:36086 ../NEWS:38877 ../NEWS:42827 msgid "" ":issue:`29931`: Fixed comparison check for ipaddress.ip_interface objects. " "Patch by Sanjay Sundaresan." msgstr "" -#: ../NEWS:36046 ../NEWS:38954 +#: ../NEWS:36089 ../NEWS:38997 msgid "" ":issue:`29953`: Fixed memory leaks in the replace() method of datetime and " "time objects when pass out of bound fold argument." msgstr "" -#: ../NEWS:36049 ../NEWS:38957 ../NEWS:42877 +#: ../NEWS:36092 ../NEWS:39000 ../NEWS:42920 msgid "" ":issue:`29942`: Fix a crash in itertools.chain.from_iterable when " "encountering long runs of empty iterables." msgstr "" -#: ../NEWS:36052 +#: ../NEWS:36095 msgid ":issue:`10030`: Sped up reading encrypted ZIP files by 2 times." msgstr "" -#: ../NEWS:36054 +#: ../NEWS:36097 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 "" -#: ../NEWS:36058 ../NEWS:38960 ../NEWS:42880 +#: ../NEWS:36101 ../NEWS:39003 ../NEWS:42923 msgid "" ":issue:`27863`: Fixed multiple crashes in ElementTree caused by race " "conditions and wrong types." msgstr "" -#: ../NEWS:36061 +#: ../NEWS:36104 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 "" -#: ../NEWS:36064 ../NEWS:38963 ../NEWS:42883 +#: ../NEWS:36107 ../NEWS:39006 ../NEWS:42926 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 "" -#: ../NEWS:36068 ../NEWS:38823 ../NEWS:42777 +#: ../NEWS:36111 ../NEWS:38866 ../NEWS:42820 msgid "" ":issue:`23890`: unittest.TestCase.assertRaises() now manually breaks a " "reference cycle to not keep objects alive longer than expected." msgstr "" -#: ../NEWS:36071 +#: ../NEWS:36114 msgid "" ":issue:`29901`: The zipapp module now supports general path-like objects, " "not just pathlib.Path." msgstr "" -#: ../NEWS:36074 ../NEWS:38967 ../NEWS:42887 +#: ../NEWS:36117 ../NEWS:39010 ../NEWS:42930 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 "" -#: ../NEWS:36077 ../NEWS:38970 ../NEWS:42890 +#: ../NEWS:36120 ../NEWS:39013 ../NEWS:42933 msgid "" ":issue:`29861`: Release references to tasks, their arguments and their " "results as soon as they are finished in multiprocessing.Pool." msgstr "" -#: ../NEWS:36080 +#: ../NEWS:36123 msgid "" ":issue:`19930`: The mode argument of os.makedirs() no longer affects the " "file permission bits of newly created intermediate-level directories." msgstr "" -#: ../NEWS:36083 ../NEWS:38973 ../NEWS:42893 +#: ../NEWS:36126 ../NEWS:39016 ../NEWS:42936 msgid "" ":issue:`29884`: faulthandler: Restore the old sigaltstack during teardown. " "Patch by Christophe Zeitouny." msgstr "" -#: ../NEWS:36086 ../NEWS:38976 ../NEWS:42896 +#: ../NEWS:36129 ../NEWS:39019 ../NEWS:42939 msgid "" ":issue:`25455`: Fixed crashes in repr of recursive buffered file-like " "objects." msgstr "" -#: ../NEWS:36088 ../NEWS:38978 ../NEWS:42898 +#: ../NEWS:36131 ../NEWS:39021 ../NEWS:42941 msgid "" ":issue:`29800`: Fix crashes in partial.__repr__ if the keys of partial." "keywords are not strings. Patch by Michael Seifert." msgstr "" -#: ../NEWS:36091 ../NEWS:38984 ../NEWS:42904 +#: ../NEWS:36134 ../NEWS:39027 ../NEWS:42947 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 "" -#: ../NEWS:36095 +#: ../NEWS:36138 msgid "" ":issue:`28692`: Using non-integer value for selecting a plural form in " "gettext is now deprecated." msgstr "" -#: ../NEWS:36098 +#: ../NEWS:36141 msgid "" ":issue:`26121`: Use C library implementation for math functions erf() and " "erfc()." msgstr "" -#: ../NEWS:36101 +#: ../NEWS:36144 msgid "" ":issue:`29619`: os.stat() and os.DirEntry.inode() now convert inode (st_ino) " "using unsigned integers." msgstr "" -#: ../NEWS:36104 +#: ../NEWS:36147 msgid "" ":issue:`28298`: Fix a bug that prevented array 'Q', 'L' and 'I' from " "accepting big intables (objects that have __int__) as elements." msgstr "" -#: ../NEWS:36107 +#: ../NEWS:36150 msgid "" ":issue:`29645`: Speed up importing the webbrowser module. webbrowser." "register() is now thread-safe." msgstr "" -#: ../NEWS:36110 ../NEWS:38992 +#: ../NEWS:36153 ../NEWS:39035 msgid "" ":issue:`28231`: The zipfile module now accepts path-like objects for " "external paths." msgstr "" -#: ../NEWS:36113 ../NEWS:38995 +#: ../NEWS:36156 ../NEWS:39038 msgid "" ":issue:`26915`: index() and count() methods of collections.abc.Sequence now " "check identity before checking equality when do comparisons." msgstr "" -#: ../NEWS:36116 +#: ../NEWS:36159 msgid ":issue:`28682`: Added support for bytes paths in os.fwalk()." msgstr "" -#: ../NEWS:36118 +#: ../NEWS:36161 msgid "" ":issue:`29728`: Add new :const:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) " "constant. Patch by Nathaniel J. Smith." msgstr "" -#: ../NEWS:36121 ../NEWS:39204 +#: ../NEWS:36164 ../NEWS:39247 msgid "" ":issue:`29623`: Allow use of path-like object as a single argument in " "ConfigParser.read(). Patch by David Ellis." msgstr "" -#: ../NEWS:36124 +#: ../NEWS:36167 msgid "" ":issue:`9303`: Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda." msgstr "" -#: ../NEWS:36126 ../NEWS:39207 +#: ../NEWS:36169 ../NEWS:39250 msgid "" ":issue:`28963`: Fix out of bound iteration in asyncio.Future." "remove_done_callback implemented in C." msgstr "" -#: ../NEWS:36129 ../NEWS:39210 ../NEWS:42916 +#: ../NEWS:36172 ../NEWS:39253 ../NEWS:42959 msgid "" ":issue:`29704`: asyncio.subprocess.SubprocessStreamProtocol no longer closes " "before all pipes are closed." msgstr "" -#: ../NEWS:36132 ../NEWS:39213 +#: ../NEWS:36175 ../NEWS:39256 msgid "" ":issue:`29271`: Fix Task.current_task and Task.all_tasks implemented in C to " "accept None argument as their pure Python implementation." msgstr "" -#: ../NEWS:36135 ../NEWS:39216 ../NEWS:42919 +#: ../NEWS:36178 ../NEWS:39259 ../NEWS:42962 msgid "" ":issue:`29703`: Fix asyncio to support instantiation of new event loops in " "child processes." msgstr "" -#: ../NEWS:36138 ../NEWS:38998 ../NEWS:42912 +#: ../NEWS:36181 ../NEWS:39041 ../NEWS:42955 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 "" -#: ../NEWS:36142 +#: ../NEWS:36185 msgid "" ":issue:`7769`: Method register_function() of xmlrpc.server." "SimpleXMLRPCDispatcher and its subclasses can now be used as a decorator." msgstr "" -#: ../NEWS:36146 ../NEWS:39219 ../NEWS:42922 +#: ../NEWS:36189 ../NEWS:39262 ../NEWS:42965 msgid "" ":issue:`29376`: Fix assertion error in threading._DummyThread.is_alive()." msgstr "" -#: ../NEWS:36148 ../NEWS:39221 +#: ../NEWS:36191 ../NEWS:39264 msgid "" ":issue:`28624`: Add a test that checks that cwd parameter of Popen() accepts " "PathLike objects. Patch by Sayan Chowdhury." msgstr "" -#: ../NEWS:36151 ../NEWS:39224 +#: ../NEWS:36194 ../NEWS:39267 msgid "" ":issue:`28518`: Start a transaction implicitly before a DML statement. Patch " "by Aviv Palivoda." msgstr "" -#: ../NEWS:36154 ../NEWS:38981 ../NEWS:42901 +#: ../NEWS:36197 ../NEWS:39024 ../NEWS:42944 msgid "" ":issue:`29742`: get_extra_info() raises exception if get called on closed " "ssl transport. Patch by Nikolay Kim." msgstr "" -#: ../NEWS:36157 +#: ../NEWS:36200 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 "" -#: ../NEWS:36161 ../NEWS:39227 ../NEWS:42930 +#: ../NEWS:36204 ../NEWS:39270 ../NEWS:42973 msgid "" ":issue:`29532`: Altering a kwarg dictionary passed to functools.partial() no " "longer affects a partial object after creation." msgstr "" -#: ../NEWS:36164 ../NEWS:39230 ../NEWS:42924 +#: ../NEWS:36207 ../NEWS:39273 ../NEWS:42967 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 "" -#: ../NEWS:36167 +#: ../NEWS:36210 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 "" -#: ../NEWS:36171 +#: ../NEWS:36214 msgid "" ":issue:`29576`: Improve some deprecations in importlib. Some deprecated " "methods now emit DeprecationWarnings and have better descriptive messages." msgstr "" -#: ../NEWS:36174 +#: ../NEWS:36217 msgid "" ":issue:`29534`: Fixed different behaviour of Decimal.from_float() for " "_decimal and _pydecimal. Thanks Andrew Nester." msgstr "" -#: ../NEWS:36177 +#: ../NEWS:36220 msgid "" ":issue:`10379`: locale.format_string now supports the 'monetary' keyword " "argument, and locale.format is deprecated." msgstr "" -#: ../NEWS:36180 +#: ../NEWS:36223 msgid "" ":issue:`29851`: importlib.reload() now raises ModuleNotFoundError if the " "module lacks a spec." msgstr "" -#: ../NEWS:36183 ../NEWS:39233 ../NEWS:42933 +#: ../NEWS:36226 ../NEWS:39276 ../NEWS:42976 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 "" -#: ../NEWS:36187 ../NEWS:39237 ../NEWS:42937 +#: ../NEWS:36230 ../NEWS:39280 ../NEWS:42980 msgid "" ":issue:`29100`: Fix datetime.fromtimestamp() regression introduced in Python " "3.6.0: check minimum and maximum years." msgstr "" -#: ../NEWS:36190 ../NEWS:39243 ../NEWS:42943 +#: ../NEWS:36233 ../NEWS:39286 ../NEWS:42986 msgid ":issue:`29416`: Prevent infinite loop in pathlib.Path.mkdir" msgstr "" -#: ../NEWS:36192 ../NEWS:39245 ../NEWS:42945 +#: ../NEWS:36235 ../NEWS:39288 ../NEWS:42988 msgid "" ":issue:`29444`: Fixed out-of-bounds buffer access in the group() method of " "the match object. Based on patch by WGH." msgstr "" -#: ../NEWS:36195 +#: ../NEWS:36238 msgid "" ":issue:`29377`: Add WrapperDescriptorType, MethodWrapperType, and " "MethodDescriptorType built-in types to types module. Original patch by " "Manuel Krebber." msgstr "" -#: ../NEWS:36199 +#: ../NEWS:36242 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 "" -#: ../NEWS:36202 +#: ../NEWS:36245 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 "" -#: ../NEWS:36206 +#: ../NEWS:36249 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 "" -#: ../NEWS:36209 ../NEWS:39248 ../NEWS:42948 +#: ../NEWS:36252 ../NEWS:39291 ../NEWS:42991 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 "" -#: ../NEWS:36212 ../NEWS:39251 ../NEWS:42951 +#: ../NEWS:36255 ../NEWS:39294 ../NEWS:42994 msgid "" ":issue:`29290`: Fix a regression in argparse that help messages would wrap " "at non-breaking spaces." msgstr "" -#: ../NEWS:36215 ../NEWS:39254 ../NEWS:42954 +#: ../NEWS:36258 ../NEWS:39297 ../NEWS:42997 msgid ":issue:`28735`: Fixed the comparison of mock.MagickMock with mock.ANY." msgstr "" -#: ../NEWS:36217 +#: ../NEWS:36260 msgid ":issue:`29197`: Removed deprecated function ntpath.splitunc()." msgstr "" -#: ../NEWS:36219 +#: ../NEWS:36262 msgid "" ":issue:`29210`: Removed support of deprecated argument \"exclude\" in " "tarfile.TarFile.add()." msgstr "" -#: ../NEWS:36222 ../NEWS:39259 ../NEWS:42958 +#: ../NEWS:36265 ../NEWS:39302 ../NEWS:43001 msgid "" ":issue:`29219`: Fixed infinite recursion in the repr of uninitialized ctypes." "CDLL instances." msgstr "" -#: ../NEWS:36225 +#: ../NEWS:36268 msgid ":issue:`29192`: Removed deprecated features in the http.cookies module." msgstr "" -#: ../NEWS:36227 +#: ../NEWS:36270 msgid "" ":issue:`29193`: A format string argument for string.Formatter.format() is " "now positional-only." msgstr "" -#: ../NEWS:36230 +#: ../NEWS:36273 msgid "" ":issue:`29195`: Removed support of deprecated undocumented keyword arguments " "in methods of regular expression objects." msgstr "" -#: ../NEWS:36233 ../NEWS:39264 ../NEWS:42961 +#: ../NEWS:36276 ../NEWS:39307 ../NEWS:43004 msgid "" ":issue:`28969`: Fixed race condition in C implementation of functools." "lru_cache. KeyError could be raised when cached function with full cache was " @@ -62112,100 +62181,100 @@ msgid "" "arguments." msgstr "" -#: ../NEWS:36238 +#: ../NEWS:36281 msgid "" ":issue:`20804`: The unittest.mock.sentinel attributes now preserve their " "identity when they are copied or pickled." msgstr "" -#: ../NEWS:36241 ../NEWS:39269 ../NEWS:42966 +#: ../NEWS:36284 ../NEWS:39312 ../NEWS:43009 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 "" -#: ../NEWS:36245 ../NEWS:39273 ../NEWS:42927 +#: ../NEWS:36288 ../NEWS:39316 ../NEWS:42970 msgid "" ":issue:`28961`: Fix unittest.mock._Call helper: don't ignore the name " "parameter anymore. Patch written by Jiajun Huang." msgstr "" -#: ../NEWS:36248 ../NEWS:39280 ../NEWS:43219 +#: ../NEWS:36291 ../NEWS:39323 ../NEWS:43262 msgid "" ":issue:`15812`: inspect.getframeinfo() now correctly shows the first line of " "a context. Patch by Sam Breese." msgstr "" -#: ../NEWS:36251 +#: ../NEWS:36294 msgid "" ":issue:`28985`: Update authorizer constants in sqlite3 module. Patch by " "Dingyuan Wang." msgstr "" -#: ../NEWS:36254 ../NEWS:39292 +#: ../NEWS:36297 ../NEWS:39335 msgid ":issue:`29079`: Prevent infinite loop in pathlib.resolve() on Windows" msgstr "" -#: ../NEWS:36256 ../NEWS:39294 ../NEWS:43225 +#: ../NEWS:36299 ../NEWS:39337 ../NEWS:43268 msgid "" ":issue:`13051`: Fixed recursion errors in large or resized curses.textpad." "Textbox. Based on patch by Tycho Andersen." msgstr "" -#: ../NEWS:36259 ../NEWS:39301 ../NEWS:43232 +#: ../NEWS:36302 ../NEWS:39344 ../NEWS:43275 msgid "" ":issue:`9770`: curses.ascii predicates now work correctly with negative " "integers." msgstr "" -#: ../NEWS:36262 ../NEWS:39304 ../NEWS:43235 +#: ../NEWS:36305 ../NEWS:39347 ../NEWS:43278 msgid "" ":issue:`28427`: old keys should not remove new values from " "WeakValueDictionary when collecting from another thread." msgstr "" -#: ../NEWS:36265 ../NEWS:39307 ../NEWS:43238 +#: ../NEWS:36308 ../NEWS:39350 ../NEWS:43281 msgid ":issue:`28923`: Remove editor artifacts from Tix.py." msgstr "" -#: ../NEWS:36267 ../NEWS:39312 ../NEWS:43240 +#: ../NEWS:36310 ../NEWS:39355 ../NEWS:43283 msgid ":issue:`28871`: Fixed a crash when deallocate deep ElementTree." msgstr "" -#: ../NEWS:36269 ../NEWS:39314 ../NEWS:43242 +#: ../NEWS:36312 ../NEWS:39357 ../NEWS:43285 msgid "" ":issue:`19542`: Fix bugs in WeakValueDictionary.setdefault() and " "WeakValueDictionary.pop() when a GC collection happens in another thread." msgstr "" -#: ../NEWS:36272 ../NEWS:39317 +#: ../NEWS:36315 ../NEWS:39360 msgid "" ":issue:`20191`: Fixed a crash in resource.prlimit() when passing a sequence " "that doesn't own its elements as limits." msgstr "" -#: ../NEWS:36275 +#: ../NEWS:36318 msgid "" ":issue:`16255`: subprocess.Popen uses /system/bin/sh on Android as the " "shell, instead of /bin/sh." msgstr "" -#: ../NEWS:36278 ../NEWS:39320 ../NEWS:43248 +#: ../NEWS:36321 ../NEWS:39363 ../NEWS:43291 msgid "" ":issue:`28779`: multiprocessing.set_forkserver_preload() would crash the " "forkserver process if a preloaded module instantiated some multiprocessing " "objects such as locks." msgstr "" -#: ../NEWS:36282 ../NEWS:39327 +#: ../NEWS:36325 ../NEWS:39370 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 "" -#: ../NEWS:36286 +#: ../NEWS:36329 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 " @@ -62213,19 +62282,19 @@ msgid "" "(will be an error in future Python releases)." msgstr "" -#: ../NEWS:36291 +#: ../NEWS:36334 msgid "" ":issue:`27030`: Unknown escapes consisting of ``'\\'`` and an ASCII letter " "in re.sub() replacement templates regular expressions now are errors." msgstr "" -#: ../NEWS:36294 ../NEWS:39508 +#: ../NEWS:36337 ../NEWS:39551 msgid "" ":issue:`28835`: Fix a regression introduced in warnings.catch_warnings(): " "call warnings.showwarning() if it was overridden inside the context manager." msgstr "" -#: ../NEWS:36297 ../NEWS:39511 +#: ../NEWS:36340 ../NEWS:39554 msgid "" ":issue:`27172`: To assist with upgrades from 2.7, the previously documented " "deprecation of ``inspect.getfullargspec()`` has been reversed. This decision " @@ -62233,24 +62302,24 @@ msgid "" "supported." msgstr "" -#: ../NEWS:36302 +#: ../NEWS:36345 msgid "" ":issue:`28740`: Add sys.getandroidapilevel(): return the build time API " "version of Android as an integer. Function only available on Android." msgstr "" -#: ../NEWS:36305 ../NEWS:39516 +#: ../NEWS:36348 ../NEWS:39559 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 "" -#: ../NEWS:36309 ../NEWS:39587 +#: ../NEWS:36352 ../NEWS:39630 msgid ":issue:`28752`: Restored the __reduce__() methods of datetime objects." msgstr "" -#: ../NEWS:36311 ../NEWS:39589 +#: ../NEWS:36354 ../NEWS:39632 msgid "" ":issue:`28727`: Regular expression patterns, _sre.SRE_Pattern objects " "created by re.compile(), become comparable (only x==y and x!=y operators). " @@ -62258,68 +62327,68 @@ msgid "" "when the warnings module is reloaded (thing usually only done in unit tests)." msgstr "" -#: ../NEWS:36316 +#: ../NEWS:36359 msgid "" ":issue:`20572`: Remove the subprocess.Popen.wait endtime parameter. It was " "deprecated in 3.4 and undocumented prior to that." msgstr "" -#: ../NEWS:36319 ../NEWS:39597 ../NEWS:43255 +#: ../NEWS:36362 ../NEWS:39640 ../NEWS:43298 msgid "" ":issue:`25659`: In ctypes, prevent a crash calling the from_buffer() and " "from_buffer_copy() methods on abstract classes like Array." msgstr "" -#: ../NEWS:36322 +#: ../NEWS:36365 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 "" -#: ../NEWS:36325 ../NEWS:39600 +#: ../NEWS:36368 ../NEWS:39643 msgid "" ":issue:`19717`: Makes Path.resolve() succeed on paths that do not exist. " "Patch by Vajrasky Kok" msgstr "" -#: ../NEWS:36328 ../NEWS:39603 +#: ../NEWS:36371 ../NEWS:39646 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 "" -#: ../NEWS:36332 ../NEWS:39607 ../NEWS:43264 +#: ../NEWS:36375 ../NEWS:39650 ../NEWS:43307 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 "" -#: ../NEWS:36336 ../NEWS:39690 ../NEWS:43268 +#: ../NEWS:36379 ../NEWS:39733 ../NEWS:43311 msgid "" ":issue:`27517`: LZMA compressor and decompressor no longer raise exceptions " "if given empty data twice. Patch by Benjamin Fogle." msgstr "" -#: ../NEWS:36339 ../NEWS:39693 ../NEWS:43271 +#: ../NEWS:36382 ../NEWS:39736 ../NEWS:43314 msgid ":issue:`28549`: Fixed segfault in curses's addch() with ncurses6." msgstr "" -#: ../NEWS:36341 ../NEWS:39695 ../NEWS:43273 +#: ../NEWS:36384 ../NEWS:39738 ../NEWS:43316 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 "" -#: ../NEWS:36345 ../NEWS:39699 ../NEWS:43277 +#: ../NEWS:36388 ../NEWS:39742 ../NEWS:43320 msgid "" ":issue:`23262`: The webbrowser module now supports Firefox 36+ and derived " "browsers. Based on patch by Oleg Broytman." msgstr "" -#: ../NEWS:36348 +#: ../NEWS:36391 msgid "" ":issue:`24241`: The webbrowser in an X environment now prefers using the " "default browser directly. Also, the webbrowser register() function now has a " @@ -62327,62 +62396,62 @@ msgid "" "with no arguments. Patch by David Steele" msgstr "" -#: ../NEWS:36353 ../NEWS:39702 ../NEWS:43280 +#: ../NEWS:36396 ../NEWS:39745 ../NEWS:43323 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 "" -#: ../NEWS:36357 +#: ../NEWS:36400 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 "" -#: ../NEWS:36361 +#: ../NEWS:36404 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 "" -#: ../NEWS:36365 ../NEWS:39713 ../NEWS:43288 +#: ../NEWS:36408 ../NEWS:39756 ../NEWS:43331 msgid "" ":issue:`20491`: The textwrap.TextWrapper class now honors non-breaking " "spaces. Based on patch by Kaarle Ritvanen." msgstr "" -#: ../NEWS:36368 ../NEWS:39716 ../NEWS:43291 +#: ../NEWS:36411 ../NEWS:39759 ../NEWS:43334 msgid ":issue:`28353`: os.fwalk() no longer fails on broken links." msgstr "" -#: ../NEWS:36370 ../NEWS:39718 +#: ../NEWS:36413 ../NEWS:39761 msgid "" ":issue:`28430`: Fix iterator of C implemented asyncio.Future doesn't accept " "non-None value is passed to it.send(val)." msgstr "" -#: ../NEWS:36373 ../NEWS:39721 +#: ../NEWS:36416 ../NEWS:39764 msgid "" ":issue:`27025`: Generated names for Tkinter widgets now start by the \"!\" " "prefix for readability." msgstr "" -#: ../NEWS:36376 ../NEWS:39724 ../NEWS:43293 +#: ../NEWS:36419 ../NEWS:39767 ../NEWS:43336 msgid "" ":issue:`25464`: Fixed HList.header_exists() in tkinter.tix module by addin a " "workaround to Tix library bug." msgstr "" -#: ../NEWS:36379 ../NEWS:39727 +#: ../NEWS:36422 ../NEWS:39770 msgid "" ":issue:`28488`: shutil.make_archive() no longer adds entry \"./\" to ZIP " "archive." msgstr "" -#: ../NEWS:36381 ../NEWS:39729 +#: ../NEWS:36424 ../NEWS:39772 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 " @@ -62390,55 +62459,55 @@ msgid "" "index and the position of the reference. Based on patch by SilentGhost." msgstr "" -#: ../NEWS:36386 +#: ../NEWS:36429 msgid "" ":issue:`28469`: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead " "of 1, 10, 100,... for autoranging." msgstr "" -#: ../NEWS:36389 +#: ../NEWS:36432 msgid "" ":issue:`28115`: Command-line interface of the zipfile module now uses " "argparse. Added support of long options." msgstr "" -#: ../NEWS:36392 ../NEWS:39734 +#: ../NEWS:36435 ../NEWS:39777 msgid "" ":issue:`18219`: Optimize csv.DictWriter for large number of columns. Patch " "by Mariatta Wijaya." msgstr "" -#: ../NEWS:36395 ../NEWS:39737 +#: ../NEWS:36438 ../NEWS:39780 msgid "" ":issue:`28448`: Fix C implemented asyncio.Future didn't work on Windows." msgstr "" -#: ../NEWS:36397 +#: ../NEWS:36440 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 "" -#: ../NEWS:36401 ../NEWS:39739 +#: ../NEWS:36444 ../NEWS:39782 msgid "" ":issue:`28480`: Fix error building socket module when multithreading is " "disabled." msgstr "" -#: ../NEWS:36404 +#: ../NEWS:36447 msgid "" ":issue:`28240`: timeit: remove ``-c/--clock`` and ``-t/--time`` command line " "options which were deprecated since Python 3.3." msgstr "" -#: ../NEWS:36407 +#: ../NEWS:36450 msgid "" ":issue:`28240`: timeit now repeats the benchmarks 5 times instead of only 3 " "to make benchmarks more reliable." msgstr "" -#: ../NEWS:36410 +#: ../NEWS:36453 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 " @@ -62446,7 +62515,7 @@ msgid "" "seconds." msgstr "" -#: ../NEWS:36415 +#: ../NEWS:36458 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. " @@ -62454,100 +62523,100 @@ msgid "" "rationale." msgstr "" -#: ../NEWS:36420 +#: ../NEWS:36463 msgid "" ":issue:`24452`: Make webbrowser support Chrome on Mac OS X. Patch by Ned " "Batchelder." msgstr "" -#: ../NEWS:36423 ../NEWS:39744 ../NEWS:43300 +#: ../NEWS:36466 ../NEWS:39787 ../NEWS:43343 msgid "" ":issue:`20766`: Fix references leaked by pdb in the handling of SIGINT " "handlers." msgstr "" -#: ../NEWS:36426 ../NEWS:39860 +#: ../NEWS:36469 ../NEWS:39903 msgid "" ":issue:`27998`: Fixed bytes path support in os.scandir() on Windows. Patch " "by Eryk Sun." msgstr "" -#: ../NEWS:36429 ../NEWS:39863 +#: ../NEWS:36472 ../NEWS:39906 msgid ":issue:`28317`: The disassembler now decodes FORMAT_VALUE argument." msgstr "" -#: ../NEWS:36431 ../NEWS:39869 +#: ../NEWS:36474 ../NEWS:39912 msgid "" ":issue:`28380`: unittest.mock Mock autospec functions now properly support " "assert_called, assert_not_called, and assert_called_once." msgstr "" -#: ../NEWS:36434 ../NEWS:39874 +#: ../NEWS:36477 ../NEWS:39917 msgid ":issue:`28229`: lzma module now supports pathlib." msgstr "" -#: ../NEWS:36436 ../NEWS:39876 ../NEWS:43307 +#: ../NEWS:36479 ../NEWS:39919 ../NEWS:43350 msgid "" ":issue:`28321`: Fixed writing non-BMP characters with binary format in " "plistlib." msgstr "" -#: ../NEWS:36439 ../NEWS:39879 +#: ../NEWS:36482 ../NEWS:39922 msgid "" ":issue:`28225`: bz2 module now supports pathlib. Initial patch by Ethan " "Furman." msgstr "" -#: ../NEWS:36442 ../NEWS:39882 +#: ../NEWS:36485 ../NEWS:39925 msgid ":issue:`28227`: gzip now supports pathlib. Patch by Ethan Furman." msgstr "" -#: ../NEWS:36444 +#: ../NEWS:36487 msgid "" ":issue:`28332`: Deprecated silent truncations in socket.htons and socket." "ntohs. Original patch by Oren Milman." msgstr "" -#: ../NEWS:36447 ../NEWS:39884 +#: ../NEWS:36490 ../NEWS:39927 msgid "" ":issue:`27358`: Optimized merging var-keyword arguments and improved error " "message when passing a non-mapping as a var-keyword argument." msgstr "" -#: ../NEWS:36450 ../NEWS:39887 +#: ../NEWS:36493 ../NEWS:39930 msgid "" ":issue:`28257`: Improved error message when passing a non-iterable as a var-" "positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL." msgstr "" -#: ../NEWS:36453 ../NEWS:39890 ../NEWS:43310 +#: ../NEWS:36496 ../NEWS:39933 ../NEWS:43353 msgid "" ":issue:`28322`: Fixed possible crashes when unpickle itertools objects from " "incorrect pickle data. Based on patch by John Leitch." msgstr "" -#: ../NEWS:36456 ../NEWS:39893 +#: ../NEWS:36499 ../NEWS:39936 msgid ":issue:`28228`: imghdr now supports pathlib." msgstr "" -#: ../NEWS:36458 ../NEWS:39895 +#: ../NEWS:36501 ../NEWS:39938 msgid ":issue:`28226`: compileall now supports pathlib." msgstr "" -#: ../NEWS:36460 ../NEWS:39897 +#: ../NEWS:36503 ../NEWS:39940 msgid "" ":issue:`28314`: Fix function declaration (C flags) for the getiterator() " "method of xml.etree.ElementTree.Element." msgstr "" -#: ../NEWS:36463 ../NEWS:39900 +#: ../NEWS:36506 ../NEWS:39943 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 "" -#: ../NEWS:36467 ../NEWS:39904 ../NEWS:43319 +#: ../NEWS:36510 ../NEWS:39947 ../NEWS:43362 msgid "" ":issue:`28253`: Fixed calendar functions for extreme months: 0001-01 and " "9999-12. Methods itermonthdays() and itermonthdays2() are reimplemented so " @@ -62555,248 +62624,248 @@ msgid "" "overflow." msgstr "" -#: ../NEWS:36472 ../NEWS:39909 ../NEWS:43324 +#: ../NEWS:36515 ../NEWS:39952 ../NEWS:43367 msgid "" ":issue:`28275`: Fixed possible use after free in the decompress() methods of " "the LZMADecompressor and BZ2Decompressor classes. Original patch by John " "Leitch." msgstr "" -#: ../NEWS:36476 ../NEWS:39913 ../NEWS:43328 +#: ../NEWS:36519 ../NEWS:39956 ../NEWS:43371 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 "" -#: ../NEWS:36479 ../NEWS:39916 +#: ../NEWS:36522 ../NEWS:39959 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 "" -#: ../NEWS:36483 ../NEWS:39920 ../NEWS:43331 +#: ../NEWS:36526 ../NEWS:39963 ../NEWS:43374 msgid "" ":issue:`18893`: Fix invalid exception handling in Lib/ctypes/macholib/dyld." "py. Patch by Madison May." msgstr "" -#: ../NEWS:36486 ../NEWS:39923 +#: ../NEWS:36529 ../NEWS:39966 msgid "" ":issue:`27611`: Fixed support of default root window in the tkinter.tix " "module. Added the master parameter in the DisplayStyle constructor." msgstr "" -#: ../NEWS:36489 ../NEWS:39926 ../NEWS:43336 +#: ../NEWS:36532 ../NEWS:39969 ../NEWS:43379 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 "" -#: ../NEWS:36493 ../NEWS:39930 ../NEWS:43340 +#: ../NEWS:36536 ../NEWS:39973 ../NEWS:43383 msgid "" ":issue:`25651`: Allow false values to be used for msg parameter of subTest()." msgstr "" -#: ../NEWS:36495 ../NEWS:39932 +#: ../NEWS:36538 ../NEWS:39975 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 "" -#: ../NEWS:36498 ../NEWS:39935 +#: ../NEWS:36541 ../NEWS:39978 msgid "" ":issue:`28200`: Fix memory leak on Windows in the os module (fix " "path_converter() function)." msgstr "" -#: ../NEWS:36501 ../NEWS:39938 +#: ../NEWS:36544 ../NEWS:39981 msgid "" ":issue:`25400`: RobotFileParser now correctly returns default values for " "crawl_delay and request_rate. Initial patch by Peter Wirtz." msgstr "" -#: ../NEWS:36504 ../NEWS:39941 ../NEWS:43342 +#: ../NEWS:36547 ../NEWS:39984 ../NEWS:43385 msgid ":issue:`27932`: Prevent memory leak in win32_ver()." msgstr "" -#: ../NEWS:36506 ../NEWS:39943 ../NEWS:43344 +#: ../NEWS:36549 ../NEWS:39986 ../NEWS:43387 msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." msgstr "" -#: ../NEWS:36508 ../NEWS:39945 ../NEWS:43346 +#: ../NEWS:36551 ../NEWS:39988 ../NEWS:43389 msgid "" ":issue:`28075`: Check for ERROR_ACCESS_DENIED in Windows implementation of " "os.stat(). Patch by Eryk Sun." msgstr "" -#: ../NEWS:36511 ../NEWS:39948 +#: ../NEWS:36554 ../NEWS:39991 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 "" -#: ../NEWS:36515 ../NEWS:39952 ../NEWS:43349 +#: ../NEWS:36558 ../NEWS:39995 ../NEWS:43392 msgid "" ":issue:`25270`: Prevent codecs.escape_encode() from raising SystemError when " "an empty bytestring is passed." msgstr "" -#: ../NEWS:36518 ../NEWS:39955 ../NEWS:43352 +#: ../NEWS:36561 ../NEWS:39998 ../NEWS:43395 msgid ":issue:`28181`: Get antigravity over HTTPS. Patch by Kaartic Sivaraam." msgstr "" -#: ../NEWS:36520 ../NEWS:39957 ../NEWS:43354 +#: ../NEWS:36563 ../NEWS:40000 ../NEWS:43397 msgid "" ":issue:`25895`: Enable WebSocket URL schemes in urllib.parse.urljoin. Patch " "by Gergely Imreh and Markus Holtermann." msgstr "" -#: ../NEWS:36523 ../NEWS:39960 +#: ../NEWS:36566 ../NEWS:40003 msgid "" ":issue:`28114`: Fix a crash in parse_envlist() when env contains byte " "strings. Patch by Eryk Sun." msgstr "" -#: ../NEWS:36526 ../NEWS:39963 ../NEWS:43357 +#: ../NEWS:36569 ../NEWS:40006 ../NEWS:43400 msgid "" ":issue:`27599`: Fixed buffer overrun in binascii.b2a_qp() and binascii." "a2b_qp()." msgstr "" -#: ../NEWS:36529 ../NEWS:39966 ../NEWS:43540 +#: ../NEWS:36572 ../NEWS:40009 ../NEWS:43583 msgid "" ":issue:`27906`: Fix socket accept exhaustion during high TCP traffic. Patch " "by Kevin Conway." msgstr "" -#: ../NEWS:36532 ../NEWS:39969 ../NEWS:43543 +#: ../NEWS:36575 ../NEWS:40012 ../NEWS:43586 msgid "" ":issue:`28174`: Handle when SO_REUSEPORT isn't properly supported. Patch by " "Seth Michael Larson." msgstr "" -#: ../NEWS:36535 ../NEWS:39972 ../NEWS:43546 +#: ../NEWS:36578 ../NEWS:40015 ../NEWS:43589 msgid "" ":issue:`26654`: Inspect functools.partial in asyncio.Handle.__repr__. Patch " "by iceboy." msgstr "" -#: ../NEWS:36538 ../NEWS:39975 ../NEWS:43549 +#: ../NEWS:36581 ../NEWS:40018 ../NEWS:43592 msgid ":issue:`26909`: Fix slow pipes IO in asyncio. Patch by INADA Naoki." msgstr "" -#: ../NEWS:36540 ../NEWS:39977 ../NEWS:43551 +#: ../NEWS:36583 ../NEWS:40020 ../NEWS:43594 msgid "" ":issue:`28176`: Fix callbacks race in asyncio.SelectorLoop.sock_connect." msgstr "" -#: ../NEWS:36542 ../NEWS:39979 ../NEWS:43553 +#: ../NEWS:36585 ../NEWS:40022 ../NEWS:43596 msgid "" ":issue:`27759`: Fix selectors incorrectly retain invalid file descriptors. " "Patch by Mark Williams." msgstr "" -#: ../NEWS:36545 +#: ../NEWS:36588 msgid "" ":issue:`28325`: Remove vestigial MacOS 9 macurl2path module and its tests." msgstr "" -#: ../NEWS:36547 ../NEWS:39982 ../NEWS:43556 +#: ../NEWS:36590 ../NEWS:40025 ../NEWS:43599 msgid "" ":issue:`28368`: Refuse monitoring processes if the child watcher has no loop " "attached. Patch by Vincent Michel." msgstr "" -#: ../NEWS:36550 ../NEWS:39985 ../NEWS:43559 +#: ../NEWS:36593 ../NEWS:40028 ../NEWS:43602 msgid "" ":issue:`28369`: Raise RuntimeError when transport's FD is used with " "add_reader, add_writer, etc." msgstr "" -#: ../NEWS:36553 ../NEWS:39988 ../NEWS:43562 +#: ../NEWS:36596 ../NEWS:40031 ../NEWS:43605 msgid "" ":issue:`28370`: Speedup asyncio.StreamReader.readexactly. Patch by Коренберг " "Марк." msgstr "" -#: ../NEWS:36556 ../NEWS:39991 ../NEWS:43565 +#: ../NEWS:36599 ../NEWS:40034 ../NEWS:43608 msgid ":issue:`28371`: Deprecate passing asyncio.Handles to run_in_executor." msgstr "" -#: ../NEWS:36558 ../NEWS:39993 ../NEWS:43567 +#: ../NEWS:36601 ../NEWS:40036 ../NEWS:43610 msgid "" ":issue:`28372`: Fix asyncio to support formatting of non-python coroutines." msgstr "" -#: ../NEWS:36560 ../NEWS:39995 ../NEWS:43569 +#: ../NEWS:36603 ../NEWS:40038 ../NEWS:43612 msgid "" ":issue:`28399`: Remove UNIX socket from FS before binding. Patch by " "Коренберг Марк." msgstr "" -#: ../NEWS:36563 ../NEWS:39998 ../NEWS:43572 +#: ../NEWS:36606 ../NEWS:40041 ../NEWS:43615 msgid ":issue:`27972`: Prohibit Tasks to await on themselves." msgstr "" -#: ../NEWS:36565 ../NEWS:39520 +#: ../NEWS:36608 ../NEWS:39563 msgid "" ":issue:`24142`: Reading a corrupt config file left configparser in an " "invalid state. Original patch by Florian Höch." msgstr "" -#: ../NEWS:36568 ../NEWS:38868 +#: ../NEWS:36611 ../NEWS:38911 msgid "" ":issue:`29581`: ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract " "base classes to use keyword parameters in __init_subclass__. Patch by Nate " "Soares." msgstr "" -#: ../NEWS:36572 ../NEWS:38061 +#: ../NEWS:36615 ../NEWS:38104 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 "" -#: ../NEWS:36576 ../NEWS:39002 +#: ../NEWS:36619 ../NEWS:39045 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 "" -#: ../NEWS:36582 ../NEWS:38488 +#: ../NEWS:36625 ../NEWS:38531 msgid "" ":issue:`31294`: Fix incomplete code snippet in the ZeroMQSocketListener and " "ZeroMQSocketHandler examples and adapt them to Python 3." msgstr "" -#: ../NEWS:36585 ../NEWS:38491 +#: ../NEWS:36628 ../NEWS:38534 msgid "" ":issue:`21649`: Add RFC 7525 and Mozilla server side TLS links to SSL " "documentation." msgstr "" -#: ../NEWS:36588 +#: ../NEWS:36631 msgid ":issue:`31128`: Allow the pydoc server to bind to arbitrary hostnames." msgstr "" -#: ../NEWS:36590 ../NEWS:38494 +#: ../NEWS:36633 ../NEWS:38537 msgid "" ":issue:`30803`: Clarify doc on truth value testing. Original patch by Peter " "Thomassen." msgstr "" -#: ../NEWS:36593 ../NEWS:39057 ../NEWS:42973 +#: ../NEWS:36636 ../NEWS:39100 ../NEWS:43016 msgid "" ":issue:`30176`: Add missing attribute related constants in curses " "documentation." msgstr "" -#: ../NEWS:36596 ../NEWS:39060 +#: ../NEWS:36639 ../NEWS:39103 msgid "" ":issue:`30052`: the link targets for :func:`bytes` and :func:`bytearray` are " "now their respective type definitions, rather than the corresponding builtin " @@ -62806,40 +62875,40 @@ msgid "" "builds now disable the default output caching features in Sphinx." msgstr "" -#: ../NEWS:36604 ../NEWS:39068 ../NEWS:42976 +#: ../NEWS:36647 ../NEWS:39111 ../NEWS:43019 msgid "" ":issue:`26985`: Add missing info of code object in inspect documentation." msgstr "" -#: ../NEWS:36606 +#: ../NEWS:36649 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 "" -#: ../NEWS:36610 ../NEWS:39377 ../NEWS:42978 +#: ../NEWS:36653 ../NEWS:39420 ../NEWS:43021 msgid ":issue:`28929`: Link the documentation to its source file on GitHub." msgstr "" -#: ../NEWS:36612 ../NEWS:39379 ../NEWS:42980 +#: ../NEWS:36655 ../NEWS:39422 ../NEWS:43023 msgid "" ":issue:`25008`: Document smtpd.py as effectively deprecated and add a " "pointer to aiosmtpd, a third-party asyncio-based replacement." msgstr "" -#: ../NEWS:36615 ../NEWS:39382 ../NEWS:42983 +#: ../NEWS:36658 ../NEWS:39425 ../NEWS:43026 msgid "" ":issue:`26355`: Add canonical header link on each page to corresponding " "major version of the documentation. Patch by Matthias Bussonnier." msgstr "" -#: ../NEWS:36618 ../NEWS:39385 ../NEWS:42986 +#: ../NEWS:36661 ../NEWS:39428 ../NEWS:43029 msgid "" ":issue:`29349`: Fix Python 2 syntax in code for building the documentation." msgstr "" -#: ../NEWS:36620 +#: ../NEWS:36663 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 " @@ -62847,38 +62916,38 @@ msgid "" "``super()``." msgstr "" -#: ../NEWS:36625 ../NEWS:39636 ../NEWS:43640 +#: ../NEWS:36668 ../NEWS:39679 ../NEWS:43683 msgid ":issue:`28513`: Documented command-line interface of zipfile." msgstr "" -#: ../NEWS:36630 +#: ../NEWS:36673 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 "" -#: ../NEWS:36634 ../NEWS:38500 +#: ../NEWS:36677 ../NEWS:38543 msgid ":issue:`31320`: Silence traceback in test_ssl" msgstr "" -#: ../NEWS:36636 +#: ../NEWS:36679 msgid "" ":issue:`31346`: Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols " "for SSLContext." msgstr "" -#: ../NEWS:36639 ../NEWS:38502 +#: ../NEWS:36682 ../NEWS:38545 msgid ":issue:`25674`: Remove sha256.tbs-internet.com ssl test" msgstr "" -#: ../NEWS:36641 ../NEWS:38504 +#: ../NEWS:36684 ../NEWS:38547 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 "" -#: ../NEWS:36644 ../NEWS:38507 +#: ../NEWS:36687 ../NEWS:38550 msgid "" ":issue:`30822`: regrtest: Exclude tzdata from regrtest --all. When running " "the test suite using --use=all / -u all, exclude tzdata since it makes " @@ -62887,20 +62956,20 @@ msgid "" "extralargefile to run test_zipfile64." msgstr "" -#: ../NEWS:36650 ../NEWS:38113 +#: ../NEWS:36693 ../NEWS:38156 msgid "" ":issue:`30695`: Add the ``set_nomemory(start, stop)`` and " "``remove_mem_hooks()`` functions to the ``_testcapi`` module." msgstr "" -#: ../NEWS:36653 ../NEWS:39079 ../NEWS:43005 +#: ../NEWS:36696 ../NEWS:39122 ../NEWS:43048 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 "" -#: ../NEWS:36658 ../NEWS:39084 ../NEWS:43014 +#: ../NEWS:36701 ../NEWS:39127 ../NEWS:43057 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 " @@ -62909,67 +62978,67 @@ msgid "" "there is one." msgstr "" -#: ../NEWS:36664 +#: ../NEWS:36707 msgid ":issue:`24932`: Use proper command line parsing in _testembed" msgstr "" -#: ../NEWS:36666 ../NEWS:39400 +#: ../NEWS:36709 ../NEWS:39443 msgid "" ":issue:`28950`: Disallow -j0 to be combined with -T/-l in regrtest command " "line arguments." msgstr "" -#: ../NEWS:36669 ../NEWS:39403 +#: ../NEWS:36712 ../NEWS:39446 msgid "" ":issue:`28683`: Fix the tests that bind() a unix socket and raise " "PermissionError on Android for a non-root user." msgstr "" -#: ../NEWS:36672 +#: ../NEWS:36715 msgid "" ":issue:`26936`: Fix the test_socket failures on Android - getservbyname(), " "getservbyport() and getaddrinfo() are broken on some Android API levels." msgstr "" -#: ../NEWS:36675 ../NEWS:39641 ../NEWS:43648 +#: ../NEWS:36718 ../NEWS:39684 ../NEWS:43691 msgid "" ":issue:`28666`: Now test.support.rmtree is able to remove unwritable or " "unreadable directories." msgstr "" -#: ../NEWS:36678 ../NEWS:39644 ../NEWS:43651 +#: ../NEWS:36721 ../NEWS:39687 ../NEWS:43694 msgid "" ":issue:`23839`: Various caches now are cleared before running every test " "file." msgstr "" -#: ../NEWS:36680 ../NEWS:39776 +#: ../NEWS:36723 ../NEWS:39819 msgid "" ":issue:`26944`: Fix test_posix for Android where 'id -G' is entirely wrong " "or missing the effective gid." msgstr "" -#: ../NEWS:36683 ../NEWS:39779 ../NEWS:43653 +#: ../NEWS:36726 ../NEWS:39822 ../NEWS:43696 msgid ":issue:`28409`: regrtest: fix the parser of command line arguments." msgstr "" -#: ../NEWS:36685 ../NEWS:40047 +#: ../NEWS:36728 ../NEWS:40090 msgid ":issue:`28217`: Adds _testconsole module to test console input." msgstr "" -#: ../NEWS:36687 ../NEWS:39406 +#: ../NEWS:36730 ../NEWS:39449 msgid "" ":issue:`26939`: Add the support.setswitchinterval() function to fix " "test_functools hanging on the Android armv7 qemu emulator." msgstr "" -#: ../NEWS:36693 +#: ../NEWS:36736 msgid "" ":issue:`31354`: Allow ``--with-lto`` to be used on all builds, not just " "``make profile-opt``." msgstr "" -#: ../NEWS:36696 +#: ../NEWS:36739 msgid "" ":issue:`31370`: Remove support for building --without-threads. This option " "is not really useful anymore in the 21st century. Removing lots of " @@ -62977,263 +63046,263 @@ msgid "" "difficult to maintain low-level internal code." msgstr "" -#: ../NEWS:36701 +#: ../NEWS:36744 msgid "" ":issue:`31341`: Per :pep:`11`, support for the IRIX operating system was " "removed." msgstr "" -#: ../NEWS:36704 ../NEWS:38516 +#: ../NEWS:36747 ../NEWS:38559 msgid "" ":issue:`30854`: Fix compile error when compiling --without-threads. Patch by " "Masayuki Yamamoto." msgstr "" -#: ../NEWS:36707 ../NEWS:39093 ../NEWS:43042 +#: ../NEWS:36750 ../NEWS:39136 ../NEWS:43085 msgid "" ":issue:`30687`: Locate msbuild.exe on Windows when building rather than " "vcvarsall.bat" msgstr "" -#: ../NEWS:36710 +#: ../NEWS:36753 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 "" -#: ../NEWS:36714 ../NEWS:39037 +#: ../NEWS:36757 ../NEWS:39080 msgid "" ":issue:`29941`: Add ``--with-assertions`` configure flag to explicitly " "enable C ``assert()`` checks. Defaults to off. ``--with-pydebug`` implies " "``--with-assertions``." msgstr "" -#: ../NEWS:36718 ../NEWS:39041 +#: ../NEWS:36761 ../NEWS:39084 msgid "" ":issue:`28787`: Fix out-of-tree builds of Python when configured with ``--" "with--dtrace``." msgstr "" -#: ../NEWS:36721 ../NEWS:39044 ../NEWS:43029 +#: ../NEWS:36764 ../NEWS:39087 ../NEWS:43072 msgid "" ":issue:`29243`: Prevent unnecessary rebuilding of Python during ``make " "test``, ``make install`` and some other make targets when configured with " "``--enable-optimizations``." msgstr "" -#: ../NEWS:36725 ../NEWS:39048 ../NEWS:43033 +#: ../NEWS:36768 ../NEWS:39091 ../NEWS:43076 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 "" -#: ../NEWS:36729 ../NEWS:39052 ../NEWS:43037 +#: ../NEWS:36772 ../NEWS:39095 ../NEWS:43080 msgid ":issue:`29643`: Fix ``--enable-optimization`` didn't work." msgstr "" -#: ../NEWS:36731 ../NEWS:39412 +#: ../NEWS:36774 ../NEWS:39455 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 "" -#: ../NEWS:36735 ../NEWS:39416 +#: ../NEWS:36778 ../NEWS:39459 msgid "" ":issue:`29572`: Update Windows build and OS X installers to use OpenSSL " "1.0.2k." msgstr "" -#: ../NEWS:36737 +#: ../NEWS:36780 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 "" -#: ../NEWS:36741 +#: ../NEWS:36784 msgid ":issue:`29384`: Remove old Be OS helper scripts." msgstr "" -#: ../NEWS:36743 ../NEWS:39418 +#: ../NEWS:36786 ../NEWS:39461 msgid ":issue:`26851`: Set Android compilation and link flags." msgstr "" -#: ../NEWS:36745 ../NEWS:39420 +#: ../NEWS:36788 ../NEWS:39463 msgid "" ":issue:`28768`: Fix implicit declaration of function _setmode. Patch by " "Masayuki Yamamoto" msgstr "" -#: ../NEWS:36748 ../NEWS:39423 ../NEWS:43691 +#: ../NEWS:36791 ../NEWS:39466 ../NEWS:43734 msgid "" ":issue:`29080`: Removes hard dependency on hg.exe from PCBuild/build.bat" msgstr "" -#: ../NEWS:36750 ../NEWS:39425 ../NEWS:43693 +#: ../NEWS:36793 ../NEWS:39468 ../NEWS:43736 msgid ":issue:`23903`: Added missed names to PC/python3.def." msgstr "" -#: ../NEWS:36752 ../NEWS:39427 +#: ../NEWS:36795 ../NEWS:39470 msgid "" ":issue:`28762`: lockf() is available on Android API level 24, but the F_LOCK " "macro is not defined in android-ndk-r13." msgstr "" -#: ../NEWS:36755 ../NEWS:39430 +#: ../NEWS:36798 ../NEWS:39473 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 "" -#: ../NEWS:36759 ../NEWS:39434 +#: ../NEWS:36802 ../NEWS:39477 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 "" -#: ../NEWS:36763 ../NEWS:39438 +#: ../NEWS:36806 ../NEWS:39481 msgid ":issue:`28849`: Do not define sys.implementation._multiarch on Android." msgstr "" -#: ../NEWS:36765 ../NEWS:39649 ../NEWS:43695 +#: ../NEWS:36808 ../NEWS:39692 ../NEWS:43738 msgid "" ":issue:`10656`: Fix out-of-tree building on AIX. Patch by Tristan Carel and " "Michael Haubenwallner." msgstr "" -#: ../NEWS:36768 ../NEWS:39652 ../NEWS:43698 +#: ../NEWS:36811 ../NEWS:39695 ../NEWS:43741 msgid ":issue:`26359`: Rename --with-optimiations to --enable-optimizations." msgstr "" -#: ../NEWS:36770 ../NEWS:39767 ../NEWS:43700 +#: ../NEWS:36813 ../NEWS:39810 ../NEWS:43743 msgid ":issue:`28444`: Fix missing extensions modules when cross compiling." msgstr "" -#: ../NEWS:36772 ../NEWS:39769 +#: ../NEWS:36815 ../NEWS:39812 msgid "" ":issue:`28208`: Update Windows build and OS X installers to use SQLite " "3.14.2." msgstr "" -#: ../NEWS:36774 ../NEWS:39771 ../NEWS:43702 +#: ../NEWS:36817 ../NEWS:39814 ../NEWS:43745 msgid "" ":issue:`28248`: Update Windows build and OS X installers to use OpenSSL " "1.0.2j." msgstr "" -#: ../NEWS:36776 +#: ../NEWS:36819 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 "" -#: ../NEWS:36780 +#: ../NEWS:36823 msgid "" ":issue:`13756`: Fix building extensions modules on Cygwin. Patch by Roumen " "Petrov, based on original patch by Jason Tishler." msgstr "" -#: ../NEWS:36783 +#: ../NEWS:36826 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 "" -#: ../NEWS:36787 ../NEWS:40036 ../NEWS:43704 +#: ../NEWS:36830 ../NEWS:40079 ../NEWS:43747 msgid "" ":issue:`28258`: Fixed build with Estonian locale (python-config and " "distclean targets in Makefile). Patch by Arfrever Frehtes Taifersar " "Arahesis." msgstr "" -#: ../NEWS:36790 ../NEWS:40039 ../NEWS:43707 +#: ../NEWS:36833 ../NEWS:40082 ../NEWS:43750 msgid "" ":issue:`26661`: setup.py now detects system libffi with multiarch wrapper." msgstr "" -#: ../NEWS:36792 +#: ../NEWS:36835 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 "" -#: ../NEWS:36796 ../NEWS:40041 ../NEWS:43712 +#: ../NEWS:36839 ../NEWS:40084 ../NEWS:43755 msgid "" ":issue:`15819`: Remove redundant include search directory option for " "building outside the source tree." msgstr "" -#: ../NEWS:36799 ../NEWS:39654 ../NEWS:43749 +#: ../NEWS:36842 ../NEWS:39697 ../NEWS:43792 msgid "" ":issue:`28676`: Prevent missing 'getentropy' declaration warning on macOS. " "Patch by Gareth Rees." msgstr "" -#: ../NEWS:36805 +#: ../NEWS:36848 msgid ":issue:`31392`: Update Windows build to use OpenSSL 1.1.0f" msgstr "" -#: ../NEWS:36807 ../NEWS:38522 +#: ../NEWS:36850 ../NEWS:38565 msgid "" ":issue:`30389`: Adds detection of Visual Studio 2017 to distutils on Windows." msgstr "" -#: ../NEWS:36809 +#: ../NEWS:36852 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 "" -#: ../NEWS:36812 ../NEWS:38524 +#: ../NEWS:36855 ../NEWS:38567 msgid "" ":issue:`31340`: Change to building with MSVC v141 (included with Visual " "Studio 2017)" msgstr "" -#: ../NEWS:36815 ../NEWS:38527 +#: ../NEWS:36858 ../NEWS:38570 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 "" -#: ../NEWS:36818 +#: ../NEWS:36861 msgid "" ":issue:`30916`: Pre-build OpenSSL, Tcl and Tk and include the binaries in " "the build." msgstr "" -#: ../NEWS:36821 ../NEWS:38530 +#: ../NEWS:36864 ../NEWS:38573 msgid "" ":issue:`30731`: Add a missing xmlns to python.manifest so that it matches " "the schema." msgstr "" -#: ../NEWS:36824 +#: ../NEWS:36867 msgid "" ":issue:`30291`: Allow requiring 64-bit interpreters from py.exe using -64 " "suffix. Contributed by Steve (Gadget) Barnes." msgstr "" -#: ../NEWS:36827 +#: ../NEWS:36870 msgid "" ":issue:`30362`: Adds list options (-0, -0p) to py.exe launcher. Contributed " "by Steve Barnes." msgstr "" -#: ../NEWS:36830 +#: ../NEWS:36873 msgid "" ":issue:`23451`: Fix socket deprecation warnings in socketmodule.c. Patch by " "Segev Finer." msgstr "" -#: ../NEWS:36833 ../NEWS:39096 +#: ../NEWS:36876 ../NEWS:39139 msgid "" ":issue:`30450`: The build process on Windows no longer depends on " "Subversion, instead pulling external code from GitHub via a Python script. " @@ -63241,79 +63310,79 @@ msgid "" "download a copy of 32-bit Python." msgstr "" -#: ../NEWS:36838 +#: ../NEWS:36881 msgid ":issue:`29579`: Removes readme.txt from the installer." msgstr "" -#: ../NEWS:36840 ../NEWS:39353 +#: ../NEWS:36883 ../NEWS:39396 msgid "" ":issue:`25778`: winreg does not truncate string correctly (Patch by Eryk Sun)" msgstr "" -#: ../NEWS:36842 +#: ../NEWS:36885 msgid "" ":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default" msgstr "" -#: ../NEWS:36844 ../NEWS:39762 +#: ../NEWS:36887 ../NEWS:39805 msgid ":issue:`28522`: Fixes mishandled buffer reallocation in getpathp.c" msgstr "" -#: ../NEWS:36846 ../NEWS:40003 +#: ../NEWS:36889 ../NEWS:40046 msgid ":issue:`28402`: Adds signed catalog files for stdlib on Windows." msgstr "" -#: ../NEWS:36848 ../NEWS:40005 +#: ../NEWS:36891 ../NEWS:40048 msgid "" ":issue:`28333`: Enables Unicode for ps1/ps2 and input() prompts. (Patch by " "Eryk Sun)" msgstr "" -#: ../NEWS:36851 ../NEWS:40008 ../NEWS:43676 +#: ../NEWS:36894 ../NEWS:40051 ../NEWS:43719 msgid ":issue:`28251`: Improvements to help manuals on Windows." msgstr "" -#: ../NEWS:36853 ../NEWS:40010 ../NEWS:43678 +#: ../NEWS:36896 ../NEWS:40053 ../NEWS:43721 msgid "" ":issue:`28110`: launcher.msi has different product codes between 32-bit and " "64-bit" msgstr "" -#: ../NEWS:36856 ../NEWS:40013 +#: ../NEWS:36899 ../NEWS:40056 msgid ":issue:`28161`: Opening CON for write access fails" msgstr "" -#: ../NEWS:36858 ../NEWS:40015 +#: ../NEWS:36901 ../NEWS:40058 msgid "" ":issue:`28162`: WindowsConsoleIO readall() fails if first line starts with " "Ctrl+Z" msgstr "" -#: ../NEWS:36861 ../NEWS:40018 +#: ../NEWS:36904 ../NEWS:40061 msgid "" ":issue:`28163`: WindowsConsoleIO fileno() passes wrong flags to " "_open_osfhandle" msgstr "" -#: ../NEWS:36863 ../NEWS:40020 +#: ../NEWS:36906 ../NEWS:40063 msgid ":issue:`28164`: _PyIO_get_console_type fails for various paths" msgstr "" -#: ../NEWS:36865 ../NEWS:40022 +#: ../NEWS:36908 ../NEWS:40065 msgid ":issue:`28137`: Renames Windows path file to ._pth" msgstr "" -#: ../NEWS:36867 ../NEWS:40024 +#: ../NEWS:36910 ../NEWS:40067 msgid ":issue:`28138`: Windows ._pth file should allow import site" msgstr "" -#: ../NEWS:36872 ../NEWS:38536 +#: ../NEWS:36915 ../NEWS:38579 msgid "" ":issue:`31493`: IDLE code context -- fix code update and font update timers. " "Canceling timers prevents a warning message when test_idle completes." msgstr "" -#: ../NEWS:36875 ../NEWS:38539 +#: ../NEWS:36918 ../NEWS:38582 msgid "" ":issue:`31488`: IDLE - Update non-key options in former extension classes. " "When applying configdialog changes, call .reload for each feature class. " @@ -63321,52 +63390,52 @@ msgid "" "existing editor windows." msgstr "" -#: ../NEWS:36880 ../NEWS:38544 +#: ../NEWS:36923 ../NEWS:38587 msgid "" ":issue:`31477`: IDLE - Improve rstrip entry in doc. Strip trailing " "whitespace strips more than blank spaces. Multiline string literals are not " "skipped." msgstr "" -#: ../NEWS:36883 ../NEWS:38547 +#: ../NEWS:36926 ../NEWS:38590 msgid "" ":issue:`31480`: IDLE - make tests pass with zzdummy extension disabled by " "default." msgstr "" -#: ../NEWS:36886 ../NEWS:38550 +#: ../NEWS:36929 ../NEWS:38593 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 "" -#: ../NEWS:36890 ../NEWS:38554 +#: ../NEWS:36933 ../NEWS:38597 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 "" -#: ../NEWS:36894 ../NEWS:38558 +#: ../NEWS:36937 ../NEWS:38601 msgid "" ":issue:`31051`: Rearrange IDLE configdialog GenPage into Window, Editor, and " "Help sections." msgstr "" -#: ../NEWS:36897 ../NEWS:38561 +#: ../NEWS:36940 ../NEWS:38604 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 "" -#: ../NEWS:36901 ../NEWS:38565 +#: ../NEWS:36944 ../NEWS:38608 msgid "" ":issue:`31287`: IDLE - Do not modify tkinter.message in test_configdialog." msgstr "" -#: ../NEWS:36903 ../NEWS:38567 +#: ../NEWS:36946 ../NEWS:38610 msgid "" ":issue:`27099`: Convert IDLE's built-in 'extensions' to regular features. " "About 10 IDLE features were implemented as supposedly optional extensions. " @@ -63385,75 +63454,75 @@ msgid "" "Wohlganger." msgstr "" -#: ../NEWS:36919 ../NEWS:38583 +#: ../NEWS:36962 ../NEWS:38626 msgid "" ":issue:`31206`: IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch " "by Cheryl Sabella." msgstr "" -#: ../NEWS:36922 ../NEWS:38586 +#: ../NEWS:36965 ../NEWS:38629 msgid "" ":issue:`31001`: Add tests for configdialog highlight tab. Patch by Cheryl " "Sabella." msgstr "" -#: ../NEWS:36925 ../NEWS:38589 +#: ../NEWS:36968 ../NEWS:38632 msgid "" ":issue:`31205`: IDLE: Factor KeysPage(Frame) class from ConfigDialog. The " "slightly modified tests continue to pass. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:36928 ../NEWS:38592 +#: ../NEWS:36971 ../NEWS:38635 msgid "" ":issue:`31130`: IDLE -- stop leaks in test_configdialog. Initial patch by " "Victor Stinner." msgstr "" -#: ../NEWS:36931 ../NEWS:38595 +#: ../NEWS:36974 ../NEWS:38638 msgid "" ":issue:`31002`: Add tests for configdialog keys tab. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:36933 ../NEWS:38597 +#: ../NEWS:36976 ../NEWS:38640 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 "" -#: ../NEWS:36937 ../NEWS:38601 +#: ../NEWS:36980 ../NEWS:38644 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 "" -#: ../NEWS:36940 ../NEWS:38604 +#: ../NEWS:36983 ../NEWS:38647 msgid "" ":issue:`31050`: Factor GenPage(Frame) class from ConfigDialog. The slightly " "modified tests continue to pass. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:36943 ../NEWS:38607 +#: ../NEWS:36986 ../NEWS:38650 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 "" -#: ../NEWS:36947 ../NEWS:38611 +#: ../NEWS:36990 ../NEWS:38654 msgid "" ":issue:`30781`: IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan " "Reedy and Cheryl Sabella." msgstr "" -#: ../NEWS:36950 ../NEWS:38614 +#: ../NEWS:36993 ../NEWS:38657 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 "" -#: ../NEWS:36954 ../NEWS:38618 +#: ../NEWS:36997 ../NEWS:38661 msgid "" ":issue:`30853`: IDLE -- Factor a VarTrace class out of ConfigDialog. " "Instance tracers manages pairs consisting of a tk variable and a callback " @@ -63461,11 +63530,11 @@ msgid "" "function. Test coverage for the new class is 100%." msgstr "" -#: ../NEWS:36959 ../NEWS:38623 +#: ../NEWS:37002 ../NEWS:38666 msgid ":issue:`31003`: IDLE: Add more tests for General tab." msgstr "" -#: ../NEWS:36961 ../NEWS:38625 +#: ../NEWS:37004 ../NEWS:38668 msgid "" ":issue:`30993`: IDLE - Improve configdialog font page and tests. In " "configdialog: Document causal pathways in create_font_tab docstring. " @@ -63479,63 +63548,63 @@ msgid "" "functions." msgstr "" -#: ../NEWS:36972 ../NEWS:38636 +#: ../NEWS:37015 ../NEWS:38679 msgid ":issue:`30981`: IDLE -- Add more configdialog font page tests." msgstr "" -#: ../NEWS:36974 ../NEWS:38638 +#: ../NEWS:37017 ../NEWS:38681 msgid ":issue:`28523`: IDLE: replace 'colour' with 'color' in configdialog." msgstr "" -#: ../NEWS:36976 ../NEWS:38640 +#: ../NEWS:37019 ../NEWS:38683 msgid "" ":issue:`30917`: Add tests for idlelib.config.IdleConf. Increase coverage " "from 46% to 96%. Patch by Louie Lu." msgstr "" -#: ../NEWS:36979 ../NEWS:38643 +#: ../NEWS:37022 ../NEWS:38686 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 "" -#: ../NEWS:36983 ../NEWS:38647 +#: ../NEWS:37026 ../NEWS:38690 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 "" -#: ../NEWS:36987 ../NEWS:38651 +#: ../NEWS:37030 ../NEWS:38694 msgid "" ":issue:`30899`: IDLE: Add tests for ConfigParser subclasses in config. Patch " "by Louie Lu." msgstr "" -#: ../NEWS:36990 ../NEWS:38654 +#: ../NEWS:37033 ../NEWS:38697 msgid "" ":issue:`30881`: IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:36992 ../NEWS:38656 +#: ../NEWS:37035 ../NEWS:38699 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 "" -#: ../NEWS:36996 ../NEWS:38660 +#: ../NEWS:37039 ../NEWS:38703 msgid "" ":issue:`30870`: IDLE: In Settings dialog, select font with Up, Down keys as " "well as mouse. Initial patch by Louie Lu." msgstr "" -#: ../NEWS:36999 ../NEWS:38663 +#: ../NEWS:37042 ../NEWS:38706 msgid ":issue:`8231`: IDLE: call config.IdleConf.GetUserCfgDir only once." msgstr "" -#: ../NEWS:37001 ../NEWS:38665 +#: ../NEWS:37044 ../NEWS:38708 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 " @@ -63547,19 +63616,19 @@ msgid "" "to ConfigChanges. Cheryl Sabella contributed parts of the patch." msgstr "" -#: ../NEWS:37011 ../NEWS:38675 +#: ../NEWS:37054 ../NEWS:38718 msgid "" ":issue:`30777`: IDLE: configdialog - Add docstrings and fix comments. Patch " "by Cheryl Sabella." msgstr "" -#: ../NEWS:37014 ../NEWS:38678 +#: ../NEWS:37057 ../NEWS:38721 msgid "" ":issue:`30495`: IDLE: Improve textview with docstrings, PEP8 names, and more " "tests. Patch by Cheryl Sabella." msgstr "" -#: ../NEWS:37017 ../NEWS:38681 +#: ../NEWS:37060 ../NEWS:38724 msgid "" ":issue:`30723`: IDLE: Make several improvements to parenmatch. Add 'parens' " "style to highlight both opener and closer. Make 'default' style, which is " @@ -63568,25 +63637,25 @@ msgid "" "parenmatch. Add new tests. Original patch by Charles Wohlganger." msgstr "" -#: ../NEWS:37023 ../NEWS:38687 +#: ../NEWS:37066 ../NEWS:38730 msgid "" ":issue:`30674`: IDLE: add docstrings to grep module. Patch by Cheryl Sabella" msgstr "" -#: ../NEWS:37025 ../NEWS:38689 +#: ../NEWS:37068 ../NEWS:38732 msgid "" ":issue:`21519`: IDLE's basic custom key entry dialog now detects duplicates " "properly. Original patch by Saimadhav Heblikar." msgstr "" -#: ../NEWS:37028 ../NEWS:38692 +#: ../NEWS:37071 ../NEWS:38735 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 "" -#: ../NEWS:37032 ../NEWS:38696 +#: ../NEWS:37075 ../NEWS:38739 msgid "" ":issue:`30728`: Review and change idlelib.configdialog names. Lowercase " "method and attribute names. Replace 'colour' with 'color', expand overly " @@ -63594,14 +63663,14 @@ msgid "" "specific imports. Patches by Cheryl Sabella." msgstr "" -#: ../NEWS:37037 ../NEWS:38701 +#: ../NEWS:37080 ../NEWS:38744 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 "" -#: ../NEWS:37041 ../NEWS:39008 +#: ../NEWS:37084 ../NEWS:39051 msgid "" ":issue:`15786`: Fix several problems with IDLE's autocompletion box. The " "following should now work: clicking on selection box items; using the " @@ -63609,48 +63678,48 @@ msgid "" "longer happen. Patch by Louie Lu." msgstr "" -#: ../NEWS:37046 ../NEWS:39013 +#: ../NEWS:37089 ../NEWS:39056 msgid "" ":issue:`25514`: Add doc subsubsection about IDLE failure to start. Popup no-" "connection message directs users to this section." msgstr "" -#: ../NEWS:37049 ../NEWS:39016 +#: ../NEWS:37092 ../NEWS:39059 msgid "" ":issue:`30642`: Fix reference leaks in IDLE tests. Patches by Louie Lu and " "Terry Jan Reedy." msgstr "" -#: ../NEWS:37052 ../NEWS:39019 +#: ../NEWS:37095 ../NEWS:39062 msgid "" ":issue:`30495`: Add docstrings for textview.py and use PEP8 names. Patches " "by Cheryl Sabella and Terry Jan Reedy." msgstr "" -#: ../NEWS:37055 ../NEWS:39022 +#: ../NEWS:37098 ../NEWS:39065 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 "" -#: ../NEWS:37058 ../NEWS:39025 +#: ../NEWS:37101 ../NEWS:39068 msgid "" ":issue:`30303`: Add _utest option to textview; add new tests. Increase " "coverage to 100%. Patches by Louie Lu and Terry Jan Reedy." msgstr "" -#: ../NEWS:37061 ../NEWS:39334 +#: ../NEWS:37104 ../NEWS:39377 msgid "" ":issue:`29071`: IDLE colors f-string prefixes (but not invalid ur prefixes)." msgstr "" -#: ../NEWS:37063 ../NEWS:39336 +#: ../NEWS:37106 ../NEWS:39379 msgid "" ":issue:`28572`: Add 10% to coverage of IDLE's test_configdialog. Update and " "augment description of the configuration system." msgstr "" -#: ../NEWS:37069 ../NEWS:38708 +#: ../NEWS:37112 ../NEWS:38751 msgid "" ":issue:`30983`: gdb integration commands (py-bt, etc.) work on optimized " "shared builds now, too. :pep:`523` introduced _PyEval_EvalFrameDefault " @@ -63661,11 +63730,11 @@ msgid "" "\"Polaco\" Penteado." msgstr "" -#: ../NEWS:37077 +#: ../NEWS:37120 msgid ":issue:`29748`: Added the slice index converter in Argument Clinic." msgstr "" -#: ../NEWS:37079 +#: ../NEWS:37122 msgid "" ":issue:`24037`: Argument Clinic now uses the converter " "``bool(accept={int})`` rather than ``int`` for semantical booleans. This " @@ -63673,18 +63742,18 @@ msgid "" "converting to ``bool`` in future." msgstr "" -#: ../NEWS:37084 ../NEWS:39073 +#: ../NEWS:37127 ../NEWS:39116 msgid "" ":issue:`29367`: python-gdb.py now supports also ``method-wrapper`` " "(``wrapperobject``) objects." msgstr "" -#: ../NEWS:37087 ../NEWS:39541 +#: ../NEWS:37130 ../NEWS:39584 msgid "" ":issue:`28023`: Fix python-gdb.py didn't support new dict implementation." msgstr "" -#: ../NEWS:37089 +#: ../NEWS:37132 msgid "" ":issue:`15369`: The pybench and pystone microbenchmark have been removed " "from Tools. Please use the new Python benchmark suite https://github.com/" @@ -63692,20 +63761,20 @@ msgid "" "of pybench working on Python 2 and Python 3." msgstr "" -#: ../NEWS:37094 +#: ../NEWS:37137 msgid "" ":issue:`28102`: The zipfile module CLI now prints usage to stderr. Patch by " "Stephen J. Turnbull." msgstr "" -#: ../NEWS:37100 +#: ../NEWS:37143 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 "" -#: ../NEWS:37104 +#: ../NEWS:37147 msgid "" ":issue:`30832`: Remove own implementation for thread-local storage. CPython " "has provided the own implementation for thread-local storage (TLS) on Python/" @@ -63715,26 +63784,26 @@ msgid "" "unconditional in any case." msgstr "" -#: ../NEWS:37111 +#: ../NEWS:37154 msgid "" ":issue:`30708`: PyUnicode_AsWideCharString() now raises a ValueError if the " "second argument is NULL and the wchar_t\\* string contains null characters." msgstr "" -#: ../NEWS:37114 +#: ../NEWS:37157 msgid "" ":issue:`16500`: Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), " "PyOS_AfterFork_Parent() and PyOS_AfterFork_Child()." msgstr "" -#: ../NEWS:37117 +#: ../NEWS:37160 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 "" -#: ../NEWS:37121 +#: ../NEWS:37164 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 " @@ -63742,7 +63811,7 @@ msgid "" "functions PySlice_Unpack() and PySlice_AdjustIndices()." msgstr "" -#: ../NEWS:37126 ../NEWS:39364 ../NEWS:43055 +#: ../NEWS:37169 ../NEWS:39407 ../NEWS:43098 msgid "" ":issue:`29083`: Fixed the declaration of some public API functions. " "PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in " @@ -63751,152 +63820,152 @@ msgid "" "PY_SSIZE_T_CLEAN is defined." msgstr "" -#: ../NEWS:37132 +#: ../NEWS:37175 msgid "" ":issue:`28769`: The result of PyUnicode_AsUTF8AndSize() and " "PyUnicode_AsUTF8() is now of type ``const char *`` rather of ``char *``." msgstr "" -#: ../NEWS:37135 ../NEWS:39370 +#: ../NEWS:37178 ../NEWS:39413 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 "" -#: ../NEWS:37139 +#: ../NEWS:37182 msgid "" ":issue:`28822`: The index parameters *start* and *end* of " "PyUnicode_FindChar() are now adjusted to behave like ``str[start:end]``." msgstr "" -#: ../NEWS:37142 ../NEWS:39528 ../NEWS:43631 +#: ../NEWS:37185 ../NEWS:39571 ../NEWS:43674 msgid "" ":issue:`28808`: PyUnicode_CompareWithASCIIString() now never raises " "exceptions." msgstr "" -#: ../NEWS:37144 +#: ../NEWS:37187 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 "" -#: ../NEWS:37148 +#: ../NEWS:37191 msgid "" ":issue:`28748`: Private variable _Py_PackageContext is now of type ``const " "char *`` rather of ``char *``." msgstr "" -#: ../NEWS:37151 +#: ../NEWS:37194 msgid "" ":issue:`19569`: Compiler warnings are now emitted if use most of deprecated " "functions." msgstr "" -#: ../NEWS:37154 ../NEWS:40029 +#: ../NEWS:37197 ../NEWS:40072 msgid "" ":issue:`28426`: Deprecated undocumented functions " "PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " "PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." msgstr "" -#: ../NEWS:37160 +#: ../NEWS:37203 msgid "Python 3.6.6 final" msgstr "" -#: ../NEWS:37164 +#: ../NEWS:37207 msgid "There were no new changes in version 3.6.6." msgstr "" -#: ../NEWS:37169 +#: ../NEWS:37212 msgid "Python 3.6.6 release candidate 1" msgstr "" -#: ../NEWS:37171 +#: ../NEWS:37214 msgid "*Release date: 2018-06-11*" msgstr "" -#: ../NEWS:37402 +#: ../NEWS:37445 msgid ":issue:`33184`: Update Windows installer to OpenSSL 1.0.2o." msgstr "" -#: ../NEWS:37407 +#: ../NEWS:37450 msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.0.2o." msgstr "" -#: ../NEWS:37439 +#: ../NEWS:37482 msgid "" ":issue:`29706`: IDLE now colors async and await as keywords in 3.6. They " "become full keywords in 3.7." msgstr "" -#: ../NEWS:37480 +#: ../NEWS:37523 msgid "Python 3.6.5 final" msgstr "" -#: ../NEWS:37482 +#: ../NEWS:37525 msgid "*Release date: 2018-03-28*" msgstr "" -#: ../NEWS:37496 +#: ../NEWS:37539 msgid "Python 3.6.5 release candidate 1" msgstr "" -#: ../NEWS:37498 +#: ../NEWS:37541 msgid "*Release date: 2018-03-13*" msgstr "" -#: ../NEWS:37537 +#: ../NEWS:37580 msgid "" ":issue:`32329`: ``sys.flags.hash_randomization`` is now properly set to 0 " "when hash randomization is turned off by ``PYTHONHASHSEED=0``." msgstr "" -#: ../NEWS:37540 +#: ../NEWS:37583 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 "" -#: ../NEWS:37567 +#: ../NEWS:37610 msgid "" ":issue:`30353`: Fix ctypes pass-by-value for structs on 64-bit Cygwin/MinGW." msgstr "" -#: ../NEWS:37605 +#: ../NEWS:37648 msgid "" ":issue:`32394`: socket: Remove TCP_FASTOPEN, TCP_KEEPCNT flags on older " "version Windows during run-time." msgstr "" -#: ../NEWS:37637 +#: ../NEWS:37680 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 "" -#: ../NEWS:37655 +#: ../NEWS:37698 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 "" -#: ../NEWS:37720 +#: ../NEWS:37763 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 "" -#: ../NEWS:37753 +#: ../NEWS:37796 msgid ":issue:`32588`: Create standalone _distutils_findvs module." msgstr "" -#: ../NEWS:37758 +#: ../NEWS:37801 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 " @@ -63904,29 +63973,29 @@ msgid "" "10.9+ installer now links with and supplies its own copy of Tcl/Tk 8.6.8." msgstr "" -#: ../NEWS:37814 +#: ../NEWS:37857 msgid "Python 3.6.4 final" msgstr "" -#: ../NEWS:37816 +#: ../NEWS:37859 msgid "*Release date: 2017-12-18*" msgstr "" -#: ../NEWS:37818 +#: ../NEWS:37861 msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." msgstr "" -#: ../NEWS:37823 +#: ../NEWS:37866 msgid "Python 3.6.4 release candidate 1" msgstr "" -#: ../NEWS:37852 +#: ../NEWS:37895 msgid "" ":issue:`31852`: Fix a segmentation fault caused by a combination of the " "async soft keyword and continuation lines." msgstr "" -#: ../NEWS:38186 +#: ../NEWS:38229 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 " @@ -63937,237 +64006,237 @@ msgid "" "help explains a bit about the additions." msgstr "" -#: ../NEWS:38242 +#: ../NEWS:38285 msgid "Python 3.6.3 final" msgstr "" -#: ../NEWS:38244 +#: ../NEWS:38287 msgid "*Release date: 2017-10-03*" msgstr "" -#: ../NEWS:38249 +#: ../NEWS:38292 msgid "" ":issue:`31641`: Re-allow arbitrary iterables in ``concurrent.futures." "as_completed()``. Fixes regression in 3.6.3rc1." msgstr "" -#: ../NEWS:38255 +#: ../NEWS:38298 msgid "" ":issue:`31662`: Fix typos in Windows ``uploadrelease.bat`` script. Fix " "Windows Doc build issues in ``Doc/make.bat``." msgstr "" -#: ../NEWS:38258 +#: ../NEWS:38301 msgid "" ":issue:`31423`: Fix building the PDF documentation with newer versions of " "Sphinx." msgstr "" -#: ../NEWS:38263 +#: ../NEWS:38306 msgid "Python 3.6.3 release candidate 1" msgstr "" -#: ../NEWS:38265 +#: ../NEWS:38308 msgid "*Release date: 2017-09-18*" msgstr "" -#: ../NEWS:38718 +#: ../NEWS:38761 msgid "Python 3.6.2 final" msgstr "" -#: ../NEWS:38720 +#: ../NEWS:38763 msgid "*Release date: 2017-07-17*" msgstr "" -#: ../NEWS:38722 ../NEWS:39446 +#: ../NEWS:38765 ../NEWS:39489 msgid "No changes since release candidate 2" msgstr "" -#: ../NEWS:38727 +#: ../NEWS:38770 msgid "Python 3.6.2 release candidate 2" msgstr "" -#: ../NEWS:38729 +#: ../NEWS:38772 msgid "*Release date: 2017-07-07*" msgstr "" -#: ../NEWS:38754 +#: ../NEWS:38797 msgid "Python 3.6.2 release candidate 1" msgstr "" -#: ../NEWS:38756 +#: ../NEWS:38799 msgid "*Release date: 2017-06-17*" msgstr "" -#: ../NEWS:38771 +#: ../NEWS:38814 msgid "" ":issue:`30604`: Move co_extra_freefuncs to not be per-thread to avoid crashes" msgstr "" -#: ../NEWS:38801 ../NEWS:42707 +#: ../NEWS:38844 ../NEWS:42750 msgid ":issue:`29600`: Fix wrapping coroutine return values in StopIteration." msgstr "" -#: ../NEWS:38830 ../NEWS:42773 +#: ../NEWS:38873 ../NEWS:42816 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 "" -#: ../NEWS:38840 +#: ../NEWS:38883 msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup (#2159)" msgstr "" -#: ../NEWS:38914 ../NEWS:42841 +#: ../NEWS:38957 ../NEWS:42884 msgid "" ":issue:`26293`: Change resulted because of zipfile breakage. (See also: :" "issue:`29094`)" msgstr "" -#: ../NEWS:38988 ../NEWS:42908 +#: ../NEWS:39031 ../NEWS:42951 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 "" -#: ../NEWS:39031 +#: ../NEWS:39074 msgid "" ":issue:`27867`: Function PySlice_GetIndicesEx() no longer replaced with a " "macro if Py_LIMITED_API is not set." msgstr "" -#: ../NEWS:39103 +#: ../NEWS:39146 msgid "Python 3.6.1 final" msgstr "" -#: ../NEWS:39105 +#: ../NEWS:39148 msgid "*Release date: 2017-03-21*" msgstr "" -#: ../NEWS:39121 +#: ../NEWS:39164 msgid ":issue:`27593`: fix format of git information used in sys.version" msgstr "" -#: ../NEWS:39123 +#: ../NEWS:39166 msgid "Fix incompatible comment in python.h" msgstr "" -#: ../NEWS:39127 +#: ../NEWS:39170 msgid "Python 3.6.1 release candidate 1" msgstr "" -#: ../NEWS:39129 +#: ../NEWS:39172 msgid "*Release date: 2017-03-04*" msgstr "" -#: ../NEWS:39240 ../NEWS:42940 +#: ../NEWS:39283 ../NEWS:42983 msgid "" ":issue:`29519`: Fix weakref spewing exceptions during interpreter shutdown " "when used with a rare combination of multiprocessing and custom codecs." msgstr "" -#: ../NEWS:39256 +#: ../NEWS:39299 msgid "" ":issue:`29316`: Restore the provisional status of typing module, add " "corresponding note to documentation. Patch by Ivan L." msgstr "" -#: ../NEWS:39262 ../NEWS:42956 +#: ../NEWS:39305 ../NEWS:42999 msgid "" ":issue:`29011`: Fix an important omission by adding Deque to the typing " "module." msgstr "" -#: ../NEWS:39276 +#: ../NEWS:39319 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 "" -#: ../NEWS:39283 ../NEWS:43222 +#: ../NEWS:39326 ../NEWS:43265 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 "" -#: ../NEWS:39286 +#: ../NEWS:39329 msgid "" ":issue:`29085`: Allow random.Random.seed() to use high quality OS randomness " "rather than the pid and time." msgstr "" -#: ../NEWS:39289 +#: ../NEWS:39332 msgid "" ":issue:`29061`: Fixed bug in secrets.randbelow() which would hang when given " "a negative input. Patch by Brendan Donegan." msgstr "" -#: ../NEWS:39297 ../NEWS:43228 +#: ../NEWS:39340 ../NEWS:43271 msgid "" ":issue:`29119`: Fix weakrefs in the pure python version of collections." "OrderedDict move_to_end() method. Contributed by Andra Bogildea." msgstr "" -#: ../NEWS:39309 +#: ../NEWS:39352 msgid "" ":issue:`29055`: Neaten-up empty population error on random.choice() by " "suppressing the upstream exception." msgstr "" -#: ../NEWS:39324 ../NEWS:43252 +#: ../NEWS:39367 ../NEWS:43295 msgid "" ":issue:`28847`: dbm.dumb now supports reading read-only files and no longer " "writes the index file when it is not changed." msgstr "" -#: ../NEWS:39342 +#: ../NEWS:39385 msgid ":issue:`29579`: Removes readme.txt from the installer" msgstr "" -#: ../NEWS:39344 +#: ../NEWS:39387 msgid "" ":issue:`29326`: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)" msgstr "" -#: ../NEWS:39346 +#: ../NEWS:39389 msgid "" ":issue:`28164`: Correctly handle special console filenames (patch by Eryk " "Sun)" msgstr "" -#: ../NEWS:39348 +#: ../NEWS:39391 msgid ":issue:`29409`: Implement :pep:`529` for io.FileIO (Patch by Eryk Sun)" msgstr "" -#: ../NEWS:39350 ../NEWS:43045 +#: ../NEWS:39393 ../NEWS:43088 msgid "" ":issue:`29392`: Prevent crash when passing invalid arguments into msvcrt " "module." msgstr "" -#: ../NEWS:39355 +#: ../NEWS:39398 msgid "" ":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default." msgstr "" -#: ../NEWS:39360 +#: ../NEWS:39403 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 "" -#: ../NEWS:39390 ../NEWS:43010 +#: ../NEWS:39433 ../NEWS:43053 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 "" -#: ../NEWS:39394 ../NEWS:43020 +#: ../NEWS:39437 ../NEWS:43063 msgid "" ":issue:`29571`: to match the behaviour of the ``re.LOCALE`` flag, test_re." "test_locale_flag now uses ``locale.getpreferredencoding(False)`` to " @@ -64176,60 +64245,60 @@ msgid "" "encoding)" msgstr "" -#: ../NEWS:39442 +#: ../NEWS:39485 msgid "Python 3.6.0 final" msgstr "" -#: ../NEWS:39444 +#: ../NEWS:39487 msgid "*Release date: 2016-12-23*" msgstr "" -#: ../NEWS:39451 +#: ../NEWS:39494 msgid "Python 3.6.0 release candidate 2" msgstr "" -#: ../NEWS:39453 +#: ../NEWS:39496 msgid "*Release date: 2016-12-16*" msgstr "" -#: ../NEWS:39461 +#: ../NEWS:39504 msgid "" ":issue:`28990`: Fix asyncio SSL hanging if connection is closed before " "handshake is completed. (Patch by HoHo-Ho)" msgstr "" -#: ../NEWS:39467 +#: ../NEWS:39510 msgid ":issue:`28770`: Fix python-gdb.py for fastcalls." msgstr "" -#: ../NEWS:39472 +#: ../NEWS:39515 msgid ":issue:`28896`: Deprecate WindowsRegistryFinder." msgstr "" -#: ../NEWS:39477 +#: ../NEWS:39520 msgid "" ":issue:`28898`: Prevent gdb build errors due to HAVE_LONG_LONG redefinition." msgstr "" -#: ../NEWS:39481 +#: ../NEWS:39524 msgid "Python 3.6.0 release candidate 1" msgstr "" -#: ../NEWS:39483 +#: ../NEWS:39526 msgid "*Release date: 2016-12-06*" msgstr "" -#: ../NEWS:39505 +#: ../NEWS:39548 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 "" -#: ../NEWS:39523 +#: ../NEWS:39566 msgid ":issue:`28843`: Fix asyncio C Task to handle exceptions __traceback__." msgstr "" -#: ../NEWS:39533 +#: ../NEWS:39576 msgid "" ":issue:`23722`: The data model reference and the porting section in the " "What's New guide now cover the additional ``__classcell__`` handling needed " @@ -64237,171 +64306,171 @@ msgid "" "``super()``." msgstr "" -#: ../NEWS:39545 +#: ../NEWS:39588 msgid "Python 3.6.0 beta 4" msgstr "" -#: ../NEWS:39547 +#: ../NEWS:39590 msgid "*Release date: 2016-11-21*" msgstr "" -#: ../NEWS:39575 +#: ../NEWS:39618 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 "" -#: ../NEWS:39594 +#: ../NEWS:39637 msgid "" ":issue:`20572`: The subprocess.Popen.wait method's undocumented endtime " "parameter now raises a DeprecationWarning." msgstr "" -#: ../NEWS:39611 +#: ../NEWS:39654 msgid ":issue:`28600`: Optimize loop.call_soon." msgstr "" -#: ../NEWS:39613 ../NEWS:43582 +#: ../NEWS:39656 ../NEWS:43625 msgid "" ":issue:`28613`: Fix get_event_loop() return the current loop if called from " "coroutines/callbacks." msgstr "" -#: ../NEWS:39616 +#: ../NEWS:39659 msgid ":issue:`28634`: Fix asyncio.isfuture() to support unittest.Mock." msgstr "" -#: ../NEWS:39618 +#: ../NEWS:39661 msgid ":issue:`26081`: Fix refleak in _asyncio.Future.__iter__().throw." msgstr "" -#: ../NEWS:39620 ../NEWS:43585 +#: ../NEWS:39663 ../NEWS:43628 msgid "" ":issue:`28639`: Fix inspect.isawaitable to always return bool Patch by " "Justin Mayfield." msgstr "" -#: ../NEWS:39623 ../NEWS:43588 +#: ../NEWS:39666 ../NEWS:43631 msgid "" ":issue:`28652`: Make loop methods reject socket kinds they do not support." msgstr "" -#: ../NEWS:39625 ../NEWS:43590 +#: ../NEWS:39668 ../NEWS:43633 msgid ":issue:`28653`: Fix a refleak in functools.lru_cache." msgstr "" -#: ../NEWS:39627 ../NEWS:43592 +#: ../NEWS:39670 ../NEWS:43635 msgid ":issue:`28703`: Fix asyncio.iscoroutinefunction to handle Mock objects." msgstr "" -#: ../NEWS:39629 +#: ../NEWS:39672 msgid "" ":issue:`28704`: Fix create_unix_server to support Path-like objects (PEP " "519)." msgstr "" -#: ../NEWS:39631 +#: ../NEWS:39674 msgid ":issue:`28720`: Add collections.abc.AsyncGenerator." msgstr "" -#: ../NEWS:39659 +#: ../NEWS:39702 msgid "Python 3.6.0 beta 3" msgstr "" -#: ../NEWS:39661 +#: ../NEWS:39704 msgid "*Release date: 2016-10-31*" msgstr "" -#: ../NEWS:39684 +#: ../NEWS:39727 msgid "" ":issue:`28471`: Fix \"Python memory allocator called without holding the " "GIL\" crash in socket.setblocking." msgstr "" -#: ../NEWS:39706 +#: ../NEWS:39749 msgid "" ":issue:`18844`: The various ways of specifying weights for random.choices() " "now produce the same result sequences." msgstr "" -#: ../NEWS:39709 ../NEWS:43284 +#: ../NEWS:39752 ../NEWS:43327 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 "" -#: ../NEWS:39742 ../NEWS:43298 +#: ../NEWS:39785 ../NEWS:43341 msgid ":issue:`24452`: Make webbrowser support Chrome on Mac OS X." msgstr "" -#: ../NEWS:39747 +#: ../NEWS:39790 msgid "" ":issue:`28492`: Fix how StopIteration exception is raised in _asyncio.Future." msgstr "" -#: ../NEWS:39749 +#: ../NEWS:39792 msgid "" ":issue:`28500`: Fix asyncio to handle async gens GC from another thread." msgstr "" -#: ../NEWS:39751 ../NEWS:43574 +#: ../NEWS:39794 ../NEWS:43617 msgid "" ":issue:`26923`: Fix asyncio.Gather to refuse being cancelled once all " "children are done. Patch by Johannes Ebke." msgstr "" -#: ../NEWS:39754 ../NEWS:43577 +#: ../NEWS:39797 ../NEWS:43620 msgid "" ":issue:`26796`: Don't configure the number of workers for default threadpool " "executor. Initial patch by Hans Lawrenz." msgstr "" -#: ../NEWS:39757 +#: ../NEWS:39800 msgid ":issue:`28544`: Implement asyncio.Task in C." msgstr "" -#: ../NEWS:39783 +#: ../NEWS:39826 msgid "Python 3.6.0 beta 2" msgstr "" -#: ../NEWS:39785 +#: ../NEWS:39828 msgid "*Release date: 2016-10-10*" msgstr "" -#: ../NEWS:39801 +#: ../NEWS:39844 msgid "" ":issue:`28376`: Creating instances of range_iterator by calling " "range_iterator type now is deprecated. Patch by Oren Milman." msgstr "" -#: ../NEWS:39804 ../NEWS:43125 +#: ../NEWS:39847 ../NEWS:43168 msgid "" ":issue:`28376`: The constructor of range_iterator now checks that step is " "not 0. Patch by Oren Milman." msgstr "" -#: ../NEWS:39865 ../NEWS:43303 +#: ../NEWS:39908 ../NEWS:43346 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 "" -#: ../NEWS:39872 +#: ../NEWS:39915 msgid ":issue:`27181`: remove statistics.geometric_mean and defer until 3.7." msgstr "" -#: ../NEWS:40051 +#: ../NEWS:40094 msgid "Python 3.6.0 beta 1" msgstr "" -#: ../NEWS:40053 +#: ../NEWS:40096 msgid "*Release date: 2016-09-12*" msgstr "" -#: ../NEWS:40058 +#: ../NEWS:40101 msgid "" ":issue:`23722`: The __class__ cell used by zero-argument super() is now " "initialized from type.__new__ rather than __build_class__, so class methods " @@ -64409,25 +64478,25 @@ msgid "" "during class creation. Patch by Martin Teichmann." msgstr "" -#: ../NEWS:40063 ../NEWS:43156 +#: ../NEWS:40106 ../NEWS:43199 msgid "" ":issue:`25221`: Fix corrupted result from PyLong_FromLong(0) when Python is " "compiled with NSMALLPOSINTS = 0." msgstr "" -#: ../NEWS:40066 +#: ../NEWS:40109 msgid "" ":issue:`27080`: Implement formatting support for :pep:`515`. Initial patch " "by Chris Angelico." msgstr "" -#: ../NEWS:40069 +#: ../NEWS:40112 msgid "" ":issue:`27199`: In tarfile, expose copyfileobj bufsize to improve " "throughput. Patch by Jason Fried." msgstr "" -#: ../NEWS:40072 +#: ../NEWS:40115 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 " @@ -64436,311 +64505,311 @@ msgid "" "and not escapes like ``f'\\x7b\"hi\"\\x7d'``." msgstr "" -#: ../NEWS:40078 +#: ../NEWS:40121 msgid ":issue:`28046`: Remove platform-specific directories from sys.path." msgstr "" -#: ../NEWS:40080 +#: ../NEWS:40123 msgid ":issue:`28071`: Add early-out for differencing from an empty set." msgstr "" -#: ../NEWS:40082 ../NEWS:43159 +#: ../NEWS:40125 ../NEWS:43202 msgid "" ":issue:`25758`: Prevents zipimport from unnecessarily encoding a filename " "(patch by Eryk Sun)" msgstr "" -#: ../NEWS:40085 +#: ../NEWS:40128 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 "" -#: ../NEWS:40088 +#: ../NEWS:40131 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 "" -#: ../NEWS:40092 +#: ../NEWS:40135 msgid "" ":issue:`26331`: Implement tokenizing support for :pep:`515`. Patch by Georg " "Brandl." msgstr "" -#: ../NEWS:40095 +#: ../NEWS:40138 msgid "" ":issue:`27999`: Make \"global after use\" a SyntaxError, and ditto for " "nonlocal. Patch by Ivan Levkivskyi." msgstr "" -#: ../NEWS:40098 +#: ../NEWS:40141 msgid ":issue:`28003`: Implement :pep:`525` -- Asynchronous Generators." msgstr "" -#: ../NEWS:40100 +#: ../NEWS:40143 msgid "" ":issue:`27985`: Implement :pep:`526` -- Syntax for Variable Annotations. " "Patch by Ivan Levkivskyi." msgstr "" -#: ../NEWS:40103 +#: ../NEWS:40146 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 "" -#: ../NEWS:40107 +#: ../NEWS:40150 msgid "" ":issue:`27364`: A backslash-character pair that is not a valid escape " "sequence now generates a DeprecationWarning. Patch by Emanuel Barry." msgstr "" -#: ../NEWS:40110 +#: ../NEWS:40153 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 "" -#: ../NEWS:40114 +#: ../NEWS:40157 msgid "" ":issue:`27911`: Remove unnecessary error checks in " "``exec_builtin_or_dynamic()``." msgstr "" -#: ../NEWS:40117 +#: ../NEWS:40160 msgid "" ":issue:`27078`: Added BUILD_STRING opcode. Optimized f-strings evaluation." msgstr "" -#: ../NEWS:40119 +#: ../NEWS:40162 msgid "" ":issue:`17884`: Python now requires systems with inttypes.h and stdint.h" msgstr "" -#: ../NEWS:40121 +#: ../NEWS:40164 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 "" -#: ../NEWS:40125 +#: ../NEWS:40168 msgid "" ":issue:`27355`: Removed support for Windows CE. It was never finished, and " "Windows CE is no longer a relevant platform for Python." msgstr "" -#: ../NEWS:40128 +#: ../NEWS:40171 msgid "Implement :pep:`523`." msgstr "" -#: ../NEWS:40130 +#: ../NEWS:40173 msgid "" ":issue:`27870`: A left shift of zero by a large integer no longer attempts " "to allocate large amounts of memory." msgstr "" -#: ../NEWS:40133 +#: ../NEWS:40176 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 "" -#: ../NEWS:40137 +#: ../NEWS:40180 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 "" -#: ../NEWS:40141 +#: ../NEWS:40184 msgid "" ":issue:`27506`: Support passing the bytes/bytearray.translate() \"delete\" " "argument by keyword." msgstr "" -#: ../NEWS:40144 ../NEWS:43165 +#: ../NEWS:40187 ../NEWS:43208 msgid "" ":issue:`27812`: Properly clear out a generator's frame's backreference to " "the generator to prevent crashes in frame.clear()." msgstr "" -#: ../NEWS:40147 ../NEWS:43168 +#: ../NEWS:40190 ../NEWS:43211 msgid "" ":issue:`27811`: Fix a crash when a coroutine that has not been awaited is " "finalized with warnings-as-errors enabled." msgstr "" -#: ../NEWS:40150 ../NEWS:43171 +#: ../NEWS:40193 ../NEWS:43214 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 "" -#: ../NEWS:40153 +#: ../NEWS:40196 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 "" -#: ../NEWS:40157 +#: ../NEWS:40200 msgid ":issue:`26984`: int() now always returns an instance of exact int." msgstr "" -#: ../NEWS:40159 +#: ../NEWS:40202 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 "" -#: ../NEWS:40163 +#: ../NEWS:40206 msgid ":issue:`24254`: Make class definition namespace ordered by default." msgstr "" -#: ../NEWS:40165 +#: ../NEWS:40208 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 "" -#: ../NEWS:40169 ../NEWS:43177 +#: ../NEWS:40212 ../NEWS:43220 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 "" -#: ../NEWS:40173 ../NEWS:43181 +#: ../NEWS:40216 ../NEWS:43224 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 "" -#: ../NEWS:40177 ../NEWS:43185 +#: ../NEWS:40220 ../NEWS:43228 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 "" -#: ../NEWS:40181 +#: ../NEWS:40224 msgid "" ":issue:`27157`: Make only type() itself accept the one-argument form. Patch " "by Eryk Sun and Emanuel Barry." msgstr "" -#: ../NEWS:40184 ../NEWS:43189 +#: ../NEWS:40227 ../NEWS:43232 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 "" -#: ../NEWS:40188 +#: ../NEWS:40231 msgid ":issue:`28008`: Implement :pep:`530` -- asynchronous comprehensions." msgstr "" -#: ../NEWS:40190 ../NEWS:43214 +#: ../NEWS:40233 ../NEWS:43257 msgid ":issue:`27942`: Fix memory leak in codeobject.c" msgstr "" -#: ../NEWS:40195 ../NEWS:43258 +#: ../NEWS:40238 ../NEWS:43301 msgid ":issue:`28732`: Fix crash in os.spawnv() with no elements in args" msgstr "" -#: ../NEWS:40197 ../NEWS:43260 +#: ../NEWS:40240 ../NEWS:43303 msgid "" ":issue:`28485`: Always raise ValueError for negative compileall." "compile_dir(workers=...) parameter, even when multithreading is unavailable." msgstr "" -#: ../NEWS:40201 +#: ../NEWS:40244 msgid "" ":issue:`28037`: Use sqlite3_get_autocommit() instead of setting Connection-" ">inTransaction manually." msgstr "" -#: ../NEWS:40204 +#: ../NEWS:40247 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 "" -#: ../NEWS:40207 +#: ../NEWS:40250 msgid "" ":issue:`24454`: Regular expression match object groups are now accessible " "using __getitem__. \"mo[x]\" is equivalent to \"mo.group(x)\"." msgstr "" -#: ../NEWS:40210 +#: ../NEWS:40253 msgid "" ":issue:`10740`: sqlite3 no longer implicitly commit an open transaction " "before DDL statements." msgstr "" -#: ../NEWS:40213 +#: ../NEWS:40256 msgid ":issue:`17941`: Add a *module* parameter to collections.namedtuple()." msgstr "" -#: ../NEWS:40215 +#: ../NEWS:40258 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 "" -#: ../NEWS:40219 +#: ../NEWS:40262 msgid "" ":issue:`26885`: xmlrpc now supports unmarshalling additional data types used " "by Apache XML-RPC implementation for numerics and None." msgstr "" -#: ../NEWS:40222 +#: ../NEWS:40265 msgid "" ":issue:`28070`: Fixed parsing inline verbose flag in regular expressions." msgstr "" -#: ../NEWS:40224 +#: ../NEWS:40267 msgid "" ":issue:`19500`: Add client-side SSL session resumption to the ssl module." msgstr "" -#: ../NEWS:40226 +#: ../NEWS:40269 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 "" -#: ../NEWS:40230 +#: ../NEWS:40273 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 "" -#: ../NEWS:40234 +#: ../NEWS:40277 msgid "" ":issue:`24693`: Changed some RuntimeError's in the zipfile module to more " "appropriate types. Improved some error messages and debugging output." msgstr "" -#: ../NEWS:40237 +#: ../NEWS:40280 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 "" -#: ../NEWS:40240 +#: ../NEWS:40283 msgid "" ":issue:`27137`: the pure Python fallback implementation of ``functools." "partial`` now matches the behaviour of its accelerated C counterpart for " @@ -64748,313 +64817,313 @@ msgid "" "Barry and Serhiy Storchaka." msgstr "" -#: ../NEWS:40245 ../NEWS:43313 +#: ../NEWS:40288 ../NEWS:43356 msgid "" "Fix possible integer overflows and crashes in the mmap module with unusual " "usage patterns." msgstr "" -#: ../NEWS:40248 ../NEWS:43316 +#: ../NEWS:40291 ../NEWS:43359 msgid "" ":issue:`1703178`: Fix the ability to pass the --link-objects option to the " "distutils build_ext command." msgstr "" -#: ../NEWS:40251 ../NEWS:43363 +#: ../NEWS:40294 ../NEWS:43406 msgid "" ":issue:`28019`: itertools.count() no longer rounds non-integer step in range " "between 1.0 and 2.0 to 1." msgstr "" -#: ../NEWS:40254 +#: ../NEWS:40297 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 "" -#: ../NEWS:40258 ../NEWS:43366 +#: ../NEWS:40301 ../NEWS:43409 msgid "" ":issue:`25969`: Update the lib2to3 grammar to handle the unpacking " "generalizations added in 3.5." msgstr "" -#: ../NEWS:40261 ../NEWS:43369 +#: ../NEWS:40304 ../NEWS:43412 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 "" -#: ../NEWS:40264 +#: ../NEWS:40307 msgid ":issue:`28082`: Convert re flag constants to IntFlag." msgstr "" -#: ../NEWS:40266 +#: ../NEWS:40309 msgid "" ":issue:`28025`: Convert all ssl module constants to IntEnum and IntFlags. " "SSLContext properties now return flags and enums." msgstr "" -#: ../NEWS:40269 +#: ../NEWS:40312 msgid ":issue:`23591`: Add Flag, IntFlag, and auto() to enum module." msgstr "" -#: ../NEWS:40271 +#: ../NEWS:40314 msgid "" ":issue:`433028`: Added support of modifier spans in regular expressions." msgstr "" -#: ../NEWS:40273 ../NEWS:43372 +#: ../NEWS:40316 ../NEWS:43415 msgid ":issue:`24594`: Validates persist parameter when opening MSI database" msgstr "" -#: ../NEWS:40275 ../NEWS:43374 +#: ../NEWS:40318 ../NEWS:43417 msgid "" ":issue:`17582`: xml.etree.ElementTree nows preserves whitespaces in " "attributes (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.)" msgstr "" -#: ../NEWS:40278 ../NEWS:43377 +#: ../NEWS:40321 ../NEWS:43420 msgid "" ":issue:`28047`: Fixed calculation of line length used for the base64 CTE in " "the new email policies." msgstr "" -#: ../NEWS:40281 +#: ../NEWS:40324 msgid ":issue:`27576`: Fix call order in OrderedDict.__init__()." msgstr "" -#: ../NEWS:40283 +#: ../NEWS:40326 msgid "email.generator.DecodedGenerator now supports the policy keyword." msgstr "" -#: ../NEWS:40285 +#: ../NEWS:40328 msgid "" ":issue:`28027`: Remove undocumented modules from ``Lib/plat-*``: IN, CDROM, " "DLFCN, TYPES, CDIO, and STROPTS." msgstr "" -#: ../NEWS:40288 ../NEWS:43380 +#: ../NEWS:40331 ../NEWS:43423 msgid "" ":issue:`27445`: Don't pass str(_charset) to MIMEText.set_payload(). Patch by " "Claude Paroz." msgstr "" -#: ../NEWS:40291 +#: ../NEWS:40334 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 "" -#: ../NEWS:40294 ../NEWS:43383 +#: ../NEWS:40337 ../NEWS:43426 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 "" -#: ../NEWS:40298 ../NEWS:43387 +#: ../NEWS:40341 ../NEWS:43430 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 "" -#: ../NEWS:40302 +#: ../NEWS:40345 msgid "" ":issue:`28005`: Allow ImportErrors in encoding implementation to propagate." msgstr "" -#: ../NEWS:40304 +#: ../NEWS:40347 msgid ":issue:`26667`: Support path-like objects in importlib.util." msgstr "" -#: ../NEWS:40306 ../NEWS:43391 +#: ../NEWS:40349 ../NEWS:43434 msgid "" ":issue:`27570`: Avoid zero-length memcpy() etc calls with null source " "pointers in the \"ctypes\" and \"array\" modules." msgstr "" -#: ../NEWS:40309 ../NEWS:43394 +#: ../NEWS:40352 ../NEWS:43437 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 "" -#: ../NEWS:40313 +#: ../NEWS:40356 msgid "" ":issue:`27331`: The email.mime classes now all accept an optional policy " "keyword." msgstr "" -#: ../NEWS:40316 ../NEWS:43398 +#: ../NEWS:40359 ../NEWS:43441 msgid "" ":issue:`27988`: Fix email iter_attachments incorrect mutation of payload " "list." msgstr "" -#: ../NEWS:40318 +#: ../NEWS:40361 msgid ":issue:`16113`: Add SHA-3 and SHAKE support to hashlib module." msgstr "" -#: ../NEWS:40320 +#: ../NEWS:40363 msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." msgstr "" -#: ../NEWS:40322 +#: ../NEWS:40365 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 "" -#: ../NEWS:40326 +#: ../NEWS:40369 msgid "" ":issue:`27778`: Expose the Linux ``getrandom()`` syscall as a new :func:`os." "getrandom` function. This change is part of the :pep:`524`." msgstr "" -#: ../NEWS:40329 ../NEWS:43400 +#: ../NEWS:40372 ../NEWS:43443 msgid "" ":issue:`27691`: Fix ssl module's parsing of GEN_RID subject alternative name " "fields in X.509 certs." msgstr "" -#: ../NEWS:40332 +#: ../NEWS:40375 msgid ":issue:`18844`: Add random.choices()." msgstr "" -#: ../NEWS:40334 +#: ../NEWS:40377 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 "" -#: ../NEWS:40338 +#: ../NEWS:40381 msgid ":issue:`26798`: Add BLAKE2 (blake2b and blake2s) to hashlib." msgstr "" -#: ../NEWS:40340 +#: ../NEWS:40383 msgid "" ":issue:`26032`: Optimized globbing in pathlib by using os.scandir(); it is " "now about 1.5--4 times faster." msgstr "" -#: ../NEWS:40343 +#: ../NEWS:40386 msgid "" ":issue:`25596`: Optimized glob() and iglob() functions in the glob module; " "they are now about 3--6 times faster." msgstr "" -#: ../NEWS:40346 +#: ../NEWS:40389 msgid "" ":issue:`27928`: Add scrypt (password-based key derivation function) to " "hashlib module (requires OpenSSL 1.1.0)." msgstr "" -#: ../NEWS:40349 ../NEWS:43403 +#: ../NEWS:40392 ../NEWS:43446 msgid "" ":issue:`27850`: Remove 3DES from ssl module's default cipher list to counter " "measure sweet32 attack (:cve:`2016-2183`)." msgstr "" -#: ../NEWS:40352 ../NEWS:43406 +#: ../NEWS:40395 ../NEWS:43449 msgid "" ":issue:`27766`: Add ChaCha20 Poly1305 to ssl module's default cipher list. " "(Required OpenSSL 1.1.0 or LibreSSL)." msgstr "" -#: ../NEWS:40355 +#: ../NEWS:40398 msgid ":issue:`25387`: Check return value of winsound.MessageBeep." msgstr "" -#: ../NEWS:40357 +#: ../NEWS:40400 msgid "" ":issue:`27866`: Add SSLContext.get_ciphers() method to get a list of all " "enabled ciphers." msgstr "" -#: ../NEWS:40360 +#: ../NEWS:40403 msgid ":issue:`27744`: Add AF_ALG (Linux Kernel crypto) to socket module." msgstr "" -#: ../NEWS:40362 ../NEWS:43409 +#: ../NEWS:40405 ../NEWS:43452 msgid ":issue:`26470`: Port ssl and hashlib module to OpenSSL 1.1.0." msgstr "" -#: ../NEWS:40364 +#: ../NEWS:40407 msgid "" ":issue:`11620`: Fix support for SND_MEMORY in winsound.PlaySound. Based on " "a patch by Tim Lesher." msgstr "" -#: ../NEWS:40367 +#: ../NEWS:40410 msgid "" ":issue:`11734`: Add support for IEEE 754 half-precision floats to the struct " "module. Based on a patch by Eli Stevens." msgstr "" -#: ../NEWS:40370 +#: ../NEWS:40413 msgid "" ":issue:`27919`: Deprecated ``extra_path`` distribution option in distutils " "packaging." msgstr "" -#: ../NEWS:40373 +#: ../NEWS:40416 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 "" -#: ../NEWS:40377 +#: ../NEWS:40420 msgid "" ":issue:`27842`: The csv.DictReader now returns rows of type OrderedDict. " "(Contributed by Steve Holden.)" msgstr "" -#: ../NEWS:40380 ../NEWS:43411 +#: ../NEWS:40423 ../NEWS:43454 msgid "" "Remove support for passing a file descriptor to os.access. It never worked " "but previously didn't raise." msgstr "" -#: ../NEWS:40383 ../NEWS:43414 +#: ../NEWS:40426 ../NEWS:43457 msgid ":issue:`12885`: Fix error when distutils encounters symlink." msgstr "" -#: ../NEWS:40385 ../NEWS:43416 +#: ../NEWS:40428 ../NEWS:43459 msgid "" ":issue:`27881`: Fixed possible bugs when setting sqlite3.Connection." "isolation_level. Based on patch by Xiang Zhang." msgstr "" -#: ../NEWS:40388 ../NEWS:43419 +#: ../NEWS:40431 ../NEWS:43462 msgid "" ":issue:`27861`: Fixed a crash in sqlite3.Connection.cursor() when a factory " "creates not a cursor. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:40391 ../NEWS:43422 +#: ../NEWS:40434 ../NEWS:43465 msgid ":issue:`19884`: Avoid spurious output on OS X with Gnu Readline." msgstr "" -#: ../NEWS:40393 ../NEWS:43424 +#: ../NEWS:40436 ../NEWS:43467 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 "" -#: ../NEWS:40398 ../NEWS:43429 +#: ../NEWS:40441 ../NEWS:43472 msgid "" ":issue:`10513`: Fix a regression in Connection.commit(). Statements should " "not be reset after a commit." msgstr "" -#: ../NEWS:40401 +#: ../NEWS:40444 msgid "" ":issue:`12319`: Chunked transfer encoding support added to http.client." "HTTPConnection requests. The urllib.request.AbstractHTTPHandler class does " @@ -65063,7 +65132,7 @@ msgid "" "to use chunked transfer-encoding." msgstr "" -#: ../NEWS:40408 +#: ../NEWS:40451 msgid "" "A new version of typing.py from https://github.com/python/typing: - " "Collection (only for 3.6) (:issue:`27598`) - Add FrozenSet to __all__ " @@ -65071,159 +65140,159 @@ msgid "" "dict constraint in ForwardRef._eval_type (upstream #252)" msgstr "" -#: ../NEWS:40413 +#: ../NEWS:40456 msgid "" ":issue:`27832`: Make ``_normalize`` parameter to ``Fraction`` constructor " "keyword-only, so that ``Fraction(2, 3, 4)`` now raises ``TypeError``." msgstr "" -#: ../NEWS:40416 ../NEWS:43437 +#: ../NEWS:40459 ../NEWS:43480 msgid "" ":issue:`27539`: Fix unnormalised ``Fraction.__pow__`` result in the case of " "negative exponent and negative base." msgstr "" -#: ../NEWS:40419 ../NEWS:43440 +#: ../NEWS:40462 ../NEWS:43483 msgid "" ":issue:`21718`: cursor.description is now available for queries using CTEs." msgstr "" -#: ../NEWS:40421 +#: ../NEWS:40464 msgid "" ":issue:`27819`: In distutils sdists, simply produce the \"gztar\" (gzipped " "tar format) distributions on all platforms unless \"formats\" is supplied." msgstr "" -#: ../NEWS:40424 ../NEWS:43442 +#: ../NEWS:40467 ../NEWS:43485 msgid "" ":issue:`2466`: posixpath.ismount now correctly recognizes mount points which " "the user does not have permission to access." msgstr "" -#: ../NEWS:40427 +#: ../NEWS:40470 msgid "" ":issue:`9998`: On Linux, ctypes.util.find_library now looks in " "LD_LIBRARY_PATH for shared libraries." msgstr "" -#: ../NEWS:40430 +#: ../NEWS:40473 msgid ":issue:`27573`: exit message for code.interact is now configurable." msgstr "" -#: ../NEWS:40432 ../NEWS:43532 +#: ../NEWS:40475 ../NEWS:43575 msgid "" ":issue:`27930`: Improved behaviour of logging.handlers.QueueListener. Thanks " "to Paulo Andrade and Petr Viktorin for the analysis and patch." msgstr "" -#: ../NEWS:40435 +#: ../NEWS:40478 msgid "" ":issue:`6766`: Distributed reference counting added to multiprocessing to " "support nesting of shared values / proxy objects." msgstr "" -#: ../NEWS:40438 ../NEWS:43535 +#: ../NEWS:40481 ../NEWS:43578 msgid "" ":issue:`21201`: Improves readability of multiprocessing error message. " "Thanks to Wojciech Walczak for patch." msgstr "" -#: ../NEWS:40441 +#: ../NEWS:40484 msgid "asyncio: Add set_protocol / get_protocol to Transports." msgstr "" -#: ../NEWS:40443 ../NEWS:43538 +#: ../NEWS:40486 ../NEWS:43581 msgid ":issue:`27456`: asyncio: Set TCP_NODELAY by default." msgstr "" -#: ../NEWS:40448 ../NEWS:43603 +#: ../NEWS:40491 ../NEWS:43646 msgid "" ":issue:`15308`: Add 'interrupt execution' (^C) to Shell menu. Patch by Roger " "Serwy, updated by Bayard Randel." msgstr "" -#: ../NEWS:40451 ../NEWS:43606 +#: ../NEWS:40494 ../NEWS:43649 msgid "" ":issue:`27922`: Stop IDLE tests from 'flashing' gui widgets on the screen." msgstr "" -#: ../NEWS:40453 +#: ../NEWS:40496 msgid "" ":issue:`27891`: Consistently group and sort imports within idlelib modules." msgstr "" -#: ../NEWS:40455 +#: ../NEWS:40498 msgid ":issue:`17642`: add larger font sizes for classroom projection." msgstr "" -#: ../NEWS:40457 ../NEWS:43608 +#: ../NEWS:40500 ../NEWS:43651 msgid "Add version to title of IDLE help window." msgstr "" -#: ../NEWS:40459 ../NEWS:43610 +#: ../NEWS:40502 ../NEWS:43653 msgid "" ":issue:`25564`: In section on IDLE -- console differences, mention that " "using exec means that __builtins__ is defined for each statement." msgstr "" -#: ../NEWS:40462 +#: ../NEWS:40505 msgid "" ":issue:`27821`: Fix 3.6.0a3 regression that prevented custom key sets from " "being selected when no custom theme was defined." msgstr "" -#: ../NEWS:40468 +#: ../NEWS:40511 msgid "" ":issue:`26900`: Excluded underscored names and other private API from " "limited API." msgstr "" -#: ../NEWS:40471 +#: ../NEWS:40514 msgid "" ":issue:`26027`: Add support for path-like objects in PyUnicode_FSConverter() " "& PyUnicode_FSDecoder()." msgstr "" -#: ../NEWS:40477 +#: ../NEWS:40520 msgid "" ":issue:`27427`: Additional tests for the math module. Patch by Francisco " "Couzo." msgstr "" -#: ../NEWS:40479 +#: ../NEWS:40522 msgid "" ":issue:`27953`: Skip math and cmath tests that fail on OS X 10.4 due to a " "poor libm implementation of tan." msgstr "" -#: ../NEWS:40482 +#: ../NEWS:40525 msgid "" ":issue:`26040`: Improve test_math and test_cmath coverage and rigour. Patch " "by Jeff Allen." msgstr "" -#: ../NEWS:40485 ../NEWS:43655 +#: ../NEWS:40528 ../NEWS:43698 msgid "" ":issue:`27787`: Call gc.collect() before checking each test for \"dangling " "threads\", since the dangling threads are weak references." msgstr "" -#: ../NEWS:40491 ../NEWS:43715 +#: ../NEWS:40534 ../NEWS:43758 msgid "" ":issue:`27566`: Fix clean target in freeze makefile (patch by Lisa Roach)" msgstr "" -#: ../NEWS:40493 ../NEWS:43717 +#: ../NEWS:40536 ../NEWS:43760 msgid ":issue:`27705`: Update message in validate_ucrtbase.py" msgstr "" -#: ../NEWS:40495 +#: ../NEWS:40538 msgid "" ":issue:`27976`: Deprecate building _ctypes with the bundled copy of libffi " "on non-OSX UNIX platforms." msgstr "" -#: ../NEWS:40498 +#: ../NEWS:40541 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 " @@ -65231,170 +65300,170 @@ msgid "" "the llvm-profdata tool on MacOS and some Linuxes." msgstr "" -#: ../NEWS:40503 +#: ../NEWS:40546 msgid ":issue:`21590`: Support for DTrace and SystemTap probes." msgstr "" -#: ../NEWS:40505 ../NEWS:43724 +#: ../NEWS:40548 ../NEWS:43767 msgid "" ":issue:`26307`: The profile-opt build now applies PGO to the built-in " "modules." msgstr "" -#: ../NEWS:40507 +#: ../NEWS:40550 msgid "" ":issue:`26359`: Add the --with-optimizations flag to turn on LTO and PGO " "build support when available." msgstr "" -#: ../NEWS:40510 +#: ../NEWS:40553 msgid ":issue:`27917`: Set platform triplets for Android builds." msgstr "" -#: ../NEWS:40512 +#: ../NEWS:40555 msgid "" ":issue:`25825`: Update references to the $(LIBPL) installation path on AIX. " "This path was changed in 3.2a4." msgstr "" -#: ../NEWS:40515 +#: ../NEWS:40558 msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." msgstr "" -#: ../NEWS:40517 +#: ../NEWS:40560 msgid ":issue:`21122`: Fix LTO builds on OS X." msgstr "" -#: ../NEWS:40519 +#: ../NEWS:40562 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 "" -#: ../NEWS:40526 ../NEWS:43664 +#: ../NEWS:40569 ../NEWS:43707 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 "" -#: ../NEWS:40533 +#: ../NEWS:40576 msgid ":issue:`28065`: Update xz dependency to 5.2.2 and build it from source." msgstr "" -#: ../NEWS:40535 ../NEWS:43681 +#: ../NEWS:40578 ../NEWS:43724 msgid "" ":issue:`25144`: Ensures TargetDir is set before continuing with custom " "install." msgstr "" -#: ../NEWS:40537 +#: ../NEWS:40580 msgid ":issue:`1602`: Windows console doesn't input or print Unicode (PEP 528)" msgstr "" -#: ../NEWS:40539 +#: ../NEWS:40582 msgid "" ":issue:`27781`: Change file system encoding on Windows to UTF-8 (PEP 529)" msgstr "" -#: ../NEWS:40541 +#: ../NEWS:40584 msgid ":issue:`27731`: Opt-out of MAX_PATH on Windows 10" msgstr "" -#: ../NEWS:40543 +#: ../NEWS:40586 msgid ":issue:`6135`: Adds encoding and errors parameters to subprocess." msgstr "" -#: ../NEWS:40545 +#: ../NEWS:40588 msgid "" ":issue:`27959`: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to " "codec lookup." msgstr "" -#: ../NEWS:40548 +#: ../NEWS:40591 msgid "" ":issue:`27982`: The functions of the winsound module now accept keyword " "arguments." msgstr "" -#: ../NEWS:40551 +#: ../NEWS:40594 msgid ":issue:`20366`: Build full text search support into SQLite on Windows." msgstr "" -#: ../NEWS:40553 +#: ../NEWS:40596 msgid "" ":issue:`27756`: Adds new icons for Python files and processes on Windows. " "Designs by Cherry Wang." msgstr "" -#: ../NEWS:40556 +#: ../NEWS:40599 msgid ":issue:`27883`: Update sqlite to 3.14.1.0 on Windows." msgstr "" -#: ../NEWS:40560 +#: ../NEWS:40603 msgid "Python 3.6.0 alpha 4" msgstr "" -#: ../NEWS:40562 +#: ../NEWS:40605 msgid "*Release date: 2016-08-15*" msgstr "" -#: ../NEWS:40567 +#: ../NEWS:40610 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 "" -#: ../NEWS:40571 +#: ../NEWS:40614 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 "" -#: ../NEWS:40575 +#: ../NEWS:40618 msgid "" ":issue:`27574`: Decreased an overhead of parsing keyword arguments in " "functions implemented with using Argument Clinic." msgstr "" -#: ../NEWS:40578 +#: ../NEWS:40621 msgid "" ":issue:`22557`: Now importing already imported modules is up to 2.5 times " "faster." msgstr "" -#: ../NEWS:40581 +#: ../NEWS:40624 msgid ":issue:`17596`: Include to help with Min GW building." msgstr "" -#: ../NEWS:40583 +#: ../NEWS:40626 msgid "" ":issue:`17599`: On Windows, rename the privately defined REPARSE_DATA_BUFFER " "structure to avoid conflicting with the definition from Min GW." msgstr "" -#: ../NEWS:40586 ../NEWS:43205 +#: ../NEWS:40629 ../NEWS:43248 msgid "" ":issue:`27507`: Add integer overflow check in bytearray.extend(). Patch by " "Xiang Zhang." msgstr "" -#: ../NEWS:40589 ../NEWS:43208 +#: ../NEWS:40632 ../NEWS:43251 msgid "" ":issue:`27581`: Don't rely on wrapping for overflow check in " "PySequence_Tuple(). Patch by Xiang Zhang." msgstr "" -#: ../NEWS:40592 +#: ../NEWS:40635 msgid "" ":issue:`1621`: Avoid signed integer overflow in list and tuple operations. " "Patch by Xiang Zhang." msgstr "" -#: ../NEWS:40595 +#: ../NEWS:40638 msgid "" ":issue:`27419`: Standard __import__() no longer look up \"__import__\" in " "globals or builtins for importing submodules or \"from import\". Fixed a " @@ -65402,18 +65471,18 @@ msgid "" "__package__." msgstr "" -#: ../NEWS:40600 ../NEWS:43197 +#: ../NEWS:40643 ../NEWS:43240 msgid "" ":issue:`27083`: Respect the PYTHONCASEOK environment variable under Windows." msgstr "" -#: ../NEWS:40602 ../NEWS:43199 +#: ../NEWS:40645 ../NEWS:43242 msgid "" ":issue:`27514`: Make having too many statically nested blocks a SyntaxError " "instead of SystemError." msgstr "" -#: ../NEWS:40605 +#: ../NEWS:40648 msgid "" ":issue:`27366`: Implemented :pep:`487` (Simpler customization of class " "creation). Upon subclassing, the __init_subclass__ classmethod is called on " @@ -65421,19 +65490,19 @@ msgid "" "creation." msgstr "" -#: ../NEWS:40613 +#: ../NEWS:40656 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 "" -#: ../NEWS:40616 +#: ../NEWS:40659 msgid "" ":issue:`27598`: Add Collections to collections.abc. Patch by Ivan " "Levkivskyi, docs by Neil Girdhar." msgstr "" -#: ../NEWS:40619 +#: ../NEWS:40662 msgid "" ":issue:`25958`: Support \"anti-registration\" of special methods from " "various ABCs, like __hash__, __iter__ or __len__. All these (and several " @@ -65443,32 +65512,32 @@ msgid "" "Andrew Barnert and Ivan Levkivskyi." msgstr "" -#: ../NEWS:40626 +#: ../NEWS:40669 msgid "" ":issue:`16764`: Support keyword arguments to zlib.decompress(). Patch by " "Xiang Zhang." msgstr "" -#: ../NEWS:40629 +#: ../NEWS:40672 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 "" -#: ../NEWS:40633 +#: ../NEWS:40676 msgid "" ":issue:`25628`: The *verbose* and *rename* parameters for collections." "namedtuple are now keyword-only." msgstr "" -#: ../NEWS:40636 +#: ../NEWS:40679 msgid "" ":issue:`12345`: Add mathematical constant tau to math and cmath. See also :" "pep:`628`." msgstr "" -#: ../NEWS:40639 +#: ../NEWS:40682 msgid "" ":issue:`26823`: traceback.StackSummary.format now abbreviates large sections " "of repeated lines as \"[Previous line repeated {count} more times]\" (this " @@ -65476,104 +65545,104 @@ msgid "" "module). Patch by Emanuel Barry." msgstr "" -#: ../NEWS:40644 +#: ../NEWS:40687 msgid "" ":issue:`27664`: Add to concurrent.futures.thread.ThreadPoolExecutor() the " "ability to specify a thread name prefix." msgstr "" -#: ../NEWS:40647 +#: ../NEWS:40690 msgid "" ":issue:`27181`: Add geometric_mean and harmonic_mean to statistics module." msgstr "" -#: ../NEWS:40649 +#: ../NEWS:40692 msgid ":issue:`27573`: code.interact now prints an message when exiting." msgstr "" -#: ../NEWS:40651 +#: ../NEWS:40694 msgid ":issue:`6422`: Add autorange method to timeit.Timer objects." msgstr "" -#: ../NEWS:40653 ../NEWS:43445 +#: ../NEWS:40696 ../NEWS:43488 msgid "" ":issue:`27773`: Correct some memory management errors server_hostname in " "_ssl.wrap_socket()." msgstr "" -#: ../NEWS:40656 +#: ../NEWS:40699 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 "" -#: ../NEWS:40660 +#: ../NEWS:40703 msgid "" ":issue:`26754`: Undocumented support of general bytes-like objects as path " "in compile() and similar functions is now deprecated." msgstr "" -#: ../NEWS:40663 +#: ../NEWS:40706 msgid "" ":issue:`26800`: Undocumented support of general bytes-like objects as paths " "in os functions is now deprecated." msgstr "" -#: ../NEWS:40666 +#: ../NEWS:40709 msgid "" ":issue:`26981`: Add _order_ compatibility shim to enum.Enum for Python 2/3 " "code bases." msgstr "" -#: ../NEWS:40669 +#: ../NEWS:40712 msgid ":issue:`27661`: Added tzinfo keyword argument to datetime.combine." msgstr "" -#: ../NEWS:40671 ../NEWS:43451 +#: ../NEWS:40714 ../NEWS:43494 msgid "" "In the curses module, raise an error if window.getstr() or window.instr() is " "passed a negative value." msgstr "" -#: ../NEWS:40674 ../NEWS:43454 +#: ../NEWS:40717 ../NEWS:43497 msgid "" ":issue:`27783`: Fix possible usage of uninitialized memory in operator." "methodcaller." msgstr "" -#: ../NEWS:40677 ../NEWS:43457 +#: ../NEWS:40720 ../NEWS:43500 msgid ":issue:`27774`: Fix possible Py_DECREF on unowned object in _sre." msgstr "" -#: ../NEWS:40679 ../NEWS:43459 +#: ../NEWS:40722 ../NEWS:43502 msgid ":issue:`27760`: Fix possible integer overflow in binascii.b2a_qp." msgstr "" -#: ../NEWS:40681 ../NEWS:43461 +#: ../NEWS:40724 ../NEWS:43504 msgid "" ":issue:`27758`: Fix possible integer overflow in the _csv module for large " "record lengths." msgstr "" -#: ../NEWS:40684 ../NEWS:43464 +#: ../NEWS:40727 ../NEWS:43507 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 "" -#: ../NEWS:40688 +#: ../NEWS:40731 msgid "" ":issue:`7063`: Remove dead code from the \"array\" module's slice handling. " "Patch by Chuck." msgstr "" -#: ../NEWS:40691 ../NEWS:43468 +#: ../NEWS:40734 ../NEWS:43511 msgid ":issue:`27656`: Do not assume sched.h defines any SCHED_* constants." msgstr "" -#: ../NEWS:40693 ../NEWS:43470 +#: ../NEWS:40736 ../NEWS:43513 msgid "" ":issue:`27130`: In the \"zlib\" module, fix handling of large buffers " "(typically 4 GiB) when compressing and decompressing. Previously, inputs " @@ -65581,205 +65650,205 @@ msgid "" "properly handle results of 4 GiB." msgstr "" -#: ../NEWS:40698 +#: ../NEWS:40741 msgid ":issue:`24773`: Implemented :pep:`495` (Local Time Disambiguation)." msgstr "" -#: ../NEWS:40700 +#: ../NEWS:40743 msgid "" "Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." msgstr "" -#: ../NEWS:40703 +#: ../NEWS:40746 msgid "" ":issue:`27567`: Expose the EPOLLRDHUP and POLLRDHUP constants in the select " "module." msgstr "" -#: ../NEWS:40706 +#: ../NEWS:40749 msgid "" ":issue:`1621`: Avoid signed int negation overflow in the \"audioop\" module." msgstr "" -#: ../NEWS:40708 ../NEWS:43475 +#: ../NEWS:40751 ../NEWS:43518 msgid ":issue:`27533`: Release GIL in nt._isdir" msgstr "" -#: ../NEWS:40710 ../NEWS:43477 +#: ../NEWS:40753 ../NEWS:43520 msgid "" ":issue:`17711`: Fixed unpickling by the persistent ID with protocol 0. " "Original patch by Alexandre Vassalotti." msgstr "" -#: ../NEWS:40713 ../NEWS:43480 +#: ../NEWS:40756 ../NEWS:43523 msgid "" ":issue:`27522`: Avoid an unintentional reference cycle in email.feedparser." msgstr "" -#: ../NEWS:40715 +#: ../NEWS:40758 msgid "" ":issue:`27512`: Fix a segfault when os.fspath() called an __fspath__() " "method that raised an exception. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:40721 ../NEWS:43613 +#: ../NEWS:40764 ../NEWS:43656 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 "" -#: ../NEWS:40725 +#: ../NEWS:40768 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 "" -#: ../NEWS:40729 +#: ../NEWS:40772 msgid ":issue:`27620`: Escape key now closes Query box as cancelled." msgstr "" -#: ../NEWS:40731 +#: ../NEWS:40774 msgid "" ":issue:`27609`: IDLE: tab after initial whitespace should tab, not " "autocomplete. This fixes problem with writing docstrings at least twice " "indented." msgstr "" -#: ../NEWS:40735 +#: ../NEWS:40778 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 "" -#: ../NEWS:40738 ../NEWS:43617 +#: ../NEWS:40781 ../NEWS:43660 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 "" -#: ../NEWS:40741 ../NEWS:40925 +#: ../NEWS:40784 ../NEWS:40968 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 "" -#: ../NEWS:40745 ../NEWS:40932 ../NEWS:43620 +#: ../NEWS:40788 ../NEWS:40975 ../NEWS:43663 msgid "" ":issue:`27452`: add line counter and crc to IDLE configHandler test dump." msgstr "" -#: ../NEWS:40750 +#: ../NEWS:40793 msgid "" ":issue:`25805`: Skip a test in test_pkgutil as needed that doesn't work when " "``__name__ == __main__``. Patch by SilentGhost." msgstr "" -#: ../NEWS:40753 +#: ../NEWS:40796 msgid "" ":issue:`27472`: Add test.support.unix_shell as the path to the default shell." msgstr "" -#: ../NEWS:40755 ../NEWS:43658 +#: ../NEWS:40798 ../NEWS:43701 msgid "" ":issue:`27369`: In test_pyexpat, avoid testing an error message detail that " "changed in Expat 2.2.0." msgstr "" -#: ../NEWS:40758 +#: ../NEWS:40801 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 "" -#: ../NEWS:40765 +#: ../NEWS:40808 msgid ":issue:`27647`: Update bundled Tcl/Tk to 8.6.6." msgstr "" -#: ../NEWS:40767 +#: ../NEWS:40810 msgid ":issue:`27610`: Adds :pep:`514` metadata to Windows installer" msgstr "" -#: ../NEWS:40769 ../NEWS:43683 +#: ../NEWS:40812 ../NEWS:43726 msgid "" ":issue:`27469`: Adds a shell extension to the launcher so that drag and drop " "works correctly." msgstr "" -#: ../NEWS:40772 +#: ../NEWS:40815 msgid "" ":issue:`27309`: Enables proper Windows styles in python[w].exe manifest." msgstr "" -#: ../NEWS:40777 ../NEWS:43728 +#: ../NEWS:40820 ../NEWS:43771 msgid "" ":issue:`27713`: Suppress spurious build warnings when updating importlib's " "bootstrap files. Patch by Xiang Zhang" msgstr "" -#: ../NEWS:40780 +#: ../NEWS:40823 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 "" -#: ../NEWS:40783 ../NEWS:43736 +#: ../NEWS:40826 ../NEWS:43779 msgid "" ":issue:`27453`: CPP invocation in configure must use CPPFLAGS. Patch by Chi " "Hsuan Yen." msgstr "" -#: ../NEWS:40786 ../NEWS:43739 +#: ../NEWS:40829 ../NEWS:43782 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 "" -#: ../NEWS:40790 ../NEWS:43743 +#: ../NEWS:40833 ../NEWS:43786 msgid "" ":issue:`26662`: Set PYTHON_FOR_GEN in configure as the Python program to be " "used for file generation during the build." msgstr "" -#: ../NEWS:40793 ../NEWS:43746 +#: ../NEWS:40836 ../NEWS:43789 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 "" -#: ../NEWS:40798 +#: ../NEWS:40841 msgid "Python 3.6.0 alpha 3" msgstr "" -#: ../NEWS:40800 +#: ../NEWS:40843 msgid "*Release date: 2016-07-11*" msgstr "" -#: ../NEWS:40805 ../NEWS:43079 +#: ../NEWS:40848 ../NEWS:43122 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 "" -#: ../NEWS:40809 ../NEWS:43083 +#: ../NEWS:40852 ../NEWS:43126 msgid "" ":issue:`22636`: Avoid shell injection problems with ctypes.util." "find_library()." msgstr "" -#: ../NEWS:40814 ../NEWS:43202 +#: ../NEWS:40857 ../NEWS:43245 msgid "" ":issue:`27473`: Fixed possible integer overflow in bytes and bytearray " "concatenations. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:40817 +#: ../NEWS:40860 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 " @@ -65787,52 +65856,52 @@ msgid "" "now outputs to stderr instead of stdout." msgstr "" -#: ../NEWS:40822 ../NEWS:43211 +#: ../NEWS:40865 ../NEWS:43254 msgid "" ":issue:`27443`: __length_hint__() of bytearray iterators no longer return a " "negative integer for a resized bytearray." msgstr "" -#: ../NEWS:40825 +#: ../NEWS:40868 msgid "" ":issue:`27007`: The fromhex() class methods of bytes and bytearray " "subclasses now return an instance of corresponding subclass." msgstr "" -#: ../NEWS:40831 ../NEWS:43482 +#: ../NEWS:40874 ../NEWS:43525 msgid "" ":issue:`26844`: Fix error message for imp.find_module() to refer to 'path' " "instead of 'name'. Patch by Lev Maximov." msgstr "" -#: ../NEWS:40834 ../NEWS:43485 +#: ../NEWS:40877 ../NEWS:43528 msgid "" ":issue:`23804`: Fix SSL zero-length recv() calls to not block and not raise " "an error about unclean EOF." msgstr "" -#: ../NEWS:40837 ../NEWS:43488 +#: ../NEWS:40880 ../NEWS:43531 msgid "" ":issue:`27466`: Change time format returned by http.cookie.time2netscape, " "confirming the netscape cookie format and making it consistent with " "documentation." msgstr "" -#: ../NEWS:40841 +#: ../NEWS:40884 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 "" -#: ../NEWS:40845 +#: ../NEWS:40888 msgid "" ":issue:`26721`: Change the socketserver.StreamRequestHandler.wfile attribute " "to implement BufferedIOBase. In particular, the write() method no longer " "does partial writes." msgstr "" -#: ../NEWS:40849 +#: ../NEWS:40892 msgid "" ":issue:`22115`: Added methods trace_add, trace_remove and trace_info in the " "tkinter.Variable class. They replace old methods trace_variable, trace, " @@ -65842,32 +65911,32 @@ msgid "" "list of pairs of strings, tracing in the \"u\" mode now works." msgstr "" -#: ../NEWS:40857 +#: ../NEWS:40900 msgid "" ":issue:`26243`: Only the level argument to zlib.compress() is keyword " "argument now. The first argument is positional-only." msgstr "" -#: ../NEWS:40860 +#: ../NEWS:40903 msgid "" ":issue:`27038`: Expose the DirEntry type as os.DirEntry. Code patch by Jelle " "Zijlstra." msgstr "" -#: ../NEWS:40863 +#: ../NEWS:40906 msgid "" ":issue:`27186`: Update os.fspath()/PyOS_FSPath() to check the return value " "of __fspath__() to be either str or bytes." msgstr "" -#: ../NEWS:40866 +#: ../NEWS:40909 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 "" -#: ../NEWS:40870 +#: ../NEWS:40913 msgid "" ":issue:`27319`: Methods selection_set(), selection_add(), selection_remove() " "and selection_toggle() of ttk.TreeView now allow passing multiple items as " @@ -65875,55 +65944,55 @@ msgid "" "undocumented ability of calling the selection() method with arguments." msgstr "" -#: ../NEWS:40875 ../NEWS:43502 +#: ../NEWS:40918 ../NEWS:43545 msgid "" ":issue:`27079`: Fixed curses.ascii functions isblank(), iscntrl() and " "ispunct()." msgstr "" -#: ../NEWS:40878 +#: ../NEWS:40921 msgid "" ":issue:`27294`: Numerical state in the repr for Tkinter event objects is now " "represented as a combination of known flags." msgstr "" -#: ../NEWS:40881 +#: ../NEWS:40924 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 "" -#: ../NEWS:40884 ../NEWS:43505 +#: ../NEWS:40927 ../NEWS:43548 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 "" -#: ../NEWS:40888 +#: ../NEWS:40931 msgid "" ":issue:`26536`: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by " "Daniel Stokes." msgstr "" -#: ../NEWS:40891 ../NEWS:43509 +#: ../NEWS:40934 ../NEWS:43552 msgid "" ":issue:`27048`: Prevents distutils failing on Windows when environment " "variables contain non-ASCII characters" msgstr "" -#: ../NEWS:40894 ../NEWS:43512 +#: ../NEWS:40937 ../NEWS:43555 msgid ":issue:`27330`: Fixed possible leaks in the ctypes module." msgstr "" -#: ../NEWS:40896 ../NEWS:43514 +#: ../NEWS:40939 ../NEWS:43557 msgid "" ":issue:`27238`: Got rid of bare excepts in the turtle module. Original " "patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:40899 ../NEWS:43517 +#: ../NEWS:40942 ../NEWS:43560 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 " @@ -65932,47 +66001,47 @@ msgid "" "in issue25782." msgstr "" -#: ../NEWS:40905 +#: ../NEWS:40948 msgid "" ":issue:`16864`: sqlite3.Cursor.lastrowid now supports REPLACE statement. " "Initial patch by Alex LordThorsen." msgstr "" -#: ../NEWS:40908 ../NEWS:43523 +#: ../NEWS:40951 ../NEWS:43566 msgid "" ":issue:`26386`: Fixed ttk.TreeView selection operations with item id's " "containing spaces." msgstr "" -#: ../NEWS:40911 +#: ../NEWS:40954 msgid "" ":issue:`8637`: Honor a pager set by the env var MANPAGER (in preference to " "one set by the env var PAGER)." msgstr "" -#: ../NEWS:40914 ../NEWS:43526 +#: ../NEWS:40957 ../NEWS:43569 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 "" -#: ../NEWS:40918 ../NEWS:43530 +#: ../NEWS:40961 ../NEWS:43573 msgid "" ":issue:`27392`: Add loop.connect_accepted_socket(). Patch by Jim Fulton." msgstr "" -#: ../NEWS:40923 +#: ../NEWS:40966 msgid ":issue:`27477`: IDLE search dialogs now use ttk widgets." msgstr "" -#: ../NEWS:40929 +#: ../NEWS:40972 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 "" -#: ../NEWS:40934 +#: ../NEWS:40977 msgid "" ":issue:`27380`: IDLE: add query.py with base Query dialog and ttk widgets. " "Module had subclasses SectionName, ModuleName, and HelpSource, which are " @@ -65982,66 +66051,66 @@ msgid "" "files combined into the new one." msgstr "" -#: ../NEWS:40941 +#: ../NEWS:40984 msgid ":issue:`27372`: Test_idle no longer changes the locale." msgstr "" -#: ../NEWS:40943 ../NEWS:43622 +#: ../NEWS:40986 ../NEWS:43665 msgid "" ":issue:`27365`: Allow non-ascii chars in IDLE NEWS.txt, for contributor " "names." msgstr "" -#: ../NEWS:40945 ../NEWS:43624 +#: ../NEWS:40988 ../NEWS:43667 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 "" -#: ../NEWS:40949 +#: ../NEWS:40992 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 "" -#: ../NEWS:40953 +#: ../NEWS:40996 msgid "" ":issue:`27310`: Fix IDLE.app failure to launch on OS X due to vestigial " "import." msgstr "" -#: ../NEWS:40958 +#: ../NEWS:41001 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 "" -#: ../NEWS:40965 ../NEWS:43709 +#: ../NEWS:41008 ../NEWS:43752 msgid "" ":issue:`28066`: Fix the logic that searches build directories for generated " "include files when building outside the source tree." msgstr "" -#: ../NEWS:40968 +#: ../NEWS:41011 msgid "" ":issue:`27442`: Expose the Android API level that python was built against, " "in sysconfig.get_config_vars() as 'ANDROID_API_LEVEL'." msgstr "" -#: ../NEWS:40971 +#: ../NEWS:41014 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 "" -#: ../NEWS:40974 ../NEWS:43761 +#: ../NEWS:41017 ../NEWS:43804 msgid ":issue:`26930`: Update Windows builds to use OpenSSL 1.0.2h." msgstr "" -#: ../NEWS:40976 +#: ../NEWS:41019 msgid "" ":issue:`23968`: Rename the platform directory from plat-$(MACHDEP) to plat-" "$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-" @@ -66050,125 +66119,125 @@ msgid "" "rename it to include the ABIFLAGS." msgstr "" -#: ../NEWS:40982 +#: ../NEWS:41025 msgid "Don't use largefile support for GNU/Hurd." msgstr "" -#: ../NEWS:40987 ../NEWS:43668 +#: ../NEWS:41030 ../NEWS:43711 msgid "" ":issue:`27332`: Fixed the type of the first argument of module-level " "functions generated by Argument Clinic. Patch by Petr Viktorin." msgstr "" -#: ../NEWS:40990 ../NEWS:43671 +#: ../NEWS:41033 ../NEWS:43714 msgid ":issue:`27418`: Fixed Tools/importbench/importbench.py." msgstr "" -#: ../NEWS:40995 ../NEWS:44366 +#: ../NEWS:41038 ../NEWS:44409 msgid "" ":issue:`19489`: Moved the search box from the sidebar to the header and " "footer of each page. Patch by Ammar Askar." msgstr "" -#: ../NEWS:40998 +#: ../NEWS:41041 msgid "" ":issue:`27285`: Update documentation to reflect the deprecation of " "``pyvenv`` and normalize on the term \"virtual environment\". Patch by Steve " "Piercy." msgstr "" -#: ../NEWS:41004 +#: ../NEWS:41047 msgid "" ":issue:`27027`: Added test.support.is_android that is True when this is an " "Android build." msgstr "" -#: ../NEWS:41009 +#: ../NEWS:41052 msgid "Python 3.6.0 alpha 2" msgstr "" -#: ../NEWS:41011 +#: ../NEWS:41054 msgid "*Release date: 2016-06-13*" msgstr "" -#: ../NEWS:41016 ../NEWS:43782 +#: ../NEWS:41059 ../NEWS:43825 msgid ":issue:`26556`: Update expat to 2.1.1, fixes :cve:`2015-1283`." msgstr "" -#: ../NEWS:41018 ../NEWS:43784 +#: ../NEWS:41061 ../NEWS:43827 msgid "" "Fix TLS stripping vulnerability in smtplib, :cve:`2016-0772`. Reported by " "Team Oststrom." msgstr "" -#: ../NEWS:41021 ../NEWS:43787 +#: ../NEWS:41064 ../NEWS:43830 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 "" -#: ../NEWS:41028 +#: ../NEWS:41071 msgid "" ":issue:`27095`: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. " "Patch by Demur Rumed." msgstr "" -#: ../NEWS:41031 +#: ../NEWS:41074 msgid "" ":issue:`27190`: Raise NotSupportedError if sqlite3 is older than 3.3.1. " "Patch by Dave Sawyer." msgstr "" -#: ../NEWS:41034 +#: ../NEWS:41077 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 "" -#: ../NEWS:41038 +#: ../NEWS:41081 msgid ":issue:`27140`: Added BUILD_CONST_KEY_MAP opcode." msgstr "" -#: ../NEWS:41040 +#: ../NEWS:41083 msgid "" ":issue:`27186`: Add support for os.PathLike objects to open() (part of :pep:" "`519`)." msgstr "" -#: ../NEWS:41043 ../NEWS:43804 +#: ../NEWS:41086 ../NEWS:43847 msgid "" ":issue:`27066`: Fixed SystemError if a custom opener (for open()) returns a " "negative number without setting an exception." msgstr "" -#: ../NEWS:41046 +#: ../NEWS:41089 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 "" -#: ../NEWS:41051 +#: ../NEWS:41094 msgid "" ":issue:`27097`: Python interpreter is now about 7% faster due to optimized " "instruction decoding. Based on patch by Demur Rumed." msgstr "" -#: ../NEWS:41054 +#: ../NEWS:41097 msgid "" ":issue:`26647`: Python interpreter now uses 16-bit wordcode instead of " "bytecode. Patch by Demur Rumed." msgstr "" -#: ../NEWS:41057 +#: ../NEWS:41100 msgid "" ":issue:`23275`: Allow assigning to an empty target list in round brackets: " "() = iterable." msgstr "" -#: ../NEWS:41060 ../NEWS:43926 +#: ../NEWS:41103 ../NEWS:43969 msgid "" ":issue:`27243`: Update the __aiter__ protocol: instead of returning an " "awaitable that resolves to an asynchronous iterator, the asynchronous " @@ -66176,84 +66245,84 @@ msgid "" "PendingDeprecationWarning." msgstr "" -#: ../NEWS:41068 +#: ../NEWS:41111 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 "" -#: ../NEWS:41072 +#: ../NEWS:41115 msgid "" ":issue:`27025`: Generated names for Tkinter widgets are now more meaningful " "and recognizable." msgstr "" -#: ../NEWS:41075 +#: ../NEWS:41118 msgid "" ":issue:`25455`: Fixed crashes in repr of recursive ElementTree.Element and " "functools.partial objects." msgstr "" -#: ../NEWS:41078 +#: ../NEWS:41121 msgid ":issue:`27294`: Improved repr for Tkinter event objects." msgstr "" -#: ../NEWS:41080 +#: ../NEWS:41123 msgid "" ":issue:`20508`: Improve exception message of IPv{4,6}Network.__getitem__. " "Patch by Gareth Rees." msgstr "" -#: ../NEWS:41083 ../NEWS:43934 +#: ../NEWS:41126 ../NEWS:43977 msgid "" ":issue:`21386`: Implement missing IPv4Address.is_global property. It was " "documented since 07a5610bae9d. Initial patch by Roger Luethi." msgstr "" -#: ../NEWS:41086 +#: ../NEWS:41129 msgid "" ":issue:`27029`: Removed deprecated support of universal newlines mode from " "ZipFile.open()." msgstr "" -#: ../NEWS:41089 +#: ../NEWS:41132 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 "" -#: ../NEWS:41093 +#: ../NEWS:41136 msgid "" ":issue:`27186`: Add os.PathLike support to DirEntry (part of :pep:`519`). " "Initial patch by Jelle Zijlstra." msgstr "" -#: ../NEWS:41096 ../NEWS:43937 +#: ../NEWS:41139 ../NEWS:43980 msgid "" ":issue:`20900`: distutils register command now decodes HTTP responses " "correctly. Initial patch by ingrid." msgstr "" -#: ../NEWS:41099 +#: ../NEWS:41142 msgid "" ":issue:`27186`: Add os.PathLike support to pathlib, removing its provisional " "status (part of PEP 519). Initial patch by Dusty Phillips." msgstr "" -#: ../NEWS:41102 +#: ../NEWS:41145 msgid "" ":issue:`27186`: Add support for os.PathLike objects to os.fsencode() and os." "fsdecode() (part of :pep:`519`)." msgstr "" -#: ../NEWS:41105 +#: ../NEWS:41148 msgid "" ":issue:`27186`: Introduce os.PathLike and os.fspath() (part of :pep:`519`)." msgstr "" -#: ../NEWS:41107 ../NEWS:43940 +#: ../NEWS:41150 ../NEWS:43983 msgid "" "A new version of typing.py provides several new classes and features: " "@overload outside stubs, Reversible, DefaultDict, Text, ContextManager, " @@ -66263,33 +66332,33 @@ msgid "" "been added (in fact they made it into 3.5.1 but were never mentioned)." msgstr "" -#: ../NEWS:41115 ../NEWS:43948 +#: ../NEWS:41158 ../NEWS:43991 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 "" -#: ../NEWS:41120 ../NEWS:43953 +#: ../NEWS:41163 ../NEWS:43996 msgid "" ":issue:`21313`: Fix the \"platform\" module to tolerate when sys.version " "contains truncated build information." msgstr "" -#: ../NEWS:41123 +#: ../NEWS:41166 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 "" -#: ../NEWS:41127 ../NEWS:43956 +#: ../NEWS:41170 ../NEWS:43999 msgid "" ":issue:`27164`: In the zlib module, allow decompressing raw Deflate streams " "with a predefined zdict. Based on patch by Xiang Zhang." msgstr "" -#: ../NEWS:41130 ../NEWS:43959 +#: ../NEWS:41173 ../NEWS:44002 msgid "" ":issue:`24291`: Fix wsgiref.simple_server.WSGIRequestHandler to completely " "write data to the client. Previously it could do partial writes and " @@ -66297,12 +66366,12 @@ msgid "" "doing partial writes, but this is deprecated." msgstr "" -#: ../NEWS:41135 +#: ../NEWS:41178 msgid "" ":issue:`21272`: Use _sysconfigdata.py to initialize distutils.sysconfig." msgstr "" -#: ../NEWS:41137 +#: ../NEWS:41180 msgid "" ":issue:`19611`: :mod:`inspect` now reports the implicit ``.0`` parameters " "generated by the compiler for comprehension and generator expression scopes " @@ -66310,19 +66379,19 @@ msgid "" "Jelle Zijlstra." msgstr "" -#: ../NEWS:41142 ../NEWS:43964 +#: ../NEWS:41185 ../NEWS:44007 msgid "" ":issue:`26809`: Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry." msgstr "" -#: ../NEWS:41144 ../NEWS:43966 +#: ../NEWS:41187 ../NEWS:44009 msgid "" ":issue:`26373`: subprocess.Popen.communicate now correctly ignores " "BrokenPipeError when the child process dies before .communicate() is called " "in more/all circumstances." msgstr "" -#: ../NEWS:41148 +#: ../NEWS:41191 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 " @@ -66330,101 +66399,101 @@ msgid "" "signal.SIGIOT based on the interpreter's hash randomization seed." msgstr "" -#: ../NEWS:41153 +#: ../NEWS:41196 msgid "" ":issue:`27167`: Clarify the subprocess.CalledProcessError error message text " "when the child process died due to a signal." msgstr "" -#: ../NEWS:41156 +#: ../NEWS:41199 msgid "" ":issue:`25931`: Don't define socketserver.Forking* names on platforms such " "as Windows that do not support os.fork()." msgstr "" -#: ../NEWS:41159 ../NEWS:43970 +#: ../NEWS:41202 ../NEWS:44013 msgid "" ":issue:`21776`: distutils.upload now correctly handles HTTPError. Initial " "patch by Claudiu Popa." msgstr "" -#: ../NEWS:41162 +#: ../NEWS:41205 msgid "" ":issue:`26526`: Replace custom parse tree validation in the parser module " "with a simple DFA validator." msgstr "" -#: ../NEWS:41165 ../NEWS:43973 +#: ../NEWS:41208 ../NEWS:44016 msgid "" ":issue:`27114`: Fix SSLContext._load_windows_store_certs fails with " "PermissionError" msgstr "" -#: ../NEWS:41168 ../NEWS:43976 +#: ../NEWS:41211 ../NEWS:44019 msgid "" ":issue:`18383`: Avoid creating duplicate filters when using filterwarnings " "and simplefilter. Based on patch by Alex Shkop." msgstr "" -#: ../NEWS:41171 +#: ../NEWS:41214 msgid "" ":issue:`23026`: winreg.QueryValueEx() now return an integer for REG_QWORD " "type." msgstr "" -#: ../NEWS:41173 +#: ../NEWS:41216 msgid "" ":issue:`26741`: subprocess.Popen destructor now emits a ResourceWarning " "warning if the child process is still running." msgstr "" -#: ../NEWS:41176 +#: ../NEWS:41219 msgid "" ":issue:`27056`: Optimize pickle.load() and pickle.loads(), up to 10% faster " "to deserialize a lot of small objects." msgstr "" -#: ../NEWS:41179 +#: ../NEWS:41222 msgid ":issue:`21271`: New keyword only parameters in reset_mock call." msgstr "" -#: ../NEWS:41184 ../NEWS:44313 +#: ../NEWS:41227 ../NEWS:44356 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 "" -#: ../NEWS:41188 +#: ../NEWS:41231 msgid "" ":issue:`24750`: Switch all scrollbars in IDLE to ttk versions. Where needed, " "minimal tests are added to cover changes." msgstr "" -#: ../NEWS:41191 +#: ../NEWS:41234 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 "" -#: ../NEWS:41195 +#: ../NEWS:41238 msgid ":issue:`27239`: idlelib.macosx.isXyzTk functions initialize as needed." msgstr "" -#: ../NEWS:41197 +#: ../NEWS:41240 msgid "" ":issue:`27262`: move Aqua unbinding code, which enable context menus, to " "macosx." msgstr "" -#: ../NEWS:41200 ../NEWS:44317 +#: ../NEWS:41243 ../NEWS:44360 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 "" -#: ../NEWS:41203 ../NEWS:44320 +#: ../NEWS:41246 ../NEWS:44363 msgid "" ":issue:`27196`: Stop 'ThemeChanged' warnings when running IDLE tests. These " "persisted after other warnings were suppressed in #20567. Apply Serhiy " @@ -66432,29 +66501,29 @@ msgid "" "additional advice in idle_test/README.txt" msgstr "" -#: ../NEWS:41208 ../NEWS:44325 +#: ../NEWS:41251 ../NEWS:44368 msgid "" ":issue:`20567`: Revise idle_test/README.txt with advice about avoiding tk " "warning messages from tests. Apply advice to several IDLE tests." msgstr "" -#: ../NEWS:41211 +#: ../NEWS:41254 msgid "" ":issue:`24225`: Update idlelib/README.txt with new file names and event " "handlers." msgstr "" -#: ../NEWS:41214 +#: ../NEWS:41257 msgid ":issue:`27156`: Remove obsolete code not used by IDLE." msgstr "" -#: ../NEWS:41216 ../NEWS:44328 +#: ../NEWS:41259 ../NEWS:44371 msgid "" ":issue:`27117`: Make colorizer htest and turtledemo work with dark themes. " "Move code for configuring text widget colors to a new function." msgstr "" -#: ../NEWS:41219 +#: ../NEWS:41262 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 " @@ -66462,192 +66531,192 @@ msgid "" "IDLE section in What's New in 3.6 for more." msgstr "" -#: ../NEWS:41224 ../NEWS:44331 +#: ../NEWS:41267 ../NEWS:44374 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 "" -#: ../NEWS:41227 ../NEWS:44334 +#: ../NEWS:41270 ../NEWS:44377 msgid "" ":issue:`21939`: Add test for IDLE's percolator. Original patch by Saimadhav " "Heblikar." msgstr "" -#: ../NEWS:41230 ../NEWS:44337 +#: ../NEWS:41273 ../NEWS:44380 msgid "" ":issue:`21676`: Add test for IDLE's replace dialog. Original patch by " "Saimadhav Heblikar." msgstr "" -#: ../NEWS:41233 ../NEWS:44340 +#: ../NEWS:41276 ../NEWS:44383 msgid "" ":issue:`18410`: Add test for IDLE's search dialog. Original patch by Westley " "Martínez." msgstr "" -#: ../NEWS:41236 +#: ../NEWS:41279 msgid "" ":issue:`21703`: Add test for undo delegator. Patch mostly by Saimadhav " "Heblikar ." msgstr "" -#: ../NEWS:41239 ../NEWS:44346 +#: ../NEWS:41282 ../NEWS:44389 msgid "" ":issue:`27044`: Add ConfigDialog.remove_var_callbacks to stop memory leaks." msgstr "" -#: ../NEWS:41241 ../NEWS:44348 +#: ../NEWS:41284 ../NEWS:44391 msgid ":issue:`23977`: Add more asserts to test_delegator." msgstr "" -#: ../NEWS:41246 +#: ../NEWS:41289 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 "" -#: ../NEWS:41250 ../NEWS:44369 +#: ../NEWS:41293 ../NEWS:44412 msgid ":issue:`24136`: Document the new :pep:`448` unpacking syntax of 3.5." msgstr "" -#: ../NEWS:41252 ../NEWS:44927 +#: ../NEWS:41295 ../NEWS:44970 msgid "" ":issue:`22558`: Add remaining doc links to source code for Python-coded " "modules. Patch by Yoni Lavi." msgstr "" -#: ../NEWS:41258 +#: ../NEWS:41301 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 "" -#: ../NEWS:41262 +#: ../NEWS:41305 msgid "" ":issue:`25285`: Tools/buildbot/test.bat script now uses -j1 by default to " "run each test file in fresh child process." msgstr "" -#: ../NEWS:41268 +#: ../NEWS:41311 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 "" -#: ../NEWS:41272 ../NEWS:44484 +#: ../NEWS:41315 ../NEWS:44527 msgid "" ":issue:`17500`: Remove unused and outdated icons. (See also: https://github." "com/python/pythondotorg/issues/945)" msgstr "" -#: ../NEWS:41278 ../NEWS:44420 +#: ../NEWS:41321 ../NEWS:44463 msgid "" ":issue:`27229`: Fix the cross-compiling pgen rule for in-tree builds. Patch " "by Xavier de Gaye." msgstr "" -#: ../NEWS:41281 ../NEWS:44457 +#: ../NEWS:41324 ../NEWS:44500 msgid "" ":issue:`26930`: Update OS X 10.5+ 32-bit-only installer to build and link " "with OpenSSL 1.0.2h." msgstr "" -#: ../NEWS:41287 +#: ../NEWS:41330 msgid ":issue:`27186`: Add the PyOS_FSPath() function (part of :pep:`519`)." msgstr "" -#: ../NEWS:41289 +#: ../NEWS:41332 msgid "" ":issue:`26282`: PyArg_ParseTupleAndKeywords() now supports positional-only " "parameters." msgstr "" -#: ../NEWS:41295 +#: ../NEWS:41338 msgid "" ":issue:`26282`: Argument Clinic now supports positional-only and keyword " "parameters in the same function." msgstr "" -#: ../NEWS:41300 +#: ../NEWS:41343 msgid "Python 3.6.0 alpha 1" msgstr "" -#: ../NEWS:41302 +#: ../NEWS:41345 msgid "*Release date: 2016-05-16*" msgstr "" -#: ../NEWS:41307 ../NEWS:43791 +#: ../NEWS:41350 ../NEWS:43834 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 "" -#: ../NEWS:41311 ../NEWS:43795 +#: ../NEWS:41354 ../NEWS:43838 msgid "" ":issue:`26313`: ssl.py _load_windows_store_certs fails if windows cert store " "is empty. Patch by Baji." msgstr "" -#: ../NEWS:41314 ../NEWS:43798 +#: ../NEWS:41357 ../NEWS:43841 msgid "" ":issue:`25939`: On Windows open the cert store readonly in ssl." "enum_certificates." msgstr "" -#: ../NEWS:41320 ../NEWS:43807 +#: ../NEWS:41363 ../NEWS:43850 msgid "" ":issue:`20041`: Fixed TypeError when frame.f_trace is set to None. Patch by " "Xavier de Gaye." msgstr "" -#: ../NEWS:41323 ../NEWS:43810 +#: ../NEWS:41366 ../NEWS:43853 msgid "" ":issue:`26168`: Fixed possible refleaks in failing Py_BuildValue() with the " "\"N\" format unit." msgstr "" -#: ../NEWS:41326 ../NEWS:43813 +#: ../NEWS:41369 ../NEWS:43856 msgid "" ":issue:`26991`: Fix possible refleak when creating a function with " "annotations." msgstr "" -#: ../NEWS:41328 +#: ../NEWS:41371 msgid "" ":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Based " "on patch by Joe Jevnik." msgstr "" -#: ../NEWS:41331 ../NEWS:43818 +#: ../NEWS:41374 ../NEWS:43861 msgid "" ":issue:`23640`: int.from_bytes() no longer bypasses constructors for " "subclasses." msgstr "" -#: ../NEWS:41334 +#: ../NEWS:41377 msgid "" ":issue:`27005`: Optimized the float.fromhex() class method for exact float. " "It is now 2 times faster." msgstr "" -#: ../NEWS:41337 +#: ../NEWS:41380 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 "" -#: ../NEWS:41340 ../NEWS:43821 +#: ../NEWS:41383 ../NEWS:43864 msgid "" ":issue:`26811`: gc.get_objects() no longer contains a broken tuple with NULL " "pointer." msgstr "" -#: ../NEWS:41343 ../NEWS:43824 +#: ../NEWS:41386 ../NEWS:43867 msgid "" ":issue:`20120`: Use RawConfigParser for .pypirc parsing, removing support " "for interpolation unintentionally added with move to Python 3. Behavior no " @@ -66655,7 +66724,7 @@ msgid "" "2.7 and Setuptools 19.0." msgstr "" -#: ../NEWS:41348 +#: ../NEWS:41391 msgid "" ":issue:`26249`: Memory functions of the :c:func:`PyMem_Malloc` domain (:c:" "macro:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator ` " @@ -66665,38 +66734,38 @@ msgid "" "allocators in your application." msgstr "" -#: ../NEWS:41355 +#: ../NEWS:41398 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 "" -#: ../NEWS:41359 ../NEWS:43829 +#: ../NEWS:41402 ../NEWS:43872 msgid ":issue:`26659`: Make the builtin slice type support cycle collection." msgstr "" -#: ../NEWS:41361 ../NEWS:43831 +#: ../NEWS:41404 ../NEWS:43874 msgid "" ":issue:`26718`: super.__init__ no longer leaks memory if called multiple " "times. NOTE: A direct call of super.__init__ is not endorsed!" msgstr "" -#: ../NEWS:41364 ../NEWS:43861 +#: ../NEWS:41407 ../NEWS:43904 msgid ":issue:`27138`: Fix the doc comment for FileFinder.find_spec()." msgstr "" -#: ../NEWS:41366 ../NEWS:43905 +#: ../NEWS:41409 ../NEWS:43948 msgid ":issue:`27147`: Mention :pep:`420` in the importlib docs." msgstr "" -#: ../NEWS:41368 ../NEWS:43834 +#: ../NEWS:41411 ../NEWS:43877 msgid "" ":issue:`25339`: PYTHONIOENCODING now has priority over locale in setting the " "error handler for stdin and stdout." msgstr "" -#: ../NEWS:41371 ../NEWS:43837 +#: ../NEWS:41414 ../NEWS:43880 msgid "" ":issue:`26494`: Fixed crash on iterating exhausting iterators. Affected " "classes are generic sequence iterators, iterators of str, bytes, bytearray, " @@ -66704,74 +66773,74 @@ msgid "" "scandir() iterator." msgstr "" -#: ../NEWS:41376 +#: ../NEWS:41419 msgid "" ":issue:`26574`: Optimize ``bytes.replace(b'', b'.')`` and ``bytearray." "replace(b'', b'.')``. Patch written by Josh Snider." msgstr "" -#: ../NEWS:41379 ../NEWS:43842 +#: ../NEWS:41422 ../NEWS:43885 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 "" -#: ../NEWS:41382 +#: ../NEWS:41425 msgid ":issue:`19711`: Add tests for reloading namespace packages." msgstr "" -#: ../NEWS:41384 +#: ../NEWS:41427 msgid "" ":issue:`21099`: Switch applicable importlib tests to use :pep:`451` API." msgstr "" -#: ../NEWS:41386 +#: ../NEWS:41429 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 "" -#: ../NEWS:41390 +#: ../NEWS:41433 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 "" -#: ../NEWS:41394 +#: ../NEWS:41437 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 "" -#: ../NEWS:41398 +#: ../NEWS:41441 msgid "" ":issue:`26516`: Add :envvar:`PYTHONMALLOC` environment variable to set the " "Python memory allocators and/or install debug hooks." msgstr "" -#: ../NEWS:41401 +#: ../NEWS:41444 msgid "" ":issue:`26516`: The :c:func:`PyMem_SetupDebugHooks` function can now also be " "used on Python compiled in release mode." msgstr "" -#: ../NEWS:41404 +#: ../NEWS:41447 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 "" -#: ../NEWS:41408 +#: ../NEWS:41451 msgid "" ":issue:`26516`: In debug mode, debug hooks are now also installed on Python " "memory allocators when Python is configured without pymalloc." msgstr "" -#: ../NEWS:41411 ../NEWS:43845 +#: ../NEWS:41454 ../NEWS:43888 msgid "" ":issue:`26464`: Fix str.translate() when string is ASCII and first " "replacements removes character, but next replacement uses a non-ASCII " @@ -66779,7 +66848,7 @@ msgid "" "Python 3.5.0." msgstr "" -#: ../NEWS:41415 ../NEWS:43849 +#: ../NEWS:41458 ../NEWS:43892 msgid "" ":issue:`22836`: Ensure exception reports from PyErr_Display() and " "PyErr_WriteUnraisable() are sensible even when formatting them produces " @@ -66787,19 +66856,19 @@ msgid "" "and when __del__() raises an exception." msgstr "" -#: ../NEWS:41420 ../NEWS:43854 +#: ../NEWS:41463 ../NEWS:43897 msgid "" ":issue:`26302`: Correct behavior to reject comma as a legal character for " "cookie names." msgstr "" -#: ../NEWS:41423 +#: ../NEWS:41466 msgid "" ":issue:`26136`: Upgrade the warning when a generator raises StopIteration " "from PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah." msgstr "" -#: ../NEWS:41426 +#: ../NEWS:41469 msgid "" ":issue:`26204`: The compiler now ignores all constant statements: bytes, " "str, int, float, complex, name constants (None, False, True), Ellipsis and " @@ -66807,33 +66876,33 @@ msgid "" "``def f(): 1.0``." msgstr "" -#: ../NEWS:41431 ../NEWS:43857 +#: ../NEWS:41474 ../NEWS:43900 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 "" -#: ../NEWS:41435 +#: ../NEWS:41478 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 "" -#: ../NEWS:41439 +#: ../NEWS:41482 msgid "" ":issue:`23601`: Sped-up allocation of dict key objects by using Python's " "small object allocator. (Contributed by Julian Taylor.)" msgstr "" -#: ../NEWS:41442 +#: ../NEWS:41485 msgid "" ":issue:`18018`: Import raises ImportError instead of SystemError if a " "relative import is attempted without a known parent package." msgstr "" -#: ../NEWS:41445 +#: ../NEWS:41488 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`` " @@ -66842,13 +66911,13 @@ msgid "" "``1.0`` are equal." msgstr "" -#: ../NEWS:41451 +#: ../NEWS:41494 msgid "" ":issue:`26107`: The format of the ``co_lnotab`` attribute of code objects " "changes to support negative line number delta." msgstr "" -#: ../NEWS:41454 ../NEWS:43863 +#: ../NEWS:41497 ../NEWS:43906 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 " @@ -66858,29 +66927,29 @@ msgid "" "compiler issues." msgstr "" -#: ../NEWS:41461 +#: ../NEWS:41504 msgid "" ":issue:`25791`: If __package__ != __spec__.parent or if neither __package__ " "or __spec__ are defined then ImportWarning is raised." msgstr "" -#: ../NEWS:41464 ../NEWS:43880 +#: ../NEWS:41507 ../NEWS:43923 msgid "" ":issue:`22995`: [UPDATE] Comment out the one of the pickleability tests in " "_PyObject_GetState() due to regressions observed in Cython-based projects." msgstr "" -#: ../NEWS:41467 ../NEWS:43883 +#: ../NEWS:41510 ../NEWS:43926 msgid ":issue:`25961`: Disallowed null characters in the type name." msgstr "" -#: ../NEWS:41469 ../NEWS:43885 +#: ../NEWS:41512 ../NEWS:43928 msgid "" ":issue:`25973`: Fix segfault when an invalid nonlocal statement binds a name " "starting with two underscores." msgstr "" -#: ../NEWS:41472 ../NEWS:43888 +#: ../NEWS:41515 ../NEWS:43931 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 " @@ -66888,127 +66957,127 @@ msgid "" "__getstate__), can no longer be pickled. Including memoryview." msgstr "" -#: ../NEWS:41477 ../NEWS:43893 +#: ../NEWS:41520 ../NEWS:43936 msgid "" ":issue:`20440`: Massive replacing unsafe attribute setting code with special " "macro Py_SETREF." msgstr "" -#: ../NEWS:41480 ../NEWS:43896 +#: ../NEWS:41523 ../NEWS:43939 msgid ":issue:`25766`: Special method __bytes__() now works in str subclasses." msgstr "" -#: ../NEWS:41482 ../NEWS:43898 +#: ../NEWS:41525 ../NEWS:43941 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 "" -#: ../NEWS:41486 ../NEWS:43902 ../NEWS:44512 +#: ../NEWS:41529 ../NEWS:43945 ../NEWS:44555 msgid "" ":issue:`25709`: Fixed problem with in-place string concatenation and utf-8 " "cache." msgstr "" -#: ../NEWS:41489 +#: ../NEWS:41532 msgid "" ":issue:`5319`: New Py_FinalizeEx() API allowing Python to set an exit status " "of 120 on failure to flush buffered streams." msgstr "" -#: ../NEWS:41492 +#: ../NEWS:41535 msgid ":issue:`25485`: telnetlib.Telnet is now a context manager." msgstr "" -#: ../NEWS:41494 ../NEWS:43907 +#: ../NEWS:41537 ../NEWS:43950 msgid "" ":issue:`24097`: Fixed crash in object.__reduce__() if slot name is freed " "inside __getattr__." msgstr "" -#: ../NEWS:41497 ../NEWS:43910 +#: ../NEWS:41540 ../NEWS:43953 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 "" -#: ../NEWS:41502 ../NEWS:44530 +#: ../NEWS:41545 ../NEWS:44573 msgid "" ":issue:`25630`: Fix a possible segfault during argument parsing in functions " "that accept filesystem paths." msgstr "" -#: ../NEWS:41505 ../NEWS:44533 +#: ../NEWS:41548 ../NEWS:44576 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 "" -#: ../NEWS:41509 ../NEWS:44537 +#: ../NEWS:41552 ../NEWS:44580 msgid "" ":issue:`25388`: Fixed tokenizer crash when processing undecodable source " "code with a null byte." msgstr "" -#: ../NEWS:41512 ../NEWS:44540 +#: ../NEWS:41555 ../NEWS:44583 msgid "" ":issue:`25462`: The hash of the key now is calculated only once in most " "operations in C implementation of OrderedDict." msgstr "" -#: ../NEWS:41515 ../NEWS:44543 +#: ../NEWS:41558 ../NEWS:44586 msgid "" ":issue:`22995`: Default implementation of __reduce__ and __reduce_ex__ now " "rejects builtin types with not defined __new__." msgstr "" -#: ../NEWS:41518 ../NEWS:44549 +#: ../NEWS:41561 ../NEWS:44592 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 "" -#: ../NEWS:41523 ../NEWS:44546 +#: ../NEWS:41566 ../NEWS:44589 msgid "" ":issue:`25555`: Fix parser and AST: fill lineno and col_offset of \"arg\" " "node when compiling AST from Python objects." msgstr "" -#: ../NEWS:41526 ../NEWS:44554 +#: ../NEWS:41569 ../NEWS:44597 msgid "" ":issue:`24726`: Fixed a crash and leaking NULL in repr() of OrderedDict that " "was mutated by direct calls of dict methods." msgstr "" -#: ../NEWS:41529 ../NEWS:44557 +#: ../NEWS:41572 ../NEWS:44600 msgid "" ":issue:`25449`: Iterating OrderedDict with keys with unstable hash now " "raises KeyError in C implementations as well as in Python implementation." msgstr "" -#: ../NEWS:41532 ../NEWS:44560 +#: ../NEWS:41575 ../NEWS:44603 msgid "" ":issue:`25395`: Fixed crash when highly nested OrderedDict structures were " "garbage collected." msgstr "" -#: ../NEWS:41535 +#: ../NEWS:41578 msgid "" ":issue:`25401`: Optimize bytes.fromhex() and bytearray.fromhex(): they are " "now between 2x and 3.5x faster." msgstr "" -#: ../NEWS:41538 +#: ../NEWS:41581 msgid "" ":issue:`25399`: Optimize bytearray % args using the new private " "_PyBytesWriter API. Formatting is now between 2.5 and 5 times faster." msgstr "" -#: ../NEWS:41541 ../NEWS:44563 +#: ../NEWS:41584 ../NEWS:44606 msgid "" ":issue:`25274`: sys.setrecursionlimit() now raises a RecursionError if the " "new recursion limit is too low depending at the current recursion depth. " @@ -67016,56 +67085,56 @@ msgid "" "is used to decide when the overflowed flag of the thread state is reset." msgstr "" -#: ../NEWS:41546 ../NEWS:44568 +#: ../NEWS:41589 ../NEWS:44611 msgid "" ":issue:`24402`: Fix input() to prompt to the redirected stdout when sys." "stdout.fileno() fails." msgstr "" -#: ../NEWS:41549 +#: ../NEWS:41592 msgid "" ":issue:`25349`: Optimize bytes % args using the new private _PyBytesWriter " "API. Formatting is now up to 2 times faster." msgstr "" -#: ../NEWS:41552 ../NEWS:44571 +#: ../NEWS:41595 ../NEWS:44614 msgid "" ":issue:`24806`: Prevent builtin types that are not allowed to be subclassed " "from being subclassed through multiple inheritance." msgstr "" -#: ../NEWS:41555 +#: ../NEWS:41598 msgid "" ":issue:`25301`: The UTF-8 decoder is now up to 15 times as fast for error " "handlers: ``ignore``, ``replace`` and ``surrogateescape``." msgstr "" -#: ../NEWS:41558 ../NEWS:44574 +#: ../NEWS:41601 ../NEWS:44617 msgid "" ":issue:`24848`: Fixed a number of bugs in UTF-7 decoding of misformed data." msgstr "" -#: ../NEWS:41560 +#: ../NEWS:41603 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 "" -#: ../NEWS:41564 ../NEWS:44576 +#: ../NEWS:41607 ../NEWS:44619 msgid "" ":issue:`25280`: Import trace messages emitted in verbose (-v) mode are no " "longer formatted twice." msgstr "" -#: ../NEWS:41567 +#: ../NEWS:41610 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 "" -#: ../NEWS:41571 ../NEWS:44579 +#: ../NEWS:41614 ../NEWS:44622 msgid "" ":issue:`25003`: On Solaris 11.3 or newer, os.urandom() now uses the " "getrandom() function instead of the getentropy() function. The getentropy() " @@ -67073,14 +67142,14 @@ msgid "" "doesn't need such high-quality entropy." msgstr "" -#: ../NEWS:41576 +#: ../NEWS:41619 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 "" -#: ../NEWS:41580 +#: ../NEWS:41623 msgid "" ":issue:`24965`: Implement :pep:`498` \"Literal String Interpolation\". This " "allows you to embed expressions inside f-strings, which are converted to " @@ -67088,65 +67157,65 @@ msgid "" "by Eric V. Smith." msgstr "" -#: ../NEWS:41585 ../NEWS:43915 +#: ../NEWS:41628 ../NEWS:43958 msgid "" ":issue:`26478`: Fix semantic bugs when using binary operators with " "dictionary views and tuples." msgstr "" -#: ../NEWS:41588 ../NEWS:43918 +#: ../NEWS:41631 ../NEWS:43961 msgid "" ":issue:`26171`: Fix possible integer overflow and heap corruption in " "zipimporter.get_data()." msgstr "" -#: ../NEWS:41591 ../NEWS:43921 +#: ../NEWS:41634 ../NEWS:43964 msgid ":issue:`25660`: Fix TAB key behaviour in REPL with readline." msgstr "" -#: ../NEWS:41593 +#: ../NEWS:41636 msgid ":issue:`26288`: Optimize PyLong_AsDouble." msgstr "" -#: ../NEWS:41595 +#: ../NEWS:41638 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 "" -#: ../NEWS:41599 ../NEWS:43923 +#: ../NEWS:41642 ../NEWS:43966 msgid "" ":issue:`25887`: Raise a RuntimeError when a coroutine object is awaited more " "than once." msgstr "" -#: ../NEWS:41605 ../NEWS:43979 +#: ../NEWS:41648 ../NEWS:44022 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 "" -#: ../NEWS:41609 ../NEWS:43983 +#: ../NEWS:41652 ../NEWS:44026 msgid "" ":issue:`27014`: Fix infinite recursion using typing.py. Thanks to Kalle " "Tuure!" msgstr "" -#: ../NEWS:41611 +#: ../NEWS:41654 msgid "" ":issue:`27031`: Removed dummy methods in Tkinter widget classes: " "tk_menuBar() and tk_bindForTraversal()." msgstr "" -#: ../NEWS:41614 ../NEWS:43985 +#: ../NEWS:41657 ../NEWS:44028 msgid "" ":issue:`14132`: Fix urllib.request redirect handling when the target only " "has a query string. Original fix by Ján Janech." msgstr "" -#: ../NEWS:41617 ../NEWS:43988 +#: ../NEWS:41660 ../NEWS:44031 msgid "" ":issue:`17214`: The \"urllib.request\" module now percent-encodes non-ASCII " "bytes found in redirect target URLs. Some servers send Location header " @@ -67155,98 +67224,98 @@ msgid "" "patch by Christian Heimes." msgstr "" -#: ../NEWS:41623 +#: ../NEWS:41666 msgid "" ":issue:`27033`: The default value of the decode_data parameter for smtpd." "SMTPChannel and smtpd.SMTPServer constructors is changed to False." msgstr "" -#: ../NEWS:41626 +#: ../NEWS:41669 msgid ":issue:`27034`: Removed deprecated class asynchat.fifo." msgstr "" -#: ../NEWS:41628 +#: ../NEWS:41671 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 "" -#: ../NEWS:41632 +#: ../NEWS:41675 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 "" -#: ../NEWS:41635 ../NEWS:43994 +#: ../NEWS:41678 ../NEWS:44037 msgid "" ":issue:`26892`: Honor debuglevel flag in urllib.request.HTTPHandler. Patch " "contributed by Chi Hsuan Yen." msgstr "" -#: ../NEWS:41638 ../NEWS:43997 +#: ../NEWS:41681 ../NEWS:44040 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 "" -#: ../NEWS:41641 ../NEWS:44000 +#: ../NEWS:41684 ../NEWS:44043 msgid "" ":issue:`26807`: mock_open 'files' no longer error on readline at end of " "file. Patch from Yolanda Robla." msgstr "" -#: ../NEWS:41644 ../NEWS:44003 +#: ../NEWS:41687 ../NEWS:44046 msgid ":issue:`25745`: Fixed leaking a userptr in curses panel destructor." msgstr "" -#: ../NEWS:41646 ../NEWS:44005 +#: ../NEWS:41689 ../NEWS:44048 msgid "" ":issue:`26977`: Removed unnecessary, and ignored, call to sum of squares " "helper in statistics.pvariance." msgstr "" -#: ../NEWS:41649 +#: ../NEWS:41692 msgid "" ":issue:`26002`: Use bisect in statistics.median instead of a linear search. " "Patch by Upendra Kuma." msgstr "" -#: ../NEWS:41652 +#: ../NEWS:41695 msgid "" ":issue:`25974`: Make use of new Decimal.as_integer_ratio() method in " "statistics module. Patch by Stefan Krah." msgstr "" -#: ../NEWS:41655 +#: ../NEWS:41698 msgid ":issue:`26996`: Add secrets module as described in :pep:`506`." msgstr "" -#: ../NEWS:41657 ../NEWS:44008 +#: ../NEWS:41700 ../NEWS:44051 msgid "" ":issue:`26881`: The modulefinder module now supports extended opcode " "arguments." msgstr "" -#: ../NEWS:41659 ../NEWS:44010 +#: ../NEWS:41702 ../NEWS:44053 msgid "" ":issue:`23815`: Fixed crashes related to directly created instances of types " "in _tkinter and curses.panel modules." msgstr "" -#: ../NEWS:41662 ../NEWS:44013 +#: ../NEWS:41705 ../NEWS:44056 msgid "" ":issue:`17765`: weakref.ref() no longer silently ignores keyword arguments. " "Patch by Georg Brandl." msgstr "" -#: ../NEWS:41665 ../NEWS:44016 +#: ../NEWS:41708 ../NEWS:44059 msgid "" ":issue:`26873`: xmlrpc now raises ResponseError on unsupported type tags " "instead of silently return incorrect result." msgstr "" -#: ../NEWS:41668 +#: ../NEWS:41711 msgid "" ":issue:`26915`: The __contains__ methods in the collections ABCs now check " "for identity before checking equality. This better matches the behavior of " @@ -67254,18 +67323,18 @@ msgid "" "to reason about container invariants." msgstr "" -#: ../NEWS:41673 ../NEWS:44019 +#: ../NEWS:41716 ../NEWS:44062 msgid ":issue:`26711`: Fixed the comparison of plistlib.Data with other types." msgstr "" -#: ../NEWS:41675 ../NEWS:44021 +#: ../NEWS:41718 ../NEWS:44064 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 "" -#: ../NEWS:41679 ../NEWS:44025 +#: ../NEWS:41722 ../NEWS:44068 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 " @@ -67273,196 +67342,196 @@ msgid "" "Zhang." msgstr "" -#: ../NEWS:41684 +#: ../NEWS:41727 msgid "" ":issue:`24902`: Print server URL on http.server startup. Initial patch by " "Felix Kaiser." msgstr "" -#: ../NEWS:41687 +#: ../NEWS:41730 msgid "" ":issue:`25788`: fileinput.hook_encoded() now supports an \"errors\" argument " "for passing to open. Original patch by Joseph Hackman." msgstr "" -#: ../NEWS:41690 ../NEWS:44030 +#: ../NEWS:41733 ../NEWS:44073 msgid "" ":issue:`26634`: recursive_repr() now sets __qualname__ of wrapper. Patch by " "Xiang Zhang." msgstr "" -#: ../NEWS:41693 ../NEWS:44033 +#: ../NEWS:41736 ../NEWS:44076 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 "" -#: ../NEWS:41697 ../NEWS:44037 +#: ../NEWS:41740 ../NEWS:44080 msgid "" ":issue:`26837`: assertSequenceEqual() now correctly outputs non-stringified " "differing items (like bytes in the -b mode). This affects assertListEqual() " "and assertTupleEqual()." msgstr "" -#: ../NEWS:41701 ../NEWS:44041 +#: ../NEWS:41744 ../NEWS:44084 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 "" -#: ../NEWS:41705 ../NEWS:44045 +#: ../NEWS:41748 ../NEWS:44088 msgid "" ":issue:`26822`: itemgetter, attrgetter and methodcaller objects no longer " "silently ignore keyword arguments." msgstr "" -#: ../NEWS:41708 ../NEWS:44048 +#: ../NEWS:41751 ../NEWS:44091 msgid "" ":issue:`26733`: Disassembling a class now disassembles class and static " "methods. Patch by Xiang Zhang." msgstr "" -#: ../NEWS:41711 ../NEWS:44051 +#: ../NEWS:41754 ../NEWS:44094 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 "" -#: ../NEWS:41715 ../NEWS:44055 +#: ../NEWS:41758 ../NEWS:44098 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 "" -#: ../NEWS:41718 ../NEWS:44058 +#: ../NEWS:41761 ../NEWS:44101 msgid "" ":issue:`26717`: Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by " "Anthony Sottile." msgstr "" -#: ../NEWS:41721 +#: ../NEWS:41764 msgid ":issue:`26782`: Add STARTUPINFO to subprocess.__all__ on Windows." msgstr "" -#: ../NEWS:41723 +#: ../NEWS:41766 msgid "" ":issue:`26404`: Add context manager to socketserver. Patch by Aviv Palivoda." msgstr "" -#: ../NEWS:41725 ../NEWS:44061 +#: ../NEWS:41768 ../NEWS:44104 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 "" -#: ../NEWS:41729 +#: ../NEWS:41772 msgid "" ":issue:`26585`: Eliminate http.server._quote_html() and use html." "escape(quote=False). Patch by Xiang Zhang." msgstr "" -#: ../NEWS:41732 +#: ../NEWS:41775 msgid ":issue:`26685`: Raise OSError if closing a socket fails." msgstr "" -#: ../NEWS:41734 ../NEWS:44065 +#: ../NEWS:41777 ../NEWS:44108 msgid "" ":issue:`16329`: Add .webm to mimetypes.types_map. Patch by Giampaolo " "Rodola'." msgstr "" -#: ../NEWS:41736 ../NEWS:44067 +#: ../NEWS:41779 ../NEWS:44110 msgid "" ":issue:`13952`: Add .csv to mimetypes.types_map. Patch by Geoff Wilson." msgstr "" -#: ../NEWS:41738 +#: ../NEWS:41781 msgid "" ":issue:`26587`: the site module now allows .pth files to specify files to be " "added to sys.path (e.g. zip files)." msgstr "" -#: ../NEWS:41741 +#: ../NEWS:41784 msgid "" ":issue:`25609`: Introduce contextlib.AbstractContextManager and typing." "ContextManager." msgstr "" -#: ../NEWS:41744 ../NEWS:44069 +#: ../NEWS:41787 ../NEWS:44112 msgid ":issue:`26709`: Fixed Y2038 problem in loading binary PLists." msgstr "" -#: ../NEWS:41746 ../NEWS:44071 +#: ../NEWS:41789 ../NEWS:44114 msgid "" ":issue:`23735`: Handle terminal resizing with Readline 6.3+ by installing " "our own SIGWINCH handler. Patch by Eric Price." msgstr "" -#: ../NEWS:41749 +#: ../NEWS:41792 msgid "" ":issue:`25951`: Change SSLSocket.sendall() to return None, as explicitly " "documented for plain socket objects. Patch by Aviv Palivoda." msgstr "" -#: ../NEWS:41752 ../NEWS:44074 +#: ../NEWS:41795 ../NEWS:44117 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 "" -#: ../NEWS:41756 +#: ../NEWS:41799 msgid ":issue:`26676`: Added missing XMLPullParser to ElementTree.__all__." msgstr "" -#: ../NEWS:41758 ../NEWS:44078 +#: ../NEWS:41801 ../NEWS:44121 msgid "" ":issue:`22854`: Change BufferedReader.writable() and BufferedWriter." "readable() to always return False." msgstr "" -#: ../NEWS:41761 +#: ../NEWS:41804 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 "" -#: ../NEWS:41765 +#: ../NEWS:41808 msgid "" ":issue:`26641`: doctest.DocFileTest and doctest.testfile() now support " "packages (module splitted into multiple directories) for the package " "parameter." msgstr "" -#: ../NEWS:41768 ../NEWS:44081 +#: ../NEWS:41811 ../NEWS:44124 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 "" -#: ../NEWS:41772 ../NEWS:44085 +#: ../NEWS:41815 ../NEWS:44128 msgid "" ":issue:`26644`: Raise ValueError rather than SystemError when a negative " "length is passed to SSLSocket.recv() or read()." msgstr "" -#: ../NEWS:41775 ../NEWS:44088 +#: ../NEWS:41818 ../NEWS:44131 msgid "" ":issue:`23804`: Fix SSL recv(0) and read(0) methods to return zero bytes " "instead of up to 1024." msgstr "" -#: ../NEWS:41778 ../NEWS:44091 +#: ../NEWS:41821 ../NEWS:44134 msgid ":issue:`26616`: Fixed a bug in datetime.astimezone() method." msgstr "" -#: ../NEWS:41780 +#: ../NEWS:41823 msgid "" ":issue:`26637`: The :mod:`importlib` module now emits an :exc:`ImportError` " "rather than a :exc:`TypeError` if :func:`__import__` is tried during the " @@ -67470,7 +67539,7 @@ msgid "" "``None``)." msgstr "" -#: ../NEWS:41785 +#: ../NEWS:41828 msgid "" ":issue:`21925`: :func:`warnings.formatwarning` now catches exceptions when " "calling :func:`linecache.getline` and :func:`tracemalloc." @@ -67478,14 +67547,14 @@ msgid "" "during the Python shutdown process." msgstr "" -#: ../NEWS:41790 +#: ../NEWS:41833 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 "" -#: ../NEWS:41794 +#: ../NEWS:41837 msgid "" ":issue:`26530`: Add C functions :c:func:`!_PyTraceMalloc_Track` and :c:func:" "`!_PyTraceMalloc_Untrack` to track memory blocks using the :mod:" @@ -67493,37 +67562,37 @@ msgid "" "traceback of an object." msgstr "" -#: ../NEWS:41799 +#: ../NEWS:41842 msgid "" ":issue:`26588`: The _tracemalloc now supports tracing memory allocations of " "multiple address spaces (domains)." msgstr "" -#: ../NEWS:41802 ../NEWS:44097 +#: ../NEWS:41845 ../NEWS:44140 msgid "" ":issue:`24266`: Ctrl+C during Readline history search now cancels the search " "mode when compiled with Readline 7." msgstr "" -#: ../NEWS:41805 +#: ../NEWS:41848 msgid "" ":issue:`26590`: Implement a safe finalizer for the _socket.socket type. It " "now releases the GIL to close the socket." msgstr "" -#: ../NEWS:41808 +#: ../NEWS:41851 msgid "" ":issue:`18787`: spwd.getspnam() now raises a PermissionError if the user " "doesn't have privileges." msgstr "" -#: ../NEWS:41811 ../NEWS:44100 +#: ../NEWS:41854 ../NEWS:44143 msgid "" ":issue:`26560`: Avoid potential ValueError in BaseHandler.start_response. " "Initial patch by Peter Inglesby." msgstr "" -#: ../NEWS:41814 +#: ../NEWS:41857 msgid "" ":issue:`26567`: Add a new function :c:func:`PyErr_ResourceWarning` function " "to pass the destroyed object. Add a *source* attribute to :class:`warnings." @@ -67531,151 +67600,151 @@ msgid "" "the traceback where source object was allocated." msgstr "" -#: ../NEWS:41819 ../NEWS:44103 +#: ../NEWS:41862 ../NEWS:44146 msgid "" ":issue:`26569`: Fix :func:`pyclbr.readmodule` and :func:`pyclbr." "readmodule_ex` to support importing packages." msgstr "" -#: ../NEWS:41822 ../NEWS:44106 +#: ../NEWS:41865 ../NEWS:44149 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 "" -#: ../NEWS:41826 ../NEWS:44110 +#: ../NEWS:41869 ../NEWS:44153 msgid "" ":issue:`25320`: Handle sockets in directories unittest discovery is " "scanning. Patch from Victor van den Elzen." msgstr "" -#: ../NEWS:41829 ../NEWS:44113 +#: ../NEWS:41872 ../NEWS:44156 msgid "" ":issue:`16181`: cookiejar.http2time() now returns None if year is higher " "than datetime.MAXYEAR." msgstr "" -#: ../NEWS:41832 ../NEWS:44116 +#: ../NEWS:41875 ../NEWS:44159 msgid ":issue:`26513`: Fixes platform module detection of Windows Server" msgstr "" -#: ../NEWS:41834 ../NEWS:44118 +#: ../NEWS:41877 ../NEWS:44161 msgid "" ":issue:`23718`: Fixed parsing time in week 0 before Jan 1. Original patch " "by Tamás Bence Gedai." msgstr "" -#: ../NEWS:41837 +#: ../NEWS:41880 msgid "" ":issue:`26323`: Add Mock.assert_called() and Mock.assert_called_once() " "methods to unittest.mock. Patch written by Amit Saha." msgstr "" -#: ../NEWS:41840 ../NEWS:44121 +#: ../NEWS:41883 ../NEWS:44164 msgid "" ":issue:`20589`: Invoking Path.owner() and Path.group() on Windows now raise " "NotImplementedError instead of ImportError." msgstr "" -#: ../NEWS:41843 ../NEWS:44124 +#: ../NEWS:41886 ../NEWS:44167 msgid "" ":issue:`26177`: Fixed the keys() method for Canvas and Scrollbar widgets." msgstr "" -#: ../NEWS:41845 +#: ../NEWS:41888 msgid "" ":issue:`15068`: Got rid of excessive buffering in fileinput. The bufsize " "parameter is now deprecated and ignored." msgstr "" -#: ../NEWS:41848 +#: ../NEWS:41891 msgid "" ":issue:`19475`: Added an optional argument timespec to the datetime " "isoformat() method to choose the precision of the time component." msgstr "" -#: ../NEWS:41851 ../NEWS:44129 +#: ../NEWS:41894 ../NEWS:44172 msgid "" ":issue:`2202`: Fix UnboundLocalError in AbstractDigestAuthHandler." "get_algorithm_impls. Initial patch by Mathieu Dupuy." msgstr "" -#: ../NEWS:41855 +#: ../NEWS:41898 msgid "" ":issue:`26167`: Minimized overhead in copy.copy() and copy.deepcopy(). " "Optimized copying and deepcopying bytearrays, NotImplemented, slices, short " "lists, tuples, dicts, sets." msgstr "" -#: ../NEWS:41859 ../NEWS:44133 +#: ../NEWS:41902 ../NEWS:44176 msgid "" ":issue:`25718`: Fixed pickling and copying the accumulate() iterator with " "total is None." msgstr "" -#: ../NEWS:41862 ../NEWS:44136 +#: ../NEWS:41905 ../NEWS:44179 msgid "" ":issue:`26475`: Fixed debugging output for regular expressions with the (?x) " "flag." msgstr "" -#: ../NEWS:41865 +#: ../NEWS:41908 msgid ":issue:`26482`: Allowed pickling recursive dequeues." msgstr "" -#: ../NEWS:41867 +#: ../NEWS:41910 msgid "" ":issue:`26335`: Make mmap.write() return the number of bytes written like " "other write methods. Patch by Jakub Stasiak." msgstr "" -#: ../NEWS:41870 ../NEWS:44139 +#: ../NEWS:41913 ../NEWS:44182 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 "" -#: ../NEWS:41874 ../NEWS:44143 +#: ../NEWS:41917 ../NEWS:44186 msgid "" ":issue:`26385`: Remove the file if the internal open() call in " "NamedTemporaryFile() fails. Patch by Silent Ghost." msgstr "" -#: ../NEWS:41877 ../NEWS:44146 +#: ../NEWS:41920 ../NEWS:44189 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 "" -#: ../NEWS:41881 ../NEWS:44150 +#: ../NEWS:41924 ../NEWS:44193 msgid "" ":issue:`25913`: Leading ``<~`` is optional now in base64.a85decode() with " "adobe=True. Patch by Swati Jaiswal." msgstr "" -#: ../NEWS:41884 ../NEWS:44153 +#: ../NEWS:41927 ../NEWS:44196 msgid "" ":issue:`26186`: Remove an invalid type check in importlib.util.LazyLoader." msgstr "" -#: ../NEWS:41886 +#: ../NEWS:41929 msgid "" ":issue:`26367`: importlib.__import__() raises ImportError like builtins." "__import__() when ``level`` is specified but without an accompanying package " "specified." msgstr "" -#: ../NEWS:41890 ../NEWS:44159 +#: ../NEWS:41933 ../NEWS:44202 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 "" -#: ../NEWS:41894 +#: ../NEWS:41937 msgid "" ":issue:`23430`: Change the socketserver module to only catch exceptions " "raised from a request handler that are derived from Exception (instead of " @@ -67683,64 +67752,64 @@ msgid "" "the handle_error() method, and will now to stop a single-threaded server." msgstr "" -#: ../NEWS:41900 ../NEWS:44163 +#: ../NEWS:41943 ../NEWS:44206 msgid "" ":issue:`25995`: os.walk() no longer uses FDs proportional to the tree depth." msgstr "" -#: ../NEWS:41902 +#: ../NEWS:41945 msgid "" ":issue:`25994`: Added the close() method and the support of the context " "manager protocol for the os.scandir() iterator." msgstr "" -#: ../NEWS:41905 +#: ../NEWS:41948 msgid "" ":issue:`23992`: multiprocessing: make MapResult not fail-fast upon exception." msgstr "" -#: ../NEWS:41907 +#: ../NEWS:41950 msgid "" ":issue:`26243`: Support keyword arguments to zlib.compress(). Patch by Aviv " "Palivoda." msgstr "" -#: ../NEWS:41910 ../NEWS:44165 +#: ../NEWS:41953 ../NEWS:44208 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 "" -#: ../NEWS:41913 +#: ../NEWS:41956 msgid "" ":issue:`25949`: __dict__ for an OrderedDict instance is now created only " "when needed." msgstr "" -#: ../NEWS:41916 ../NEWS:44168 +#: ../NEWS:41959 ../NEWS:44211 msgid "" ":issue:`25911`: Restored support of bytes paths in os.walk() on Windows." msgstr "" -#: ../NEWS:41918 ../NEWS:44170 +#: ../NEWS:41961 ../NEWS:44213 msgid "" ":issue:`26045`: Add UTF-8 suggestion to error message when posting a non-" "Latin-1 string with http.client." msgstr "" -#: ../NEWS:41921 +#: ../NEWS:41964 msgid "" ":issue:`26039`: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo." "is_dir(). Patch by Thomas Kluyver." msgstr "" -#: ../NEWS:41924 ../NEWS:44173 +#: ../NEWS:41967 ../NEWS:44216 msgid "" ":issue:`12923`: Reset FancyURLopener's redirect counter even if there is an " "exception. Based on patches by Brian Brazil and Daniel Rocco." msgstr "" -#: ../NEWS:41927 ../NEWS:44176 +#: ../NEWS:41970 ../NEWS:44219 msgid "" ":issue:`25945`: Fixed a crash when unpickle the functools.partial object " "with wrong state. Fixed a leak in failed functools.partial constructor. " @@ -67748,234 +67817,234 @@ msgid "" "types tuple and dict correspondingly." msgstr "" -#: ../NEWS:41932 ../NEWS:44181 +#: ../NEWS:41975 ../NEWS:44224 msgid "" ":issue:`26202`: copy.deepcopy() now correctly copies range() objects with " "non-atomic attributes." msgstr "" -#: ../NEWS:41935 ../NEWS:44184 +#: ../NEWS:41978 ../NEWS:44227 msgid "" ":issue:`23076`: Path.glob() now raises a ValueError if it's called with an " "invalid pattern. Patch by Thomas Nyberg." msgstr "" -#: ../NEWS:41938 ../NEWS:44187 +#: ../NEWS:41981 ../NEWS:44230 msgid ":issue:`19883`: Fixed possible integer overflows in zipimport." msgstr "" -#: ../NEWS:41940 ../NEWS:44189 +#: ../NEWS:41983 ../NEWS:44232 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 "" -#: ../NEWS:41944 +#: ../NEWS:41987 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 "" -#: ../NEWS:41948 ../NEWS:44193 +#: ../NEWS:41991 ../NEWS:44236 msgid "" ":issue:`26147`: xmlrpc now works with strings not encodable with used non-" "UTF-8 encoding." msgstr "" -#: ../NEWS:41951 ../NEWS:44196 +#: ../NEWS:41994 ../NEWS:44239 msgid "" ":issue:`25935`: Garbage collector now breaks reference loops with " "OrderedDict." msgstr "" -#: ../NEWS:41953 ../NEWS:44198 +#: ../NEWS:41996 ../NEWS:44241 msgid ":issue:`16620`: Fixed AttributeError in msilib.Directory.glob()." msgstr "" -#: ../NEWS:41955 ../NEWS:44200 +#: ../NEWS:41998 ../NEWS:44243 msgid "" ":issue:`26013`: Added compatibility with broken protocol 2 pickles created " "in old Python 3 versions (3.4.3 and lower)." msgstr "" -#: ../NEWS:41958 +#: ../NEWS:42001 msgid ":issue:`26129`: Deprecated accepting non-integers in grp.getgrgid()." msgstr "" -#: ../NEWS:41960 ../NEWS:44203 +#: ../NEWS:42003 ../NEWS:44246 msgid ":issue:`25850`: Use cross-compilation by default for 64-bit Windows." msgstr "" -#: ../NEWS:41962 +#: ../NEWS:42005 msgid "" ":issue:`25822`: Add docstrings to the fields of urllib.parse results. Patch " "contributed by Swati Jaiswal." msgstr "" -#: ../NEWS:41965 +#: ../NEWS:42008 msgid "" ":issue:`22642`: Convert trace module option parsing mechanism to argparse. " "Patch contributed by SilentGhost." msgstr "" -#: ../NEWS:41968 ../NEWS:44207 +#: ../NEWS:42011 ../NEWS:44250 msgid "" ":issue:`24705`: Fix sysconfig._parse_makefile not expanding ${} vars " "appearing before $() vars." msgstr "" -#: ../NEWS:41971 +#: ../NEWS:42014 msgid ":issue:`26069`: Remove the deprecated apis in the trace module." msgstr "" -#: ../NEWS:41973 ../NEWS:44210 +#: ../NEWS:42016 ../NEWS:44253 msgid "" ":issue:`22138`: Fix mock.patch behavior when patching descriptors. Restore " "original values after patching. Patch contributed by Sean McCully." msgstr "" -#: ../NEWS:41976 ../NEWS:44213 +#: ../NEWS:42019 ../NEWS:44256 msgid "" ":issue:`25672`: In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode " "option if it is safe to do so." msgstr "" -#: ../NEWS:41979 ../NEWS:44216 +#: ../NEWS:42022 ../NEWS:44259 msgid "" ":issue:`26012`: Don't traverse into symlinks for ``**`` pattern in pathlib." "Path.[r]glob()." msgstr "" -#: ../NEWS:41982 ../NEWS:44219 +#: ../NEWS:42025 ../NEWS:44262 msgid "" ":issue:`24120`: Ignore PermissionError when traversing a tree with pathlib." "Path.[r]glob(). Patch by Ulrich Petri." msgstr "" -#: ../NEWS:41985 +#: ../NEWS:42028 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 "" -#: ../NEWS:41989 ../NEWS:44222 +#: ../NEWS:42032 ../NEWS:44265 msgid "" ":issue:`25447`: fileinput now uses sys.stdin as-is if it does not have a " "buffer attribute (restores backward compatibility)." msgstr "" -#: ../NEWS:41992 +#: ../NEWS:42035 msgid "" ":issue:`25971`: Optimized creating Fractions from floats by 2 times and from " "Decimals by 3 times." msgstr "" -#: ../NEWS:41995 +#: ../NEWS:42038 msgid "" ":issue:`25802`: Document as deprecated the remaining implementations of " "importlib.abc.Loader.load_module()." msgstr "" -#: ../NEWS:41998 +#: ../NEWS:42041 msgid ":issue:`25928`: Add Decimal.as_integer_ratio()." msgstr "" -#: ../NEWS:42000 ../NEWS:44225 +#: ../NEWS:42043 ../NEWS:44268 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 "" -#: ../NEWS:42004 +#: ../NEWS:42047 msgid "" ":issue:`25768`: Have the functions in compileall return booleans instead of " "ints and add proper documentation and tests for the return values." msgstr "" -#: ../NEWS:42007 ../NEWS:44229 +#: ../NEWS:42050 ../NEWS:44272 msgid "" ":issue:`24103`: Fixed possible use after free in ElementTree.XMLPullParser." msgstr "" -#: ../NEWS:42009 ../NEWS:44231 +#: ../NEWS:42052 ../NEWS:44274 msgid "" ":issue:`25860`: os.fwalk() no longer skips remaining directories when error " "occurs. Original patch by Samson Lee." msgstr "" -#: ../NEWS:42012 ../NEWS:44234 +#: ../NEWS:42055 ../NEWS:44277 msgid ":issue:`25914`: Fixed and simplified OrderedDict.__sizeof__." msgstr "" -#: ../NEWS:42014 +#: ../NEWS:42057 msgid "" ":issue:`25869`: Optimized deepcopying ElementTree; it is now 20 times faster." msgstr "" -#: ../NEWS:42016 +#: ../NEWS:42059 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 "" -#: ../NEWS:42020 ../NEWS:44236 +#: ../NEWS:42063 ../NEWS:44279 msgid ":issue:`25902`: Fixed various refcount issues in ElementTree iteration." msgstr "" -#: ../NEWS:42022 +#: ../NEWS:42065 msgid "" ":issue:`22227`: The TarFile iterator is reimplemented using generator. This " "implementation is simpler that using class." msgstr "" -#: ../NEWS:42025 +#: ../NEWS:42068 msgid "" ":issue:`25638`: Optimized ElementTree.iterparse(); it is now 2x faster. " "Optimized ElementTree parsing; it is now 10% faster." msgstr "" -#: ../NEWS:42028 +#: ../NEWS:42071 msgid ":issue:`25761`: Improved detecting errors in broken pickle data." msgstr "" -#: ../NEWS:42030 ../NEWS:44238 +#: ../NEWS:42073 ../NEWS:44281 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 "" -#: ../NEWS:42034 ../NEWS:44242 +#: ../NEWS:42077 ../NEWS:44285 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 "" -#: ../NEWS:42038 ../NEWS:44246 +#: ../NEWS:42081 ../NEWS:44289 msgid "" ":issue:`25764`: In the subprocess module, preserve any exception caused by " "fork() failure when preexec_fn is used." msgstr "" -#: ../NEWS:42041 +#: ../NEWS:42084 msgid "" ":issue:`25771`: Tweak the exception message for importlib.util." "resolve_name() when 'package' isn't specified but necessary." msgstr "" -#: ../NEWS:42044 ../NEWS:44249 +#: ../NEWS:42087 ../NEWS:44292 msgid "" ":issue:`6478`: _strptime's regexp cache now is reset after changing timezone " "with time.tzset()." msgstr "" -#: ../NEWS:42047 ../NEWS:44252 +#: ../NEWS:42090 ../NEWS:44295 msgid "" ":issue:`14285`: When executing a package with the \"python -m package\" " "option, and package initialization fails, a proper traceback is now " @@ -67983,70 +68052,70 @@ msgid "" "initialization pass back to the caller, rather than raising ImportError." msgstr "" -#: ../NEWS:42052 ../NEWS:44257 +#: ../NEWS:42095 ../NEWS:44300 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 "" -#: ../NEWS:42056 ../NEWS:44261 +#: ../NEWS:42099 ../NEWS:44304 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 "" -#: ../NEWS:42060 ../NEWS:44265 +#: ../NEWS:42103 ../NEWS:44308 msgid "" ":issue:`25718`: Fixed copying object with state with boolean value is false." msgstr "" -#: ../NEWS:42062 ../NEWS:44267 +#: ../NEWS:42105 ../NEWS:44310 msgid "" ":issue:`10131`: Fixed deep copying of minidom documents. Based on patch by " "Marian Ganisin." msgstr "" -#: ../NEWS:42065 +#: ../NEWS:42108 msgid "" ":issue:`7990`: dir() on ElementTree.Element now lists properties: \"tag\", " "\"text\", \"tail\" and \"attrib\". Original patch by Santoso Wijaya." msgstr "" -#: ../NEWS:42068 ../NEWS:44270 +#: ../NEWS:42111 ../NEWS:44313 msgid "" ":issue:`25725`: Fixed a reference leak in pickle.loads() when unpickling " "invalid data including tuple instructions." msgstr "" -#: ../NEWS:42071 ../NEWS:44273 +#: ../NEWS:42114 ../NEWS:44316 msgid "" ":issue:`25663`: In the Readline completer, avoid listing duplicate global " "names, and search the global namespace before searching builtins." msgstr "" -#: ../NEWS:42074 ../NEWS:44276 +#: ../NEWS:42117 ../NEWS:44319 msgid "" ":issue:`25688`: Fixed file leak in ElementTree.iterparse() raising an error." msgstr "" -#: ../NEWS:42076 ../NEWS:44278 +#: ../NEWS:42119 ../NEWS:44321 msgid "" ":issue:`23914`: Fixed SystemError raised by unpickler on broken pickle data." msgstr "" -#: ../NEWS:42078 ../NEWS:44280 +#: ../NEWS:42121 ../NEWS:44323 msgid ":issue:`25691`: Fixed crash on deleting ElementTree.Element attributes." msgstr "" -#: ../NEWS:42080 ../NEWS:44282 +#: ../NEWS:42123 ../NEWS:44325 msgid "" ":issue:`25624`: ZipFile now always writes a ZIP_STORED header for directory " "entries. Patch by Dingyuan Wang." msgstr "" -#: ../NEWS:42083 ../NEWS:44598 +#: ../NEWS:42126 ../NEWS:44641 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 " @@ -68056,24 +68125,24 @@ msgid "" "flush() length parameter." msgstr "" -#: ../NEWS:42090 ../NEWS:44605 +#: ../NEWS:42133 ../NEWS:44648 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 "" -#: ../NEWS:42093 ../NEWS:44608 +#: ../NEWS:42136 ../NEWS:44651 msgid ":issue:`25593`: Change semantics of EventLoop.stop() in asyncio." msgstr "" -#: ../NEWS:42095 ../NEWS:44610 +#: ../NEWS:42138 ../NEWS:44653 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 "" -#: ../NEWS:42099 +#: ../NEWS:42142 msgid "" ":issue:`23883`: Added missing APIs to __all__ to match the documented APIs " "for the following modules: calendar, csv, enum, fileinput, ftplib, logging, " @@ -68082,170 +68151,170 @@ msgid "" "Joel Taddei." msgstr "" -#: ../NEWS:42105 +#: ../NEWS:42148 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 "" -#: ../NEWS:42109 ../NEWS:44617 +#: ../NEWS:42152 ../NEWS:44660 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 "" -#: ../NEWS:42113 ../NEWS:44621 +#: ../NEWS:42156 ../NEWS:44664 msgid "" ":issue:`25584`: Added \"escape\" to the __all__ list in the glob module." msgstr "" -#: ../NEWS:42115 ../NEWS:44623 +#: ../NEWS:42158 ../NEWS:44666 msgid "" ":issue:`25584`: Fixed recursive glob() with patterns starting with ``**``." msgstr "" -#: ../NEWS:42117 ../NEWS:44625 +#: ../NEWS:42160 ../NEWS:44668 msgid ":issue:`25446`: Fix regression in smtplib's AUTH LOGIN support." msgstr "" -#: ../NEWS:42119 ../NEWS:44627 +#: ../NEWS:42162 ../NEWS:44670 msgid "" ":issue:`18010`: Fix the pydoc web server's module search function to handle " "exceptions from importing packages." msgstr "" -#: ../NEWS:42122 ../NEWS:44630 +#: ../NEWS:42165 ../NEWS:44673 msgid "" ":issue:`25554`: Got rid of circular references in regular expression parsing." msgstr "" -#: ../NEWS:42124 +#: ../NEWS:42167 msgid "" ":issue:`18973`: Command-line interface of the calendar module now uses " "argparse instead of optparse." msgstr "" -#: ../NEWS:42127 ../NEWS:44632 +#: ../NEWS:42170 ../NEWS:44675 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 "" -#: ../NEWS:42131 ../NEWS:44636 +#: ../NEWS:42174 ../NEWS:44679 msgid "" ":issue:`25503`: Fixed inspect.getdoc() for inherited docstrings of " "properties. Original patch by John Mark Vandenberg." msgstr "" -#: ../NEWS:42134 ../NEWS:44639 +#: ../NEWS:42177 ../NEWS:44682 msgid "" ":issue:`25515`: Always use os.urandom as a source of randomness in uuid." "uuid4." msgstr "" -#: ../NEWS:42136 ../NEWS:44641 +#: ../NEWS:42179 ../NEWS:44684 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 "" -#: ../NEWS:42140 ../NEWS:44645 +#: ../NEWS:42183 ../NEWS:44688 msgid "" ":issue:`25447`: The lru_cache() wrapper objects now can be copied and " "pickled (by returning the original object unchanged)." msgstr "" -#: ../NEWS:42143 ../NEWS:44648 +#: ../NEWS:42186 ../NEWS:44691 msgid ":issue:`25390`: typing: Don't crash on Union[str, Pattern]." msgstr "" -#: ../NEWS:42145 ../NEWS:44650 +#: ../NEWS:42188 ../NEWS:44693 msgid "" ":issue:`25441`: asyncio: Raise error from drain() when socket is closed." msgstr "" -#: ../NEWS:42147 ../NEWS:44652 +#: ../NEWS:42190 ../NEWS:44695 msgid "" ":issue:`25410`: Cleaned up and fixed minor bugs in C implementation of " "OrderedDict." msgstr "" -#: ../NEWS:42150 ../NEWS:44655 +#: ../NEWS:42193 ../NEWS:44698 msgid "" ":issue:`25411`: Improved Unicode support in SMTPHandler through better use " "of the email package. Thanks to user simon04 for the patch." msgstr "" -#: ../NEWS:42153 +#: ../NEWS:42196 msgid "" "Move the imp module from a PendingDeprecationWarning to DeprecationWarning." msgstr "" -#: ../NEWS:42156 ../NEWS:44658 +#: ../NEWS:42199 ../NEWS:44701 msgid "" ":issue:`25407`: Remove mentions of the formatter module being removed in " "Python 3.6." msgstr "" -#: ../NEWS:42159 ../NEWS:44661 +#: ../NEWS:42202 ../NEWS:44704 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 "" -#: ../NEWS:42163 +#: ../NEWS:42206 msgid "" ":issue:`25382`: pickletools.dis() now outputs implicit memo index for the " "MEMOIZE opcode." msgstr "" -#: ../NEWS:42166 +#: ../NEWS:42209 msgid "" ":issue:`25357`: Add an optional newline parameter to binascii.b2a_base64(). " "base64.b64encode() uses it to avoid a memory copy." msgstr "" -#: ../NEWS:42169 +#: ../NEWS:42212 msgid "" ":issue:`24164`: Objects that need calling ``__new__`` with keyword " "arguments, can now be pickled using pickle protocols older than protocol " "version 4." msgstr "" -#: ../NEWS:42172 ../NEWS:44665 +#: ../NEWS:42215 ../NEWS:44708 msgid ":issue:`25364`: zipfile now works in threads disabled builds." msgstr "" -#: ../NEWS:42174 ../NEWS:44667 +#: ../NEWS:42217 ../NEWS:44710 msgid "" ":issue:`25328`: smtpd's SMTPChannel now correctly raises a ValueError if " "both decode_data and enable_SMTPUTF8 are set to true." msgstr "" -#: ../NEWS:42177 +#: ../NEWS:42220 msgid "" ":issue:`16099`: RobotFileParser now supports Crawl-delay and Request-rate " "extensions. Patch by Nikolay Bogoychev." msgstr "" -#: ../NEWS:42180 ../NEWS:44670 +#: ../NEWS:42223 ../NEWS:44713 msgid "" ":issue:`25316`: distutils raises OSError instead of DistutilsPlatformError " "when MSVC is not installed." msgstr "" -#: ../NEWS:42183 ../NEWS:44673 +#: ../NEWS:42226 ../NEWS:44716 msgid "" ":issue:`25380`: Fixed protocol for the STACK_GLOBAL opcode in pickletools." "opcodes." msgstr "" -#: ../NEWS:42186 ../NEWS:44676 +#: ../NEWS:42229 ../NEWS:44719 msgid "" ":issue:`23972`: Updates asyncio datagram create method allowing reuseport " "and reuseaddr socket options to be set prior to binding the socket. " @@ -68254,61 +68323,61 @@ msgid "" "platform is Cygwin). Patch by Chris Laws." msgstr "" -#: ../NEWS:42192 ../NEWS:44682 +#: ../NEWS:42235 ../NEWS:44725 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 "" -#: ../NEWS:42196 ../NEWS:44686 +#: ../NEWS:42239 ../NEWS:44729 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 "" -#: ../NEWS:42199 ../NEWS:44689 +#: ../NEWS:42242 ../NEWS:44732 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 "" -#: ../NEWS:42202 +#: ../NEWS:42245 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 "" -#: ../NEWS:42206 ../NEWS:44717 +#: ../NEWS:42249 ../NEWS:44760 msgid "" ":issue:`23600`: Default implementation of tzinfo.fromutc() was returning " "wrong results in some cases." msgstr "" -#: ../NEWS:42209 ../NEWS:44714 +#: ../NEWS:42252 ../NEWS:44757 msgid "" ":issue:`25203`: Failed readline.set_completer_delims() no longer left the " "module in inconsistent state." msgstr "" -#: ../NEWS:42212 +#: ../NEWS:42255 msgid "" ":issue:`25011`: rlcompleter now omits private and special attribute names " "unless the prefix starts with underscores." msgstr "" -#: ../NEWS:42215 +#: ../NEWS:42258 msgid "" ":issue:`25209`: rlcompleter now can add a space or a colon after completed " "keyword." msgstr "" -#: ../NEWS:42218 +#: ../NEWS:42261 msgid ":issue:`22241`: timezone.utc name is now plain 'UTC', not 'UTC-00:00'." msgstr "" -#: ../NEWS:42220 +#: ../NEWS:42263 msgid "" ":issue:`23517`: fromtimestamp() and utcfromtimestamp() methods of datetime." "datetime now round microseconds to nearest with ties going to nearest even " @@ -68316,189 +68385,189 @@ msgid "" "Infinity (ROUND_FLOOR)." msgstr "" -#: ../NEWS:42225 +#: ../NEWS:42268 msgid "" ":issue:`23552`: Timeit now warns when there is substantial (4x) variance " "between best and worst times. Patch from Serhiy Storchaka." msgstr "" -#: ../NEWS:42228 +#: ../NEWS:42271 msgid ":issue:`24633`: site-packages/README -> README.txt." msgstr "" -#: ../NEWS:42230 +#: ../NEWS:42273 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 "" -#: ../NEWS:42234 +#: ../NEWS:42277 msgid "" ":issue:`24874`: Improve speed of itertools.cycle() and make its pickle more " "compact." msgstr "" -#: ../NEWS:42237 +#: ../NEWS:42280 msgid "" "Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " "list." msgstr "" -#: ../NEWS:42240 +#: ../NEWS:42283 msgid "" ":issue:`20059`: urllib.parse raises ValueError on all invalid ports. Patch " "by Martin Panter." msgstr "" -#: ../NEWS:42243 +#: ../NEWS:42286 msgid "" ":issue:`24360`: Improve __repr__ of argparse.Namespace() for invalid " "identifiers. Patch by Matthias Bussonnier." msgstr "" -#: ../NEWS:42246 +#: ../NEWS:42289 msgid "" ":issue:`23426`: run_setup was broken in distutils. Patch from Alexander " "Belopolsky." msgstr "" -#: ../NEWS:42249 +#: ../NEWS:42292 msgid "" ":issue:`13938`: 2to3 converts StringTypes to a tuple. Patch from Mark " "Hammond." msgstr "" -#: ../NEWS:42251 +#: ../NEWS:42294 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 "" -#: ../NEWS:42254 +#: ../NEWS:42297 msgid "" ":issue:`8585`: improved tests for zipimporter2. Patch from Mark Lawrence." msgstr "" -#: ../NEWS:42256 ../NEWS:45259 +#: ../NEWS:42299 ../NEWS:45302 msgid "" ":issue:`18622`: unittest.mock.mock_open().reset_mock would recurse " "infinitely. Patch from Nicola Palumbo and Laurent De Buyst." msgstr "" -#: ../NEWS:42259 +#: ../NEWS:42302 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 "" -#: ../NEWS:42263 ../NEWS:45262 +#: ../NEWS:42306 ../NEWS:45305 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 "" -#: ../NEWS:42266 +#: ../NEWS:42309 msgid ":issue:`13248`: Remove deprecated inspect.getmoduleinfo function." msgstr "" -#: ../NEWS:42268 ../NEWS:44791 +#: ../NEWS:42311 ../NEWS:44834 msgid ":issue:`25578`: Fix (another) memory leak in SSLSocket.getpeercer()." msgstr "" -#: ../NEWS:42270 ../NEWS:44793 +#: ../NEWS:42313 ../NEWS:44836 msgid "" ":issue:`25530`: Disable the vulnerable SSLv3 protocol by default when " "creating ssl.SSLContext." msgstr "" -#: ../NEWS:42273 ../NEWS:44796 +#: ../NEWS:42316 ../NEWS:44839 msgid ":issue:`25569`: Fix memory leak in SSLSocket.getpeercert()." msgstr "" -#: ../NEWS:42275 ../NEWS:44798 +#: ../NEWS:42318 ../NEWS:44841 msgid "" ":issue:`25471`: Sockets returned from accept() shouldn't appear to be " "nonblocking." msgstr "" -#: ../NEWS:42278 ../NEWS:44801 +#: ../NEWS:42321 ../NEWS:44844 msgid "" ":issue:`25319`: When threading.Event is reinitialized, the underlying " "condition should use a regular lock rather than a recursive lock." msgstr "" -#: ../NEWS:42281 ../NEWS:44285 +#: ../NEWS:42324 ../NEWS:44328 msgid "" "Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." msgstr "" -#: ../NEWS:42284 ../NEWS:44288 +#: ../NEWS:42327 ../NEWS:44331 msgid "" ":issue:`26050`: Add asyncio.StreamReader.readuntil() method. Patch by Марк " "Коренберг." msgstr "" -#: ../NEWS:42287 ../NEWS:44291 +#: ../NEWS:42330 ../NEWS:44334 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 "" -#: ../NEWS:42290 ../NEWS:44294 +#: ../NEWS:42333 ../NEWS:44337 msgid "" ":issue:`26406`: Avoid unnecessary serialization of getaddrinfo(3) calls on " "current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis." msgstr "" -#: ../NEWS:42293 ../NEWS:44297 +#: ../NEWS:42336 ../NEWS:44340 msgid "" ":issue:`26848`: Fix asyncio/subprocess.communicate() to handle empty input. " "Patch by Jack O'Connor." msgstr "" -#: ../NEWS:42296 ../NEWS:44300 +#: ../NEWS:42339 ../NEWS:44343 msgid ":issue:`27040`: Add loop.get_exception_handler method" msgstr "" -#: ../NEWS:42298 ../NEWS:44302 +#: ../NEWS:42341 ../NEWS:44345 msgid ":issue:`27041`: asyncio: Add loop.create_future method" msgstr "" -#: ../NEWS:42303 ../NEWS:44350 +#: ../NEWS:42346 ../NEWS:44393 msgid "" ":issue:`20640`: Add tests for idlelib.configHelpSourceEdit. Patch by " "Saimadhav Heblikar." msgstr "" -#: ../NEWS:42306 ../NEWS:44353 +#: ../NEWS:42349 ../NEWS:44396 msgid "" "In the 'IDLE-console differences' section of the IDLE doc, clarify how " "running with IDLE affects sys.modules and the standard streams." msgstr "" -#: ../NEWS:42309 ../NEWS:44356 +#: ../NEWS:42352 ../NEWS:44399 msgid "" ":issue:`25507`: fix incorrect change in IOBinding that prevented printing. " "Augment IOBinding htest to include all major IOBinding functions." msgstr "" -#: ../NEWS:42312 ../NEWS:44359 +#: ../NEWS:42355 ../NEWS:44402 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 "" -#: ../NEWS:42316 ../NEWS:44830 +#: ../NEWS:42359 ../NEWS:44873 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 "" -#: ../NEWS:42320 ../NEWS:44834 +#: ../NEWS:42363 ../NEWS:44877 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 " @@ -68509,20 +68578,20 @@ msgid "" "existing interaction to terminate first." msgstr "" -#: ../NEWS:42328 ../NEWS:44842 +#: ../NEWS:42371 ../NEWS:44885 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 "" -#: ../NEWS:42332 ../NEWS:44846 +#: ../NEWS:42375 ../NEWS:44889 msgid "" ":issue:`24750`: Improve the appearance of the IDLE editor window status bar. " "Patch by Mark Roseman." msgstr "" -#: ../NEWS:42335 ../NEWS:44849 +#: ../NEWS:42378 ../NEWS:44892 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 " @@ -68530,20 +68599,20 @@ msgid "" "idlelib." msgstr "" -#: ../NEWS:42339 ../NEWS:44853 +#: ../NEWS:42382 ../NEWS:44896 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 "" -#: ../NEWS:42343 ../NEWS:44857 +#: ../NEWS:42386 ../NEWS:44900 msgid "" ":issue:`22726`: Re-activate the config dialog help button with some content " "about the other buttons and the new IDLE Dark theme." msgstr "" -#: ../NEWS:42346 ../NEWS:44860 +#: ../NEWS:42389 ../NEWS:44903 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, " @@ -68553,51 +68622,51 @@ msgid "" "work with any IDLE release, and can be modified." msgstr "" -#: ../NEWS:42353 ../NEWS:44867 +#: ../NEWS:42396 ../NEWS:44910 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 "" -#: ../NEWS:42357 ../NEWS:44871 +#: ../NEWS:42400 ../NEWS:44914 msgid "" ":issue:`24820`: Users can now set breakpoint colors in Settings -> Custom " "Highlighting. Original patch by Mark Roseman." msgstr "" -#: ../NEWS:42360 ../NEWS:44874 +#: ../NEWS:42403 ../NEWS:44917 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 "" -#: ../NEWS:42364 ../NEWS:44878 +#: ../NEWS:42407 ../NEWS:44921 msgid "" ":issue:`24570`: Idle: make calltip and completion boxes appear on Macs " "affected by a tk regression. Initial patch by Mark Roseman." msgstr "" -#: ../NEWS:42367 ../NEWS:44881 +#: ../NEWS:42410 ../NEWS:44924 msgid "" ":issue:`24988`: Idle ScrolledList context menus (used in debugger) now work " "on Mac Aqua. Patch by Mark Roseman." msgstr "" -#: ../NEWS:42370 ../NEWS:44884 +#: ../NEWS:42413 ../NEWS:44927 msgid "" ":issue:`24801`: Make right-click for context menu work on Mac Aqua. Patch by " "Mark Roseman." msgstr "" -#: ../NEWS:42373 ../NEWS:44887 +#: ../NEWS:42416 ../NEWS:44930 msgid "" ":issue:`25173`: Associate tkinter messageboxes with a specific widget. For " "Mac OSX, make them a 'sheet'. Patch by Mark Roseman." msgstr "" -#: ../NEWS:42376 ../NEWS:44890 +#: ../NEWS:42419 ../NEWS:44933 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 " @@ -68606,43 +68675,43 @@ msgid "" "menu is used, put the section header at the top of the screen." msgstr "" -#: ../NEWS:42383 ../NEWS:44897 +#: ../NEWS:42426 ../NEWS:44940 msgid ":issue:`25225`: Condense and rewrite Idle doc section on text colors." msgstr "" -#: ../NEWS:42385 ../NEWS:44899 +#: ../NEWS:42428 ../NEWS:44942 msgid "" ":issue:`21995`: Explain some differences between IDLE and console Python." msgstr "" -#: ../NEWS:42387 ../NEWS:44901 +#: ../NEWS:42430 ../NEWS:44944 msgid "" ":issue:`22820`: Explain need for *print* when running file from Idle editor." msgstr "" -#: ../NEWS:42389 ../NEWS:44903 +#: ../NEWS:42432 ../NEWS:44946 msgid "" ":issue:`25224`: Doc: augment Idle feature list and no-subprocess section." msgstr "" -#: ../NEWS:42391 ../NEWS:44905 +#: ../NEWS:42434 ../NEWS:44948 msgid "" ":issue:`25219`: Update doc for Idle command line options. Some were missing " "and notes were not correct." msgstr "" -#: ../NEWS:42394 ../NEWS:44908 +#: ../NEWS:42437 ../NEWS:44951 msgid "" ":issue:`24861`: Most of idlelib is private and subject to change. Use idleib." "idle.* to start Idle. See idlelib.__init__.__doc__." msgstr "" -#: ../NEWS:42397 ../NEWS:44911 +#: ../NEWS:42440 ../NEWS:44954 msgid "" ":issue:`25199`: Idle: add synchronization comments for future maintainers." msgstr "" -#: ../NEWS:42399 +#: ../NEWS:42442 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 " @@ -68652,148 +68721,148 @@ msgid "" "deprecated." msgstr "" -#: ../NEWS:42406 ../NEWS:44920 +#: ../NEWS:42449 ../NEWS:44963 msgid "" ":issue:`24199`: Deprecate unused idlelib.idlever with possible removal in " "3.6." msgstr "" -#: ../NEWS:42408 ../NEWS:44922 +#: ../NEWS:42451 ../NEWS:44965 msgid "" ":issue:`24790`: Remove extraneous code (which also create 2 & 3 conflicts)." msgstr "" -#: ../NEWS:42413 ../NEWS:44371 +#: ../NEWS:42456 ../NEWS:44414 msgid "" ":issue:`26736`: Used HTTPS for external links in the documentation if " "possible." msgstr "" -#: ../NEWS:42415 ../NEWS:44373 +#: ../NEWS:42458 ../NEWS:44416 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 "" -#: ../NEWS:42419 ../NEWS:44377 +#: ../NEWS:42462 ../NEWS:44420 msgid "" ":issue:`23606`: Adds note to ctypes documentation regarding cdll.msvcrt." msgstr "" -#: ../NEWS:42421 ../NEWS:44937 +#: ../NEWS:42464 ../NEWS:44980 msgid "" ":issue:`24952`: Clarify the default size argument of stack_size() in the " "\"threading\" and \"_thread\" modules. Patch from Mattip." msgstr "" -#: ../NEWS:42424 ../NEWS:44382 +#: ../NEWS:42467 ../NEWS:44425 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 "" -#: ../NEWS:42431 ../NEWS:44389 +#: ../NEWS:42474 ../NEWS:44432 msgid "" ":issue:`21916`: Added tests for the turtle module. Patch by ingrid, Gregory " "Loyse and Jelle Zijlstra." msgstr "" -#: ../NEWS:42434 +#: ../NEWS:42477 msgid "" ":issue:`26295`: When using \"python3 -m test --testdir=TESTDIR\", regrtest " "doesn't add \"test.\" prefix to test module names." msgstr "" -#: ../NEWS:42437 ../NEWS:44392 +#: ../NEWS:42480 ../NEWS:44435 msgid "" ":issue:`26523`: The multiprocessing thread pool (multiprocessing.dummy.Pool) " "was untested." msgstr "" -#: ../NEWS:42440 ../NEWS:44395 +#: ../NEWS:42483 ../NEWS:44438 msgid "" ":issue:`26015`: Added new tests for pickling iterators of mutable sequences." msgstr "" -#: ../NEWS:42442 ../NEWS:44397 +#: ../NEWS:42485 ../NEWS:44440 msgid "" ":issue:`26325`: Added test.support.check_no_resource_warning() to check that " "no ResourceWarning is emitted." msgstr "" -#: ../NEWS:42445 +#: ../NEWS:42488 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 "" -#: ../NEWS:42448 ../NEWS:44403 +#: ../NEWS:42491 ../NEWS:44446 msgid "" ":issue:`25616`: Tests for OrderedDict are extracted from test_collections " "into separate file test_ordered_dict." msgstr "" -#: ../NEWS:42451 ../NEWS:44951 +#: ../NEWS:42494 ../NEWS:44994 msgid ":issue:`25449`: Added tests for OrderedDict subclasses." msgstr "" -#: ../NEWS:42453 +#: ../NEWS:42496 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 "" -#: ../NEWS:42457 +#: ../NEWS:42500 msgid "" ":issue:`22806`: Add ``python -m test --list-tests`` command to list tests." msgstr "" -#: ../NEWS:42459 +#: ../NEWS:42502 msgid "" ":issue:`18174`: ``python -m test --huntrleaks ...`` now also checks for leak " "of file descriptors. Patch written by Richard Oudkerk." msgstr "" -#: ../NEWS:42462 +#: ../NEWS:42505 msgid "" ":issue:`25260`: Fix ``python -m test --coverage`` on Windows. Remove the " "list of ignored directories." msgstr "" -#: ../NEWS:42465 ../NEWS:44958 +#: ../NEWS:42508 ../NEWS:45001 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 "" -#: ../NEWS:42468 ../NEWS:44406 +#: ../NEWS:42511 ../NEWS:44449 msgid "" ":issue:`26583`: Skip test_timestamp_overflow in test_import if bytecode " "files cannot be written." msgstr "" -#: ../NEWS:42474 +#: ../NEWS:42517 msgid "" ":issue:`21277`: Don't try to link _ctypes with a ffi_convenience library." msgstr "" -#: ../NEWS:42476 ../NEWS:44412 +#: ../NEWS:42519 ../NEWS:44455 msgid "" ":issue:`26884`: Fix linking extension modules for cross builds. Patch by " "Xavier de Gaye." msgstr "" -#: ../NEWS:42479 +#: ../NEWS:42522 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 "" -#: ../NEWS:42482 ../NEWS:44415 +#: ../NEWS:42525 ../NEWS:44458 msgid "" ":issue:`22359`: Disable the rules for running _freeze_importlib and pgen " "when cross-compiling. The output of these programs is normally saved with " @@ -68801,13 +68870,13 @@ msgid "" "Patch by Xavier de Gaye." msgstr "" -#: ../NEWS:42487 +#: ../NEWS:42530 msgid "" ":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " "except on Mac OS X. Patch written by Chi Hsuan Yen." msgstr "" -#: ../NEWS:42490 ../NEWS:44426 +#: ../NEWS:42533 ../NEWS:44469 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 " @@ -68816,111 +68885,111 @@ msgid "" "a few % speed up over profile-opt alone." msgstr "" -#: ../NEWS:42496 ../NEWS:44432 +#: ../NEWS:42539 ../NEWS:44475 msgid "" ":issue:`26624`: Adds validation of ucrtbase[d].dll version with warning for " "old versions." msgstr "" -#: ../NEWS:42499 ../NEWS:44435 +#: ../NEWS:42542 ../NEWS:44478 msgid "" ":issue:`17603`: Avoid error about nonexistent fileblocks.o file by using a " "lower-level check for st_blocks in struct stat." msgstr "" -#: ../NEWS:42502 ../NEWS:44438 +#: ../NEWS:42545 ../NEWS:44481 msgid "" ":issue:`26079`: Fixing the build output folder for tix-8.4.3.6. Patch by " "Bjoern Thiel." msgstr "" -#: ../NEWS:42505 ../NEWS:44441 +#: ../NEWS:42548 ../NEWS:44484 msgid ":issue:`26465`: Update Windows builds to use OpenSSL 1.0.2g." msgstr "" -#: ../NEWS:42507 +#: ../NEWS:42550 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 "" -#: ../NEWS:42511 ../NEWS:44452 +#: ../NEWS:42554 ../NEWS:44495 msgid "" ":issue:`25827`: Add support for building with ICC to ``configure``, " "including a new ``--with-icc`` flag." msgstr "" -#: ../NEWS:42514 ../NEWS:44455 +#: ../NEWS:42557 ../NEWS:44498 msgid ":issue:`25696`: Fix installation of Python on UNIX with make -j9." msgstr "" -#: ../NEWS:42516 ../NEWS:44969 +#: ../NEWS:42559 ../NEWS:45012 msgid "" ":issue:`24986`: It is now possible to build Python on Windows without errors " "when external libraries are not available." msgstr "" -#: ../NEWS:42519 ../NEWS:44443 +#: ../NEWS:42562 ../NEWS:44486 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 "" -#: ../NEWS:42523 +#: ../NEWS:42566 msgid "" ":issue:`26465`: Update OS X 10.5+ 32-bit-only installer to build and link " "with OpenSSL 1.0.2g." msgstr "" -#: ../NEWS:42526 ../NEWS:44460 +#: ../NEWS:42569 ../NEWS:44503 msgid ":issue:`26268`: Update Windows builds to use OpenSSL 1.0.2f." msgstr "" -#: ../NEWS:42528 ../NEWS:44462 +#: ../NEWS:42571 ../NEWS:44505 msgid ":issue:`25136`: Support Apple Xcode 7's new textual SDK stub libraries." msgstr "" -#: ../NEWS:42530 ../NEWS:44464 +#: ../NEWS:42573 ../NEWS:44507 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 "" -#: ../NEWS:42537 ../NEWS:44471 +#: ../NEWS:42580 ../NEWS:44514 msgid "" ":issue:`27053`: Updates make_zip.py to correctly generate library ZIP file." msgstr "" -#: ../NEWS:42539 ../NEWS:44473 +#: ../NEWS:42582 ../NEWS:44516 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 "" -#: ../NEWS:42543 ../NEWS:44477 +#: ../NEWS:42586 ../NEWS:44520 msgid "" ":issue:`26071`: bdist_wininst created binaries fail to start and find 32bit " "Python" msgstr "" -#: ../NEWS:42546 ../NEWS:44480 +#: ../NEWS:42589 ../NEWS:44523 msgid ":issue:`26073`: Update the list of magic numbers in launcher" msgstr "" -#: ../NEWS:42548 ../NEWS:44482 +#: ../NEWS:42591 ../NEWS:44525 msgid "" ":issue:`26065`: Excludes venv from library when generating embeddable distro." msgstr "" -#: ../NEWS:42550 ../NEWS:45008 +#: ../NEWS:42593 ../NEWS:45051 msgid ":issue:`25022`: Removed very outdated PC/example_nt/ directory." msgstr "" -#: ../NEWS:42555 ../NEWS:44490 +#: ../NEWS:42598 ../NEWS:44533 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-" @@ -68928,67 +68997,67 @@ msgid "" "Ilsche." msgstr "" -#: ../NEWS:42560 ../NEWS:44495 +#: ../NEWS:42603 ../NEWS:44538 msgid "" ":issue:`26271`: Fix the Freeze tool to properly use flags passed through " "configure. Patch by Daniel Shaulov." msgstr "" -#: ../NEWS:42563 ../NEWS:44498 +#: ../NEWS:42606 ../NEWS:44541 msgid "" ":issue:`26489`: Add dictionary unpacking support to Tools/parser/unparse.py. " "Patch by Guo Ci Teo." msgstr "" -#: ../NEWS:42566 ../NEWS:44501 +#: ../NEWS:42609 ../NEWS:44544 msgid ":issue:`26316`: Fix variable name typo in Argument Clinic." msgstr "" -#: ../NEWS:42568 ../NEWS:45013 +#: ../NEWS:42611 ../NEWS:45056 msgid ":issue:`25440`: Fix output of python-config --extension-suffix." msgstr "" -#: ../NEWS:42570 +#: ../NEWS:42613 msgid "" ":issue:`25154`: The pyvenv script has been deprecated in favour of ``python3 " "-m venv``." msgstr "" -#: ../NEWS:42576 +#: ../NEWS:42619 msgid "" ":issue:`26312`: SystemError is now raised in all programming bugs with using " "PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some " "programming bugs." msgstr "" -#: ../NEWS:42580 +#: ../NEWS:42623 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 "" -#: ../NEWS:42587 +#: ../NEWS:42630 msgid "Python 3.5.5 final" msgstr "" -#: ../NEWS:42589 +#: ../NEWS:42632 msgid "*Release date: 2018-02-04*" msgstr "" -#: ../NEWS:42591 +#: ../NEWS:42634 msgid "There were no new changes in version 3.5.5." msgstr "" -#: ../NEWS:42596 +#: ../NEWS:42639 msgid "Python 3.5.5 release candidate 1" msgstr "" -#: ../NEWS:42598 +#: ../NEWS:42641 msgid "*Release date: 2018-01-23*" msgstr "" -#: ../NEWS:42603 +#: ../NEWS:42646 msgid "" ":issue:`32551`: The ``sys.path[0]`` initialization change for :issue:`29139` " "caused a regression by revealing an inconsistency in how sys.path is " @@ -69004,30 +69073,30 @@ msgid "" "would also be affected)" msgstr "" -#: ../NEWS:42616 +#: ../NEWS:42659 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 "" -#: ../NEWS:42643 +#: ../NEWS:42686 msgid "Python 3.5.4 final" msgstr "" -#: ../NEWS:42645 +#: ../NEWS:42688 msgid "*Release date: 2017-08-07*" msgstr "" -#: ../NEWS:42655 +#: ../NEWS:42698 msgid "Python 3.5.4 release candidate 1" msgstr "" -#: ../NEWS:42657 +#: ../NEWS:42700 msgid "*Release date: 2017-07-23*" msgstr "" -#: ../NEWS:42709 +#: ../NEWS:42752 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 " @@ -69036,13 +69105,13 @@ msgid "" "Viktorin, Serhiy Storchaka, and Nick Coghlan." msgstr "" -#: ../NEWS:42991 +#: ../NEWS:43034 msgid "" ":issue:`30822`: Fix regrtest command line parser to allow passing -u " "extralargefile to run test_zipfile64." msgstr "" -#: ../NEWS:42994 +#: ../NEWS:43037 msgid "" ":issue:`30383`: regrtest: Enhance regrtest and backport features from the " "master branch. Add options: --coverage, --testdir, --list-tests (list test " @@ -69056,100 +69125,100 @@ msgid "" "checking for reference leaks. (:issue:`30675`)." msgstr "" -#: ../NEWS:43051 +#: ../NEWS:43094 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 "" -#: ../NEWS:43063 +#: ../NEWS:43106 msgid "Python 3.5.3 final" msgstr "" -#: ../NEWS:43065 +#: ../NEWS:43108 msgid "*Release date: 2017-01-17*" msgstr "" -#: ../NEWS:43067 +#: ../NEWS:43110 msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." msgstr "" -#: ../NEWS:43072 +#: ../NEWS:43115 msgid "Python 3.5.3 release candidate 1" msgstr "" -#: ../NEWS:43074 +#: ../NEWS:43117 msgid "*Release date: 2017-01-02*" msgstr "" -#: ../NEWS:43088 +#: ../NEWS:43131 msgid "" ":issue:`29073`: bytearray formatting no longer truncates on first null byte." msgstr "" -#: ../NEWS:43092 +#: ../NEWS:43135 msgid "" ":issue:`28147`: Fix a memory leak in split-table dictionaries: setattr() " "must not convert combined table into split table." msgstr "" -#: ../NEWS:43104 +#: ../NEWS:43147 msgid "" ":issue:`28991`: functools.lru_cache() was susceptible to an obscure " "reentrancy bug caused by a monkey-patched len() function." msgstr "" -#: ../NEWS:43147 +#: ../NEWS:43190 msgid "" ":issue:`28203`: Fix incorrect type in error message from ``complex(1.0, " "{2:3})``. Patch by Soumya Sharma." msgstr "" -#: ../NEWS:43162 +#: ../NEWS:43205 msgid "" ":issue:`28189`: dictitems_contains no longer swallows compare errors. (Patch " "by Xiang Zhang)" msgstr "" -#: ../NEWS:43174 +#: ../NEWS:43217 msgid "" ":issue:`26020`: set literal evaluation order did not match documented " "behaviour." msgstr "" -#: ../NEWS:43193 +#: ../NEWS:43236 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 "" -#: ../NEWS:43245 +#: ../NEWS:43288 msgid "" ":issue:`20191`: Fixed a crash in resource.prlimit() when pass a sequence " "that doesn't own its elements as limits." msgstr "" -#: ../NEWS:43296 +#: ../NEWS:43339 msgid "" ":issue:`28488`: shutil.make_archive() no longer add entry \"./\" to ZIP " "archive." msgstr "" -#: ../NEWS:43334 +#: ../NEWS:43377 msgid "" ":issue:`27611`: Fixed support of default root window in the tkinter.tix " "module." msgstr "" -#: ../NEWS:43360 +#: ../NEWS:43403 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 "" -#: ../NEWS:43432 +#: ../NEWS:43475 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). " @@ -69157,65 +69226,65 @@ msgid "" "ForwardRef._eval_type (upstream #252)." msgstr "" -#: ../NEWS:43448 +#: ../NEWS:43491 msgid "" ":issue:`26750`: unittest.mock.create_autospec() now works properly for " "subclasses of property() and other data descriptors." msgstr "" -#: ../NEWS:43492 +#: ../NEWS:43535 msgid ":issue:`26664`: Fix activate.fish by removing mis-use of ``$``." msgstr "" -#: ../NEWS:43494 +#: ../NEWS:43537 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 "" -#: ../NEWS:43498 +#: ../NEWS:43541 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 "" -#: ../NEWS:43580 +#: ../NEWS:43623 msgid ":issue:`28600`: Optimize loop.call_soon()." msgstr "" -#: ../NEWS:43594 +#: ../NEWS:43637 msgid "" ":issue:`24142`: Reading a corrupt config file left the parser in an invalid " "state. Original patch by Florian Höch." msgstr "" -#: ../NEWS:43597 +#: ../NEWS:43640 msgid "" ":issue:`28990`: Fix SSL hanging if connection is closed before handshake " "completed. (Patch by HoHo-Ho)" msgstr "" -#: ../NEWS:43633 +#: ../NEWS:43676 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 "" -#: ../NEWS:43645 +#: ../NEWS:43688 msgid "" ":issue:`28950`: Disallow -j0 to be combined with -T/-l/-M in regrtest " "command line arguments." msgstr "" -#: ../NEWS:43686 +#: ../NEWS:43729 msgid "" ":issue:`27309`: Enabled proper Windows styles in python[w].exe manifest." msgstr "" -#: ../NEWS:43719 +#: ../NEWS:43762 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 " @@ -69223,11 +69292,11 @@ msgid "" "llvm-profdata tool on MacOS and some Linuxes." msgstr "" -#: ../NEWS:43726 +#: ../NEWS:43769 msgid ":issue:`26359`: Add the --with-optimizations configure flag." msgstr "" -#: ../NEWS:43731 +#: ../NEWS:43774 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 " @@ -69235,47 +69304,47 @@ msgid "" "that were made in 3.5.0a1." msgstr "" -#: ../NEWS:43754 +#: ../NEWS:43797 msgid "Python 3.5.2 final" msgstr "" -#: ../NEWS:43756 +#: ../NEWS:43799 msgid "*Release date: 2016-06-26*" msgstr "" -#: ../NEWS:43766 +#: ../NEWS:43809 msgid "" ":issue:`26867`: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix " "test." msgstr "" -#: ../NEWS:43771 +#: ../NEWS:43814 msgid "" ":issue:`27365`: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2." msgstr "" -#: ../NEWS:43775 +#: ../NEWS:43818 msgid "Python 3.5.2 release candidate 1" msgstr "Python 3.5.2 リリース候補 1" -#: ../NEWS:43777 +#: ../NEWS:43820 msgid "*Release date: 2016-06-12*" msgstr "" -#: ../NEWS:43815 +#: ../NEWS:43858 msgid "" ":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Patch " "by Joe Jevnik." msgstr "" -#: ../NEWS:43870 +#: ../NEWS:43913 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 "" -#: ../NEWS:43874 +#: ../NEWS:43917 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`` " @@ -69284,67 +69353,67 @@ msgid "" "are equal." msgstr "" -#: ../NEWS:44093 +#: ../NEWS:44136 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 "" -#: ../NEWS:44126 +#: ../NEWS:44169 msgid "" ":issue:`15068`: Got rid of excessive buffering in the fileinput module. The " "bufsize parameter is no longer used." msgstr "" -#: ../NEWS:44155 +#: ../NEWS:44198 msgid "" ":issue:`26367`: importlib.__import__() raises SystemError like builtins." "__import__() when ``level`` is specified but without an accompanying package " "specified." msgstr "" -#: ../NEWS:44205 +#: ../NEWS:44248 msgid ":issue:`17633`: Improve zipimport's support for namespace packages." msgstr "" -#: ../NEWS:44304 +#: ../NEWS:44347 msgid "" ":issue:`27223`: asyncio: Fix _read_ready and _write_ready to respect " "_conn_lost. Patch by Łukasz Langa." msgstr "" -#: ../NEWS:44307 +#: ../NEWS:44350 msgid "" ":issue:`22970`: asyncio: Fix inconsistency cancelling Condition.wait. Patch " "by David Coles." msgstr "" -#: ../NEWS:44343 +#: ../NEWS:44386 msgid "" ":issue:`21703`: Add test for IDLE's undo delegator. Original patch by " "Saimadhav Heblikar ." msgstr "" -#: ../NEWS:44379 +#: ../NEWS:44422 msgid "" ":issue:`25500`: Fix documentation to not claim that __import__ is searched " "for in the global scope." msgstr "" -#: ../NEWS:44400 +#: ../NEWS:44443 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 "" -#: ../NEWS:44423 +#: ../NEWS:44466 msgid "" ":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " "except on Mac OS X. Patch written by Xavier de Gaye." msgstr "" -#: ../NEWS:44447 +#: ../NEWS:44490 msgid "" ":issue:`25348`: Added ``--pgo`` and ``--pgo-job`` arguments to " "``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The " @@ -69352,41 +69421,41 @@ msgid "" "``PCbuild\\build.bat --pgo %*``." msgstr "" -#: ../NEWS:44505 +#: ../NEWS:44548 msgid "Python 3.5.1 final" msgstr "Python 3.5.1 最終版" -#: ../NEWS:44507 +#: ../NEWS:44550 msgid "*Release date: 2015-12-06*" msgstr "" -#: ../NEWS:44518 +#: ../NEWS:44561 msgid "" ":issue:`25715`: Python 3.5.1 installer shows wrong upgrade path and " "incorrect logic for launcher detection." msgstr "" -#: ../NEWS:44523 +#: ../NEWS:44566 msgid "Python 3.5.1 release candidate 1" msgstr "" -#: ../NEWS:44525 +#: ../NEWS:44568 msgid "*Release date: 2015-11-22*" msgstr "" -#: ../NEWS:44584 +#: ../NEWS:44627 msgid "" ":issue:`25182`: The stdprinter (used as sys.stderr before the io module is " "imported at startup) now uses the backslashreplace error handler." msgstr "" -#: ../NEWS:44587 +#: ../NEWS:44630 msgid "" ":issue:`25131`: Make the line number and column offset of set/dict literals " "and comprehensions correspond to the opening brace." msgstr "" -#: ../NEWS:44590 +#: ../NEWS:44633 msgid "" ":issue:`25150`: Hide the private :samp:`_Py_atomic_{xxx}` symbols from the " "public Python.h header to fix a compilation error with OpenMP. " @@ -69394,89 +69463,89 @@ msgid "" "incompatibilities." msgstr "" -#: ../NEWS:44614 +#: ../NEWS:44657 msgid "" ":issue:`25590`: In the Readline completer, only call getattr() once per " "attribute." msgstr "" -#: ../NEWS:44692 +#: ../NEWS:44735 msgid "" ":issue:`24483`: C implementation of functools.lru_cache() now calculates " "key's hash only once." msgstr "" -#: ../NEWS:44695 +#: ../NEWS:44738 msgid "" ":issue:`22958`: Constructor and update method of weakref.WeakValueDictionary " "now accept the self and the dict keyword arguments." msgstr "" -#: ../NEWS:44698 +#: ../NEWS:44741 msgid "" ":issue:`22609`: Constructor of collections.UserDict now accepts the self " "keyword argument." msgstr "" -#: ../NEWS:44701 +#: ../NEWS:44744 msgid ":issue:`25111`: Fixed comparison of traceback.FrameSummary." msgstr "" -#: ../NEWS:44703 +#: ../NEWS:44746 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 "" -#: ../NEWS:44708 +#: ../NEWS:44751 msgid "" ":issue:`25034`: Fix string.Formatter problem with auto-numbering and nested " "format_specs. Patch by Anthon van der Neut." msgstr "" -#: ../NEWS:44711 +#: ../NEWS:44754 msgid "" ":issue:`25233`: Rewrite the guts of asyncio.Queue and asyncio.Semaphore to " "be more understandable and correct." msgstr "" -#: ../NEWS:44720 +#: ../NEWS:44763 msgid "" ":issue:`23329`: Allow the ssl module to be built with older versions of " "LibreSSL." msgstr "" -#: ../NEWS:44723 +#: ../NEWS:44766 msgid "Prevent overflow in _Unpickler_Read." msgstr "" -#: ../NEWS:44725 +#: ../NEWS:44768 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 "" -#: ../NEWS:44729 +#: ../NEWS:44772 msgid "" ":issue:`25135`: Make deque_clear() safer by emptying the deque before " "clearing. This helps avoid possible reentrancy issues." msgstr "" -#: ../NEWS:44732 +#: ../NEWS:44775 msgid "" ":issue:`19143`: platform module now reads Windows version from kernel32.dll " "to avoid compatibility shims." msgstr "" -#: ../NEWS:44735 +#: ../NEWS:44778 msgid "" ":issue:`25092`: Fix datetime.strftime() failure when errno was already set " "to EINVAL." msgstr "" -#: ../NEWS:44738 +#: ../NEWS:44781 msgid "" ":issue:`23517`: Fix rounding in fromtimestamp() and utcfromtimestamp() " "methods of datetime.datetime: microseconds are now rounded to nearest with " @@ -69488,25 +69557,25 @@ msgid "" "example." msgstr "" -#: ../NEWS:44747 +#: ../NEWS:44790 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 "" -#: ../NEWS:44751 +#: ../NEWS:44794 msgid "" ":issue:`25108`: Omitted internal frames in traceback functions " "print_stack(), format_stack(), and extract_stack() called without arguments." msgstr "" -#: ../NEWS:44754 +#: ../NEWS:44797 msgid "" ":issue:`25118`: Fix a regression of Python 3.5.0 in os.waitpid() on Windows." msgstr "" -#: ../NEWS:44756 +#: ../NEWS:44799 msgid "" ":issue:`24684`: socket.socket.getaddrinfo() now calls " "PyUnicode_AsEncodedString() instead of calling the encode() method of the " @@ -69515,41 +69584,41 @@ msgid "" "directly instead of calling the encode() method of the string." msgstr "" -#: ../NEWS:44762 +#: ../NEWS:44805 msgid ":issue:`25060`: Correctly compute stack usage of the BUILD_MAP opcode." msgstr "" -#: ../NEWS:44764 +#: ../NEWS:44807 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 "" -#: ../NEWS:44767 +#: ../NEWS:44810 msgid "" ":issue:`23144`: Make sure that HTMLParser.feed() returns all the data, even " "when convert_charrefs is True." msgstr "" -#: ../NEWS:44770 +#: ../NEWS:44813 msgid "" ":issue:`24982`: shutil.make_archive() with the \"zip\" format now adds " "entries for directories (including empty directories) in ZIP file." msgstr "" -#: ../NEWS:44773 +#: ../NEWS:44816 msgid "" ":issue:`25019`: Fixed a crash caused by setting non-string key of expat " "parser. Based on patch by John Leitch." msgstr "" -#: ../NEWS:44776 +#: ../NEWS:44819 msgid "" ":issue:`16180`: Exit pdb if file has syntax error, instead of trapping user " "in an infinite loop. Patch by Xavier de Gaye." msgstr "" -#: ../NEWS:44779 +#: ../NEWS:44822 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 " @@ -69558,66 +69627,66 @@ msgid "" "OSError exception. Initial patch written by Marco Paolini." msgstr "" -#: ../NEWS:44785 +#: ../NEWS:44828 msgid "" ":issue:`24992`: Fix error handling and a race condition (related to garbage " "collection) in collections.OrderedDict constructor." msgstr "" -#: ../NEWS:44788 +#: ../NEWS:44831 msgid "" ":issue:`24881`: Fixed setting binary mode in Python implementation of FileIO " "on Windows and Cygwin. Patch from Akira Li." msgstr "" -#: ../NEWS:44804 +#: ../NEWS:44847 msgid "" ":issue:`21112`: Fix regression in unittest.expectedFailure on subclasses. " "Patch from Berker Peksag." msgstr "" -#: ../NEWS:44807 +#: ../NEWS:44850 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 "" -#: ../NEWS:44811 ../NEWS:45076 +#: ../NEWS:44854 ../NEWS:45119 msgid "" ":issue:`24913`: Fix overrun error in deque.index(). Found by John Leitch and " "Bryce Darling." msgstr "" -#: ../NEWS:44814 +#: ../NEWS:44857 msgid "" ":issue:`24774`: Fix docstring in http.server.test. Patch from Chiu-Hsiang " "Hsu." msgstr "" -#: ../NEWS:44816 +#: ../NEWS:44859 msgid "" ":issue:`21159`: Improve message in configparser." "InterpolationMissingOptionError. Patch from Łukasz Langa." msgstr "" -#: ../NEWS:44819 +#: ../NEWS:44862 msgid "" ":issue:`20362`: Honour TestCase.longMessage correctly in assertRegex. Patch " "from Ilia Kurenkov." msgstr "" -#: ../NEWS:44822 +#: ../NEWS:44865 msgid "" ":issue:`23572`: Fixed functools.singledispatch on classes with false " "metaclasses. Patch by Ethan Furman." msgstr "" -#: ../NEWS:44825 +#: ../NEWS:44868 msgid "asyncio: ensure_future() now accepts awaitable objects." msgstr "" -#: ../NEWS:44913 +#: ../NEWS:44956 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 " @@ -69627,7 +69696,7 @@ msgid "" "deprecated." msgstr "" -#: ../NEWS:44930 +#: ../NEWS:44973 msgid "" ":issue:`12067`: Rewrite Comparisons section in the Expressions chapter of " "the language reference. Some of the details of comparing mixed types were " @@ -69637,172 +69706,172 @@ msgid "" "Patch from Andy Maier." msgstr "" -#: ../NEWS:44940 +#: ../NEWS:44983 msgid "" ":issue:`23725`: Overhaul tempfile docs. Note deprecated status of mktemp. " "Patch from Zbigniew Jędrzejewski-Szmek." msgstr "" -#: ../NEWS:44943 +#: ../NEWS:44986 msgid "" ":issue:`24808`: Update the types of some PyTypeObject fields. Patch by " "Joseph Weston." msgstr "" -#: ../NEWS:44946 +#: ../NEWS:44989 msgid "" ":issue:`22812`: Fix unittest discovery examples. Patch from Pam McA'Nulty." msgstr "" -#: ../NEWS:44953 +#: ../NEWS:44996 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 "" -#: ../NEWS:44956 +#: ../NEWS:44999 msgid ":issue:`23919`: Prevents assert dialogs appearing in the test suite." msgstr "" -#: ../NEWS:44964 +#: ../NEWS:45007 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 "" -#: ../NEWS:44967 +#: ../NEWS:45010 msgid ":issue:`24910`: Windows MSIs now have unique display names." msgstr "" -#: ../NEWS:44975 +#: ../NEWS:45018 msgid "" ":issue:`25450`: Updates shortcuts to start Python in installation directory." msgstr "" -#: ../NEWS:44977 +#: ../NEWS:45020 msgid "" ":issue:`25164`: Changes default all-users install directory to match per-" "user directory." msgstr "" -#: ../NEWS:44980 +#: ../NEWS:45023 msgid "" ":issue:`25143`: Improves installer error messages for unsupported platforms." msgstr "" -#: ../NEWS:44982 +#: ../NEWS:45025 msgid "" ":issue:`25163`: Display correct directory in installer when using non-" "default settings." msgstr "" -#: ../NEWS:44985 +#: ../NEWS:45028 msgid "" ":issue:`25361`: Disables use of SSE2 instructions in Windows 32-bit build" msgstr "" -#: ../NEWS:44987 +#: ../NEWS:45030 msgid "" ":issue:`25089`: Adds logging to installer for case where launcher is not " "selected on upgrade." msgstr "" -#: ../NEWS:44990 +#: ../NEWS:45033 msgid "" ":issue:`25165`: Windows uninstallation should not remove launcher if other " "versions remain" msgstr "" -#: ../NEWS:44993 +#: ../NEWS:45036 msgid ":issue:`25112`: py.exe launcher is missing icons" msgstr "" -#: ../NEWS:44995 +#: ../NEWS:45038 msgid ":issue:`25102`: Windows installer does not precompile for -O or -OO." msgstr "" -#: ../NEWS:44997 +#: ../NEWS:45040 msgid "" ":issue:`25081`: Makes Back button in installer go back to upgrade page when " "upgrading." msgstr "" -#: ../NEWS:45000 +#: ../NEWS:45043 msgid ":issue:`25091`: Increases font size of the installer." msgstr "" -#: ../NEWS:45002 +#: ../NEWS:45045 msgid "" ":issue:`25126`: Clarifies that the non-web installer will download some " "components." msgstr "" -#: ../NEWS:45005 +#: ../NEWS:45048 msgid "" ":issue:`25213`: Restores requestedExecutionLevel to manifest to disable UAC " "virtualization." msgstr "" -#: ../NEWS:45017 +#: ../NEWS:45060 msgid "Python 3.5.0 final" msgstr "" -#: ../NEWS:45019 +#: ../NEWS:45062 msgid "*Release date: 2015-09-13*" msgstr "" -#: ../NEWS:45024 +#: ../NEWS:45067 msgid "" ":issue:`25071`: Windows installer should not require TargetDir parameter " "when installing quietly." msgstr "" -#: ../NEWS:45029 +#: ../NEWS:45072 msgid "Python 3.5.0 release candidate 4" msgstr "" -#: ../NEWS:45031 +#: ../NEWS:45074 msgid "*Release date: 2015-09-09*" msgstr "" -#: ../NEWS:45036 +#: ../NEWS:45079 msgid ":issue:`25029`: Fixes MemoryError in test_strptime." msgstr "" -#: ../NEWS:45041 +#: ../NEWS:45084 msgid "" ":issue:`25027`: Reverts partial-static build options and adds vcruntime140." "dll to Windows installation." msgstr "" -#: ../NEWS:45046 +#: ../NEWS:45089 msgid "Python 3.5.0 release candidate 3" msgstr "" -#: ../NEWS:45048 +#: ../NEWS:45091 msgid "*Release date: 2015-09-07*" msgstr "" -#: ../NEWS:45053 +#: ../NEWS:45096 msgid "" ":issue:`24305`: Prevent import subsystem stack frames from being counted by " "the warnings.warn(stacklevel=) parameter." msgstr "" -#: ../NEWS:45056 +#: ../NEWS:45099 msgid "" ":issue:`24912`: Prevent __class__ assignment to immutable built-in objects." msgstr "" -#: ../NEWS:45058 +#: ../NEWS:45101 msgid ":issue:`24975`: Fix AST compilation for :pep:`448` syntax." msgstr "" -#: ../NEWS:45063 +#: ../NEWS:45106 msgid ":issue:`24917`: time_strftime() buffer over-read." msgstr "" -#: ../NEWS:45065 +#: ../NEWS:45108 msgid "" ":issue:`24748`: To resolve a compatibility problem found with py2exe and " "pywin32, imp.load_dynamic() once again ignores previously loaded modules to " @@ -69810,157 +69879,157 @@ msgid "" "Petr Viktorin." msgstr "" -#: ../NEWS:45070 +#: ../NEWS:45113 msgid "" ":issue:`24635`: Fixed a bug in typing.py where isinstance([], typing." "Iterable) would return True once, then False on subsequent calls." msgstr "" -#: ../NEWS:45073 +#: ../NEWS:45116 msgid "" ":issue:`24989`: Fixed buffer overread in BytesIO.readline() if a position is " "set beyond size. Based on patch by John Leitch." msgstr "" -#: ../NEWS:45081 +#: ../NEWS:45124 msgid "Python 3.5.0 release candidate 2" msgstr "" -#: ../NEWS:45083 +#: ../NEWS:45126 msgid "*Release date: 2015-08-25*" msgstr "" -#: ../NEWS:45088 +#: ../NEWS:45131 msgid "" ":issue:`24769`: Interpreter now starts properly when dynamic loading is " "disabled. Patch by Petr Viktorin." msgstr "" -#: ../NEWS:45091 +#: ../NEWS:45134 msgid "" ":issue:`21167`: NAN operations are now handled correctly when python is " "compiled with ICC even if -fp-model strict is not specified." msgstr "" -#: ../NEWS:45094 +#: ../NEWS:45137 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 "" -#: ../NEWS:45101 +#: ../NEWS:45144 msgid ":issue:`24847`: Removes vcruntime140.dll dependency from Tcl/Tk." msgstr "" -#: ../NEWS:45103 +#: ../NEWS:45146 msgid ":issue:`24839`: platform._syscmd_ver raises DeprecationWarning" msgstr "" -#: ../NEWS:45105 +#: ../NEWS:45148 msgid ":issue:`24867`: Fix Task.get_stack() for 'async def' coroutines" msgstr "" -#: ../NEWS:45109 +#: ../NEWS:45152 msgid "Python 3.5.0 release candidate 1" msgstr "" -#: ../NEWS:45111 +#: ../NEWS:45154 msgid "*Release date: 2015-08-09*" msgstr "" -#: ../NEWS:45116 +#: ../NEWS:45159 msgid "" ":issue:`24667`: Resize odict in all cases that the underlying dict resizes." msgstr "" -#: ../NEWS:45121 +#: ../NEWS:45164 msgid "" ":issue:`24824`: Signatures of codecs.encode() and codecs.decode() now are " "compatible with pydoc." msgstr "" -#: ../NEWS:45124 +#: ../NEWS:45167 msgid ":issue:`24634`: Importing uuid should not try to load libc on Windows" msgstr "" -#: ../NEWS:45126 +#: ../NEWS:45169 msgid ":issue:`24798`: _msvccompiler.py doesn't properly support manifests" msgstr "" -#: ../NEWS:45128 +#: ../NEWS:45171 msgid "" ":issue:`4395`: Better testing and documentation of binary operators. Patch " "by Martin Panter." msgstr "" -#: ../NEWS:45131 +#: ../NEWS:45174 msgid ":issue:`23973`: Update typing.py from GitHub repo." msgstr "" -#: ../NEWS:45133 +#: ../NEWS:45176 msgid "" ":issue:`23004`: mock_open() now reads binary data correctly when the type of " "read_data is bytes. Initial patch by Aaron Hill." msgstr "" -#: ../NEWS:45136 +#: ../NEWS:45179 msgid ":issue:`23888`: Handle fractional time in cookie expiry. Patch by ssh." msgstr "" -#: ../NEWS:45138 +#: ../NEWS:45181 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 "" -#: ../NEWS:45142 +#: ../NEWS:45185 msgid "" ":issue:`22932`: Fix timezones in email.utils.formatdate. Patch from Dmitry " "Shachnev." msgstr "" -#: ../NEWS:45145 +#: ../NEWS:45188 msgid "" ":issue:`23779`: imaplib raises TypeError if authenticator tries to abort. " "Patch from Craig Holmquist." msgstr "" -#: ../NEWS:45148 +#: ../NEWS:45191 msgid "" ":issue:`23319`: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch " "written by Matthieu Gautier." msgstr "" -#: ../NEWS:45151 +#: ../NEWS:45194 msgid "" ":issue:`23254`: Document how to close the TCPServer listening socket. Patch " "from Martin Panter." msgstr "" -#: ../NEWS:45154 +#: ../NEWS:45197 msgid "" ":issue:`19450`: Update Windows and OS X installer builds to use SQLite " "3.8.11." msgstr "" -#: ../NEWS:45156 +#: ../NEWS:45199 msgid "" ":issue:`17527`: Add PATCH to wsgiref.validator. Patch from Luca Sbardella." msgstr "" -#: ../NEWS:45158 +#: ../NEWS:45201 msgid ":issue:`24791`: Fix grammar regression for call syntax: 'g(\\*a or b)'." msgstr "" -#: ../NEWS:45163 +#: ../NEWS:45206 msgid "" ":issue:`23672`: Allow Idle to edit and run files with astral chars in name. " "Patch by Mohd Sanad Zaki Rizvi." msgstr "" -#: ../NEWS:45166 +#: ../NEWS:45209 msgid "" ":issue:`24745`: Idle editor default font. Switch from Courier to platform-" "sensitive TkFixedFont. This should not affect current customized font " @@ -69969,17 +70038,17 @@ msgid "" "Roseman." msgstr "" -#: ../NEWS:45172 +#: ../NEWS:45215 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 "" -#: ../NEWS:45175 +#: ../NEWS:45218 msgid ":issue:`13884`: Idle menus. Remove tearoff lines. Patch by Roger Serwy." msgstr "" -#: ../NEWS:45180 +#: ../NEWS:45223 msgid "" ":issue:`24129`: Clarify the reference documentation for name resolution. " "This includes removing the assumption that readers will be familiar with the " @@ -69987,195 +70056,195 @@ msgid "" "scoping for function namespaces. Patch by Ivan Levkivskyi." msgstr "" -#: ../NEWS:45185 +#: ../NEWS:45228 msgid ":issue:`20769`: Improve reload() docs. Patch by Dorian Pula." msgstr "" -#: ../NEWS:45187 +#: ../NEWS:45230 msgid "" ":issue:`23589`: Remove duplicate sentence from the FAQ. Patch by Yongzhi " "Pan." msgstr "" -#: ../NEWS:45189 +#: ../NEWS:45232 msgid "" ":issue:`24729`: Correct IO tutorial to match implementation regarding " "encoding parameter to open function." msgstr "" -#: ../NEWS:45195 +#: ../NEWS:45238 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 "" -#: ../NEWS:45201 +#: ../NEWS:45244 msgid "Python 3.5.0 beta 4" msgstr "" -#: ../NEWS:45203 +#: ../NEWS:45246 msgid "*Release date: 2015-07-26*" msgstr "" -#: ../NEWS:45208 +#: ../NEWS:45251 msgid "" ":issue:`23573`: Restored optimization of bytes.rfind() and bytearray.rfind() " "for single-byte argument on Linux." msgstr "" -#: ../NEWS:45211 +#: ../NEWS:45254 msgid ":issue:`24569`: Make :pep:`448` dictionary evaluation more consistent." msgstr "" -#: ../NEWS:45213 +#: ../NEWS:45256 msgid ":issue:`24583`: Fix crash when set is mutated while being updated." msgstr "" -#: ../NEWS:45215 +#: ../NEWS:45258 msgid ":issue:`24407`: Fix crash when dict is mutated while being updated." msgstr "" -#: ../NEWS:45217 +#: ../NEWS:45260 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 "" -#: ../NEWS:45220 +#: ../NEWS:45263 msgid "" ":issue:`24687`: Plug refleak on SyntaxError in function parameters " "annotations." msgstr "" -#: ../NEWS:45222 +#: ../NEWS:45265 msgid "" ":issue:`15944`: memoryview: Allow arbitrary formats when casting to bytes. " "Patch by Martin Panter." msgstr "" -#: ../NEWS:45228 +#: ../NEWS:45271 msgid "" ":issue:`23441`: rcompleter now prints a tab character instead of displaying " "possible completions for an empty word. Initial patch by Martin Sekera." msgstr "" -#: ../NEWS:45231 +#: ../NEWS:45274 msgid "" ":issue:`24683`: Fixed crashes in _json functions called with arguments of " "inappropriate type." msgstr "" -#: ../NEWS:45234 +#: ../NEWS:45277 msgid "" ":issue:`21697`: shutil.copytree() now correctly handles symbolic links that " "point to directories. Patch by Eduardo Seabra and Thomas Kluyver." msgstr "" -#: ../NEWS:45237 +#: ../NEWS:45280 msgid "" ":issue:`14373`: Fixed segmentation fault when gc.collect() is called during " "constructing lru_cache (C implementation)." msgstr "" -#: ../NEWS:45240 +#: ../NEWS:45283 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 "" -#: ../NEWS:45244 +#: ../NEWS:45287 msgid "" ":issue:`24620`: Random.setstate() now validates the value of state last " "element." msgstr "" -#: ../NEWS:45247 +#: ../NEWS:45290 msgid "" ":issue:`22485`: Fixed an issue that caused ``inspect.getsource`` to return " "incorrect results on nested functions." msgstr "" -#: ../NEWS:45250 +#: ../NEWS:45293 msgid "" ":issue:`22153`: Improve unittest docs. Patch from Martin Panter and evilzero." msgstr "" -#: ../NEWS:45252 +#: ../NEWS:45295 msgid "" ":issue:`24580`: Symbolic group references to open group in re patterns now " "are explicitly forbidden as well as numeric group references." msgstr "" -#: ../NEWS:45255 +#: ../NEWS:45298 msgid ":issue:`24206`: Fixed __eq__ and __ne__ methods of inspect classes." msgstr "" -#: ../NEWS:45257 +#: ../NEWS:45300 msgid "" ":issue:`24631`: Fixed regression in the timeit module with multiline setup." msgstr "" -#: ../NEWS:45265 +#: ../NEWS:45308 msgid ":issue:`24608`: chunk.Chunk.read() now always returns bytes, not str." msgstr "" -#: ../NEWS:45267 +#: ../NEWS:45310 msgid ":issue:`18684`: Fixed reading out of the buffer in the re module." msgstr "" -#: ../NEWS:45269 +#: ../NEWS:45312 msgid "" ":issue:`24259`: tarfile now raises a ReadError if an archive is truncated " "inside a data segment." msgstr "" -#: ../NEWS:45272 +#: ../NEWS:45315 msgid "" ":issue:`15014`: SMTP.auth() and SMTP.login() now support RFC 4954's optional " "initial-response argument to the SMTP AUTH command." msgstr "" -#: ../NEWS:45275 +#: ../NEWS:45318 msgid "" ":issue:`24669`: Fix inspect.getsource() for 'async def' functions. Patch by " "Kai Groner." msgstr "" -#: ../NEWS:45278 +#: ../NEWS:45321 msgid ":issue:`24688`: ast.get_docstring() for 'async def' functions." msgstr "" -#: ../NEWS:45283 +#: ../NEWS:45326 msgid "" ":issue:`24603`: Update Windows builds and OS X 10.5 installer to use OpenSSL " "1.0.2d." msgstr "" -#: ../NEWS:45288 +#: ../NEWS:45331 msgid "Python 3.5.0 beta 3" msgstr "" -#: ../NEWS:45290 +#: ../NEWS:45333 msgid "*Release date: 2015-07-05*" msgstr "" -#: ../NEWS:45295 +#: ../NEWS:45338 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 "" -#: ../NEWS:45299 +#: ../NEWS:45342 msgid "Upgrade to Unicode 8.0.0." msgstr "" -#: ../NEWS:45301 +#: ../NEWS:45344 msgid ":issue:`24345`: Add Py_tp_finalize slot for the stable ABI." msgstr "" -#: ../NEWS:45303 +#: ../NEWS:45346 msgid "" ":issue:`24400`: Introduce a distinct type for :pep:`492` coroutines; add " "types.CoroutineType, inspect.getcoroutinestate, inspect.getcoroutinelocals; " @@ -70188,35 +70257,35 @@ msgid "" "used to detect generator-based coroutines--use inspect.isawaitable instead." msgstr "" -#: ../NEWS:45314 +#: ../NEWS:45357 msgid "" ":issue:`24450`: Add gi_yieldfrom to generators and cr_await to coroutines. " "Contributed by Benno Leslie and Yury Selivanov." msgstr "" -#: ../NEWS:45317 +#: ../NEWS:45360 msgid "" ":issue:`19235`: Add new RecursionError exception. Patch by Georg Brandl." msgstr "" -#: ../NEWS:45322 +#: ../NEWS:45365 msgid "" ":issue:`21750`: mock_open.read_data can now be read from each instance, as " "it could in Python 3.3." msgstr "" -#: ../NEWS:45325 +#: ../NEWS:45368 msgid "" ":issue:`24552`: Fix use after free in an error case of the _pickle module." msgstr "" -#: ../NEWS:45327 +#: ../NEWS:45370 msgid "" ":issue:`24514`: tarfile now tolerates number fields consisting of only " "whitespace." msgstr "" -#: ../NEWS:45330 +#: ../NEWS:45373 msgid "" ":issue:`19176`: Fixed doctype() related bugs in C implementation of " "ElementTree. A deprecation warning no longer issued by XMLParser subclass " @@ -70225,346 +70294,346 @@ msgid "" "called. Based on patch by Martin Panter." msgstr "" -#: ../NEWS:45336 +#: ../NEWS:45379 msgid "" ":issue:`20387`: Restore semantic round-trip correctness in tokenize/" "untokenize for tab-indented blocks." msgstr "" -#: ../NEWS:45339 +#: ../NEWS:45382 msgid "" ":issue:`24456`: Fixed possible buffer over-read in adpcm2lin() and " "lin2adpcm() functions of the audioop module." msgstr "" -#: ../NEWS:45342 +#: ../NEWS:45385 msgid "" ":issue:`24336`: The contextmanager decorator now works with functions with " "keyword arguments called \"func\" and \"self\". Patch by Martin Panter." msgstr "" -#: ../NEWS:45345 +#: ../NEWS:45388 msgid "" ":issue:`24522`: Fix possible integer overflow in json accelerator module." msgstr "" -#: ../NEWS:45347 +#: ../NEWS:45390 msgid "" ":issue:`24489`: ensure a previously set C errno doesn't disturb cmath." "polar()." msgstr "" -#: ../NEWS:45349 +#: ../NEWS:45392 msgid "" ":issue:`24408`: Fixed AttributeError in measure() and metrics() methods of " "tkinter.Font." msgstr "" -#: ../NEWS:45352 +#: ../NEWS:45395 msgid "" ":issue:`14373`: C implementation of functools.lru_cache() now can be used " "with methods." msgstr "" -#: ../NEWS:45355 +#: ../NEWS:45398 msgid ":issue:`24347`: Set KeyError if PyDict_GetItemWithError returns NULL." msgstr "" -#: ../NEWS:45357 +#: ../NEWS:45400 msgid ":issue:`24348`: Drop superfluous incref/decref." msgstr "" -#: ../NEWS:45359 +#: ../NEWS:45402 msgid ":issue:`24359`: Check for changed OrderedDict size during iteration." msgstr "" -#: ../NEWS:45361 +#: ../NEWS:45404 msgid ":issue:`24368`: Support keyword arguments in OrderedDict methods." msgstr "" -#: ../NEWS:45363 +#: ../NEWS:45406 msgid ":issue:`24362`: Simplify the C OrderedDict fast nodes resize logic." msgstr "" -#: ../NEWS:45365 +#: ../NEWS:45408 msgid ":issue:`24377`: Fix a ref leak in OrderedDict.__repr__." msgstr "" -#: ../NEWS:45367 +#: ../NEWS:45410 msgid ":issue:`24369`: Defend against key-changes during iteration." msgstr "" -#: ../NEWS:45372 +#: ../NEWS:45415 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 "" -#: ../NEWS:45379 +#: ../NEWS:45422 msgid "" ":issue:`24458`: Update documentation to cover multi-phase initialization for " "extension modules (PEP 489). Patch by Petr Viktorin." msgstr "" -#: ../NEWS:45382 +#: ../NEWS:45425 msgid "" ":issue:`24351`: Clarify what is meant by \"identifier\" in the context of " "string.Template instances." msgstr "" -#: ../NEWS:45388 +#: ../NEWS:45431 msgid "" ":issue:`24432`: Update Windows builds and OS X 10.5 installer to use OpenSSL " "1.0.2c." msgstr "" -#: ../NEWS:45393 +#: ../NEWS:45436 msgid "Python 3.5.0 beta 2" msgstr "" -#: ../NEWS:45395 +#: ../NEWS:45438 msgid "*Release date: 2015-05-31*" msgstr "" -#: ../NEWS:45400 +#: ../NEWS:45443 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 "" -#: ../NEWS:45404 +#: ../NEWS:45447 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 "" -#: ../NEWS:45408 +#: ../NEWS:45451 msgid ":issue:`24328`: Fix importing one character extension modules." msgstr "" -#: ../NEWS:45410 +#: ../NEWS:45453 msgid "" ":issue:`11205`: In dictionary displays, evaluate the key before the value." msgstr "" -#: ../NEWS:45412 +#: ../NEWS:45455 msgid "" ":issue:`24285`: Fixed regression that prevented importing extension modules " "from inside packages. Patch by Petr Viktorin." msgstr "" -#: ../NEWS:45418 +#: ../NEWS:45461 msgid ":issue:`23247`: Fix a crash in the StreamWriter.reset() of CJK codecs." msgstr "" -#: ../NEWS:45420 +#: ../NEWS:45463 msgid "" ":issue:`24270`: Add math.isclose() and cmath.isclose() functions as per :pep:" "`485`. Contributed by Chris Barker and Tal Einat." msgstr "" -#: ../NEWS:45423 +#: ../NEWS:45466 msgid "" ":issue:`5633`: Fixed timeit when the statement is a string and the setup is " "not." msgstr "" -#: ../NEWS:45426 +#: ../NEWS:45469 msgid "" ":issue:`24326`: Fixed audioop.ratecv() with non-default weightB argument. " "Original patch by David Moore." msgstr "" -#: ../NEWS:45429 +#: ../NEWS:45472 msgid ":issue:`16991`: Add a C implementation of OrderedDict." msgstr "" -#: ../NEWS:45431 +#: ../NEWS:45474 msgid "" ":issue:`23934`: Fix inspect.signature to fail correctly for builtin types " "lacking signature information. Initial patch by James Powell." msgstr "" -#: ../NEWS:45436 +#: ../NEWS:45479 msgid "Python 3.5.0 beta 1" msgstr "" -#: ../NEWS:45438 +#: ../NEWS:45481 msgid "*Release date: 2015-05-24*" msgstr "" -#: ../NEWS:45443 +#: ../NEWS:45486 msgid ":issue:`24276`: Fixed optimization of property descriptor getter." msgstr "" -#: ../NEWS:45445 +#: ../NEWS:45488 msgid "" ":issue:`24268`: PEP 489: Multi-phase extension module initialization. Patch " "by Petr Viktorin." msgstr "" -#: ../NEWS:45448 +#: ../NEWS:45491 msgid "" ":issue:`23955`: Add pyvenv.cfg option to suppress registry/environment " "lookup for generating sys.path on Windows." msgstr "" -#: ../NEWS:45451 +#: ../NEWS:45494 msgid "" ":issue:`24257`: Fixed system error in the comparison of faked types." "SimpleNamespace." msgstr "" -#: ../NEWS:45454 +#: ../NEWS:45497 msgid "" ":issue:`22939`: Fixed integer overflow in iterator object. Patch by Clement " "Rouault." msgstr "" -#: ../NEWS:45457 +#: ../NEWS:45500 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 "" -#: ../NEWS:45460 +#: ../NEWS:45503 msgid "" ":issue:`24102`: Fixed exception type checking in standard error handlers." msgstr "" -#: ../NEWS:45462 +#: ../NEWS:45505 msgid ":issue:`15027`: The UTF-32 encoder is now 3x to 7x faster." msgstr "" -#: ../NEWS:45464 +#: ../NEWS:45507 msgid "" ":issue:`23290`: Optimize set_merge() for cases where the target is empty. " "(Contributed by Serhiy Storchaka.)" msgstr "" -#: ../NEWS:45467 +#: ../NEWS:45510 msgid ":issue:`2292`: PEP 448: Additional Unpacking Generalizations." msgstr "" -#: ../NEWS:45469 +#: ../NEWS:45512 msgid "" ":issue:`24096`: Make warnings.warn_explicit more robust against mutation of " "the warnings.filters list." msgstr "" -#: ../NEWS:45472 +#: ../NEWS:45515 msgid "" ":issue:`23996`: Avoid a crash when a delegated generator raises an " "unnormalized StopIteration exception. Patch by Stefan Behnel." msgstr "" -#: ../NEWS:45475 +#: ../NEWS:45518 msgid ":issue:`23910`: Optimize property() getter calls. Patch by Joe Jevnik." msgstr "" -#: ../NEWS:45477 +#: ../NEWS:45520 msgid "" ":issue:`23911`: Move path-based importlib bootstrap code to a separate " "frozen module." msgstr "" -#: ../NEWS:45480 +#: ../NEWS:45523 msgid ":issue:`24192`: Fix namespace package imports." msgstr "" -#: ../NEWS:45482 +#: ../NEWS:45525 msgid "" ":issue:`24022`: Fix tokenizer crash when processing undecodable source code." msgstr "" -#: ../NEWS:45484 +#: ../NEWS:45527 msgid "" ":issue:`9951`: Added a hex() method to bytes, bytearray, and memoryview." msgstr "" -#: ../NEWS:45486 +#: ../NEWS:45529 msgid "" ":issue:`22906`: PEP 479: Change StopIteration handling inside generators." msgstr "" -#: ../NEWS:45488 +#: ../NEWS:45531 msgid ":issue:`24017`: PEP 492: Coroutines with async and await syntax." msgstr "" -#: ../NEWS:45493 +#: ../NEWS:45536 msgid "" ":issue:`14373`: Added C implementation of functools.lru_cache(). Based on " "patches by Matt Joiner and Alexey Kachayev." msgstr "" -#: ../NEWS:45496 +#: ../NEWS:45539 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 "" -#: ../NEWS:45500 +#: ../NEWS:45543 msgid "" ":issue:`22189`: collections.UserString now supports __getnewargs__(), " "__rmod__(), casefold(), format_map(), isprintable(), and maketrans(). Patch " "by Joe Jevnik." msgstr "" -#: ../NEWS:45504 +#: ../NEWS:45547 msgid "" ":issue:`24244`: Prevents termination when an invalid format string is " "encountered on Windows in strftime." msgstr "" -#: ../NEWS:45507 +#: ../NEWS:45550 msgid ":issue:`23973`: PEP 484: Add the typing module." msgstr "" -#: ../NEWS:45509 +#: ../NEWS:45552 msgid "" ":issue:`23086`: The collections.abc.Sequence() abstract base class added " "*start* and *stop* parameters to the index() mixin. Patch by Devin " "Jeanpierre." msgstr "" -#: ../NEWS:45513 +#: ../NEWS:45556 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 "" -#: ../NEWS:45517 +#: ../NEWS:45560 msgid "" ":issue:`24257`: Fixed segmentation fault in sqlite3.Row constructor with " "faked cursor type." msgstr "" -#: ../NEWS:45520 +#: ../NEWS:45563 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 "" -#: ../NEWS:45524 +#: ../NEWS:45567 msgid "" ":issue:`9858`: Add missing method stubs to _io.RawIOBase. Patch by Laura " "Rupprecht." msgstr "" -#: ../NEWS:45527 +#: ../NEWS:45570 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 "" -#: ../NEWS:45531 +#: ../NEWS:45574 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 " @@ -70572,337 +70641,337 @@ msgid "" "(not exists or is a file) on Windows." msgstr "" -#: ../NEWS:45536 +#: ../NEWS:45579 msgid "" ":issue:`23780`: Improved error message in os.path.join() with single " "argument." msgstr "" -#: ../NEWS:45538 +#: ../NEWS:45581 msgid "" ":issue:`6598`: Increased time precision and random number range in email." "utils.make_msgid() to strengthen the uniqueness of the message ID." msgstr "" -#: ../NEWS:45541 +#: ../NEWS:45584 msgid "" ":issue:`24091`: Fixed various crashes in corner cases in C implementation of " "ElementTree." msgstr "" -#: ../NEWS:45544 +#: ../NEWS:45587 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 "" -#: ../NEWS:45548 +#: ../NEWS:45591 msgid ":issue:`13866`: *quote_via* argument added to urllib.parse.urlencode." msgstr "" -#: ../NEWS:45550 +#: ../NEWS:45593 msgid "" ":issue:`20098`: New mangle_from policy option for email, default True for " "compat32, but False for all other policies." msgstr "" -#: ../NEWS:45553 +#: ../NEWS:45596 msgid "" ":issue:`24211`: The email library now supports RFC 6532: it can generate " "headers using utf-8 instead of encoded words." msgstr "" -#: ../NEWS:45556 +#: ../NEWS:45599 msgid ":issue:`16314`: Added support for the LZMA compression in distutils." msgstr "" -#: ../NEWS:45558 +#: ../NEWS:45601 msgid ":issue:`21804`: poplib now supports RFC 6856 (UTF8)." msgstr "" -#: ../NEWS:45560 +#: ../NEWS:45603 msgid ":issue:`18682`: Optimized pprint functions for builtin scalar types." msgstr "" -#: ../NEWS:45562 +#: ../NEWS:45605 msgid ":issue:`22027`: smtplib now supports RFC 6531 (SMTPUTF8)." msgstr "" -#: ../NEWS:45564 +#: ../NEWS:45607 msgid "" ":issue:`23488`: Random generator objects now consume 2x less memory on 64-" "bit." msgstr "" -#: ../NEWS:45566 +#: ../NEWS:45609 msgid "" ":issue:`1322`: platform.dist() and platform.linux_distribution() functions " "are now deprecated. Initial patch by Vajrasky Kok." msgstr "" -#: ../NEWS:45569 +#: ../NEWS:45612 msgid "" ":issue:`22486`: Added the math.gcd() function. The fractions.gcd() function " "now is deprecated. Based on patch by Mark Dickinson." msgstr "" -#: ../NEWS:45572 +#: ../NEWS:45615 msgid "" ":issue:`24064`: Property() docstrings are now writeable. (Patch by Berker " "Peksag.)" msgstr "" -#: ../NEWS:45575 +#: ../NEWS:45618 msgid ":issue:`22681`: Added support for the koi8_t encoding." msgstr "" -#: ../NEWS:45577 +#: ../NEWS:45620 msgid ":issue:`22682`: Added support for the kz1048 encoding." msgstr "" -#: ../NEWS:45579 +#: ../NEWS:45622 msgid "" ":issue:`23796`: peek and read1 methods of BufferedReader now raise " "ValueError if they called on a closed object. Patch by John Hergenroeder." msgstr "" -#: ../NEWS:45582 +#: ../NEWS:45625 msgid "" ":issue:`21795`: smtpd now supports the 8BITMIME extension whenever the new " "*decode_data* constructor argument is set to False." msgstr "" -#: ../NEWS:45585 +#: ../NEWS:45628 msgid "" ":issue:`24155`: optimize heapq.heapify() for better cache performance when " "heapifying large lists." msgstr "" -#: ../NEWS:45588 +#: ../NEWS:45631 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 "" -#: ../NEWS:45592 +#: ../NEWS:45635 msgid "" ":issue:`20274`: When calling a _sqlite.Connection, it now complains if " "passed any keyword arguments. Previously it silently ignored them." msgstr "" -#: ../NEWS:45595 +#: ../NEWS:45638 msgid "" ":issue:`20274`: Remove ignored and erroneous \"kwargs\" parameters from " "three METH_VARARGS methods on _sqlite.Connection." msgstr "" -#: ../NEWS:45598 +#: ../NEWS:45641 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 "" -#: ../NEWS:45603 +#: ../NEWS:45646 msgid "" ":issue:`24018`: Add a collections.abc.Generator abstract base class. " "Contributed by Stefan Behnel." msgstr "" -#: ../NEWS:45606 +#: ../NEWS:45649 msgid "" ":issue:`23880`: Tkinter's getint() and getdouble() now support Tcl_Obj. " "Tkinter's getdouble() now supports any numbers (in particular int)." msgstr "" -#: ../NEWS:45609 +#: ../NEWS:45652 msgid "" ":issue:`22619`: Added negative limit support in the traceback module. Based " "on patch by Dmitry Kazakov." msgstr "" -#: ../NEWS:45612 +#: ../NEWS:45655 msgid "" ":issue:`24094`: Fix possible crash in json.encode with poorly behaved dict " "subclasses." msgstr "" -#: ../NEWS:45615 +#: ../NEWS:45658 msgid "" ":issue:`9246`: On POSIX, os.getcwd() now supports paths longer than 1025 " "bytes. Patch written by William Orr." msgstr "" -#: ../NEWS:45618 +#: ../NEWS:45661 msgid "" ":issue:`17445`: add difflib.diff_bytes() to support comparison of byte " "strings (fixes a regression from Python 2)." msgstr "" -#: ../NEWS:45621 +#: ../NEWS:45664 msgid "" ":issue:`23917`: Fall back to sequential compilation when ProcessPoolExecutor " "doesn't exist. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:45624 +#: ../NEWS:45667 msgid "" ":issue:`23008`: Fixed resolving attributes with boolean value is False in " "pydoc." msgstr "" -#: ../NEWS:45627 +#: ../NEWS:45670 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 "" -#: ../NEWS:45631 +#: ../NEWS:45674 msgid "" ":issue:`23908`: os functions now reject paths with embedded null character " "on Windows instead of silently truncating them." msgstr "" -#: ../NEWS:45634 +#: ../NEWS:45677 msgid "" ":issue:`23728`: binascii.crc_hqx() could return an integer outside of the " "range 0-0xffff for empty data." msgstr "" -#: ../NEWS:45637 +#: ../NEWS:45680 msgid "" ":issue:`23887`: urllib.error.HTTPError now has a proper repr() " "representation. Patch by Berker Peksag." msgstr "" -#: ../NEWS:45640 +#: ../NEWS:45683 msgid "" "asyncio: New event loop APIs: set_task_factory() and get_task_factory()." msgstr "" -#: ../NEWS:45642 +#: ../NEWS:45685 msgid "asyncio: async() function is deprecated in favour of ensure_future()." msgstr "" -#: ../NEWS:45644 +#: ../NEWS:45687 msgid "" ":issue:`24178`: asyncio.Lock, Condition, Semaphore, and BoundedSemaphore " "support new 'async with' syntax. Contributed by Yury Selivanov." msgstr "" -#: ../NEWS:45647 +#: ../NEWS:45690 msgid "" ":issue:`24179`: Support 'async for' for asyncio.StreamReader. Contributed by " "Yury Selivanov." msgstr "" -#: ../NEWS:45650 +#: ../NEWS:45693 msgid "" ":issue:`24184`: Add AsyncIterator and AsyncIterable ABCs to collections.abc. " "Contributed by Yury Selivanov." msgstr "" -#: ../NEWS:45653 +#: ../NEWS:45696 msgid "" ":issue:`22547`: Implement informative __repr__ for inspect.BoundArguments. " "Contributed by Yury Selivanov." msgstr "" -#: ../NEWS:45656 +#: ../NEWS:45699 msgid "" ":issue:`24190`: Implement inspect.BoundArgument.apply_defaults() method. " "Contributed by Yury Selivanov." msgstr "" -#: ../NEWS:45659 +#: ../NEWS:45702 msgid "" ":issue:`20691`: Add 'follow_wrapped' argument to inspect.Signature." "from_callable() and inspect.signature(). Contributed by Yury Selivanov." msgstr "" -#: ../NEWS:45663 +#: ../NEWS:45706 msgid "" ":issue:`24248`: Deprecate inspect.Signature.from_function() and inspect." "Signature.from_builtin()." msgstr "" -#: ../NEWS:45666 +#: ../NEWS:45709 msgid "" ":issue:`23898`: Fix inspect.classify_class_attrs() to support attributes " "with overloaded __eq__ and __bool__. Patch by Mike Bayer." msgstr "" -#: ../NEWS:45669 +#: ../NEWS:45712 msgid "" ":issue:`24298`: Fix inspect.signature() to correctly unwrap wrappers around " "bound methods." msgstr "" -#: ../NEWS:45675 +#: ../NEWS:45718 msgid "" ":issue:`23184`: remove unused names and imports in idlelib. Initial patch by " "Al Sweigart." msgstr "" -#: ../NEWS:45681 +#: ../NEWS:45724 msgid "" ":issue:`21520`: test_zipfile no longer fails if the word 'bad' appears " "anywhere in the name of the current directory." msgstr "" -#: ../NEWS:45684 +#: ../NEWS:45727 msgid "" ":issue:`9517`: Move script_helper into the support package. Patch by " "Christie Wilson." msgstr "" -#: ../NEWS:45690 +#: ../NEWS:45733 msgid "" ":issue:`22155`: Add File Handlers subsection with createfilehandler to " "tkinter doc. Remove obsolete example from FAQ. Patch by Martin Panter." msgstr "" -#: ../NEWS:45693 +#: ../NEWS:45736 msgid "" ":issue:`24029`: Document the name binding behavior for submodule imports." msgstr "" -#: ../NEWS:45695 +#: ../NEWS:45738 msgid ":issue:`24077`: Fix typo in man page for -I command option: -s, not -S" msgstr "" -#: ../NEWS:45700 +#: ../NEWS:45743 msgid "" ":issue:`24000`: Improved Argument Clinic's mapping of converters to legacy " "\"format units\". Updated the documentation to match." msgstr "" -#: ../NEWS:45703 +#: ../NEWS:45746 msgid "" ":issue:`24001`: Argument Clinic converters now use accept={type} instead of " "types={'type'} to specify the types the converter accepts." msgstr "" -#: ../NEWS:45706 +#: ../NEWS:45749 msgid ":issue:`23330`: h2py now supports arbitrary filenames in #include." msgstr "" -#: ../NEWS:45708 +#: ../NEWS:45751 msgid ":issue:`24031`: make patchcheck now supports git checkouts, too." msgstr "" -#: ../NEWS:45712 +#: ../NEWS:45755 msgid "Python 3.5.0 alpha 4" msgstr "" -#: ../NEWS:45714 +#: ../NEWS:45757 msgid "*Release date: 2015-04-19*" msgstr "" -#: ../NEWS:45719 +#: ../NEWS:45762 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 " @@ -70910,23 +70979,23 @@ msgid "" "extension name now includes :pep:`3149`-style information." msgstr "" -#: ../NEWS:45724 +#: ../NEWS:45767 msgid "" ":issue:`22631`: Added Linux-specific socket constant CAN_RAW_FD_FRAMES. " "Patch courtesy of Joe Jevnik." msgstr "" -#: ../NEWS:45727 +#: ../NEWS:45770 msgid ":issue:`23731`: Implement :pep:`488`: removal of .pyo files." msgstr "" -#: ../NEWS:45729 +#: ../NEWS:45772 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 "" -#: ../NEWS:45732 +#: ../NEWS:45775 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 " @@ -70934,118 +71003,118 @@ msgid "" "error is emitted instead." msgstr "" -#: ../NEWS:45737 +#: ../NEWS:45780 msgid "" ":issue:`22977`: Fixed formatting Windows error messages on Wine. Patch by " "Martin Panter." msgstr "" -#: ../NEWS:45740 +#: ../NEWS:45783 msgid "" ":issue:`23466`: %c, %o, %x, and %X in bytes formatting now raise TypeError " "on non-integer input." msgstr "" -#: ../NEWS:45743 +#: ../NEWS:45786 msgid "" ":issue:`24044`: Fix possible null pointer dereference in list.sort in out of " "memory conditions." msgstr "" -#: ../NEWS:45746 +#: ../NEWS:45789 msgid "" ":issue:`21354`: PyCFunction_New function is exposed by python DLL again." msgstr "" -#: ../NEWS:45751 +#: ../NEWS:45794 msgid "" ":issue:`23840`: tokenize.open() now closes the temporary binary file on " "error to fix a resource warning." msgstr "" -#: ../NEWS:45754 +#: ../NEWS:45797 msgid "" ":issue:`16914`: new debuglevel 2 in smtplib adds timestamps to debug output." msgstr "" -#: ../NEWS:45756 +#: ../NEWS:45799 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 "" -#: ../NEWS:45760 +#: ../NEWS:45803 msgid "" ":issue:`23703`: Fix a regression in urljoin() introduced in 901e4e52b20a. " "Patch by Demian Brecht." msgstr "" -#: ../NEWS:45763 +#: ../NEWS:45806 msgid ":issue:`4254`: Adds _curses.update_lines_cols(). Patch by Arnon Yaari" msgstr "" -#: ../NEWS:45765 +#: ../NEWS:45808 msgid "" ":issue:`19933`: Provide default argument for ndigits in round. Patch by " "Vajrasky Kok." msgstr "" -#: ../NEWS:45768 +#: ../NEWS:45811 msgid "" ":issue:`23193`: Add a numeric_owner parameter to tarfile.TarFile.extract and " "tarfile.TarFile.extractall. Patch by Michael Vogt and Eric Smith." msgstr "" -#: ../NEWS:45771 +#: ../NEWS:45814 msgid "" ":issue:`23342`: Add a subprocess.run() function than returns a CalledProcess " "instance for a more consistent API than the existing call* functions." msgstr "" -#: ../NEWS:45774 +#: ../NEWS:45817 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 "" -#: ../NEWS:45778 +#: ../NEWS:45821 msgid ":issue:`24521`: Fix possible integer overflows in the pickle module." msgstr "" -#: ../NEWS:45780 +#: ../NEWS:45823 msgid ":issue:`22931`: Allow '[' and ']' in cookie values." msgstr "" -#: ../NEWS:45782 +#: ../NEWS:45825 msgid "The keywords attribute of functools.partial is now always a dictionary." msgstr "" -#: ../NEWS:45784 +#: ../NEWS:45827 msgid "" ":issue:`23811`: Add missing newline to the PyCompileError error message. " "Patch by Alex Shkop." msgstr "" -#: ../NEWS:45787 +#: ../NEWS:45830 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 "" -#: ../NEWS:45791 +#: ../NEWS:45834 msgid "" ":issue:`22982`: Improve BOM handling when seeking to multiple positions of a " "writable text file." msgstr "" -#: ../NEWS:45794 +#: ../NEWS:45837 msgid ":issue:`23464`: Removed deprecated asyncio JoinableQueue." msgstr "" -#: ../NEWS:45796 +#: ../NEWS:45839 msgid "" ":issue:`23529`: Limit the size of decompressed data when reading from " "GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using " @@ -71053,97 +71122,97 @@ msgid "" "size). Patch by Martin Panter and Nikolaus Rath." msgstr "" -#: ../NEWS:45801 +#: ../NEWS:45844 msgid ":issue:`21859`: Added Python implementation of io.FileIO." msgstr "" -#: ../NEWS:45803 +#: ../NEWS:45846 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 "" -#: ../NEWS:45807 +#: ../NEWS:45850 msgid "" ":issue:`23400`: Raise same exception on both Python 2 and 3 if sem_open is " "not available. Patch by Davin Potts." msgstr "" -#: ../NEWS:45810 +#: ../NEWS:45853 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 "" -#: ../NEWS:45814 +#: ../NEWS:45857 msgid "" ":issue:`23411`: Added DefragResult, ParseResult, SplitResult, " "DefragResultBytes, ParseResultBytes, and SplitResultBytes to urllib.parse." "__all__. Patch by Martin Panter." msgstr "" -#: ../NEWS:45818 +#: ../NEWS:45861 msgid "" ":issue:`23881`: urllib.request.ftpwrapper constructor now closes the socket " "if the FTP connection failed to fix a ResourceWarning." msgstr "" -#: ../NEWS:45821 +#: ../NEWS:45864 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 "" -#: ../NEWS:45825 +#: ../NEWS:45868 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 "" -#: ../NEWS:45829 +#: ../NEWS:45872 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 "" -#: ../NEWS:45834 +#: ../NEWS:45877 msgid ":issue:`10590`: xml.sax.parseString() now supports string argument." msgstr "" -#: ../NEWS:45836 +#: ../NEWS:45879 msgid "" ":issue:`23338`: Fixed formatting ctypes error messages on Cygwin. Patch by " "Makoto Kato." msgstr "" -#: ../NEWS:45839 +#: ../NEWS:45882 msgid ":issue:`15582`: inspect.getdoc() now follows inheritance chains." msgstr "" -#: ../NEWS:45841 +#: ../NEWS:45884 msgid "" ":issue:`2175`: SAX parsers now support a character stream of InputSource " "object." msgstr "" -#: ../NEWS:45844 +#: ../NEWS:45887 msgid "" ":issue:`16840`: Tkinter now supports 64-bit integers added in Tcl 8.4 and " "arbitrary precision integers added in Tcl 8.5." msgstr "" -#: ../NEWS:45847 +#: ../NEWS:45890 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 "" -#: ../NEWS:45850 +#: ../NEWS:45893 msgid "" ":issue:`23618`: :meth:`socket.socket.connect` now waits until the connection " "completes instead of raising :exc:`InterruptedError` if the connection is " @@ -71152,142 +71221,142 @@ msgid "" "raise :exc:`InterruptedError` for non-blocking sockets." msgstr "" -#: ../NEWS:45856 +#: ../NEWS:45899 msgid ":issue:`21526`: Tkinter now supports new boolean type in Tcl 8.5." msgstr "" -#: ../NEWS:45858 +#: ../NEWS:45901 msgid "" ":issue:`23836`: Fix the faulthandler module to handle reentrant calls to its " "signal handlers." msgstr "" -#: ../NEWS:45861 +#: ../NEWS:45904 msgid "" ":issue:`23838`: linecache now clears the cache and returns an empty result " "on MemoryError." msgstr "" -#: ../NEWS:45864 +#: ../NEWS:45907 msgid "" ":issue:`10395`: Added os.path.commonpath(). Implemented in posixpath and " "ntpath. Based on patch by Rafik Draoui." msgstr "" -#: ../NEWS:45867 +#: ../NEWS:45910 msgid "" ":issue:`23611`: Serializing more \"lookupable\" objects (such as unbound " "methods or nested classes) now are supported with pickle protocols < 4." msgstr "" -#: ../NEWS:45870 +#: ../NEWS:45913 msgid ":issue:`13583`: sqlite3.Row now supports slice indexing." msgstr "" -#: ../NEWS:45872 +#: ../NEWS:45915 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 "" -#: ../NEWS:45876 +#: ../NEWS:45919 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 "" -#: ../NEWS:45880 +#: ../NEWS:45923 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 "" -#: ../NEWS:45884 +#: ../NEWS:45927 msgid "" ":issue:`23704`: collections.deque() objects now support __add__, __mul__, " "and __imul__()." msgstr "" -#: ../NEWS:45887 +#: ../NEWS:45930 msgid ":issue:`23171`: csv.Writer.writerow() now supports arbitrary iterables." msgstr "" -#: ../NEWS:45889 +#: ../NEWS:45932 msgid "" ":issue:`23745`: The new email header parser now handles duplicate MIME " "parameter names without error, similar to how get_param behaves." msgstr "" -#: ../NEWS:45892 +#: ../NEWS:45935 msgid "" ":issue:`22117`: Fix os.utime(), it now rounds the timestamp towards minus " "infinity (-inf) instead of rounding towards zero." msgstr "" -#: ../NEWS:45895 +#: ../NEWS:45938 msgid "" ":issue:`23310`: Fix MagicMock's initializer to work with __methods__, just " "like configure_mock(). Patch by Kasia Jachim." msgstr "" -#: ../NEWS:45901 +#: ../NEWS:45944 msgid "" ":issue:`23817`: FreeBSD now uses \"1.0\" in the SOVERSION as other operating " "systems, instead of just \"1\"." msgstr "" -#: ../NEWS:45904 +#: ../NEWS:45947 msgid "" ":issue:`23501`: Argument Clinic now generates code into separate files by " "default." msgstr "" -#: ../NEWS:45910 +#: ../NEWS:45953 msgid "" ":issue:`23799`: Added test.support.start_threads() for running and cleaning " "up multiple threads." msgstr "" -#: ../NEWS:45913 +#: ../NEWS:45956 msgid "" ":issue:`22390`: test.regrtest now emits a warning if temporary files or " "directories are left after running a test." msgstr "" -#: ../NEWS:45919 +#: ../NEWS:45962 msgid "" ":issue:`18128`: pygettext now uses standard +NNNN format in the POT-Creation-" "Date header." msgstr "" -#: ../NEWS:45922 +#: ../NEWS:45965 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 "" -#: ../NEWS:45926 +#: ../NEWS:45969 msgid "" ":issue:`23944`: Argument Clinic now wraps long impl prototypes at column 78." msgstr "" -#: ../NEWS:45928 +#: ../NEWS:45971 msgid "" ":issue:`20586`: Argument Clinic now ensures that functions without " "docstrings have signatures." msgstr "" -#: ../NEWS:45931 +#: ../NEWS:45974 msgid "" ":issue:`23492`: Argument Clinic now generates argument parsing code with " "PyArg_Parse instead of PyArg_ParseTuple if possible." msgstr "" -#: ../NEWS:45934 +#: ../NEWS:45977 msgid "" ":issue:`23500`: Argument Clinic is now smarter about generating the " "\"#ifndef\" (empty) definition of the methoddef macro: it's only generated " @@ -71296,185 +71365,185 @@ msgid "" "first use." msgstr "" -#: ../NEWS:45943 +#: ../NEWS:45986 msgid "" ":issue:`23998`: PyImport_ReInitLock() now checks for lock allocation error" msgstr "" -#: ../NEWS:45947 +#: ../NEWS:45990 msgid "Python 3.5.0 alpha 3" msgstr "" -#: ../NEWS:45949 +#: ../NEWS:45992 msgid "*Release date: 2015-03-28*" msgstr "" -#: ../NEWS:45954 +#: ../NEWS:45997 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 "" -#: ../NEWS:45958 +#: ../NEWS:46001 msgid "" ":issue:`23753`: Python doesn't support anymore platforms without stat() or " "fstat(), these functions are always required." msgstr "" -#: ../NEWS:45961 +#: ../NEWS:46004 msgid "" ":issue:`23681`: The -b option now affects comparisons of bytes with int." msgstr "" -#: ../NEWS:45963 +#: ../NEWS:46006 msgid "" ":issue:`23632`: Memoryviews now allow tuple indexing (including for multi-" "dimensional memoryviews)." msgstr "" -#: ../NEWS:45966 +#: ../NEWS:46009 msgid ":issue:`23192`: Fixed generator lambdas. Patch by Bruno Cauet." msgstr "" -#: ../NEWS:45968 +#: ../NEWS:46011 msgid "" ":issue:`23629`: Fix the default __sizeof__ implementation for variable-sized " "objects." msgstr "" -#: ../NEWS:45974 +#: ../NEWS:46017 msgid "" ":issue:`14260`: The groupindex attribute of regular expression pattern " "object now is non-modifiable mapping." msgstr "" -#: ../NEWS:45977 +#: ../NEWS:46020 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 "" -#: ../NEWS:45981 +#: ../NEWS:46024 msgid "" ":issue:`23775`: pprint() of OrderedDict now outputs the same representation " "as repr()." msgstr "" -#: ../NEWS:45984 +#: ../NEWS:46027 msgid ":issue:`23765`: Removed IsBadStringPtr calls in ctypes" msgstr "" -#: ../NEWS:45986 +#: ../NEWS:46029 msgid ":issue:`22364`: Improved some re error messages using regex for hints." msgstr "" -#: ../NEWS:45988 +#: ../NEWS:46031 msgid "" ":issue:`23742`: ntpath.expandvars() no longer loses unbalanced single quotes." msgstr "" -#: ../NEWS:45990 +#: ../NEWS:46033 msgid "" ":issue:`21717`: The zipfile.ZipFile.open function now supports " "'x' (exclusive creation) mode." msgstr "" -#: ../NEWS:45993 +#: ../NEWS:46036 msgid "" ":issue:`21802`: The reader in BufferedRWPair now is closed even when closing " "writer failed in BufferedRWPair.close()." msgstr "" -#: ../NEWS:45996 +#: ../NEWS:46039 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 "" -#: ../NEWS:46000 +#: ../NEWS:46043 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 "" -#: ../NEWS:46004 +#: ../NEWS:46047 msgid ":issue:`23502`: The pprint module now supports mapping proxies." msgstr "" -#: ../NEWS:46006 +#: ../NEWS:46049 msgid ":issue:`17530`: pprint now wraps long bytes objects and bytearrays." msgstr "" -#: ../NEWS:46008 +#: ../NEWS:46051 msgid "" ":issue:`22687`: Fixed some corner cases in breaking words in tetxtwrap. Got " "rid of quadratic complexity in breaking long words." msgstr "" -#: ../NEWS:46011 +#: ../NEWS:46054 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 "" -#: ../NEWS:46015 +#: ../NEWS:46058 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 "" -#: ../NEWS:46019 +#: ../NEWS:46062 msgid "" ":issue:`23657`: Avoid explicit checks for str in zipapp, adding support for " "pathlib.Path objects as arguments." msgstr "" -#: ../NEWS:46022 +#: ../NEWS:46065 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 "" -#: ../NEWS:46026 +#: ../NEWS:46069 msgid "" ":issue:`23252`: Added support for writing ZIP files to unseekable streams." msgstr "" -#: ../NEWS:46028 +#: ../NEWS:46071 msgid "" ":issue:`23647`: Increase imaplib's MAXLINE to accommodate modern mailbox " "sizes." msgstr "" -#: ../NEWS:46030 +#: ../NEWS:46073 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 "" -#: ../NEWS:46034 +#: ../NEWS:46077 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 "" -#: ../NEWS:46038 +#: ../NEWS:46081 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 "" -#: ../NEWS:46042 +#: ../NEWS:46085 msgid "" ":issue:`23715`: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` " "are now retried when interrupted by a signal not in the *sigset* parameter, " @@ -71482,39 +71551,39 @@ msgid "" "recomputes the timeout with a monotonic clock when it is retried." msgstr "" -#: ../NEWS:46047 +#: ../NEWS:46090 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 "" -#: ../NEWS:46051 +#: ../NEWS:46094 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 "" -#: ../NEWS:46055 +#: ../NEWS:46098 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 "" -#: ../NEWS:46058 +#: ../NEWS:46101 msgid "" ":issue:`23700`: Iterator of NamedTemporaryFile now keeps a reference to " "NamedTemporaryFile instance. Patch by Bohuslav Kabrda." msgstr "" -#: ../NEWS:46061 +#: ../NEWS:46104 msgid "" ":issue:`22903`: The fake test case created by unittest.loader when it fails " "importing a test module is now picklable." msgstr "" -#: ../NEWS:46064 +#: ../NEWS:46107 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 " @@ -71522,7 +71591,7 @@ msgid "" "and waits until the kernel has enough entropy." msgstr "" -#: ../NEWS:46069 +#: ../NEWS:46112 msgid "" ":issue:`2211`: Updated the implementation of the http.cookies.Morsel class. " "Setting attributes key, value and coded_value directly now is deprecated. " @@ -71533,377 +71602,377 @@ msgid "" "Original patch by Demian Brecht." msgstr "" -#: ../NEWS:46077 +#: ../NEWS:46120 msgid "" ":issue:`18983`: Allow selection of output units in timeit. Patch by Julian " "Gindi." msgstr "" -#: ../NEWS:46080 +#: ../NEWS:46123 msgid "" ":issue:`23631`: Fix traceback.format_list when a traceback has been mutated." msgstr "" -#: ../NEWS:46082 +#: ../NEWS:46125 msgid "" ":issue:`23568`: Add rdivmod support to MagicMock() objects. Patch by Håkan " "Lövdahl." msgstr "" -#: ../NEWS:46085 +#: ../NEWS:46128 msgid ":issue:`2052`: Add charset parameter to HtmlDiff.make_file()." msgstr "" -#: ../NEWS:46087 +#: ../NEWS:46130 msgid ":issue:`23668`: Support os.truncate and os.ftruncate on Windows." msgstr "" -#: ../NEWS:46089 +#: ../NEWS:46132 msgid "" ":issue:`23138`: Fixed parsing cookies with absent keys or values in " "cookiejar. Patch by Demian Brecht." msgstr "" -#: ../NEWS:46092 +#: ../NEWS:46135 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 "" -#: ../NEWS:46096 +#: ../NEWS:46139 msgid "" ":issue:`23581`: Add matmul support to MagicMock. Patch by Håkan Lövdahl." msgstr "" -#: ../NEWS:46098 +#: ../NEWS:46141 msgid "" ":issue:`23566`: enable(), register(), dump_traceback() and " "dump_traceback_later() functions of faulthandler now accept file " "descriptors. Patch by Wei Wu." msgstr "" -#: ../NEWS:46102 +#: ../NEWS:46145 msgid "" ":issue:`22928`: Disabled HTTP header injections in http.client. Original " "patch by Demian Brecht." msgstr "" -#: ../NEWS:46105 +#: ../NEWS:46148 msgid "" ":issue:`23615`: Modules bz2, tarfile and tokenize now can be reloaded with " "imp.reload(). Patch by Thomas Kluyver." msgstr "" -#: ../NEWS:46108 +#: ../NEWS:46151 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 "" -#: ../NEWS:46115 +#: ../NEWS:46158 msgid ":issue:`23585`: make patchcheck will ensure the interpreter is built." msgstr "" -#: ../NEWS:46120 +#: ../NEWS:46163 msgid ":issue:`23583`: Added tests for standard IO streams in IDLE." msgstr "" -#: ../NEWS:46122 +#: ../NEWS:46165 msgid "" ":issue:`22289`: Prevent test_urllib2net failures due to ftp connection " "timeout." msgstr "" -#: ../NEWS:46127 +#: ../NEWS:46170 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 "" -#: ../NEWS:46133 +#: ../NEWS:46176 msgid "Python 3.5.0 alpha 2" msgstr "" -#: ../NEWS:46135 +#: ../NEWS:46178 msgid "*Release date: 2015-03-09*" msgstr "" -#: ../NEWS:46140 +#: ../NEWS:46183 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 "" -#: ../NEWS:46147 +#: ../NEWS:46190 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 "" -#: ../NEWS:46151 +#: ../NEWS:46194 msgid "" ":issue:`23103`: Reduced the memory consumption of IPv4Address and " "IPv6Address." msgstr "" -#: ../NEWS:46153 +#: ../NEWS:46196 msgid "" ":issue:`21793`: BaseHTTPRequestHandler again logs response code as numeric, " "not as stringified enum. Patch by Demian Brecht." msgstr "" -#: ../NEWS:46156 +#: ../NEWS:46199 msgid "" ":issue:`23476`: In the ssl module, enable OpenSSL's " "X509_V_FLAG_TRUSTED_FIRST flag on certificate stores when it is available." msgstr "" -#: ../NEWS:46159 +#: ../NEWS:46202 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 "" -#: ../NEWS:46162 +#: ../NEWS:46205 msgid ":issue:`23504`: Added an __all__ to the types module." msgstr "" -#: ../NEWS:46164 +#: ../NEWS:46207 msgid ":issue:`23563`: Optimized utility functions in urllib.parse." msgstr "" -#: ../NEWS:46166 +#: ../NEWS:46209 msgid ":issue:`7830`: Flatten nested functools.partial." msgstr "" -#: ../NEWS:46168 +#: ../NEWS:46211 msgid ":issue:`20204`: Added the __module__ attribute to _tkinter classes." msgstr "" -#: ../NEWS:46170 +#: ../NEWS:46213 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 "" -#: ../NEWS:46174 +#: ../NEWS:46217 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 "" -#: ../NEWS:46178 +#: ../NEWS:46221 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 "" -#: ../NEWS:46181 +#: ../NEWS:46224 msgid "" ":issue:`22936`: Make it possible to show local variables in tracebacks for " "both the traceback module and unittest." msgstr "" -#: ../NEWS:46184 +#: ../NEWS:46227 msgid "" ":issue:`15955`: Add an option to limit the output size in bz2.decompress(). " "Patch by Nikolaus Rath." msgstr "" -#: ../NEWS:46187 +#: ../NEWS:46230 msgid "" ":issue:`6639`: Module-level turtle functions no longer raise TclError after " "closing the window." msgstr "" -#: ../NEWS:46190 +#: ../NEWS:46233 msgid "" ":issue:`814253`: Group references and conditional group references now work " "in lookbehind assertions in regular expressions. (See also: :issue:`9179`)" msgstr "" -#: ../NEWS:46193 +#: ../NEWS:46236 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 "" -#: ../NEWS:46197 +#: ../NEWS:46240 msgid "" ":issue:`5700`: io.FileIO() called flush() after closing the file. flush() " "was not called in close() if closefd=False." msgstr "" -#: ../NEWS:46200 +#: ../NEWS:46243 msgid "" ":issue:`23374`: Fixed pydoc failure with non-ASCII files when stdout " "encoding differs from file system encoding (e.g. on Mac OS)." msgstr "" -#: ../NEWS:46203 +#: ../NEWS:46246 msgid ":issue:`23481`: Remove RC4 from the SSL module's default cipher list." msgstr "" -#: ../NEWS:46205 +#: ../NEWS:46248 msgid "" ":issue:`21548`: Fix pydoc.synopsis() and pydoc.apropos() on modules with " "empty docstrings." msgstr "" -#: ../NEWS:46208 +#: ../NEWS:46251 msgid "" ":issue:`22885`: Fixed arbitrary code execution vulnerability in the dbm.dumb " "module. Original patch by Claudiu Popa." msgstr "" -#: ../NEWS:46211 +#: ../NEWS:46254 msgid "" ":issue:`23239`: ssl.match_hostname() now supports matching of IP addresses." msgstr "" -#: ../NEWS:46213 +#: ../NEWS:46256 msgid "" ":issue:`23146`: Fix mishandling of absolute Windows paths with forward " "slashes in pathlib." msgstr "" -#: ../NEWS:46216 +#: ../NEWS:46259 msgid "" ":issue:`23096`: Pickle representation of floats with protocol 0 now is the " "same for both Python and C implementations." msgstr "" -#: ../NEWS:46219 +#: ../NEWS:46262 msgid "" ":issue:`19105`: pprint now more efficiently uses free space at the right." msgstr "" -#: ../NEWS:46221 +#: ../NEWS:46264 msgid "" ":issue:`14910`: Add allow_abbrev parameter to argparse.ArgumentParser. Patch " "by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson." msgstr "" -#: ../NEWS:46224 +#: ../NEWS:46267 msgid "" ":issue:`21717`: tarfile.open() now supports 'x' (exclusive creation) mode." msgstr "" -#: ../NEWS:46226 +#: ../NEWS:46269 msgid ":issue:`23344`: marshal.dumps() is now 20-25% faster on average." msgstr "" -#: ../NEWS:46228 +#: ../NEWS:46271 msgid "" ":issue:`20416`: marshal.dumps() with protocols 3 and 4 is now 40-50% faster " "on average." msgstr "" -#: ../NEWS:46231 +#: ../NEWS:46274 msgid ":issue:`23421`: Fixed compression in tarfile CLI. Patch by wdv4758h." msgstr "" -#: ../NEWS:46233 +#: ../NEWS:46276 msgid ":issue:`23367`: Fix possible overflows in the unicodedata module." msgstr "" -#: ../NEWS:46235 +#: ../NEWS:46278 msgid "" ":issue:`23361`: Fix possible overflow in Windows subprocess creation code." msgstr "" -#: ../NEWS:46237 +#: ../NEWS:46280 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 "" -#: ../NEWS:46241 +#: ../NEWS:46284 msgid "" ":issue:`19705`: turtledemo now has a visual sorting algorithm demo. " "Original patch from Jason Yeo." msgstr "" -#: ../NEWS:46244 +#: ../NEWS:46287 msgid "" ":issue:`23801`: Fix issue where cgi.FieldStorage did not always ignore the " "entire preamble to a multipart body." msgstr "" -#: ../NEWS:46250 +#: ../NEWS:46293 msgid "" ":issue:`23445`: pydebug builds now use \"gcc -Og\" where possible, to make " "the resulting executable faster." msgstr "" -#: ../NEWS:46253 +#: ../NEWS:46296 msgid ":issue:`23686`: Update OS X 10.5 installer build to use OpenSSL 1.0.2a." msgstr "" -#: ../NEWS:46258 +#: ../NEWS:46301 msgid "" ":issue:`20204`: Deprecation warning is now raised for builtin types without " "the __module__ attribute." msgstr "" -#: ../NEWS:46264 +#: ../NEWS:46307 msgid "" ":issue:`23465`: Implement :pep:`486` - Make the Python Launcher aware of " "virtual environments. Patch by Paul Moore." msgstr "" -#: ../NEWS:46267 +#: ../NEWS:46310 msgid "" ":issue:`23437`: Make user scripts directory versioned on Windows. Patch by " "Paul Moore." msgstr "" -#: ../NEWS:46272 +#: ../NEWS:46315 msgid "Python 3.5.0 alpha 1" msgstr "" -#: ../NEWS:46274 +#: ../NEWS:46317 msgid "*Release date: 2015-02-08*" msgstr "" -#: ../NEWS:46279 +#: ../NEWS:46322 msgid ":issue:`23285`: PEP 475 - EINTR handling." msgstr "" -#: ../NEWS:46281 +#: ../NEWS:46324 msgid "" ":issue:`22735`: Fix many edge cases (including crashes) involving custom " "mro() implementations." msgstr "" -#: ../NEWS:46284 +#: ../NEWS:46327 msgid "" ":issue:`22896`: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() " "and PyObject_AsWriteBuffer()." msgstr "" -#: ../NEWS:46287 +#: ../NEWS:46330 msgid "" ":issue:`21295`: Revert some changes (:issue:`16795`) to AST line numbers and " "column offsets that constituted a regression." msgstr "" -#: ../NEWS:46290 +#: ../NEWS:46333 msgid "" ":issue:`22986`: Allow changing an object's __class__ between a dynamic type " "and static type in some cases." msgstr "" -#: ../NEWS:46293 +#: ../NEWS:46336 msgid "" ":issue:`15859`: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and " "PyUnicode_EncodeCodePage() now raise an exception if the object is not a " @@ -71911,178 +71980,178 @@ msgid "" "platforms other than Windows. Patch written by Campbell Barton." msgstr "" -#: ../NEWS:46298 +#: ../NEWS:46341 msgid "" ":issue:`21408`: The default __ne__() now returns NotImplemented if __eq__() " "returned NotImplemented. Original patch by Martin Panter." msgstr "" -#: ../NEWS:46301 +#: ../NEWS:46344 msgid "" ":issue:`23321`: Fixed a crash in str.decode() when error handler returned " "replacement string longer than malformed input data." msgstr "" -#: ../NEWS:46304 +#: ../NEWS:46347 msgid "" ":issue:`22286`: The \"backslashreplace\" error handlers now works with " "decoding and translating." msgstr "" -#: ../NEWS:46307 +#: ../NEWS:46350 msgid "" ":issue:`23253`: Delay-load ShellExecute[AW] in os.startfile for reduced " "startup overhead on Windows." msgstr "" -#: ../NEWS:46310 +#: ../NEWS:46353 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 "" -#: ../NEWS:46314 +#: ../NEWS:46357 msgid "" ":issue:`20284`: %-interpolation (aka printf) formatting added for bytes and " "bytearray." msgstr "" -#: ../NEWS:46317 +#: ../NEWS:46360 msgid ":issue:`23048`: Fix jumping out of an infinite while loop in the pdb." msgstr "" -#: ../NEWS:46319 +#: ../NEWS:46362 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 "" -#: ../NEWS:46322 +#: ../NEWS:46365 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 "" -#: ../NEWS:46325 +#: ../NEWS:46368 msgid "" ":issue:`22869`: Move the interpreter startup & shutdown code to a new " "dedicated pylifecycle.c module" msgstr "" -#: ../NEWS:46328 +#: ../NEWS:46371 msgid ":issue:`22847`: Improve method cache efficiency." msgstr "" -#: ../NEWS:46330 +#: ../NEWS:46373 msgid "" ":issue:`22335`: Fix crash when trying to enlarge a bytearray to 0x7fffffff " "bytes on a 32-bit platform." msgstr "" -#: ../NEWS:46333 +#: ../NEWS:46376 msgid "" ":issue:`22653`: Fix an assertion failure in debug mode when doing a " "reentrant dict insertion in debug mode." msgstr "" -#: ../NEWS:46336 +#: ../NEWS:46379 msgid "" ":issue:`22643`: Fix integer overflow in Unicode case operations (upper, " "lower, title, swapcase, casefold)." msgstr "" -#: ../NEWS:46339 +#: ../NEWS:46382 msgid "" ":issue:`17636`: Circular imports involving relative imports are now " "supported." msgstr "" -#: ../NEWS:46341 +#: ../NEWS:46384 msgid "" ":issue:`22604`: Fix assertion error in debug mode when dividing a complex " "number by (nan+0j)." msgstr "" -#: ../NEWS:46344 +#: ../NEWS:46387 msgid "" ":issue:`21052`: Do not raise ImportWarning when sys.path_hooks or sys." "meta_path are set to None." msgstr "" -#: ../NEWS:46347 +#: ../NEWS:46390 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 "" -#: ../NEWS:46351 +#: ../NEWS:46394 msgid "" ":issue:`22470`: Fixed integer overflow issues in \"backslashreplace\", " "\"xmlcharrefreplace\", and \"surrogatepass\" error handlers." msgstr "" -#: ../NEWS:46354 +#: ../NEWS:46397 msgid "" ":issue:`22540`: speed up ``PyObject_IsInstance`` and ``PyObject_IsSubclass`` " "in the common case that the second argument has metaclass ``type``." msgstr "" -#: ../NEWS:46357 +#: ../NEWS:46400 msgid "" ":issue:`18711`: Add a new ``PyErr_FormatV`` function, similar to " "``PyErr_Format`` but accepting a ``va_list`` argument." msgstr "" -#: ../NEWS:46360 +#: ../NEWS:46403 msgid "" ":issue:`22520`: Fix overflow checking when generating the repr of a unicode " "object." msgstr "" -#: ../NEWS:46363 +#: ../NEWS:46406 msgid ":issue:`22519`: Fix overflow checking in PyBytes_Repr." msgstr "" -#: ../NEWS:46365 +#: ../NEWS:46408 msgid ":issue:`22518`: Fix integer overflow issues in latin-1 encoding." msgstr "" -#: ../NEWS:46367 +#: ../NEWS:46410 msgid "" ":issue:`16324`: _charset parameter of MIMEText now also accepts email." "charset.Charset instances. Initial patch by Claude Paroz." msgstr "" -#: ../NEWS:46370 +#: ../NEWS:46413 msgid "" ":issue:`1764286`: Fix inspect.getsource() to support decorated functions. " "Patch by Claudiu Popa." msgstr "" -#: ../NEWS:46373 +#: ../NEWS:46416 msgid ":issue:`18554`: os.__all__ includes posix functions." msgstr "" -#: ../NEWS:46375 +#: ../NEWS:46418 msgid ":issue:`21391`: Use os.path.abspath in the shutil module." msgstr "" -#: ../NEWS:46377 +#: ../NEWS:46420 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 "" -#: ../NEWS:46380 +#: ../NEWS:46423 msgid "" ":issue:`22215`: Now ValueError is raised instead of TypeError when str or " "bytes argument contains not permitted null character or byte." msgstr "" -#: ../NEWS:46383 +#: ../NEWS:46426 msgid "" ":issue:`22258`: Fix the internal function set_inheritable() on Illumos. This " "platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails with " @@ -72090,58 +72159,58 @@ msgid "" "falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``)." msgstr "" -#: ../NEWS:46389 +#: ../NEWS:46432 msgid "" ":issue:`21389`: Displaying the __qualname__ of the underlying function in " "the repr of a bound method." msgstr "" -#: ../NEWS:46392 +#: ../NEWS:46435 msgid "" ":issue:`22206`: Using pthread, PyThread_create_key() now sets errno to " "ENOMEM and returns -1 (error) on integer overflow." msgstr "" -#: ../NEWS:46395 +#: ../NEWS:46438 msgid "" ":issue:`20184`: Argument Clinic based signature introspection added for 30 " "of the builtin functions." msgstr "" -#: ../NEWS:46398 +#: ../NEWS:46441 msgid "" ":issue:`22116`: C functions and methods (of the 'builtin_function_or_method' " "type) can now be weakref'ed. Patch by Wei Wu." msgstr "" -#: ../NEWS:46401 +#: ../NEWS:46444 msgid "" ":issue:`22077`: Improve index error messages for bytearrays, bytes, lists, " "and tuples by adding 'or slices'. Added ', not ' for bytearrays. " "Original patch by Claudiu Popa." msgstr "" -#: ../NEWS:46405 +#: ../NEWS:46448 msgid "" ":issue:`20179`: Apply Argument Clinic to bytes and bytearray. Patch by Tal " "Einat." msgstr "" -#: ../NEWS:46408 +#: ../NEWS:46451 msgid ":issue:`22082`: Clear interned strings in slotdefs." msgstr "" -#: ../NEWS:46410 +#: ../NEWS:46453 msgid "Upgrade Unicode database to Unicode 7.0.0." msgstr "" -#: ../NEWS:46412 +#: ../NEWS:46455 msgid "" ":issue:`21897`: Fix a crash with the f_locals attribute with closure " "variables when frame.clear() has been called." msgstr "" -#: ../NEWS:46415 +#: ../NEWS:46458 msgid "" ":issue:`21205`: Add a new ``__qualname__`` attribute to generator, the " "qualified name, and use it in the representation of a generator " @@ -72150,7 +72219,7 @@ msgid "" "co_name`` to get the name of the code." msgstr "" -#: ../NEWS:46421 +#: ../NEWS:46464 msgid "" ":issue:`21669`: With the aid of heuristics in SyntaxError.__init__, the " "parser now attempts to generate more meaningful (or at least more search " @@ -72158,14 +72227,14 @@ msgid "" "statements." msgstr "" -#: ../NEWS:46425 +#: ../NEWS:46468 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 "" -#: ../NEWS:46429 +#: ../NEWS:46472 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 " @@ -72173,102 +72242,102 @@ msgid "" "operators." msgstr "" -#: ../NEWS:46434 +#: ../NEWS:46477 msgid "" ":issue:`21418`: Fix a crash in the builtin function super() when called " "without argument and without current frame (ex: embedded Python)." msgstr "" -#: ../NEWS:46437 +#: ../NEWS:46480 msgid "" ":issue:`21425`: Fix flushing of standard streams in the interactive " "interpreter." msgstr "" -#: ../NEWS:46440 +#: ../NEWS:46483 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 "" -#: ../NEWS:46444 +#: ../NEWS:46487 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 "" -#: ../NEWS:46447 +#: ../NEWS:46490 msgid "" ":issue:`20355`: -W command line options now have higher priority than the " "PYTHONWARNINGS environment variable. Patch by Arfrever." msgstr "" -#: ../NEWS:46450 +#: ../NEWS:46493 msgid ":issue:`21274`: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c." msgstr "" -#: ../NEWS:46452 +#: ../NEWS:46495 msgid ":issue:`20904`: Support setting FPU precision on m68k." msgstr "" -#: ../NEWS:46454 +#: ../NEWS:46497 msgid "" ":issue:`21209`: Fix sending tuples to custom generator objects with the " "yield from syntax." msgstr "" -#: ../NEWS:46457 +#: ../NEWS:46500 msgid "" ":issue:`21193`: pow(a, b, c) now raises ValueError rather than TypeError " "when b is negative. Patch by Josh Rosenberg." msgstr "" -#: ../NEWS:46460 +#: ../NEWS:46503 msgid "" ":issue:`21176`: PEP 465: Add the '@' operator for matrix multiplication." msgstr "" -#: ../NEWS:46462 +#: ../NEWS:46505 msgid "" ":issue:`21134`: Fix segfault when str is called on an uninitialized " "UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object." msgstr "" -#: ../NEWS:46465 +#: ../NEWS:46508 msgid "" ":issue:`19537`: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas " "Schwab." msgstr "" -#: ../NEWS:46468 +#: ../NEWS:46511 msgid ":issue:`20929`: Add a type cast to avoid shifting a negative number." msgstr "" -#: ../NEWS:46470 +#: ../NEWS:46513 msgid "" ":issue:`20731`: Properly position in source code files even if they are " "opened in text mode. Patch by Serhiy Storchaka." msgstr "" -#: ../NEWS:46473 +#: ../NEWS:46516 msgid "" ":issue:`20637`: Key-sharing now also works for instance dictionaries of " "subclasses. Patch by Peter Ingebretson." msgstr "" -#: ../NEWS:46476 +#: ../NEWS:46519 msgid "" ":issue:`8297`: Attributes missing from modules now include the module name " "in the error text. Original patch by ysj.ray." msgstr "" -#: ../NEWS:46479 +#: ../NEWS:46522 msgid "" ":issue:`19995`: %c, %o, %x, and %X now raise TypeError on non-integer input." msgstr "" -#: ../NEWS:46481 +#: ../NEWS:46524 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 " @@ -72276,96 +72345,96 @@ msgid "" "library; spark.py was removed from the source base." msgstr "" -#: ../NEWS:46486 +#: ../NEWS:46529 msgid "" ":issue:`12546`: Allow ``\\x00`` to be used as a fill character when using " "str, int, float, and complex __format__ methods." msgstr "" -#: ../NEWS:46489 +#: ../NEWS:46532 msgid ":issue:`20480`: Add ipaddress.reverse_pointer. Patch by Leon Weber." msgstr "" -#: ../NEWS:46491 +#: ../NEWS:46534 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 "" -#: ../NEWS:46495 +#: ../NEWS:46538 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 "" -#: ../NEWS:46499 +#: ../NEWS:46542 msgid "" ":issue:`23165`: Perform overflow checks before allocating memory in the " "_Py_char2wchar function." msgstr "" -#: ../NEWS:46505 +#: ../NEWS:46548 msgid ":issue:`23399`: pyvenv creates relative symlinks where possible." msgstr "" -#: ../NEWS:46507 +#: ../NEWS:46550 msgid "" ":issue:`20289`: cgi.FieldStorage() now supports the context management " "protocol." msgstr "" -#: ../NEWS:46510 +#: ../NEWS:46553 msgid "" ":issue:`13128`: Print response headers for CONNECT requests when debuglevel " "> 0. Patch by Demian Brecht." msgstr "" -#: ../NEWS:46513 +#: ../NEWS:46556 msgid "" ":issue:`15381`: Optimized io.BytesIO to make less allocations and copyings." msgstr "" -#: ../NEWS:46515 +#: ../NEWS:46558 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 "" -#: ../NEWS:46519 +#: ../NEWS:46562 msgid "" ":issue:`23099`: Closing io.BytesIO with exported buffer is rejected now to " "prevent corrupting exported buffer." msgstr "" -#: ../NEWS:46522 +#: ../NEWS:46565 msgid "" ":issue:`23326`: Removed __ne__ implementations. Since fixing default __ne__ " "implementation in :issue:`21408` they are redundant." msgstr "" -#: ../NEWS:46525 +#: ../NEWS:46568 msgid ":issue:`23363`: Fix possible overflow in itertools.permutations." msgstr "" -#: ../NEWS:46527 +#: ../NEWS:46570 msgid ":issue:`23364`: Fix possible overflow in itertools.product." msgstr "" -#: ../NEWS:46529 +#: ../NEWS:46572 msgid "" ":issue:`23366`: Fixed possible integer overflow in itertools.combinations." msgstr "" -#: ../NEWS:46531 +#: ../NEWS:46574 msgid "" ":issue:`23369`: Fixed possible integer overflow in _json." "encode_basestring_ascii." msgstr "" -#: ../NEWS:46534 +#: ../NEWS:46577 msgid "" ":issue:`23353`: Fix the exception handling of generators in " "PyEval_EvalFrameEx(). At entry, save or swap the exception state even if " @@ -72374,105 +72443,105 @@ msgid "" "WHY_RETURN. Patch co-written with Antoine Pitrou." msgstr "" -#: ../NEWS:46540 +#: ../NEWS:46583 msgid "" ":issue:`14099`: Restored support of writing ZIP files to tellable but non-" "seekable streams." msgstr "" -#: ../NEWS:46543 +#: ../NEWS:46586 msgid "" ":issue:`14099`: Writing to ZipFile and reading multiple ZipExtFiles is " "threadsafe now." msgstr "" -#: ../NEWS:46546 +#: ../NEWS:46589 msgid "" ":issue:`19361`: JSON decoder now raises JSONDecodeError instead of " "ValueError." msgstr "" -#: ../NEWS:46548 +#: ../NEWS:46591 msgid "" ":issue:`18518`: timeit now rejects statements which can't be compiled " "outside a function or a loop (e.g. \"return\" or \"break\")." msgstr "" -#: ../NEWS:46551 +#: ../NEWS:46594 msgid "" ":issue:`23094`: Fixed readline with frames in Python implementation of " "pickle." msgstr "" -#: ../NEWS:46553 +#: ../NEWS:46596 msgid ":issue:`23268`: Fixed bugs in the comparison of ipaddress classes." msgstr "" -#: ../NEWS:46555 +#: ../NEWS:46598 msgid "" ":issue:`21408`: Removed incorrect implementations of __ne__() which didn't " "returned NotImplemented if __eq__() returned NotImplemented. The default " "__ne__() now works correctly." msgstr "" -#: ../NEWS:46559 +#: ../NEWS:46602 msgid "" ":issue:`19996`: :class:`email.feedparser.FeedParser` now handles (malformed) " "headers with no key rather than assuming the body has started." msgstr "" -#: ../NEWS:46562 +#: ../NEWS:46605 msgid "" ":issue:`20188`: Support Application-Layer Protocol Negotiation (ALPN) in the " "ssl module." msgstr "" -#: ../NEWS:46565 +#: ../NEWS:46608 msgid "" ":issue:`23133`: Pickling of ipaddress objects now produces more compact and " "portable representation." msgstr "" -#: ../NEWS:46568 +#: ../NEWS:46611 msgid ":issue:`23248`: Update ssl error codes from latest OpenSSL git master." msgstr "" -#: ../NEWS:46570 +#: ../NEWS:46613 msgid "" ":issue:`23266`: Much faster implementation of ipaddress.collapse_addresses() " "when there are many non-consecutive addresses." msgstr "" -#: ../NEWS:46573 +#: ../NEWS:46616 msgid ":issue:`23098`: 64-bit dev_t is now supported in the os module." msgstr "" -#: ../NEWS:46575 +#: ../NEWS:46618 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 "" -#: ../NEWS:46579 +#: ../NEWS:46622 msgid "" ":issue:`15955`: Add an option to limit output size when decompressing LZMA " "data. Patch by Nikolaus Rath and Martin Panter." msgstr "" -#: ../NEWS:46582 +#: ../NEWS:46625 msgid "" ":issue:`23250`: In the http.cookies module, capitalize \"HttpOnly\" and " "\"Secure\" as they are written in the standard." msgstr "" -#: ../NEWS:46585 +#: ../NEWS:46628 msgid "" ":issue:`23063`: In the distutils' check command, fix parsing of reST with " "code or code-block directives." msgstr "" -#: ../NEWS:46588 +#: ../NEWS:46631 msgid "" ":issue:`23209`: selectors.BaseSelector.get_key() now raises a RuntimeError " "if the selector is closed. And selectors.BaseSelector.close() now clears its " @@ -72480,126 +72549,126 @@ msgid "" "Initial patch written by Martin Richard. (See also: :issue:`23225`)" msgstr "" -#: ../NEWS:46593 +#: ../NEWS:46636 msgid "" ":issue:`17911`: Provide a way to seed the linecache for a PEP-302 module " "without actually loading the code." msgstr "" -#: ../NEWS:46596 +#: ../NEWS:46639 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 "" -#: ../NEWS:46600 +#: ../NEWS:46643 msgid "" ":issue:`19777`: Provide a home() classmethod on Path objects. Contributed " "by Victor Salgado and Mayank Tripathi." msgstr "" -#: ../NEWS:46603 +#: ../NEWS:46646 msgid "" ":issue:`23206`: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the " "default case of ``ensure_ascii=True``. Patch by Naoki Inada." msgstr "" -#: ../NEWS:46606 +#: ../NEWS:46649 msgid ":issue:`23185`: Add math.inf and math.nan constants." msgstr "" -#: ../NEWS:46608 +#: ../NEWS:46651 msgid "" ":issue:`23186`: Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket." "shared_ciphers() to fetch the client's list ciphers sent at handshake." msgstr "" -#: ../NEWS:46612 +#: ../NEWS:46655 msgid ":issue:`23143`: Remove compatibility with OpenSSLs older than 0.9.8." msgstr "" -#: ../NEWS:46614 +#: ../NEWS:46657 msgid "" ":issue:`23132`: Improve performance and introspection support of comparison " "methods created by functool.total_ordering." msgstr "" -#: ../NEWS:46617 +#: ../NEWS:46660 msgid ":issue:`19776`: Add an expanduser() method on Path objects." msgstr "" -#: ../NEWS:46619 +#: ../NEWS:46662 msgid "" ":issue:`23112`: Fix SimpleHTTPServer to correctly carry the query string and " "fragment when it redirects to add a trailing slash." msgstr "" -#: ../NEWS:46622 +#: ../NEWS:46665 msgid "" ":issue:`21793`: Added http.HTTPStatus enums (i.e. HTTPStatus.OK, HTTPStatus." "NOT_FOUND). Patch by Demian Brecht." msgstr "" -#: ../NEWS:46625 +#: ../NEWS:46668 msgid "" ":issue:`23093`: In the io, module allow more operations to work on detached " "streams." msgstr "" -#: ../NEWS:46628 +#: ../NEWS:46671 msgid "" ":issue:`23111`: In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol " "version." msgstr "" -#: ../NEWS:46631 +#: ../NEWS:46674 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 "" -#: ../NEWS:46634 +#: ../NEWS:46677 msgid "" ":issue:`19104`: pprint now produces evaluable output for wrapped strings." msgstr "" -#: ../NEWS:46636 +#: ../NEWS:46679 msgid "" ":issue:`23071`: Added missing names to codecs.__all__. Patch by Martin " "Panter." msgstr "" -#: ../NEWS:46638 +#: ../NEWS:46681 msgid "" ":issue:`22783`: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX " "opcode if possible." msgstr "" -#: ../NEWS:46641 +#: ../NEWS:46684 msgid ":issue:`15513`: Added a __sizeof__ implementation for pickle classes." msgstr "" -#: ../NEWS:46643 +#: ../NEWS:46686 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 "" -#: ../NEWS:46647 +#: ../NEWS:46690 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 "" -#: ../NEWS:46650 +#: ../NEWS:46693 msgid "" ":issue:`23016`: A warning no longer produces an AttributeError when the " "program is run with pythonw.exe." msgstr "" -#: ../NEWS:46653 +#: ../NEWS:46696 msgid "" ":issue:`21775`: shutil.copytree(): fix crash when copying to VFAT. An " "exception handler assumed that OSError objects always have a 'winerror' " @@ -72608,42 +72677,42 @@ msgid "" "OS). Patch by Greg Ward." msgstr "" -#: ../NEWS:46659 +#: ../NEWS:46702 msgid "" ":issue:`1218234`: Fix inspect.getsource() to load updated source of reloaded " "module. Initial patch by Berker Peksag." msgstr "" -#: ../NEWS:46662 +#: ../NEWS:46705 msgid "" ":issue:`21740`: Support wrapped callables in doctest. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:46664 +#: ../NEWS:46707 msgid "" ":issue:`23009`: Make sure selectors.EpollSelector.select() works when no FD " "is registered." msgstr "" -#: ../NEWS:46667 +#: ../NEWS:46710 msgid "" ":issue:`22959`: In the constructor of http.client.HTTPSConnection, prefer " "the context's check_hostname attribute over the *check_hostname* parameter." msgstr "" -#: ../NEWS:46670 +#: ../NEWS:46713 msgid "" ":issue:`22696`: Add function :func:`sys.is_finalizing` to know about " "interpreter shutdown." msgstr "" -#: ../NEWS:46673 +#: ../NEWS:46716 msgid "" ":issue:`16043`: Add a default limit for the amount of data xmlrpclib." "gzip_decode will return. This resolves :cve:`2013-1753`." msgstr "" -#: ../NEWS:46676 +#: ../NEWS:46719 msgid "" ":issue:`14099`: ZipFile.open() no longer reopen the underlying file. " "Objects returned by ZipFile.open() can now operate independently of the " @@ -72651,619 +72720,619 @@ msgid "" "the first argument to the constructor." msgstr "" -#: ../NEWS:46681 +#: ../NEWS:46724 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 "" -#: ../NEWS:46684 +#: ../NEWS:46727 msgid ":issue:`21971`: Update turtledemo doc and add module to the index." msgstr "" -#: ../NEWS:46686 +#: ../NEWS:46729 msgid "" ":issue:`21032`: Fixed socket leak if HTTPConnection.getresponse() fails. " "Original patch by Martin Panter." msgstr "" -#: ../NEWS:46689 +#: ../NEWS:46732 msgid "" ":issue:`22407`: Deprecated the use of re.LOCALE flag with str patterns or re." "ASCII. It was newer worked." msgstr "" -#: ../NEWS:46692 +#: ../NEWS:46735 msgid "" ":issue:`22902`: The \"ip\" command is now used on Linux to determine MAC " "address in uuid.getnode(). Pach by Bruno Cauet." msgstr "" -#: ../NEWS:46695 +#: ../NEWS:46738 msgid "" ":issue:`22960`: Add a context argument to xmlrpclib.ServerProxy constructor." msgstr "" -#: ../NEWS:46697 +#: ../NEWS:46740 msgid ":issue:`22389`: Add contextlib.redirect_stderr()." msgstr "" -#: ../NEWS:46699 +#: ../NEWS:46742 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 "" -#: ../NEWS:46703 +#: ../NEWS:46746 msgid "" ":issue:`22915`: SAX parser now supports files opened with file descriptor or " "bytes path." msgstr "" -#: ../NEWS:46706 +#: ../NEWS:46749 msgid "" ":issue:`22609`: Constructors and update methods of mapping classes in the " "collections module now accept the self keyword argument." msgstr "" -#: ../NEWS:46709 +#: ../NEWS:46752 msgid ":issue:`22940`: Add readline.append_history_file." msgstr "" -#: ../NEWS:46711 +#: ../NEWS:46754 msgid ":issue:`19676`: Added the \"namereplace\" error handler." msgstr "" -#: ../NEWS:46713 +#: ../NEWS:46756 msgid "" ":issue:`22788`: Add *context* parameter to logging.handlers.HTTPHandler." msgstr "" -#: ../NEWS:46715 +#: ../NEWS:46758 msgid "" ":issue:`22921`: Allow SSLContext to take the *hostname* parameter even if " "OpenSSL doesn't support SNI." msgstr "" -#: ../NEWS:46718 +#: ../NEWS:46761 msgid "" ":issue:`22894`: TestCase.subTest() would cause the test suite to be stopped " "when in failfast mode, even in the absence of failures." msgstr "" -#: ../NEWS:46721 +#: ../NEWS:46764 msgid "" ":issue:`22796`: HTTP cookie parsing is now stricter, in order to protect " "against potential injection attacks." msgstr "" -#: ../NEWS:46724 +#: ../NEWS:46767 msgid ":issue:`22370`: Windows detection in pathlib is now more robust." msgstr "" -#: ../NEWS:46726 +#: ../NEWS:46769 msgid "" ":issue:`22841`: Reject coroutines in asyncio add_signal_handler(). Patch by " "Ludovic.Gasc." msgstr "" -#: ../NEWS:46729 +#: ../NEWS:46772 msgid "" ":issue:`19494`: Added urllib.request.HTTPBasicPriorAuthHandler. Patch by " "Matej Cepl." msgstr "" -#: ../NEWS:46732 +#: ../NEWS:46775 msgid ":issue:`22578`: Added attributes to the re.error class." msgstr "" -#: ../NEWS:46734 +#: ../NEWS:46777 msgid "" ":issue:`22849`: Fix possible double free in the io.TextIOWrapper constructor." msgstr "" -#: ../NEWS:46736 +#: ../NEWS:46779 msgid "" ":issue:`12728`: Different Unicode characters having the same uppercase but " "different lowercase are now matched in case-insensitive regular expressions." msgstr "" -#: ../NEWS:46740 +#: ../NEWS:46783 msgid "" ":issue:`22821`: Fixed fcntl() with integer argument on 64-bit big-endian " "platforms." msgstr "" -#: ../NEWS:46743 +#: ../NEWS:46786 msgid ":issue:`21650`: Add an ``--sort-keys`` option to ``json.tool`` CLI." msgstr "" -#: ../NEWS:46745 +#: ../NEWS:46788 msgid "" ":issue:`22824`: Updated reprlib output format for sets to use set literals. " "Patch contributed by Berker Peksag." msgstr "" -#: ../NEWS:46748 +#: ../NEWS:46791 msgid "" ":issue:`22824`: Updated reprlib output format for arrays to display empty " "arrays without an unnecessary empty list. Suggested by Serhiy Storchaka." msgstr "" -#: ../NEWS:46751 +#: ../NEWS:46794 msgid "" ":issue:`22406`: Fixed the uu_codec codec incorrectly ported to 3.x. Based on " "patch by Martin Panter." msgstr "" -#: ../NEWS:46754 +#: ../NEWS:46797 msgid "" ":issue:`17293`: uuid.getnode() now determines MAC address on AIX using " "netstat. Based on patch by Aivars Kalvāns." msgstr "" -#: ../NEWS:46757 +#: ../NEWS:46800 msgid "" ":issue:`22769`: Fixed ttk.Treeview.tag_has() when called without arguments." msgstr "" -#: ../NEWS:46759 +#: ../NEWS:46802 msgid ":issue:`22417`: Verify certificates by default in httplib (PEP 476)." msgstr "" -#: ../NEWS:46761 +#: ../NEWS:46804 msgid "" ":issue:`22775`: Fixed unpickling of http.cookies.SimpleCookie with protocol " "2 and above. Patch by Tim Graham." msgstr "" -#: ../NEWS:46764 +#: ../NEWS:46807 msgid "" ":issue:`22776`: Brought excluded code into the scope of a try block in " "SysLogHandler.emit()." msgstr "" -#: ../NEWS:46767 +#: ../NEWS:46810 msgid "" ":issue:`22665`: Add missing get_terminal_size and SameFileError to shutil." "__all__." msgstr "" -#: ../NEWS:46770 +#: ../NEWS:46813 msgid "" ":issue:`6623`: Remove deprecated Netrc class in the ftplib module. Patch by " "Matt Chaput." msgstr "" -#: ../NEWS:46773 +#: ../NEWS:46816 msgid "" ":issue:`17381`: Fixed handling of case-insensitive ranges in regular " "expressions." msgstr "" -#: ../NEWS:46776 +#: ../NEWS:46819 msgid "" ":issue:`22410`: Module level functions in the re module now cache compiled " "locale-dependent regular expressions taking into account the locale." msgstr "" -#: ../NEWS:46779 +#: ../NEWS:46822 msgid "" ":issue:`22759`: Query methods on pathlib.Path() (exists(), is_dir(), etc.) " "now return False when the underlying stat call raises NotADirectoryError." msgstr "" -#: ../NEWS:46782 +#: ../NEWS:46825 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 "" -#: ../NEWS:46786 +#: ../NEWS:46829 msgid ":issue:`22217`: Implemented reprs of classes in the zipfile module." msgstr "" -#: ../NEWS:46788 +#: ../NEWS:46831 msgid ":issue:`22457`: Honour load_tests in the start_dir of discovery." msgstr "" -#: ../NEWS:46790 +#: ../NEWS:46833 msgid "" ":issue:`18216`: gettext now raises an error when a .mo file has an " "unsupported major version number. Patch by Aaron Hill." msgstr "" -#: ../NEWS:46793 +#: ../NEWS:46836 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 "" -#: ../NEWS:46797 +#: ../NEWS:46840 msgid "" ":issue:`22676`: Make the pickling of global objects which don't have a " "__module__ attribute less slow." msgstr "" -#: ../NEWS:46800 +#: ../NEWS:46843 msgid ":issue:`18853`: Fixed ResourceWarning in shlex.__nain__." msgstr "" -#: ../NEWS:46802 +#: ../NEWS:46845 msgid "" ":issue:`9351`: Defaults set with set_defaults on an argparse subparser are " "no longer ignored when also set on the parent parser." msgstr "" -#: ../NEWS:46805 +#: ../NEWS:46848 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 "" -#: ../NEWS:46809 +#: ../NEWS:46852 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 "" -#: ../NEWS:46814 +#: ../NEWS:46857 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 "" -#: ../NEWS:46818 +#: ../NEWS:46861 msgid "" ":issue:`22638`: SSLv3 is now disabled throughout the standard library. It " "can still be enabled by instantiating a SSLContext manually." msgstr "" -#: ../NEWS:46821 +#: ../NEWS:46864 msgid "" ":issue:`22641`: In asyncio, the default SSL context for client connections " "is now created using ssl.create_default_context(), for stronger security." msgstr "" -#: ../NEWS:46824 +#: ../NEWS:46867 msgid ":issue:`17401`: Include closefd in io.FileIO repr." msgstr "" -#: ../NEWS:46826 +#: ../NEWS:46869 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 "" -#: ../NEWS:46830 +#: ../NEWS:46873 msgid ":issue:`20152`: Convert the array and cmath modules to Argument Clinic." msgstr "" -#: ../NEWS:46832 +#: ../NEWS:46875 msgid ":issue:`18643`: Add socket.socketpair() on Windows." msgstr "" -#: ../NEWS:46834 +#: ../NEWS:46877 msgid "" ":issue:`22435`: Fix a file descriptor leak when socketserver bind fails." msgstr "" -#: ../NEWS:46836 +#: ../NEWS:46879 msgid "" ":issue:`13096`: Fixed segfault in CTypes POINTER handling of large values." msgstr "" -#: ../NEWS:46838 +#: ../NEWS:46881 msgid "" ":issue:`11694`: Raise ConversionError in xdrlib as documented. Patch by " "Filip Gruszczyński and Claudiu Popa." msgstr "" -#: ../NEWS:46841 +#: ../NEWS:46884 msgid ":issue:`19380`: Optimized parsing of regular expressions." msgstr "" -#: ../NEWS:46843 +#: ../NEWS:46886 msgid "" ":issue:`1519638`: Now unmatched groups are replaced with empty strings in re." "sub() and re.subn()." msgstr "" -#: ../NEWS:46846 +#: ../NEWS:46889 msgid ":issue:`18615`: sndhdr.what/whathdr now return a namedtuple." msgstr "" -#: ../NEWS:46848 +#: ../NEWS:46891 msgid "" ":issue:`22462`: Fix pyexpat's creation of a dummy frame to make it appear in " "exception tracebacks." msgstr "" -#: ../NEWS:46851 +#: ../NEWS:46894 msgid "" ":issue:`21965`: Add support for in-memory SSL to the ssl module. Patch by " "Geert Jansen." msgstr "" -#: ../NEWS:46854 +#: ../NEWS:46897 msgid "" ":issue:`21173`: Fix len() on a WeakKeyDictionary when .clear() was called " "with an iterator alive." msgstr "" -#: ../NEWS:46857 +#: ../NEWS:46900 msgid "" ":issue:`11866`: Eliminated race condition in the computation of names for " "new threads." msgstr "" -#: ../NEWS:46860 +#: ../NEWS:46903 msgid "" ":issue:`21905`: Avoid RuntimeError in pickle.whichmodule() when sys.modules " "is mutated while iterating. Patch by Olivier Grisel." msgstr "" -#: ../NEWS:46863 +#: ../NEWS:46906 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 "" -#: ../NEWS:46867 +#: ../NEWS:46910 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 "" -#: ../NEWS:46871 +#: ../NEWS:46914 msgid "" ":issue:`22219`: The zipfile module CLI now adds entries for directories " "(including empty directories) in ZIP file." msgstr "" -#: ../NEWS:46874 +#: ../NEWS:46917 msgid "" ":issue:`22449`: In the ssl.SSLContext.load_default_certs, consult the " "environmental variables SSL_CERT_DIR and SSL_CERT_FILE on Windows." msgstr "" -#: ../NEWS:46877 +#: ../NEWS:46920 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 "" -#: ../NEWS:46881 +#: ../NEWS:46924 msgid "" ":issue:`20076`: Added non derived UTF-8 aliases to locale aliases table." msgstr "" -#: ../NEWS:46883 +#: ../NEWS:46926 msgid "" ":issue:`20079`: Added locales supported in glibc 2.18 to locale alias table." msgstr "" -#: ../NEWS:46885 +#: ../NEWS:46928 msgid "" ":issue:`20218`: Added convenience methods read_text/write_text and " "read_bytes/ write_bytes to pathlib.Path objects." msgstr "" -#: ../NEWS:46888 +#: ../NEWS:46931 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 "" -#: ../NEWS:46891 +#: ../NEWS:46934 msgid "" ":issue:`22517`: When an io.BufferedRWPair object is deallocated, clear its " "weakrefs." msgstr "" -#: ../NEWS:46894 +#: ../NEWS:46937 msgid "" ":issue:`22437`: Number of capturing groups in regular expression is no " "longer limited by 100." msgstr "" -#: ../NEWS:46897 +#: ../NEWS:46940 msgid "" ":issue:`17442`: InteractiveInterpreter now displays the full chained " "traceback in its showtraceback method, to match the built in interactive " "interpreter." msgstr "" -#: ../NEWS:46901 +#: ../NEWS:46944 msgid ":issue:`23392`: Added tests for marshal C API that works with FILE*." msgstr "" -#: ../NEWS:46903 +#: ../NEWS:46946 msgid "" ":issue:`10510`: distutils register and upload methods now use HTML standards " "compliant CRLF line endings." msgstr "" -#: ../NEWS:46906 +#: ../NEWS:46949 msgid "" ":issue:`9850`: Fixed macpath.join() for empty first component. Patch by " "Oleg Oshmyan." msgstr "" -#: ../NEWS:46909 +#: ../NEWS:46952 msgid "" ":issue:`5309`: distutils' build and build_ext commands now accept a ``-j`` " "option to enable parallel building of extension modules." msgstr "" -#: ../NEWS:46912 +#: ../NEWS:46955 msgid "" ":issue:`22448`: Improve canceled timer handles cleanup to prevent unbound " "memory usage. Patch by Joshua Moore-Oliva." msgstr "" -#: ../NEWS:46915 +#: ../NEWS:46958 msgid "" ":issue:`22427`: TemporaryDirectory no longer attempts to clean up twice when " "used in the with statement in generator." msgstr "" -#: ../NEWS:46918 +#: ../NEWS:46961 msgid "" ":issue:`22362`: Forbidden ambiguous octal escapes out of range 0-0o377 in " "regular expressions." msgstr "" -#: ../NEWS:46921 +#: ../NEWS:46964 msgid "" ":issue:`20912`: Now directories added to ZIP file have correct Unix and MS-" "DOS directory attributes." msgstr "" -#: ../NEWS:46924 +#: ../NEWS:46967 msgid "" ":issue:`21866`: ZipFile.close() no longer writes ZIP64 central directory " "records if allowZip64 is false." msgstr "" -#: ../NEWS:46927 +#: ../NEWS:46970 msgid "" ":issue:`22278`: Fix urljoin problem with relative urls, a regression " "observed after changes to issue22118 were submitted." msgstr "" -#: ../NEWS:46930 +#: ../NEWS:46973 msgid "" ":issue:`22415`: Fixed debugging output of the GROUPREF_EXISTS opcode in the " "re module. Removed trailing spaces in debugging output." msgstr "" -#: ../NEWS:46933 +#: ../NEWS:46976 msgid "" ":issue:`22423`: Unhandled exception in thread no longer causes unhandled " "AttributeError when sys.stderr is None." msgstr "" -#: ../NEWS:46936 +#: ../NEWS:46979 msgid "" ":issue:`21332`: Ensure that ``bufsize=1`` in subprocess.Popen() selects line " "buffering, rather than block buffering. Patch by Akira Li." msgstr "" -#: ../NEWS:46939 +#: ../NEWS:46982 msgid "" ":issue:`21091`: Fix API bug: email.message.EmailMessage.is_attachment is now " "a method." msgstr "" -#: ../NEWS:46942 +#: ../NEWS:46985 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 "" -#: ../NEWS:46945 +#: ../NEWS:46988 msgid ":issue:`22247`: Add NNTPError to nntplib.__all__." msgstr "" -#: ../NEWS:46947 +#: ../NEWS:46990 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 "" -#: ../NEWS:46951 +#: ../NEWS:46994 msgid "" ":issue:`4180`: The warnings registries are now reset when the filters are " "modified." msgstr "" -#: ../NEWS:46954 +#: ../NEWS:46997 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 "" -#: ../NEWS:46958 +#: ../NEWS:47001 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 "" -#: ../NEWS:46962 +#: ../NEWS:47005 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 "" -#: ../NEWS:46965 +#: ../NEWS:47008 msgid "" ":issue:`22384`: An exception in Tkinter callback no longer crashes the " "program when it is run with pythonw.exe." msgstr "" -#: ../NEWS:46968 +#: ../NEWS:47011 msgid "" ":issue:`22168`: Prevent turtle AttributeError with non-default Canvas on OS " "X." msgstr "" -#: ../NEWS:46970 +#: ../NEWS:47013 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 "" -#: ../NEWS:46973 +#: ../NEWS:47016 msgid "" ":issue:`13968`: The glob module now supports recursive search in " "subdirectories using the ``**`` pattern." msgstr "" -#: ../NEWS:46976 +#: ../NEWS:47019 msgid "" ":issue:`21951`: Fixed a crash in Tkinter on AIX when called Tcl command with " "empty string or tuple argument." msgstr "" -#: ../NEWS:46979 +#: ../NEWS:47022 msgid "" ":issue:`21951`: Tkinter now most likely raises MemoryError instead of crash " "if the memory allocation fails." msgstr "" -#: ../NEWS:46982 +#: ../NEWS:47025 msgid "" ":issue:`22338`: Fix a crash in the json module on memory allocation failure." msgstr "" -#: ../NEWS:46984 +#: ../NEWS:47027 msgid "" ":issue:`12410`: imaplib.IMAP4 now supports the context management protocol. " "Original patch by Tarek Ziadé." msgstr "" -#: ../NEWS:46987 +#: ../NEWS:47030 msgid "" ":issue:`21270`: We now override tuple methods in mock.call objects so that " "they can be used as normal call attributes." msgstr "" -#: ../NEWS:46990 +#: ../NEWS:47033 msgid "" ":issue:`16662`: ``load_tests()`` is now unconditionally run when it is " "present in a package's ``__init__.py``. ``TestLoader." @@ -73272,46 +73341,46 @@ msgid "" "documented. Patch given by Robert Collins, tweaked by Barry Warsaw." msgstr "" -#: ../NEWS:46996 +#: ../NEWS:47039 msgid "" ":issue:`22226`: First letter no longer is stripped from the \"status\" key " "in the result of Treeview.heading()." msgstr "" -#: ../NEWS:46999 +#: ../NEWS:47042 msgid "" ":issue:`19524`: Fixed resource leak in the HTTP connection when an invalid " "response is received. Patch by Martin Panter." msgstr "" -#: ../NEWS:47002 +#: ../NEWS:47045 msgid "" ":issue:`20421`: Add a .version() method to SSL sockets exposing the actual " "protocol version in use." msgstr "" -#: ../NEWS:47005 +#: ../NEWS:47048 msgid "" ":issue:`19546`: configparser exceptions no longer expose implementation " "details. Chained KeyErrors are removed, which leads to cleaner tracebacks. " "Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47009 +#: ../NEWS:47052 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 "" -#: ../NEWS:47013 +#: ../NEWS:47056 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 "" -#: ../NEWS:47017 +#: ../NEWS:47060 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 " @@ -73320,47 +73389,47 @@ msgid "" "Lita Cho." msgstr "" -#: ../NEWS:47023 +#: ../NEWS:47066 msgid "" ":issue:`18132`: Turtledemo buttons no longer disappear when the window is " "shrunk. Original patches by Jan Kanis and Lita Cho." msgstr "" -#: ../NEWS:47026 +#: ../NEWS:47069 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 "" -#: ../NEWS:47031 +#: ../NEWS:47074 msgid "" ":issue:`21527`: Add a default number of workers to ThreadPoolExecutor equal " "to 5 times the number of CPUs. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47034 +#: ../NEWS:47077 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 "" -#: ../NEWS:47038 +#: ../NEWS:47081 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 "" -#: ../NEWS:47042 +#: ../NEWS:47085 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 "" -#: ../NEWS:47046 +#: ../NEWS:47089 msgid "" ":issue:`22287`: On UNIX, _PyTime_gettimeofday() now uses " "clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now " @@ -73368,251 +73437,251 @@ msgid "" "than 2.17)." msgstr "" -#: ../NEWS:47051 +#: ../NEWS:47094 msgid "" ":issue:`22182`: Use e.args to unpack exceptions correctly in distutils." "file_util.move_file. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47054 +#: ../NEWS:47097 msgid "" "The webbrowser module now uses subprocess's start_new_session=True rather " "than a potentially risky preexec_fn=os.setsid call." msgstr "" -#: ../NEWS:47057 +#: ../NEWS:47100 msgid "" ":issue:`22042`: signal.set_wakeup_fd(fd) now raises an exception if the file " "descriptor is in blocking mode." msgstr "" -#: ../NEWS:47060 +#: ../NEWS:47103 msgid "" ":issue:`16808`: inspect.stack() now returns a named tuple instead of a " "tuple. Patch by Daniel Shahaf." msgstr "" -#: ../NEWS:47063 +#: ../NEWS:47106 msgid "" ":issue:`22236`: Fixed Tkinter images copying operations in NoDefaultRoot " "mode." msgstr "" -#: ../NEWS:47065 +#: ../NEWS:47108 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 "" -#: ../NEWS:47069 +#: ../NEWS:47112 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 "" -#: ../NEWS:47073 +#: ../NEWS:47116 msgid ":issue:`21549`: Added the \"members\" parameter to TarFile.list()." msgstr "" -#: ../NEWS:47075 +#: ../NEWS:47118 msgid "" ":issue:`19628`: Allow compileall recursion depth to be specified with a -r " "option." msgstr "" -#: ../NEWS:47078 +#: ../NEWS:47121 msgid "" ":issue:`15696`: Add a __sizeof__ implementation for mmap objects on Windows." msgstr "" -#: ../NEWS:47080 +#: ../NEWS:47123 msgid "" ":issue:`22068`: Avoided reference loops with Variables and Fonts in Tkinter." msgstr "" -#: ../NEWS:47082 +#: ../NEWS:47125 msgid "" ":issue:`22165`: SimpleHTTPRequestHandler now supports undecodable file names." msgstr "" -#: ../NEWS:47084 +#: ../NEWS:47127 msgid ":issue:`15381`: Optimized line reading in io.BytesIO." msgstr "" -#: ../NEWS:47086 +#: ../NEWS:47129 msgid "" ":issue:`8797`: Raise HTTPError on failed Basic Authentication immediately. " "Initial patch by Sam Bull." msgstr "" -#: ../NEWS:47089 +#: ../NEWS:47132 msgid "" ":issue:`20729`: Restored the use of lazy iterkeys()/itervalues()/iteritems() " "in the mailbox module." msgstr "" -#: ../NEWS:47092 +#: ../NEWS:47135 msgid "" ":issue:`21448`: Changed FeedParser feed() to avoid *O*\\ (*n*\\ :sup:`2`) " "behavior when parsing long line. Original patch by Raymond Hettinger." msgstr "" -#: ../NEWS:47095 +#: ../NEWS:47138 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 "" -#: ../NEWS:47098 +#: ../NEWS:47141 msgid "" ":issue:`17923`: glob() patterns ending with a slash no longer match non-dirs " "on AIX. Based on patch by Delhallt." msgstr "" -#: ../NEWS:47101 +#: ../NEWS:47144 msgid ":issue:`21725`: Added support for RFC 6531 (SMTPUTF8) in smtpd." msgstr "" -#: ../NEWS:47103 +#: ../NEWS:47146 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 "" -#: ../NEWS:47107 +#: ../NEWS:47150 msgid "" ":issue:`5411`: Added support for the \"xztar\" format in the shutil module." msgstr "" -#: ../NEWS:47109 +#: ../NEWS:47152 msgid "" ":issue:`21121`: Don't force 3rd party C extensions to be built with -" "Werror=declaration-after-statement." msgstr "" -#: ../NEWS:47112 +#: ../NEWS:47155 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 "" -#: ../NEWS:47116 +#: ../NEWS:47159 msgid ":issue:`20170`: Convert posixmodule to use Argument Clinic." msgstr "" -#: ../NEWS:47118 +#: ../NEWS:47161 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 "" -#: ../NEWS:47122 +#: ../NEWS:47165 msgid "" ":issue:`22127`: Bypass IDNA for pure-ASCII host names in the socket module " "(in particular for numeric IPs)." msgstr "" -#: ../NEWS:47125 +#: ../NEWS:47168 msgid "" ":issue:`21047`: set the default value for the *convert_charrefs* argument of " "HTMLParser to True. Patch by Berker Peksag." msgstr "" -#: ../NEWS:47128 +#: ../NEWS:47171 msgid "Add an __all__ to html.entities." msgstr "" -#: ../NEWS:47130 +#: ../NEWS:47173 msgid "" ":issue:`15114`: the strict mode and argument of HTMLParser, HTMLParser." "error, and the HTMLParserError exception have been removed." msgstr "" -#: ../NEWS:47133 +#: ../NEWS:47176 msgid ":issue:`22085`: Dropped support of Tk 8.3 in Tkinter." msgstr "" -#: ../NEWS:47135 +#: ../NEWS:47178 msgid "" ":issue:`21580`: Now Tkinter correctly handles bytes arguments passed to Tk. " "In particular this allows initializing images from binary data." msgstr "" -#: ../NEWS:47138 +#: ../NEWS:47181 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 "" -#: ../NEWS:47142 +#: ../NEWS:47185 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 "" -#: ../NEWS:47145 +#: ../NEWS:47188 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 "" -#: ../NEWS:47150 +#: ../NEWS:47193 msgid "" ":issue:`17172`: Make turtledemo start as active on OS X even when run with " "subprocess. Patch by Lita Cho." msgstr "" -#: ../NEWS:47153 +#: ../NEWS:47196 msgid "" ":issue:`21704`: Fix build error for _multiprocessing when semaphores are not " "available. Patch by Arfrever Frehtes Taifersar Arahesis." msgstr "" -#: ../NEWS:47156 +#: ../NEWS:47199 msgid "" ":issue:`20173`: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. " "Patch by Vajrasky Kok." msgstr "" -#: ../NEWS:47159 +#: ../NEWS:47202 msgid "" "Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on " "closed socket. repr(socket.socket) already works fine." msgstr "" -#: ../NEWS:47162 +#: ../NEWS:47205 msgid "" ":issue:`22033`: Reprs of most Python implemented classes now contain actual " "class name instead of hardcoded one." msgstr "" -#: ../NEWS:47165 +#: ../NEWS:47208 msgid "" ":issue:`21947`: The dis module can now disassemble generator-iterator " "objects based on their gi_code attribute. Patch by Clement Rouault." msgstr "" -#: ../NEWS:47168 +#: ../NEWS:47211 msgid "" ":issue:`16133`: The asynchat.async_chat.handle_read() method now ignores " "BlockingIOError exceptions." msgstr "" -#: ../NEWS:47171 +#: ../NEWS:47214 msgid "" ":issue:`22044`: Fixed premature DECREF in call_tzinfo_method. Patch by Tom " "Flanagan." msgstr "" -#: ../NEWS:47174 +#: ../NEWS:47217 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. " @@ -73620,69 +73689,69 @@ msgid "" "support of 8 bit characters." msgstr "" -#: ../NEWS:47179 +#: ../NEWS:47222 msgid "" ":issue:`4350`: Removed a number of out-of-dated and non-working for a long " "time Tkinter methods." msgstr "" -#: ../NEWS:47182 +#: ../NEWS:47225 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 "" -#: ../NEWS:47186 +#: ../NEWS:47229 msgid ":issue:`15275`: Clean up and speed up the ntpath module." msgstr "" -#: ../NEWS:47188 +#: ../NEWS:47231 msgid "" ":issue:`21888`: plistlib's load() and loads() now work if the fmt parameter " "is specified." msgstr "" -#: ../NEWS:47191 +#: ../NEWS:47234 msgid "" ":issue:`22032`: __qualname__ instead of __name__ is now always used to " "format fully qualified class names of Python implemented classes." msgstr "" -#: ../NEWS:47194 +#: ../NEWS:47237 msgid "" ":issue:`22031`: Reprs now always use hexadecimal format with the \"0x\" " "prefix when contain an id in form \" at 0x...\"." msgstr "" -#: ../NEWS:47197 +#: ../NEWS:47240 msgid "" ":issue:`22018`: signal.set_wakeup_fd() now raises an OSError instead of a " "ValueError on ``fstat()`` failure." msgstr "" -#: ../NEWS:47200 +#: ../NEWS:47243 msgid "" ":issue:`21044`: tarfile.open() now handles fileobj with an integer 'name' " "attribute. Based on patch by Antoine Pietri." msgstr "" -#: ../NEWS:47203 +#: ../NEWS:47246 msgid ":issue:`21966`: Respect -q command-line option when code module is ran." msgstr "" -#: ../NEWS:47205 +#: ../NEWS:47248 msgid "" ":issue:`19076`: Don't pass the redundant 'file' argument to self.error()." msgstr "" -#: ../NEWS:47207 +#: ../NEWS:47250 msgid "" ":issue:`16382`: Improve exception message of warnings.warn() for bad " "category. Initial patch by Phil Elson." msgstr "" -#: ../NEWS:47210 +#: ../NEWS:47253 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 " @@ -73690,82 +73759,82 @@ msgid "" "may read less bytes than the number of requested bytes." msgstr "" -#: ../NEWS:47215 +#: ../NEWS:47258 msgid "" ":issue:`21942`: Fixed source file viewing in pydoc's server mode on Windows." msgstr "" -#: ../NEWS:47217 +#: ../NEWS:47260 msgid "" ":issue:`11259`: asynchat.async_chat().set_terminator() now raises a " "ValueError if the number of received bytes is negative." msgstr "" -#: ../NEWS:47220 +#: ../NEWS:47263 msgid "" ":issue:`12523`: asynchat.async_chat.push() now raises a TypeError if it " "doesn't get a bytes string" msgstr "" -#: ../NEWS:47223 +#: ../NEWS:47266 msgid "" ":issue:`21707`: Add missing kwonlyargcount argument to ModuleFinder." "replace_paths_in_code()." msgstr "" -#: ../NEWS:47226 +#: ../NEWS:47269 msgid "" ":issue:`20639`: calling Path.with_suffix('') allows removing the suffix " "again. Patch by July Tikhonov." msgstr "" -#: ../NEWS:47229 +#: ../NEWS:47272 msgid "" ":issue:`21714`: Disallow the construction of invalid paths using Path." "with_name(). Original patch by Antony Lee." msgstr "" -#: ../NEWS:47232 +#: ../NEWS:47275 msgid "" ":issue:`15014`: Added 'auth' method to smtplib to make implementing auth " "mechanisms simpler, and used it internally in the login method." msgstr "" -#: ../NEWS:47235 +#: ../NEWS:47278 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 "" -#: ../NEWS:47238 +#: ../NEWS:47281 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 "" -#: ../NEWS:47241 +#: ../NEWS:47284 msgid "" ":issue:`5800`: headers parameter of wsgiref.headers.Headers is now optional. " "Initial patch by Pablo Torres Navarrete and SilentGhost." msgstr "" -#: ../NEWS:47244 +#: ../NEWS:47287 msgid ":issue:`21781`: ssl.RAND_add() now supports strings longer than 2 GB." msgstr "" -#: ../NEWS:47246 +#: ../NEWS:47289 msgid "" ":issue:`21679`: Prevent extraneous fstat() calls during open(). Patch by " "Bohuslav Kabrda." msgstr "" -#: ../NEWS:47249 +#: ../NEWS:47292 msgid "" ":issue:`21863`: cProfile now displays the module name of C extension " "functions, in addition to their own name." msgstr "" -#: ../NEWS:47252 +#: ../NEWS:47295 msgid "" ":issue:`11453`: asyncore: emit a ResourceWarning when an unclosed " "file_wrapper object is destroyed. The destructor now closes the file if " @@ -73773,126 +73842,126 @@ msgid "" "nothing." msgstr "" -#: ../NEWS:47256 +#: ../NEWS:47299 msgid "" ":issue:`21858`: Better handling of Python exceptions in the sqlite3 module." msgstr "" -#: ../NEWS:47258 +#: ../NEWS:47301 msgid "" ":issue:`21476`: Make sure the email.parser.BytesParser TextIOWrapper is " "discarded after parsing, so the input file isn't unexpectedly closed." msgstr "" -#: ../NEWS:47261 +#: ../NEWS:47304 msgid ":issue:`20295`: imghdr now recognizes OpenEXR format images." msgstr "" -#: ../NEWS:47263 +#: ../NEWS:47306 msgid "" ":issue:`21729`: Used the \"with\" statement in the dbm.dumb module to ensure " "files closing. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47266 +#: ../NEWS:47309 msgid "" ":issue:`21491`: socketserver: Fix a race condition in child processes " "reaping." msgstr "" -#: ../NEWS:47268 +#: ../NEWS:47311 msgid "" ":issue:`21719`: Added the ``st_file_attributes`` field to os.stat_result on " "Windows." msgstr "" -#: ../NEWS:47271 +#: ../NEWS:47314 msgid ":issue:`21832`: Require named tuple inputs to be exact strings." msgstr "" -#: ../NEWS:47273 +#: ../NEWS:47316 msgid "" ":issue:`21722`: The distutils \"upload\" command now exits with a non-zero " "return code when uploading fails. Patch by Martin Dengler." msgstr "" -#: ../NEWS:47276 +#: ../NEWS:47319 msgid "" ":issue:`21723`: asyncio.Queue: support any type of number (ex: float) for " "the maximum size. Patch written by Vajrasky Kok." msgstr "" -#: ../NEWS:47279 +#: ../NEWS:47322 msgid "" ":issue:`21711`: support for \"site-python\" directories has now been removed " "from the site module (it was deprecated in 3.4)." msgstr "" -#: ../NEWS:47282 +#: ../NEWS:47325 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 "" -#: ../NEWS:47286 +#: ../NEWS:47329 msgid "" ":issue:`18039`: dbm.dump.open() now always creates a new database when the " "flag has the value 'n'. Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47289 +#: ../NEWS:47332 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 "" -#: ../NEWS:47293 +#: ../NEWS:47336 msgid "" ":issue:`21766`: Prevent a security hole in CGIHTTPServer by URL unquoting " "paths before checking for a CGI script at that path." msgstr "" -#: ../NEWS:47296 +#: ../NEWS:47339 msgid ":issue:`21310`: Fixed possible resource leak in failed open()." msgstr "" -#: ../NEWS:47298 +#: ../NEWS:47341 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 "" -#: ../NEWS:47301 +#: ../NEWS:47344 msgid "" ":issue:`21677`: Fixed chaining nonnormalized exceptions in io close() " "methods." msgstr "" -#: ../NEWS:47303 +#: ../NEWS:47346 msgid "" ":issue:`11709`: Fix the pydoc.help function to not fail when sys.stdin is " "not a valid file." msgstr "" -#: ../NEWS:47306 +#: ../NEWS:47349 msgid "" ":issue:`21515`: tempfile.TemporaryFile now uses os.O_TMPFILE flag is " "available." msgstr "" -#: ../NEWS:47308 +#: ../NEWS:47351 msgid "" ":issue:`13223`: Fix pydoc.writedoc so that the HTML documentation for " "methods that use 'self' in the example code is generated correctly." msgstr "" -#: ../NEWS:47311 +#: ../NEWS:47354 msgid ":issue:`21463`: In urllib.request, fix pruning of the FTP cache." msgstr "" -#: ../NEWS:47313 +#: ../NEWS:47356 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 " @@ -73900,19 +73969,19 @@ msgid "" "or /dev/fd interface the max is now ignored and all fds are closed." msgstr "" -#: ../NEWS:47318 +#: ../NEWS:47361 msgid "" ":issue:`20383`: Introduce importlib.util.module_from_spec() as the preferred " "way to create a new module." msgstr "" -#: ../NEWS:47321 +#: ../NEWS:47364 msgid "" ":issue:`21552`: Fixed possible integer overflow of too long string lengths " "in the tkinter module on 64-bit platforms." msgstr "" -#: ../NEWS:47324 +#: ../NEWS:47367 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 " @@ -73920,349 +73989,349 @@ msgid "" "the wild and is ignored by other zip tools." msgstr "" -#: ../NEWS:47329 +#: ../NEWS:47372 msgid "" ":issue:`13742`: Added \"key\" and \"reverse\" parameters to heapq.merge(). " "(First draft of patch contributed by Simon Sapin.)" msgstr "" -#: ../NEWS:47332 +#: ../NEWS:47375 msgid "" ":issue:`21402`: tkinter.ttk now works when default root window is not set." msgstr "" -#: ../NEWS:47334 +#: ../NEWS:47377 msgid "" ":issue:`3015`: ``_tkinter.create()`` now creates ``tkapp`` object with " "``wantobjects=1`` by default." msgstr "" -#: ../NEWS:47337 +#: ../NEWS:47380 msgid "" ":issue:`10203`: sqlite3.Row now truly supports sequence protocol. In " "particular it supports reverse() and negative indices. Original patch by " "Claudiu Popa." msgstr "" -#: ../NEWS:47341 +#: ../NEWS:47384 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 "" -#: ../NEWS:47345 +#: ../NEWS:47388 msgid "" ":issue:`20197`: Added support for the WebP image type in the imghdr module. " "Patch by Fabrice Aneche and Claudiu Popa." msgstr "" -#: ../NEWS:47348 +#: ../NEWS:47391 msgid "" ":issue:`21513`: Speedup some properties of IP addresses (IPv4Address, " "IPv6Address) such as .is_private or .is_multicast." msgstr "" -#: ../NEWS:47351 +#: ../NEWS:47394 msgid "" ":issue:`21137`: Improve the repr for threading.Lock() and its variants by " "showing the \"locked\" or \"unlocked\" status. Patch by Berker Peksag." msgstr "" -#: ../NEWS:47354 +#: ../NEWS:47397 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 "" -#: ../NEWS:47357 +#: ../NEWS:47400 msgid ":issue:`21455`: Add a default backlog to socket.listen()." msgstr "" -#: ../NEWS:47359 +#: ../NEWS:47402 msgid "" ":issue:`21525`: Most Tkinter methods which accepted tuples now accept lists " "too." msgstr "" -#: ../NEWS:47362 +#: ../NEWS:47405 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 "" -#: ../NEWS:47366 +#: ../NEWS:47409 msgid "" ":issue:`22236`: Tkinter tests now don't reuse default root window. New root " "window is created for every test class." msgstr "" -#: ../NEWS:47369 +#: ../NEWS:47412 msgid "" ":issue:`10744`: Fix :pep:`3118` format strings on ctypes objects with a " "nontrivial shape." msgstr "" -#: ../NEWS:47372 +#: ../NEWS:47415 msgid ":issue:`20826`: Optimize ipaddress.collapse_addresses()." msgstr "" -#: ../NEWS:47374 +#: ../NEWS:47417 msgid "" ":issue:`21487`: Optimize ipaddress.summarize_address_range() and ipaddress." "{IPv4Network,IPv6Network}.subnets()." msgstr "" -#: ../NEWS:47377 +#: ../NEWS:47420 msgid "" ":issue:`21486`: Optimize parsing of netmasks in ipaddress.IPv4Network and " "ipaddress.IPv6Network." msgstr "" -#: ../NEWS:47380 +#: ../NEWS:47423 msgid "" ":issue:`13916`: Disallowed the surrogatepass error handler for non UTF-\\* " "encodings." msgstr "" -#: ../NEWS:47383 +#: ../NEWS:47426 msgid "" ":issue:`20998`: Fixed re.fullmatch() of repeated single character pattern " "with ignore case. Original patch by Matthew Barnett." msgstr "" -#: ../NEWS:47386 +#: ../NEWS:47429 msgid "" ":issue:`21075`: fileinput.FileInput now reads bytes from standard stream if " "binary mode is specified. Patch by Sam Kimbrel." msgstr "" -#: ../NEWS:47389 +#: ../NEWS:47432 msgid "" ":issue:`19775`: Add a samefile() method to pathlib Path objects. Initial " "patch by Vajrasky Kok." msgstr "" -#: ../NEWS:47392 +#: ../NEWS:47435 msgid "" ":issue:`21226`: Set up modules properly in PyImport_ExecCodeModuleObject " "(and friends)." msgstr "" -#: ../NEWS:47395 +#: ../NEWS:47438 msgid "" ":issue:`21398`: Fix a unicode error in the pydoc pager when the " "documentation contains characters not encodable to the stdout encoding." msgstr "" -#: ../NEWS:47398 +#: ../NEWS:47441 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 "" -#: ../NEWS:47402 +#: ../NEWS:47445 msgid "" ":issue:`21156`: importlib.abc.InspectLoader.source_to_code() is now a " "staticmethod." msgstr "" -#: ../NEWS:47405 +#: ../NEWS:47448 msgid "" ":issue:`21424`: Simplified and optimized heaqp.nlargest() and nmsmallest() " "to make fewer tuple comparisons." msgstr "" -#: ../NEWS:47408 +#: ../NEWS:47451 msgid "" ":issue:`21396`: Fix TextIOWrapper(..., write_through=True) to not force a " "flush() on the underlying binary stream. Patch by akira." msgstr "" -#: ../NEWS:47411 +#: ../NEWS:47454 msgid "" ":issue:`18314`: Unlink now removes junctions on Windows. Patch by Kim Gräsman" msgstr "" -#: ../NEWS:47413 +#: ../NEWS:47456 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 "" -#: ../NEWS:47416 +#: ../NEWS:47459 msgid ":issue:`21407`: _decimal: The module now supports function signatures." msgstr "" -#: ../NEWS:47418 +#: ../NEWS:47461 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 "" -#: ../NEWS:47422 +#: ../NEWS:47465 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 "" -#: ../NEWS:47426 +#: ../NEWS:47469 msgid "" ":issue:`19414`: Have the OrderedDict mark deleted links as unusable. This " "gives an early failure if the link is deleted during iteration." msgstr "" -#: ../NEWS:47429 +#: ../NEWS:47472 msgid "" ":issue:`21421`: Add __slots__ to the MappingViews ABC. Patch by Josh " "Rosenberg." msgstr "" -#: ../NEWS:47431 +#: ../NEWS:47474 msgid "" ":issue:`21101`: Eliminate double hashing in the C speed-up code for " "collections.Counter()." msgstr "" -#: ../NEWS:47434 +#: ../NEWS:47477 msgid "" ":issue:`21321`: itertools.islice() now releases the reference to the source " "iterator when the slice is exhausted. Patch by Anton Afanasyev." msgstr "" -#: ../NEWS:47437 +#: ../NEWS:47480 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 "" -#: ../NEWS:47441 +#: ../NEWS:47484 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 "" -#: ../NEWS:47445 +#: ../NEWS:47488 msgid "" ":issue:`13248`: removed previously deprecated asyncore.dispatcher " "__getattr__ cheap inheritance hack." msgstr "" -#: ../NEWS:47448 +#: ../NEWS:47491 msgid "" ":issue:`9815`: assertRaises now tries to clear references to local variables " "in the exception's traceback." msgstr "" -#: ../NEWS:47451 +#: ../NEWS:47494 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 "" -#: ../NEWS:47454 +#: ../NEWS:47497 msgid "" ":issue:`13204`: Calling sys.flags.__new__ would crash the interpreter, now " "it raises a TypeError." msgstr "" -#: ../NEWS:47457 +#: ../NEWS:47500 msgid "" ":issue:`19385`: Make operations on a closed dbm.dumb database always raise " "the same exception." msgstr "" -#: ../NEWS:47460 +#: ../NEWS:47503 msgid "" ":issue:`21207`: Detect when the os.urandom cached fd has been closed or " "replaced, and open it anew." msgstr "" -#: ../NEWS:47463 +#: ../NEWS:47506 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 "" -#: ../NEWS:47467 +#: ../NEWS:47510 msgid "" ":issue:`21127`: Path objects can now be instantiated from str subclass " "instances (such as ``numpy.str_``)." msgstr "" -#: ../NEWS:47470 +#: ../NEWS:47513 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 "" -#: ../NEWS:47474 +#: ../NEWS:47517 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 "" -#: ../NEWS:47477 +#: ../NEWS:47520 msgid ":issue:`21068`: The ssl.PROTOCOL* constants are now enum members." msgstr "" -#: ../NEWS:47479 +#: ../NEWS:47522 msgid "" ":issue:`21276`: posixmodule: Don't define USE_XATTRS on KFreeBSD and the " "Hurd." msgstr "" -#: ../NEWS:47481 +#: ../NEWS:47524 msgid "" ":issue:`21262`: New method assert_not_called for Mock. It raises " "AssertionError if the mock has been called." msgstr "" -#: ../NEWS:47484 +#: ../NEWS:47527 msgid "" ":issue:`21238`: New keyword argument ``unsafe`` to Mock. It raises " "``AttributeError`` incase of an attribute startswith assert or assret." msgstr "" -#: ../NEWS:47487 +#: ../NEWS:47530 msgid "" ":issue:`20896`: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not " "PROTOCOL_SSLv3, for maximum compatibility." msgstr "" -#: ../NEWS:47490 +#: ../NEWS:47533 msgid "" ":issue:`21239`: patch.stopall() didn't work deterministically when the same " "name was patched more than once." msgstr "" -#: ../NEWS:47493 +#: ../NEWS:47536 msgid "" ":issue:`21203`: Updated fileConfig and dictConfig to remove inconsistencies. " "Thanks to Jure Koren for the patch." msgstr "" -#: ../NEWS:47496 +#: ../NEWS:47539 msgid "" ":issue:`21222`: Passing name keyword argument to mock.create_autospec now " "works." msgstr "" -#: ../NEWS:47499 +#: ../NEWS:47542 msgid "" ":issue:`21197`: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX." msgstr "" -#: ../NEWS:47501 +#: ../NEWS:47544 msgid "" ":issue:`17498`: Some SMTP servers disconnect after certain errors, violating " "strict RFC conformance. Instead of losing the error code when we issue the " @@ -74270,198 +74339,198 @@ msgid "" "SMTPServerDisconnected error until the next command is issued." msgstr "" -#: ../NEWS:47506 +#: ../NEWS:47549 msgid "" ":issue:`17826`: setting an iterable side_effect on a mock function created " "by create_autospec now works. Patch by Kushal Das." msgstr "" -#: ../NEWS:47509 +#: ../NEWS:47552 msgid "" ":issue:`7776`: Fix ``Host:`` header and reconnection when using http.client." "HTTPConnection.set_tunnel(). Patch by Nikolaus Rath." msgstr "" -#: ../NEWS:47512 +#: ../NEWS:47555 msgid "" ":issue:`20968`: unittest.mock.MagicMock now supports division. Patch by " "Johannes Baiter." msgstr "" -#: ../NEWS:47515 +#: ../NEWS:47558 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 "" -#: ../NEWS:47519 +#: ../NEWS:47562 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 "" -#: ../NEWS:47522 +#: ../NEWS:47565 msgid "" ":issue:`21171`: Fixed undocumented filter API of the rot13 codec. Patch by " "Berker Peksag." msgstr "" -#: ../NEWS:47525 +#: ../NEWS:47568 msgid "" ":issue:`20539`: Improved math.factorial error message for large positive " "inputs and changed exception type (OverflowError -> ValueError) for large " "negative inputs." msgstr "" -#: ../NEWS:47529 +#: ../NEWS:47572 msgid "" ":issue:`21172`: isinstance check relaxed from dict to collections.Mapping." msgstr "" -#: ../NEWS:47531 +#: ../NEWS:47574 msgid "" ":issue:`21155`: asyncio.EventLoop.create_unix_server() now raises a " "ValueError if path and sock are specified at the same time." msgstr "" -#: ../NEWS:47534 +#: ../NEWS:47577 msgid "" ":issue:`21136`: Avoid unnecessary normalization of Fractions resulting from " "power and other operations. Patch by Raymond Hettinger." msgstr "" -#: ../NEWS:47537 +#: ../NEWS:47580 msgid ":issue:`17621`: Introduce importlib.util.LazyLoader." msgstr "" -#: ../NEWS:47539 +#: ../NEWS:47582 msgid "" ":issue:`21076`: signal module constants were turned into enums. Patch by " "Giampaolo Rodola'." msgstr "" -#: ../NEWS:47542 +#: ../NEWS:47585 msgid ":issue:`20636`: Improved the repr of Tkinter widgets." msgstr "" -#: ../NEWS:47544 +#: ../NEWS:47587 msgid "" ":issue:`19505`: The items, keys, and values views of OrderedDict now support " "reverse iteration using reversed()." msgstr "" -#: ../NEWS:47547 +#: ../NEWS:47590 msgid "" ":issue:`21149`: Improved thread-safety in logging cleanup during interpreter " "shutdown. Thanks to Devin Jeanpierre for the patch." msgstr "" -#: ../NEWS:47550 +#: ../NEWS:47593 msgid "" ":issue:`21058`: Fix a leak of file descriptor in :func:`tempfile." "NamedTemporaryFile`, close the file descriptor if :func:`io.open` fails" msgstr "" -#: ../NEWS:47554 +#: ../NEWS:47597 msgid "" ":issue:`21200`: Return None from pkgutil.get_loader() when __spec__ is " "missing." msgstr "" -#: ../NEWS:47556 +#: ../NEWS:47599 msgid "" ":issue:`21013`: Enhance ssl.create_default_context() when used for server " "side sockets to provide better security by default." msgstr "" -#: ../NEWS:47559 +#: ../NEWS:47602 msgid "" ":issue:`20145`: ``assertRaisesRegex`` and ``assertWarnsRegex`` now raise a " "``TypeError`` if the second argument is not a string or compiled regex." msgstr "" -#: ../NEWS:47562 +#: ../NEWS:47605 msgid ":issue:`20633`: Replace relative import by absolute import." msgstr "" -#: ../NEWS:47564 +#: ../NEWS:47607 msgid ":issue:`20980`: Stop wrapping exception when using ThreadPool." msgstr "" -#: ../NEWS:47566 +#: ../NEWS:47609 msgid "" ":issue:`21082`: In os.makedirs, do not set the process-wide umask. Note this " "changes behavior of makedirs when exist_ok=True." msgstr "" -#: ../NEWS:47569 +#: ../NEWS:47612 msgid ":issue:`20990`: Fix issues found by pyflakes for multiprocessing." msgstr "" -#: ../NEWS:47571 +#: ../NEWS:47614 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 "" -#: ../NEWS:47575 +#: ../NEWS:47618 msgid ":issue:`21000`: Improve the command-line interface of json.tool." msgstr "" -#: ../NEWS:47577 +#: ../NEWS:47620 msgid "" ":issue:`20995`: Enhance default ciphers used by the ssl module to enable " "better security and prioritize perfect forward secrecy." msgstr "" -#: ../NEWS:47580 +#: ../NEWS:47623 msgid "" ":issue:`20884`: Don't assume that __file__ is defined on importlib.__init__." msgstr "" -#: ../NEWS:47582 +#: ../NEWS:47625 msgid "" ":issue:`21499`: Ignore __builtins__ in several test_importlib.test_api tests." msgstr "" -#: ../NEWS:47584 +#: ../NEWS:47627 msgid ":issue:`20627`: xmlrpc.client.ServerProxy is now a context manager." msgstr "" -#: ../NEWS:47586 +#: ../NEWS:47629 msgid "" ":issue:`19165`: The formatter module now raises DeprecationWarning instead " "of PendingDeprecationWarning." msgstr "" -#: ../NEWS:47589 +#: ../NEWS:47632 msgid "" ":issue:`13936`: Remove the ability of datetime.time instances to be " "considered false in boolean contexts." msgstr "" -#: ../NEWS:47592 +#: ../NEWS:47635 msgid "" ":issue:`18931`: selectors module now supports /dev/poll on Solaris. Patch by " "Giampaolo Rodola'." msgstr "" -#: ../NEWS:47595 +#: ../NEWS:47638 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 "" -#: ../NEWS:47600 +#: ../NEWS:47643 msgid "" ":issue:`20574`: Implement incremental decoder for cp65001 code (Windows code " "page 65001, Microsoft UTF-8)." msgstr "" -#: ../NEWS:47603 +#: ../NEWS:47646 msgid "" ":issue:`20879`: Delay the initialization of encoding and decoding tables for " "base32, ascii85 and base85 codecs in the base64 module, and delay the " @@ -74469,94 +74538,94 @@ msgid "" "to not waste memory if these modules are not used." msgstr "" -#: ../NEWS:47608 +#: ../NEWS:47651 msgid "" ":issue:`19157`: Include the broadcast address in the usuable hosts for IPv6 " "in ipaddress." msgstr "" -#: ../NEWS:47611 +#: ../NEWS:47654 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 "" -#: ../NEWS:47615 +#: ../NEWS:47658 msgid "" ":issue:`4931`: distutils should not produce unhelpful \"error: None\" " "messages anymore. distutils.util.grok_environment_error is kept but doc-" "deprecated." msgstr "" -#: ../NEWS:47618 +#: ../NEWS:47661 msgid "" ":issue:`20875`: Prevent possible gzip \"'read' is not defined\" NameError. " "Patch by Claudiu Popa." msgstr "" -#: ../NEWS:47621 +#: ../NEWS:47664 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 "" -#: ../NEWS:47625 +#: ../NEWS:47668 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 "" -#: ../NEWS:47629 +#: ../NEWS:47672 msgid ":issue:`20778`: Fix modulefinder to work with bytecode-only modules." msgstr "" -#: ../NEWS:47631 +#: ../NEWS:47674 msgid "" ":issue:`20791`: copy.copy() now doesn't make a copy when the input is a " "bytes object. Initial patch by Peter Otten." msgstr "" -#: ../NEWS:47634 +#: ../NEWS:47677 msgid "" ":issue:`19748`: On AIX, time.mktime() now raises an OverflowError for year " "outsize range [1902; 2037]." msgstr "" -#: ../NEWS:47637 +#: ../NEWS:47680 msgid "" ":issue:`19573`: inspect.signature: Use enum for parameter kind constants." msgstr "" -#: ../NEWS:47639 +#: ../NEWS:47682 msgid "" ":issue:`20726`: inspect.signature: Make Signature and Parameter picklable." msgstr "" -#: ../NEWS:47641 +#: ../NEWS:47684 msgid ":issue:`17373`: Add inspect.Signature.from_callable method." msgstr "" -#: ../NEWS:47643 +#: ../NEWS:47686 msgid "" ":issue:`20378`: Improve repr of inspect.Signature and inspect.Parameter." msgstr "" -#: ../NEWS:47645 +#: ../NEWS:47688 msgid "" ":issue:`20816`: Fix inspect.getcallargs() to raise correct TypeError for " "missing keyword-only arguments. Patch by Jeremiah Lowin." msgstr "" -#: ../NEWS:47648 +#: ../NEWS:47691 msgid "" ":issue:`20817`: Fix inspect.getcallargs() to fail correctly if more than 3 " "arguments are missing. Patch by Jeremiah Lowin." msgstr "" -#: ../NEWS:47651 +#: ../NEWS:47694 msgid "" ":issue:`6676`: Ensure a meaningful exception is raised when attempting to " "parse more than one XML document per pyexpat xmlparser instance. (Original " @@ -74564,82 +74633,82 @@ msgid "" "wording by David Gutteridge)" msgstr "" -#: ../NEWS:47656 +#: ../NEWS:47699 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 "" -#: ../NEWS:47661 +#: ../NEWS:47704 msgid "" ":issue:`20334`: inspect.Signature and inspect.Parameter are now hashable. " "Thanks to Antony Lee for bug reports and suggestions." msgstr "" -#: ../NEWS:47664 +#: ../NEWS:47707 msgid "" ":issue:`15916`: doctest.DocTestSuite returns an empty unittest.TestSuite " "instead of raising ValueError if it finds no tests" msgstr "" -#: ../NEWS:47667 +#: ../NEWS:47710 msgid "" ":issue:`21209`: Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-" "from implementation in CPythons prior to 3.4.1." msgstr "" -#: ../NEWS:47670 +#: ../NEWS:47713 msgid "" "asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream :" "issue:`163`)." msgstr "" -#: ../NEWS:47673 +#: ../NEWS:47716 msgid "" ":issue:`21311`: Avoid exception in _osx_support with non-standard compiler " "configurations. Patch by John Szakmeister." msgstr "" -#: ../NEWS:47676 +#: ../NEWS:47719 msgid "" ":issue:`11571`: Ensure that the turtle window becomes the topmost window " "when launched on OS X." msgstr "" -#: ../NEWS:47679 +#: ../NEWS:47722 msgid "" ":issue:`21801`: Validate that __signature__ is None or an instance of " "Signature." msgstr "" -#: ../NEWS:47682 +#: ../NEWS:47725 msgid "" ":issue:`21923`: Prevent AttributeError in distutils.sysconfig." "customize_compiler due to possible uninitialized _config_vars." msgstr "" -#: ../NEWS:47686 +#: ../NEWS:47729 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 "" -#: ../NEWS:47689 +#: ../NEWS:47732 msgid "" ":issue:`22733`: Fix ffi_prep_args not zero-extending argument values " "correctly on 64-bit Windows." msgstr "" -#: ../NEWS:47692 +#: ../NEWS:47735 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 "" -#: ../NEWS:47699 +#: ../NEWS:47742 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 " @@ -74647,20 +74716,20 @@ msgid "" "Einat." msgstr "" -#: ../NEWS:47704 +#: ../NEWS:47747 msgid "" ":issue:`16893`: Update Idle doc chapter to match current Idle and add new " "information." msgstr "" -#: ../NEWS:47707 +#: ../NEWS:47750 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 "" -#: ../NEWS:47711 +#: ../NEWS:47754 msgid "" ":issue:`16233`: A module browser (File : Class Browser, Alt+C) requires an " "editor window with a filename. When Class Browser is requested otherwise, " @@ -74669,96 +74738,96 @@ msgid "" "entered and a module is opened, a corresponding browser is also opened." msgstr "" -#: ../NEWS:47717 +#: ../NEWS:47760 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 "" -#: ../NEWS:47721 +#: ../NEWS:47764 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 "" -#: ../NEWS:47724 +#: ../NEWS:47767 msgid "" ":issue:`17390`: Adjust Editor window title; remove 'Python', move version to " "end." msgstr "" -#: ../NEWS:47727 +#: ../NEWS:47770 msgid "" ":issue:`14105`: Idle debugger breakpoints no longer disappear when inserting " "or deleting lines." msgstr "" -#: ../NEWS:47730 +#: ../NEWS:47773 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 "" -#: ../NEWS:47734 +#: ../NEWS:47777 msgid ":issue:`21765`: Add support for non-ascii identifiers to HyperParser." msgstr "" -#: ../NEWS:47736 +#: ../NEWS:47779 msgid "" ":issue:`21940`: Add unittest for WidgetRedirector. Initial patch by " "Saimadhav Heblikar." msgstr "" -#: ../NEWS:47739 +#: ../NEWS:47782 msgid "" ":issue:`18592`: Add unittest for SearchDialogBase. Patch by Phil Webster." msgstr "" -#: ../NEWS:47741 +#: ../NEWS:47784 msgid "" ":issue:`21694`: Add unittest for ParenMatch. Patch by Saimadhav Heblikar." msgstr "" -#: ../NEWS:47743 +#: ../NEWS:47786 msgid "" ":issue:`21686`: add unittest for HyperParser. Original patch by Saimadhav " "Heblikar." msgstr "" -#: ../NEWS:47746 +#: ../NEWS:47789 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 "" -#: ../NEWS:47750 +#: ../NEWS:47793 msgid "" ":issue:`21695`: Closing a Find-in-files output window while the search is " "still in progress no longer closes Idle." msgstr "" -#: ../NEWS:47753 +#: ../NEWS:47796 msgid ":issue:`18910`: Add unittest for textView. Patch by Phil Webster." msgstr "" -#: ../NEWS:47755 +#: ../NEWS:47798 msgid "" ":issue:`18292`: Add unittest for AutoExpand. Patch by Saihadhav Heblikar." msgstr "" -#: ../NEWS:47757 +#: ../NEWS:47800 msgid ":issue:`18409`: Add unittest for AutoComplete. Patch by Phil Webster." msgstr "" -#: ../NEWS:47759 +#: ../NEWS:47802 msgid "" ":issue:`21477`: htest.py - Improve framework, complete set of tests. Patches " "by Saimadhav Heblikar" msgstr "" -#: ../NEWS:47762 +#: ../NEWS:47805 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 " @@ -74766,86 +74835,86 @@ msgid "" "runs all tests." msgstr "" -#: ../NEWS:47767 +#: ../NEWS:47810 msgid "" ":issue:`21139`: Change default paragraph width to 72, the :pep:`8` " "recommendation." msgstr "" -#: ../NEWS:47770 +#: ../NEWS:47813 msgid "" ":issue:`21284`: Paragraph reformat test passes after user changes reformat " "width." msgstr "" -#: ../NEWS:47773 +#: ../NEWS:47816 msgid "" ":issue:`17654`: Ensure IDLE menus are customized properly on OS X for non-" "framework builds and for all variants of Tk." msgstr "" -#: ../NEWS:47776 +#: ../NEWS:47819 msgid "" ":issue:`23180`: Rename IDLE \"Windows\" menu item to \"Window\". Patch by Al " "Sweigart." msgstr "" -#: ../NEWS:47782 +#: ../NEWS:47825 msgid "" ":issue:`15506`: Use standard PKG_PROG_PKG_CONFIG autoconf macro in the " "configure script." msgstr "" -#: ../NEWS:47785 +#: ../NEWS:47828 msgid "" ":issue:`22935`: Allow the ssl module to be compiled if openssl doesn't " "support SSL 3." msgstr "" -#: ../NEWS:47788 +#: ../NEWS:47831 msgid "" ":issue:`22592`: Drop support of the Borland C compiler to build Python. The " "distutils module still supports it to build extensions." msgstr "" -#: ../NEWS:47791 +#: ../NEWS:47834 msgid "" ":issue:`22591`: Drop support of MS-DOS, especially of the DJGPP compiler (MS-" "DOS port of GCC)." msgstr "" -#: ../NEWS:47794 +#: ../NEWS:47837 msgid "" ":issue:`16537`: Check whether self.extensions is empty in setup.py. Patch by " "Jonathan Hosmer." msgstr "" -#: ../NEWS:47797 +#: ../NEWS:47840 msgid "" ":issue:`22359`: Remove incorrect uses of recursive make. Patch by Jonas " "Wagner." msgstr "" -#: ../NEWS:47800 +#: ../NEWS:47843 msgid "" ":issue:`21958`: Define HAVE_ROUND when building with Visual Studio 2013 and " "above. Patch by Zachary Turner." msgstr "" -#: ../NEWS:47803 +#: ../NEWS:47846 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 "" -#: ../NEWS:47807 +#: ../NEWS:47850 msgid "" ":issue:`15759`: \"make suspicious\", \"make linkcheck\" and \"make doctest\" " "in Doc/ now display special message when and only when there are failures." msgstr "" -#: ../NEWS:47810 +#: ../NEWS:47853 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 " @@ -74855,123 +74924,123 @@ msgid "" "org will always be pre-configured and ready to build." msgstr "" -#: ../NEWS:47817 +#: ../NEWS:47860 msgid ":issue:`21037`: Add a build option to enable AddressSanitizer support." msgstr "" -#: ../NEWS:47819 +#: ../NEWS:47862 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 "" -#: ../NEWS:47823 +#: ../NEWS:47866 msgid "" ":issue:`21285`: Refactor and fix curses configure check to always search in " "a ncursesw directory." msgstr "" -#: ../NEWS:47826 +#: ../NEWS:47869 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 "" -#: ../NEWS:47830 +#: ../NEWS:47873 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 "" -#: ../NEWS:47833 +#: ../NEWS:47876 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 "" -#: ../NEWS:47836 +#: ../NEWS:47879 msgid "" ":issue:`20022`: Eliminate use of deprecated bundlebuilder in OS X builds." msgstr "" -#: ../NEWS:47838 +#: ../NEWS:47881 msgid "" ":issue:`15968`: Incorporated Tcl, Tk, and Tix builds into the Windows build " "solution." msgstr "" -#: ../NEWS:47841 +#: ../NEWS:47884 msgid ":issue:`17095`: Fix Modules/Setup *shared* support." msgstr "" -#: ../NEWS:47843 +#: ../NEWS:47886 msgid ":issue:`21811`: Anticipated fixes to support OS X versions > 10.9." msgstr "" -#: ../NEWS:47845 +#: ../NEWS:47888 msgid "" ":issue:`21166`: Prevent possible segfaults and other random failures of " "python --generate-posix-vars in pybuilddir.txt build target." msgstr "" -#: ../NEWS:47848 +#: ../NEWS:47891 msgid ":issue:`18096`: Fix library order returned by python-config." msgstr "" -#: ../NEWS:47850 +#: ../NEWS:47893 msgid "" ":issue:`17219`: Add library build dir for Python extension cross-builds." msgstr "" -#: ../NEWS:47852 +#: ../NEWS:47895 msgid "" ":issue:`22919`: Windows build updated to support VC 14.0 (Visual Studio " "2015), which will be used for the official release." msgstr "" -#: ../NEWS:47855 +#: ../NEWS:47898 msgid ":issue:`21236`: Build _msi.pyd with cabinet.lib instead of fci.lib" msgstr "" -#: ../NEWS:47857 +#: ../NEWS:47900 msgid "" ":issue:`17128`: Use private version of OpenSSL for OS X 10.5+ installer." msgstr "" -#: ../NEWS:47862 +#: ../NEWS:47905 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 "" -#: ../NEWS:47866 +#: ../NEWS:47909 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 "" -#: ../NEWS:47870 +#: ../NEWS:47913 msgid "" ":issue:`22079`: PyType_Ready() now checks that statically allocated type has " "no dynamically allocated bases." msgstr "" -#: ../NEWS:47873 +#: ../NEWS:47916 msgid ":issue:`22453`: Removed non-documented macro PyObject_REPR()." msgstr "" -#: ../NEWS:47875 +#: ../NEWS:47918 msgid "" ":issue:`18395`: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, " "rename ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these " "functions." msgstr "" -#: ../NEWS:47879 +#: ../NEWS:47922 msgid "" ":issue:`21233`: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), " "PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) is now using " @@ -74979,69 +75048,69 @@ msgid "" "use less memory." msgstr "" -#: ../NEWS:47884 +#: ../NEWS:47927 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 "" -#: ../NEWS:47891 +#: ../NEWS:47934 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 "" -#: ../NEWS:47895 +#: ../NEWS:47938 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 "" -#: ../NEWS:47899 +#: ../NEWS:47942 msgid "" ":issue:`21514`: The documentation of the json module now refers to new JSON " "RFC 7159 instead of obsoleted RFC 4627." msgstr "" -#: ../NEWS:47902 +#: ../NEWS:47945 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 "" -#: ../NEWS:47907 +#: ../NEWS:47950 msgid ":issue:`6916`: undocument deprecated asynchat.fifo class." msgstr "" -#: ../NEWS:47909 +#: ../NEWS:47952 msgid "" ":issue:`17386`: Expanded functionality of the ``Doc/make.bat`` script to " "make it much more comparable to ``Doc/Makefile``." msgstr "" -#: ../NEWS:47912 +#: ../NEWS:47955 msgid "" ":issue:`21312`: Update the thread_foobar.h template file to include newer " "threading APIs. Patch by Jack McCracken." msgstr "" -#: ../NEWS:47915 +#: ../NEWS:47958 msgid "" ":issue:`21043`: Remove the recommendation for specific CA organizations and " "to mention the ability to load the OS certificates." msgstr "" -#: ../NEWS:47918 +#: ../NEWS:47961 msgid "" ":issue:`20765`: Add missing documentation for PurePath.with_name() and " "PurePath.with_suffix()." msgstr "" -#: ../NEWS:47921 +#: ../NEWS:47964 msgid "" ":issue:`19407`: New package installation and distribution guides based on " "the Python Packaging Authority tools. Existing guides have been retained as " @@ -75049,89 +75118,89 @@ msgid "" "reference material for tool developers that isn't recorded anywhere else." msgstr "" -#: ../NEWS:47926 +#: ../NEWS:47969 msgid ":issue:`19697`: Document cases where __main__.__spec__ is None." msgstr "" -#: ../NEWS:47931 +#: ../NEWS:47974 msgid ":issue:`18982`: Add tests for CLI of the calendar module." msgstr "" -#: ../NEWS:47933 +#: ../NEWS:47976 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 "" -#: ../NEWS:47937 +#: ../NEWS:47980 msgid "" ":issue:`22838`: All test_re tests now work with unittest test discovery." msgstr "" -#: ../NEWS:47939 +#: ../NEWS:47982 msgid ":issue:`22173`: Update lib2to3 tests to use unittest test discovery." msgstr "" -#: ../NEWS:47941 +#: ../NEWS:47984 msgid ":issue:`16000`: Convert test_curses to use unittest." msgstr "" -#: ../NEWS:47943 +#: ../NEWS:47986 msgid "" ":issue:`21456`: Skip two tests in test_urllib2net.py if _ssl module not " "present. Patch by Remi Pointel." msgstr "" -#: ../NEWS:47946 +#: ../NEWS:47989 msgid "" ":issue:`20746`: Fix test_pdb to run in refleak mode (-R). Patch by Xavier " "de Gaye." msgstr "" -#: ../NEWS:47949 +#: ../NEWS:47992 msgid "" ":issue:`22060`: test_ctypes has been somewhat cleaned up and simplified; it " "now uses unittest test discovery to find its tests." msgstr "" -#: ../NEWS:47952 +#: ../NEWS:47995 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 "" -#: ../NEWS:47955 +#: ../NEWS:47998 msgid "" ":issue:`22111`: Assorted cleanups in test_imaplib. Patch by Milan Oberkirch." msgstr "" -#: ../NEWS:47957 +#: ../NEWS:48000 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 "" -#: ../NEWS:47961 +#: ../NEWS:48004 msgid "" ":issue:`21976`: Fix test_ssl to accept LibreSSL version strings. Thanks to " "William Orr." msgstr "" -#: ../NEWS:47964 +#: ../NEWS:48007 msgid "" ":issue:`21918`: Converted test_tools from a module to a package containing " "separate test files for each tested script." msgstr "" -#: ../NEWS:47967 +#: ../NEWS:48010 msgid "" ":issue:`9554`: Use modern unittest features in test_argparse. Initial patch " "by Denver Coneybeare and Radu Voicilas." msgstr "" -#: ../NEWS:47970 +#: ../NEWS:48013 msgid "" ":issue:`20155`: Changed HTTP method names in failing tests in " "test_httpservers so that packet filtering software (specifically Windows " @@ -75139,209 +75208,209 @@ msgid "" "expected by the tests." msgstr "" -#: ../NEWS:47975 +#: ../NEWS:48018 msgid "" ":issue:`19493`: Refactored the ctypes test package to skip tests explicitly " "rather than silently." msgstr "" -#: ../NEWS:47978 +#: ../NEWS:48021 msgid "" ":issue:`18492`: All resources are now allowed when tests are not run by " "regrtest.py." msgstr "" -#: ../NEWS:47981 +#: ../NEWS:48024 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 "" -#: ../NEWS:47985 +#: ../NEWS:48028 msgid ":issue:`21605`: Added tests for Tkinter images." msgstr "" -#: ../NEWS:47987 +#: ../NEWS:48030 msgid "" ":issue:`21493`: Added test for ntpath.expanduser(). Original patch by " "Claudiu Popa." msgstr "" -#: ../NEWS:47990 +#: ../NEWS:48033 msgid "" ":issue:`19925`: Added tests for the spwd module. Original patch by Vajrasky " "Kok." msgstr "" -#: ../NEWS:47993 +#: ../NEWS:48036 msgid "" ":issue:`21522`: Added Tkinter tests for Listbox.itemconfigure(), PanedWindow." "paneconfigure(), and Menu.entryconfigure()." msgstr "" -#: ../NEWS:47996 +#: ../NEWS:48039 msgid "" ":issue:`17756`: Fix test_code test when run from the installed location." msgstr "" -#: ../NEWS:47998 +#: ../NEWS:48041 msgid "" ":issue:`17752`: Fix distutils tests when run from the installed location." msgstr "" -#: ../NEWS:48000 +#: ../NEWS:48043 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 "" -#: ../NEWS:48004 +#: ../NEWS:48047 msgid ":issue:`21275`: Fix a socket test on KFreeBSD." msgstr "" -#: ../NEWS:48006 +#: ../NEWS:48049 msgid "" ":issue:`21223`: Pass test_site/test_startup_imports when some of the " "extensions are built as builtins." msgstr "" -#: ../NEWS:48009 +#: ../NEWS:48052 msgid ":issue:`20635`: Added tests for Tk geometry managers." msgstr "" -#: ../NEWS:48011 +#: ../NEWS:48054 msgid "Add test case for freeze." msgstr "" -#: ../NEWS:48013 +#: ../NEWS:48056 msgid ":issue:`20743`: Fix a reference leak in test_tcl." msgstr "" -#: ../NEWS:48015 +#: ../NEWS:48058 msgid ":issue:`21097`: Move test_namespace_pkgs into test_importlib." msgstr "" -#: ../NEWS:48017 +#: ../NEWS:48060 msgid ":issue:`21503`: Use test_both() consistently in test_importlib." msgstr "" -#: ../NEWS:48019 +#: ../NEWS:48062 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 "" -#: ../NEWS:48023 +#: ../NEWS:48066 msgid "" ":issue:`20668`: asyncio tests no longer rely on tests.txt file. (Patch by " "Vajrasky Kok)" msgstr "" -#: ../NEWS:48026 +#: ../NEWS:48069 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 "" -#: ../NEWS:48029 +#: ../NEWS:48072 msgid "" ":issue:`22770`: Prevent some Tk segfaults on OS X when running gui tests." msgstr "" -#: ../NEWS:48031 +#: ../NEWS:48074 msgid "" ":issue:`23211`: Workaround test_logging failure on some OS X 10.6 systems." msgstr "" -#: ../NEWS:48033 +#: ../NEWS:48076 msgid "" ":issue:`23345`: Prevent test_ssl failures with large OpenSSL patch level " "values (like 0.9.8zc)." msgstr "" -#: ../NEWS:48039 +#: ../NEWS:48082 msgid "" ":issue:`22314`: pydoc now works when the LINES environment variable is set." msgstr "" -#: ../NEWS:48041 +#: ../NEWS:48084 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 "" -#: ../NEWS:48044 +#: ../NEWS:48087 msgid "" ":issue:`20076`: The makelocalealias.py script no longer ignores UTF-8 " "mapping." msgstr "" -#: ../NEWS:48046 +#: ../NEWS:48089 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 "" -#: ../NEWS:48049 +#: ../NEWS:48092 msgid "" ":issue:`22201`: Command-line interface of the zipfile module now correctly " "extracts ZIP files with directory entries. Patch by Ryan Wilson." msgstr "" -#: ../NEWS:48052 +#: ../NEWS:48095 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 "" -#: ../NEWS:48056 +#: ../NEWS:48099 msgid "" ":issue:`18974`: Tools/scripts/diff.py now uses argparse instead of optparse." msgstr "" -#: ../NEWS:48058 +#: ../NEWS:48101 msgid "" ":issue:`21906`: Make Tools/scripts/md5sum.py work in Python 3. Patch by " "Zachary Ware." msgstr "" -#: ../NEWS:48061 +#: ../NEWS:48104 msgid ":issue:`21629`: Fix Argument Clinic's \"--converters\" feature." msgstr "" -#: ../NEWS:48063 +#: ../NEWS:48106 msgid "Add support for ``yield from`` to 2to3." msgstr "" -#: ../NEWS:48065 +#: ../NEWS:48108 msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." msgstr "" -#: ../NEWS:48067 +#: ../NEWS:48110 msgid "" ":issue:`16047`: Fix module exception list and __file__ handling in freeze. " "Patch by Meador Inge." msgstr "" -#: ../NEWS:48070 +#: ../NEWS:48113 msgid ":issue:`11824`: Consider ABI tags in freeze. Patch by Meador Inge." msgstr "" -#: ../NEWS:48072 +#: ../NEWS:48115 msgid "" ":issue:`20535`: PYTHONWARNING no longer affects the run_tests.py script. " "Patch by Arfrever Frehtes Taifersar Arahesis." msgstr "" -#: ../NEWS:48078 +#: ../NEWS:48121 msgid ":issue:`23260`: Update Windows installer" msgstr "" -#: ../NEWS:48080 +#: ../NEWS:48123 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 " @@ -75349,40 +75418,40 @@ msgid "" "information. Also, this version of Tcl/Tk includes support for Windows 10." msgstr "" -#: ../NEWS:48086 +#: ../NEWS:48129 msgid "" ":issue:`17896`: The Windows build scripts now expect external library " "sources to be in ``PCbuild\\..\\externals`` rather than ``PCbuild\\..\\..``." msgstr "" -#: ../NEWS:48089 +#: ../NEWS:48132 msgid "" ":issue:`17717`: The Windows build scripts now use a copy of NASM pulled from " "svn.python.org to build OpenSSL." msgstr "" -#: ../NEWS:48092 +#: ../NEWS:48135 msgid "" ":issue:`21907`: Improved the batch scripts provided for building Python." msgstr "" -#: ../NEWS:48094 +#: ../NEWS:48137 msgid "" ":issue:`22644`: The bundled version of OpenSSL has been updated to 1.0.1j." msgstr "" -#: ../NEWS:48096 +#: ../NEWS:48139 msgid "" ":issue:`10747`: Use versioned labels in the Windows start menu. Patch by " "Olive Kilburn." msgstr "" -#: ../NEWS:48099 +#: ../NEWS:48142 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 "" -#: ../NEWS:48103 +#: ../NEWS:48146 msgid "**(For information about older versions, consult the HISTORY file.)**" msgstr ""