diff --git a/Makefile b/Makefile index 33b81d0b2..ad836b1ed 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ # from which we generated our po files. We use it here so when we # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := 4c810f92baed7562e7f2da0c70e2edac2e89bf75 +CPYTHON_CURRENT_COMMIT := e98fa7121dd80496c60f07bb51101b648fe27cda LANGUAGE := tr BRANCH := 3.11 diff --git a/c-api/apiabiversion.po b/c-api/apiabiversion.po index 6926415fa..a297f45db 100644 --- a/c-api/apiabiversion.po +++ b/c-api/apiabiversion.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -163,16 +163,20 @@ msgid "" msgstr "" #: c-api/apiabiversion.rst:61 +msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``." +msgstr "" + +#: c-api/apiabiversion.rst:63 msgid "This version is also available via the symbol :data:`Py_Version`." msgstr "" -#: c-api/apiabiversion.rst:65 +#: c-api/apiabiversion.rst:67 msgid "" "The Python runtime version number encoded in a single constant integer, with " "the same format as the :c:macro:`PY_VERSION_HEX` macro. This contains the " "Python version used at run time." msgstr "" -#: c-api/apiabiversion.rst:71 +#: c-api/apiabiversion.rst:73 msgid "All the given macros are defined in :source:`Include/patchlevel.h`." msgstr "" diff --git a/c-api/arg.po b/c-api/arg.po index a7e195eae..f6db83baa 100644 --- a/c-api/arg.po +++ b/c-api/arg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -63,36 +63,55 @@ msgid "" msgstr "" #: c-api/arg.rst:37 +msgid "Unless otherwise stated, buffers are not NUL-terminated." +msgstr "" + +#: c-api/arg.rst:39 +msgid "There are three ways strings and buffers can be converted to C:" +msgstr "" + +#: c-api/arg.rst:41 msgid "" -"In general, when a format sets a pointer to a buffer, the buffer is managed " -"by the corresponding Python object, and the buffer shares the lifetime of " -"this object. You won't have to release any memory yourself. The only " -"exceptions are ``es``, ``es#``, ``et`` and ``et#``." +"Formats such as ``y*`` and ``s*`` fill a :c:type:`Py_buffer` structure. This " +"locks the underlying buffer so that the caller can subsequently use the " +"buffer even inside a :c:type:`Py_BEGIN_ALLOW_THREADS` block without the risk " +"of mutable data being resized or destroyed. As a result, **you have to " +"call** :c:func:`PyBuffer_Release` after you have finished processing the " +"data (or in any early abort case)." msgstr "" -#: c-api/arg.rst:42 +#: c-api/arg.rst:48 msgid "" -"However, when a :c:type:`Py_buffer` structure gets filled, the underlying " -"buffer is locked so that the caller can subsequently use the buffer even " -"inside a :c:type:`Py_BEGIN_ALLOW_THREADS` block without the risk of mutable " -"data being resized or destroyed. As a result, **you have to call** :c:func:" -"`PyBuffer_Release` after you have finished processing the data (or in any " -"early abort case)." +"The ``es``, ``es#``, ``et`` and ``et#`` formats allocate the result buffer. " +"**You have to call** :c:func:`PyMem_Free` after you have finished processing " +"the data (or in any early abort case)." msgstr "" -#: c-api/arg.rst:49 -msgid "Unless otherwise stated, buffers are not NUL-terminated." +#: c-api/arg.rst:54 +msgid "" +"Other formats take a :class:`str` or a read-only :term:`bytes-like object`, " +"such as :class:`bytes`, and provide a ``const char *`` pointer to its " +"buffer. In this case the buffer is \"borrowed\": it is managed by the " +"corresponding Python object, and shares the lifetime of this object. You " +"won't have to release any memory yourself." +msgstr "" + +#: c-api/arg.rst:61 +msgid "" +"To ensure that the underlying buffer may be safely borrowed, the object's :c:" +"member:`PyBufferProcs.bf_releasebuffer` field must be ``NULL``. This " +"disallows common mutable objects such as :class:`bytearray`, but also some " +"read-only objects such as :class:`memoryview` of :class:`bytes`." msgstr "" -#: c-api/arg.rst:51 +#: c-api/arg.rst:67 msgid "" -"Some formats require a read-only :term:`bytes-like object`, and set a " -"pointer instead of a buffer structure. They work by checking that the " -"object's :c:member:`PyBufferProcs.bf_releasebuffer` field is ``NULL``, which " -"disallows mutable objects such as :class:`bytearray`." +"Besides this ``bf_releasebuffer`` requirement, there is no check to verify " +"whether the input object is immutable (e.g. whether it would honor a request " +"for a writable buffer, or whether another thread can mutate the data)." msgstr "" -#: c-api/arg.rst:58 +#: c-api/arg.rst:73 msgid "" "For all ``#`` variants of formats (``s#``, ``y#``, etc.), the macro :c:macro:" "`PY_SSIZE_T_CLEAN` must be defined before including :file:`Python.h`. On " @@ -101,11 +120,11 @@ msgid "" "otherwise." msgstr "" -#: c-api/arg.rst:83 +#: c-api/arg.rst:98 msgid "``s`` (:class:`str`) [const char \\*]" msgstr "" -#: c-api/arg.rst:66 +#: c-api/arg.rst:81 msgid "" "Convert a Unicode object to a C pointer to a character string. A pointer to " "an existing string is stored in the character pointer variable whose address " @@ -115,7 +134,7 @@ msgid "" "encoding. If this conversion fails, a :exc:`UnicodeError` is raised." msgstr "" -#: c-api/arg.rst:75 +#: c-api/arg.rst:90 msgid "" "This format does not accept :term:`bytes-like objects `. " "If you want to accept filesystem paths and convert them to C character " @@ -123,17 +142,17 @@ msgid "" "`PyUnicode_FSConverter` as *converter*." msgstr "" -#: c-api/arg.rst:148 +#: c-api/arg.rst:164 msgid "" "Previously, :exc:`TypeError` was raised when embedded null code points were " "encountered in the Python string." msgstr "" -#: c-api/arg.rst:89 +#: c-api/arg.rst:104 msgid "``s*`` (:class:`str` or :term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:86 +#: c-api/arg.rst:101 msgid "" "This format accepts Unicode objects as well as bytes-like objects. It fills " "a :c:type:`Py_buffer` structure provided by the caller. In this case the " @@ -141,109 +160,110 @@ msgid "" "converted to C strings using ``'utf-8'`` encoding." msgstr "" -#: c-api/arg.rst:96 +#: c-api/arg.rst:111 msgid "" "``s#`` (:class:`str`, read-only :term:`bytes-like object`) [const char \\*, :" "c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:92 +#: c-api/arg.rst:107 msgid "" -"Like ``s*``, except that it doesn't accept mutable objects. The result is " -"stored into two C variables, the first one a pointer to a C string, the " -"second one its length. The string may contain embedded null bytes. Unicode " -"objects are converted to C strings using ``'utf-8'`` encoding." +"Like ``s*``, except that it provides a :ref:`borrowed buffer `. The result is stored into two C variables, the first one a pointer " +"to a C string, the second one its length. The string may contain embedded " +"null bytes. Unicode objects are converted to C strings using ``'utf-8'`` " +"encoding." msgstr "" -#: c-api/arg.rst:565 +#: c-api/arg.rst:581 msgid "``z`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:99 +#: c-api/arg.rst:114 msgid "" "Like ``s``, but the Python object may also be ``None``, in which case the C " "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:104 +#: c-api/arg.rst:119 msgid "" "``z*`` (:class:`str`, :term:`bytes-like object` or ``None``) [Py_buffer]" msgstr "" -#: c-api/arg.rst:103 +#: c-api/arg.rst:118 msgid "" "Like ``s*``, but the Python object may also be ``None``, in which case the " "``buf`` member of the :c:type:`Py_buffer` structure is set to ``NULL``." msgstr "" -#: c-api/arg.rst:108 +#: c-api/arg.rst:123 msgid "" "``z#`` (:class:`str`, read-only :term:`bytes-like object` or ``None``) " "[const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:107 +#: c-api/arg.rst:122 msgid "" "Like ``s#``, but the Python object may also be ``None``, in which case the C " "pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:118 +#: c-api/arg.rst:134 msgid "``y`` (read-only :term:`bytes-like object`) [const char \\*]" msgstr "" -#: c-api/arg.rst:111 +#: c-api/arg.rst:126 msgid "" -"This format converts a bytes-like object to a C pointer to a character " -"string; it does not accept Unicode objects. The bytes buffer must not " -"contain embedded null bytes; if it does, a :exc:`ValueError` exception is " -"raised." +"This format converts a bytes-like object to a C pointer to a :ref:`borrowed " +"` character string; it does not accept Unicode " +"objects. The bytes buffer must not contain embedded null bytes; if it does, " +"a :exc:`ValueError` exception is raised." msgstr "" -#: c-api/arg.rst:116 +#: c-api/arg.rst:132 msgid "" "Previously, :exc:`TypeError` was raised when embedded null bytes were " "encountered in the bytes buffer." msgstr "" -#: c-api/arg.rst:123 +#: c-api/arg.rst:139 msgid "``y*`` (:term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:121 +#: c-api/arg.rst:137 msgid "" "This variant on ``s*`` doesn't accept Unicode objects, only bytes-like " "objects. **This is the recommended way to accept binary data.**" msgstr "" -#: c-api/arg.rst:127 +#: c-api/arg.rst:143 msgid "" "``y#`` (read-only :term:`bytes-like object`) [const char \\*, :c:type:" "`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:126 +#: c-api/arg.rst:142 msgid "" "This variant on ``s#`` doesn't accept Unicode objects, only bytes-like " "objects." msgstr "" -#: c-api/arg.rst:132 +#: c-api/arg.rst:148 msgid "``S`` (:class:`bytes`) [PyBytesObject \\*]" msgstr "" -#: c-api/arg.rst:130 +#: c-api/arg.rst:146 msgid "" "Requires that the Python object is a :class:`bytes` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a " "bytes object. The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:137 +#: c-api/arg.rst:153 msgid "``Y`` (:class:`bytearray`) [PyByteArrayObject \\*]" msgstr "" -#: c-api/arg.rst:135 +#: c-api/arg.rst:151 msgid "" "Requires that the Python object is a :class:`bytearray` object, without " "attempting any conversion. Raises :exc:`TypeError` if the object is not a :" @@ -251,11 +271,11 @@ msgid "" "`PyObject*`." msgstr "" -#: c-api/arg.rst:154 +#: c-api/arg.rst:170 msgid "``u`` (:class:`str`) [const Py_UNICODE \\*]" msgstr "" -#: c-api/arg.rst:140 +#: c-api/arg.rst:156 msgid "" "Convert a Python Unicode object to a C pointer to a NUL-terminated buffer of " "Unicode characters. You must pass the address of a :c:type:`Py_UNICODE` " @@ -266,61 +286,61 @@ msgid "" "`ValueError` exception is raised." msgstr "" -#: c-api/arg.rst:172 c-api/arg.rst:180 +#: c-api/arg.rst:188 c-api/arg.rst:196 msgid "" "Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" "func:`PyUnicode_AsWideCharString`." msgstr "" -#: c-api/arg.rst:163 +#: c-api/arg.rst:179 msgid "``u#`` (:class:`str`) [const Py_UNICODE \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:157 +#: c-api/arg.rst:173 msgid "" "This variant on ``u`` stores into two C variables, the first one a pointer " "to a Unicode data buffer, the second one its length. This variant allows " "null code points." msgstr "" -#: c-api/arg.rst:171 +#: c-api/arg.rst:187 msgid "``Z`` (:class:`str` or ``None``) [const Py_UNICODE \\*]" msgstr "" -#: c-api/arg.rst:166 +#: c-api/arg.rst:182 msgid "" "Like ``u``, but the Python object may also be ``None``, in which case the :c:" "type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:179 +#: c-api/arg.rst:195 msgid "" "``Z#`` (:class:`str` or ``None``) [const Py_UNICODE \\*, :c:type:" "`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:174 +#: c-api/arg.rst:190 msgid "" "Like ``u#``, but the Python object may also be ``None``, in which case the :" "c:type:`Py_UNICODE` pointer is set to ``NULL``." msgstr "" -#: c-api/arg.rst:184 +#: c-api/arg.rst:200 msgid "``U`` (:class:`str`) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:182 +#: c-api/arg.rst:198 msgid "" "Requires that the Python object is a Unicode object, without attempting any " "conversion. Raises :exc:`TypeError` if the object is not a Unicode object. " "The C variable may also be declared as :c:expr:`PyObject*`." msgstr "" -#: c-api/arg.rst:190 +#: c-api/arg.rst:206 msgid "``w*`` (read-write :term:`bytes-like object`) [Py_buffer]" msgstr "" -#: c-api/arg.rst:187 +#: c-api/arg.rst:203 msgid "" "This format accepts any object which implements the read-write buffer " "interface. It fills a :c:type:`Py_buffer` structure provided by the caller. " @@ -328,17 +348,17 @@ msgid "" "`PyBuffer_Release` when it is done with the buffer." msgstr "" -#: c-api/arg.rst:207 +#: c-api/arg.rst:223 msgid "``es`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer]" msgstr "" -#: c-api/arg.rst:193 +#: c-api/arg.rst:209 msgid "" "This variant on ``s`` is used for encoding Unicode into a character buffer. " "It only works for encoded data without embedded NUL bytes." msgstr "" -#: c-api/arg.rst:196 +#: c-api/arg.rst:212 msgid "" "This format requires two arguments. The first is only used as input, and " "must be a :c:expr:`const char*` which points to the name of an encoding as a " @@ -349,7 +369,7 @@ msgid "" "The text will be encoded in the encoding specified by the first argument." msgstr "" -#: c-api/arg.rst:204 +#: c-api/arg.rst:220 msgid "" ":c:func:`PyArg_ParseTuple` will allocate a buffer of the needed size, copy " "the encoded data into this buffer and adjust *\\*buffer* to reference the " @@ -357,33 +377,33 @@ msgid "" "`PyMem_Free` to free the allocated buffer after use." msgstr "" -#: c-api/arg.rst:212 +#: c-api/arg.rst:228 msgid "" "``et`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer]" msgstr "" -#: c-api/arg.rst:210 +#: c-api/arg.rst:226 msgid "" "Same as ``es`` except that byte string objects are passed through without " "recoding them. Instead, the implementation assumes that the byte string " "object uses the encoding passed in as parameter." msgstr "" -#: c-api/arg.rst:243 +#: c-api/arg.rst:259 msgid "" "``es#`` (:class:`str`) [const char \\*encoding, char \\*\\*buffer, :c:type:" "`Py_ssize_t` \\*buffer_length]" msgstr "" -#: c-api/arg.rst:215 +#: c-api/arg.rst:231 msgid "" "This variant on ``s#`` is used for encoding Unicode into a character buffer. " "Unlike the ``es`` format, this variant allows input data which contains NUL " "characters." msgstr "" -#: c-api/arg.rst:219 +#: c-api/arg.rst:235 msgid "" "It requires three arguments. The first is only used as input, and must be " "a :c:expr:`const char*` which points to the name of an encoding as a NUL-" @@ -396,11 +416,11 @@ msgid "" "will be set to the number of bytes in the output buffer." msgstr "" -#: c-api/arg.rst:229 +#: c-api/arg.rst:245 msgid "There are two modes of operation:" msgstr "" -#: c-api/arg.rst:231 +#: c-api/arg.rst:247 msgid "" "If *\\*buffer* points a ``NULL`` pointer, the function will allocate a " "buffer of the needed size, copy the encoded data into this buffer and set " @@ -409,7 +429,7 @@ msgid "" "after usage." msgstr "" -#: c-api/arg.rst:236 +#: c-api/arg.rst:252 msgid "" "If *\\*buffer* points to a non-``NULL`` pointer (an already allocated " "buffer), :c:func:`PyArg_ParseTuple` will use this location as the buffer and " @@ -418,197 +438,197 @@ msgid "" "the buffer is not large enough, a :exc:`ValueError` will be set." msgstr "" -#: c-api/arg.rst:242 +#: c-api/arg.rst:258 msgid "" "In both cases, *\\*buffer_length* is set to the length of the encoded data " "without the trailing NUL byte." msgstr "" -#: c-api/arg.rst:248 +#: c-api/arg.rst:264 msgid "" "``et#`` (:class:`str`, :class:`bytes` or :class:`bytearray`) [const char " "\\*encoding, char \\*\\*buffer, :c:type:`Py_ssize_t` \\*buffer_length]" msgstr "" -#: c-api/arg.rst:246 +#: c-api/arg.rst:262 msgid "" "Same as ``es#`` except that byte string objects are passed through without " "recoding them. Instead, the implementation assumes that the byte string " "object uses the encoding passed in as parameter." msgstr "" -#: c-api/arg.rst:251 +#: c-api/arg.rst:267 msgid "Numbers" msgstr "" -#: c-api/arg.rst:255 +#: c-api/arg.rst:271 msgid "``b`` (:class:`int`) [unsigned char]" msgstr "" -#: c-api/arg.rst:254 +#: c-api/arg.rst:270 msgid "" "Convert a nonnegative Python integer to an unsigned tiny int, stored in a C :" "c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:599 +#: c-api/arg.rst:615 msgid "``B`` (:class:`int`) [unsigned char]" msgstr "" -#: c-api/arg.rst:258 +#: c-api/arg.rst:274 msgid "" "Convert a Python integer to a tiny int without overflow checking, stored in " "a C :c:expr:`unsigned char`." msgstr "" -#: c-api/arg.rst:593 +#: c-api/arg.rst:609 msgid "``h`` (:class:`int`) [short int]" msgstr "" -#: c-api/arg.rst:262 +#: c-api/arg.rst:278 msgid "Convert a Python integer to a C :c:expr:`short int`." msgstr "" -#: c-api/arg.rst:602 +#: c-api/arg.rst:618 msgid "``H`` (:class:`int`) [unsigned short int]" msgstr "" -#: c-api/arg.rst:265 +#: c-api/arg.rst:281 msgid "" "Convert a Python integer to a C :c:expr:`unsigned short int`, without " "overflow checking." msgstr "" -#: c-api/arg.rst:587 +#: c-api/arg.rst:603 msgid "``i`` (:class:`int`) [int]" msgstr "" -#: c-api/arg.rst:269 +#: c-api/arg.rst:285 msgid "Convert a Python integer to a plain C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:605 +#: c-api/arg.rst:621 msgid "``I`` (:class:`int`) [unsigned int]" msgstr "" -#: c-api/arg.rst:272 +#: c-api/arg.rst:288 msgid "" "Convert a Python integer to a C :c:expr:`unsigned int`, without overflow " "checking." msgstr "" -#: c-api/arg.rst:596 +#: c-api/arg.rst:612 msgid "``l`` (:class:`int`) [long int]" msgstr "" -#: c-api/arg.rst:276 +#: c-api/arg.rst:292 msgid "Convert a Python integer to a C :c:expr:`long int`." msgstr "" -#: c-api/arg.rst:608 +#: c-api/arg.rst:624 msgid "``k`` (:class:`int`) [unsigned long]" msgstr "" -#: c-api/arg.rst:279 +#: c-api/arg.rst:295 msgid "" "Convert a Python integer to a C :c:expr:`unsigned long` without overflow " "checking." msgstr "" -#: c-api/arg.rst:611 +#: c-api/arg.rst:627 msgid "``L`` (:class:`int`) [long long]" msgstr "" -#: c-api/arg.rst:283 +#: c-api/arg.rst:299 msgid "Convert a Python integer to a C :c:expr:`long long`." msgstr "" -#: c-api/arg.rst:614 +#: c-api/arg.rst:630 msgid "``K`` (:class:`int`) [unsigned long long]" msgstr "" -#: c-api/arg.rst:286 +#: c-api/arg.rst:302 msgid "" "Convert a Python integer to a C :c:expr:`unsigned long long` without " "overflow checking." msgstr "" -#: c-api/arg.rst:617 +#: c-api/arg.rst:633 msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:290 +#: c-api/arg.rst:306 msgid "Convert a Python integer to a C :c:type:`Py_ssize_t`." msgstr "" -#: c-api/arg.rst:297 +#: c-api/arg.rst:313 msgid "``c`` (:class:`bytes` or :class:`bytearray` of length 1) [char]" msgstr "" -#: c-api/arg.rst:293 +#: c-api/arg.rst:309 msgid "" "Convert a Python byte, represented as a :class:`bytes` or :class:`bytearray` " "object of length 1, to a C :c:expr:`char`." msgstr "" -#: c-api/arg.rst:296 +#: c-api/arg.rst:312 msgid "Allow :class:`bytearray` objects." msgstr "" -#: c-api/arg.rst:625 +#: c-api/arg.rst:641 msgid "``C`` (:class:`str` of length 1) [int]" msgstr "" -#: c-api/arg.rst:300 +#: c-api/arg.rst:316 msgid "" "Convert a Python character, represented as a :class:`str` object of length " "1, to a C :c:expr:`int`." msgstr "" -#: c-api/arg.rst:631 +#: c-api/arg.rst:647 msgid "``f`` (:class:`float`) [float]" msgstr "" -#: c-api/arg.rst:304 +#: c-api/arg.rst:320 msgid "Convert a Python floating point number to a C :c:expr:`float`." msgstr "" -#: c-api/arg.rst:628 +#: c-api/arg.rst:644 msgid "``d`` (:class:`float`) [double]" msgstr "" -#: c-api/arg.rst:307 +#: c-api/arg.rst:323 msgid "Convert a Python floating point number to a C :c:expr:`double`." msgstr "" -#: c-api/arg.rst:310 +#: c-api/arg.rst:326 msgid "``D`` (:class:`complex`) [Py_complex]" msgstr "" -#: c-api/arg.rst:310 +#: c-api/arg.rst:326 msgid "Convert a Python complex number to a C :c:type:`Py_complex` structure." msgstr "" -#: c-api/arg.rst:313 +#: c-api/arg.rst:329 msgid "Other objects" msgstr "" -#: c-api/arg.rst:642 +#: c-api/arg.rst:658 msgid "``O`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:316 +#: c-api/arg.rst:332 msgid "" "Store a Python object (without any conversion) in a C object pointer. The C " "program thus receives the actual object that was passed. The object's " "reference count is not increased. The pointer stored is not ``NULL``." msgstr "" -#: c-api/arg.rst:325 +#: c-api/arg.rst:341 msgid "``O!`` (object) [*typeobject*, PyObject \\*]" msgstr "" -#: c-api/arg.rst:321 +#: c-api/arg.rst:337 msgid "" "Store a Python object in a C object pointer. This is similar to ``O``, but " "takes two C arguments: the first is the address of a Python type object, the " @@ -617,11 +637,11 @@ msgid "" "required type, :exc:`TypeError` is raised." msgstr "" -#: c-api/arg.rst:656 +#: c-api/arg.rst:672 msgid "``O&`` (object) [*converter*, *anything*]" msgstr "" -#: c-api/arg.rst:330 +#: c-api/arg.rst:346 msgid "" "Convert a Python object to a C variable through a *converter* function. " "This takes two arguments: the first is a function, the second is the address " @@ -629,7 +649,7 @@ msgid "" "*converter* function in turn is called as follows::" msgstr "" -#: c-api/arg.rst:337 +#: c-api/arg.rst:353 msgid "" "where *object* is the Python object to be converted and *address* is the :c:" "expr:`void*` argument that was passed to the ``PyArg_Parse*`` function. The " @@ -639,7 +659,7 @@ msgid "" "unmodified." msgstr "" -#: c-api/arg.rst:343 +#: c-api/arg.rst:359 msgid "" "If the *converter* returns ``Py_CLEANUP_SUPPORTED``, it may get called a " "second time if the argument parsing eventually fails, giving the converter a " @@ -648,15 +668,15 @@ msgid "" "value as in the original call." msgstr "" -#: c-api/arg.rst:349 +#: c-api/arg.rst:365 msgid "``Py_CLEANUP_SUPPORTED`` was added." msgstr "" -#: c-api/arg.rst:359 +#: c-api/arg.rst:375 msgid "``p`` (:class:`bool`) [int]" msgstr "" -#: c-api/arg.rst:353 +#: c-api/arg.rst:369 msgid "" "Tests the value passed in for truth (a boolean **p**\\ redicate) and " "converts the result to its equivalent C true/false integer value. Sets the " @@ -665,18 +685,18 @@ msgid "" "how Python tests values for truth." msgstr "" -#: c-api/arg.rst:659 +#: c-api/arg.rst:675 msgid "``(items)`` (:class:`tuple`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:362 +#: c-api/arg.rst:378 msgid "" "The object must be a Python sequence whose length is the number of format " "units in *items*. The C arguments must correspond to the individual format " "units in *items*. Format units for sequences may be nested." msgstr "" -#: c-api/arg.rst:366 +#: c-api/arg.rst:382 msgid "" "It is possible to pass \"long\" integers (integers whose value exceeds the " "platform's :const:`LONG_MAX`) however no proper range checking is done --- " @@ -685,17 +705,17 @@ msgid "" "downcasts in C --- your mileage may vary)." msgstr "" -#: c-api/arg.rst:372 +#: c-api/arg.rst:388 msgid "" "A few other characters have a meaning in a format string. These may not " "occur inside nested parentheses. They are:" msgstr "" -#: c-api/arg.rst:380 +#: c-api/arg.rst:396 msgid "``|``" msgstr "" -#: c-api/arg.rst:376 +#: c-api/arg.rst:392 msgid "" "Indicates that the remaining arguments in the Python argument list are " "optional. The C variables corresponding to optional arguments should be " @@ -704,11 +724,11 @@ msgid "" "corresponding C variable(s)." msgstr "" -#: c-api/arg.rst:389 +#: c-api/arg.rst:405 msgid "``$``" msgstr "" -#: c-api/arg.rst:383 +#: c-api/arg.rst:399 msgid "" ":c:func:`PyArg_ParseTupleAndKeywords` only: Indicates that the remaining " "arguments in the Python argument list are keyword-only. Currently, all " @@ -716,35 +736,35 @@ msgid "" "be specified before ``$`` in the format string." msgstr "" -#: c-api/arg.rst:394 +#: c-api/arg.rst:410 msgid "``:``" msgstr "" -#: c-api/arg.rst:392 +#: c-api/arg.rst:408 msgid "" "The list of format units ends here; the string after the colon is used as " "the function name in error messages (the \"associated value\" of the " "exception that :c:func:`PyArg_ParseTuple` raises)." msgstr "" -#: c-api/arg.rst:399 +#: c-api/arg.rst:415 msgid "``;``" msgstr "" -#: c-api/arg.rst:397 +#: c-api/arg.rst:413 msgid "" "The list of format units ends here; the string after the semicolon is used " "as the error message *instead* of the default error message. ``:`` and ``;" "`` mutually exclude each other." msgstr "" -#: c-api/arg.rst:401 +#: c-api/arg.rst:417 msgid "" "Note that any Python object references which are provided to the caller are " "*borrowed* references; do not decrement their reference count!" msgstr "" -#: c-api/arg.rst:404 +#: c-api/arg.rst:420 msgid "" "Additional arguments passed to these functions must be addresses of " "variables whose type is determined by the format string; these are used to " @@ -754,7 +774,7 @@ msgid "" "unit in that case." msgstr "" -#: c-api/arg.rst:410 +#: c-api/arg.rst:426 msgid "" "For the conversion to succeed, the *arg* object must match the format and " "the format must be exhausted. On success, the ``PyArg_Parse*`` functions " @@ -764,24 +784,24 @@ msgid "" "the following format units are left untouched." msgstr "" -#: c-api/arg.rst:419 +#: c-api/arg.rst:435 msgid "API Functions" msgstr "" -#: c-api/arg.rst:423 +#: c-api/arg.rst:439 msgid "" "Parse the parameters of a function that takes only positional parameters " "into local variables. Returns true on success; on failure, it returns false " "and raises the appropriate exception." msgstr "" -#: c-api/arg.rst:430 +#: c-api/arg.rst:446 msgid "" "Identical to :c:func:`PyArg_ParseTuple`, except that it accepts a va_list " "rather than a variable number of arguments." msgstr "" -#: c-api/arg.rst:436 +#: c-api/arg.rst:452 msgid "" "Parse the parameters of a function that takes both positional and keyword " "parameters into local variables. The *keywords* argument is a ``NULL``-" @@ -790,26 +810,26 @@ msgid "" "success; on failure, it returns false and raises the appropriate exception." msgstr "" -#: c-api/arg.rst:443 +#: c-api/arg.rst:459 msgid "" "Added support for :ref:`positional-only parameters `." msgstr "" -#: c-api/arg.rst:450 +#: c-api/arg.rst:466 msgid "" "Identical to :c:func:`PyArg_ParseTupleAndKeywords`, except that it accepts a " "va_list rather than a variable number of arguments." msgstr "" -#: c-api/arg.rst:456 +#: c-api/arg.rst:472 msgid "" "Ensure that the keys in the keywords argument dictionary are strings. This " "is only needed if :c:func:`PyArg_ParseTupleAndKeywords` is not used, since " "the latter already does this check." msgstr "" -#: c-api/arg.rst:466 +#: c-api/arg.rst:482 msgid "" "Function used to deconstruct the argument lists of \"old-style\" functions " "--- these are functions which use the :const:`METH_OLDARGS` parameter " @@ -820,7 +840,7 @@ msgid "" "continue to be used for that purpose." msgstr "" -#: c-api/arg.rst:477 +#: c-api/arg.rst:493 msgid "" "A simpler form of parameter retrieval which does not use a format string to " "specify the types of the arguments. Functions which use this method to " @@ -838,23 +858,23 @@ msgid "" "if there was a failure." msgstr "" -#: c-api/arg.rst:492 +#: c-api/arg.rst:508 msgid "" "This is an example of the use of this function, taken from the sources for " "the :mod:`_weakref` helper module for weak references::" msgstr "" -#: c-api/arg.rst:508 +#: c-api/arg.rst:524 msgid "" "The call to :c:func:`PyArg_UnpackTuple` in this example is entirely " "equivalent to this call to :c:func:`PyArg_ParseTuple`::" msgstr "" -#: c-api/arg.rst:516 +#: c-api/arg.rst:532 msgid "Building values" msgstr "" -#: c-api/arg.rst:520 +#: c-api/arg.rst:536 msgid "" "Create a new value based on a format string similar to those accepted by the " "``PyArg_Parse*`` family of functions and a sequence of values. Returns the " @@ -862,7 +882,7 @@ msgid "" "``NULL`` is returned." msgstr "" -#: c-api/arg.rst:525 +#: c-api/arg.rst:541 msgid "" ":c:func:`Py_BuildValue` does not always build a tuple. It builds a tuple " "only if its format string contains two or more format units. If the format " @@ -871,7 +891,7 @@ msgid "" "it to return a tuple of size 0 or one, parenthesize the format string." msgstr "" -#: c-api/arg.rst:531 +#: c-api/arg.rst:547 msgid "" "When memory buffers are passed as parameters to supply data to build " "objects, as for the ``s`` and ``s#`` formats, the required data is copied. " @@ -882,7 +902,7 @@ msgid "" "`Py_BuildValue` returns." msgstr "" -#: c-api/arg.rst:539 +#: c-api/arg.rst:555 msgid "" "In the following description, the quoted form is the format unit; the entry " "in (round) parentheses is the Python object type that the format unit will " @@ -890,180 +910,180 @@ msgid "" "be passed." msgstr "" -#: c-api/arg.rst:543 +#: c-api/arg.rst:559 msgid "" "The characters space, tab, colon and comma are ignored in format strings " "(but not within format units such as ``s#``). This can be used to make long " "format strings a tad more readable." msgstr "" -#: c-api/arg.rst:549 +#: c-api/arg.rst:565 msgid "``s`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:548 +#: c-api/arg.rst:564 msgid "" "Convert a null-terminated C string to a Python :class:`str` object using " "``'utf-8'`` encoding. If the C string pointer is ``NULL``, ``None`` is used." msgstr "" -#: c-api/arg.rst:554 +#: c-api/arg.rst:570 msgid "" "``s#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:552 +#: c-api/arg.rst:568 msgid "" "Convert a C string and its length to a Python :class:`str` object using " "``'utf-8'`` encoding. If the C string pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:558 +#: c-api/arg.rst:574 msgid "``y`` (:class:`bytes`) [const char \\*]" msgstr "" -#: c-api/arg.rst:557 +#: c-api/arg.rst:573 msgid "" "This converts a C string to a Python :class:`bytes` object. If the C string " "pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:562 +#: c-api/arg.rst:578 msgid "``y#`` (:class:`bytes`) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:561 +#: c-api/arg.rst:577 msgid "" "This converts a C string and its lengths to a Python object. If the C " "string pointer is ``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:581 +#: c-api/arg.rst:597 msgid "Same as ``s``." msgstr "" -#: c-api/arg.rst:568 +#: c-api/arg.rst:584 msgid "" "``z#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:584 +#: c-api/arg.rst:600 msgid "Same as ``s#``." msgstr "" -#: c-api/arg.rst:573 +#: c-api/arg.rst:589 msgid "``u`` (:class:`str`) [const wchar_t \\*]" msgstr "" -#: c-api/arg.rst:571 +#: c-api/arg.rst:587 msgid "" "Convert a null-terminated :c:expr:`wchar_t` buffer of Unicode (UTF-16 or " "UCS-4) data to a Python Unicode object. If the Unicode buffer pointer is " "``NULL``, ``None`` is returned." msgstr "" -#: c-api/arg.rst:578 +#: c-api/arg.rst:594 msgid "``u#`` (:class:`str`) [const wchar_t \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:576 +#: c-api/arg.rst:592 msgid "" "Convert a Unicode (UTF-16 or UCS-4) data buffer and its length to a Python " "Unicode object. If the Unicode buffer pointer is ``NULL``, the length is " "ignored and ``None`` is returned." msgstr "" -#: c-api/arg.rst:581 +#: c-api/arg.rst:597 msgid "``U`` (:class:`str` or ``None``) [const char \\*]" msgstr "" -#: c-api/arg.rst:584 +#: c-api/arg.rst:600 msgid "" "``U#`` (:class:`str` or ``None``) [const char \\*, :c:type:`Py_ssize_t`]" msgstr "" -#: c-api/arg.rst:587 +#: c-api/arg.rst:603 msgid "Convert a plain C :c:expr:`int` to a Python integer object." msgstr "" -#: c-api/arg.rst:590 +#: c-api/arg.rst:606 msgid "``b`` (:class:`int`) [char]" msgstr "" -#: c-api/arg.rst:590 +#: c-api/arg.rst:606 msgid "Convert a plain C :c:expr:`char` to a Python integer object." msgstr "" -#: c-api/arg.rst:593 +#: c-api/arg.rst:609 msgid "Convert a plain C :c:expr:`short int` to a Python integer object." msgstr "" -#: c-api/arg.rst:596 +#: c-api/arg.rst:612 msgid "Convert a C :c:expr:`long int` to a Python integer object." msgstr "" -#: c-api/arg.rst:599 +#: c-api/arg.rst:615 msgid "Convert a C :c:expr:`unsigned char` to a Python integer object." msgstr "" -#: c-api/arg.rst:602 +#: c-api/arg.rst:618 msgid "Convert a C :c:expr:`unsigned short int` to a Python integer object." msgstr "" -#: c-api/arg.rst:605 +#: c-api/arg.rst:621 msgid "Convert a C :c:expr:`unsigned int` to a Python integer object." msgstr "" -#: c-api/arg.rst:608 +#: c-api/arg.rst:624 msgid "Convert a C :c:expr:`unsigned long` to a Python integer object." msgstr "" -#: c-api/arg.rst:611 +#: c-api/arg.rst:627 msgid "Convert a C :c:expr:`long long` to a Python integer object." msgstr "" -#: c-api/arg.rst:614 +#: c-api/arg.rst:630 msgid "Convert a C :c:expr:`unsigned long long` to a Python integer object." msgstr "" -#: c-api/arg.rst:617 +#: c-api/arg.rst:633 msgid "Convert a C :c:type:`Py_ssize_t` to a Python integer." msgstr "" -#: c-api/arg.rst:621 +#: c-api/arg.rst:637 msgid "``c`` (:class:`bytes` of length 1) [char]" msgstr "" -#: c-api/arg.rst:620 +#: c-api/arg.rst:636 msgid "" "Convert a C :c:expr:`int` representing a byte to a Python :class:`bytes` " "object of length 1." msgstr "" -#: c-api/arg.rst:624 +#: c-api/arg.rst:640 msgid "" "Convert a C :c:expr:`int` representing a character to Python :class:`str` " "object of length 1." msgstr "" -#: c-api/arg.rst:628 +#: c-api/arg.rst:644 msgid "Convert a C :c:expr:`double` to a Python floating point number." msgstr "" -#: c-api/arg.rst:631 +#: c-api/arg.rst:647 msgid "Convert a C :c:expr:`float` to a Python floating point number." msgstr "" -#: c-api/arg.rst:634 +#: c-api/arg.rst:650 msgid "``D`` (:class:`complex`) [Py_complex \\*]" msgstr "" -#: c-api/arg.rst:634 +#: c-api/arg.rst:650 msgid "Convert a C :c:type:`Py_complex` structure to a Python complex number." msgstr "" -#: c-api/arg.rst:637 +#: c-api/arg.rst:653 msgid "" "Pass a Python object untouched (except for its reference count, which is " "incremented by one). If the object passed in is a ``NULL`` pointer, it is " @@ -1073,26 +1093,26 @@ msgid "" "raised yet, :exc:`SystemError` is set." msgstr "" -#: c-api/arg.rst:645 +#: c-api/arg.rst:661 msgid "``S`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:645 +#: c-api/arg.rst:661 msgid "Same as ``O``." msgstr "" -#: c-api/arg.rst:650 +#: c-api/arg.rst:666 msgid "``N`` (object) [PyObject \\*]" msgstr "" -#: c-api/arg.rst:648 +#: c-api/arg.rst:664 msgid "" "Same as ``O``, except it doesn't increment the reference count on the " "object. Useful when the object is created by a call to an object constructor " "in the argument list." msgstr "" -#: c-api/arg.rst:653 +#: c-api/arg.rst:669 msgid "" "Convert *anything* to a Python object through a *converter* function. The " "function is called with *anything* (which should be compatible with :c:expr:" @@ -1100,40 +1120,40 @@ msgid "" "``NULL`` if an error occurred." msgstr "" -#: c-api/arg.rst:659 +#: c-api/arg.rst:675 msgid "" "Convert a sequence of C values to a Python tuple with the same number of " "items." msgstr "" -#: c-api/arg.rst:662 +#: c-api/arg.rst:678 msgid "``[items]`` (:class:`list`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:662 +#: c-api/arg.rst:678 msgid "" "Convert a sequence of C values to a Python list with the same number of " "items." msgstr "" -#: c-api/arg.rst:667 +#: c-api/arg.rst:683 msgid "``{items}`` (:class:`dict`) [*matching-items*]" msgstr "" -#: c-api/arg.rst:665 +#: c-api/arg.rst:681 msgid "" "Convert a sequence of C values to a Python dictionary. Each pair of " "consecutive C values adds one item to the dictionary, serving as key and " "value, respectively." msgstr "" -#: c-api/arg.rst:669 +#: c-api/arg.rst:685 msgid "" "If there is an error in the format string, the :exc:`SystemError` exception " "is set and ``NULL`` returned." msgstr "" -#: c-api/arg.rst:674 +#: c-api/arg.rst:690 msgid "" "Identical to :c:func:`Py_BuildValue`, except that it accepts a va_list " "rather than a variable number of arguments." diff --git a/c-api/file.po b/c-api/file.po index 42c389d1d..c420d0029 100644 --- a/c-api/file.po +++ b/c-api/file.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -112,7 +112,7 @@ msgstr "" msgid "This function is safe to call before :c:func:`Py_Initialize`." msgstr "" -#: c-api/file.rst:85 +#: c-api/file.rst:21 msgid "" "Raises an :ref:`auditing event ` ``setopencodehook`` with no " "arguments." diff --git a/c-api/init.po b/c-api/init.po index 2c4a9321f..8a07ebff5 100644 --- a/c-api/init.po +++ b/c-api/init.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -462,7 +462,7 @@ msgid "" "than once." msgstr "" -#: c-api/init.rst:305 +#: c-api/init.rst:29 msgid "" "Raises an :ref:`auditing event ` ``cpython." "_PySys_ClearAuditHooks`` with no arguments." @@ -1253,7 +1253,7 @@ msgid "" "function." msgstr "" -#: c-api/init.rst:1109 +#: c-api/init.rst:5 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_New`` with no arguments." @@ -1265,7 +1265,7 @@ msgid "" "interpreter lock must be held." msgstr "" -#: c-api/init.rst:1117 +#: c-api/init.rst:4 msgid "" "Raises an :ref:`auditing event ` ``cpython." "PyInterpreterState_Clear`` with no arguments." diff --git a/c-api/long.po b/c-api/long.po index 83e028a6c..6be5b873e 100644 --- a/c-api/long.po +++ b/c-api/long.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -115,44 +115,51 @@ msgid "" "are no digits, :exc:`ValueError` will be raised." msgstr "" -#: c-api/long.rst:99 +#: c-api/long.rst:96 +msgid "" +"Python methods :meth:`int.to_bytes` and :meth:`int.from_bytes` to convert a :" +"c:type:`PyLongObject` to/from an array of bytes in base ``256``. You can " +"call those from C using :c:func:`PyObject_CallMethod`." +msgstr "" + +#: c-api/long.rst:103 msgid "" "Convert a sequence of Unicode digits in the string *u* to a Python integer " "value." msgstr "" -#: c-api/long.rst:107 +#: c-api/long.rst:111 msgid "" "Create a Python integer from the pointer *p*. The pointer value can be " "retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." msgstr "" -#: c-api/long.rst:136 +#: c-api/long.rst:140 msgid "" "Return a C :c:expr:`long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:122 +#: c-api/long.rst:126 msgid "" "Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" "expr:`long`." msgstr "" -#: c-api/long.rst:145 c-api/long.rst:186 c-api/long.rst:209 +#: c-api/long.rst:149 c-api/long.rst:190 c-api/long.rst:213 msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:147 c-api/long.rst:190 c-api/long.rst:294 +#: c-api/long.rst:151 c-api/long.rst:194 c-api/long.rst:298 msgid "Use :meth:`__index__` if available." msgstr "" -#: c-api/long.rst:150 c-api/long.rst:193 c-api/long.rst:297 +#: c-api/long.rst:154 c-api/long.rst:197 c-api/long.rst:301 msgid "This function will no longer use :meth:`__int__`." msgstr "" -#: c-api/long.rst:140 +#: c-api/long.rst:144 msgid "" "If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:" "`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " @@ -160,20 +167,20 @@ msgid "" "occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:177 +#: c-api/long.rst:181 msgid "" "Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an " "instance of :c:type:`PyLongObject`, first call its :meth:`__index__` method " "(if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:163 +#: c-api/long.rst:167 msgid "" "Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" "expr:`long long`." msgstr "" -#: c-api/long.rst:181 +#: c-api/long.rst:185 msgid "" "If the value of *obj* is greater than :const:`LLONG_MAX` or less than :const:" "`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " @@ -181,133 +188,133 @@ msgid "" "occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." msgstr "" -#: c-api/long.rst:203 +#: c-api/long.rst:207 msgid "" "Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must " "be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:206 +#: c-api/long.rst:210 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`Py_ssize_t`." msgstr "" -#: c-api/long.rst:218 +#: c-api/long.rst:222 msgid "" "Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* " "must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:221 +#: c-api/long.rst:225 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`unsigned long`." msgstr "" -#: c-api/long.rst:224 +#: c-api/long.rst:228 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:234 +#: c-api/long.rst:238 msgid "" "Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:237 +#: c-api/long.rst:241 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "type:`size_t`." msgstr "" -#: c-api/long.rst:240 +#: c-api/long.rst:244 msgid "" "Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:249 +#: c-api/long.rst:253 msgid "" "Return a C :c:expr:`unsigned long long` representation of *pylong*. " "*pylong* must be an instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:252 +#: c-api/long.rst:256 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :" "c:expr:`unsigned long long`." msgstr "" -#: c-api/long.rst:255 +#: c-api/long.rst:259 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:258 +#: c-api/long.rst:262 msgid "" "A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`." msgstr "" -#: c-api/long.rst:264 +#: c-api/long.rst:268 msgid "" "Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not " "an instance of :c:type:`PyLongObject`, first call its :meth:`__index__` " "method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:268 +#: c-api/long.rst:272 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long`, return " "the reduction of that value modulo ``ULONG_MAX + 1``." msgstr "" -#: c-api/long.rst:271 +#: c-api/long.rst:275 msgid "" "Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " "disambiguate." msgstr "" -#: c-api/long.rst:283 +#: c-api/long.rst:287 msgid "" "Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* " "is not an instance of :c:type:`PyLongObject`, first call its :meth:" "`__index__` method (if present) to convert it to a :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:288 +#: c-api/long.rst:292 msgid "" "If the value of *obj* is out of range for an :c:expr:`unsigned long long`, " "return the reduction of that value modulo ``ULLONG_MAX + 1``." msgstr "" -#: c-api/long.rst:291 +#: c-api/long.rst:295 msgid "" "Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` " "to disambiguate." msgstr "" -#: c-api/long.rst:303 +#: c-api/long.rst:307 msgid "" "Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an " "instance of :c:type:`PyLongObject`." msgstr "" -#: c-api/long.rst:306 +#: c-api/long.rst:310 msgid "" "Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" "expr:`double`." msgstr "" -#: c-api/long.rst:309 +#: c-api/long.rst:313 msgid "" "Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" -#: c-api/long.rst:314 +#: c-api/long.rst:318 msgid "" "Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* " "cannot be converted, an :exc:`OverflowError` will be raised. This is only " @@ -315,7 +322,7 @@ msgid "" "c:func:`PyLong_FromVoidPtr`." msgstr "" -#: c-api/long.rst:319 +#: c-api/long.rst:323 msgid "" "Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate." msgstr "" diff --git a/c-api/structures.po b/c-api/structures.po index 8631e967b..6e9c2f2a4 100644 --- a/c-api/structures.po +++ b/c-api/structures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -233,66 +233,25 @@ msgid "" "has four fields:" msgstr "" -#: c-api/structures.rst:410 c-api/structures.rst:506 -msgid "Field" -msgstr "" - -#: c-api/structures.rst:410 c-api/structures.rst:506 -msgid "C Type" -msgstr "" - -#: c-api/structures.rst:410 c-api/structures.rst:506 -msgid "Meaning" -msgstr "" - -#: c-api/structures.rst:253 -msgid ":attr:`ml_name`" -msgstr "" - -#: c-api/structures.rst:261 c-api/structures.rst:425 c-api/structures.rst:508 -#: c-api/structures.rst:516 -msgid "const char \\*" -msgstr "" - -#: c-api/structures.rst:253 +#: c-api/structures.rst:252 msgid "name of the method" msgstr "" -#: c-api/structures.rst:255 -msgid ":attr:`ml_meth`" -msgstr "" - -#: c-api/structures.rst:255 -msgid "PyCFunction" -msgstr "" - -#: c-api/structures.rst:255 +#: c-api/structures.rst:256 msgid "pointer to the C implementation" msgstr "" -#: c-api/structures.rst:258 -msgid ":attr:`ml_flags`" -msgstr "" - -#: c-api/structures.rst:414 c-api/structures.rst:437 -msgid "int" -msgstr "" - -#: c-api/structures.rst:258 -msgid "flag bits indicating how the call should be constructed" -msgstr "" - -#: c-api/structures.rst:261 -msgid ":attr:`ml_doc`" +#: c-api/structures.rst:260 +msgid "flags bits indicating how the call should be constructed" msgstr "" -#: c-api/structures.rst:425 +#: c-api/structures.rst:426 msgid "points to the contents of the docstring" msgstr "" -#: c-api/structures.rst:265 +#: c-api/structures.rst:266 msgid "" -"The :attr:`ml_meth` is a C function pointer. The functions may be of " +"The :c:member:`ml_meth` is a C function pointer. The functions may be of " "different types, but they always return :c:expr:`PyObject*`. If the " "function is not of the :c:type:`PyCFunction`, the compiler will require a " "cast in the method table. Even though :c:type:`PyCFunction` defines the " @@ -300,18 +259,18 @@ msgid "" "implementation uses the specific C type of the *self* object." msgstr "" -#: c-api/structures.rst:272 +#: c-api/structures.rst:273 msgid "" -"The :attr:`ml_flags` field is a bitfield which can include the following " +"The :c:member:`ml_flags` field is a bitfield which can include the following " "flags. The individual flags indicate either a calling convention or a " "binding convention." msgstr "" -#: c-api/structures.rst:276 +#: c-api/structures.rst:277 msgid "There are these calling conventions:" msgstr "" -#: c-api/structures.rst:280 +#: c-api/structures.rst:281 msgid "" "This is the typical calling convention, where the methods have the type :c:" "type:`PyCFunction`. The function expects two :c:expr:`PyObject*` values. The " @@ -321,7 +280,7 @@ msgid "" "func:`PyArg_ParseTuple` or :c:func:`PyArg_UnpackTuple`." msgstr "" -#: c-api/structures.rst:290 +#: c-api/structures.rst:291 msgid "" "Methods with these flags must be of type :c:type:`PyCFunctionWithKeywords`. " "The function expects three parameters: *self*, *args*, *kwargs* where " @@ -330,7 +289,7 @@ msgid "" "using :c:func:`PyArg_ParseTupleAndKeywords`." msgstr "" -#: c-api/structures.rst:299 +#: c-api/structures.rst:300 msgid "" "Fast calling convention supporting only positional arguments. The methods " "have the type :c:type:`_PyCFunctionFast`. The first parameter is *self*, the " @@ -339,11 +298,11 @@ msgid "" "the array)." msgstr "" -#: c-api/structures.rst:309 +#: c-api/structures.rst:310 msgid "``METH_FASTCALL`` is now part of the stable ABI." msgstr "" -#: c-api/structures.rst:314 +#: c-api/structures.rst:315 msgid "" "Extension of :const:`METH_FASTCALL` supporting also keyword arguments, with " "methods of type :c:type:`_PyCFunctionFastWithKeywords`. Keyword arguments " @@ -355,21 +314,21 @@ msgid "" "arguments." msgstr "" -#: c-api/structures.rst:329 +#: c-api/structures.rst:330 msgid "" "Extension of :const:`METH_FASTCALL | METH_KEYWORDS` supporting the *defining " "class*, that is, the class that contains the method in question. The " "defining class might be a superclass of ``Py_TYPE(self)``." msgstr "" -#: c-api/structures.rst:333 +#: c-api/structures.rst:334 msgid "" "The method needs to be of type :c:type:`PyCMethod`, the same as for " "``METH_FASTCALL | METH_KEYWORDS`` with ``defining_class`` argument added " "after ``self``." msgstr "" -#: c-api/structures.rst:342 +#: c-api/structures.rst:343 msgid "" "Methods without parameters don't need to check whether arguments are given " "if they are listed with the :const:`METH_NOARGS` flag. They need to be of " @@ -378,13 +337,13 @@ msgid "" "the second parameter will be ``NULL``." msgstr "" -#: c-api/structures.rst:348 +#: c-api/structures.rst:349 msgid "" "The function must have 2 parameters. Since the second parameter is unused, :" "c:macro:`Py_UNUSED` can be used to prevent a compiler warning." msgstr "" -#: c-api/structures.rst:354 +#: c-api/structures.rst:355 msgid "" "Methods with a single object argument can be listed with the :const:`METH_O` " "flag, instead of invoking :c:func:`PyArg_ParseTuple` with a ``\"O\"`` " @@ -393,7 +352,7 @@ msgid "" "argument." msgstr "" -#: c-api/structures.rst:360 +#: c-api/structures.rst:361 msgid "" "These two constants are not used to indicate the calling convention but the " "binding when use with methods of classes. These may not be used for " @@ -401,27 +360,27 @@ msgid "" "any given method." msgstr "" -#: c-api/structures.rst:370 +#: c-api/structures.rst:371 msgid "" "The method will be passed the type object as the first parameter rather than " "an instance of the type. This is used to create *class methods*, similar to " "what is created when using the :func:`classmethod` built-in function." msgstr "" -#: c-api/structures.rst:380 +#: c-api/structures.rst:381 msgid "" "The method will be passed ``NULL`` as the first parameter rather than an " "instance of the type. This is used to create *static methods*, similar to " "what is created when using the :func:`staticmethod` built-in function." msgstr "" -#: c-api/structures.rst:384 +#: c-api/structures.rst:385 msgid "" "One other constant controls whether a method is loaded in place of another " "definition with the same method name." msgstr "" -#: c-api/structures.rst:390 +#: c-api/structures.rst:391 msgid "" "The method will be loaded in place of existing definitions. Without " "*METH_COEXIST*, the default is to skip repeated definitions. Since slot " @@ -434,193 +393,213 @@ msgid "" "calls." msgstr "" -#: c-api/structures.rst:402 +#: c-api/structures.rst:403 msgid "Accessing attributes of extension types" msgstr "" -#: c-api/structures.rst:406 +#: c-api/structures.rst:407 msgid "" "Structure which describes an attribute of a type which corresponds to a C " "struct member. Its fields are:" msgstr "" -#: c-api/structures.rst:412 +#: c-api/structures.rst:507 +msgid "Field" +msgstr "" + +#: c-api/structures.rst:507 +msgid "C Type" +msgstr "" + +#: c-api/structures.rst:507 +msgid "Meaning" +msgstr "" + +#: c-api/structures.rst:413 msgid ":attr:`name`" msgstr "" -#: c-api/structures.rst:412 +#: c-api/structures.rst:426 c-api/structures.rst:509 c-api/structures.rst:517 +msgid "const char \\*" +msgstr "" + +#: c-api/structures.rst:413 msgid "name of the member" msgstr "" -#: c-api/structures.rst:414 +#: c-api/structures.rst:415 msgid ":attr:`!type`" msgstr "" -#: c-api/structures.rst:414 +#: c-api/structures.rst:422 c-api/structures.rst:438 +msgid "int" +msgstr "" + +#: c-api/structures.rst:415 msgid "the type of the member in the C struct" msgstr "" -#: c-api/structures.rst:417 +#: c-api/structures.rst:418 msgid ":attr:`offset`" msgstr "" -#: c-api/structures.rst:453 +#: c-api/structures.rst:454 msgid "Py_ssize_t" msgstr "" -#: c-api/structures.rst:417 +#: c-api/structures.rst:418 msgid "" "the offset in bytes that the member is located on the type's object struct" msgstr "" -#: c-api/structures.rst:421 +#: c-api/structures.rst:422 msgid ":attr:`flags`" msgstr "" -#: c-api/structures.rst:421 +#: c-api/structures.rst:422 msgid "flag bits indicating if the field should be read-only or writable" msgstr "" -#: c-api/structures.rst:425 +#: c-api/structures.rst:426 msgid ":attr:`doc`" msgstr "" -#: c-api/structures.rst:429 +#: c-api/structures.rst:430 msgid "" ":attr:`!type` can be one of many ``T_`` macros corresponding to various C " "types. When the member is accessed in Python, it will be converted to the " "equivalent Python type." msgstr "" -#: c-api/structures.rst:434 +#: c-api/structures.rst:435 msgid "Macro name" msgstr "" -#: c-api/structures.rst:434 +#: c-api/structures.rst:435 msgid "C type" msgstr "" -#: c-api/structures.rst:436 +#: c-api/structures.rst:437 msgid "T_SHORT" msgstr "" -#: c-api/structures.rst:436 +#: c-api/structures.rst:437 msgid "short" msgstr "" -#: c-api/structures.rst:437 +#: c-api/structures.rst:438 msgid "T_INT" msgstr "" -#: c-api/structures.rst:438 +#: c-api/structures.rst:439 msgid "T_LONG" msgstr "" -#: c-api/structures.rst:438 +#: c-api/structures.rst:439 msgid "long" msgstr "" -#: c-api/structures.rst:439 +#: c-api/structures.rst:440 msgid "T_FLOAT" msgstr "" -#: c-api/structures.rst:439 +#: c-api/structures.rst:440 msgid "float" msgstr "" -#: c-api/structures.rst:440 +#: c-api/structures.rst:441 msgid "T_DOUBLE" msgstr "" -#: c-api/structures.rst:440 +#: c-api/structures.rst:441 msgid "double" msgstr "" -#: c-api/structures.rst:441 +#: c-api/structures.rst:442 msgid "T_STRING" msgstr "" -#: c-api/structures.rst:442 +#: c-api/structures.rst:443 msgid "T_OBJECT" msgstr "" -#: c-api/structures.rst:443 +#: c-api/structures.rst:444 msgid "PyObject \\*" msgstr "" -#: c-api/structures.rst:443 +#: c-api/structures.rst:444 msgid "T_OBJECT_EX" msgstr "" -#: c-api/structures.rst:444 +#: c-api/structures.rst:445 msgid "T_CHAR" msgstr "" -#: c-api/structures.rst:445 c-api/structures.rst:450 +#: c-api/structures.rst:446 c-api/structures.rst:451 msgid "char" msgstr "" -#: c-api/structures.rst:445 +#: c-api/structures.rst:446 msgid "T_BYTE" msgstr "" -#: c-api/structures.rst:446 +#: c-api/structures.rst:447 msgid "T_UBYTE" msgstr "" -#: c-api/structures.rst:446 +#: c-api/structures.rst:447 msgid "unsigned char" msgstr "" -#: c-api/structures.rst:447 +#: c-api/structures.rst:448 msgid "T_UINT" msgstr "" -#: c-api/structures.rst:447 +#: c-api/structures.rst:448 msgid "unsigned int" msgstr "" -#: c-api/structures.rst:448 +#: c-api/structures.rst:449 msgid "T_USHORT" msgstr "" -#: c-api/structures.rst:448 +#: c-api/structures.rst:449 msgid "unsigned short" msgstr "" -#: c-api/structures.rst:449 +#: c-api/structures.rst:450 msgid "T_ULONG" msgstr "" -#: c-api/structures.rst:449 +#: c-api/structures.rst:450 msgid "unsigned long" msgstr "" -#: c-api/structures.rst:450 +#: c-api/structures.rst:451 msgid "T_BOOL" msgstr "" -#: c-api/structures.rst:451 +#: c-api/structures.rst:452 msgid "T_LONGLONG" msgstr "" -#: c-api/structures.rst:451 +#: c-api/structures.rst:452 msgid "long long" msgstr "" -#: c-api/structures.rst:452 +#: c-api/structures.rst:453 msgid "T_ULONGLONG" msgstr "" -#: c-api/structures.rst:452 +#: c-api/structures.rst:453 msgid "unsigned long long" msgstr "" -#: c-api/structures.rst:453 +#: c-api/structures.rst:454 msgid "T_PYSSIZET" msgstr "" -#: c-api/structures.rst:456 +#: c-api/structures.rst:457 msgid "" ":c:macro:`T_OBJECT` and :c:macro:`T_OBJECT_EX` differ in that :c:macro:" "`T_OBJECT` returns ``None`` if the member is ``NULL`` and :c:macro:" @@ -630,7 +609,7 @@ msgid "" "than :c:macro:`T_OBJECT`." msgstr "" -#: c-api/structures.rst:463 +#: c-api/structures.rst:464 msgid "" ":attr:`flags` can be ``0`` for write and read access or :c:macro:`READONLY` " "for read-only access. Using :c:macro:`T_STRING` for :attr:`type` implies :c:" @@ -639,7 +618,7 @@ msgid "" "are set to ``NULL``)." msgstr "" -#: c-api/structures.rst:471 +#: c-api/structures.rst:472 msgid "" "Heap allocated types (created using :c:func:`PyType_FromSpec` or similar), " "``PyMemberDef`` may contain definitions for the special members " @@ -650,99 +629,99 @@ msgid "" "``T_PYSSIZET`` and ``READONLY``, for example::" msgstr "" -#: c-api/structures.rst:488 +#: c-api/structures.rst:489 msgid "" "Get an attribute belonging to the object at address *obj_addr*. The " "attribute is described by ``PyMemberDef`` *m*. Returns ``NULL`` on error." msgstr "" -#: c-api/structures.rst:495 +#: c-api/structures.rst:496 msgid "" "Set an attribute belonging to the object at address *obj_addr* to object " "*o*. The attribute to set is described by ``PyMemberDef`` *m*. Returns " "``0`` if successful and a negative value on failure." msgstr "" -#: c-api/structures.rst:502 +#: c-api/structures.rst:503 msgid "" "Structure to define property-like access for a type. See also description of " "the :c:member:`PyTypeObject.tp_getset` slot." msgstr "" -#: c-api/structures.rst:508 +#: c-api/structures.rst:509 msgid "name" msgstr "" -#: c-api/structures.rst:508 +#: c-api/structures.rst:509 msgid "attribute name" msgstr "" -#: c-api/structures.rst:510 +#: c-api/structures.rst:511 msgid "get" msgstr "" -#: c-api/structures.rst:510 +#: c-api/structures.rst:511 msgid "getter" msgstr "" -#: c-api/structures.rst:510 +#: c-api/structures.rst:511 msgid "C function to get the attribute" msgstr "" -#: c-api/structures.rst:512 +#: c-api/structures.rst:513 msgid "set" msgstr "" -#: c-api/structures.rst:512 +#: c-api/structures.rst:513 msgid "setter" msgstr "" -#: c-api/structures.rst:512 +#: c-api/structures.rst:513 msgid "" "optional C function to set or delete the attribute, if omitted the attribute " "is readonly" msgstr "" -#: c-api/structures.rst:516 +#: c-api/structures.rst:517 msgid "doc" msgstr "" -#: c-api/structures.rst:516 +#: c-api/structures.rst:517 msgid "optional docstring" msgstr "" -#: c-api/structures.rst:518 +#: c-api/structures.rst:519 msgid "closure" msgstr "" -#: c-api/structures.rst:518 +#: c-api/structures.rst:519 msgid "void \\*" msgstr "" -#: c-api/structures.rst:518 +#: c-api/structures.rst:519 msgid "" "optional function pointer, providing additional data for getter and setter" msgstr "" -#: c-api/structures.rst:523 +#: c-api/structures.rst:524 msgid "" "The ``get`` function takes one :c:expr:`PyObject*` parameter (the instance) " "and a function pointer (the associated ``closure``)::" msgstr "" -#: c-api/structures.rst:528 +#: c-api/structures.rst:529 msgid "" "It should return a new reference on success or ``NULL`` with a set exception " "on failure." msgstr "" -#: c-api/structures.rst:531 +#: c-api/structures.rst:532 msgid "" "``set`` functions take two :c:expr:`PyObject*` parameters (the instance and " "the value to be set) and a function pointer (the associated ``closure``)::" msgstr "" -#: c-api/structures.rst:536 +#: c-api/structures.rst:537 msgid "" "In case the attribute should be deleted the second parameter is ``NULL``. " "Should return ``0`` on success or ``-1`` with a set exception on failure." diff --git a/c-api/sys.po b/c-api/sys.po index 83d5fdb99..253854538 100644 --- a/c-api/sys.po +++ b/c-api/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -449,7 +449,7 @@ msgid "" "events table `. Details are in each function's documentation." msgstr "" -#: c-api/sys.rst:390 +#: c-api/sys.rst:26 msgid "" "Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " "arguments." diff --git a/c-api/typeobj.po b/c-api/typeobj.po index b368fef06..0685c6862 100644 --- a/c-api/typeobj.po +++ b/c-api/typeobj.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,7 +92,7 @@ msgstr "" msgid " :c:member:`~PyTypeObject.tp_name`" msgstr "" -#: c-api/typeobj.rst:86 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:44 c-api/typeobj.rst:86 msgid "const char *" msgstr "" @@ -113,7 +113,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_basicsize`" msgstr "" -#: c-api/typeobj.rst:48 c-api/typeobj.rst:99 c-api/typeobj.rst:0 +#: c-api/typeobj.rst:46 c-api/typeobj.rst:52 c-api/typeobj.rst:120 #: c-api/typeobj.rst:414 msgid ":c:type:`Py_ssize_t`" msgstr "" @@ -376,7 +376,7 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_base`" msgstr "" -#: c-api/typeobj.rst:0 +#: c-api/typeobj.rst:111 msgid ":c:type:`PyTypeObject` *" msgstr "" @@ -388,8 +388,8 @@ msgstr "" msgid ":c:member:`~PyTypeObject.tp_dict`" msgstr "" -#: c-api/typeobj.rst:132 c-api/typeobj.rst:136 c-api/typeobj.rst:140 -#: c-api/typeobj.rst:0 c-api/typeobj.rst:366 c-api/typeobj.rst:379 +#: c-api/typeobj.rst:113 c-api/typeobj.rst:134 c-api/typeobj.rst:138 +#: c-api/typeobj.rst:339 c-api/typeobj.rst:366 c-api/typeobj.rst:379 #: c-api/typeobj.rst:402 c-api/typeobj.rst:410 c-api/typeobj.rst:414 #: c-api/typeobj.rst:433 c-api/typeobj.rst:444 msgid ":c:type:`PyObject` *" @@ -858,7 +858,7 @@ msgstr "" msgid ":c:member:`~PyNumberMethods.nb_reserved`" msgstr "" -#: c-api/typeobj.rst:344 c-api/typeobj.rst:0 c-api/typeobj.rst:427 +#: c-api/typeobj.rst:277 c-api/typeobj.rst:346 c-api/typeobj.rst:427 msgid "void *" msgstr "" @@ -950,7 +950,7 @@ msgstr "" msgid ":c:member:`~PyMappingMethods.mp_ass_subscript`" msgstr "" -#: c-api/typeobj.rst:459 +#: c-api/typeobj.rst:460 msgid ":c:type:`objobjargproc`" msgstr "" @@ -1002,7 +1002,7 @@ msgstr "" msgid ":c:member:`~PySequenceMethods.sq_contains`" msgstr "" -#: c-api/typeobj.rst:454 +#: c-api/typeobj.rst:455 msgid ":c:type:`objobjproc`" msgstr "" @@ -1058,8 +1058,8 @@ msgstr "" msgid ":c:type:`visitproc`" msgstr "" -#: c-api/typeobj.rst:360 c-api/typeobj.rst:384 c-api/typeobj.rst:0 -#: c-api/typeobj.rst:427 c-api/typeobj.rst:454 c-api/typeobj.rst:459 +#: c-api/typeobj.rst:348 c-api/typeobj.rst:373 c-api/typeobj.rst:396 +#: c-api/typeobj.rst:427 c-api/typeobj.rst:455 c-api/typeobj.rst:460 msgid "int" msgstr "" @@ -1079,26 +1079,26 @@ msgstr "" msgid ":c:type:`releasebufferproc`" msgstr "" -#: c-api/typeobj.rst:466 +#: c-api/typeobj.rst:467 msgid "See :ref:`slot-typedefs` below for more detail." msgstr "" -#: c-api/typeobj.rst:470 +#: c-api/typeobj.rst:471 msgid "PyTypeObject Definition" msgstr "" -#: c-api/typeobj.rst:472 +#: c-api/typeobj.rst:473 msgid "" "The structure definition for :c:type:`PyTypeObject` can be found in :file:" "`Include/object.h`. For convenience of reference, this repeats the " "definition found there:" msgstr "" -#: c-api/typeobj.rst:482 +#: c-api/typeobj.rst:483 msgid "PyObject Slots" msgstr "" -#: c-api/typeobj.rst:484 +#: c-api/typeobj.rst:485 msgid "" "The type object structure extends the :c:type:`PyVarObject` structure. The :" "attr:`ob_size` field is used for dynamic types (created by :func:`type_new`, " @@ -1107,7 +1107,7 @@ msgid "" "that its instances (i.e. type objects) *must* have the :attr:`ob_size` field." msgstr "" -#: c-api/typeobj.rst:493 +#: c-api/typeobj.rst:494 msgid "" "This is the type object's reference count, initialized to ``1`` by the " "``PyObject_HEAD_INIT`` macro. Note that for :ref:`statically allocated type " @@ -1117,25 +1117,25 @@ msgid "" "as references." msgstr "" -#: c-api/typeobj.rst:523 c-api/typeobj.rst:559 c-api/typeobj.rst:646 -#: c-api/typeobj.rst:742 c-api/typeobj.rst:779 c-api/typeobj.rst:821 -#: c-api/typeobj.rst:850 c-api/typeobj.rst:895 c-api/typeobj.rst:933 -#: c-api/typeobj.rst:980 c-api/typeobj.rst:1015 c-api/typeobj.rst:1063 -#: c-api/typeobj.rst:1083 c-api/typeobj.rst:1115 c-api/typeobj.rst:1185 -#: c-api/typeobj.rst:1219 c-api/typeobj.rst:1271 c-api/typeobj.rst:1355 -#: c-api/typeobj.rst:1481 c-api/typeobj.rst:1543 c-api/typeobj.rst:1579 -#: c-api/typeobj.rst:1608 c-api/typeobj.rst:1658 c-api/typeobj.rst:1702 -#: c-api/typeobj.rst:1786 c-api/typeobj.rst:1844 c-api/typeobj.rst:1898 -#: c-api/typeobj.rst:1939 c-api/typeobj.rst:1958 c-api/typeobj.rst:1982 -#: c-api/typeobj.rst:2051 +#: c-api/typeobj.rst:524 c-api/typeobj.rst:560 c-api/typeobj.rst:647 +#: c-api/typeobj.rst:743 c-api/typeobj.rst:780 c-api/typeobj.rst:822 +#: c-api/typeobj.rst:851 c-api/typeobj.rst:896 c-api/typeobj.rst:934 +#: c-api/typeobj.rst:981 c-api/typeobj.rst:1016 c-api/typeobj.rst:1064 +#: c-api/typeobj.rst:1084 c-api/typeobj.rst:1116 c-api/typeobj.rst:1186 +#: c-api/typeobj.rst:1220 c-api/typeobj.rst:1272 c-api/typeobj.rst:1356 +#: c-api/typeobj.rst:1482 c-api/typeobj.rst:1544 c-api/typeobj.rst:1580 +#: c-api/typeobj.rst:1609 c-api/typeobj.rst:1659 c-api/typeobj.rst:1703 +#: c-api/typeobj.rst:1787 c-api/typeobj.rst:1845 c-api/typeobj.rst:1899 +#: c-api/typeobj.rst:1940 c-api/typeobj.rst:1959 c-api/typeobj.rst:1983 +#: c-api/typeobj.rst:2052 msgid "**Inheritance:**" msgstr "" -#: c-api/typeobj.rst:561 c-api/typeobj.rst:605 +#: c-api/typeobj.rst:562 c-api/typeobj.rst:606 msgid "This field is not inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:507 +#: c-api/typeobj.rst:508 msgid "" "This is the type's type, in other words its metatype. It is initialized by " "the argument to the ``PyObject_HEAD_INIT`` macro, and its value should " @@ -1147,7 +1147,7 @@ msgid "" "doing anything else. This is typically done like this::" msgstr "" -#: c-api/typeobj.rst:518 +#: c-api/typeobj.rst:519 msgid "" "This should be done before any instances of the type are created. :c:func:" "`PyType_Ready` checks if :attr:`ob_type` is ``NULL``, and if so, initializes " @@ -1155,18 +1155,18 @@ msgid "" "will not change this field if it is non-zero." msgstr "" -#: c-api/typeobj.rst:706 c-api/typeobj.rst:915 c-api/typeobj.rst:1545 -#: c-api/typeobj.rst:1686 c-api/typeobj.rst:1788 c-api/typeobj.rst:2030 +#: c-api/typeobj.rst:707 c-api/typeobj.rst:916 c-api/typeobj.rst:1546 +#: c-api/typeobj.rst:1687 c-api/typeobj.rst:1789 c-api/typeobj.rst:2031 msgid "This field is inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:531 +#: c-api/typeobj.rst:532 msgid "" "These fields are only present when the macro ``Py_TRACE_REFS`` is defined " "(see the :option:`configure --with-trace-refs option <--with-trace-refs>`)." msgstr "" -#: c-api/typeobj.rst:534 +#: c-api/typeobj.rst:535 msgid "" "Their initialization to ``NULL`` is taken care of by the " "``PyObject_HEAD_INIT`` macro. For :ref:`statically allocated objects " @@ -1175,7 +1175,7 @@ msgid "" "object into a doubly linked list of *all* live objects on the heap." msgstr "" -#: c-api/typeobj.rst:540 +#: c-api/typeobj.rst:541 msgid "" "This could be used for various debugging purposes; currently the only uses " "are the :func:`sys.getobjects` function and to print the objects that are " @@ -1183,26 +1183,26 @@ msgid "" "`PYTHONDUMPREFS` is set." msgstr "" -#: c-api/typeobj.rst:547 +#: c-api/typeobj.rst:548 msgid "These fields are not inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:551 +#: c-api/typeobj.rst:552 msgid "PyVarObject Slots" msgstr "" -#: c-api/typeobj.rst:555 +#: c-api/typeobj.rst:556 msgid "" "For :ref:`statically allocated type objects `, this should be " "initialized to zero. For :ref:`dynamically allocated type objects `, this field has a special internal meaning." msgstr "" -#: c-api/typeobj.rst:565 +#: c-api/typeobj.rst:566 msgid "PyTypeObject Slots" msgstr "" -#: c-api/typeobj.rst:567 +#: c-api/typeobj.rst:568 msgid "" "Each slot has a section describing inheritance. If :c:func:`PyType_Ready` " "may set a value when the field is set to ``NULL`` then there will also be a " @@ -1210,7 +1210,7 @@ msgid "" "`PyBaseObject_Type` and :c:type:`PyType_Type` effectively act as defaults.)" msgstr "" -#: c-api/typeobj.rst:574 +#: c-api/typeobj.rst:575 msgid "" "Pointer to a NUL-terminated string containing the name of the type. For " "types that are accessible as module globals, the string should be the full " @@ -1222,14 +1222,14 @@ msgid "" "tp_name` initializer ``\"P.Q.M.T\"``." msgstr "" -#: c-api/typeobj.rst:582 +#: c-api/typeobj.rst:583 msgid "" "For :ref:`dynamically allocated type objects `, this should just " "be the type name, and the module name explicitly stored in the type dict as " "the value for key ``'__module__'``." msgstr "" -#: c-api/typeobj.rst:587 +#: c-api/typeobj.rst:588 msgid "" "For :ref:`statically allocated type objects `, the *tp_name* " "field should contain a dot. Everything before the last dot is made " @@ -1237,7 +1237,7 @@ msgid "" "last dot is made accessible as the :attr:`~definition.__name__` attribute." msgstr "" -#: c-api/typeobj.rst:593 +#: c-api/typeobj.rst:594 msgid "" "If no dot is present, the entire :c:member:`~PyTypeObject.tp_name` field is " "made accessible as the :attr:`~definition.__name__` attribute, and the :attr:" @@ -1247,19 +1247,19 @@ msgid "" "created with pydoc." msgstr "" -#: c-api/typeobj.rst:599 +#: c-api/typeobj.rst:600 msgid "" "This field must not be ``NULL``. It is the only required field in :c:func:" "`PyTypeObject` (other than potentially :c:member:`~PyTypeObject." "tp_itemsize`)." msgstr "" -#: c-api/typeobj.rst:611 +#: c-api/typeobj.rst:612 msgid "" "These fields allow calculating the size in bytes of instances of the type." msgstr "" -#: c-api/typeobj.rst:613 +#: c-api/typeobj.rst:614 msgid "" "There are two kinds of types: types with fixed-length instances have a zero :" "c:member:`~PyTypeObject.tp_itemsize` field, types with variable-length " @@ -1268,7 +1268,7 @@ msgid "" "in :c:member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:618 +#: c-api/typeobj.rst:619 msgid "" "For a type with variable-length instances, the instances must have an :attr:" "`ob_size` field, and the instance size is :c:member:`~PyTypeObject." @@ -1282,7 +1282,7 @@ msgid "" "instances, yet those instances have a meaningful :attr:`ob_size` field)." msgstr "" -#: c-api/typeobj.rst:629 +#: c-api/typeobj.rst:630 msgid "" "The basic size includes the fields in the instance declared by the macro :c:" "macro:`PyObject_HEAD` or :c:macro:`PyObject_VAR_HEAD` (whichever is used to " @@ -1294,7 +1294,7 @@ msgid "" "size." msgstr "" -#: c-api/typeobj.rst:637 +#: c-api/typeobj.rst:638 msgid "" "A note about alignment: if the variable items require a particular " "alignment, this should be taken care of by the value of :c:member:" @@ -1305,12 +1305,12 @@ msgid "" "alignment requirement for ``double``)." msgstr "" -#: c-api/typeobj.rst:644 +#: c-api/typeobj.rst:645 msgid "" "For any type with variable-length instances, this field must not be ``NULL``." msgstr "" -#: c-api/typeobj.rst:648 +#: c-api/typeobj.rst:649 msgid "" "These fields are inherited separately by subtypes. If the base type has a " "non-zero :c:member:`~PyTypeObject.tp_itemsize`, it is generally not safe to " @@ -1318,7 +1318,7 @@ msgid "" "subtype (though this depends on the implementation of the base type)." msgstr "" -#: c-api/typeobj.rst:656 +#: c-api/typeobj.rst:657 msgid "" "A pointer to the instance destructor function. This function must be " "defined unless the type guarantees that its instances will never be " @@ -1326,7 +1326,7 @@ msgid "" "The function signature is::" msgstr "" -#: c-api/typeobj.rst:662 +#: c-api/typeobj.rst:663 msgid "" "The destructor function is called by the :c:func:`Py_DECREF` and :c:func:" "`Py_XDECREF` macros when the new reference count is zero. At this point, " @@ -1344,14 +1344,14 @@ msgid "" "allocated using :c:func:`PyObject_GC_New` or :c:func:`PyObject_GC_NewVar`." msgstr "" -#: c-api/typeobj.rst:677 +#: c-api/typeobj.rst:678 msgid "" "If the type supports garbage collection (has the :const:`Py_TPFLAGS_HAVE_GC` " "flag bit set), the destructor should call :c:func:`PyObject_GC_UnTrack` " "before clearing any member fields." msgstr "" -#: c-api/typeobj.rst:689 +#: c-api/typeobj.rst:690 msgid "" "Finally, if the type is heap allocated (:const:`Py_TPFLAGS_HEAPTYPE`), the " "deallocator should decrement the reference count for its type object after " @@ -1359,28 +1359,28 @@ msgid "" "recommended way to achieve this is:" msgstr "" -#: c-api/typeobj.rst:711 +#: c-api/typeobj.rst:712 msgid "" "An optional offset to a per-instance function that implements calling the " "object using the :ref:`vectorcall protocol `, a more efficient " "alternative of the simpler :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:716 +#: c-api/typeobj.rst:717 msgid "" "This field is only used if the flag :const:`Py_TPFLAGS_HAVE_VECTORCALL` is " "set. If so, this must be a positive integer containing the offset in the " "instance of a :c:type:`vectorcallfunc` pointer." msgstr "" -#: c-api/typeobj.rst:720 +#: c-api/typeobj.rst:721 msgid "" "The *vectorcallfunc* pointer may be ``NULL``, in which case the instance " "behaves as if :const:`Py_TPFLAGS_HAVE_VECTORCALL` was not set: calling the " "instance falls back to :c:member:`~PyTypeObject.tp_call`." msgstr "" -#: c-api/typeobj.rst:724 +#: c-api/typeobj.rst:725 msgid "" "Any class that sets ``Py_TPFLAGS_HAVE_VECTORCALL`` must also set :c:member:" "`~PyTypeObject.tp_call` and make sure its behaviour is consistent with the " @@ -1388,7 +1388,7 @@ msgid "" "`PyVectorcall_Call`." msgstr "" -#: c-api/typeobj.rst:731 +#: c-api/typeobj.rst:732 msgid "" "It is not recommended for :ref:`mutable heap types ` to " "implement the vectorcall protocol. When a user sets :attr:`__call__` in " @@ -1396,13 +1396,13 @@ msgid "" "the vectorcall function." msgstr "" -#: c-api/typeobj.rst:738 +#: c-api/typeobj.rst:739 msgid "" "Before version 3.8, this slot was named ``tp_print``. In Python 2.x, it was " "used for printing to a file. In Python 3.0 to 3.7, it was unused." msgstr "" -#: c-api/typeobj.rst:744 +#: c-api/typeobj.rst:745 msgid "" "This field is always inherited. However, the :const:" "`Py_TPFLAGS_HAVE_VECTORCALL` flag is not always inherited. If it's not, then " @@ -1412,11 +1412,11 @@ msgid "" "subclasses defined in Python)." msgstr "" -#: c-api/typeobj.rst:756 +#: c-api/typeobj.rst:757 msgid "An optional pointer to the get-attribute-string function." msgstr "" -#: c-api/typeobj.rst:758 +#: c-api/typeobj.rst:759 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_getattro` function, " @@ -1424,11 +1424,11 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:956 +#: c-api/typeobj.rst:957 msgid "Group: :attr:`tp_getattr`, :attr:`tp_getattro`" msgstr "" -#: c-api/typeobj.rst:766 +#: c-api/typeobj.rst:767 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1437,12 +1437,12 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:969 +#: c-api/typeobj.rst:970 msgid "" "An optional pointer to the function for setting and deleting attributes." msgstr "" -#: c-api/typeobj.rst:775 +#: c-api/typeobj.rst:776 msgid "" "This field is deprecated. When it is defined, it should point to a function " "that acts the same as the :c:member:`~PyTypeObject.tp_setattro` function, " @@ -1450,11 +1450,11 @@ msgid "" "attribute name." msgstr "" -#: c-api/typeobj.rst:982 +#: c-api/typeobj.rst:983 msgid "Group: :attr:`tp_setattr`, :attr:`tp_setattro`" msgstr "" -#: c-api/typeobj.rst:783 +#: c-api/typeobj.rst:784 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattro`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1463,34 +1463,34 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:790 +#: c-api/typeobj.rst:791 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement :term:`awaitable` and :term:`asynchronous iterator` " "protocols at the C-level. See :ref:`async-structs` for details." msgstr "" -#: c-api/typeobj.rst:794 +#: c-api/typeobj.rst:795 msgid "Formerly known as ``tp_compare`` and ``tp_reserved``." msgstr "" -#: c-api/typeobj.rst:799 +#: c-api/typeobj.rst:800 msgid "" "The :c:member:`~PyTypeObject.tp_as_async` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:807 +#: c-api/typeobj.rst:808 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`repr`." msgstr "" -#: c-api/typeobj.rst:810 +#: c-api/typeobj.rst:811 msgid "The signature is the same as for :c:func:`PyObject_Repr`::" msgstr "" -#: c-api/typeobj.rst:814 +#: c-api/typeobj.rst:815 msgid "" "The function must return a string or a Unicode object. Ideally, this " "function should return a string that, when passed to :func:`eval`, given a " @@ -1499,83 +1499,83 @@ msgid "" "``'>'`` from which both the type and the value of the object can be deduced." msgstr "" -#: c-api/typeobj.rst:937 c-api/typeobj.rst:988 c-api/typeobj.rst:1490 -#: c-api/typeobj.rst:1663 c-api/typeobj.rst:1790 c-api/typeobj.rst:1850 -#: c-api/typeobj.rst:1902 +#: c-api/typeobj.rst:938 c-api/typeobj.rst:989 c-api/typeobj.rst:1491 +#: c-api/typeobj.rst:1664 c-api/typeobj.rst:1791 c-api/typeobj.rst:1851 +#: c-api/typeobj.rst:1903 msgid "**Default:**" msgstr "" -#: c-api/typeobj.rst:827 +#: c-api/typeobj.rst:828 msgid "" "When this field is not set, a string of the form ``<%s object at %p>`` is " "returned, where ``%s`` is replaced by the type name, and ``%p`` by the " "object's memory address." msgstr "" -#: c-api/typeobj.rst:834 +#: c-api/typeobj.rst:835 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the number protocol. These fields are documented " "in :ref:`number-structs`." msgstr "" -#: c-api/typeobj.rst:840 +#: c-api/typeobj.rst:841 msgid "" "The :c:member:`~PyTypeObject.tp_as_number` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:846 +#: c-api/typeobj.rst:847 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the sequence protocol. These fields are documented " "in :ref:`sequence-structs`." msgstr "" -#: c-api/typeobj.rst:852 +#: c-api/typeobj.rst:853 msgid "" "The :c:member:`~PyTypeObject.tp_as_sequence` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:858 +#: c-api/typeobj.rst:859 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the mapping protocol. These fields are documented " "in :ref:`mapping-structs`." msgstr "" -#: c-api/typeobj.rst:864 +#: c-api/typeobj.rst:865 msgid "" "The :c:member:`~PyTypeObject.tp_as_mapping` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:872 +#: c-api/typeobj.rst:873 msgid "" "An optional pointer to a function that implements the built-in function :" "func:`hash`." msgstr "" -#: c-api/typeobj.rst:875 +#: c-api/typeobj.rst:876 msgid "The signature is the same as for :c:func:`PyObject_Hash`::" msgstr "" -#: c-api/typeobj.rst:879 +#: c-api/typeobj.rst:880 msgid "" "The value ``-1`` should not be returned as a normal return value; when an " "error occurs during the computation of the hash value, the function should " "set an exception and return ``-1``." msgstr "" -#: c-api/typeobj.rst:883 +#: c-api/typeobj.rst:884 msgid "" "When this field is not set (*and* :attr:`tp_richcompare` is not set), an " "attempt to take the hash of the object raises :exc:`TypeError`. This is the " "same as setting it to :c:func:`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:887 +#: c-api/typeobj.rst:888 msgid "" "This field can be set explicitly to :c:func:`PyObject_HashNotImplemented` to " "block inheritance of the hash method from a parent type. This is interpreted " @@ -1586,11 +1586,11 @@ msgid "" "`PyObject_HashNotImplemented`." msgstr "" -#: c-api/typeobj.rst:1483 +#: c-api/typeobj.rst:1484 msgid "Group: :attr:`tp_hash`, :attr:`tp_richcompare`" msgstr "" -#: c-api/typeobj.rst:899 +#: c-api/typeobj.rst:900 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_richcompare`: a subtype inherits both of :c:member:`~PyTypeObject." @@ -1599,14 +1599,14 @@ msgid "" "are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:907 +#: c-api/typeobj.rst:908 msgid "" "An optional pointer to a function that implements calling the object. This " "should be ``NULL`` if the object is not callable. The signature is the same " "as for :c:func:`PyObject_Call`::" msgstr "" -#: c-api/typeobj.rst:920 +#: c-api/typeobj.rst:921 msgid "" "An optional pointer to a function that implements the built-in operation :" "func:`str`. (Note that :class:`str` is a type now, and :func:`str` calls " @@ -1615,11 +1615,11 @@ msgid "" "this handler.)" msgstr "" -#: c-api/typeobj.rst:925 +#: c-api/typeobj.rst:926 msgid "The signature is the same as for :c:func:`PyObject_Str`::" msgstr "" -#: c-api/typeobj.rst:929 +#: c-api/typeobj.rst:930 msgid "" "The function must return a string or a Unicode object. It should be a " "\"friendly\" string representation of the object, as this is the " @@ -1627,28 +1627,28 @@ msgid "" "function." msgstr "" -#: c-api/typeobj.rst:939 +#: c-api/typeobj.rst:940 msgid "" "When this field is not set, :c:func:`PyObject_Repr` is called to return a " "string representation." msgstr "" -#: c-api/typeobj.rst:945 +#: c-api/typeobj.rst:946 msgid "An optional pointer to the get-attribute function." msgstr "" -#: c-api/typeobj.rst:947 +#: c-api/typeobj.rst:948 msgid "The signature is the same as for :c:func:`PyObject_GetAttr`::" msgstr "" -#: c-api/typeobj.rst:951 +#: c-api/typeobj.rst:952 msgid "" "It is usually convenient to set this field to :c:func:" "`PyObject_GenericGetAttr`, which implements the normal way of looking for " "object attributes." msgstr "" -#: c-api/typeobj.rst:958 +#: c-api/typeobj.rst:959 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_getattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_getattr` " @@ -1657,15 +1657,15 @@ msgid "" "tp_getattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:964 +#: c-api/typeobj.rst:965 msgid ":c:type:`PyBaseObject_Type` uses :c:func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:971 +#: c-api/typeobj.rst:972 msgid "The signature is the same as for :c:func:`PyObject_SetAttr`::" msgstr "" -#: c-api/typeobj.rst:975 +#: c-api/typeobj.rst:976 msgid "" "In addition, setting *value* to ``NULL`` to delete an attribute must be " "supported. It is usually convenient to set this field to :c:func:" @@ -1673,7 +1673,7 @@ msgid "" "attributes." msgstr "" -#: c-api/typeobj.rst:984 +#: c-api/typeobj.rst:985 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_setattr`: a subtype inherits both :c:member:`~PyTypeObject.tp_setattr` " @@ -1682,24 +1682,24 @@ msgid "" "tp_setattro` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:990 +#: c-api/typeobj.rst:991 msgid ":c:type:`PyBaseObject_Type` uses :c:func:`PyObject_GenericSetAttr`." msgstr "" -#: c-api/typeobj.rst:995 +#: c-api/typeobj.rst:996 msgid "" "Pointer to an additional structure that contains fields relevant only to " "objects which implement the buffer interface. These fields are documented " "in :ref:`buffer-structs`." msgstr "" -#: c-api/typeobj.rst:1001 +#: c-api/typeobj.rst:1002 msgid "" "The :c:member:`~PyTypeObject.tp_as_buffer` field is not inherited, but the " "contained fields are inherited individually." msgstr "" -#: c-api/typeobj.rst:1007 +#: c-api/typeobj.rst:1008 msgid "" "This field is a bit mask of various flags. Some flags indicate variant " "semantics for certain situations; others are used to indicate that certain " @@ -1711,7 +1711,7 @@ msgid "" "accessed and must be considered to have a zero or ``NULL`` value instead." msgstr "" -#: c-api/typeobj.rst:1017 +#: c-api/typeobj.rst:1018 msgid "" "Inheritance of this field is complicated. Most flag bits are inherited " "individually, i.e. if the base type has a flag bit set, the subtype inherits " @@ -1726,17 +1726,17 @@ msgid "" "the subtype exist and have ``NULL`` values." msgstr "" -#: c-api/typeobj.rst:1032 +#: c-api/typeobj.rst:1033 msgid "" ":c:type:`PyBaseObject_Type` uses ``Py_TPFLAGS_DEFAULT | " "Py_TPFLAGS_BASETYPE``." msgstr "" -#: c-api/typeobj.rst:1035 +#: c-api/typeobj.rst:1036 msgid "**Bit Masks:**" msgstr "" -#: c-api/typeobj.rst:1037 +#: c-api/typeobj.rst:1038 msgid "" "The following bit masks are currently defined; these can be ORed together " "using the ``|`` operator to form the value of the :c:member:`~PyTypeObject." @@ -1745,7 +1745,7 @@ msgid "" "zero." msgstr "" -#: c-api/typeobj.rst:1044 +#: c-api/typeobj.rst:1045 msgid "" "This bit is set when the type object itself is allocated on the heap, for " "example, types created dynamically using :c:func:`PyType_FromSpec`. In this " @@ -1756,30 +1756,30 @@ msgid "" "gets INCREF'ed or DECREF'ed)." msgstr "" -#: c-api/typeobj.rst:1065 c-api/typeobj.rst:1085 c-api/typeobj.rst:1117 +#: c-api/typeobj.rst:1066 c-api/typeobj.rst:1086 c-api/typeobj.rst:1118 msgid "???" msgstr "" -#: c-api/typeobj.rst:1059 +#: c-api/typeobj.rst:1060 msgid "" "This bit is set when the type can be used as the base type of another type. " "If this bit is clear, the type cannot be subtyped (similar to a \"final\" " "class in Java)." msgstr "" -#: c-api/typeobj.rst:1070 +#: c-api/typeobj.rst:1071 msgid "" "This bit is set when the type object has been fully initialized by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1080 +#: c-api/typeobj.rst:1081 msgid "" "This bit is set while :c:func:`PyType_Ready` is in the process of " "initializing the type object." msgstr "" -#: c-api/typeobj.rst:1090 +#: c-api/typeobj.rst:1091 msgid "" "This bit is set when the object supports garbage collection. If this bit is " "set, instances must be created using :c:func:`PyObject_GC_New` and destroyed " @@ -1789,12 +1789,12 @@ msgid "" "tp_clear` are present in the type object." msgstr "" -#: c-api/typeobj.rst:1357 c-api/typeobj.rst:1424 +#: c-api/typeobj.rst:1358 c-api/typeobj.rst:1425 msgid "" "Group: :const:`Py_TPFLAGS_HAVE_GC`, :attr:`tp_traverse`, :attr:`tp_clear`" msgstr "" -#: c-api/typeobj.rst:1101 +#: c-api/typeobj.rst:1102 msgid "" "The :const:`Py_TPFLAGS_HAVE_GC` flag bit is inherited together with the :" "attr:`tp_traverse` and :attr:`tp_clear` fields, i.e. if the :const:" @@ -1803,48 +1803,48 @@ msgid "" "``NULL`` values." msgstr "" -#: c-api/typeobj.rst:1111 +#: c-api/typeobj.rst:1112 msgid "" "This is a bitmask of all the bits that pertain to the existence of certain " "fields in the type object and its extension structures. Currently, it " "includes the following bits: :const:`Py_TPFLAGS_HAVE_STACKLESS_EXTENSION`." msgstr "" -#: c-api/typeobj.rst:1122 +#: c-api/typeobj.rst:1123 msgid "This bit indicates that objects behave like unbound methods." msgstr "" -#: c-api/typeobj.rst:1124 +#: c-api/typeobj.rst:1125 msgid "If this flag is set for ``type(meth)``, then:" msgstr "" -#: c-api/typeobj.rst:1126 +#: c-api/typeobj.rst:1127 msgid "" "``meth.__get__(obj, cls)(*args, **kwds)`` (with ``obj`` not None) must be " "equivalent to ``meth(obj, *args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1129 +#: c-api/typeobj.rst:1130 msgid "" "``meth.__get__(None, cls)(*args, **kwds)`` must be equivalent to " "``meth(*args, **kwds)``." msgstr "" -#: c-api/typeobj.rst:1132 +#: c-api/typeobj.rst:1133 msgid "" "This flag enables an optimization for typical method calls like ``obj." "meth()``: it avoids creating a temporary \"bound method\" object for ``obj." "meth``." msgstr "" -#: c-api/typeobj.rst:1140 +#: c-api/typeobj.rst:1141 msgid "" "This flag is never inherited by types without the :const:" "`Py_TPFLAGS_IMMUTABLETYPE` flag set. For extension types, it is inherited " "whenever :c:member:`~PyTypeObject.tp_descr_get` is inherited." msgstr "" -#: c-api/typeobj.rst:1157 +#: c-api/typeobj.rst:1158 msgid "" "These flags are used by functions such as :c:func:`PyLong_Check` to quickly " "determine if a type is a subclass of a built-in type; such specific checks " @@ -1854,81 +1854,81 @@ msgid "" "behave differently depending on what kind of check is used." msgstr "" -#: c-api/typeobj.rst:1168 +#: c-api/typeobj.rst:1169 msgid "" "This bit is set when the :c:member:`~PyTypeObject.tp_finalize` slot is " "present in the type structure." msgstr "" -#: c-api/typeobj.rst:1173 +#: c-api/typeobj.rst:1174 msgid "" "This flag isn't necessary anymore, as the interpreter assumes the :c:member:" "`~PyTypeObject.tp_finalize` slot is always present in the type structure." msgstr "" -#: c-api/typeobj.rst:1181 +#: c-api/typeobj.rst:1182 msgid "" "This bit is set when the class implements the :ref:`vectorcall protocol " "`. See :c:member:`~PyTypeObject.tp_vectorcall_offset` for " "details." msgstr "" -#: c-api/typeobj.rst:1187 +#: c-api/typeobj.rst:1188 msgid "" "This bit is inherited for types with the :const:`Py_TPFLAGS_IMMUTABLETYPE` " "flag set, if :c:member:`~PyTypeObject.tp_call` is also inherited." msgstr "" -#: c-api/typeobj.rst:1195 +#: c-api/typeobj.rst:1196 msgid "" "This bit is set for type objects that are immutable: type attributes cannot " "be set nor deleted." msgstr "" -#: c-api/typeobj.rst:1197 +#: c-api/typeobj.rst:1198 msgid "" ":c:func:`PyType_Ready` automatically applies this flag to :ref:`static types " "`." msgstr "" -#: c-api/typeobj.rst:1202 +#: c-api/typeobj.rst:1203 msgid "This flag is not inherited." msgstr "" -#: c-api/typeobj.rst:1208 +#: c-api/typeobj.rst:1209 msgid "" "Disallow creating instances of the type: set :c:member:`~PyTypeObject." "tp_new` to NULL and don't create the ``__new__`` key in the type dictionary." msgstr "" -#: c-api/typeobj.rst:1212 +#: c-api/typeobj.rst:1213 msgid "" "The flag must be set before creating the type, not after. For example, it " "must be set before :c:func:`PyType_Ready` is called on the type." msgstr "" -#: c-api/typeobj.rst:1215 +#: c-api/typeobj.rst:1216 msgid "" "The flag is set automatically on :ref:`static types ` if :c:" "member:`~PyTypeObject.tp_base` is NULL or ``&PyBaseObject_Type`` and :c:" "member:`~PyTypeObject.tp_new` is NULL." msgstr "" -#: c-api/typeobj.rst:1221 +#: c-api/typeobj.rst:1222 msgid "" "This flag is not inherited. However, subclasses will not be instantiable " "unless they provide a non-NULL :c:member:`~PyTypeObject.tp_new` (which is " "only possible via the C API)." msgstr "" -#: c-api/typeobj.rst:1228 +#: c-api/typeobj.rst:1229 msgid "" "To disallow instantiating a class directly but allow instantiating its " "subclasses (e.g. for an :term:`abstract base class`), do not use this flag. " "Instead, make :c:member:`~PyTypeObject.tp_new` only succeed for subclasses." msgstr "" -#: c-api/typeobj.rst:1239 +#: c-api/typeobj.rst:1240 msgid "" "This bit indicates that instances of the class may match mapping patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -1936,23 +1936,23 @@ msgid "" "unset when registering :class:`collections.abc.Sequence`." msgstr "" -#: c-api/typeobj.rst:1268 +#: c-api/typeobj.rst:1269 msgid "" ":const:`Py_TPFLAGS_MAPPING` and :const:`Py_TPFLAGS_SEQUENCE` are mutually " "exclusive; it is an error to enable both flags simultaneously." msgstr "" -#: c-api/typeobj.rst:1251 +#: c-api/typeobj.rst:1252 msgid "" "This flag is inherited by types that do not already set :const:" "`Py_TPFLAGS_SEQUENCE`." msgstr "" -#: c-api/typeobj.rst:1276 +#: c-api/typeobj.rst:1277 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: c-api/typeobj.rst:1261 +#: c-api/typeobj.rst:1262 msgid "" "This bit indicates that instances of the class may match sequence patterns " "when used as the subject of a :keyword:`match` block. It is automatically " @@ -1960,37 +1960,37 @@ msgid "" "unset when registering :class:`collections.abc.Mapping`." msgstr "" -#: c-api/typeobj.rst:1273 +#: c-api/typeobj.rst:1274 msgid "" "This flag is inherited by types that do not already set :const:" "`Py_TPFLAGS_MAPPING`." msgstr "" -#: c-api/typeobj.rst:1283 +#: c-api/typeobj.rst:1284 msgid "" "An optional pointer to a NUL-terminated C string giving the docstring for " "this type object. This is exposed as the :attr:`__doc__` attribute on the " "type and instances of the type." msgstr "" -#: c-api/typeobj.rst:1289 +#: c-api/typeobj.rst:1290 msgid "This field is *not* inherited by subtypes." msgstr "" -#: c-api/typeobj.rst:1294 +#: c-api/typeobj.rst:1295 msgid "" "An optional pointer to a traversal function for the garbage collector. This " "is only used if the :const:`Py_TPFLAGS_HAVE_GC` flag bit is set. The " "signature is::" msgstr "" -#: c-api/typeobj.rst:1419 +#: c-api/typeobj.rst:1420 msgid "" "More information about Python's garbage collection scheme can be found in " "section :ref:`supporting-cycle-detection`." msgstr "" -#: c-api/typeobj.rst:1302 +#: c-api/typeobj.rst:1303 msgid "" "The :c:member:`~PyTypeObject.tp_traverse` pointer is used by the garbage " "collector to detect reference cycles. A typical implementation of a :c:" @@ -2000,7 +2000,7 @@ msgid "" "`_thread` extension module::" msgstr "" -#: c-api/typeobj.rst:1317 +#: c-api/typeobj.rst:1318 msgid "" "Note that :c:func:`Py_VISIT` is called only on those members that can " "participate in reference cycles. Although there is also a ``self->key`` " @@ -2008,14 +2008,14 @@ msgid "" "part of a reference cycle." msgstr "" -#: c-api/typeobj.rst:1321 +#: c-api/typeobj.rst:1322 msgid "" "On the other hand, even if you know a member can never be part of a cycle, " "as a debugging aid you may want to visit it anyway just so the :mod:`gc` " "module's :func:`~gc.get_referents` function will include it." msgstr "" -#: c-api/typeobj.rst:1326 +#: c-api/typeobj.rst:1327 msgid "" "When implementing :c:member:`~PyTypeObject.tp_traverse`, only the members " "that the instance *owns* (by having :term:`strong references ` hold a reference to " "their type. Their traversal function must therefore either visit :c:func:" @@ -2044,14 +2044,14 @@ msgid "" "superclass). If they do not, the type object may not be garbage-collected." msgstr "" -#: c-api/typeobj.rst:1350 +#: c-api/typeobj.rst:1351 msgid "" "Heap-allocated types are expected to visit ``Py_TYPE(self)`` in " "``tp_traverse``. In earlier versions of Python, due to `bug 40217 `_, doing this may lead to crashes in subclasses." msgstr "" -#: c-api/typeobj.rst:1359 +#: c-api/typeobj.rst:1360 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_clear` and the :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2059,14 +2059,14 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1367 +#: c-api/typeobj.rst:1368 msgid "" "An optional pointer to a clear function for the garbage collector. This is " "only used if the :const:`Py_TPFLAGS_HAVE_GC` flag bit is set. The signature " "is::" msgstr "" -#: c-api/typeobj.rst:1372 +#: c-api/typeobj.rst:1373 msgid "" "The :c:member:`~PyTypeObject.tp_clear` member function is used to break " "reference cycles in cyclic garbage detected by the garbage collector. Taken " @@ -2081,7 +2081,7 @@ msgid "" "good reason to avoid implementing :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1382 +#: c-api/typeobj.rst:1383 msgid "" "Implementations of :c:member:`~PyTypeObject.tp_clear` should drop the " "instance's references to those of its members that may be Python objects, " @@ -2089,7 +2089,7 @@ msgid "" "example::" msgstr "" -#: c-api/typeobj.rst:1396 +#: c-api/typeobj.rst:1397 msgid "" "The :c:func:`Py_CLEAR` macro should be used, because clearing references is " "delicate: the reference to the contained object must not be decremented " @@ -2104,7 +2104,7 @@ msgid "" "in a safe order." msgstr "" -#: c-api/typeobj.rst:1407 +#: c-api/typeobj.rst:1408 msgid "" "Note that :c:member:`~PyTypeObject.tp_clear` is not *always* called before " "an instance is deallocated. For example, when reference counting is enough " @@ -2112,7 +2112,7 @@ msgid "" "is not involved and :c:member:`~PyTypeObject.tp_dealloc` is called directly." msgstr "" -#: c-api/typeobj.rst:1413 +#: c-api/typeobj.rst:1414 msgid "" "Because the goal of :c:member:`~PyTypeObject.tp_clear` functions is to break " "reference cycles, it's not necessary to clear contained objects like Python " @@ -2122,7 +2122,7 @@ msgid "" "invoke :c:member:`~PyTypeObject.tp_clear`." msgstr "" -#: c-api/typeobj.rst:1426 +#: c-api/typeobj.rst:1427 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_traverse` and the :const:`Py_TPFLAGS_HAVE_GC` flag bit: the flag bit, :c:" @@ -2130,18 +2130,18 @@ msgid "" "are all inherited from the base type if they are all zero in the subtype." msgstr "" -#: c-api/typeobj.rst:1434 +#: c-api/typeobj.rst:1435 msgid "" "An optional pointer to the rich comparison function, whose signature is::" msgstr "" -#: c-api/typeobj.rst:1438 +#: c-api/typeobj.rst:1439 msgid "" "The first parameter is guaranteed to be an instance of the type that is " "defined by :c:type:`PyTypeObject`." msgstr "" -#: c-api/typeobj.rst:1441 +#: c-api/typeobj.rst:1442 msgid "" "The function should return the result of the comparison (usually ``Py_True`` " "or ``Py_False``). If the comparison is undefined, it must return " @@ -2149,74 +2149,74 @@ msgid "" "set an exception condition." msgstr "" -#: c-api/typeobj.rst:1446 +#: c-api/typeobj.rst:1447 msgid "" "The following constants are defined to be used as the third argument for :c:" "member:`~PyTypeObject.tp_richcompare` and for :c:func:`PyObject_RichCompare`:" msgstr "" -#: c-api/typeobj.rst:1450 +#: c-api/typeobj.rst:1451 msgid "Constant" msgstr "" -#: c-api/typeobj.rst:1450 +#: c-api/typeobj.rst:1451 msgid "Comparison" msgstr "" -#: c-api/typeobj.rst:1452 +#: c-api/typeobj.rst:1453 msgid ":const:`Py_LT`" msgstr "" -#: c-api/typeobj.rst:1452 +#: c-api/typeobj.rst:1453 msgid "``<``" msgstr "" -#: c-api/typeobj.rst:1454 +#: c-api/typeobj.rst:1455 msgid ":const:`Py_LE`" msgstr "" -#: c-api/typeobj.rst:1454 +#: c-api/typeobj.rst:1455 msgid "``<=``" msgstr "" -#: c-api/typeobj.rst:1456 +#: c-api/typeobj.rst:1457 msgid ":const:`Py_EQ`" msgstr "" -#: c-api/typeobj.rst:1456 +#: c-api/typeobj.rst:1457 msgid "``==``" msgstr "" -#: c-api/typeobj.rst:1458 +#: c-api/typeobj.rst:1459 msgid ":const:`Py_NE`" msgstr "" -#: c-api/typeobj.rst:1458 +#: c-api/typeobj.rst:1459 msgid "``!=``" msgstr "" -#: c-api/typeobj.rst:1460 +#: c-api/typeobj.rst:1461 msgid ":const:`Py_GT`" msgstr "" -#: c-api/typeobj.rst:1460 +#: c-api/typeobj.rst:1461 msgid "``>``" msgstr "" -#: c-api/typeobj.rst:1462 +#: c-api/typeobj.rst:1463 msgid ":const:`Py_GE`" msgstr "" -#: c-api/typeobj.rst:1462 +#: c-api/typeobj.rst:1463 msgid "``>=``" msgstr "" -#: c-api/typeobj.rst:1465 +#: c-api/typeobj.rst:1466 msgid "" "The following macro is defined to ease writing rich comparison functions:" msgstr "" -#: c-api/typeobj.rst:1469 +#: c-api/typeobj.rst:1470 msgid "" "Return ``Py_True`` or ``Py_False`` from the function, depending on the " "result of a comparison. VAL_A and VAL_B must be orderable by C comparison " @@ -2224,15 +2224,15 @@ msgid "" "specifies the requested operation, as for :c:func:`PyObject_RichCompare`." msgstr "" -#: c-api/typeobj.rst:1475 +#: c-api/typeobj.rst:1476 msgid "The return value's reference count is properly incremented." msgstr "" -#: c-api/typeobj.rst:1477 +#: c-api/typeobj.rst:1478 msgid "On error, sets an exception and returns ``NULL`` from the function." msgstr "" -#: c-api/typeobj.rst:1485 +#: c-api/typeobj.rst:1486 msgid "" "This field is inherited by subtypes together with :c:member:`~PyTypeObject." "tp_hash`: a subtype inherits :c:member:`~PyTypeObject.tp_richcompare` and :c:" @@ -2240,7 +2240,7 @@ msgid "" "tp_richcompare` and :c:member:`~PyTypeObject.tp_hash` are both ``NULL``." msgstr "" -#: c-api/typeobj.rst:1492 +#: c-api/typeobj.rst:1493 msgid "" ":c:type:`PyBaseObject_Type` provides a :attr:`tp_richcompare` " "implementation, which may be inherited. However, if only :attr:`tp_hash` is " @@ -2248,7 +2248,7 @@ msgid "" "will not be able to participate in any comparisons." msgstr "" -#: c-api/typeobj.rst:1501 +#: c-api/typeobj.rst:1502 msgid "" "If the instances of this type are weakly referenceable, this field is " "greater than zero and contains the offset in the instance structure of the " @@ -2258,13 +2258,13 @@ msgid "" "`PyObject*` which is initialized to ``NULL``." msgstr "" -#: c-api/typeobj.rst:1508 +#: c-api/typeobj.rst:1509 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_weaklist`; that " "is the list head for weak references to the type object itself." msgstr "" -#: c-api/typeobj.rst:1513 +#: c-api/typeobj.rst:1514 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype uses a " @@ -2273,7 +2273,7 @@ msgid "" "not be a problem." msgstr "" -#: c-api/typeobj.rst:1518 +#: c-api/typeobj.rst:1519 msgid "" "When a type defined by a class statement has no :attr:`~object.__slots__` " "declaration, and none of its base types are weakly referenceable, the type " @@ -2282,7 +2282,7 @@ msgid "" "tp_weaklistoffset` of that slot's offset." msgstr "" -#: c-api/typeobj.rst:1523 +#: c-api/typeobj.rst:1524 msgid "" "When a type's :attr:`__slots__` declaration contains a slot named :attr:" "`__weakref__`, that slot becomes the weak reference list head for instances " @@ -2290,31 +2290,31 @@ msgid "" "`~PyTypeObject.tp_weaklistoffset`." msgstr "" -#: c-api/typeobj.rst:1528 +#: c-api/typeobj.rst:1529 msgid "" "When a type's :attr:`__slots__` declaration does not contain a slot named :" "attr:`__weakref__`, the type inherits its :c:member:`~PyTypeObject." "tp_weaklistoffset` from its base type." msgstr "" -#: c-api/typeobj.rst:1535 +#: c-api/typeobj.rst:1536 msgid "" "An optional pointer to a function that returns an :term:`iterator` for the " "object. Its presence normally signals that the instances of this type are :" "term:`iterable` (although sequences may be iterable without this function)." msgstr "" -#: c-api/typeobj.rst:1539 +#: c-api/typeobj.rst:1540 msgid "This function has the same signature as :c:func:`PyObject_GetIter`::" msgstr "" -#: c-api/typeobj.rst:1550 +#: c-api/typeobj.rst:1551 msgid "" "An optional pointer to a function that returns the next item in an :term:" "`iterator`. The signature is::" msgstr "" -#: c-api/typeobj.rst:1555 +#: c-api/typeobj.rst:1556 msgid "" "When the iterator is exhausted, it must return ``NULL``; a :exc:" "`StopIteration` exception may or may not be set. When another error occurs, " @@ -2322,74 +2322,74 @@ msgid "" "this type are iterators." msgstr "" -#: c-api/typeobj.rst:1560 +#: c-api/typeobj.rst:1561 msgid "" "Iterator types should also define the :c:member:`~PyTypeObject.tp_iter` " "function, and that function should return the iterator instance itself (not " "a new iterator instance)." msgstr "" -#: c-api/typeobj.rst:1564 +#: c-api/typeobj.rst:1565 msgid "This function has the same signature as :c:func:`PyIter_Next`." msgstr "" -#: c-api/typeobj.rst:1573 +#: c-api/typeobj.rst:1574 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMethodDef` structures, declaring regular methods of this type." msgstr "" -#: c-api/typeobj.rst:1576 +#: c-api/typeobj.rst:1577 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a method descriptor." msgstr "" -#: c-api/typeobj.rst:1581 +#: c-api/typeobj.rst:1582 msgid "" "This field is not inherited by subtypes (methods are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1587 +#: c-api/typeobj.rst:1588 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyMemberDef` structures, declaring regular data members (fields or slots) " "of instances of this type." msgstr "" -#: c-api/typeobj.rst:1591 +#: c-api/typeobj.rst:1592 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a member descriptor." msgstr "" -#: c-api/typeobj.rst:1596 +#: c-api/typeobj.rst:1597 msgid "" "This field is not inherited by subtypes (members are inherited through a " "different mechanism)." msgstr "" -#: c-api/typeobj.rst:1602 +#: c-api/typeobj.rst:1603 msgid "" "An optional pointer to a static ``NULL``-terminated array of :c:type:" "`PyGetSetDef` structures, declaring computed attributes of instances of this " "type." msgstr "" -#: c-api/typeobj.rst:1605 +#: c-api/typeobj.rst:1606 msgid "" "For each entry in the array, an entry is added to the type's dictionary " "(see :c:member:`~PyTypeObject.tp_dict` below) containing a getset descriptor." msgstr "" -#: c-api/typeobj.rst:1610 +#: c-api/typeobj.rst:1611 msgid "" "This field is not inherited by subtypes (computed attributes are inherited " "through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1616 +#: c-api/typeobj.rst:1617 msgid "" "An optional pointer to a base type from which type properties are " "inherited. At this level, only single inheritance is supported; multiple " @@ -2397,7 +2397,7 @@ msgid "" "metatype." msgstr "" -#: c-api/typeobj.rst:1624 +#: c-api/typeobj.rst:1625 msgid "" "Slot initialization is subject to the rules of initializing globals. C99 " "requires the initializers to be \"address constants\". Function designators " @@ -2405,7 +2405,7 @@ msgid "" "valid C99 address constants." msgstr "" -#: c-api/typeobj.rst:1629 +#: c-api/typeobj.rst:1630 msgid "" "However, the unary '&' operator applied to a non-static variable like :c:" "func:`PyBaseObject_Type` is not required to produce an address constant. " @@ -2413,27 +2413,27 @@ msgid "" "strictly standard conforming in this particular behavior." msgstr "" -#: c-api/typeobj.rst:1635 +#: c-api/typeobj.rst:1636 msgid "" "Consequently, :c:member:`~PyTypeObject.tp_base` should be set in the " "extension module's init function." msgstr "" -#: c-api/typeobj.rst:1640 +#: c-api/typeobj.rst:1641 msgid "This field is not inherited by subtypes (obviously)." msgstr "" -#: c-api/typeobj.rst:1644 +#: c-api/typeobj.rst:1645 msgid "" "This field defaults to ``&PyBaseObject_Type`` (which to Python programmers " "is known as the type :class:`object`)." msgstr "" -#: c-api/typeobj.rst:1650 +#: c-api/typeobj.rst:1651 msgid "The type's dictionary is stored here by :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1652 +#: c-api/typeobj.rst:1653 msgid "" "This field should normally be initialized to ``NULL`` before PyType_Ready is " "called; it may also be initialized to a dictionary containing initial " @@ -2442,43 +2442,43 @@ msgid "" "they don't correspond to overloaded operations (like :meth:`__add__`)." msgstr "" -#: c-api/typeobj.rst:1660 +#: c-api/typeobj.rst:1661 msgid "" "This field is not inherited by subtypes (though the attributes defined in " "here are inherited through a different mechanism)." msgstr "" -#: c-api/typeobj.rst:1665 +#: c-api/typeobj.rst:1666 msgid "" "If this field is ``NULL``, :c:func:`PyType_Ready` will assign a new " "dictionary to it." msgstr "" -#: c-api/typeobj.rst:1670 +#: c-api/typeobj.rst:1671 msgid "" "It is not safe to use :c:func:`PyDict_SetItem` on or otherwise modify :c:" "member:`~PyTypeObject.tp_dict` with the dictionary C-API." msgstr "" -#: c-api/typeobj.rst:1676 +#: c-api/typeobj.rst:1677 msgid "An optional pointer to a \"descriptor get\" function." msgstr "" -#: c-api/typeobj.rst:1694 c-api/typeobj.rst:1799 c-api/typeobj.rst:1823 +#: c-api/typeobj.rst:1695 c-api/typeobj.rst:1800 c-api/typeobj.rst:1824 msgid "The function signature is::" msgstr "" -#: c-api/typeobj.rst:1691 +#: c-api/typeobj.rst:1692 msgid "" "An optional pointer to a function for setting and deleting a descriptor's " "value." msgstr "" -#: c-api/typeobj.rst:1698 +#: c-api/typeobj.rst:1699 msgid "The *value* argument is set to ``NULL`` to delete the value." msgstr "" -#: c-api/typeobj.rst:1709 +#: c-api/typeobj.rst:1710 msgid "" "If the instances of this type have a dictionary containing instance " "variables, this field is non-zero and contains the offset in the instances " @@ -2486,13 +2486,13 @@ msgid "" "func:`PyObject_GenericGetAttr`." msgstr "" -#: c-api/typeobj.rst:1714 +#: c-api/typeobj.rst:1715 msgid "" "Do not confuse this field with :c:member:`~PyTypeObject.tp_dict`; that is " "the dictionary for attributes of the type object itself." msgstr "" -#: c-api/typeobj.rst:1717 +#: c-api/typeobj.rst:1718 msgid "" "If the value of this field is greater than zero, it specifies the offset " "from the start of the instance structure. If the value is less than zero, " @@ -2508,7 +2508,7 @@ msgid "" "the very end of the structure." msgstr "" -#: c-api/typeobj.rst:1729 +#: c-api/typeobj.rst:1730 msgid "" "The :c:member:`~PyTypeObject.tp_dictoffset` should be regarded as write-" "only. To get the pointer to the dictionary call :c:func:" @@ -2517,7 +2517,7 @@ msgid "" "to call :c:func:`PyObject_GetAttr` when accessing an attribute on the object." msgstr "" -#: c-api/typeobj.rst:1737 +#: c-api/typeobj.rst:1738 msgid "" "This field is inherited by subtypes, but see the rules listed below. A " "subtype may override this offset; this means that the subtype instances " @@ -2526,7 +2526,7 @@ msgid "" "should not be a problem." msgstr "" -#: c-api/typeobj.rst:1742 +#: c-api/typeobj.rst:1743 msgid "" "When a type defined by a class statement has no :attr:`~object.__slots__` " "declaration, and none of its base types has an instance variable dictionary, " @@ -2534,14 +2534,14 @@ msgid "" "`~PyTypeObject.tp_dictoffset` is set to that slot's offset." msgstr "" -#: c-api/typeobj.rst:1747 +#: c-api/typeobj.rst:1748 msgid "" "When a type defined by a class statement has a :attr:`__slots__` " "declaration, the type inherits its :c:member:`~PyTypeObject.tp_dictoffset` " "from its base type." msgstr "" -#: c-api/typeobj.rst:1750 +#: c-api/typeobj.rst:1751 msgid "" "(Adding a slot named :attr:`~object.__dict__` to the :attr:`__slots__` " "declaration does not have the expected effect, it just causes confusion. " @@ -2549,17 +2549,17 @@ msgid "" "though.)" msgstr "" -#: c-api/typeobj.rst:1756 +#: c-api/typeobj.rst:1757 msgid "" "This slot has no default. For :ref:`static types `, if the " "field is ``NULL`` then no :attr:`__dict__` gets created for instances." msgstr "" -#: c-api/typeobj.rst:1762 +#: c-api/typeobj.rst:1763 msgid "An optional pointer to an instance initialization function." msgstr "" -#: c-api/typeobj.rst:1764 +#: c-api/typeobj.rst:1765 msgid "" "This function corresponds to the :meth:`__init__` method of classes. Like :" "meth:`__init__`, it is possible to create an instance without calling :meth:" @@ -2567,14 +2567,14 @@ msgid "" "meth:`__init__` method again." msgstr "" -#: c-api/typeobj.rst:1773 +#: c-api/typeobj.rst:1774 msgid "" "The self argument is the instance to be initialized; the *args* and *kwds* " "arguments represent positional and keyword arguments of the call to :meth:" "`__init__`." msgstr "" -#: c-api/typeobj.rst:1777 +#: c-api/typeobj.rst:1778 msgid "" "The :c:member:`~PyTypeObject.tp_init` function, if not ``NULL``, is called " "when an instance is created normally by calling its type, after the type's :" @@ -2586,43 +2586,43 @@ msgid "" "subtype's :c:member:`~PyTypeObject.tp_init` is called." msgstr "" -#: c-api/typeobj.rst:1784 +#: c-api/typeobj.rst:1785 msgid "Returns ``0`` on success, ``-1`` and sets an exception on error." msgstr "" -#: c-api/typeobj.rst:1792 +#: c-api/typeobj.rst:1793 msgid "" "For :ref:`static types ` this field does not have a default." msgstr "" -#: c-api/typeobj.rst:1797 +#: c-api/typeobj.rst:1798 msgid "An optional pointer to an instance allocation function." msgstr "" -#: c-api/typeobj.rst:1805 +#: c-api/typeobj.rst:1806 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)." msgstr "" -#: c-api/typeobj.rst:1810 +#: c-api/typeobj.rst:1811 msgid "" "For dynamic subtypes, this field is always set to :c:func:" "`PyType_GenericAlloc`, to force a standard heap allocation strategy." msgstr "" -#: c-api/typeobj.rst:1814 +#: c-api/typeobj.rst:1815 msgid "" "For static subtypes, :c:type:`PyBaseObject_Type` uses :c:func:" "`PyType_GenericAlloc`. That is the recommended value for all statically " "defined types." msgstr "" -#: c-api/typeobj.rst:1821 +#: c-api/typeobj.rst:1822 msgid "An optional pointer to an instance creation function." msgstr "" -#: c-api/typeobj.rst:1827 +#: c-api/typeobj.rst:1828 msgid "" "The *subtype* argument is the type of the object being created; the *args* " "and *kwds* arguments represent positional and keyword arguments of the call " @@ -2631,7 +2631,7 @@ msgid "" "that type (but not an unrelated type)." msgstr "" -#: c-api/typeobj.rst:1833 +#: c-api/typeobj.rst:1834 msgid "" "The :c:member:`~PyTypeObject.tp_new` function should call ``subtype-" ">tp_alloc(subtype, nitems)`` to allocate space for the object, and then do " @@ -2643,20 +2643,20 @@ msgid "" "be deferred to :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:1841 +#: c-api/typeobj.rst:1842 msgid "" "Set the :const:`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag to disallow creating " "instances of the type in Python." msgstr "" -#: c-api/typeobj.rst:1846 +#: c-api/typeobj.rst:1847 msgid "" "This field is inherited by subtypes, except it is not inherited by :ref:" "`static types ` whose :c:member:`~PyTypeObject.tp_base` is " "``NULL`` or ``&PyBaseObject_Type``." msgstr "" -#: c-api/typeobj.rst:1852 +#: c-api/typeobj.rst:1853 msgid "" "For :ref:`static types ` this field has no default. This means " "if the slot is defined as ``NULL``, the type cannot be called to create new " @@ -2664,39 +2664,39 @@ msgid "" "factory function." msgstr "" -#: c-api/typeobj.rst:1860 +#: c-api/typeobj.rst:1861 msgid "" "An optional pointer to an instance deallocation function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1864 +#: c-api/typeobj.rst:1865 msgid "" "An initializer that is compatible with this signature is :c:func:" "`PyObject_Free`." msgstr "" -#: c-api/typeobj.rst:1868 +#: c-api/typeobj.rst:1869 msgid "" "This field is inherited by static subtypes, but not by dynamic subtypes " "(subtypes created by a class statement)" msgstr "" -#: c-api/typeobj.rst:1873 +#: c-api/typeobj.rst:1874 msgid "" "In dynamic subtypes, this field is set to a deallocator suitable to match :c:" "func:`PyType_GenericAlloc` and the value of the :const:`Py_TPFLAGS_HAVE_GC` " "flag bit." msgstr "" -#: c-api/typeobj.rst:1877 +#: c-api/typeobj.rst:1878 msgid "For static subtypes, :c:type:`PyBaseObject_Type` uses PyObject_Del." msgstr "" -#: c-api/typeobj.rst:1882 +#: c-api/typeobj.rst:1883 msgid "An optional pointer to a function called by the garbage collector." msgstr "" -#: c-api/typeobj.rst:1884 +#: c-api/typeobj.rst:1885 msgid "" "The garbage collector needs to know whether a particular object is " "collectible or not. Normally, it is sufficient to look at the object's " @@ -2708,88 +2708,88 @@ msgid "" "instance. The signature is::" msgstr "" -#: c-api/typeobj.rst:1894 +#: c-api/typeobj.rst:1895 msgid "" "(The only example of this are types themselves. The metatype, :c:data:" "`PyType_Type`, defines this function to distinguish between statically and :" "ref:`dynamically allocated types `.)" msgstr "" -#: c-api/typeobj.rst:1904 +#: c-api/typeobj.rst:1905 msgid "" "This slot has no default. If this field is ``NULL``, :const:" "`Py_TPFLAGS_HAVE_GC` is used as the functional equivalent." msgstr "" -#: c-api/typeobj.rst:1910 +#: c-api/typeobj.rst:1911 msgid "Tuple of base types." msgstr "" -#: c-api/typeobj.rst:1936 +#: c-api/typeobj.rst:1937 msgid "" "This field should be set to ``NULL`` and treated as read-only. Python will " "fill it in when the type is :c:func:`initialized `." msgstr "" -#: c-api/typeobj.rst:1915 +#: c-api/typeobj.rst:1916 msgid "" "For dynamically created classes, the ``Py_tp_bases`` :c:type:`slot " "` can be used instead of the *bases* argument of :c:func:" "`PyType_FromSpecWithBases`. The argument form is preferred." msgstr "" -#: c-api/typeobj.rst:1922 +#: c-api/typeobj.rst:1923 msgid "" "Multiple inheritance does not work well for statically defined types. If you " "set ``tp_bases`` to a tuple, Python will not raise an error, but some slots " "will only be inherited from the first base." msgstr "" -#: c-api/typeobj.rst:1951 c-api/typeobj.rst:1970 c-api/typeobj.rst:1984 +#: c-api/typeobj.rst:1952 c-api/typeobj.rst:1971 c-api/typeobj.rst:1985 msgid "This field is not inherited." msgstr "" -#: c-api/typeobj.rst:1933 +#: c-api/typeobj.rst:1934 msgid "" "Tuple containing the expanded set of base types, starting with the type " "itself and ending with :class:`object`, in Method Resolution Order." msgstr "" -#: c-api/typeobj.rst:1941 +#: c-api/typeobj.rst:1942 msgid "" "This field is not inherited; it is calculated fresh by :c:func:" "`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:1947 +#: c-api/typeobj.rst:1948 msgid "Unused. Internal use only." msgstr "" -#: c-api/typeobj.rst:1956 +#: c-api/typeobj.rst:1957 msgid "List of weak references to subclasses. Internal use only." msgstr "" -#: c-api/typeobj.rst:1965 +#: c-api/typeobj.rst:1966 msgid "" "Weak reference list head, for weak references to this type object. Not " "inherited. Internal use only." msgstr "" -#: c-api/typeobj.rst:1975 +#: c-api/typeobj.rst:1976 msgid "" "This field is deprecated. Use :c:member:`~PyTypeObject.tp_finalize` instead." msgstr "" -#: c-api/typeobj.rst:1980 +#: c-api/typeobj.rst:1981 msgid "Used to index into the method cache. Internal use only." msgstr "" -#: c-api/typeobj.rst:1989 +#: c-api/typeobj.rst:1990 msgid "" "An optional pointer to an instance finalization function. Its signature is::" msgstr "" -#: c-api/typeobj.rst:1993 +#: c-api/typeobj.rst:1994 msgid "" "If :c:member:`~PyTypeObject.tp_finalize` is set, the interpreter calls it " "once when finalizing an instance. It is called either from the garbage " @@ -2799,14 +2799,14 @@ msgid "" "object in a sane state." msgstr "" -#: c-api/typeobj.rst:2000 +#: c-api/typeobj.rst:2001 msgid "" ":c:member:`~PyTypeObject.tp_finalize` should not mutate the current " "exception status; therefore, a recommended way to write a non-trivial " "finalizer is::" msgstr "" -#: c-api/typeobj.rst:2017 +#: c-api/typeobj.rst:2018 msgid "" "Also, note that, in a garbage collected Python, :c:member:`~PyTypeObject." "tp_dealloc` may be called from any Python thread, not just the thread which " @@ -2819,18 +2819,18 @@ msgid "" "which called tp_dealloc will not violate any assumptions of the library." msgstr "" -#: c-api/typeobj.rst:2036 +#: c-api/typeobj.rst:2037 msgid "" "Before version 3.8 it was necessary to set the :const:" "`Py_TPFLAGS_HAVE_FINALIZE` flags bit in order for this field to be used. " "This is no longer required." msgstr "" -#: c-api/typeobj.rst:2040 +#: c-api/typeobj.rst:2041 msgid "\"Safe object finalization\" (:pep:`442`)" msgstr "" -#: c-api/typeobj.rst:2045 +#: c-api/typeobj.rst:2046 msgid "" "Vectorcall function to use for calls of this type object. In other words, it " "is used to implement :ref:`vectorcall ` for ``type.__call__``. " @@ -2838,61 +2838,61 @@ msgid "" "attr:`__new__` and :attr:`__init__` is used." msgstr "" -#: c-api/typeobj.rst:2053 +#: c-api/typeobj.rst:2054 msgid "This field is never inherited." msgstr "" -#: c-api/typeobj.rst:2055 +#: c-api/typeobj.rst:2056 msgid "(the field exists since 3.8 but it's only used since 3.9)" msgstr "" -#: c-api/typeobj.rst:2061 +#: c-api/typeobj.rst:2062 msgid "Static Types" msgstr "" -#: c-api/typeobj.rst:2063 +#: c-api/typeobj.rst:2064 msgid "" "Traditionally, types defined in C code are *static*, that is, a static :c:" "type:`PyTypeObject` structure is defined directly in code and initialized " "using :c:func:`PyType_Ready`." msgstr "" -#: c-api/typeobj.rst:2067 +#: c-api/typeobj.rst:2068 msgid "" "This results in types that are limited relative to types defined in Python:" msgstr "" -#: c-api/typeobj.rst:2069 +#: c-api/typeobj.rst:2070 msgid "" "Static types are limited to one base, i.e. they cannot use multiple " "inheritance." msgstr "" -#: c-api/typeobj.rst:2071 +#: c-api/typeobj.rst:2072 msgid "" "Static type objects (but not necessarily their instances) are immutable. It " "is not possible to add or modify the type object's attributes from Python." msgstr "" -#: c-api/typeobj.rst:2073 +#: c-api/typeobj.rst:2074 msgid "" "Static type objects are shared across :ref:`sub-interpreters `, so they should not include any subinterpreter-" "specific state." msgstr "" -#: c-api/typeobj.rst:2077 +#: c-api/typeobj.rst:2078 msgid "" "Also, since :c:type:`PyTypeObject` is only part of the :ref:`Limited API " "` as an opaque struct, any extension modules using static types must " "be compiled for a specific Python minor version." msgstr "" -#: c-api/typeobj.rst:2085 +#: c-api/typeobj.rst:2086 msgid "Heap Types" msgstr "" -#: c-api/typeobj.rst:2087 +#: c-api/typeobj.rst:2088 msgid "" "An alternative to :ref:`static types ` is *heap-allocated " "types*, or *heap types* for short, which correspond closely to classes " @@ -2900,29 +2900,29 @@ msgid "" "`Py_TPFLAGS_HEAPTYPE` flag set." msgstr "" -#: c-api/typeobj.rst:2092 +#: c-api/typeobj.rst:2093 msgid "" "This is done by filling a :c:type:`PyType_Spec` structure and calling :c:" "func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases`, or :c:func:" "`PyType_FromModuleAndSpec`." msgstr "" -#: c-api/typeobj.rst:2100 +#: c-api/typeobj.rst:2101 msgid "Number Object Structures" msgstr "" -#: c-api/typeobj.rst:2107 +#: c-api/typeobj.rst:2108 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the number protocol. Each function is used by the function of " "similar name documented in the :ref:`number` section." msgstr "" -#: c-api/typeobj.rst:2437 +#: c-api/typeobj.rst:2438 msgid "Here is the structure definition::" msgstr "" -#: c-api/typeobj.rst:2160 +#: c-api/typeobj.rst:2161 msgid "" "Binary and ternary functions must check the type of all their operands, and " "implement the necessary conversions (at least one of the operands is an " @@ -2932,30 +2932,30 @@ msgid "" "and set an exception." msgstr "" -#: c-api/typeobj.rst:2169 +#: c-api/typeobj.rst:2170 msgid "" "The :c:data:`nb_reserved` field should always be ``NULL``. It was " "previously called :c:data:`nb_long`, and was renamed in Python 3.0.1." msgstr "" -#: c-api/typeobj.rst:2214 +#: c-api/typeobj.rst:2215 msgid "Mapping Object Structures" msgstr "" -#: c-api/typeobj.rst:2221 +#: c-api/typeobj.rst:2222 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the mapping protocol. It has three members:" msgstr "" -#: c-api/typeobj.rst:2226 +#: c-api/typeobj.rst:2227 msgid "" "This function is used by :c:func:`PyMapping_Size` and :c:func:" "`PyObject_Size`, and has the same signature. This slot may be set to " "``NULL`` if the object has no defined length." msgstr "" -#: c-api/typeobj.rst:2232 +#: c-api/typeobj.rst:2233 msgid "" "This function is used by :c:func:`PyObject_GetItem` and :c:func:" "`PySequence_GetSlice`, and has the same signature as :c:func:`!" @@ -2963,7 +2963,7 @@ msgid "" "`PyMapping_Check` function to return ``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2240 +#: c-api/typeobj.rst:2241 msgid "" "This function is used by :c:func:`PyObject_SetItem`, :c:func:" "`PyObject_DelItem`, :c:func:`PyObject_SetSlice` and :c:func:" @@ -2973,17 +2973,17 @@ msgid "" "deletion." msgstr "" -#: c-api/typeobj.rst:2251 +#: c-api/typeobj.rst:2252 msgid "Sequence Object Structures" msgstr "" -#: c-api/typeobj.rst:2258 +#: c-api/typeobj.rst:2259 msgid "" "This structure holds pointers to the functions which an object uses to " "implement the sequence protocol." msgstr "" -#: c-api/typeobj.rst:2263 +#: c-api/typeobj.rst:2264 msgid "" "This function is used by :c:func:`PySequence_Size` and :c:func:" "`PyObject_Size`, and has the same signature. It is also used for handling " @@ -2991,21 +2991,21 @@ msgid "" "member:`~PySequenceMethods.sq_ass_item` slots." msgstr "" -#: c-api/typeobj.rst:2270 +#: c-api/typeobj.rst:2271 msgid "" "This function is used by :c:func:`PySequence_Concat` and has the same " "signature. It is also used by the ``+`` operator, after trying the numeric " "addition via the :c:member:`~PyNumberMethods.nb_add` slot." msgstr "" -#: c-api/typeobj.rst:2276 +#: c-api/typeobj.rst:2277 msgid "" "This function is used by :c:func:`PySequence_Repeat` and has the same " "signature. It is also used by the ``*`` operator, after trying numeric " "multiplication via the :c:member:`~PyNumberMethods.nb_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2282 +#: c-api/typeobj.rst:2283 msgid "" "This function is used by :c:func:`PySequence_GetItem` and has the same " "signature. It is also used by :c:func:`PyObject_GetItem`, after trying the " @@ -3014,7 +3014,7 @@ msgid "" "``1``, it can be ``NULL`` otherwise." msgstr "" -#: c-api/typeobj.rst:2288 +#: c-api/typeobj.rst:2289 msgid "" "Negative indexes are handled as follows: if the :attr:`sq_length` slot is " "filled, it is called and the sequence length is used to compute a positive " @@ -3022,7 +3022,7 @@ msgid "" "the index is passed as is to the function." msgstr "" -#: c-api/typeobj.rst:2295 +#: c-api/typeobj.rst:2296 msgid "" "This function is used by :c:func:`PySequence_SetItem` and has the same " "signature. It is also used by :c:func:`PyObject_SetItem` and :c:func:" @@ -3031,14 +3031,14 @@ msgid "" "``NULL`` if the object does not support item assignment and deletion." msgstr "" -#: c-api/typeobj.rst:2304 +#: c-api/typeobj.rst:2305 msgid "" "This function may be used by :c:func:`PySequence_Contains` and has the same " "signature. This slot may be left to ``NULL``, in this case :c:func:`!" "PySequence_Contains` simply traverses the sequence until it finds a match." msgstr "" -#: c-api/typeobj.rst:2311 +#: c-api/typeobj.rst:2312 msgid "" "This function is used by :c:func:`PySequence_InPlaceConcat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3048,7 +3048,7 @@ msgid "" "c:member:`~PyNumberMethods.nb_inplace_add` slot." msgstr "" -#: c-api/typeobj.rst:2320 +#: c-api/typeobj.rst:2321 msgid "" "This function is used by :c:func:`PySequence_InPlaceRepeat` and has the same " "signature. It should modify its first operand, and return it. This slot " @@ -3058,70 +3058,70 @@ msgid "" "via the :c:member:`~PyNumberMethods.nb_inplace_multiply` slot." msgstr "" -#: c-api/typeobj.rst:2331 +#: c-api/typeobj.rst:2332 msgid "Buffer Object Structures" msgstr "" -#: c-api/typeobj.rst:2339 +#: c-api/typeobj.rst:2340 msgid "" "This structure holds pointers to the functions required by the :ref:`Buffer " "protocol `. The protocol defines how an exporter object can " "expose its internal data to consumer objects." msgstr "" -#: c-api/typeobj.rst:2394 c-api/typeobj.rst:2459 c-api/typeobj.rst:2480 +#: c-api/typeobj.rst:2395 c-api/typeobj.rst:2460 c-api/typeobj.rst:2481 msgid "The signature of this function is::" msgstr "" -#: c-api/typeobj.rst:2349 +#: c-api/typeobj.rst:2350 msgid "" "Handle a request to *exporter* to fill in *view* as specified by *flags*. " "Except for point (3), an implementation of this function MUST take these " "steps:" msgstr "" -#: c-api/typeobj.rst:2353 +#: c-api/typeobj.rst:2354 msgid "" "Check if the request can be met. If not, raise :c:data:`PyExc_BufferError`, " "set :c:expr:`view->obj` to ``NULL`` and return ``-1``." msgstr "" -#: c-api/typeobj.rst:2356 +#: c-api/typeobj.rst:2357 msgid "Fill in the requested fields." msgstr "" -#: c-api/typeobj.rst:2358 +#: c-api/typeobj.rst:2359 msgid "Increment an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2360 +#: c-api/typeobj.rst:2361 msgid "" "Set :c:expr:`view->obj` to *exporter* and increment :c:expr:`view->obj`." msgstr "" -#: c-api/typeobj.rst:2362 +#: c-api/typeobj.rst:2363 msgid "Return ``0``." msgstr "" -#: c-api/typeobj.rst:2364 +#: c-api/typeobj.rst:2365 msgid "" "If *exporter* is part of a chain or tree of buffer providers, two main " "schemes can be used:" msgstr "" -#: c-api/typeobj.rst:2367 +#: c-api/typeobj.rst:2368 msgid "" "Re-export: Each member of the tree acts as the exporting object and sets :c:" "expr:`view->obj` to a new reference to itself." msgstr "" -#: c-api/typeobj.rst:2370 +#: c-api/typeobj.rst:2371 msgid "" "Redirect: The buffer request is redirected to the root object of the tree. " "Here, :c:expr:`view->obj` will be a new reference to the root object." msgstr "" -#: c-api/typeobj.rst:2374 +#: c-api/typeobj.rst:2375 msgid "" "The individual fields of *view* are described in section :ref:`Buffer " "structure `, the rules how an exporter must react to " @@ -3129,7 +3129,7 @@ msgid "" "types>`." msgstr "" -#: c-api/typeobj.rst:2379 +#: c-api/typeobj.rst:2380 msgid "" "All memory pointed to in the :c:type:`Py_buffer` structure belongs to the " "exporter and must remain valid until there are no consumers left. :c:member:" @@ -3138,19 +3138,19 @@ msgid "" "internal` are read-only for the consumer." msgstr "" -#: c-api/typeobj.rst:2386 +#: c-api/typeobj.rst:2387 msgid "" ":c:func:`PyBuffer_FillInfo` provides an easy way of exposing a simple bytes " "buffer while dealing correctly with all request types." msgstr "" -#: c-api/typeobj.rst:2389 +#: c-api/typeobj.rst:2390 msgid "" ":c:func:`PyObject_GetBuffer` is the interface for the consumer that wraps " "this function." msgstr "" -#: c-api/typeobj.rst:2398 +#: c-api/typeobj.rst:2399 msgid "" "Handle a request to release the resources of the buffer. If no resources " "need to be released, :c:member:`PyBufferProcs.bf_releasebuffer` may be " @@ -3158,15 +3158,15 @@ msgid "" "these optional steps:" msgstr "" -#: c-api/typeobj.rst:2403 +#: c-api/typeobj.rst:2404 msgid "Decrement an internal counter for the number of exports." msgstr "" -#: c-api/typeobj.rst:2405 +#: c-api/typeobj.rst:2406 msgid "If the counter is ``0``, free all memory associated with *view*." msgstr "" -#: c-api/typeobj.rst:2407 +#: c-api/typeobj.rst:2408 msgid "" "The exporter MUST use the :c:member:`~Py_buffer.internal` field to keep " "track of buffer-specific resources. This field is guaranteed to remain " @@ -3174,68 +3174,68 @@ msgid "" "*view* argument." msgstr "" -#: c-api/typeobj.rst:2413 +#: c-api/typeobj.rst:2414 msgid "" "This function MUST NOT decrement :c:expr:`view->obj`, since that is done " "automatically in :c:func:`PyBuffer_Release` (this scheme is useful for " "breaking reference cycles)." msgstr "" -#: c-api/typeobj.rst:2418 +#: c-api/typeobj.rst:2419 msgid "" ":c:func:`PyBuffer_Release` is the interface for the consumer that wraps this " "function." msgstr "" -#: c-api/typeobj.rst:2426 +#: c-api/typeobj.rst:2427 msgid "Async Object Structures" msgstr "" -#: c-api/typeobj.rst:2434 +#: c-api/typeobj.rst:2435 msgid "" "This structure holds pointers to the functions required to implement :term:" "`awaitable` and :term:`asynchronous iterator` objects." msgstr "" -#: c-api/typeobj.rst:2452 +#: c-api/typeobj.rst:2453 msgid "" "The returned object must be an :term:`iterator`, i.e. :c:func:`PyIter_Check` " "must return ``1`` for it." msgstr "" -#: c-api/typeobj.rst:2455 +#: c-api/typeobj.rst:2456 msgid "" "This slot may be set to ``NULL`` if an object is not an :term:`awaitable`." msgstr "" -#: c-api/typeobj.rst:2463 +#: c-api/typeobj.rst:2464 msgid "" "Must return an :term:`asynchronous iterator` object. See :meth:`__anext__` " "for details." msgstr "" -#: c-api/typeobj.rst:2466 +#: c-api/typeobj.rst:2467 msgid "" "This slot may be set to ``NULL`` if an object does not implement " "asynchronous iteration protocol." msgstr "" -#: c-api/typeobj.rst:2475 +#: c-api/typeobj.rst:2476 msgid "" "Must return an :term:`awaitable` object. See :meth:`__anext__` for details. " "This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2484 +#: c-api/typeobj.rst:2485 msgid "" "See :c:func:`PyIter_Send` for details. This slot may be set to ``NULL``." msgstr "" -#: c-api/typeobj.rst:2493 +#: c-api/typeobj.rst:2494 msgid "Slot Type typedefs" msgstr "" -#: c-api/typeobj.rst:2497 +#: c-api/typeobj.rst:2498 msgid "" "The purpose of this function is to separate memory allocation from memory " "initialization. It should return a pointer to a block of memory of adequate " @@ -3249,80 +3249,80 @@ msgid "" "member:`~PyTypeObject.tp_basicsize`." msgstr "" -#: c-api/typeobj.rst:2507 +#: c-api/typeobj.rst:2508 msgid "" "This function should not do any other instance initialization, not even to " "allocate additional memory; that should be done by :c:member:`~PyTypeObject." "tp_new`." msgstr "" -#: c-api/typeobj.rst:2514 +#: c-api/typeobj.rst:2515 msgid "See :c:member:`~PyTypeObject.tp_free`." msgstr "" -#: c-api/typeobj.rst:2518 +#: c-api/typeobj.rst:2519 msgid "See :c:member:`~PyTypeObject.tp_new`." msgstr "" -#: c-api/typeobj.rst:2522 +#: c-api/typeobj.rst:2523 msgid "See :c:member:`~PyTypeObject.tp_init`." msgstr "" -#: c-api/typeobj.rst:2526 +#: c-api/typeobj.rst:2527 msgid "See :c:member:`~PyTypeObject.tp_repr`." msgstr "" -#: c-api/typeobj.rst:2539 +#: c-api/typeobj.rst:2540 msgid "Return the value of the named attribute for the object." msgstr "" -#: c-api/typeobj.rst:2545 +#: c-api/typeobj.rst:2546 msgid "" "Set the value of the named attribute for the object. The value argument is " "set to ``NULL`` to delete the attribute." msgstr "" -#: c-api/typeobj.rst:2541 +#: c-api/typeobj.rst:2542 msgid "See :c:member:`~PyTypeObject.tp_getattro`." msgstr "" -#: c-api/typeobj.rst:2548 +#: c-api/typeobj.rst:2549 msgid "See :c:member:`~PyTypeObject.tp_setattro`." msgstr "" -#: c-api/typeobj.rst:2552 +#: c-api/typeobj.rst:2553 msgid "See :c:member:`~PyTypeObject.tp_descr_get`." msgstr "" -#: c-api/typeobj.rst:2556 +#: c-api/typeobj.rst:2557 msgid "See :c:member:`~PyTypeObject.tp_descr_set`." msgstr "" -#: c-api/typeobj.rst:2560 +#: c-api/typeobj.rst:2561 msgid "See :c:member:`~PyTypeObject.tp_hash`." msgstr "" -#: c-api/typeobj.rst:2564 +#: c-api/typeobj.rst:2565 msgid "See :c:member:`~PyTypeObject.tp_richcompare`." msgstr "" -#: c-api/typeobj.rst:2568 +#: c-api/typeobj.rst:2569 msgid "See :c:member:`~PyTypeObject.tp_iter`." msgstr "" -#: c-api/typeobj.rst:2572 +#: c-api/typeobj.rst:2573 msgid "See :c:member:`~PyTypeObject.tp_iternext`." msgstr "" -#: c-api/typeobj.rst:2586 +#: c-api/typeobj.rst:2587 msgid "See :c:member:`~PyAsyncMethods.am_send`." msgstr "" -#: c-api/typeobj.rst:2602 +#: c-api/typeobj.rst:2603 msgid "Examples" msgstr "" -#: c-api/typeobj.rst:2604 +#: c-api/typeobj.rst:2605 msgid "" "The following are simple examples of Python type definitions. They include " "common usage you may encounter. Some demonstrate tricky corner cases. For " @@ -3330,33 +3330,33 @@ msgid "" "and :ref:`new-types-topics`." msgstr "" -#: c-api/typeobj.rst:2609 +#: c-api/typeobj.rst:2610 msgid "A basic :ref:`static type `::" msgstr "" -#: c-api/typeobj.rst:2626 +#: c-api/typeobj.rst:2627 msgid "" "You may also find older code (especially in the CPython code base) with a " "more verbose initializer::" msgstr "" -#: c-api/typeobj.rst:2670 +#: c-api/typeobj.rst:2671 msgid "A type that supports weakrefs, instance dicts, and hashing::" msgstr "" -#: c-api/typeobj.rst:2697 +#: c-api/typeobj.rst:2698 msgid "" "A str subclass that cannot be subclassed and cannot be called to create " "instances (e.g. uses a separate factory func) using :c:data:" "`Py_TPFLAGS_DISALLOW_INSTANTIATION` flag::" msgstr "" -#: c-api/typeobj.rst:2716 +#: c-api/typeobj.rst:2717 msgid "" "The simplest :ref:`static type ` with fixed-length instances::" msgstr "" -#: c-api/typeobj.rst:2727 +#: c-api/typeobj.rst:2728 msgid "" "The simplest :ref:`static type ` with variable-length " "instances::" diff --git a/copyright.po b/copyright.po index 33a1b23bd..59207e354 100644 --- a/copyright.po +++ b/copyright.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: 2022-12-28 16:31-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,8 @@ msgid "Python and this documentation is:" msgstr "Python ve bu dokümantasyon:" #: copyright.rst:7 -msgid "Copyright © 2001-2022 Python Software Foundation. All rights reserved." +#, fuzzy +msgid "Copyright © 2001-2023 Python Software Foundation. All rights reserved." msgstr "" "Telif Hakkı © 2001-2022 Python Software Foundation. Tüm hakları saklıdır." diff --git a/faq/general.po b/faq/general.po index 5e32b0d69..468658f3e 100644 --- a/faq/general.po +++ b/faq/general.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -400,8 +400,8 @@ msgstr "" #: faq/general.rst:251 msgid "" -"The very first article about Python was written in 1991 and is now quite " -"outdated." +"The `very first article `_ about Python was " +"written in 1991 and is now quite outdated." msgstr "" #: faq/general.rst:254 diff --git a/faq/programming.po b/faq/programming.po index 606e029b6..24b580950 100644 --- a/faq/programming.po +++ b/faq/programming.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -205,30 +205,30 @@ msgstr "" msgid "Core Language" msgstr "" -#: faq/programming.rst:117 +#: faq/programming.rst:119 msgid "Why am I getting an UnboundLocalError when the variable has a value?" msgstr "" -#: faq/programming.rst:119 +#: faq/programming.rst:121 msgid "" "It can be a surprise to get the :exc:`UnboundLocalError` in previously " "working code when it is modified by adding an assignment statement somewhere " "in the body of a function." msgstr "" -#: faq/programming.rst:123 +#: faq/programming.rst:125 msgid "This code:" msgstr "" -#: faq/programming.rst:132 +#: faq/programming.rst:134 msgid "works, but this code:" msgstr "" -#: faq/programming.rst:139 +#: faq/programming.rst:141 msgid "results in an :exc:`!UnboundLocalError`:" msgstr "" -#: faq/programming.rst:146 +#: faq/programming.rst:148 msgid "" "This is because when you make an assignment to a variable in a scope, that " "variable becomes local to that scope and shadows any similarly named " @@ -238,30 +238,30 @@ msgid "" "uninitialized local variable and an error results." msgstr "" -#: faq/programming.rst:153 +#: faq/programming.rst:155 msgid "" "In the example above you can access the outer scope variable by declaring it " "global:" msgstr "" -#: faq/programming.rst:165 +#: faq/programming.rst:167 msgid "" "This explicit declaration is required in order to remind you that (unlike " "the superficially analogous situation with class and instance variables) you " "are actually modifying the value of the variable in the outer scope:" msgstr "" -#: faq/programming.rst:172 +#: faq/programming.rst:174 msgid "" "You can do a similar thing in a nested scope using the :keyword:`nonlocal` " "keyword:" msgstr "" -#: faq/programming.rst:190 +#: faq/programming.rst:192 msgid "What are the rules for local and global variables in Python?" msgstr "" -#: faq/programming.rst:192 +#: faq/programming.rst:194 msgid "" "In Python, variables that are only referenced inside a function are " "implicitly global. If a variable is assigned a value anywhere within the " @@ -269,7 +269,7 @@ msgid "" "global." msgstr "" -#: faq/programming.rst:196 +#: faq/programming.rst:198 msgid "" "Though a bit surprising at first, a moment's consideration explains this. " "On one hand, requiring :keyword:`global` for assigned variables provides a " @@ -280,19 +280,19 @@ msgid "" "of the ``global`` declaration for identifying side-effects." msgstr "" -#: faq/programming.rst:206 +#: faq/programming.rst:208 msgid "" "Why do lambdas defined in a loop with different values all return the same " "result?" msgstr "" -#: faq/programming.rst:208 +#: faq/programming.rst:210 msgid "" "Assume you use a for loop to define a few different lambdas (or even plain " "functions), e.g.::" msgstr "" -#: faq/programming.rst:215 +#: faq/programming.rst:217 msgid "" "This gives you a list that contains 5 lambdas that calculate ``x**2``. You " "might expect that, when called, they would return, respectively, ``0``, " @@ -300,7 +300,7 @@ msgid "" "see that they all return ``16``::" msgstr "" -#: faq/programming.rst:225 +#: faq/programming.rst:227 msgid "" "This happens because ``x`` is not local to the lambdas, but is defined in " "the outer scope, and it is accessed when the lambda is called --- not when " @@ -309,13 +309,13 @@ msgid "" "changing the value of ``x`` and see how the results of the lambdas change::" msgstr "" -#: faq/programming.rst:235 +#: faq/programming.rst:237 msgid "" "In order to avoid this, you need to save the values in variables local to " "the lambdas, so that they don't rely on the value of the global ``x``::" msgstr "" -#: faq/programming.rst:242 +#: faq/programming.rst:244 msgid "" "Here, ``n=x`` creates a new variable ``n`` local to the lambda and computed " "when the lambda is defined so that it has the same value that ``x`` had at " @@ -324,17 +324,17 @@ msgid "" "Therefore each lambda will now return the correct result::" msgstr "" -#: faq/programming.rst:253 +#: faq/programming.rst:255 msgid "" "Note that this behaviour is not peculiar to lambdas, but applies to regular " "functions too." msgstr "" -#: faq/programming.rst:258 +#: faq/programming.rst:260 msgid "How do I share global variables across modules?" msgstr "" -#: faq/programming.rst:260 +#: faq/programming.rst:262 msgid "" "The canonical way to share information across modules within a single " "program is to create a special module (often called config or cfg). Just " @@ -344,36 +344,36 @@ msgid "" "everywhere. For example:" msgstr "" -#: faq/programming.rst:266 +#: faq/programming.rst:268 msgid "config.py::" msgstr "" -#: faq/programming.rst:270 +#: faq/programming.rst:272 msgid "mod.py::" msgstr "" -#: faq/programming.rst:275 +#: faq/programming.rst:277 msgid "main.py::" msgstr "" -#: faq/programming.rst:281 +#: faq/programming.rst:283 msgid "" "Note that using a module is also the basis for implementing the singleton " "design pattern, for the same reason." msgstr "" -#: faq/programming.rst:286 +#: faq/programming.rst:288 msgid "What are the \"best practices\" for using import in a module?" msgstr "" -#: faq/programming.rst:288 +#: faq/programming.rst:290 msgid "" "In general, don't use ``from modulename import *``. Doing so clutters the " "importer's namespace, and makes it much harder for linters to detect " "undefined names." msgstr "" -#: faq/programming.rst:292 +#: faq/programming.rst:294 msgid "" "Import modules at the top of a file. Doing so makes it clear what other " "modules your code requires and avoids questions of whether the module name " @@ -381,33 +381,33 @@ msgid "" "module imports, but using multiple imports per line uses less screen space." msgstr "" -#: faq/programming.rst:297 +#: faq/programming.rst:299 msgid "It's good practice if you import modules in the following order:" msgstr "" -#: faq/programming.rst:299 +#: faq/programming.rst:301 msgid "" "standard library modules -- e.g. :mod:`sys`, :mod:`os`, :mod:`argparse`, :" "mod:`re`" msgstr "" -#: faq/programming.rst:300 +#: faq/programming.rst:302 msgid "" "third-party library modules (anything installed in Python's site-packages " "directory) -- e.g. :mod:`!dateutil`, :mod:`!requests`, :mod:`!PIL.Image`" msgstr "" -#: faq/programming.rst:302 +#: faq/programming.rst:304 msgid "locally developed modules" msgstr "" -#: faq/programming.rst:304 +#: faq/programming.rst:306 msgid "" "It is sometimes necessary to move imports to a function or class to avoid " "problems with circular imports. Gordon McMillan says:" msgstr "" -#: faq/programming.rst:307 +#: faq/programming.rst:309 msgid "" "Circular imports are fine where both modules use the \"import \" " "form of import. They fail when the 2nd module wants to grab a name out of " @@ -416,7 +416,7 @@ msgid "" "module is busy importing the 2nd." msgstr "" -#: faq/programming.rst:313 +#: faq/programming.rst:315 msgid "" "In this case, if the second module is only used in one function, then the " "import can easily be moved into that function. By the time the import is " @@ -424,7 +424,7 @@ msgid "" "module can do its import." msgstr "" -#: faq/programming.rst:318 +#: faq/programming.rst:320 msgid "" "It may also be necessary to move imports out of the top level of code if " "some of the modules are platform-specific. In that case, it may not even be " @@ -433,7 +433,7 @@ msgid "" "a good option." msgstr "" -#: faq/programming.rst:323 +#: faq/programming.rst:325 msgid "" "Only move imports into a local scope, such as inside a function definition, " "if it's necessary to solve a problem such as avoiding a circular import or " @@ -447,24 +447,24 @@ msgid "" "of scope, the module is probably available in :data:`sys.modules`." msgstr "" -#: faq/programming.rst:336 +#: faq/programming.rst:338 msgid "Why are default values shared between objects?" msgstr "" -#: faq/programming.rst:338 +#: faq/programming.rst:340 msgid "" "This type of bug commonly bites neophyte programmers. Consider this " "function::" msgstr "" -#: faq/programming.rst:345 +#: faq/programming.rst:347 msgid "" "The first time you call this function, ``mydict`` contains a single item. " "The second time, ``mydict`` contains two items because when ``foo()`` begins " "executing, ``mydict`` starts out with an item already in it." msgstr "" -#: faq/programming.rst:349 +#: faq/programming.rst:351 msgid "" "It is often expected that a function call creates new objects for default " "values. This is not what happens. Default values are created exactly once, " @@ -473,14 +473,14 @@ msgid "" "this changed object." msgstr "" -#: faq/programming.rst:354 +#: faq/programming.rst:356 msgid "" "By definition, immutable objects such as numbers, strings, tuples, and " "``None``, are safe from change. Changes to mutable objects such as " "dictionaries, lists, and class instances can lead to confusion." msgstr "" -#: faq/programming.rst:358 +#: faq/programming.rst:360 msgid "" "Because of this feature, it is good programming practice to not use mutable " "objects as default values. Instead, use ``None`` as the default value and " @@ -488,11 +488,11 @@ msgid "" "list/dictionary/whatever if it is. For example, don't write::" msgstr "" -#: faq/programming.rst:366 +#: faq/programming.rst:368 msgid "but::" msgstr "" -#: faq/programming.rst:372 +#: faq/programming.rst:374 msgid "" "This feature can be useful. When you have a function that's time-consuming " "to compute, a common technique is to cache the parameters and the resulting " @@ -501,18 +501,18 @@ msgid "" "implemented like this::" msgstr "" -#: faq/programming.rst:387 +#: faq/programming.rst:389 msgid "" "You could use a global variable containing a dictionary instead of the " "default value; it's a matter of taste." msgstr "" -#: faq/programming.rst:392 +#: faq/programming.rst:394 msgid "" "How can I pass optional or keyword parameters from one function to another?" msgstr "" -#: faq/programming.rst:394 +#: faq/programming.rst:396 msgid "" "Collect the arguments using the ``*`` and ``**`` specifiers in the " "function's parameter list; this gives you the positional arguments as a " @@ -520,11 +520,11 @@ msgid "" "arguments when calling another function by using ``*`` and ``**``::" msgstr "" -#: faq/programming.rst:413 +#: faq/programming.rst:415 msgid "What is the difference between arguments and parameters?" msgstr "" -#: faq/programming.rst:415 +#: faq/programming.rst:417 msgid "" ":term:`Parameters ` are defined by the names that appear in a " "function definition, whereas :term:`arguments ` are the values " @@ -533,34 +533,34 @@ msgid "" "the function definition::" msgstr "" -#: faq/programming.rst:424 +#: faq/programming.rst:426 msgid "" "*foo*, *bar* and *kwargs* are parameters of ``func``. However, when calling " "``func``, for example::" msgstr "" -#: faq/programming.rst:429 +#: faq/programming.rst:431 msgid "the values ``42``, ``314``, and ``somevar`` are arguments." msgstr "" -#: faq/programming.rst:433 +#: faq/programming.rst:435 msgid "Why did changing list 'y' also change list 'x'?" msgstr "" -#: faq/programming.rst:435 +#: faq/programming.rst:437 msgid "If you wrote code like::" msgstr "" -#: faq/programming.rst:445 +#: faq/programming.rst:447 msgid "" "you might be wondering why appending an element to ``y`` changed ``x`` too." msgstr "" -#: faq/programming.rst:447 +#: faq/programming.rst:449 msgid "There are two factors that produce this result:" msgstr "" -#: faq/programming.rst:449 +#: faq/programming.rst:451 msgid "" "Variables are simply names that refer to objects. Doing ``y = x`` doesn't " "create a copy of the list -- it creates a new variable ``y`` that refers to " @@ -568,23 +568,23 @@ msgid "" "(the list), and both ``x`` and ``y`` refer to it." msgstr "" -#: faq/programming.rst:453 +#: faq/programming.rst:455 msgid "" "Lists are :term:`mutable`, which means that you can change their content." msgstr "" -#: faq/programming.rst:455 +#: faq/programming.rst:457 msgid "" "After the call to :meth:`~list.append`, the content of the mutable object " "has changed from ``[]`` to ``[10]``. Since both the variables refer to the " "same object, using either name accesses the modified value ``[10]``." msgstr "" -#: faq/programming.rst:459 +#: faq/programming.rst:461 msgid "If we instead assign an immutable object to ``x``::" msgstr "" -#: faq/programming.rst:469 +#: faq/programming.rst:471 msgid "" "we can see that in this case ``x`` and ``y`` are not equal anymore. This is " "because integers are :term:`immutable`, and when we do ``x = x + 1`` we are " @@ -595,7 +595,7 @@ msgid "" "(``x`` now refers to ``6`` but ``y`` still refers to ``5``)." msgstr "" -#: faq/programming.rst:477 +#: faq/programming.rst:479 msgid "" "Some operations (for example ``y.append(10)`` and ``y.sort()``) mutate the " "object, whereas superficially similar operations (for example ``y = y + " @@ -607,7 +607,7 @@ msgid "" "which will likely cause your program to generate an easily diagnosed error." msgstr "" -#: faq/programming.rst:486 +#: faq/programming.rst:488 msgid "" "However, there is one class of operations where the same operation sometimes " "has different behaviors with different types: the augmented assignment " @@ -617,18 +617,18 @@ msgid "" "1`` create new objects)." msgstr "" -#: faq/programming.rst:493 +#: faq/programming.rst:495 msgid "In other words:" msgstr "" -#: faq/programming.rst:495 +#: faq/programming.rst:497 msgid "" "If we have a mutable object (:class:`list`, :class:`dict`, :class:`set`, " "etc.), we can use some specific operations to mutate it and all the " "variables that refer to it will see the change." msgstr "" -#: faq/programming.rst:498 +#: faq/programming.rst:500 msgid "" "If we have an immutable object (:class:`str`, :class:`int`, :class:`tuple`, " "etc.), all the variables that refer to it will always see the same value, " @@ -636,17 +636,17 @@ msgid "" "new object." msgstr "" -#: faq/programming.rst:503 +#: faq/programming.rst:505 msgid "" "If you want to know if two variables refer to the same object or not, you " "can use the :keyword:`is` operator, or the built-in function :func:`id`." msgstr "" -#: faq/programming.rst:508 +#: faq/programming.rst:510 msgid "How do I write a function with output parameters (call by reference)?" msgstr "" -#: faq/programming.rst:510 +#: faq/programming.rst:512 msgid "" "Remember that arguments are passed by assignment in Python. Since " "assignment just creates references to objects, there's no alias between an " @@ -654,44 +654,44 @@ msgid "" "You can achieve the desired effect in a number of ways." msgstr "" -#: faq/programming.rst:515 +#: faq/programming.rst:517 msgid "By returning a tuple of the results::" msgstr "" -#: faq/programming.rst:526 +#: faq/programming.rst:528 msgid "This is almost always the clearest solution." msgstr "" -#: faq/programming.rst:528 +#: faq/programming.rst:530 msgid "" "By using global variables. This isn't thread-safe, and is not recommended." msgstr "" -#: faq/programming.rst:530 +#: faq/programming.rst:532 msgid "By passing a mutable (changeable in-place) object::" msgstr "" -#: faq/programming.rst:541 +#: faq/programming.rst:543 msgid "By passing in a dictionary that gets mutated::" msgstr "" -#: faq/programming.rst:552 +#: faq/programming.rst:554 msgid "Or bundle up values in a class instance::" msgstr "" -#: faq/programming.rst:569 +#: faq/programming.rst:571 msgid "There's almost never a good reason to get this complicated." msgstr "" -#: faq/programming.rst:571 +#: faq/programming.rst:573 msgid "Your best choice is to return a tuple containing the multiple results." msgstr "" -#: faq/programming.rst:575 +#: faq/programming.rst:577 msgid "How do you make a higher order function in Python?" msgstr "" -#: faq/programming.rst:577 +#: faq/programming.rst:579 msgid "" "You have two choices: you can use nested scopes or you can use callable " "objects. For example, suppose you wanted to define ``linear(a,b)`` which " @@ -699,71 +699,71 @@ msgid "" "scopes::" msgstr "" -#: faq/programming.rst:586 +#: faq/programming.rst:588 msgid "Or using a callable object::" msgstr "" -#: faq/programming.rst:596 +#: faq/programming.rst:598 msgid "In both cases, ::" msgstr "" -#: faq/programming.rst:600 +#: faq/programming.rst:602 msgid "gives a callable object where ``taxes(10e6) == 0.3 * 10e6 + 2``." msgstr "" -#: faq/programming.rst:602 +#: faq/programming.rst:604 msgid "" "The callable object approach has the disadvantage that it is a bit slower " "and results in slightly longer code. However, note that a collection of " "callables can share their signature via inheritance::" msgstr "" -#: faq/programming.rst:611 +#: faq/programming.rst:613 msgid "Object can encapsulate state for several methods::" msgstr "" -#: faq/programming.rst:629 +#: faq/programming.rst:631 msgid "" "Here ``inc()``, ``dec()`` and ``reset()`` act like functions which share the " "same counting variable." msgstr "" -#: faq/programming.rst:634 +#: faq/programming.rst:636 msgid "How do I copy an object in Python?" msgstr "" -#: faq/programming.rst:636 +#: faq/programming.rst:638 msgid "" "In general, try :func:`copy.copy` or :func:`copy.deepcopy` for the general " "case. Not all objects can be copied, but most can." msgstr "" -#: faq/programming.rst:639 +#: faq/programming.rst:641 msgid "" "Some objects can be copied more easily. Dictionaries have a :meth:`~dict." "copy` method::" msgstr "" -#: faq/programming.rst:644 +#: faq/programming.rst:646 msgid "Sequences can be copied by slicing::" msgstr "" -#: faq/programming.rst:650 +#: faq/programming.rst:652 msgid "How can I find the methods or attributes of an object?" msgstr "" -#: faq/programming.rst:652 +#: faq/programming.rst:654 msgid "" "For an instance ``x`` of a user-defined class, :func:`dir(x) ` returns " "an alphabetized list of the names containing the instance attributes and " "methods and attributes defined by its class." msgstr "" -#: faq/programming.rst:658 +#: faq/programming.rst:660 msgid "How can my code discover the name of an object?" msgstr "" -#: faq/programming.rst:660 +#: faq/programming.rst:662 msgid "" "Generally speaking, it can't, because objects don't really have names. " "Essentially, assignment always binds a name to a value; the same is true of " @@ -771,7 +771,7 @@ msgid "" "Consider the following code::" msgstr "" -#: faq/programming.rst:676 +#: faq/programming.rst:678 msgid "" "Arguably the class has a name: even though it is bound to two names and " "invoked through the name ``B`` the created instance is still reported as an " @@ -780,7 +780,7 @@ msgid "" "value." msgstr "" -#: faq/programming.rst:681 +#: faq/programming.rst:683 msgid "" "Generally speaking it should not be necessary for your code to \"know the " "names\" of particular values. Unless you are deliberately writing " @@ -788,13 +788,13 @@ msgid "" "approach might be beneficial." msgstr "" -#: faq/programming.rst:686 +#: faq/programming.rst:688 msgid "" "In comp.lang.python, Fredrik Lundh once gave an excellent analogy in answer " "to this question:" msgstr "" -#: faq/programming.rst:689 +#: faq/programming.rst:691 msgid "" "The same way as you get the name of that cat you found on your porch: the " "cat (object) itself cannot tell you its name, and it doesn't really care -- " @@ -802,78 +802,78 @@ msgid "" "(namespaces) if it's their cat (object)..." msgstr "" -#: faq/programming.rst:694 +#: faq/programming.rst:696 msgid "" "....and don't be surprised if you'll find that it's known by many names, or " "no name at all!" msgstr "" -#: faq/programming.rst:699 +#: faq/programming.rst:701 msgid "What's up with the comma operator's precedence?" msgstr "" -#: faq/programming.rst:701 +#: faq/programming.rst:703 msgid "Comma is not an operator in Python. Consider this session::" msgstr "" -#: faq/programming.rst:706 +#: faq/programming.rst:708 msgid "" "Since the comma is not an operator, but a separator between expressions the " "above is evaluated as if you had entered::" msgstr "" -#: faq/programming.rst:711 +#: faq/programming.rst:713 msgid "not::" msgstr "" -#: faq/programming.rst:715 +#: faq/programming.rst:717 msgid "" "The same is true of the various assignment operators (``=``, ``+=`` etc). " "They are not truly operators but syntactic delimiters in assignment " "statements." msgstr "" -#: faq/programming.rst:720 +#: faq/programming.rst:722 msgid "Is there an equivalent of C's \"?:\" ternary operator?" msgstr "" -#: faq/programming.rst:722 +#: faq/programming.rst:724 msgid "Yes, there is. The syntax is as follows::" msgstr "" -#: faq/programming.rst:729 +#: faq/programming.rst:731 msgid "" "Before this syntax was introduced in Python 2.5, a common idiom was to use " "logical operators::" msgstr "" -#: faq/programming.rst:734 +#: faq/programming.rst:736 msgid "" "However, this idiom is unsafe, as it can give wrong results when *on_true* " "has a false boolean value. Therefore, it is always better to use the ``... " "if ... else ...`` form." msgstr "" -#: faq/programming.rst:740 +#: faq/programming.rst:742 msgid "Is it possible to write obfuscated one-liners in Python?" msgstr "" -#: faq/programming.rst:742 +#: faq/programming.rst:744 msgid "" "Yes. Usually this is done by nesting :keyword:`lambda` within :keyword:`!" "lambda`. See the following three examples, slightly adapted from Ulf " "Bartelt::" msgstr "" -#: faq/programming.rst:769 +#: faq/programming.rst:771 msgid "Don't try this at home, kids!" msgstr "" -#: faq/programming.rst:775 +#: faq/programming.rst:777 msgid "What does the slash(/) in the parameter list of a function mean?" msgstr "" -#: faq/programming.rst:777 +#: faq/programming.rst:779 msgid "" "A slash in the argument list of a function denotes that the parameters prior " "to it are positional-only. Positional-only parameters are the ones without " @@ -883,53 +883,53 @@ msgid "" "only parameters. Its documentation looks like this::" msgstr "" -#: faq/programming.rst:790 +#: faq/programming.rst:792 msgid "" "The slash at the end of the parameter list means that both parameters are " "positional-only. Thus, calling :func:`divmod` with keyword arguments would " "lead to an error::" msgstr "" -#: faq/programming.rst:801 +#: faq/programming.rst:803 msgid "Numbers and strings" msgstr "" -#: faq/programming.rst:804 +#: faq/programming.rst:806 msgid "How do I specify hexadecimal and octal integers?" msgstr "" -#: faq/programming.rst:806 +#: faq/programming.rst:808 msgid "" "To specify an octal digit, precede the octal value with a zero, and then a " "lower or uppercase \"o\". For example, to set the variable \"a\" to the " "octal value \"10\" (8 in decimal), type::" msgstr "" -#: faq/programming.rst:814 +#: faq/programming.rst:816 msgid "" "Hexadecimal is just as easy. Simply precede the hexadecimal number with a " "zero, and then a lower or uppercase \"x\". Hexadecimal digits can be " "specified in lower or uppercase. For example, in the Python interpreter::" msgstr "" -#: faq/programming.rst:827 +#: faq/programming.rst:829 msgid "Why does -22 // 10 return -3?" msgstr "" -#: faq/programming.rst:829 +#: faq/programming.rst:831 msgid "" "It's primarily driven by the desire that ``i % j`` have the same sign as " "``j``. If you want that, and also want::" msgstr "" -#: faq/programming.rst:834 +#: faq/programming.rst:836 msgid "" "then integer division has to return the floor. C also requires that " "identity to hold, and then compilers that truncate ``i // j`` need to make " "``i % j`` have the same sign as ``i``." msgstr "" -#: faq/programming.rst:838 +#: faq/programming.rst:840 msgid "" "There are few real use cases for ``i % j`` when ``j`` is negative. When " "``j`` is positive, there are many, and in virtually all of them it's more " @@ -938,34 +938,34 @@ msgid "" "bug waiting to bite." msgstr "" -#: faq/programming.rst:846 +#: faq/programming.rst:848 msgid "How do I get int literal attribute instead of SyntaxError?" msgstr "" -#: faq/programming.rst:848 +#: faq/programming.rst:850 msgid "" "Trying to lookup an ``int`` literal attribute in the normal manner gives a :" "exc:`SyntaxError` because the period is seen as a decimal point::" msgstr "" -#: faq/programming.rst:857 +#: faq/programming.rst:859 msgid "" "The solution is to separate the literal from the period with either a space " "or parentheses." msgstr "" -#: faq/programming.rst:867 +#: faq/programming.rst:869 msgid "How do I convert a string to a number?" msgstr "" -#: faq/programming.rst:869 +#: faq/programming.rst:871 msgid "" "For integers, use the built-in :func:`int` type constructor, e.g. " "``int('144') == 144``. Similarly, :func:`float` converts to floating-point, " "e.g. ``float('144') == 144.0``." msgstr "" -#: faq/programming.rst:873 +#: faq/programming.rst:875 msgid "" "By default, these interpret the number as decimal, so that ``int('0144') == " "144`` holds true, and ``int('0x144')`` raises :exc:`ValueError`. " @@ -975,7 +975,7 @@ msgid "" "octal, and '0x' indicates a hex number." msgstr "" -#: faq/programming.rst:880 +#: faq/programming.rst:882 msgid "" "Do not use the built-in function :func:`eval` if all you need is to convert " "strings to numbers. :func:`eval` will be significantly slower and it " @@ -985,18 +985,18 @@ msgid "" "directory." msgstr "" -#: faq/programming.rst:887 +#: faq/programming.rst:889 msgid "" ":func:`eval` also has the effect of interpreting numbers as Python " "expressions, so that e.g. ``eval('09')`` gives a syntax error because Python " "does not allow leading '0' in a decimal number (except '0')." msgstr "" -#: faq/programming.rst:893 +#: faq/programming.rst:895 msgid "How do I convert a number to a string?" msgstr "" -#: faq/programming.rst:895 +#: faq/programming.rst:897 msgid "" "To convert, e.g., the number ``144`` to the string ``'144'``, use the built-" "in type constructor :func:`str`. If you want a hexadecimal or octal " @@ -1006,11 +1006,11 @@ msgid "" "format(1.0/3.0)`` yields ``'0.333'``." msgstr "" -#: faq/programming.rst:904 +#: faq/programming.rst:906 msgid "How do I modify a string in place?" msgstr "" -#: faq/programming.rst:906 +#: faq/programming.rst:908 msgid "" "You can't, because strings are immutable. In most situations, you should " "simply construct a new string from the various parts you want to assemble it " @@ -1019,15 +1019,15 @@ msgid "" "module::" msgstr "" -#: faq/programming.rst:936 +#: faq/programming.rst:938 msgid "How do I use strings to call functions/methods?" msgstr "" -#: faq/programming.rst:938 +#: faq/programming.rst:940 msgid "There are various techniques." msgstr "" -#: faq/programming.rst:940 +#: faq/programming.rst:942 msgid "" "The best is to use a dictionary that maps strings to functions. The primary " "advantage of this technique is that the strings do not need to match the " @@ -1035,31 +1035,31 @@ msgid "" "a case construct::" msgstr "" -#: faq/programming.rst:955 +#: faq/programming.rst:957 msgid "Use the built-in function :func:`getattr`::" msgstr "" -#: faq/programming.rst:960 +#: faq/programming.rst:962 msgid "" "Note that :func:`getattr` works on any object, including classes, class " "instances, modules, and so on." msgstr "" -#: faq/programming.rst:963 +#: faq/programming.rst:965 msgid "This is used in several places in the standard library, like this::" msgstr "" -#: faq/programming.rst:976 +#: faq/programming.rst:978 msgid "Use :func:`locals` to resolve the function name::" msgstr "" -#: faq/programming.rst:988 +#: faq/programming.rst:990 msgid "" "Is there an equivalent to Perl's chomp() for removing trailing newlines from " "strings?" msgstr "" -#: faq/programming.rst:990 +#: faq/programming.rst:992 msgid "" "You can use ``S.rstrip(\"\\r\\n\")`` to remove all occurrences of any line " "terminator from the end of the string ``S`` without removing other trailing " @@ -1068,21 +1068,21 @@ msgid "" "removed::" msgstr "" -#: faq/programming.rst:1002 +#: faq/programming.rst:1004 msgid "" "Since this is typically only desired when reading text one line at a time, " "using ``S.rstrip()`` this way works well." msgstr "" -#: faq/programming.rst:1007 +#: faq/programming.rst:1009 msgid "Is there a scanf() or sscanf() equivalent?" msgstr "" -#: faq/programming.rst:1009 +#: faq/programming.rst:1011 msgid "Not as such." msgstr "" -#: faq/programming.rst:1011 +#: faq/programming.rst:1013 msgid "" "For simple input parsing, the easiest approach is usually to split the line " "into whitespace-delimited words using the :meth:`~str.split` method of " @@ -1092,86 +1092,126 @@ msgid "" "as a separator." msgstr "" -#: faq/programming.rst:1017 +#: faq/programming.rst:1019 msgid "" "For more complicated input parsing, regular expressions are more powerful " "than C's ``sscanf`` and better suited for the task." msgstr "" -#: faq/programming.rst:1022 +#: faq/programming.rst:1024 msgid "What does 'UnicodeDecodeError' or 'UnicodeEncodeError' error mean?" msgstr "" -#: faq/programming.rst:1024 +#: faq/programming.rst:1026 msgid "See the :ref:`unicode-howto`." msgstr "" -#: faq/programming.rst:1028 +#: faq/programming.rst:1032 +msgid "Can I end a raw string with an odd number of backslashes?" +msgstr "" + +#: faq/programming.rst:1034 +msgid "" +"A raw string ending with an odd number of backslashes will escape the " +"string's quote::" +msgstr "" + +#: faq/programming.rst:1042 +msgid "" +"There are several workarounds for this. One is to use regular strings and " +"double the backslashes::" +msgstr "" + +#: faq/programming.rst:1048 +msgid "" +"Another is to concatenate a regular string containing an escaped backslash " +"to the raw string::" +msgstr "" + +#: faq/programming.rst:1054 +msgid "" +"It is also possible to use :func:`os.path.join` to append a backslash on " +"Windows::" +msgstr "" + +#: faq/programming.rst:1059 +msgid "" +"Note that while a backslash will \"escape\" a quote for the purposes of " +"determining where the raw string ends, no escaping occurs when interpreting " +"the value of the raw string. That is, the backslash remains present in the " +"value of the raw string::" +msgstr "" + +#: faq/programming.rst:1067 +msgid "Also see the specification in the :ref:`language reference `." +msgstr "" + +#: faq/programming.rst:1070 msgid "Performance" msgstr "" -#: faq/programming.rst:1031 +#: faq/programming.rst:1073 msgid "My program is too slow. How do I speed it up?" msgstr "" -#: faq/programming.rst:1033 +#: faq/programming.rst:1075 msgid "" "That's a tough one, in general. First, here are a list of things to " "remember before diving further:" msgstr "" -#: faq/programming.rst:1036 +#: faq/programming.rst:1078 msgid "" "Performance characteristics vary across Python implementations. This FAQ " "focuses on :term:`CPython`." msgstr "" -#: faq/programming.rst:1038 +#: faq/programming.rst:1080 msgid "" "Behaviour can vary across operating systems, especially when talking about I/" "O or multi-threading." msgstr "" -#: faq/programming.rst:1040 +#: faq/programming.rst:1082 msgid "" "You should always find the hot spots in your program *before* attempting to " "optimize any code (see the :mod:`profile` module)." msgstr "" -#: faq/programming.rst:1042 +#: faq/programming.rst:1084 msgid "" "Writing benchmark scripts will allow you to iterate quickly when searching " "for improvements (see the :mod:`timeit` module)." msgstr "" -#: faq/programming.rst:1044 +#: faq/programming.rst:1086 msgid "" "It is highly recommended to have good code coverage (through unit testing or " "any other technique) before potentially introducing regressions hidden in " "sophisticated optimizations." msgstr "" -#: faq/programming.rst:1048 +#: faq/programming.rst:1090 msgid "" "That being said, there are many tricks to speed up Python code. Here are " "some general principles which go a long way towards reaching acceptable " "performance levels:" msgstr "" -#: faq/programming.rst:1052 +#: faq/programming.rst:1094 msgid "" "Making your algorithms faster (or changing to faster ones) can yield much " "larger benefits than trying to sprinkle micro-optimization tricks all over " "your code." msgstr "" -#: faq/programming.rst:1056 +#: faq/programming.rst:1098 msgid "" "Use the right data structures. Study documentation for the :ref:`bltin-" "types` and the :mod:`collections` module." msgstr "" -#: faq/programming.rst:1059 +#: faq/programming.rst:1101 msgid "" "When the standard library provides a primitive for doing something, it is " "likely (although not guaranteed) to be faster than any alternative you may " @@ -1182,7 +1222,7 @@ msgid "" "advanced usage)." msgstr "" -#: faq/programming.rst:1067 +#: faq/programming.rst:1109 msgid "" "Abstractions tend to create indirections and force the interpreter to work " "more. If the levels of indirection outweigh the amount of useful work done, " @@ -1191,7 +1231,7 @@ msgid "" "detrimental to readability)." msgstr "" -#: faq/programming.rst:1073 +#: faq/programming.rst:1115 msgid "" "If you have reached the limit of what pure Python can allow, there are tools " "to take you further away. For example, `Cython `_ can " @@ -1203,17 +1243,17 @@ msgid "" "yourself." msgstr "" -#: faq/programming.rst:1083 +#: faq/programming.rst:1125 msgid "" "The wiki page devoted to `performance tips `_." msgstr "" -#: faq/programming.rst:1089 +#: faq/programming.rst:1131 msgid "What is the most efficient way to concatenate many strings together?" msgstr "" -#: faq/programming.rst:1091 +#: faq/programming.rst:1133 msgid "" ":class:`str` and :class:`bytes` objects are immutable, therefore " "concatenating many strings together is inefficient as each concatenation " @@ -1221,38 +1261,38 @@ msgid "" "quadratic in the total string length." msgstr "" -#: faq/programming.rst:1096 +#: faq/programming.rst:1138 msgid "" "To accumulate many :class:`str` objects, the recommended idiom is to place " "them into a list and call :meth:`str.join` at the end::" msgstr "" -#: faq/programming.rst:1104 +#: faq/programming.rst:1146 msgid "(another reasonably efficient idiom is to use :class:`io.StringIO`)" msgstr "" -#: faq/programming.rst:1106 +#: faq/programming.rst:1148 msgid "" "To accumulate many :class:`bytes` objects, the recommended idiom is to " "extend a :class:`bytearray` object using in-place concatenation (the ``+=`` " "operator)::" msgstr "" -#: faq/programming.rst:1115 +#: faq/programming.rst:1157 msgid "Sequences (Tuples/Lists)" msgstr "" -#: faq/programming.rst:1118 +#: faq/programming.rst:1160 msgid "How do I convert between tuples and lists?" msgstr "" -#: faq/programming.rst:1120 +#: faq/programming.rst:1162 msgid "" "The type constructor ``tuple(seq)`` converts any sequence (actually, any " "iterable) into a tuple with the same items in the same order." msgstr "" -#: faq/programming.rst:1123 +#: faq/programming.rst:1165 msgid "" "For example, ``tuple([1, 2, 3])`` yields ``(1, 2, 3)`` and ``tuple('abc')`` " "yields ``('a', 'b', 'c')``. If the argument is a tuple, it does not make a " @@ -1260,7 +1300,7 @@ msgid "" "you aren't sure that an object is already a tuple." msgstr "" -#: faq/programming.rst:1128 +#: faq/programming.rst:1170 msgid "" "The type constructor ``list(seq)`` converts any sequence or iterable into a " "list with the same items in the same order. For example, ``list((1, 2, " @@ -1268,11 +1308,11 @@ msgid "" "If the argument is a list, it makes a copy just like ``seq[:]`` would." msgstr "" -#: faq/programming.rst:1135 +#: faq/programming.rst:1177 msgid "What's a negative index?" msgstr "" -#: faq/programming.rst:1137 +#: faq/programming.rst:1179 msgid "" "Python sequences are indexed with positive numbers and negative numbers. " "For positive numbers 0 is the first index 1 is the second index and so " @@ -1281,62 +1321,62 @@ msgid "" "``seq[len(seq)-n]``." msgstr "" -#: faq/programming.rst:1142 +#: faq/programming.rst:1184 msgid "" "Using negative indices can be very convenient. For example ``S[:-1]`` is " "all of the string except for its last character, which is useful for " "removing the trailing newline from a string." msgstr "" -#: faq/programming.rst:1148 +#: faq/programming.rst:1190 msgid "How do I iterate over a sequence in reverse order?" msgstr "" -#: faq/programming.rst:1150 +#: faq/programming.rst:1192 msgid "Use the :func:`reversed` built-in function::" msgstr "" -#: faq/programming.rst:1155 +#: faq/programming.rst:1197 msgid "" "This won't touch your original sequence, but build a new copy with reversed " "order to iterate over." msgstr "" -#: faq/programming.rst:1160 +#: faq/programming.rst:1202 msgid "How do you remove duplicates from a list?" msgstr "" -#: faq/programming.rst:1162 +#: faq/programming.rst:1204 msgid "See the Python Cookbook for a long discussion of many ways to do this:" msgstr "" -#: faq/programming.rst:1164 +#: faq/programming.rst:1206 msgid "https://code.activestate.com/recipes/52560/" msgstr "" -#: faq/programming.rst:1166 +#: faq/programming.rst:1208 msgid "" "If you don't mind reordering the list, sort it and then scan from the end of " "the list, deleting duplicates as you go::" msgstr "" -#: faq/programming.rst:1178 +#: faq/programming.rst:1220 msgid "" "If all elements of the list may be used as set keys (i.e. they are all :term:" "`hashable`) this is often faster ::" msgstr "" -#: faq/programming.rst:1183 +#: faq/programming.rst:1225 msgid "" "This converts the list into a set, thereby removing duplicates, and then " "back into a list." msgstr "" -#: faq/programming.rst:1188 +#: faq/programming.rst:1230 msgid "How do you remove multiple items from a list" msgstr "" -#: faq/programming.rst:1190 +#: faq/programming.rst:1232 msgid "" "As with removing duplicates, explicitly iterating in reverse with a delete " "condition is one possibility. However, it is easier and faster to use slice " @@ -1344,26 +1384,26 @@ msgid "" "variations.::" msgstr "" -#: faq/programming.rst:1199 +#: faq/programming.rst:1241 msgid "The list comprehension may be fastest." msgstr "" -#: faq/programming.rst:1203 +#: faq/programming.rst:1245 msgid "How do you make an array in Python?" msgstr "" -#: faq/programming.rst:1205 +#: faq/programming.rst:1247 msgid "Use a list::" msgstr "" -#: faq/programming.rst:1209 +#: faq/programming.rst:1251 msgid "" "Lists are equivalent to C or Pascal arrays in their time complexity; the " "primary difference is that a Python list can contain objects of many " "different types." msgstr "" -#: faq/programming.rst:1212 +#: faq/programming.rst:1254 msgid "" "The ``array`` module also provides methods for creating arrays of fixed " "types with compact representations, but they are slower to index than " @@ -1371,12 +1411,12 @@ msgid "" "packages define array-like structures with various characteristics as well." msgstr "" -#: faq/programming.rst:1218 +#: faq/programming.rst:1260 msgid "" "To get Lisp-style linked lists, you can emulate *cons cells* using tuples::" msgstr "" -#: faq/programming.rst:1222 +#: faq/programming.rst:1264 msgid "" "If mutability is desired, you could use lists instead of tuples. Here the " "analogue of a Lisp *car* is ``lisp_list[0]`` and the analogue of *cdr* is " @@ -1384,23 +1424,23 @@ msgid "" "it's usually a lot slower than using Python lists." msgstr "" -#: faq/programming.rst:1231 +#: faq/programming.rst:1273 msgid "How do I create a multidimensional list?" msgstr "" -#: faq/programming.rst:1233 +#: faq/programming.rst:1275 msgid "You probably tried to make a multidimensional array like this::" msgstr "" -#: faq/programming.rst:1237 +#: faq/programming.rst:1279 msgid "This looks correct if you print it:" msgstr "" -#: faq/programming.rst:1248 +#: faq/programming.rst:1290 msgid "But when you assign a value, it shows up in multiple places:" msgstr "" -#: faq/programming.rst:1260 +#: faq/programming.rst:1302 msgid "" "The reason is that replicating a list with ``*`` doesn't create copies, it " "only creates references to the existing objects. The ``*3`` creates a list " @@ -1408,64 +1448,64 @@ msgid "" "will show in all rows, which is almost certainly not what you want." msgstr "" -#: faq/programming.rst:1265 +#: faq/programming.rst:1307 msgid "" "The suggested approach is to create a list of the desired length first and " "then fill in each element with a newly created list::" msgstr "" -#: faq/programming.rst:1272 +#: faq/programming.rst:1314 msgid "" "This generates a list containing 3 different lists of length two. You can " "also use a list comprehension::" msgstr "" -#: faq/programming.rst:1278 +#: faq/programming.rst:1320 msgid "" "Or, you can use an extension that provides a matrix datatype; `NumPy " "`_ is the best known." msgstr "" -#: faq/programming.rst:1283 +#: faq/programming.rst:1325 msgid "How do I apply a method or function to a sequence of objects?" msgstr "" -#: faq/programming.rst:1285 +#: faq/programming.rst:1327 msgid "" "To call a method or function and accumulate the return values is a list, a :" "term:`list comprehension` is an elegant solution::" msgstr "" -#: faq/programming.rst:1292 +#: faq/programming.rst:1334 msgid "" "To just run the method or function without saving the return values, a " "plain :keyword:`for` loop will suffice::" msgstr "" -#: faq/programming.rst:1304 +#: faq/programming.rst:1346 msgid "" "Why does a_tuple[i] += ['item'] raise an exception when the addition works?" msgstr "" -#: faq/programming.rst:1306 +#: faq/programming.rst:1348 msgid "" "This is because of a combination of the fact that augmented assignment " "operators are *assignment* operators, and the difference between mutable and " "immutable objects in Python." msgstr "" -#: faq/programming.rst:1310 +#: faq/programming.rst:1352 msgid "" "This discussion applies in general when augmented assignment operators are " "applied to elements of a tuple that point to mutable objects, but we'll use " "a ``list`` and ``+=`` as our exemplar." msgstr "" -#: faq/programming.rst:1314 +#: faq/programming.rst:1356 msgid "If you wrote::" msgstr "" -#: faq/programming.rst:1322 +#: faq/programming.rst:1364 msgid "" "The reason for the exception should be immediately clear: ``1`` is added to " "the object ``a_tuple[0]`` points to (``1``), producing the result object, " @@ -1474,29 +1514,29 @@ msgid "" "an element of a tuple points to." msgstr "" -#: faq/programming.rst:1328 +#: faq/programming.rst:1370 msgid "" "Under the covers, what this augmented assignment statement is doing is " "approximately this::" msgstr "" -#: faq/programming.rst:1337 +#: faq/programming.rst:1379 msgid "" "It is the assignment part of the operation that produces the error, since a " "tuple is immutable." msgstr "" -#: faq/programming.rst:1340 +#: faq/programming.rst:1382 msgid "When you write something like::" msgstr "" -#: faq/programming.rst:1348 +#: faq/programming.rst:1390 msgid "" "The exception is a bit more surprising, and even more surprising is the fact " "that even though there was an error, the append worked::" msgstr "" -#: faq/programming.rst:1354 +#: faq/programming.rst:1396 msgid "" "To see why this happens, you need to know that (a) if an object implements " "an :meth:`~object.__iadd__` magic method, it gets called when the ``+=`` " @@ -1507,11 +1547,11 @@ msgid "" "extend`::" msgstr "" -#: faq/programming.rst:1367 +#: faq/programming.rst:1409 msgid "This is equivalent to::" msgstr "" -#: faq/programming.rst:1372 +#: faq/programming.rst:1414 msgid "" "The object pointed to by a_list has been mutated, and the pointer to the " "mutated object is assigned back to ``a_list``. The end result of the " @@ -1519,11 +1559,11 @@ msgid "" "``a_list`` was previously pointing to, but the assignment still happens." msgstr "" -#: faq/programming.rst:1377 +#: faq/programming.rst:1419 msgid "Thus, in our tuple example what is happening is equivalent to::" msgstr "" -#: faq/programming.rst:1385 +#: faq/programming.rst:1427 msgid "" "The :meth:`!__iadd__` succeeds, and thus the list is extended, but even " "though ``result`` points to the same object that ``a_tuple[0]`` already " @@ -1531,13 +1571,13 @@ msgid "" "are immutable." msgstr "" -#: faq/programming.rst:1391 +#: faq/programming.rst:1433 msgid "" "I want to do a complicated sort: can you do a Schwartzian Transform in " "Python?" msgstr "" -#: faq/programming.rst:1393 +#: faq/programming.rst:1435 msgid "" "The technique, attributed to Randal Schwartz of the Perl community, sorts " "the elements of a list by a metric which maps each element to its \"sort " @@ -1545,25 +1585,25 @@ msgid "" "method::" msgstr "" -#: faq/programming.rst:1402 +#: faq/programming.rst:1444 msgid "How can I sort one list by values from another list?" msgstr "" -#: faq/programming.rst:1404 +#: faq/programming.rst:1446 msgid "" "Merge them into an iterator of tuples, sort the resulting list, and then " "pick out the element you want. ::" msgstr "" -#: faq/programming.rst:1419 +#: faq/programming.rst:1461 msgid "Objects" msgstr "" -#: faq/programming.rst:1422 +#: faq/programming.rst:1464 msgid "What is a class?" msgstr "" -#: faq/programming.rst:1424 +#: faq/programming.rst:1466 msgid "" "A class is the particular object type created by executing a class " "statement. Class objects are used as templates to create instance objects, " @@ -1571,7 +1611,7 @@ msgid "" "datatype." msgstr "" -#: faq/programming.rst:1428 +#: faq/programming.rst:1470 msgid "" "A class can be based on one or more other classes, called its base " "class(es). It then inherits the attributes and methods of its base classes. " @@ -1581,22 +1621,22 @@ msgid "" "``OutlookMailbox`` that handle various specific mailbox formats." msgstr "" -#: faq/programming.rst:1437 +#: faq/programming.rst:1479 msgid "What is a method?" msgstr "" -#: faq/programming.rst:1439 +#: faq/programming.rst:1481 msgid "" "A method is a function on some object ``x`` that you normally call as ``x." "name(arguments...)``. Methods are defined as functions inside the class " "definition::" msgstr "" -#: faq/programming.rst:1449 +#: faq/programming.rst:1491 msgid "What is self?" msgstr "" -#: faq/programming.rst:1451 +#: faq/programming.rst:1493 msgid "" "Self is merely a conventional name for the first argument of a method. A " "method defined as ``meth(self, a, b, c)`` should be called as ``x.meth(a, b, " @@ -1604,17 +1644,17 @@ msgid "" "the called method will think it is called as ``meth(x, a, b, c)``." msgstr "" -#: faq/programming.rst:1456 +#: faq/programming.rst:1498 msgid "See also :ref:`why-self`." msgstr "" -#: faq/programming.rst:1460 +#: faq/programming.rst:1502 msgid "" "How do I check if an object is an instance of a given class or of a subclass " "of it?" msgstr "" -#: faq/programming.rst:1462 +#: faq/programming.rst:1504 msgid "" "Use the built-in function :func:`isinstance(obj, cls) `. You " "can check if an object is an instance of any of a number of classes by " @@ -1624,7 +1664,7 @@ msgid "" "float, complex))``." msgstr "" -#: faq/programming.rst:1469 +#: faq/programming.rst:1511 msgid "" "Note that :func:`isinstance` also checks for virtual inheritance from an :" "term:`abstract base class`. So, the test will return ``True`` for a " @@ -1632,7 +1672,7 @@ msgid "" "To test for \"true inheritance\", scan the :term:`MRO` of the class:" msgstr "" -#: faq/programming.rst:1504 +#: faq/programming.rst:1546 msgid "" "Note that most programs do not use :func:`isinstance` on user-defined " "classes very often. If you are developing the classes yourself, a more " @@ -1642,17 +1682,17 @@ msgid "" "have a function that does something::" msgstr "" -#: faq/programming.rst:1518 +#: faq/programming.rst:1560 msgid "" "A better approach is to define a ``search()`` method on all the classes and " "just call it::" msgstr "" -#: faq/programming.rst:1533 +#: faq/programming.rst:1575 msgid "What is delegation?" msgstr "" -#: faq/programming.rst:1535 +#: faq/programming.rst:1577 msgid "" "Delegation is an object oriented technique (also called a design pattern). " "Let's say you have an object ``x`` and want to change the behaviour of just " @@ -1661,14 +1701,14 @@ msgid "" "other methods to the corresponding method of ``x``." msgstr "" -#: faq/programming.rst:1541 +#: faq/programming.rst:1583 msgid "" "Python programmers can easily implement delegation. For example, the " "following class implements a class that behaves like a file but converts all " "written data to uppercase::" msgstr "" -#: faq/programming.rst:1556 +#: faq/programming.rst:1598 msgid "" "Here the ``UpperOut`` class redefines the ``write()`` method to convert the " "argument string to uppercase before calling the underlying ``self._outfile." @@ -1678,7 +1718,7 @@ msgid "" "access>` for more information about controlling attribute access." msgstr "" -#: faq/programming.rst:1563 +#: faq/programming.rst:1605 msgid "" "Note that for more general cases delegation can get trickier. When " "attributes must be set as well as retrieved, the class must define a :meth:" @@ -1687,24 +1727,24 @@ msgid "" "following::" msgstr "" -#: faq/programming.rst:1574 +#: faq/programming.rst:1616 msgid "" "Most :meth:`!__setattr__` implementations must modify :meth:`self.__dict__ " "` to store local state for self without causing an infinite " "recursion." msgstr "" -#: faq/programming.rst:1580 +#: faq/programming.rst:1622 msgid "" "How do I call a method defined in a base class from a derived class that " "extends it?" msgstr "" -#: faq/programming.rst:1582 +#: faq/programming.rst:1624 msgid "Use the built-in :func:`super` function::" msgstr "" -#: faq/programming.rst:1588 +#: faq/programming.rst:1630 msgid "" "In the example, :func:`super` will automatically determine the instance from " "which it was called (the ``self`` value), look up the :term:`method " @@ -1712,11 +1752,11 @@ msgid "" "line after ``Derived`` in the MRO: ``Base``." msgstr "" -#: faq/programming.rst:1595 +#: faq/programming.rst:1637 msgid "How can I organize my code to make it easier to change the base class?" msgstr "" -#: faq/programming.rst:1597 +#: faq/programming.rst:1639 msgid "" "You could assign the base class to an alias and derive from the alias. Then " "all you have to change is the value assigned to the alias. Incidentally, " @@ -1724,30 +1764,30 @@ msgid "" "on availability of resources) which base class to use. Example::" msgstr "" -#: faq/programming.rst:1612 +#: faq/programming.rst:1654 msgid "How do I create static class data and static class methods?" msgstr "" -#: faq/programming.rst:1614 +#: faq/programming.rst:1656 msgid "" "Both static data and static methods (in the sense of C++ or Java) are " "supported in Python." msgstr "" -#: faq/programming.rst:1617 +#: faq/programming.rst:1659 msgid "" "For static data, simply define a class attribute. To assign a new value to " "the attribute, you have to explicitly use the class name in the assignment::" msgstr "" -#: faq/programming.rst:1629 +#: faq/programming.rst:1671 msgid "" "``c.count`` also refers to ``C.count`` for any ``c`` such that " "``isinstance(c, C)`` holds, unless overridden by ``c`` itself or by some " "class on the base-class search path from ``c.__class__`` back to ``C``." msgstr "" -#: faq/programming.rst:1633 +#: faq/programming.rst:1675 msgid "" "Caution: within a method of C, an assignment like ``self.count = 42`` " "creates a new and unrelated instance named \"count\" in ``self``'s own " @@ -1755,59 +1795,59 @@ msgid "" "whether inside a method or not::" msgstr "" -#: faq/programming.rst:1640 +#: faq/programming.rst:1682 msgid "Static methods are possible::" msgstr "" -#: faq/programming.rst:1648 +#: faq/programming.rst:1690 msgid "" "However, a far more straightforward way to get the effect of a static method " "is via a simple module-level function::" msgstr "" -#: faq/programming.rst:1654 +#: faq/programming.rst:1696 msgid "" "If your code is structured so as to define one class (or tightly related " "class hierarchy) per module, this supplies the desired encapsulation." msgstr "" -#: faq/programming.rst:1659 +#: faq/programming.rst:1701 msgid "How can I overload constructors (or methods) in Python?" msgstr "" -#: faq/programming.rst:1661 +#: faq/programming.rst:1703 msgid "" "This answer actually applies to all methods, but the question usually comes " "up first in the context of constructors." msgstr "" -#: faq/programming.rst:1664 +#: faq/programming.rst:1706 msgid "In C++ you'd write" msgstr "" -#: faq/programming.rst:1673 +#: faq/programming.rst:1715 msgid "" "In Python you have to write a single constructor that catches all cases " "using default arguments. For example::" msgstr "" -#: faq/programming.rst:1683 +#: faq/programming.rst:1725 msgid "This is not entirely equivalent, but close enough in practice." msgstr "" -#: faq/programming.rst:1685 +#: faq/programming.rst:1727 msgid "You could also try a variable-length argument list, e.g. ::" msgstr "" -#: faq/programming.rst:1690 +#: faq/programming.rst:1732 msgid "The same approach works for all method definitions." msgstr "" -#: faq/programming.rst:1694 +#: faq/programming.rst:1736 msgid "I try to use __spam and I get an error about _SomeClassName__spam." msgstr "" -#: faq/programming.rst:1696 +#: faq/programming.rst:1738 msgid "" "Variable names with double leading underscores are \"mangled\" to provide a " "simple but effective way to define class private variables. Any identifier " @@ -1817,7 +1857,7 @@ msgid "" "stripped." msgstr "" -#: faq/programming.rst:1702 +#: faq/programming.rst:1744 msgid "" "This doesn't guarantee privacy: an outside user can still deliberately " "access the \"_classname__spam\" attribute, and private values are visible in " @@ -1825,22 +1865,22 @@ msgid "" "private variable names at all." msgstr "" -#: faq/programming.rst:1709 +#: faq/programming.rst:1751 msgid "My class defines __del__ but it is not called when I delete the object." msgstr "" -#: faq/programming.rst:1711 +#: faq/programming.rst:1753 msgid "There are several possible reasons for this." msgstr "" -#: faq/programming.rst:1713 +#: faq/programming.rst:1755 msgid "" "The :keyword:`del` statement does not necessarily call :meth:`~object." "__del__` -- it simply decrements the object's reference count, and if this " "reaches zero :meth:`!__del__` is called." msgstr "" -#: faq/programming.rst:1717 +#: faq/programming.rst:1759 msgid "" "If your data structures contain circular links (e.g. a tree where each child " "has a parent reference and each parent has a list of children) the reference " @@ -1854,7 +1894,7 @@ msgid "" "cases where objects will never be collected." msgstr "" -#: faq/programming.rst:1728 +#: faq/programming.rst:1770 msgid "" "Despite the cycle collector, it's still a good idea to define an explicit " "``close()`` method on objects to be called whenever you're done with them. " @@ -1864,7 +1904,7 @@ msgid "" "once for the same object." msgstr "" -#: faq/programming.rst:1735 +#: faq/programming.rst:1777 msgid "" "Another way to avoid cyclical references is to use the :mod:`weakref` " "module, which allows you to point to objects without incrementing their " @@ -1872,28 +1912,28 @@ msgid "" "references for their parent and sibling references (if they need them!)." msgstr "" -#: faq/programming.rst:1748 +#: faq/programming.rst:1790 msgid "" "Finally, if your :meth:`!__del__` method raises an exception, a warning " "message is printed to :data:`sys.stderr`." msgstr "" -#: faq/programming.rst:1753 +#: faq/programming.rst:1795 msgid "How do I get a list of all instances of a given class?" msgstr "" -#: faq/programming.rst:1755 +#: faq/programming.rst:1797 msgid "" "Python does not keep track of all instances of a class (or of a built-in " "type). You can program the class's constructor to keep track of all " "instances by keeping a list of weak references to each instance." msgstr "" -#: faq/programming.rst:1761 +#: faq/programming.rst:1803 msgid "Why does the result of ``id()`` appear to be not unique?" msgstr "" -#: faq/programming.rst:1763 +#: faq/programming.rst:1805 msgid "" "The :func:`id` builtin returns an integer that is guaranteed to be unique " "during the lifetime of the object. Since in CPython, this is the object's " @@ -1902,7 +1942,7 @@ msgid "" "memory. This is illustrated by this example:" msgstr "" -#: faq/programming.rst:1774 +#: faq/programming.rst:1816 msgid "" "The two ids belong to different integer objects that are created before, and " "deleted immediately after execution of the ``id()`` call. To be sure that " @@ -1910,17 +1950,17 @@ msgid "" "reference to the object:" msgstr "" -#: faq/programming.rst:1787 +#: faq/programming.rst:1829 msgid "When can I rely on identity tests with the *is* operator?" msgstr "" -#: faq/programming.rst:1789 +#: faq/programming.rst:1831 msgid "" "The ``is`` operator tests for object identity. The test ``a is b`` is " "equivalent to ``id(a) == id(b)``." msgstr "" -#: faq/programming.rst:1792 +#: faq/programming.rst:1834 msgid "" "The most important property of an identity test is that an object is always " "identical to itself, ``a is a`` always returns ``True``. Identity tests are " @@ -1928,34 +1968,34 @@ msgid "" "tests are guaranteed to return a boolean ``True`` or ``False``." msgstr "" -#: faq/programming.rst:1797 +#: faq/programming.rst:1839 msgid "" "However, identity tests can *only* be substituted for equality tests when " "object identity is assured. Generally, there are three circumstances where " "identity is guaranteed:" msgstr "" -#: faq/programming.rst:1801 +#: faq/programming.rst:1843 msgid "" "1) Assignments create new names but do not change object identity. After " "the assignment ``new = old``, it is guaranteed that ``new is old``." msgstr "" -#: faq/programming.rst:1804 +#: faq/programming.rst:1846 msgid "" "2) Putting an object in a container that stores object references does not " "change object identity. After the list assignment ``s[0] = x``, it is " "guaranteed that ``s[0] is x``." msgstr "" -#: faq/programming.rst:1808 +#: faq/programming.rst:1850 msgid "" "3) If an object is a singleton, it means that only one instance of that " "object can exist. After the assignments ``a = None`` and ``b = None``, it " "is guaranteed that ``a is b`` because ``None`` is a singleton." msgstr "" -#: faq/programming.rst:1812 +#: faq/programming.rst:1854 msgid "" "In most other circumstances, identity tests are inadvisable and equality " "tests are preferred. In particular, identity tests should not be used to " @@ -1963,17 +2003,17 @@ msgid "" "guaranteed to be singletons::" msgstr "" -#: faq/programming.rst:1829 +#: faq/programming.rst:1871 msgid "Likewise, new instances of mutable containers are never identical::" msgstr "" -#: faq/programming.rst:1836 +#: faq/programming.rst:1878 msgid "" "In the standard library code, you will see several common patterns for " "correctly using identity tests:" msgstr "" -#: faq/programming.rst:1839 +#: faq/programming.rst:1881 msgid "" "1) As recommended by :pep:`8`, an identity test is the preferred way to " "check for ``None``. This reads like plain English in code and avoids " @@ -1981,7 +2021,7 @@ msgid "" "false." msgstr "" -#: faq/programming.rst:1843 +#: faq/programming.rst:1885 msgid "" "2) Detecting optional arguments can be tricky when ``None`` is a valid input " "value. In those situations, you can create a singleton sentinel object " @@ -1989,25 +2029,25 @@ msgid "" "implement a method that behaves like :meth:`dict.pop`::" msgstr "" -#: faq/programming.rst:1859 +#: faq/programming.rst:1901 msgid "" "3) Container implementations sometimes need to augment equality tests with " "identity tests. This prevents the code from being confused by objects such " "as ``float('NaN')`` that are not equal to themselves." msgstr "" -#: faq/programming.rst:1863 +#: faq/programming.rst:1905 msgid "" "For example, here is the implementation of :meth:`collections.abc.Sequence." "__contains__`::" msgstr "" -#: faq/programming.rst:1874 +#: faq/programming.rst:1916 msgid "" "How can a subclass control what data is stored in an immutable instance?" msgstr "" -#: faq/programming.rst:1876 +#: faq/programming.rst:1918 msgid "" "When subclassing an immutable type, override the :meth:`~object.__new__` " "method instead of the :meth:`~object.__init__` method. The latter only runs " @@ -2015,35 +2055,35 @@ msgid "" "immutable instance." msgstr "" -#: faq/programming.rst:1881 +#: faq/programming.rst:1923 msgid "" "All of these immutable classes have a different signature than their parent " "class:" msgstr "" -#: faq/programming.rst:1907 +#: faq/programming.rst:1949 msgid "The classes can be used like this:" msgstr "" -#: faq/programming.rst:1924 +#: faq/programming.rst:1966 msgid "How do I cache method calls?" msgstr "" -#: faq/programming.rst:1926 +#: faq/programming.rst:1968 msgid "" "The two principal tools for caching methods are :func:`functools." "cached_property` and :func:`functools.lru_cache`. The former stores results " "at the instance level and the latter at the class level." msgstr "" -#: faq/programming.rst:1931 +#: faq/programming.rst:1973 msgid "" "The *cached_property* approach only works with methods that do not take any " "arguments. It does not create a reference to the instance. The cached " "method result will be kept only as long as the instance is alive." msgstr "" -#: faq/programming.rst:1935 +#: faq/programming.rst:1977 msgid "" "The advantage is that when an instance is no longer used, the cached method " "result will be released right away. The disadvantage is that if instances " @@ -2051,47 +2091,47 @@ msgid "" "without bound." msgstr "" -#: faq/programming.rst:1940 +#: faq/programming.rst:1982 msgid "" "The *lru_cache* approach works with methods that have hashable arguments. " "It creates a reference to the instance unless special efforts are made to " "pass in weak references." msgstr "" -#: faq/programming.rst:1944 +#: faq/programming.rst:1986 msgid "" "The advantage of the least recently used algorithm is that the cache is " "bounded by the specified *maxsize*. The disadvantage is that instances are " "kept alive until they age out of the cache or until the cache is cleared." msgstr "" -#: faq/programming.rst:1949 +#: faq/programming.rst:1991 msgid "This example shows the various techniques::" msgstr "" -#: faq/programming.rst:1973 +#: faq/programming.rst:2015 msgid "" "The above example assumes that the *station_id* never changes. If the " "relevant instance attributes are mutable, the *cached_property* approach " "can't be made to work because it cannot detect changes to the attributes." msgstr "" -#: faq/programming.rst:1978 +#: faq/programming.rst:2020 msgid "" "To make the *lru_cache* approach work when the *station_id* is mutable, the " "class needs to define the :meth:`~object.__eq__` and :meth:`~object." "__hash__` methods so that the cache can detect relevant attribute updates::" msgstr "" -#: faq/programming.rst:2004 +#: faq/programming.rst:2046 msgid "Modules" msgstr "" -#: faq/programming.rst:2007 +#: faq/programming.rst:2049 msgid "How do I create a .pyc file?" msgstr "" -#: faq/programming.rst:2009 +#: faq/programming.rst:2051 msgid "" "When a module is imported for the first time (or when the source file has " "changed since the current compiled file was created) a ``.pyc`` file " @@ -2102,7 +2142,7 @@ msgid "" "particular ``python`` binary that created it. (See :pep:`3147` for details.)" msgstr "" -#: faq/programming.rst:2017 +#: faq/programming.rst:2059 msgid "" "One reason that a ``.pyc`` file may not be created is a permissions problem " "with the directory containing the source file, meaning that the " @@ -2111,7 +2151,7 @@ msgid "" "testing with a web server." msgstr "" -#: faq/programming.rst:2022 +#: faq/programming.rst:2064 msgid "" "Unless the :envvar:`PYTHONDONTWRITEBYTECODE` environment variable is set, " "creation of a .pyc file is automatic if you're importing a module and Python " @@ -2120,7 +2160,7 @@ msgid "" "subdirectory." msgstr "" -#: faq/programming.rst:2027 +#: faq/programming.rst:2069 msgid "" "Running Python on a top level script is not considered an import and no ``." "pyc`` will be created. For example, if you have a top-level module ``foo." @@ -2130,27 +2170,27 @@ msgid "" "for ``foo`` since ``foo.py`` isn't being imported." msgstr "" -#: faq/programming.rst:2034 +#: faq/programming.rst:2076 msgid "" "If you need to create a ``.pyc`` file for ``foo`` -- that is, to create a ``." "pyc`` file for a module that is not imported -- you can, using the :mod:" "`py_compile` and :mod:`compileall` modules." msgstr "" -#: faq/programming.rst:2038 +#: faq/programming.rst:2080 msgid "" "The :mod:`py_compile` module can manually compile any module. One way is to " "use the ``compile()`` function in that module interactively::" msgstr "" -#: faq/programming.rst:2044 +#: faq/programming.rst:2086 msgid "" "This will write the ``.pyc`` to a ``__pycache__`` subdirectory in the same " "location as ``foo.py`` (or you can override that with the optional parameter " "``cfile``)." msgstr "" -#: faq/programming.rst:2048 +#: faq/programming.rst:2090 msgid "" "You can also automatically compile all files in a directory or directories " "using the :mod:`compileall` module. You can do it from the shell prompt by " @@ -2158,11 +2198,11 @@ msgid "" "Python files to compile::" msgstr "" -#: faq/programming.rst:2057 +#: faq/programming.rst:2099 msgid "How do I find the current module name?" msgstr "" -#: faq/programming.rst:2059 +#: faq/programming.rst:2101 msgid "" "A module can find out its own module name by looking at the predefined " "global variable ``__name__``. If this has the value ``'__main__'``, the " @@ -2171,79 +2211,79 @@ msgid "" "only execute this code after checking ``__name__``::" msgstr "" -#: faq/programming.rst:2074 +#: faq/programming.rst:2116 msgid "How can I have modules that mutually import each other?" msgstr "" -#: faq/programming.rst:2076 +#: faq/programming.rst:2118 msgid "Suppose you have the following modules:" msgstr "" -#: faq/programming.rst:2078 +#: faq/programming.rst:2120 msgid ":file:`foo.py`::" msgstr "" -#: faq/programming.rst:2083 +#: faq/programming.rst:2125 msgid ":file:`bar.py`::" msgstr "" -#: faq/programming.rst:2088 +#: faq/programming.rst:2130 msgid "The problem is that the interpreter will perform the following steps:" msgstr "" -#: faq/programming.rst:2090 +#: faq/programming.rst:2132 msgid "main imports ``foo``" msgstr "" -#: faq/programming.rst:2091 +#: faq/programming.rst:2133 msgid "Empty globals for ``foo`` are created" msgstr "" -#: faq/programming.rst:2092 +#: faq/programming.rst:2134 msgid "``foo`` is compiled and starts executing" msgstr "" -#: faq/programming.rst:2093 +#: faq/programming.rst:2135 msgid "``foo`` imports ``bar``" msgstr "" -#: faq/programming.rst:2094 +#: faq/programming.rst:2136 msgid "Empty globals for ``bar`` are created" msgstr "" -#: faq/programming.rst:2095 +#: faq/programming.rst:2137 msgid "``bar`` is compiled and starts executing" msgstr "" -#: faq/programming.rst:2096 +#: faq/programming.rst:2138 msgid "" "``bar`` imports ``foo`` (which is a no-op since there already is a module " "named ``foo``)" msgstr "" -#: faq/programming.rst:2097 +#: faq/programming.rst:2139 msgid "" "The import mechanism tries to read ``foo_var`` from ``foo`` globals, to set " "``bar.foo_var = foo.foo_var``" msgstr "" -#: faq/programming.rst:2099 +#: faq/programming.rst:2141 msgid "" "The last step fails, because Python isn't done with interpreting ``foo`` yet " "and the global symbol dictionary for ``foo`` is still empty." msgstr "" -#: faq/programming.rst:2102 +#: faq/programming.rst:2144 msgid "" "The same thing happens when you use ``import foo``, and then try to access " "``foo.foo_var`` in global code." msgstr "" -#: faq/programming.rst:2105 +#: faq/programming.rst:2147 msgid "There are (at least) three possible workarounds for this problem." msgstr "" -#: faq/programming.rst:2107 +#: faq/programming.rst:2149 msgid "" "Guido van Rossum recommends avoiding all uses of ``from import ..." "``, and placing all code inside functions. Initializations of global " @@ -2252,59 +2292,59 @@ msgid "" "``.``." msgstr "" -#: faq/programming.rst:2112 +#: faq/programming.rst:2154 msgid "" "Jim Roskind suggests performing steps in the following order in each module:" msgstr "" -#: faq/programming.rst:2114 +#: faq/programming.rst:2156 msgid "" "exports (globals, functions, and classes that don't need imported base " "classes)" msgstr "" -#: faq/programming.rst:2116 +#: faq/programming.rst:2158 msgid "``import`` statements" msgstr "" -#: faq/programming.rst:2117 +#: faq/programming.rst:2159 msgid "" "active code (including globals that are initialized from imported values)." msgstr "" -#: faq/programming.rst:2119 +#: faq/programming.rst:2161 msgid "" "Van Rossum doesn't like this approach much because the imports appear in a " "strange place, but it does work." msgstr "" -#: faq/programming.rst:2122 +#: faq/programming.rst:2164 msgid "" "Matthias Urlichs recommends restructuring your code so that the recursive " "import is not necessary in the first place." msgstr "" -#: faq/programming.rst:2125 +#: faq/programming.rst:2167 msgid "These solutions are not mutually exclusive." msgstr "" -#: faq/programming.rst:2129 +#: faq/programming.rst:2171 msgid "__import__('x.y.z') returns ; how do I get z?" msgstr "" -#: faq/programming.rst:2131 +#: faq/programming.rst:2173 msgid "" "Consider using the convenience function :func:`~importlib.import_module` " "from :mod:`importlib` instead::" msgstr "" -#: faq/programming.rst:2138 +#: faq/programming.rst:2180 msgid "" "When I edit an imported module and reimport it, the changes don't show up. " "Why does this happen?" msgstr "" -#: faq/programming.rst:2140 +#: faq/programming.rst:2182 msgid "" "For reasons of efficiency as well as consistency, Python only reads the " "module file on the first time a module is imported. If it didn't, in a " @@ -2313,13 +2353,13 @@ msgid "" "re-reading of a changed module, do this::" msgstr "" -#: faq/programming.rst:2150 +#: faq/programming.rst:2192 msgid "" "Warning: this technique is not 100% fool-proof. In particular, modules " "containing statements like ::" msgstr "" -#: faq/programming.rst:2155 +#: faq/programming.rst:2197 msgid "" "will continue to work with the old version of the imported objects. If the " "module contains class definitions, existing class instances will *not* be " @@ -2327,7 +2367,7 @@ msgid "" "paradoxical behaviour::" msgstr "" -#: faq/programming.rst:2168 +#: faq/programming.rst:2210 msgid "" "The nature of the problem is made clear if you print out the \"identity\" of " "the class objects::" diff --git a/howto/annotations.po b/howto/annotations.po index 4b14fbb55..ef3ab9c08 100644 --- a/howto/annotations.po +++ b/howto/annotations.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Larry Hastings" msgstr "" -#: howto/annotations.rst:None +#: howto/annotations.rst:-1 msgid "Abstract" msgstr "" @@ -90,18 +90,26 @@ msgid "" "three arguments, for example ``getattr(o, '__annotations__', None)``." msgstr "" -#: howto/annotations.rst:62 +#: howto/annotations.rst:60 +msgid "" +"Before Python 3.10, accessing ``__annotations__`` on a class that defines no " +"annotations but that has a parent class with annotations would return the " +"parent's ``__annotations__``. In Python 3.10 and newer, the child class's " +"annotations will be an empty dict instead." +msgstr "" + +#: howto/annotations.rst:68 msgid "Accessing The Annotations Dict Of An Object In Python 3.9 And Older" msgstr "" -#: howto/annotations.rst:64 +#: howto/annotations.rst:70 msgid "" "In Python 3.9 and older, accessing the annotations dict of an object is much " "more complicated than in newer versions. The problem is a design flaw in " "these older versions of Python, specifically to do with class annotations." msgstr "" -#: howto/annotations.rst:69 +#: howto/annotations.rst:75 msgid "" "Best practice for accessing the annotations dict of other objects--" "functions, other callables, and modules--is the same as best practice for " @@ -110,7 +118,7 @@ msgid "" "``__annotations__`` attribute." msgstr "" -#: howto/annotations.rst:76 +#: howto/annotations.rst:82 msgid "" "Unfortunately, this isn't best practice for classes. The problem is that, " "since ``__annotations__`` is optional on classes, and because classes can " @@ -119,11 +127,11 @@ msgid "" "annotations dict of a *base class.* As an example::" msgstr "" -#: howto/annotations.rst:92 +#: howto/annotations.rst:98 msgid "This will print the annotations dict from ``Base``, not ``Derived``." msgstr "" -#: howto/annotations.rst:95 +#: howto/annotations.rst:101 msgid "" "Your code will have to have a separate code path if the object you're " "examining is a class (``isinstance(o, type)``). In that case, best practice " @@ -133,32 +141,32 @@ msgid "" "practice is to call the ``get`` method on the class dict." msgstr "" -#: howto/annotations.rst:103 +#: howto/annotations.rst:109 msgid "" "To put it all together, here is some sample code that safely accesses the " "``__annotations__`` attribute on an arbitrary object in Python 3.9 and " "before::" msgstr "" -#: howto/annotations.rst:112 +#: howto/annotations.rst:118 msgid "" "After running this code, ``ann`` should be either a dictionary or ``None``. " "You're encouraged to double-check the type of ``ann`` using :func:" "`isinstance` before further examination." msgstr "" -#: howto/annotations.rst:117 +#: howto/annotations.rst:123 msgid "" "Note that some exotic or malformed type objects may not have a ``__dict__`` " "attribute, so for extra safety you may also wish to use :func:`getattr` to " "access ``__dict__``." msgstr "" -#: howto/annotations.rst:123 +#: howto/annotations.rst:129 msgid "Manually Un-Stringizing Stringized Annotations" msgstr "" -#: howto/annotations.rst:125 +#: howto/annotations.rst:131 msgid "" "In situations where some annotations may be \"stringized\", and you wish to " "evaluate those strings to produce the Python values they represent, it " @@ -166,7 +174,7 @@ msgid "" "you." msgstr "" -#: howto/annotations.rst:131 +#: howto/annotations.rst:137 msgid "" "If you're using Python 3.9 or older, or if for some reason you can't use :" "func:`inspect.get_annotations`, you'll need to duplicate its logic. You're " @@ -174,26 +182,26 @@ msgid "" "in the current Python version and follow a similar approach." msgstr "" -#: howto/annotations.rst:137 +#: howto/annotations.rst:143 msgid "" "In a nutshell, if you wish to evaluate a stringized annotation on an " "arbitrary object ``o``:" msgstr "" -#: howto/annotations.rst:140 +#: howto/annotations.rst:146 msgid "" "If ``o`` is a module, use ``o.__dict__`` as the ``globals`` when calling :" "func:`eval`." msgstr "" -#: howto/annotations.rst:142 +#: howto/annotations.rst:148 msgid "" "If ``o`` is a class, use ``sys.modules[o.__module__].__dict__`` as the " "``globals``, and ``dict(vars(o))`` as the ``locals``, when calling :func:" "`eval`." msgstr "" -#: howto/annotations.rst:145 +#: howto/annotations.rst:151 msgid "" "If ``o`` is a wrapped callable using :func:`functools.update_wrapper`, :func:" "`functools.wraps`, or :func:`functools.partial`, iteratively unwrap it by " @@ -201,13 +209,13 @@ msgid "" "have found the root unwrapped function." msgstr "" -#: howto/annotations.rst:149 +#: howto/annotations.rst:155 msgid "" "If ``o`` is a callable (but not a class), use ``o.__globals__`` as the " "globals when calling :func:`eval`." msgstr "" -#: howto/annotations.rst:152 +#: howto/annotations.rst:158 msgid "" "However, not all string values used as annotations can be successfully " "turned into Python values by :func:`eval`. String values could theoretically " @@ -216,19 +224,19 @@ msgid "" "be evaluated. For example:" msgstr "" -#: howto/annotations.rst:159 +#: howto/annotations.rst:165 msgid "" ":pep:`604` union types using ``|``, before support for this was added to " "Python 3.10." msgstr "" -#: howto/annotations.rst:161 +#: howto/annotations.rst:167 msgid "" "Definitions that aren't needed at runtime, only imported when :const:`typing." "TYPE_CHECKING` is true." msgstr "" -#: howto/annotations.rst:164 +#: howto/annotations.rst:170 msgid "" "If :func:`eval` attempts to evaluate such values, it will fail and raise an " "exception. So, when designing a library API that works with annotations, " @@ -236,43 +244,43 @@ msgid "" "requested to by the caller." msgstr "" -#: howto/annotations.rst:172 +#: howto/annotations.rst:178 msgid "Best Practices For ``__annotations__`` In Any Python Version" msgstr "" -#: howto/annotations.rst:174 +#: howto/annotations.rst:180 msgid "" "You should avoid assigning to the ``__annotations__`` member of objects " "directly. Let Python manage setting ``__annotations__``." msgstr "" -#: howto/annotations.rst:177 +#: howto/annotations.rst:183 msgid "" "If you do assign directly to the ``__annotations__`` member of an object, " "you should always set it to a ``dict`` object." msgstr "" -#: howto/annotations.rst:180 +#: howto/annotations.rst:186 msgid "" "If you directly access the ``__annotations__`` member of an object, you " "should ensure that it's a dictionary before attempting to examine its " "contents." msgstr "" -#: howto/annotations.rst:184 +#: howto/annotations.rst:190 msgid "You should avoid modifying ``__annotations__`` dicts." msgstr "" -#: howto/annotations.rst:186 +#: howto/annotations.rst:192 msgid "" "You should avoid deleting the ``__annotations__`` attribute of an object." msgstr "" -#: howto/annotations.rst:191 +#: howto/annotations.rst:197 msgid "``__annotations__`` Quirks" msgstr "" -#: howto/annotations.rst:193 +#: howto/annotations.rst:199 msgid "" "In all versions of Python 3, function objects lazy-create an annotations " "dict if no annotations are defined on that object. You can delete the " @@ -284,13 +292,13 @@ msgid "" "guaranteed to always throw an ``AttributeError``." msgstr "" -#: howto/annotations.rst:203 +#: howto/annotations.rst:209 msgid "" "Everything in the above paragraph also applies to class and module objects " "in Python 3.10 and newer." msgstr "" -#: howto/annotations.rst:206 +#: howto/annotations.rst:212 msgid "" "In all versions of Python 3, you can set ``__annotations__`` on a function " "object to ``None``. However, subsequently accessing the annotations on that " @@ -301,7 +309,7 @@ msgid "" "set." msgstr "" -#: howto/annotations.rst:214 +#: howto/annotations.rst:220 msgid "" "If Python stringizes your annotations for you (using ``from __future__ " "import annotations``), and you specify a string as an annotation, the string " @@ -309,7 +317,7 @@ msgid "" "example::" msgstr "" -#: howto/annotations.rst:225 +#: howto/annotations.rst:231 msgid "" "This prints ``{'a': \"'str'\"}``. This shouldn't really be considered a " "\"quirk\"; it's mentioned here simply because it might be surprising." diff --git a/howto/clinic.po b/howto/clinic.po index 63908367f..364831c76 100644 --- a/howto/clinic.po +++ b/howto/clinic.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Larry Hastings" msgstr "" -#: howto/clinic.rst:None +#: howto/clinic.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/curses.po b/howto/curses.po index b42307fd9..9d796d822 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,7 +36,7 @@ msgstr "" msgid "2.04" msgstr "" -#: howto/curses.rst:None +#: howto/curses.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/ipaddress.po b/howto/ipaddress.po index 134657aab..99f32c6d0 100644 --- a/howto/ipaddress.po +++ b/howto/ipaddress.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgstr "" msgid "Nick Coghlan" msgstr "" -#: howto/ipaddress.rst:None +#: howto/ipaddress.rst:-1 msgid "Overview" msgstr "" diff --git a/howto/isolating-extensions.po b/howto/isolating-extensions.po index 76f8bf84c..c65ac450c 100644 --- a/howto/isolating-extensions.po +++ b/howto/isolating-extensions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,7 +20,7 @@ msgstr "" msgid "Isolating Extension Modules" msgstr "" -#: howto/isolating-extensions.rst:None +#: howto/isolating-extensions.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index c841f6137..c5fe5b967 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1061,27 +1061,27 @@ msgid "" "kinds of queues, for example a ZeroMQ 'subscribe' socket. Here's an example::" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3923 +#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3944 msgid "Module :mod:`logging`" msgstr "" -#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3923 +#: howto/logging-cookbook.rst:1903 howto/logging-cookbook.rst:3944 msgid "API reference for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3926 +#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3947 msgid "Module :mod:`logging.config`" msgstr "" -#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3926 +#: howto/logging-cookbook.rst:1906 howto/logging-cookbook.rst:3947 msgid "Configuration API for the logging module." msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3929 +#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3950 msgid "Module :mod:`logging.handlers`" msgstr "" -#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3929 +#: howto/logging-cookbook.rst:1909 howto/logging-cookbook.rst:3950 msgid "Useful handlers included with the logging module." msgstr "" @@ -1119,21 +1119,19 @@ msgstr "" #: howto/logging-cookbook.rst:1984 msgid "" "An example of how you can define a namer and rotator is given in the " -"following snippet, which shows zlib-based compression of the log file::" +"following runnable script, which shows gzip compression of the log file::" msgstr "" -#: howto/logging-cookbook.rst:2002 +#: howto/logging-cookbook.rst:2015 msgid "" -"These are not \"true\" .gz files, as they are bare compressed data, with no " -"\"container\" such as you’d find in an actual gzip file. This snippet is " -"just for illustration purposes." +"After running this, you will see six new files, five of which are compressed:" msgstr "" -#: howto/logging-cookbook.rst:2007 +#: howto/logging-cookbook.rst:2028 msgid "A more elaborate multiprocessing example" msgstr "" -#: howto/logging-cookbook.rst:2009 +#: howto/logging-cookbook.rst:2030 msgid "" "The following working example shows how logging can be used with " "multiprocessing using configuration files. The configurations are fairly " @@ -1141,7 +1139,7 @@ msgid "" "in a real multiprocessing scenario." msgstr "" -#: howto/logging-cookbook.rst:2014 +#: howto/logging-cookbook.rst:2035 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 " @@ -1154,17 +1152,17 @@ msgid "" "own scenario." msgstr "" -#: howto/logging-cookbook.rst:2024 +#: howto/logging-cookbook.rst:2045 msgid "" "Here's the script - the docstrings and the comments hopefully explain how it " "works::" msgstr "" -#: howto/logging-cookbook.rst:2236 +#: howto/logging-cookbook.rst:2257 msgid "Inserting a BOM into messages sent to a SysLogHandler" msgstr "" -#: howto/logging-cookbook.rst:2238 +#: howto/logging-cookbook.rst:2259 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 " @@ -1173,7 +1171,7 @@ msgid "" "<5424#section-6>`.)" msgstr "" -#: howto/logging-cookbook.rst:2244 +#: howto/logging-cookbook.rst:2265 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 " @@ -1181,7 +1179,7 @@ msgid "" "hence not allowing any pure-ASCII component to appear before it." msgstr "" -#: howto/logging-cookbook.rst:2250 +#: howto/logging-cookbook.rst:2271 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 " @@ -1190,33 +1188,33 @@ msgid "" "encoded using UTF-8, then you need to do the following:" msgstr "" -#: howto/logging-cookbook.rst:2256 +#: howto/logging-cookbook.rst:2277 msgid "" "Attach a :class:`~logging.Formatter` instance to your :class:`~logging." "handlers.SysLogHandler` instance, with a format string such as::" msgstr "" -#: howto/logging-cookbook.rst:2262 +#: howto/logging-cookbook.rst:2283 msgid "" "The Unicode code point U+FEFF, when encoded using UTF-8, will be encoded as " "a UTF-8 BOM -- the byte-string ``b'\\xef\\xbb\\xbf'``." msgstr "" -#: howto/logging-cookbook.rst:2265 +#: howto/logging-cookbook.rst:2286 msgid "" "Replace the ASCII section with whatever placeholders you like, but make sure " "that the data that appears in there after substitution is always ASCII (that " "way, it will remain unchanged after UTF-8 encoding)." msgstr "" -#: howto/logging-cookbook.rst:2269 +#: howto/logging-cookbook.rst:2290 msgid "" "Replace the Unicode section with whatever placeholders you like; if the data " "which appears there after substitution contains characters outside the ASCII " "range, that's fine -- it will be encoded using UTF-8." msgstr "" -#: howto/logging-cookbook.rst:2273 +#: howto/logging-cookbook.rst:2294 msgid "" "The formatted message *will* be encoded using UTF-8 encoding by " "``SysLogHandler``. If you follow the above rules, you should be able to " @@ -1225,11 +1223,11 @@ msgid "" "daemon may complain." msgstr "" -#: howto/logging-cookbook.rst:2280 +#: howto/logging-cookbook.rst:2301 msgid "Implementing structured logging" msgstr "" -#: howto/logging-cookbook.rst:2282 +#: howto/logging-cookbook.rst:2303 msgid "" "Although most logging messages are intended for reading by humans, and thus " "not readily machine-parseable, there might be circumstances where you want " @@ -1241,31 +1239,31 @@ msgid "" "machine-parseable manner::" msgstr "" -#: howto/logging-cookbook.rst:2306 +#: howto/logging-cookbook.rst:2327 msgid "If the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2312 howto/logging-cookbook.rst:2354 +#: howto/logging-cookbook.rst:2333 howto/logging-cookbook.rst:2375 msgid "" "Note that the order of items might be different according to the version of " "Python used." msgstr "" -#: howto/logging-cookbook.rst:2315 +#: howto/logging-cookbook.rst:2336 msgid "" "If you need more specialised processing, you can use a custom JSON encoder, " "as in the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:2348 +#: howto/logging-cookbook.rst:2369 msgid "When the above script is run, it prints:" msgstr "" -#: howto/logging-cookbook.rst:2363 +#: howto/logging-cookbook.rst:2384 msgid "Customizing handlers with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2365 +#: howto/logging-cookbook.rst:2386 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 " @@ -1275,24 +1273,24 @@ msgid "" "customize handler creation using a plain function such as::" msgstr "" -#: howto/logging-cookbook.rst:2379 +#: howto/logging-cookbook.rst:2400 msgid "" "You can then specify, in a logging configuration passed to :func:" "`dictConfig`, that a logging handler be created by calling this function::" msgstr "" -#: howto/logging-cookbook.rst:2412 +#: howto/logging-cookbook.rst:2433 msgid "" "In this example I am setting the ownership using the ``pulse`` user and " "group, just for the purposes of illustration. Putting it together into a " "working script, ``chowntest.py``::" msgstr "" -#: howto/logging-cookbook.rst:2459 +#: howto/logging-cookbook.rst:2480 msgid "To run this, you will probably need to run as ``root``:" msgstr "" -#: howto/logging-cookbook.rst:2469 +#: howto/logging-cookbook.rst:2490 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 " @@ -1301,17 +1299,17 @@ msgid "" "change using e.g. :func:`os.chown`." msgstr "" -#: howto/logging-cookbook.rst:2475 +#: howto/logging-cookbook.rst:2496 msgid "" "In practice, the handler-creating function may be in a utility module " "somewhere in your project. Instead of the line in the configuration::" msgstr "" -#: howto/logging-cookbook.rst:2480 +#: howto/logging-cookbook.rst:2501 msgid "you could use e.g.::" msgstr "" -#: howto/logging-cookbook.rst:2484 +#: howto/logging-cookbook.rst:2505 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://" @@ -1319,25 +1317,25 @@ msgid "" "resolved by :func:`dictConfig` from the ``ext://`` specification." msgstr "" -#: howto/logging-cookbook.rst:2489 +#: howto/logging-cookbook.rst:2510 msgid "" "This example hopefully also points the way to how you could implement other " "types of file change - e.g. setting specific POSIX permission bits - in the " "same way, using :func:`os.chmod`." msgstr "" -#: howto/logging-cookbook.rst:2493 +#: howto/logging-cookbook.rst:2514 msgid "" "Of course, the approach could also be extended to types of handler other " "than a :class:`~logging.FileHandler` - for example, one of the rotating file " "handlers, or a different type of handler altogether." msgstr "" -#: howto/logging-cookbook.rst:2503 +#: howto/logging-cookbook.rst:2524 msgid "Using particular formatting styles throughout your application" msgstr "" -#: howto/logging-cookbook.rst:2505 +#: howto/logging-cookbook.rst:2526 msgid "" "In Python 3.2, the :class:`~logging.Formatter` gained a ``style`` keyword " "parameter which, while defaulting to ``%`` for backward compatibility, " @@ -1348,7 +1346,7 @@ msgid "" "is constructed." msgstr "" -#: howto/logging-cookbook.rst:2512 +#: howto/logging-cookbook.rst:2533 msgid "" "Logging calls (:meth:`~Logger.debug`, :meth:`~Logger.info` etc.) only take " "positional parameters for the actual logging message itself, with keyword " @@ -1363,7 +1361,7 @@ msgid "" "calls which are out there in existing code will be using %-format strings." msgstr "" -#: howto/logging-cookbook.rst:2524 +#: howto/logging-cookbook.rst:2545 msgid "" "There have been suggestions to associate format styles with specific " "loggers, but that approach also runs into backward compatibility problems " @@ -1371,7 +1369,7 @@ msgid "" "formatting." msgstr "" -#: howto/logging-cookbook.rst:2528 +#: howto/logging-cookbook.rst:2549 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 " @@ -1379,11 +1377,11 @@ msgid "" "formatting styles can be accommodated." msgstr "" -#: howto/logging-cookbook.rst:2535 +#: howto/logging-cookbook.rst:2556 msgid "Using LogRecord factories" msgstr "" -#: howto/logging-cookbook.rst:2537 +#: howto/logging-cookbook.rst:2558 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 " @@ -1398,17 +1396,17 @@ msgid "" "implementation does." msgstr "" -#: howto/logging-cookbook.rst:2548 +#: howto/logging-cookbook.rst:2569 msgid "" "Refer to the reference documentation on :func:`setLogRecordFactory` and :" "class:`LogRecord` for more information." msgstr "" -#: howto/logging-cookbook.rst:2553 +#: howto/logging-cookbook.rst:2574 msgid "Using custom message objects" msgstr "" -#: howto/logging-cookbook.rst:2555 +#: howto/logging-cookbook.rst:2576 msgid "" "There is another, perhaps simpler way that you can use {}- and $- formatting " "to construct your individual log messages. You may recall (from :ref:" @@ -1418,7 +1416,7 @@ msgid "" "following two classes::" msgstr "" -#: howto/logging-cookbook.rst:2580 +#: howto/logging-cookbook.rst:2601 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 " @@ -1429,17 +1427,17 @@ msgid "" "using ``_`` for localization)." msgstr "" -#: howto/logging-cookbook.rst:2588 +#: howto/logging-cookbook.rst:2609 msgid "" "Examples of this approach are given below. Firstly, formatting with :meth:" "`str.format`::" msgstr "" -#: howto/logging-cookbook.rst:2602 +#: howto/logging-cookbook.rst:2623 msgid "Secondly, formatting with :class:`string.Template`::" msgstr "" -#: howto/logging-cookbook.rst:2609 +#: howto/logging-cookbook.rst:2630 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 " @@ -1451,11 +1449,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2623 +#: howto/logging-cookbook.rst:2644 msgid "Configuring filters with :func:`dictConfig`" msgstr "" -#: howto/logging-cookbook.rst:2625 +#: howto/logging-cookbook.rst:2646 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). " @@ -1470,22 +1468,22 @@ msgid "" "complete example::" msgstr "" -#: howto/logging-cookbook.rst:2678 +#: howto/logging-cookbook.rst:2699 msgid "" "This example shows how you can pass configuration data to the callable which " "constructs the instance, in the form of keyword parameters. When run, the " "above script will print:" msgstr "" -#: howto/logging-cookbook.rst:2686 +#: howto/logging-cookbook.rst:2707 msgid "which shows that the filter is working as configured." msgstr "" -#: howto/logging-cookbook.rst:2688 +#: howto/logging-cookbook.rst:2709 msgid "A couple of extra points to note:" msgstr "" -#: howto/logging-cookbook.rst:2690 +#: howto/logging-cookbook.rst:2711 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 " @@ -1495,7 +1493,7 @@ msgid "" "the above example." msgstr "" -#: howto/logging-cookbook.rst:2697 +#: howto/logging-cookbook.rst:2718 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 " @@ -1504,11 +1502,11 @@ msgid "" "above." msgstr "" -#: howto/logging-cookbook.rst:2706 +#: howto/logging-cookbook.rst:2727 msgid "Customized exception formatting" msgstr "" -#: howto/logging-cookbook.rst:2708 +#: howto/logging-cookbook.rst:2729 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, " @@ -1516,22 +1514,22 @@ msgid "" "formatter class, as shown in the following example::" msgstr "" -#: howto/logging-cookbook.rst:2749 +#: howto/logging-cookbook.rst:2770 msgid "When run, this produces a file with exactly two lines:" msgstr "" -#: howto/logging-cookbook.rst:2756 +#: howto/logging-cookbook.rst:2777 msgid "" "While the above treatment is simplistic, it points the way to how exception " "information can be formatted to your liking. The :mod:`traceback` module may " "be helpful for more specialized needs." msgstr "" -#: howto/logging-cookbook.rst:2763 +#: howto/logging-cookbook.rst:2784 msgid "Speaking logging messages" msgstr "" -#: howto/logging-cookbook.rst:2765 +#: howto/logging-cookbook.rst:2786 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 " @@ -1548,24 +1546,24 @@ msgid "" "approach, which assumes that the ``espeak`` TTS package is available::" msgstr "" -#: howto/logging-cookbook.rst:2807 +#: howto/logging-cookbook.rst:2828 msgid "" "When run, this script should say \"Hello\" and then \"Goodbye\" in a female " "voice." msgstr "" -#: howto/logging-cookbook.rst:2809 +#: howto/logging-cookbook.rst:2830 msgid "" "The above approach can, of course, be adapted to other TTS systems and even " "other systems altogether which can process messages via external programs " "run from a command line." msgstr "" -#: howto/logging-cookbook.rst:2817 +#: howto/logging-cookbook.rst:2838 msgid "Buffering logging messages and outputting them conditionally" msgstr "" -#: howto/logging-cookbook.rst:2819 +#: howto/logging-cookbook.rst:2840 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 " @@ -1575,7 +1573,7 @@ msgid "" "debug information to be output as well as the error." msgstr "" -#: howto/logging-cookbook.rst:2826 +#: howto/logging-cookbook.rst:2847 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 " @@ -1588,7 +1586,7 @@ msgid "" "subclass of ``MemoryHandler`` if you want custom flushing behavior." msgstr "" -#: howto/logging-cookbook.rst:2836 +#: howto/logging-cookbook.rst:2857 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 " @@ -1597,7 +1595,7 @@ msgid "" "levels - otherwise, it only logs at DEBUG, INFO and WARNING levels." msgstr "" -#: howto/logging-cookbook.rst:2842 +#: howto/logging-cookbook.rst:2863 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 " @@ -1609,30 +1607,30 @@ msgid "" "respectively." msgstr "" -#: howto/logging-cookbook.rst:2850 +#: howto/logging-cookbook.rst:2871 msgid "Here's the script::" msgstr "" -#: howto/logging-cookbook.rst:2913 +#: howto/logging-cookbook.rst:2934 msgid "When this script is run, the following output should be observed:" msgstr "" -#: howto/logging-cookbook.rst:2943 +#: howto/logging-cookbook.rst:2964 msgid "" "As you can see, actual logging output only occurs when an event is logged " "whose severity is ERROR or greater, but in that case, any previous events at " "lower severities are also logged." msgstr "" -#: howto/logging-cookbook.rst:2947 +#: howto/logging-cookbook.rst:2968 msgid "You can of course use the conventional means of decoration::" msgstr "" -#: howto/logging-cookbook.rst:2957 +#: howto/logging-cookbook.rst:2978 msgid "Sending logging messages to email, with buffering" msgstr "" -#: howto/logging-cookbook.rst:2959 +#: howto/logging-cookbook.rst:2980 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." @@ -1643,7 +1641,7 @@ msgid "" "argument to see the required and optional arguments.)" msgstr "" -#: howto/logging-cookbook.rst:3031 +#: howto/logging-cookbook.rst:3052 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 " @@ -1651,17 +1649,17 @@ msgid "" "messages. That makes up 102 messages as specified in the script." msgstr "" -#: howto/logging-cookbook.rst:3039 +#: howto/logging-cookbook.rst:3060 msgid "Formatting times using UTC (GMT) via configuration" msgstr "" -#: howto/logging-cookbook.rst:3041 +#: howto/logging-cookbook.rst:3062 msgid "" "Sometimes you want to format times using UTC, which can be done using a " "class such as ``UTCFormatter``, shown below::" msgstr "" -#: howto/logging-cookbook.rst:3050 +#: howto/logging-cookbook.rst:3071 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 " @@ -1669,21 +1667,21 @@ msgid "" "the following complete example::" msgstr "" -#: howto/logging-cookbook.rst:3093 +#: howto/logging-cookbook.rst:3114 msgid "When this script is run, it should print something like:" msgstr "" -#: howto/logging-cookbook.rst:3100 +#: howto/logging-cookbook.rst:3121 msgid "" "showing how the time is formatted both as local time and UTC, one for each " "handler." msgstr "" -#: howto/logging-cookbook.rst:3107 +#: howto/logging-cookbook.rst:3128 msgid "Using a context manager for selective logging" msgstr "" -#: howto/logging-cookbook.rst:3109 +#: howto/logging-cookbook.rst:3130 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 " @@ -1693,7 +1691,7 @@ msgid "" "scope of the context manager::" msgstr "" -#: howto/logging-cookbook.rst:3142 +#: howto/logging-cookbook.rst:3163 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 " @@ -1702,13 +1700,13 @@ msgid "" "block exit - you could do this if you don't need the handler any more." msgstr "" -#: howto/logging-cookbook.rst:3148 +#: howto/logging-cookbook.rst:3169 msgid "" "To illustrate how it works, we can add the following block of code to the " "above::" msgstr "" -#: howto/logging-cookbook.rst:3166 +#: howto/logging-cookbook.rst:3187 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 " @@ -1721,56 +1719,56 @@ msgid "" "(like message #1) whereas message #7 doesn't (just like message #2)." msgstr "" -#: howto/logging-cookbook.rst:3176 +#: howto/logging-cookbook.rst:3197 msgid "If we run the resulting script, the result is as follows:" msgstr "" -#: howto/logging-cookbook.rst:3187 +#: howto/logging-cookbook.rst:3208 msgid "" "If we run it again, but pipe ``stderr`` to ``/dev/null``, we see the " "following, which is the only message written to ``stdout``:" msgstr "" -#: howto/logging-cookbook.rst:3195 +#: howto/logging-cookbook.rst:3216 msgid "Once again, but piping ``stdout`` to ``/dev/null``, we get:" msgstr "" -#: howto/logging-cookbook.rst:3205 +#: howto/logging-cookbook.rst:3226 msgid "" "In this case, the message #5 printed to ``stdout`` doesn't appear, as " "expected." msgstr "" -#: howto/logging-cookbook.rst:3207 +#: howto/logging-cookbook.rst:3228 msgid "" "Of course, the approach described here can be generalised, for example to " "attach logging filters temporarily. Note that the above code works in Python " "2 as well as Python 3." msgstr "" -#: howto/logging-cookbook.rst:3215 +#: howto/logging-cookbook.rst:3236 msgid "A CLI application starter template" msgstr "" -#: howto/logging-cookbook.rst:3217 +#: howto/logging-cookbook.rst:3238 msgid "Here's an example which shows how you can:" msgstr "" -#: howto/logging-cookbook.rst:3219 +#: howto/logging-cookbook.rst:3240 msgid "Use a logging level based on command-line arguments" msgstr "" -#: howto/logging-cookbook.rst:3220 +#: howto/logging-cookbook.rst:3241 msgid "" "Dispatch to multiple subcommands in separate files, all logging at the same " "level in a consistent way" msgstr "" -#: howto/logging-cookbook.rst:3222 +#: howto/logging-cookbook.rst:3243 msgid "Make use of simple, minimal configuration" msgstr "" -#: howto/logging-cookbook.rst:3224 +#: howto/logging-cookbook.rst:3245 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 " @@ -1781,53 +1779,53 @@ msgid "" "``logging.INFO``. Here's one way that ``app.py`` could be written::" msgstr "" -#: howto/logging-cookbook.rst:3273 +#: howto/logging-cookbook.rst:3294 msgid "" "And the ``start``, ``stop`` and ``restart`` commands can be implemented in " "separate modules, like so for starting::" msgstr "" -#: howto/logging-cookbook.rst:3286 +#: howto/logging-cookbook.rst:3307 msgid "and thus for stopping::" msgstr "" -#: howto/logging-cookbook.rst:3307 +#: howto/logging-cookbook.rst:3328 msgid "and similarly for restarting::" msgstr "" -#: howto/logging-cookbook.rst:3328 +#: howto/logging-cookbook.rst:3349 msgid "" "If we run this application with the default log level, we get output like " "this:" msgstr "" -#: howto/logging-cookbook.rst:3341 +#: howto/logging-cookbook.rst:3362 msgid "" "The first word is the logging level, and the second word is the module or " "package name of the place where the event was logged." msgstr "" -#: howto/logging-cookbook.rst:3344 +#: howto/logging-cookbook.rst:3365 msgid "" "If we change the logging level, then we can change the information sent to " "the log. For example, if we want more information:" msgstr "" -#: howto/logging-cookbook.rst:3361 +#: howto/logging-cookbook.rst:3382 msgid "And if we want less:" msgstr "" -#: howto/logging-cookbook.rst:3369 +#: howto/logging-cookbook.rst:3390 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:3375 +#: howto/logging-cookbook.rst:3396 msgid "A Qt GUI for logging" msgstr "" -#: howto/logging-cookbook.rst:3377 +#: howto/logging-cookbook.rst:3398 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-" @@ -1835,7 +1833,7 @@ msgid "" "project/PySide2/>`_ or `PyQt5 `_ libraries." msgstr "" -#: howto/logging-cookbook.rst:3383 +#: howto/logging-cookbook.rst:3404 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 " @@ -1845,14 +1843,14 @@ msgid "" "logging messages at random levels with random short delays in between)." msgstr "" -#: howto/logging-cookbook.rst:3390 +#: howto/logging-cookbook.rst:3411 msgid "" "The worker thread is implemented using Qt's ``QThread`` class rather than " "the :mod:`threading` module, as there are circumstances where one has to use " "``QThread``, which offers better integration with other ``Qt`` components." msgstr "" -#: howto/logging-cookbook.rst:3394 +#: howto/logging-cookbook.rst:3415 msgid "" "The code should work with recent releases of either ``PySide2`` or " "``PyQt5``. You should be able to adapt the approach to earlier versions of " @@ -1860,11 +1858,11 @@ msgid "" "information." msgstr "" -#: howto/logging-cookbook.rst:3608 +#: howto/logging-cookbook.rst:3629 msgid "Logging to syslog with RFC5424 support" msgstr "" -#: howto/logging-cookbook.rst:3610 +#: howto/logging-cookbook.rst:3631 msgid "" "Although :rfc:`5424` dates from 2009, most syslog servers are configured by " "detault to use the older :rfc:`3164`, which hails from 2001. When " @@ -1874,14 +1872,14 @@ msgid "" "handlers.SysLogHandler` functionality has not been updated." msgstr "" -#: howto/logging-cookbook.rst:3617 +#: howto/logging-cookbook.rst:3638 msgid "" "RFC 5424 contains some useful features such as support for structured data, " "and if you need to be able to log to a syslog server with support for it, " "you can do so with a subclassed handler which looks something like this::" msgstr "" -#: howto/logging-cookbook.rst:3683 +#: howto/logging-cookbook.rst:3704 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 " @@ -1890,11 +1888,11 @@ msgid "" "using something like this::" msgstr "" -#: howto/logging-cookbook.rst:3697 +#: howto/logging-cookbook.rst:3718 msgid "How to treat a logger like an output stream" msgstr "" -#: howto/logging-cookbook.rst:3699 +#: howto/logging-cookbook.rst:3720 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 " @@ -1902,17 +1900,17 @@ msgid "" "API. Here's a short script illustrating such a class:" msgstr "" -#: howto/logging-cookbook.rst:3739 +#: howto/logging-cookbook.rst:3760 msgid "When this script is run, it prints" msgstr "" -#: howto/logging-cookbook.rst:3746 +#: howto/logging-cookbook.rst:3767 msgid "" "You could also use ``LoggerWriter`` to redirect ``sys.stdout`` and ``sys." "stderr`` by doing something like this:" msgstr "" -#: howto/logging-cookbook.rst:3756 +#: howto/logging-cookbook.rst:3777 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." @@ -1920,25 +1918,25 @@ msgid "" "Then, you'd get this kind of result:" msgstr "" -#: howto/logging-cookbook.rst:3769 +#: howto/logging-cookbook.rst:3790 msgid "" "Of course, the examples above show output according to the format used by :" "func:`~logging.basicConfig`, but you can use a different formatter when you " "configure logging." msgstr "" -#: howto/logging-cookbook.rst:3773 +#: howto/logging-cookbook.rst:3794 msgid "" "Note that with the above scheme, you are somewhat at the mercy of buffering " "and the sequence of write calls which you are intercepting. For example, " "with the definition of ``LoggerWriter`` above, if you have the snippet" msgstr "" -#: howto/logging-cookbook.rst:3782 +#: howto/logging-cookbook.rst:3803 msgid "then running the script results in" msgstr "" -#: howto/logging-cookbook.rst:3800 +#: howto/logging-cookbook.rst:3821 msgid "" "As you can see, this output isn't ideal. That's because the underlying code " "which writes to ``sys.stderr`` makes mutiple writes, each of which results " @@ -1948,17 +1946,17 @@ msgid "" "``LoggerWriter``:" msgstr "" -#: howto/logging-cookbook.rst:3825 +#: howto/logging-cookbook.rst:3846 msgid "" "This just buffers up stuff until a newline is seen, and then logs complete " "lines. With this approach, you get better output:" msgstr "" -#: howto/logging-cookbook.rst:3841 +#: howto/logging-cookbook.rst:3862 msgid "Patterns to avoid" msgstr "" -#: howto/logging-cookbook.rst:3843 +#: howto/logging-cookbook.rst:3864 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 " @@ -1966,11 +1964,11 @@ msgid "" "The following sections are in no particular order." msgstr "" -#: howto/logging-cookbook.rst:3849 +#: howto/logging-cookbook.rst:3870 msgid "Opening the same log file multiple times" msgstr "" -#: howto/logging-cookbook.rst:3851 +#: howto/logging-cookbook.rst:3872 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. " @@ -1978,32 +1976,32 @@ msgid "" "file multiple times. This could be done accidentally, for example by:" msgstr "" -#: howto/logging-cookbook.rst:3856 +#: howto/logging-cookbook.rst:3877 msgid "" "Adding a file handler more than once which references the same file (e.g. by " "a copy/paste/forget-to-change error)." msgstr "" -#: howto/logging-cookbook.rst:3859 +#: howto/logging-cookbook.rst:3880 msgid "" "Opening two files that look different, as they have different names, but are " "the same because one is a symbolic link to the other." msgstr "" -#: howto/logging-cookbook.rst:3862 +#: howto/logging-cookbook.rst:3883 msgid "" "Forking a process, following which both parent and child have a reference to " "the same file. This might be through use of the :mod:`multiprocessing` " "module, for example." msgstr "" -#: howto/logging-cookbook.rst:3866 +#: howto/logging-cookbook.rst:3887 msgid "" "Opening a file multiple times might *appear* to work most of the time, but " "can lead to a number of problems in practice:" msgstr "" -#: howto/logging-cookbook.rst:3869 +#: howto/logging-cookbook.rst:3890 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 " @@ -2012,7 +2010,7 @@ msgid "" "different handler instances which happen to point to the same file." msgstr "" -#: howto/logging-cookbook.rst:3875 +#: howto/logging-cookbook.rst:3896 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 " @@ -2022,17 +2020,17 @@ msgid "" "being supposedly in place." msgstr "" -#: howto/logging-cookbook.rst:3882 +#: howto/logging-cookbook.rst:3903 msgid "" "Use the techniques outlined in :ref:`multiple-processes` to circumvent such " "issues." msgstr "" -#: howto/logging-cookbook.rst:3886 +#: howto/logging-cookbook.rst:3907 msgid "Using loggers as attributes in a class or passing them as parameters" msgstr "" -#: howto/logging-cookbook.rst:3888 +#: howto/logging-cookbook.rst:3909 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 " @@ -2043,12 +2041,12 @@ msgid "" "module (and not the class) is the unit of software decomposition." msgstr "" -#: howto/logging-cookbook.rst:3897 +#: howto/logging-cookbook.rst:3918 msgid "" "Adding handlers other than :class:`NullHandler` to a logger in a library" msgstr "" -#: howto/logging-cookbook.rst:3899 +#: howto/logging-cookbook.rst:3920 msgid "" "Configuring logging by adding handlers, formatters and filters is the " "responsibility of the application developer, not the library developer. If " @@ -2056,11 +2054,11 @@ msgid "" "your loggers other than a :class:`~logging.NullHandler` instance." msgstr "" -#: howto/logging-cookbook.rst:3905 +#: howto/logging-cookbook.rst:3926 msgid "Creating a lot of loggers" msgstr "" -#: howto/logging-cookbook.rst:3907 +#: howto/logging-cookbook.rst:3928 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. " @@ -2071,14 +2069,14 @@ msgid "" "occasionally slightly more fine-grained than that)." msgstr "" -#: howto/logging-cookbook.rst:3918 +#: howto/logging-cookbook.rst:3939 msgid "Other resources" msgstr "" -#: howto/logging-cookbook.rst:3931 +#: howto/logging-cookbook.rst:3952 msgid ":ref:`Basic Tutorial `" msgstr "" -#: howto/logging-cookbook.rst:3933 +#: howto/logging-cookbook.rst:3954 msgid ":ref:`Advanced Tutorial `" msgstr "" diff --git a/howto/pyporting.po b/howto/pyporting.po index bd8581b81..347be7a88 100644 --- a/howto/pyporting.po +++ b/howto/pyporting.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Brett Cannon" msgstr "" -#: howto/pyporting.rst:None +#: howto/pyporting.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/regex.po b/howto/regex.po index 3cd5c5800..4cb4c6dab 100644 --- a/howto/regex.po +++ b/howto/regex.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "A.M. Kuchling " msgstr "" -#: howto/regex.rst:None +#: howto/regex.rst:-1 msgid "Abstract" msgstr "" diff --git a/howto/sockets.po b/howto/sockets.po index dcf53eb1e..777e5a040 100644 --- a/howto/sockets.po +++ b/howto/sockets.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgstr "" msgid "Gordon McMillan" msgstr "" -#: howto/sockets.rst:None +#: howto/sockets.rst:-1 msgid "Abstract" msgstr "" diff --git a/includes/wasm-notavail.po b/includes/wasm-notavail.po index 077c587da..ada07c297 100644 --- a/includes/wasm-notavail.po +++ b/includes/wasm-notavail.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,7 +16,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/_thread.po b/library/_thread.po index 107ee2497..c59d9d6b6 100644 --- a/library/_thread.po +++ b/library/_thread.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -163,7 +163,7 @@ msgid "" "information)." msgstr "" -#: library/_thread.rst:None +#: library/_thread.rst:-1 msgid ":ref:`Availability `: Windows, pthreads." msgstr "" diff --git a/library/argparse.po b/library/argparse.po index d7b0b1122..902986ab0 100644 --- a/library/argparse.po +++ b/library/argparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/argparse.py`" msgstr "" -#: library/argparse.rst:None +#: library/argparse.rst:-1 msgid "Tutorial" msgstr "" @@ -752,7 +752,7 @@ msgid "" msgstr "" #: library/argparse.rst:758 -msgid "choices_ - A container of the allowable values for the argument." +msgid "choices_ - A sequence of the allowable values for the argument." msgstr "" #: library/argparse.rst:760 @@ -1132,7 +1132,7 @@ msgstr "" #: library/argparse.rst:1201 msgid "" "Some command-line arguments should be selected from a restricted set of " -"values. These can be handled by passing a container object as the *choices* " +"values. These can be handled by passing a sequence object as the *choices* " "keyword argument to :meth:`~ArgumentParser.add_argument`. When the command " "line is parsed, argument values will be checked, and an error message will " "be displayed if the argument was not one of the acceptable values::" @@ -1140,15 +1140,15 @@ msgstr "" #: library/argparse.rst:1216 msgid "" -"Note that inclusion in the *choices* container is checked after any type_ " +"Note that inclusion in the *choices* sequence is checked after any type_ " "conversions have been performed, so the type of the objects in the *choices* " -"container should match the type_ specified::" +"sequence should match the type_ specified::" msgstr "" #: library/argparse.rst:1228 msgid "" -"Any container can be passed as the *choices* value, so :class:`list` " -"objects, :class:`set` objects, and custom containers are all supported." +"Any sequence can be passed as the *choices* value, so :class:`list` " +"objects, :class:`tuple` objects, and custom sequences are all supported." msgstr "" #: library/argparse.rst:1231 diff --git a/library/array.po b/library/array.po index 25e3849b1..cf944e3b1 100644 --- a/library/array.po +++ b/library/array.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -206,17 +206,25 @@ msgid "" msgstr "" #: library/array.rst:65 -msgid "The module defines the following type:" +msgid "The module defines the following item:" msgstr "" #: library/array.rst:70 +msgid "A string with all available type codes." +msgstr "" + +#: library/array.rst:73 +msgid "The module defines the following type:" +msgstr "" + +#: library/array.rst:78 msgid "" "A new array whose items are restricted by *typecode*, and initialized from " "the optional *initializer* value, which must be a list, a :term:`bytes-like " "object`, or iterable over elements of the appropriate type." msgstr "" -#: library/array.rst:75 +#: library/array.rst:83 msgid "" "If given a list or string, the initializer is passed to the new array's :" "meth:`fromlist`, :meth:`frombytes`, or :meth:`fromunicode` method (see " @@ -224,17 +232,13 @@ msgid "" "initializer is passed to the :meth:`extend` method." msgstr "" -#: library/array.rst:80 +#: library/array.rst:11 msgid "" "Raises an :ref:`auditing event ` ``array.__new__`` with arguments " "``typecode``, ``initializer``." msgstr "" -#: library/array.rst:84 -msgid "A string with all available type codes." -msgstr "" - -#: library/array.rst:86 +#: library/array.rst:91 msgid "" "Array objects support the ordinary sequence operations of indexing, slicing, " "concatenation, and multiplication. When using slice assignment, the " @@ -244,23 +248,23 @@ msgid "" "object>` are supported." msgstr "" -#: library/array.rst:92 +#: library/array.rst:97 msgid "The following data items and methods are also supported:" msgstr "" -#: library/array.rst:96 +#: library/array.rst:101 msgid "The typecode character used to create the array." msgstr "" -#: library/array.rst:101 +#: library/array.rst:106 msgid "The length in bytes of one array item in the internal representation." msgstr "" -#: library/array.rst:106 +#: library/array.rst:111 msgid "Append a new item with value *x* to the end of the array." msgstr "" -#: library/array.rst:111 +#: library/array.rst:116 msgid "" "Return a tuple ``(address, length)`` giving the current memory address and " "the length in elements of the buffer used to hold array's contents. The " @@ -272,7 +276,7 @@ msgid "" "it." msgstr "" -#: library/array.rst:121 +#: library/array.rst:126 msgid "" "When using array objects from code written in C or C++ (the only way to " "effectively make use of this information), it makes more sense to use the " @@ -281,7 +285,7 @@ msgid "" "interface is documented in :ref:`bufferobjects`." msgstr "" -#: library/array.rst:130 +#: library/array.rst:135 msgid "" "\"Byteswap\" all items of the array. This is only supported for values " "which are 1, 2, 4, or 8 bytes in size; for other types of values, :exc:" @@ -289,11 +293,11 @@ msgid "" "written on a machine with a different byte order." msgstr "" -#: library/array.rst:138 +#: library/array.rst:143 msgid "Return the number of occurrences of *x* in the array." msgstr "" -#: library/array.rst:143 +#: library/array.rst:148 msgid "" "Append items from *iterable* to the end of the array. If *iterable* is " "another array, it must have *exactly* the same type code; if not, :exc:" @@ -301,18 +305,18 @@ msgid "" "iterable and its elements must be the right type to be appended to the array." msgstr "" -#: library/array.rst:151 +#: library/array.rst:156 msgid "" "Appends items from the string, interpreting the string as an array of " "machine values (as if it had been read from a file using the :meth:" "`fromfile` method)." msgstr "" -#: library/array.rst:154 +#: library/array.rst:159 msgid ":meth:`fromstring` is renamed to :meth:`frombytes` for clarity." msgstr "" -#: library/array.rst:160 +#: library/array.rst:165 msgid "" "Read *n* items (as machine values) from the :term:`file object` *f* and " "append them to the end of the array. If less than *n* items are available, :" @@ -320,13 +324,13 @@ msgid "" "inserted into the array." msgstr "" -#: library/array.rst:168 +#: library/array.rst:173 msgid "" "Append items from the list. This is equivalent to ``for x in list: a." "append(x)`` except that if there is a type error, the array is unchanged." msgstr "" -#: library/array.rst:174 +#: library/array.rst:179 msgid "" "Extends this array with data from the given unicode string. The array must " "be a type ``'u'`` array; otherwise a :exc:`ValueError` is raised. Use " @@ -334,7 +338,7 @@ msgid "" "array of some other type." msgstr "" -#: library/array.rst:182 +#: library/array.rst:187 msgid "" "Return the smallest *i* such that *i* is the index of the first occurrence " "of *x* in the array. The optional arguments *start* and *stop* can be " @@ -342,58 +346,58 @@ msgid "" "`ValueError` if *x* is not found." msgstr "" -#: library/array.rst:187 +#: library/array.rst:192 msgid "Added optional *start* and *stop* parameters." msgstr "" -#: library/array.rst:192 +#: library/array.rst:197 msgid "" "Insert a new item with value *x* in the array before position *i*. Negative " "values are treated as being relative to the end of the array." msgstr "" -#: library/array.rst:198 +#: library/array.rst:203 msgid "" "Removes the item with the index *i* from the array and returns it. The " "optional argument defaults to ``-1``, so that by default the last item is " "removed and returned." msgstr "" -#: library/array.rst:205 +#: library/array.rst:210 msgid "Remove the first occurrence of *x* from the array." msgstr "" -#: library/array.rst:210 +#: library/array.rst:215 msgid "Reverse the order of the items in the array." msgstr "" -#: library/array.rst:215 +#: library/array.rst:220 msgid "" "Convert the array to an array of machine values and return the bytes " "representation (the same sequence of bytes that would be written to a file " "by the :meth:`tofile` method.)" msgstr "" -#: library/array.rst:219 +#: library/array.rst:224 msgid ":meth:`tostring` is renamed to :meth:`tobytes` for clarity." msgstr "" -#: library/array.rst:225 +#: library/array.rst:230 msgid "Write all items (as machine values) to the :term:`file object` *f*." msgstr "" -#: library/array.rst:230 +#: library/array.rst:235 msgid "Convert the array to an ordinary list with the same items." msgstr "" -#: library/array.rst:235 +#: library/array.rst:240 msgid "" "Convert the array to a unicode string. The array must be a type ``'u'`` " "array; otherwise a :exc:`ValueError` is raised. Use ``array.tobytes()." "decode(enc)`` to obtain a unicode string from an array of some other type." msgstr "" -#: library/array.rst:240 +#: library/array.rst:245 msgid "" "When an array object is printed or converted to a string, it is represented " "as ``array(typecode, initializer)``. The *initializer* is omitted if the " @@ -404,28 +408,28 @@ msgid "" "``from array import array``. Examples::" msgstr "" -#: library/array.rst:257 +#: library/array.rst:262 msgid "Module :mod:`struct`" msgstr "" -#: library/array.rst:257 +#: library/array.rst:262 msgid "Packing and unpacking of heterogeneous binary data." msgstr "" -#: library/array.rst:261 +#: library/array.rst:266 msgid "Module :mod:`xdrlib`" msgstr "" -#: library/array.rst:260 +#: library/array.rst:265 msgid "" "Packing and unpacking of External Data Representation (XDR) data as used in " "some remote procedure call systems." msgstr "" -#: library/array.rst:263 +#: library/array.rst:268 msgid "`NumPy `_" msgstr "" -#: library/array.rst:264 +#: library/array.rst:269 msgid "The NumPy package defines another array type." msgstr "" diff --git a/library/asynchat.po b/library/asynchat.po index 3436e87eb..6eddeef7f 100644 --- a/library/asynchat.po +++ b/library/asynchat.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,7 +51,7 @@ msgid "" "connection requests." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/asyncio-eventloop.po b/library/asyncio-eventloop.po index 670abf1bd..90942d2ae 100644 --- a/library/asyncio-eventloop.po +++ b/library/asyncio-eventloop.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -81,7 +81,7 @@ msgstr "" #: library/asyncio-eventloop.rst:50 msgid "" "If there is no running event loop set, the function will return the result " -"of ``get_event_loop_policy().get_event_loop()`` call." +"of the ``get_event_loop_policy().get_event_loop()`` call." msgstr "" #: library/asyncio-eventloop.rst:53 @@ -98,17 +98,14 @@ msgid "" "and close an event loop." msgstr "" -#: library/asyncio-eventloop.rst:62 -msgid "" -"Deprecation warning is emitted if there is no current event loop. In Python " -"3.12 it will be an error." -msgstr "" - -#: library/asyncio-eventloop.rst:67 +#: library/asyncio-eventloop.rst:63 msgid "" "In Python versions 3.10.0--3.10.8 and 3.11.0 this function (and other " -"functions which used it implicitly) emitted a :exc:`DeprecationWarning` if " -"there was no running event loop, even if the current loop was set." +"functions which use it implicitly) emitted a :exc:`DeprecationWarning` if " +"there was no running event loop, even if the current loop was set on the " +"policy. In Python versions 3.10.9, 3.11.1 and 3.12 they emit a :exc:" +"`DeprecationWarning` if there is no running event loop and no current loop " +"is set. In some future Python release this will become an error." msgstr "" #: library/asyncio-eventloop.rst:74 diff --git a/library/asyncio-policy.po b/library/asyncio-policy.po index 9b759b96f..b64b0b10d 100644 --- a/library/asyncio-policy.po +++ b/library/asyncio-policy.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -143,47 +143,48 @@ msgstr "" msgid "On Windows, :class:`ProactorEventLoop` is now used by default." msgstr "" -#: library/asyncio-policy.rst:115 +#: library/asyncio-policy.rst:116 msgid "" -":meth:`get_event_loop` now emits a :exc:`DeprecationWarning` if there is no " -"current event loop set and a new event loop has been implicitly created. In " -"Python 3.12 it will be an error." +"In Python versions 3.10.9, 3.11.1 and 3.12 the :meth:`get_event_loop` method " +"of the default asyncio policy emits a :exc:`DeprecationWarning` if there is " +"no running event loop and no current loop is set. In some future Python " +"release this will become an error." msgstr "" -#: library/asyncio-policy.rst:123 +#: library/asyncio-policy.rst:124 msgid "" "An alternative event loop policy that uses the :class:`SelectorEventLoop` " "event loop implementation." msgstr "" -#: library/asyncio-policy.rst:134 +#: library/asyncio-policy.rst:135 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/asyncio-policy.rst:131 +#: library/asyncio-policy.rst:132 msgid "" "An alternative event loop policy that uses the :class:`ProactorEventLoop` " "event loop implementation." msgstr "" -#: library/asyncio-policy.rst:140 +#: library/asyncio-policy.rst:141 msgid "Process Watchers" msgstr "" -#: library/asyncio-policy.rst:142 +#: library/asyncio-policy.rst:143 msgid "" "A process watcher allows customization of how an event loop monitors child " "processes on Unix. Specifically, the event loop needs to know when a child " "process has exited." msgstr "" -#: library/asyncio-policy.rst:146 +#: library/asyncio-policy.rst:147 msgid "" "In asyncio, child processes are created with :func:`create_subprocess_exec` " "and :meth:`loop.subprocess_exec` functions." msgstr "" -#: library/asyncio-policy.rst:150 +#: library/asyncio-policy.rst:151 msgid "" "asyncio defines the :class:`AbstractChildWatcher` abstract base class, which " "child watchers should implement, and has four different implementations: :" @@ -192,176 +193,176 @@ msgid "" "`FastChildWatcher`." msgstr "" -#: library/asyncio-policy.rst:156 +#: library/asyncio-policy.rst:157 msgid "" "See also the :ref:`Subprocess and Threads ` " "section." msgstr "" -#: library/asyncio-policy.rst:159 +#: library/asyncio-policy.rst:160 msgid "" "The following two functions can be used to customize the child process " "watcher implementation used by the asyncio event loop:" msgstr "" -#: library/asyncio-policy.rst:164 +#: library/asyncio-policy.rst:165 msgid "Return the current child watcher for the current policy." msgstr "" -#: library/asyncio-policy.rst:168 +#: library/asyncio-policy.rst:169 msgid "" "Set the current child watcher to *watcher* for the current policy. " "*watcher* must implement methods defined in the :class:" "`AbstractChildWatcher` base class." msgstr "" -#: library/asyncio-policy.rst:173 +#: library/asyncio-policy.rst:174 msgid "" "Third-party event loops implementations might not support custom child " "watchers. For such event loops, using :func:`set_child_watcher` might be " "prohibited or have no effect." msgstr "" -#: library/asyncio-policy.rst:181 +#: library/asyncio-policy.rst:182 msgid "Register a new child handler." msgstr "" -#: library/asyncio-policy.rst:183 +#: library/asyncio-policy.rst:184 msgid "" "Arrange for ``callback(pid, returncode, *args)`` to be called when a process " "with PID equal to *pid* terminates. Specifying another callback for the " "same process replaces the previous handler." msgstr "" -#: library/asyncio-policy.rst:188 +#: library/asyncio-policy.rst:189 msgid "The *callback* callable must be thread-safe." msgstr "" -#: library/asyncio-policy.rst:192 +#: library/asyncio-policy.rst:193 msgid "Removes the handler for process with PID equal to *pid*." msgstr "" -#: library/asyncio-policy.rst:194 +#: library/asyncio-policy.rst:195 msgid "" "The function returns ``True`` if the handler was successfully removed, " "``False`` if there was nothing to remove." msgstr "" -#: library/asyncio-policy.rst:199 +#: library/asyncio-policy.rst:200 msgid "Attach the watcher to an event loop." msgstr "" -#: library/asyncio-policy.rst:201 +#: library/asyncio-policy.rst:202 msgid "" "If the watcher was previously attached to an event loop, then it is first " "detached before attaching to the new loop." msgstr "" -#: library/asyncio-policy.rst:204 +#: library/asyncio-policy.rst:205 msgid "Note: loop may be ``None``." msgstr "" -#: library/asyncio-policy.rst:208 +#: library/asyncio-policy.rst:209 msgid "Return ``True`` if the watcher is ready to use." msgstr "" -#: library/asyncio-policy.rst:210 +#: library/asyncio-policy.rst:211 msgid "" "Spawning a subprocess with *inactive* current child watcher raises :exc:" "`RuntimeError`." msgstr "" -#: library/asyncio-policy.rst:217 +#: library/asyncio-policy.rst:218 msgid "Close the watcher." msgstr "" -#: library/asyncio-policy.rst:219 +#: library/asyncio-policy.rst:220 msgid "" "This method has to be called to ensure that underlying resources are cleaned-" "up." msgstr "" -#: library/asyncio-policy.rst:224 +#: library/asyncio-policy.rst:225 msgid "" "This implementation starts a new waiting thread for every subprocess spawn." msgstr "" -#: library/asyncio-policy.rst:226 +#: library/asyncio-policy.rst:227 msgid "" "It works reliably even when the asyncio event loop is run in a non-main OS " "thread." msgstr "" -#: library/asyncio-policy.rst:228 +#: library/asyncio-policy.rst:229 msgid "" "There is no noticeable overhead when handling a big number of children " "(*O(1)* each time a child terminates), but starting a thread per process " "requires extra memory." msgstr "" -#: library/asyncio-policy.rst:231 +#: library/asyncio-policy.rst:232 msgid "This watcher is used by default." msgstr "" -#: library/asyncio-policy.rst:237 +#: library/asyncio-policy.rst:238 msgid "" "This implementation registers a :py:data:`SIGCHLD` signal handler on " "instantiation. That can break third-party code that installs a custom " "handler for :py:data:`SIGCHLD` signal." msgstr "" -#: library/asyncio-policy.rst:259 +#: library/asyncio-policy.rst:260 msgid "" "The watcher avoids disrupting other code spawning processes by polling every " "process explicitly on a :py:data:`SIGCHLD` signal." msgstr "" -#: library/asyncio-policy.rst:244 +#: library/asyncio-policy.rst:245 msgid "" "There is no limitation for running subprocesses from different threads once " "the watcher is installed." msgstr "" -#: library/asyncio-policy.rst:247 +#: library/asyncio-policy.rst:248 msgid "" "The solution is safe but it has a significant overhead when handling a big " "number of processes (*O(n)* each time a :py:data:`SIGCHLD` is received)." msgstr "" -#: library/asyncio-policy.rst:255 +#: library/asyncio-policy.rst:256 msgid "" "This implementation uses active event loop from the main thread to handle :" "py:data:`SIGCHLD` signal. If the main thread has no running event loop " "another thread cannot spawn a subprocess (:exc:`RuntimeError` is raised)." msgstr "" -#: library/asyncio-policy.rst:262 +#: library/asyncio-policy.rst:263 msgid "" "This solution is as safe as :class:`MultiLoopChildWatcher` and has the same " "*O(N)* complexity but requires a running event loop in the main thread to " "work." msgstr "" -#: library/asyncio-policy.rst:267 +#: library/asyncio-policy.rst:268 msgid "" "This implementation reaps every terminated processes by calling ``os." "waitpid(-1)`` directly, possibly breaking other code spawning processes and " "waiting for their termination." msgstr "" -#: library/asyncio-policy.rst:271 +#: library/asyncio-policy.rst:272 msgid "" "There is no noticeable overhead when handling a big number of children " "(*O(1)* each time a child terminates)." msgstr "" -#: library/asyncio-policy.rst:274 +#: library/asyncio-policy.rst:275 msgid "" "This solution requires a running event loop in the main thread to work, as :" "class:`SafeChildWatcher`." msgstr "" -#: library/asyncio-policy.rst:279 +#: library/asyncio-policy.rst:280 msgid "" "This implementation polls process file descriptors (pidfds) to await child " "process termination. In some respects, :class:`PidfdChildWatcher` is a " @@ -372,11 +373,11 @@ msgid "" "only work on recent (5.3+) kernels." msgstr "" -#: library/asyncio-policy.rst:293 +#: library/asyncio-policy.rst:294 msgid "Custom Policies" msgstr "" -#: library/asyncio-policy.rst:295 +#: library/asyncio-policy.rst:296 msgid "" "To implement a new event loop policy, it is recommended to subclass :class:" "`DefaultEventLoopPolicy` and override the methods for which custom behavior " diff --git a/library/asyncio.po b/library/asyncio.po index a33b857f2..51f877c4d 100644 --- a/library/asyncio.po +++ b/library/asyncio.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -16,15 +16,15 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#: library/asyncio.rst:66 +#: library/asyncio.rst:78 msgid "High-level APIs" msgstr "" -#: library/asyncio.rst:78 +#: library/asyncio.rst:90 msgid "Low-level APIs" msgstr "" -#: library/asyncio.rst:89 +#: library/asyncio.rst:101 msgid "Guides and Tutorials" msgstr "" @@ -32,7 +32,7 @@ msgstr "" msgid ":mod:`asyncio` --- Asynchronous I/O" msgstr "" -#: library/asyncio.rst:None +#: library/asyncio.rst:-1 msgid "Hello World!" msgstr "" @@ -107,7 +107,11 @@ msgid "" "await syntax." msgstr "" -#: includes/wasm-notavail.rst:None +#: library/asyncio.rst:59 +msgid "You can experiment with an ``asyncio`` concurrent context in the REPL:" +msgstr "" + +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -118,10 +122,10 @@ msgid "" "more information." msgstr "" -#: library/asyncio.rst:65 +#: library/asyncio.rst:77 msgid "Reference" msgstr "" -#: library/asyncio.rst:98 +#: library/asyncio.rst:110 msgid "The source code for asyncio can be found in :source:`Lib/asyncio/`." msgstr "" diff --git a/library/asyncore.po b/library/asyncore.po index c3c2fc6a9..b1c5684cf 100644 --- a/library/asyncore.po +++ b/library/asyncore.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -42,7 +42,7 @@ msgid "" "socket service clients and servers." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/cgi.po b/library/cgi.po index 332957518..c7b6299e3 100644 --- a/library/cgi.po +++ b/library/cgi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -57,7 +57,7 @@ msgid "" "of this variable is ``0``, meaning the request size is unlimited." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/compileall.po b/library/compileall.po index c0d133a47..d58d0eb10 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgid "" "don't have write permission to the library directories." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -279,7 +279,7 @@ msgstr "" msgid "" "The *stripdir*, *prependdir* and *limit_sl_dest* arguments correspond to the " "``-s``, ``-p`` and ``-e`` options described above. They may be specified as " -"``str``, ``bytes`` or :py:class:`os.PathLike`." +"``str`` or :py:class:`os.PathLike`." msgstr "" #: library/compileall.rst:274 diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index b382ab349..c0b3fcb16 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -40,7 +40,7 @@ msgid "" "by the abstract :class:`Executor` class." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/contextvars.po b/library/contextvars.po index 680930e3d..e79df802d 100644 --- a/library/contextvars.po +++ b/library/contextvars.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -178,77 +178,85 @@ msgid "" msgstr "" #: library/contextvars.rst:147 +msgid "" +"Every thread will have a different top-level :class:`~contextvars.Context` " +"object. This means that a :class:`ContextVar` object behaves in a similar " +"fashion to :func:`threading.local()` when values are assigned in different " +"threads." +msgstr "" + +#: library/contextvars.rst:152 msgid "Context implements the :class:`collections.abc.Mapping` interface." msgstr "" -#: library/contextvars.rst:151 +#: library/contextvars.rst:156 msgid "" "Execute ``callable(*args, **kwargs)`` code in the context object the *run* " "method is called on. Return the result of the execution or propagate an " "exception if one occurred." msgstr "" -#: library/contextvars.rst:155 +#: library/contextvars.rst:160 msgid "" "Any changes to any context variables that *callable* makes will be contained " "in the context object::" msgstr "" -#: library/contextvars.rst:184 +#: library/contextvars.rst:189 msgid "" "The method raises a :exc:`RuntimeError` when called on the same context " "object from more than one OS thread, or when called recursively." msgstr "" -#: library/contextvars.rst:190 +#: library/contextvars.rst:195 msgid "Return a shallow copy of the context object." msgstr "" -#: library/contextvars.rst:194 +#: library/contextvars.rst:199 msgid "" "Return ``True`` if the *context* has a value for *var* set; return ``False`` " "otherwise." msgstr "" -#: library/contextvars.rst:199 +#: library/contextvars.rst:204 msgid "" "Return the value of the *var* :class:`ContextVar` variable. If the variable " "is not set in the context object, a :exc:`KeyError` is raised." msgstr "" -#: library/contextvars.rst:205 +#: library/contextvars.rst:210 msgid "" "Return the value for *var* if *var* has the value in the context object. " "Return *default* otherwise. If *default* is not given, return ``None``." msgstr "" -#: library/contextvars.rst:211 +#: library/contextvars.rst:216 msgid "Return an iterator over the variables stored in the context object." msgstr "" -#: library/contextvars.rst:216 +#: library/contextvars.rst:221 msgid "Return the number of variables set in the context object." msgstr "" -#: library/contextvars.rst:220 +#: library/contextvars.rst:225 msgid "Return a list of all variables in the context object." msgstr "" -#: library/contextvars.rst:224 +#: library/contextvars.rst:229 msgid "Return a list of all variables' values in the context object." msgstr "" -#: library/contextvars.rst:229 +#: library/contextvars.rst:234 msgid "" "Return a list of 2-tuples containing all variables and their values in the " "context object." msgstr "" -#: library/contextvars.rst:234 +#: library/contextvars.rst:239 msgid "asyncio support" msgstr "" -#: library/contextvars.rst:236 +#: library/contextvars.rst:241 msgid "" "Context variables are natively supported in :mod:`asyncio` and are ready to " "be used without any extra configuration. For example, here is a simple echo " diff --git a/library/crypt.po b/library/crypt.po index da7efea81..f956296e6 100644 --- a/library/crypt.po +++ b/library/crypt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -52,7 +52,7 @@ msgstr "" msgid ":ref:`Availability `: Unix, not VxWorks." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/ctypes.po b/library/ctypes.po index aca591d00..0b5d00320 100644 --- a/library/ctypes.po +++ b/library/ctypes.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -504,7 +504,7 @@ msgstr "" #: library/ctypes.rst:392 msgid "" -"Because specifying the attribute does inhibit portability it is adviced to " +"Because specifying the attribute does inhibit portability it is advised to " "always specify ``argtypes`` for all variadic functions." msgstr "" @@ -1851,7 +1851,7 @@ msgid "" "instance of a ctypes type." msgstr "" -#: library/ctypes.rst:1848 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.addressof`` with " "argument ``obj``." @@ -1909,7 +1909,7 @@ msgid "" "not be used." msgstr "" -#: library/ctypes.rst:1892 +#: library/ctypes.rst:12 msgid "" "Raises an :ref:`auditing event ` ``ctypes.create_string_buffer`` " "with arguments ``init``, ``size``." @@ -1936,7 +1936,7 @@ msgid "" "should not be used." msgstr "" -#: library/ctypes.rst:1909 +#: library/ctypes.rst:13 msgid "" "Raises an :ref:`auditing event ` ``ctypes.create_unicode_buffer`` " "with arguments ``init``, ``size``." @@ -1998,7 +1998,7 @@ msgid "" "`errno` variable in the calling thread." msgstr "" -#: library/ctypes.rst:1967 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.get_errno`` with no " "arguments." @@ -2010,7 +2010,7 @@ msgid "" "system :data:`LastError` variable in the calling thread." msgstr "" -#: library/ctypes.rst:1974 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.get_last_error`` with no " "arguments." @@ -2063,7 +2063,7 @@ msgid "" "variable in the calling thread to *value* and return the previous value." msgstr "" -#: library/ctypes.rst:2019 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.set_errno`` with " "argument ``errno``." @@ -2076,7 +2076,7 @@ msgid "" "return the previous value." msgstr "" -#: library/ctypes.rst:2028 +#: library/ctypes.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ctypes.set_last_error`` with " "argument ``error``." @@ -2095,7 +2095,7 @@ msgid "" "is assumed to be zero-terminated." msgstr "" -#: library/ctypes.rst:2043 +#: library/ctypes.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ctypes.string_at`` with " "arguments ``address``, ``size``." @@ -2122,7 +2122,7 @@ msgid "" "terminated." msgstr "" -#: library/ctypes.rst:2065 +#: library/ctypes.rst:6 msgid "" "Raises an :ref:`auditing event ` ``ctypes.wstring_at`` with " "arguments ``address``, ``size``." @@ -2157,7 +2157,7 @@ msgid "" "exc:`ValueError` is raised." msgstr "" -#: library/ctypes.rst:2104 +#: library/ctypes.rst:7 msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata/buffer`` with " "arguments ``pointer``, ``size``, ``offset``." @@ -2177,7 +2177,7 @@ msgid "" "*address* which must be an integer." msgstr "" -#: library/ctypes.rst:2111 +#: library/ctypes.rst:4 msgid "" "Raises an :ref:`auditing event ` ``ctypes.cdata`` with argument " "``address``." diff --git a/library/curses.po b/library/curses.po index 843bc3d9a..b2fdee86a 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1451,7 +1451,7 @@ msgstr "" #: library/curses.rst:1306 msgid "" "Display a vertical line starting at ``(y, x)`` with length *n* consisting of " -"the character *ch*." +"the character *ch* with attributes *attr*." msgstr "" #: library/curses.rst:1311 diff --git a/library/dataclasses.po b/library/dataclasses.po index dd6b51da0..48124f11b 100644 --- a/library/dataclasses.po +++ b/library/dataclasses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -611,8 +611,8 @@ msgstr "" #: library/dataclasses.rst:555 msgid "" -"One of two places where :func:`dataclass` actually inspects the type of a " -"field is to determine if a field is a class variable as defined in :pep:" +"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 defined in :pep:" "`526`. It does this by checking if the type of the field is ``typing." "ClassVar``. If a field is a ``ClassVar``, it is excluded from consideration " "as a field and is ignored by the dataclass mechanisms. Such ``ClassVar`` " @@ -625,7 +625,7 @@ msgstr "" #: library/dataclasses.rst:566 msgid "" -"The other place where :func:`dataclass` inspects a type annotation is to " +"Another place where :func:`dataclass` inspects a type annotation is to " "determine if a field is an init-only variable. It does this by seeing if " "the type of a field is of type ``dataclasses.InitVar``. If a field is an " "``InitVar``, it is considered a pseudo-field called an init-only field. As " diff --git a/library/datetime.po b/library/datetime.po index 01ed3f5ef..ae6183496 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1604,8 +1604,8 @@ msgstr "" msgid "" "Because naive ``datetime`` objects are treated by many ``datetime`` methods " "as local times, it is preferred to use aware datetimes to represent times in " -"UTC; as a result, using ``utcfromtimetuple`` may give misleading results. If " -"you have a naive ``datetime`` representing UTC, use ``datetime." +"UTC; as a result, using :meth:`datetime.utctimetuple` may give misleading " +"results. If you have a naive ``datetime`` representing UTC, use ``datetime." "replace(tzinfo=timezone.utc)`` to make it aware, at which point you can use :" "meth:`.datetime.timetuple`." msgstr "" diff --git a/library/dis.po b/library/dis.po index 9ff92099c..d7fcdf90b 100644 --- a/library/dis.po +++ b/library/dis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -590,55 +590,54 @@ msgstr "" #: library/dis.rst:565 msgid "" "Terminates an :keyword:`async for` loop. Handles an exception raised when " -"awaiting a next item. If TOS is :exc:`StopAsyncIteration` pop 3 values from " -"the stack and restore the exception state using the second of them. " -"Otherwise re-raise the exception using the value from the stack. An " -"exception handler block is removed from the block stack." +"awaiting a next item. The stack contains the async iterable in TOS1 and the " +"raised exception in TOS. Both are popped. If the exception is not :exc:" +"`StopAsyncIteration`, it is re-raised." msgstr "" -#: library/dis.rst:651 library/dis.rst:662 +#: library/dis.rst:650 library/dis.rst:661 msgid "" "Exception representation on the stack now consist of one, not three, items." msgstr "" -#: library/dis.rst:578 +#: library/dis.rst:577 msgid "" "Resolves ``__aenter__`` and ``__aexit__`` from the object on top of the " "stack. Pushes ``__aexit__`` and result of ``__aenter__()`` to the stack." msgstr "" -#: library/dis.rst:585 +#: library/dis.rst:584 msgid "**Miscellaneous opcodes**" msgstr "" -#: library/dis.rst:589 +#: library/dis.rst:588 msgid "" "Implements the expression statement for the interactive mode. TOS is " "removed from the stack and printed. In non-interactive mode, an expression " "statement is terminated with :opcode:`POP_TOP`." msgstr "" -#: library/dis.rst:596 +#: library/dis.rst:595 msgid "" "Calls ``set.add(TOS1[-i], TOS)``. Used to implement set comprehensions." msgstr "" -#: library/dis.rst:601 +#: library/dis.rst:600 msgid "" "Calls ``list.append(TOS1[-i], TOS)``. Used to implement list comprehensions." msgstr "" -#: library/dis.rst:606 +#: library/dis.rst:605 msgid "" "Calls ``dict.__setitem__(TOS1[-i], TOS1, TOS)``. Used to implement dict " "comprehensions." msgstr "" -#: library/dis.rst:610 +#: library/dis.rst:609 msgid "Map value is TOS and map key is TOS1. Before, those were reversed." msgstr "" -#: library/dis.rst:613 +#: library/dis.rst:612 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 " @@ -646,15 +645,15 @@ msgid "" "further iterations of the loop." msgstr "" -#: library/dis.rst:621 +#: library/dis.rst:620 msgid "Returns with TOS to the caller of the function." msgstr "" -#: library/dis.rst:626 +#: library/dis.rst:625 msgid "Pops TOS and yields it from a :term:`generator`." msgstr "" -#: library/dis.rst:632 +#: library/dis.rst:631 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 " @@ -662,45 +661,45 @@ msgid "" "statically." msgstr "" -#: library/dis.rst:642 +#: library/dis.rst:641 msgid "" "Loads all symbols not starting with ``'_'`` directly from the module TOS to " "the local namespace. The module is popped after loading all names. This " "opcode implements ``from module import *``." msgstr "" -#: library/dis.rst:649 +#: library/dis.rst:648 msgid "" "Pops a value from the stack, which is used to restore the exception state." msgstr "" -#: library/dis.rst:656 +#: library/dis.rst:655 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 ``f_lasti`` of " "the current frame." msgstr "" -#: library/dis.rst:667 +#: library/dis.rst:666 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:675 +#: library/dis.rst:674 msgid "" "Performs exception matching for ``except``. Tests whether the TOS1 is an " "exception matching TOS. Pops TOS and pushes the boolean result of the test." msgstr "" -#: library/dis.rst:682 +#: library/dis.rst:681 msgid "" "Performs exception matching for ``except*``. Applies ``split(TOS)`` on the " "exception group representing TOS1." msgstr "" -#: library/dis.rst:685 +#: library/dis.rst:684 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 " @@ -708,7 +707,7 @@ msgid "" "``None``." msgstr "" -#: library/dis.rst:694 +#: library/dis.rst:693 msgid "" "Combines the raised and reraised exceptions list from TOS, into an exception " "group to propagate from a try-except* block. Uses the original exception " @@ -717,7 +716,7 @@ msgid "" "there isn't one." msgstr "" -#: library/dis.rst:704 +#: library/dis.rst:703 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 " @@ -725,25 +724,25 @@ msgid "" "occurred in a :keyword:`with` statement." msgstr "" -#: library/dis.rst:711 +#: library/dis.rst:710 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:718 +#: library/dis.rst:717 msgid "" "Pushes :exc:`AssertionError` onto the stack. Used by the :keyword:`assert` " "statement." msgstr "" -#: library/dis.rst:726 +#: library/dis.rst:725 msgid "" "Pushes :func:`builtins.__build_class__` onto the stack. It is later called " "to construct a class." msgstr "" -#: library/dis.rst:732 +#: library/dis.rst:731 msgid "" "This opcode performs several operations before a with block starts. First, " "it loads :meth:`~object.__exit__` from the context manager and pushes it " @@ -752,11 +751,11 @@ msgid "" "``__enter__()`` method is pushed onto the stack." msgstr "" -#: library/dis.rst:743 +#: library/dis.rst:742 msgid "Push ``len(TOS)`` onto the stack." msgstr "" -#: library/dis.rst:750 +#: library/dis.rst:749 msgid "" "If TOS is an instance of :class:`collections.abc.Mapping` (or, more " "technically: if it has the :const:`Py_TPFLAGS_MAPPING` flag set in its :c:" @@ -764,7 +763,7 @@ msgid "" "push ``False``." msgstr "" -#: library/dis.rst:760 +#: library/dis.rst:759 msgid "" "If TOS is an instance of :class:`collections.abc.Sequence` and is *not* an " "instance of :class:`str`/:class:`bytes`/:class:`bytearray` (or, more " @@ -773,39 +772,39 @@ msgid "" "push ``False``." msgstr "" -#: library/dis.rst:770 +#: library/dis.rst:769 msgid "" "TOS is a tuple of mapping keys, and TOS1 is the match subject. If TOS1 " "contains all of the keys in TOS, push a :class:`tuple` containing the " "corresponding values. Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1321 +#: library/dis.rst:1320 msgid "" "Previously, this instruction also pushed a boolean value indicating success " "(``True``) or failure (``False``)." msgstr "" -#: library/dis.rst:783 +#: library/dis.rst:782 msgid "" "Implements ``name = TOS``. *namei* is the index of *name* in the attribute :" "attr:`co_names` of the code object. The compiler tries to use :opcode:" "`STORE_FAST` or :opcode:`STORE_GLOBAL` if possible." msgstr "" -#: library/dis.rst:790 +#: library/dis.rst:789 msgid "" "Implements ``del name``, where *namei* is the index into :attr:`co_names` " "attribute of the code object." msgstr "" -#: library/dis.rst:796 +#: library/dis.rst:795 msgid "" "Unpacks TOS into *count* individual values, which are put onto the stack " "right-to-left." msgstr "" -#: library/dis.rst:802 +#: library/dis.rst:801 msgid "" "Implements assignment with a starred target: Unpacks an iterable in TOS into " "individual values, where the total number of values can be smaller than the " @@ -813,119 +812,119 @@ msgid "" "leftover items." msgstr "" -#: library/dis.rst:807 +#: library/dis.rst:806 msgid "" "The low byte of *counts* is the number of values before the list value, the " "high byte of *counts* the number of values after it. The resulting values " "are put onto the stack right-to-left." msgstr "" -#: library/dis.rst:814 +#: library/dis.rst:813 msgid "" "Implements ``TOS.name = TOS1``, where *namei* is the index of name in :attr:" "`co_names`." msgstr "" -#: library/dis.rst:820 +#: library/dis.rst:819 msgid "" "Implements ``del TOS.name``, using *namei* as index into :attr:`co_names`." msgstr "" -#: library/dis.rst:825 +#: library/dis.rst:824 msgid "Works as :opcode:`STORE_NAME`, but stores the name as a global." msgstr "" -#: library/dis.rst:830 +#: library/dis.rst:829 msgid "Works as :opcode:`DELETE_NAME`, but deletes a global name." msgstr "" -#: library/dis.rst:835 +#: library/dis.rst:834 msgid "Pushes ``co_consts[consti]`` onto the stack." msgstr "" -#: library/dis.rst:840 +#: library/dis.rst:839 msgid "Pushes the value associated with ``co_names[namei]`` onto the stack." msgstr "" -#: library/dis.rst:845 +#: library/dis.rst:844 msgid "" "Creates a tuple consuming *count* items from the stack, and pushes the " "resulting tuple onto the stack." msgstr "" -#: library/dis.rst:851 +#: library/dis.rst:850 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a list." msgstr "" -#: library/dis.rst:856 +#: library/dis.rst:855 msgid "Works as :opcode:`BUILD_TUPLE`, but creates a set." msgstr "" -#: library/dis.rst:861 +#: library/dis.rst:860 msgid "" "Pushes a new dictionary object onto the stack. Pops ``2 * count`` items so " "that the dictionary holds *count* entries: ``{..., TOS3: TOS2, TOS1: TOS}``." msgstr "" -#: library/dis.rst:865 +#: library/dis.rst:864 msgid "" "The dictionary is created from stack items instead of creating an empty " "dictionary pre-sized to hold *count* items." msgstr "" -#: library/dis.rst:872 +#: library/dis.rst:871 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 " "``TOS1``, pops *count* values to form values in the built dictionary." msgstr "" -#: library/dis.rst:881 +#: library/dis.rst:880 msgid "" "Concatenates *count* strings from the stack and pushes the resulting string " "onto the stack." msgstr "" -#: library/dis.rst:889 +#: library/dis.rst:888 msgid "" "Pops a list from the stack and pushes a tuple containing the same values." msgstr "" -#: library/dis.rst:896 +#: library/dis.rst:895 msgid "Calls ``list.extend(TOS1[-i], TOS)``. Used to build lists." msgstr "" -#: library/dis.rst:903 +#: library/dis.rst:902 msgid "Calls ``set.update(TOS1[-i], TOS)``. Used to build sets." msgstr "" -#: library/dis.rst:910 +#: library/dis.rst:909 msgid "Calls ``dict.update(TOS1[-i], TOS)``. Used to build dicts." msgstr "" -#: library/dis.rst:917 +#: library/dis.rst:916 msgid "Like :opcode:`DICT_UPDATE` but raises an exception for duplicate keys." msgstr "" -#: library/dis.rst:924 +#: library/dis.rst:923 msgid "Replaces TOS with ``getattr(TOS, co_names[namei])``." msgstr "" -#: library/dis.rst:929 +#: library/dis.rst:928 msgid "" "Performs a Boolean operation. The operation name can be found in " "``cmp_op[opname]``." msgstr "" -#: library/dis.rst:935 +#: library/dis.rst:934 msgid "Performs ``is`` comparison, or ``is not`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:942 +#: library/dis.rst:941 msgid "Performs ``in`` comparison, or ``not in`` if ``invert`` is 1." msgstr "" -#: library/dis.rst:949 +#: library/dis.rst:948 msgid "" "Imports the module ``co_names[namei]``. TOS and TOS1 are popped and provide " "the *fromlist* and *level* arguments of :func:`__import__`. The module " @@ -934,86 +933,86 @@ msgid "" "modifies the namespace." msgstr "" -#: library/dis.rst:958 +#: library/dis.rst:957 msgid "" "Loads the attribute ``co_names[namei]`` from the module found in TOS. The " "resulting object is pushed onto the stack, to be subsequently stored by a :" "opcode:`STORE_FAST` instruction." msgstr "" -#: library/dis.rst:965 +#: library/dis.rst:964 msgid "Increments bytecode counter by *delta*." msgstr "" -#: library/dis.rst:970 +#: library/dis.rst:969 msgid "Decrements bytecode counter by *delta*. Checks for interrupts." msgstr "" -#: library/dis.rst:977 +#: library/dis.rst:976 msgid "Decrements bytecode counter by *delta*. Does not check for interrupts." msgstr "" -#: library/dis.rst:984 +#: library/dis.rst:983 msgid "" "If TOS is true, increments the bytecode counter by *delta*. TOS is popped." msgstr "" -#: library/dis.rst:991 +#: library/dis.rst:990 msgid "" "If TOS is true, decrements the bytecode counter by *delta*. TOS is popped." msgstr "" -#: library/dis.rst:998 +#: library/dis.rst:997 msgid "" "If TOS is false, increments the bytecode counter by *delta*. TOS is popped." msgstr "" -#: library/dis.rst:1005 +#: library/dis.rst:1004 msgid "" "If TOS is false, decrements the bytecode counter by *delta*. TOS is popped." msgstr "" -#: library/dis.rst:1012 +#: library/dis.rst:1011 msgid "" "If TOS is not ``None``, increments the bytecode counter by *delta*. TOS is " "popped." msgstr "" -#: library/dis.rst:1019 +#: library/dis.rst:1018 msgid "" "If TOS is not ``None``, decrements the bytecode counter by *delta*. TOS is " "popped." msgstr "" -#: library/dis.rst:1026 +#: library/dis.rst:1025 msgid "" "If TOS is ``None``, increments the bytecode counter by *delta*. TOS is " "popped." msgstr "" -#: library/dis.rst:1033 +#: library/dis.rst:1032 msgid "" "If TOS is ``None``, decrements the bytecode counter by *delta*. TOS is " "popped." msgstr "" -#: library/dis.rst:1040 +#: library/dis.rst:1039 msgid "" "If TOS is true, increments the bytecode counter by *delta* and leaves TOS on " "the stack. Otherwise (TOS is false), TOS is popped." msgstr "" -#: library/dis.rst:1055 +#: library/dis.rst:1054 msgid "The oparg is now a relative delta rather than an absolute target." msgstr "" -#: library/dis.rst:1050 +#: library/dis.rst:1049 msgid "" "If TOS is false, increments the bytecode counter by *delta* and leaves TOS " "on the stack. Otherwise (TOS is true), TOS is popped." msgstr "" -#: library/dis.rst:1061 +#: library/dis.rst:1060 msgid "" "TOS is an :term:`iterator`. Call its :meth:`~iterator.__next__` method. If " "this yields a new value, push it on the stack (leaving the iterator below " @@ -1021,151 +1020,151 @@ msgid "" "code counter is incremented by *delta*." msgstr "" -#: library/dis.rst:1069 +#: library/dis.rst:1068 msgid "Loads the global named ``co_names[namei>>1]`` onto the stack." msgstr "" -#: library/dis.rst:1071 +#: library/dis.rst:1070 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:1077 +#: library/dis.rst:1076 msgid "" "Pushes a reference to the local ``co_varnames[var_num]`` onto the stack." msgstr "" -#: library/dis.rst:1082 +#: library/dis.rst:1081 msgid "Stores TOS into the local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1087 +#: library/dis.rst:1086 msgid "Deletes local ``co_varnames[var_num]``." msgstr "" -#: library/dis.rst:1092 +#: library/dis.rst:1091 msgid "" "Creates a new cell in slot ``i``. If that slot is empty then that value is " "stored into the new cell." msgstr "" -#: library/dis.rst:1100 +#: library/dis.rst:1099 msgid "" "Pushes a reference to the cell contained in slot ``i`` of the \"fast " "locals\" storage. The name of the variable is ``co_fastlocalnames[i]``." msgstr "" -#: library/dis.rst:1103 +#: library/dis.rst:1102 msgid "" "Note that ``LOAD_CLOSURE`` is effectively an alias for ``LOAD_FAST``. It " "exists to keep bytecode a little more readable." msgstr "" -#: library/dis.rst:1115 library/dis.rst:1136 library/dis.rst:1147 +#: library/dis.rst:1114 library/dis.rst:1135 library/dis.rst:1146 msgid "``i`` is no longer offset by the length of ``co_varnames``." msgstr "" -#: library/dis.rst:1112 +#: library/dis.rst:1111 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:1121 +#: library/dis.rst:1120 msgid "" "Much like :opcode:`LOAD_DEREF` but first checks the locals dictionary before " "consulting the cell. This is used for loading free variables in class " "bodies." msgstr "" -#: library/dis.rst:1133 +#: library/dis.rst:1132 msgid "" "Stores TOS into the cell contained in slot ``i`` of the \"fast locals\" " "storage." msgstr "" -#: library/dis.rst:1142 +#: library/dis.rst:1141 msgid "" "Empties the cell contained in slot ``i`` of the \"fast locals\" storage. " "Used by the :keyword:`del` statement." msgstr "" -#: library/dis.rst:1153 +#: library/dis.rst:1152 msgid "" "Copies the ``n`` free 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:1162 +#: library/dis.rst:1161 msgid "" "Raises an exception using one of the 3 forms of the ``raise`` statement, " "depending on the value of *argc*:" msgstr "" -#: library/dis.rst:1165 +#: library/dis.rst:1164 msgid "0: ``raise`` (re-raise previous exception)" msgstr "" -#: library/dis.rst:1166 +#: library/dis.rst:1165 msgid "1: ``raise TOS`` (raise exception instance or type at ``TOS``)" msgstr "" -#: library/dis.rst:1167 +#: library/dis.rst:1166 msgid "" "2: ``raise TOS1 from TOS`` (raise exception instance or type at ``TOS1`` " "with ``__cause__`` set to ``TOS``)" msgstr "" -#: library/dis.rst:1173 +#: library/dis.rst:1172 msgid "" "Calls a callable object with the number of arguments specified by ``argc``, " "including the named arguments specified by the preceding :opcode:`KW_NAMES`, " "if any. On the stack are (in ascending order), either:" msgstr "" -#: library/dis.rst:1178 +#: library/dis.rst:1177 msgid "NULL" msgstr "" -#: library/dis.rst:1185 +#: library/dis.rst:1184 msgid "The callable" msgstr "" -#: library/dis.rst:1180 +#: library/dis.rst:1179 msgid "The positional arguments" msgstr "" -#: library/dis.rst:1188 +#: library/dis.rst:1187 msgid "The named arguments" msgstr "" -#: library/dis.rst:1183 +#: library/dis.rst:1182 msgid "or:" msgstr "" -#: library/dis.rst:1186 +#: library/dis.rst:1185 msgid "``self``" msgstr "" -#: library/dis.rst:1187 +#: library/dis.rst:1186 msgid "The remaining positional arguments" msgstr "" -#: library/dis.rst:1190 +#: library/dis.rst:1189 msgid "" "``argc`` is the total of the positional and named arguments, excluding " "``self`` when a ``NULL`` is not present." msgstr "" -#: library/dis.rst:1193 +#: library/dis.rst:1192 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:1202 +#: library/dis.rst:1201 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 " @@ -1177,7 +1176,7 @@ msgid "" "arguments, and pushes the return value returned by the callable object." msgstr "" -#: library/dis.rst:1217 +#: library/dis.rst:1216 msgid "" "Loads a method named ``co_names[namei]`` from the TOS object. TOS is popped. " "This bytecode distinguishes two cases: if TOS has a method with the correct " @@ -1187,70 +1186,70 @@ msgid "" "are pushed." msgstr "" -#: library/dis.rst:1229 +#: library/dis.rst:1228 msgid "" "Prefixes :opcode:`CALL`. Logically this is a no op. It exists to enable " "effective specialization of calls. ``argc`` is the number of arguments as " "described in :opcode:`CALL`." msgstr "" -#: library/dis.rst:1238 +#: library/dis.rst:1237 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:1247 +#: library/dis.rst:1246 msgid "" "Prefixes :opcode:`PRECALL`. Stores a reference to ``co_consts[consti]`` into " "an internal variable for use by :opcode:`CALL`. ``co_consts[consti]`` must " "be a tuple of strings." msgstr "" -#: library/dis.rst:1256 +#: library/dis.rst:1255 msgid "" "Pushes a new function object on the stack. From bottom to top, the consumed " "stack must consist of values if the argument carries a specified flag value" msgstr "" -#: library/dis.rst:1259 +#: library/dis.rst:1258 msgid "" "``0x01`` a tuple of default values for positional-only and positional-or-" "keyword parameters in positional order" msgstr "" -#: library/dis.rst:1261 +#: library/dis.rst:1260 msgid "``0x02`` a dictionary of keyword-only parameters' default values" msgstr "" -#: library/dis.rst:1262 +#: library/dis.rst:1261 msgid "``0x04`` a tuple of strings containing parameters' annotations" msgstr "" -#: library/dis.rst:1263 +#: library/dis.rst:1262 msgid "``0x08`` a tuple containing cells for free variables, making a closure" msgstr "" -#: library/dis.rst:1264 +#: library/dis.rst:1263 msgid "the code associated with the function (at TOS1)" msgstr "" -#: library/dis.rst:1265 +#: library/dis.rst:1264 msgid "the :term:`qualified name` of the function (at TOS)" msgstr "" -#: library/dis.rst:1267 +#: library/dis.rst:1266 msgid "Flag value ``0x04`` is a tuple of strings instead of dictionary" msgstr "" -#: library/dis.rst:1274 +#: library/dis.rst:1273 msgid "" "Pushes a slice object on the stack. *argc* must be 2 or 3. If it is 2, " "``slice(TOS1, TOS)`` is pushed; if it is 3, ``slice(TOS2, TOS1, TOS)`` is " "pushed. See the :func:`slice` built-in function for more information." msgstr "" -#: library/dis.rst:1281 +#: library/dis.rst:1280 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 " @@ -1258,142 +1257,142 @@ msgid "" "allowed, forming an argument from two-byte to four-byte." msgstr "" -#: library/dis.rst:1289 +#: library/dis.rst:1288 msgid "" "Used for implementing formatted literal strings (f-strings). Pops an " "optional *fmt_spec* from the stack, then a required *value*. *flags* is " "interpreted as follows:" msgstr "" -#: library/dis.rst:1293 +#: library/dis.rst:1292 msgid "``(flags & 0x03) == 0x00``: *value* is formatted as-is." msgstr "" -#: library/dis.rst:1294 +#: library/dis.rst:1293 msgid "" "``(flags & 0x03) == 0x01``: call :func:`str` on *value* before formatting it." msgstr "" -#: library/dis.rst:1296 +#: library/dis.rst:1295 msgid "" "``(flags & 0x03) == 0x02``: call :func:`repr` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1298 +#: library/dis.rst:1297 msgid "" "``(flags & 0x03) == 0x03``: call :func:`ascii` on *value* before formatting " "it." msgstr "" -#: library/dis.rst:1300 +#: library/dis.rst:1299 msgid "" "``(flags & 0x04) == 0x04``: pop *fmt_spec* from the stack and use it, else " "use an empty *fmt_spec*." msgstr "" -#: library/dis.rst:1303 +#: library/dis.rst:1302 msgid "" "Formatting is performed using :c:func:`PyObject_Format`. The result is " "pushed on the stack." msgstr "" -#: library/dis.rst:1311 +#: library/dis.rst:1310 msgid "" "TOS is a tuple of keyword attribute names, TOS1 is the class being matched " "against, and TOS2 is the match subject. *count* is the number of positional " "sub-patterns." msgstr "" -#: library/dis.rst:1315 +#: library/dis.rst:1314 msgid "" "Pop TOS, TOS1, and TOS2. If TOS2 is an instance of TOS1 and has the " "positional and keyword attributes required by *count* and TOS, push a tuple " "of extracted attributes. Otherwise, push ``None``." msgstr "" -#: library/dis.rst:1328 +#: library/dis.rst:1327 msgid "A no-op. Performs internal tracing, debugging and optimization checks." msgstr "" -#: library/dis.rst:1330 +#: library/dis.rst:1329 msgid "The ``where`` operand marks where the ``RESUME`` occurs:" msgstr "" -#: library/dis.rst:1332 +#: library/dis.rst:1331 msgid "``0`` The start of a function" msgstr "" -#: library/dis.rst:1333 +#: library/dis.rst:1332 msgid "``1`` After a ``yield`` expression" msgstr "" -#: library/dis.rst:1334 +#: library/dis.rst:1333 msgid "``2`` After a ``yield from`` expression" msgstr "" -#: library/dis.rst:1335 +#: library/dis.rst:1334 msgid "``3`` After an ``await`` expression" msgstr "" -#: library/dis.rst:1342 +#: library/dis.rst:1341 msgid "" "Create a generator, coroutine, or async generator from the current frame. " "Clear the current frame and return the newly created generator." msgstr "" -#: library/dis.rst:1350 +#: library/dis.rst:1349 msgid "" "Sends ``None`` to the sub-generator of this generator. Used in ``yield " "from`` and ``await`` statements." msgstr "" -#: library/dis.rst:1358 +#: library/dis.rst:1357 msgid "" "Wraps the value on top of the stack in an ``async_generator_wrapped_value``. " "Used to yield in async generators." msgstr "" -#: library/dis.rst:1366 +#: library/dis.rst:1365 msgid "" "This is not really an opcode. It identifies the dividing line between " "opcodes which don't use their argument and those that do (``< " "HAVE_ARGUMENT`` and ``>= HAVE_ARGUMENT``, respectively)." msgstr "" -#: library/dis.rst:1370 +#: library/dis.rst:1369 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:1378 +#: library/dis.rst:1377 msgid "Opcode collections" msgstr "" -#: library/dis.rst:1380 +#: library/dis.rst:1379 msgid "" "These collections are provided for automatic introspection of bytecode " "instructions:" msgstr "" -#: library/dis.rst:1385 +#: library/dis.rst:1384 msgid "Sequence of operation names, indexable using the bytecode." msgstr "" -#: library/dis.rst:1390 +#: library/dis.rst:1389 msgid "Dictionary mapping operation names to bytecodes." msgstr "" -#: library/dis.rst:1395 +#: library/dis.rst:1394 msgid "Sequence of all compare operation names." msgstr "" -#: library/dis.rst:1400 +#: library/dis.rst:1399 msgid "Sequence of bytecodes that access a constant." msgstr "" -#: library/dis.rst:1405 +#: library/dis.rst:1404 msgid "" "Sequence of bytecodes that access a free variable (note that 'free' in this " "context refers to names in the current scope that are referenced by inner " @@ -1401,22 +1400,22 @@ msgid "" "does *not* include references to global or builtin scopes)." msgstr "" -#: library/dis.rst:1413 +#: library/dis.rst:1412 msgid "Sequence of bytecodes that access an attribute by name." msgstr "" -#: library/dis.rst:1418 +#: library/dis.rst:1417 msgid "Sequence of bytecodes that have a relative jump target." msgstr "" -#: library/dis.rst:1423 +#: library/dis.rst:1422 msgid "Sequence of bytecodes that have an absolute jump target." msgstr "" -#: library/dis.rst:1428 +#: library/dis.rst:1427 msgid "Sequence of bytecodes that access a local variable." msgstr "" -#: library/dis.rst:1433 +#: library/dis.rst:1432 msgid "Sequence of bytecodes of Boolean operations." msgstr "" diff --git a/library/email.mime.po b/library/email.mime.po index 1f0c52093..36febea50 100644 --- a/library/email.mime.po +++ b/library/email.mime.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -160,9 +160,9 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEApplication` class is used to represent MIME message objects of major " -"type :mimetype:`application`. *_data* is a string containing the raw byte " -"data. Optional *_subtype* specifies the MIME subtype and defaults to :" -"mimetype:`octet-stream`." +"type :mimetype:`application`. *_data* contains the bytes for the raw " +"application data. Optional *_subtype* specifies the MIME subtype and " +"defaults to :mimetype:`octet-stream`." msgstr "" #: library/email.mime.rst:121 @@ -189,7 +189,7 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEAudio` class is used to create MIME message objects of major type :" -"mimetype:`audio`. *_audiodata* is a string containing the raw audio data. " +"mimetype:`audio`. *_audiodata* contains the bytes for the raw audio data. " "If this data can be decoded as au, wav, aiff, or aifc, then the subtype will " "be automatically included in the :mailheader:`Content-Type` header. " "Otherwise you can explicitly specify the audio subtype via the *_subtype* " @@ -217,7 +217,7 @@ msgstr "" msgid "" "A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the :class:" "`MIMEImage` class is used to create MIME message objects of major type :" -"mimetype:`image`. *_imagedata* is a string containing the raw image data. " +"mimetype:`image`. *_imagedata* contains the bytes for the raw image data. " "If this data type can be detected (jpeg, png, gif, tiff, rgb, pbm, pgm, ppm, " "rast, xbm, bmp, webp, and exr attempted), then the subtype will be " "automatically included in the :mailheader:`Content-Type` header. Otherwise " diff --git a/library/ensurepip.po b/library/ensurepip.po index 35b79b410..e1f3b8a16 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -64,7 +64,7 @@ msgstr "" msgid "The original rationale and specification for this module." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -206,7 +206,7 @@ msgid "" "bootstrapping operation." msgstr "" -#: library/ensurepip.rst:134 +#: library/ensurepip.rst:27 msgid "" "Raises an :ref:`auditing event ` ``ensurepip.bootstrap`` with " "argument ``root``." diff --git a/library/enum.po b/library/enum.po index 3a274aa24..9502c1ff5 100644 --- a/library/enum.po +++ b/library/enum.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -82,19 +82,19 @@ msgid "Nomenclature" msgstr "" #: library/enum.rst:55 -msgid "The class :class:`Color` is an *enumeration* (or *enum*)" +msgid "The class :class:`!Color` is an *enumeration* (or *enum*)" msgstr "" #: library/enum.rst:56 msgid "" -"The attributes :attr:`Color.RED`, :attr:`Color.GREEN`, etc., are " +"The attributes :attr:`!Color.RED`, :attr:`!Color.GREEN`, etc., are " "*enumeration members* (or *members*) and are functionally constants." msgstr "" #: library/enum.rst:58 msgid "" -"The enum members have *names* and *values* (the name of :attr:`Color.RED` is " -"``RED``, the value of :attr:`Color.BLUE` is ``3``, etc.)" +"The enum members have *names* and *values* (the name of :attr:`!Color.RED` " +"is ``RED``, the value of :attr:`!Color.BLUE` is ``3``, etc.)" msgstr "" #: library/enum.rst:65 @@ -288,8 +288,8 @@ msgstr "" #: library/enum.rst:168 msgid "" -"*EnumType* is responsible for setting the correct :meth:`__repr__`, :meth:" -"`__str__`, :meth:`__format__`, and :meth:`__reduce__` methods on the final " +"*EnumType* is responsible for setting the correct :meth:`!__repr__`, :meth:`!" +"__str__`, :meth:`!__format__`, and :meth:`!__reduce__` methods on the final " "*enum*, as well as creating the enum members, properly handling duplicates, " "providing iteration over the enum class, etc." msgstr "" @@ -544,9 +544,9 @@ msgstr "" #: library/enum.rst:425 msgid "" -":meth:`__str__` is now :func:`int.__str__` to better support the " -"*replacement of existing constants* use-case. :meth:`__format__` was " -"already :func:`int.__format__` for that same reason." +":meth:`~object.__str__` is now :meth:`!int.__str__` to better support the " +"*replacement of existing constants* use-case. :meth:`~object.__format__` was " +"already :meth:`!int.__format__` for that same reason." msgstr "" #: library/enum.rst:432 @@ -689,7 +689,7 @@ msgstr "" #: library/enum.rst:616 msgid "" -":class:`!ReprEum` uses the :meth:`repr() ` of :class:`Enum`, " +":class:`!ReprEnum` uses the :meth:`repr() ` of :class:`Enum`, " "but the :class:`str() ` of the mixed-in data type:" msgstr "" @@ -771,15 +771,15 @@ msgstr "" #: library/enum.rst:756 msgid "" -":attr:`__members__` is a read-only ordered mapping of ``member_name``:" -"``member`` items. It is only available on the class." +":attr:`~EnumType.__members__` is a read-only ordered mapping of " +"``member_name``:``member`` items. It is only available on the class." msgstr "" #: library/enum.rst:759 msgid "" -":meth:`__new__`, if specified, must create and return the enum members; it " -"is also a very good idea to set the member's :attr:`_value_` appropriately. " -"Once all the members are created it is no longer used." +":meth:`~object.__new__`, if specified, must create and return the enum " +"members; it is also a very good idea to set the member's :attr:`!_value_` " +"appropriately. Once all the members are created it is no longer used." msgstr "" #: library/enum.rst:765 @@ -847,12 +847,12 @@ msgstr "" #: library/enum.rst:798 msgid "" "*auto* can be used in place of a value. If used, the *Enum* machinery will " -"call an *Enum*'s :meth:`_generate_next_value_` to get an appropriate value. " -"For *Enum* and *IntEnum* that appropriate value will be the last value plus " -"one; for *Flag* and *IntFlag* it will be the first power-of-two greater than " -"the last value; for *StrEnum* it will be the lower-cased version of the " -"member's name. Care must be taken if mixing *auto()* with manually " -"specified values." +"call an *Enum*'s :meth:`~Enum._generate_next_value_` to get an appropriate " +"value. For *Enum* and *IntEnum* that appropriate value will be the last " +"value plus one; for *Flag* and *IntFlag* it will be the first power-of-two " +"greater than the highest value; for *StrEnum* it will be the lower-cased " +"version of the member's name. Care must be taken if mixing *auto()* with " +"manually specified values." msgstr "" #: library/enum.rst:806 @@ -894,8 +894,8 @@ msgstr "" #: library/enum.rst:822 msgid "" -"in 3.13 the default ``\"generate_next_value_`` will always return the " -"highest member value incremented by 1, and will fail if any member is an " +"in 3.13 the default ``_generate_next_value_`` will always return the highest " +"member value incremented by 1, and will fail if any member is an " "incompatible type." msgstr "" @@ -917,8 +917,8 @@ msgstr "" #: library/enum.rst:841 msgid "" "A :keyword:`class` decorator specifically for enumerations. It searches an " -"enumeration's :attr:`__members__`, gathering any aliases it finds; if any " -"are found :exc:`ValueError` is raised with the details::" +"enumeration's :attr:`~EnumType.__members__`, gathering any aliases it finds; " +"if any are found :exc:`ValueError` is raised with the details::" msgstr "" #: library/enum.rst:859 diff --git a/library/fcntl.po b/library/fcntl.po index 0c3682867..5b19e2198 100644 --- a/library/fcntl.po +++ b/library/fcntl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -28,7 +28,7 @@ msgid "" "`ioctl(2)` Unix manual pages." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -110,7 +110,7 @@ msgstr "" msgid "If the :c:func:`fcntl` fails, an :exc:`OSError` is raised." msgstr "" -#: library/fcntl.rst:88 +#: library/fcntl.rst:20 msgid "" "Raises an :ref:`auditing event ` ``fcntl.fcntl`` with arguments " "``fd``, ``cmd``, ``arg``." @@ -176,7 +176,7 @@ msgstr "" msgid "An example::" msgstr "" -#: library/fcntl.rst:139 +#: library/fcntl.rst:47 msgid "" "Raises an :ref:`auditing event ` ``fcntl.ioctl`` with arguments " "``fd``, ``request``, ``arg``." @@ -194,7 +194,7 @@ msgstr "" msgid "If the :c:func:`flock` fails, an :exc:`OSError` exception is raised." msgstr "" -#: library/fcntl.rst:151 +#: library/fcntl.rst:8 msgid "" "Raises an :ref:`auditing event ` ``fcntl.flock`` with arguments " "``fd``, ``operation``." @@ -259,7 +259,7 @@ msgid "" "file. The default for *whence* is also 0." msgstr "" -#: library/fcntl.rst:186 +#: library/fcntl.rst:31 msgid "" "Raises an :ref:`auditing event ` ``fcntl.lockf`` with arguments " "``fd``, ``cmd``, ``len``, ``start``, ``whence``." diff --git a/library/ftplib.po b/library/ftplib.po index 59085906b..d2364c13e 100644 --- a/library/ftplib.po +++ b/library/ftplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgstr "" msgid "The default encoding is UTF-8, following :rfc:`2640`." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -207,7 +207,7 @@ msgid "" "port)`` for the socket to bind to as its source address before connecting." msgstr "" -#: library/ftplib.rst:221 +#: library/ftplib.rst:13 msgid "" "Raises an :ref:`auditing event ` ``ftplib.connect`` with arguments " "``self``, ``host``, ``port``." @@ -243,7 +243,7 @@ msgid "" "Send a simple command string to the server and return the response string." msgstr "" -#: library/ftplib.rst:265 +#: library/ftplib.rst:5 msgid "" "Raises an :ref:`auditing event ` ``ftplib.sendcmd`` with arguments " "``self``, ``cmd``." diff --git a/library/functions.po b/library/functions.po index 5053b41b7..46038e09a 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: 2022-12-28 14:55-0500\n" "Last-Translator: \n" "Language-Team: TURKISH\n" @@ -494,7 +494,7 @@ msgstr "" "Eğer ön ek olarak \"0b\" isteniyorsa veya istenmiyorsa, aşağıdaki gibi iki " "şekilde de kullanabilirsiniz." -#: library/functions.rst:831 library/functions.rst:1144 +#: library/functions.rst:834 library/functions.rst:1151 msgid "See also :func:`format` for more information." msgstr "Ayrıca daha fazla bilgi için :func:`format` 'a bakabilirsiniz." @@ -514,7 +514,7 @@ msgstr "" "sınıfıdır (bkz. :ref:`typesnumeric`). Daha fazla alt sınıfa ayrılamaz. Bunun " "tek örnekleri ``False`` ve ``True`` 'dur (bkz. :ref:`bltin-boolean-values`)." -#: library/functions.rst:696 library/functions.rst:916 +#: library/functions.rst:699 library/functions.rst:923 msgid "*x* is now a positional-only parameter." msgstr "*x* artık yalnızca konumsal bir parametredir." @@ -541,7 +541,7 @@ msgstr "" "ayıklayıcıya girmenize izin verir. Eğer :func:`sys.breakpointhook` " "ulaşılabilir değilse, bu fonksiyon :exc:`RuntimeError` hatasını verecektir." -#: library/functions.rst:171 +#: library/functions.rst:13 msgid "" "Raises an :ref:`auditing event ` ``builtins.breakpoint`` with " "argument ``breakpointhook``." @@ -862,7 +862,7 @@ msgstr "" "Python kodunu onun AST temsiline ayrıştırmak isterseniz, :func:`ast.parse` " "'a bakınız." -#: library/functions.rst:334 +#: library/functions.rst:47 msgid "" "Raises an :ref:`auditing event ` ``compile`` with arguments " "``source``, ``filename``." @@ -971,7 +971,7 @@ msgstr "" msgid "The complex type is described in :ref:`typesnumeric`." msgstr "Karmaşık tür, :ref:`typesnumeric` kısmında açıklanmıştır." -#: library/functions.rst:693 library/functions.rst:913 +#: library/functions.rst:696 library/functions.rst:920 msgid "Grouping digits with underscores as in code literals is allowed." msgstr "" "Rakamların, kod sabitlerinde olduğu gibi alt çizgi ile gruplandırılmasına " @@ -1233,7 +1233,7 @@ msgstr "" "değerlendirebilen bir fonksiyon arıyorsanız, :func:`ast.literal_eval` 'a " "bakınız." -#: library/functions.rst:600 +#: library/functions.rst:43 msgid "" "Raises an :ref:`auditing event ` ``exec`` with argument " "``code_object``." @@ -1385,14 +1385,15 @@ msgid "Return a floating point number constructed from a number or string *x*." msgstr "Bir numara veya string *x* 'ten oluşturulan bir reel sayı döndürür." #: library/functions.rst:647 +#, fuzzy msgid "" "If the argument is a string, it should contain a decimal number, optionally " "preceded by a sign, and optionally embedded in whitespace. The optional " "sign may be ``'+'`` or ``'-'``; a ``'+'`` sign has no effect on the value " "produced. The argument may also be a string representing a NaN (not-a-" "number), or positive or negative infinity. More precisely, the input must " -"conform to the following grammar after leading and trailing whitespace " -"characters are removed:" +"conform to the ``floatvalue`` production rule in the following grammar, " +"after leading and trailing whitespace characters are removed:" msgstr "" "Eğer argüman dize ise, bir ondalık sayı içermelidir. isteğe bağlı olarak " "önünde bir işaret bulunabilir veya boşluk içine gömülebilir. Opsiyonel " @@ -1402,19 +1403,20 @@ msgstr "" "karakterleri kaldırıldıktan sonra veri girişi aşağıdaki dilbilgisine uygun " "olmalıdır:" -#: library/functions.rst:662 +#: library/functions.rst:665 +#, fuzzy msgid "" -"Here ``floatnumber`` is the form of a Python floating-point literal, " -"described in :ref:`floating`. Case is not significant, so, for example, " -"\"inf\", \"Inf\", \"INFINITY\", and \"iNfINity\" are all acceptable " -"spellings for positive infinity." +"Here ``digit`` is a Unicode decimal digit (character in the Unicode general " +"category ``Nd``). Case is not significant, so, for example, \"inf\", " +"\"Inf\", \"INFINITY\", and \"iNfINity\" are all acceptable spellings for " +"positive infinity." msgstr "" ":ref:`floating` kısmında açıklanan ``floatnumber``, Python floating-point " "tanımının farklı bir biçimidir. Durum önemli değildir, örneğin \"inf\", " "\"Inf\", \"INFINITY\" ve \"iNfINity\" hepsi pozitif sonsuz için kabul " "edilebilir yazımlardır." -#: library/functions.rst:667 +#: library/functions.rst:670 msgid "" "Otherwise, if the argument is an integer or a floating point number, a " "floating point number with the same value (within Python's floating point " @@ -1425,7 +1427,7 @@ msgstr "" "sayı döndürülür. Eğer argüman Python reel sayı aralığının dışındaysa, :exc:" "`OverflowError` hatası ortaya çıkar." -#: library/functions.rst:672 +#: library/functions.rst:675 msgid "" "For a general Python object ``x``, ``float(x)`` delegates to ``x." "__float__()``. If ``__float__()`` is not defined then it falls back to :" @@ -1435,24 +1437,24 @@ msgstr "" "fonksiyonuna delege eder. Eğer ``__float__()`` tanımlanmamışsa, :meth:" "`__index__` 'e geri döner." -#: library/functions.rst:676 +#: library/functions.rst:679 msgid "If no argument is given, ``0.0`` is returned." msgstr "Argüman verilmediyse, ``0.0`` döndürülür." -#: library/functions.rst:678 +#: library/functions.rst:681 msgid "Examples::" msgstr "Örnekler::" -#: library/functions.rst:691 +#: library/functions.rst:694 msgid "The float type is described in :ref:`typesnumeric`." msgstr "Float tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:699 +#: library/functions.rst:702 msgid "Falls back to :meth:`__index__` if :meth:`__float__` is not defined." msgstr "" ":meth:`__float__` tanımlanmadıysa, :meth:`__index__` konumuna geri döner." -#: library/functions.rst:709 +#: library/functions.rst:712 msgid "" "Convert a *value* to a \"formatted\" representation, as controlled by " "*format_spec*. The interpretation of *format_spec* will depend on the type " @@ -1465,7 +1467,7 @@ msgstr "" "tiplerde kullanılan :ref:`formatspec` adında bir standart biçimlendirme " "sözdizimi var." -#: library/functions.rst:714 +#: library/functions.rst:717 msgid "" "The default *format_spec* is an empty string which usually gives the same " "effect as calling :func:`str(value) `." @@ -1473,7 +1475,7 @@ msgstr "" "Varsayılan *format_spec*, :func:`str(value) ` fonksiyonunu çağırmakla " "aynı etkiyi gösteren boş bir dizedir." -#: library/functions.rst:717 +#: library/functions.rst:720 msgid "" "A call to ``format(value, format_spec)`` is translated to ``type(value)." "__format__(value, format_spec)`` which bypasses the instance dictionary when " @@ -1488,7 +1490,7 @@ msgstr "" "*format_spec* boş değilse, veya *format_spec* veya döndürülen değer dize " "değilse, :exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:724 +#: library/functions.rst:727 msgid "" "``object().__format__(format_spec)`` raises :exc:`TypeError` if " "*format_spec* is not an empty string." @@ -1496,7 +1498,7 @@ msgstr "" "*format_spec* boş bir dize değilse, ``object().__format__(format_spec)``, :" "exc:`TypeError` hatasını ortaya çıkartır." -#: library/functions.rst:733 +#: library/functions.rst:736 msgid "" "Return a new :class:`frozenset` object, optionally with elements taken from " "*iterable*. ``frozenset`` is a built-in class. See :class:`frozenset` and :" @@ -1507,7 +1509,7 @@ msgstr "" "hakkında dokümantasyona ulaşmak için :class:`frozenset` ve :ref:`types-set` " "'e bakınız." -#: library/functions.rst:737 +#: library/functions.rst:740 msgid "" "For other containers see the built-in :class:`set`, :class:`list`, :class:" "`tuple`, and :class:`dict` classes, as well as the :mod:`collections` module." @@ -1516,7 +1518,7 @@ msgstr "" "`tuple`, ve :class:`dict` sınıflarına, ayrıca :mod:`collections` modülüne " "bakabilirsiniz." -#: library/functions.rst:745 +#: library/functions.rst:748 msgid "" "Return the value of the named attribute of *object*. *name* must be a " "string. If the string is the name of one of the object's attributes, the " @@ -1533,7 +1535,7 @@ msgstr "" "ortaya çıkar. *name* bir Python tanımlayıcısı olmak zorunda değildir (:func:" "`setattr` bkz)." -#: library/functions.rst:754 +#: library/functions.rst:757 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -1544,7 +1546,7 @@ msgstr "" "gerçekleştiğinden dolayı, :func:`getattr` ile almak için özel bir niteliğin " "(baştaki iki alt çizgili nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:762 +#: library/functions.rst:765 msgid "" "Return the dictionary implementing the current module namespace. For code " "within functions, this is set when the function is defined and remains the " @@ -1554,7 +1556,7 @@ msgstr "" "için, bu fonksiyon tanımlandığında ayarlanır ve fonksiyonun çağrıldığı " "yerden bağımsız olarak aynı kalır." -#: library/functions.rst:769 +#: library/functions.rst:772 msgid "" "The arguments are an object and a string. The result is ``True`` if the " "string is the name of one of the object's attributes, ``False`` if not. " @@ -1566,7 +1568,7 @@ msgstr "" "'i çağırarak uygulanır ve :exc:`AttributeError` hatası oluşup oluşmayacağı " "görülür.)" -#: library/functions.rst:777 +#: library/functions.rst:780 msgid "" "Return the hash value of the object (if it has one). Hash values are " "integers. They are used to quickly compare dictionary keys during a " @@ -1579,7 +1581,7 @@ msgstr "" "değerler aynı karma değere sahiptir (1 ve 1.0 durumunda olduğu gibi farklı " "veri tiplerinde olsalar bile)." -#: library/functions.rst:784 +#: library/functions.rst:787 msgid "" "For objects with custom :meth:`__hash__` methods, note that :func:`hash` " "truncates the return value based on the bit width of the host machine. See :" @@ -1589,7 +1591,7 @@ msgstr "" "makinenin bit genişliğine göre döndürdüğü değeri kestiğini unutmayın. " "Detaylar için :meth:`__hash__` 'e bakınız." -#: library/functions.rst:791 +#: library/functions.rst:794 msgid "" "Invoke the built-in help system. (This function is intended for interactive " "use.) If no argument is given, the interactive help system starts on the " @@ -1605,7 +1607,7 @@ msgstr "" "dizeye bakılır ve bir yardım sayfası konsola bastırılır. Eğer argüman başka " "tipte bir nesne ise, nesne üzerinde bir yardım sayfası oluşturulur." -#: library/functions.rst:798 +#: library/functions.rst:801 msgid "" "Note that if a slash(/) appears in the parameter list of a function when " "invoking :func:`help`, it means that the parameters prior to the slash are " @@ -1618,13 +1620,13 @@ msgstr "" "konumsalparametrelerle ilgili SSS girişi ` " "'ne bakınız." -#: library/functions.rst:803 +#: library/functions.rst:806 msgid "" "This function is added to the built-in namespace by the :mod:`site` module." msgstr "" "Bu fonksiyon :mod:`site` modülü tarafından yerleşik ad alanına eklenir." -#: library/functions.rst:805 +#: library/functions.rst:808 msgid "" "Changes to :mod:`pydoc` and :mod:`inspect` mean that the reported signatures " "for callables are now more comprehensive and consistent." @@ -1633,7 +1635,7 @@ msgstr "" "için rapor edilen damgaların artık daha kapsamlı ve tutarlı olduğunu ifade " "eder." -#: library/functions.rst:812 +#: library/functions.rst:815 msgid "" "Convert an integer number to a lowercase hexadecimal string prefixed with " "\"0x\". If *x* is not a Python :class:`int` object, it has to define an :" @@ -1643,7 +1645,7 @@ msgstr "" "dizeye dönüştürür. Eğer *x* Python :class:`int` nesnesi değilse, tam sayı " "döndüren bir :meth:`__index__` metoduna sahip olmalidir. Bazı örnekler:" -#: library/functions.rst:821 +#: library/functions.rst:824 msgid "" "If you want to convert an integer number to an uppercase or lower " "hexadecimal string with prefix or not, you can use either of the following " @@ -1652,7 +1654,7 @@ msgstr "" "Eğer bir tam sayıyı büyük harf-küçük harf, önekli-öneksiz bir onaltılık " "sayıya dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz:" -#: library/functions.rst:833 +#: library/functions.rst:836 msgid "" "See also :func:`int` for converting a hexadecimal string to an integer using " "a base of 16." @@ -1660,7 +1662,7 @@ msgstr "" "Ayrıca onaltılık bir dizgiyi 16 tabanını kullanarak bir tam sayıya " "dönüştürmek için :func:`int` 'e bakınız." -#: library/functions.rst:838 +#: library/functions.rst:841 msgid "" "To obtain a hexadecimal string representation for a float, use the :meth:" "`float.hex` method." @@ -1668,7 +1670,7 @@ msgstr "" "Bir gerçel sayıdan onaltılık bir dize gösterimi elde etmek için :meth:`float." "hex` metodunu kullanın." -#: library/functions.rst:844 +#: library/functions.rst:847 msgid "" "Return the \"identity\" of an object. This is an integer which is " "guaranteed to be unique and constant for this object during its lifetime. " @@ -1679,11 +1681,11 @@ msgstr "" "sabit olduğu garanti edilen bir tam sayıdır. Ömürleri örtüşmeyen iki nesne " "aynı :func:`id` değerine sahip olabilir." -#: library/functions.rst:849 +#: library/functions.rst:852 msgid "This is the address of the object in memory." msgstr "Bu, bellekteki nesnenin adresidir." -#: library/functions.rst:851 +#: library/functions.rst:8 msgid "" "Raises an :ref:`auditing event ` ``builtins.id`` with argument " "``id``." @@ -1691,7 +1693,7 @@ msgstr "" "``id`` argümanıyla beraber bir :ref:`denetleme olayı ` ``builtins." "id`` ortaya çıkartır." -#: library/functions.rst:857 +#: library/functions.rst:860 msgid "" "If the *prompt* argument is present, it is written to standard output " "without a trailing newline. The function then reads a line from input, " @@ -1703,7 +1705,7 @@ msgstr "" "bir dizeye çevirip (sondaki yeni satırı çıkartır) döndürür. EOF " "okunduğunda, :exc:`EOFError` istisnası ortaya çıkar. Örnek::" -#: library/functions.rst:867 +#: library/functions.rst:870 msgid "" "If the :mod:`readline` module was loaded, then :func:`input` will use it to " "provide elaborate line editing and history features." @@ -1711,7 +1713,7 @@ msgstr "" "Eğer :mod:`readline` modülü yüklendiyse, :func:`input` ayrıntılı satır " "düzenleme ve geçmiş özellikleri sağlamak için onu kullanacaktır." -#: library/functions.rst:870 +#: library/functions.rst:14 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt``." @@ -1719,7 +1721,7 @@ msgstr "" "``prompt`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input`` ortaya çıkartır." -#: library/functions.rst:872 +#: library/functions.rst:875 msgid "" "Raises an :ref:`auditing event ` ``builtins.input`` with argument " "``prompt`` before reading input" @@ -1727,7 +1729,7 @@ msgstr "" "Girişi okumadan önce, ``prompt`` argümanıyla birlikte bir :ref:`denetleme " "olayı ` ``builtins.input`` ortaya çıkartır" -#: library/functions.rst:875 +#: library/functions.rst:19 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "argument ``result``." @@ -1735,7 +1737,7 @@ msgstr "" "``result`` argümanıyla birlikte bir :ref:`denetleme olayı ` " "``builtins.input/result`` ortaya çıkartır." -#: library/functions.rst:877 +#: library/functions.rst:880 msgid "" "Raises an :ref:`auditing event ` ``builtins.input/result`` with " "the result after successfully reading input." @@ -1743,7 +1745,7 @@ msgstr "" "Girişi başarıyla okuduktan sonra sonuçla birlikte bir :ref:`auditing event " "` ``builtins.input/result`` denetleme olayı ortaya çıkarır." -#: library/functions.rst:884 +#: library/functions.rst:887 msgid "" "Return an integer object constructed from a number or string *x*, or return " "``0`` if no arguments are given. If *x* defines :meth:`__int__`, ``int(x)`` " @@ -1757,20 +1759,28 @@ msgstr "" "__index__()`` 'i döndürür. *x* :meth:`__trunc__` 'ı içeriyorsa, ``x." "__trunc__()`` 'ı döndürür. Gerçel sayılar için, sayı tam sayıya çevrilir." -#: library/functions.rst:891 +#: library/functions.rst:894 msgid "" "If *x* is not a number or if *base* is given, then *x* must be a string, :" -"class:`bytes`, or :class:`bytearray` instance representing an :ref:`integer " -"literal ` in radix *base*. Optionally, the literal can be " -"preceded by ``+`` or ``-`` (with no space in between) and surrounded by " -"whitespace. A base-n literal consists of the digits 0 to n-1, with ``a`` to " -"``z`` (or ``A`` to ``Z``) having values 10 to 35. The default *base* is 10. " -"The allowed values are 0 and 2--36. Base-2, -8, and -16 literals can be " -"optionally prefixed with ``0b``/``0B``, ``0o``/``0O``, or ``0x``/``0X``, as " -"with integer literals in code. Base 0 means to interpret exactly as a code " -"literal, so that the actual base is 2, 8, 10, or 16, and so that " -"``int('010', 0)`` is not legal, while ``int('010')`` is, as well as " -"``int('010', 8)``." +"class:`bytes`, or :class:`bytearray` instance representing an integer in " +"radix *base*. Optionally, the string can be preceded by ``+`` or ``-`` " +"(with no space in between), have leading zeros, be surrounded by whitespace, " +"and have single underscores interspersed between digits." +msgstr "" + +#: library/functions.rst:900 +#, fuzzy +msgid "" +"A base-n integer string contains digits, each representing a value from 0 to " +"n-1. The values 0--9 can be represented by any Unicode decimal digit. The " +"values 10--35 can be represented by ``a`` to ``z`` (or ``A`` to ``Z``). The " +"default *base* is 10. The allowed bases are 0 and 2--36. Base-2, -8, and -16 " +"strings can be optionally prefixed with ``0b``/``0B``, ``0o``/``0O``, or " +"``0x``/``0X``, as with integer literals in code. For base 0, the string is " +"interpreted in a similar way to an :ref:`integer literal in code " +"`, in that the actual base is 2, 8, 10, or 16 as determined by the " +"prefix. Base 0 also disallows leading zeros: ``int('010', 0)`` is not legal, " +"while ``int('010')`` and ``int('010', 8)`` are." msgstr "" "Eğer *x* bir numara değilse veya *base* verildiyse, *x* bir dize, :class:" "`bytes` veya kök *base* 'inde bir :ref:`tamsayı sabiti ` temsil " @@ -1785,11 +1795,11 @@ msgstr "" "``int('010', 0)`` legal değilken, ``int('010')`` veya ``int('010', 8)`` " "legaldir." -#: library/functions.rst:904 +#: library/functions.rst:911 msgid "The integer type is described in :ref:`typesnumeric`." msgstr "Tam sayı tipi :ref:`typesnumeric` kısmında açıklandı." -#: library/functions.rst:906 +#: library/functions.rst:913 msgid "" "If *base* is not an instance of :class:`int` and the *base* object has a :" "meth:`base.__index__ ` method, that method is called to " @@ -1801,15 +1811,15 @@ msgstr "" "tamsayı elde etmek için çağrılır. Önceki sürümler :meth:`base.__index__ " "` yerine :meth:`base.__int__ ` 'i kullandı." -#: library/functions.rst:919 +#: library/functions.rst:926 msgid "Falls back to :meth:`__index__` if :meth:`__int__` is not defined." msgstr ":meth:`__int__` tanımlı değilse :meth:`__index__` konumuna geri döner." -#: library/functions.rst:922 +#: library/functions.rst:929 msgid "The delegation to :meth:`__trunc__` is deprecated." msgstr ":meth:`__trunc__` yetkisi kullanımdan kaldırıldı." -#: library/functions.rst:925 +#: library/functions.rst:932 msgid "" ":class:`int` string inputs and string representations can be limited to help " "avoid denial of service attacks. A :exc:`ValueError` is raised when the " @@ -1825,7 +1835,7 @@ msgstr "" "ortaya çıkar. :ref:`tam sayı dönüştürme uzunluk sınırlaması " "` dokümanına bakın." -#: library/functions.rst:935 +#: library/functions.rst:942 msgid "" "Return ``True`` if the *object* argument is an instance of the *classinfo* " "argument, or of a (direct, indirect, or :term:`virtual `) of *classinfo*. A class is considered a " @@ -1869,7 +1879,7 @@ msgstr "" "birinin alt sınıfıysa ``True`` döndürülür. Diğer her durumda, :exc:" "`TypeError` hatası ortaya çıkar." -#: library/functions.rst:967 +#: library/functions.rst:974 msgid "" "Return an :term:`iterator` object. The first argument is interpreted very " "differently depending on the presence of the second argument. Without a " @@ -1895,11 +1905,11 @@ msgstr "" "döndürülen değer *sentinel* 'e eşitse, :exc:`StopIteration` hatası ortaya " "çıkar, aksi takdirde değer döndürülür." -#: library/functions.rst:980 +#: library/functions.rst:987 msgid "See also :ref:`typeiter`." msgstr "Ayrıca :ref:`typeiter` bkz." -#: library/functions.rst:982 +#: library/functions.rst:989 msgid "" "One useful application of the second form of :func:`iter` is to build a " "block-reader. For example, reading fixed-width blocks from a binary database " @@ -1909,7 +1919,7 @@ msgstr "" "okuyucu inşaa etmektir. Örnek olarak, dosyanın sonuna ulaşılana kadar ikili " "bir veritabanı dosyasından sabit genişlikte bloklar okunurken::" -#: library/functions.rst:994 +#: library/functions.rst:1001 msgid "" "Return the length (the number of items) of an object. The argument may be a " "sequence (such as a string, bytes, tuple, list, or range) or a collection " @@ -1919,7 +1929,7 @@ msgstr "" "(örneğin dize, bytes, demet, liste veya aralık) veya bir koleksiyon (örneğin " "sözlük, küme veya dondurulmuş küme) olabilir." -#: library/functions.rst:1000 +#: library/functions.rst:1007 msgid "" "``len`` raises :exc:`OverflowError` on lengths larger than :data:`sys." "maxsize`, such as :class:`range(2 ** 100) `." @@ -1927,7 +1937,7 @@ msgstr "" "``len``, :class:`range(2 ** 100) ` gibi :data:`sys.maxsize` 'dan daha " "geniş uzunluklar için :exc:`OverflowError` hatası ortaya çıkartır." -#: library/functions.rst:1009 +#: library/functions.rst:1016 msgid "" "Rather than being a function, :class:`list` is actually a mutable sequence " "type, as documented in :ref:`typesseq-list` and :ref:`typesseq`." @@ -1935,7 +1945,7 @@ msgstr "" "Bir fonksiyon görevi görmektense, :ref:`typesseq-list` ve :ref:`typesseq` de " "anlatıldığı gibi :class:`list` bir değiştirebilir dizi çeşididir." -#: library/functions.rst:1015 +#: library/functions.rst:1022 msgid "" "Update and return a dictionary representing the current local symbol table. " "Free variables are returned by :func:`locals` when it is called in function " @@ -1948,7 +1958,7 @@ msgstr "" "Unutmayın ki modül seviyesinde, :func:`locals` ve :func:`globals` aynı " "sözlüklerdir." -#: library/functions.rst:1021 +#: library/functions.rst:1028 msgid "" "The contents of this dictionary should not be modified; changes may not " "affect the values of local and free variables used by the interpreter." @@ -1957,7 +1967,7 @@ msgstr "" "tarafından kullanılan yerel ve serbest değişkenlerin değerlerini " "etkilemeyebilir." -#: library/functions.rst:1026 +#: library/functions.rst:1033 msgid "" "Return an iterator that applies *function* to every item of *iterable*, " "yielding the results. If additional *iterables* arguments are passed, " @@ -1974,7 +1984,7 @@ msgstr "" "girdilerinin zaten demetler halinde verildiği durumlar için, :func:" "`itertools.starmap`\\ 'a bakın." -#: library/functions.rst:1038 +#: library/functions.rst:1045 msgid "" "Return the largest item in an iterable or the largest of two or more " "arguments." @@ -1982,7 +1992,7 @@ msgstr "" "Bir yineleyicinin veya birden fazla parametrenin en büyük elementini " "döndürür." -#: library/functions.rst:1041 +#: library/functions.rst:1048 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The largest item in the iterable is returned. If two or more positional " @@ -1993,7 +2003,7 @@ msgstr "" "pozisyonel parametre sağlandıysa, pozisyonel parametrelerin en büyüğü " "döndürülür." -#: library/functions.rst:1084 +#: library/functions.rst:1091 msgid "" "There are two optional keyword-only arguments. The *key* argument specifies " "a one-argument ordering function like that used for :meth:`list.sort`. The " @@ -2007,7 +2017,7 @@ msgstr "" "döndürülecek nesneyi belirtir. Eğer yineleyici boş ve *varsayılan* " "verilmemiş ise, :exc:`ValueError` hatası ortaya çıkar." -#: library/functions.rst:1052 +#: library/functions.rst:1059 msgid "" "If multiple items are maximal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2019,15 +2029,15 @@ msgstr "" "iterable, key=keyfunc)`` gibi sıralama kararlılığı muhafaza eden araçlar ile " "uygundur." -#: library/functions.rst:1095 +#: library/functions.rst:1102 msgid "The *default* keyword-only argument." msgstr "*varsayılan* yalnızca anahtar kelime parametresi." -#: library/functions.rst:1098 +#: library/functions.rst:1105 msgid "The *key* can be ``None``." msgstr "*key* ``None`` olabilir." -#: library/functions.rst:1068 +#: library/functions.rst:1075 msgid "" "Return a \"memory view\" object created from the given argument. See :ref:" "`typememoryview` for more information." @@ -2035,7 +2045,7 @@ msgstr "" "Verilen argümandan oluşturulan bir \"memory view\" objesi döndürür. Daha " "fazla bilgi için :ref:`typememoryview` bkz." -#: library/functions.rst:1076 +#: library/functions.rst:1083 msgid "" "Return the smallest item in an iterable or the smallest of two or more " "arguments." @@ -2043,7 +2053,7 @@ msgstr "" "Bir yineleyicideki en küçük elementi veya birden fazla argümandan en " "küçüğünü döndürür." -#: library/functions.rst:1079 +#: library/functions.rst:1086 msgid "" "If one positional argument is provided, it should be an :term:`iterable`. " "The smallest item in the iterable is returned. If two or more positional " @@ -2053,7 +2063,7 @@ msgstr "" "Yineleyicinin en küçük elementi döndürülür. Eğer birden fazla argüman " "sağlandıysa, argümanların en küçüğü döndürülür." -#: library/functions.rst:1090 +#: library/functions.rst:1097 msgid "" "If multiple items are minimal, the function returns the first one " "encountered. This is consistent with other sort-stability preserving tools " @@ -2065,7 +2075,7 @@ msgstr "" "key=keyfunc)`` gibi diğer sıralama kararlılığını koruma araçlarıyla tutarlı " "çalışır." -#: library/functions.rst:1105 +#: library/functions.rst:1112 msgid "" "Retrieve the next item from the :term:`iterator` by calling its :meth:" "`~iterator.__next__` method. If *default* is given, it is returned if the " @@ -2075,7 +2085,7 @@ msgstr "" "elementi getirir. Eğer *default* verildiyse ve yineleyici tükenmiş ise " "*default* döndürülür, aksi takdirde :exc:`StopIteration` hatası ortaya çıkar." -#: library/functions.rst:1112 +#: library/functions.rst:1119 msgid "" "Return a new featureless object. :class:`object` is a base for all classes. " "It has methods that are common to all instances of Python classes. This " @@ -2085,7 +2095,7 @@ msgstr "" "temeldir. Tüm Python sınıflarında bulunan genel metotları içerir. Bu " "fonksiyon hiçbir argüman kabul etmez." -#: library/functions.rst:1118 +#: library/functions.rst:1125 msgid "" ":class:`object` does *not* have a :attr:`~object.__dict__`, so you can't " "assign arbitrary attributes to an instance of the :class:`object` class." @@ -2093,7 +2103,7 @@ msgstr "" ":class:`object`, :attr:`~object.__dict__` özelliğine sahip *değildir*, yani " "bir :class:`object` örneğine keyfi özellikler atayamazsınız." -#: library/functions.rst:1124 +#: library/functions.rst:1131 msgid "" "Convert an integer number to an octal string prefixed with \"0o\". The " "result is a valid Python expression. If *x* is not a Python :class:`int` " @@ -2104,7 +2114,7 @@ msgstr "" "Python ifadesidir. Eğer *x* bir Python :class:`int` nesnesi değilse, tamsayı " "döndüren bir :meth:`__index__` metoduna sahip olmalıdır. Örnek olarak:" -#: library/functions.rst:1134 +#: library/functions.rst:1141 msgid "" "If you want to convert an integer number to an octal string either with the " "prefix \"0o\" or not, you can use either of the following ways." @@ -2112,7 +2122,7 @@ msgstr "" "Eğer bir tamsayıyı \"0o\" ön ekiyle veya ön eksiz oktal bir dizeye " "dönüştürmek istiyorsanız, aşağıdaki yolları kullanabilirsiniz." -#: library/functions.rst:1151 +#: library/functions.rst:1158 msgid "" "Open *file* and return a corresponding :term:`file object`. If the file " "cannot be opened, an :exc:`OSError` is raised. See :ref:`tut-files` for more " @@ -2122,7 +2132,7 @@ msgstr "" "dosya açılamazsa, :exc:`OSError` hatası ortaya çıkar. Bu fonksiyonun nasıl " "kullanıldığına dair daha fazla örnek için :ref:`tut-files` bkz." -#: library/functions.rst:1155 +#: library/functions.rst:1162 msgid "" "*file* is a :term:`path-like object` giving the pathname (absolute or " "relative to the current working directory) of the file to be opened or an " @@ -2136,7 +2146,7 @@ msgstr "" "açıklayıcısı veirldiyse, *closefd*, ``False`` 'a ayarlanmadığı sürece I/O " "nesnesi kapatıldığında kapatılır." -#: library/functions.rst:1161 +#: library/functions.rst:1168 msgid "" "*mode* is an optional string that specifies the mode in which the file is " "opened. It defaults to ``'r'`` which means open for reading in text mode. " @@ -2160,71 +2170,71 @@ msgstr "" "(İşlenmemiş baytlar okumak veya yazmak için ikili modu kullanın ve " "*encoding* 'i boş bırakın. Geçerli modlar:" -#: library/functions.rst:1178 +#: library/functions.rst:1185 msgid "Character" msgstr "Karakter" -#: library/functions.rst:1178 +#: library/functions.rst:1185 msgid "Meaning" msgstr "Anlam" -#: library/functions.rst:1180 +#: library/functions.rst:1187 msgid "``'r'``" msgstr "``'r'``" -#: library/functions.rst:1180 +#: library/functions.rst:1187 msgid "open for reading (default)" msgstr "okumaya açık (varsayılan)" -#: library/functions.rst:1181 +#: library/functions.rst:1188 msgid "``'w'``" msgstr "``'w'``" -#: library/functions.rst:1181 +#: library/functions.rst:1188 msgid "open for writing, truncating the file first" msgstr "yazmaya açık, önce dosyayı keser" -#: library/functions.rst:1182 +#: library/functions.rst:1189 msgid "``'x'``" msgstr "``'x'``" -#: library/functions.rst:1182 +#: library/functions.rst:1189 msgid "open for exclusive creation, failing if the file already exists" msgstr "ayrıcalıklı oluşturma için açık, dosya varsa hata verir" -#: library/functions.rst:1183 +#: library/functions.rst:1190 msgid "``'a'``" msgstr "``'a'``" -#: library/functions.rst:1183 +#: library/functions.rst:1190 msgid "open for writing, appending to the end of file if it exists" msgstr "yazmaya açık, eğer dosya bulunuyorsa dosyaya ekleme yapar" -#: library/functions.rst:1184 +#: library/functions.rst:1191 msgid "``'b'``" msgstr "``'b'``" -#: library/functions.rst:1184 +#: library/functions.rst:1191 msgid "binary mode" msgstr "ikili mod" -#: library/functions.rst:1185 +#: library/functions.rst:1192 msgid "``'t'``" msgstr "``'t'``" -#: library/functions.rst:1185 +#: library/functions.rst:1192 msgid "text mode (default)" msgstr "metin modu (varsayılan)" -#: library/functions.rst:1186 +#: library/functions.rst:1193 msgid "``'+'``" msgstr "``'+'``" -#: library/functions.rst:1186 +#: library/functions.rst:1193 msgid "open for updating (reading and writing)" msgstr "güncellemeye açık (okuma ve yazma)" -#: library/functions.rst:1189 +#: library/functions.rst:1196 msgid "" "The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). " "Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and " @@ -2234,7 +2244,7 @@ msgstr "" "``'w+'`` ve ``'w+b'`` modları dosyayı açar ve temizlerler. ``'r+'`` ve " "``'r+b'`` modları dosyayı temizlemeden açarlar." -#: library/functions.rst:1193 +#: library/functions.rst:1200 msgid "" "As mentioned in the :ref:`io-overview`, Python distinguishes between binary " "and text I/O. Files opened in binary mode (including ``'b'`` in the *mode* " @@ -2252,7 +2262,7 @@ msgstr "" "platforma bağlı bir kodlayıcı veya belirtilen *encoding* 'i kullanarak " "deşifre edilir." -#: library/functions.rst:1203 +#: library/functions.rst:1210 msgid "" "Python doesn't depend on the underlying operating system's notion of text " "files; all the processing is done by Python itself, and is therefore " @@ -2262,7 +2272,7 @@ msgstr "" "değildir. Tüm işlemler Python'un kendisi tarafından yapılır ve bu yüzden de " "platformdan bağımsızdır." -#: library/functions.rst:1207 +#: library/functions.rst:1214 msgid "" "*buffering* is an optional integer used to set the buffering policy. Pass 0 " "to switch buffering off (only allowed in binary mode), 1 to select line " @@ -2286,7 +2296,7 @@ msgstr "" "bayrağını kullanmayı düşünün. *arabelleğe alma* bağımsız değişkeni " "verilmediğinde, varsayılan arabelleğe alma ilkesi şu şekilde çalışır:" -#: library/functions.rst:1217 +#: library/functions.rst:1224 msgid "" "Binary files are buffered in fixed-size chunks; the size of the buffer is " "chosen using a heuristic trying to determine the underlying device's \"block " @@ -2298,7 +2308,7 @@ msgstr "" "kullanılarak seçilir ve :attr:`io.DEFAULT_BUFFER_SIZE` değerine düşer. Çoğu " "sistemde, arabellek 4096 veya 8192 bayt uzunluğunda olacaktır." -#: library/functions.rst:1222 +#: library/functions.rst:1229 msgid "" "\"Interactive\" text files (files for which :meth:`~io.IOBase.isatty` " "returns ``True``) use line buffering. Other text files use the policy " @@ -2308,7 +2318,7 @@ msgstr "" "döndürdüğü dosyalar) satır arabelleğe almayı kullanır. Diğer metin dosyaları " "yukarıda ikili dosyalar için açıklanan poliçeyi kullanırlar." -#: library/functions.rst:1226 +#: library/functions.rst:1233 msgid "" "*encoding* is the name of the encoding used to decode or encode the file. " "This should only be used in text mode. The default encoding is platform " @@ -2323,7 +2333,7 @@ msgstr "" "kullanılabilir. Desteklenen kodlayıcıların listesi için :mod:`codecs` " "modülüne bkz." -#: library/functions.rst:1232 +#: library/functions.rst:1239 msgid "" "*errors* is an optional string that specifies how encoding and decoding " "errors are to be handled—this cannot be used in binary mode. A variety of " @@ -2337,7 +2347,7 @@ msgstr "" "`codecs.register_error` ile kaydedilen herhangi bir hata işleyici ismi de " "geçerlidir. Standart isimler bunları içerir:" -#: library/functions.rst:1240 +#: library/functions.rst:1247 msgid "" "``'strict'`` to raise a :exc:`ValueError` exception if there is an encoding " "error. The default value of ``None`` has the same effect." @@ -2346,7 +2356,7 @@ msgstr "" "yükseltmek için kullanılır. Varsayılan değer ``None`` ile aynı etkiyi " "gösterir." -#: library/functions.rst:1244 +#: library/functions.rst:1251 msgid "" "``'ignore'`` ignores errors. Note that ignoring encoding errors can lead to " "data loss." @@ -2354,7 +2364,7 @@ msgstr "" "``'ignore'`` hataları görmezden gelir. Kodlayıcı hatalarını görmezden " "gelmenin veri kaybı ile sonuçlanabileceğini unutmayın." -#: library/functions.rst:1247 +#: library/functions.rst:1254 msgid "" "``'replace'`` causes a replacement marker (such as ``'?'``) to be inserted " "where there is malformed data." @@ -2363,7 +2373,7 @@ msgstr "" "(``'?'`` gibi) 'nin hatalı biçimlendirilmiş verinin yerine geçmesine neden " "olur." -#: library/functions.rst:1250 +#: library/functions.rst:1257 msgid "" "``'surrogateescape'`` will represent any incorrect bytes as low surrogate " "code units ranging from U+DC80 to U+DCFF. These surrogate code units will " @@ -2377,7 +2387,7 @@ msgstr "" "baytlara geri döndürülecektir. Bu dosyaları bilinmeyen bir kodlayıcıyla " "işlerken kullanışlıdır." -#: library/functions.rst:1257 +#: library/functions.rst:1264 msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " @@ -2387,7 +2397,7 @@ msgstr "" "Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " "ile değiştirilir." -#: library/functions.rst:1261 +#: library/functions.rst:1268 msgid "" "``'backslashreplace'`` replaces malformed data by Python's backslashed " "escape sequences." @@ -2395,7 +2405,7 @@ msgstr "" "``'backslashreplace'`` Python'un ters slash kaçış karakterleri yüzünden " "oluşan hatalı veriyi değiştirir." -#: library/functions.rst:1264 +#: library/functions.rst:1271 msgid "" "``'namereplace'`` (also only supported when writing) replaces unsupported " "characters with ``\\N{...}`` escape sequences." @@ -2403,7 +2413,7 @@ msgstr "" "``'namereplace'`` (sadece yazarken desteklenir) desteklenmeyen karakterleri " "``\\N{...}`` kaçış karakterleriyle değiştirir." -#: library/functions.rst:1272 +#: library/functions.rst:1279 msgid "" "*newline* determines how to parse newline characters from the stream. It can " "be ``None``, ``''``, ``'\\n'``, ``'\\r'``, and ``'\\r\\n'``. It works as " @@ -2413,7 +2423,7 @@ msgstr "" "belirler. ``None``, ``''``, ``'\\n'``, ``'\\r'`` ve ``'\\r\\n'`` olabilir. " "Aşağıdaki gibi çalışır:" -#: library/functions.rst:1276 +#: library/functions.rst:1283 msgid "" "When reading input from the stream, if *newline* is ``None``, universal " "newlines mode is enabled. Lines in the input can end in ``'\\n'``, " @@ -2431,7 +2441,7 @@ msgstr "" "değer verildiyse, girdi satırları sadece verilen dize ile sonlanır ve satır " "sonu çağrıcıya çevrilmeden döndürülür." -#: library/functions.rst:1284 +#: library/functions.rst:1291 msgid "" "When writing output to the stream, if *newline* is ``None``, any ``'\\n'`` " "characters written are translated to the system default line separator, :" @@ -2445,7 +2455,7 @@ msgstr "" "yapılmaz. Eğer *newline* diğer uygun değerlerden biri ise, tüm ``'\\n'`` " "karakterleri verilen dizeye dönüştürülür." -#: library/functions.rst:1290 +#: library/functions.rst:1297 msgid "" "If *closefd* is ``False`` and a file descriptor rather than a filename was " "given, the underlying file descriptor will be kept open when the file is " @@ -2457,7 +2467,7 @@ msgstr "" "Eğer bir dosya adı verildiyse, *closefd* ``True`` olmalıdır (varsayılan); " "aksi takdirde, bir hata ortaya çıkar." -#: library/functions.rst:1295 +#: library/functions.rst:1302 msgid "" "A custom opener can be used by passing a callable as *opener*. The " "underlying file descriptor for the file object is then obtained by calling " @@ -2471,11 +2481,11 @@ msgstr "" "dosya tanımlayıcısı döndürmelidir (*opener* yerine :mod:`os.open` göndermek " "fonksiyonel olarak ``None`` göndermek ile benzer sonuçlanır)." -#: library/functions.rst:1301 +#: library/functions.rst:1308 msgid "The newly created file is :ref:`non-inheritable `." msgstr "Yeni oluşturulan dosya :ref:`non-inheritable ` 'dir." -#: library/functions.rst:1303 +#: library/functions.rst:1310 msgid "" "The following example uses the :ref:`dir_fd ` parameter of the :func:" "`os.open` function to open a file relative to a given directory::" @@ -2483,7 +2493,7 @@ msgstr "" "Aşağıdaki örnek verilen bir dizine ait bir dosyayı açmak için :func:`os." "open` fonksiyonunun :ref:`dir_fd ` parametresini kullanır:" -#: library/functions.rst:1316 +#: library/functions.rst:1323 msgid "" "The type of :term:`file object` returned by the :func:`open` function " "depends on the mode. When :func:`open` is used to open a file in a text " @@ -2509,7 +2519,7 @@ msgstr "" "olduğunda, ham akış, :class:`io.RawIOBase` 'in alt sınıfı, :class:`io." "FileIO` döndürülür." -#: library/functions.rst:1337 +#: library/functions.rst:1344 msgid "" "See also the file handling modules, such as :mod:`fileinput`, :mod:`io` " "(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:" @@ -2519,7 +2529,7 @@ msgstr "" "`os`, :mod:`os.path`, :mod:`tempfile`, ve :mod:`shutil` gibi dosya işleme " "modüllerine de bkz." -#: library/functions.rst:1341 +#: library/functions.rst:191 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``file``, " "``mode``, ``flags``." @@ -2527,7 +2537,7 @@ msgstr "" "``file``, ``mode``, ``flags`` parametreleriyle bir :ref:`audition event " "` ``open`` ortaya çıkartır." -#: library/functions.rst:1343 +#: library/functions.rst:1350 msgid "" "The ``mode`` and ``flags`` arguments may have been modified or inferred from " "the original call." @@ -2535,21 +2545,21 @@ msgstr "" "``mode`` ve ``flags`` parametreleri orijinal çağrı tarafından modifiye " "edilmiş veya çıkartılmış olabilir." -#: library/functions.rst:1348 +#: library/functions.rst:1355 msgid "The *opener* parameter was added." msgstr "*opener* parametresi eklendi." -#: library/functions.rst:1349 +#: library/functions.rst:1356 msgid "The ``'x'`` mode was added." msgstr "``'x'`` modu eklendi." -#: library/functions.rst:1350 +#: library/functions.rst:1357 msgid ":exc:`IOError` used to be raised, it is now an alias of :exc:`OSError`." msgstr "" "Eskiden :exc:`IOError` hatası ortaya çıkardı, şimdi :exc:`OSError` 'un takma " "adıdır." -#: library/functions.rst:1351 +#: library/functions.rst:1358 msgid "" ":exc:`FileExistsError` is now raised if the file opened in exclusive " "creation mode (``'x'``) already exists." @@ -2557,11 +2567,11 @@ msgstr "" "Artık eğer özel oluşturma modunda (``'x'``) açılmış dosyalar zaten " "bulunuyorsa :exc:`FileExistsError` hatası ortaya çıkar." -#: library/functions.rst:1356 +#: library/functions.rst:1363 msgid "The file is now non-inheritable." msgstr "Dosya artık miras alınamaz." -#: library/functions.rst:1360 +#: library/functions.rst:1367 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -2571,15 +2581,15 @@ msgstr "" "çıkartmazsa, artık fonksiyon :exc:`InterruptedError` hatası ortaya çıkartmak " "yerine sistem çağrısını yeniden dener (açıklama için :pep:`475` bkz)." -#: library/functions.rst:1363 +#: library/functions.rst:1370 msgid "The ``'namereplace'`` error handler was added." msgstr "``'namereplace'`` hata işleyicisi eklendi." -#: library/functions.rst:1367 +#: library/functions.rst:1374 msgid "Support added to accept objects implementing :class:`os.PathLike`." msgstr ":class:`os.PathLike` uygulayan nesneleri kabul etme desteği eklendi." -#: library/functions.rst:1368 +#: library/functions.rst:1375 msgid "" "On Windows, opening a console buffer may return a subclass of :class:`io." "RawIOBase` other than :class:`io.FileIO`." @@ -2587,11 +2597,11 @@ msgstr "" "Windows'da, bir konsol arabelleğinin açılması :class:`io.FileIO` dışında " "bir :class:`io.RawIOBase` alt sınıfını döndürebilir." -#: library/functions.rst:1371 +#: library/functions.rst:1378 msgid "The ``'U'`` mode has been removed." msgstr "``'U'`` modu kaldırıldı." -#: library/functions.rst:1376 +#: library/functions.rst:1383 msgid "" "Given a string representing one Unicode character, return an integer " "representing the Unicode code point of that character. For example, " @@ -2603,7 +2613,7 @@ msgstr "" "tamsayısını döndürür ve ``ord('€')`` (Euro simgesi) ``8364`` tamsayısını " "döndürür. Bu :func:`chr` 'nin tersidir." -#: library/functions.rst:1384 +#: library/functions.rst:1391 msgid "" "Return *base* to the power *exp*; if *mod* is present, return *base* to the " "power *exp*, modulo *mod* (computed more efficiently than ``pow(base, exp) % " @@ -2615,7 +2625,7 @@ msgstr "" "parametreli formu ``pow(base, exp)``, üs operatörü ``base**exp`` kullanmaya " "eş değerdir." -#: library/functions.rst:1389 +#: library/functions.rst:1396 msgid "" "The arguments must have numeric types. With mixed operand types, the " "coercion rules for binary arithmetic operators apply. For :class:`int` " @@ -2637,7 +2647,7 @@ msgstr "" "`float` tipinin negatif tabanı için, karmaşık bir sayı çıktı verilir. " "Örneğin, ``pow(-9, 0.5)``, ``3j`` 'ye yakın bir değer döndürür." -#: library/functions.rst:1399 +#: library/functions.rst:1406 msgid "" "For :class:`int` operands *base* and *exp*, if *mod* is present, *mod* must " "also be of integer type and *mod* must be nonzero. If *mod* is present and " @@ -2651,11 +2661,11 @@ msgstr "" "``pow(inv_base,-exp,mod)`` döndürülüri *inv_base, *base* mod *mod* 'un " "tersidir." -#: library/functions.rst:1405 +#: library/functions.rst:1412 msgid "Here's an example of computing an inverse for ``38`` modulo ``97``::" msgstr "Burada ``38`` mod ``97`` 'nin tersini işlemek için bir örnek var::" -#: library/functions.rst:1412 +#: library/functions.rst:1419 msgid "" "For :class:`int` operands, the three-argument form of ``pow`` now allows the " "second argument to be negative, permitting computation of modular inverses." @@ -2663,14 +2673,14 @@ msgstr "" ":class:`int` işlenenleri için, ``pow`` 'un üç parametreli formu artık ikinci " "parametrenin negatif olmasına, modüler terslerin hesaplanmasına izin verir." -#: library/functions.rst:1417 +#: library/functions.rst:1424 msgid "" "Allow keyword arguments. Formerly, only positional arguments were supported." msgstr "" "Anahtar kelime parametrelerine izin ver, önceden sadece pozisyonel " "parametreler desteklenirdi." -#: library/functions.rst:1424 +#: library/functions.rst:1431 msgid "" "Print *objects* to the text stream *file*, separated by *sep* and followed " "by *end*. *sep*, *end*, *file*, and *flush*, if present, must be given as " @@ -2680,7 +2690,7 @@ msgstr "" "şekilde *objects* 'i yazdırır. *sep*, *end, *file*, ve *flush* sunulursa " "anahtar kelime parametreleri olarak verilmelidir." -#: library/functions.rst:1428 +#: library/functions.rst:1435 msgid "" "All non-keyword arguments are converted to strings like :func:`str` does and " "written to the stream, separated by *sep* and followed by *end*. Both *sep* " @@ -2694,7 +2704,7 @@ msgstr "" "varsayılan değerler kullanılır. Eğer *objects* verilmediyse, :func:`print` " "sadece *end* 'i yazdırır." -#: library/functions.rst:1434 +#: library/functions.rst:1441 msgid "" "The *file* argument must be an object with a ``write(string)`` method; if it " "is not present or ``None``, :data:`sys.stdout` will be used. Since printed " @@ -2706,7 +2716,7 @@ msgstr "" "argümanlar metin dizelerine çevrildiğinden, :func:`print` ikili dosya " "nesneleri ile kullanılamaz. Bunlar için, ``file.write(...)`` 'ı kullanın." -#: library/functions.rst:1439 +#: library/functions.rst:1446 msgid "" "Whether the output is buffered is usually determined by *file*, but if the " "*flush* keyword argument is true, the stream is forcibly flushed." @@ -2714,15 +2724,15 @@ msgstr "" "Çıktının arabelleğe alınıp alınmadığı genellikle *file* tarafından " "belirlenir, ama *flush* argümanı doğru ise, akış zorla boşaltılır." -#: library/functions.rst:1442 +#: library/functions.rst:1449 msgid "Added the *flush* keyword argument." msgstr "*flush* anahtar kelimesi argümanı eklendi." -#: library/functions.rst:1448 +#: library/functions.rst:1455 msgid "Return a property attribute." msgstr "Bir özellik özelliği döndürür." -#: library/functions.rst:1450 +#: library/functions.rst:1457 msgid "" "*fget* is a function for getting an attribute value. *fset* is a function " "for setting an attribute value. *fdel* is a function for deleting an " @@ -2733,11 +2743,11 @@ msgstr "" "bir özelliğin değerini silmek için kullanılan bir fonksiyondur, ve *doc* " "özellik için bir belge dizisi oluşturur." -#: library/functions.rst:1454 +#: library/functions.rst:1461 msgid "A typical use is to define a managed attribute ``x``::" msgstr "Yönetilen bir ``x`` özelliği tanımlamak için tipik bir yöntem::" -#: library/functions.rst:1471 +#: library/functions.rst:1478 msgid "" "If *c* is an instance of *C*, ``c.x`` will invoke the getter, ``c.x = " "value`` will invoke the setter, and ``del c.x`` the deleter." @@ -2745,7 +2755,7 @@ msgstr "" "Eğer *c*, *C* 'nin bir örneğiyse, ``c.x``, alıcı fonksiyonu çağıracaktır. " "``c.x = value`` ayarlayıcı fonksiyonu, ``del c.x`` ise siliciyi çağıracaktır." -#: library/functions.rst:1474 +#: library/functions.rst:1481 msgid "" "If given, *doc* will be the docstring of the property attribute. Otherwise, " "the property will copy *fget*'s docstring (if it exists). This makes it " @@ -2757,7 +2767,7 @@ msgstr "" "kopyalayacaktır. Bu :func:`property` 'i :term:`decorator` olarak kullanarak " "kolayca salt-okunur özellikler oluşturmayı mümkün kılar::" -#: library/functions.rst:1487 +#: library/functions.rst:1494 msgid "" "The ``@property`` decorator turns the :meth:`voltage` method into a " "\"getter\" for a read-only attribute with the same name, and it sets the " @@ -2767,7 +2777,7 @@ msgstr "" "bir özellik için \"getter\" metoduna dönüştürür ve *voltage* için doküman " "dizisini \"Get the current voltage.\" olarak ayarlar." -#: library/functions.rst:1491 +#: library/functions.rst:1498 msgid "" "A property object has :attr:`~property.getter`, :attr:`~property.setter`, " "and :attr:`~property.deleter` methods usable as decorators that create a " @@ -2780,7 +2790,7 @@ msgstr "" "`~property.deleter` metotlarını içerir. Bu en iyi şekilde bir örnekle " "açıklanabilir::" -#: library/functions.rst:1513 +#: library/functions.rst:1520 msgid "" "This code is exactly equivalent to the first example. Be sure to give the " "additional functions the same name as the original property (``x`` in this " @@ -2789,7 +2799,7 @@ msgstr "" "Bu kod birinci örneğin tamamen eş değeridir. Orijinal özellikte olduğu gibi " "ekstra fonksiyonlara aynı ismi verdiğinizden emin olun (bu durumda ``x``)." -#: library/functions.rst:1517 +#: library/functions.rst:1524 msgid "" "The returned property object also has the attributes ``fget``, ``fset``, and " "``fdel`` corresponding to the constructor arguments." @@ -2797,11 +2807,11 @@ msgstr "" "Döndürülen property nesnesi yapıcı metotta verilen ``fget``, ``fset``, ve " "``fdel`` özelliklerine sahiptir." -#: library/functions.rst:1520 +#: library/functions.rst:1527 msgid "The docstrings of property objects are now writeable." msgstr "Property nesnelerinin doküman dizeleri artık yazılabilir." -#: library/functions.rst:1529 +#: library/functions.rst:1536 msgid "" "Rather than being a function, :class:`range` is actually an immutable " "sequence type, as documented in :ref:`typesseq-range` and :ref:`typesseq`." @@ -2810,7 +2820,7 @@ msgstr "" "tipidir. Daha fazla bilgi için :ref:`typesseq-range` ve :ref:`typesseq` 'e " "bakınız." -#: library/functions.rst:1535 +#: library/functions.rst:1542 msgid "" "Return a string containing a printable representation of an object. For " "many types, this function makes an attempt to return a string that would " @@ -2831,7 +2841,7 @@ msgstr "" "ne döndürdüğünü kontrol edebilir. :func:`sys.displayhook` erişilebilir " "değilse, bu fonksiyon :exc:`RuntimeError` değerini yükseltir." -#: library/functions.rst:1548 +#: library/functions.rst:1555 msgid "" "Return a reverse :term:`iterator`. *seq* must be an object which has a :" "meth:`__reversed__` method or supports the sequence protocol (the :meth:" @@ -2843,7 +2853,7 @@ msgstr "" "tam sayı argümanları alan bir :meth:`__getitem__` metodu) destekleyen bir " "nesne olmalıdır." -#: library/functions.rst:1556 +#: library/functions.rst:1563 msgid "" "Return *number* rounded to *ndigits* precision after the decimal point. If " "*ndigits* is omitted or is ``None``, it returns the nearest integer to its " @@ -2853,7 +2863,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise, *number* 'a en yakın tam sayı " "döndürülür." -#: library/functions.rst:1560 +#: library/functions.rst:1567 msgid "" "For the built-in types supporting :func:`round`, values are rounded to the " "closest multiple of 10 to the power minus *ndigits*; if two multiples are " @@ -2871,7 +2881,7 @@ msgstr "" "*ndigits* verilmediyse veya ``None`` ise döndürülen değer bir tam sayıdır. " "Aksi takdirde, döndürülen değerin tipi *number* 'ınkiyle aynıdır." -#: library/functions.rst:1569 +#: library/functions.rst:1576 msgid "" "For a general Python object ``number``, ``round`` delegates to ``number." "__round__``." @@ -2879,7 +2889,7 @@ msgstr "" "Genel bir Python nesnesi için ``number``, ``round`` ``number.__round__`` 'u " "temsil eder." -#: library/functions.rst:1574 +#: library/functions.rst:1581 msgid "" "The behavior of :func:`round` for floats can be surprising: for example, " "``round(2.675, 2)`` gives ``2.67`` instead of the expected ``2.68``. This is " @@ -2893,7 +2903,7 @@ msgstr "" "gösterilemeyeceğinden bu sonucu alıyoruz. Daha fazla bilgi için :ref:`tut-fp-" "issues` 'e bkz." -#: library/functions.rst:1586 +#: library/functions.rst:1593 msgid "" "Return a new :class:`set` object, optionally with elements taken from " "*iterable*. ``set`` is a built-in class. See :class:`set` and :ref:`types-" @@ -2903,7 +2913,7 @@ msgstr "" "nesnesi döndürür. ``set`` yerleşik bir sınıftır. Bu sınıf hakkında " "dokümantasyon için :class:`set` ve :ref:`types-set` 'e bakınız." -#: library/functions.rst:1590 +#: library/functions.rst:1597 msgid "" "For other containers see the built-in :class:`frozenset`, :class:`list`, :" "class:`tuple`, and :class:`dict` classes, as well as the :mod:`collections` " @@ -2913,7 +2923,7 @@ msgstr "" "`tuple` ve :class:`dict` sınıflarını; aynı zamanda :mod:`collections` " "modülüne bakınız." -#: library/functions.rst:1597 +#: library/functions.rst:1604 msgid "" "This is the counterpart of :func:`getattr`. The arguments are an object, a " "string, and an arbitrary value. The string may name an existing attribute " @@ -2926,7 +2936,7 @@ msgstr "" "Fonksiyon, nesnenin izin vermesi koşuluyla, değeri özelliğe atar. Örneğin " "``setattr(x, 'foobar', 123)`` ve ``x.foobar = 123`` eş değerdir." -#: library/functions.rst:1603 +#: library/functions.rst:1610 msgid "" "*name* need not be a Python identifier as defined in :ref:`identifiers` " "unless the object chooses to enforce that, for example in a custom :meth:" @@ -2940,7 +2950,7 @@ msgstr "" "zorunda değildir. Adı tanımlayıcı olmayan bir özelliğe nokta kullanılarak " "erişilemez, ancak :func:`getattr` vb. aracılığıyla erişilebilir." -#: library/functions.rst:1611 +#: library/functions.rst:1618 msgid "" "Since :ref:`private name mangling ` happens at " "compilation time, one must manually mangle a private attribute's (attributes " @@ -2950,7 +2960,7 @@ msgstr "" "olacağından, :func:`setattr` ile ayarlamak için özel bir niteliğin (iki alt " "çizgi ile başlayan nitelikler) adını manuel olarak değiştirmek gerekir." -#: library/functions.rst:1620 +#: library/functions.rst:1627 msgid "" "Return a :term:`slice` object representing the set of indices specified by " "``range(start, stop, step)``. The *start* and *step* arguments default to " @@ -2973,17 +2983,17 @@ msgstr "" "veya ``a[start:stop, i]``. Yineleyici döndüren alternatif bir versiyon için :" "func:`itertools.islice` 'e bakınız." -#: library/functions.rst:1633 +#: library/functions.rst:1640 msgid "Return a new sorted list from the items in *iterable*." msgstr "" "*iterable* 'ın içindeki elementlerden oluşan sıralı bir liste döndürür." -#: library/functions.rst:1635 +#: library/functions.rst:1642 msgid "" "Has two optional arguments which must be specified as keyword arguments." msgstr "İsimle belirtilmesi gereken 2 opsiyonel parametresi vardır." -#: library/functions.rst:1637 +#: library/functions.rst:1644 msgid "" "*key* specifies a function of one argument that is used to extract a " "comparison key from each element in *iterable* (for example, ``key=str." @@ -2993,7 +3003,7 @@ msgstr "" "için kullanılan bir argümanın fonksiyonunu belirtir (örneğin, ``key=str." "lower``). Varsayılan değer ``None`` 'dır (elementleri direkt karşılaştırır)." -#: library/functions.rst:1641 +#: library/functions.rst:1648 msgid "" "*reverse* is a boolean value. If set to ``True``, then the list elements " "are sorted as if each comparison were reversed." @@ -3001,7 +3011,7 @@ msgstr "" "*reverse* bir boolean değerdir. Eğer ``True`` ise, liste elementleri tüm " "karşılaştırmalar tersine çevrilmiş şekilde sıralanır." -#: library/functions.rst:1644 +#: library/functions.rst:1651 msgid "" "Use :func:`functools.cmp_to_key` to convert an old-style *cmp* function to a " "*key* function." @@ -3009,7 +3019,7 @@ msgstr "" "Eski stil *cmp* fonksiyonunu bir *key* fonksiyonuna dönüştürmek için :func:" "`functools.cmp_to_key` 'yi kullanın." -#: library/functions.rst:1647 +#: library/functions.rst:1654 msgid "" "The built-in :func:`sorted` function is guaranteed to be stable. A sort is " "stable if it guarantees not to change the relative order of elements that " @@ -3021,7 +3031,7 @@ msgstr "" "garantiliyorsa stabildir --- bu çoklu geçişlerle sıralama (örneğin önce " "departman, ardından maaş sıralama) için yardımcıdır." -#: library/functions.rst:1652 +#: library/functions.rst:1659 msgid "" "The sort algorithm uses only ``<`` comparisons between items. While " "defining an :meth:`~object.__lt__` method will suffice for sorting, :PEP:`8` " @@ -3041,18 +3051,18 @@ msgstr "" "uygulamak ayrıca yansıtılan :meth:`~object.__gt__` metodunu çağırabilen " "karmaşık tür karşılaştırmaları için karışıklığı da önler." -#: library/functions.rst:1661 +#: library/functions.rst:1668 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" "Sıralama örnekleri ve kısa sıralama öğreticisi için :ref:`sortinghowto` 'ya " "bakınız." -#: library/functions.rst:1665 +#: library/functions.rst:1672 msgid "Transform a method into a static method." msgstr "Bir metodu statik metoda dönüştürür." -#: library/functions.rst:1667 +#: library/functions.rst:1674 msgid "" "A static method does not receive an implicit first argument. To declare a " "static method, use this idiom::" @@ -3060,7 +3070,7 @@ msgstr "" "Statik bir metot üstü kapalı şekilde bir ilk argüman almaz. Statik metot " "tanımlamak için bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1674 +#: library/functions.rst:1681 msgid "" "The ``@staticmethod`` form is a function :term:`decorator` -- see :ref:" "`function` for details." @@ -3068,7 +3078,7 @@ msgstr "" "``@staticmethod`` ifadesi bir :term:`decorator` fonksiyonudur. -- detaylar " "için :ref:`function` bkz." -#: library/functions.rst:1677 +#: library/functions.rst:1684 msgid "" "A static method can be called either on the class (such as ``C.f()``) or on " "an instance (such as ``C().f()``). Moreover, they can be called as regular " @@ -3078,7 +3088,7 @@ msgstr "" "(``C().f()`` gibi) çağırılabilir. Hatta normal fonksiyonlar gibi (``f()``) " "de çağırılabilirler." -#: library/functions.rst:1681 +#: library/functions.rst:1688 msgid "" "Static methods in Python are similar to those found in Java or C++. Also, " "see :func:`classmethod` for a variant that is useful for creating alternate " @@ -3088,7 +3098,7 @@ msgstr "" "için alternatif bir yapıcı metot oluşturmak isterseniz :func:`classmethod` " "bkz." -#: library/functions.rst:1685 +#: library/functions.rst:1692 msgid "" "Like all decorators, it is also possible to call ``staticmethod`` as a " "regular function and do something with its result. This is needed in some " @@ -3102,11 +3112,11 @@ msgstr "" "dönüşümü engellemek istediğinizde işinize yarayabilir. Böyle durumlar için, " "bu ifadeyi kullanabilirsiniz::" -#: library/functions.rst:1697 +#: library/functions.rst:1704 msgid "For more information on static methods, see :ref:`types`." msgstr "Statik metotlar hakkında daha fazla bilgi için, :ref:`types` bkz." -#: library/functions.rst:1699 +#: library/functions.rst:1706 msgid "" "Static methods now inherit the method attributes (``__module__``, " "``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``), have a " @@ -3117,14 +3127,14 @@ msgstr "" "``__wrapped__`` özellikleri var ve artık normal fonksiyonlar gibi " "çağırılabilirler." -#: library/functions.rst:1714 +#: library/functions.rst:1721 msgid "" "Return a :class:`str` version of *object*. See :func:`str` for details." msgstr "" "*object* 'in :class:`str` versiyonunu döndürür. Detaylar için :func:`str` " "bkz." -#: library/functions.rst:1716 +#: library/functions.rst:1723 msgid "" "``str`` is the built-in string :term:`class`. For general information about " "strings, see :ref:`textseq`." @@ -3132,7 +3142,7 @@ msgstr "" "``str`` yerleşik dize :term:`class` 'ıdır. Dizeler hakkında genel bilgi " "için, :ref:`textseq` bkz." -#: library/functions.rst:1722 +#: library/functions.rst:1729 msgid "" "Sums *start* and the items of an *iterable* from left to right and returns " "the total. The *iterable*'s items are normally numbers, and the start value " @@ -3142,7 +3152,7 @@ msgstr "" "döndürür. *iterable* 'ın elemanları normal olarak numaralardır ve başlangıç " "değeri bir dize olamaz." -#: library/functions.rst:1726 +#: library/functions.rst:1733 msgid "" "For some use cases, there are good alternatives to :func:`sum`. The " "preferred, fast way to concatenate a sequence of strings is by calling ``''." @@ -3157,11 +3167,11 @@ msgstr "" "nesnelerden oluşan bir diziyi birleştirmek istiyorsanız, :func:`itertools." "chain` fonksiyonunu kullanmayı göz önünde bulundurun." -#: library/functions.rst:1732 +#: library/functions.rst:1739 msgid "The *start* parameter can be specified as a keyword argument." msgstr "*start* parametresi bir anahtar kelime argümanı olarak belirtilebilir." -#: library/functions.rst:1738 +#: library/functions.rst:1745 msgid "" "Return a proxy object that delegates method calls to a parent or sibling " "class of *type*. This is useful for accessing inherited methods that have " @@ -3171,7 +3181,7 @@ msgstr "" "eden bir proxy objesi döndürür. Bu bir sınıfta üzerine yazılmış kalıtılan " "metotlara erişmek için kullanışlıdır." -#: library/functions.rst:1742 +#: library/functions.rst:1749 msgid "" "The *object_or_type* determines the :term:`method resolution order` to be " "searched. The search starts from the class right after the *type*." @@ -3179,7 +3189,7 @@ msgstr "" "*object_or_type* aranacak :term:`method resolution order` 'nı belirler. " "Arama *type* 'dan sonraki ilk sınıftan başlar." -#: library/functions.rst:1746 +#: library/functions.rst:1753 msgid "" "For example, if :attr:`~class.__mro__` of *object_or_type* is ``D -> B -> C -" "> A -> object`` and the value of *type* is ``B``, then :func:`super` " @@ -3189,7 +3199,7 @@ msgstr "" "> B -> C -> A -> object`` ise ve *type* değeri ``B`` ise, :func:`super` ``C -" "> A -> object`` 'i arar." -#: library/functions.rst:1750 +#: library/functions.rst:1757 msgid "" "The :attr:`~class.__mro__` attribute of the *object_or_type* lists the " "method resolution search order used by both :func:`getattr` and :func:" @@ -3201,7 +3211,7 @@ msgstr "" "listeler. Özellik dinamiktir ve kalıtım hiyerarşisi her güncellendiğinde " "değişebilir." -#: library/functions.rst:1755 +#: library/functions.rst:1762 msgid "" "If the second argument is omitted, the super object returned is unbound. If " "the second argument is an object, ``isinstance(obj, type)`` must be true. " @@ -3213,7 +3223,7 @@ msgstr "" "zorundadır. Eğer ikinci parametre bir tür ise, ``issubclass(type2, type)`` " "doğru olmak zorundadır (bu sınıf metotları için kullanışlıdır)." -#: library/functions.rst:1760 +#: library/functions.rst:1767 msgid "" "There are two typical use cases for *super*. In a class hierarchy with " "single inheritance, *super* can be used to refer to parent classes without " @@ -3224,7 +3234,7 @@ msgstr "" "hiyerarşisinde *super* üst sınıfları açıkça adlandırmadan onlara başvurmak " "için kullanılabilir. böylece kodu daha sürdürülebilir hale getirir." -#: library/functions.rst:1765 +#: library/functions.rst:1772 msgid "" "The second use case is to support cooperative multiple inheritance in a " "dynamic execution environment. This use case is unique to Python and is not " @@ -3245,12 +3255,12 @@ msgstr "" "sıra sınıf hiyerarşisindeki değişikliklere uyarlanır ve çalışma zamanından " "önce bilinmeyen kardeş sınıfları içerebilir) dikte eder." -#: library/functions.rst:1775 +#: library/functions.rst:1782 msgid "For both use cases, a typical superclass call looks like this::" msgstr "" "İki kullanım durumu için de, tipik bir üst sınıf çağrısı bu şekildedir::" -#: library/functions.rst:1782 +#: library/functions.rst:1789 msgid "" "In addition to method lookups, :func:`super` also works for attribute " "lookups. One possible use case for this is calling :term:`descriptors " @@ -3260,7 +3270,7 @@ msgstr "" "çalışır. Bunun kullanım şekli ebeveyn veya kardeş bir sınıfta :term:" "`tanımlayıcılar ` 'i çağırmaktır." -#: library/functions.rst:1786 +#: library/functions.rst:1793 msgid "" "Note that :func:`super` is implemented as part of the binding process for " "explicit dotted attribute lookups such as ``super().__getitem__(name)``. It " @@ -3276,7 +3286,7 @@ msgstr "" "`super`, ifadeler veya ``super()[name]`` gibi operatörler kullanarak kesin " "aramalar için tanımsızdır." -#: library/functions.rst:1793 +#: library/functions.rst:1800 msgid "" "Also note that, aside from the zero argument form, :func:`super` is not " "limited to use inside methods. The two argument form specifies the " @@ -3291,7 +3301,7 @@ msgstr "" "tanımının içinde çalışır, derleyici tanımlanan sınıfı doğru şekilde almak ve " "sıradan yöntemlere geçerli örnekten erişmek için gerekli detayları doldurur." -#: library/functions.rst:1800 +#: library/functions.rst:1807 msgid "" "For practical suggestions on how to design cooperative classes using :func:" "`super`, see `guide to using super() `_ bkz." -#: library/functions.rst:1810 +#: library/functions.rst:1817 msgid "" "Rather than being a function, :class:`tuple` is actually an immutable " "sequence type, as documented in :ref:`typesseq-tuple` and :ref:`typesseq`." @@ -3309,7 +3319,7 @@ msgstr "" "Bir fonksiyon olmaktansa, :class:`tuple` :ref:`typesseq-tuple` ve :ref:" "`typesseq` 'de gösterildiği gibi düzenlenemez bir dizi türüdür." -#: library/functions.rst:1819 +#: library/functions.rst:1826 msgid "" "With one argument, return the type of an *object*. The return value is a " "type object and generally the same object as returned by :attr:`object." @@ -3319,7 +3329,7 @@ msgstr "" "türüdür ve genellikle :attr:`object.__class__ ` " "tarafından döndürülen obje ile aynıdır." -#: library/functions.rst:1823 +#: library/functions.rst:1830 msgid "" "The :func:`isinstance` built-in function is recommended for testing the type " "of an object, because it takes subclasses into account." @@ -3327,7 +3337,7 @@ msgstr "" ":func:`isinstance` yerleşik fonksiyonu bir objenin türünü test etmek için " "önerilir. Çünkü altsınıfları hesaba katar." -#: library/functions.rst:1827 +#: library/functions.rst:1834 msgid "" "With three arguments, return a new type object. This is essentially a " "dynamic form of the :keyword:`class` statement. The *name* string is the " @@ -3348,11 +3358,11 @@ msgstr "" "özelliği yerine geçmeden önce kopyalanabilir veya sarılabilir. Aşağıdaki iki " "ifade birebir aynı :class:`type` nesneleri oluşturur:" -#: library/functions.rst:1842 +#: library/functions.rst:1849 msgid "See also :ref:`bltin-type-objects`." msgstr ":ref:`bltin-type-objects` 'e de bkz." -#: library/functions.rst:1844 +#: library/functions.rst:1851 msgid "" "Keyword arguments provided to the three argument form are passed to the " "appropriate metaclass machinery (usually :meth:`~object.__init_subclass__`) " @@ -3364,11 +3374,11 @@ msgstr "" "tanımındaki anahtar sözcüklerin (*metaclass* dışında) yapacağı şekilde " "iletilir." -#: library/functions.rst:1849 +#: library/functions.rst:1856 msgid "See also :ref:`class-customization`." msgstr ":ref:`class-customization` 'a da bkz." -#: library/functions.rst:1851 +#: library/functions.rst:1858 msgid "" "Subclasses of :class:`type` which don't override ``type.__new__`` may no " "longer use the one-argument form to get the type of an object." @@ -3376,7 +3386,7 @@ msgstr "" "``type.__new__`` 'in üzerine yazmayan :class:`type` altsınıfları artık bir " "objenin türünü almak için tek argümanlı formu kullanamaz." -#: library/functions.rst:1858 +#: library/functions.rst:1865 msgid "" "Return the :attr:`~object.__dict__` attribute for a module, class, instance, " "or any other object with a :attr:`~object.__dict__` attribute." @@ -3384,7 +3394,7 @@ msgstr "" "Bir modül, sınıf, örnek veya :attr:`~object.__dict__` özelliği bulunan " "herhangi bir obje için, :attr:`~object.__dict__` özelliğini döndürür." -#: library/functions.rst:1861 +#: library/functions.rst:1868 msgid "" "Objects such as modules and instances have an updateable :attr:`~object." "__dict__` attribute; however, other objects may have write restrictions on " @@ -3397,7 +3407,7 @@ msgstr "" "sınıflar doğrudan sözlük güncellemelerini önlemek için :class:`types." "MappingProxyType` sınıfını kullanırlar)." -#: library/functions.rst:1866 +#: library/functions.rst:1873 msgid "" "Without an argument, :func:`vars` acts like :func:`locals`. Note, the " "locals dictionary is only useful for reads since updates to the locals " @@ -3407,7 +3417,7 @@ msgstr "" "ona yapılan güncellemeler görmezden gelindiğinden ötürü, sadece okuma işlemi " "için kullanışlıdır." -#: library/functions.rst:1870 +#: library/functions.rst:1877 msgid "" "A :exc:`TypeError` exception is raised if an object is specified but it " "doesn't have a :attr:`~object.__dict__` attribute (for example, if its class " @@ -3417,7 +3427,7 @@ msgstr "" "(örneğin, :attr:`~object.__slots__` özelliğini tanımlayan bir sınıf ise), :" "exc:`TypeError` hatası ortaya çıkar." -#: library/functions.rst:1876 +#: library/functions.rst:1883 msgid "" "Iterate over several iterables in parallel, producing tuples with an item " "from each one." @@ -3425,11 +3435,11 @@ msgstr "" "Paralel olarak birkaç yinelenebilir nesneyi yineler ve hepsinden bir element " "alarak bir demet üretir." -#: library/functions.rst:1879 +#: library/functions.rst:1886 msgid "Example::" msgstr "Örnek::" -#: library/functions.rst:1888 +#: library/functions.rst:1895 msgid "" "More formally: :func:`zip` returns an iterator of tuples, where the *i*-th " "tuple contains the *i*-th element from each of the argument iterables." @@ -3438,7 +3448,7 @@ msgstr "" "parametre yineleyicisinden *i* 'inci elementi içerdiği bir yineleyici " "döndürür." -#: library/functions.rst:1891 +#: library/functions.rst:1898 msgid "" "Another way to think of :func:`zip` is that it turns rows into columns, and " "columns into rows. This is similar to `transposing a matrix `_ 'a benzer." -#: library/functions.rst:1895 +#: library/functions.rst:1902 msgid "" ":func:`zip` is lazy: The elements won't be processed until the iterable is " "iterated on, e.g. by a :keyword:`!for` loop or by wrapping in a :class:" @@ -3458,7 +3468,7 @@ msgstr "" "döngüsü veya :class:`list` tarafından sarılarak yinelenmediği sürece " "elementler işlenmez." -#: library/functions.rst:1899 +#: library/functions.rst:1906 msgid "" "One thing to consider is that the iterables passed to :func:`zip` could have " "different lengths; sometimes by design, and sometimes because of a bug in " @@ -3470,7 +3480,7 @@ msgstr "" "kodda oluşan bir hatadan dolayı farklı uzunluklarda olabilirler. Python " "bununla başa çıkmak için üç farklı yaklaşım sunar:" -#: library/functions.rst:1904 +#: library/functions.rst:1911 msgid "" "By default, :func:`zip` stops when the shortest iterable is exhausted. It " "will ignore the remaining items in the longer iterables, cutting off the " @@ -3480,7 +3490,7 @@ msgstr "" "durur. Daha uzun yinelebilirlerde kalan elementleri görmezden gelecektir ve " "sonucu en kısa yineleyicinin uzunluğuna eşitleyecektir::" -#: library/functions.rst:1911 +#: library/functions.rst:1918 msgid "" ":func:`zip` is often used in cases where the iterables are assumed to be of " "equal length. In such cases, it's recommended to use the ``strict=True`` " @@ -3490,15 +3500,13 @@ msgstr "" "kullanılır. Bu gibi durumlarda, ``strict=True`` opsiyonunu kullanmak " "önerilir. Çıktısı sıradan :func:`zip` ile aynıdır::" -#: library/functions.rst:1918 +#: library/functions.rst:1925 msgid "" -"Unlike the default behavior, it checks that the lengths of iterables are " -"identical, raising a :exc:`ValueError` if they aren't:" +"Unlike the default behavior, it raises a :exc:`ValueError` if one iterable " +"is exhausted before the others:" msgstr "" -"Varsayılan davranışın aksine, yineleyicilerin uzunluklarının özdeş olup " -"olmadığını kontrol eder, değilse :exc:`ValueError` hatası ortaya çıkartır:" -#: library/functions.rst:1926 +#: library/functions.rst:1943 msgid "" "Without the ``strict=True`` argument, any bug that results in iterables of " "different lengths will be silenced, possibly manifesting as a hard-to-find " @@ -3508,7 +3516,7 @@ msgstr "" "sonuçlanan hatalar susturulacaktır. Mümkün olduğunca programın başka bir " "bölümünde bulunması zor bir hata olarak tezahür ediyor." -#: library/functions.rst:1930 +#: library/functions.rst:1947 msgid "" "Shorter iterables can be padded with a constant value to make all the " "iterables have the same length. This is done by :func:`itertools." @@ -3518,7 +3526,7 @@ msgstr "" "uzunlukta olması için sabit bir değerle doldurulabilirler. Bu :func:" "`itertools.zip_longest` tarafından yapılır." -#: library/functions.rst:1934 +#: library/functions.rst:1951 msgid "" "Edge cases: With a single iterable argument, :func:`zip` returns an iterator " "of 1-tuples. With no arguments, it returns an empty iterator." @@ -3527,11 +3535,11 @@ msgstr "" "bir demetin yineleyicisini döndürür. Argüman verilmezse, boş bir yineleyici " "döndürür." -#: library/functions.rst:1937 +#: library/functions.rst:1954 msgid "Tips and tricks:" msgstr "İpucu ve hileler:" -#: library/functions.rst:1939 +#: library/functions.rst:1956 msgid "" "The left-to-right evaluation order of the iterables is guaranteed. This " "makes possible an idiom for clustering a data series into n-length groups " @@ -3546,7 +3554,7 @@ msgstr "" "sayıda çağrı yapmış olur. Bu, girdiyi n-uzunluklu parçalara bölme etkisine " "sahiptir." -#: library/functions.rst:1945 +#: library/functions.rst:1962 msgid "" ":func:`zip` in conjunction with the ``*`` operator can be used to unzip a " "list::" @@ -3554,11 +3562,11 @@ msgstr "" ":func:`zip`, bir listeyi açmak için ``*`` operatörüyle birlikte " "kullanılabilir::" -#: library/functions.rst:1956 +#: library/functions.rst:1973 msgid "Added the ``strict`` argument." msgstr "``strict`` argümanı eklendi." -#: library/functions.rst:1968 +#: library/functions.rst:1985 msgid "" "This is an advanced function that is not needed in everyday Python " "programming, unlike :func:`importlib.import_module`." @@ -3566,7 +3574,7 @@ msgstr "" "Bu :func:`importlib.import_module` 'un aksine günlük Python programlamasında " "genel olarak kullanılmayan gelişmiş bir fonksiyondur." -#: library/functions.rst:1971 +#: library/functions.rst:1988 msgid "" "This function is invoked by the :keyword:`import` statement. It can be " "replaced (by importing the :mod:`builtins` module and assigning to " @@ -3585,7 +3593,7 @@ msgstr "" "neden olmayacağından tavsiye **edilmez**. :func:`__import__` 'un doğrudan " "kullanımı da :func:`importlib.import_module` 'ın lehine tavsiye edilmez." -#: library/functions.rst:1980 +#: library/functions.rst:1997 msgid "" "The function imports the module *name*, potentially using the given " "*globals* and *locals* to determine how to interpret the name in a package " @@ -3601,7 +3609,7 @@ msgstr "" "*locals* argümanını kullanmaya teşebbüs etmez ve *globals* 'i :keyword:" "`import` ifadesinin paket bağlamını belirlemek için kullanır." -#: library/functions.rst:1987 +#: library/functions.rst:2004 msgid "" "*level* specifies whether to use absolute or relative imports. ``0`` (the " "default) means only perform absolute imports. Positive values for *level* " @@ -3615,7 +3623,7 @@ msgstr "" "dizinine göre aranacak üst dizinlerin sayısını gösterir (detaylar için :pep:" "`328` 'e bakınız)." -#: library/functions.rst:1993 +#: library/functions.rst:2010 msgid "" "When the *name* variable is of the form ``package.module``, normally, the " "top-level package (the name up till the first dot) is returned, *not* the " @@ -3626,7 +3634,7 @@ msgstr "" "((ilk noktaya kadar olan isim) döndürülür, *name* isimli modül *değil*. Boş " "olmayan bir *fromlist* argümanı verildiğinde, *name* isimli modül döndürülür." -#: library/functions.rst:1998 +#: library/functions.rst:2015 msgid "" "For example, the statement ``import spam`` results in bytecode resembling " "the following code::" @@ -3634,11 +3642,11 @@ msgstr "" "Örnek olarak, ``import spam`` ifadesi aşağıdaki koda benzeyen bayt koduyla " "sonuçlanır::" -#: library/functions.rst:2003 +#: library/functions.rst:2020 msgid "The statement ``import spam.ham`` results in this call::" msgstr "``import spam.ham`` ifadesi şu çağrıyla sonuçlanır::" -#: library/functions.rst:2007 +#: library/functions.rst:2024 msgid "" "Note how :func:`__import__` returns the toplevel module here because this is " "the object that is bound to a name by the :keyword:`import` statement." @@ -3647,7 +3655,7 @@ msgstr "" "dikkat edin, çünkü bu, :keyword:`import` ifadesiyle bir ada bağlanan " "nesnedir." -#: library/functions.rst:2010 +#: library/functions.rst:2027 msgid "" "On the other hand, the statement ``from spam.ham import eggs, sausage as " "saus`` results in ::" @@ -3655,7 +3663,7 @@ msgstr "" "Diğer yandan, ``from spam.ham import eggs, sausage as saus`` ifadesi şöyle " "sonuçlanır::" -#: library/functions.rst:2017 +#: library/functions.rst:2034 msgid "" "Here, the ``spam.ham`` module is returned from :func:`__import__`. From " "this object, the names to import are retrieved and assigned to their " @@ -3664,7 +3672,7 @@ msgstr "" "Burada, ``spam.ham`` modülü :func:`__import__` 'dan döndürülür. Bu objeden, " "içeri aktarılacak isimler alınır ve sırasıyla adlarına atanır." -#: library/functions.rst:2021 +#: library/functions.rst:2038 msgid "" "If you simply want to import a module (potentially within a package) by " "name, use :func:`importlib.import_module`." @@ -3672,7 +3680,7 @@ msgstr "" "Eğer ismiyle bir modülü (potansiyel olarak bir paket içinde) içe aktarmak " "istiyorsanız, :func:`importlib.import_module` 'i kullanın." -#: library/functions.rst:2024 +#: library/functions.rst:2041 msgid "" "Negative values for *level* are no longer supported (which also changes the " "default value to 0)." @@ -3680,7 +3688,7 @@ msgstr "" "*level* için negatif değerler artık desteklenmiyor (bu, varsayılan değeri 0 " "olarak da değiştirir)." -#: library/functions.rst:2028 +#: library/functions.rst:2045 msgid "" "When the command line options :option:`-E` or :option:`-I` are being used, " "the environment variable :envvar:`PYTHONCASEOK` is now ignored." @@ -3688,11 +3696,11 @@ msgstr "" "Komut satırı opsiyonlarından :option:`-E` veya :option:`-I` kullanıldığında, " "ortam değişkeni :envvar:`PYTHONCASEOK` görmezden gelinir." -#: library/functions.rst:2033 +#: library/functions.rst:2050 msgid "Footnotes" msgstr "Dipnotlar" -#: library/functions.rst:2034 +#: library/functions.rst:2051 msgid "" "Note that the parser only accepts the Unix-style end of line convention. If " "you are reading the code from a file, make sure to use newline conversion " @@ -3703,6 +3711,13 @@ msgstr "" "satırları dönüştürmek için yeni satır dönüştürme modunu kullandığınızdan " "emin olun." +#~ msgid "" +#~ "Unlike the default behavior, it checks that the lengths of iterables are " +#~ "identical, raising a :exc:`ValueError` if they aren't:" +#~ msgstr "" +#~ "Varsayılan davranışın aksine, yineleyicilerin uzunluklarının özdeş olup " +#~ "olmadığını kontrol eder, değilse :exc:`ValueError` hatası ortaya çıkartır:" + #~ msgid "" #~ "There is an additional mode character permitted, ``'U'``, which no longer " #~ "has any effect, and is considered deprecated. It previously enabled :term:" diff --git a/library/functools.po b/library/functools.po index 80ca2e357..c2b96c88c 100644 --- a/library/functools.po +++ b/library/functools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -51,11 +51,17 @@ msgid "" "`lru_cache()` with a size limit." msgstr "" -#: library/functools.rst:267 +#: library/functools.rst:273 msgid "For example::" msgstr "" -#: library/functools.rst:57 +#: library/functools.rst:146 +msgid "" +"The cache is threadsafe so the wrapped function can be used in multiple " +"threads." +msgstr "" + +#: library/functools.rst:60 msgid "" "Transform a method of a class into a property whose value is computed once " "and then cached as a normal attribute for the life of the instance. Similar " @@ -63,18 +69,18 @@ msgid "" "computed properties of instances that are otherwise effectively immutable." msgstr "" -#: library/functools.rst:127 library/functools.rst:359 +#: library/functools.rst:130 library/functools.rst:365 msgid "Example::" msgstr "" -#: library/functools.rst:73 +#: library/functools.rst:76 msgid "" "The mechanics of :func:`cached_property` are somewhat different from :func:" "`property`. A regular property blocks attribute writes unless a setter is " "defined. In contrast, a *cached_property* allows writes." msgstr "" -#: library/functools.rst:77 +#: library/functools.rst:80 msgid "" "The *cached_property* decorator only runs on lookups and only when an " "attribute of the same name doesn't exist. When it does run, the " @@ -83,20 +89,20 @@ msgid "" "and it works like a normal attribute." msgstr "" -#: library/functools.rst:83 +#: library/functools.rst:86 msgid "" "The cached value can be cleared by deleting the attribute. This allows the " "*cached_property* method to run again." msgstr "" -#: library/functools.rst:86 +#: library/functools.rst:89 msgid "" "Note, this decorator interferes with the operation of :pep:`412` key-sharing " "dictionaries. This means that instance dictionaries can take more space " "than usual." msgstr "" -#: library/functools.rst:90 +#: library/functools.rst:93 msgid "" "Also, this decorator requires that the ``__dict__`` attribute on each " "instance be a mutable mapping. This means it will not work with some types, " @@ -106,14 +112,14 @@ msgid "" "such classes don't provide a ``__dict__`` attribute at all)." msgstr "" -#: library/functools.rst:97 +#: library/functools.rst:100 msgid "" "If a mutable mapping is not available or if space-efficient key sharing is " "desired, an effect similar to :func:`cached_property` can be achieved by a " "stacking :func:`property` on top of :func:`cache`::" msgstr "" -#: library/functools.rst:115 +#: library/functools.rst:118 msgid "" "Transform an old-style comparison function to a :term:`key function`. Used " "with tools that accept key functions (such as :func:`sorted`, :func:`min`, :" @@ -123,7 +129,7 @@ msgid "" "comparison functions." msgstr "" -#: library/functools.rst:122 +#: library/functools.rst:125 msgid "" "A comparison function is any callable that accepts two arguments, compares " "them, and returns a negative number for less-than, zero for equality, or a " @@ -131,25 +137,25 @@ msgid "" "one argument and returns another value to be used as the sort key." msgstr "" -#: library/functools.rst:131 +#: library/functools.rst:134 msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" -#: library/functools.rst:139 +#: library/functools.rst:142 msgid "" "Decorator to wrap a function with a memoizing callable that saves up to the " "*maxsize* most recent calls. It can save time when an expensive or I/O " "bound function is periodically called with the same arguments." msgstr "" -#: library/functools.rst:143 +#: library/functools.rst:149 msgid "" "Since a dictionary is used to cache results, the positional and keyword " "arguments to the function must be hashable." msgstr "" -#: library/functools.rst:146 +#: library/functools.rst:152 msgid "" "Distinct argument patterns may be considered to be distinct calls with " "separate cache entries. For example, ``f(a=1, b=2)`` and ``f(b=2, a=1)`` " @@ -157,20 +163,20 @@ msgid "" "entries." msgstr "" -#: library/functools.rst:151 +#: library/functools.rst:157 msgid "" "If *user_function* is specified, it must be a callable. This allows the " "*lru_cache* decorator to be applied directly to a user function, leaving the " "*maxsize* at its default value of 128::" msgstr "" -#: library/functools.rst:159 +#: library/functools.rst:165 msgid "" "If *maxsize* is set to ``None``, the LRU feature is disabled and the cache " "can grow without bound." msgstr "" -#: library/functools.rst:162 +#: library/functools.rst:168 msgid "" "If *typed* is set to true, function arguments of different types will be " "cached separately. If *typed* is false, the implementation will usually " @@ -178,7 +184,7 @@ msgid "" "such as *str* and *int* may be cached separately even when *typed* is false.)" msgstr "" -#: library/functools.rst:168 +#: library/functools.rst:174 msgid "" "Note, type specificity applies only to the function's immediate arguments " "rather than their contents. The scalar arguments, ``Decimal(42)`` and " @@ -187,7 +193,7 @@ msgid "" "Fraction(42))`` are treated as equivalent." msgstr "" -#: library/functools.rst:174 +#: library/functools.rst:180 msgid "" "The wrapped function is instrumented with a :func:`cache_parameters` " "function that returns a new :class:`dict` showing the values for *maxsize* " @@ -195,7 +201,7 @@ msgid "" "has no effect." msgstr "" -#: library/functools.rst:179 +#: library/functools.rst:185 msgid "" "To help measure the effectiveness of the cache and tune the *maxsize* " "parameter, the wrapped function is instrumented with a :func:`cache_info` " @@ -203,32 +209,32 @@ msgid "" "*maxsize* and *currsize*." msgstr "" -#: library/functools.rst:184 +#: library/functools.rst:190 msgid "" "The decorator also provides a :func:`cache_clear` function for clearing or " "invalidating the cache." msgstr "" -#: library/functools.rst:187 +#: library/functools.rst:193 msgid "" "The original underlying function is accessible through the :attr:" "`__wrapped__` attribute. This is useful for introspection, for bypassing " "the cache, or for rewrapping the function with a different cache." msgstr "" -#: library/functools.rst:191 +#: library/functools.rst:197 msgid "" "The cache keeps references to the arguments and return values until they age " "out of the cache or until the cache is cleared." msgstr "" -#: library/functools.rst:194 +#: library/functools.rst:200 msgid "" "If a method is cached, the ``self`` instance argument is included in the " "cache. See :ref:`faq-cache-method-calls`" msgstr "" -#: library/functools.rst:197 +#: library/functools.rst:203 msgid "" "An `LRU (least recently used) cache `_ works best when the " @@ -238,7 +244,7 @@ msgid "" "long-running processes such as web servers." msgstr "" -#: library/functools.rst:204 +#: library/functools.rst:210 msgid "" "In general, the LRU cache should only be used when you want to reuse " "previously computed values. Accordingly, it doesn't make sense to cache " @@ -246,44 +252,44 @@ msgid "" "objects on each call, or impure functions such as time() or random()." msgstr "" -#: library/functools.rst:209 +#: library/functools.rst:215 msgid "Example of an LRU cache for static web content::" msgstr "" -#: library/functools.rst:228 +#: library/functools.rst:234 msgid "" "Example of efficiently computing `Fibonacci numbers `_ using a cache to implement a `dynamic " "programming `_ technique::" msgstr "" -#: library/functools.rst:248 +#: library/functools.rst:254 msgid "Added the *typed* option." msgstr "" -#: library/functools.rst:251 +#: library/functools.rst:257 msgid "Added the *user_function* option." msgstr "" -#: library/functools.rst:254 +#: library/functools.rst:260 msgid "Added the function :func:`cache_parameters`" msgstr "" -#: library/functools.rst:259 +#: library/functools.rst:265 msgid "" "Given a class defining one or more rich comparison ordering methods, this " "class decorator supplies the rest. This simplifies the effort involved in " "specifying all of the possible rich comparison operations:" msgstr "" -#: library/functools.rst:263 +#: library/functools.rst:269 msgid "" "The class must define one of :meth:`__lt__`, :meth:`__le__`, :meth:`__gt__`, " "or :meth:`__ge__`. In addition, the class should supply an :meth:`__eq__` " "method." msgstr "" -#: library/functools.rst:287 +#: library/functools.rst:293 msgid "" "While this decorator makes it easy to create well behaved totally ordered " "types, it *does* come at the cost of slower execution and more complex stack " @@ -292,7 +298,7 @@ msgid "" "rich comparison methods instead is likely to provide an easy speed boost." msgstr "" -#: library/functools.rst:296 +#: library/functools.rst:302 msgid "" "This decorator makes no attempt to override methods that have been declared " "in the class *or its superclasses*. Meaning that if a superclass defines a " @@ -300,13 +306,13 @@ msgid "" "the original method is abstract." msgstr "" -#: library/functools.rst:303 +#: library/functools.rst:309 msgid "" "Returning NotImplemented from the underlying comparison function for " "unrecognised types is now supported." msgstr "" -#: library/functools.rst:309 +#: library/functools.rst:315 msgid "" "Return a new :ref:`partial object` which when called will " "behave like *func* called with the positional arguments *args* and keyword " @@ -315,7 +321,7 @@ msgid "" "extend and override *keywords*. Roughly equivalent to::" msgstr "" -#: library/functools.rst:325 +#: library/functools.rst:331 msgid "" "The :func:`partial` is used for partial function application which " "\"freezes\" some portion of a function's arguments and/or keywords resulting " @@ -324,20 +330,20 @@ msgid "" "where the *base* argument defaults to two:" msgstr "" -#: library/functools.rst:340 +#: library/functools.rst:346 msgid "" "Return a new :class:`partialmethod` descriptor which behaves like :class:" "`partial` except that it is designed to be used as a method definition " "rather than being directly callable." msgstr "" -#: library/functools.rst:344 +#: library/functools.rst:350 msgid "" "*func* must be a :term:`descriptor` or a callable (objects which are both, " "like normal functions, are handled as descriptors)." msgstr "" -#: library/functools.rst:347 +#: library/functools.rst:353 msgid "" "When *func* is a descriptor (such as a normal Python function, :func:" "`classmethod`, :func:`staticmethod`, :func:`abstractmethod` or another " @@ -346,7 +352,7 @@ msgid "" "objects>` returned as the result." msgstr "" -#: library/functools.rst:353 +#: library/functools.rst:359 msgid "" "When *func* is a non-descriptor callable, an appropriate bound method is " "created dynamically. This behaves like a normal Python function when used as " @@ -355,7 +361,7 @@ msgid "" "`partialmethod` constructor." msgstr "" -#: library/functools.rst:384 +#: library/functools.rst:390 msgid "" "Apply *function* of two arguments cumulatively to the items of *iterable*, " "from left to right, so as to reduce the iterable to a single value. For " @@ -368,30 +374,30 @@ msgid "" "the first item is returned." msgstr "" -#: library/functools.rst:393 +#: library/functools.rst:399 msgid "Roughly equivalent to::" msgstr "" -#: library/functools.rst:405 +#: library/functools.rst:411 msgid "" "See :func:`itertools.accumulate` for an iterator that yields all " "intermediate values." msgstr "" -#: library/functools.rst:410 +#: library/functools.rst:416 msgid "" "Transform a function into a :term:`single-dispatch ` :term:" "`generic function`." msgstr "" -#: library/functools.rst:413 +#: library/functools.rst:419 msgid "" "To define a generic function, decorate it with the ``@singledispatch`` " "decorator. When defining a function using ``@singledispatch``, note that the " "dispatch happens on the type of the first argument::" msgstr "" -#: library/functools.rst:424 +#: library/functools.rst:430 msgid "" "To add overloaded implementations to the function, use the :func:`register` " "attribute of the generic function, which can be used as a decorator. For " @@ -399,36 +405,36 @@ msgid "" "first argument automatically::" msgstr "" -#: library/functools.rst:442 +#: library/functools.rst:448 msgid ":data:`types.UnionType` and :data:`typing.Union` can also be used::" msgstr "" -#: library/functools.rst:459 +#: library/functools.rst:465 msgid "" "For code which doesn't use type annotations, the appropriate type argument " "can be passed explicitly to the decorator itself::" msgstr "" -#: library/functools.rst:470 +#: library/functools.rst:476 msgid "" "To enable registering :term:`lambdas` and pre-existing functions, " "the :func:`register` attribute can also be used in a functional form::" msgstr "" -#: library/functools.rst:478 +#: library/functools.rst:484 msgid "" "The :func:`register` attribute returns the undecorated function. This " "enables decorator stacking, :mod:`pickling`, and the creation of " "unit tests for each variant independently::" msgstr "" -#: library/functools.rst:492 +#: library/functools.rst:498 msgid "" "When called, the generic function dispatches on the type of the first " "argument::" msgstr "" -#: library/functools.rst:512 +#: library/functools.rst:518 msgid "" "Where there is no registered implementation for a specific type, its method " "resolution order is used to find a more generic implementation. The original " @@ -437,42 +443,42 @@ msgid "" "found." msgstr "" -#: library/functools.rst:518 +#: library/functools.rst:524 msgid "" "If an implementation is registered to an :term:`abstract base class`, " "virtual subclasses of the base class will be dispatched to that " "implementation::" msgstr "" -#: library/functools.rst:533 +#: library/functools.rst:539 msgid "" "To check which implementation the generic function will choose for a given " "type, use the ``dispatch()`` attribute::" msgstr "" -#: library/functools.rst:541 +#: library/functools.rst:547 msgid "" "To access all registered implementations, use the read-only ``registry`` " "attribute::" msgstr "" -#: library/functools.rst:555 +#: library/functools.rst:561 msgid "The :func:`register` attribute now supports using type annotations." msgstr "" -#: library/functools.rst:558 +#: library/functools.rst:564 msgid "" "The :func:`register` attribute now supports :data:`types.UnionType` and :" "data:`typing.Union` as type annotations." msgstr "" -#: library/functools.rst:565 +#: library/functools.rst:571 msgid "" "Transform a method into a :term:`single-dispatch ` :term:" "`generic function`." msgstr "" -#: library/functools.rst:568 +#: library/functools.rst:574 msgid "" "To define a generic method, decorate it with the ``@singledispatchmethod`` " "decorator. When defining a function using ``@singledispatchmethod``, note " @@ -480,7 +486,7 @@ msgid "" "argument::" msgstr "" -#: library/functools.rst:586 +#: library/functools.rst:592 msgid "" "``@singledispatchmethod`` supports nesting with other decorators such as :" "func:`@classmethod`. Note that to allow for ``dispatcher." @@ -489,14 +495,14 @@ msgid "" "rather than an instance of the class::" msgstr "" -#: library/functools.rst:608 +#: library/functools.rst:614 msgid "" "The same pattern can be used for other similar decorators: :func:" "`@staticmethod`, :func:`@abstractmethod`, " "and others." msgstr "" -#: library/functools.rst:617 +#: library/functools.rst:623 msgid "" "Update a *wrapper* function to look like the *wrapped* function. The " "optional arguments are tuples to specify which attributes of the original " @@ -510,7 +516,7 @@ msgid "" "``__dict__``, i.e. the instance dictionary)." msgstr "" -#: library/functools.rst:627 +#: library/functools.rst:633 msgid "" "To allow access to the original function for introspection and other " "purposes (e.g. bypassing a caching decorator such as :func:`lru_cache`), " @@ -518,7 +524,7 @@ msgid "" "that refers to the function being wrapped." msgstr "" -#: library/functools.rst:632 +#: library/functools.rst:638 msgid "" "The main intended use for this function is in :term:`decorator` functions " "which wrap the decorated function and return the wrapper. If the wrapper " @@ -527,7 +533,7 @@ msgid "" "is typically less than helpful." msgstr "" -#: library/functools.rst:638 +#: library/functools.rst:644 msgid "" ":func:`update_wrapper` may be used with callables other than functions. Any " "attributes named in *assigned* or *updated* that are missing from the object " @@ -536,26 +542,26 @@ msgid "" "wrapper function itself is missing any attributes named in *updated*." msgstr "" -#: library/functools.rst:644 +#: library/functools.rst:650 msgid "Automatic addition of the ``__wrapped__`` attribute." msgstr "" -#: library/functools.rst:647 +#: library/functools.rst:653 msgid "Copying of the ``__annotations__`` attribute by default." msgstr "" -#: library/functools.rst:650 +#: library/functools.rst:656 msgid "Missing attributes no longer trigger an :exc:`AttributeError`." msgstr "" -#: library/functools.rst:653 +#: library/functools.rst:659 msgid "" "The ``__wrapped__`` attribute now always refers to the wrapped function, " "even if that function defined a ``__wrapped__`` attribute. (see :issue:" "`17482`)" msgstr "" -#: library/functools.rst:661 +#: library/functools.rst:667 msgid "" "This is a convenience function for invoking :func:`update_wrapper` as a " "function decorator when defining a wrapper function. It is equivalent to " @@ -563,42 +569,42 @@ msgid "" "updated=updated)``. For example::" msgstr "" -#: library/functools.rst:687 +#: library/functools.rst:693 msgid "" "Without the use of this decorator factory, the name of the example function " "would have been ``'wrapper'``, and the docstring of the original :func:" "`example` would have been lost." msgstr "" -#: library/functools.rst:695 +#: library/functools.rst:701 msgid ":class:`partial` Objects" msgstr "" -#: library/functools.rst:697 +#: library/functools.rst:703 msgid "" ":class:`partial` objects are callable objects created by :func:`partial`. " "They have three read-only attributes:" msgstr "" -#: library/functools.rst:703 +#: library/functools.rst:709 msgid "" "A callable object or function. Calls to the :class:`partial` object will be " "forwarded to :attr:`func` with new arguments and keywords." msgstr "" -#: library/functools.rst:709 +#: library/functools.rst:715 msgid "" "The leftmost positional arguments that will be prepended to the positional " "arguments provided to a :class:`partial` object call." msgstr "" -#: library/functools.rst:715 +#: library/functools.rst:721 msgid "" "The keyword arguments that will be supplied when the :class:`partial` object " "is called." msgstr "" -#: library/functools.rst:718 +#: library/functools.rst:724 msgid "" ":class:`partial` objects are like :class:`function` objects in that they are " "callable, weak referencable, and can have attributes. There are some " diff --git a/library/gc.po b/library/gc.po index 35454547c..977baeba8 100644 --- a/library/gc.po +++ b/library/gc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -88,7 +88,7 @@ msgstr "" msgid "New *generation* parameter." msgstr "" -#: library/gc.rst:75 +#: library/gc.rst:8 msgid "" "Raises an :ref:`auditing event ` ``gc.get_objects`` with argument " "``generation``." @@ -179,7 +179,7 @@ msgid "" "other than debugging." msgstr "" -#: library/gc.rst:146 +#: library/gc.rst:17 msgid "" "Raises an :ref:`auditing event ` ``gc.get_referrers`` with " "argument ``objs``." @@ -197,7 +197,7 @@ msgid "" "object may or may not appear in the result list." msgstr "" -#: library/gc.rst:159 +#: library/gc.rst:9 msgid "" "Raises an :ref:`auditing event ` ``gc.get_referents`` with " "argument ``objs``." diff --git a/library/getpass.po b/library/getpass.po index ab844dcc9..39c16cca9 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/getpass.py`" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/glob.po b/library/glob.po index 97a5391c0..b481d4299 100644 --- a/library/glob.po +++ b/library/glob.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -92,13 +92,13 @@ msgid "" "directories." msgstr "" -#: library/glob.rst:96 +#: library/glob.rst:29 msgid "" "Raises an :ref:`auditing event ` ``glob.glob`` with arguments " "``pathname``, ``recursive``." msgstr "" -#: library/glob.rst:97 +#: library/glob.rst:30 msgid "" "Raises an :ref:`auditing event ` ``glob.glob/2`` with arguments " "``pathname``, ``recursive``, ``root_dir``, ``dir_fd``." diff --git a/library/grp.po b/library/grp.po index 7e58784be..90142b7ff 100644 --- a/library/grp.po +++ b/library/grp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "all Unix versions." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/hashlib.po b/library/hashlib.po index accff7e57..2ccb62f3c 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -536,7 +536,7 @@ msgid "" "(``False`` for sequential mode)." msgstr "" -#: library/hashlib.rst:None +#: library/hashlib.rst:-1 msgid "Explanation of tree mode parameters." msgstr "" diff --git a/library/http.client.po b/library/http.client.po index d11160e6a..5c28359f9 100644 --- a/library/http.client.po +++ b/library/http.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -43,7 +43,7 @@ msgid "" "(through the :mod:`ssl` module)." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -406,7 +406,7 @@ msgid "" "already have a connection." msgstr "" -#: library/http.client.rst:382 +#: library/http.client.rst:5 msgid "" "Raises an :ref:`auditing event ` ``http.client.connect`` with " "arguments ``self``, ``host``, ``port``." @@ -482,7 +482,7 @@ msgid "" "`endheaders` method has been called and before :meth:`getresponse` is called." msgstr "" -#: library/http.client.rst:453 +#: library/http.client.rst:5 msgid "" "Raises an :ref:`auditing event ` ``http.client.send`` with " "arguments ``self``, ``data``." diff --git a/library/http.server.po b/library/http.server.po index cf63d938e..5c6f015fa 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -34,7 +34,7 @@ msgid "" "ref:`basic security checks `." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/imaplib.po b/library/imaplib.po index 289bd24a0..590c13d06 100644 --- a/library/imaplib.po +++ b/library/imaplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -33,7 +33,7 @@ msgid "" "that the ``STATUS`` command is not supported in IMAP4." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -427,7 +427,7 @@ msgid "" "method." msgstr "" -#: library/imaplib.rst:390 +#: library/imaplib.rst:11 msgid "" "Raises an :ref:`auditing event ` ``imaplib.open`` with arguments " "``self``, ``host``, ``port``." @@ -499,7 +499,7 @@ msgstr "" msgid "Sends ``data`` to the remote server. You may override this method." msgstr "" -#: library/imaplib.rst:463 +#: library/imaplib.rst:3 msgid "" "Raises an :ref:`auditing event ` ``imaplib.send`` with arguments " "``self``, ``data``." diff --git a/library/io.po b/library/io.po index 2a6c7c31c..6eb181a71 100644 --- a/library/io.po +++ b/library/io.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -227,7 +227,7 @@ msgstr "" msgid "This is an alias for the builtin :func:`open` function." msgstr "" -#: library/io.rst:175 +#: library/io.rst:3 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``path``, " "``mode``, ``flags``." diff --git a/library/itertools.po b/library/itertools.po index 72b623a38..25c894072 100644 --- a/library/itertools.po +++ b/library/itertools.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -47,7 +47,8 @@ msgid "" "These tools and their built-in counterparts also work well with the high-" "speed functions in the :mod:`operator` module. For example, the " "multiplication operator can be mapped across two vectors to form an " -"efficient dot-product: ``sum(map(operator.mul, vector1, vector2))``." +"efficient dot-product: ``sum(starmap(operator.mul, zip(vec1, vec2, " +"strict=True)))``." msgstr "" #: library/itertools.rst:39 diff --git a/library/locale.po b/library/locale.po index 14f806be9..f98fc0d0a 100644 --- a/library/locale.po +++ b/library/locale.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -725,7 +725,13 @@ msgid "" "affected by this category." msgstr "" -#: library/locale.rst:514 +#: library/locale.rst:511 +msgid "" +"This value may not be available on operating systems not conforming to the " +"POSIX standard, most notably Windows." +msgstr "" + +#: library/locale.rst:517 msgid "" "Locale category for formatting numbers. The functions :func:`.format`, :" "func:`atoi`, :func:`atof` and :func:`.str` of the :mod:`locale` module are " @@ -733,7 +739,7 @@ msgid "" "affected." msgstr "" -#: library/locale.rst:522 +#: library/locale.rst:525 msgid "" "Combination of all locale settings. If this flag is used when the locale is " "changed, setting the locale for all categories is attempted. If that fails " @@ -743,21 +749,21 @@ msgid "" "settings." msgstr "" -#: library/locale.rst:531 +#: library/locale.rst:534 msgid "" "This is a symbolic constant used for different values returned by :func:" "`localeconv`." msgstr "" -#: library/locale.rst:535 +#: library/locale.rst:538 msgid "Example::" msgstr "" -#: library/locale.rst:548 +#: library/locale.rst:551 msgid "Background, details, hints, tips and caveats" msgstr "" -#: library/locale.rst:550 +#: library/locale.rst:553 msgid "" "The C standard defines the locale as a program-wide property that may be " "relatively expensive to change. On top of that, some implementations are " @@ -765,7 +771,7 @@ msgid "" "This makes the locale somewhat painful to use correctly." msgstr "" -#: library/locale.rst:555 +#: library/locale.rst:558 msgid "" "Initially, when a program is started, the locale is the ``C`` locale, no " "matter what the user's preferred locale is. There is one exception: the :" @@ -775,7 +781,7 @@ msgid "" "categories by calling ``setlocale(LC_ALL, '')``." msgstr "" -#: library/locale.rst:562 +#: library/locale.rst:565 msgid "" "It is generally a bad idea to call :func:`setlocale` in some library " "routine, since as a side effect it affects the entire program. Saving and " @@ -783,7 +789,7 @@ msgid "" "that happen to run before the settings have been restored." msgstr "" -#: library/locale.rst:567 +#: library/locale.rst:570 msgid "" "If, when coding a module for general use, you need a locale independent " "version of an operation that is affected by the locale (such as certain " @@ -794,14 +800,14 @@ msgid "" "settings." msgstr "" -#: library/locale.rst:574 +#: library/locale.rst:577 msgid "" "The only way to perform numeric operations according to the locale is to use " "the special functions defined by this module: :func:`atof`, :func:`atoi`, :" "func:`.format`, :func:`.str`." msgstr "" -#: library/locale.rst:578 +#: library/locale.rst:581 msgid "" "There is no way to perform case conversions and character classifications " "according to the locale. For (Unicode) text strings these are done " @@ -812,11 +818,11 @@ msgid "" "whitespace." msgstr "" -#: library/locale.rst:589 +#: library/locale.rst:592 msgid "For extension writers and programs that embed Python" msgstr "" -#: library/locale.rst:591 +#: library/locale.rst:594 msgid "" "Extension modules should never call :func:`setlocale`, except to find out " "what the current locale is. But since the return value can only be used " @@ -824,7 +830,7 @@ msgid "" "whether or not the locale is ``C``)." msgstr "" -#: library/locale.rst:596 +#: library/locale.rst:599 msgid "" "When Python code uses the :mod:`locale` module to change the locale, this " "also affects the embedding application. If the embedding application " @@ -834,11 +840,11 @@ msgid "" "accessible as a shared library." msgstr "" -#: library/locale.rst:607 +#: library/locale.rst:610 msgid "Access to message catalogs" msgstr "" -#: library/locale.rst:615 +#: library/locale.rst:618 msgid "" "The locale module exposes the C library's gettext interface on systems that " "provide this interface. It consists of the functions :func:`!gettext`, :" @@ -849,7 +855,7 @@ msgid "" "for locating message catalogs." msgstr "" -#: library/locale.rst:622 +#: library/locale.rst:625 msgid "" "Python applications should normally find no need to invoke these functions, " "and should use :mod:`gettext` instead. A known exception to this rule are " diff --git a/library/logging.config.po b/library/logging.config.po index a1221ef7d..bc36f5fbf 100644 --- a/library/logging.config.po +++ b/library/logging.config.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -659,19 +659,27 @@ msgstr "" #: library/logging.config.rst:528 msgid "" +"The values for keys such as ``bar``, ``spam`` and ``answer`` in the above " +"example should not be configuration dictionaries or references such as " +"``cfg://foo`` or ``ext://bar``, because they will not be processed by the " +"configuration machinery, but passed to the callable as-is." +msgstr "" + +#: library/logging.config.rst:533 +msgid "" "The key ``'()'`` has been used as the special key because it is not a valid " "keyword parameter name, and so will not clash with the names of the keyword " "arguments used in the call. The ``'()'`` also serves as a mnemonic that the " "corresponding value is a callable." msgstr "" -#: library/logging.config.rst:533 +#: library/logging.config.rst:538 msgid "" "The ``filters`` member of ``handlers`` and ``loggers`` can take filter " "instances in addition to ids." msgstr "" -#: library/logging.config.rst:537 +#: library/logging.config.rst:542 msgid "" "You can also specify a special key ``'.'`` whose value is a dictionary is a " "mapping of attribute names to values. If found, the specified attributes " @@ -679,17 +687,50 @@ msgid "" "following configuration::" msgstr "" -#: library/logging.config.rst:553 +#: library/logging.config.rst:558 msgid "" "the returned formatter will have attribute ``foo`` set to ``'bar'`` and " "attribute ``baz`` set to ``'bozz'``." msgstr "" -#: library/logging.config.rst:560 +#: library/logging.config.rst:561 +msgid "" +"The values for attributes such as ``foo`` and ``baz`` in the above example " +"should not be configuration dictionaries or references such as ``cfg://foo`` " +"or ``ext://bar``, because they will not be processed by the configuration " +"machinery, but set as attribute values as-is." +msgstr "" + +#: library/logging.config.rst:570 +msgid "Handler configuration order" +msgstr "" + +#: library/logging.config.rst:572 +msgid "" +"Handlers are configured in alphabetical order of their keys, and a " +"configured handler replaces the configuration dictionary in (a working copy " +"of) the ``handlers`` dictionary in the schema. If you use a construct such " +"as ``cfg://handlers.foo``, then initially ``handlers['foo']`` points to the " +"configuration dictionary for the handler named ``foo``, and later (once that " +"handler has been configured) it points to the configured handler instance. " +"Thus, ``cfg://handlers.foo`` could resolve to either a dictionary or a " +"handler instance. In general, it is wise to name handlers in a way such that " +"dependent handlers are configured _after_ any handlers they depend on; that " +"allows something like ``cfg://handlers.foo`` to be used in configuring a " +"handler that depends on handler ``foo``. If that dependent handler were " +"named ``bar``, problems would result, because the configuration of ``bar`` " +"would be attempted before that of ``foo``, and ``foo`` would not yet have " +"been configured. However, if the dependent handler were named ``foobar``, it " +"would be configured after ``foo``, with the result that ``cfg://handlers." +"foo`` would resolve to configured handler ``foo``, and not its configuration " +"dictionary." +msgstr "" + +#: library/logging.config.rst:593 msgid "Access to external objects" msgstr "" -#: library/logging.config.rst:562 +#: library/logging.config.rst:595 msgid "" "There are times where a configuration needs to refer to objects external to " "the configuration, for example ``sys.stderr``. If the configuration dict is " @@ -704,7 +745,7 @@ msgid "" "import mechanisms." msgstr "" -#: library/logging.config.rst:575 +#: library/logging.config.rst:608 msgid "" "The handling of such prefixes is done in a way analogous to protocol " "handling: there is a generic mechanism to look for prefixes which match the " @@ -714,11 +755,11 @@ msgid "" "prefix is not recognised, then the string value will be left as-is." msgstr "" -#: library/logging.config.rst:587 +#: library/logging.config.rst:620 msgid "Access to internal objects" msgstr "" -#: library/logging.config.rst:589 +#: library/logging.config.rst:622 msgid "" "As well as external objects, there is sometimes also a need to refer to " "objects in the configuration. This will be done implicitly by the " @@ -729,7 +770,7 @@ msgid "" "and resolve to the appropriate destination object." msgstr "" -#: library/logging.config.rst:597 +#: library/logging.config.rst:630 msgid "" "However, a more generic mechanism is needed for user-defined objects which " "are not known to the :mod:`logging` module. For example, consider :class:" @@ -743,7 +784,7 @@ msgid "" "resolution system allows the user to specify:" msgstr "" -#: library/logging.config.rst:619 +#: library/logging.config.rst:652 msgid "" "The literal string ``'cfg://handlers.file'`` will be resolved in an " "analogous way to strings with the ``ext://`` prefix, but looking in the " @@ -752,7 +793,7 @@ msgid "" "format``. Thus, given the following snippet:" msgstr "" -#: library/logging.config.rst:637 +#: library/logging.config.rst:670 msgid "" "in the configuration, the string ``'cfg://handlers'`` would resolve to the " "dict with key ``handlers``, the string ``'cfg://handlers.email`` would " @@ -768,7 +809,7 @@ msgid "" "to the string value if needed." msgstr "" -#: library/logging.config.rst:651 +#: library/logging.config.rst:684 msgid "" "Given a string ``cfg://handlers.myhandler.mykey.123``, this will resolve to " "``config_dict['handlers']['myhandler']['mykey']['123']``. If the string is " @@ -778,11 +819,11 @@ msgid "" "['mykey']['123']`` if that fails." msgstr "" -#: library/logging.config.rst:663 +#: library/logging.config.rst:696 msgid "Import resolution and custom importers" msgstr "" -#: library/logging.config.rst:665 +#: library/logging.config.rst:698 msgid "" "Import resolution, by default, uses the builtin :func:`__import__` function " "to do its importing. You may want to replace this with your own importing " @@ -794,17 +835,17 @@ msgid "" "instance level, you need to wrap it with :func:`staticmethod`. For example::" msgstr "" -#: library/logging.config.rst:680 +#: library/logging.config.rst:713 msgid "" "You don't need to wrap with :func:`staticmethod` if you're setting the " "import callable on a configurator *instance*." msgstr "" -#: library/logging.config.rst:687 +#: library/logging.config.rst:720 msgid "Configuration file format" msgstr "" -#: library/logging.config.rst:689 +#: library/logging.config.rst:722 msgid "" "The configuration file format understood by :func:`fileConfig` is based on :" "mod:`configparser` functionality. The file must contain sections called " @@ -821,7 +862,7 @@ msgid "" "specified in a section called ``[logger_root]``." msgstr "" -#: library/logging.config.rst:704 +#: library/logging.config.rst:737 msgid "" "The :func:`fileConfig` API is older than the :func:`dictConfig` API and does " "not provide functionality to cover certain aspects of logging. For example, " @@ -834,17 +875,17 @@ msgid "" "when it's convenient to do so." msgstr "" -#: library/logging.config.rst:714 +#: library/logging.config.rst:747 msgid "Examples of these sections in the file are given below." msgstr "" -#: library/logging.config.rst:727 +#: library/logging.config.rst:760 msgid "" "The root logger must specify a level and a list of handlers. An example of a " "root logger section is given below." msgstr "" -#: library/logging.config.rst:736 +#: library/logging.config.rst:769 msgid "" "The ``level`` entry can be one of ``DEBUG, INFO, WARNING, ERROR, CRITICAL`` " "or ``NOTSET``. For the root logger only, ``NOTSET`` means that all messages " @@ -852,7 +893,7 @@ msgid "" "of the ``logging`` package's namespace." msgstr "" -#: library/logging.config.rst:741 +#: library/logging.config.rst:774 msgid "" "The ``handlers`` entry is a comma-separated list of handler names, which " "must appear in the ``[handlers]`` section. These names must appear in the " @@ -860,13 +901,13 @@ msgid "" "file." msgstr "" -#: library/logging.config.rst:746 +#: library/logging.config.rst:779 msgid "" "For loggers other than the root logger, some additional information is " "required. This is illustrated by the following example." msgstr "" -#: library/logging.config.rst:757 +#: library/logging.config.rst:790 msgid "" "The ``level`` and ``handlers`` entries are interpreted as for the root " "logger, except that if a non-root logger's level is specified as ``NOTSET``, " @@ -879,20 +920,20 @@ msgid "" "application to get the logger." msgstr "" -#: library/logging.config.rst:766 +#: library/logging.config.rst:799 msgid "" "Sections which specify handler configuration are exemplified by the " "following." msgstr "" -#: library/logging.config.rst:776 +#: library/logging.config.rst:809 msgid "" "The ``class`` entry indicates the handler's class (as determined by :func:" "`eval` in the ``logging`` package's namespace). The ``level`` is interpreted " "as for loggers, and ``NOTSET`` is taken to mean 'log everything'." msgstr "" -#: library/logging.config.rst:780 +#: library/logging.config.rst:813 msgid "" "The ``formatter`` entry indicates the key name of the formatter for this " "handler. If blank, a default formatter (``logging._defaultFormatter``) is " @@ -900,7 +941,7 @@ msgid "" "and have a corresponding section in the configuration file." msgstr "" -#: library/logging.config.rst:785 +#: library/logging.config.rst:818 msgid "" "The ``args`` entry, when :ref:`evaluated ` in the context of the " "``logging`` package's namespace, is the list of arguments to the constructor " @@ -909,7 +950,7 @@ msgid "" "provided, it defaults to ``()``." msgstr "" -#: library/logging.config.rst:791 +#: library/logging.config.rst:824 msgid "" "The optional ``kwargs`` entry, when :ref:`evaluated ` in the " "context of the ``logging`` package's namespace, is the keyword argument dict " @@ -917,19 +958,19 @@ msgid "" "``{}``." msgstr "" -#: library/logging.config.rst:848 +#: library/logging.config.rst:881 msgid "" "Sections which specify formatter configuration are typified by the following." msgstr "" -#: library/logging.config.rst:859 +#: library/logging.config.rst:892 msgid "" "The arguments for the formatter configuration are the same as the keys in " "the dictionary schema :ref:`formatters section `." msgstr "" -#: library/logging.config.rst:865 +#: library/logging.config.rst:898 msgid "" "Due to the use of :func:`eval` as described above, there are potential " "security risks which result from using the :func:`listen` to send and " @@ -938,18 +979,18 @@ msgid "" "`listen` documentation for more information." msgstr "" -#: library/logging.config.rst:874 +#: library/logging.config.rst:907 msgid "Module :mod:`logging`" msgstr "" -#: library/logging.config.rst:874 +#: library/logging.config.rst:907 msgid "API reference for the logging module." msgstr "" -#: library/logging.config.rst:876 +#: library/logging.config.rst:909 msgid "Module :mod:`logging.handlers`" msgstr "" -#: library/logging.config.rst:877 +#: library/logging.config.rst:910 msgid "Useful handlers included with the logging module." msgstr "" diff --git a/library/logging.po b/library/logging.po index 7de8d95f7..96e720b09 100644 --- a/library/logging.po +++ b/library/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1098,7 +1098,7 @@ msgstr "" msgid "Description" msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:881 msgid "args" msgstr "" @@ -1142,7 +1142,7 @@ msgid "" "time`)." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:895 msgid "exc_info" msgstr "" @@ -1255,7 +1255,7 @@ msgid "" "Millisecond portion of the time when the :class:`LogRecord` was created." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:923 msgid "msg" msgstr "" @@ -1266,7 +1266,7 @@ msgid "" "messages`)." msgstr "" -#: library/logging.rst:0 +#: library/logging.rst:928 msgid "name" msgstr "" diff --git a/library/marshal.po b/library/marshal.po index 4bb982eb3..820833bad 100644 --- a/library/marshal.po +++ b/library/marshal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -96,7 +96,7 @@ msgid "" "(see below)." msgstr "" -#: library/marshal.rst:101 +#: library/marshal.rst:11 msgid "" "Raises an :ref:`auditing event ` ``marshal.dumps`` with arguments " "``value``, ``version``." @@ -110,7 +110,7 @@ msgid "" "file must be a readable :term:`binary file`." msgstr "" -#: library/marshal.rst:79 +#: library/marshal.rst:6 msgid "" "Raises an :ref:`auditing event ` ``marshal.load`` with no " "arguments." @@ -148,7 +148,7 @@ msgid "" "bytes in the input are ignored." msgstr "" -#: library/marshal.rst:110 +#: library/marshal.rst:5 msgid "" "Raises an :ref:`auditing event ` ``marshal.loads`` with argument " "``bytes``." diff --git a/library/mmap.po b/library/mmap.po index 98acbffd4..33bd05274 100644 --- a/library/mmap.po +++ b/library/mmap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,7 +20,7 @@ msgstr "" msgid ":mod:`mmap` --- Memory-mapped file support" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -117,7 +117,7 @@ msgid "" "`ALLOCATIONGRANULARITY`." msgstr "" -#: library/mmap.rst:172 +#: library/mmap.rst:87 msgid "" "Raises an :ref:`auditing event ` ``mmap.__new__`` with arguments " "``fileno``, ``length``, ``access``, ``offset``." diff --git a/library/msvcrt.po b/library/msvcrt.po index b30598d2b..1be7713a1 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -63,7 +63,7 @@ msgid "" "individually." msgstr "" -#: library/msvcrt.rst:45 +#: library/msvcrt.rst:8 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.locking`` with arguments " "``fd``, ``mode``, ``nbytes``." @@ -101,7 +101,7 @@ msgid "" "as a parameter to :func:`os.fdopen` to create a file object." msgstr "" -#: library/msvcrt.rst:82 +#: library/msvcrt.rst:6 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.open_osfhandle`` with " "arguments ``handle``, ``flags``." @@ -113,7 +113,7 @@ msgid "" "if *fd* is not recognized." msgstr "" -#: library/msvcrt.rst:90 +#: library/msvcrt.rst:4 msgid "" "Raises an :ref:`auditing event ` ``msvcrt.get_osfhandle`` with " "argument ``fd``." diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 4b1b5a7e9..67f25a60b 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -24,7 +24,7 @@ msgstr "" msgid "**Source code:** :source:`Lib/multiprocessing/`" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nis.po b/library/nis.po index a9e4ab94d..2e47785eb 100644 --- a/library/nis.po +++ b/library/nis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -38,7 +38,7 @@ msgid "" "Unix." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/nntplib.po b/library/nntplib.po index d4065c2e3..31be4143c 100644 --- a/library/nntplib.po +++ b/library/nntplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -36,7 +36,7 @@ msgid "" "`3977` as well as the older :rfc:`977` and :rfc:`2980`." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -81,13 +81,13 @@ msgid "" "close the NNTP connection when done, e.g.:" msgstr "" -#: library/nntplib.rst:129 +#: library/nntplib.rst:24 msgid "" "Raises an :ref:`auditing event ` ``nntplib.connect`` with " "arguments ``self``, ``host``, ``port``." msgstr "" -#: library/nntplib.rst:131 +#: library/nntplib.rst:26 msgid "" "Raises an :ref:`auditing event ` ``nntplib.putline`` with " "arguments ``self``, ``line``." diff --git a/library/optparse.po b/library/optparse.po index 0d8a7c959..0827b4bcf 100644 --- a/library/optparse.po +++ b/library/optparse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -522,7 +522,7 @@ msgid "``\"store_const\"``" msgstr "" #: library/optparse.rst:928 -msgid "store a constant value" +msgid "store a constant value, pre-set via :attr:`Option.const`" msgstr "" #: library/optparse.rst:937 @@ -1118,7 +1118,7 @@ msgid "``\"append_const\"``" msgstr "" #: library/optparse.rst:940 -msgid "append a constant value to a list" +msgid "append a constant value to a list, pre-set via :attr:`Option.const`" msgstr "" #: library/optparse.rst:1226 diff --git a/library/os.path.po b/library/os.path.po index fdcfa91f3..362259a17 100644 --- a/library/os.path.po +++ b/library/os.path.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -89,9 +89,9 @@ msgstr "" #: library/os.path.rst:76 library/os.path.rst:125 library/os.path.rst:151 #: library/os.path.rst:197 library/os.path.rst:226 library/os.path.rst:245 -#: library/os.path.rst:265 library/os.path.rst:294 library/os.path.rst:344 -#: library/os.path.rst:389 library/os.path.rst:420 library/os.path.rst:452 -#: library/os.path.rst:508 +#: library/os.path.rst:265 library/os.path.rst:294 library/os.path.rst:345 +#: library/os.path.rst:390 library/os.path.rst:421 library/os.path.rst:453 +#: library/os.path.rst:509 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -112,7 +112,7 @@ msgid "" "empty. Unlike :func:`commonprefix`, this returns a valid path." msgstr "" -#: library/os.path.rst:388 library/os.path.rst:416 library/os.path.rst:432 +#: library/os.path.rst:389 library/os.path.rst:417 library/os.path.rst:433 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -286,36 +286,37 @@ msgstr "" #: library/os.path.rst:300 msgid "" -"Join one or more path components intelligently. The return value is the " -"concatenation of *path* and any members of *\\*paths* with exactly one " -"directory separator following each non-empty part except the last, meaning " -"that the result will only end in a separator if the last part is empty. If " -"a component is an absolute path, all previous components are thrown away and " -"joining continues from the absolute path component." +"Join one or more path segments intelligently. The return value is the " +"concatenation of *path* and all members of *\\*paths*, with exactly one " +"directory separator following each non-empty part, except the last. That is, " +"the result will only end in a separator if the last part is either empty or " +"ends in a separator. If a segment is an absolute path (which on Windows " +"requires both a drive and a root), then all previous segments are ignored " +"and joining continues from the absolute path segment." msgstr "" -#: library/os.path.rst:307 +#: library/os.path.rst:308 msgid "" -"On Windows, the drive letter is not reset when an absolute path component (e." -"g., ``r'\\foo'``) is encountered. If a component contains a drive letter, " -"all previous components are thrown away and the drive letter is reset. Note " -"that since there is a current directory for each drive, ``os.path.join(\"c:" -"\", \"foo\")`` represents a path relative to the current directory on drive :" -"file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." +"On Windows, the drive is not reset when a rooted path segment (e.g., " +"``r'\\foo'``) is encountered. If a segment is on a different drive or is an " +"absolute path, all previous segments are ignored and the drive is reset. " +"Note that since there is a current directory for each drive, ``os.path." +"join(\"c:\", \"foo\")`` represents a path relative to the current directory " +"on drive :file:`C:` (:file:`c:foo`), not :file:`c:\\\\foo`." msgstr "" -#: library/os.path.rst:314 +#: library/os.path.rst:315 msgid "Accepts a :term:`path-like object` for *path* and *paths*." msgstr "" -#: library/os.path.rst:320 +#: library/os.path.rst:321 msgid "" "Normalize the case of a pathname. On Windows, convert all characters in the " "pathname to lowercase, and also convert forward slashes to backward slashes. " "On other operating systems, return the path unchanged." msgstr "" -#: library/os.path.rst:330 +#: library/os.path.rst:331 msgid "" "Normalize a pathname by collapsing redundant separators and up-level " "references so that ``A//B``, ``A/B/``, ``A/./B`` and ``A/foo/../B`` all " @@ -324,7 +325,7 @@ msgid "" "backward slashes. To normalize case, use :func:`normcase`." msgstr "" -#: library/os.path.rst:337 +#: library/os.path.rst:338 msgid "" "On POSIX systems, in accordance with `IEEE Std 1003.1 2013 Edition; 4.13 " "Pathname Resolution \n" @@ -287,14 +287,14 @@ msgstr "" #: library/os.rst:607 library/os.rst:633 library/os.rst:650 library/os.rst:665 #: library/os.rst:681 library/os.rst:1191 library/os.rst:1454 #: library/os.rst:1498 library/os.rst:1951 library/os.rst:2208 -#: library/os.rst:3755 library/os.rst:3769 library/os.rst:3783 -#: library/os.rst:3797 library/os.rst:3813 library/os.rst:3827 -#: library/os.rst:3844 library/os.rst:3859 library/os.rst:3887 -#: library/os.rst:3944 library/os.rst:3972 library/os.rst:4149 -#: library/os.rst:4420 library/os.rst:4491 library/os.rst:4523 -#: library/os.rst:4547 library/os.rst:4568 library/os.rst:4592 -#: library/os.rst:4653 library/os.rst:4672 library/os.rst:4690 -#: library/os.rst:4708 +#: library/os.rst:3757 library/os.rst:3771 library/os.rst:3785 +#: library/os.rst:3799 library/os.rst:3815 library/os.rst:3829 +#: library/os.rst:3846 library/os.rst:3861 library/os.rst:3889 +#: library/os.rst:3946 library/os.rst:3974 library/os.rst:4151 +#: library/os.rst:4422 library/os.rst:4493 library/os.rst:4525 +#: library/os.rst:4549 library/os.rst:4570 library/os.rst:4594 +#: library/os.rst:4655 library/os.rst:4674 library/os.rst:4692 +#: library/os.rst:4710 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr "" @@ -443,8 +443,7 @@ msgid "" msgstr "" #: library/os.rst:975 library/os.rst:1203 library/os.rst:2035 -#: library/os.rst:None library/os.rst:3747 library/os.rst:4247 -#: library/os.rst:4365 +#: library/os.rst:3135 library/os.rst:4238 library/os.rst:4367 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -463,11 +462,11 @@ msgid "" "``True``." msgstr "" -#: library/os.rst:None library/os.rst:920 library/os.rst:963 -#: library/os.rst:1036 library/os.rst:1257 library/os.rst:1339 -#: library/os.rst:1575 library/os.rst:1964 library/os.rst:2019 -#: library/os.rst:2285 library/os.rst:3119 library/os.rst:4854 -#: library/os.rst:4884 library/os.rst:4904 +#: library/os.rst:734 library/os.rst:942 library/os.rst:1024 +#: library/os.rst:1242 library/os.rst:1270 library/os.rst:1549 +#: library/os.rst:1611 library/os.rst:2006 library/os.rst:2274 +#: library/os.rst:2964 library/os.rst:3354 library/os.rst:4865 +#: library/os.rst:4896 library/os.rst:4906 msgid ":ref:`Availability `: Unix." msgstr "" @@ -538,8 +537,8 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: library/os.rst:458 library/os.rst:3929 library/os.rst:4341 -#: library/os.rst:4627 +#: library/os.rst:458 library/os.rst:3931 library/os.rst:4460 +#: library/os.rst:4629 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" @@ -631,7 +630,7 @@ msgid "" "cause memory leaks. Refer to the system documentation for :c:func:`putenv`." msgstr "" -#: library/os.rst:553 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.putenv`` with arguments " "``key``, ``value``." @@ -785,7 +784,7 @@ msgid "" "or even ``socket.gethostbyaddr(socket.gethostname())``." msgstr "" -#: library/os.rst:4366 +#: library/os.rst:4368 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -806,7 +805,7 @@ msgid "" "items of :data:`os.environ`." msgstr "" -#: library/os.rst:753 +#: library/os.rst:12 msgid "" "Raises an :ref:`auditing event ` ``os.unsetenv`` with argument " "``key``." @@ -966,14 +965,14 @@ msgid "" "this is equivalent to ``os.chmod(fd, mode)``." msgstr "" -#: library/os.rst:1909 library/os.rst:2003 +#: library/os.rst:38 msgid "" "Raises an :ref:`auditing event ` ``os.chmod`` with arguments " "``path``, ``mode``, ``dir_fd``." msgstr "" #: library/os.rst:910 library/os.rst:1475 library/os.rst:1935 -#: library/os.rst:3097 +#: library/os.rst:3099 msgid "" "The function is limited on Emscripten and WASI, see :ref:`wasm-availability` " "for more information." @@ -986,7 +985,7 @@ msgid "" "`chown`. As of Python 3.3, this is equivalent to ``os.chown(fd, uid, gid)``." msgstr "" -#: library/os.rst:1931 library/os.rst:2016 +#: library/os.rst:11 msgid "" "Raises an :ref:`auditing event ` ``os.chown`` with arguments " "``path``, ``uid``, ``gid``, ``dir_fd``." @@ -1067,13 +1066,13 @@ msgid "" "truncate(fd, length)``." msgstr "" -#: library/os.rst:984 +#: library/os.rst:5 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``fd``, ``length``." msgstr "" -#: library/os.rst:3136 +#: library/os.rst:3138 msgid "Added support for Windows" msgstr "" @@ -1101,7 +1100,7 @@ msgid "" "specifies the section of the file to lock." msgstr "" -#: library/os.rst:1021 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.lockf`` with arguments " "``fd``, ``cmd``, ``len``." @@ -1162,7 +1161,7 @@ msgid "" "` with the *dir_fd* parameter." msgstr "" -#: library/os.rst:1087 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``open`` with arguments ``path``, " "``mode``, ``flags``." @@ -1180,7 +1179,7 @@ msgstr "" msgid "The *dir_fd* argument." msgstr "" -#: library/os.rst:1421 library/os.rst:4459 +#: library/os.rst:1421 library/os.rst:4461 msgid "" "If the system call is interrupted and the signal handler does not raise an " "exception, the function now retries the system call instead of raising an :" @@ -1190,8 +1189,8 @@ msgstr "" #: library/os.rst:1803 library/os.rst:1866 library/os.rst:1952 #: library/os.rst:2007 library/os.rst:2079 library/os.rst:2144 #: library/os.rst:2212 library/os.rst:2275 library/os.rst:2365 -#: library/os.rst:2724 library/os.rst:3139 library/os.rst:3195 -#: library/os.rst:3355 library/os.rst:3718 library/os.rst:4224 +#: library/os.rst:2726 library/os.rst:3141 library/os.rst:3197 +#: library/os.rst:3357 library/os.rst:3720 library/os.rst:4226 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -1347,7 +1346,7 @@ msgstr "" msgid "Combine the functionality of :func:`os.readv` and :func:`os.pread`." msgstr "" -#: library/os.rst:None +#: library/os.rst:-1 msgid "" ":ref:`Availability `: Linux >= 2.6.30, FreeBSD >= 6.0, OpenBSD " ">= 2.7, AIX >= 7.1." @@ -1721,7 +1720,7 @@ msgstr "" msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1695 library/os.rst:4259 library/os.rst:4305 +#: library/os.rst:1695 library/os.rst:4261 library/os.rst:4307 msgid ":ref:`Availability `: Windows." msgstr "" @@ -1872,7 +1871,7 @@ msgid "" "`FileNotFoundError`, :exc:`PermissionError`, and :exc:`NotADirectoryError`." msgstr "" -#: library/os.rst:1962 +#: library/os.rst:11 msgid "" "Raises an :ref:`auditing event ` ``os.chdir`` with argument " "``path``." @@ -1943,7 +1942,7 @@ msgid "" "This function can support :ref:`not following symlinks `." msgstr "" -#: library/os.rst:1988 +#: library/os.rst:19 msgid "" "Raises an :ref:`auditing event ` ``os.chflags`` with arguments " "``path``, ``flags``." @@ -2036,7 +2035,7 @@ msgstr "" msgid ":data:`stat.S_IXOTH`" msgstr "" -#: library/os.rst:1924 library/os.rst:3185 +#: library/os.rst:1924 library/os.rst:3187 msgid "" "This function can support :ref:`specifying a file descriptor `, :" "ref:`paths relative to directory descriptors ` and :ref:`not " @@ -2131,7 +2130,7 @@ msgid "" "`not following symlinks `." msgstr "" -#: library/os.rst:2032 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.link`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." @@ -2145,7 +2144,7 @@ msgstr "" msgid "Added the *src_dir_fd*, *dst_dir_fd*, and *follow_symlinks* arguments." msgstr "" -#: library/os.rst:2395 library/os.rst:3107 +#: library/os.rst:2397 library/os.rst:3109 msgid "Accepts a :term:`path-like object` for *src* and *dst*." msgstr "" @@ -2166,13 +2165,13 @@ msgid "" "circumstances, they will be of type ``str``." msgstr "" -#: library/os.rst:2480 +#: library/os.rst:2482 msgid "" "This function can also support :ref:`specifying a file descriptor " "`; the file descriptor must refer to a directory." msgstr "" -#: library/os.rst:2062 +#: library/os.rst:15 msgid "" "Raises an :ref:`auditing event ` ``os.listdir`` with argument " "``path``." @@ -2192,7 +2191,7 @@ msgstr "" msgid "The *path* parameter became optional." msgstr "" -#: library/os.rst:2966 +#: library/os.rst:2968 msgid "Added support for specifying *path* as an open file descriptor." msgstr "" @@ -2221,7 +2220,7 @@ msgid "" "`." msgstr "" -#: library/os.rst:2309 library/os.rst:3100 +#: library/os.rst:2309 library/os.rst:3102 msgid "Added support for Windows 6.0 (Vista) symbolic links." msgstr "" @@ -2263,7 +2262,7 @@ msgid "" "module's :func:`tempfile.mkdtemp` function." msgstr "" -#: library/os.rst:2173 +#: library/os.rst:24 msgid "" "Raises an :ref:`auditing event ` ``os.mkdir`` with arguments " "``path``, ``mode``, ``dir_fd``." @@ -2372,7 +2371,7 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:2959 library/os.rst:3128 +#: library/os.rst:2961 library/os.rst:3130 msgid "" "This function can support :ref:`specifying a file descriptor `." msgstr "" @@ -2428,7 +2427,7 @@ msgid "" "does not exist, a :exc:`FileNotFoundError` is raised." msgstr "" -#: library/os.rst:2443 library/os.rst:3079 +#: library/os.rst:2445 library/os.rst:3081 msgid "" "This function can support :ref:`paths relative to directory descriptors " "`." @@ -2446,7 +2445,7 @@ msgstr "" msgid "This function is semantically identical to :func:`unlink`." msgstr "" -#: library/os.rst:2363 library/os.rst:3150 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``os.remove`` with arguments " "``path``, ``dir_fd``." @@ -2471,10 +2470,13 @@ msgid "" msgstr "" #: library/os.rst:2374 -msgid "On Windows, if *dst* exists a :exc:`FileExistsError` is always raised." +msgid "" +"On Windows, if *dst* exists a :exc:`FileExistsError` is always raised. The " +"operation may fail if *src* and *dst* are on different filesystems. Use :" +"func:`shutil.move` to support moves to a different filesystem." msgstr "" -#: library/os.rst:2376 +#: library/os.rst:2378 msgid "" "On Unix, if *src* is a file and *dst* is a directory or vice-versa, an :exc:" "`IsADirectoryError` or a :exc:`NotADirectoryError` will be raised " @@ -2486,29 +2488,29 @@ msgid "" "operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2425 +#: library/os.rst:2427 msgid "" "This function can support specifying *src_dir_fd* and/or *dst_dir_fd* to " "supply :ref:`paths relative to directory descriptors `." msgstr "" -#: library/os.rst:2388 +#: library/os.rst:2390 msgid "" "If you want cross-platform overwriting of the destination, use :func:" "`replace`." msgstr "" -#: library/os.rst:2411 library/os.rst:2428 +#: library/os.rst:22 msgid "" "Raises an :ref:`auditing event ` ``os.rename`` with arguments " "``src``, ``dst``, ``src_dir_fd``, ``dst_dir_fd``." msgstr "" -#: library/os.rst:2392 +#: library/os.rst:2394 msgid "The *src_dir_fd* and *dst_dir_fd* arguments." msgstr "" -#: library/os.rst:2401 +#: library/os.rst:2403 msgid "" "Recursive directory or file renaming function. Works like :func:`rename`, " "except creation of any intermediate directories needed to make the new " @@ -2517,17 +2519,17 @@ msgid "" "using :func:`removedirs`." msgstr "" -#: library/os.rst:2408 +#: library/os.rst:2410 msgid "" "This function can fail with the new directory structure made if you lack " "permissions needed to remove the leaf directory or file." msgstr "" -#: library/os.rst:2413 +#: library/os.rst:2415 msgid "Accepts a :term:`path-like object` for *old* and *new*." msgstr "" -#: library/os.rst:2419 +#: library/os.rst:2421 msgid "" "Rename the file or directory *src* to *dst*. If *dst* is a non-empty " "directory, :exc:`OSError` will be raised. If *dst* exists and is a file, it " @@ -2536,7 +2538,7 @@ msgid "" "renaming will be an atomic operation (this is a POSIX requirement)." msgstr "" -#: library/os.rst:2438 +#: library/os.rst:2440 msgid "" "Remove (delete) the directory *path*. If the directory does not exist or is " "not empty, a :exc:`FileNotFoundError` or an :exc:`OSError` is raised " @@ -2544,17 +2546,17 @@ msgid "" "rmtree` can be used." msgstr "" -#: library/os.rst:2446 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.rmdir`` with arguments " "``path``, ``dir_fd``." msgstr "" -#: library/os.rst:3152 +#: library/os.rst:3154 msgid "The *dir_fd* parameter." msgstr "" -#: library/os.rst:2457 +#: library/os.rst:2459 msgid "" "Return an iterator of :class:`os.DirEntry` objects corresponding to the " "entries in the directory given by *path*. The entries are yielded in " @@ -2564,7 +2566,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:2464 +#: library/os.rst:2466 msgid "" "Using :func:`scandir` instead of :func:`listdir` can significantly increase " "the performance of code that also needs file type or file attribute " @@ -2576,7 +2578,7 @@ msgid "" "Unix but only requires one for symbolic links on Windows." msgstr "" -#: library/os.rst:2474 +#: library/os.rst:2476 msgid "" "*path* may be a :term:`path-like object`. If *path* is of type ``bytes`` " "(directly or indirectly through the :class:`PathLike` interface), the type " @@ -2585,30 +2587,30 @@ msgid "" "they will be of type ``str``." msgstr "" -#: library/os.rst:2483 +#: library/os.rst:27 msgid "" "Raises an :ref:`auditing event ` ``os.scandir`` with argument " "``path``." msgstr "" -#: library/os.rst:2485 +#: library/os.rst:2487 msgid "" "The :func:`scandir` iterator supports the :term:`context manager` protocol " "and has the following method:" msgstr "" -#: library/os.rst:2490 +#: library/os.rst:2492 msgid "Close the iterator and free acquired resources." msgstr "" -#: library/os.rst:2492 +#: library/os.rst:2494 msgid "" "This is called automatically when the iterator is exhausted or garbage " "collected, or when an error happens during iterating. However it is " "advisable to call it explicitly or use the :keyword:`with` statement." msgstr "" -#: library/os.rst:2499 +#: library/os.rst:2501 msgid "" "The following example shows a simple use of :func:`scandir` to display all " "the files (excluding directories) in the given *path* that don't start with " @@ -2616,7 +2618,7 @@ msgid "" "system call::" msgstr "" -#: library/os.rst:2511 +#: library/os.rst:2513 msgid "" "On Unix-based systems, :func:`scandir` uses the system's `opendir() `_ and " @@ -2627,7 +2629,7 @@ msgid "" "desktop/aa364428(v=vs.85).aspx>`_ functions." msgstr "" -#: library/os.rst:2523 +#: library/os.rst:2525 msgid "" "Added support for the :term:`context manager` protocol and the :func:" "`~scandir.close()` method. If a :func:`scandir` iterator is neither " @@ -2635,28 +2637,28 @@ msgid "" "its destructor." msgstr "" -#: library/os.rst:2529 +#: library/os.rst:2531 msgid "The function accepts a :term:`path-like object`." msgstr "" -#: library/os.rst:2531 +#: library/os.rst:2533 msgid "Added support for :ref:`file descriptors ` on Unix." msgstr "" -#: library/os.rst:2537 +#: library/os.rst:2539 msgid "" "Object yielded by :func:`scandir` to expose the file path and other file " "attributes of a directory entry." msgstr "" -#: library/os.rst:2540 +#: library/os.rst:2542 msgid "" ":func:`scandir` will provide as much of this information as possible without " "making additional system calls. When a ``stat()`` or ``lstat()`` system call " "is made, the ``os.DirEntry`` object will cache the result." msgstr "" -#: library/os.rst:2544 +#: library/os.rst:2546 msgid "" "``os.DirEntry`` instances are not intended to be stored in long-lived data " "structures; if you know the file metadata has changed or if a long time has " @@ -2664,7 +2666,7 @@ msgid "" "up-to-date information." msgstr "" -#: library/os.rst:2549 +#: library/os.rst:2551 msgid "" "Because the ``os.DirEntry`` methods can make operating system calls, they " "may also raise :exc:`OSError`. If you need very fine-grained control over " @@ -2672,29 +2674,29 @@ msgid "" "methods and handle as appropriate." msgstr "" -#: library/os.rst:2554 +#: library/os.rst:2556 msgid "" "To be directly usable as a :term:`path-like object`, ``os.DirEntry`` " "implements the :class:`PathLike` interface." msgstr "" -#: library/os.rst:2557 +#: library/os.rst:2559 msgid "Attributes and methods on a ``os.DirEntry`` instance are as follows:" msgstr "" -#: library/os.rst:2561 +#: library/os.rst:2563 msgid "" "The entry's base filename, relative to the :func:`scandir` *path* argument." msgstr "" -#: library/os.rst:2564 +#: library/os.rst:2566 msgid "" "The :attr:`name` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2570 +#: library/os.rst:2572 msgid "" "The entry's full path name: equivalent to ``os.path.join(scandir_path, entry." "name)`` where *scandir_path* is the :func:`scandir` *path* argument. The " @@ -2704,51 +2706,51 @@ msgid "" "attribute." msgstr "" -#: library/os.rst:2577 +#: library/os.rst:2579 msgid "" "The :attr:`path` attribute will be ``bytes`` if the :func:`scandir` *path* " "argument is of type ``bytes`` and ``str`` otherwise. Use :func:`~os." "fsdecode` to decode byte filenames." msgstr "" -#: library/os.rst:2583 +#: library/os.rst:2585 msgid "Return the inode number of the entry." msgstr "" -#: library/os.rst:2585 +#: library/os.rst:2587 msgid "" "The result is cached on the ``os.DirEntry`` object. Use ``os.stat(entry." "path, follow_symlinks=False).st_ino`` to fetch up-to-date information." msgstr "" -#: library/os.rst:2589 +#: library/os.rst:2591 msgid "" "On the first, uncached call, a system call is required on Windows but not on " "Unix." msgstr "" -#: library/os.rst:2594 +#: library/os.rst:2596 msgid "" "Return ``True`` if this entry is a directory or a symbolic link pointing to " "a directory; return ``False`` if the entry is or points to any other kind of " "file, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2598 +#: library/os.rst:2600 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "directory (without following symlinks); return ``False`` if the entry is any " "other kind of file or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2602 +#: library/os.rst:2604 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` along " "with :func:`stat.S_ISDIR` to fetch up-to-date information." msgstr "" -#: library/os.rst:2606 +#: library/os.rst:2608 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, for non-symlinks, neither Windows or Unix require a system " @@ -2758,46 +2760,46 @@ msgid "" "is ``False``." msgstr "" -#: library/os.rst:2643 +#: library/os.rst:2645 msgid "" "This method can raise :exc:`OSError`, such as :exc:`PermissionError`, but :" "exc:`FileNotFoundError` is caught and not raised." msgstr "" -#: library/os.rst:2618 +#: library/os.rst:2620 msgid "" "Return ``True`` if this entry is a file or a symbolic link pointing to a " "file; return ``False`` if the entry is or points to a directory or other non-" "file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2622 +#: library/os.rst:2624 msgid "" "If *follow_symlinks* is ``False``, return ``True`` only if this entry is a " "file (without following symlinks); return ``False`` if the entry is a " "directory or other non-file entry, or if it doesn't exist anymore." msgstr "" -#: library/os.rst:2626 +#: library/os.rst:2628 msgid "" "The result is cached on the ``os.DirEntry`` object. Caching, system calls " "made, and exceptions raised are as per :func:`~os.DirEntry.is_dir`." msgstr "" -#: library/os.rst:2631 +#: library/os.rst:2633 msgid "" "Return ``True`` if this entry is a symbolic link (even if broken); return " "``False`` if the entry points to a directory or any kind of file, or if it " "doesn't exist anymore." msgstr "" -#: library/os.rst:2635 +#: library/os.rst:2637 msgid "" "The result is cached on the ``os.DirEntry`` object. Call :func:`os.path." "islink` to fetch up-to-date information." msgstr "" -#: library/os.rst:2638 +#: library/os.rst:2640 msgid "" "On the first, uncached call, no system call is required in most cases. " "Specifically, neither Windows or Unix require a system call, except on " @@ -2805,35 +2807,35 @@ msgid "" "``dirent.d_type == DT_UNKNOWN``." msgstr "" -#: library/os.rst:2648 +#: library/os.rst:2650 msgid "" "Return a :class:`stat_result` object for this entry. This method follows " "symbolic links by default; to stat a symbolic link add the " "``follow_symlinks=False`` argument." msgstr "" -#: library/os.rst:2652 +#: library/os.rst:2654 msgid "" "On Unix, this method always requires a system call. On Windows, it only " "requires a system call if *follow_symlinks* is ``True`` and the entry is a " "reparse point (for example, a symbolic link or directory junction)." msgstr "" -#: library/os.rst:2657 +#: library/os.rst:2659 msgid "" "On Windows, the ``st_ino``, ``st_dev`` and ``st_nlink`` attributes of the :" "class:`stat_result` are always set to zero. Call :func:`os.stat` to get " "these attributes." msgstr "" -#: library/os.rst:2661 +#: library/os.rst:2663 msgid "" "The result is cached on the ``os.DirEntry`` object, with a separate cache " "for *follow_symlinks* ``True`` and ``False``. Call :func:`os.stat` to fetch " "up-to-date information." msgstr "" -#: library/os.rst:2665 +#: library/os.rst:2667 msgid "" "Note that there is a nice correspondence between several attributes and " "methods of ``os.DirEntry`` and of :class:`pathlib.Path`. In particular, the " @@ -2841,13 +2843,13 @@ msgid "" "``is_file()``, ``is_symlink()`` and ``stat()`` methods." msgstr "" -#: library/os.rst:2673 +#: library/os.rst:2675 msgid "" "Added support for the :class:`~os.PathLike` interface. Added support for :" "class:`bytes` paths on Windows." msgstr "" -#: library/os.rst:2680 +#: library/os.rst:2682 msgid "" "Get the status of a file or a file descriptor. Perform the equivalent of a :" "c:func:`stat` system call on the given path. *path* may be specified as " @@ -2856,19 +2858,19 @@ msgid "" "`stat_result` object." msgstr "" -#: library/os.rst:2686 +#: library/os.rst:2688 msgid "" "This function normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :func:`lstat`." msgstr "" -#: library/os.rst:3518 library/os.rst:3550 library/os.rst:3570 +#: library/os.rst:3520 library/os.rst:3552 library/os.rst:3572 msgid "" "This function can support :ref:`specifying a file descriptor ` and :" "ref:`not following symlinks `." msgstr "" -#: library/os.rst:2692 +#: library/os.rst:2694 msgid "" "On Windows, passing ``follow_symlinks=False`` will disable following all " "name-surrogate reparse points, which includes symlinks and directory " @@ -2882,21 +2884,21 @@ msgid "" "junction points, which will raise the usual exceptions." msgstr "" -#: library/os.rst:3438 +#: library/os.rst:3440 msgid "Example::" msgstr "" -#: library/os.rst:2718 +#: library/os.rst:2720 msgid ":func:`fstat` and :func:`lstat` functions." msgstr "" -#: library/os.rst:2720 +#: library/os.rst:2722 msgid "" "Added the *dir_fd* and *follow_symlinks* arguments, specifying a file " "descriptor instead of a path." msgstr "" -#: library/os.rst:2727 +#: library/os.rst:2729 msgid "" "On Windows, all reparse points that can be resolved by the operating system " "are now followed, and passing ``follow_symlinks=False`` disables following " @@ -2906,100 +2908,100 @@ msgid "" "of raising an error." msgstr "" -#: library/os.rst:2738 +#: library/os.rst:2740 msgid "" "Object whose attributes correspond roughly to the members of the :c:type:" "`stat` structure. It is used for the result of :func:`os.stat`, :func:`os." "fstat` and :func:`os.lstat`." msgstr "" -#: library/os.rst:2742 +#: library/os.rst:2744 msgid "Attributes:" msgstr "" -#: library/os.rst:2746 +#: library/os.rst:2748 msgid "File mode: file type and file mode bits (permissions)." msgstr "" -#: library/os.rst:2750 +#: library/os.rst:2752 msgid "" "Platform dependent, but if non-zero, uniquely identifies the file for a " "given value of ``st_dev``. Typically:" msgstr "" -#: library/os.rst:2753 +#: library/os.rst:2755 msgid "the inode number on Unix," msgstr "" -#: library/os.rst:2754 +#: library/os.rst:2756 msgid "" "the `file index `_ on " "Windows" msgstr "" -#: library/os.rst:2760 +#: library/os.rst:2762 msgid "Identifier of the device on which this file resides." msgstr "" -#: library/os.rst:2764 +#: library/os.rst:2766 msgid "Number of hard links." msgstr "" -#: library/os.rst:2768 +#: library/os.rst:2770 msgid "User identifier of the file owner." msgstr "" -#: library/os.rst:2772 +#: library/os.rst:2774 msgid "Group identifier of the file owner." msgstr "" -#: library/os.rst:2776 +#: library/os.rst:2778 msgid "" "Size of the file in bytes, if it is a regular file or a symbolic link. The " "size of a symbolic link is the length of the pathname it contains, without a " "terminating null byte." msgstr "" -#: library/os.rst:2780 +#: library/os.rst:2782 msgid "Timestamps:" msgstr "" -#: library/os.rst:2784 +#: library/os.rst:2786 msgid "Time of most recent access expressed in seconds." msgstr "" -#: library/os.rst:2788 +#: library/os.rst:2790 msgid "Time of most recent content modification expressed in seconds." msgstr "" -#: library/os.rst:2808 +#: library/os.rst:2810 msgid "Platform dependent:" msgstr "" -#: library/os.rst:2810 +#: library/os.rst:2812 msgid "the time of most recent metadata change on Unix," msgstr "" -#: library/os.rst:2795 +#: library/os.rst:2797 msgid "the time of creation on Windows, expressed in seconds." msgstr "" -#: library/os.rst:2799 +#: library/os.rst:2801 msgid "Time of most recent access expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2803 +#: library/os.rst:2805 msgid "" "Time of most recent content modification expressed in nanoseconds as an " "integer." msgstr "" -#: library/os.rst:2811 +#: library/os.rst:2813 msgid "" "the time of creation on Windows, expressed in nanoseconds as an integer." msgstr "" -#: library/os.rst:2816 +#: library/os.rst:2818 msgid "" "The exact meaning and resolution of the :attr:`st_atime`, :attr:`st_mtime`, " "and :attr:`st_ctime` attributes depend on the operating system and the file " @@ -3008,7 +3010,7 @@ msgid "" "only 1-day resolution. See your operating system documentation for details." msgstr "" -#: library/os.rst:2823 +#: library/os.rst:2825 msgid "" "Similarly, although :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:" "`st_ctime_ns` are always expressed in nanoseconds, many systems do not " @@ -3019,78 +3021,78 @@ msgid "" "attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns`." msgstr "" -#: library/os.rst:2832 +#: library/os.rst:2834 msgid "" "On some Unix systems (such as Linux), the following attributes may also be " "available:" msgstr "" -#: library/os.rst:2837 +#: library/os.rst:2839 msgid "" "Number of 512-byte blocks allocated for file. This may be smaller than :attr:" "`st_size`/512 when the file has holes." msgstr "" -#: library/os.rst:2842 +#: library/os.rst:2844 msgid "" "\"Preferred\" blocksize for efficient file system I/O. Writing to a file in " "smaller chunks may cause an inefficient read-modify-rewrite." msgstr "" -#: library/os.rst:2847 +#: library/os.rst:2849 msgid "Type of device if an inode device." msgstr "" -#: library/os.rst:2851 +#: library/os.rst:2853 msgid "User defined flags for file." msgstr "" -#: library/os.rst:2853 +#: library/os.rst:2855 msgid "" "On other Unix systems (such as FreeBSD), the following attributes may be " "available (but may be only filled out if root tries to use them):" msgstr "" -#: library/os.rst:2858 +#: library/os.rst:2860 msgid "File generation number." msgstr "" -#: library/os.rst:2862 +#: library/os.rst:2864 msgid "Time of file creation." msgstr "" -#: library/os.rst:2864 +#: library/os.rst:2866 msgid "" "On Solaris and derivatives, the following attributes may also be available:" msgstr "" -#: library/os.rst:2869 +#: library/os.rst:2871 msgid "" "String that uniquely identifies the type of the filesystem that contains the " "file." msgstr "" -#: library/os.rst:2872 +#: library/os.rst:2874 msgid "On macOS systems, the following attributes may also be available:" msgstr "" -#: library/os.rst:2876 +#: library/os.rst:2878 msgid "Real size of the file." msgstr "" -#: library/os.rst:2880 +#: library/os.rst:2882 msgid "Creator of the file." msgstr "" -#: library/os.rst:2884 +#: library/os.rst:2886 msgid "File type." msgstr "" -#: library/os.rst:2886 +#: library/os.rst:2888 msgid "On Windows systems, the following attributes are also available:" msgstr "" -#: library/os.rst:2890 +#: library/os.rst:2892 msgid "" "Windows file attributes: ``dwFileAttributes`` member of the " "``BY_HANDLE_FILE_INFORMATION`` structure returned by :c:func:" @@ -3098,21 +3100,21 @@ msgid "" "mod:`stat` module." msgstr "" -#: library/os.rst:2897 +#: library/os.rst:2899 msgid "" "When :attr:`st_file_attributes` has the ``FILE_ATTRIBUTE_REPARSE_POINT`` " "set, this field contains the tag identifying the type of reparse point. See " "the ``IO_REPARSE_TAG_*`` constants in the :mod:`stat` module." msgstr "" -#: library/os.rst:2901 +#: library/os.rst:2903 msgid "" "The standard module :mod:`stat` defines functions and constants that are " "useful for extracting information from a :c:type:`stat` structure. (On " "Windows, some items are filled with dummy values.)" msgstr "" -#: library/os.rst:2905 +#: library/os.rst:2907 msgid "" "For backward compatibility, a :class:`stat_result` instance is also " "accessible as a tuple of at least 10 integers giving the most important (and " @@ -3124,35 +3126,35 @@ msgid "" "class:`stat_result` as a tuple always returns integers." msgstr "" -#: library/os.rst:2914 +#: library/os.rst:2916 msgid "" "Added the :attr:`st_atime_ns`, :attr:`st_mtime_ns`, and :attr:`st_ctime_ns` " "members." msgstr "" -#: library/os.rst:2918 +#: library/os.rst:2920 msgid "Added the :attr:`st_file_attributes` member on Windows." msgstr "" -#: library/os.rst:2921 +#: library/os.rst:2923 msgid "Windows now returns the file index as :attr:`st_ino` when available." msgstr "" -#: library/os.rst:2925 +#: library/os.rst:2927 msgid "Added the :attr:`st_fstype` member to Solaris/derivatives." msgstr "" -#: library/os.rst:2928 +#: library/os.rst:2930 msgid "Added the :attr:`st_reparse_tag` member on Windows." msgstr "" -#: library/os.rst:2931 +#: library/os.rst:2933 msgid "" "On Windows, the :attr:`st_mode` member now identifies special files as :" "const:`S_IFCHR`, :const:`S_IFIFO` or :const:`S_IFBLK` as appropriate." msgstr "" -#: library/os.rst:2938 +#: library/os.rst:2940 msgid "" "Perform a :c:func:`statvfs` system call on the given path. The return value " "is an object whose attributes describe the filesystem on the given path, and " @@ -3162,7 +3164,7 @@ msgid "" "`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`." msgstr "" -#: library/os.rst:2945 +#: library/os.rst:2947 msgid "" "Two module-level constants are defined for the :attr:`f_flag` attribute's " "bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted read-" @@ -3170,7 +3172,7 @@ msgid "" "are disabled or not supported." msgstr "" -#: library/os.rst:2950 +#: library/os.rst:2952 msgid "" "Additional module-level constants are defined for GNU/glibc based systems. " "These are :const:`ST_NODEV` (disallow access to device special files), :" @@ -3183,11 +3185,11 @@ msgid "" "relative to mtime/ctime)." msgstr "" -#: library/os.rst:2963 +#: library/os.rst:2965 msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added." msgstr "" -#: library/os.rst:2969 +#: library/os.rst:2971 msgid "" "The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, :const:" "`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, :const:" @@ -3195,11 +3197,11 @@ msgid "" "`ST_RELATIME` constants were added." msgstr "" -#: library/os.rst:2978 +#: library/os.rst:2980 msgid "Added :attr:`f_fsid`." msgstr "" -#: library/os.rst:2984 +#: library/os.rst:2986 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept an open file descriptor for their *dir_fd* parameter. Different " @@ -3211,7 +3213,7 @@ msgid "" "(Specifying ``None`` for *dir_fd* is always supported on all platforms.)" msgstr "" -#: library/os.rst:2994 +#: library/os.rst:2996 msgid "" "To check whether a particular function accepts an open file descriptor for " "its *dir_fd* parameter, use the ``in`` operator on ``supports_dir_fd``. As " @@ -3219,13 +3221,13 @@ msgid "" "open file descriptors for *dir_fd* on the local platform::" msgstr "" -#: library/os.rst:3001 +#: library/os.rst:3003 msgid "" "Currently *dir_fd* parameters only work on Unix platforms; none of them work " "on Windows." msgstr "" -#: library/os.rst:3009 +#: library/os.rst:3011 msgid "" "A :class:`set` object indicating whether :func:`os.access` permits " "specifying ``True`` for its *effective_ids* parameter on the local platform. " @@ -3234,19 +3236,19 @@ msgid "" "func:`os.access`; otherwise it will be empty." msgstr "" -#: library/os.rst:3015 +#: library/os.rst:3017 msgid "" "This expression evaluates to ``True`` if :func:`os.access` supports " "``effective_ids=True`` on the local platform::" msgstr "" -#: library/os.rst:3020 +#: library/os.rst:3022 msgid "" "Currently *effective_ids* is only supported on Unix platforms; it does not " "work on Windows." msgstr "" -#: library/os.rst:3028 +#: library/os.rst:3030 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "permit specifying their *path* parameter as an open file descriptor on the " @@ -3255,7 +3257,7 @@ msgid "" "*path* arguments is not available on all platforms Python supports." msgstr "" -#: library/os.rst:3035 +#: library/os.rst:3037 msgid "" "To determine whether a particular function permits specifying an open file " "descriptor for its *path* parameter, use the ``in`` operator on " @@ -3264,7 +3266,7 @@ msgid "" "platform::" msgstr "" -#: library/os.rst:3048 +#: library/os.rst:3050 msgid "" "A :class:`set` object indicating which functions in the :mod:`os` module " "accept ``False`` for their *follow_symlinks* parameter on the local " @@ -3277,7 +3279,7 @@ msgid "" "on all platforms.)" msgstr "" -#: library/os.rst:3058 +#: library/os.rst:3060 msgid "" "To check whether a particular function accepts ``False`` for its " "*follow_symlinks* parameter, use the ``in`` operator on " @@ -3286,11 +3288,11 @@ msgid "" "stat` on the local platform::" msgstr "" -#: library/os.rst:3071 +#: library/os.rst:3073 msgid "Create a symbolic link pointing to *src* named *dst*." msgstr "" -#: library/os.rst:3073 +#: library/os.rst:3075 msgid "" "On Windows, a symlink represents either a file or a directory, and does not " "morph to the target dynamically. If the target is present, the type of the " @@ -3300,7 +3302,7 @@ msgid "" "ignored." msgstr "" -#: library/os.rst:3084 +#: library/os.rst:3086 msgid "" "On newer versions of Windows 10, unprivileged accounts can create symlinks " "if Developer Mode is enabled. When Developer Mode is not available/enabled, " @@ -3308,83 +3310,83 @@ msgid "" "must be run as an administrator." msgstr "" -#: library/os.rst:3090 +#: library/os.rst:3092 msgid "" ":exc:`OSError` is raised when the function is called by an unprivileged user." msgstr "" -#: library/os.rst:3093 +#: library/os.rst:23 msgid "" "Raises an :ref:`auditing event ` ``os.symlink`` with arguments " "``src``, ``dst``, ``dir_fd``." msgstr "" -#: library/os.rst:3103 +#: library/os.rst:3105 msgid "" "Added the *dir_fd* argument, and now allow *target_is_directory* on non-" "Windows platforms." msgstr "" -#: library/os.rst:3110 +#: library/os.rst:3112 msgid "Added support for unelevated symlinks on Windows with Developer Mode." msgstr "" -#: library/os.rst:3116 +#: library/os.rst:3118 msgid "Force write of everything to disk." msgstr "" -#: library/os.rst:3125 +#: library/os.rst:3127 msgid "" "Truncate the file corresponding to *path*, so that it is at most *length* " "bytes in size." msgstr "" -#: library/os.rst:3130 +#: library/os.rst:6 msgid "" "Raises an :ref:`auditing event ` ``os.truncate`` with arguments " "``path``, ``length``." msgstr "" -#: library/os.rst:3145 +#: library/os.rst:3147 msgid "" "Remove (delete) the file *path*. This function is semantically identical " "to :func:`remove`; the ``unlink`` name is its traditional Unix name. Please " "see the documentation for :func:`remove` for further information." msgstr "" -#: library/os.rst:3161 +#: library/os.rst:3163 msgid "Set the access and modified times of the file specified by *path*." msgstr "" -#: library/os.rst:3163 +#: library/os.rst:3165 msgid "" ":func:`utime` takes two optional parameters, *times* and *ns*. These specify " "the times set on *path* and are used as follows:" msgstr "" -#: library/os.rst:3166 +#: library/os.rst:3168 msgid "" "If *ns* is specified, it must be a 2-tuple of the form ``(atime_ns, " "mtime_ns)`` where each member is an int expressing nanoseconds." msgstr "" -#: library/os.rst:3169 +#: library/os.rst:3171 msgid "" "If *times* is not ``None``, it must be a 2-tuple of the form ``(atime, " "mtime)`` where each member is an int or float expressing seconds." msgstr "" -#: library/os.rst:3172 +#: library/os.rst:3174 msgid "" "If *times* is ``None`` and *ns* is unspecified, this is equivalent to " "specifying ``ns=(atime_ns, mtime_ns)`` where both times are the current time." msgstr "" -#: library/os.rst:3176 +#: library/os.rst:3178 msgid "It is an error to specify tuples for both *times* and *ns*." msgstr "" -#: library/os.rst:3178 +#: library/os.rst:3180 msgid "" "Note that the exact times you set here may not be returned by a subsequent :" "func:`~os.stat` call, depending on the resolution with which your operating " @@ -3394,19 +3396,19 @@ msgid "" "func:`utime`." msgstr "" -#: library/os.rst:3189 +#: library/os.rst:29 msgid "" "Raises an :ref:`auditing event ` ``os.utime`` with arguments " "``path``, ``times``, ``ns``, ``dir_fd``." msgstr "" -#: library/os.rst:3191 +#: library/os.rst:3193 msgid "" "Added support for specifying *path* as an open file descriptor, and the " "*dir_fd*, *follow_symlinks*, and *ns* parameters." msgstr "" -#: library/os.rst:3205 +#: library/os.rst:3207 msgid "" "Generate the file names in a directory tree by walking the tree either top-" "down or bottom-up. For each directory in the tree rooted at directory *top* " @@ -3414,7 +3416,7 @@ msgid "" "filenames)``." msgstr "" -#: library/os.rst:3210 +#: library/os.rst:3212 msgid "" "*dirpath* is a string, the path to the directory. *dirnames* is a list of " "the names of the subdirectories in *dirpath* (including symlinks to " @@ -3428,7 +3430,7 @@ msgid "" "unspecified." msgstr "" -#: library/os.rst:3221 +#: library/os.rst:3223 msgid "" "If optional argument *topdown* is ``True`` or not specified, the triple for " "a directory is generated before the triples for any of its subdirectories " @@ -3439,7 +3441,7 @@ msgid "" "its subdirectories are generated." msgstr "" -#: library/os.rst:3229 +#: library/os.rst:3231 msgid "" "When *topdown* is ``True``, the caller can modify the *dirnames* list in-" "place (perhaps using :keyword:`del` or slice assignment), and :func:`walk` " @@ -3452,7 +3454,7 @@ msgid "" "itself is generated." msgstr "" -#: library/os.rst:3238 +#: library/os.rst:3240 msgid "" "By default, errors from the :func:`scandir` call are ignored. If optional " "argument *onerror* is specified, it should be a function; it will be called " @@ -3462,66 +3464,66 @@ msgid "" "object." msgstr "" -#: library/os.rst:3244 +#: library/os.rst:3246 msgid "" "By default, :func:`walk` will not walk down into symbolic links that resolve " "to directories. Set *followlinks* to ``True`` to visit directories pointed " "to by symlinks, on systems that support them." msgstr "" -#: library/os.rst:3250 +#: library/os.rst:3252 msgid "" "Be aware that setting *followlinks* to ``True`` can lead to infinite " "recursion if a link points to a parent directory of itself. :func:`walk` " "does not keep track of the directories it visited already." msgstr "" -#: library/os.rst:3256 +#: library/os.rst:3258 msgid "" "If you pass a relative pathname, don't change the current working directory " "between resumptions of :func:`walk`. :func:`walk` never changes the current " "directory, and assumes that its caller doesn't either." msgstr "" -#: library/os.rst:3321 +#: library/os.rst:3323 msgid "" "This example displays the number of bytes taken by non-directory files in " "each directory under the starting directory, except that it doesn't look " "under any CVS subdirectory::" msgstr "" -#: library/os.rst:3273 +#: library/os.rst:3275 msgid "" "In the next example (simple implementation of :func:`shutil.rmtree`), " "walking the tree bottom-up is essential, :func:`rmdir` doesn't allow " "deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3288 +#: library/os.rst:88 msgid "" "Raises an :ref:`auditing event ` ``os.walk`` with arguments " "``top``, ``topdown``, ``onerror``, ``followlinks``." msgstr "" -#: library/os.rst:3290 +#: library/os.rst:3292 msgid "" "This function now calls :func:`os.scandir` instead of :func:`os.listdir`, " "making it faster by reducing the number of calls to :func:`os.stat`." msgstr "" -#: library/os.rst:3304 +#: library/os.rst:3306 msgid "" "This behaves exactly like :func:`walk`, except that it yields a 4-tuple " "``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``." msgstr "" -#: library/os.rst:3307 +#: library/os.rst:3309 msgid "" "*dirpath*, *dirnames* and *filenames* are identical to :func:`walk` output, " "and *dirfd* is a file descriptor referring to the directory *dirpath*." msgstr "" -#: library/os.rst:3310 +#: library/os.rst:3312 msgid "" "This function always supports :ref:`paths relative to directory descriptors " "` and :ref:`not following symlinks `. Note however " @@ -3529,30 +3531,30 @@ msgid "" "*follow_symlinks* is ``False``." msgstr "" -#: library/os.rst:3317 +#: library/os.rst:3319 msgid "" "Since :func:`fwalk` yields file descriptors, those are only valid until the " "next iteration step, so you should duplicate them (e.g. with :func:`dup`) if " "you want to keep them longer." msgstr "" -#: library/os.rst:3334 +#: library/os.rst:3336 msgid "" "In the next example, walking the tree bottom-up is essential: :func:`rmdir` " "doesn't allow deleting a directory before the directory is empty::" msgstr "" -#: library/os.rst:3349 +#: library/os.rst:50 msgid "" "Raises an :ref:`auditing event ` ``os.fwalk`` with arguments " "``top``, ``topdown``, ``onerror``, ``follow_symlinks``, ``dir_fd``." msgstr "" -#: library/os.rst:3358 +#: library/os.rst:3360 msgid "Added support for :class:`bytes` paths." msgstr "" -#: library/os.rst:3364 +#: library/os.rst:3366 msgid "" "Create an anonymous file and return a file descriptor that refers to it. " "*flags* must be one of the ``os.MFD_*`` constants available on the system " @@ -3560,7 +3562,7 @@ msgid "" "descriptor is :ref:`non-inheritable `." msgstr "" -#: library/os.rst:3369 +#: library/os.rst:3371 msgid "" "The name supplied in *name* is used as a filename and will be displayed as " "the target of the corresponding symbolic link in the directory ``/proc/self/" @@ -3570,23 +3572,23 @@ msgid "" "side effects." msgstr "" -#: library/os.rst:3377 +#: library/os.rst:3379 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27." msgstr "" -#: library/os.rst:3399 +#: library/os.rst:3401 msgid "These flags can be passed to :func:`memfd_create`." msgstr "" -#: library/os.rst:None +#: library/os.rst:-1 msgid ":ref:`Availability `: Linux >= 3.17 with glibc >= 2.27" msgstr "" -#: library/os.rst:3403 +#: library/os.rst:3405 msgid "The ``MFD_HUGE*`` flags are only available since Linux 4.14." msgstr "" -#: library/os.rst:3410 +#: library/os.rst:3412 msgid "" "Create and return an event file descriptor. The file descriptors supports " "raw :func:`read` and :func:`write` with a buffer size of 8, :func:`~select." @@ -3595,7 +3597,7 @@ msgid "" "ref:`non-inheritable `." msgstr "" -#: library/os.rst:3416 +#: library/os.rst:3418 msgid "" "*initval* is the initial value of the event counter. The initial value must " "be an 32 bit unsigned integer. Please note that the initial value is limited " @@ -3603,86 +3605,86 @@ msgid "" "integer with a maximum value of 2\\ :sup:`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3421 +#: library/os.rst:3423 msgid "" "*flags* can be constructed from :const:`EFD_CLOEXEC`, :const:`EFD_NONBLOCK`, " "and :const:`EFD_SEMAPHORE`." msgstr "" -#: library/os.rst:3424 +#: library/os.rst:3426 msgid "" "If :const:`EFD_SEMAPHORE` is specified and the event counter is non-zero, :" "func:`eventfd_read` returns 1 and decrements the counter by one." msgstr "" -#: library/os.rst:3427 +#: library/os.rst:3429 msgid "" "If :const:`EFD_SEMAPHORE` is not specified and the event counter is non-" "zero, :func:`eventfd_read` returns the current event counter value and " "resets the counter to zero." msgstr "" -#: library/os.rst:3431 +#: library/os.rst:3433 msgid "" "If the event counter is zero and :const:`EFD_NONBLOCK` is not specified, :" "func:`eventfd_read` blocks." msgstr "" -#: library/os.rst:3434 +#: library/os.rst:3436 msgid "" ":func:`eventfd_write` increments the event counter. Write blocks if the " "write operation would increment the counter to a value larger than 2\\ :sup:" "`64`\\ -\\ 2." msgstr "" -#: library/os.rst:3456 +#: library/os.rst:3458 msgid ":ref:`Availability `: Linux >= 2.6.27 with glibc >= 2.8" msgstr "" -#: library/os.rst:3461 +#: library/os.rst:3463 msgid "" "Read value from an :func:`eventfd` file descriptor and return a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3474 library/os.rst:3491 +#: library/os.rst:3476 library/os.rst:3493 msgid ":ref:`Availability `: Linux >= 2.6.27" msgstr "" -#: library/os.rst:3470 +#: library/os.rst:3472 msgid "" "Add value to an :func:`eventfd` file descriptor. *value* must be a 64 bit " "unsigned int. The function does not verify that *fd* is an :func:`eventfd`." msgstr "" -#: library/os.rst:3479 +#: library/os.rst:3481 msgid "Set close-on-exec flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3487 +#: library/os.rst:3489 msgid "" "Set :const:`O_NONBLOCK` status flag for new :func:`eventfd` file descriptor." msgstr "" -#: library/os.rst:3496 +#: library/os.rst:3498 msgid "" "Provide semaphore-like semantics for reads from a :func:`eventfd` file " "descriptor. On read the internal counter is decremented by one." msgstr "" -#: library/os.rst:3500 +#: library/os.rst:3502 msgid ":ref:`Availability `: Linux >= 2.6.30" msgstr "" -#: library/os.rst:3505 +#: library/os.rst:3507 msgid "Linux extended attributes" msgstr "" -#: library/os.rst:3509 +#: library/os.rst:3511 msgid "These functions are all available on Linux only." msgstr "" -#: library/os.rst:3513 +#: library/os.rst:3515 msgid "" "Return the value of the extended filesystem attribute *attribute* for " "*path*. *attribute* can be bytes or str (directly or indirectly through the :" @@ -3690,17 +3692,17 @@ msgid "" "encoding." msgstr "" -#: library/os.rst:3521 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.getxattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3555 library/os.rst:3580 +#: library/os.rst:3557 library/os.rst:3582 msgid "Accepts a :term:`path-like object` for *path* and *attribute*." msgstr "" -#: library/os.rst:3529 +#: library/os.rst:3531 msgid "" "Return a list of the extended filesystem attributes on *path*. The " "attributes in the list are represented as strings decoded with the " @@ -3708,13 +3710,13 @@ msgid "" "the current directory." msgstr "" -#: library/os.rst:3537 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.listxattr`` with argument " "``path``." msgstr "" -#: library/os.rst:3545 +#: library/os.rst:3547 msgid "" "Removes the extended filesystem attribute *attribute* from *path*. " "*attribute* should be bytes or str (directly or indirectly through the :" @@ -3722,13 +3724,13 @@ msgid "" "`filesystem encoding and error handler`." msgstr "" -#: library/os.rst:3553 +#: library/os.rst:9 msgid "" "Raises an :ref:`auditing event ` ``os.removexattr`` with arguments " "``path``, ``attribute``." msgstr "" -#: library/os.rst:3561 +#: library/os.rst:3563 msgid "" "Set the extended filesystem attribute *attribute* on *path* to *value*. " "*attribute* must be a bytes or str with no embedded NULs (directly or " @@ -3740,45 +3742,45 @@ msgid "" "will not be created and ``EEXISTS`` will be raised." msgstr "" -#: library/os.rst:3575 +#: library/os.rst:3577 msgid "" "A bug in Linux kernel versions less than 2.6.39 caused the flags argument to " "be ignored on some filesystems." msgstr "" -#: library/os.rst:3578 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.setxattr`` with arguments " "``path``, ``attribute``, ``value``, ``flags``." msgstr "" -#: library/os.rst:3586 +#: library/os.rst:3588 msgid "" "The maximum size the value of an extended attribute can be. Currently, this " "is 64 KiB on Linux." msgstr "" -#: library/os.rst:3592 +#: library/os.rst:3594 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must create an attribute." msgstr "" -#: library/os.rst:3598 +#: library/os.rst:3600 msgid "" "This is a possible value for the flags argument in :func:`setxattr`. It " "indicates the operation must replace an existing attribute." msgstr "" -#: library/os.rst:3605 +#: library/os.rst:3607 msgid "Process Management" msgstr "" -#: library/os.rst:3607 +#: library/os.rst:3609 msgid "These functions may be used to create and manage processes." msgstr "" -#: library/os.rst:3609 +#: library/os.rst:3611 msgid "" "The various :func:`exec\\* ` functions take a list of arguments for " "the new program loaded into the process. In each case, the first of these " @@ -3789,7 +3791,7 @@ msgid "" "standard output; ``foo`` will seem to be ignored." msgstr "" -#: library/os.rst:3620 +#: library/os.rst:3622 msgid "" "Generate a :const:`SIGABRT` signal to the current process. On Unix, the " "default behavior is to produce a core dump; on Windows, the process " @@ -3798,37 +3800,37 @@ msgid "" "`SIGABRT` with :func:`signal.signal`." msgstr "" -#: library/os.rst:3629 +#: library/os.rst:3631 msgid "Add a path to the DLL search path." msgstr "" -#: library/os.rst:3631 +#: library/os.rst:3633 msgid "" "This search path is used when resolving dependencies for imported extension " "modules (the module itself is resolved through :data:`sys.path`), and also " "by :mod:`ctypes`." msgstr "" -#: library/os.rst:3635 +#: library/os.rst:3637 msgid "" "Remove the directory by calling **close()** on the returned object or using " "it in a :keyword:`with` statement." msgstr "" -#: library/os.rst:3638 +#: library/os.rst:3640 msgid "" "See the `Microsoft documentation `_ for more information about how " "DLLs are loaded." msgstr "" -#: library/os.rst:3642 +#: library/os.rst:14 msgid "" "Raises an :ref:`auditing event ` ``os.add_dll_directory`` with " "argument ``path``." msgstr "" -#: library/os.rst:3646 +#: library/os.rst:3648 msgid "" "Previous versions of CPython would resolve DLLs using the default behavior " "for the current process. This led to inconsistencies, such as only sometimes " @@ -3836,14 +3838,14 @@ msgid "" "such as ``AddDllDirectory`` having no effect." msgstr "" -#: library/os.rst:3653 +#: library/os.rst:3655 msgid "" "In 3.8, the two primary ways DLLs are loaded now explicitly override the " "process-wide behavior to ensure consistency. See the :ref:`porting notes " "` for information on updating libraries." msgstr "" -#: library/os.rst:3668 +#: library/os.rst:3670 msgid "" "These functions all execute a new program, replacing the current process; " "they do not return. On Unix, the new executable is loaded into the current " @@ -3851,7 +3853,7 @@ msgid "" "reported as :exc:`OSError` exceptions." msgstr "" -#: library/os.rst:3673 +#: library/os.rst:3675 msgid "" "The current process is replaced immediately. Open file objects and " "descriptors are not flushed, so if there may be data buffered on these open " @@ -3859,7 +3861,7 @@ msgid "" "fsync` before calling an :func:`exec\\* ` function." msgstr "" -#: library/os.rst:3679 +#: library/os.rst:3681 msgid "" "The \"l\" and \"v\" variants of the :func:`exec\\* ` functions differ " "in how command-line arguments are passed. The \"l\" variants are perhaps " @@ -3872,7 +3874,7 @@ msgid "" "enforced." msgstr "" -#: library/os.rst:3688 +#: library/os.rst:3690 msgid "" "The variants which include a \"p\" near the end (:func:`execlp`, :func:" "`execlpe`, :func:`execvp`, and :func:`execvpe`) will use the :envvar:`PATH` " @@ -3885,7 +3887,7 @@ msgid "" "absolute or relative path." msgstr "" -#: library/os.rst:3698 +#: library/os.rst:3700 msgid "" "For :func:`execle`, :func:`execlpe`, :func:`execve`, and :func:`execvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -3895,7 +3897,7 @@ msgid "" "process to inherit the environment of the current process." msgstr "" -#: library/os.rst:3705 +#: library/os.rst:3707 msgid "" "For :func:`execve` on some platforms, *path* may also be specified as an " "open file descriptor. This functionality may not be supported on your " @@ -3904,31 +3906,31 @@ msgid "" "`NotImplementedError`." msgstr "" -#: library/os.rst:3710 +#: library/os.rst:43 msgid "" "Raises an :ref:`auditing event ` ``os.exec`` with arguments " "``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:3714 +#: library/os.rst:3716 msgid "" "Added support for specifying *path* as an open file descriptor for :func:" "`execve`." msgstr "" -#: library/os.rst:3723 +#: library/os.rst:3725 msgid "" "Exit the process with status *n*, without calling cleanup handlers, flushing " "stdio buffers, etc." msgstr "" -#: library/os.rst:3728 +#: library/os.rst:3730 msgid "" "The standard way to exit is ``sys.exit(n)``. :func:`_exit` should normally " "only be used in the child process after a :func:`fork`." msgstr "" -#: library/os.rst:3731 +#: library/os.rst:3733 msgid "" "The following exit codes are defined and can be used with :func:`_exit`, " "although they are not required. These are typically used for system " @@ -3936,125 +3938,125 @@ msgid "" "delivery program." msgstr "" -#: library/os.rst:3737 +#: library/os.rst:3739 msgid "" "Some of these may not be available on all Unix platforms, since there is " "some variation. These constants are defined where they are defined by the " "underlying platform." msgstr "" -#: library/os.rst:3744 +#: library/os.rst:3746 msgid "" "Exit code that means no error occurred. May be taken from the defined value " "of ``EXIT_SUCCESS`` on some platforms. Generally has a value of zero." msgstr "" -#: library/os.rst:3752 +#: library/os.rst:3754 msgid "" "Exit code that means the command was used incorrectly, such as when the " "wrong number of arguments are given." msgstr "" -#: library/os.rst:3760 +#: library/os.rst:3762 msgid "Exit code that means the input data was incorrect." msgstr "" -#: library/os.rst:3767 +#: library/os.rst:3769 msgid "Exit code that means an input file did not exist or was not readable." msgstr "" -#: library/os.rst:3774 +#: library/os.rst:3776 msgid "Exit code that means a specified user did not exist." msgstr "" -#: library/os.rst:3781 +#: library/os.rst:3783 msgid "Exit code that means a specified host did not exist." msgstr "" -#: library/os.rst:3788 +#: library/os.rst:3790 msgid "Exit code that means that a required service is unavailable." msgstr "" -#: library/os.rst:3795 +#: library/os.rst:3797 msgid "Exit code that means an internal software error was detected." msgstr "" -#: library/os.rst:3802 +#: library/os.rst:3804 msgid "" "Exit code that means an operating system error was detected, such as the " "inability to fork or create a pipe." msgstr "" -#: library/os.rst:3810 +#: library/os.rst:3812 msgid "" "Exit code that means some system file did not exist, could not be opened, or " "had some other kind of error." msgstr "" -#: library/os.rst:3818 +#: library/os.rst:3820 msgid "Exit code that means a user specified output file could not be created." msgstr "" -#: library/os.rst:3825 +#: library/os.rst:3827 msgid "" "Exit code that means that an error occurred while doing I/O on some file." msgstr "" -#: library/os.rst:3832 +#: library/os.rst:3834 msgid "" "Exit code that means a temporary failure occurred. This indicates something " "that may not really be an error, such as a network connection that couldn't " "be made during a retryable operation." msgstr "" -#: library/os.rst:3841 +#: library/os.rst:3843 msgid "" "Exit code that means that a protocol exchange was illegal, invalid, or not " "understood." msgstr "" -#: library/os.rst:3849 +#: library/os.rst:3851 msgid "" "Exit code that means that there were insufficient permissions to perform the " "operation (but not intended for file system problems)." msgstr "" -#: library/os.rst:3857 +#: library/os.rst:3859 msgid "Exit code that means that some kind of configuration error occurred." msgstr "" -#: library/os.rst:3864 +#: library/os.rst:3866 msgid "Exit code that means something like \"an entry was not found\"." msgstr "" -#: library/os.rst:3871 +#: library/os.rst:3873 msgid "" "Fork a child process. Return ``0`` in the child and the child's process id " "in the parent. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:3874 +#: library/os.rst:3876 msgid "" "Note that some platforms including FreeBSD <= 6.3 and Cygwin have known " "issues when using ``fork()`` from a thread." msgstr "" -#: library/os.rst:3877 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:3879 +#: library/os.rst:3881 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3885 +#: library/os.rst:3887 msgid "See :mod:`ssl` for applications that use the SSL module with fork()." msgstr "" -#: library/os.rst:3892 +#: library/os.rst:3894 msgid "" "Fork a child process, using a new pseudo-terminal as the child's controlling " "terminal. Return a pair of ``(pid, fd)``, where *pid* is ``0`` in the child, " @@ -4063,24 +4065,24 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:3898 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:3900 +#: library/os.rst:3902 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:3913 +#: library/os.rst:3915 msgid "" "Send signal *sig* to the process *pid*. Constants for the specific signals " "available on the host platform are defined in the :mod:`signal` module." msgstr "" -#: library/os.rst:3916 +#: library/os.rst:3918 msgid "" "Windows: The :data:`signal.CTRL_C_EVENT` and :data:`signal.CTRL_BREAK_EVENT` " "signals are special signals which can only be sent to console processes " @@ -4090,36 +4092,36 @@ msgid "" "version of :func:`kill` additionally takes process handles to be killed." msgstr "" -#: library/os.rst:3924 +#: library/os.rst:3926 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: library/os.rst:3926 +#: library/os.rst:18 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:3930 +#: library/os.rst:3932 msgid "Windows support." msgstr "" -#: library/os.rst:3940 +#: library/os.rst:3942 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: library/os.rst:3942 +#: library/os.rst:7 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:3949 +#: library/os.rst:3951 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:3956 +#: library/os.rst:3958 msgid "" "Return a file descriptor referring to the process *pid*. This descriptor " "can be used to perform process management without races and signals. The " @@ -4127,21 +4129,21 @@ msgid "" "currently defined." msgstr "" -#: library/os.rst:3961 +#: library/os.rst:3963 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:3963 +#: library/os.rst:3965 msgid ":ref:`Availability `: Linux >= 5.3" msgstr "" -#: library/os.rst:3969 +#: library/os.rst:3971 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:3977 +#: library/os.rst:3979 msgid "" "Open a pipe to or from command *cmd*. The return value is an open file " "object connected to the pipe, which can be read or written depending on " @@ -4151,7 +4153,7 @@ msgid "" "rather than bytes." msgstr "" -#: library/os.rst:3985 +#: library/os.rst:3987 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4163,60 +4165,60 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:3995 +#: library/os.rst:3997 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the ``close`` " "method result (exit status) into an exit code if it is not ``None``. On " "Windows, the ``close`` method result is directly the exit code (or ``None``)." msgstr "" -#: library/os.rst:4000 +#: library/os.rst:4002 msgid "" "This is implemented using :class:`subprocess.Popen`; see that class's " "documentation for more powerful ways to manage and communicate with " "subprocesses." msgstr "" -#: library/os.rst:4005 +#: library/os.rst:4007 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" -#: library/os.rst:4007 +#: library/os.rst:4009 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: library/os.rst:4010 +#: library/os.rst:4012 msgid "" ":func:`popen` is a simple wrapper around :class:`subprocess.Popen`. Use :" "class:`subprocess.Popen` or :func:`subprocess.run` to control options like " "encodings." msgstr "" -#: library/os.rst:4019 +#: library/os.rst:4021 msgid "Wraps the :c:func:`posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:4021 +#: library/os.rst:4023 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:4023 +#: library/os.rst:4025 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:4026 +#: library/os.rst:4028 msgid "" "The *path* parameter is the path to the executable file. The *path* should " "contain a directory. Use :func:`posix_spawnp` to pass an executable file " "without directory." msgstr "" -#: library/os.rst:4030 +#: library/os.rst:4032 msgid "" "The *file_actions* argument may be a sequence of tuples describing actions " "to take on specific file descriptors in the child process between the C " @@ -4225,31 +4227,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:4038 +#: library/os.rst:4040 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:4040 +#: library/os.rst:4042 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:4044 +#: library/os.rst:4046 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:4046 +#: library/os.rst:4048 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:4050 +#: library/os.rst:4052 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:4052 +#: library/os.rst:4054 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:4054 +#: library/os.rst:4056 msgid "" "These tuples correspond to the C library :c:func:" "`posix_spawn_file_actions_addopen`, :c:func:" @@ -4258,7 +4260,7 @@ msgid "" "`posix_spawn` call itself." msgstr "" -#: library/os.rst:4060 +#: library/os.rst:4062 msgid "" "The *setpgroup* argument will set the process group of the child to the " "value specified. If the value specified is 0, the child's process group ID " @@ -4267,7 +4269,7 @@ msgid "" "corresponds to the C library :c:data:`POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:4066 +#: library/os.rst:4068 msgid "" "If the *resetids* argument is ``True`` it will reset the effective UID and " "GID of the child to the real UID and GID of the parent process. If the " @@ -4278,7 +4280,7 @@ msgid "" "library :c:data:`POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:4074 +#: library/os.rst:4076 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:data:`POSIX_SPAWN_SETSID` or :c:data:" @@ -4286,7 +4288,7 @@ msgid "" "raised." msgstr "" -#: library/os.rst:4079 +#: library/os.rst:4081 msgid "" "The *setsigmask* argument will set the signal mask to the signal set " "specified. If the parameter is not used, then the child inherits the " @@ -4294,14 +4296,14 @@ msgid "" "`POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:4084 +#: library/os.rst:4086 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:data:" "`POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: library/os.rst:4088 +#: library/os.rst:4090 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4311,82 +4313,82 @@ msgid "" "`POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:4111 +#: library/os.rst:77 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4105 +#: library/os.rst:4107 msgid "Wraps the :c:func:`posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4107 +#: library/os.rst:4109 msgid "" "Similar to :func:`posix_spawn` except that the system searches for the " "*executable* file in the list of directories specified by the :envvar:`PATH` " "environment variable (in the same way as for ``execvp(3)``)." msgstr "" -#: library/os.rst:None +#: library/os.rst:-1 msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." msgstr "" -#: library/os.rst:4117 +#: library/os.rst:4119 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4123 +#: library/os.rst:4125 msgid "" "Register callables to be executed when a new child process is forked using :" "func:`os.fork` or similar process cloning APIs. The parameters are optional " "and keyword-only. Each specifies a different call point." msgstr "" -#: library/os.rst:4128 +#: library/os.rst:4130 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4129 +#: library/os.rst:4131 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4131 +#: library/os.rst:4133 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4133 +#: library/os.rst:4135 msgid "" "These calls are only made if control is expected to return to the Python " "interpreter. A typical :mod:`subprocess` launch will not trigger them as " "the child is not going to re-enter the interpreter." msgstr "" -#: library/os.rst:4137 +#: library/os.rst:4139 msgid "" "Functions registered for execution before forking are called in reverse " "registration order. Functions registered for execution after forking " "(either in the parent or in the child) are called in registration order." msgstr "" -#: library/os.rst:4142 +#: library/os.rst:4144 msgid "" "Note that :c:func:`fork` calls made by third-party C code may not call those " "functions, unless it explicitly calls :c:func:`PyOS_BeforeFork`, :c:func:" "`PyOS_AfterFork_Parent` and :c:func:`PyOS_AfterFork_Child`." msgstr "" -#: library/os.rst:4146 +#: library/os.rst:4148 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4162 +#: library/os.rst:4164 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4164 +#: library/os.rst:4166 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4394,7 +4396,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4169 +#: library/os.rst:4171 msgid "" "If *mode* is :const:`P_NOWAIT`, this function returns the process id of the " "new process; if *mode* is :const:`P_WAIT`, returns the process's exit code " @@ -4403,13 +4405,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4175 +#: library/os.rst:4177 msgid "" "Note on VxWorks, this function doesn't return ``-signal`` when the new " "process is killed. Instead it raises OSError exception." msgstr "" -#: library/os.rst:4178 +#: library/os.rst:4180 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -4421,7 +4423,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4187 +#: library/os.rst:4189 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4434,7 +4436,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4197 +#: library/os.rst:4199 msgid "" "For :func:`spawnle`, :func:`spawnlpe`, :func:`spawnve`, and :func:`spawnvpe` " "(note that these all end in \"e\"), the *env* parameter must be a mapping " @@ -4446,19 +4448,19 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4206 +#: library/os.rst:4208 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: library/os.rst:4215 +#: library/os.rst:54 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4219 +#: library/os.rst:4221 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -4466,7 +4468,7 @@ msgid "" "instead." msgstr "" -#: library/os.rst:4231 +#: library/os.rst:4233 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" @@ -4474,7 +4476,7 @@ msgid "" "created, with the process id as the return value." msgstr "" -#: library/os.rst:4241 +#: library/os.rst:4243 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -4483,7 +4485,7 @@ msgid "" "signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4253 +#: library/os.rst:4255 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4493,11 +4495,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4264 +#: library/os.rst:4266 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4266 +#: library/os.rst:4268 msgid "" "When *operation* is not specified or ``'open'``, this acts like double-" "clicking the file in Windows Explorer, or giving the file name as an " @@ -4506,7 +4508,7 @@ msgid "" "associated." msgstr "" -#: library/os.rst:4271 +#: library/os.rst:4273 msgid "" "When another *operation* is given, it must be a \"command verb\" that " "specifies what should be done with the file. Common verbs documented by " @@ -4514,28 +4516,28 @@ msgid "" "``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4276 +#: library/os.rst:4278 msgid "" "When launching an application, specify *arguments* to be passed as a single " "string. This argument may have no effect when using this function to launch " "a document." msgstr "" -#: library/os.rst:4280 +#: library/os.rst:4282 msgid "" "The default working directory is inherited, but may be overridden by the " "*cwd* argument. This should be an absolute path. A relative *path* will be " "resolved against this argument." msgstr "" -#: library/os.rst:4284 +#: library/os.rst:4286 msgid "" "Use *show_cmd* to override the default window style. Whether this has any " "effect will depend on the application being launched. Values are integers as " "supported by the Win32 :c:func:`ShellExecute` function." msgstr "" -#: library/os.rst:4288 +#: library/os.rst:4290 msgid "" ":func:`startfile` returns as soon as the associated application is launched. " "There is no option to wait for the application to close, and no way to " @@ -4546,32 +4548,32 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4296 +#: library/os.rst:4298 msgid "" "To reduce interpreter startup overhead, the Win32 :c:func:`ShellExecute` " "function is not resolved until this function is first called. If the " "function cannot be resolved, :exc:`NotImplementedError` will be raised." msgstr "" -#: library/os.rst:4300 +#: library/os.rst:37 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:4302 +#: library/os.rst:39 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4306 +#: library/os.rst:4308 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4313 +#: library/os.rst:4315 msgid "" "Execute the command (a string) in a subshell. This is implemented by " "calling the Standard C function :c:func:`system`, and has the same " @@ -4582,13 +4584,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4321 +#: library/os.rst:4323 msgid "" "On Unix, the return value is the exit status of the process encoded in the " "format specified for :func:`wait`." msgstr "" -#: library/os.rst:4324 +#: library/os.rst:4326 msgid "" "On Windows, the return value is that returned by the system shell after " "running *command*. The shell is given by the Windows environment variable :" @@ -4597,7 +4599,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4330 +#: library/os.rst:4332 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -4605,53 +4607,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4335 +#: library/os.rst:4337 msgid "" "On Unix, :func:`waitstatus_to_exitcode` can be used to convert the result " "(exit status) into an exit code. On Windows, the result is directly the exit " "code." msgstr "" -#: library/os.rst:4339 +#: library/os.rst:27 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:4346 +#: library/os.rst:4348 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4349 +#: library/os.rst:4351 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4350 +#: library/os.rst:4352 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4351 +#: library/os.rst:4353 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4352 +#: library/os.rst:4354 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4353 +#: library/os.rst:4355 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4355 +#: library/os.rst:4357 msgid "" "For backwards compatibility, this object also behaves like a five-tuple " "containing :attr:`!user`, :attr:`!system`, :attr:`!children_user`, :attr:`!" "children_system`, and :attr:`!elapsed` in that order." msgstr "" -#: library/os.rst:4359 +#: library/os.rst:4361 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -4661,7 +4663,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4373 +#: library/os.rst:4375 msgid "" "Wait for completion of a child process, and return a tuple containing its " "pid and exit status indication: a 16-bit number, whose low byte is the " @@ -4670,83 +4672,83 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4379 +#: library/os.rst:4381 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: library/os.rst:4454 +#: library/os.rst:4456 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4389 +#: library/os.rst:4391 msgid "" "The other :func:`!wait*` functions documented below can be used to wait for " "the completion of a specific child process and have more options. :func:" "`waitpid` is the only one also available on Windows." msgstr "" -#: library/os.rst:4396 +#: library/os.rst:4398 msgid "Wait for the completion of a child process." msgstr "" -#: library/os.rst:4398 +#: library/os.rst:4400 msgid "" "*idtype* can be :data:`P_PID`, :data:`P_PGID`, :data:`P_ALL`, or (on Linux) :" "data:`P_PIDFD`. The interpretation of *id* depends on it; see their " "individual descriptions." msgstr "" -#: library/os.rst:4401 +#: library/os.rst:4403 msgid "" "*options* is an OR combination of flags. At least one of :data:`WEXITED`, :" "data:`WSTOPPED` or :data:`WCONTINUED` is required; :data:`WNOHANG` and :data:" "`WNOWAIT` are additional optional flags." msgstr "" -#: library/os.rst:4405 +#: library/os.rst:4407 msgid "" "The return value is an object representing the data contained in the :c:type:" "`!siginfo_t` structure with the following attributes:" msgstr "" -#: library/os.rst:4408 +#: library/os.rst:4410 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: library/os.rst:4409 +#: library/os.rst:4411 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: library/os.rst:4410 +#: library/os.rst:4412 msgid ":attr:`!si_signo` (always :data:`~signal.SIGCHLD`)" msgstr "" -#: library/os.rst:4411 +#: library/os.rst:4413 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: library/os.rst:4412 +#: library/os.rst:4414 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: library/os.rst:4414 +#: library/os.rst:4416 msgid "" "If :data:`WNOHANG` is specified and there are no matching children in the " "requested state, ``None`` is returned. Otherwise, if there are no matching " "children that could be waited for, :exc:`ChildProcessError` is raised." msgstr "" -#: library/os.rst:4426 +#: library/os.rst:4428 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4428 +#: library/os.rst:4430 msgid "" "On Unix: Wait for completion of a child process given by process id *pid*, " "and return a tuple containing its process id and exit status indication " @@ -4755,7 +4757,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4433 +#: library/os.rst:4435 msgid "" "If *pid* is greater than ``0``, :func:`waitpid` requests status information " "for that specific process. If *pid* is ``0``, the request is for the status " @@ -4765,7 +4767,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4440 +#: library/os.rst:4442 msgid "" "*options* is an OR combination of flags. If it contains :data:`WNOHANG` and " "there are no matching children in the requested state, ``(0, 0)`` is " @@ -4774,7 +4776,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: library/os.rst:4446 +#: library/os.rst:4448 msgid "" "On Windows: Wait for completion of a process given by process handle *pid*, " "and return a tuple containing *pid*, and its exit status shifted left by 8 " @@ -4786,7 +4788,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4467 +#: library/os.rst:4469 msgid "" "Similar to :func:`waitpid`, except no process id argument is given and a 3-" "element tuple containing the child's process id, exit status indication, and " @@ -4795,13 +4797,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4488 +#: library/os.rst:4490 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4482 +#: library/os.rst:4484 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -4810,118 +4812,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: library/os.rst:4499 +#: library/os.rst:4501 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: library/os.rst:4502 +#: library/os.rst:4504 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: library/os.rst:4503 +#: library/os.rst:4505 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: library/os.rst:4504 +#: library/os.rst:4506 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: library/os.rst:4505 +#: library/os.rst:4507 msgid "" ":data:`!P_PIDFD` - wait for the child identified by the file descriptor *id* " "(a process file descriptor created with :func:`pidfd_open`)." msgstr "" -#: library/os.rst:4510 +#: library/os.rst:4512 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: library/os.rst:4513 +#: library/os.rst:4515 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: library/os.rst:4519 +#: library/os.rst:4521 msgid "" "This *options* flag for :func:`waitpid`, :func:`wait3`, :func:`wait4`, and :" "func:`waitid` causes child processes to be reported if they have been " "continued from a job control stop since they were last reported." msgstr "" -#: library/os.rst:4528 +#: library/os.rst:4530 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: library/os.rst:4531 +#: library/os.rst:4533 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: library/os.rst:4541 +#: library/os.rst:4543 msgid "" "This *options* flag for :func:`waitid` causes child processes that have been " "stopped by the delivery of a signal to be reported." msgstr "" -#: library/os.rst:4576 +#: library/os.rst:4578 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: library/os.rst:4553 +#: library/os.rst:4555 msgid "" "This *options* flag for :func:`waitpid`, :func:`wait3`, and :func:`wait4` " "causes child processes to also be reported if they have been stopped but " "their current state has not been reported since they were stopped." msgstr "" -#: library/os.rst:4557 +#: library/os.rst:4559 msgid "This option is not available for :func:`waitid`." msgstr "" -#: library/os.rst:4564 +#: library/os.rst:4566 msgid "" "This *options* flag causes :func:`waitpid`, :func:`wait3`, :func:`wait4`, " "and :func:`waitid` to return right away if no child process status is " "available immediately." msgstr "" -#: library/os.rst:4573 +#: library/os.rst:4575 msgid "" "This *options* flag causes :func:`waitid` to leave the child in a waitable " "state, so that a later :func:`!wait*` call can be used to retrieve the child " "status information again." msgstr "" -#: library/os.rst:4588 +#: library/os.rst:4590 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: library/os.rst:4595 +#: library/os.rst:4597 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4601 +#: library/os.rst:4603 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4603 +#: library/os.rst:4605 msgid "On Unix:" msgstr "" -#: library/os.rst:4605 +#: library/os.rst:4607 msgid "" "If the process exited normally (if ``WIFEXITED(status)`` is true), return " "the process exit status (return ``WEXITSTATUS(status)``): result greater " "than or equal to 0." msgstr "" -#: library/os.rst:4608 +#: library/os.rst:4610 msgid "" "If the process was terminated by a signal (if ``WIFSIGNALED(status)`` is " "true), return ``-signum`` where *signum* is the number of the signal that " @@ -4929,15 +4931,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4612 +#: library/os.rst:4614 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4614 +#: library/os.rst:4616 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4616 +#: library/os.rst:4618 msgid "" "On Unix, if the process is being traced or if :func:`waitpid` was called " "with :data:`WUNTRACED` option, the caller must first check if " @@ -4945,217 +4947,217 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4623 +#: library/os.rst:4625 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4631 +#: library/os.rst:4633 msgid "" "The following functions take a process status code as returned by :func:" "`system`, :func:`wait`, or :func:`waitpid` as a parameter. They may be used " "to determine the disposition of a process." msgstr "" -#: library/os.rst:4637 +#: library/os.rst:4639 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:4706 +#: library/os.rst:4708 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4647 +#: library/os.rst:4649 msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :data:" "`~signal.SIGCONT` (if the process has been continued from a job control " "stop), otherwise return ``False``." msgstr "" -#: library/os.rst:4651 +#: library/os.rst:4653 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4658 +#: library/os.rst:4660 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4661 +#: library/os.rst:4663 msgid "" ":func:`WIFSTOPPED` only returns ``True`` if the :func:`waitpid` call was " "done using :data:`WUNTRACED` option or when the process is being traced " "(see :manpage:`ptrace(2)`)." msgstr "" -#: library/os.rst:4669 +#: library/os.rst:4671 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:4677 +#: library/os.rst:4679 msgid "" "Return ``True`` if the process exited terminated normally, that is, by " "calling ``exit()`` or ``_exit()``, or by returning from ``main()``; " "otherwise return ``False``." msgstr "" -#: library/os.rst:4686 +#: library/os.rst:4688 msgid "Return the process exit status." msgstr "" -#: library/os.rst:4688 +#: library/os.rst:4690 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4695 +#: library/os.rst:4697 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:4697 +#: library/os.rst:4699 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4704 +#: library/os.rst:4706 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:4712 +#: library/os.rst:4714 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:4714 +#: library/os.rst:4716 msgid "" "These functions control how a process is allocated CPU time by the operating " "system. They are only available on some Unix platforms. For more detailed " "information, consult your Unix manpages." msgstr "" -#: library/os.rst:4720 +#: library/os.rst:4722 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:4725 +#: library/os.rst:4727 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:4729 +#: library/os.rst:4731 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:4734 +#: library/os.rst:4736 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:4738 +#: library/os.rst:4740 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:4742 +#: library/os.rst:4744 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:4746 +#: library/os.rst:4748 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:4750 +#: library/os.rst:4752 msgid "" "This flag can be OR'ed with any other scheduling policy. When a process with " "this flag set forks, its child's scheduling policy and priority are reset to " "the default." msgstr "" -#: library/os.rst:4757 +#: library/os.rst:4759 msgid "" "This class represents tunable scheduling parameters used in :func:" "`sched_setparam`, :func:`sched_setscheduler`, and :func:`sched_getparam`. It " "is immutable." msgstr "" -#: library/os.rst:4761 +#: library/os.rst:4763 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:4765 +#: library/os.rst:4767 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:4770 +#: library/os.rst:4772 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4776 +#: library/os.rst:4778 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:4782 +#: library/os.rst:4784 msgid "" "Set the scheduling policy for the process with PID *pid*. A *pid* of 0 means " "the calling process. *policy* is one of the scheduling policy constants " "above. *param* is a :class:`sched_param` instance." msgstr "" -#: library/os.rst:4789 +#: library/os.rst:4791 msgid "" "Return the scheduling policy for the process with PID *pid*. A *pid* of 0 " "means the calling process. The result is one of the scheduling policy " "constants above." msgstr "" -#: library/os.rst:4796 +#: library/os.rst:4798 msgid "" "Set the scheduling parameters for the process with PID *pid*. A *pid* of 0 " "means the calling process. *param* is a :class:`sched_param` instance." msgstr "" -#: library/os.rst:4802 +#: library/os.rst:4804 msgid "" "Return the scheduling parameters as a :class:`sched_param` instance for the " "process with PID *pid*. A *pid* of 0 means the calling process." msgstr "" -#: library/os.rst:4808 +#: library/os.rst:4810 msgid "" "Return the round-robin quantum in seconds for the process with PID *pid*. A " "*pid* of 0 means the calling process." msgstr "" -#: library/os.rst:4814 +#: library/os.rst:4816 msgid "Voluntarily relinquish the CPU." msgstr "" -#: library/os.rst:4819 +#: library/os.rst:4821 msgid "" "Restrict the process with PID *pid* (or the current process if zero) to a " "set of CPUs. *mask* is an iterable of integers representing the set of CPUs " "to which the process should be restricted." msgstr "" -#: library/os.rst:4826 +#: library/os.rst:4828 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." msgstr "" -#: library/os.rst:4833 +#: library/os.rst:4835 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:4838 +#: library/os.rst:4840 msgid "" "Return string-valued system configuration values. *name* specifies the " "configuration value to retrieve; it may be a string which is the name of a " @@ -5166,13 +5168,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:4846 +#: library/os.rst:4848 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:4849 +#: library/os.rst:4851 msgid "" "If *name* is a string and is not known, :exc:`ValueError` is raised. If a " "specific value for *name* is not supported by the host system, even if it is " @@ -5180,33 +5182,33 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:4859 +#: library/os.rst:4861 msgid "" "Dictionary mapping names accepted by :func:`confstr` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:4868 +#: library/os.rst:4870 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" -#: library/os.rst:4870 +#: library/os.rst:4872 msgid "" "This number is not equivalent to the number of CPUs the current process can " "use. The number of usable CPUs can be obtained with ``len(os." "sched_getaffinity(0))``" msgstr "" -#: library/os.rst:4880 +#: library/os.rst:4882 msgid "" "Return the number of processes in the system run queue averaged over the " "last 1, 5, and 15 minutes or raises :exc:`OSError` if the load average was " "unobtainable." msgstr "" -#: library/os.rst:4889 +#: library/os.rst:4891 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5215,44 +5217,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:4899 +#: library/os.rst:4901 msgid "" "Dictionary mapping names accepted by :func:`sysconf` to the integer values " "defined for those names by the host operating system. This can be used to " "determine the set of names known to the system." msgstr "" -#: library/os.rst:4905 +#: library/os.rst:4907 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:4908 +#: library/os.rst:4910 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:4911 +#: library/os.rst:4913 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:4917 +#: library/os.rst:4919 msgid "" "The constant string used by the operating system to refer to the current " "directory. This is ``'.'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:4925 +#: library/os.rst:4927 msgid "" "The constant string used by the operating system to refer to the parent " "directory. This is ``'..'`` for Windows and POSIX. Also available via :mod:" "`os.path`." msgstr "" -#: library/os.rst:4934 +#: library/os.rst:4936 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5261,7 +5263,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4944 +#: library/os.rst:4946 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5269,27 +5271,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:4953 +#: library/os.rst:4955 msgid "" "The character which separates the base filename from the extension; for " "example, the ``'.'`` in :file:`os.py`. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4961 +#: library/os.rst:4963 msgid "" "The character conventionally used by the operating system to separate search " "path components (as in :envvar:`PATH`), such as ``':'`` for POSIX or ``';'`` " "for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4968 +#: library/os.rst:4970 msgid "" "The default search path used by :func:`exec\\*p\\* ` and :func:" "`spawn\\*p\\* ` if the environment doesn't have a ``'PATH'`` key. " "Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4975 +#: library/os.rst:4977 msgid "" "The string used to separate (or, rather, terminate) lines on the current " "platform. This may be a single character, such as ``'\\n'`` for POSIX, or " @@ -5298,36 +5300,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:4984 +#: library/os.rst:4986 msgid "" "The file path of the null device. For example: ``'/dev/null'`` for POSIX, " "``'nul'`` for Windows. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:4995 +#: library/os.rst:4997 msgid "" "Flags for use with the :func:`~sys.setdlopenflags` and :func:`~sys." "getdlopenflags` functions. See the Unix manual page :manpage:`dlopen(3)` " "for what the different flags mean." msgstr "" -#: library/os.rst:5003 +#: library/os.rst:5005 msgid "Random numbers" msgstr "" -#: library/os.rst:5008 +#: library/os.rst:5010 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5011 +#: library/os.rst:5013 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5014 +#: library/os.rst:5016 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5335,36 +5337,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5019 +#: library/os.rst:5021 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:data:`os.GRND_RANDOM` and :py:data:" "`GRND_NONBLOCK`." msgstr "" -#: library/os.rst:5023 +#: library/os.rst:5025 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:5027 +#: library/os.rst:5029 msgid ":ref:`Availability `: Linux >= 3.17." msgstr "" -#: library/os.rst:5032 +#: library/os.rst:5034 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5034 +#: library/os.rst:5036 msgid "" "This function returns random bytes from an OS-specific randomness source. " "The returned data should be unpredictable enough for cryptographic " "applications, though its exact quality depends on the OS implementation." msgstr "" -#: library/os.rst:5038 +#: library/os.rst:5040 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5374,63 +5376,63 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5045 +#: library/os.rst:5047 msgid "" "On a Unix-like system, random bytes are read from the ``/dev/urandom`` " "device. If the ``/dev/urandom`` device is not available or not readable, " "the :exc:`NotImplementedError` exception is raised." msgstr "" -#: library/os.rst:5049 +#: library/os.rst:5051 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5052 +#: library/os.rst:5054 msgid "" "The :mod:`secrets` module provides higher level functions. For an easy-to-" "use interface to the random number generator provided by your platform, " "please see :class:`random.SystemRandom`." msgstr "" -#: library/os.rst:5056 +#: library/os.rst:5058 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5060 +#: library/os.rst:5062 msgid "" "On Linux, if the ``getrandom()`` syscall blocks (the urandom entropy pool is " "not initialized yet), fall back on reading ``/dev/urandom``." msgstr "" -#: library/os.rst:5064 +#: library/os.rst:5066 msgid "" "On Linux 3.17 and newer, the ``getrandom()`` syscall is now used when " "available. On OpenBSD 5.6 and newer, the C ``getentropy()`` function is now " "used. These functions avoid the usage of an internal file descriptor." msgstr "" -#: library/os.rst:5070 +#: library/os.rst:5072 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5076 +#: library/os.rst:5078 msgid "" "By default, when reading from ``/dev/random``, :func:`getrandom` blocks if " "no random bytes are available, and when reading from ``/dev/urandom``, it " "blocks if the entropy pool has not yet been initialized." msgstr "" -#: library/os.rst:5080 +#: library/os.rst:5082 msgid "" "If the :py:data:`GRND_NONBLOCK` flag is set, then :func:`getrandom` does not " "block in these cases, but instead immediately raises :exc:`BlockingIOError`." msgstr "" -#: library/os.rst:5087 +#: library/os.rst:5089 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." diff --git a/library/pathlib.po b/library/pathlib.po index ec8739c9a..ce3954136 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -127,14 +127,14 @@ msgstr "" #: library/pathlib.rst:121 msgid "" -"When several absolute paths are given, the last is taken as an anchor " -"(mimicking :func:`os.path.join`'s behaviour)::" +"If a segment is an absolute path, all previous segments are ignored (like :" +"func:`os.path.join`)::" msgstr "" #: library/pathlib.rst:129 msgid "" -"However, in a Windows path, changing the local root doesn't discard the " -"previous drive setting::" +"On Windows, the drive is not reset when a rooted relative path segment (e." +"g., ``r'\\foo'``) is encountered::" msgstr "" #: library/pathlib.rst:135 @@ -167,7 +167,7 @@ msgid "" "filesystem paths::" msgstr "" -#: library/pathlib.rst:178 library/pathlib.rst:674 library/pathlib.rst:684 +#: library/pathlib.rst:178 library/pathlib.rst:681 library/pathlib.rst:691 msgid "*pathsegments* is specified similarly to :class:`PurePath`." msgstr "" @@ -204,295 +204,297 @@ msgstr "" #: library/pathlib.rst:215 msgid "" -"The slash operator helps create child paths, similarly to :func:`os.path." -"join`::" +"The slash operator helps create child paths, like :func:`os.path.join`. If " +"the argument is an absolute path, the previous path is ignored. On Windows, " +"the drive is not reset when the argument is a rooted relative path (e.g., " +"``r'\\foo'``)::" msgstr "" -#: library/pathlib.rst:226 +#: library/pathlib.rst:233 msgid "" "A path object can be used anywhere an object implementing :class:`os." "PathLike` is accepted::" msgstr "" -#: library/pathlib.rst:234 +#: library/pathlib.rst:241 msgid "" "The string representation of a path is the raw filesystem path itself (in " "native form, e.g. with backslashes under Windows), which you can pass to any " "function taking a file path as a string::" msgstr "" -#: library/pathlib.rst:245 +#: library/pathlib.rst:252 msgid "" "Similarly, calling :class:`bytes` on a path gives the raw filesystem path as " "a bytes object, as encoded by :func:`os.fsencode`::" msgstr "" -#: library/pathlib.rst:252 +#: library/pathlib.rst:259 msgid "" "Calling :class:`bytes` is only recommended under Unix. Under Windows, the " "unicode form is the canonical representation of filesystem paths." msgstr "" -#: library/pathlib.rst:257 +#: library/pathlib.rst:264 msgid "Accessing individual parts" msgstr "" -#: library/pathlib.rst:259 +#: library/pathlib.rst:266 msgid "" "To access the individual \"parts\" (components) of a path, use the following " "property:" msgstr "" -#: library/pathlib.rst:264 +#: library/pathlib.rst:271 msgid "A tuple giving access to the path's various components::" msgstr "" -#: library/pathlib.rst:274 +#: library/pathlib.rst:281 msgid "(note how the drive and local root are regrouped in a single part)" msgstr "" -#: library/pathlib.rst:278 +#: library/pathlib.rst:285 msgid "Methods and properties" msgstr "" -#: library/pathlib.rst:284 +#: library/pathlib.rst:291 msgid "Pure paths provide the following methods and properties:" msgstr "" -#: library/pathlib.rst:288 +#: library/pathlib.rst:295 msgid "A string representing the drive letter or name, if any::" msgstr "" -#: library/pathlib.rst:297 +#: library/pathlib.rst:304 msgid "UNC shares are also considered drives::" msgstr "" -#: library/pathlib.rst:304 +#: library/pathlib.rst:311 msgid "A string representing the (local or global) root, if any::" msgstr "" -#: library/pathlib.rst:313 +#: library/pathlib.rst:320 msgid "UNC shares always have a root::" msgstr "" -#: library/pathlib.rst:318 +#: library/pathlib.rst:325 msgid "" "If the path starts with more than two successive slashes, :class:`~pathlib." "PurePosixPath` collapses them::" msgstr "" -#: library/pathlib.rst:330 +#: library/pathlib.rst:337 msgid "" "This behavior conforms to *The Open Group Base Specifications Issue 6*, " "paragraph `4.11 Pathname Resolution `_:" msgstr "" -#: library/pathlib.rst:334 +#: library/pathlib.rst:341 msgid "" "*\"A pathname that begins with two successive slashes may be interpreted in " "an implementation-defined manner, although more than two leading slashes " "shall be treated as a single slash.\"*" msgstr "" -#: library/pathlib.rst:340 +#: library/pathlib.rst:347 msgid "The concatenation of the drive and root::" msgstr "" -#: library/pathlib.rst:354 +#: library/pathlib.rst:361 msgid "" "An immutable sequence providing access to the logical ancestors of the path::" msgstr "" -#: library/pathlib.rst:365 +#: library/pathlib.rst:372 msgid "" "The parents sequence now supports :term:`slices ` and negative index " "values." msgstr "" -#: library/pathlib.rst:370 +#: library/pathlib.rst:377 msgid "The logical parent of the path::" msgstr "" -#: library/pathlib.rst:376 +#: library/pathlib.rst:383 msgid "You cannot go past an anchor, or empty path::" msgstr "" -#: library/pathlib.rst:386 +#: library/pathlib.rst:393 msgid "This is a purely lexical operation, hence the following behaviour::" msgstr "" -#: library/pathlib.rst:392 +#: library/pathlib.rst:399 msgid "" "If you want to walk an arbitrary filesystem path upwards, it is recommended " "to first call :meth:`Path.resolve` so as to resolve symlinks and eliminate " "``\"..\"`` components." msgstr "" -#: library/pathlib.rst:399 +#: library/pathlib.rst:406 msgid "" "A string representing the final path component, excluding the drive and " "root, if any::" msgstr "" -#: library/pathlib.rst:405 +#: library/pathlib.rst:412 msgid "UNC drive names are not considered::" msgstr "" -#: library/pathlib.rst:415 +#: library/pathlib.rst:422 msgid "The file extension of the final component, if any::" msgstr "" -#: library/pathlib.rst:427 +#: library/pathlib.rst:434 msgid "A list of the path's file extensions::" msgstr "" -#: library/pathlib.rst:439 +#: library/pathlib.rst:446 msgid "The final path component, without its suffix::" msgstr "" -#: library/pathlib.rst:451 +#: library/pathlib.rst:458 msgid "" "Return a string representation of the path with forward slashes (``/``)::" msgstr "" -#: library/pathlib.rst:462 +#: library/pathlib.rst:469 msgid "" "Represent the path as a ``file`` URI. :exc:`ValueError` is raised if the " "path isn't absolute." msgstr "" -#: library/pathlib.rst:475 +#: library/pathlib.rst:482 msgid "" "Return whether the path is absolute or not. A path is considered absolute " "if it has both a root and (if the flavour allows) a drive::" msgstr "" -#: library/pathlib.rst:495 +#: library/pathlib.rst:502 msgid "Return whether or not this path is relative to the *other* path." msgstr "" -#: library/pathlib.rst:508 +#: library/pathlib.rst:515 msgid "" "With :class:`PureWindowsPath`, return ``True`` if the path is considered " "reserved under Windows, ``False`` otherwise. With :class:`PurePosixPath`, " "``False`` is always returned." msgstr "" -#: library/pathlib.rst:517 +#: library/pathlib.rst:524 msgid "" "File system calls on reserved paths can fail mysteriously or have unintended " "effects." msgstr "" -#: library/pathlib.rst:523 +#: library/pathlib.rst:530 msgid "" "Calling this method is equivalent to combining the path with each of the " "*other* arguments in turn::" msgstr "" -#: library/pathlib.rst:538 +#: library/pathlib.rst:545 msgid "" "Match this path against the provided glob-style pattern. Return ``True`` if " "matching is successful, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:541 +#: library/pathlib.rst:548 msgid "" "If *pattern* is relative, the path can be either relative or absolute, and " "matching is done from the right::" msgstr "" -#: library/pathlib.rst:551 +#: library/pathlib.rst:558 msgid "" "If *pattern* is absolute, the path must be absolute, and the whole path must " "match::" msgstr "" -#: library/pathlib.rst:559 +#: library/pathlib.rst:566 msgid "As with other methods, case-sensitivity follows platform defaults::" msgstr "" -#: library/pathlib.rst:569 +#: library/pathlib.rst:576 msgid "" "Compute a version of this path relative to the path represented by *other*. " "If it's impossible, ValueError is raised::" msgstr "" -#: library/pathlib.rst:584 +#: library/pathlib.rst:591 msgid "" "NOTE: This function is part of :class:`PurePath` and works with strings. It " "does not check or access the underlying file structure." msgstr "" -#: library/pathlib.rst:589 +#: library/pathlib.rst:596 msgid "" "Return a new path with the :attr:`name` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:606 +#: library/pathlib.rst:613 msgid "" "Return a new path with the :attr:`stem` changed. If the original path " "doesn't have a name, ValueError is raised::" msgstr "" -#: library/pathlib.rst:630 +#: library/pathlib.rst:637 msgid "" "Return a new path with the :attr:`suffix` changed. If the original path " "doesn't have a suffix, the new *suffix* is appended instead. If the " "*suffix* is an empty string, the original suffix is removed::" msgstr "" -#: library/pathlib.rst:649 +#: library/pathlib.rst:656 msgid "Concrete paths" msgstr "" -#: library/pathlib.rst:651 +#: library/pathlib.rst:658 msgid "" "Concrete paths are subclasses of the pure path classes. In addition to " "operations provided by the latter, they also provide methods to do system " "calls on path objects. There are three ways to instantiate concrete paths:" msgstr "" -#: library/pathlib.rst:657 +#: library/pathlib.rst:664 msgid "" "A subclass of :class:`PurePath`, this class represents concrete paths of the " "system's path flavour (instantiating it creates either a :class:`PosixPath` " "or a :class:`WindowsPath`)::" msgstr "" -#: library/pathlib.rst:668 +#: library/pathlib.rst:675 msgid "" "A subclass of :class:`Path` and :class:`PurePosixPath`, this class " "represents concrete non-Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:678 +#: library/pathlib.rst:685 msgid "" "A subclass of :class:`Path` and :class:`PureWindowsPath`, this class " "represents concrete Windows filesystem paths::" msgstr "" -#: library/pathlib.rst:686 +#: library/pathlib.rst:693 msgid "" "You can only instantiate the class flavour that corresponds to your system " "(allowing system calls on non-compatible path flavours could lead to bugs or " "failures in your application)::" msgstr "" -#: library/pathlib.rst:706 +#: library/pathlib.rst:713 msgid "Methods" msgstr "" -#: library/pathlib.rst:708 +#: library/pathlib.rst:715 msgid "" "Concrete paths provide the following methods in addition to pure paths " "methods. Many of these methods can raise an :exc:`OSError` if a system call " "fails (for example because the path doesn't exist)." msgstr "" -#: library/pathlib.rst:714 +#: library/pathlib.rst:721 msgid "" ":meth:`~Path.exists()`, :meth:`~Path.is_dir()`, :meth:`~Path.is_file()`, :" "meth:`~Path.is_mount()`, :meth:`~Path.is_symlink()`, :meth:`~Path." @@ -502,120 +504,120 @@ msgid "" "the OS level." msgstr "" -#: library/pathlib.rst:724 +#: library/pathlib.rst:731 msgid "" "Return a new path object representing the current directory (as returned by :" "func:`os.getcwd`)::" msgstr "" -#: library/pathlib.rst:733 +#: library/pathlib.rst:740 msgid "" "Return a new path object representing the user's home directory (as returned " "by :func:`os.path.expanduser` with ``~`` construct). If the home directory " "can't be resolved, :exc:`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:747 +#: library/pathlib.rst:754 msgid "" "Return a :class:`os.stat_result` object containing information about this " "path, like :func:`os.stat`. The result is looked up at each call to this " "method." msgstr "" -#: library/pathlib.rst:750 +#: library/pathlib.rst:757 msgid "" "This method normally follows symlinks; to stat a symlink add the argument " "``follow_symlinks=False``, or use :meth:`~Path.lstat`." msgstr "" -#: library/pathlib.rst:781 +#: library/pathlib.rst:788 msgid "The *follow_symlinks* parameter was added." msgstr "" -#: library/pathlib.rst:766 +#: library/pathlib.rst:773 msgid "Change the file mode and permissions, like :func:`os.chmod`." msgstr "" -#: library/pathlib.rst:768 +#: library/pathlib.rst:775 msgid "" "This method normally follows symlinks. Some Unix flavours support changing " "permissions on the symlink itself; on these platforms you may add the " "argument ``follow_symlinks=False``, or use :meth:`~Path.lchmod`." msgstr "" -#: library/pathlib.rst:786 +#: library/pathlib.rst:793 msgid "Whether the path points to an existing file or directory::" msgstr "" -#: library/pathlib.rst:798 +#: library/pathlib.rst:805 msgid "" "If the path points to a symlink, :meth:`exists` returns whether the symlink " "*points to* an existing file or directory." msgstr "" -#: library/pathlib.rst:804 +#: library/pathlib.rst:811 msgid "" "Return a new path with expanded ``~`` and ``~user`` constructs, as returned " "by :meth:`os.path.expanduser`. If a home directory can't be resolved, :exc:" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:819 +#: library/pathlib.rst:826 msgid "" "Glob the given relative *pattern* in the directory represented by this path, " "yielding all matching files (of any kind)::" msgstr "" -#: library/pathlib.rst:827 +#: library/pathlib.rst:834 msgid "" "Patterns are the same as for :mod:`fnmatch`, with the addition of \"``**``\" " "which means \"this directory and all subdirectories, recursively\". In " "other words, it enables recursive globbing::" msgstr "" -#: library/pathlib.rst:839 +#: library/pathlib.rst:846 msgid "" "Using the \"``**``\" pattern in large directory trees may consume an " "inordinate amount of time." msgstr "" -#: library/pathlib.rst:842 +#: library/pathlib.rst:24 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.glob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1137 +#: library/pathlib.rst:1146 msgid "" "Return only directories if *pattern* ends with a pathname components " "separator (:data:`~os.sep` or :data:`~os.altsep`)." msgstr "" -#: library/pathlib.rst:850 +#: library/pathlib.rst:857 msgid "" "Return the name of the group owning the file. :exc:`KeyError` is raised if " "the file's gid isn't found in the system database." msgstr "" -#: library/pathlib.rst:856 +#: library/pathlib.rst:863 msgid "" "Return ``True`` if the path points to a directory (or a symbolic link " "pointing to a directory), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:868 library/pathlib.rst:906 library/pathlib.rst:924 +#: library/pathlib.rst:875 library/pathlib.rst:913 library/pathlib.rst:931 msgid "" "``False`` is also returned if the path doesn't exist or is a broken symlink; " "other errors (such as permission errors) are propagated." msgstr "" -#: library/pathlib.rst:865 +#: library/pathlib.rst:872 msgid "" "Return ``True`` if the path points to a regular file (or a symbolic link " "pointing to a regular file), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:874 +#: library/pathlib.rst:881 msgid "" "Return ``True`` if the path is a :dfn:`mount point`: a point in a file " "system where a different file system has been mounted. On POSIX, the " @@ -625,49 +627,49 @@ msgid "" "and POSIX variants. Not implemented on Windows." msgstr "" -#: library/pathlib.rst:886 +#: library/pathlib.rst:893 msgid "" "Return ``True`` if the path points to a symbolic link, ``False`` otherwise." msgstr "" -#: library/pathlib.rst:888 +#: library/pathlib.rst:895 msgid "" "``False`` is also returned if the path doesn't exist; other errors (such as " "permission errors) are propagated." msgstr "" -#: library/pathlib.rst:894 +#: library/pathlib.rst:901 msgid "" "Return ``True`` if the path points to a Unix socket (or a symbolic link " "pointing to a Unix socket), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:903 +#: library/pathlib.rst:910 msgid "" "Return ``True`` if the path points to a FIFO (or a symbolic link pointing to " "a FIFO), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:912 +#: library/pathlib.rst:919 msgid "" "Return ``True`` if the path points to a block device (or a symbolic link " "pointing to a block device), ``False`` if it points to another kind of file." msgstr "" -#: library/pathlib.rst:921 +#: library/pathlib.rst:928 msgid "" "Return ``True`` if the path points to a character device (or a symbolic link " "pointing to a character device), ``False`` if it points to another kind of " "file." msgstr "" -#: library/pathlib.rst:930 +#: library/pathlib.rst:937 msgid "" "When the path points to a directory, yield path objects of the directory " "contents::" msgstr "" -#: library/pathlib.rst:944 +#: library/pathlib.rst:951 msgid "" "The children are yielded in arbitrary order, and the special entries ``'.'`` " "and ``'..'`` are not included. If a file is removed from or added to the " @@ -675,88 +677,88 @@ msgid "" "be included is unspecified." msgstr "" -#: library/pathlib.rst:951 +#: library/pathlib.rst:958 msgid "" "Like :meth:`Path.chmod` but, if the path points to a symbolic link, the " "symbolic link's mode is changed rather than its target's." msgstr "" -#: library/pathlib.rst:957 +#: library/pathlib.rst:964 msgid "" "Like :meth:`Path.stat` but, if the path points to a symbolic link, return " "the symbolic link's information rather than its target's." msgstr "" -#: library/pathlib.rst:963 +#: library/pathlib.rst:970 msgid "" "Create a new directory at this given path. If *mode* is given, it is " "combined with the process' ``umask`` value to determine the file mode and " "access flags. If the path already exists, :exc:`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:968 +#: library/pathlib.rst:975 msgid "" "If *parents* is true, any missing parents of this path are created as " "needed; they are created with the default permissions without taking *mode* " "into account (mimicking the POSIX ``mkdir -p`` command)." msgstr "" -#: library/pathlib.rst:972 +#: library/pathlib.rst:979 msgid "" "If *parents* is false (the default), a missing parent raises :exc:" "`FileNotFoundError`." msgstr "" -#: library/pathlib.rst:975 +#: library/pathlib.rst:982 msgid "" "If *exist_ok* is false (the default), :exc:`FileExistsError` is raised if " "the target directory already exists." msgstr "" -#: library/pathlib.rst:978 +#: library/pathlib.rst:985 msgid "" "If *exist_ok* is true, :exc:`FileExistsError` exceptions will be ignored " "(same behavior as the POSIX ``mkdir -p`` command), but only if the last path " "component is not an existing non-directory file." msgstr "" -#: library/pathlib.rst:982 +#: library/pathlib.rst:989 msgid "The *exist_ok* parameter was added." msgstr "" -#: library/pathlib.rst:988 +#: library/pathlib.rst:995 msgid "" "Open the file pointed to by the path, like the built-in :func:`open` " "function does::" msgstr "" -#: library/pathlib.rst:1000 +#: library/pathlib.rst:1007 msgid "" "Return the name of the user owning the file. :exc:`KeyError` is raised if " "the file's uid isn't found in the system database." msgstr "" -#: library/pathlib.rst:1006 +#: library/pathlib.rst:1013 msgid "Return the binary contents of the pointed-to file as a bytes object::" msgstr "" -#: library/pathlib.rst:1019 +#: library/pathlib.rst:1026 msgid "Return the decoded contents of the pointed-to file as a string::" msgstr "" -#: library/pathlib.rst:1027 +#: library/pathlib.rst:1034 msgid "" "The file is opened and then closed. The optional parameters have the same " "meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1035 +#: library/pathlib.rst:1042 msgid "" "Return the path to which the symbolic link points (as returned by :func:`os." "readlink`)::" msgstr "" -#: library/pathlib.rst:1048 +#: library/pathlib.rst:1055 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. On Unix, if *target* exists and is a file, " @@ -765,43 +767,49 @@ msgid "" "either a string or another path object::" msgstr "" -#: library/pathlib.rst:1077 +#: library/pathlib.rst:1086 msgid "" "The target path may be absolute or relative. Relative paths are interpreted " "relative to the current working directory, *not* the directory of the Path " "object." msgstr "" -#: library/pathlib.rst:1081 +#: library/pathlib.rst:1074 +msgid "" +"It is implemented in terms of :func:`os.rename` and gives the same " +"guarantees." +msgstr "" + +#: library/pathlib.rst:1090 msgid "Added return value, return the new Path instance." msgstr "" -#: library/pathlib.rst:1073 +#: library/pathlib.rst:1082 msgid "" "Rename this file or directory to the given *target*, and return a new Path " "instance pointing to *target*. If *target* points to an existing file or " "empty directory, it will be unconditionally replaced." msgstr "" -#: library/pathlib.rst:1087 +#: library/pathlib.rst:1096 msgid "" "Make the path absolute, without normalization or resolving symlinks. Returns " "a new path object::" msgstr "" -#: library/pathlib.rst:1099 +#: library/pathlib.rst:1108 msgid "" "Make the path absolute, resolving any symlinks. A new path object is " "returned::" msgstr "" -#: library/pathlib.rst:1108 +#: library/pathlib.rst:1117 msgid "" "\"``..``\" components are also eliminated (this is the only method to do " "so)::" msgstr "" -#: library/pathlib.rst:1114 +#: library/pathlib.rst:1123 msgid "" "If the path doesn't exist and *strict* is ``True``, :exc:`FileNotFoundError` " "is raised. If *strict* is ``False``, the path is resolved as far as " @@ -810,65 +818,65 @@ msgid "" "`RuntimeError` is raised." msgstr "" -#: library/pathlib.rst:1120 +#: library/pathlib.rst:1129 msgid "The *strict* argument (pre-3.6 behavior is strict)." msgstr "" -#: library/pathlib.rst:1125 +#: library/pathlib.rst:1134 msgid "" "This is like calling :func:`Path.glob` with \"``**/``\" added in front of " "the given relative *pattern*::" msgstr "" -#: library/pathlib.rst:1135 +#: library/pathlib.rst:11 msgid "" "Raises an :ref:`auditing event ` ``pathlib.Path.rglob`` with " "arguments ``self``, ``pattern``." msgstr "" -#: library/pathlib.rst:1143 +#: library/pathlib.rst:1152 msgid "Remove this directory. The directory must be empty." msgstr "" -#: library/pathlib.rst:1148 +#: library/pathlib.rst:1157 msgid "" "Return whether this path points to the same file as *other_path*, which can " "be either a Path object, or a string. The semantics are similar to :func:" "`os.path.samefile` and :func:`os.path.samestat`." msgstr "" -#: library/pathlib.rst:1152 +#: library/pathlib.rst:1161 msgid "" "An :exc:`OSError` can be raised if either file cannot be accessed for some " "reason." msgstr "" -#: library/pathlib.rst:1169 +#: library/pathlib.rst:1178 msgid "" "Make this path a symbolic link to *target*. Under Windows, " "*target_is_directory* must be true (default ``False``) if the link's target " "is a directory. Under POSIX, *target_is_directory*'s value is ignored." msgstr "" -#: library/pathlib.rst:1185 +#: library/pathlib.rst:1194 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.symlink`'s." msgstr "" -#: library/pathlib.rst:1190 +#: library/pathlib.rst:1199 msgid "Make this path a hard link to the same file as *target*." msgstr "" -#: library/pathlib.rst:1193 +#: library/pathlib.rst:1202 msgid "" "The order of arguments (link, target) is the reverse of :func:`os.link`'s." msgstr "" -#: library/pathlib.rst:1200 +#: library/pathlib.rst:1209 msgid "Make *target* a hard link to this path." msgstr "" -#: library/pathlib.rst:1204 +#: library/pathlib.rst:1213 msgid "" "This function does not make this path a hard link to *target*, despite the " "implication of the function and argument names. The argument order (target, " @@ -876,14 +884,14 @@ msgid "" "hardlink_to`, but matches that of :func:`os.link`." msgstr "" -#: library/pathlib.rst:1213 +#: library/pathlib.rst:1222 msgid "" "This method is deprecated in favor of :meth:`Path.hardlink_to`, as the " "argument order of :meth:`Path.link_to` does not match that of :meth:`Path." "symlink_to`." msgstr "" -#: library/pathlib.rst:1220 +#: library/pathlib.rst:1229 msgid "" "Create a file at this given path. If *mode* is given, it is combined with " "the process' ``umask`` value to determine the file mode and access flags. " @@ -892,65 +900,65 @@ msgid "" "`FileExistsError` is raised." msgstr "" -#: library/pathlib.rst:1229 +#: library/pathlib.rst:1238 msgid "" "Remove this file or symbolic link. If the path points to a directory, use :" "func:`Path.rmdir` instead." msgstr "" -#: library/pathlib.rst:1232 +#: library/pathlib.rst:1241 msgid "" "If *missing_ok* is false (the default), :exc:`FileNotFoundError` is raised " "if the path does not exist." msgstr "" -#: library/pathlib.rst:1235 +#: library/pathlib.rst:1244 msgid "" "If *missing_ok* is true, :exc:`FileNotFoundError` exceptions will be ignored " "(same behavior as the POSIX ``rm -f`` command)." msgstr "" -#: library/pathlib.rst:1238 +#: library/pathlib.rst:1247 msgid "The *missing_ok* parameter was added." msgstr "" -#: library/pathlib.rst:1244 +#: library/pathlib.rst:1253 msgid "" "Open the file pointed to in bytes mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1253 +#: library/pathlib.rst:1262 msgid "An existing file of the same name is overwritten." msgstr "" -#: library/pathlib.rst:1260 +#: library/pathlib.rst:1269 msgid "" "Open the file pointed to in text mode, write *data* to it, and close the " "file::" msgstr "" -#: library/pathlib.rst:1269 +#: library/pathlib.rst:1278 msgid "" "An existing file of the same name is overwritten. The optional parameters " "have the same meaning as in :func:`open`." msgstr "" -#: library/pathlib.rst:1274 +#: library/pathlib.rst:1283 msgid "The *newline* parameter was added." msgstr "" -#: library/pathlib.rst:1278 +#: library/pathlib.rst:1287 msgid "Correspondence to tools in the :mod:`os` module" msgstr "" -#: library/pathlib.rst:1280 +#: library/pathlib.rst:1289 msgid "" "Below is a table mapping various :mod:`os` functions to their corresponding :" "class:`PurePath`/:class:`Path` equivalent." msgstr "" -#: library/pathlib.rst:1285 +#: library/pathlib.rst:1294 msgid "" "Not all pairs of functions/methods below are equivalent. Some of them, " "despite having some overlapping use-cases, have different semantics. They " @@ -958,237 +966,237 @@ msgid "" "relpath` and :meth:`PurePath.relative_to`." msgstr "" -#: library/pathlib.rst:1291 +#: library/pathlib.rst:1300 msgid ":mod:`os` and :mod:`os.path`" msgstr "" -#: library/pathlib.rst:1291 +#: library/pathlib.rst:1300 msgid ":mod:`pathlib`" msgstr "" -#: library/pathlib.rst:1293 +#: library/pathlib.rst:1302 msgid ":func:`os.path.abspath`" msgstr "" -#: library/pathlib.rst:1293 +#: library/pathlib.rst:1302 msgid ":meth:`Path.absolute` [#]_" msgstr "" -#: library/pathlib.rst:1294 +#: library/pathlib.rst:1303 msgid ":func:`os.path.realpath`" msgstr "" -#: library/pathlib.rst:1294 +#: library/pathlib.rst:1303 msgid ":meth:`Path.resolve`" msgstr "" -#: library/pathlib.rst:1295 +#: library/pathlib.rst:1304 msgid ":func:`os.chmod`" msgstr "" -#: library/pathlib.rst:1295 +#: library/pathlib.rst:1304 msgid ":meth:`Path.chmod`" msgstr "" -#: library/pathlib.rst:1296 +#: library/pathlib.rst:1305 msgid ":func:`os.mkdir`" msgstr "" -#: library/pathlib.rst:1297 +#: library/pathlib.rst:1306 msgid ":meth:`Path.mkdir`" msgstr "" -#: library/pathlib.rst:1297 +#: library/pathlib.rst:1306 msgid ":func:`os.makedirs`" msgstr "" -#: library/pathlib.rst:1298 +#: library/pathlib.rst:1307 msgid ":func:`os.rename`" msgstr "" -#: library/pathlib.rst:1298 +#: library/pathlib.rst:1307 msgid ":meth:`Path.rename`" msgstr "" -#: library/pathlib.rst:1299 +#: library/pathlib.rst:1308 msgid ":func:`os.replace`" msgstr "" -#: library/pathlib.rst:1299 +#: library/pathlib.rst:1308 msgid ":meth:`Path.replace`" msgstr "" -#: library/pathlib.rst:1300 +#: library/pathlib.rst:1309 msgid ":func:`os.rmdir`" msgstr "" -#: library/pathlib.rst:1300 +#: library/pathlib.rst:1309 msgid ":meth:`Path.rmdir`" msgstr "" -#: library/pathlib.rst:1301 +#: library/pathlib.rst:1310 msgid ":func:`os.remove`, :func:`os.unlink`" msgstr "" -#: library/pathlib.rst:1301 +#: library/pathlib.rst:1310 msgid ":meth:`Path.unlink`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1311 msgid ":func:`os.getcwd`" msgstr "" -#: library/pathlib.rst:1302 +#: library/pathlib.rst:1311 msgid ":func:`Path.cwd`" msgstr "" -#: library/pathlib.rst:1303 +#: library/pathlib.rst:1312 msgid ":func:`os.path.exists`" msgstr "" -#: library/pathlib.rst:1303 +#: library/pathlib.rst:1312 msgid ":meth:`Path.exists`" msgstr "" -#: library/pathlib.rst:1304 +#: library/pathlib.rst:1313 msgid ":func:`os.path.expanduser`" msgstr "" -#: library/pathlib.rst:1304 +#: library/pathlib.rst:1313 msgid ":meth:`Path.expanduser` and :meth:`Path.home`" msgstr "" -#: library/pathlib.rst:1306 +#: library/pathlib.rst:1315 msgid ":func:`os.listdir`" msgstr "" -#: library/pathlib.rst:1306 +#: library/pathlib.rst:1315 msgid ":meth:`Path.iterdir`" msgstr "" -#: library/pathlib.rst:1307 +#: library/pathlib.rst:1316 msgid ":func:`os.path.isdir`" msgstr "" -#: library/pathlib.rst:1307 +#: library/pathlib.rst:1316 msgid ":meth:`Path.is_dir`" msgstr "" -#: library/pathlib.rst:1308 +#: library/pathlib.rst:1317 msgid ":func:`os.path.isfile`" msgstr "" -#: library/pathlib.rst:1308 +#: library/pathlib.rst:1317 msgid ":meth:`Path.is_file`" msgstr "" -#: library/pathlib.rst:1309 +#: library/pathlib.rst:1318 msgid ":func:`os.path.islink`" msgstr "" -#: library/pathlib.rst:1309 +#: library/pathlib.rst:1318 msgid ":meth:`Path.is_symlink`" msgstr "" -#: library/pathlib.rst:1310 +#: library/pathlib.rst:1319 msgid ":func:`os.link`" msgstr "" -#: library/pathlib.rst:1310 +#: library/pathlib.rst:1319 msgid ":meth:`Path.hardlink_to`" msgstr "" -#: library/pathlib.rst:1311 +#: library/pathlib.rst:1320 msgid ":func:`os.symlink`" msgstr "" -#: library/pathlib.rst:1311 +#: library/pathlib.rst:1320 msgid ":meth:`Path.symlink_to`" msgstr "" -#: library/pathlib.rst:1312 +#: library/pathlib.rst:1321 msgid ":func:`os.readlink`" msgstr "" -#: library/pathlib.rst:1312 +#: library/pathlib.rst:1321 msgid ":meth:`Path.readlink`" msgstr "" -#: library/pathlib.rst:1313 +#: library/pathlib.rst:1322 msgid ":func:`os.path.relpath`" msgstr "" -#: library/pathlib.rst:1313 +#: library/pathlib.rst:1322 msgid ":meth:`PurePath.relative_to` [#]_" msgstr "" -#: library/pathlib.rst:1314 +#: library/pathlib.rst:1323 msgid ":func:`os.stat`" msgstr "" -#: library/pathlib.rst:1314 +#: library/pathlib.rst:1323 msgid ":meth:`Path.stat`, :meth:`Path.owner`, :meth:`Path.group`" msgstr "" -#: library/pathlib.rst:1317 +#: library/pathlib.rst:1326 msgid ":func:`os.path.isabs`" msgstr "" -#: library/pathlib.rst:1317 +#: library/pathlib.rst:1326 msgid ":meth:`PurePath.is_absolute`" msgstr "" -#: library/pathlib.rst:1318 +#: library/pathlib.rst:1327 msgid ":func:`os.path.join`" msgstr "" -#: library/pathlib.rst:1318 +#: library/pathlib.rst:1327 msgid ":func:`PurePath.joinpath`" msgstr "" -#: library/pathlib.rst:1319 +#: library/pathlib.rst:1328 msgid ":func:`os.path.basename`" msgstr "" -#: library/pathlib.rst:1319 -msgid ":data:`PurePath.name`" +#: library/pathlib.rst:1328 +msgid ":attr:`PurePath.name`" msgstr "" -#: library/pathlib.rst:1320 +#: library/pathlib.rst:1329 msgid ":func:`os.path.dirname`" msgstr "" -#: library/pathlib.rst:1320 -msgid ":data:`PurePath.parent`" +#: library/pathlib.rst:1329 +msgid ":attr:`PurePath.parent`" msgstr "" -#: library/pathlib.rst:1321 +#: library/pathlib.rst:1330 msgid ":func:`os.path.samefile`" msgstr "" -#: library/pathlib.rst:1321 +#: library/pathlib.rst:1330 msgid ":meth:`Path.samefile`" msgstr "" -#: library/pathlib.rst:1322 +#: library/pathlib.rst:1331 msgid ":func:`os.path.splitext`" msgstr "" -#: library/pathlib.rst:1322 -msgid ":data:`PurePath.stem` and :data:`PurePath.suffix`" +#: library/pathlib.rst:1331 +msgid ":attr:`PurePath.stem` and :attr:`PurePath.suffix`" msgstr "" -#: library/pathlib.rst:1327 +#: library/pathlib.rst:1336 msgid "Footnotes" msgstr "" -#: library/pathlib.rst:1328 +#: library/pathlib.rst:1337 msgid "" ":func:`os.path.abspath` normalizes the resulting path, which may change its " "meaning in the presence of symlinks, while :meth:`Path.absolute` does not." msgstr "" -#: library/pathlib.rst:1329 +#: library/pathlib.rst:1338 msgid "" ":meth:`PurePath.relative_to` requires ``self`` to be the subpath of the " "argument, but :func:`os.path.relpath` does not." diff --git a/library/pdb.po b/library/pdb.po index c881d6738..39c0cf1dd 100644 --- a/library/pdb.po +++ b/library/pdb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -205,7 +205,7 @@ msgstr "" msgid "Example call to enable tracing with *skip*::" msgstr "" -#: library/pdb.rst:183 +#: library/pdb.rst:22 msgid "" "Raises an :ref:`auditing event ` ``pdb.Pdb`` with no arguments." msgstr "" diff --git a/library/pickle.po b/library/pickle.po index 9030630e2..e27ac1531 100644 --- a/library/pickle.po +++ b/library/pickle.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -612,7 +612,7 @@ msgid "" "`pickle-restrict` for details." msgstr "" -#: library/pickle.rst:460 +#: library/pickle.rst:10 msgid "" "Raises an :ref:`auditing event ` ``pickle.find_class`` with " "arguments ``module``, ``name``." diff --git a/library/poplib.po b/library/poplib.po index 2c4851359..82d84a284 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "IMAP4` class, as IMAP servers tend to be better implemented." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -73,13 +73,13 @@ msgid "" "timeout setting will be used)." msgstr "" -#: library/poplib.rst:79 +#: library/poplib.rst:13 msgid "" "Raises an :ref:`auditing event ` ``poplib.connect`` with arguments " "``self``, ``host``, ``port``." msgstr "" -#: library/poplib.rst:81 +#: library/poplib.rst:15 msgid "" "Raises an :ref:`auditing event ` ``poplib.putline`` with arguments " "``self``, ``line``." diff --git a/library/pty.po b/library/pty.po index f80047436..59daa66a4 100644 --- a/library/pty.po +++ b/library/pty.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -112,7 +112,7 @@ msgid "" "an exit code." msgstr "" -#: library/pty.rst:77 +#: library/pty.rst:34 msgid "" "Raises an :ref:`auditing event ` ``pty.spawn`` with argument " "``argv``." diff --git a/library/pwd.po b/library/pwd.po index 1ad854e14..864ab3d0f 100644 --- a/library/pwd.po +++ b/library/pwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "It is available on all Unix versions." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/pydoc.po b/library/pydoc.po index 899bfbe20..2fec5e87f 100644 --- a/library/pydoc.po +++ b/library/pydoc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -97,27 +97,27 @@ msgstr "" msgid "" "You can also use :program:`pydoc` to start an HTTP server on the local " "machine that will serve documentation to visiting web browsers. :program:" -"`pydoc -p 1234` will start a HTTP server on port 1234, allowing you to " -"browse the documentation at ``http://localhost:1234/`` in your preferred web " -"browser. Specifying ``0`` as the port number will select an arbitrary unused " -"port." +"`python -m pydoc -p 1234` will start a HTTP server on port 1234, allowing " +"you to browse the documentation at ``http://localhost:1234/`` in your " +"preferred web browser. Specifying ``0`` as the port number will select an " +"arbitrary unused port." msgstr "" #: library/pydoc.rst:73 msgid "" -":program:`pydoc -n ` will start the server listening at the given " -"hostname. By default the hostname is 'localhost' but if you want the server " -"to be reached from other machines, you may want to change the host name that " -"the server responds to. During development this is especially useful if you " -"want to run pydoc from within a container." +":program:`python -m pydoc -n ` will start the server listening at " +"the given hostname. By default the hostname is 'localhost' but if you want " +"the server to be reached from other machines, you may want to change the " +"host name that the server responds to. During development this is " +"especially useful if you want to run pydoc from within a container." msgstr "" #: library/pydoc.rst:79 msgid "" -":program:`pydoc -b` will start the server and additionally open a web " -"browser to a module index page. Each served page has a navigation bar at " -"the top where you can *Get* help on an individual item, *Search* all modules " -"with a keyword in their synopsis line, and go to the *Module index*, " +":program:`python -m pydoc -b` will start the server and additionally open a " +"web browser to a module index page. Each served page has a navigation bar " +"at the top where you can *Get* help on an individual item, *Search* all " +"modules with a keyword in their synopsis line, and go to the *Module index*, " "*Topics* and *Keywords* pages." msgstr "" diff --git a/library/random.po b/library/random.po index 9a39a81d0..2cece0ee7 100644 --- a/library/random.po +++ b/library/random.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -48,9 +48,9 @@ msgstr "" #: library/random.rst:23 msgid "" "Almost all module functions depend on the basic function :func:`.random`, " -"which generates a random float uniformly in the semi-open range [0.0, 1.0). " -"Python uses the Mersenne Twister as the core generator. It produces 53-bit " -"precision floats and has a period of 2\\*\\*19937-1. The underlying " +"which generates a random float uniformly in the half-open range ``0.0 <= X < " +"1.0``. Python uses the Mersenne Twister as the core generator. It produces " +"53-bit precision floats and has a period of 2\\*\\*19937-1. The underlying " "implementation in C is both fast and threadsafe. The Mersenne Twister is " "one of the most extensively tested random number generators in existence. " "However, being completely deterministic, it is not suitable for all " @@ -377,7 +377,8 @@ msgid "" msgstr "" #: library/random.rst:276 -msgid "Return the next random floating point number in the range [0.0, 1.0)." +msgid "" +"Return the next random floating point number in the range ``0.0 <= X < 1.0``" msgstr "" #: library/random.rst:281 diff --git a/library/re.po b/library/re.po index 434d4c02b..c9c9e158f 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -144,7 +144,7 @@ msgstr "" msgid "The special characters are:" msgstr "" -#: library/re.rst:1526 +#: library/re.rst:1525 msgid "``.``" msgstr "" @@ -767,7 +767,7 @@ msgstr "" msgid "``\\d``" msgstr "" -#: library/re.rst:575 library/re.rst:595 +#: library/re.rst:575 library/re.rst:594 msgid "For Unicode (str) patterns:" msgstr "" @@ -779,7 +779,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:579 library/re.rst:601 +#: library/re.rst:579 library/re.rst:600 msgid "For 8-bit (bytes) patterns:" msgstr "" @@ -827,18 +827,18 @@ msgid "" "equivalent of ``[^ \\t\\n\\r\\f\\v]``." msgstr "" -#: library/re.rst:601 +#: library/re.rst:600 msgid "``\\w``" msgstr "" #: library/re.rst:592 msgid "" -"Matches Unicode word characters; this includes most characters that can be " -"part of a word in any language, as well as numbers and the underscore. If " -"the :const:`ASCII` flag is used, only ``[a-zA-Z0-9_]`` is matched." +"Matches Unicode word characters; this includes alphanumeric characters (as " +"defined by :meth:`str.isalnum`) as well as the underscore (``_``). If the :" +"const:`ASCII` flag is used, only ``[a-zA-Z0-9_]`` is matched." msgstr "" -#: library/re.rst:598 +#: library/re.rst:597 msgid "" "Matches characters considered alphanumeric in the ASCII character set; this " "is equivalent to ``[a-zA-Z0-9_]``. If the :const:`LOCALE` flag is used, " @@ -846,11 +846,11 @@ msgid "" "underscore." msgstr "" -#: library/re.rst:610 +#: library/re.rst:609 msgid "``\\W``" msgstr "" -#: library/re.rst:606 +#: library/re.rst:605 msgid "" "Matches any character which is not a word character. This is the opposite of " "``\\w``. If the :const:`ASCII` flag is used this becomes the equivalent of " @@ -858,34 +858,34 @@ msgid "" "which are neither alphanumeric in the current locale nor the underscore." msgstr "" -#: library/re.rst:615 +#: library/re.rst:614 msgid "``\\Z``" msgstr "" -#: library/re.rst:615 +#: library/re.rst:614 msgid "Matches only at the end of the string." msgstr "" -#: library/re.rst:631 +#: library/re.rst:630 msgid "" "Most of the standard escapes supported by Python string literals are also " "accepted by the regular expression parser::" msgstr "" -#: library/re.rst:638 +#: library/re.rst:637 msgid "" "(Note that ``\\b`` is used to represent word boundaries, and means " "\"backspace\" only inside character classes.)" msgstr "" -#: library/re.rst:641 +#: library/re.rst:640 msgid "" "``'\\u'``, ``'\\U'``, and ``'\\N'`` escape sequences are only recognized in " "Unicode patterns. In bytes patterns they are errors. Unknown escapes of " "ASCII letters are reserved for future use and treated as errors." msgstr "" -#: library/re.rst:645 +#: library/re.rst:644 msgid "" "Octal escapes are included in a limited form. If the first digit is a 0, or " "if there are three octal digits, it is considered an octal escape. " @@ -893,26 +893,26 @@ msgid "" "are always at most three digits in length." msgstr "" -#: library/re.rst:650 +#: library/re.rst:649 msgid "The ``'\\u'`` and ``'\\U'`` escape sequences have been added." msgstr "" -#: library/re.rst:653 +#: library/re.rst:652 msgid "" "Unknown escapes consisting of ``'\\'`` and an ASCII letter now are errors." msgstr "" -#: library/re.rst:656 +#: library/re.rst:655 msgid "" "The ``'\\N{name}'`` escape sequence has been added. As in string literals, " "it expands to the named Unicode character (e.g. ``'\\N{EM DASH}'``)." msgstr "" -#: library/re.rst:664 +#: library/re.rst:663 msgid "Module Contents" msgstr "" -#: library/re.rst:666 +#: library/re.rst:665 msgid "" "The module defines several functions, constants, and an exception. Some of " "the functions are simplified versions of the full featured methods for " @@ -920,26 +920,26 @@ msgid "" "compiled form." msgstr "" -#: library/re.rst:673 +#: library/re.rst:672 msgid "Flags" msgstr "" -#: library/re.rst:675 +#: library/re.rst:674 msgid "" "Flag constants are now instances of :class:`RegexFlag`, which is a subclass " "of :class:`enum.IntFlag`." msgstr "" -#: library/re.rst:682 +#: library/re.rst:681 msgid "" "An :class:`enum.IntFlag` class containing the regex options listed below." msgstr "" -#: library/re.rst:684 +#: library/re.rst:683 msgid "- added to ``__all__``" msgstr "" -#: library/re.rst:689 +#: library/re.rst:688 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B``, ``\\d``, ``\\D``, ``\\s`` and " "``\\S`` perform ASCII-only matching instead of full Unicode matching. This " @@ -947,7 +947,7 @@ msgid "" "Corresponds to the inline flag ``(?a)``." msgstr "" -#: library/re.rst:694 +#: library/re.rst:693 msgid "" "Note that for backward compatibility, the :const:`re.U` flag still exists " "(as well as its synonym :const:`re.UNICODE` and its embedded counterpart ``(?" @@ -955,13 +955,13 @@ msgid "" "default for strings (and Unicode matching isn't allowed for bytes)." msgstr "" -#: library/re.rst:703 +#: library/re.rst:702 msgid "" "Display debug information about compiled expression. No corresponding inline " "flag." msgstr "" -#: library/re.rst:710 +#: library/re.rst:709 msgid "" "Perform case-insensitive matching; expressions like ``[A-Z]`` will also " "match lowercase letters. Full Unicode matching (such as ``Ü`` matching " @@ -971,7 +971,7 @@ msgid "" "flag ``(?i)``." msgstr "" -#: library/re.rst:717 +#: library/re.rst:716 msgid "" "Note that when the Unicode patterns ``[a-z]`` or ``[A-Z]`` are used in " "combination with the :const:`IGNORECASE` flag, they will match the 52 ASCII " @@ -982,7 +982,7 @@ msgid "" "matched." msgstr "" -#: library/re.rst:728 +#: library/re.rst:727 msgid "" "Make ``\\w``, ``\\W``, ``\\b``, ``\\B`` and case-insensitive matching " "dependent on the current locale. This flag can be used only with bytes " @@ -993,20 +993,20 @@ msgid "" "locales/languages. Corresponds to the inline flag ``(?L)``." msgstr "" -#: library/re.rst:737 +#: library/re.rst:736 msgid "" ":const:`re.LOCALE` can be used only with bytes patterns and is not " "compatible with :const:`re.ASCII`." msgstr "" -#: library/re.rst:741 +#: library/re.rst:740 msgid "" "Compiled regular expression objects with the :const:`re.LOCALE` flag no " "longer depend on the locale at compile time. Only the locale at matching " "time affects the result of matching." msgstr "" -#: library/re.rst:750 +#: library/re.rst:749 msgid "" "When specified, the pattern character ``'^'`` matches at the beginning of " "the string and at the beginning of each line (immediately following each " @@ -1017,7 +1017,7 @@ msgid "" "the end of the string. Corresponds to the inline flag ``(?m)``." msgstr "" -#: library/re.rst:760 +#: library/re.rst:759 msgid "" "Indicates no flag being applied, the value is ``0``. This flag may be used " "as a default value for a function keyword argument or as a base value that " @@ -1025,14 +1025,14 @@ msgid "" "value::" msgstr "" -#: library/re.rst:773 +#: library/re.rst:772 msgid "" "Make the ``'.'`` special character match any character at all, including a " "newline; without this flag, ``'.'`` will match anything *except* a newline. " "Corresponds to the inline flag ``(?s)``." msgstr "" -#: library/re.rst:783 +#: library/re.rst:782 msgid "" "This flag allows you to write regular expressions that look nicer and are " "more readable by allowing you to visually separate logical sections of the " @@ -1045,50 +1045,50 @@ msgid "" "ignored." msgstr "" -#: library/re.rst:793 +#: library/re.rst:792 msgid "" "This means that the two following regular expression objects that match a " "decimal number are functionally equal::" msgstr "" -#: library/re.rst:801 +#: library/re.rst:800 msgid "Corresponds to the inline flag ``(?x)``." msgstr "" -#: library/re.rst:805 +#: library/re.rst:804 msgid "Functions" msgstr "" -#: library/re.rst:809 +#: library/re.rst:808 msgid "" "Compile a regular expression pattern into a :ref:`regular expression object " "`, which can be used for matching using its :func:`~Pattern." "match`, :func:`~Pattern.search` and other methods, described below." msgstr "" -#: library/re.rst:814 +#: library/re.rst:813 msgid "" "The expression's behaviour can be modified by specifying a *flags* value. " "Values can be any of the following variables, combined using bitwise OR (the " "``|`` operator)." msgstr "" -#: library/re.rst:818 +#: library/re.rst:817 msgid "The sequence ::" msgstr "" -#: library/re.rst:823 +#: library/re.rst:822 msgid "is equivalent to ::" msgstr "" -#: library/re.rst:827 +#: library/re.rst:826 msgid "" "but using :func:`re.compile` and saving the resulting regular expression " "object for reuse is more efficient when the expression will be used several " "times in a single program." msgstr "" -#: library/re.rst:833 +#: library/re.rst:832 msgid "" "The compiled versions of the most recent patterns passed to :func:`re." "compile` and the module-level matching functions are cached, so programs " @@ -1096,7 +1096,7 @@ msgid "" "compiling regular expressions." msgstr "" -#: library/re.rst:841 +#: library/re.rst:840 msgid "" "Scan through *string* looking for the first location where the regular " "expression *pattern* produces a match, and return a corresponding :ref:" @@ -1105,7 +1105,7 @@ msgid "" "length match at some point in the string." msgstr "" -#: library/re.rst:850 +#: library/re.rst:849 msgid "" "If zero or more characters at the beginning of *string* match the regular " "expression *pattern*, return a corresponding :ref:`match object `. Return ``None`` if the " @@ -1133,7 +1133,7 @@ msgid "" "length match." msgstr "" -#: library/re.rst:874 +#: library/re.rst:873 msgid "" "Split *string* by the occurrences of *pattern*. If capturing parentheses " "are used in *pattern*, then the text of all groups in the pattern are also " @@ -1142,42 +1142,42 @@ msgid "" "final element of the list. ::" msgstr "" -#: library/re.rst:889 +#: library/re.rst:888 msgid "" "If there are capturing groups in the separator and it matches at the start " "of the string, the result will start with an empty string. The same holds " "for the end of the string::" msgstr "" -#: library/re.rst:896 +#: library/re.rst:895 msgid "" "That way, separator components are always found at the same relative indices " "within the result list." msgstr "" -#: library/re.rst:899 +#: library/re.rst:898 msgid "" "Empty matches for the pattern split the string only when not adjacent to a " "previous empty match." msgstr "" -#: library/re.rst:999 library/re.rst:1027 +#: library/re.rst:998 library/re.rst:1026 msgid "Added the optional flags argument." msgstr "" -#: library/re.rst:912 +#: library/re.rst:911 msgid "" "Added support of splitting on a pattern that could match an empty string." msgstr "" -#: library/re.rst:918 +#: library/re.rst:917 msgid "" "Return all non-overlapping matches of *pattern* in *string*, as a list of " "strings or tuples. The *string* is scanned left-to-right, and matches are " "returned in the order found. Empty matches are included in the result." msgstr "" -#: library/re.rst:922 +#: library/re.rst:921 msgid "" "The result depends on the number of capturing groups in the pattern. If " "there are no groups, return a list of strings matching the whole pattern. " @@ -1187,11 +1187,11 @@ msgid "" "result." msgstr "" -#: library/re.rst:945 +#: library/re.rst:944 msgid "Non-empty matches can now start just after a previous empty match." msgstr "" -#: library/re.rst:940 +#: library/re.rst:939 msgid "" "Return an :term:`iterator` yielding :ref:`match objects ` " "over all non-overlapping matches for the RE *pattern* in *string*. The " @@ -1199,7 +1199,7 @@ msgid "" "found. Empty matches are included in the result." msgstr "" -#: library/re.rst:951 +#: library/re.rst:950 msgid "" "Return the string obtained by replacing the leftmost non-overlapping " "occurrences of *pattern* in *string* by the replacement *repl*. If the " @@ -1213,18 +1213,18 @@ msgid "" "For example::" msgstr "" -#: library/re.rst:967 +#: library/re.rst:966 msgid "" "If *repl* is a function, it is called for every non-overlapping occurrence " "of *pattern*. The function takes a single :ref:`match object ` argument, and returns the replacement string. For example::" msgstr "" -#: library/re.rst:979 +#: library/re.rst:978 msgid "The pattern may be a string or a :ref:`pattern object `." msgstr "" -#: library/re.rst:981 +#: library/re.rst:980 msgid "" "The optional argument *count* is the maximum number of pattern occurrences " "to be replaced; *count* must be a non-negative integer. If omitted or zero, " @@ -1233,7 +1233,7 @@ msgid "" "'abxd')`` returns ``'-a-b--d-'``." msgstr "" -#: library/re.rst:989 +#: library/re.rst:988 msgid "" "In string-type *repl* arguments, in addition to the character escapes and " "backreferences described above, ``\\g`` will use the substring matched " @@ -1246,58 +1246,58 @@ msgid "" "RE." msgstr "" -#: library/re.rst:1030 library/re.rst:1264 +#: library/re.rst:1029 library/re.rst:1263 msgid "Unmatched groups are replaced with an empty string." msgstr "" -#: library/re.rst:1005 +#: library/re.rst:1004 msgid "" "Unknown escapes in *pattern* consisting of ``'\\'`` and an ASCII letter now " "are errors." msgstr "" -#: library/re.rst:1009 +#: library/re.rst:1008 msgid "" "Unknown escapes in *repl* consisting of ``'\\'`` and an ASCII letter now are " "errors." msgstr "" -#: library/re.rst:1013 +#: library/re.rst:1012 msgid "" "Empty matches for the pattern are replaced when adjacent to a previous non-" "empty match." msgstr "" -#: library/re.rst:1017 +#: library/re.rst:1016 msgid "" "Group *id* containing anything except ASCII digits. Group names containing " "non-ASCII characters in bytes replacement strings." msgstr "" -#: library/re.rst:1024 +#: library/re.rst:1023 msgid "" "Perform the same operation as :func:`sub`, but return a tuple ``(new_string, " "number_of_subs_made)``." msgstr "" -#: library/re.rst:1036 +#: library/re.rst:1035 msgid "" "Escape special characters in *pattern*. This is useful if you want to match " "an arbitrary literal string that may have regular expression metacharacters " "in it. For example::" msgstr "" -#: library/re.rst:1051 +#: library/re.rst:1050 msgid "" "This function must not be used for the replacement string in :func:`sub` " "and :func:`subn`, only backslashes should be escaped. For example::" msgstr "" -#: library/re.rst:1059 +#: library/re.rst:1058 msgid "The ``'_'`` character is no longer escaped." msgstr "" -#: library/re.rst:1062 +#: library/re.rst:1061 msgid "" "Only characters that can have special meaning in a regular expression are " "escaped. As a result, ``'!'``, ``'\"'``, ``'%'``, ``\"'\"``, ``','``, " @@ -1305,15 +1305,15 @@ msgid "" "are no longer escaped." msgstr "" -#: library/re.rst:1071 +#: library/re.rst:1070 msgid "Clear the regular expression cache." msgstr "" -#: library/re.rst:1075 +#: library/re.rst:1074 msgid "Exceptions" msgstr "" -#: library/re.rst:1079 +#: library/re.rst:1078 msgid "" "Exception raised when a string passed to one of the functions here is not a " "valid regular expression (for example, it might contain unmatched " @@ -1322,41 +1322,41 @@ msgid "" "pattern. The error instance has the following additional attributes:" msgstr "" -#: library/re.rst:1087 +#: library/re.rst:1086 msgid "The unformatted error message." msgstr "" -#: library/re.rst:1091 +#: library/re.rst:1090 msgid "The regular expression pattern." msgstr "" -#: library/re.rst:1095 +#: library/re.rst:1094 msgid "The index in *pattern* where compilation failed (may be ``None``)." msgstr "" -#: library/re.rst:1099 +#: library/re.rst:1098 msgid "The line corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1103 +#: library/re.rst:1102 msgid "The column corresponding to *pos* (may be ``None``)." msgstr "" -#: library/re.rst:1105 +#: library/re.rst:1104 msgid "Added additional attributes." msgstr "" -#: library/re.rst:1111 +#: library/re.rst:1110 msgid "Regular Expression Objects" msgstr "" -#: library/re.rst:1113 +#: library/re.rst:1112 msgid "" "Compiled regular expression objects support the following methods and " "attributes:" msgstr "" -#: library/re.rst:1118 +#: library/re.rst:1117 msgid "" "Scan through *string* looking for the first location where this regular " "expression produces a match, and return a corresponding :ref:`match object " @@ -1365,7 +1365,7 @@ msgid "" "some point in the string." msgstr "" -#: library/re.rst:1124 +#: library/re.rst:1123 msgid "" "The optional second parameter *pos* gives an index in the string where the " "search is to start; it defaults to ``0``. This is not completely equivalent " @@ -1374,7 +1374,7 @@ msgid "" "necessarily at the index where the search is to start." msgstr "" -#: library/re.rst:1130 +#: library/re.rst:1129 msgid "" "The optional parameter *endpos* limits how far the string will be searched; " "it will be as if the string is *endpos* characters long, so only the " @@ -1384,7 +1384,7 @@ msgid "" "equivalent to ``rx.search(string[:50], 0)``. ::" msgstr "" -#: library/re.rst:1145 +#: library/re.rst:1144 msgid "" "If zero or more characters at the *beginning* of *string* match this regular " "expression, return a corresponding :ref:`match object `. " @@ -1392,19 +1392,19 @@ msgid "" "different from a zero-length match." msgstr "" -#: library/re.rst:1168 +#: library/re.rst:1167 msgid "" "The optional *pos* and *endpos* parameters have the same meaning as for the :" "meth:`~Pattern.search` method. ::" msgstr "" -#: library/re.rst:1158 +#: library/re.rst:1157 msgid "" "If you want to locate a match anywhere in *string*, use :meth:`~Pattern." "search` instead (see also :ref:`search-vs-match`)." msgstr "" -#: library/re.rst:1164 +#: library/re.rst:1163 msgid "" "If the whole *string* matches this regular expression, return a " "corresponding :ref:`match object `. Return ``None`` if the " @@ -1412,76 +1412,76 @@ msgid "" "length match." msgstr "" -#: library/re.rst:1182 +#: library/re.rst:1181 msgid "Identical to the :func:`split` function, using the compiled pattern." msgstr "" -#: library/re.rst:1187 +#: library/re.rst:1186 msgid "" "Similar to the :func:`findall` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1194 +#: library/re.rst:1193 msgid "" "Similar to the :func:`finditer` function, using the compiled pattern, but " "also accepts optional *pos* and *endpos* parameters that limit the search " "region like for :meth:`search`." msgstr "" -#: library/re.rst:1201 +#: library/re.rst:1200 msgid "Identical to the :func:`sub` function, using the compiled pattern." msgstr "" -#: library/re.rst:1206 +#: library/re.rst:1205 msgid "Identical to the :func:`subn` function, using the compiled pattern." msgstr "" -#: library/re.rst:1211 +#: library/re.rst:1210 msgid "" "The regex matching flags. This is a combination of the flags given to :func:" "`.compile`, any ``(?...)`` inline flags in the pattern, and implicit flags " "such as :data:`UNICODE` if the pattern is a Unicode string." msgstr "" -#: library/re.rst:1218 +#: library/re.rst:1217 msgid "The number of capturing groups in the pattern." msgstr "" -#: library/re.rst:1223 +#: library/re.rst:1222 msgid "" "A dictionary mapping any symbolic group names defined by ``(?P)`` to " "group numbers. The dictionary is empty if no symbolic groups were used in " "the pattern." msgstr "" -#: library/re.rst:1230 +#: library/re.rst:1229 msgid "The pattern string from which the pattern object was compiled." msgstr "" -#: library/re.rst:1233 +#: library/re.rst:1232 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Compiled " "regular expression objects are considered atomic." msgstr "" -#: library/re.rst:1241 +#: library/re.rst:1240 msgid "Match Objects" msgstr "" -#: library/re.rst:1243 +#: library/re.rst:1242 msgid "" "Match objects always have a boolean value of ``True``. Since :meth:`~Pattern." "match` and :meth:`~Pattern.search` return ``None`` when there is no match, " "you can test whether there was a match with a simple ``if`` statement::" msgstr "" -#: library/re.rst:1252 +#: library/re.rst:1251 msgid "Match objects support the following methods and attributes:" msgstr "" -#: library/re.rst:1257 +#: library/re.rst:1256 msgid "" "Return the string obtained by doing backslash substitution on the template " "string *template*, as done by the :meth:`~Pattern.sub` method. Escapes such " @@ -1490,7 +1490,7 @@ msgid "" "``\\g``) are replaced by the contents of the corresponding group." msgstr "" -#: library/re.rst:1269 +#: library/re.rst:1268 msgid "" "Returns one or more subgroups of the match. If there is a single argument, " "the result is a single string; if there are multiple arguments, the result " @@ -1505,7 +1505,7 @@ msgid "" "the pattern that matched multiple times, the last match is returned. ::" msgstr "" -#: library/re.rst:1291 +#: library/re.rst:1290 msgid "" "If the regular expression uses the ``(?P...)`` syntax, the *groupN* " "arguments may also be strings identifying groups by their group name. If a " @@ -1513,54 +1513,54 @@ msgid "" "`IndexError` exception is raised." msgstr "" -#: library/re.rst:1296 +#: library/re.rst:1295 msgid "A moderately complicated example::" msgstr "" -#: library/re.rst:1304 +#: library/re.rst:1303 msgid "Named groups can also be referred to by their index::" msgstr "" -#: library/re.rst:1311 +#: library/re.rst:1310 msgid "If a group matches multiple times, only the last match is accessible::" msgstr "" -#: library/re.rst:1320 +#: library/re.rst:1319 msgid "" "This is identical to ``m.group(g)``. This allows easier access to an " "individual group from a match::" msgstr "" -#: library/re.rst:1331 +#: library/re.rst:1330 msgid "Named groups are supported as well::" msgstr "" -#: library/re.rst:1344 +#: library/re.rst:1343 msgid "" "Return a tuple containing all the subgroups of the match, from 1 up to " "however many groups are in the pattern. The *default* argument is used for " "groups that did not participate in the match; it defaults to ``None``." msgstr "" -#: library/re.rst:1573 +#: library/re.rst:1572 msgid "For example::" msgstr "" -#: library/re.rst:1354 +#: library/re.rst:1353 msgid "" "If we make the decimal place and everything after it optional, not all " "groups might participate in the match. These groups will default to " "``None`` unless the *default* argument is given::" msgstr "" -#: library/re.rst:1367 +#: library/re.rst:1366 msgid "" "Return a dictionary containing all the *named* subgroups of the match, keyed " "by the subgroup name. The *default* argument is used for groups that did " "not participate in the match; it defaults to ``None``. For example::" msgstr "" -#: library/re.rst:1379 +#: library/re.rst:1378 msgid "" "Return the indices of the start and end of the substring matched by *group*; " "*group* defaults to zero (meaning the whole matched substring). Return " @@ -1569,7 +1569,7 @@ msgid "" "matched by group *g* (equivalent to ``m.group(g)``) is ::" msgstr "" -#: library/re.rst:1387 +#: library/re.rst:1386 msgid "" "Note that ``m.start(group)`` will equal ``m.end(group)`` if *group* matched " "a null string. For example, after ``m = re.search('b(c?)', 'cba')``, ``m." @@ -1577,32 +1577,32 @@ msgid "" "2, and ``m.start(2)`` raises an :exc:`IndexError` exception." msgstr "" -#: library/re.rst:1392 +#: library/re.rst:1391 msgid "An example that will remove *remove_this* from email addresses::" msgstr "" -#: library/re.rst:1402 +#: library/re.rst:1401 msgid "" "For a match *m*, return the 2-tuple ``(m.start(group), m.end(group))``. Note " "that if *group* did not contribute to the match, this is ``(-1, -1)``. " "*group* defaults to zero, the entire match." msgstr "" -#: library/re.rst:1409 +#: library/re.rst:1408 msgid "" "The value of *pos* which was passed to the :meth:`~Pattern.search` or :meth:" "`~Pattern.match` method of a :ref:`regex object `. This is the " "index into the string at which the RE engine started looking for a match." msgstr "" -#: library/re.rst:1416 +#: library/re.rst:1415 msgid "" "The value of *endpos* which was passed to the :meth:`~Pattern.search` or :" "meth:`~Pattern.match` method of a :ref:`regex object `. This is " "the index into the string beyond which the RE engine will not go." msgstr "" -#: library/re.rst:1423 +#: library/re.rst:1422 msgid "" "The integer index of the last matched capturing group, or ``None`` if no " "group was matched at all. For example, the expressions ``(a)b``, ``((a)" @@ -1611,43 +1611,43 @@ msgid "" "applied to the same string." msgstr "" -#: library/re.rst:1432 +#: library/re.rst:1431 msgid "" "The name of the last matched capturing group, or ``None`` if the group " "didn't have a name, or if no group was matched at all." msgstr "" -#: library/re.rst:1438 +#: library/re.rst:1437 msgid "" "The :ref:`regular expression object ` whose :meth:`~Pattern." "match` or :meth:`~Pattern.search` method produced this match instance." msgstr "" -#: library/re.rst:1444 +#: library/re.rst:1443 msgid "The string passed to :meth:`~Pattern.match` or :meth:`~Pattern.search`." msgstr "" -#: library/re.rst:1447 +#: library/re.rst:1446 msgid "" "Added support of :func:`copy.copy` and :func:`copy.deepcopy`. Match objects " "are considered atomic." msgstr "" -#: library/re.rst:1455 +#: library/re.rst:1454 msgid "Regular Expression Examples" msgstr "" -#: library/re.rst:1459 +#: library/re.rst:1458 msgid "Checking for a Pair" msgstr "" -#: library/re.rst:1461 +#: library/re.rst:1460 msgid "" "In this example, we'll use the following helper function to display match " "objects a little more gracefully::" msgstr "" -#: library/re.rst:1469 +#: library/re.rst:1468 msgid "" "Suppose you are writing a poker program where a player's hand is represented " "as a 5-character string with each character representing a card, \"a\" for " @@ -1655,28 +1655,28 @@ msgid "" "\"2\" through \"9\" representing the card with that value." msgstr "" -#: library/re.rst:1474 +#: library/re.rst:1473 msgid "To see if a given string is a valid hand, one could do the following::" msgstr "" -#: library/re.rst:1484 +#: library/re.rst:1483 msgid "" "That last hand, ``\"727ak\"``, contained a pair, or two of the same valued " "cards. To match this with a regular expression, one could use backreferences " "as such::" msgstr "" -#: library/re.rst:1494 +#: library/re.rst:1493 msgid "" "To find out what card the pair consists of, one could use the :meth:`~Match." "group` method of the match object in the following manner::" msgstr "" -#: library/re.rst:1513 +#: library/re.rst:1512 msgid "Simulating scanf()" msgstr "" -#: library/re.rst:1517 +#: library/re.rst:1516 msgid "" "Python does not currently have an equivalent to :c:func:`scanf`. Regular " "expressions are generally more powerful, though also more verbose, than :c:" @@ -1685,124 +1685,124 @@ msgid "" "expressions." msgstr "" -#: library/re.rst:1524 +#: library/re.rst:1523 msgid ":c:func:`scanf` Token" msgstr "" -#: library/re.rst:1524 +#: library/re.rst:1523 msgid "Regular Expression" msgstr "" -#: library/re.rst:1526 +#: library/re.rst:1525 msgid "``%c``" msgstr "" -#: library/re.rst:1528 +#: library/re.rst:1527 msgid "``%5c``" msgstr "" -#: library/re.rst:1528 +#: library/re.rst:1527 msgid "``.{5}``" msgstr "" -#: library/re.rst:1530 +#: library/re.rst:1529 msgid "``%d``" msgstr "" -#: library/re.rst:1530 +#: library/re.rst:1529 msgid "``[-+]?\\d+``" msgstr "" -#: library/re.rst:1532 +#: library/re.rst:1531 msgid "``%e``, ``%E``, ``%f``, ``%g``" msgstr "" -#: library/re.rst:1532 +#: library/re.rst:1531 msgid "``[-+]?(\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?``" msgstr "" -#: library/re.rst:1534 +#: library/re.rst:1533 msgid "``%i``" msgstr "" -#: library/re.rst:1534 +#: library/re.rst:1533 msgid "``[-+]?(0[xX][\\dA-Fa-f]+|0[0-7]*|\\d+)``" msgstr "" -#: library/re.rst:1536 +#: library/re.rst:1535 msgid "``%o``" msgstr "" -#: library/re.rst:1536 +#: library/re.rst:1535 msgid "``[-+]?[0-7]+``" msgstr "" -#: library/re.rst:1538 +#: library/re.rst:1537 msgid "``%s``" msgstr "" -#: library/re.rst:1538 +#: library/re.rst:1537 msgid "``\\S+``" msgstr "" -#: library/re.rst:1540 +#: library/re.rst:1539 msgid "``%u``" msgstr "" -#: library/re.rst:1540 +#: library/re.rst:1539 msgid "``\\d+``" msgstr "" -#: library/re.rst:1542 +#: library/re.rst:1541 msgid "``%x``, ``%X``" msgstr "" -#: library/re.rst:1542 +#: library/re.rst:1541 msgid "``[-+]?(0[xX])?[\\dA-Fa-f]+``" msgstr "" -#: library/re.rst:1545 +#: library/re.rst:1544 msgid "To extract the filename and numbers from a string like ::" msgstr "" -#: library/re.rst:1549 +#: library/re.rst:1548 msgid "you would use a :c:func:`scanf` format like ::" msgstr "" -#: library/re.rst:1553 +#: library/re.rst:1552 msgid "The equivalent regular expression would be ::" msgstr "" -#: library/re.rst:1561 +#: library/re.rst:1560 msgid "search() vs. match()" msgstr "" -#: library/re.rst:1565 +#: library/re.rst:1564 msgid "" "Python offers different primitive operations based on regular expressions:" msgstr "" -#: library/re.rst:1567 +#: library/re.rst:1566 msgid ":func:`re.match` checks for a match only at the beginning of the string" msgstr "" -#: library/re.rst:1568 +#: library/re.rst:1567 msgid "" ":func:`re.search` checks for a match anywhere in the string (this is what " "Perl does by default)" msgstr "" -#: library/re.rst:1570 +#: library/re.rst:1569 msgid ":func:`re.fullmatch` checks for entire string to be a match" msgstr "" -#: library/re.rst:1582 +#: library/re.rst:1581 msgid "" "Regular expressions beginning with ``'^'`` can be used with :func:`search` " "to restrict the match at the beginning of the string::" msgstr "" -#: library/re.rst:1590 +#: library/re.rst:1589 msgid "" "Note however that in :const:`MULTILINE` mode :func:`match` only matches at " "the beginning of the string, whereas using :func:`search` with a regular " @@ -1810,11 +1810,11 @@ msgid "" "line. ::" msgstr "" -#: library/re.rst:1600 +#: library/re.rst:1599 msgid "Making a Phonebook" msgstr "" -#: library/re.rst:1602 +#: library/re.rst:1601 msgid "" ":func:`split` splits a string into a list delimited by the passed pattern. " "The method is invaluable for converting textual data into data structures " @@ -1822,37 +1822,37 @@ msgid "" "following example that creates a phonebook." msgstr "" -#: library/re.rst:1607 +#: library/re.rst:1606 msgid "" "First, here is the input. Normally it may come from a file, here we are " "using triple-quoted string syntax" msgstr "" -#: library/re.rst:1620 +#: library/re.rst:1619 msgid "" "The entries are separated by one or more newlines. Now we convert the string " "into a list with each nonempty line having its own entry:" msgstr "" -#: library/re.rst:1633 +#: library/re.rst:1632 msgid "" "Finally, split each entry into a list with first name, last name, telephone " "number, and address. We use the ``maxsplit`` parameter of :func:`split` " "because the address has spaces, our splitting pattern, in it:" msgstr "" -#: library/re.rst:1646 +#: library/re.rst:1645 msgid "" "The ``:?`` pattern matches the colon after the last name, so that it does " "not occur in the result list. With a ``maxsplit`` of ``4``, we could " "separate the house number from the street name:" msgstr "" -#: library/re.rst:1661 +#: library/re.rst:1660 msgid "Text Munging" msgstr "" -#: library/re.rst:1663 +#: library/re.rst:1662 msgid "" ":func:`sub` replaces every occurrence of a pattern with a string or the " "result of a function. This example demonstrates using :func:`sub` with a " @@ -1860,11 +1860,11 @@ msgid "" "each word of a sentence except for the first and last characters::" msgstr "" -#: library/re.rst:1680 +#: library/re.rst:1679 msgid "Finding all Adverbs" msgstr "" -#: library/re.rst:1682 +#: library/re.rst:1681 msgid "" ":func:`findall` matches *all* occurrences of a pattern, not just the first " "one as :func:`search` does. For example, if a writer wanted to find all of " @@ -1872,11 +1872,11 @@ msgid "" "manner::" msgstr "" -#: library/re.rst:1693 +#: library/re.rst:1692 msgid "Finding all Adverbs and their Positions" msgstr "" -#: library/re.rst:1695 +#: library/re.rst:1694 msgid "" "If one wants more information about all matches of a pattern than the " "matched text, :func:`finditer` is useful as it provides :ref:`match objects " @@ -1885,11 +1885,11 @@ msgid "" "text, they would use :func:`finditer` in the following manner::" msgstr "" -#: library/re.rst:1709 +#: library/re.rst:1708 msgid "Raw String Notation" msgstr "" -#: library/re.rst:1711 +#: library/re.rst:1710 msgid "" "Raw string notation (``r\"text\"``) keeps regular expressions sane. Without " "it, every backslash (``'\\'``) in a regular expression would have to be " @@ -1897,7 +1897,7 @@ msgid "" "lines of code are functionally identical::" msgstr "" -#: library/re.rst:1721 +#: library/re.rst:1720 msgid "" "When one wants to match a literal backslash, it must be escaped in the " "regular expression. With raw string notation, this means ``r\"\\\\\"``. " @@ -1905,29 +1905,29 @@ msgid "" "following lines of code functionally identical::" msgstr "" -#: library/re.rst:1733 +#: library/re.rst:1732 msgid "Writing a Tokenizer" msgstr "" -#: library/re.rst:1735 +#: library/re.rst:1734 msgid "" "A `tokenizer or scanner `_ " "analyzes a string to categorize groups of characters. This is a useful " "first step in writing a compiler or interpreter." msgstr "" -#: library/re.rst:1739 +#: library/re.rst:1738 msgid "" "The text categories are specified with regular expressions. The technique " "is to combine those into a single master regular expression and to loop over " "successive matches::" msgstr "" -#: library/re.rst:1795 +#: library/re.rst:1794 msgid "The tokenizer produces the following output::" msgstr "" -#: library/re.rst:1818 +#: library/re.rst:1817 msgid "" "Friedl, Jeffrey. Mastering Regular Expressions. 3rd ed., O'Reilly Media, " "2009. The third edition of the book no longer covers Python at all, but the " diff --git a/library/resource.po b/library/resource.po index 2bf8bf0ef..aafc52644 100644 --- a/library/resource.po +++ b/library/resource.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -26,7 +26,7 @@ msgid "" "resources utilized by a program." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -119,7 +119,7 @@ msgstr "" msgid "VxWorks only supports setting :data:`RLIMIT_NOFILE`." msgstr "" -#: library/resource.rst:92 +#: library/resource.rst:20 msgid "" "Raises an :ref:`auditing event ` ``resource.setrlimit`` with " "arguments ``resource``, ``limits``." @@ -148,7 +148,7 @@ msgid "" "process." msgstr "" -#: library/resource.rst:111 +#: library/resource.rst:15 msgid "" "Raises an :ref:`auditing event ` ``resource.prlimit`` with " "arguments ``pid``, ``resource``, ``limits``." diff --git a/library/sched.po b/library/sched.po index 6f10b1715..64a3abc0d 100644 --- a/library/sched.po +++ b/library/sched.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,15 +55,15 @@ msgstr "" msgid "Example::" msgstr "" -#: library/sched.rst:61 +#: library/sched.rst:67 msgid "Scheduler Objects" msgstr "" -#: library/sched.rst:63 +#: library/sched.rst:69 msgid ":class:`scheduler` instances have the following methods and attributes:" msgstr "" -#: library/sched.rst:68 +#: library/sched.rst:74 msgid "" "Schedule a new event. The *time* argument should be a numeric type " "compatible with the return value of the *timefunc* function passed to the " @@ -71,59 +71,59 @@ msgid "" "order of their *priority*. A lower number represents a higher priority." msgstr "" -#: library/sched.rst:73 +#: library/sched.rst:79 msgid "" "Executing the event means executing ``action(*argument, **kwargs)``. " "*argument* is a sequence holding the positional arguments for *action*. " "*kwargs* is a dictionary holding the keyword arguments for *action*." msgstr "" -#: library/sched.rst:77 +#: library/sched.rst:83 msgid "" "Return value is an event which may be used for later cancellation of the " "event (see :meth:`cancel`)." msgstr "" -#: library/sched.rst:93 +#: library/sched.rst:99 msgid "*argument* parameter is optional." msgstr "" -#: library/sched.rst:96 +#: library/sched.rst:102 msgid "*kwargs* parameter was added." msgstr "" -#: library/sched.rst:89 +#: library/sched.rst:95 msgid "" "Schedule an event for *delay* more time units. Other than the relative time, " "the other arguments, the effect and the return value are the same as those " "for :meth:`enterabs`." msgstr "" -#: library/sched.rst:101 +#: library/sched.rst:107 msgid "" "Remove the event from the queue. If *event* is not an event currently in the " "queue, this method will raise a :exc:`ValueError`." msgstr "" -#: library/sched.rst:107 +#: library/sched.rst:113 msgid "Return ``True`` if the event queue is empty." msgstr "" -#: library/sched.rst:112 +#: library/sched.rst:118 msgid "" "Run all scheduled events. This method will wait (using the :func:" "`delayfunc` function passed to the constructor) for the next event, then " "execute it and so on until there are no more scheduled events." msgstr "" -#: library/sched.rst:116 +#: library/sched.rst:122 msgid "" "If *blocking* is false executes the scheduled events due to expire soonest " "(if any) and then return the deadline of the next scheduled call in the " "scheduler (if any)." msgstr "" -#: library/sched.rst:120 +#: library/sched.rst:126 msgid "" "Either *action* or *delayfunc* can raise an exception. In either case, the " "scheduler will maintain a consistent state and propagate the exception. If " @@ -131,7 +131,7 @@ msgid "" "future calls to :meth:`run`." msgstr "" -#: library/sched.rst:125 +#: library/sched.rst:131 msgid "" "If a sequence of events takes longer to run than the time available before " "the next event, the scheduler will simply fall behind. No events will be " @@ -139,11 +139,11 @@ msgid "" "longer pertinent." msgstr "" -#: library/sched.rst:130 +#: library/sched.rst:136 msgid "*blocking* parameter was added." msgstr "" -#: library/sched.rst:135 +#: library/sched.rst:141 msgid "" "Read-only attribute returning a list of upcoming events in the order they " "will be run. Each event is shown as a :term:`named tuple` with the " diff --git a/library/select.po b/library/select.po index 91cb3aff0..0283e8c87 100644 --- a/library/select.po +++ b/library/select.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,7 +39,7 @@ msgid "" "precise control over the OS-level primitives used." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/selectors.po b/library/selectors.po index fc6783822..9aab6408b 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -68,7 +68,7 @@ msgstr "" msgid "Low-level I/O multiplexing module." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/shutil.po b/library/shutil.po index 954538a8f..78bebe5be 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -90,7 +90,7 @@ msgid "" "link will be created instead of copying the file *src* points to." msgstr "" -#: library/shutil.rst:177 library/shutil.rst:208 +#: library/shutil.rst:18 msgid "" "Raises an :ref:`auditing event ` ``shutil.copyfile`` with " "arguments ``src``, ``dst``." @@ -133,7 +133,7 @@ msgid "" "platform, and it is asked to do so, it will do nothing and return." msgstr "" -#: library/shutil.rst:179 +#: library/shutil.rst:20 msgid "" "Raises an :ref:`auditing event ` ``shutil.copymode`` with " "arguments ``src``, ``dst``." @@ -196,7 +196,7 @@ msgstr "" msgid "Please see :data:`os.supports_follow_symlinks` for more information." msgstr "" -#: library/shutil.rst:210 +#: library/shutil.rst:41 msgid "" "Raises an :ref:`auditing event ` ``shutil.copystat`` with " "arguments ``src``, ``dst``." @@ -339,7 +339,7 @@ msgid "" "*src* tree." msgstr "" -#: library/shutil.rst:275 +#: library/shutil.rst:43 msgid "" "Raises an :ref:`auditing event ` ``shutil.copytree`` with " "arguments ``src``, ``dst``." @@ -401,7 +401,7 @@ msgid "" "exc_info`. Exceptions raised by *onerror* will not be caught." msgstr "" -#: library/shutil.rst:327 +#: library/shutil.rst:31 msgid "" "Raises an :ref:`auditing event ` ``shutil.rmtree`` with arguments " "``path``, ``dir_fd``." @@ -462,7 +462,7 @@ msgid "" "the expense of not copying any of the metadata." msgstr "" -#: library/shutil.rst:371 +#: library/shutil.rst:21 msgid "" "Raises an :ref:`auditing event ` ``shutil.move`` with arguments " "``src``, ``dst``." @@ -511,7 +511,7 @@ msgstr "" msgid "See also :func:`os.chown`, the underlying function." msgstr "" -#: library/shutil.rst:412 +#: library/shutil.rst:8 msgid "" "Raises an :ref:`auditing event ` ``shutil.chown`` with arguments " "``path``, ``user``, ``group``." @@ -697,7 +697,7 @@ msgstr "" msgid "The *verbose* argument is unused and deprecated." msgstr "" -#: library/shutil.rst:573 +#: library/shutil.rst:32 msgid "" "Raises an :ref:`auditing event ` ``shutil.make_archive`` with " "arguments ``base_name``, ``format``, ``root_dir``, ``base_dir``." @@ -807,7 +807,7 @@ msgid "" "that extension. In case none is found, a :exc:`ValueError` is raised." msgstr "" -#: library/shutil.rst:643 +#: library/shutil.rst:13 msgid "" "Raises an :ref:`auditing event ` ``shutil.unpack_archive`` with " "arguments ``filename``, ``extract_dir``, ``format``." diff --git a/library/signal.po b/library/signal.po index b971c5b32..55798980c 100644 --- a/library/signal.po +++ b/library/signal.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -265,7 +265,7 @@ msgid "" "can only be raised in user space." msgstr "" -#: library/signal.rst:None +#: library/signal.rst:-1 msgid ":ref:`Availability `: Linux." msgstr "" @@ -480,7 +480,7 @@ msgid "" "performed; this can be used to check if the target thread is still running." msgstr "" -#: library/signal.rst:433 +#: library/signal.rst:16 msgid "" "Raises an :ref:`auditing event ` ``signal.pthread_kill`` with " "arguments ``thread_id``, ``signalnum``." diff --git a/library/smtpd.po b/library/smtpd.po index 2b93fafc6..180e5f03c 100644 --- a/library/smtpd.po +++ b/library/smtpd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -55,7 +55,7 @@ msgid "" "SMTPUTF8 extensions." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/smtplib.po b/library/smtplib.po index c5564ca41..92af6b156 100644 --- a/library/smtplib.po +++ b/library/smtplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgid "" "Mail Transfer Protocol) and :rfc:`1869` (SMTP Service Extensions)." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -76,7 +76,7 @@ msgid "" "keyword:`!with` statement exits. E.g.::" msgstr "" -#: library/smtplib.rst:68 +#: library/smtplib.rst:34 msgid "" "Raises an :ref:`auditing event ` ``smtplib.send`` with arguments " "``self``, ``data``." @@ -308,7 +308,7 @@ msgid "" "connection response." msgstr "" -#: library/smtplib.rst:271 +#: library/smtplib.rst:9 msgid "" "Raises an :ref:`auditing event ` ``smtplib.connect`` with " "arguments ``self``, ``host``, ``port``." diff --git a/library/socket.po b/library/socket.po index b52c92e3b..eac4e2a15 100644 --- a/library/socket.po +++ b/library/socket.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,7 +37,7 @@ msgid "" "operating system socket APIs." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -761,7 +761,7 @@ msgstr "" msgid "The newly created socket is :ref:`non-inheritable `." msgstr "" -#: library/socket.rst:635 +#: library/socket.rst:22 msgid "" "Raises an :ref:`auditing event ` ``socket.__new__`` with arguments " "``self``, ``family``, ``type``, ``protocol``." @@ -881,7 +881,7 @@ msgstr "" #: library/socket.rst:719 msgid "" "*family* should be either :data:`AF_INET` or :data:`AF_INET6`. *backlog* is " -"the queue size passed to :meth:`socket.listen`; when ``0`` a default " +"the queue size passed to :meth:`socket.listen`; if not specified , a default " "reasonable value is chosen. *reuse_port* dictates whether to set the :data:" "`SO_REUSEPORT` socket option." msgstr "" @@ -997,7 +997,7 @@ msgid "" "be passed to the :meth:`socket.connect` method." msgstr "" -#: library/socket.rst:846 +#: library/socket.rst:30 msgid "" "Raises an :ref:`auditing event ` ``socket.getaddrinfo`` with " "arguments ``host``, ``port``, ``family``, ``type``, ``protocol``." @@ -1041,7 +1041,7 @@ msgid "" "stack support." msgstr "" -#: library/socket.rst:900 +#: library/socket.rst:10 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyname`` with " "argument ``hostname``." @@ -1071,7 +1071,7 @@ msgid "" "interpreter is currently executing." msgstr "" -#: library/socket.rst:910 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostname`` with no " "arguments." @@ -1094,7 +1094,7 @@ msgid "" "`gethostbyaddr` supports both IPv4 and IPv6." msgstr "" -#: library/socket.rst:928 +#: library/socket.rst:9 msgid "" "Raises an :ref:`auditing event ` ``socket.gethostbyaddr`` with " "argument ``ip_address``." @@ -1119,7 +1119,7 @@ msgid "" "For more information about *flags* you can consult :manpage:`getnameinfo(3)`." msgstr "" -#: library/socket.rst:945 +#: library/socket.rst:11 msgid "" "Raises an :ref:`auditing event ` ``socket.getnameinfo`` with " "argument ``sockaddr``." @@ -1141,7 +1141,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:967 +#: library/socket.rst:5 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyname`` with " "arguments ``servicename``, ``protocolname``." @@ -1154,7 +1154,7 @@ msgid "" "``'udp'``, otherwise any protocol will match." msgstr "" -#: library/socket.rst:978 +#: library/socket.rst:5 msgid "" "Raises an :ref:`auditing event ` ``socket.getservbyport`` with " "arguments ``port``, ``protocolname``." @@ -1292,7 +1292,7 @@ msgid "" "the permissible range of values." msgstr "" -#: library/socket.rst:None +#: library/socket.rst:-1 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr "" @@ -1342,13 +1342,13 @@ msgid "" "you don't have enough rights." msgstr "" -#: library/socket.rst:1165 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.sethostname`` with " "argument ``name``." msgstr "" -#: library/socket.rst:None +#: library/socket.rst:1159 msgid ":ref:`Availability `: Unix." msgstr "" @@ -1358,7 +1358,7 @@ msgid "" "tuples. :exc:`OSError` if the system call fails." msgstr "" -#: library/socket.rst:1197 library/socket.rst:None +#: library/socket.rst:1170 library/socket.rst:1214 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" @@ -1478,7 +1478,7 @@ msgid "" "format of *address* depends on the address family --- see above.)" msgstr "" -#: library/socket.rst:1302 +#: library/socket.rst:4 msgid "" "Raises an :ref:`auditing event ` ``socket.bind`` with arguments " "``self``, ``address``." @@ -1530,7 +1530,7 @@ msgid "" "(or the exception raised by the signal handler)." msgstr "" -#: library/socket.rst:1363 +#: library/socket.rst:11 msgid "" "Raises an :ref:`auditing event ` ``socket.connect`` with arguments " "``self``, ``address``." @@ -1865,7 +1865,7 @@ msgid "" "address family --- see above.)" msgstr "" -#: library/socket.rst:1718 +#: library/socket.rst:7 msgid "" "Raises an :ref:`auditing event ` ``socket.sendto`` with arguments " "``self``, ``address``." @@ -1898,11 +1898,11 @@ msgid "" "mechanism. See also :meth:`recvmsg`. ::" msgstr "" -#: library/socket.rst:None +#: library/socket.rst:-1 msgid ":ref:`Availability `: Unix, not WASI." msgstr "" -#: library/socket.rst:1761 +#: library/socket.rst:34 msgid "" "Raises an :ref:`auditing event ` ``socket.sendmsg`` with arguments " "``self``, ``address``." diff --git a/library/socketserver.po b/library/socketserver.po index 3dc1bd30d..91c0c3a02 100644 --- a/library/socketserver.po +++ b/library/socketserver.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -30,7 +30,7 @@ msgid "" "servers." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/spwd.po b/library/spwd.po index adb430cea..29b586e46 100644 --- a/library/spwd.po +++ b/library/spwd.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -32,7 +32,7 @@ msgid "" "available on various Unix versions." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/sqlite3.po b/library/sqlite3.po index 328166b43..0a91b5dda 100644 --- a/library/sqlite3.po +++ b/library/sqlite3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -234,7 +234,7 @@ msgstr "" msgid ":ref:`sqlite3-converters`" msgstr "" -#: library/sqlite3.rst:558 +#: library/sqlite3.rst:554 msgid ":ref:`sqlite3-connection-context-manager`" msgstr "" @@ -331,13 +331,13 @@ msgstr "" msgid "Return type" msgstr "" -#: library/sqlite3.rst:327 +#: library/sqlite3.rst:64 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect`` with argument " "``database``." msgstr "" -#: library/sqlite3.rst:328 +#: library/sqlite3.rst:65 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.connect/handle`` with " "argument ``connection_handle``." @@ -481,25 +481,21 @@ msgid "" msgstr "" #: library/sqlite3.rst:479 -msgid "" -"The :mod:`!sqlite3` module supports ``qmark``, ``numeric``, and ``named`` DB-" -"API parameter styles, because that is what the underlying SQLite library " -"supports. However, the DB-API does not allow multiple values for the " -"``paramstyle`` attribute." +msgid "The ``named`` DB-API parameter style is also supported." msgstr "" -#: library/sqlite3.rst:487 +#: library/sqlite3.rst:483 msgid "" "Version number of the runtime SQLite library as a :class:`string `." msgstr "" -#: library/sqlite3.rst:491 +#: library/sqlite3.rst:487 msgid "" "Version number of the runtime SQLite library as a :class:`tuple` of :class:" "`integers `." msgstr "" -#: library/sqlite3.rst:496 +#: library/sqlite3.rst:492 msgid "" "Integer constant required by the DB-API 2.0, stating the level of thread " "safety the :mod:`!sqlite3` module supports. This attribute is set based on " @@ -507,154 +503,154 @@ msgid "" "underlying SQLite library is compiled with. The SQLite threading modes are:" msgstr "" -#: library/sqlite3.rst:501 +#: library/sqlite3.rst:497 msgid "" "**Single-thread**: In this mode, all mutexes are disabled and SQLite is " "unsafe to use in more than a single thread at once." msgstr "" -#: library/sqlite3.rst:503 +#: library/sqlite3.rst:499 msgid "" "**Multi-thread**: In this mode, SQLite can be safely used by multiple " "threads provided that no single database connection is used simultaneously " "in two or more threads." msgstr "" -#: library/sqlite3.rst:506 +#: library/sqlite3.rst:502 msgid "" "**Serialized**: In serialized mode, SQLite can be safely used by multiple " "threads with no restriction." msgstr "" -#: library/sqlite3.rst:509 +#: library/sqlite3.rst:505 msgid "" "The mappings from SQLite threading modes to DB-API 2.0 threadsafety levels " "are as follows:" msgstr "" -#: library/sqlite3.rst:513 +#: library/sqlite3.rst:509 msgid "SQLite threading mode" msgstr "" -#: library/sqlite3.rst:513 +#: library/sqlite3.rst:509 msgid "`threadsafety`_" msgstr "" -#: library/sqlite3.rst:513 +#: library/sqlite3.rst:509 msgid "`SQLITE_THREADSAFE`_" msgstr "" -#: library/sqlite3.rst:513 +#: library/sqlite3.rst:509 msgid "DB-API 2.0 meaning" msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:512 msgid "single-thread" msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:512 msgid "0" msgstr "" -#: library/sqlite3.rst:516 +#: library/sqlite3.rst:512 msgid "Threads may not share the module" msgstr "" -#: library/sqlite3.rst:519 +#: library/sqlite3.rst:515 msgid "multi-thread" msgstr "" -#: library/sqlite3.rst:522 +#: library/sqlite3.rst:518 msgid "1" msgstr "" -#: library/sqlite3.rst:519 +#: library/sqlite3.rst:515 msgid "2" msgstr "" -#: library/sqlite3.rst:519 +#: library/sqlite3.rst:515 msgid "Threads may share the module, but not connections" msgstr "" -#: library/sqlite3.rst:522 +#: library/sqlite3.rst:518 msgid "serialized" msgstr "" -#: library/sqlite3.rst:522 +#: library/sqlite3.rst:518 msgid "3" msgstr "" -#: library/sqlite3.rst:522 +#: library/sqlite3.rst:518 msgid "Threads may share the module, connections and cursors" msgstr "" -#: library/sqlite3.rst:529 +#: library/sqlite3.rst:525 msgid "Set *threadsafety* dynamically instead of hard-coding it to ``1``." msgstr "" -#: library/sqlite3.rst:534 +#: library/sqlite3.rst:530 msgid "" "Version number of this module as a :class:`string `. This is not the " "version of the SQLite library." msgstr "" -#: library/sqlite3.rst:539 +#: library/sqlite3.rst:535 msgid "" "Version number of this module as a :class:`tuple` of :class:`integers " "`. This is not the version of the SQLite library." msgstr "" -#: library/sqlite3.rst:546 +#: library/sqlite3.rst:542 msgid "Connection objects" msgstr "" -#: library/sqlite3.rst:550 +#: library/sqlite3.rst:546 msgid "" "Each open SQLite database is represented by a ``Connection`` object, which " "is created using :func:`sqlite3.connect`. Their main purpose is creating :" "class:`Cursor` objects, and :ref:`sqlite3-controlling-transactions`." msgstr "" -#: library/sqlite3.rst:557 +#: library/sqlite3.rst:553 msgid ":ref:`sqlite3-connection-shortcuts`" msgstr "" -#: library/sqlite3.rst:560 +#: library/sqlite3.rst:556 msgid "An SQLite database connection has the following attributes and methods:" msgstr "" -#: library/sqlite3.rst:564 +#: library/sqlite3.rst:560 msgid "" "Create and return a :class:`Cursor` object. The cursor method accepts a " "single optional parameter *factory*. If supplied, this must be a callable " "returning an instance of :class:`Cursor` or its subclasses." msgstr "" -#: library/sqlite3.rst:571 +#: library/sqlite3.rst:567 msgid "" "Open a :class:`Blob` handle to an existing :abbr:`BLOB (Binary Large " "OBject)`." msgstr "" -#: library/sqlite3.rst:574 +#: library/sqlite3.rst:570 msgid "The name of the table where the blob is located." msgstr "" -#: library/sqlite3.rst:577 +#: library/sqlite3.rst:573 msgid "The name of the column where the blob is located." msgstr "" -#: library/sqlite3.rst:580 +#: library/sqlite3.rst:576 msgid "The name of the row where the blob is located." msgstr "" -#: library/sqlite3.rst:583 +#: library/sqlite3.rst:579 msgid "" "Set to ``True`` if the blob should be opened without write permissions. " "Defaults to ``False``." msgstr "" -#: library/sqlite3.rst:588 +#: library/sqlite3.rst:584 msgid "" "The name of the database where the blob is located. Defaults to ``\"main\"``." msgstr "" @@ -663,109 +659,109 @@ msgstr "" msgid "Raises" msgstr "" -#: library/sqlite3.rst:592 +#: library/sqlite3.rst:588 msgid "When trying to open a blob in a ``WITHOUT ROWID`` table." msgstr "" -#: library/sqlite3.rst:599 +#: library/sqlite3.rst:595 msgid "" "The blob size cannot be changed using the :class:`Blob` class. Use the SQL " "function ``zeroblob`` to create a blob with a fixed size." msgstr "" -#: library/sqlite3.rst:606 +#: library/sqlite3.rst:602 msgid "" "Commit any pending transaction to the database. If there is no open " "transaction, this method is a no-op." msgstr "" -#: library/sqlite3.rst:611 +#: library/sqlite3.rst:607 msgid "" "Roll back to the start of any pending transaction. If there is no open " "transaction, this method is a no-op." msgstr "" -#: library/sqlite3.rst:616 +#: library/sqlite3.rst:612 msgid "" "Close the database connection. Any pending transaction is not committed " "implicitly; make sure to :meth:`commit` before closing to avoid losing " "pending changes." msgstr "" -#: library/sqlite3.rst:623 +#: library/sqlite3.rst:619 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.execute` on it " "with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:629 +#: library/sqlite3.rst:625 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executemany` on " "it with the given *sql* and *parameters*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:635 +#: library/sqlite3.rst:631 msgid "" "Create a new :class:`Cursor` object and call :meth:`~Cursor.executescript` " "on it with the given *sql_script*. Return the new cursor object." msgstr "" -#: library/sqlite3.rst:641 +#: library/sqlite3.rst:637 msgid "Create or remove a user-defined SQL function." msgstr "" -#: library/sqlite3.rst:643 +#: library/sqlite3.rst:639 msgid "The name of the SQL function." msgstr "" -#: library/sqlite3.rst:646 +#: library/sqlite3.rst:642 msgid "" "The number of arguments the SQL function can accept. If ``-1``, it may take " "any number of arguments." msgstr "" -#: library/sqlite3.rst:650 +#: library/sqlite3.rst:646 msgid "" "A callable that is called when the SQL function is invoked. The callable " "must return :ref:`a type natively supported by SQLite `. Set " "to ``None`` to remove an existing SQL function." msgstr "" -#: library/sqlite3.rst:657 +#: library/sqlite3.rst:653 msgid "" "If ``True``, the created SQL function is marked as `deterministic `_, which allows SQLite to perform additional " "optimizations." msgstr "" -#: library/sqlite3.rst:662 +#: library/sqlite3.rst:658 msgid "If *deterministic* is used with SQLite versions older than 3.8.3." msgstr "" -#: library/sqlite3.rst:665 +#: library/sqlite3.rst:661 msgid "The *deterministic* parameter." msgstr "" -#: library/sqlite3.rst:706 library/sqlite3.rst:1020 library/sqlite3.rst:1363 -#: library/sqlite3.rst:1384 +#: library/sqlite3.rst:702 library/sqlite3.rst:1016 library/sqlite3.rst:1359 +#: library/sqlite3.rst:1380 msgid "Example:" msgstr "" -#: library/sqlite3.rst:684 +#: library/sqlite3.rst:680 msgid "Create or remove a user-defined SQL aggregate function." msgstr "" -#: library/sqlite3.rst:686 +#: library/sqlite3.rst:682 msgid "The name of the SQL aggregate function." msgstr "" -#: library/sqlite3.rst:689 +#: library/sqlite3.rst:685 msgid "" "The number of arguments the SQL aggregate function can accept. If ``-1``, it " "may take any number of arguments." msgstr "" -#: library/sqlite3.rst:693 +#: library/sqlite3.rst:689 msgid "" "A class must implement the following methods: * ``step()``: Add a row to " "the aggregate. * ``finalize()``: Return the final result of the aggregate " @@ -774,45 +770,45 @@ msgid "" "*n_arg*. Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:694 +#: library/sqlite3.rst:690 msgid "A class must implement the following methods:" msgstr "" -#: library/sqlite3.rst:696 +#: library/sqlite3.rst:692 msgid "``step()``: Add a row to the aggregate." msgstr "" -#: library/sqlite3.rst:753 +#: library/sqlite3.rst:749 msgid "" "``finalize()``: Return the final result of the aggregate as :ref:`a type " "natively supported by SQLite `." msgstr "" -#: library/sqlite3.rst:700 +#: library/sqlite3.rst:696 msgid "" "The number of arguments that the ``step()`` method must accept is controlled " "by *n_arg*." msgstr "" -#: library/sqlite3.rst:703 +#: library/sqlite3.rst:699 msgid "Set to ``None`` to remove an existing SQL aggregate function." msgstr "" -#: library/sqlite3.rst:738 +#: library/sqlite3.rst:734 msgid "Create or remove a user-defined aggregate window function." msgstr "" -#: library/sqlite3.rst:740 +#: library/sqlite3.rst:736 msgid "The name of the SQL aggregate window function to create or remove." msgstr "" -#: library/sqlite3.rst:743 +#: library/sqlite3.rst:739 msgid "" "The number of arguments the SQL aggregate window function can accept. If " "``-1``, it may take any number of arguments." msgstr "" -#: library/sqlite3.rst:747 +#: library/sqlite3.rst:743 msgid "" "A class that must implement the following methods: * ``step()``: Add a row " "to the current window. * ``value()``: Return the current value of the " @@ -824,78 +820,78 @@ msgid "" "function." msgstr "" -#: library/sqlite3.rst:748 +#: library/sqlite3.rst:744 msgid "A class that must implement the following methods:" msgstr "" -#: library/sqlite3.rst:750 +#: library/sqlite3.rst:746 msgid "``step()``: Add a row to the current window." msgstr "" -#: library/sqlite3.rst:751 +#: library/sqlite3.rst:747 msgid "``value()``: Return the current value of the aggregate." msgstr "" -#: library/sqlite3.rst:752 +#: library/sqlite3.rst:748 msgid "``inverse()``: Remove a row from the current window." msgstr "" -#: library/sqlite3.rst:756 +#: library/sqlite3.rst:752 msgid "" "The number of arguments that the ``step()`` and ``value()`` methods must " "accept is controlled by *num_params*." msgstr "" -#: library/sqlite3.rst:759 +#: library/sqlite3.rst:755 msgid "Set to ``None`` to remove an existing SQL aggregate window function." msgstr "" -#: library/sqlite3.rst:761 +#: library/sqlite3.rst:757 msgid "" "If used with a version of SQLite older than 3.25.0, which does not support " "aggregate window functions." msgstr "" -#: library/sqlite3.rst:824 +#: library/sqlite3.rst:820 msgid "" "Create a collation named *name* using the collating function *callable*. " "*callable* is passed two :class:`string ` arguments, and it should " "return an :class:`integer `:" msgstr "" -#: library/sqlite3.rst:828 +#: library/sqlite3.rst:824 msgid "``1`` if the first is ordered higher than the second" msgstr "" -#: library/sqlite3.rst:829 +#: library/sqlite3.rst:825 msgid "``-1`` if the first is ordered lower than the second" msgstr "" -#: library/sqlite3.rst:830 +#: library/sqlite3.rst:826 msgid "``0`` if they are ordered equal" msgstr "" -#: library/sqlite3.rst:832 +#: library/sqlite3.rst:828 msgid "The following example shows a reverse sorting collation:" msgstr "" -#: library/sqlite3.rst:860 +#: library/sqlite3.rst:856 msgid "Remove a collation function by setting *callable* to ``None``." msgstr "" -#: library/sqlite3.rst:862 +#: library/sqlite3.rst:858 msgid "" "The collation name can contain any Unicode character. Earlier, only ASCII " "characters were allowed." msgstr "" -#: library/sqlite3.rst:869 +#: library/sqlite3.rst:865 msgid "" "Call this method from a different thread to abort any queries that might be " "executing on the connection. Aborted queries will raise an exception." msgstr "" -#: library/sqlite3.rst:876 +#: library/sqlite3.rst:872 msgid "" "Register callable *authorizer_callback* to be invoked for each attempt to " "access a column of a table in the database. The callback should return one " @@ -904,7 +900,7 @@ msgid "" "library." msgstr "" -#: library/sqlite3.rst:882 +#: library/sqlite3.rst:878 msgid "" "The first argument to the callback signifies what kind of operation is to be " "authorized. The second and third argument will be arguments or ``None`` " @@ -914,7 +910,7 @@ msgid "" "attempt or ``None`` if this access attempt is directly from input SQL code." msgstr "" -#: library/sqlite3.rst:889 +#: library/sqlite3.rst:885 msgid "" "Please consult the SQLite documentation about the possible values for the " "first argument and the meaning of the second and third argument depending on " @@ -922,15 +918,15 @@ msgid "" "module." msgstr "" -#: library/sqlite3.rst:893 +#: library/sqlite3.rst:889 msgid "Passing ``None`` as *authorizer_callback* will disable the authorizer." msgstr "" -#: library/sqlite3.rst:895 +#: library/sqlite3.rst:891 msgid "Added support for disabling the authorizer using ``None``." msgstr "" -#: library/sqlite3.rst:901 +#: library/sqlite3.rst:897 msgid "" "Register callable *progress_handler* to be invoked for every *n* " "instructions of the SQLite virtual machine. This is useful if you want to " @@ -938,26 +934,26 @@ msgid "" "a GUI." msgstr "" -#: library/sqlite3.rst:906 +#: library/sqlite3.rst:902 msgid "" "If you want to clear any previously installed progress handler, call the " "method with ``None`` for *progress_handler*." msgstr "" -#: library/sqlite3.rst:909 +#: library/sqlite3.rst:905 msgid "" "Returning a non-zero value from the handler function will terminate the " "currently executing query and cause it to raise an :exc:`OperationalError` " "exception." msgstr "" -#: library/sqlite3.rst:916 +#: library/sqlite3.rst:912 msgid "" "Register callable *trace_callback* to be invoked for each SQL statement that " "is actually executed by the SQLite backend." msgstr "" -#: library/sqlite3.rst:919 +#: library/sqlite3.rst:915 msgid "" "The only argument passed to the callback is the statement (as :class:`str`) " "that is being executed. The return value of the callback is ignored. Note " @@ -967,18 +963,18 @@ msgid "" "execution of triggers defined in the current database." msgstr "" -#: library/sqlite3.rst:927 +#: library/sqlite3.rst:923 msgid "Passing ``None`` as *trace_callback* will disable the trace callback." msgstr "" -#: library/sqlite3.rst:930 +#: library/sqlite3.rst:926 msgid "" "Exceptions raised in the trace callback are not propagated. As a development " "and debugging aid, use :meth:`~sqlite3.enable_callback_tracebacks` to enable " "printing tracebacks from exceptions raised in the trace callback." msgstr "" -#: library/sqlite3.rst:940 +#: library/sqlite3.rst:936 msgid "" "Enable the SQLite engine to load SQLite extensions from shared libraries if " "*enabled* is ``True``; else, disallow loading SQLite extensions. SQLite " @@ -987,7 +983,7 @@ msgid "" "distributed with SQLite." msgstr "" -#: library/sqlite3.rst:949 +#: library/sqlite3.rst:945 msgid "" "The :mod:`!sqlite3` module is not built with loadable extension support by " "default, because some platforms (notably macOS) have SQLite libraries which " @@ -996,61 +992,61 @@ msgid "" "program:`configure`." msgstr "" -#: library/sqlite3.rst:956 +#: library/sqlite3.rst:17 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.enable_load_extension`` " "with arguments ``connection``, ``enabled``." msgstr "" -#: library/sqlite3.rst:960 +#: library/sqlite3.rst:956 msgid "Added the ``sqlite3.enable_load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1003 +#: library/sqlite3.rst:999 msgid "" "Load an SQLite extension from a shared library located at *path*. Enable " "extension loading with :meth:`enable_load_extension` before calling this " "method." msgstr "" -#: library/sqlite3.rst:1007 +#: library/sqlite3.rst:5 msgid "" "Raises an :ref:`auditing event ` ``sqlite3.load_extension`` with " "arguments ``connection``, ``path``." msgstr "" -#: library/sqlite3.rst:1011 +#: library/sqlite3.rst:1007 msgid "Added the ``sqlite3.load_extension`` auditing event." msgstr "" -#: library/sqlite3.rst:1016 +#: library/sqlite3.rst:1012 msgid "" "Return an :term:`iterator` to dump the database as SQL source code. Useful " "when saving an in-memory database for later restoration. Similar to the ``." "dump`` command in the :program:`sqlite3` shell." msgstr "" -#: library/sqlite3.rst:1034 +#: library/sqlite3.rst:1030 msgid "Create a backup of an SQLite database." msgstr "" -#: library/sqlite3.rst:1036 +#: library/sqlite3.rst:1032 msgid "" "Works even if the database is being accessed by other clients or " "concurrently by the same connection." msgstr "" -#: library/sqlite3.rst:1039 +#: library/sqlite3.rst:1035 msgid "The database connection to save the backup to." msgstr "" -#: library/sqlite3.rst:1042 +#: library/sqlite3.rst:1038 msgid "" "The number of pages to copy at a time. If equal to or less than ``0``, the " "entire database is copied in a single step. Defaults to ``-1``." msgstr "" -#: library/sqlite3.rst:1048 +#: library/sqlite3.rst:1044 msgid "" "If set to a callable, it is invoked with three integer arguments for every " "backup iteration: the *status* of the last iteration, the *remaining* number " @@ -1058,46 +1054,46 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1057 +#: library/sqlite3.rst:1053 msgid "" "The name of the database to back up. Either ``\"main\"`` (the default) for " "the main database, ``\"temp\"`` for the temporary database, or the name of a " "custom database as attached using the ``ATTACH DATABASE`` SQL statement." msgstr "" -#: library/sqlite3.rst:1064 +#: library/sqlite3.rst:1060 msgid "" "The number of seconds to sleep between successive attempts to back up " "remaining pages." msgstr "" -#: library/sqlite3.rst:1068 +#: library/sqlite3.rst:1064 msgid "Example 1, copy an existing database into another:" msgstr "" -#: library/sqlite3.rst:1087 +#: library/sqlite3.rst:1083 msgid "Example 2, copy an existing database into a transient copy:" msgstr "" -#: library/sqlite3.rst:1099 +#: library/sqlite3.rst:1095 msgid "Get a connection runtime limit." msgstr "" -#: library/sqlite3.rst:1101 +#: library/sqlite3.rst:1097 msgid "The `SQLite limit category`_ to be queried." msgstr "" -#: library/sqlite3.rst:1143 +#: library/sqlite3.rst:1139 msgid "If *category* is not recognised by the underlying SQLite library." msgstr "" -#: library/sqlite3.rst:1109 +#: library/sqlite3.rst:1105 msgid "" "Example, query the maximum length of an SQL statement for :class:" "`Connection` ``con`` (the default is 1000000000):" msgstr "" -#: library/sqlite3.rst:1129 +#: library/sqlite3.rst:1125 msgid "" "Set a connection runtime limit. Attempts to increase a limit above its hard " "upper bound are silently truncated to the hard upper bound. Regardless of " @@ -1105,22 +1101,22 @@ msgid "" "returned." msgstr "" -#: library/sqlite3.rst:1134 +#: library/sqlite3.rst:1130 msgid "The `SQLite limit category`_ to be set." msgstr "" -#: library/sqlite3.rst:1137 +#: library/sqlite3.rst:1133 msgid "" "The value of the new limit. If negative, the current limit is unchanged." msgstr "" -#: library/sqlite3.rst:1146 +#: library/sqlite3.rst:1142 msgid "" "Example, limit the number of attached databases to 1 for :class:`Connection` " "``con`` (the default limit is 10):" msgstr "" -#: library/sqlite3.rst:1163 +#: library/sqlite3.rst:1159 msgid "" "Serialize a database into a :class:`bytes` object. For an ordinary on-disk " "database file, the serialization is just a copy of the disk file. For an in-" @@ -1129,17 +1125,17 @@ msgid "" "backed up to disk." msgstr "" -#: library/sqlite3.rst:1169 +#: library/sqlite3.rst:1165 msgid "The database name to be serialized. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1177 +#: library/sqlite3.rst:1173 msgid "" "This method is only available if the underlying SQLite library has the " "serialize API." msgstr "" -#: library/sqlite3.rst:1185 +#: library/sqlite3.rst:1181 msgid "" "Deserialize a :meth:`serialized ` database into a :class:" "`Connection`. This method causes the database connection to disconnect from " @@ -1147,47 +1143,47 @@ msgid "" "serialization contained in *data*." msgstr "" -#: library/sqlite3.rst:1191 +#: library/sqlite3.rst:1187 msgid "A serialized database." msgstr "" -#: library/sqlite3.rst:1194 +#: library/sqlite3.rst:1190 msgid "The database name to deserialize into. Defaults to ``\"main\"``." msgstr "" -#: library/sqlite3.rst:1198 +#: library/sqlite3.rst:1194 msgid "" "If the database connection is currently involved in a read transaction or a " "backup operation." msgstr "" -#: library/sqlite3.rst:1202 +#: library/sqlite3.rst:1198 msgid "If *data* does not contain a valid SQLite database." msgstr "" -#: library/sqlite3.rst:1205 +#: library/sqlite3.rst:1201 msgid "If :func:`len(data) ` is larger than ``2**63 - 1``." msgstr "" -#: library/sqlite3.rst:1210 +#: library/sqlite3.rst:1206 msgid "" "This method is only available if the underlying SQLite library has the " "deserialize API." msgstr "" -#: library/sqlite3.rst:1217 +#: library/sqlite3.rst:1213 msgid "" "This read-only attribute corresponds to the low-level SQLite `autocommit " "mode`_." msgstr "" -#: library/sqlite3.rst:1220 +#: library/sqlite3.rst:1216 msgid "" "``True`` if a transaction is active (there are uncommitted changes), " "``False`` otherwise." msgstr "" -#: library/sqlite3.rst:1227 +#: library/sqlite3.rst:1223 msgid "" "This attribute controls the :ref:`transaction handling ` performed by :mod:`!sqlite3`. If set to ``None``, " @@ -1197,13 +1193,13 @@ msgid "" "` is performed." msgstr "" -#: library/sqlite3.rst:1235 +#: library/sqlite3.rst:1231 msgid "" "If not overridden by the *isolation_level* parameter of :func:`connect`, the " "default is ``\"\"``, which is an alias for ``\"DEFERRED\"``." msgstr "" -#: library/sqlite3.rst:1240 +#: library/sqlite3.rst:1236 msgid "" "The initial :attr:`~Cursor.row_factory` for :class:`Cursor` objects created " "from this connection. Assigning to this attribute does not affect the :attr:" @@ -1212,11 +1208,11 @@ msgid "" "`tuple`." msgstr "" -#: library/sqlite3.rst:1508 library/sqlite3.rst:1531 +#: library/sqlite3.rst:1504 library/sqlite3.rst:1527 msgid "See :ref:`sqlite3-howto-row-factory` for more details." msgstr "" -#: library/sqlite3.rst:1251 +#: library/sqlite3.rst:1247 msgid "" "A callable that accepts a :class:`bytes` parameter and returns a text " "representation of it. The callable is invoked for SQLite values with the " @@ -1224,17 +1220,17 @@ msgid "" "you want to return ``bytes`` instead, set *text_factory* to ``bytes``." msgstr "" -#: library/sqlite3.rst:1291 +#: library/sqlite3.rst:1287 msgid "" "Return the total number of database rows that have been modified, inserted, " "or deleted since the database connection was opened." msgstr "" -#: library/sqlite3.rst:1298 +#: library/sqlite3.rst:1294 msgid "Cursor objects" msgstr "" -#: library/sqlite3.rst:1300 +#: library/sqlite3.rst:1296 msgid "" "A ``Cursor`` object represents a `database cursor`_ which is used to execute " "SQL statements, and manage the context of a fetch operation. Cursors are " @@ -1242,25 +1238,25 @@ msgid "" "`connection shortcut methods `." msgstr "" -#: library/sqlite3.rst:1307 +#: library/sqlite3.rst:1303 msgid "" "Cursor objects are :term:`iterators `, meaning that if you :meth:" "`~Cursor.execute` a ``SELECT`` query, you can simply iterate over the cursor " "to fetch the resulting rows:" msgstr "" -#: library/sqlite3.rst:1332 +#: library/sqlite3.rst:1328 msgid "A :class:`Cursor` instance has the following attributes and methods." msgstr "" -#: library/sqlite3.rst:1339 +#: library/sqlite3.rst:1335 msgid "" "Execute SQL statement *sql*. Bind values to the statement using :ref:" "`placeholders ` that map to the :term:`sequence` or :" "class:`dict` *parameters*." msgstr "" -#: library/sqlite3.rst:1344 +#: library/sqlite3.rst:1340 msgid "" ":meth:`execute` will only execute a single SQL statement. If you try to " "execute more than one statement with it, it will raise a :exc:" @@ -1268,7 +1264,7 @@ msgid "" "multiple SQL statements with one call." msgstr "" -#: library/sqlite3.rst:1349 +#: library/sqlite3.rst:1345 msgid "" "If :attr:`~Connection.isolation_level` is not ``None``, *sql* is an " "``INSERT``, ``UPDATE``, ``DELETE``, or ``REPLACE`` statement, and there is " @@ -1276,7 +1272,7 @@ msgid "" "*sql*." msgstr "" -#: library/sqlite3.rst:1357 +#: library/sqlite3.rst:1353 msgid "" "Execute :ref:`parameterized ` SQL statement *sql* " "against all parameter sequences or mappings found in the sequence " @@ -1285,7 +1281,7 @@ msgid "" "handling as :meth:`~Cursor.execute`." msgstr "" -#: library/sqlite3.rst:1376 +#: library/sqlite3.rst:1372 msgid "" "Execute the SQL statements in *sql_script*. If there is a pending " "transaction, an implicit ``COMMIT`` statement is executed first. No other " @@ -1293,24 +1289,24 @@ msgid "" "added to *sql_script*." msgstr "" -#: library/sqlite3.rst:1382 +#: library/sqlite3.rst:1378 msgid "*sql_script* must be a :class:`string `." msgstr "" -#: library/sqlite3.rst:1400 +#: library/sqlite3.rst:1396 msgid "" "If :attr:`~Cursor.row_factory` is ``None``, return the next row query result " "set as a :class:`tuple`. Else, pass it to the row factory and return its " "result. Return ``None`` if no more data is available." msgstr "" -#: library/sqlite3.rst:1408 +#: library/sqlite3.rst:1404 msgid "" "Return the next set of rows of a query result as a :class:`list`. Return an " "empty list if no more rows are available." msgstr "" -#: library/sqlite3.rst:1411 +#: library/sqlite3.rst:1407 msgid "" "The number of rows to fetch per call is specified by the *size* parameter. " "If *size* is not given, :attr:`arraysize` determines the number of rows to " @@ -1318,7 +1314,7 @@ msgid "" "available are returned." msgstr "" -#: library/sqlite3.rst:1417 +#: library/sqlite3.rst:1413 msgid "" "Note there are performance considerations involved with the *size* " "parameter. For optimal performance, it is usually best to use the arraysize " @@ -1326,36 +1322,36 @@ msgid "" "the same value from one :meth:`fetchmany` call to the next." msgstr "" -#: library/sqlite3.rst:1424 +#: library/sqlite3.rst:1420 msgid "" "Return all (remaining) rows of a query result as a :class:`list`. Return an " "empty list if no rows are available. Note that the :attr:`arraysize` " "attribute can affect the performance of this operation." msgstr "" -#: library/sqlite3.rst:1431 +#: library/sqlite3.rst:1427 msgid "Close the cursor now (rather than whenever ``__del__`` is called)." msgstr "" -#: library/sqlite3.rst:1433 +#: library/sqlite3.rst:1429 msgid "" "The cursor will be unusable from this point forward; a :exc:" "`ProgrammingError` exception will be raised if any operation is attempted " "with the cursor." msgstr "" -#: library/sqlite3.rst:1442 +#: library/sqlite3.rst:1438 msgid "Required by the DB-API. Does nothing in :mod:`!sqlite3`." msgstr "" -#: library/sqlite3.rst:1446 +#: library/sqlite3.rst:1442 msgid "" "Read/write attribute that controls the number of rows returned by :meth:" "`fetchmany`. The default value is 1 which means a single row would be " "fetched per call." msgstr "" -#: library/sqlite3.rst:1451 +#: library/sqlite3.rst:1447 msgid "" "Read-only attribute that provides the SQLite database :class:`Connection` " "belonging to the cursor. A :class:`Cursor` object created by calling :meth:" @@ -1363,18 +1359,18 @@ msgid "" "that refers to *con*:" msgstr "" -#: library/sqlite3.rst:1465 +#: library/sqlite3.rst:1461 msgid "" "Read-only attribute that provides the column names of the last query. To " "remain compatible with the Python DB API, it returns a 7-tuple for each " "column where the last six items of each tuple are ``None``." msgstr "" -#: library/sqlite3.rst:1469 +#: library/sqlite3.rst:1465 msgid "It is set for ``SELECT`` statements without any matching rows as well." msgstr "" -#: library/sqlite3.rst:1473 +#: library/sqlite3.rst:1469 msgid "" "Read-only attribute that provides the row id of the last inserted row. It is " "only updated after successful ``INSERT`` or ``REPLACE`` statements using " @@ -1384,15 +1380,15 @@ msgid "" "``None``." msgstr "" -#: library/sqlite3.rst:1481 +#: library/sqlite3.rst:1477 msgid "Inserts into ``WITHOUT ROWID`` tables are not recorded." msgstr "" -#: library/sqlite3.rst:1483 +#: library/sqlite3.rst:1479 msgid "Added support for the ``REPLACE`` statement." msgstr "" -#: library/sqlite3.rst:1488 +#: library/sqlite3.rst:1484 msgid "" "Read-only attribute that provides the number of modified rows for " "``INSERT``, ``UPDATE``, ``DELETE``, and ``REPLACE`` statements; is ``-1`` " @@ -1401,7 +1397,7 @@ msgid "" "methods." msgstr "" -#: library/sqlite3.rst:1496 +#: library/sqlite3.rst:1492 msgid "" "Control how a row fetched from this :class:`!Cursor` is represented. If " "``None``, a row is represented as a :class:`tuple`. Can be set to the " @@ -1410,18 +1406,18 @@ msgid "" "and returns a custom object representing an SQLite row." msgstr "" -#: library/sqlite3.rst:1503 +#: library/sqlite3.rst:1499 msgid "" "Defaults to what :attr:`Connection.row_factory` was set to when the :class:`!" "Cursor` was created. Assigning to this attribute does not affect :attr:" "`Connection.row_factory` of the parent connection." msgstr "" -#: library/sqlite3.rst:1519 +#: library/sqlite3.rst:1515 msgid "Row objects" msgstr "" -#: library/sqlite3.rst:1523 +#: library/sqlite3.rst:1519 msgid "" "A :class:`!Row` instance serves as a highly optimized :attr:`~Connection." "row_factory` for :class:`Connection` objects. It supports iteration, " @@ -1429,28 +1425,28 @@ msgid "" "index." msgstr "" -#: library/sqlite3.rst:1528 +#: library/sqlite3.rst:1524 msgid "" "Two :class:`!Row` objects compare equal if they have identical column names " "and values." msgstr "" -#: library/sqlite3.rst:1535 +#: library/sqlite3.rst:1531 msgid "" "Return a :class:`list` of column names as :class:`strings `. " "Immediately after a query, it is the first member of each tuple in :attr:" "`Cursor.description`." msgstr "" -#: library/sqlite3.rst:1539 +#: library/sqlite3.rst:1535 msgid "Added support of slicing." msgstr "" -#: library/sqlite3.rst:1546 +#: library/sqlite3.rst:1542 msgid "Blob objects" msgstr "" -#: library/sqlite3.rst:1552 +#: library/sqlite3.rst:1548 msgid "" "A :class:`Blob` instance is a :term:`file-like object` that can read and " "write data in an SQLite :abbr:`BLOB (Binary Large OBject)`. Call :func:" @@ -1458,24 +1454,24 @@ msgid "" "and :term:`slices ` for direct access to the blob data." msgstr "" -#: library/sqlite3.rst:1557 +#: library/sqlite3.rst:1553 msgid "" "Use the :class:`Blob` as a :term:`context manager` to ensure that the blob " "handle is closed after use." msgstr "" -#: library/sqlite3.rst:1587 +#: library/sqlite3.rst:1583 msgid "Close the blob." msgstr "" -#: library/sqlite3.rst:1589 +#: library/sqlite3.rst:1585 msgid "" "The blob will be unusable from this point onward. An :class:`~sqlite3." "Error` (or subclass) exception will be raised if any further operation is " "attempted with the blob." msgstr "" -#: library/sqlite3.rst:1595 +#: library/sqlite3.rst:1591 msgid "" "Read *length* bytes of data from the blob at the current offset position. If " "the end of the blob is reached, the data up to :abbr:`EOF (End of File)` " @@ -1483,18 +1479,18 @@ msgid "" "`~Blob.read` will read until the end of the blob." msgstr "" -#: library/sqlite3.rst:1603 +#: library/sqlite3.rst:1599 msgid "" "Write *data* to the blob at the current offset. This function cannot change " "the blob length. Writing beyond the end of the blob will raise :exc:" "`ValueError`." msgstr "" -#: library/sqlite3.rst:1609 +#: library/sqlite3.rst:1605 msgid "Return the current access position of the blob." msgstr "" -#: library/sqlite3.rst:1613 +#: library/sqlite3.rst:1609 msgid "" "Set the current access position of the blob to *offset*. The *origin* " "argument defaults to :data:`os.SEEK_SET` (absolute blob positioning). Other " @@ -1502,26 +1498,26 @@ msgid "" "position) and :data:`os.SEEK_END` (seek relative to the blob’s end)." msgstr "" -#: library/sqlite3.rst:1621 +#: library/sqlite3.rst:1617 msgid "PrepareProtocol objects" msgstr "" -#: library/sqlite3.rst:1625 +#: library/sqlite3.rst:1621 msgid "" "The PrepareProtocol type's single purpose is to act as a :pep:`246` style " "adaption protocol for objects that can :ref:`adapt themselves ` to :ref:`native SQLite types `." msgstr "" -#: library/sqlite3.rst:1633 +#: library/sqlite3.rst:1629 msgid "Exceptions" msgstr "" -#: library/sqlite3.rst:1635 +#: library/sqlite3.rst:1631 msgid "The exception hierarchy is defined by the DB-API 2.0 (:pep:`249`)." msgstr "" -#: library/sqlite3.rst:1639 +#: library/sqlite3.rst:1635 msgid "" "This exception is not currently raised by the :mod:`!sqlite3` module, but " "may be raised by applications using :mod:`!sqlite3`, for example if a user-" @@ -1529,39 +1525,39 @@ msgid "" "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1646 +#: library/sqlite3.rst:1642 msgid "" "The base class of the other exceptions in this module. Use this to catch all " "errors with one single :keyword:`except` statement. ``Error`` is a subclass " "of :exc:`Exception`." msgstr "" -#: library/sqlite3.rst:1650 +#: library/sqlite3.rst:1646 msgid "" "If the exception originated from within the SQLite library, the following " "two attributes are added to the exception:" msgstr "" -#: library/sqlite3.rst:1655 +#: library/sqlite3.rst:1651 msgid "" "The numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1662 +#: library/sqlite3.rst:1658 msgid "" "The symbolic name of the numeric error code from the `SQLite API `_" msgstr "" -#: library/sqlite3.rst:1669 +#: library/sqlite3.rst:1665 msgid "" "Exception raised for misuse of the low-level SQLite C API. In other words, " "if this exception is raised, it probably indicates a bug in the :mod:`!" "sqlite3` module. ``InterfaceError`` is a subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1676 +#: library/sqlite3.rst:1672 msgid "" "Exception raised for errors that are related to the database. This serves as " "the base exception for several types of database errors. It is only raised " @@ -1569,14 +1565,14 @@ msgid "" "subclass of :exc:`Error`." msgstr "" -#: library/sqlite3.rst:1683 +#: library/sqlite3.rst:1679 msgid "" "Exception raised for errors caused by problems with the processed data, like " "numeric values out of range, and strings which are too long. ``DataError`` " "is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1689 +#: library/sqlite3.rst:1685 msgid "" "Exception raised for errors that are related to the database's operation, " "and not necessarily under the control of the programmer. For example, the " @@ -1584,20 +1580,20 @@ msgid "" "``OperationalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1697 +#: library/sqlite3.rst:1693 msgid "" "Exception raised when the relational integrity of the database is affected, " "e.g. a foreign key check fails. It is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1702 +#: library/sqlite3.rst:1698 msgid "" "Exception raised when SQLite encounters an internal error. If this is " "raised, it may indicate that there is a problem with the runtime SQLite " "library. ``InternalError`` is a subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1709 +#: library/sqlite3.rst:1705 msgid "" "Exception raised for :mod:`!sqlite3` API programming errors, for example " "supplying the wrong number of bindings to a query, or trying to operate on a " @@ -1605,7 +1601,7 @@ msgid "" "`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1716 +#: library/sqlite3.rst:1712 msgid "" "Exception raised in case a method or database API is not supported by the " "underlying SQLite library. For example, setting *deterministic* to ``True`` " @@ -1614,78 +1610,78 @@ msgid "" "subclass of :exc:`DatabaseError`." msgstr "" -#: library/sqlite3.rst:1726 +#: library/sqlite3.rst:1722 msgid "SQLite and Python types" msgstr "" -#: library/sqlite3.rst:1728 +#: library/sqlite3.rst:1724 msgid "" "SQLite natively supports the following types: ``NULL``, ``INTEGER``, " "``REAL``, ``TEXT``, ``BLOB``." msgstr "" -#: library/sqlite3.rst:1731 +#: library/sqlite3.rst:1727 msgid "" "The following Python types can thus be sent to SQLite without any problem:" msgstr "" -#: library/sqlite3.rst:1751 +#: library/sqlite3.rst:1747 msgid "Python type" msgstr "" -#: library/sqlite3.rst:1751 +#: library/sqlite3.rst:1747 msgid "SQLite type" msgstr "" -#: library/sqlite3.rst:1753 +#: library/sqlite3.rst:1749 msgid "``None``" msgstr "" -#: library/sqlite3.rst:1753 +#: library/sqlite3.rst:1749 msgid "``NULL``" msgstr "" -#: library/sqlite3.rst:1755 +#: library/sqlite3.rst:1751 msgid ":class:`int`" msgstr "" -#: library/sqlite3.rst:1755 +#: library/sqlite3.rst:1751 msgid "``INTEGER``" msgstr "" -#: library/sqlite3.rst:1757 +#: library/sqlite3.rst:1753 msgid ":class:`float`" msgstr "" -#: library/sqlite3.rst:1757 +#: library/sqlite3.rst:1753 msgid "``REAL``" msgstr "" -#: library/sqlite3.rst:1742 +#: library/sqlite3.rst:1738 msgid ":class:`str`" msgstr "" -#: library/sqlite3.rst:1759 +#: library/sqlite3.rst:1755 msgid "``TEXT``" msgstr "" -#: library/sqlite3.rst:1762 +#: library/sqlite3.rst:1758 msgid ":class:`bytes`" msgstr "" -#: library/sqlite3.rst:1762 +#: library/sqlite3.rst:1758 msgid "``BLOB``" msgstr "" -#: library/sqlite3.rst:1748 +#: library/sqlite3.rst:1744 msgid "This is how SQLite types are converted to Python types by default:" msgstr "" -#: library/sqlite3.rst:1759 +#: library/sqlite3.rst:1755 msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" msgstr "" -#: library/sqlite3.rst:1765 +#: library/sqlite3.rst:1761 msgid "" "The type system of the :mod:`!sqlite3` module is extensible in two ways: you " "can store additional Python types in an SQLite database via :ref:`object " @@ -1694,42 +1690,42 @@ msgid "" "converters>`." msgstr "" -#: library/sqlite3.rst:1775 +#: library/sqlite3.rst:1771 msgid "Default adapters and converters" msgstr "" -#: library/sqlite3.rst:1777 +#: library/sqlite3.rst:1773 msgid "" "There are default adapters for the date and datetime types in the datetime " "module. They will be sent as ISO dates/ISO timestamps to SQLite." msgstr "" -#: library/sqlite3.rst:1780 +#: library/sqlite3.rst:1776 msgid "" "The default converters are registered under the name \"date\" for :class:" "`datetime.date` and under the name \"timestamp\" for :class:`datetime." "datetime`." msgstr "" -#: library/sqlite3.rst:1784 +#: library/sqlite3.rst:1780 msgid "" "This way, you can use date/timestamps from Python without any additional " "fiddling in most cases. The format of the adapters is also compatible with " "the experimental SQLite date/time functions." msgstr "" -#: library/sqlite3.rst:1788 +#: library/sqlite3.rst:1784 msgid "The following example demonstrates this." msgstr "" -#: library/sqlite3.rst:1792 +#: library/sqlite3.rst:1788 msgid "" "If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " "its value will be truncated to microsecond precision by the timestamp " "converter." msgstr "" -#: library/sqlite3.rst:1798 +#: library/sqlite3.rst:1794 msgid "" "The default \"timestamp\" converter ignores UTC offsets in the database and " "always returns a naive :class:`datetime.datetime` object. To preserve UTC " @@ -1737,15 +1733,15 @@ msgid "" "offset-aware converter with :func:`register_converter`." msgstr "" -#: library/sqlite3.rst:1807 +#: library/sqlite3.rst:1803 msgid "How-to guides" msgstr "" -#: library/sqlite3.rst:1812 +#: library/sqlite3.rst:1808 msgid "How to use placeholders to bind values in SQL queries" msgstr "" -#: library/sqlite3.rst:1814 +#: library/sqlite3.rst:1810 msgid "" "SQL operations usually need to use values from Python variables. However, " "beware of using Python's string operations to assemble queries, as they are " @@ -1753,34 +1749,43 @@ msgid "" "close the single quote and inject ``OR TRUE`` to select all rows::" msgstr "" -#: library/sqlite3.rst:1827 +#: library/sqlite3.rst:1823 msgid "" "Instead, use the DB-API's parameter substitution. To insert a variable into " "a query string, use a placeholder in the string, and substitute the actual " "values into the query by providing them as a :class:`tuple` of values to the " -"second argument of the cursor's :meth:`~Cursor.execute` method. An SQL " -"statement may use one of two kinds of placeholders: question marks (qmark " -"style) or named placeholders (named style). For the qmark style, " -"``parameters`` must be a :term:`sequence `. For the named style, " -"it can be either a :term:`sequence ` or :class:`dict` instance. " -"The length of the :term:`sequence ` must match the number of " -"placeholders, or a :exc:`ProgrammingError` is raised. If a :class:`dict` is " -"given, it must contain keys for all named parameters. Any extra items are " -"ignored. Here's an example of both styles:" -msgstr "" - -#: library/sqlite3.rst:1869 +"second argument of the cursor's :meth:`~Cursor.execute` method." +msgstr "" + +#: library/sqlite3.rst:1828 +msgid "" +"An SQL statement may use one of two kinds of placeholders: question marks " +"(qmark style) or named placeholders (named style). For the qmark style, " +"*parameters* must be a :term:`sequence` whose length must match the number " +"of placeholders, or a :exc:`ProgrammingError` is raised. For the named " +"style, *parameters* should be an instance of a :class:`dict` (or a " +"subclass), which must contain keys for all named parameters; any extra items " +"are ignored. Here's an example of both styles:" +msgstr "" + +#: library/sqlite3.rst:1865 +msgid "" +":pep:`249` numeric placeholders are *not* supported. If used, they will be " +"interpreted as named placeholders." +msgstr "" + +#: library/sqlite3.rst:1872 msgid "How to adapt custom Python types to SQLite values" msgstr "" -#: library/sqlite3.rst:1871 +#: library/sqlite3.rst:1874 msgid "" "SQLite supports only a limited set of data types natively. To store custom " "Python types in SQLite databases, *adapt* them to one of the :ref:`Python " "types SQLite natively understands `." msgstr "" -#: library/sqlite3.rst:1875 +#: library/sqlite3.rst:1878 msgid "" "There are two ways to adapt Python objects to SQLite types: letting your " "object adapt itself, or using an *adapter callable*. The latter will take " @@ -1790,11 +1795,11 @@ msgid "" "custom adapter functions." msgstr "" -#: library/sqlite3.rst:1887 +#: library/sqlite3.rst:1890 msgid "How to write adaptable objects" msgstr "" -#: library/sqlite3.rst:1889 +#: library/sqlite3.rst:1892 msgid "" "Suppose we have a :class:`!Point` class that represents a pair of " "coordinates, ``x`` and ``y``, in a Cartesian coordinate system. The " @@ -1804,84 +1809,84 @@ msgid "" "object passed to *protocol* will be of type :class:`PrepareProtocol`." msgstr "" -#: library/sqlite3.rst:1920 +#: library/sqlite3.rst:1923 msgid "How to register adapter callables" msgstr "" -#: library/sqlite3.rst:1922 +#: library/sqlite3.rst:1925 msgid "" "The other possibility is to create a function that converts the Python " "object to an SQLite-compatible type. This function can then be registered " "using :func:`register_adapter`." msgstr "" -#: library/sqlite3.rst:1952 +#: library/sqlite3.rst:1955 msgid "How to convert SQLite values to custom Python types" msgstr "" -#: library/sqlite3.rst:1954 +#: library/sqlite3.rst:1957 msgid "" "Writing an adapter lets you convert *from* custom Python types *to* SQLite " "values. To be able to convert *from* SQLite values *to* custom Python types, " "we use *converters*." msgstr "" -#: library/sqlite3.rst:1959 +#: library/sqlite3.rst:1962 msgid "" "Let's go back to the :class:`!Point` class. We stored the x and y " "coordinates separated via semicolons as strings in SQLite." msgstr "" -#: library/sqlite3.rst:1962 +#: library/sqlite3.rst:1965 msgid "" "First, we'll define a converter function that accepts the string as a " "parameter and constructs a :class:`!Point` object from it." msgstr "" -#: library/sqlite3.rst:1967 +#: library/sqlite3.rst:1970 msgid "" "Converter functions are **always** passed a :class:`bytes` object, no matter " "the underlying SQLite data type." msgstr "" -#: library/sqlite3.rst:1976 +#: library/sqlite3.rst:1979 msgid "" "We now need to tell :mod:`!sqlite3` when it should convert a given SQLite " "value. This is done when connecting to a database, using the *detect_types* " "parameter of :func:`connect`. There are three options:" msgstr "" -#: library/sqlite3.rst:1980 +#: library/sqlite3.rst:1983 msgid "Implicit: set *detect_types* to :const:`PARSE_DECLTYPES`" msgstr "" -#: library/sqlite3.rst:1981 +#: library/sqlite3.rst:1984 msgid "Explicit: set *detect_types* to :const:`PARSE_COLNAMES`" msgstr "" -#: library/sqlite3.rst:1982 +#: library/sqlite3.rst:1985 msgid "" "Both: set *detect_types* to ``sqlite3.PARSE_DECLTYPES | sqlite3." "PARSE_COLNAMES``. Column names take precedence over declared types." msgstr "" -#: library/sqlite3.rst:1986 +#: library/sqlite3.rst:1989 msgid "The following example illustrates the implicit and explicit approaches:" msgstr "" -#: library/sqlite3.rst:2037 +#: library/sqlite3.rst:2040 msgid "Adapter and converter recipes" msgstr "" -#: library/sqlite3.rst:2039 +#: library/sqlite3.rst:2042 msgid "This section shows recipes for common adapters and converters." msgstr "" -#: library/sqlite3.rst:2101 +#: library/sqlite3.rst:2104 msgid "How to use connection shortcut methods" msgstr "" -#: library/sqlite3.rst:2103 +#: library/sqlite3.rst:2106 msgid "" "Using the :meth:`~Connection.execute`, :meth:`~Connection.executemany`, and :" "meth:`~Connection.executescript` methods of the :class:`Connection` class, " @@ -1893,11 +1898,11 @@ msgid "" "object." msgstr "" -#: library/sqlite3.rst:2144 +#: library/sqlite3.rst:2147 msgid "How to use the connection context manager" msgstr "" -#: library/sqlite3.rst:2146 +#: library/sqlite3.rst:2149 msgid "" "A :class:`Connection` object can be used as a context manager that " "automatically commits or rolls back open transactions when leaving the body " @@ -1907,58 +1912,58 @@ msgid "" "exception, the transaction is rolled back." msgstr "" -#: library/sqlite3.rst:2155 +#: library/sqlite3.rst:2158 msgid "" "If there is no open transaction upon leaving the body of the ``with`` " "statement, the context manager is a no-op." msgstr "" -#: library/sqlite3.rst:2160 +#: library/sqlite3.rst:2163 msgid "" "The context manager neither implicitly opens a new transaction nor closes " "the connection." msgstr "" -#: library/sqlite3.rst:2193 +#: library/sqlite3.rst:2196 msgid "How to work with SQLite URIs" msgstr "" -#: library/sqlite3.rst:2195 +#: library/sqlite3.rst:2198 msgid "Some useful URI tricks include:" msgstr "" -#: library/sqlite3.rst:2197 +#: library/sqlite3.rst:2200 msgid "Open a database in read-only mode:" msgstr "" -#: library/sqlite3.rst:2206 +#: library/sqlite3.rst:2209 msgid "" "Do not implicitly create a new database file if it does not already exist; " "will raise :exc:`~sqlite3.OperationalError` if unable to create a new file:" msgstr "" -#: library/sqlite3.rst:2216 +#: library/sqlite3.rst:2219 msgid "Create a shared named in-memory database:" msgstr "" -#: library/sqlite3.rst:2230 +#: library/sqlite3.rst:2233 msgid "" "More information about this feature, including a list of parameters, can be " "found in the `SQLite URI documentation`_." msgstr "" -#: library/sqlite3.rst:2239 +#: library/sqlite3.rst:2242 msgid "How to create and use row factories" msgstr "" -#: library/sqlite3.rst:2241 +#: library/sqlite3.rst:2244 msgid "" "By default, :mod:`!sqlite3` represents each row as a :class:`tuple`. If a :" "class:`!tuple` does not suit your needs, you can use the :class:`sqlite3." "Row` class or a custom :attr:`~Cursor.row_factory`." msgstr "" -#: library/sqlite3.rst:2246 +#: library/sqlite3.rst:2249 msgid "" "While :attr:`!row_factory` exists as an attribute both on the :class:" "`Cursor` and the :class:`Connection`, it is recommended to set :class:" @@ -1966,7 +1971,7 @@ msgid "" "use the same row factory." msgstr "" -#: library/sqlite3.rst:2251 +#: library/sqlite3.rst:2254 msgid "" ":class:`!Row` provides indexed and case-insensitive named access to columns, " "with minimal memory overhead and performance impact over a :class:`!tuple`. " @@ -1974,51 +1979,51 @@ msgid "" "attribute:" msgstr "" -#: library/sqlite3.rst:2261 +#: library/sqlite3.rst:2264 msgid "Queries now return :class:`!Row` objects:" msgstr "" -#: library/sqlite3.rst:2276 +#: library/sqlite3.rst:2279 msgid "" "You can create a custom :attr:`~Cursor.row_factory` that returns each row as " "a :class:`dict`, with column names mapped to values:" msgstr "" -#: library/sqlite3.rst:2285 +#: library/sqlite3.rst:2288 msgid "" "Using it, queries now return a :class:`!dict` instead of a :class:`!tuple`:" msgstr "" -#: library/sqlite3.rst:2295 +#: library/sqlite3.rst:2298 msgid "The following row factory returns a :term:`named tuple`:" msgstr "" -#: library/sqlite3.rst:2306 +#: library/sqlite3.rst:2309 msgid ":func:`!namedtuple_factory` can be used as follows:" msgstr "" -#: library/sqlite3.rst:2321 +#: library/sqlite3.rst:2324 msgid "" "With some adjustments, the above recipe can be adapted to use a :class:" "`~dataclasses.dataclass`, or any other custom class, instead of a :class:" "`~collections.namedtuple`." msgstr "" -#: library/sqlite3.rst:2329 +#: library/sqlite3.rst:2332 msgid "Explanation" msgstr "" -#: library/sqlite3.rst:2334 +#: library/sqlite3.rst:2337 msgid "Transaction control" msgstr "" -#: library/sqlite3.rst:2336 +#: library/sqlite3.rst:2339 msgid "" "The :mod:`!sqlite3` module does not adhere to the transaction handling " "recommended by :pep:`249`." msgstr "" -#: library/sqlite3.rst:2339 +#: library/sqlite3.rst:2342 msgid "" "If the connection attribute :attr:`~Connection.isolation_level` is not " "``None``, new transactions are implicitly opened before :meth:`~Cursor." @@ -2032,7 +2037,7 @@ msgid "" "attribute." msgstr "" -#: library/sqlite3.rst:2352 +#: library/sqlite3.rst:2355 msgid "" "If :attr:`~Connection.isolation_level` is set to ``None``, no transactions " "are implicitly opened at all. This leaves the underlying SQLite library in " @@ -2042,14 +2047,14 @@ msgid "" "in_transaction` attribute." msgstr "" -#: library/sqlite3.rst:2360 +#: library/sqlite3.rst:2363 msgid "" "The :meth:`~Cursor.executescript` method implicitly commits any pending " "transaction before execution of the given SQL script, regardless of the " "value of :attr:`~Connection.isolation_level`." msgstr "" -#: library/sqlite3.rst:2364 +#: library/sqlite3.rst:2367 msgid "" ":mod:`!sqlite3` used to implicitly commit an open transaction before DDL " "statements. This is no longer the case." diff --git a/library/ssl.po b/library/ssl.po index 231bfc24b..de3a77062 100644 --- a/library/ssl.po +++ b/library/ssl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "are not necessarily appropriate for your application." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -1205,8 +1205,8 @@ msgstr "" #: library/ssl.rst:1143 msgid "" "The :meth:`shutdown` does not reset the socket timeout each time bytes are " -"received or sent. The socket timeout is now to maximum total duration of the " -"shutdown." +"received or sent. The socket timeout is now the maximum total duration of " +"the shutdown." msgstr "" #: library/ssl.rst:1148 @@ -1254,8 +1254,8 @@ msgstr "" #: library/ssl.rst:1177 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration to read up to *len* " +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration to read up to *len* " "bytes." msgstr "" @@ -1283,8 +1283,8 @@ msgstr "" #: library/ssl.rst:1196 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration to write *buf*." +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration to write *buf*." msgstr "" #: library/ssl.rst:1200 @@ -1319,8 +1319,8 @@ msgstr "" #: library/ssl.rst:1224 msgid "" -"The socket timeout is no more reset each time bytes are received or sent. " -"The socket timeout is now to maximum total duration of the handshake." +"The socket timeout is no longer reset each time bytes are received or sent. " +"The socket timeout is now the maximum total duration of the handshake." msgstr "" #: library/ssl.rst:1228 @@ -1328,7 +1328,7 @@ msgid "" "Hostname or IP address is matched by OpenSSL during handshake. The function :" "func:`match_hostname` is no longer used. In case OpenSSL refuses a hostname " "or IP address, the handshake is aborted early and a TLS alert message is " -"send to the peer." +"sent to the peer." msgstr "" #: library/ssl.rst:1236 diff --git a/library/stdtypes.po b/library/stdtypes.po index 3cc92a91b..63758250b 100644 --- a/library/stdtypes.po +++ b/library/stdtypes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: 2022-08-15 20:14+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -135,8 +135,8 @@ msgstr "İşlem" msgid "Result" msgstr "Sonuç" -#: library/stdtypes.rst:275 library/stdtypes.rst:921 library/stdtypes.rst:2368 -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:275 library/stdtypes.rst:921 library/stdtypes.rst:2371 +#: library/stdtypes.rst:3589 msgid "Notes" msgstr "Notlar" @@ -148,8 +148,8 @@ msgstr "``x or y``" msgid "if *x* is false, then *y*, else *x*" msgstr "*x* yanlışsa, *y*, aksi halde *x*" -#: library/stdtypes.rst:285 library/stdtypes.rst:926 library/stdtypes.rst:2374 -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:285 library/stdtypes.rst:926 library/stdtypes.rst:2377 +#: library/stdtypes.rst:3595 msgid "\\(1)" msgstr "\\(1)" @@ -161,8 +161,8 @@ msgstr "``x and y``" msgid "if *x* is false, then *x*, else *y*" msgstr "*x* yanlışsa, *x*, aksi halde *y*" -#: library/stdtypes.rst:288 library/stdtypes.rst:1165 library/stdtypes.rst:2380 -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:288 library/stdtypes.rst:1165 library/stdtypes.rst:2383 +#: library/stdtypes.rst:3601 msgid "\\(2)" msgstr "\\(2)" @@ -174,14 +174,14 @@ msgstr "``not x``" msgid "if *x* is false, then ``True``, else ``False``" msgstr "*x* yanlışsa, ``True``, aksi halde ``False``" -#: library/stdtypes.rst:935 library/stdtypes.rst:2382 library/stdtypes.rst:2386 -#: library/stdtypes.rst:3597 library/stdtypes.rst:3601 -#: library/stdtypes.rst:3603 +#: library/stdtypes.rst:935 library/stdtypes.rst:2385 library/stdtypes.rst:2389 +#: library/stdtypes.rst:3603 library/stdtypes.rst:3607 +#: library/stdtypes.rst:3609 msgid "\\(3)" msgstr "\\(3)" -#: library/stdtypes.rst:319 library/stdtypes.rst:972 library/stdtypes.rst:2414 -#: library/stdtypes.rst:3633 +#: library/stdtypes.rst:319 library/stdtypes.rst:972 library/stdtypes.rst:2417 +#: library/stdtypes.rst:3639 msgid "Notes:" msgstr "Notlar:" @@ -232,8 +232,8 @@ msgstr "" msgid "This table summarizes the comparison operations:" msgstr "Bu tablo karşılaştırma operatörlerini özetlemektedir:" -#: library/stdtypes.rst:2345 library/stdtypes.rst:3560 -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:2348 library/stdtypes.rst:3566 +#: library/stdtypes.rst:3589 msgid "Meaning" msgstr "Anlamı" @@ -567,7 +567,7 @@ msgstr "" "gerçek kısmı *re*, sanal kısmı *im* olan bir karmaşık sayı. *im* varsayılan " "olarak sıfırdır." -#: library/stdtypes.rst:1158 library/stdtypes.rst:3620 +#: library/stdtypes.rst:1158 library/stdtypes.rst:3626 msgid "\\(6)" msgstr "\\(6)" @@ -603,8 +603,8 @@ msgstr "``pow(x, y)``" msgid "*x* to the power *y*" msgstr "*x* üzeri *y*" -#: library/stdtypes.rst:312 library/stdtypes.rst:1150 library/stdtypes.rst:2404 -#: library/stdtypes.rst:3616 library/stdtypes.rst:3623 +#: library/stdtypes.rst:312 library/stdtypes.rst:1150 library/stdtypes.rst:2407 +#: library/stdtypes.rst:3622 library/stdtypes.rst:3629 msgid "\\(5)" msgstr "\\(5)" @@ -773,8 +773,8 @@ msgstr "``x | y``" msgid "bitwise :dfn:`or` of *x* and *y*" msgstr "bit düzeyinde *x* :dfn:`or` *y*" -#: library/stdtypes.rst:419 library/stdtypes.rst:1171 library/stdtypes.rst:2394 -#: library/stdtypes.rst:3609 +#: library/stdtypes.rst:419 library/stdtypes.rst:1171 library/stdtypes.rst:2397 +#: library/stdtypes.rst:3615 msgid "\\(4)" msgstr "\\(4)" @@ -1520,7 +1520,7 @@ msgstr "" "*x* 'in *s* içindeki ilk görüldüğü dizini (*i* dizininde veya sonrasında ve " "*j* dizininden önce)" -#: library/stdtypes.rst:3591 +#: library/stdtypes.rst:3597 msgid "\\(8)" msgstr "\\(8)" @@ -2657,15 +2657,23 @@ msgid "" msgstr "" #: library/stdtypes.rst:1626 +msgid "Return the string encoded to :class:`bytes`." +msgstr "" + +#: library/stdtypes.rst:2763 msgid "" -"Return an encoded version of the string as a bytes object. Default encoding " -"is ``'utf-8'``. *errors* may be given to set a different error handling " -"scheme. The default for *errors* is ``'strict'``, meaning that encoding " -"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, " -"``'replace'``, ``'xmlcharrefreplace'``, ``'backslashreplace'`` and any other " -"name registered via :func:`codecs.register_error`, see section :ref:`error-" -"handlers`. For a list of possible encodings, see section :ref:`standard-" -"encodings`." +"*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for " +"possible values." +msgstr "" + +#: library/stdtypes.rst:1631 +#, fuzzy +msgid "" +"*errors* controls how encoding errors are handled. If ``'strict'`` (the " +"default), a :exc:`UnicodeError` exception is raised. Other possible values " +"are ``'ignore'``, ``'replace'``, ``'xmlcharrefreplace'``, " +"``'backslashreplace'`` and any other name registered via :func:`codecs." +"register_error`. See :ref:`error-handlers` for details." msgstr "" "Bir bayt nesnesi olarak dizenin kodlanmış bir sürümünü döndürün. Varsayılan " "kodlama ``'utf-8'`` şeklindedir. *hatalar*, farklı bir hata işleme şeması " @@ -2677,30 +2685,27 @@ msgstr "" "Olası kodlamaların listesi için section :ref:`standard-encodings` bölümüne " "bakın." -#: library/stdtypes.rst:1635 +#: library/stdtypes.rst:1638 msgid "" -"By default, the *errors* argument is not checked for best performances, but " -"only used at the first encoding error. Enable the :ref:`Python Development " -"Mode `, or use a :ref:`debug build ` to check *errors*." +"For performance reasons, the value of *errors* is not checked for validity " +"unless an encoding error actually occurs, :ref:`devmode` is enabled or a :" +"ref:`debug build ` is used." msgstr "" -"Varsayılan olarak, *error* argümanı en iyi performans için kontrol edilmez, " -"sadece ilk kodlama hatasında kullanılır. :ref:`Python Geliştirme Modu " -"` öğesini etkinleştirin veya *hataları* kontrol etmek için bir :ref:" -"`hata ayıklama derlemesi ` kullanın." -#: library/stdtypes.rst:1640 -msgid "Support for keyword arguments added." -msgstr "Anahtar kelime argümanları için destek eklendi." +#: library/stdtypes.rst:2782 +msgid "Added support for keyword arguments." +msgstr "" -#: library/stdtypes.rst:2779 +#: library/stdtypes.rst:2785 +#, fuzzy msgid "" -"The *errors* is now checked in development mode and in :ref:`debug mode " -"`." +"The value of the *errors* argument is now checked in :ref:`devmode` and in :" +"ref:`debug mode `." msgstr "" "*Hatalar* şimdi geliştirme modunda ve :ref:`hata ayıklama modunda ` kontrol edilir." -#: library/stdtypes.rst:1650 +#: library/stdtypes.rst:1653 msgid "" "Return ``True`` if the string ends with the specified *suffix*, otherwise " "return ``False``. *suffix* can also be a tuple of suffixes to look for. " @@ -2712,7 +2717,7 @@ msgstr "" "bağlı *start* ile, o konumdan başlayarak test edin. İsteğe bağlı *end* ile, " "o konumda karşılaştırmayı bırakın." -#: library/stdtypes.rst:1658 +#: library/stdtypes.rst:1661 msgid "" "Return a copy of the string where all tab characters are replaced by one or " "more spaces, depending on the current column and the given tab size. Tab " @@ -2739,7 +2744,7 @@ msgstr "" "karakter değiştirilmeden kopyalanır ve mevcut sütun, karakterin " "yazdırıldığında nasıl temsil edildiğine bakılmaksızın bir artırılır." -#: library/stdtypes.rst:1679 +#: library/stdtypes.rst:1682 msgid "" "Return the lowest index in the string where substring *sub* is found within " "the slice ``s[start:end]``. Optional arguments *start* and *end* are " @@ -2749,7 +2754,7 @@ msgstr "" "dizini döndür. İsteğe bağlı argümanlar *start* ve *end*, dilim notasyonunda " "olduğu gibi yorumlanır. *sub* bulunamazsa ``-1`` döndürür." -#: library/stdtypes.rst:1685 +#: library/stdtypes.rst:1688 msgid "" "The :meth:`~str.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 :" @@ -2759,7 +2764,7 @@ msgstr "" "gerekiyorsa kullanılmalıdır. *sub* 'ın bir alt dize olup olmadığını kontrol " "etmek için :keyword:`in` operatörünü kullanın::" -#: library/stdtypes.rst:1695 +#: library/stdtypes.rst:1698 msgid "" "Perform a string formatting operation. The string on which this method is " "called can contain literal text or replacement fields delimited by braces " @@ -2775,7 +2780,7 @@ msgstr "" "değiştirme alanının, karşılık gelen argümanın dize değeriyle değiştirildiği " "dizenin bir kopyasını döndürür." -#: library/stdtypes.rst:1705 +#: library/stdtypes.rst:1708 msgid "" "See :ref:`formatstrings` for a description of the various formatting options " "that can be specified in format strings." @@ -2783,7 +2788,7 @@ msgstr "" "Biçim dizelerinde (f string) belirtilebilecek çeşitli biçimlendirme " "seçeneklerinin açıklaması için bkz. :ref:`formatstrings`." -#: library/stdtypes.rst:1709 +#: library/stdtypes.rst:1712 #, fuzzy msgid "" "When formatting a number (:class:`int`, :class:`float`, :class:`complex`, :" @@ -2802,7 +2807,7 @@ msgstr "" "çözmek için, \"LC_CTYPE\" yerel ayarını geçici olarak ``LC_NUMERIC`` yerel " "ayarına atar. Bu geçici değişiklik diğer iş parçacıklarını da etkiler." -#: library/stdtypes.rst:1718 +#: library/stdtypes.rst:1721 msgid "" "When formatting a number with the ``n`` type, the function sets temporarily " "the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale in some cases." @@ -2811,7 +2816,7 @@ msgstr "" "``LC_CTYPE`` yerel ayarını geçici olarak ``LC_NUMERIC`` yerel ayarına " "ayarlar." -#: library/stdtypes.rst:1726 +#: library/stdtypes.rst:1729 msgid "" "Similar to ``str.format(**mapping)``, except that ``mapping`` is used " "directly and not copied to a :class:`dict`. This is useful if for example " @@ -2821,7 +2826,7 @@ msgstr "" "kullanılır ve bir :class:`dict` 'e kopyalanmaz. Örneğin, ``mapping`` bir " "dict alt sınıfı ise bu kullanışlıdır:" -#: library/stdtypes.rst:1742 +#: library/stdtypes.rst:1745 msgid "" "Like :meth:`~str.find`, but raise :exc:`ValueError` when the substring is " "not found." @@ -2829,7 +2834,7 @@ msgstr "" ":meth:`~str.find` gibi, ancak alt dize bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1748 +#: library/stdtypes.rst:1751 msgid "" "Return ``True`` if all characters in the string are alphanumeric and there " "is at least one character, ``False`` otherwise. A character ``c`` is " @@ -2841,7 +2846,7 @@ msgstr "" "``True`` döndürüyorsa alfasayısaldır: ``c.isalpha()``, ``c.isdecimal()``, " "``c.isdigit()`` veya ``c.isnumeric()``." -#: library/stdtypes.rst:1756 +#: library/stdtypes.rst:1759 msgid "" "Return ``True`` if all characters in the string are alphabetic and there is " "at least one character, ``False`` otherwise. Alphabetic characters are " @@ -2857,7 +2862,7 @@ msgstr "" "karakterlerdir. Bunun Unicode Standardında tanımlanan \"Alfabetik\" " "özelliğinden farklı olduğunu unutmayın." -#: library/stdtypes.rst:1765 +#: library/stdtypes.rst:1768 msgid "" "Return ``True`` if the string is empty or all characters in the string are " "ASCII, ``False`` otherwise. ASCII characters have code points in the range " @@ -2867,7 +2872,7 @@ msgstr "" "``False`` döndürür. ASCII karakterleri U+0000-U+007F aralığında kod " "noktalarına sahiptir." -#: library/stdtypes.rst:1774 +#: library/stdtypes.rst:1777 msgid "" "Return ``True`` if all characters in the string are decimal characters and " "there is at least one character, ``False`` otherwise. Decimal characters are " @@ -2881,7 +2886,7 @@ msgstr "" "ARAPÇA-HİNTÇE RAKAM SIFIR. Resmi olarak bir ondalık karakter Unicode Genel " "Kategorisi \"Nd\" içerisindeki bir karakterdir." -#: library/stdtypes.rst:1784 +#: library/stdtypes.rst:1787 msgid "" "Return ``True`` if all characters in the string are digits and there is at " "least one character, ``False`` otherwise. Digits include decimal characters " @@ -2897,7 +2902,7 @@ msgstr "" "rakamları kapsar. Resmi olarak rakam, Numeric_Type=Digit veya " "Numeric_Type=Decimal özellik değerine sahip bir karakterdir." -#: library/stdtypes.rst:1794 +#: library/stdtypes.rst:1797 msgid "" "Return ``True`` if the string is a valid identifier according to the " "language definition, section :ref:`identifiers`." @@ -2905,7 +2910,7 @@ msgstr "" ":ref:`identifiers` bölümüne göre dizge dil tanımına göre geçerli bir " "tanımlayıcı ise ``True`` döndürür." -#: library/stdtypes.rst:1797 +#: library/stdtypes.rst:1800 msgid "" "Call :func:`keyword.iskeyword` to test whether string ``s`` is a reserved " "identifier, such as :keyword:`def` and :keyword:`class`." @@ -2913,11 +2918,11 @@ msgstr "" ":func:`keyword.iskeyword` çağrısı yaparak ``s`` dizesinin :keyword:`def` ve :" "keyword:`class` gibi ayrılmış bir tanımlayıcı olup olmadığını test eder." -#: library/stdtypes.rst:1800 +#: library/stdtypes.rst:1803 msgid "Example: ::" msgstr "Örnek: ::" -#: library/stdtypes.rst:1813 +#: library/stdtypes.rst:1816 msgid "" "Return ``True`` if all cased characters [4]_ in the string are lowercase and " "there is at least one cased character, ``False`` otherwise." @@ -2925,7 +2930,7 @@ msgstr "" "Dizedeki tüm büyük harfli karakterler [4]_ küçük harfli ise ve en az bir " "büyük harfli karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1819 +#: library/stdtypes.rst:1822 msgid "" "Return ``True`` if all characters in the string are numeric characters, and " "there is at least one character, ``False`` otherwise. Numeric characters " @@ -2941,7 +2946,7 @@ msgstr "" "karakterler Numeric_Type=Digit, Numeric_Type=Decimal veya " "Numeric_Type=Numeric özellik değerine sahip karakterlerdir." -#: library/stdtypes.rst:1829 +#: library/stdtypes.rst:1832 msgid "" "Return ``True`` if all characters in the string are printable or the string " "is empty, ``False`` otherwise. Nonprintable characters are those characters " @@ -2960,7 +2965,7 @@ msgstr "" "data:`sys.stdout` veya :data:`sys.stderr` dosyalarına yazılan dizelerin " "işlenmesiyle bir ilgisi yoktur)" -#: library/stdtypes.rst:1840 +#: library/stdtypes.rst:1843 msgid "" "Return ``True`` if there are only whitespace characters in the string and " "there is at least one character, ``False`` otherwise." @@ -2968,7 +2973,7 @@ msgstr "" "Dizede yalnızca boşluk karakterleri varsa ve en az bir karakter varsa " "``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1843 +#: library/stdtypes.rst:1846 msgid "" "A character is *whitespace* if in the Unicode character database (see :mod:" "`unicodedata`), either its general category is ``Zs`` (\"Separator, " @@ -2978,7 +2983,7 @@ msgstr "" "sınıfı ``WS``, ``B`` veya ``S``’den biri ise Unicode karakter veritabanında " "(bkz. :mod:`unicodedata`) *beyaz boşluk karakteri*’dir." -#: library/stdtypes.rst:1851 +#: library/stdtypes.rst:1854 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 " @@ -2990,7 +2995,7 @@ msgstr "" "karakterleri ve küçük harfli karakterler sadece büyük harfli karakterleri " "takip edebilir. Aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1858 +#: library/stdtypes.rst:1861 msgid "" "Return ``True`` if all cased characters [4]_ in the string are uppercase and " "there is at least one cased character, ``False`` otherwise." @@ -2998,7 +3003,7 @@ msgstr "" "Dizedeki tüm karakterler [4]_ büyük harfli ise ve en az bir büyük harfli " "karakter varsa ``True``, aksi takdirde ``False`` döndürür." -#: library/stdtypes.rst:1876 +#: library/stdtypes.rst:1879 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 " @@ -3010,7 +3015,7 @@ msgstr "" "olmayan değerler varsa bir :exc:`TypeError` oluşacaktır. Öğeler arasındaki " "ayırıcı, bu yöntemi sağlayan dizedir." -#: library/stdtypes.rst:1884 +#: library/stdtypes.rst:1887 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 " @@ -3021,7 +3026,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1891 +#: library/stdtypes.rst:1894 msgid "" "Return a copy of the string with all the cased characters [4]_ converted to " "lowercase." @@ -3029,14 +3034,14 @@ msgstr "" "Dizenin tüm büyük harfli karakterlerini [4]_ küçük harfe dönüştürerek bir " "kopyasını döndürür." -#: library/stdtypes.rst:1894 +#: library/stdtypes.rst:1897 msgid "" "The lowercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf küçültme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:1900 +#: library/stdtypes.rst:1903 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 " @@ -3050,7 +3055,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:1910 +#: library/stdtypes.rst:1913 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::" @@ -3059,7 +3064,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:1921 +#: library/stdtypes.rst:1924 msgid "" "This static method returns a translation table usable for :meth:`str." "translate`." @@ -3067,7 +3072,7 @@ msgstr "" "Bu statik yöntem :meth:`str.translate` için kullanılabilecek bir çeviri " "tablosu döndürür." -#: library/stdtypes.rst:1923 +#: library/stdtypes.rst:1926 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, " @@ -3080,7 +3085,7 @@ msgstr "" "sözlük olmalıdır. Karakter anahtarları daha sonra sıradanlara " "dönüştürülecektir." -#: library/stdtypes.rst:1928 +#: library/stdtypes.rst:1931 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 " @@ -3092,7 +3097,7 @@ msgstr "" "eşlenecektir. Üçüncü bir bağımsız değişken varsa, karakterleri sonuçta " "``None`` ile eşlenecek bir dizge olmalıdır." -#: library/stdtypes.rst:1936 +#: library/stdtypes.rst:1939 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 " @@ -3104,7 +3109,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:1944 +#: library/stdtypes.rst:1947 msgid "" "If the string starts with the *prefix* string, return " "``string[len(prefix):]``. Otherwise, return a copy of the original string::" @@ -3112,7 +3117,7 @@ msgstr "" "Eğer dize *prefix* dizesi ile başlıyorsa, ``dize[len(prefix):]`` döndürür. " "Aksi takdirde, orijinal dizgenin bir kopyasını döndürür::" -#: library/stdtypes.rst:1958 +#: library/stdtypes.rst:1961 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 " @@ -3122,7 +3127,7 @@ msgstr "" "``dize[:-len(suffix)]`` döndürür. Aksi takdirde, orijinal dizenin bir " "kopyasını döndürür::" -#: library/stdtypes.rst:1972 +#: library/stdtypes.rst:1975 msgid "" "Return a copy of the string with all occurrences of substring *old* replaced " "by *new*. If the optional argument *count* is given, only the first *count* " @@ -3132,7 +3137,7 @@ msgstr "" "kopyasını döndürür. İsteğe bağlı olarak *count* bağımsız değişkeni " "verilirse, yalnızca ilk *count* oluşumu değiştirilir." -#: library/stdtypes.rst:1979 +#: library/stdtypes.rst:1982 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* " @@ -3143,7 +3148,7 @@ msgstr "" "*end* dilim gösterimindeki gibi yorumlanır. Başarısızlık durumunda ``-1`` " "döndürür." -#: library/stdtypes.rst:1986 +#: library/stdtypes.rst:1989 msgid "" "Like :meth:`rfind` but raises :exc:`ValueError` when the substring *sub* is " "not found." @@ -3151,7 +3156,7 @@ msgstr "" ":meth:`rfind` gibi, ancak *sub* alt dizesi bulunamadığında :exc:`ValueError` " "yükseltir." -#: library/stdtypes.rst:1992 +#: library/stdtypes.rst:1995 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 " @@ -3162,7 +3167,7 @@ msgstr "" "boşluğudur). *width*, ``len(s)`` değerinden küçük veya ona eşitse orijinal " "dize döndürülür." -#: library/stdtypes.rst:1999 +#: library/stdtypes.rst:2002 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 " @@ -3174,7 +3179,7 @@ msgstr "" "Ayırıcı bulunamazsa, dizenin kendisini ve ardından iki boş dizeyi içeren bir " "3'lü döndürür." -#: library/stdtypes.rst:2007 +#: library/stdtypes.rst:2010 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 " @@ -3188,7 +3193,7 @@ msgstr "" "herhangi bir boşluk dizesi ayırıcıdır. Sağdan bölme dışında, :meth:`rsplit` " "aşağıda ayrıntılı olarak açıklanan :meth:`split` gibi davranır." -#: library/stdtypes.rst:2016 +#: library/stdtypes.rst:2019 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 " @@ -3202,7 +3207,7 @@ msgstr "" "boşlukları kaldırır. *chars* bağımsız değişkeni bir ön ek değildir; bunun " "yerine, değerlerinin tüm kombinasyonları çıkarılır::" -#: library/stdtypes.rst:2026 +#: library/stdtypes.rst:2029 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::" @@ -3211,7 +3216,7 @@ msgstr "" "kaldıracak bir yöntem için :meth:`str.removeprefix` bölümüne bakın. " "Örneğin::" -#: library/stdtypes.rst:2036 +#: library/stdtypes.rst:2039 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, " @@ -3225,7 +3230,7 @@ msgstr "" "Eğer *maxsplit* belirtilmemişse veya ``-1`` ise, bölme sayısında bir " "sınırlama yoktur (tüm olası bölmeler yapılır)." -#: library/stdtypes.rst:2042 +#: library/stdtypes.rst:2045 msgid "" "If *sep* is given, consecutive delimiters are not grouped together and are " "deemed to delimit empty strings (for example, ``'1,,2'.split(',')`` returns " @@ -3239,15 +3244,15 @@ msgstr "" "(örneğin, ``'1<>2<>3'.split('<>')``, ``['1', '2', '3']`` döndürür). Boş bir " "dizeyi belirtilen bir ayırıcıyla bölmek ``['']`` döndürür." -#: library/stdtypes.rst:2064 library/stdtypes.rst:2184 -#: library/stdtypes.rst:3095 library/stdtypes.rst:3202 -#: library/stdtypes.rst:3243 library/stdtypes.rst:3285 -#: library/stdtypes.rst:3317 library/stdtypes.rst:3367 -#: library/stdtypes.rst:3436 library/stdtypes.rst:3460 +#: library/stdtypes.rst:2067 library/stdtypes.rst:2187 +#: library/stdtypes.rst:3101 library/stdtypes.rst:3208 +#: library/stdtypes.rst:3249 library/stdtypes.rst:3291 +#: library/stdtypes.rst:3323 library/stdtypes.rst:3373 +#: library/stdtypes.rst:3442 library/stdtypes.rst:3466 msgid "For example::" msgstr "Örneğin: ::" -#: library/stdtypes.rst:2057 +#: library/stdtypes.rst:2060 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, " @@ -3262,7 +3267,7 @@ msgstr "" "dizeler olmaz. Dolayısıyla, boş bir dizeyi veya sadece beyaz boşluktan " "oluşan bir dizeyi ``None`` ayırıcısıyla bölmek ``[]`` döndürür." -#: library/stdtypes.rst:2079 +#: library/stdtypes.rst:2082 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 " @@ -3272,7 +3277,7 @@ msgstr "" "Satır sonları için *keepends* belirtilmediği ve true değerinde olmadığı " "sürece, satır sonları sonuç listesine dahil edilmez." -#: library/stdtypes.rst:2083 +#: library/stdtypes.rst:2086 msgid "" "This method splits on the following line boundaries. In particular, the " "boundaries are a superset of :term:`universal newlines`." @@ -3280,107 +3285,107 @@ msgstr "" "Bu yöntem aşağıdaki satır sınırlarında bölme yapar. Spesifik olarak, " "sınırlar :term:`universal newlines` 'ın bir üst kümesidir." -#: library/stdtypes.rst:2087 +#: library/stdtypes.rst:2090 msgid "Representation" msgstr "Temsil" -#: library/stdtypes.rst:2087 +#: library/stdtypes.rst:2090 msgid "Description" msgstr "Açıklama" -#: library/stdtypes.rst:2089 +#: library/stdtypes.rst:2092 msgid "``\\n``" msgstr "``\\n``" -#: library/stdtypes.rst:2089 +#: library/stdtypes.rst:2092 msgid "Line Feed" msgstr "Satır Atlama" -#: library/stdtypes.rst:2091 +#: library/stdtypes.rst:2094 msgid "``\\r``" msgstr "``\\r``" -#: library/stdtypes.rst:2091 +#: library/stdtypes.rst:2094 msgid "Carriage Return" msgstr "Satır Başına Alma" -#: library/stdtypes.rst:2093 +#: library/stdtypes.rst:2096 msgid "``\\r\\n``" msgstr "``\\r\\n``" -#: library/stdtypes.rst:2093 +#: library/stdtypes.rst:2096 msgid "Carriage Return + Line Feed" msgstr "Satır Başına Alma + Satır Atlama" -#: library/stdtypes.rst:2095 +#: library/stdtypes.rst:2098 msgid "``\\v`` or ``\\x0b``" msgstr "``\\v`` or ``\\x0b``" -#: library/stdtypes.rst:2095 +#: library/stdtypes.rst:2098 msgid "Line Tabulation" msgstr "Satır Tablolama" -#: library/stdtypes.rst:2097 +#: library/stdtypes.rst:2100 msgid "``\\f`` or ``\\x0c``" msgstr "``\\f`` or ``\\x0c``" -#: library/stdtypes.rst:2097 +#: library/stdtypes.rst:2100 msgid "Form Feed" msgstr "Form Besleme" -#: library/stdtypes.rst:2099 +#: library/stdtypes.rst:2102 msgid "``\\x1c``" msgstr "``\\x1c``" -#: library/stdtypes.rst:2099 +#: library/stdtypes.rst:2102 msgid "File Separator" msgstr "Dosya Ayırıcı" -#: library/stdtypes.rst:2101 +#: library/stdtypes.rst:2104 msgid "``\\x1d``" msgstr "``\\x1d``" -#: library/stdtypes.rst:2101 +#: library/stdtypes.rst:2104 msgid "Group Separator" msgstr "Grup Ayırıcı" -#: library/stdtypes.rst:2103 +#: library/stdtypes.rst:2106 msgid "``\\x1e``" msgstr "``\\x1e``" -#: library/stdtypes.rst:2103 +#: library/stdtypes.rst:2106 msgid "Record Separator" msgstr "Kayıt Ayırıcı" -#: library/stdtypes.rst:2105 +#: library/stdtypes.rst:2108 msgid "``\\x85``" msgstr "``\\x85``" -#: library/stdtypes.rst:2105 +#: library/stdtypes.rst:2108 msgid "Next Line (C1 Control Code)" msgstr "Yeni Satır (C1 Denetim Kodu)" -#: library/stdtypes.rst:2107 +#: library/stdtypes.rst:2110 msgid "``\\u2028``" msgstr "``\\u2028``" -#: library/stdtypes.rst:2107 +#: library/stdtypes.rst:2110 msgid "Line Separator" msgstr "Satır Ayrıcı" -#: library/stdtypes.rst:2109 +#: library/stdtypes.rst:2112 msgid "``\\u2029``" msgstr "``\\u2029``" -#: library/stdtypes.rst:2109 +#: library/stdtypes.rst:2112 msgid "Paragraph Separator" msgstr "Paragraf Ayırıcı" -#: library/stdtypes.rst:2114 +#: library/stdtypes.rst:2117 msgid "``\\v`` and ``\\f`` added to list of line boundaries." msgstr "``\\v`` ve ``\\f`` satır sınırlarına eklenir." -#: library/stdtypes.rst:2123 +#: library/stdtypes.rst:2126 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 " @@ -3390,11 +3395,11 @@ msgstr "" "farklı olarak, bu yöntem boş dize için boş bir liste döndürür ve bir " "terminal satır sonu fazladan bir satır ile sonuçlanmaz::" -#: library/stdtypes.rst:2132 +#: library/stdtypes.rst:2135 msgid "For comparison, ``split('\\n')`` gives::" msgstr "Kıyaslayacak olursak ``split(‘\\n’)`` şu değeri verir::" -#: library/stdtypes.rst:2142 +#: library/stdtypes.rst:2145 msgid "" "Return ``True`` if string starts with the *prefix*, otherwise return " "``False``. *prefix* can also be a tuple of prefixes to look for. With " @@ -3406,7 +3411,7 @@ msgstr "" "İsteğe bağlı *start* ile, o konumdan başlayan dizeyi sınar. İsteğe bağlı " "*end* ile, dizeyi o konumda karşılaştırmayı durdurur." -#: library/stdtypes.rst:2150 +#: library/stdtypes.rst:2153 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 " @@ -3421,7 +3426,7 @@ msgstr "" "veya son ek değildir; bunun yerine, değerlerinin tüm kombinasyonları " "çıkarılır::" -#: library/stdtypes.rst:2161 +#: library/stdtypes.rst:2164 msgid "" "The outermost leading and trailing *chars* argument values are stripped from " "the string. Characters are removed from the leading end until reaching a " @@ -3433,7 +3438,7 @@ msgstr "" "karakterine ulaşılana kadar önde gelen uçtan çıkarılır. Benzer bir işlem son " "uçta da gerçekleşir. Örneğin::" -#: library/stdtypes.rst:2174 +#: library/stdtypes.rst:2177 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()." @@ -3443,7 +3448,7 @@ msgstr "" "dizenin bir kopyasını döndürür. ``s.swapcase().swapcase() == s`` ifadesinin " "mutlaka doğru olması gerekmediğine dikkat edin." -#: library/stdtypes.rst:2181 +#: library/stdtypes.rst:2184 msgid "" "Return a titlecased version of the string where words start with an " "uppercase character and the remaining characters are lowercase." @@ -3451,7 +3456,7 @@ msgstr "" "Sözcüklerin büyük harfle başladığı ve kalan karakterlerin küçük harf olduğu " "dizenin başlıklandırılmış bir sürümünü döndürür." -#: library/stdtypes.rst:3404 +#: library/stdtypes.rst:3410 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 " @@ -3463,13 +3468,13 @@ msgstr "" "kısaltmalar ve iyeliklerdeki kesme işaretlerinin kelime sınırları " "oluşturduğu anlamına gelir ve bu istenen sonuç olmayabilir::" -#: library/stdtypes.rst:2197 +#: library/stdtypes.rst:2200 msgid "" "The :func:`string.capwords` function does not have this problem, as it " "splits words on spaces only." msgstr "" -#: library/stdtypes.rst:2200 +#: library/stdtypes.rst:2203 #, fuzzy msgid "" "Alternatively, a workaround for apostrophes can be constructed using regular " @@ -3478,7 +3483,7 @@ msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:2215 +#: library/stdtypes.rst:2218 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 " @@ -3499,19 +3504,19 @@ msgstr "" "veya karakteri kendisiyle eşlemek için bir :exc:`LookupError` istisnası " "oluşturmak." -#: library/stdtypes.rst:2224 +#: library/stdtypes.rst:2227 msgid "" "You can use :meth:`str.maketrans` to create a translation map from character-" "to-character mappings in different formats." msgstr "" -#: library/stdtypes.rst:2227 +#: library/stdtypes.rst:2230 msgid "" "See also the :mod:`codecs` module for a more flexible approach to custom " "character mappings." msgstr "" -#: library/stdtypes.rst:2233 +#: library/stdtypes.rst:2236 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`` " @@ -3520,14 +3525,14 @@ msgid "" "titlecase)." msgstr "" -#: library/stdtypes.rst:2239 +#: library/stdtypes.rst:2242 msgid "" "The uppercasing algorithm used is described in section 3.13 of the Unicode " "Standard." msgstr "" "Harf büyütme algoritması, Unicode Standardının 3.13 bölümünde açıklanmıştır." -#: library/stdtypes.rst:2245 +#: library/stdtypes.rst:2248 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 " @@ -3535,11 +3540,11 @@ msgid "" "original string is returned if *width* is less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2263 +#: library/stdtypes.rst:2266 msgid "``printf``-style String Formatting" msgstr "" -#: library/stdtypes.rst:2276 +#: library/stdtypes.rst:2279 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 " @@ -3550,7 +3555,7 @@ msgid "" "or extensibility." msgstr "" -#: library/stdtypes.rst:2284 +#: library/stdtypes.rst:2287 msgid "" "String objects have one unique built-in operation: the ``%`` operator " "(modulo). This is also known as the string *formatting* or *interpolation* " @@ -3560,7 +3565,7 @@ msgid "" "in the C language." msgstr "" -#: library/stdtypes.rst:2290 +#: library/stdtypes.rst:2293 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 " @@ -3568,36 +3573,36 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3515 +#: library/stdtypes.rst:3521 msgid "" "A conversion specifier contains two or more characters and has the following " "components, which must occur in this order:" msgstr "" -#: library/stdtypes.rst:3518 +#: library/stdtypes.rst:3524 msgid "The ``'%'`` character, which marks the start of the specifier." msgstr "" -#: library/stdtypes.rst:3520 +#: library/stdtypes.rst:3526 msgid "" "Mapping key (optional), consisting of a parenthesised sequence of characters " "(for example, ``(somename)``)." msgstr "" -#: library/stdtypes.rst:3523 +#: library/stdtypes.rst:3529 msgid "" "Conversion flags (optional), which affect the result of some conversion " "types." msgstr "" -#: library/stdtypes.rst:3526 +#: library/stdtypes.rst:3532 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 " "object to convert comes after the minimum field width and optional precision." msgstr "" -#: library/stdtypes.rst:3530 +#: library/stdtypes.rst:3536 msgid "" "Precision (optional), given as a ``'.'`` (dot) followed by the precision. " "If specified as ``'*'`` (an asterisk), the actual precision is read from the " @@ -3605,15 +3610,15 @@ msgid "" "the precision." msgstr "" -#: library/stdtypes.rst:3535 +#: library/stdtypes.rst:3541 msgid "Length modifier (optional)." msgstr "" -#: library/stdtypes.rst:3537 +#: library/stdtypes.rst:3543 msgid "Conversion type." msgstr "" -#: library/stdtypes.rst:2324 +#: library/stdtypes.rst:2327 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 " @@ -3621,277 +3626,277 @@ msgid "" "selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3548 +#: library/stdtypes.rst:3554 msgid "" "In this case no ``*`` specifiers may occur in a format (since they require a " "sequential parameter list)." msgstr "" -#: library/stdtypes.rst:3551 +#: library/stdtypes.rst:3557 msgid "The conversion flag characters are:" msgstr "" -#: library/stdtypes.rst:3560 +#: library/stdtypes.rst:3566 msgid "Flag" msgstr "" -#: library/stdtypes.rst:3562 +#: library/stdtypes.rst:3568 msgid "``'#'``" msgstr "" -#: library/stdtypes.rst:3562 +#: library/stdtypes.rst:3568 msgid "" "The value conversion will use the \"alternate form\" (where defined below)." msgstr "" -#: library/stdtypes.rst:3565 +#: library/stdtypes.rst:3571 msgid "``'0'``" msgstr "" -#: library/stdtypes.rst:3565 +#: library/stdtypes.rst:3571 msgid "The conversion will be zero padded for numeric values." msgstr "" -#: library/stdtypes.rst:3567 +#: library/stdtypes.rst:3573 msgid "``'-'``" msgstr "" -#: library/stdtypes.rst:3567 +#: library/stdtypes.rst:3573 msgid "" "The converted value is left adjusted (overrides the ``'0'`` conversion if " "both are given)." msgstr "" -#: library/stdtypes.rst:3570 +#: library/stdtypes.rst:3576 msgid "``' '``" msgstr "" -#: library/stdtypes.rst:3570 +#: library/stdtypes.rst:3576 msgid "" "(a space) A blank should be left before a positive number (or empty string) " "produced by a signed conversion." msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3579 msgid "``'+'``" msgstr "" -#: library/stdtypes.rst:3573 +#: library/stdtypes.rst:3579 msgid "" "A sign character (``'+'`` or ``'-'``) will precede the conversion (overrides " "a \"space\" flag)." msgstr "" -#: library/stdtypes.rst:3577 +#: library/stdtypes.rst:3583 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``." msgstr "" -#: library/stdtypes.rst:3580 +#: library/stdtypes.rst:3586 msgid "The conversion types are:" msgstr "" -#: library/stdtypes.rst:3583 +#: library/stdtypes.rst:3589 msgid "Conversion" msgstr "" -#: library/stdtypes.rst:3585 +#: library/stdtypes.rst:3591 msgid "``'d'``" msgstr "" -#: library/stdtypes.rst:2372 library/stdtypes.rst:3587 +#: library/stdtypes.rst:2375 library/stdtypes.rst:3593 msgid "Signed integer decimal." msgstr "" -#: library/stdtypes.rst:3587 +#: library/stdtypes.rst:3593 msgid "``'i'``" msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3595 msgid "``'o'``" msgstr "" -#: library/stdtypes.rst:3589 +#: library/stdtypes.rst:3595 msgid "Signed octal value." msgstr "" -#: library/stdtypes.rst:3591 +#: library/stdtypes.rst:3597 msgid "``'u'``" msgstr "" -#: library/stdtypes.rst:3591 +#: library/stdtypes.rst:3597 msgid "Obsolete type -- it is identical to ``'d'``." msgstr "" -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:3599 msgid "``'x'``" msgstr "" -#: library/stdtypes.rst:3593 +#: library/stdtypes.rst:3599 msgid "Signed hexadecimal (lowercase)." msgstr "" -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:3601 msgid "``'X'``" msgstr "" -#: library/stdtypes.rst:3595 +#: library/stdtypes.rst:3601 msgid "Signed hexadecimal (uppercase)." msgstr "" -#: library/stdtypes.rst:3597 +#: library/stdtypes.rst:3603 msgid "``'e'``" msgstr "" -#: library/stdtypes.rst:3597 +#: library/stdtypes.rst:3603 msgid "Floating point exponential format (lowercase)." msgstr "" -#: library/stdtypes.rst:3599 +#: library/stdtypes.rst:3605 msgid "``'E'``" msgstr "" -#: library/stdtypes.rst:3599 +#: library/stdtypes.rst:3605 msgid "Floating point exponential format (uppercase)." msgstr "" -#: library/stdtypes.rst:3601 +#: library/stdtypes.rst:3607 msgid "``'f'``" msgstr "" -#: library/stdtypes.rst:2388 library/stdtypes.rst:3603 +#: library/stdtypes.rst:2391 library/stdtypes.rst:3609 msgid "Floating point decimal format." msgstr "" -#: library/stdtypes.rst:3603 +#: library/stdtypes.rst:3609 msgid "``'F'``" msgstr "" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3611 msgid "``'g'``" msgstr "" -#: library/stdtypes.rst:3605 +#: library/stdtypes.rst:3611 msgid "" "Floating point format. Uses lowercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3609 +#: library/stdtypes.rst:3615 msgid "``'G'``" msgstr "" -#: library/stdtypes.rst:3609 +#: library/stdtypes.rst:3615 msgid "" "Floating point format. Uses uppercase exponential format if exponent is less " "than -4 or not less than precision, decimal format otherwise." msgstr "" -#: library/stdtypes.rst:3613 +#: library/stdtypes.rst:3619 msgid "``'c'``" msgstr "" -#: library/stdtypes.rst:2398 +#: library/stdtypes.rst:2401 msgid "Single character (accepts integer or single character string)." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3632 msgid "``'r'``" msgstr "" -#: library/stdtypes.rst:2401 +#: library/stdtypes.rst:2404 msgid "String (converts any Python object using :func:`repr`)." msgstr "" -#: library/stdtypes.rst:3620 +#: library/stdtypes.rst:3626 msgid "``'s'``" msgstr "" -#: library/stdtypes.rst:2404 +#: library/stdtypes.rst:2407 msgid "String (converts any Python object using :func:`str`)." msgstr "" -#: library/stdtypes.rst:3623 +#: library/stdtypes.rst:3629 msgid "``'a'``" msgstr "" -#: library/stdtypes.rst:2407 +#: library/stdtypes.rst:2410 msgid "String (converts any Python object using :func:`ascii`)." msgstr "" -#: library/stdtypes.rst:3629 +#: library/stdtypes.rst:3635 msgid "``'%'``" msgstr "" -#: library/stdtypes.rst:3629 +#: library/stdtypes.rst:3635 msgid "No argument is converted, results in a ``'%'`` character in the result." msgstr "" -#: library/stdtypes.rst:3636 +#: library/stdtypes.rst:3642 msgid "" "The alternate form causes a leading octal specifier (``'0o'``) to be " "inserted before the first digit." msgstr "" -#: library/stdtypes.rst:3640 +#: library/stdtypes.rst:3646 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 " "first digit." msgstr "" -#: library/stdtypes.rst:3644 +#: library/stdtypes.rst:3650 msgid "" "The alternate form causes the result to always contain a decimal point, even " "if no digits follow it." msgstr "" -#: library/stdtypes.rst:3647 +#: library/stdtypes.rst:3653 msgid "" "The precision determines the number of digits after the decimal point and " "defaults to 6." msgstr "" -#: library/stdtypes.rst:3651 +#: library/stdtypes.rst:3657 msgid "" "The alternate form causes the result to always contain a decimal point, and " "trailing zeroes are not removed as they would otherwise be." msgstr "" -#: library/stdtypes.rst:3654 +#: library/stdtypes.rst:3660 msgid "" "The precision determines the number of significant digits before and after " "the decimal point and defaults to 6." msgstr "" -#: library/stdtypes.rst:3658 +#: library/stdtypes.rst:3664 msgid "If precision is ``N``, the output is truncated to ``N`` characters." msgstr "" -#: library/stdtypes.rst:3667 +#: library/stdtypes.rst:3673 msgid "See :pep:`237`." msgstr "" -#: library/stdtypes.rst:2444 +#: library/stdtypes.rst:2447 msgid "" "Since Python strings have an explicit length, ``%s`` conversions do not " "assume that ``'\\0'`` is the end of the string." msgstr "" -#: library/stdtypes.rst:2449 +#: library/stdtypes.rst:2452 msgid "" "``%f`` conversions for numbers whose absolute value is over 1e50 are no " "longer replaced by ``%g`` conversions." msgstr "" -#: library/stdtypes.rst:2460 +#: library/stdtypes.rst:2463 msgid "" "Binary Sequence Types --- :class:`bytes`, :class:`bytearray`, :class:" "`memoryview`" msgstr "" -#: library/stdtypes.rst:2468 +#: library/stdtypes.rst:2471 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 :" @@ -3899,17 +3904,17 @@ msgid "" "objects without needing to make a copy." msgstr "" -#: library/stdtypes.rst:2473 +#: library/stdtypes.rst:2476 msgid "" "The :mod:`array` module supports efficient storage of basic data types like " "32-bit integers and IEEE754 double-precision floating values." msgstr "" -#: library/stdtypes.rst:2479 +#: library/stdtypes.rst:2482 msgid "Bytes Objects" msgstr "" -#: library/stdtypes.rst:2483 +#: library/stdtypes.rst:2486 msgid "" "Bytes objects are immutable sequences of single bytes. Since many major " "binary protocols are based on the ASCII text encoding, bytes objects offer " @@ -3917,41 +3922,41 @@ msgid "" "and are closely related to string objects in a variety of other ways." msgstr "" -#: library/stdtypes.rst:2490 +#: library/stdtypes.rst:2493 msgid "" "Firstly, the syntax for bytes literals is largely the same as that for " "string literals, except that a ``b`` prefix is added:" msgstr "" -#: library/stdtypes.rst:2493 +#: library/stdtypes.rst:2496 msgid "Single quotes: ``b'still allows embedded \"double\" quotes'``" msgstr "" -#: library/stdtypes.rst:2494 +#: library/stdtypes.rst:2497 #, fuzzy msgid "Double quotes: ``b\"still allows embedded 'single' quotes\"``" msgstr "Çift tırnak: ``\"katıştırılmış 'tek' tırnaklara izin verir\"``." -#: library/stdtypes.rst:2495 +#: library/stdtypes.rst:2498 msgid "" "Triple quoted: ``b'''3 single quotes'''``, ``b\"\"\"3 double quotes\"\"\"``" msgstr "" -#: library/stdtypes.rst:2497 +#: library/stdtypes.rst:2500 msgid "" "Only ASCII characters are permitted in bytes literals (regardless of the " "declared source code encoding). Any binary values over 127 must be entered " "into bytes literals using the appropriate escape sequence." msgstr "" -#: library/stdtypes.rst:2501 +#: library/stdtypes.rst:2504 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 " "the various forms of bytes literal, including supported escape sequences." msgstr "" -#: library/stdtypes.rst:2505 +#: library/stdtypes.rst:2508 msgid "" "While bytes literals and representations are based on ASCII text, bytes " "objects actually behave like immutable sequences of integers, with each " @@ -3964,29 +3969,29 @@ msgid "" "compatible will usually lead to data corruption)." msgstr "" -#: library/stdtypes.rst:2515 +#: library/stdtypes.rst:2518 msgid "" "In addition to the literal forms, bytes objects can be created in a number " "of other ways:" msgstr "" -#: library/stdtypes.rst:2518 +#: library/stdtypes.rst:2521 msgid "A zero-filled bytes object of a specified length: ``bytes(10)``" msgstr "" -#: library/stdtypes.rst:2519 +#: library/stdtypes.rst:2522 msgid "From an iterable of integers: ``bytes(range(20))``" msgstr "" -#: library/stdtypes.rst:2520 +#: library/stdtypes.rst:2523 msgid "Copying existing binary data via the buffer protocol: ``bytes(obj)``" msgstr "" -#: library/stdtypes.rst:2522 +#: library/stdtypes.rst:2525 msgid "Also see the :ref:`bytes ` built-in." msgstr "" -#: library/stdtypes.rst:2524 +#: library/stdtypes.rst:2527 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -3994,32 +3999,32 @@ msgid "" "that format:" msgstr "" -#: library/stdtypes.rst:2530 +#: library/stdtypes.rst:2533 msgid "" "This :class:`bytes` class method returns a bytes object, decoding the given " "string object. The string must contain two hexadecimal digits per byte, " "with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2537 +#: library/stdtypes.rst:2540 msgid "" ":meth:`bytes.fromhex` now skips all ASCII whitespace in the string, not just " "spaces." msgstr "" -#: library/stdtypes.rst:2541 +#: library/stdtypes.rst:2544 msgid "" "A reverse conversion function exists to transform a bytes object into its " "hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2631 +#: library/stdtypes.rst:2634 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the instance." msgstr "" -#: library/stdtypes.rst:2552 +#: library/stdtypes.rst:2555 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, " @@ -4028,13 +4033,13 @@ msgid "" "the separator position from the right, negative values from the left." msgstr "" -#: library/stdtypes.rst:2569 +#: library/stdtypes.rst:2572 msgid "" ":meth:`bytes.hex` now supports optional *sep* and *bytes_per_sep* parameters " "to insert separators between bytes in the hex output." msgstr "" -#: library/stdtypes.rst:2573 +#: library/stdtypes.rst:2576 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 " @@ -4042,58 +4047,58 @@ msgid "" "and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2578 +#: library/stdtypes.rst:2581 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 " "always convert a bytes object into a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2586 +#: library/stdtypes.rst:2589 msgid "Bytearray Objects" msgstr "" -#: library/stdtypes.rst:2590 +#: library/stdtypes.rst:2593 msgid "" ":class:`bytearray` objects are a mutable counterpart to :class:`bytes` " "objects." msgstr "" -#: library/stdtypes.rst:2595 +#: library/stdtypes.rst:2598 msgid "" "There is no dedicated literal syntax for bytearray objects, instead they are " "always created by calling the constructor:" msgstr "" -#: library/stdtypes.rst:2598 +#: library/stdtypes.rst:2601 msgid "Creating an empty instance: ``bytearray()``" msgstr "" -#: library/stdtypes.rst:2599 +#: library/stdtypes.rst:2602 msgid "Creating a zero-filled instance with a given length: ``bytearray(10)``" msgstr "" -#: library/stdtypes.rst:2600 +#: library/stdtypes.rst:2603 msgid "From an iterable of integers: ``bytearray(range(20))``" msgstr "" -#: library/stdtypes.rst:2601 +#: library/stdtypes.rst:2604 msgid "" "Copying existing binary data via the buffer protocol: ``bytearray(b'Hi!')``" msgstr "" -#: library/stdtypes.rst:2603 +#: library/stdtypes.rst:2606 msgid "" "As bytearray objects are mutable, they support the :ref:`mutable ` sequence operations in addition to the common bytes and bytearray " "operations described in :ref:`bytes-methods`." msgstr "" -#: library/stdtypes.rst:2607 +#: library/stdtypes.rst:2610 msgid "Also see the :ref:`bytearray ` built-in." msgstr "" -#: library/stdtypes.rst:2609 +#: library/stdtypes.rst:2612 msgid "" "Since 2 hexadecimal digits correspond precisely to a single byte, " "hexadecimal numbers are a commonly used format for describing binary data. " @@ -4101,33 +4106,33 @@ msgid "" "in that format:" msgstr "" -#: library/stdtypes.rst:2615 +#: library/stdtypes.rst:2618 msgid "" "This :class:`bytearray` class method returns bytearray object, decoding the " "given string object. The string must contain two hexadecimal digits per " "byte, with ASCII whitespace being ignored." msgstr "" -#: library/stdtypes.rst:2622 +#: library/stdtypes.rst:2625 msgid "" ":meth:`bytearray.fromhex` now skips all ASCII whitespace in the string, not " "just spaces." msgstr "" -#: library/stdtypes.rst:2626 +#: library/stdtypes.rst:2629 msgid "" "A reverse conversion function exists to transform a bytearray object into " "its hexadecimal representation." msgstr "" -#: library/stdtypes.rst:2639 +#: library/stdtypes.rst:2642 msgid "" "Similar to :meth:`bytes.hex`, :meth:`bytearray.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:2644 +#: library/stdtypes.rst:2647 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 " @@ -4135,7 +4140,7 @@ msgid "" "both indexing and slicing will produce a string of length 1)" msgstr "" -#: library/stdtypes.rst:2649 +#: library/stdtypes.rst:2652 msgid "" "The representation of bytearray objects uses the bytes literal format " "(``bytearray(b'...')``) since it is often more useful than e.g. " @@ -4143,11 +4148,11 @@ msgid "" "a list of integers using ``list(b)``." msgstr "" -#: library/stdtypes.rst:2658 +#: library/stdtypes.rst:2661 msgid "Bytes and Bytearray Operations" msgstr "" -#: library/stdtypes.rst:2663 +#: library/stdtypes.rst:2666 msgid "" "Both bytes and bytearray objects support the :ref:`common ` " "sequence operations. They interoperate not just with operands of the same " @@ -4156,123 +4161,120 @@ msgid "" "return type of the result may depend on the order of operands." msgstr "" -#: library/stdtypes.rst:2671 +#: library/stdtypes.rst:2674 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 " "arguments. For example, you have to write::" msgstr "" -#: library/stdtypes.rst:2678 +#: library/stdtypes.rst:2681 msgid "and::" msgstr "" -#: library/stdtypes.rst:2683 +#: library/stdtypes.rst:2686 msgid "" "Some bytes and bytearray operations assume the use of ASCII compatible " "binary formats, and hence should be avoided when working with arbitrary " "binary data. These restrictions are covered below." msgstr "" -#: library/stdtypes.rst:2688 +#: library/stdtypes.rst:2691 msgid "" "Using these ASCII based operations to manipulate binary data that is not " "stored in an ASCII based format may lead to data corruption." msgstr "" -#: library/stdtypes.rst:2691 +#: library/stdtypes.rst:2694 msgid "" "The following methods on bytes and bytearray objects can be used with " "arbitrary binary data." msgstr "" -#: library/stdtypes.rst:2697 +#: library/stdtypes.rst:2700 msgid "" "Return the number of non-overlapping occurrences of subsequence *sub* in the " "range [*start*, *end*]. Optional arguments *start* and *end* are " "interpreted as in slice notation." msgstr "" -#: library/stdtypes.rst:2803 library/stdtypes.rst:2891 -#: library/stdtypes.rst:2904 +#: library/stdtypes.rst:2809 library/stdtypes.rst:2897 +#: library/stdtypes.rst:2910 msgid "" "The subsequence to search for may be any :term:`bytes-like object` or an " "integer in the range 0 to 255." msgstr "" -#: library/stdtypes.rst:2704 +#: library/stdtypes.rst:2707 msgid "" "If *sub* is empty, returns the number of empty slices between characters " "which is the length of the bytes object plus one." msgstr "" -#: library/stdtypes.rst:2815 library/stdtypes.rst:2894 -#: library/stdtypes.rst:2907 +#: library/stdtypes.rst:2821 library/stdtypes.rst:2900 +#: library/stdtypes.rst:2913 msgid "Also accept an integer in the range 0 to 255 as the subsequence." msgstr "" -#: library/stdtypes.rst:2714 +#: library/stdtypes.rst:2717 msgid "" "If the binary data starts with the *prefix* string, return " "``bytes[len(prefix):]``. Otherwise, return a copy of the original binary " "data::" msgstr "" -#: library/stdtypes.rst:2723 +#: library/stdtypes.rst:2726 msgid "The *prefix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2749 library/stdtypes.rst:2972 -#: library/stdtypes.rst:3017 library/stdtypes.rst:3073 -#: library/stdtypes.rst:3161 library/stdtypes.rst:3328 -#: library/stdtypes.rst:3426 library/stdtypes.rst:3469 -#: library/stdtypes.rst:3671 +#: library/stdtypes.rst:2752 library/stdtypes.rst:2978 +#: library/stdtypes.rst:3023 library/stdtypes.rst:3079 +#: library/stdtypes.rst:3167 library/stdtypes.rst:3334 +#: library/stdtypes.rst:3432 library/stdtypes.rst:3475 +#: library/stdtypes.rst:3677 msgid "" "The bytearray version of this method does *not* operate in place - it always " "produces a new object, even if no changes were made." msgstr "" -#: library/stdtypes.rst:2736 +#: library/stdtypes.rst:2739 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 " "original binary data::" msgstr "" -#: library/stdtypes.rst:2745 +#: library/stdtypes.rst:2748 msgid "The *suffix* may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2758 -msgid "" -"Return a string decoded from the given bytes. Default encoding is " -"``'utf-8'``. *errors* may be given to set a different error handling " -"scheme. The default for *errors* is ``'strict'``, meaning that encoding " -"errors raise a :exc:`UnicodeError`. Other possible values are ``'ignore'``, " -"``'replace'`` and any other name registered via :func:`codecs." -"register_error`, see section :ref:`error-handlers`. For a list of possible " -"encodings, see section :ref:`standard-encodings`." +#: library/stdtypes.rst:2761 +msgid "Return the bytes decoded to a :class:`str`." msgstr "" #: library/stdtypes.rst:2766 msgid "" -"By default, the *errors* argument is not checked for best performances, but " -"only used at the first decoding error. Enable the :ref:`Python Development " -"Mode `, or use a :ref:`debug build ` to check *errors*." +"*errors* controls how decoding errors are handled. If ``'strict'`` (the " +"default), a :exc:`UnicodeError` exception is raised. Other possible values " +"are ``'ignore'``, ``'replace'``, and any other name registered via :func:" +"`codecs.register_error`. See :ref:`error-handlers` for details." msgstr "" #: library/stdtypes.rst:2772 msgid "" -"Passing the *encoding* argument to :class:`str` allows decoding any :term:" -"`bytes-like object` directly, without needing to make a temporary bytes or " -"bytearray object." +"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:" +"`debug build ` is used." msgstr "" -#: library/stdtypes.rst:2776 -msgid "Added support for keyword arguments." +#: library/stdtypes.rst:2778 +msgid "" +"Passing the *encoding* argument to :class:`str` allows decoding any :term:" +"`bytes-like object` directly, without needing to make a temporary :class:`!" +"bytes` or :class:`!bytearray` object." msgstr "" -#: library/stdtypes.rst:2787 +#: library/stdtypes.rst:2793 msgid "" "Return ``True`` if the binary data ends with the specified *suffix*, " "otherwise return ``False``. *suffix* can also be a tuple of suffixes to " @@ -4280,11 +4282,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2792 +#: library/stdtypes.rst:2798 msgid "The suffix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2798 +#: library/stdtypes.rst:2804 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 " @@ -4292,20 +4294,20 @@ msgid "" "``-1`` if *sub* is not found." msgstr "" -#: library/stdtypes.rst:2808 +#: library/stdtypes.rst:2814 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 :" "keyword:`in` operator::" msgstr "" -#: library/stdtypes.rst:2822 +#: library/stdtypes.rst:2828 msgid "" "Like :meth:`~bytes.find`, but raise :exc:`ValueError` when the subsequence " "is not found." msgstr "" -#: library/stdtypes.rst:2835 +#: library/stdtypes.rst:2841 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 " @@ -4315,7 +4317,7 @@ msgid "" "method." msgstr "" -#: library/stdtypes.rst:2846 +#: library/stdtypes.rst:2852 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 " @@ -4323,7 +4325,7 @@ msgid "" "objects ` and have the same length." msgstr "" -#: library/stdtypes.rst:2857 +#: library/stdtypes.rst:2863 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 " @@ -4332,24 +4334,24 @@ msgid "" "by two empty bytes or bytearray objects." msgstr "" -#: library/stdtypes.rst:2921 +#: library/stdtypes.rst:2927 msgid "The separator to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2870 +#: library/stdtypes.rst:2876 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 " "first *count* occurrences are replaced." msgstr "" -#: library/stdtypes.rst:2874 +#: library/stdtypes.rst:2880 msgid "" "The subsequence to search for and its replacement may be any :term:`bytes-" "like object`." msgstr "" -#: library/stdtypes.rst:2886 +#: library/stdtypes.rst:2892 msgid "" "Return the highest index in the sequence where the subsequence *sub* is " "found, such that *sub* is contained within ``s[start:end]``. Optional " @@ -4357,13 +4359,13 @@ msgid "" "``-1`` on failure." msgstr "" -#: library/stdtypes.rst:2901 +#: library/stdtypes.rst:2907 msgid "" "Like :meth:`~bytes.rfind` but raises :exc:`ValueError` when the subsequence " "*sub* is not found." msgstr "" -#: library/stdtypes.rst:2914 +#: library/stdtypes.rst:2920 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 " @@ -4372,7 +4374,7 @@ msgid "" "followed by a copy of the original sequence." msgstr "" -#: library/stdtypes.rst:2927 +#: library/stdtypes.rst:2933 msgid "" "Return ``True`` if the binary data starts with the specified *prefix*, " "otherwise return ``False``. *prefix* can also be a tuple of prefixes to " @@ -4380,11 +4382,11 @@ msgid "" "optional *end*, stop comparing at that position." msgstr "" -#: library/stdtypes.rst:2932 +#: library/stdtypes.rst:2938 msgid "The prefix(es) to search for may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:2938 +#: library/stdtypes.rst:2944 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 " @@ -4392,22 +4394,22 @@ msgid "" "object of length 256." msgstr "" -#: library/stdtypes.rst:2943 +#: library/stdtypes.rst:2949 msgid "" "You can use the :func:`bytes.maketrans` method to create a translation table." msgstr "" -#: library/stdtypes.rst:2946 +#: library/stdtypes.rst:2952 msgid "" "Set the *table* argument to ``None`` for translations that only delete " "characters::" msgstr "" -#: library/stdtypes.rst:2952 +#: library/stdtypes.rst:2958 msgid "*delete* is now supported as a keyword argument." msgstr "" -#: library/stdtypes.rst:2956 +#: library/stdtypes.rst:2962 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 " @@ -4416,7 +4418,7 @@ msgid "" "instead produce new objects." msgstr "" -#: library/stdtypes.rst:2965 +#: library/stdtypes.rst:2971 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). " @@ -4424,7 +4426,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2979 +#: library/stdtypes.rst:2985 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). " @@ -4432,7 +4434,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:2993 +#: library/stdtypes.rst:2999 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 " @@ -4442,14 +4444,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3005 +#: library/stdtypes.rst:3011 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 " "single prefix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3024 +#: library/stdtypes.rst:3030 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). " @@ -4457,7 +4459,7 @@ msgid "" "less than or equal to ``len(s)``." msgstr "" -#: library/stdtypes.rst:3038 +#: library/stdtypes.rst:3044 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 " @@ -4467,7 +4469,7 @@ msgid "" "described in detail below." msgstr "" -#: library/stdtypes.rst:3049 +#: library/stdtypes.rst:3055 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 " @@ -4477,14 +4479,14 @@ msgid "" "all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3061 +#: library/stdtypes.rst:3067 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 " "single suffix string rather than all of a set of characters. For example::" msgstr "" -#: library/stdtypes.rst:3080 +#: library/stdtypes.rst:3086 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 " @@ -4493,7 +4495,7 @@ msgid "" "limit on the number of splits (all possible splits are made)." msgstr "" -#: library/stdtypes.rst:3086 +#: library/stdtypes.rst:3092 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',')`` " @@ -4504,7 +4506,7 @@ msgid "" "object being split. The *sep* argument may be any :term:`bytes-like object`." msgstr "" -#: library/stdtypes.rst:3104 +#: library/stdtypes.rst:3110 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 " @@ -4514,7 +4516,7 @@ msgid "" "without a specified separator returns ``[]``." msgstr "" -#: library/stdtypes.rst:3125 +#: library/stdtypes.rst:3131 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 " @@ -4524,13 +4526,13 @@ msgid "" "a prefix or suffix; rather, all combinations of its values are stripped::" msgstr "" -#: library/stdtypes.rst:3138 +#: library/stdtypes.rst:3144 msgid "" "The binary sequence of byte values to remove may be any :term:`bytes-like " "object`." msgstr "" -#: library/stdtypes.rst:3147 +#: library/stdtypes.rst:3153 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 " @@ -4538,14 +4540,14 @@ msgid "" "operate in place, and instead produce new objects." msgstr "" -#: library/stdtypes.rst:3155 +#: library/stdtypes.rst:3161 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 " "byte values are passed through unchanged." msgstr "" -#: library/stdtypes.rst:3168 +#: library/stdtypes.rst:3174 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 " @@ -4561,7 +4563,7 @@ msgid "" "by one regardless of how the byte value is represented when printed::" msgstr "" -#: library/stdtypes.rst:3196 +#: library/stdtypes.rst:3202 msgid "" "Return ``True`` if all bytes in the sequence are alphabetical ASCII " "characters or ASCII decimal digits and the sequence is not empty, ``False`` " @@ -4570,7 +4572,7 @@ msgid "" "digits are those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3213 +#: library/stdtypes.rst:3219 msgid "" "Return ``True`` if all bytes in the sequence are alphabetic ASCII characters " "and the sequence is not empty, ``False`` otherwise. Alphabetic ASCII " @@ -4578,34 +4580,34 @@ msgid "" "``b'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3229 +#: library/stdtypes.rst:3235 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." msgstr "" -#: library/stdtypes.rst:3239 +#: library/stdtypes.rst:3245 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 " "those byte values in the sequence ``b'0123456789'``." msgstr "" -#: library/stdtypes.rst:3254 +#: library/stdtypes.rst:3260 msgid "" "Return ``True`` if there is at least one lowercase ASCII character in the " "sequence and no uppercase ASCII characters, ``False`` otherwise." msgstr "" -#: library/stdtypes.rst:3306 library/stdtypes.rst:3372 -#: library/stdtypes.rst:3441 +#: library/stdtypes.rst:3312 library/stdtypes.rst:3378 +#: library/stdtypes.rst:3447 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " "values in the sequence ``b'ABCDEFGHIJKLMNOPQRSTUVWXYZ'``." msgstr "" -#: library/stdtypes.rst:3272 +#: library/stdtypes.rst:3278 msgid "" "Return ``True`` if all bytes in the sequence are ASCII whitespace and the " "sequence is not empty, ``False`` otherwise. ASCII whitespace characters are " @@ -4613,27 +4615,27 @@ msgid "" "newline, carriage return, vertical tab, form feed)." msgstr "" -#: library/stdtypes.rst:3281 +#: library/stdtypes.rst:3287 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 " "definition of \"titlecase\"." msgstr "" -#: library/stdtypes.rst:3296 +#: library/stdtypes.rst:3302 msgid "" "Return ``True`` if there is at least one uppercase alphabetic ASCII " "character in the sequence and no lowercase ASCII characters, ``False`` " "otherwise." msgstr "" -#: library/stdtypes.rst:3314 +#: library/stdtypes.rst:3320 msgid "" "Return a copy of the sequence with all the uppercase ASCII characters " "converted to their corresponding lowercase counterpart." msgstr "" -#: library/stdtypes.rst:3339 +#: library/stdtypes.rst:3345 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 " @@ -4641,20 +4643,20 @@ msgid "" "*keepends* is given and true." msgstr "" -#: library/stdtypes.rst:3351 +#: library/stdtypes.rst:3357 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 " "does not result in an extra line::" msgstr "" -#: library/stdtypes.rst:3364 +#: library/stdtypes.rst:3370 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart and vice-versa." msgstr "" -#: library/stdtypes.rst:3376 +#: library/stdtypes.rst:3382 msgid "" "Unlike :func:`str.swapcase()`, it is always the case that ``bin.swapcase()." "swapcase() == bin`` for the binary versions. Case conversions are " @@ -4662,14 +4664,14 @@ msgid "" "Unicode code points." msgstr "" -#: library/stdtypes.rst:3390 +#: library/stdtypes.rst:3396 msgid "" "Return a titlecased version of the binary sequence where words start with an " "uppercase ASCII character and the remaining characters are lowercase. " "Uncased byte values are left unmodified." msgstr "" -#: library/stdtypes.rst:3399 +#: library/stdtypes.rst:3405 msgid "" "Lowercase ASCII characters are those byte values in the sequence " "``b'abcdefghijklmnopqrstuvwxyz'``. Uppercase ASCII characters are those byte " @@ -4677,20 +4679,20 @@ msgid "" "values are uncased." msgstr "" -#: library/stdtypes.rst:3412 +#: library/stdtypes.rst:3418 msgid "" "A workaround for apostrophes can be constructed using regular expressions::" msgstr "" "Kesme işaretleri için geçici bir çözüm düzenli ifadeler kullanılarak " "oluşturulabilir::" -#: library/stdtypes.rst:3433 +#: library/stdtypes.rst:3439 msgid "" "Return a copy of the sequence with all the lowercase ASCII characters " "converted to their corresponding uppercase counterpart." msgstr "" -#: library/stdtypes.rst:3454 +#: library/stdtypes.rst:3460 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 " @@ -4699,11 +4701,11 @@ msgid "" "*width* is less than or equal to ``len(seq)``." msgstr "" -#: library/stdtypes.rst:3476 +#: library/stdtypes.rst:3482 msgid "``printf``-style Bytes Formatting" msgstr "" -#: library/stdtypes.rst:3493 +#: library/stdtypes.rst:3499 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 " @@ -4711,7 +4713,7 @@ msgid "" "dictionary, wrap it in a tuple." msgstr "" -#: library/stdtypes.rst:3498 +#: library/stdtypes.rst:3504 msgid "" "Bytes objects (``bytes``/``bytearray``) have one unique built-in operation: " "the ``%`` operator (modulo). This is also known as the bytes *formatting* or " @@ -4721,7 +4723,7 @@ msgid "" "func:`sprintf` in the C language." msgstr "" -#: library/stdtypes.rst:3505 +#: library/stdtypes.rst:3511 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 " @@ -4729,7 +4731,7 @@ msgid "" "example, a dictionary)." msgstr "" -#: library/stdtypes.rst:3539 +#: library/stdtypes.rst:3545 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 " @@ -4737,73 +4739,73 @@ msgid "" "mapping key selects the value to be formatted from the mapping. For example:" msgstr "" -#: library/stdtypes.rst:3613 +#: library/stdtypes.rst:3619 msgid "Single byte (accepts integer or single byte objects)." msgstr "" -#: library/stdtypes.rst:3616 +#: library/stdtypes.rst:3622 msgid "``'b'``" msgstr "" -#: library/stdtypes.rst:3616 +#: library/stdtypes.rst:3622 msgid "" "Bytes (any object that follows the :ref:`buffer protocol ` or " "has :meth:`__bytes__`)." msgstr "" -#: library/stdtypes.rst:3620 +#: library/stdtypes.rst:3626 msgid "" "``'s'`` is an alias for ``'b'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3623 +#: library/stdtypes.rst:3629 msgid "" "Bytes (converts any Python object using ``repr(obj).encode('ascii', " "'backslashreplace')``)." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3632 msgid "" "``'r'`` is an alias for ``'a'`` and should only be used for Python2/3 code " "bases." msgstr "" -#: library/stdtypes.rst:3626 +#: library/stdtypes.rst:3632 msgid "\\(7)" msgstr "" -#: library/stdtypes.rst:3661 +#: library/stdtypes.rst:3667 msgid "``b'%s'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3664 +#: library/stdtypes.rst:3670 msgid "``b'%r'`` is deprecated, but will not be removed during the 3.x series." msgstr "" -#: library/stdtypes.rst:3676 +#: library/stdtypes.rst:3682 msgid ":pep:`461` - Adding % formatting to bytes and bytearray" msgstr "" -#: library/stdtypes.rst:3683 +#: library/stdtypes.rst:3689 msgid "Memory Views" msgstr "" -#: library/stdtypes.rst:3685 +#: library/stdtypes.rst:3691 msgid "" ":class:`memoryview` objects allow Python code to access the internal data of " "an object that supports the :ref:`buffer protocol ` without " "copying." msgstr "" -#: library/stdtypes.rst:3691 +#: library/stdtypes.rst:3697 msgid "" "Create a :class:`memoryview` that references *object*. *object* must " "support the buffer protocol. Built-in objects that support the buffer " "protocol include :class:`bytes` and :class:`bytearray`." msgstr "" -#: library/stdtypes.rst:3695 +#: library/stdtypes.rst:3701 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 " @@ -4811,7 +4813,7 @@ msgid "" "other types such as :class:`array.array` may have bigger elements." msgstr "" -#: library/stdtypes.rst:3700 +#: library/stdtypes.rst:3706 msgid "" "``len(view)`` is equal to the length of :class:`~memoryview.tolist`. If " "``view.ndim = 0``, the length is 1. If ``view.ndim = 1``, the length is " @@ -4821,13 +4823,13 @@ msgid "" "bytes in a single element." msgstr "" -#: library/stdtypes.rst:3707 +#: library/stdtypes.rst:3713 msgid "" "A :class:`memoryview` supports slicing and indexing to expose its data. One-" "dimensional slicing will result in a subview::" msgstr "" -#: library/stdtypes.rst:3720 +#: library/stdtypes.rst:3726 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 " @@ -4838,82 +4840,82 @@ msgid "" "memoryviews can be indexed with the empty tuple." msgstr "" -#: library/stdtypes.rst:3729 +#: library/stdtypes.rst:3735 msgid "Here is an example with a non-byte format::" msgstr "" -#: library/stdtypes.rst:3741 +#: library/stdtypes.rst:3747 msgid "" "If the underlying object is writable, the memoryview supports one-" "dimensional slice assignment. Resizing is not allowed::" msgstr "" -#: library/stdtypes.rst:3762 +#: library/stdtypes.rst:3768 msgid "" "One-dimensional memoryviews of hashable (read-only) types with formats 'B', " "'b' or 'c' are also hashable. The hash is defined as ``hash(m) == hash(m." "tobytes())``::" msgstr "" -#: library/stdtypes.rst:3774 +#: library/stdtypes.rst:3780 msgid "" "One-dimensional memoryviews can now be sliced. One-dimensional memoryviews " "with formats 'B', 'b' or 'c' are now hashable." msgstr "" -#: library/stdtypes.rst:3778 +#: library/stdtypes.rst:3784 msgid "" "memoryview is now registered automatically with :class:`collections.abc." "Sequence`" msgstr "" -#: library/stdtypes.rst:3782 +#: library/stdtypes.rst:3788 msgid "memoryviews can now be indexed with tuple of integers." msgstr "" -#: library/stdtypes.rst:3785 +#: library/stdtypes.rst:3791 msgid ":class:`memoryview` has several methods:" msgstr "" -#: library/stdtypes.rst:3789 +#: library/stdtypes.rst:3795 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' " "respective format codes are interpreted using :mod:`struct` syntax." msgstr "" -#: library/stdtypes.rst:3793 +#: library/stdtypes.rst:3799 msgid "" "For the subset of :mod:`struct` format strings currently supported by :meth:" "`tolist`, ``v`` and ``w`` are equal if ``v.tolist() == w.tolist()``::" msgstr "" -#: library/stdtypes.rst:3812 +#: library/stdtypes.rst:3818 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 " "buffer contents are identical)::" msgstr "" -#: library/stdtypes.rst:3828 +#: library/stdtypes.rst:3834 msgid "" "Note that, as with floating point numbers, ``v is w`` does *not* imply ``v " "== w`` for memoryview objects." msgstr "" -#: library/stdtypes.rst:3831 +#: library/stdtypes.rst:3837 msgid "" "Previous versions compared the raw memory disregarding the item format and " "the logical array structure." msgstr "" -#: library/stdtypes.rst:3837 +#: library/stdtypes.rst:3843 msgid "" "Return the data in the buffer as a bytestring. This is equivalent to " "calling the :class:`bytes` constructor on the memoryview. ::" msgstr "" -#: library/stdtypes.rst:3846 +#: library/stdtypes.rst:3852 msgid "" "For non-contiguous arrays the result is equal to the flattened list " "representation with all elements converted to bytes. :meth:`tobytes` " @@ -4921,7 +4923,7 @@ msgid "" "module syntax." msgstr "" -#: library/stdtypes.rst:3851 +#: library/stdtypes.rst:3857 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' " @@ -4930,36 +4932,36 @@ msgid "" "to C first. *order=None* is the same as *order='C'*." msgstr "" -#: library/stdtypes.rst:3860 +#: library/stdtypes.rst:3866 msgid "" "Return a string object containing two hexadecimal digits for each byte in " "the buffer. ::" msgstr "" -#: library/stdtypes.rst:3869 +#: library/stdtypes.rst:3875 msgid "" "Similar to :meth:`bytes.hex`, :meth:`memoryview.hex` now supports optional " "*sep* and *bytes_per_sep* parameters to insert separators between bytes in " "the hex output." msgstr "" -#: library/stdtypes.rst:3876 +#: library/stdtypes.rst:3882 msgid "Return the data in the buffer as a list of elements. ::" msgstr "" -#: library/stdtypes.rst:3886 +#: library/stdtypes.rst:3892 msgid "" ":meth:`tolist` now supports all single character native formats in :mod:" "`struct` module syntax as well as multi-dimensional representations." msgstr "" -#: library/stdtypes.rst:3893 +#: library/stdtypes.rst:3899 msgid "" "Return a readonly version of the memoryview object. The original memoryview " "object is unchanged. ::" msgstr "" -#: library/stdtypes.rst:3912 +#: library/stdtypes.rst:3918 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 :" @@ -4968,20 +4970,20 @@ msgid "" "resources) as soon as possible." msgstr "" -#: library/stdtypes.rst:3918 +#: library/stdtypes.rst:3924 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:3929 +#: library/stdtypes.rst:3935 msgid "" "The context management protocol can be used for a similar effect, using the " "``with`` statement::" msgstr "" -#: library/stdtypes.rst:3945 +#: library/stdtypes.rst:3951 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 " @@ -4990,57 +4992,57 @@ msgid "" "contiguous -> 1D." msgstr "" -#: library/stdtypes.rst:3951 +#: library/stdtypes.rst:3957 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 " "'c'). The byte length of the result must be the same as the original length." msgstr "" -#: library/stdtypes.rst:3956 +#: library/stdtypes.rst:3962 msgid "Cast 1D/long to 1D/unsigned bytes::" msgstr "" -#: library/stdtypes.rst:3979 +#: library/stdtypes.rst:3985 msgid "Cast 1D/unsigned bytes to 1D/char::" msgstr "" -#: library/stdtypes.rst:3992 +#: library/stdtypes.rst:3998 msgid "Cast 1D/bytes to 3D/ints to 1D/signed char::" msgstr "" -#: library/stdtypes.rst:4018 +#: library/stdtypes.rst:4024 msgid "Cast 1D/unsigned long to 2D/unsigned long::" msgstr "" -#: library/stdtypes.rst:4032 +#: library/stdtypes.rst:4038 msgid "The source format is no longer restricted when casting to a byte view." msgstr "" -#: library/stdtypes.rst:4035 +#: library/stdtypes.rst:4041 msgid "There are also several readonly attributes available:" msgstr "" -#: library/stdtypes.rst:4039 +#: library/stdtypes.rst:4045 msgid "The underlying object of the memoryview::" msgstr "" -#: library/stdtypes.rst:4050 +#: library/stdtypes.rst:4056 msgid "" "``nbytes == product(shape) * itemsize == len(m.tobytes())``. This is the " "amount of space in bytes that the array would use in a contiguous " "representation. It is not necessarily equal to ``len(m)``::" msgstr "" -#: library/stdtypes.rst:4069 +#: library/stdtypes.rst:4075 msgid "Multi-dimensional arrays::" msgstr "" -#: library/stdtypes.rst:4086 +#: library/stdtypes.rst:4092 msgid "A bool indicating whether the memory is read only." msgstr "" -#: library/stdtypes.rst:4090 +#: library/stdtypes.rst:4096 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 " @@ -5048,59 +5050,59 @@ msgid "" "restricted to native single element formats." msgstr "" -#: library/stdtypes.rst:4095 +#: library/stdtypes.rst:4101 msgid "" "format ``'B'`` is now handled according to the struct module syntax. This " "means that ``memoryview(b'abc')[0] == b'abc'[0] == 97``." msgstr "" -#: library/stdtypes.rst:4101 +#: library/stdtypes.rst:4107 msgid "The size in bytes of each element of the memoryview::" msgstr "" -#: library/stdtypes.rst:4114 +#: library/stdtypes.rst:4120 msgid "" "An integer indicating how many dimensions of a multi-dimensional array the " "memory represents." msgstr "" -#: library/stdtypes.rst:4119 +#: library/stdtypes.rst:4125 msgid "" "A tuple of integers the length of :attr:`ndim` giving the shape of the " "memory as an N-dimensional array." msgstr "" -#: library/stdtypes.rst:4130 +#: library/stdtypes.rst:4136 msgid "An empty tuple instead of ``None`` when ndim = 0." msgstr "" -#: library/stdtypes.rst:4127 +#: library/stdtypes.rst:4133 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." msgstr "" -#: library/stdtypes.rst:4135 +#: library/stdtypes.rst:4141 msgid "Used internally for PIL-style arrays. The value is informational only." msgstr "" -#: library/stdtypes.rst:4139 +#: library/stdtypes.rst:4145 msgid "A bool indicating whether the memory is C-:term:`contiguous`." msgstr "Belleğin C-:term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4145 +#: library/stdtypes.rst:4151 msgid "A bool indicating whether the memory is Fortran :term:`contiguous`." msgstr "Belleğin Fortran :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4151 +#: library/stdtypes.rst:4157 msgid "A bool indicating whether the memory is :term:`contiguous`." msgstr "Belleğin :term:`contiguous` olup olmadığını gösteren bir bool." -#: library/stdtypes.rst:4159 +#: library/stdtypes.rst:4165 msgid "Set Types --- :class:`set`, :class:`frozenset`" msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:4163 +#: library/stdtypes.rst:4169 msgid "" "A :dfn:`set` object is an unordered collection of distinct :term:`hashable` " "objects. Common uses include membership testing, removing duplicates from a " @@ -5116,7 +5118,7 @@ msgstr "" "için yerleşik :class:`dict`, :class:`list` ve :class:`tuple` sınıflarına ve :" "mod:`collections` modülüne bakın)" -#: library/stdtypes.rst:4170 +#: library/stdtypes.rst:4176 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 " @@ -5128,7 +5130,7 @@ msgstr "" "eleman konumunu veya ekleme sırasını kaydetmez. Buna göre, kümeler " "dizinleme, dilimleme veya sıra benzeri davranışları desteklemez." -#: library/stdtypes.rst:4175 +#: library/stdtypes.rst:4181 msgid "" "There are currently two built-in set types, :class:`set` and :class:" "`frozenset`. The :class:`set` type is mutable --- the contents can be " @@ -5147,7 +5149,7 @@ msgstr "" "term:`hashable` --- içeriği oluşturulduktan sonra değiştirilemez; bu nedenle " "bir sözlük anahtarı veya başka bir kümenin öğesi olarak kullanılabilir." -#: library/stdtypes.rst:4183 +#: library/stdtypes.rst:4189 msgid "" "Non-empty sets (not frozensets) can be created by placing a comma-separated " "list of elements within braces, for example: ``{'jack', 'sjoerd'}``, in " @@ -5157,11 +5159,11 @@ msgstr "" "parantez içine virgülle ayrılmış bir öğe listesi yerleştirilerek " "oluşturulabilir, örneğin: ``{'jack', 'sjoerd'}``." -#: library/stdtypes.rst:4187 +#: library/stdtypes.rst:4193 msgid "The constructors for both classes work the same:" msgstr "Her iki sınıfın kurucuları aynı şekilde çalışır:" -#: library/stdtypes.rst:4192 +#: library/stdtypes.rst:4198 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 " @@ -5173,24 +5175,24 @@ msgstr "" "kümelerini temsil etmek için, iç kümeler :class:`frozenset` nesneleri " "olmalıdır. Eğer *iterable* belirtilmemişse, yeni bir boş küme döndürülür." -#: library/stdtypes.rst:4198 +#: library/stdtypes.rst:4204 msgid "Sets can be created by several means:" msgstr "Setler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4200 +#: library/stdtypes.rst:4206 msgid "" "Use a comma-separated list of elements within braces: ``{'jack', 'sjoerd'}``" msgstr "" "Parantez içinde virgülle ayrılmış bir öğe listesi kullanın: ``{'jack', " "'sjoerd'}``" -#: library/stdtypes.rst:4201 +#: library/stdtypes.rst:4207 msgid "" "Use a set comprehension: ``{c for c in 'abracadabra' if c not in 'abc'}``" msgstr "" "Bir küme kavrayışı kullanın: ``{c for c in 'abracadabra' if c not in 'abc'}``" -#: library/stdtypes.rst:4202 +#: library/stdtypes.rst:4208 msgid "" "Use the type constructor: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" @@ -5198,26 +5200,26 @@ msgstr "" "Tür kurucusunu kullanın: ``set()``, ``set('foobar')``, ``set(['a', 'b', " "'foo'])``" -#: library/stdtypes.rst:4204 +#: library/stdtypes.rst:4210 msgid "" "Instances of :class:`set` and :class:`frozenset` provide the following " "operations:" msgstr "" ":class:`set` ve :class:`frozenset` örnekleri aşağıdaki işlemleri sağlar:" -#: library/stdtypes.rst:4209 +#: library/stdtypes.rst:4215 msgid "Return the number of elements in set *s* (cardinality of *s*)." msgstr "*s* kümesindeki eleman sayısını döndürür (*s*'nin kardinalitesi)." -#: library/stdtypes.rst:4213 +#: library/stdtypes.rst:4219 msgid "Test *x* for membership in *s*." msgstr "*x*'i *s* üyeliği için test edin." -#: library/stdtypes.rst:4217 +#: library/stdtypes.rst:4223 msgid "Test *x* for non-membership in *s*." msgstr "*x*'in *s*'ye üye olup olmadığını test edin." -#: library/stdtypes.rst:4221 +#: library/stdtypes.rst:4227 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." @@ -5225,11 +5227,11 @@ msgstr "" "Kümenin *other* kümelerle ortak hiçbir elemanı yoksa ``True`` döndürür. " "Kümeler, ancak ve ancak kesişimleri boş küme ise ayrıktır." -#: library/stdtypes.rst:4227 +#: library/stdtypes.rst:4233 msgid "Test whether every element in the set is in *other*." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4231 +#: library/stdtypes.rst:4237 msgid "" "Test whether the set is a proper subset of *other*, that is, ``set <= other " "and set != other``." @@ -5237,11 +5239,11 @@ msgstr "" "Kümenin *other* kümenin uygun bir alt kümesi olup olmadığını, yani ``set <= " "other and set != other`` olup olmadığını test eder." -#: library/stdtypes.rst:4237 +#: library/stdtypes.rst:4243 msgid "Test whether every element in *other* is in the set." msgstr "Kümedeki her elemanın *other* içinde olup olmadığını test edin." -#: library/stdtypes.rst:4241 +#: library/stdtypes.rst:4247 msgid "" "Test whether the set is a proper superset of *other*, that is, ``set >= " "other and set != other``." @@ -5249,33 +5251,33 @@ msgstr "" "Kümenin *other* kümenin uygun bir üst kümesi olup olmadığını, yani ``set >= " "other and set != other`` olup olmadığını test edin." -#: library/stdtypes.rst:4247 +#: library/stdtypes.rst:4253 msgid "Return a new set with elements from the set and all others." msgstr "" "Kümedeki ve diğer tüm kümelerdeki elemanları içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4252 +#: library/stdtypes.rst:4258 msgid "Return a new set with elements common to the set and all others." msgstr "" "Küme ve diğer tüm kümeler için ortak öğeler içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4257 +#: library/stdtypes.rst:4263 msgid "Return a new set with elements in the set that are not in the others." msgstr "" "Küme içinde diğerlerinde olmayan elemanlar içeren yeni bir küme döndürür." -#: library/stdtypes.rst:4262 +#: library/stdtypes.rst:4268 msgid "" "Return a new set with elements in either the set or *other* but not both." msgstr "" "Elemanları ya kümede ya da *diğer* kümede olan ancak her ikisinde de olmayan " "yeni bir küme döndürür." -#: library/stdtypes.rst:4266 +#: library/stdtypes.rst:4272 msgid "Return a shallow copy of the set." msgstr "Kümenin yüzeysel bir kopyasını döndürür." -#: library/stdtypes.rst:4269 +#: library/stdtypes.rst:4275 msgid "" "Note, the non-operator versions of :meth:`union`, :meth:`intersection`, :" "meth:`difference`, :meth:`symmetric_difference`, :meth:`issubset`, and :meth:" @@ -5293,7 +5295,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4276 +#: library/stdtypes.rst:4282 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 " @@ -5312,7 +5314,7 @@ msgstr "" "\n" "Translated with www.DeepL.com/Translator (free version)" -#: library/stdtypes.rst:4283 +#: library/stdtypes.rst:4289 msgid "" "Instances of :class:`set` are compared to instances of :class:`frozenset` " "based on their members. For example, ``set('abc') == frozenset('abc')`` " @@ -5322,7 +5324,7 @@ msgstr "" "karşılaştırılır. Örneğin, ``set('abc') == frozenset('abc')`` ``True`` " "döndürür ve ``set('abc') in set([frozenset('abc')])`` de öyle." -#: library/stdtypes.rst:4287 +#: library/stdtypes.rst:4293 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 " @@ -5334,7 +5336,7 @@ msgstr "" "değildir ve birbirinin alt kümesi değildir, bu nedenle aşağıdakilerin *all* " "``Yanlış`` döndürür: ``ab``." -#: library/stdtypes.rst:4292 +#: library/stdtypes.rst:4298 msgid "" "Since sets only define partial ordering (subset relationships), the output " "of the :meth:`list.sort` method is undefined for lists of sets." @@ -5342,11 +5344,11 @@ msgstr "" "Kümeler yalnızca kısmi sıralama (alt küme ilişkileri) tanımladığından, :meth:" "`list.sort` yönteminin çıktısı küme listeleri için tanımsızdır." -#: library/stdtypes.rst:4295 +#: library/stdtypes.rst:4301 msgid "Set elements, like dictionary keys, must be :term:`hashable`." msgstr "Sözlük anahtarları gibi küme öğeleri de :term:`hashable` olmalıdır." -#: library/stdtypes.rst:4297 +#: library/stdtypes.rst:4303 msgid "" "Binary operations that mix :class:`set` instances with :class:`frozenset` " "return the type of the first operand. For example: ``frozenset('ab') | " @@ -5356,7 +5358,7 @@ msgstr "" "ilk işlenenin türünü döndürür. Örneğin: ``frozenset('ab') | set('bc')`` " "bir :class:`frozenset` örneği döndürür." -#: library/stdtypes.rst:4301 +#: library/stdtypes.rst:4307 msgid "" "The following table lists operations available for :class:`set` that do not " "apply to immutable instances of :class:`frozenset`:" @@ -5364,31 +5366,31 @@ msgstr "" "Aşağıdaki tabloda :class:`set` için kullanılabilen ve :class:`frozenset` 'in " "değişmez örneklerine uygulanmayan işlemler listelenmektedir:" -#: library/stdtypes.rst:4307 +#: library/stdtypes.rst:4313 msgid "Update the set, adding elements from all others." msgstr "Diğer tüm öğeleri ekleyerek seti güncelleyin." -#: library/stdtypes.rst:4312 +#: library/stdtypes.rst:4318 msgid "Update the set, keeping only elements found in it and all others." msgstr "" "Yalnızca içinde bulunan öğeleri ve diğerlerini koruyarak seti güncelleyin." -#: library/stdtypes.rst:4317 +#: library/stdtypes.rst:4323 msgid "Update the set, removing elements found in others." msgstr "Diğerlerinde bulunan öğeleri kaldırarak kümeyi güncelleyin." -#: library/stdtypes.rst:4322 +#: library/stdtypes.rst:4328 msgid "" "Update the set, keeping only elements found in either set, but not in both." msgstr "" "Kümeyi güncelleyin, yalnızca her iki kümede de bulunan öğeleri saklayın, " "ancak her ikisinde de bulunmayın." -#: library/stdtypes.rst:4326 +#: library/stdtypes.rst:4332 msgid "Add element *elem* to the set." msgstr "Kümeye *elem* öğesini ekleyin." -#: library/stdtypes.rst:4330 +#: library/stdtypes.rst:4336 msgid "" "Remove element *elem* from the set. Raises :exc:`KeyError` if *elem* is not " "contained in the set." @@ -5396,11 +5398,11 @@ msgstr "" "Kümeden *elem* elemanını kaldırır. Eğer *elem* kümede bulunmuyorsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4335 +#: library/stdtypes.rst:4341 msgid "Remove element *elem* from the set if it is present." msgstr "Eğer varsa *elem* öğesini kümeden kaldırır." -#: library/stdtypes.rst:4339 +#: library/stdtypes.rst:4345 msgid "" "Remove and return an arbitrary element from the set. Raises :exc:`KeyError` " "if the set is empty." @@ -5408,11 +5410,11 @@ msgstr "" "Kümeden rastgele bir elemanı kaldırır ve döndürür. Küme boşsa :exc:" "`KeyError` değerini yükseltir." -#: library/stdtypes.rst:4344 +#: library/stdtypes.rst:4350 msgid "Remove all elements from the set." msgstr "Kümeden tüm öğeleri kaldırın." -#: library/stdtypes.rst:4347 +#: library/stdtypes.rst:4353 msgid "" "Note, the non-operator versions of the :meth:`update`, :meth:" "`intersection_update`, :meth:`difference_update`, and :meth:" @@ -5423,7 +5425,7 @@ msgstr "" "ve :meth:`symmetric_difference_update` metotlarının operatör olmayan " "versiyonları herhangi bir iterable'ı argüman olarak kabul edecektir." -#: library/stdtypes.rst:4352 +#: library/stdtypes.rst:4358 msgid "" "Note, the *elem* argument to the :meth:`__contains__`, :meth:`remove`, and :" "meth:`discard` methods may be a set. To support searching for an equivalent " @@ -5433,11 +5435,11 @@ msgstr "" "*elem* argümanı bir küme olabilir. Eş değer bir frozenset aramayı " "desteklemek için, *elem*'den geçici bir tane oluşturulur." -#: library/stdtypes.rst:4360 +#: library/stdtypes.rst:4366 msgid "Mapping Types --- :class:`dict`" msgstr "Mapping Types --- :class:`dict`" -#: library/stdtypes.rst:4370 +#: library/stdtypes.rst:4376 msgid "" "A :term:`mapping` object maps :term:`hashable` values to arbitrary objects. " "Mappings are mutable objects. There is currently only one standard mapping " @@ -5451,7 +5453,7 @@ msgstr "" "class:`list`, :class:`set` ve :class:`tuple` sınıflarına ve :mod:" "`collections` modülüne bakın)." -#: library/stdtypes.rst:4376 +#: library/stdtypes.rst:4382 #, fuzzy msgid "" "A dictionary's keys are *almost* arbitrary values. Values that are not :" @@ -5470,7 +5472,7 @@ msgstr "" "kayan noktalı sayıları yaklaşık olarak sakladığından, bunları sözlük " "anahtarları olarak kullanmak genellikle akıllıca değildir)." -#: library/stdtypes.rst:4387 +#: library/stdtypes.rst:4393 msgid "" "Return a new dictionary initialized from an optional positional argument and " "a possibly empty set of keyword arguments." @@ -5478,27 +5480,27 @@ msgstr "" "İsteğe bağlı bir konumsal bağımsız değişken ve muhtemelen boş bir anahtar " "sözcük bağımsız değişken kümesinden başlatılan yeni bir sözlük döndürür." -#: library/stdtypes.rst:4390 +#: library/stdtypes.rst:4396 msgid "Dictionaries can be created by several means:" msgstr "Sözlükler çeşitli yollarla oluşturulabilir:" -#: library/stdtypes.rst:4392 +#: library/stdtypes.rst:4398 msgid "" "Use a comma-separated list of ``key: value`` pairs within braces: ``{'jack': " "4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``" msgstr "" -#: library/stdtypes.rst:4394 +#: library/stdtypes.rst:4400 msgid "Use a dict comprehension: ``{}``, ``{x: x ** 2 for x in range(10)}``" msgstr "" -#: library/stdtypes.rst:4395 +#: library/stdtypes.rst:4401 msgid "" "Use the type constructor: ``dict()``, ``dict([('foo', 100), ('bar', " "200)])``, ``dict(foo=100, bar=200)``" msgstr "" -#: library/stdtypes.rst:4398 +#: library/stdtypes.rst:4404 msgid "" "If no positional argument is given, an empty dictionary is created. If a " "positional argument is given and it is a mapping object, a dictionary is " @@ -5510,7 +5512,7 @@ msgid "" "value for that key becomes the corresponding value in the new dictionary." msgstr "" -#: library/stdtypes.rst:4408 +#: library/stdtypes.rst:4414 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 " @@ -5518,39 +5520,39 @@ msgid "" "the value from the positional argument." msgstr "" -#: library/stdtypes.rst:4413 +#: library/stdtypes.rst:4419 msgid "" "To illustrate, the following examples all return a dictionary equal to " "``{\"one\": 1, \"two\": 2, \"three\": 3}``::" msgstr "" -#: library/stdtypes.rst:4425 +#: library/stdtypes.rst:4431 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." msgstr "" -#: library/stdtypes.rst:4429 +#: library/stdtypes.rst:4435 msgid "" "These are the operations that dictionaries support (and therefore, custom " "mapping types should support too):" msgstr "" -#: library/stdtypes.rst:4434 +#: library/stdtypes.rst:4440 msgid "Return a list of all the keys used in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4438 +#: library/stdtypes.rst:4444 msgid "Return the number of items in the dictionary *d*." msgstr "" -#: library/stdtypes.rst:4442 +#: library/stdtypes.rst:4448 msgid "" "Return the item of *d* with key *key*. Raises a :exc:`KeyError` if *key* is " "not in the map." msgstr "" -#: library/stdtypes.rst:4447 +#: library/stdtypes.rst:4453 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 " @@ -5561,51 +5563,51 @@ msgid "" "an instance variable::" msgstr "" -#: library/stdtypes.rst:4465 +#: library/stdtypes.rst:4471 msgid "" "The example above shows part of the implementation of :class:`collections." "Counter`. A different ``__missing__`` method is used by :class:`collections." "defaultdict`." msgstr "" -#: library/stdtypes.rst:4471 +#: library/stdtypes.rst:4477 msgid "Set ``d[key]`` to *value*." msgstr "" -#: library/stdtypes.rst:4475 +#: library/stdtypes.rst:4481 msgid "" "Remove ``d[key]`` from *d*. Raises a :exc:`KeyError` if *key* is not in the " "map." msgstr "" -#: library/stdtypes.rst:4480 +#: library/stdtypes.rst:4486 msgid "Return ``True`` if *d* has a key *key*, else ``False``." msgstr "" -#: library/stdtypes.rst:4484 +#: library/stdtypes.rst:4490 msgid "Equivalent to ``not key in d``." msgstr "" -#: library/stdtypes.rst:4488 +#: library/stdtypes.rst:4494 msgid "" "Return an iterator over the keys of the dictionary. This is a shortcut for " "``iter(d.keys())``." msgstr "" -#: library/stdtypes.rst:4493 +#: library/stdtypes.rst:4499 msgid "Remove all items from the dictionary." msgstr "" -#: library/stdtypes.rst:4497 +#: library/stdtypes.rst:4503 msgid "Return a shallow copy of the dictionary." msgstr "" -#: library/stdtypes.rst:4501 +#: library/stdtypes.rst:4507 msgid "" "Create a new dictionary with keys from *iterable* and values set to *value*." msgstr "" -#: library/stdtypes.rst:4503 +#: library/stdtypes.rst:4509 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 " @@ -5614,70 +5616,70 @@ msgid "" "` instead." msgstr "" -#: library/stdtypes.rst:4511 +#: library/stdtypes.rst:4517 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 " "raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4517 +#: library/stdtypes.rst:4523 msgid "" "Return a new view of the dictionary's items (``(key, value)`` pairs). See " "the :ref:`documentation of view objects `." msgstr "" -#: library/stdtypes.rst:4522 +#: library/stdtypes.rst:4528 msgid "" "Return a new view of the dictionary's keys. See the :ref:`documentation of " "view objects `." msgstr "" -#: library/stdtypes.rst:4527 +#: library/stdtypes.rst:4533 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 :" "exc:`KeyError` is raised." msgstr "" -#: library/stdtypes.rst:4533 +#: library/stdtypes.rst:4539 msgid "" "Remove and return a ``(key, value)`` pair from the dictionary. Pairs are " "returned in :abbr:`LIFO (last-in, first-out)` order." msgstr "" -#: library/stdtypes.rst:4536 +#: library/stdtypes.rst:4542 msgid "" ":meth:`popitem` is useful to destructively iterate over a dictionary, as " "often used in set algorithms. If the dictionary is empty, calling :meth:" "`popitem` raises a :exc:`KeyError`." msgstr "" -#: library/stdtypes.rst:4540 +#: library/stdtypes.rst:4546 msgid "" "LIFO order is now guaranteed. In prior versions, :meth:`popitem` would " "return an arbitrary key/value pair." msgstr "" -#: library/stdtypes.rst:4546 +#: library/stdtypes.rst:4552 msgid "" "Return a reverse iterator over the keys of the dictionary. This is a " "shortcut for ``reversed(d.keys())``." msgstr "" -#: library/stdtypes.rst:4553 +#: library/stdtypes.rst:4559 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``." msgstr "" -#: library/stdtypes.rst:4559 +#: library/stdtypes.rst:4565 msgid "" "Update the dictionary with the key/value pairs from *other*, overwriting " "existing keys. Return ``None``." msgstr "" -#: library/stdtypes.rst:4562 +#: library/stdtypes.rst:4568 msgid "" ":meth:`update` accepts either another dictionary object or an iterable of " "key/value pairs (as tuples or other iterables of length two). If keyword " @@ -5685,71 +5687,71 @@ msgid "" "pairs: ``d.update(red=1, blue=2)``." msgstr "" -#: library/stdtypes.rst:4569 +#: library/stdtypes.rst:4575 msgid "" "Return a new view of the dictionary's values. See the :ref:`documentation " "of view objects `." msgstr "" -#: library/stdtypes.rst:4572 +#: library/stdtypes.rst:4578 msgid "" "An equality comparison between one ``dict.values()`` view and another will " "always return ``False``. This also applies when comparing ``dict.values()`` " "to itself::" msgstr "" -#: library/stdtypes.rst:4582 +#: library/stdtypes.rst:4588 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 " "*d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4590 +#: library/stdtypes.rst:4596 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 " "values of *other* take priority when *d* and *other* share keys." msgstr "" -#: library/stdtypes.rst:4596 +#: library/stdtypes.rst:4602 msgid "" "Dictionaries compare equal if and only if they have the same ``(key, " "value)`` pairs (regardless of ordering). Order comparisons ('<', '<=', '>=', " "'>') raise :exc:`TypeError`." msgstr "" -#: library/stdtypes.rst:4600 +#: library/stdtypes.rst:4606 msgid "" "Dictionaries preserve insertion order. Note that updating a key does not " "affect the order. Keys added after deletion are inserted at the end. ::" msgstr "" -#: library/stdtypes.rst:4618 +#: library/stdtypes.rst:4624 msgid "" "Dictionary order is guaranteed to be insertion order. This behavior was an " "implementation detail of CPython from 3.6." msgstr "" -#: library/stdtypes.rst:4622 +#: library/stdtypes.rst:4628 msgid "Dictionaries and dictionary views are reversible. ::" msgstr "" -#: library/stdtypes.rst:4634 +#: library/stdtypes.rst:4640 msgid "Dictionaries are now reversible." msgstr "" -#: library/stdtypes.rst:4639 +#: library/stdtypes.rst:4645 msgid "" ":class:`types.MappingProxyType` can be used to create a read-only view of a :" "class:`dict`." msgstr "" -#: library/stdtypes.rst:4646 +#: library/stdtypes.rst:4652 msgid "Dictionary view objects" msgstr "" -#: library/stdtypes.rst:4648 +#: library/stdtypes.rst:4654 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 " @@ -5757,23 +5759,23 @@ msgid "" "reflects these changes." msgstr "" -#: library/stdtypes.rst:4653 +#: library/stdtypes.rst:4659 msgid "" "Dictionary views can be iterated over to yield their respective data, and " "support membership tests:" msgstr "" -#: library/stdtypes.rst:4658 +#: library/stdtypes.rst:4664 msgid "Return the number of entries in the dictionary." msgstr "" -#: library/stdtypes.rst:4662 +#: library/stdtypes.rst:4668 msgid "" "Return an iterator over the keys, values or items (represented as tuples of " "``(key, value)``) in the dictionary." msgstr "" -#: library/stdtypes.rst:4665 +#: library/stdtypes.rst:4671 msgid "" "Keys and values are iterated over in insertion order. This allows the " "creation of ``(value, key)`` pairs using :func:`zip`: ``pairs = zip(d." @@ -5781,39 +5783,39 @@ msgid "" "[(v, k) for (k, v) in d.items()]``." msgstr "" -#: library/stdtypes.rst:4670 +#: library/stdtypes.rst:4676 msgid "" "Iterating views while adding or deleting entries in the dictionary may raise " "a :exc:`RuntimeError` or fail to iterate over all entries." msgstr "" -#: library/stdtypes.rst:4673 +#: library/stdtypes.rst:4679 msgid "Dictionary order is guaranteed to be insertion order." msgstr "" -#: library/stdtypes.rst:4678 +#: library/stdtypes.rst:4684 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)." msgstr "" -#: library/stdtypes.rst:4683 +#: library/stdtypes.rst:4689 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." msgstr "" -#: library/stdtypes.rst:4686 +#: library/stdtypes.rst:4692 msgid "Dictionary views are now reversible." msgstr "" -#: library/stdtypes.rst:4691 +#: library/stdtypes.rst:4697 msgid "" "Return a :class:`types.MappingProxyType` that wraps the original dictionary " "to which the view refers." msgstr "" -#: library/stdtypes.rst:4696 +#: library/stdtypes.rst:4702 msgid "" "Keys views are set-like since their entries are unique and hashable. If all " "values are hashable, so that ``(key, value)`` pairs are unique and hashable, " @@ -5823,15 +5825,15 @@ msgid "" "abc.Set` are available (for example, ``==``, ``<``, or ``^``)." msgstr "" -#: library/stdtypes.rst:4703 +#: library/stdtypes.rst:4709 msgid "An example of dictionary view usage::" msgstr "" -#: library/stdtypes.rst:4744 +#: library/stdtypes.rst:4750 msgid "Context Manager Types" msgstr "Bağlam Yöneticisi Türleri" -#: library/stdtypes.rst:4751 +#: library/stdtypes.rst:4757 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 " @@ -5839,7 +5841,7 @@ msgid "" "before the statement body is executed and exited when the statement ends:" msgstr "" -#: library/stdtypes.rst:4759 +#: library/stdtypes.rst:4765 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 " @@ -5847,14 +5849,14 @@ msgid "" "using this context manager." msgstr "" -#: library/stdtypes.rst:4764 +#: library/stdtypes.rst:4770 msgid "" "An example of a context manager that returns itself is a :term:`file " "object`. File objects return themselves from __enter__() to allow :func:" "`open` to be used as the context expression in a :keyword:`with` statement." msgstr "" -#: library/stdtypes.rst:4768 +#: library/stdtypes.rst:4774 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 " @@ -5864,7 +5866,7 @@ msgid "" "the :keyword:`!with` statement." msgstr "" -#: library/stdtypes.rst:4778 +#: library/stdtypes.rst:4784 msgid "" "Exit the runtime context and return a Boolean flag indicating if any " "exception that occurred should be suppressed. If an exception occurred while " @@ -5873,7 +5875,7 @@ msgid "" "arguments are ``None``." msgstr "" -#: library/stdtypes.rst:4783 +#: library/stdtypes.rst:4789 msgid "" "Returning a true value from this method will cause the :keyword:`with` " "statement to suppress the exception and continue execution with the " @@ -5884,7 +5886,7 @@ msgid "" "statement." msgstr "" -#: library/stdtypes.rst:4790 +#: library/stdtypes.rst:4796 msgid "" "The exception passed in should never be reraised explicitly - instead, this " "method should return a false value to indicate that the method completed " @@ -5893,7 +5895,7 @@ msgid "" "method has actually failed." msgstr "" -#: library/stdtypes.rst:4796 +#: library/stdtypes.rst:4802 msgid "" "Python defines several context managers to support easy thread " "synchronisation, prompt closure of files or other objects, and simpler " @@ -5902,7 +5904,7 @@ msgid "" "management protocol. See the :mod:`contextlib` module for some examples." msgstr "" -#: library/stdtypes.rst:4802 +#: library/stdtypes.rst:4808 msgid "" "Python's :term:`generator`\\s and the :class:`contextlib.contextmanager` " "decorator provide a convenient way to implement these protocols. If a " @@ -5912,7 +5914,7 @@ msgid "" "rather than the iterator produced by an undecorated generator function." msgstr "" -#: library/stdtypes.rst:4809 +#: library/stdtypes.rst:4815 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 " @@ -5921,23 +5923,23 @@ msgid "" "a single class dictionary lookup is negligible." msgstr "" -#: library/stdtypes.rst:4817 +#: library/stdtypes.rst:4823 msgid "" "Type Annotation Types --- :ref:`Generic Alias `, :ref:" "`Union `" msgstr "" -#: library/stdtypes.rst:4822 +#: library/stdtypes.rst:4828 msgid "" "The core built-in types for :term:`type annotations ` are :ref:" "`Generic Alias ` and :ref:`Union `." msgstr "" -#: library/stdtypes.rst:4829 +#: library/stdtypes.rst:4835 msgid "Generic Alias Type" msgstr "Genel Takma Ad Türü" -#: library/stdtypes.rst:4835 +#: library/stdtypes.rst:4841 msgid "" "``GenericAlias`` objects are generally created by :ref:`subscripting " "` a class. They are most often used with :ref:`container " @@ -5947,13 +5949,13 @@ msgid "" "are intended primarily for use with :term:`type annotations `." msgstr "" -#: library/stdtypes.rst:4845 +#: library/stdtypes.rst:4851 msgid "" "It is generally only possible to subscript a class if the class implements " "the special method :meth:`~object.__class_getitem__`." msgstr "" -#: library/stdtypes.rst:4848 +#: library/stdtypes.rst:4854 #, fuzzy msgid "" "A ``GenericAlias`` object acts as a proxy for a :term:`generic type`, " @@ -5963,7 +5965,7 @@ msgstr "" "vekil olarak hareket eder, *parametreli jenerikler* uygulamak - kapsayıcı " "öğeleri için türler sağlayan belirli bir jenerik örneği." -#: library/stdtypes.rst:4851 +#: library/stdtypes.rst:4857 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 " @@ -5972,7 +5974,7 @@ msgid "" "`bytes`." msgstr "" -#: library/stdtypes.rst:4857 +#: library/stdtypes.rst:4863 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 " @@ -5981,7 +5983,7 @@ msgid "" "the :class:`str` data type and the :class:`bytes` data type:" msgstr "" -#: library/stdtypes.rst:4863 +#: library/stdtypes.rst:4869 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 " @@ -5989,7 +5991,7 @@ msgid "" "annotations with the ``GenericAlias`` ``re.Match[str]``." msgstr "" -#: library/stdtypes.rst:4869 +#: library/stdtypes.rst:4875 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." @@ -5998,7 +6000,7 @@ msgid "" "objects>` objects with ``re.Match[bytes]``." msgstr "" -#: library/stdtypes.rst:4875 +#: library/stdtypes.rst:4881 #, fuzzy msgid "" "``GenericAlias`` objects are instances of the class :class:`types." @@ -6010,7 +6012,7 @@ msgstr "" "kullanılabilir. Ayrıca doğrudan ``GenericAlias`` nesneleri oluşturmak için " "de kullanılabilir." -#: library/stdtypes.rst:4881 +#: library/stdtypes.rst:4887 #, fuzzy msgid "" "Creates a ``GenericAlias`` representing a type ``T`` parameterized by types " @@ -6022,7 +6024,7 @@ msgstr "" "Örneğin, :class:`float` elemanları içeren bir :class:`list` bekleyen bir " "fonksiyon::" -#: library/stdtypes.rst:4889 +#: library/stdtypes.rst:4895 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 " @@ -6034,7 +6036,7 @@ msgstr "" "başka bir örnek. Bu örnekte, fonksiyon :class:`str` türünde anahtarları ve :" "class:`int` türünde değerleri olan bir ``dict`` bekler::" -#: library/stdtypes.rst:4897 +#: library/stdtypes.rst:4903 msgid "" "The builtin functions :func:`isinstance` and :func:`issubclass` do not " "accept ``GenericAlias`` types for their second argument::" @@ -6042,7 +6044,7 @@ msgstr "" "Yerleşik :func:`isinstance` ve :func:`issubclass` işlevleri ikinci " "argümanları için ``GenericAlias`` türlerini kabul etmez::" -#: library/stdtypes.rst:4905 +#: library/stdtypes.rst:4911 #, fuzzy msgid "" "The Python runtime does not enforce :term:`type annotations `. " @@ -6057,7 +6059,7 @@ msgstr "" "türlerine göre kontrol edilmez. Örneğin, aşağıdaki kod tavsiye edilmez, " "ancak hatasız çalışacaktır::" -#: library/stdtypes.rst:4915 +#: library/stdtypes.rst:4921 msgid "" "Furthermore, parameterized generics erase type parameters during object " "creation::" @@ -6065,7 +6067,7 @@ msgstr "" "Ayrıca, parametrelendirilmiş jenerikler nesne oluşturma sırasında tip " "parametrelerini siler::" -#: library/stdtypes.rst:4926 +#: library/stdtypes.rst:4932 msgid "" "Calling :func:`repr` or :func:`str` on a generic shows the parameterized " "type::" @@ -6073,7 +6075,7 @@ msgstr "" "Bir jenerik üzerinde :func:`repr` veya :func:`str` çağrısı " "parametrelendirilmiş türü gösterir::" -#: library/stdtypes.rst:4934 +#: library/stdtypes.rst:4940 #, fuzzy msgid "" "The :meth:`~object.__getitem__` method of generic containers will raise an " @@ -6082,7 +6084,7 @@ msgstr "" "Generics'in :meth:`__getitem__` yöntemi, ``dict[str][str]``: gibi hatalara " "izin vermemek için bir istisna oluşturacaktır:" -#: library/stdtypes.rst:4942 +#: library/stdtypes.rst:4948 #, fuzzy msgid "" "However, such expressions are valid when :ref:`type variables ` " @@ -6094,12 +6096,12 @@ msgstr "" "öğesindeki tür değişkeni öğeleri kadar öğeye sahip olmalıdır `. ::" -#: library/stdtypes.rst:4953 +#: library/stdtypes.rst:4959 #, fuzzy msgid "Standard Generic Classes" msgstr "Standart Jenerik Koleksiyonlar" -#: library/stdtypes.rst:4955 +#: library/stdtypes.rst:4961 #, fuzzy msgid "" "The following standard library classes support parameterized generics. This " @@ -6108,244 +6110,244 @@ msgstr "" "Bu standart kütüphane koleksiyonları parametrelendirilmiş jenerikleri " "destekler." -#: library/stdtypes.rst:4958 +#: library/stdtypes.rst:4964 msgid ":class:`tuple`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4959 +#: library/stdtypes.rst:4965 msgid ":class:`list`" msgstr ":class:`list`" -#: library/stdtypes.rst:4960 +#: library/stdtypes.rst:4966 msgid ":class:`dict`" msgstr ":class:`dict`" -#: library/stdtypes.rst:4961 +#: library/stdtypes.rst:4967 msgid ":class:`set`" msgstr ":class:`set`" -#: library/stdtypes.rst:4962 +#: library/stdtypes.rst:4968 msgid ":class:`frozenset`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4963 +#: library/stdtypes.rst:4969 msgid ":class:`type`" msgstr ":class:`type`" -#: library/stdtypes.rst:4964 +#: library/stdtypes.rst:4970 msgid ":class:`collections.deque`" msgstr ":class:`collections.deque`" -#: library/stdtypes.rst:4965 +#: library/stdtypes.rst:4971 msgid ":class:`collections.defaultdict`" msgstr ":class:`collections.defaultdict`" -#: library/stdtypes.rst:4966 +#: library/stdtypes.rst:4972 msgid ":class:`collections.OrderedDict`" msgstr ":class:`collections.OrderedDict`" -#: library/stdtypes.rst:4967 +#: library/stdtypes.rst:4973 msgid ":class:`collections.Counter`" msgstr ":class:`collections.Counter`" -#: library/stdtypes.rst:4968 +#: library/stdtypes.rst:4974 msgid ":class:`collections.ChainMap`" msgstr ":class:`collections.ChainMap`" -#: library/stdtypes.rst:4969 +#: library/stdtypes.rst:4975 msgid ":class:`collections.abc.Awaitable`" msgstr ":class:`collections.abc.Awaitable`" -#: library/stdtypes.rst:4970 +#: library/stdtypes.rst:4976 msgid ":class:`collections.abc.Coroutine`" msgstr ":class:`collections.abc.Coroutine`" -#: library/stdtypes.rst:4971 +#: library/stdtypes.rst:4977 msgid ":class:`collections.abc.AsyncIterable`" msgstr ":class:`collections.abc.AsyncIterable`" -#: library/stdtypes.rst:4972 +#: library/stdtypes.rst:4978 msgid ":class:`collections.abc.AsyncIterator`" msgstr ":class:`collections.abc.AsyncIterator`" -#: library/stdtypes.rst:4973 +#: library/stdtypes.rst:4979 msgid ":class:`collections.abc.AsyncGenerator`" msgstr ":class:`collections.abc.AsyncGenerator`" -#: library/stdtypes.rst:4974 +#: library/stdtypes.rst:4980 msgid ":class:`collections.abc.Iterable`" msgstr ":class:`collections.abc.Iterable`" -#: library/stdtypes.rst:4975 +#: library/stdtypes.rst:4981 msgid ":class:`collections.abc.Iterator`" msgstr ":class:`collections.abc.Iterator`" -#: library/stdtypes.rst:4976 +#: library/stdtypes.rst:4982 msgid ":class:`collections.abc.Generator`" msgstr ":class:`collections.abc.Generator`" -#: library/stdtypes.rst:4977 +#: library/stdtypes.rst:4983 msgid ":class:`collections.abc.Reversible`" msgstr ":class:`collections.abc.Reversible`" -#: library/stdtypes.rst:4978 +#: library/stdtypes.rst:4984 msgid ":class:`collections.abc.Container`" msgstr ":class:`collections.abc.Container`" -#: library/stdtypes.rst:4979 +#: library/stdtypes.rst:4985 msgid ":class:`collections.abc.Collection`" msgstr ":class:`collections.abc.Collection`" -#: library/stdtypes.rst:4980 +#: library/stdtypes.rst:4986 msgid ":class:`collections.abc.Callable`" msgstr ":class:`collections.abc.Callable`" -#: library/stdtypes.rst:4981 +#: library/stdtypes.rst:4987 msgid ":class:`collections.abc.Set`" msgstr ":class:`collections.abc.Set`" -#: library/stdtypes.rst:4982 +#: library/stdtypes.rst:4988 msgid ":class:`collections.abc.MutableSet`" msgstr ":class:`collections.abc.MutableSet`" -#: library/stdtypes.rst:4983 +#: library/stdtypes.rst:4989 msgid ":class:`collections.abc.Mapping`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:4984 +#: library/stdtypes.rst:4990 msgid ":class:`collections.abc.MutableMapping`" msgstr ":class:`collections.abc.MutableMapping`" -#: library/stdtypes.rst:4985 +#: library/stdtypes.rst:4991 msgid ":class:`collections.abc.Sequence`" msgstr ":class:`collections.abc.Sequence`" -#: library/stdtypes.rst:4986 +#: library/stdtypes.rst:4992 msgid ":class:`collections.abc.MutableSequence`" msgstr ":class:`collections.abc.MutableSequence`" -#: library/stdtypes.rst:4987 +#: library/stdtypes.rst:4993 msgid ":class:`collections.abc.ByteString`" msgstr ":class:`collections.abc.ByteString`" -#: library/stdtypes.rst:4988 +#: library/stdtypes.rst:4994 msgid ":class:`collections.abc.MappingView`" msgstr ":class:`collections.abc.MappingView`" -#: library/stdtypes.rst:4989 +#: library/stdtypes.rst:4995 msgid ":class:`collections.abc.KeysView`" msgstr ":class:`collections.abc.KeysView`" -#: library/stdtypes.rst:4990 +#: library/stdtypes.rst:4996 msgid ":class:`collections.abc.ItemsView`" msgstr ":class:`collections.abc.ItemsView`" -#: library/stdtypes.rst:4991 +#: library/stdtypes.rst:4997 msgid ":class:`collections.abc.ValuesView`" msgstr ":class:`collections.abc.ValuesView`" -#: library/stdtypes.rst:4992 +#: library/stdtypes.rst:4998 msgid ":class:`contextlib.AbstractContextManager`" msgstr ":class:`contextlib.AbstractContextManager`" -#: library/stdtypes.rst:4993 +#: library/stdtypes.rst:4999 msgid ":class:`contextlib.AbstractAsyncContextManager`" msgstr ":class:`contextlib.AbstractAsyncContextManager`" -#: library/stdtypes.rst:4994 +#: library/stdtypes.rst:5000 #, fuzzy msgid ":class:`dataclasses.Field`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:4995 +#: library/stdtypes.rst:5001 msgid ":class:`functools.cached_property`" msgstr "" -#: library/stdtypes.rst:4996 +#: library/stdtypes.rst:5002 msgid ":class:`functools.partialmethod`" msgstr "" -#: library/stdtypes.rst:4997 +#: library/stdtypes.rst:5003 #, fuzzy msgid ":class:`os.PathLike`" msgstr ":class:`set`" -#: library/stdtypes.rst:4998 +#: library/stdtypes.rst:5004 #, fuzzy msgid ":class:`queue.LifoQueue`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:4999 +#: library/stdtypes.rst:5005 #, fuzzy msgid ":class:`queue.Queue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5000 +#: library/stdtypes.rst:5006 msgid ":class:`queue.PriorityQueue`" msgstr "" -#: library/stdtypes.rst:5001 +#: library/stdtypes.rst:5007 #, fuzzy msgid ":class:`queue.SimpleQueue`" msgstr ":class:`tuple`" -#: library/stdtypes.rst:5002 +#: library/stdtypes.rst:5008 msgid ":ref:`re.Pattern `" msgstr ":ref:`re.Pattern `" -#: library/stdtypes.rst:5003 +#: library/stdtypes.rst:5009 msgid ":ref:`re.Match `" msgstr ":ref:`re.Match `" -#: library/stdtypes.rst:5004 +#: library/stdtypes.rst:5010 msgid ":class:`shelve.BsdDbShelf`" msgstr "" -#: library/stdtypes.rst:5005 +#: library/stdtypes.rst:5011 msgid ":class:`shelve.DbfilenameShelf`" msgstr "" -#: library/stdtypes.rst:5006 +#: library/stdtypes.rst:5012 #, fuzzy msgid ":class:`shelve.Shelf`" msgstr ":class:`set`" -#: library/stdtypes.rst:5007 +#: library/stdtypes.rst:5013 #, fuzzy msgid ":class:`types.MappingProxyType`" msgstr ":class:`collections.abc.Mapping`" -#: library/stdtypes.rst:5008 +#: library/stdtypes.rst:5014 msgid ":class:`weakref.WeakKeyDictionary`" msgstr "" -#: library/stdtypes.rst:5009 +#: library/stdtypes.rst:5015 msgid ":class:`weakref.WeakMethod`" msgstr "" -#: library/stdtypes.rst:5010 +#: library/stdtypes.rst:5016 #, fuzzy msgid ":class:`weakref.WeakSet`" msgstr ":class:`frozenset`" -#: library/stdtypes.rst:5011 +#: library/stdtypes.rst:5017 msgid ":class:`weakref.WeakValueDictionary`" msgstr "" -#: library/stdtypes.rst:5016 +#: library/stdtypes.rst:5022 #, fuzzy msgid "Special Attributes of ``GenericAlias`` objects" msgstr "Genel Takma Adın Özel Öznitelikleri" -#: library/stdtypes.rst:5018 +#: library/stdtypes.rst:5024 msgid "All parameterized generics implement special read-only attributes." msgstr "Tüm parametreli jenerikler özel salt okunur öznitelikler uygular." -#: library/stdtypes.rst:5022 +#: library/stdtypes.rst:5028 msgid "This attribute points at the non-parameterized generic class::" msgstr "Bu öznitelik, parametrelendirilmemiş genel sınıfa işaret eder::" -#: library/stdtypes.rst:5030 +#: library/stdtypes.rst:5036 #, fuzzy msgid "" "This attribute is a :class:`tuple` (possibly of length 1) of generic types " @@ -6355,7 +6357,7 @@ msgstr "" "Bu öznitelik, genel kabın orijinal :meth:`__class_getitem__` öğesine " "geçirilen genel türlerin :class:`tuple` (muhtemelen uzunluğu 1'dir):" -#: library/stdtypes.rst:5040 +#: library/stdtypes.rst:5046 msgid "" "This attribute is a lazily computed tuple (possibly empty) of unique type " "variables found in ``__args__``::" @@ -6363,7 +6365,7 @@ msgstr "" "Bu öznitelik, ''__args__'' içinde bulunan benzersiz tür değişkenlerin tembel " "bir şekilde hesaplanmış bir demetidir (muhtemelen boş):" -#: library/stdtypes.rst:5051 +#: library/stdtypes.rst:5057 msgid "" "A ``GenericAlias`` object with :class:`typing.ParamSpec` parameters may not " "have correct ``__parameters__`` after substitution because :class:`typing." @@ -6373,49 +6375,49 @@ msgstr "" "değiştirildikten sonra doğru ``__parameters__`` olmayabilir çünkü :class:" "`typing.ParamSpec` öncelikle statik tip kontrolü için tasarlanmıştır." -#: library/stdtypes.rst:5058 +#: library/stdtypes.rst:5064 msgid "" "A boolean that is true if the alias has been unpacked using the ``*`` " "operator (see :data:`~typing.TypeVarTuple`)." msgstr "" -#: library/stdtypes.rst:5067 +#: library/stdtypes.rst:5073 msgid ":pep:`484` - Type Hints" msgstr "" -#: library/stdtypes.rst:5067 +#: library/stdtypes.rst:5073 msgid "Introducing Python's framework for type annotations." msgstr "" -#: library/stdtypes.rst:5072 +#: library/stdtypes.rst:5078 #, fuzzy msgid ":pep:`585` - Type Hinting Generics In Standard Collections" msgstr ":pep:`585` -- \"Standart Koleksiyonlarda Tip İma Eden Jenerikler\"" -#: library/stdtypes.rst:5070 +#: library/stdtypes.rst:5076 msgid "" "Introducing the ability to natively parameterize standard-library classes, " "provided they implement the special class method :meth:`~object." "__class_getitem__`." msgstr "" -#: library/stdtypes.rst:5075 +#: library/stdtypes.rst:5081 msgid "" ":ref:`Generics`, :ref:`user-defined generics ` and :" "class:`typing.Generic`" msgstr "" -#: library/stdtypes.rst:5075 +#: library/stdtypes.rst:5081 msgid "" "Documentation on how to implement generic classes that can be parameterized " "at runtime and understood by static type-checkers." msgstr "" -#: library/stdtypes.rst:5084 +#: library/stdtypes.rst:5090 msgid "Union Type" msgstr "Sendika Türü" -#: library/stdtypes.rst:5090 +#: library/stdtypes.rst:5096 msgid "" "A union object holds the value of the ``|`` (bitwise or) operation on " "multiple :ref:`type objects `. These types are intended " @@ -6429,7 +6431,7 @@ msgstr "" "Birleşim türü ifadesi, aşağıdakilere kıyasla daha temiz tür ipucu sözdizimi " "sağlar :data:`typing.Union`." -#: library/stdtypes.rst:5097 +#: library/stdtypes.rst:5103 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 " @@ -6440,34 +6442,34 @@ msgstr "" "anlamına gelir. Bu, ``typing.Union[X, Y]`` ile eş değerdir. Örneğin, " "aşağıdaki işlev :class:`int` veya :class:`float`::" -#: library/stdtypes.rst:5107 +#: library/stdtypes.rst:5113 msgid "" "Union objects can be tested for equality with other union objects. Details:" msgstr "" "Birlik nesneleri, diğer birlik nesneleriyle eşitlik açısından test " "edilebilir. Detaylar:" -#: library/stdtypes.rst:5109 +#: library/stdtypes.rst:5115 msgid "Unions of unions are flattened::" msgstr "Birliklerin birlikleri düzleştirimiştir::" -#: library/stdtypes.rst:5113 +#: library/stdtypes.rst:5119 msgid "Redundant types are removed::" msgstr "Gereksiz türler kaldırılır::" -#: library/stdtypes.rst:5117 +#: library/stdtypes.rst:5123 msgid "When comparing unions, the order is ignored::" msgstr "Birlikleri karşılaştırırken, sipariş göz ardı edilir::" -#: library/stdtypes.rst:5121 +#: library/stdtypes.rst:5127 msgid "It is compatible with :data:`typing.Union`::" msgstr ":data:`typing.Union`:: ile uyumludur:" -#: library/stdtypes.rst:5125 +#: library/stdtypes.rst:5131 msgid "Optional types can be spelled as a union with ``None``::" msgstr "İsteğe bağlı türler ``None``:: ile bir birlik olarak yazılabilir:" -#: library/stdtypes.rst:5132 +#: library/stdtypes.rst:5138 msgid "" "Calls to :func:`isinstance` and :func:`issubclass` are also supported with a " "union object::" @@ -6475,13 +6477,13 @@ msgstr "" ":func:`isinstance` ve :func:`issubclass` çağrıları da bir birlik nesnesiyle " "desteklenir::" -#: library/stdtypes.rst:5138 +#: library/stdtypes.rst:5144 msgid "" "However, union objects containing :ref:`parameterized generics ` cannot be used::" msgstr "Ancak, :ref:`types-genericalias` içeren union nesneleri kullanılamaz::" -#: library/stdtypes.rst:5146 +#: library/stdtypes.rst:5152 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 " @@ -6491,7 +6493,7 @@ msgstr "" "erişilebilir ve :func:`isinstance` kontrolleri için kullanılabilir. Bir " "nesne şu türden örneklenemez::" -#: library/stdtypes.rst:5159 +#: library/stdtypes.rst:5165 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 override " @@ -6501,15 +6503,15 @@ msgstr "" "için eklendi. Eğer bir metaclass :meth:`__or__` metodunu uygularsa, Union " "bunu geçersiz kılabilir::" -#: library/stdtypes.rst:5177 +#: library/stdtypes.rst:5183 msgid ":pep:`604` -- PEP proposing the ``X | Y`` syntax and the Union type." msgstr ":pep:`604` -- ``X | Y`` sözdizimini ve Birlik türünü öneren PEP." -#: library/stdtypes.rst:5185 +#: library/stdtypes.rst:5191 msgid "Other Built-in Types" msgstr "Diğer Yerleşik Tipler" -#: library/stdtypes.rst:5187 +#: library/stdtypes.rst:5193 msgid "" "The interpreter supports several other kinds of objects. Most of these " "support only one or two operations." @@ -6517,11 +6519,11 @@ msgstr "" "Yorumlayıcı başka nesne türlerini de destekler. Bunların çoğu yalnızca bir " "veya iki işlemi destekler." -#: library/stdtypes.rst:5194 +#: library/stdtypes.rst:5200 msgid "Modules" msgstr "Modüller" -#: library/stdtypes.rst:5196 +#: library/stdtypes.rst:5202 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 " @@ -6539,7 +6541,7 @@ msgstr "" "bunun yerine bir yerlerde *foo* adında bir modül için (harici) bir " "*tanımlama* gerektirir)" -#: library/stdtypes.rst:5203 +#: library/stdtypes.rst:5209 msgid "" "A special attribute of every module is :attr:`~object.__dict__`. This is the " "dictionary containing the module's symbol table. Modifying this dictionary " @@ -6557,7 +6559,7 @@ msgstr "" "`` yazamazsınız). :attr:`~object.__dict__` öğesinin doğrudan değiştirilmesi " "önerilmez." -#: library/stdtypes.rst:5211 +#: library/stdtypes.rst:5217 msgid "" "Modules built into the interpreter are written like this: ````. If loaded from a file, they are written as ````. Eğer bir dosyadan yüklenmişlerse, ```` şeklinde yazılırlar." -#: library/stdtypes.rst:5219 +#: library/stdtypes.rst:5225 msgid "Classes and Class Instances" msgstr "Sınıflar ve Sınıf Örnekleri" -#: library/stdtypes.rst:5221 +#: library/stdtypes.rst:5227 msgid "See :ref:`objects` and :ref:`class` for these." msgstr "Bunlar için :ref:`class` ve :ref:`objects` bakın." -#: library/stdtypes.rst:5227 +#: library/stdtypes.rst:5233 msgid "Functions" msgstr "Fonksiyonlar" -#: library/stdtypes.rst:5229 +#: library/stdtypes.rst:5235 msgid "" "Function objects are created by function definitions. The only operation on " "a function object is to call it: ``func(argument-list)``." @@ -6588,7 +6590,7 @@ msgstr "" "fonksiyon nesnesi üzerindeki tek işlem onu çağırmaktır: ``func(argument-" "list)``." -#: library/stdtypes.rst:5232 +#: library/stdtypes.rst:5238 msgid "" "There are really two flavors of function objects: built-in functions and " "user-defined functions. Both support the same operation (to call the " @@ -6600,15 +6602,15 @@ msgstr "" "çağırmak için), ancak uygulama farklıdır, dolayısıyla farklı nesne türleri " "vardır." -#: library/stdtypes.rst:5236 +#: library/stdtypes.rst:5242 msgid "See :ref:`function` for more information." msgstr "Daha fazla bilgi için :ref:`function` bölümüne bakınız." -#: library/stdtypes.rst:5242 +#: library/stdtypes.rst:5248 msgid "Methods" msgstr "Yöntemler" -#: library/stdtypes.rst:5246 +#: library/stdtypes.rst:5252 msgid "" "Methods are functions that are called using the attribute notation. There " "are two flavors: built-in methods (such as :meth:`append` on lists) and " @@ -6620,7 +6622,7 @@ msgstr "" "yöntemleri. Yerleşik yöntemler, onları destekleyen türlerle birlikte " "tanımlanır." -#: library/stdtypes.rst:5251 +#: library/stdtypes.rst:5257 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 :dfn:" @@ -6640,7 +6642,7 @@ msgstr "" "``m(arg-1, arg-2, ..., arg-n)`` çağrısı tamamen ``m.__func__(m.__self__, " "arg-1, arg-2, ..., arg-n)`` çağrısına eş değerdir." -#: library/stdtypes.rst:5260 +#: library/stdtypes.rst:5266 msgid "" "Like function objects, bound method objects support getting arbitrary " "attributes. However, since method attributes are actually stored on the " @@ -6657,15 +6659,15 @@ msgstr "" "ayarlamak için, bunu temel işlev nesnesi üzerinde açıkça ayarlamanız " "gerekir::" -#: library/stdtypes.rst:5311 +#: library/stdtypes.rst:5317 msgid "See :ref:`types` for more information." msgstr "Daha fazla bilgi için :ref:`types` sayfasına bakın." -#: library/stdtypes.rst:5288 +#: library/stdtypes.rst:5294 msgid "Code Objects" msgstr "Kod Nesneleri" -#: library/stdtypes.rst:5294 +#: library/stdtypes.rst:5300 msgid "" "Code objects are used by the implementation to represent \"pseudo-compiled\" " "executable Python code such as a function body. They differ from function " @@ -6681,7 +6683,7 @@ msgstr "" "tarafından döndürülür ve :attr:`__code__` niteliği aracılığıyla işlev " "nesnelerinden çıkarılabilir. Ayrıca :mod:`code` modülüne de bakınız." -#: library/stdtypes.rst:5301 +#: library/stdtypes.rst:5307 msgid "" "Accessing ``__code__`` raises an :ref:`auditing event ` ``object." "__getattr__`` with arguments ``obj`` and ``\"__code__\"``." @@ -6689,7 +6691,7 @@ msgstr "" "``__code__`` 'e erişmek,``obj`` ve ``\"__code__\"`` argümanlarıyla :ref:" "`denetim etkinliği ` ``object.__getattr__`` oluşturur." -#: library/stdtypes.rst:5308 +#: library/stdtypes.rst:5314 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." @@ -6697,11 +6699,11 @@ msgstr "" "Bir kod nesnesi (kaynak dize yerine) :func:`exec` veya :func:`eval` yerleşik " "işlevlerine geçirilerek yürütülebilir veya değerlendirilebilir." -#: library/stdtypes.rst:5317 +#: library/stdtypes.rst:5323 msgid "Type Objects" msgstr "Type Objects" -#: library/stdtypes.rst:5323 +#: library/stdtypes.rst:5329 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 " @@ -6713,15 +6715,15 @@ msgstr "" "işlem yoktur. Standart modül :mod:`types` tüm standart yerleşik türler için " "isimleri tanımlar." -#: library/stdtypes.rst:5328 +#: library/stdtypes.rst:5334 msgid "Types are written like this: ````." msgstr "Türler şu şekilde yazılır: ````." -#: library/stdtypes.rst:5334 +#: library/stdtypes.rst:5340 msgid "The Null Object" msgstr "Null Nesne" -#: library/stdtypes.rst:5336 +#: library/stdtypes.rst:5342 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 " @@ -6731,15 +6733,15 @@ msgstr "" "operasyonları desteklemez. Tam olarak ``None`` (yerleşik bir ad) adlı bir " "null nesne vardır. ``type(None)()`` aynı singleton'u üretir." -#: library/stdtypes.rst:5340 +#: library/stdtypes.rst:5346 msgid "It is written as ``None``." msgstr "''Yok'' olarak yazılmıştır." -#: library/stdtypes.rst:5347 +#: library/stdtypes.rst:5353 msgid "The Ellipsis Object" msgstr "Üç Nokta Nesnesi" -#: library/stdtypes.rst:5349 +#: library/stdtypes.rst:5355 msgid "" "This object is commonly used by slicing (see :ref:`slicings`). It supports " "no special operations. There is exactly one ellipsis object, named :const:" @@ -6751,15 +6753,15 @@ msgstr "" "ad) adında bir elips nesnesi vardır. ``type(Ellipsis)()``, :const:" "`Ellipsis` singletonunu üretir." -#: library/stdtypes.rst:5354 +#: library/stdtypes.rst:5360 msgid "It is written as ``Ellipsis`` or ``...``." msgstr "``Ellipsis`` veya ``...`` olarak yazılmıştır." -#: library/stdtypes.rst:5360 +#: library/stdtypes.rst:5366 msgid "The NotImplemented Object" msgstr "NotImplemented Nesnesi" -#: library/stdtypes.rst:5362 +#: library/stdtypes.rst:5368 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 " @@ -6771,15 +6773,15 @@ msgstr "" "ref:`comparisons` sayfasına bakın. Tam olarak bir ``NotImplemented`` " "nesnesi vardır. ``type(NotImplemented)()``, singleton örneğini üretir." -#: library/stdtypes.rst:5367 +#: library/stdtypes.rst:5373 msgid "It is written as ``NotImplemented``." msgstr "''NotImplemented'' olarak yazılmıştır." -#: library/stdtypes.rst:5373 +#: library/stdtypes.rst:5379 msgid "Boolean Values" msgstr "Boolean Değerleri" -#: library/stdtypes.rst:5375 +#: library/stdtypes.rst:5381 msgid "" "Boolean values are the two constant objects ``False`` and ``True``. They " "are used to represent truth values (although other values can also be " @@ -6798,15 +6800,15 @@ msgstr "" "Boolean'a dönüştürmek için kullanılabilir (yukarıdaki bölüm :ref:`truth` a " "bakın)." -#: library/stdtypes.rst:5388 +#: library/stdtypes.rst:5394 msgid "They are written as ``False`` and ``True``, respectively." msgstr "Sırasıyla ``Yanlış`` ve ``Doğru`` olarak yazılırlar." -#: library/stdtypes.rst:5394 +#: library/stdtypes.rst:5400 msgid "Internal Objects" msgstr "İç Nesneler" -#: library/stdtypes.rst:5396 +#: library/stdtypes.rst:5402 msgid "" "See :ref:`types` for this information. It describes stack frame objects, " "traceback objects, and slice objects." @@ -6814,11 +6816,11 @@ msgstr "" "Bu bilgi için :ref:`types` sayfasına bakın. Yığın çerçeve nesnelerini, geri " "izleme nesnelerini ve dilim nesnelerini açıklar." -#: library/stdtypes.rst:5403 +#: library/stdtypes.rst:5409 msgid "Special Attributes" msgstr "Özel Özellikler" -#: library/stdtypes.rst:5405 +#: library/stdtypes.rst:5411 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:" @@ -6828,7 +6830,7 @@ msgstr "" "öznitelik ekler. Bunlardan bazıları :func:`dir` yerleşik işlevi tarafından " "bildirilmez." -#: library/stdtypes.rst:5412 +#: library/stdtypes.rst:5418 msgid "" "A dictionary or other mapping object used to store an object's (writable) " "attributes." @@ -6836,20 +6838,20 @@ msgstr "" "Bir nesnenin (yazılabilir) özniteliklerini depolamak için kullanılan sözlük " "veya başka bir eşleme nesnesi." -#: library/stdtypes.rst:5418 +#: library/stdtypes.rst:5424 msgid "The class to which a class instance belongs." msgstr "Bir sınıf örneğinin ait olduğu sınıf." -#: library/stdtypes.rst:5423 +#: library/stdtypes.rst:5429 msgid "The tuple of base classes of a class object." msgstr "Bir sınıf elemanının temel sınıflarının kümesi." -#: library/stdtypes.rst:5428 +#: library/stdtypes.rst:5434 msgid "" "The name of the class, function, method, descriptor, or generator instance." msgstr "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin adı." -#: library/stdtypes.rst:5434 +#: library/stdtypes.rst:5440 msgid "" "The :term:`qualified name` of the class, function, method, descriptor, or " "generator instance." @@ -6857,7 +6859,7 @@ msgstr "" "Sınıf, fonksiyon, yöntem, tanımlayıcı veya üretici örneğinin :term:" "`qualified name`." -#: library/stdtypes.rst:5442 +#: library/stdtypes.rst:5448 msgid "" "This attribute is a tuple of classes that are considered when looking for " "base classes during method resolution." @@ -6865,7 +6867,7 @@ msgstr "" "Bu öznitelik, yöntem çözümlemesi sırasında temel sınıfları ararken dikkate " "alınan bir sınıf kümesidir." -#: library/stdtypes.rst:5448 +#: library/stdtypes.rst:5454 msgid "" "This method can be overridden by a metaclass to customize the method " "resolution order for its instances. It is called at class instantiation, " @@ -6875,7 +6877,7 @@ msgstr "" "meta sınıf tarafından geçersiz kılınabilir. Sınıf örneğinde çağrılır ve " "sonucu :attr:`~class.__mro__` içinde depolanır." -#: library/stdtypes.rst:5455 +#: library/stdtypes.rst:5461 msgid "" "Each class keeps a list of weak references to its immediate subclasses. " "This method returns a list of all those references still alive. The list is " @@ -6885,11 +6887,11 @@ msgstr "" "tutar. Bu yöntem, hala var olan tüm bu başvuruların bir listesini " "döndürür. Liste tanım sırasına göredir. Örnek::" -#: library/stdtypes.rst:5466 +#: library/stdtypes.rst:5472 msgid "Integer string conversion length limitation" msgstr "" -#: library/stdtypes.rst:5468 +#: library/stdtypes.rst:5474 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 " @@ -6897,9 +6899,9 @@ msgid "" "binary conversions are unlimited. The limit can be configured." msgstr "" -#: library/stdtypes.rst:5473 +#: library/stdtypes.rst:5479 msgid "" -"The :class:`int` type in CPython is an abitrary length number stored in " +"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 " "can convert a string to a binary integer or a binary integer to a string in " "linear time, *unless* the base is a power of 2. Even the best known " @@ -6907,25 +6909,25 @@ msgid "" "value such as ``int('1' * 500_000)`` can take over a second on a fast CPU." msgstr "" -#: library/stdtypes.rst:5480 +#: library/stdtypes.rst:5486 msgid "" "Limiting conversion size offers a practical way to avoid `CVE-2020-10735 " "`_." msgstr "" -#: library/stdtypes.rst:5483 +#: library/stdtypes.rst:5489 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. " "Underscores and the sign are not counted towards the limit." msgstr "" -#: library/stdtypes.rst:5487 +#: library/stdtypes.rst:5493 msgid "" "When an operation would exceed the limit, a :exc:`ValueError` is raised:" msgstr "" -#: library/stdtypes.rst:5509 +#: library/stdtypes.rst:5515 msgid "" "The default limit is 4300 digits as provided in :data:`sys.int_info." "default_max_str_digits `. The lowest limit that can be " @@ -6933,136 +6935,136 @@ msgid "" "str_digits_check_threshold `." msgstr "" -#: library/stdtypes.rst:5514 +#: library/stdtypes.rst:5520 #, fuzzy msgid "Verification:" msgstr "İşlem" -#: library/stdtypes.rst:5529 +#: library/stdtypes.rst:5535 msgid "Affected APIs" msgstr "" -#: library/stdtypes.rst:5531 +#: library/stdtypes.rst:5537 msgid "" "The limitation only applies to potentially slow conversions between :class:" "`int` and :class:`str` or :class:`bytes`:" msgstr "" -#: library/stdtypes.rst:5534 +#: library/stdtypes.rst:5540 msgid "``int(string)`` with default base 10." msgstr "" -#: library/stdtypes.rst:5535 +#: library/stdtypes.rst:5541 msgid "``int(string, base)`` for all bases that are not a power of 2." msgstr "" -#: library/stdtypes.rst:5536 +#: library/stdtypes.rst:5542 msgid "``str(integer)``." msgstr "" -#: library/stdtypes.rst:5537 -msgid "``repr(integer)``" +#: library/stdtypes.rst:5543 +msgid "``repr(integer)``." msgstr "" -#: library/stdtypes.rst:5538 +#: library/stdtypes.rst:5544 msgid "" "any other string conversion to base 10, for example ``f\"{integer}\"``, " "``\"{}\".format(integer)``, or ``b\"%d\" % integer``." msgstr "" -#: library/stdtypes.rst:5541 +#: library/stdtypes.rst:5547 msgid "The limitations do not apply to functions with a linear algorithm:" msgstr "" -#: library/stdtypes.rst:5543 +#: library/stdtypes.rst:5549 msgid "``int(string, base)`` with base 2, 4, 8, 16, or 32." msgstr "" -#: library/stdtypes.rst:5544 +#: library/stdtypes.rst:5550 msgid ":func:`int.from_bytes` and :func:`int.to_bytes`." msgstr "" -#: library/stdtypes.rst:5545 +#: library/stdtypes.rst:5551 msgid ":func:`hex`, :func:`oct`, :func:`bin`." msgstr "" -#: library/stdtypes.rst:5546 +#: library/stdtypes.rst:5552 msgid ":ref:`formatspec` for hex, octal, and binary numbers." msgstr "" -#: library/stdtypes.rst:5547 +#: library/stdtypes.rst:5553 #, fuzzy msgid ":class:`str` to :class:`float`." msgstr "Set Türleri --- :class:`set`, :class:`frozenset`" -#: library/stdtypes.rst:5548 +#: library/stdtypes.rst:5554 msgid ":class:`str` to :class:`decimal.Decimal`." msgstr "" -#: library/stdtypes.rst:5551 +#: library/stdtypes.rst:5557 msgid "Configuring the limit" msgstr "" -#: library/stdtypes.rst:5553 +#: library/stdtypes.rst:5559 msgid "" "Before Python starts up you can use an environment variable or an " "interpreter command line flag to configure the limit:" msgstr "" -#: library/stdtypes.rst:5556 +#: library/stdtypes.rst:5562 msgid "" ":envvar:`PYTHONINTMAXSTRDIGITS`, e.g. ``PYTHONINTMAXSTRDIGITS=640 python3`` " "to set the limit to 640 or ``PYTHONINTMAXSTRDIGITS=0 python3`` to disable " "the limitation." msgstr "" -#: library/stdtypes.rst:5559 +#: library/stdtypes.rst:5565 msgid "" ":option:`-X int_max_str_digits <-X>`, e.g. ``python3 -X " "int_max_str_digits=640``" msgstr "" -#: library/stdtypes.rst:5561 +#: library/stdtypes.rst:5567 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 " "env var and the ``-X`` option are set, the ``-X`` option takes precedence. A " "value of *-1* indicates that both were unset, thus a value of :data:`sys." -"int_info.default_max_str_digits` was used during initilization." +"int_info.default_max_str_digits` was used during initialization." msgstr "" -#: library/stdtypes.rst:5567 +#: library/stdtypes.rst:5573 msgid "" "From code, you can inspect the current limit and set a new one using these :" "mod:`sys` APIs:" msgstr "" -#: library/stdtypes.rst:5570 +#: library/stdtypes.rst:5576 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 " "their own limit." msgstr "" -#: library/stdtypes.rst:5574 +#: library/stdtypes.rst:5580 msgid "" "Information about the default and minimum can be found in :attr:`sys." "int_info`:" msgstr "" -#: library/stdtypes.rst:5576 +#: library/stdtypes.rst:5582 msgid "" ":data:`sys.int_info.default_max_str_digits ` is the compiled-" "in default limit." msgstr "" -#: library/stdtypes.rst:5578 +#: library/stdtypes.rst:5584 msgid "" ":data:`sys.int_info.str_digits_check_threshold ` is the lowest " "accepted value for the limit (other than 0 which disables it)." msgstr "" -#: library/stdtypes.rst:5585 +#: library/stdtypes.rst:5591 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 " @@ -7074,7 +7076,7 @@ msgid "" "constants is to convert them to ``0x`` hexadecimal form as it has no limit." msgstr "" -#: library/stdtypes.rst:5594 +#: library/stdtypes.rst:5600 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 " @@ -7082,11 +7084,11 @@ msgid "" "to precompile ``.py`` sources to ``.pyc`` files." msgstr "" -#: library/stdtypes.rst:5600 +#: library/stdtypes.rst:5606 msgid "Recommended configuration" msgstr "" -#: library/stdtypes.rst:5602 +#: library/stdtypes.rst:5608 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 " @@ -7094,20 +7096,20 @@ msgid "" "as these APIs were added in security patch releases in versions before 3.11." msgstr "" -#: library/stdtypes.rst:5607 +#: library/stdtypes.rst:5613 #, fuzzy msgid "Example::" msgstr "Örnek: ::" -#: library/stdtypes.rst:5619 +#: library/stdtypes.rst:5625 msgid "If you need to disable it entirely, set it to ``0``." msgstr "" -#: library/stdtypes.rst:5623 +#: library/stdtypes.rst:5629 msgid "Footnotes" msgstr "Dipnotlar" -#: library/stdtypes.rst:5624 +#: library/stdtypes.rst:5630 msgid "" "Additional information on these special methods may be found in the Python " "Reference Manual (:ref:`customization`)." @@ -7115,7 +7117,7 @@ msgstr "" "Bu özel yöntemler hakkında daha fazla bilgi Python Referans El Kitabında (:" "ref:`customization`) bulunabilir." -#: library/stdtypes.rst:5627 +#: library/stdtypes.rst:5633 msgid "" "As a consequence, the list ``[1, 2]`` is considered equal to ``[1.0, 2.0]``, " "and similarly for tuples." @@ -7123,12 +7125,12 @@ msgstr "" "Sonuç olarak, ``[1, 2]`` listesi ``[1.0, 2.0]`` ve benzer şekilde demetler " "için eşit kabul edilir." -#: library/stdtypes.rst:5630 +#: library/stdtypes.rst:5636 msgid "They must have since the parser can't tell the type of the operands." msgstr "" "Ayrıştırıcı, işlenenlerin türünü söyleyemediğinden sahip olmaları gerekir." -#: library/stdtypes.rst:5632 +#: library/stdtypes.rst:5638 msgid "" "Cased characters are those with general category property being one of " "\"Lu\" (Letter, uppercase), \"Ll\" (Letter, lowercase), or \"Lt\" (Letter, " @@ -7138,7 +7140,7 @@ msgstr "" "\"Ll\" (Harf, küçük harf) veya \"Lt\" (Harf, başlık) karakterlerinden biri " "olan karakterlerdir." -#: library/stdtypes.rst:5635 +#: library/stdtypes.rst:5641 msgid "" "To format only a tuple you should therefore provide a singleton tuple whose " "only element is the tuple to be formatted." @@ -7146,6 +7148,20 @@ msgstr "" "Bu nedenle, yalnızca bir tuple(demet) biçimlendirmek için, tek öğesi " "biçimlendirilecek tuple(demet) olan tek bir tuple(demet) sağlamanız gerekir." +#~ msgid "" +#~ "By default, the *errors* argument is not checked for best performances, " +#~ "but only used at the first encoding error. Enable the :ref:`Python " +#~ "Development Mode `, or use a :ref:`debug build ` to " +#~ "check *errors*." +#~ msgstr "" +#~ "Varsayılan olarak, *error* argümanı en iyi performans için kontrol " +#~ "edilmez, sadece ilk kodlama hatasında kullanılır. :ref:`Python Geliştirme " +#~ "Modu ` öğesini etkinleştirin veya *hataları* kontrol etmek için " +#~ "bir :ref:`hata ayıklama derlemesi ` kullanın." + +#~ msgid "Support for keyword arguments added." +#~ msgstr "Anahtar kelime argümanları için destek eklendi." + #~ msgid "" #~ "Dictionaries can be created by placing a comma-separated list of ``key: " #~ "value`` pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}" diff --git a/library/subprocess.po b/library/subprocess.po index 1377ae4a7..517277933 100644 --- a/library/subprocess.po +++ b/library/subprocess.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -41,7 +41,7 @@ msgstr "" msgid ":pep:`324` -- PEP proposing the subprocess module" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -859,7 +859,7 @@ msgid "" "waited for. ::" msgstr "" -#: library/subprocess.rst:689 +#: library/subprocess.rst:326 msgid "" "Raises an :ref:`auditing event ` ``subprocess.Popen`` with " "arguments ``executable``, ``args``, ``cwd``, ``env``." @@ -1757,11 +1757,7 @@ msgid "" "`subprocess._USE_VFORK` attribute to a false value." msgstr "" -#: library/subprocess.rst:1570 -msgid "subprocess._USE_VFORK = False # See CPython issue gh-NNNNNN." -msgstr "" - -#: library/subprocess.rst:1572 +#: library/subprocess.rst:1574 msgid "" "Setting this has no impact on use of ``posix_spawn()`` which could use " "``vfork()`` internally within its libc implementation. There is a similar :" @@ -1769,11 +1765,7 @@ msgid "" "that." msgstr "" -#: library/subprocess.rst:1577 -msgid "subprocess._USE_POSIX_SPAWN = False # See CPython issue gh-NNNNNN." -msgstr "" - -#: library/subprocess.rst:1579 +#: library/subprocess.rst:1583 msgid "" "It is safe to set these to false on any Python version. They will have no " "effect on older versions when unsupported. Do not assume the attributes are " @@ -1781,17 +1773,17 @@ msgid "" "the corresponding function will be used, only that that it may be." msgstr "" -#: library/subprocess.rst:1584 +#: library/subprocess.rst:1588 msgid "" "Please file issues any time you have to use these private knobs with a way " "to reproduce the issue you were seeing. Link to that issue from a comment in " "your code." msgstr "" -#: library/subprocess.rst:1588 +#: library/subprocess.rst:1592 msgid "``_USE_POSIX_SPAWN``" msgstr "" -#: library/subprocess.rst:1589 +#: library/subprocess.rst:1593 msgid "``_USE_VFORK``" msgstr "" diff --git a/library/sys.po b/library/sys.po index 5cf67548b..28437d1f0 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -67,7 +67,7 @@ msgid "" "mod:`ctypes`) should be completely removed or closely monitored." msgstr "" -#: library/sys.rst:47 +#: library/sys.rst:20 msgid "" "Raises an :ref:`auditing event ` ``sys.addaudithook`` with no " "arguments." @@ -252,7 +252,7 @@ msgid "" "by the time calling code examines the frame." msgstr "" -#: library/sys.rst:208 +#: library/sys.rst:14 msgid "" "Raises an :ref:`auditing event ` ``sys._current_frames`` with no " "arguments." @@ -270,7 +270,7 @@ msgstr "" msgid "This is most useful for statistical profiling." msgstr "" -#: library/sys.rst:221 +#: library/sys.rst:10 msgid "" "Raises an :ref:`auditing event ` ``sys._current_exceptions`` with " "no arguments." @@ -476,7 +476,7 @@ msgid "" "excepthook``." msgstr "" -#: library/sys.rst:386 +#: library/sys.rst:10 msgid "" "Raises an :ref:`auditing event ` ``sys.excepthook`` with arguments " "``hook``, ``type``, ``value``, ``traceback``." @@ -1161,7 +1161,7 @@ msgid "" "stack." msgstr "" -#: library/sys.rst:797 +#: library/sys.rst:6 msgid "" "Raises an :ref:`auditing event ` ``sys._getframe`` with argument " "``frame``." @@ -1513,7 +1513,7 @@ msgid "" "`." msgstr "" -#: library/sys.rst:1053 +#: library/sys.rst:7 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_interactivehook`` " "with argument ``hook``." @@ -1941,7 +1941,7 @@ msgid "" "depends on the event type." msgstr "" -#: library/sys.rst:1373 +#: library/sys.rst:21 msgid "" "Raises an :ref:`auditing event ` ``sys.setprofile`` with no " "arguments." @@ -2151,7 +2151,7 @@ msgstr "" msgid "For more information on code and frame objects, refer to :ref:`types`." msgstr "" -#: library/sys.rst:1507 +#: library/sys.rst:78 msgid "" "Raises an :ref:`auditing event ` ``sys.settrace`` with no " "arguments." @@ -2180,13 +2180,13 @@ msgid "" "about to be garbage collected." msgstr "" -#: library/sys.rst:1529 +#: library/sys.rst:7 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_firstiter`` with no arguments." msgstr "" -#: library/sys.rst:1531 +#: library/sys.rst:9 msgid "" "Raises an :ref:`auditing event ` ``sys." "set_asyncgen_hooks_finalizer`` with no arguments." @@ -2521,7 +2521,7 @@ msgstr "" msgid "See also :func:`excepthook` which handles uncaught exceptions." msgstr "" -#: library/sys.rst:1760 +#: library/sys.rst:32 msgid "" "Raises an :ref:`auditing event ` ``sys.unraisablehook`` with " "arguments ``hook``, ``unraisable``." @@ -2576,9 +2576,9 @@ msgstr "" msgid "" "The version number used to form registry keys on Windows platforms. This is " "stored as string resource 1000 in the Python DLL. The value is normally the " -"first three characters of :const:`version`. It is provided in the :mod:" -"`sys` module for informational purposes; modifying this value has no effect " -"on the registry keys used by Python." +"major and minor versions of the running Python interpreter. It is provided " +"in the :mod:`sys` module for informational purposes; modifying this value " +"has no effect on the registry keys used by Python." msgstr "" #: library/sys.rst:1817 diff --git a/library/syslog.po b/library/syslog.po index 77c9c39ef..0c2b67cbd 100644 --- a/library/syslog.po +++ b/library/syslog.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -34,7 +34,7 @@ msgid "" "handlers` module as :class:`SysLogHandler`." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -65,7 +65,7 @@ msgid "" "func:`openlog` will be called with no arguments." msgstr "" -#: library/syslog.rst:45 +#: library/syslog.rst:11 msgid "" "Raises an :ref:`auditing event ` ``syslog.syslog`` with arguments " "``priority``, ``message``." @@ -95,7 +95,7 @@ msgid "" "for messages which do not have a facility explicitly encoded." msgstr "" -#: library/syslog.rst:66 +#: library/syslog.rst:12 msgid "" "Raises an :ref:`auditing event ` ``syslog.openlog`` with arguments " "``ident``, ``logoption``, ``facility``." @@ -120,7 +120,7 @@ msgid "" "`openlog` parameters are reset to defaults." msgstr "" -#: library/syslog.rst:82 +#: library/syslog.rst:8 msgid "" "Raises an :ref:`auditing event ` ``syslog.closelog`` with no " "arguments." @@ -136,7 +136,7 @@ msgid "" "and including *pri*." msgstr "" -#: library/syslog.rst:94 +#: library/syslog.rst:8 msgid "" "Raises an :ref:`auditing event ` ``syslog.setlogmask`` with " "argument ``maskpri``." diff --git a/library/telnetlib.po b/library/telnetlib.po index 64451ded3..57a6cad9f 100644 --- a/library/telnetlib.po +++ b/library/telnetlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -49,7 +49,7 @@ msgid "" "(Erase Character), EL (Erase Line), GA (Go Ahead), SB (Subnegotiation Begin)." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -189,7 +189,7 @@ msgstr "" msgid "Do not try to reopen an already connected instance." msgstr "" -#: library/telnetlib.rst:159 +#: library/telnetlib.rst:8 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.open`` with " "arguments ``self``, ``host``, ``port``." @@ -227,7 +227,7 @@ msgid "" "connection is closed." msgstr "" -#: library/telnetlib.rst:196 +#: library/telnetlib.rst:5 msgid "" "Raises an :ref:`auditing event ` ``telnetlib.Telnet.write`` with " "arguments ``self``, ``buffer``." diff --git a/library/tempfile.po b/library/tempfile.po index fae5c1fd0..0b71f6d1f 100644 --- a/library/tempfile.po +++ b/library/tempfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -102,7 +102,7 @@ msgid "" "for NamedTemporaryFile." msgstr "" -#: library/tempfile.rst:96 library/tempfile.rst:205 +#: library/tempfile.rst:33 library/tempfile.rst:42 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkstemp`` with " "argument ``fullpath``." @@ -199,7 +199,7 @@ msgid "" "shutdown)." msgstr "" -#: library/tempfile.rst:231 +#: library/tempfile.rst:21 msgid "" "Raises an :ref:`auditing event ` ``tempfile.mkdtemp`` with " "argument ``fullpath``." diff --git a/library/threading.po b/library/threading.po index b9a580943..4222e3d9e 100644 --- a/library/threading.po +++ b/library/threading.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -72,7 +72,7 @@ msgid "" "appropriate model if you want to run multiple I/O-bound tasks simultaneously." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -255,7 +255,7 @@ msgid "" "information)." msgstr "" -#: library/threading.rst:None +#: library/threading.rst:-1 msgid ":ref:`Availability `: Windows, pthreads." msgstr "" diff --git a/library/time.po b/library/time.po index 2f7d55ad1..9980ad896 100644 --- a/library/time.po +++ b/library/time.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -213,7 +213,7 @@ msgid "" "such as segmentation fault." msgstr "" -#: library/time.rst:None +#: library/time.rst:-1 msgid ":ref:`Availability `: Unix" msgstr "" @@ -1046,7 +1046,7 @@ msgid "" "`float` type." msgstr "" -#: library/time.rst:None +#: library/time.rst:-1 msgid ":ref:`Availability `: Linux, Unix, Windows." msgstr "" diff --git a/library/types.po b/library/types.po index 7c2db6194..d3b5baab7 100644 --- a/library/types.po +++ b/library/types.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -169,7 +169,7 @@ msgid "" "`lambda` expressions." msgstr "" -#: library/types.rst:119 +#: library/types.rst:4 msgid "" "Raises an :ref:`auditing event ` ``function.__new__`` with " "argument ``code``." @@ -203,7 +203,7 @@ msgstr "" msgid "The type for code objects such as returned by :func:`compile`." msgstr "" -#: library/types.rst:153 +#: library/types.rst:5 msgid "" "Raises an :ref:`auditing event ` ``code.__new__`` with arguments " "``code``, ``filename``, ``name``, ``argcount``, ``posonlyargcount``, " diff --git a/library/unittest.po b/library/unittest.po index 2da6ad9db..656fc59ee 100644 --- a/library/unittest.po +++ b/library/unittest.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2370,7 +2370,7 @@ msgstr "" #: library/unittest.rst:1985 msgid "" "List of Unix shell-style wildcard test name patterns that test methods have " -"to match to be included in test suites (see ``-v`` option)." +"to match to be included in test suites (see ``-k`` option)." msgstr "" #: library/unittest.rst:1988 @@ -2378,7 +2378,7 @@ msgid "" "If this attribute is not ``None`` (the default), all test methods to be " "included in test suites must match one of the patterns in this list. Note " "that matches are always performed using :meth:`fnmatch.fnmatchcase`, so " -"unlike patterns passed to the ``-v`` option, simple substring patterns will " +"unlike patterns passed to the ``-k`` option, simple substring patterns will " "have to be converted using ``*`` wildcards." msgstr "" diff --git a/library/urllib.request.po b/library/urllib.request.po index 68dce35f5..a466091ad 100644 --- a/library/urllib.request.po +++ b/library/urllib.request.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -37,7 +37,7 @@ msgid "" "recommended for a higher-level HTTP client interface." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -151,7 +151,7 @@ msgid "" "`ProxyHandler` objects." msgstr "" -#: library/urllib.request.rst:100 +#: library/urllib.request.rst:61 msgid "" "Raises an :ref:`auditing event ` ``urllib.Request`` with arguments " "``fullurl``, ``data``, ``headers``, ``method``." diff --git a/library/venv.po b/library/venv.po index e8a773e9b..42a806a8a 100644 --- a/library/venv.po +++ b/library/venv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -53,7 +53,7 @@ msgid "" "environments/#creating-a-virtual-environment>`__" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/weakref.po b/library/weakref.po index 80bc5a759..c9f41283c 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -239,10 +239,22 @@ msgid "" msgstr "" #: library/weakref.rst:175 +msgid "" +"Note that when a key with equal value to an existing key (but not equal " +"identity) is inserted into the dictionary, it replaces the value but does " +"not replace the existing key. Due to this, when the reference to the " +"original key is deleted, it also deletes the entry in the dictionary::" +msgstr "" + +#: library/weakref.rst:188 +msgid "A workaround would be to remove the key prior to reassignment::" +msgstr "" + +#: library/weakref.rst:199 msgid "Added support for ``|`` and ``|=`` operators, specified in :pep:`584`." msgstr "" -#: library/weakref.rst:178 +#: library/weakref.rst:202 msgid "" ":class:`WeakKeyDictionary` objects have an additional method that exposes " "the internal references directly. The references are not guaranteed to be " @@ -252,39 +264,39 @@ msgid "" "longer than needed." msgstr "" -#: library/weakref.rst:188 +#: library/weakref.rst:212 msgid "Return an iterable of the weak references to the keys." msgstr "" -#: library/weakref.rst:193 +#: library/weakref.rst:217 msgid "" "Mapping class that references values weakly. Entries in the dictionary will " "be discarded when no strong reference to the value exists any more." msgstr "" -#: library/weakref.rst:196 +#: library/weakref.rst:220 msgid "" "Added support for ``|`` and ``|=`` operators, as specified in :pep:`584`." msgstr "" -#: library/weakref.rst:199 +#: library/weakref.rst:223 msgid "" ":class:`WeakValueDictionary` objects have an additional method that has the " "same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary` " "objects." msgstr "" -#: library/weakref.rst:206 +#: library/weakref.rst:230 msgid "Return an iterable of the weak references to the values." msgstr "" -#: library/weakref.rst:211 +#: library/weakref.rst:235 msgid "" "Set class that keeps weak references to its elements. An element will be " "discarded when no strong reference to it exists any more." msgstr "" -#: library/weakref.rst:217 +#: library/weakref.rst:241 msgid "" "A custom :class:`ref` subclass which simulates a weak reference to a bound " "method (i.e., a method defined on a class and looked up on an instance). " @@ -293,13 +305,13 @@ msgid "" "method until either the object or the original function dies::" msgstr "" -#: library/weakref.rst:241 +#: library/weakref.rst:265 msgid "" "*callback* is the same as the parameter of the same name to the :func:`ref` " "function." msgstr "" -#: library/weakref.rst:247 +#: library/weakref.rst:271 msgid "" "Return a callable finalizer object which will be called when *obj* is " "garbage collected. Unlike an ordinary weak reference, a finalizer will " @@ -307,7 +319,7 @@ msgid "" "lifecycle management." msgstr "" -#: library/weakref.rst:252 +#: library/weakref.rst:276 msgid "" "A finalizer is considered *alive* until it is called (either explicitly or " "at garbage collection), and after that it is *dead*. Calling a live " @@ -315,7 +327,7 @@ msgid "" "calling a dead finalizer returns :const:`None`." msgstr "" -#: library/weakref.rst:257 +#: library/weakref.rst:281 msgid "" "Exceptions raised by finalizer callbacks during garbage collection will be " "shown on the standard error output, but cannot be propagated. They are " @@ -323,50 +335,50 @@ msgid "" "`__del__` method or a weak reference's callback." msgstr "" -#: library/weakref.rst:263 +#: library/weakref.rst:287 msgid "" "When the program exits, each remaining live finalizer is called unless its :" "attr:`atexit` attribute has been set to false. They are called in reverse " "order of creation." msgstr "" -#: library/weakref.rst:267 +#: library/weakref.rst:291 msgid "" "A finalizer will never invoke its callback during the later part of the :" "term:`interpreter shutdown` when module globals are liable to have been " "replaced by :const:`None`." msgstr "" -#: library/weakref.rst:273 +#: library/weakref.rst:297 msgid "" "If *self* is alive then mark it as dead and return the result of calling " "``func(*args, **kwargs)``. If *self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:279 +#: library/weakref.rst:303 msgid "" "If *self* is alive then mark it as dead and return the tuple ``(obj, func, " "args, kwargs)``. If *self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:285 +#: library/weakref.rst:309 msgid "" "If *self* is alive then return the tuple ``(obj, func, args, kwargs)``. If " "*self* is dead then return :const:`None`." msgstr "" -#: library/weakref.rst:290 +#: library/weakref.rst:314 msgid "Property which is true if the finalizer is alive, false otherwise." msgstr "" -#: library/weakref.rst:294 +#: library/weakref.rst:318 msgid "" "A writable boolean property which by default is true. When the program " "exits, it calls all remaining live finalizers for which :attr:`.atexit` is " "true. They are called in reverse order of creation." msgstr "" -#: library/weakref.rst:301 +#: library/weakref.rst:325 msgid "" "It is important to ensure that *func*, *args* and *kwargs* do not own any " "references to *obj*, either directly or indirectly, since otherwise *obj* " @@ -374,60 +386,60 @@ msgid "" "bound method of *obj*." msgstr "" -#: library/weakref.rst:311 +#: library/weakref.rst:335 msgid "The type object for weak references objects." msgstr "" -#: library/weakref.rst:316 +#: library/weakref.rst:340 msgid "The type object for proxies of objects which are not callable." msgstr "" -#: library/weakref.rst:321 +#: library/weakref.rst:345 msgid "The type object for proxies of callable objects." msgstr "" -#: library/weakref.rst:326 +#: library/weakref.rst:350 msgid "" "Sequence containing all the type objects for proxies. This can make it " "simpler to test if an object is a proxy without being dependent on naming " "both proxy types." msgstr "" -#: library/weakref.rst:334 +#: library/weakref.rst:358 msgid ":pep:`205` - Weak References" msgstr "" -#: library/weakref.rst:334 +#: library/weakref.rst:358 msgid "" "The proposal and rationale for this feature, including links to earlier " "implementations and information about similar features in other languages." msgstr "" -#: library/weakref.rst:341 +#: library/weakref.rst:365 msgid "Weak Reference Objects" msgstr "" -#: library/weakref.rst:343 +#: library/weakref.rst:367 msgid "" "Weak reference objects have no methods and no attributes besides :attr:`ref." "__callback__`. A weak reference object allows the referent to be obtained, " "if it still exists, by calling it:" msgstr "" -#: library/weakref.rst:357 +#: library/weakref.rst:381 msgid "" "If the referent no longer exists, calling the reference object returns :" "const:`None`:" msgstr "" -#: library/weakref.rst:364 +#: library/weakref.rst:388 msgid "" "Testing that a weak reference object is still live should be done using the " "expression ``ref() is not None``. Normally, application code that needs to " "use a reference object should follow this pattern::" msgstr "" -#: library/weakref.rst:377 +#: library/weakref.rst:401 msgid "" "Using a separate test for \"liveness\" creates race conditions in threaded " "applications; another thread can cause a weak reference to become " @@ -435,7 +447,7 @@ msgid "" "safe in threaded applications as well as single-threaded applications." msgstr "" -#: library/weakref.rst:382 +#: library/weakref.rst:406 msgid "" "Specialized versions of :class:`ref` objects can be created through " "subclassing. This is used in the implementation of the :class:" @@ -445,18 +457,18 @@ msgid "" "to retrieve the referent." msgstr "" -#: library/weakref.rst:388 +#: library/weakref.rst:412 msgid "" "This example shows how a subclass of :class:`ref` can be used to store " "additional information about an object and affect the value that's returned " "when the referent is accessed::" msgstr "" -#: library/weakref.rst:415 +#: library/weakref.rst:439 msgid "Example" msgstr "" -#: library/weakref.rst:417 +#: library/weakref.rst:441 msgid "" "This simple example shows how an application can use object IDs to retrieve " "objects that it has seen before. The IDs of the objects can then be used in " @@ -464,67 +476,67 @@ msgid "" "objects can still be retrieved by ID if they do." msgstr "" -#: library/weakref.rst:442 +#: library/weakref.rst:466 msgid "Finalizer Objects" msgstr "" -#: library/weakref.rst:444 +#: library/weakref.rst:468 msgid "" "The main benefit of using :class:`finalize` is that it makes it simple to " "register a callback without needing to preserve the returned finalizer " "object. For instance" msgstr "" -#: library/weakref.rst:458 +#: library/weakref.rst:482 msgid "" "The finalizer can be called directly as well. However the finalizer will " "invoke the callback at most once." msgstr "" -#: library/weakref.rst:474 +#: library/weakref.rst:498 msgid "" "You can unregister a finalizer using its :meth:`~finalize.detach` method. " "This kills the finalizer and returns the arguments passed to the constructor " "when it was created." msgstr "" -#: library/weakref.rst:488 +#: library/weakref.rst:512 msgid "" "Unless you set the :attr:`~finalize.atexit` attribute to :const:`False`, a " "finalizer will be called when the program exits if it is still alive. For " "instance" msgstr "" -#: library/weakref.rst:503 +#: library/weakref.rst:527 msgid "Comparing finalizers with :meth:`__del__` methods" msgstr "" -#: library/weakref.rst:505 +#: library/weakref.rst:529 msgid "" "Suppose we want to create a class whose instances represent temporary " "directories. The directories should be deleted with their contents when the " "first of the following events occurs:" msgstr "" -#: library/weakref.rst:509 +#: library/weakref.rst:533 msgid "the object is garbage collected," msgstr "" -#: library/weakref.rst:510 +#: library/weakref.rst:534 msgid "the object's :meth:`remove` method is called, or" msgstr "" -#: library/weakref.rst:511 +#: library/weakref.rst:535 msgid "the program exits." msgstr "" -#: library/weakref.rst:513 +#: library/weakref.rst:537 msgid "" "We might try to implement the class using a :meth:`__del__` method as " "follows::" msgstr "" -#: library/weakref.rst:532 +#: library/weakref.rst:556 msgid "" "Starting with Python 3.4, :meth:`__del__` methods no longer prevent " "reference cycles from being garbage collected, and module globals are no " @@ -532,35 +544,35 @@ msgid "" "code should work without any issues on CPython." msgstr "" -#: library/weakref.rst:537 +#: library/weakref.rst:561 msgid "" "However, handling of :meth:`__del__` methods is notoriously implementation " "specific, since it depends on internal details of the interpreter's garbage " "collector implementation." msgstr "" -#: library/weakref.rst:541 +#: library/weakref.rst:565 msgid "" "A more robust alternative can be to define a finalizer which only references " "the specific functions and objects that it needs, rather than having access " "to the full state of the object::" msgstr "" -#: library/weakref.rst:557 +#: library/weakref.rst:581 msgid "" "Defined like this, our finalizer only receives a reference to the details it " "needs to clean up the directory appropriately. If the object never gets " "garbage collected the finalizer will still be called at exit." msgstr "" -#: library/weakref.rst:561 +#: library/weakref.rst:585 msgid "" "The other advantage of weakref based finalizers is that they can be used to " "register finalizers for classes where the definition is controlled by a " "third party, such as running code when a module is unloaded::" msgstr "" -#: library/weakref.rst:573 +#: library/weakref.rst:597 msgid "" "If you create a finalizer object in a daemonic thread just as the program " "exits then there is the possibility that the finalizer does not get called " diff --git a/library/webbrowser.po b/library/webbrowser.po index 15453a717..1e150e8da 100644 --- a/library/webbrowser.po +++ b/library/webbrowser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -67,7 +67,7 @@ msgid "" "are, naturally, mutually exclusive. Usage example::" msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" @@ -107,7 +107,7 @@ msgid "" "is neither supported nor portable." msgstr "" -#: library/webbrowser.rst:78 +#: library/webbrowser.rst:12 msgid "" "Raises an :ref:`auditing event ` ``webbrowser.open`` with argument " "``url``." diff --git a/library/winreg.po b/library/winreg.po index 72fb9ea3b..0c7418930 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -76,7 +76,7 @@ msgid "" "exc:`OSError` exception is raised." msgstr "" -#: library/winreg.rst:56 +#: library/winreg.rst:12 msgid "" "Raises an :ref:`auditing event ` ``winreg.ConnectRegistry`` with " "arguments ``computer_name``, ``key``." @@ -115,13 +115,13 @@ msgstr "" msgid "If the key already exists, this function opens the existing key." msgstr "" -#: library/winreg.rst:112 +#: library/winreg.rst:23 msgid "" "Raises an :ref:`auditing event ` ``winreg.CreateKey`` with " "arguments ``key``, ``sub_key``, ``access``." msgstr "" -#: library/winreg.rst:114 library/winreg.rst:324 +#: library/winreg.rst:20 library/winreg.rst:25 msgid "" "Raises an :ref:`auditing event ` ``winreg.OpenKey/result`` with " "argument ``key``." @@ -160,7 +160,7 @@ msgid "" "removed. If the method fails, an :exc:`OSError` exception is raised." msgstr "" -#: library/winreg.rst:168 +#: library/winreg.rst:24 msgid "" "Raises an :ref:`auditing event ` ``winreg.DeleteKey`` with " "arguments ``key``, ``sub_key``, ``access``." @@ -193,7 +193,7 @@ msgstr "" msgid "*value* is a string that identifies the value to remove." msgstr "" -#: library/winreg.rst:185 +#: library/winreg.rst:8 msgid "" "Raises an :ref:`auditing event ` ``winreg.DeleteValue`` with " "arguments ``key``, ``value``." @@ -214,7 +214,7 @@ msgid "" "indicating, no more values are available." msgstr "" -#: library/winreg.rst:201 +#: library/winreg.rst:12 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnumKey`` with arguments " "``key``, ``index``." @@ -276,7 +276,7 @@ msgid "" "for :meth:`SetValueEx`)" msgstr "" -#: library/winreg.rst:236 +#: library/winreg.rst:28 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnumValue`` with " "arguments ``key``, ``index``." @@ -288,7 +288,7 @@ msgid "" "`REG_EXPAND_SZ`::" msgstr "" -#: library/winreg.rst:253 +#: library/winreg.rst:7 msgid "" "Raises an :ref:`auditing event ` ``winreg." "ExpandEnvironmentStrings`` with argument ``str``." @@ -352,7 +352,7 @@ msgid "" "specified in *file_name* is relative to the remote computer." msgstr "" -#: library/winreg.rst:299 +#: library/winreg.rst:22 msgid "" "Raises an :ref:`auditing event ` ``winreg.LoadKey`` with arguments " "``key``, ``sub_key``, ``file_name``." @@ -387,7 +387,7 @@ msgstr "" msgid "If the function fails, :exc:`OSError` is raised." msgstr "" -#: library/winreg.rst:322 +#: library/winreg.rst:18 msgid "" "Raises an :ref:`auditing event ` ``winreg.OpenKey`` with arguments " "``key``, ``sub_key``, ``access``." @@ -415,7 +415,7 @@ msgid "" "nanoseconds since Jan 1, 1601." msgstr "" -#: library/winreg.rst:356 +#: library/winreg.rst:22 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryInfoKey`` with " "argument ``key``." @@ -441,7 +441,7 @@ msgid "" "`QueryValueEx` if possible." msgstr "" -#: library/winreg.rst:400 +#: library/winreg.rst:21 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryValue`` with " "arguments ``key``, ``sub_key``, ``value_name``." @@ -497,7 +497,7 @@ msgstr "" msgid "This function passes ``NULL`` for *security_attributes* to the API." msgstr "" -#: library/winreg.rst:425 +#: library/winreg.rst:21 msgid "" "Raises an :ref:`auditing event ` ``winreg.SaveKey`` with arguments " "``key``, ``file_name``." @@ -543,7 +543,7 @@ msgid "" "`KEY_SET_VALUE` access." msgstr "" -#: library/winreg.rst:483 +#: library/winreg.rst:26 msgid "" "Raises an :ref:`auditing event ` ``winreg.SetValue`` with " "arguments ``key``, ``sub_key``, ``type``, ``value``." @@ -599,7 +599,7 @@ msgid "" "subkeys." msgstr "" -#: library/winreg.rst:501 +#: library/winreg.rst:14 msgid "" "Raises an :ref:`auditing event ` ``winreg.DisableReflectionKey`` " "with argument ``key``." @@ -614,7 +614,7 @@ msgid "" "Restoring reflection for a key does not affect reflection of any subkeys." msgstr "" -#: library/winreg.rst:516 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.EnableReflectionKey`` " "with argument ``key``." @@ -628,7 +628,7 @@ msgstr "" msgid "Returns ``True`` if reflection is disabled." msgstr "" -#: library/winreg.rst:531 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.QueryReflectionKey`` " "with argument ``key``." @@ -919,7 +919,7 @@ msgid "" "underlying Win32 handle to exist beyond the lifetime of the handle object." msgstr "" -#: library/winreg.rst:784 +#: library/winreg.rst:11 msgid "" "Raises an :ref:`auditing event ` ``winreg.PyHKEY.Detach`` with " "argument ``key``." diff --git a/library/xmlrpc.client.po b/library/xmlrpc.client.po index d483c20fd..a79172065 100644 --- a/library/xmlrpc.client.po +++ b/library/xmlrpc.client.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -46,7 +46,7 @@ msgid "" "certificate and hostname checks by default." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/xmlrpc.server.po b/library/xmlrpc.server.po index 8c21ae788..34e5a6d49 100644 --- a/library/xmlrpc.server.po +++ b/library/xmlrpc.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -39,7 +39,7 @@ msgid "" "see :ref:`xml-vulnerabilities`." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/library/zipfile.po b/library/zipfile.po index 5390e0ba3..fbdf6498a 100644 --- a/library/zipfile.po +++ b/library/zipfile.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -203,7 +203,7 @@ msgid "" "accepted (see :class:`bz2 ` for more information)." msgstr "" -#: library/zipfile.rst:720 +#: library/zipfile.rst:733 msgid "" "The *strict_timestamps* argument, when set to ``False``, allows to zip files " "older than 1980-01-01 at the cost of setting the timestamp to 1980-01-01. " @@ -256,7 +256,7 @@ msgstr "" msgid "Added support for :mod:`bzip2 ` and :mod:`lzma` compression." msgstr "" -#: library/zipfile.rst:634 +#: library/zipfile.rst:647 msgid "ZIP64 extensions are enabled by default." msgstr "" @@ -280,7 +280,7 @@ msgstr "" msgid "Add the *compresslevel* parameter." msgstr "" -#: library/zipfile.rst:731 +#: library/zipfile.rst:744 msgid "The *strict_timestamps* keyword-only argument" msgstr "" @@ -319,16 +319,17 @@ msgid "" "Access a member of the archive as a binary file-like object. *name* can be " "either the name of a file within the archive or a :class:`ZipInfo` object. " "The *mode* parameter, if included, must be ``'r'`` (the default) or " -"``'w'``. *pwd* is the password used to decrypt encrypted ZIP files." +"``'w'``. *pwd* is the password used to decrypt encrypted ZIP files as a :" +"class:`bytes` object." msgstr "" -#: library/zipfile.rst:278 +#: library/zipfile.rst:279 msgid "" ":meth:`~ZipFile.open` is also a context manager and therefore supports the :" "keyword:`with` statement::" msgstr "" -#: library/zipfile.rst:285 +#: library/zipfile.rst:286 msgid "" "With *mode* ``'r'`` the file-like object (``ZipExtFile``) is read-only and " "provides the following methods: :meth:`~io.BufferedIOBase.read`, :meth:`~io." @@ -337,7 +338,7 @@ msgid "" "objects can operate independently of the ZipFile." msgstr "" -#: library/zipfile.rst:292 +#: library/zipfile.rst:293 msgid "" "With ``mode='w'``, a writable file handle is returned, which supports the :" "meth:`~io.BufferedIOBase.write` method. While a writable file handle is " @@ -345,7 +346,7 @@ msgid "" "exc:`ValueError`." msgstr "" -#: library/zipfile.rst:297 +#: library/zipfile.rst:298 msgid "" "When writing a file, if the file size is not known in advance but may exceed " "2 GiB, pass ``force_zip64=True`` to ensure that the header format is capable " @@ -354,45 +355,45 @@ msgid "" "as the *name* parameter." msgstr "" -#: library/zipfile.rst:305 +#: library/zipfile.rst:306 msgid "" "The :meth:`.open`, :meth:`read` and :meth:`extract` methods can take a " "filename or a :class:`ZipInfo` object. You will appreciate this when trying " "to read a ZIP file that contains members with duplicate names." msgstr "" -#: library/zipfile.rst:309 +#: library/zipfile.rst:310 msgid "" "Removed support of ``mode='U'``. Use :class:`io.TextIOWrapper` for reading " "compressed text files in :term:`universal newlines` mode." msgstr "" -#: library/zipfile.rst:313 +#: library/zipfile.rst:314 msgid "" ":meth:`ZipFile.open` can now be used to write files into the archive with " "the ``mode='w'`` option." msgstr "" -#: library/zipfile.rst:317 +#: library/zipfile.rst:318 msgid "" "Calling :meth:`.open` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:324 +#: library/zipfile.rst:325 msgid "" "Extract a member from the archive to the current working directory; *member* " "must be its full name or a :class:`ZipInfo` object. Its file information is " "extracted as accurately as possible. *path* specifies a different directory " "to extract to. *member* can be a filename or a :class:`ZipInfo` object. " -"*pwd* is the password used for encrypted files." +"*pwd* is the password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:330 +#: library/zipfile.rst:331 msgid "Returns the normalized path created (a directory or new file)." msgstr "" -#: library/zipfile.rst:334 +#: library/zipfile.rst:335 msgid "" "If a member filename is an absolute path, a drive/UNC sharepoint and leading " "(back)slashes will be stripped, e.g.: ``///foo/bar`` becomes ``foo/bar`` on " @@ -403,25 +404,25 @@ msgid "" "(``_``)." msgstr "" -#: library/zipfile.rst:342 +#: library/zipfile.rst:343 msgid "" "Calling :meth:`extract` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:369 +#: library/zipfile.rst:370 msgid "The *path* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:352 +#: library/zipfile.rst:353 msgid "" "Extract all members from the archive to the current working directory. " "*path* specifies a different directory to extract to. *members* is optional " "and must be a subset of the list returned by :meth:`namelist`. *pwd* is the " -"password used for encrypted files." +"password used for encrypted files as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:359 +#: library/zipfile.rst:360 msgid "" "Never extract archives from untrusted sources without prior inspection. It " "is possible that files are created outside of *path*, e.g. members that have " @@ -429,52 +430,54 @@ msgid "" "\"``. This module attempts to prevent that. See :meth:`extract` note." msgstr "" -#: library/zipfile.rst:365 +#: library/zipfile.rst:366 msgid "" "Calling :meth:`extractall` on a closed ZipFile will raise a :exc:" "`ValueError`. Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:375 +#: library/zipfile.rst:376 msgid "Print a table of contents for the archive to ``sys.stdout``." msgstr "" -#: library/zipfile.rst:380 -msgid "Set *pwd* as default password to extract encrypted files." +#: library/zipfile.rst:381 +msgid "" +"Set *pwd* (a :class:`bytes` object) as default password to extract encrypted " +"files." msgstr "" -#: library/zipfile.rst:385 +#: library/zipfile.rst:386 msgid "" "Return the bytes of the file *name* in the archive. *name* is the name of " "the file in the archive, or a :class:`ZipInfo` object. The archive must be " -"open for read or append. *pwd* is the password used for encrypted files " -"and, if specified, it will override the default password set with :meth:" -"`setpassword`. Calling :meth:`read` on a ZipFile that uses a compression " -"method other than :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :const:" -"`ZIP_BZIP2` or :const:`ZIP_LZMA` will raise a :exc:`NotImplementedError`. An " -"error will also be raised if the corresponding compression module is not " -"available." +"open for read or append. *pwd* is the password used for encrypted files as " +"a :class:`bytes` object and, if specified, overrides the default password " +"set with :meth:`setpassword`. Calling :meth:`read` on a ZipFile that uses a " +"compression method other than :const:`ZIP_STORED`, :const:`ZIP_DEFLATED`, :" +"const:`ZIP_BZIP2` or :const:`ZIP_LZMA` will raise a :exc:" +"`NotImplementedError`. An error will also be raised if the corresponding " +"compression module is not available." msgstr "" -#: library/zipfile.rst:394 +#: library/zipfile.rst:395 msgid "" "Calling :meth:`read` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:401 +#: library/zipfile.rst:402 msgid "" "Read all the files in the archive and check their CRC's and file headers. " "Return the name of the first bad file, or else return ``None``." msgstr "" -#: library/zipfile.rst:404 +#: library/zipfile.rst:405 msgid "" "Calling :meth:`testzip` on a closed ZipFile will raise a :exc:`ValueError`. " "Previously, a :exc:`RuntimeError` was raised." msgstr "" -#: library/zipfile.rst:412 +#: library/zipfile.rst:413 msgid "" "Write the file named *filename* to the archive, giving it the archive name " "*arcname* (by default, this will be the same as *filename*, but without a " @@ -485,7 +488,7 @@ msgid "" "``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:422 +#: library/zipfile.rst:423 msgid "" "The ZIP file standard historically did not specify a metadata encoding, but " "strongly recommended CP437 (the original IBM PC encoding) for " @@ -495,33 +498,33 @@ msgid "" "in any encoding other than ASCII or UTF-8." msgstr "" -#: library/zipfile.rst:431 +#: library/zipfile.rst:432 msgid "" "Archive names should be relative to the archive root, that is, they should " "not start with a path separator." msgstr "" -#: library/zipfile.rst:436 +#: library/zipfile.rst:437 msgid "" "If ``arcname`` (or ``filename``, if ``arcname`` is not given) contains a " "null byte, the name of the file in the archive will be truncated at the null " "byte." msgstr "" -#: library/zipfile.rst:441 +#: library/zipfile.rst:442 msgid "" "A leading slash in the filename may lead to the archive being impossible to " "open in some zip programs on Windows systems." msgstr "" -#: library/zipfile.rst:444 +#: library/zipfile.rst:445 msgid "" "Calling :meth:`write` on a ZipFile created with mode ``'r'`` or a closed " "ZipFile will raise a :exc:`ValueError`. Previously, a :exc:`RuntimeError` " "was raised." msgstr "" -#: library/zipfile.rst:453 +#: library/zipfile.rst:454 msgid "" "Write a file into the archive. The contents is *data*, which may be either " "a :class:`str` or a :class:`bytes` instance; if it is a :class:`str`, it is " @@ -532,7 +535,7 @@ msgid "" "must be opened with mode ``'w'``, ``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:461 +#: library/zipfile.rst:462 msgid "" "If given, *compress_type* overrides the value given for the *compression* " "parameter to the constructor for the new entry, or in the *zinfo_or_arcname* " @@ -540,7 +543,7 @@ msgid "" "override the constructor if given." msgstr "" -#: library/zipfile.rst:468 +#: library/zipfile.rst:469 msgid "" "When passing a :class:`ZipInfo` instance as the *zinfo_or_arcname* " "parameter, the compression method used will be that specified in the " @@ -548,18 +551,18 @@ msgid "" "the :class:`ZipInfo` constructor sets this member to :const:`ZIP_STORED`." msgstr "" -#: library/zipfile.rst:473 +#: library/zipfile.rst:474 msgid "The *compress_type* argument." msgstr "" -#: library/zipfile.rst:476 +#: library/zipfile.rst:477 msgid "" "Calling :meth:`writestr` on a ZipFile created with mode ``'r'`` or a closed " "ZipFile will raise a :exc:`ValueError`. Previously, a :exc:`RuntimeError` " "was raised." msgstr "" -#: library/zipfile.rst:483 +#: library/zipfile.rst:484 msgid "" "Create a directory inside the archive. If *zinfo_or_directory* is a string, " "a directory is created inside the archive with the mode that is specified in " @@ -567,26 +570,26 @@ msgid "" "instance then the *mode* argument is ignored." msgstr "" -#: library/zipfile.rst:488 +#: library/zipfile.rst:489 msgid "The archive must be opened with mode ``'w'``, ``'x'`` or ``'a'``." msgstr "" -#: library/zipfile.rst:493 +#: library/zipfile.rst:494 msgid "The following data attributes are also available:" msgstr "" -#: library/zipfile.rst:497 +#: library/zipfile.rst:498 msgid "Name of the ZIP file." msgstr "" -#: library/zipfile.rst:501 +#: library/zipfile.rst:502 msgid "" "The level of debug output to use. This may be set from ``0`` (the default, " "no output) to ``3`` (the most output). Debugging information is written to " "``sys.stdout``." msgstr "" -#: library/zipfile.rst:507 +#: library/zipfile.rst:508 msgid "" "The comment associated with the ZIP file as a :class:`bytes` object. If " "assigning a comment to a :class:`ZipFile` instance created with mode " @@ -594,37 +597,37 @@ msgid "" "Comments longer than this will be truncated." msgstr "" -#: library/zipfile.rst:517 +#: library/zipfile.rst:518 msgid "Path Objects" msgstr "" -#: library/zipfile.rst:521 +#: library/zipfile.rst:522 msgid "" "Construct a Path object from a ``root`` zipfile (which may be a :class:" "`ZipFile` instance or ``file`` suitable for passing to the :class:`ZipFile` " "constructor)." msgstr "" -#: library/zipfile.rst:525 +#: library/zipfile.rst:526 msgid "" "``at`` specifies the location of this Path within the zipfile, e.g. 'dir/" "file.txt', 'dir/', or ''. Defaults to the empty string, indicating the root." msgstr "" -#: library/zipfile.rst:529 +#: library/zipfile.rst:530 msgid "" "Path objects expose the following features of :mod:`pathlib.Path` objects:" msgstr "" -#: library/zipfile.rst:532 +#: library/zipfile.rst:533 msgid "Path objects are traversable using the ``/`` operator or ``joinpath``." msgstr "" -#: library/zipfile.rst:536 +#: library/zipfile.rst:537 msgid "The final path component." msgstr "" -#: library/zipfile.rst:540 +#: library/zipfile.rst:541 msgid "" "Invoke :meth:`ZipFile.open` on the current path. Allows opening for read or " "write, text or binary through supported modes: 'r', 'w', 'rb', 'wb'. " @@ -633,122 +636,130 @@ msgid "" "``pwd`` parameter to :meth:`ZipFile.open`." msgstr "" -#: library/zipfile.rst:549 +#: library/zipfile.rst:550 msgid "" "Added support for text and binary modes for open. Default mode is now text." msgstr "" -#: library/zipfile.rst:555 +#: library/zipfile.rst:605 +msgid "" +"The ``encoding`` parameter can be supplied as a positional argument without " +"causing a :exc:`TypeError`. As it could in 3.9. Code needing to be " +"compatible with unpatched 3.10 and 3.11 versions must pass all :class:`io." +"TextIOWrapper` arguments, ``encoding`` included, as keywords." +msgstr "" + +#: library/zipfile.rst:562 msgid "Enumerate the children of the current directory." msgstr "" -#: library/zipfile.rst:559 +#: library/zipfile.rst:566 msgid "Return ``True`` if the current context references a directory." msgstr "" -#: library/zipfile.rst:563 +#: library/zipfile.rst:570 msgid "Return ``True`` if the current context references a file." msgstr "" -#: library/zipfile.rst:567 +#: library/zipfile.rst:574 msgid "" "Return ``True`` if the current context references a file or directory in the " "zip file." msgstr "" -#: library/zipfile.rst:572 +#: library/zipfile.rst:579 msgid "The file extension of the final component." msgstr "" -#: library/zipfile.rst:574 +#: library/zipfile.rst:581 msgid "Added :data:`Path.suffix` property." msgstr "" -#: library/zipfile.rst:579 +#: library/zipfile.rst:586 msgid "The final path component, without its suffix." msgstr "" -#: library/zipfile.rst:581 +#: library/zipfile.rst:588 msgid "Added :data:`Path.stem` property." msgstr "" -#: library/zipfile.rst:586 +#: library/zipfile.rst:593 msgid "A list of the path’s file extensions." msgstr "" -#: library/zipfile.rst:588 +#: library/zipfile.rst:595 msgid "Added :data:`Path.suffixes` property." msgstr "" -#: library/zipfile.rst:593 +#: library/zipfile.rst:600 msgid "" "Read the current file as unicode text. Positional and keyword arguments are " "passed through to :class:`io.TextIOWrapper` (except ``buffer``, which is " "implied by the context)." msgstr "" -#: library/zipfile.rst:600 +#: library/zipfile.rst:613 msgid "Read the current file as bytes." msgstr "" -#: library/zipfile.rst:604 +#: library/zipfile.rst:617 msgid "" "Return a new Path object with each of the *other* arguments joined. The " "following are equivalent::" msgstr "" -#: library/zipfile.rst:611 +#: library/zipfile.rst:624 msgid "" "Prior to 3.10, ``joinpath`` was undocumented and accepted exactly one " "parameter." msgstr "" -#: library/zipfile.rst:615 +#: library/zipfile.rst:628 msgid "" "The `zipp `_ project provides backports of " "the latest path object functionality to older Pythons. Use ``zipp.Path`` in " "place of ``zipfile.Path`` for early access to changes." msgstr "" -#: library/zipfile.rst:623 +#: library/zipfile.rst:636 msgid "PyZipFile Objects" msgstr "" -#: library/zipfile.rst:625 +#: library/zipfile.rst:638 msgid "" "The :class:`PyZipFile` constructor takes the same parameters as the :class:" "`ZipFile` constructor, and one additional parameter, *optimize*." msgstr "" -#: library/zipfile.rst:631 +#: library/zipfile.rst:644 msgid "The *optimize* parameter." msgstr "" -#: library/zipfile.rst:637 +#: library/zipfile.rst:650 msgid "" "Instances have one method in addition to those of :class:`ZipFile` objects:" msgstr "" -#: library/zipfile.rst:641 +#: library/zipfile.rst:654 msgid "" "Search for files :file:`\\*.py` and add the corresponding file to the " "archive." msgstr "" -#: library/zipfile.rst:644 +#: library/zipfile.rst:657 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was not given or ``-1``, " "the corresponding file is a :file:`\\*.pyc` file, compiling if necessary." msgstr "" -#: library/zipfile.rst:647 +#: library/zipfile.rst:660 msgid "" "If the *optimize* parameter to :class:`PyZipFile` was ``0``, ``1`` or ``2``, " "only files with that optimization level (see :func:`compile`) are added to " "the archive, compiling if necessary." msgstr "" -#: library/zipfile.rst:651 +#: library/zipfile.rst:664 msgid "" "If *pathname* is a file, the filename must end with :file:`.py`, and just " "the (corresponding :file:`\\*.pyc`) file is added at the top level (no path " @@ -761,11 +772,11 @@ msgid "" "in sorted order." msgstr "" -#: library/zipfile.rst:661 +#: library/zipfile.rst:674 msgid "*basename* is intended for internal use only." msgstr "" -#: library/zipfile.rst:663 +#: library/zipfile.rst:676 msgid "" "*filterfunc*, if given, must be a function taking a single string argument. " "It will be passed each path (including each individual full file path) " @@ -776,286 +787,286 @@ msgid "" "exclude them::" msgstr "" -#: library/zipfile.rst:677 +#: library/zipfile.rst:690 msgid "The :meth:`writepy` method makes archives with file names like this::" msgstr "" -#: library/zipfile.rst:686 +#: library/zipfile.rst:699 msgid "The *filterfunc* parameter." msgstr "" -#: library/zipfile.rst:689 +#: library/zipfile.rst:702 msgid "The *pathname* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:692 +#: library/zipfile.rst:705 msgid "Recursion sorts directory entries." msgstr "" -#: library/zipfile.rst:699 +#: library/zipfile.rst:712 msgid "ZipInfo Objects" msgstr "" -#: library/zipfile.rst:701 +#: library/zipfile.rst:714 msgid "" "Instances of the :class:`ZipInfo` class are returned by the :meth:`.getinfo` " "and :meth:`.infolist` methods of :class:`ZipFile` objects. Each object " "stores information about a single member of the ZIP archive." msgstr "" -#: library/zipfile.rst:705 +#: library/zipfile.rst:718 msgid "" "There is one classmethod to make a :class:`ZipInfo` instance for a " "filesystem file:" msgstr "" -#: library/zipfile.rst:711 +#: library/zipfile.rst:724 msgid "" "Construct a :class:`ZipInfo` instance for a file on the filesystem, in " "preparation for adding it to a zip file." msgstr "" -#: library/zipfile.rst:714 +#: library/zipfile.rst:727 msgid "*filename* should be the path to a file or directory on the filesystem." msgstr "" -#: library/zipfile.rst:716 +#: library/zipfile.rst:729 msgid "" "If *arcname* is specified, it is used as the name within the archive. If " "*arcname* is not specified, the name will be the same as *filename*, but " "with any drive letter and leading path separators removed." msgstr "" -#: library/zipfile.rst:728 +#: library/zipfile.rst:741 msgid "The *filename* parameter accepts a :term:`path-like object`." msgstr "" -#: library/zipfile.rst:735 +#: library/zipfile.rst:748 msgid "Instances have the following methods and attributes:" msgstr "" -#: library/zipfile.rst:739 +#: library/zipfile.rst:752 msgid "Return ``True`` if this archive member is a directory." msgstr "" -#: library/zipfile.rst:741 +#: library/zipfile.rst:754 msgid "This uses the entry's name: directories should always end with ``/``." msgstr "" -#: library/zipfile.rst:748 +#: library/zipfile.rst:761 msgid "Name of the file in the archive." msgstr "" -#: library/zipfile.rst:753 +#: library/zipfile.rst:766 msgid "" "The time and date of the last modification to the archive member. This is a " "tuple of six values:" msgstr "" -#: library/zipfile.rst:757 +#: library/zipfile.rst:770 msgid "Index" msgstr "" -#: library/zipfile.rst:757 +#: library/zipfile.rst:770 msgid "Value" msgstr "" -#: library/zipfile.rst:759 +#: library/zipfile.rst:772 msgid "``0``" msgstr "" -#: library/zipfile.rst:759 +#: library/zipfile.rst:772 msgid "Year (>= 1980)" msgstr "" -#: library/zipfile.rst:761 +#: library/zipfile.rst:774 msgid "``1``" msgstr "" -#: library/zipfile.rst:761 +#: library/zipfile.rst:774 msgid "Month (one-based)" msgstr "" -#: library/zipfile.rst:763 +#: library/zipfile.rst:776 msgid "``2``" msgstr "" -#: library/zipfile.rst:763 +#: library/zipfile.rst:776 msgid "Day of month (one-based)" msgstr "" -#: library/zipfile.rst:765 +#: library/zipfile.rst:778 msgid "``3``" msgstr "" -#: library/zipfile.rst:765 +#: library/zipfile.rst:778 msgid "Hours (zero-based)" msgstr "" -#: library/zipfile.rst:767 +#: library/zipfile.rst:780 msgid "``4``" msgstr "" -#: library/zipfile.rst:767 +#: library/zipfile.rst:780 msgid "Minutes (zero-based)" msgstr "" -#: library/zipfile.rst:769 +#: library/zipfile.rst:782 msgid "``5``" msgstr "" -#: library/zipfile.rst:769 +#: library/zipfile.rst:782 msgid "Seconds (zero-based)" msgstr "" -#: library/zipfile.rst:774 +#: library/zipfile.rst:787 msgid "The ZIP file format does not support timestamps before 1980." msgstr "" -#: library/zipfile.rst:779 +#: library/zipfile.rst:792 msgid "Type of compression for the archive member." msgstr "" -#: library/zipfile.rst:784 +#: library/zipfile.rst:797 msgid "Comment for the individual archive member as a :class:`bytes` object." msgstr "" -#: library/zipfile.rst:789 +#: library/zipfile.rst:802 msgid "" "Expansion field data. The `PKZIP Application Note`_ contains some comments " "on the internal structure of the data contained in this :class:`bytes` " "object." msgstr "" -#: library/zipfile.rst:796 +#: library/zipfile.rst:809 msgid "System which created ZIP archive." msgstr "" -#: library/zipfile.rst:801 +#: library/zipfile.rst:814 msgid "PKZIP version which created ZIP archive." msgstr "" -#: library/zipfile.rst:806 +#: library/zipfile.rst:819 msgid "PKZIP version needed to extract archive." msgstr "" -#: library/zipfile.rst:811 +#: library/zipfile.rst:824 msgid "Must be zero." msgstr "" -#: library/zipfile.rst:816 +#: library/zipfile.rst:829 msgid "ZIP flag bits." msgstr "" -#: library/zipfile.rst:821 +#: library/zipfile.rst:834 msgid "Volume number of file header." msgstr "" -#: library/zipfile.rst:826 +#: library/zipfile.rst:839 msgid "Internal attributes." msgstr "" -#: library/zipfile.rst:831 +#: library/zipfile.rst:844 msgid "External file attributes." msgstr "" -#: library/zipfile.rst:836 +#: library/zipfile.rst:849 msgid "Byte offset to the file header." msgstr "" -#: library/zipfile.rst:841 +#: library/zipfile.rst:854 msgid "CRC-32 of the uncompressed file." msgstr "" -#: library/zipfile.rst:846 +#: library/zipfile.rst:859 msgid "Size of the compressed data." msgstr "" -#: library/zipfile.rst:851 +#: library/zipfile.rst:864 msgid "Size of the uncompressed file." msgstr "" -#: library/zipfile.rst:858 +#: library/zipfile.rst:871 msgid "Command-Line Interface" msgstr "" -#: library/zipfile.rst:860 +#: library/zipfile.rst:873 msgid "" "The :mod:`zipfile` module provides a simple command-line interface to " "interact with ZIP archives." msgstr "" -#: library/zipfile.rst:863 +#: library/zipfile.rst:876 msgid "" "If you want to create a new ZIP archive, specify its name after the :option:" "`-c` option and then list the filename(s) that should be included:" msgstr "" -#: library/zipfile.rst:870 +#: library/zipfile.rst:883 msgid "Passing a directory is also acceptable:" msgstr "" -#: library/zipfile.rst:876 +#: library/zipfile.rst:889 msgid "" "If you want to extract a ZIP archive into the specified directory, use the :" "option:`-e` option:" msgstr "" -#: library/zipfile.rst:883 +#: library/zipfile.rst:896 msgid "For a list of the files in a ZIP archive, use the :option:`-l` option:" msgstr "" -#: library/zipfile.rst:891 +#: library/zipfile.rst:904 msgid "Command-line options" msgstr "" -#: library/zipfile.rst:896 +#: library/zipfile.rst:909 msgid "List files in a zipfile." msgstr "" -#: library/zipfile.rst:901 +#: library/zipfile.rst:914 msgid "Create zipfile from source files." msgstr "" -#: library/zipfile.rst:906 +#: library/zipfile.rst:919 msgid "Extract zipfile into target directory." msgstr "" -#: library/zipfile.rst:911 +#: library/zipfile.rst:924 msgid "Test whether the zipfile is valid or not." msgstr "" -#: library/zipfile.rst:915 +#: library/zipfile.rst:928 msgid "" "Specify encoding of member names for :option:`-l`, :option:`-e` and :option:" "`-t`." msgstr "" -#: library/zipfile.rst:922 +#: library/zipfile.rst:935 msgid "Decompression pitfalls" msgstr "" -#: library/zipfile.rst:924 +#: library/zipfile.rst:937 msgid "" "The extraction in zipfile module might fail due to some pitfalls listed " "below." msgstr "" -#: library/zipfile.rst:927 +#: library/zipfile.rst:940 msgid "From file itself" msgstr "" -#: library/zipfile.rst:929 +#: library/zipfile.rst:942 msgid "" "Decompression may fail due to incorrect password / CRC checksum / ZIP format " "or unsupported compression method / decryption." msgstr "" -#: library/zipfile.rst:933 +#: library/zipfile.rst:946 msgid "File System limitations" msgstr "" -#: library/zipfile.rst:935 +#: library/zipfile.rst:948 msgid "" "Exceeding limitations on different file systems can cause decompression " "failed. Such as allowable characters in the directory entries, length of the " @@ -1063,33 +1074,33 @@ msgid "" "files, etc." msgstr "" -#: library/zipfile.rst:942 +#: library/zipfile.rst:955 msgid "Resources limitations" msgstr "" -#: library/zipfile.rst:944 +#: library/zipfile.rst:957 msgid "" "The lack of memory or disk volume would lead to decompression failed. For " "example, decompression bombs (aka `ZIP bomb`_) apply to zipfile library that " "can cause disk volume exhaustion." msgstr "" -#: library/zipfile.rst:949 +#: library/zipfile.rst:962 msgid "Interruption" msgstr "" -#: library/zipfile.rst:951 +#: library/zipfile.rst:964 msgid "" "Interruption during the decompression, such as pressing control-C or killing " "the decompression process may result in incomplete decompression of the " "archive." msgstr "" -#: library/zipfile.rst:955 +#: library/zipfile.rst:968 msgid "Default behaviors of extraction" msgstr "" -#: library/zipfile.rst:957 +#: library/zipfile.rst:970 msgid "" "Not knowing the default extraction behaviors can cause unexpected " "decompression results. For example, when extracting the same archive twice, " diff --git a/library/zoneinfo.po b/library/zoneinfo.po index 26ea980c8..44332db59 100644 --- a/library/zoneinfo.po +++ b/library/zoneinfo.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -53,7 +53,7 @@ msgid "" "zone data via PyPI." msgstr "" -#: includes/wasm-notavail.rst:None +#: includes/wasm-notavail.rst:-1 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" diff --git a/reference/compound_stmts.po b/reference/compound_stmts.po index aab3cdcc2..162221817 100644 --- a/reference/compound_stmts.po +++ b/reference/compound_stmts.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -164,37 +164,37 @@ msgstr "" msgid "" "Names in the target list are not deleted when the loop is finished, but if " "the sequence is empty, they will not have been assigned to at all by the " -"loop. Hint: the built-in function :func:`range` returns an iterator of " -"integers suitable to emulate the effect of Pascal's ``for i := a to b do``; " -"e.g., ``list(range(3))`` returns the list ``[0, 1, 2]``." +"loop. Hint: the built-in type :func:`range` represents immutable arithmetic " +"sequences of integers. For instance, iterating ``range(3)`` successively " +"yields 0, 1, and then 2." msgstr "" -#: reference/compound_stmts.rst:199 +#: reference/compound_stmts.rst:198 msgid "Starred elements are now allowed in the expression list." msgstr "" -#: reference/compound_stmts.rst:206 +#: reference/compound_stmts.rst:205 msgid "The :keyword:`!try` statement" msgstr "" -#: reference/compound_stmts.rst:216 +#: reference/compound_stmts.rst:215 msgid "" "The :keyword:`!try` statement specifies exception handlers and/or cleanup " "code for a group of statements:" msgstr "" -#: reference/compound_stmts.rst:232 +#: reference/compound_stmts.rst:231 msgid "" "Additional information on exceptions can be found in section :ref:" "`exceptions`, and information on using the :keyword:`raise` statement to " "generate exceptions may be found in section :ref:`raise`." msgstr "" -#: reference/compound_stmts.rst:240 +#: reference/compound_stmts.rst:239 msgid ":keyword:`!except` clause" msgstr "" -#: reference/compound_stmts.rst:242 +#: reference/compound_stmts.rst:241 msgid "" "The :keyword:`!except` clause(s) specify one or more exception handlers. " "When no exception occurs in the :keyword:`try` clause, no exception handler " @@ -211,14 +211,14 @@ msgid "" "the exception object." msgstr "" -#: reference/compound_stmts.rst:257 +#: reference/compound_stmts.rst:256 msgid "" "If no :keyword:`!except` clause matches the exception, the search for an " "exception handler continues in the surrounding code and on the invocation " "stack. [#]_" msgstr "" -#: reference/compound_stmts.rst:261 +#: reference/compound_stmts.rst:260 msgid "" "If the evaluation of an expression in the header of an :keyword:`!except` " "clause raises an exception, the original search for a handler is canceled " @@ -227,7 +227,7 @@ msgid "" "the exception)." msgstr "" -#: reference/compound_stmts.rst:269 +#: reference/compound_stmts.rst:268 msgid "" "When a matching :keyword:`!except` clause is found, the exception is " "assigned to the target specified after the :keyword:`!as` keyword in that :" @@ -240,17 +240,17 @@ msgid "" "handle the exception.)" msgstr "" -#: reference/compound_stmts.rst:280 +#: reference/compound_stmts.rst:279 msgid "" "When an exception has been assigned using ``as target``, it is cleared at " "the end of the :keyword:`!except` clause. This is as if ::" msgstr "" -#: reference/compound_stmts.rst:286 +#: reference/compound_stmts.rst:285 msgid "was translated to ::" msgstr "" -#: reference/compound_stmts.rst:294 +#: reference/compound_stmts.rst:293 msgid "" "This means the exception must be assigned to a different name to be able to " "refer to it after the :keyword:`!except` clause. Exceptions are cleared " @@ -259,7 +259,7 @@ msgid "" "garbage collection occurs." msgstr "" -#: reference/compound_stmts.rst:304 +#: reference/compound_stmts.rst:303 msgid "" "Before an :keyword:`!except` clause's suite is executed, details about the " "exception are stored in the :mod:`sys` module and can be accessed via :func:" @@ -270,11 +270,11 @@ msgid "" "are restored to their previous values when leaving an exception handler::" msgstr "" -#: reference/compound_stmts.rst:338 +#: reference/compound_stmts.rst:337 msgid ":keyword:`!except*` clause" msgstr "" -#: reference/compound_stmts.rst:340 +#: reference/compound_stmts.rst:339 msgid "" "The :keyword:`!except*` clause(s) are used for handling :exc:" "`ExceptionGroup`\\s. The exception type for matching is interpreted as in " @@ -287,21 +287,21 @@ msgid "" "that matches it. ::" msgstr "" -#: reference/compound_stmts.rst:368 +#: reference/compound_stmts.rst:367 msgid "" "Any remaining exceptions that were not handled by any :keyword:`!except*` " "clause are re-raised at the end, combined into an exception group along with " "all exceptions that were raised from within :keyword:`!except*` clauses." msgstr "" -#: reference/compound_stmts.rst:372 +#: reference/compound_stmts.rst:371 msgid "" "If the raised exception is not an exception group and its type matches one " "of the :keyword:`!except*` clauses, it is caught and wrapped by an exception " "group with an empty message string. ::" msgstr "" -#: reference/compound_stmts.rst:383 +#: reference/compound_stmts.rst:382 msgid "" "An :keyword:`!except*` clause must have a matching type, and this type " "cannot be a subclass of :exc:`BaseExceptionGroup`. It is not possible to " @@ -310,11 +310,11 @@ msgid "" "an :keyword:`!except*` clause." msgstr "" -#: reference/compound_stmts.rst:400 +#: reference/compound_stmts.rst:399 msgid ":keyword:`!else` clause" msgstr "" -#: reference/compound_stmts.rst:402 +#: reference/compound_stmts.rst:401 msgid "" "The optional :keyword:`!else` clause is executed if the control flow leaves " "the :keyword:`try` suite, no exception was raised, and no :keyword:" @@ -323,11 +323,11 @@ msgid "" "keyword:`except` clauses." msgstr "" -#: reference/compound_stmts.rst:414 +#: reference/compound_stmts.rst:413 msgid ":keyword:`!finally` clause" msgstr "" -#: reference/compound_stmts.rst:416 +#: reference/compound_stmts.rst:415 msgid "" "If :keyword:`!finally` is present, it specifies a 'cleanup' handler. The :" "keyword:`try` clause is executed, including any :keyword:`except` and :" @@ -341,13 +341,13 @@ msgid "" "exception is discarded::" msgstr "" -#: reference/compound_stmts.rst:435 +#: reference/compound_stmts.rst:434 msgid "" "The exception information is not available to the program during execution " "of the :keyword:`!finally` clause." msgstr "" -#: reference/compound_stmts.rst:443 +#: reference/compound_stmts.rst:442 msgid "" "When a :keyword:`return`, :keyword:`break` or :keyword:`continue` statement " "is executed in the :keyword:`try` suite of a :keyword:`!try`...\\ :keyword:`!" @@ -355,7 +355,7 @@ msgid "" "way out.'" msgstr "" -#: reference/compound_stmts.rst:447 +#: reference/compound_stmts.rst:446 msgid "" "The return value of a function is determined by the last :keyword:`return` " "statement executed. Since the :keyword:`!finally` clause always executes, " @@ -363,17 +363,17 @@ msgid "" "will always be the last one executed::" msgstr "" -#: reference/compound_stmts.rst:461 +#: reference/compound_stmts.rst:460 msgid "" "Prior to Python 3.8, a :keyword:`continue` statement was illegal in the :" "keyword:`!finally` clause due to a problem with the implementation." msgstr "" -#: reference/compound_stmts.rst:470 +#: reference/compound_stmts.rst:469 msgid "The :keyword:`!with` statement" msgstr "" -#: reference/compound_stmts.rst:479 +#: reference/compound_stmts.rst:478 msgid "" "The :keyword:`with` statement is used to wrap the execution of a block with " "methods defined by a context manager (see section :ref:`context-managers`). " @@ -381,37 +381,37 @@ msgid "" "`finally` usage patterns to be encapsulated for convenient reuse." msgstr "" -#: reference/compound_stmts.rst:489 +#: reference/compound_stmts.rst:488 msgid "" "The execution of the :keyword:`with` statement with one \"item\" proceeds as " "follows:" msgstr "" -#: reference/compound_stmts.rst:491 +#: reference/compound_stmts.rst:490 msgid "" "The context expression (the expression given in the :token:`~python-grammar:" "with_item`) is evaluated to obtain a context manager." msgstr "" -#: reference/compound_stmts.rst:494 +#: reference/compound_stmts.rst:493 msgid "The context manager's :meth:`__enter__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:496 +#: reference/compound_stmts.rst:495 msgid "The context manager's :meth:`__exit__` is loaded for later use." msgstr "" -#: reference/compound_stmts.rst:498 +#: reference/compound_stmts.rst:497 msgid "The context manager's :meth:`__enter__` method is invoked." msgstr "" -#: reference/compound_stmts.rst:500 +#: reference/compound_stmts.rst:499 msgid "" "If a target was included in the :keyword:`with` statement, the return value " "from :meth:`__enter__` is assigned to it." msgstr "" -#: reference/compound_stmts.rst:505 +#: reference/compound_stmts.rst:504 msgid "" "The :keyword:`with` statement guarantees that if the :meth:`__enter__` " "method returns without an error, then :meth:`__exit__` will always be " @@ -420,11 +420,11 @@ msgid "" "See step 7 below." msgstr "" -#: reference/compound_stmts.rst:511 +#: reference/compound_stmts.rst:510 msgid "The suite is executed." msgstr "" -#: reference/compound_stmts.rst:513 +#: reference/compound_stmts.rst:512 msgid "" "The context manager's :meth:`__exit__` method is invoked. If an exception " "caused the suite to be exited, its type, value, and traceback are passed as " @@ -432,7 +432,7 @@ msgid "" "supplied." msgstr "" -#: reference/compound_stmts.rst:518 +#: reference/compound_stmts.rst:517 msgid "" "If the suite was exited due to an exception, and the return value from the :" "meth:`__exit__` method was false, the exception is reraised. If the return " @@ -440,115 +440,115 @@ msgid "" "the statement following the :keyword:`with` statement." msgstr "" -#: reference/compound_stmts.rst:523 +#: reference/compound_stmts.rst:522 msgid "" "If the suite was exited for any reason other than an exception, the return " "value from :meth:`__exit__` is ignored, and execution proceeds at the normal " "location for the kind of exit that was taken." msgstr "" -#: reference/compound_stmts.rst:527 reference/compound_stmts.rst:1518 -#: reference/compound_stmts.rst:1559 +#: reference/compound_stmts.rst:526 reference/compound_stmts.rst:1517 +#: reference/compound_stmts.rst:1558 msgid "The following code::" msgstr "" -#: reference/compound_stmts.rst:532 reference/compound_stmts.rst:557 -#: reference/compound_stmts.rst:1564 +#: reference/compound_stmts.rst:531 reference/compound_stmts.rst:556 +#: reference/compound_stmts.rst:1563 msgid "is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:551 +#: reference/compound_stmts.rst:550 msgid "" "With more than one item, the context managers are processed as if multiple :" "keyword:`with` statements were nested::" msgstr "" -#: reference/compound_stmts.rst:563 +#: reference/compound_stmts.rst:562 msgid "" "You can also write multi-item context managers in multiple lines if the " "items are surrounded by parentheses. For example::" msgstr "" -#: reference/compound_stmts.rst:572 +#: reference/compound_stmts.rst:571 msgid "Support for multiple context expressions." msgstr "" -#: reference/compound_stmts.rst:575 +#: reference/compound_stmts.rst:574 msgid "" "Support for using grouping parentheses to break the statement in multiple " "lines." msgstr "" -#: reference/compound_stmts.rst:581 +#: reference/compound_stmts.rst:580 msgid ":pep:`343` - The \"with\" statement" msgstr "" -#: reference/compound_stmts.rst:581 +#: reference/compound_stmts.rst:580 msgid "" "The specification, background, and examples for the Python :keyword:`with` " "statement." msgstr "" -#: reference/compound_stmts.rst:587 +#: reference/compound_stmts.rst:586 msgid "The :keyword:`!match` statement" msgstr "" -#: reference/compound_stmts.rst:601 +#: reference/compound_stmts.rst:600 msgid "The match statement is used for pattern matching. Syntax:" msgstr "" -#: reference/compound_stmts.rst:610 +#: reference/compound_stmts.rst:609 msgid "" "This section uses single quotes to denote :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:613 +#: reference/compound_stmts.rst:612 msgid "" "Pattern matching takes a pattern as input (following ``case``) and a subject " "value (following ``match``). The pattern (which may contain subpatterns) is " "matched against the subject value. The outcomes are:" msgstr "" -#: reference/compound_stmts.rst:617 +#: reference/compound_stmts.rst:616 msgid "A match success or failure (also termed a pattern success or failure)." msgstr "" -#: reference/compound_stmts.rst:619 +#: reference/compound_stmts.rst:618 msgid "" "Possible binding of matched values to a name. The prerequisites for this " "are further discussed below." msgstr "" -#: reference/compound_stmts.rst:622 +#: reference/compound_stmts.rst:621 msgid "" "The ``match`` and ``case`` keywords are :ref:`soft keywords `." msgstr "" -#: reference/compound_stmts.rst:626 reference/compound_stmts.rst:1181 +#: reference/compound_stmts.rst:625 reference/compound_stmts.rst:1180 msgid ":pep:`634` -- Structural Pattern Matching: Specification" msgstr "" -#: reference/compound_stmts.rst:627 reference/compound_stmts.rst:1182 +#: reference/compound_stmts.rst:626 reference/compound_stmts.rst:1181 msgid ":pep:`636` -- Structural Pattern Matching: Tutorial" msgstr "" -#: reference/compound_stmts.rst:631 +#: reference/compound_stmts.rst:630 msgid "Overview" msgstr "" -#: reference/compound_stmts.rst:633 +#: reference/compound_stmts.rst:632 msgid "Here's an overview of the logical flow of a match statement:" msgstr "" -#: reference/compound_stmts.rst:636 +#: reference/compound_stmts.rst:635 msgid "" "The subject expression ``subject_expr`` is evaluated and a resulting subject " "value obtained. If the subject expression contains a comma, a tuple is " "constructed using :ref:`the standard rules `." msgstr "" -#: reference/compound_stmts.rst:640 +#: reference/compound_stmts.rst:639 msgid "" "Each pattern in a ``case_block`` is attempted to match with the subject " "value. The specific rules for success or failure are described below. The " @@ -558,7 +558,7 @@ msgid "" "outlive the executed block and can be used after the match statement**." msgstr "" -#: reference/compound_stmts.rst:649 +#: reference/compound_stmts.rst:648 msgid "" "During failed pattern matches, some subpatterns may succeed. Do not rely on " "bindings being made for a failed match. Conversely, do not rely on " @@ -567,87 +567,87 @@ msgid "" "made to allow different implementations to add optimizations." msgstr "" -#: reference/compound_stmts.rst:656 +#: reference/compound_stmts.rst:655 msgid "" "If the pattern succeeds, the corresponding guard (if present) is evaluated. " "In this case all name bindings are guaranteed to have happened." msgstr "" -#: reference/compound_stmts.rst:659 +#: reference/compound_stmts.rst:658 msgid "" "If the guard evaluates as true or is missing, the ``block`` inside " "``case_block`` is executed." msgstr "" -#: reference/compound_stmts.rst:662 +#: reference/compound_stmts.rst:661 msgid "Otherwise, the next ``case_block`` is attempted as described above." msgstr "" -#: reference/compound_stmts.rst:664 +#: reference/compound_stmts.rst:663 msgid "If there are no further case blocks, the match statement is completed." msgstr "" -#: reference/compound_stmts.rst:668 +#: reference/compound_stmts.rst:667 msgid "" "Users should generally never rely on a pattern being evaluated. Depending " "on implementation, the interpreter may cache values or use other " "optimizations which skip repeated evaluations." msgstr "" -#: reference/compound_stmts.rst:672 +#: reference/compound_stmts.rst:671 msgid "A sample match statement::" msgstr "" -#: reference/compound_stmts.rst:688 +#: reference/compound_stmts.rst:687 msgid "" "In this case, ``if flag`` is a guard. Read more about that in the next " "section." msgstr "" -#: reference/compound_stmts.rst:691 +#: reference/compound_stmts.rst:690 msgid "Guards" msgstr "" -#: reference/compound_stmts.rst:698 +#: reference/compound_stmts.rst:697 msgid "" "A ``guard`` (which is part of the ``case``) must succeed for code inside the " "``case`` block to execute. It takes the form: :keyword:`if` followed by an " "expression." msgstr "" -#: reference/compound_stmts.rst:703 +#: reference/compound_stmts.rst:702 msgid "The logical flow of a ``case`` block with a ``guard`` follows:" msgstr "" -#: reference/compound_stmts.rst:705 +#: reference/compound_stmts.rst:704 msgid "" "Check that the pattern in the ``case`` block succeeded. If the pattern " "failed, the ``guard`` is not evaluated and the next ``case`` block is " "checked." msgstr "" -#: reference/compound_stmts.rst:709 +#: reference/compound_stmts.rst:708 msgid "If the pattern succeeded, evaluate the ``guard``." msgstr "" -#: reference/compound_stmts.rst:711 +#: reference/compound_stmts.rst:710 msgid "" "If the ``guard`` condition evaluates as true, the case block is selected." msgstr "" -#: reference/compound_stmts.rst:714 +#: reference/compound_stmts.rst:713 msgid "" "If the ``guard`` condition evaluates as false, the case block is not " "selected." msgstr "" -#: reference/compound_stmts.rst:717 +#: reference/compound_stmts.rst:716 msgid "" "If the ``guard`` raises an exception during evaluation, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:720 +#: reference/compound_stmts.rst:719 msgid "" "Guards are allowed to have side effects as they are expressions. Guard " "evaluation must proceed from the first to the last case block, one at a " @@ -656,17 +656,17 @@ msgid "" "block is selected." msgstr "" -#: reference/compound_stmts.rst:730 +#: reference/compound_stmts.rst:729 msgid "Irrefutable Case Blocks" msgstr "" -#: reference/compound_stmts.rst:734 +#: reference/compound_stmts.rst:733 msgid "" "An irrefutable case block is a match-all case block. A match statement may " "have at most one irrefutable case block, and it must be last." msgstr "" -#: reference/compound_stmts.rst:737 +#: reference/compound_stmts.rst:736 msgid "" "A case block is considered irrefutable if it has no guard and its pattern is " "irrefutable. A pattern is considered irrefutable if we can prove from its " @@ -674,47 +674,47 @@ msgid "" "irrefutable:" msgstr "" -#: reference/compound_stmts.rst:742 +#: reference/compound_stmts.rst:741 msgid ":ref:`as-patterns` whose left-hand side is irrefutable" msgstr "" -#: reference/compound_stmts.rst:744 +#: reference/compound_stmts.rst:743 msgid ":ref:`or-patterns` containing at least one irrefutable pattern" msgstr "" -#: reference/compound_stmts.rst:746 +#: reference/compound_stmts.rst:745 msgid ":ref:`capture-patterns`" msgstr "" -#: reference/compound_stmts.rst:748 +#: reference/compound_stmts.rst:747 msgid ":ref:`wildcard-patterns`" msgstr "" -#: reference/compound_stmts.rst:750 +#: reference/compound_stmts.rst:749 msgid "parenthesized irrefutable patterns" msgstr "" -#: reference/compound_stmts.rst:754 +#: reference/compound_stmts.rst:753 msgid "Patterns" msgstr "" -#: reference/compound_stmts.rst:761 +#: reference/compound_stmts.rst:760 msgid "This section uses grammar notations beyond standard EBNF:" msgstr "" -#: reference/compound_stmts.rst:763 +#: reference/compound_stmts.rst:762 msgid "the notation ``SEP.RULE+`` is shorthand for ``RULE (SEP RULE)*``" msgstr "" -#: reference/compound_stmts.rst:765 +#: reference/compound_stmts.rst:764 msgid "the notation ``!RULE`` is shorthand for a negative lookahead assertion" msgstr "" -#: reference/compound_stmts.rst:768 +#: reference/compound_stmts.rst:767 msgid "The top-level syntax for ``patterns`` is:" msgstr "" -#: reference/compound_stmts.rst:782 +#: reference/compound_stmts.rst:781 msgid "" "The descriptions below will include a description \"in simple terms\" of " "what a pattern does for illustration purposes (credits to Raymond Hettinger " @@ -724,70 +724,70 @@ msgid "" "forms." msgstr "" -#: reference/compound_stmts.rst:792 +#: reference/compound_stmts.rst:791 msgid "OR Patterns" msgstr "" -#: reference/compound_stmts.rst:794 +#: reference/compound_stmts.rst:793 msgid "" "An OR pattern is two or more patterns separated by vertical bars ``|``. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:800 +#: reference/compound_stmts.rst:799 msgid "" "Only the final subpattern may be :ref:`irrefutable `, and " "each subpattern must bind the same set of names to avoid ambiguity." msgstr "" -#: reference/compound_stmts.rst:803 +#: reference/compound_stmts.rst:802 msgid "" "An OR pattern matches each of its subpatterns in turn to the subject value, " "until one succeeds. The OR pattern is then considered successful. " "Otherwise, if none of the subpatterns succeed, the OR pattern fails." msgstr "" -#: reference/compound_stmts.rst:807 +#: reference/compound_stmts.rst:806 msgid "" "In simple terms, ``P1 | P2 | ...`` will try to match ``P1``, if it fails it " "will try to match ``P2``, succeeding immediately if any succeeds, failing " "otherwise." msgstr "" -#: reference/compound_stmts.rst:813 +#: reference/compound_stmts.rst:812 msgid "AS Patterns" msgstr "" -#: reference/compound_stmts.rst:815 +#: reference/compound_stmts.rst:814 msgid "" "An AS pattern matches an OR pattern on the left of the :keyword:`as` keyword " "against a subject. Syntax:" msgstr "" -#: reference/compound_stmts.rst:821 +#: reference/compound_stmts.rst:820 msgid "" "If the OR pattern fails, the AS pattern fails. Otherwise, the AS pattern " "binds the subject to the name on the right of the as keyword and succeeds. " "``capture_pattern`` cannot be a a ``_``." msgstr "" -#: reference/compound_stmts.rst:825 +#: reference/compound_stmts.rst:824 msgid "" "In simple terms ``P as NAME`` will match with ``P``, and on success it will " "set ``NAME = ``." msgstr "" -#: reference/compound_stmts.rst:832 +#: reference/compound_stmts.rst:831 msgid "Literal Patterns" msgstr "" -#: reference/compound_stmts.rst:834 +#: reference/compound_stmts.rst:833 msgid "" "A literal pattern corresponds to most :ref:`literals ` in Python. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:847 +#: reference/compound_stmts.rst:846 msgid "" "The rule ``strings`` and the token ``NUMBER`` are defined in the :doc:" "`standard Python grammar <./grammar>`. Triple-quoted strings are " @@ -795,42 +795,42 @@ msgid "" "are not supported." msgstr "" -#: reference/compound_stmts.rst:852 +#: reference/compound_stmts.rst:851 msgid "" "The forms ``signed_number '+' NUMBER`` and ``signed_number '-' NUMBER`` are " "for expressing :ref:`complex numbers `; they require a real " "number on the left and an imaginary number on the right. E.g. ``3 + 4j``." msgstr "" -#: reference/compound_stmts.rst:856 +#: reference/compound_stmts.rst:855 msgid "" "In simple terms, ``LITERAL`` will succeed only if `` == LITERAL``. " "For the singletons ``None``, ``True`` and ``False``, the :keyword:`is` " "operator is used." msgstr "" -#: reference/compound_stmts.rst:862 +#: reference/compound_stmts.rst:861 msgid "Capture Patterns" msgstr "" -#: reference/compound_stmts.rst:864 +#: reference/compound_stmts.rst:863 msgid "A capture pattern binds the subject value to a name. Syntax:" msgstr "" -#: reference/compound_stmts.rst:870 +#: reference/compound_stmts.rst:869 msgid "" "A single underscore ``_`` is not a capture pattern (this is what ``!'_'`` " "expresses). It is instead treated as a :token:`~python-grammar:" "wildcard_pattern`." msgstr "" -#: reference/compound_stmts.rst:874 +#: reference/compound_stmts.rst:873 msgid "" "In a given pattern, a given name can only be bound once. E.g. ``case x, " "x: ...`` is invalid while ``case [x] | x: ...`` is allowed." msgstr "" -#: reference/compound_stmts.rst:877 +#: reference/compound_stmts.rst:876 msgid "" "Capture patterns always succeed. The binding follows scoping rules " "established by the assignment expression operator in :pep:`572`; the name " @@ -838,55 +838,55 @@ msgid "" "there's an applicable :keyword:`global` or :keyword:`nonlocal` statement." msgstr "" -#: reference/compound_stmts.rst:882 +#: reference/compound_stmts.rst:881 msgid "" "In simple terms ``NAME`` will always succeed and it will set ``NAME = " "``." msgstr "" -#: reference/compound_stmts.rst:887 +#: reference/compound_stmts.rst:886 msgid "Wildcard Patterns" msgstr "" -#: reference/compound_stmts.rst:889 +#: reference/compound_stmts.rst:888 msgid "" "A wildcard pattern always succeeds (matches anything) and binds no name. " "Syntax:" msgstr "" -#: reference/compound_stmts.rst:895 +#: reference/compound_stmts.rst:894 msgid "" "``_`` is a :ref:`soft keyword ` within any pattern, but only " "within patterns. It is an identifier, as usual, even within ``match`` " "subject expressions, ``guard``\\ s, and ``case`` blocks." msgstr "" -#: reference/compound_stmts.rst:899 +#: reference/compound_stmts.rst:898 msgid "In simple terms, ``_`` will always succeed." msgstr "" -#: reference/compound_stmts.rst:904 +#: reference/compound_stmts.rst:903 msgid "Value Patterns" msgstr "" -#: reference/compound_stmts.rst:906 +#: reference/compound_stmts.rst:905 msgid "A value pattern represents a named value in Python. Syntax:" msgstr "" -#: reference/compound_stmts.rst:914 +#: reference/compound_stmts.rst:913 msgid "" "The dotted name in the pattern is looked up using standard Python :ref:`name " "resolution rules `. The pattern succeeds if the value found " "compares equal to the subject value (using the ``==`` equality operator)." msgstr "" -#: reference/compound_stmts.rst:919 +#: reference/compound_stmts.rst:918 msgid "" "In simple terms ``NAME1.NAME2`` will succeed only if `` == NAME1." "NAME2``" msgstr "" -#: reference/compound_stmts.rst:923 +#: reference/compound_stmts.rst:922 msgid "" "If the same value occurs multiple times in the same match statement, the " "interpreter may cache the first value found and reuse it rather than repeat " @@ -894,44 +894,44 @@ msgid "" "given match statement." msgstr "" -#: reference/compound_stmts.rst:931 +#: reference/compound_stmts.rst:930 msgid "Group Patterns" msgstr "" -#: reference/compound_stmts.rst:933 +#: reference/compound_stmts.rst:932 msgid "" "A group pattern allows users to add parentheses around patterns to emphasize " "the intended grouping. Otherwise, it has no additional syntax. Syntax:" msgstr "" -#: reference/compound_stmts.rst:940 +#: reference/compound_stmts.rst:939 msgid "In simple terms ``(P)`` has the same effect as ``P``." msgstr "" -#: reference/compound_stmts.rst:945 +#: reference/compound_stmts.rst:944 msgid "Sequence Patterns" msgstr "" -#: reference/compound_stmts.rst:947 +#: reference/compound_stmts.rst:946 msgid "" "A sequence pattern contains several subpatterns to be matched against " "sequence elements. The syntax is similar to the unpacking of a list or tuple." msgstr "" -#: reference/compound_stmts.rst:958 +#: reference/compound_stmts.rst:957 msgid "" "There is no difference if parentheses or square brackets are used for " "sequence patterns (i.e. ``(...)`` vs ``[...]`` )." msgstr "" -#: reference/compound_stmts.rst:962 +#: reference/compound_stmts.rst:961 msgid "" "A single pattern enclosed in parentheses without a trailing comma (e.g. ``(3 " "| 4)``) is a :ref:`group pattern `. While a single pattern " "enclosed in square brackets (e.g. ``[3 | 4]``) is still a sequence pattern." msgstr "" -#: reference/compound_stmts.rst:967 +#: reference/compound_stmts.rst:966 msgid "" "At most one star subpattern may be in a sequence pattern. The star " "subpattern may occur in any position. If no star subpattern is present, the " @@ -939,40 +939,40 @@ msgid "" "variable-length sequence pattern." msgstr "" -#: reference/compound_stmts.rst:972 +#: reference/compound_stmts.rst:971 msgid "" "The following is the logical flow for matching a sequence pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:975 +#: reference/compound_stmts.rst:974 msgid "" "If the subject value is not a sequence [#]_, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:978 +#: reference/compound_stmts.rst:977 msgid "" "If the subject value is an instance of ``str``, ``bytes`` or ``bytearray`` " "the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:981 +#: reference/compound_stmts.rst:980 msgid "" "The subsequent steps depend on whether the sequence pattern is fixed or " "variable-length." msgstr "" -#: reference/compound_stmts.rst:984 +#: reference/compound_stmts.rst:983 msgid "If the sequence pattern is fixed-length:" msgstr "" -#: reference/compound_stmts.rst:986 +#: reference/compound_stmts.rst:985 msgid "" "If the length of the subject sequence is not equal to the number of " "subpatterns, the sequence pattern fails" msgstr "" -#: reference/compound_stmts.rst:989 +#: reference/compound_stmts.rst:988 msgid "" "Subpatterns in the sequence pattern are matched to their corresponding items " "in the subject sequence from left to right. Matching stops as soon as a " @@ -980,118 +980,118 @@ msgid "" "corresponding item, the sequence pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:994 +#: reference/compound_stmts.rst:993 msgid "Otherwise, if the sequence pattern is variable-length:" msgstr "" -#: reference/compound_stmts.rst:996 +#: reference/compound_stmts.rst:995 msgid "" "If the length of the subject sequence is less than the number of non-star " "subpatterns, the sequence pattern fails." msgstr "" -#: reference/compound_stmts.rst:999 +#: reference/compound_stmts.rst:998 msgid "" "The leading non-star subpatterns are matched to their corresponding items as " "for fixed-length sequences." msgstr "" -#: reference/compound_stmts.rst:1002 +#: reference/compound_stmts.rst:1001 msgid "" "If the previous step succeeds, the star subpattern matches a list formed of " "the remaining subject items, excluding the remaining items corresponding to " "non-star subpatterns following the star subpattern." msgstr "" -#: reference/compound_stmts.rst:1006 +#: reference/compound_stmts.rst:1005 msgid "" "Remaining non-star subpatterns are matched to their corresponding subject " "items, as for a fixed-length sequence." msgstr "" -#: reference/compound_stmts.rst:1009 +#: reference/compound_stmts.rst:1008 msgid "" "The length of the subject sequence is obtained via :func:`len` (i.e. via " "the :meth:`__len__` protocol). This length may be cached by the interpreter " "in a similar manner as :ref:`value patterns `." msgstr "" -#: reference/compound_stmts.rst:1015 +#: reference/compound_stmts.rst:1014 msgid "" "In simple terms ``[P1, P2, P3,`` ... ``, P]`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1018 +#: reference/compound_stmts.rst:1017 msgid "check ```` is a sequence" msgstr "" -#: reference/compound_stmts.rst:1019 +#: reference/compound_stmts.rst:1018 msgid "``len(subject) == ``" msgstr "" -#: reference/compound_stmts.rst:1020 +#: reference/compound_stmts.rst:1019 msgid "" "``P1`` matches ``[0]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1021 +#: reference/compound_stmts.rst:1020 msgid "" "``P2`` matches ``[1]`` (note that this match can also bind names)" msgstr "" -#: reference/compound_stmts.rst:1022 +#: reference/compound_stmts.rst:1021 msgid "... and so on for the corresponding pattern/element." msgstr "" -#: reference/compound_stmts.rst:1027 +#: reference/compound_stmts.rst:1026 msgid "Mapping Patterns" msgstr "" -#: reference/compound_stmts.rst:1029 +#: reference/compound_stmts.rst:1028 msgid "" "A mapping pattern contains one or more key-value patterns. The syntax is " "similar to the construction of a dictionary. Syntax:" msgstr "" -#: reference/compound_stmts.rst:1040 +#: reference/compound_stmts.rst:1039 msgid "" "At most one double star pattern may be in a mapping pattern. The double " "star pattern must be the last subpattern in the mapping pattern." msgstr "" -#: reference/compound_stmts.rst:1043 +#: reference/compound_stmts.rst:1042 msgid "" "Duplicate keys in mapping patterns are disallowed. Duplicate literal keys " "will raise a :exc:`SyntaxError`. Two keys that otherwise have the same value " "will raise a :exc:`ValueError` at runtime." msgstr "" -#: reference/compound_stmts.rst:1047 +#: reference/compound_stmts.rst:1046 msgid "" "The following is the logical flow for matching a mapping pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1050 +#: reference/compound_stmts.rst:1049 msgid "If the subject value is not a mapping [#]_,the mapping pattern fails." msgstr "" -#: reference/compound_stmts.rst:1052 +#: reference/compound_stmts.rst:1051 msgid "" "If every key given in the mapping pattern is present in the subject mapping, " "and the pattern for each key matches the corresponding item of the subject " "mapping, the mapping pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1056 +#: reference/compound_stmts.rst:1055 msgid "" "If duplicate keys are detected in the mapping pattern, the pattern is " "considered invalid. A :exc:`SyntaxError` is raised for duplicate literal " "values; or a :exc:`ValueError` for named keys of the same value." msgstr "" -#: reference/compound_stmts.rst:1060 +#: reference/compound_stmts.rst:1059 msgid "" "Key-value pairs are matched using the two-argument form of the mapping " "subject's ``get()`` method. Matched key-value pairs must already be present " @@ -1099,254 +1099,254 @@ msgid "" "`__getitem__`." msgstr "" -#: reference/compound_stmts.rst:1065 +#: reference/compound_stmts.rst:1064 msgid "" "In simple terms ``{KEY1: P1, KEY2: P2, ... }`` matches only if all the " "following happens:" msgstr "" -#: reference/compound_stmts.rst:1068 +#: reference/compound_stmts.rst:1067 msgid "check ```` is a mapping" msgstr "" -#: reference/compound_stmts.rst:1069 +#: reference/compound_stmts.rst:1068 msgid "``KEY1 in ``" msgstr "" -#: reference/compound_stmts.rst:1070 +#: reference/compound_stmts.rst:1069 msgid "``P1`` matches ``[KEY1]``" msgstr "" -#: reference/compound_stmts.rst:1071 +#: reference/compound_stmts.rst:1070 msgid "... and so on for the corresponding KEY/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1077 +#: reference/compound_stmts.rst:1076 msgid "Class Patterns" msgstr "" -#: reference/compound_stmts.rst:1079 +#: reference/compound_stmts.rst:1078 msgid "" "A class pattern represents a class and its positional and keyword arguments " "(if any). Syntax:" msgstr "" -#: reference/compound_stmts.rst:1090 +#: reference/compound_stmts.rst:1089 msgid "The same keyword should not be repeated in class patterns." msgstr "" -#: reference/compound_stmts.rst:1092 +#: reference/compound_stmts.rst:1091 msgid "" "The following is the logical flow for matching a class pattern against a " "subject value:" msgstr "" -#: reference/compound_stmts.rst:1095 +#: reference/compound_stmts.rst:1094 msgid "" "If ``name_or_attr`` is not an instance of the builtin :class:`type` , raise :" "exc:`TypeError`." msgstr "" -#: reference/compound_stmts.rst:1098 +#: reference/compound_stmts.rst:1097 msgid "" "If the subject value is not an instance of ``name_or_attr`` (tested via :" "func:`isinstance`), the class pattern fails." msgstr "" -#: reference/compound_stmts.rst:1101 +#: reference/compound_stmts.rst:1100 msgid "" "If no pattern arguments are present, the pattern succeeds. Otherwise, the " "subsequent steps depend on whether keyword or positional argument patterns " "are present." msgstr "" -#: reference/compound_stmts.rst:1105 +#: reference/compound_stmts.rst:1104 msgid "" "For a number of built-in types (specified below), a single positional " "subpattern is accepted which will match the entire subject; for these types " "keyword patterns also work as for other types." msgstr "" -#: reference/compound_stmts.rst:1109 +#: reference/compound_stmts.rst:1108 msgid "" "If only keyword patterns are present, they are processed as follows, one by " "one:" msgstr "" -#: reference/compound_stmts.rst:1112 +#: reference/compound_stmts.rst:1111 msgid "I. The keyword is looked up as an attribute on the subject." msgstr "" -#: reference/compound_stmts.rst:1114 +#: reference/compound_stmts.rst:1113 msgid "" "If this raises an exception other than :exc:`AttributeError`, the exception " "bubbles up." msgstr "" -#: reference/compound_stmts.rst:1117 +#: reference/compound_stmts.rst:1116 msgid "If this raises :exc:`AttributeError`, the class pattern has failed." msgstr "" -#: reference/compound_stmts.rst:1119 +#: reference/compound_stmts.rst:1118 msgid "" "Else, the subpattern associated with the keyword pattern is matched against " "the subject's attribute value. If this fails, the class pattern fails; if " "this succeeds, the match proceeds to the next keyword." msgstr "" -#: reference/compound_stmts.rst:1124 +#: reference/compound_stmts.rst:1123 msgid "II. If all keyword patterns succeed, the class pattern succeeds." msgstr "" -#: reference/compound_stmts.rst:1126 +#: reference/compound_stmts.rst:1125 msgid "" "If any positional patterns are present, they are converted to keyword " "patterns using the :data:`~object.__match_args__` attribute on the class " "``name_or_attr`` before matching:" msgstr "" -#: reference/compound_stmts.rst:1130 +#: reference/compound_stmts.rst:1129 msgid "" "I. The equivalent of ``getattr(cls, \"__match_args__\", ())`` is called." msgstr "" -#: reference/compound_stmts.rst:1132 +#: reference/compound_stmts.rst:1131 msgid "If this raises an exception, the exception bubbles up." msgstr "" -#: reference/compound_stmts.rst:1134 +#: reference/compound_stmts.rst:1133 msgid "" "If the returned value is not a tuple, the conversion fails and :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1137 +#: reference/compound_stmts.rst:1136 msgid "" "If there are more positional patterns than ``len(cls.__match_args__)``, :exc:" "`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1140 +#: reference/compound_stmts.rst:1139 msgid "" "Otherwise, positional pattern ``i`` is converted to a keyword pattern using " "``__match_args__[i]`` as the keyword. ``__match_args__[i]`` must be a " "string; if not :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1144 +#: reference/compound_stmts.rst:1143 msgid "If there are duplicate keywords, :exc:`TypeError` is raised." msgstr "" -#: reference/compound_stmts.rst:1146 +#: reference/compound_stmts.rst:1145 msgid ":ref:`class-pattern-matching`" msgstr "" -#: reference/compound_stmts.rst:1149 +#: reference/compound_stmts.rst:1148 msgid "" "II. Once all positional patterns have been converted to keyword patterns," msgstr "" -#: reference/compound_stmts.rst:1149 +#: reference/compound_stmts.rst:1148 msgid "the match proceeds as if there were only keyword patterns." msgstr "" -#: reference/compound_stmts.rst:1151 +#: reference/compound_stmts.rst:1150 msgid "" "For the following built-in types the handling of positional subpatterns is " "different:" msgstr "" -#: reference/compound_stmts.rst:1154 +#: reference/compound_stmts.rst:1153 msgid ":class:`bool`" msgstr "" -#: reference/compound_stmts.rst:1155 +#: reference/compound_stmts.rst:1154 msgid ":class:`bytearray`" msgstr "" -#: reference/compound_stmts.rst:1156 +#: reference/compound_stmts.rst:1155 msgid ":class:`bytes`" msgstr "" -#: reference/compound_stmts.rst:1157 +#: reference/compound_stmts.rst:1156 msgid ":class:`dict`" msgstr "" -#: reference/compound_stmts.rst:1158 +#: reference/compound_stmts.rst:1157 msgid ":class:`float`" msgstr "" -#: reference/compound_stmts.rst:1159 +#: reference/compound_stmts.rst:1158 msgid ":class:`frozenset`" msgstr "" -#: reference/compound_stmts.rst:1160 +#: reference/compound_stmts.rst:1159 msgid ":class:`int`" msgstr "" -#: reference/compound_stmts.rst:1161 reference/compound_stmts.rst:1612 +#: reference/compound_stmts.rst:1160 reference/compound_stmts.rst:1611 msgid ":class:`list`" msgstr "" -#: reference/compound_stmts.rst:1162 +#: reference/compound_stmts.rst:1161 msgid ":class:`set`" msgstr "" -#: reference/compound_stmts.rst:1163 +#: reference/compound_stmts.rst:1162 msgid ":class:`str`" msgstr "" -#: reference/compound_stmts.rst:1164 reference/compound_stmts.rst:1615 +#: reference/compound_stmts.rst:1163 reference/compound_stmts.rst:1614 msgid ":class:`tuple`" msgstr "" -#: reference/compound_stmts.rst:1166 +#: reference/compound_stmts.rst:1165 msgid "" "These classes accept a single positional argument, and the pattern there is " "matched against the whole object rather than an attribute. For example " "``int(0|1)`` matches the value ``0``, but not the value ``0.0``." msgstr "" -#: reference/compound_stmts.rst:1170 +#: reference/compound_stmts.rst:1169 msgid "" "In simple terms ``CLS(P1, attr=P2)`` matches only if the following happens:" msgstr "" -#: reference/compound_stmts.rst:1172 +#: reference/compound_stmts.rst:1171 msgid "``isinstance(, CLS)``" msgstr "" -#: reference/compound_stmts.rst:1173 +#: reference/compound_stmts.rst:1172 msgid "convert ``P1`` to a keyword pattern using ``CLS.__match_args__``" msgstr "" -#: reference/compound_stmts.rst:1175 +#: reference/compound_stmts.rst:1174 msgid "For each keyword argument ``attr=P2``:" msgstr "" -#: reference/compound_stmts.rst:1175 +#: reference/compound_stmts.rst:1174 msgid "``hasattr(, \"attr\")``" msgstr "" -#: reference/compound_stmts.rst:1176 +#: reference/compound_stmts.rst:1175 msgid "``P2`` matches ``.attr``" msgstr "" -#: reference/compound_stmts.rst:1177 +#: reference/compound_stmts.rst:1176 msgid "... and so on for the corresponding keyword argument/pattern pair." msgstr "" -#: reference/compound_stmts.rst:1192 +#: reference/compound_stmts.rst:1191 msgid "Function definitions" msgstr "" -#: reference/compound_stmts.rst:1207 +#: reference/compound_stmts.rst:1206 msgid "" "A function definition defines a user-defined function object (see section :" "ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1226 +#: reference/compound_stmts.rst:1225 msgid "" "A function definition is an executable statement. Its execution binds the " "function name in the current local namespace to a function object (a wrapper " @@ -1355,13 +1355,13 @@ msgid "" "used when the function is called." msgstr "" -#: reference/compound_stmts.rst:1232 +#: reference/compound_stmts.rst:1231 msgid "" "The function definition does not execute the function body; this gets " "executed only when the function is called. [#]_" msgstr "" -#: reference/compound_stmts.rst:1238 +#: reference/compound_stmts.rst:1237 msgid "" "A function definition may be wrapped by one or more :term:`decorator` " "expressions. Decorator expressions are evaluated when the function is " @@ -1372,24 +1372,24 @@ msgid "" "example, the following code ::" msgstr "" -#: reference/compound_stmts.rst:1249 reference/compound_stmts.rst:1426 +#: reference/compound_stmts.rst:1248 reference/compound_stmts.rst:1425 msgid "is roughly equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1254 +#: reference/compound_stmts.rst:1253 msgid "" "except that the original function is not temporarily bound to the name " "``func``." msgstr "" -#: reference/compound_stmts.rst:1256 +#: reference/compound_stmts.rst:1255 msgid "" "Functions may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1266 +#: reference/compound_stmts.rst:1265 msgid "" "When one or more :term:`parameters ` have the form *parameter* " "``=`` *expression*, the function is said to have \"default parameter values." @@ -1400,7 +1400,7 @@ msgid "" "syntactic restriction that is not expressed by the grammar." msgstr "" -#: reference/compound_stmts.rst:1274 +#: reference/compound_stmts.rst:1273 msgid "" "**Default parameter values are evaluated from left to right when the " "function definition is executed.** This means that the expression is " @@ -1413,7 +1413,7 @@ msgid "" "the default, and explicitly test for it in the body of the function, e.g.::" msgstr "" -#: reference/compound_stmts.rst:1295 +#: reference/compound_stmts.rst:1294 msgid "" "Function call semantics are described in more detail in section :ref:" "`calls`. A function call always assigns values to all parameters mentioned " @@ -1429,13 +1429,13 @@ msgid "" "positional arguments." msgstr "" -#: reference/compound_stmts.rst:1307 +#: reference/compound_stmts.rst:1306 msgid "" "The ``/`` function parameter syntax may be used to indicate positional-only " "parameters. See :pep:`570` for details." msgstr "" -#: reference/compound_stmts.rst:1316 +#: reference/compound_stmts.rst:1315 msgid "" "Parameters may have an :term:`annotation ` of the form " "\"``: expression``\" following the parameter name. Any parameter may have " @@ -1452,7 +1452,7 @@ msgid "" "different order than they appear in the source code." msgstr "" -#: reference/compound_stmts.rst:1331 +#: reference/compound_stmts.rst:1330 msgid "" "It is also possible to create anonymous functions (functions not bound to a " "name), for immediate use in expressions. This uses lambda expressions, " @@ -1464,7 +1464,7 @@ msgid "" "execution of multiple statements and annotations." msgstr "" -#: reference/compound_stmts.rst:1339 +#: reference/compound_stmts.rst:1338 msgid "" "**Programmer's note:** Functions are first-class objects. A \"``def``\" " "statement executed inside a function definition defines a local function " @@ -1473,51 +1473,51 @@ msgid "" "See section :ref:`naming` for details." msgstr "" -#: reference/compound_stmts.rst:1348 +#: reference/compound_stmts.rst:1347 msgid ":pep:`3107` - Function Annotations" msgstr "" -#: reference/compound_stmts.rst:1348 +#: reference/compound_stmts.rst:1347 msgid "The original specification for function annotations." msgstr "" -#: reference/compound_stmts.rst:1351 +#: reference/compound_stmts.rst:1350 msgid ":pep:`484` - Type Hints" msgstr "" -#: reference/compound_stmts.rst:1351 +#: reference/compound_stmts.rst:1350 msgid "Definition of a standard meaning for annotations: type hints." msgstr "" -#: reference/compound_stmts.rst:1355 +#: reference/compound_stmts.rst:1354 msgid ":pep:`526` - Syntax for Variable Annotations" msgstr "" -#: reference/compound_stmts.rst:1354 +#: reference/compound_stmts.rst:1353 msgid "" "Ability to type hint variable declarations, including class variables and " "instance variables" msgstr "" -#: reference/compound_stmts.rst:1358 +#: reference/compound_stmts.rst:1357 msgid ":pep:`563` - Postponed Evaluation of Annotations" msgstr "" -#: reference/compound_stmts.rst:1358 +#: reference/compound_stmts.rst:1357 msgid "" "Support for forward references within annotations by preserving annotations " "in a string form at runtime instead of eager evaluation." msgstr "" -#: reference/compound_stmts.rst:1365 +#: reference/compound_stmts.rst:1364 msgid "Class definitions" msgstr "" -#: reference/compound_stmts.rst:1380 +#: reference/compound_stmts.rst:1379 msgid "A class definition defines a class object (see section :ref:`types`):" msgstr "" -#: reference/compound_stmts.rst:1387 +#: reference/compound_stmts.rst:1386 msgid "" "A class definition is an executable statement. The inheritance list usually " "gives a list of base classes (see :ref:`metaclasses` for more advanced " @@ -1526,11 +1526,11 @@ msgid "" "default, from the base class :class:`object`; hence, ::" msgstr "" -#: reference/compound_stmts.rst:1396 +#: reference/compound_stmts.rst:1395 msgid "is equivalent to ::" msgstr "" -#: reference/compound_stmts.rst:1401 +#: reference/compound_stmts.rst:1400 msgid "" "The class's suite is then executed in a new execution frame (see :ref:" "`naming`), using a newly created local namespace and the original global " @@ -1542,7 +1542,7 @@ msgid "" "original local namespace." msgstr "" -#: reference/compound_stmts.rst:1410 +#: reference/compound_stmts.rst:1409 msgid "" "The order in which attributes are defined in the class body is preserved in " "the new class's ``__dict__``. Note that this is reliable only right after " @@ -1550,30 +1550,30 @@ msgid "" "definition syntax." msgstr "" -#: reference/compound_stmts.rst:1415 +#: reference/compound_stmts.rst:1414 msgid "" "Class creation can be customized heavily using :ref:`metaclasses " "`." msgstr "" -#: reference/compound_stmts.rst:1420 +#: reference/compound_stmts.rst:1419 msgid "Classes can also be decorated: just like when decorating functions, ::" msgstr "" -#: reference/compound_stmts.rst:1431 +#: reference/compound_stmts.rst:1430 msgid "" "The evaluation rules for the decorator expressions are the same as for " "function decorators. The result is then bound to the class name." msgstr "" -#: reference/compound_stmts.rst:1434 +#: reference/compound_stmts.rst:1433 msgid "" "Classes may be decorated with any valid :token:`~python-grammar:" "assignment_expression`. Previously, the grammar was much more restrictive; " "see :pep:`614` for details." msgstr "" -#: reference/compound_stmts.rst:1439 +#: reference/compound_stmts.rst:1438 msgid "" "**Programmer's note:** Variables defined in the class definition are class " "attributes; they are shared by instances. Instance attributes can be set in " @@ -1586,35 +1586,35 @@ msgid "" "implementation details." msgstr "" -#: reference/compound_stmts.rst:1454 +#: reference/compound_stmts.rst:1453 msgid ":pep:`3115` - Metaclasses in Python 3000" msgstr "" -#: reference/compound_stmts.rst:1452 +#: reference/compound_stmts.rst:1451 msgid "" "The proposal that changed the declaration of metaclasses to the current " "syntax, and the semantics for how classes with metaclasses are constructed." msgstr "" -#: reference/compound_stmts.rst:1457 +#: reference/compound_stmts.rst:1456 msgid ":pep:`3129` - Class Decorators" msgstr "" -#: reference/compound_stmts.rst:1457 +#: reference/compound_stmts.rst:1456 msgid "" "The proposal that added class decorators. Function and method decorators " "were introduced in :pep:`318`." msgstr "" -#: reference/compound_stmts.rst:1464 +#: reference/compound_stmts.rst:1463 msgid "Coroutines" msgstr "" -#: reference/compound_stmts.rst:1472 +#: reference/compound_stmts.rst:1471 msgid "Coroutine function definition" msgstr "" -#: reference/compound_stmts.rst:1482 +#: reference/compound_stmts.rst:1481 msgid "" "Execution of Python coroutines can be suspended and resumed at many points " "(see :term:`coroutine`). :keyword:`await` expressions, :keyword:`async for` " @@ -1622,183 +1622,183 @@ msgid "" "function." msgstr "" -#: reference/compound_stmts.rst:1486 +#: reference/compound_stmts.rst:1485 msgid "" "Functions defined with ``async def`` syntax are always coroutine functions, " "even if they do not contain ``await`` or ``async`` keywords." msgstr "" -#: reference/compound_stmts.rst:1489 +#: reference/compound_stmts.rst:1488 msgid "" "It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1492 +#: reference/compound_stmts.rst:1491 msgid "An example of a coroutine function::" msgstr "" -#: reference/compound_stmts.rst:1498 +#: reference/compound_stmts.rst:1497 msgid "" "``await`` and ``async`` are now keywords; previously they were only treated " "as such inside the body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1506 +#: reference/compound_stmts.rst:1505 msgid "The :keyword:`!async for` statement" msgstr "" -#: reference/compound_stmts.rst:1511 +#: reference/compound_stmts.rst:1510 msgid "" "An :term:`asynchronous iterable` provides an ``__aiter__`` method that " "directly returns an :term:`asynchronous iterator`, which can call " "asynchronous code in its ``__anext__`` method." msgstr "" -#: reference/compound_stmts.rst:1515 +#: reference/compound_stmts.rst:1514 msgid "" "The ``async for`` statement allows convenient iteration over asynchronous " "iterables." msgstr "" -#: reference/compound_stmts.rst:1525 +#: reference/compound_stmts.rst:1524 msgid "Is semantically equivalent to::" msgstr "" -#: reference/compound_stmts.rst:1541 +#: reference/compound_stmts.rst:1540 msgid "" "See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details." msgstr "" -#: reference/compound_stmts.rst:1543 +#: reference/compound_stmts.rst:1542 msgid "" "It is a :exc:`SyntaxError` to use an ``async for`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1551 +#: reference/compound_stmts.rst:1550 msgid "The :keyword:`!async with` statement" msgstr "" -#: reference/compound_stmts.rst:1556 +#: reference/compound_stmts.rst:1555 msgid "" "An :term:`asynchronous context manager` is a :term:`context manager` that is " "able to suspend execution in its *enter* and *exit* methods." msgstr "" -#: reference/compound_stmts.rst:1583 +#: reference/compound_stmts.rst:1582 msgid "" "See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for " "details." msgstr "" -#: reference/compound_stmts.rst:1585 +#: reference/compound_stmts.rst:1584 msgid "" "It is a :exc:`SyntaxError` to use an ``async with`` statement outside the " "body of a coroutine function." msgstr "" -#: reference/compound_stmts.rst:1591 +#: reference/compound_stmts.rst:1590 msgid ":pep:`492` - Coroutines with async and await syntax" msgstr "" -#: reference/compound_stmts.rst:1591 +#: reference/compound_stmts.rst:1590 msgid "" "The proposal that made coroutines a proper standalone concept in Python, and " "added supporting syntax." msgstr "" -#: reference/compound_stmts.rst:1596 +#: reference/compound_stmts.rst:1595 msgid "Footnotes" msgstr "" -#: reference/compound_stmts.rst:1597 +#: reference/compound_stmts.rst:1596 msgid "" "The exception is propagated to the invocation stack unless there is a :" "keyword:`finally` clause which happens to raise another exception. That new " "exception causes the old one to be lost." msgstr "" -#: reference/compound_stmts.rst:1601 +#: reference/compound_stmts.rst:1600 msgid "In pattern matching, a sequence is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1603 +#: reference/compound_stmts.rst:1602 msgid "a class that inherits from :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1604 +#: reference/compound_stmts.rst:1603 msgid "" "a Python class that has been registered as :class:`collections.abc.Sequence`" msgstr "" -#: reference/compound_stmts.rst:1605 +#: reference/compound_stmts.rst:1604 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_SEQUENCE` bit set" msgstr "" -#: reference/compound_stmts.rst:1606 reference/compound_stmts.rst:1625 +#: reference/compound_stmts.rst:1605 reference/compound_stmts.rst:1624 msgid "a class that inherits from any of the above" msgstr "" -#: reference/compound_stmts.rst:1608 +#: reference/compound_stmts.rst:1607 msgid "The following standard library classes are sequences:" msgstr "" -#: reference/compound_stmts.rst:1610 +#: reference/compound_stmts.rst:1609 msgid ":class:`array.array`" msgstr "" -#: reference/compound_stmts.rst:1611 +#: reference/compound_stmts.rst:1610 msgid ":class:`collections.deque`" msgstr "" -#: reference/compound_stmts.rst:1613 +#: reference/compound_stmts.rst:1612 msgid ":class:`memoryview`" msgstr "" -#: reference/compound_stmts.rst:1614 +#: reference/compound_stmts.rst:1613 msgid ":class:`range`" msgstr "" -#: reference/compound_stmts.rst:1617 +#: reference/compound_stmts.rst:1616 msgid "" "Subject values of type ``str``, ``bytes``, and ``bytearray`` do not match " "sequence patterns." msgstr "" -#: reference/compound_stmts.rst:1620 +#: reference/compound_stmts.rst:1619 msgid "In pattern matching, a mapping is defined as one of the following:" msgstr "" -#: reference/compound_stmts.rst:1622 +#: reference/compound_stmts.rst:1621 msgid "a class that inherits from :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1623 +#: reference/compound_stmts.rst:1622 msgid "" "a Python class that has been registered as :class:`collections.abc.Mapping`" msgstr "" -#: reference/compound_stmts.rst:1624 +#: reference/compound_stmts.rst:1623 msgid "" "a builtin class that has its (CPython) :data:`Py_TPFLAGS_MAPPING` bit set" msgstr "" -#: reference/compound_stmts.rst:1627 +#: reference/compound_stmts.rst:1626 msgid "" "The standard library classes :class:`dict` and :class:`types." "MappingProxyType` are mappings." msgstr "" -#: reference/compound_stmts.rst:1630 +#: reference/compound_stmts.rst:1629 msgid "" "A string literal appearing as the first statement in the function body is " "transformed into the function's ``__doc__`` attribute and therefore the " "function's :term:`docstring`." msgstr "" -#: reference/compound_stmts.rst:1634 +#: reference/compound_stmts.rst:1633 msgid "" "A string literal appearing as the first statement in the class body is " "transformed into the namespace's ``__doc__`` item and therefore the class's :" diff --git a/reference/datamodel.po b/reference/datamodel.po index 5ce756b7e..84d1af7f9 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1938,7 +1938,7 @@ msgid "" "See :ref:`special-lookup`." msgstr "" -#: reference/datamodel.rst:1637 +#: reference/datamodel.rst:16 msgid "" "Raises an :ref:`auditing event ` ``object.__getattr__`` with " "arguments ``obj``, ``name``." @@ -1964,7 +1964,7 @@ msgid "" "__setattr__(self, name, value)``." msgstr "" -#: reference/datamodel.rst:1654 +#: reference/datamodel.rst:9 msgid "" "Raises an :ref:`auditing event ` ``object.__setattr__`` with " "arguments ``obj``, ``name``, ``value``." @@ -1984,7 +1984,7 @@ msgid "" "object." msgstr "" -#: reference/datamodel.rst:1666 +#: reference/datamodel.rst:4 msgid "" "Raises an :ref:`auditing event ` ``object.__delattr__`` with " "arguments ``obj``, ``name``." @@ -3338,14 +3338,22 @@ msgid "" msgstr "" #: reference/datamodel.rst:2955 +msgid "" +"The language doesn't place any restriction on the type or value of the " +"objects yielded by the iterator returned by ``__await__``, as this is " +"specific to the implementation of the asynchronous execution framework (e." +"g. :mod:`asyncio`) that will be managing the :term:`awaitable` object." +msgstr "" + +#: reference/datamodel.rst:2963 msgid ":pep:`492` for additional information about awaitable objects." msgstr "" -#: reference/datamodel.rst:2961 +#: reference/datamodel.rst:2969 msgid "Coroutine Objects" msgstr "" -#: reference/datamodel.rst:2963 +#: reference/datamodel.rst:2971 msgid "" ":term:`Coroutine objects ` are :term:`awaitable` objects. A " "coroutine's execution can be controlled by calling :meth:`~object.__await__` " @@ -3356,18 +3364,18 @@ msgid "" "should not directly raise unhandled :exc:`StopIteration` exceptions." msgstr "" -#: reference/datamodel.rst:2971 +#: reference/datamodel.rst:2979 msgid "" "Coroutines also have the methods listed below, which are analogous to those " "of generators (see :ref:`generator-methods`). However, unlike generators, " "coroutines do not directly support iteration." msgstr "" -#: reference/datamodel.rst:2975 +#: reference/datamodel.rst:2983 msgid "It is a :exc:`RuntimeError` to await on a coroutine more than once." msgstr "" -#: reference/datamodel.rst:2981 +#: reference/datamodel.rst:2989 msgid "" "Starts or resumes execution of the coroutine. If *value* is ``None``, this " "is equivalent to advancing the iterator returned by :meth:`~object." @@ -3378,7 +3386,7 @@ msgid "" "value, described above." msgstr "" -#: reference/datamodel.rst:2992 +#: reference/datamodel.rst:3000 msgid "" "Raises the specified exception in the coroutine. This method delegates to " "the :meth:`~generator.throw` method of the iterator that caused the " @@ -3389,7 +3397,7 @@ msgid "" "not caught in the coroutine, it propagates back to the caller." msgstr "" -#: reference/datamodel.rst:3003 +#: reference/datamodel.rst:3011 msgid "" "Causes the coroutine to clean itself up and exit. If the coroutine is " "suspended, this method first delegates to the :meth:`~generator.close` " @@ -3399,99 +3407,99 @@ msgid "" "is marked as having finished executing, even if it was never started." msgstr "" -#: reference/datamodel.rst:3011 +#: reference/datamodel.rst:3019 msgid "" "Coroutine objects are automatically closed using the above process when they " "are about to be destroyed." msgstr "" -#: reference/datamodel.rst:3017 +#: reference/datamodel.rst:3025 msgid "Asynchronous Iterators" msgstr "" -#: reference/datamodel.rst:3019 +#: reference/datamodel.rst:3027 msgid "" "An *asynchronous iterator* can call asynchronous code in its ``__anext__`` " "method." msgstr "" -#: reference/datamodel.rst:3022 +#: reference/datamodel.rst:3030 msgid "" "Asynchronous iterators can be used in an :keyword:`async for` statement." msgstr "" -#: reference/datamodel.rst:3026 +#: reference/datamodel.rst:3034 msgid "Must return an *asynchronous iterator* object." msgstr "" -#: reference/datamodel.rst:3030 +#: reference/datamodel.rst:3038 msgid "" "Must return an *awaitable* resulting in a next value of the iterator. " "Should raise a :exc:`StopAsyncIteration` error when the iteration is over." msgstr "" -#: reference/datamodel.rst:3033 +#: reference/datamodel.rst:3041 msgid "An example of an asynchronous iterable object::" msgstr "" -#: reference/datamodel.rst:3050 +#: reference/datamodel.rst:3058 msgid "" "Prior to Python 3.7, :meth:`~object.__aiter__` could return an *awaitable* " "that would resolve to an :term:`asynchronous iterator `." msgstr "" -#: reference/datamodel.rst:3055 +#: reference/datamodel.rst:3063 msgid "" "Starting with Python 3.7, :meth:`~object.__aiter__` must return an " "asynchronous iterator object. Returning anything else will result in a :exc:" "`TypeError` error." msgstr "" -#: reference/datamodel.rst:3063 +#: reference/datamodel.rst:3071 msgid "Asynchronous Context Managers" msgstr "" -#: reference/datamodel.rst:3065 +#: reference/datamodel.rst:3073 msgid "" "An *asynchronous context manager* is a *context manager* that is able to " "suspend execution in its ``__aenter__`` and ``__aexit__`` methods." msgstr "" -#: reference/datamodel.rst:3068 +#: reference/datamodel.rst:3076 msgid "" "Asynchronous context managers can be used in an :keyword:`async with` " "statement." msgstr "" -#: reference/datamodel.rst:3072 +#: reference/datamodel.rst:3080 msgid "" "Semantically similar to :meth:`__enter__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3077 +#: reference/datamodel.rst:3085 msgid "" "Semantically similar to :meth:`__exit__`, the only difference being that it " "must return an *awaitable*." msgstr "" -#: reference/datamodel.rst:3080 +#: reference/datamodel.rst:3088 msgid "An example of an asynchronous context manager class::" msgstr "" -#: reference/datamodel.rst:3093 +#: reference/datamodel.rst:3101 msgid "Footnotes" msgstr "" -#: reference/datamodel.rst:3094 +#: reference/datamodel.rst:3102 msgid "" "It *is* possible in some cases to change an object's type, under certain " "controlled conditions. It generally isn't a good idea though, since it can " "lead to some very strange behaviour if it is handled incorrectly." msgstr "" -#: reference/datamodel.rst:3098 +#: reference/datamodel.rst:3106 msgid "" "The :meth:`~object.__hash__`, :meth:`~object.__iter__`, :meth:`~object." "__reversed__`, and :meth:`~object.__contains__` methods have special " @@ -3499,7 +3507,7 @@ msgid "" "by relying on the behavior that ``None`` is not callable." msgstr "" -#: reference/datamodel.rst:3104 +#: reference/datamodel.rst:3112 msgid "" "\"Does not support\" here means that the class has no such method, or the " "method returns ``NotImplemented``. Do not set the method to ``None`` if you " @@ -3507,7 +3515,7 @@ msgid "" "instead have the opposite effect of explicitly *blocking* such fallback." msgstr "" -#: reference/datamodel.rst:3110 +#: reference/datamodel.rst:3118 msgid "" "For operands of the same type, it is assumed that if the non-reflected " "method -- such as :meth:`~object.__add__` -- fails then the overall " diff --git a/reference/executionmodel.po b/reference/executionmodel.po index a5528b6dd..4cd7dce5b 100644 --- a/reference/executionmodel.po +++ b/reference/executionmodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -175,10 +175,11 @@ msgid "" "bound. This rule is subtle. Python lacks declarations and allows name " "binding operations to occur anywhere within a code block. The local " "variables of a code block can be determined by scanning the entire text of " -"the block for name binding operations." +"the block for name binding operations. See :ref:`the FAQ entry on " +"UnboundLocalError ` for examples." msgstr "" -#: reference/executionmodel.rst:132 +#: reference/executionmodel.rst:134 msgid "" "If the :keyword:`global` statement occurs within a block, all uses of the " "names specified in the statement refer to the bindings of those names in the " @@ -190,7 +191,7 @@ msgid "" "statement must precede all uses of the listed names." msgstr "" -#: reference/executionmodel.rst:141 +#: reference/executionmodel.rst:143 msgid "" "The :keyword:`global` statement has the same scope as a name binding " "operation in the same block. If the nearest enclosing scope for a free " @@ -198,7 +199,7 @@ msgid "" "global." msgstr "" -#: reference/executionmodel.rst:147 +#: reference/executionmodel.rst:149 msgid "" "The :keyword:`nonlocal` statement causes corresponding names to refer to " "previously bound variables in the nearest enclosing function scope. :exc:" @@ -206,13 +207,13 @@ msgid "" "any enclosing function scope." msgstr "" -#: reference/executionmodel.rst:154 +#: reference/executionmodel.rst:156 msgid "" "The namespace for a module is automatically created the first time a module " "is imported. The main module for a script is always called :mod:`__main__`." msgstr "" -#: reference/executionmodel.rst:157 +#: reference/executionmodel.rst:159 msgid "" "Class definition blocks and arguments to :func:`exec` and :func:`eval` are " "special in the context of name resolution. A class definition is an " @@ -226,11 +227,11 @@ msgid "" "that the following will fail::" msgstr "" -#: reference/executionmodel.rst:175 +#: reference/executionmodel.rst:177 msgid "Builtins and restricted execution" msgstr "" -#: reference/executionmodel.rst:181 +#: reference/executionmodel.rst:183 msgid "" "Users should not touch ``__builtins__``; it is strictly an implementation " "detail. Users wanting to override values in the builtins namespace should :" @@ -238,7 +239,7 @@ msgid "" "appropriately." msgstr "" -#: reference/executionmodel.rst:186 +#: reference/executionmodel.rst:188 msgid "" "The builtins namespace associated with the execution of a code block is " "actually found by looking up the name ``__builtins__`` in its global " @@ -249,17 +250,17 @@ msgid "" "`builtins` module itself." msgstr "" -#: reference/executionmodel.rst:198 +#: reference/executionmodel.rst:200 msgid "Interaction with dynamic features" msgstr "" -#: reference/executionmodel.rst:200 +#: reference/executionmodel.rst:202 msgid "" "Name resolution of free variables occurs at runtime, not at compile time. " "This means that the following code will print 42::" msgstr "" -#: reference/executionmodel.rst:211 +#: reference/executionmodel.rst:213 msgid "" "The :func:`eval` and :func:`exec` functions do not have access to the full " "environment for resolving names. Names may be resolved in the local and " @@ -270,11 +271,11 @@ msgid "" "for both." msgstr "" -#: reference/executionmodel.rst:222 +#: reference/executionmodel.rst:224 msgid "Exceptions" msgstr "" -#: reference/executionmodel.rst:233 +#: reference/executionmodel.rst:235 msgid "" "Exceptions are a means of breaking out of the normal flow of control of a " "code block in order to handle errors or other exceptional conditions. An " @@ -283,7 +284,7 @@ msgid "" "or indirectly invoked the code block where the error occurred." msgstr "" -#: reference/executionmodel.rst:239 +#: reference/executionmodel.rst:241 msgid "" "The Python interpreter raises an exception when it detects a run-time error " "(such as division by zero). A Python program can also explicitly raise an " @@ -294,7 +295,7 @@ msgid "" "exception occurred or not in the preceding code." msgstr "" -#: reference/executionmodel.rst:249 +#: reference/executionmodel.rst:251 msgid "" "Python uses the \"termination\" model of error handling: an exception " "handler can find out what happened and continue execution at an outer level, " @@ -302,7 +303,7 @@ msgid "" "(except by re-entering the offending piece of code from the top)." msgstr "" -#: reference/executionmodel.rst:256 +#: reference/executionmodel.rst:258 msgid "" "When an exception is not handled at all, the interpreter terminates " "execution of the program, or returns to its interactive main loop. In " @@ -310,7 +311,7 @@ msgid "" "`SystemExit`." msgstr "" -#: reference/executionmodel.rst:260 +#: reference/executionmodel.rst:262 msgid "" "Exceptions are identified by class instances. The :keyword:`except` clause " "is selected depending on the class of the instance: it must reference the " @@ -319,7 +320,7 @@ msgid "" "additional information about the exceptional condition." msgstr "" -#: reference/executionmodel.rst:268 +#: reference/executionmodel.rst:270 msgid "" "Exception messages are not part of the Python API. Their contents may " "change from one version of Python to the next without warning and should not " @@ -327,17 +328,17 @@ msgid "" "interpreter." msgstr "" -#: reference/executionmodel.rst:272 +#: reference/executionmodel.rst:274 msgid "" "See also the description of the :keyword:`try` statement in section :ref:" "`try` and :keyword:`raise` statement in section :ref:`raise`." msgstr "" -#: reference/executionmodel.rst:277 +#: reference/executionmodel.rst:279 msgid "Footnotes" msgstr "" -#: reference/executionmodel.rst:278 +#: reference/executionmodel.rst:280 msgid "" "This limitation occurs because the code that is executed by these operations " "is not available at the time the module is compiled." diff --git a/reference/expressions.po b/reference/expressions.po index cb6351006..8dc182ff2 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -469,9 +469,10 @@ msgid "" "function. The execution starts when one of the generator's methods is " "called. At that time, the execution proceeds to the first yield expression, " "where it is suspended again, returning the value of :token:`~python-grammar:" -"expression_list` to the generator's caller. By suspended, we mean that all " -"local state is retained, including the current bindings of local variables, " -"the instruction pointer, the internal evaluation stack, and the state of any " +"expression_list` to the generator's caller, or ``None`` if :token:`~python-" +"grammar:expression_list` is omitted. By suspended, we mean that all local " +"state is retained, including the current bindings of local variables, the " +"instruction pointer, the internal evaluation stack, and the state of any " "exception handling. When the execution is resumed by calling one of the " "generator's methods, the function can proceed exactly as if the yield " "expression were just another external call. The value of the yield " @@ -482,7 +483,7 @@ msgid "" "be the value passed in to that method." msgstr "" -#: reference/expressions.rst:470 +#: reference/expressions.rst:472 msgid "" "All of this makes generator functions quite similar to coroutines; they " "yield multiple times, they have more than one entry point and their " @@ -491,7 +492,7 @@ msgid "" "the control is always transferred to the generator's caller." msgstr "" -#: reference/expressions.rst:476 +#: reference/expressions.rst:478 msgid "" "Yield expressions are allowed anywhere in a :keyword:`try` construct. If " "the generator is not resumed before it is finalized (by reaching a zero " @@ -500,7 +501,7 @@ msgid "" "`finally` clauses to execute." msgstr "" -#: reference/expressions.rst:485 +#: reference/expressions.rst:487 msgid "" "When ``yield from `` is used, the supplied expression must be an " "iterable. The values produced by iterating that iterable are passed directly " @@ -512,7 +513,7 @@ msgid "" "will just raise the passed in exception immediately." msgstr "" -#: reference/expressions.rst:494 +#: reference/expressions.rst:496 msgid "" "When the underlying iterator is complete, the :attr:`~StopIteration.value` " "attribute of the raised :exc:`StopIteration` instance becomes the value of " @@ -521,73 +522,73 @@ msgid "" "returning a value from the subgenerator)." msgstr "" -#: reference/expressions.rst:500 +#: reference/expressions.rst:502 msgid "Added ``yield from `` to delegate control flow to a subiterator." msgstr "" -#: reference/expressions.rst:503 +#: reference/expressions.rst:505 msgid "" "The parentheses may be omitted when the yield expression is the sole " "expression on the right hand side of an assignment statement." msgstr "" -#: reference/expressions.rst:509 +#: reference/expressions.rst:511 msgid ":pep:`255` - Simple Generators" msgstr "" -#: reference/expressions.rst:509 +#: reference/expressions.rst:511 msgid "" "The proposal for adding generators and the :keyword:`yield` statement to " "Python." msgstr "" -#: reference/expressions.rst:513 +#: reference/expressions.rst:515 msgid ":pep:`342` - Coroutines via Enhanced Generators" msgstr "" -#: reference/expressions.rst:512 +#: reference/expressions.rst:514 msgid "" "The proposal to enhance the API and syntax of generators, making them usable " "as simple coroutines." msgstr "" -#: reference/expressions.rst:517 +#: reference/expressions.rst:519 msgid ":pep:`380` - Syntax for Delegating to a Subgenerator" msgstr "" -#: reference/expressions.rst:516 +#: reference/expressions.rst:518 msgid "" "The proposal to introduce the :token:`~python-grammar:yield_from` syntax, " "making delegation to subgenerators easy." msgstr "" -#: reference/expressions.rst:520 +#: reference/expressions.rst:522 msgid ":pep:`525` - Asynchronous Generators" msgstr "" -#: reference/expressions.rst:520 +#: reference/expressions.rst:522 msgid "" "The proposal that expanded on :pep:`492` by adding generator capabilities to " "coroutine functions." msgstr "" -#: reference/expressions.rst:527 +#: reference/expressions.rst:529 msgid "Generator-iterator methods" msgstr "" -#: reference/expressions.rst:529 +#: reference/expressions.rst:531 msgid "" "This subsection describes the methods of a generator iterator. They can be " "used to control the execution of a generator function." msgstr "" -#: reference/expressions.rst:532 +#: reference/expressions.rst:534 msgid "" "Note that calling any of the generator methods below when the generator is " "already executing raises a :exc:`ValueError` exception." msgstr "" -#: reference/expressions.rst:540 +#: reference/expressions.rst:542 msgid "" "Starts the execution of a generator function or resumes it at the last " "executed yield expression. When a generator function is resumed with a :" @@ -599,13 +600,13 @@ msgid "" "`StopIteration` exception is raised." msgstr "" -#: reference/expressions.rst:549 +#: reference/expressions.rst:551 msgid "" "This method is normally called implicitly, e.g. by a :keyword:`for` loop, or " "by the built-in :func:`next` function." msgstr "" -#: reference/expressions.rst:555 +#: reference/expressions.rst:557 msgid "" "Resumes the execution and \"sends\" a value into the generator function. " "The *value* argument becomes the result of the current yield expression. " @@ -616,7 +617,7 @@ msgid "" "expression that could receive the value." msgstr "" -#: reference/expressions.rst:567 +#: reference/expressions.rst:569 msgid "" "Raises an exception at the point where the generator was paused, and returns " "the next value yielded by the generator function. If the generator exits " @@ -625,13 +626,13 @@ msgid "" "a different exception, then that exception propagates to the caller." msgstr "" -#: reference/expressions.rst:573 +#: reference/expressions.rst:575 msgid "" "In typical use, this is called with a single exception instance similar to " "the way the :keyword:`raise` keyword is used." msgstr "" -#: reference/expressions.rst:576 +#: reference/expressions.rst:578 msgid "" "For backwards compatibility, however, the second signature is supported, " "following a convention from older versions of Python. The *type* argument " @@ -642,7 +643,7 @@ msgid "" "*value* may be cleared." msgstr "" -#: reference/expressions.rst:590 +#: reference/expressions.rst:592 msgid "" "Raises a :exc:`GeneratorExit` at the point where the generator function was " "paused. If the generator function then exits gracefully, is already closed, " @@ -653,34 +654,34 @@ msgid "" "has already exited due to an exception or normal exit." msgstr "" -#: reference/expressions.rst:601 +#: reference/expressions.rst:603 msgid "Examples" msgstr "" -#: reference/expressions.rst:603 +#: reference/expressions.rst:605 msgid "" "Here is a simple example that demonstrates the behavior of generators and " "generator functions::" msgstr "" -#: reference/expressions.rst:630 +#: reference/expressions.rst:632 msgid "" "For examples using ``yield from``, see :ref:`pep-380` in \"What's New in " "Python.\"" msgstr "" -#: reference/expressions.rst:636 +#: reference/expressions.rst:638 msgid "Asynchronous generator functions" msgstr "" -#: reference/expressions.rst:638 +#: reference/expressions.rst:640 msgid "" "The presence of a yield expression in a function or method defined using :" "keyword:`async def` further defines the function as an :term:`asynchronous " "generator` function." msgstr "" -#: reference/expressions.rst:642 +#: reference/expressions.rst:644 msgid "" "When an asynchronous generator function is called, it returns an " "asynchronous iterator known as an asynchronous generator object. That object " @@ -690,7 +691,7 @@ msgid "" "keyword:`for` statement." msgstr "" -#: reference/expressions.rst:649 +#: reference/expressions.rst:651 msgid "" "Calling one of the asynchronous generator's methods returns an :term:" "`awaitable` object, and the execution starts when this object is awaited on. " @@ -709,7 +710,7 @@ msgid "" "method." msgstr "" -#: reference/expressions.rst:664 +#: reference/expressions.rst:666 msgid "" "If an asynchronous generator happens to exit early by :keyword:`break`, the " "caller task being cancelled, or other exceptions, the generator's async " @@ -721,7 +722,7 @@ msgid "" "generator and ultimately detach it from the event loop." msgstr "" -#: reference/expressions.rst:674 +#: reference/expressions.rst:676 msgid "" "In an asynchronous generator function, yield expressions are allowed " "anywhere in a :keyword:`try` construct. However, if an asynchronous " @@ -735,7 +736,7 @@ msgid "" "finally` clauses to execute." msgstr "" -#: reference/expressions.rst:685 +#: reference/expressions.rst:687 msgid "" "To take care of finalization upon event loop termination, an event loop " "should define a *finalizer* function which takes an asynchronous generator-" @@ -748,23 +749,23 @@ msgid "" "asyncio/base_events.py`." msgstr "" -#: reference/expressions.rst:694 +#: reference/expressions.rst:696 msgid "" "The expression ``yield from `` is a syntax error when used in an " "asynchronous generator function." msgstr "" -#: reference/expressions.rst:701 +#: reference/expressions.rst:703 msgid "Asynchronous generator-iterator methods" msgstr "" -#: reference/expressions.rst:703 +#: reference/expressions.rst:705 msgid "" "This subsection describes the methods of an asynchronous generator iterator, " "which are used to control the execution of a generator function." msgstr "" -#: reference/expressions.rst:711 +#: reference/expressions.rst:713 msgid "" "Returns an awaitable which when run starts to execute the asynchronous " "generator or resumes it at the last executed yield expression. When an " @@ -779,12 +780,12 @@ msgid "" "has completed." msgstr "" -#: reference/expressions.rst:723 +#: reference/expressions.rst:725 msgid "" "This method is normally called implicitly by a :keyword:`async for` loop." msgstr "" -#: reference/expressions.rst:728 +#: reference/expressions.rst:730 msgid "" "Returns an awaitable which when run resumes the execution of the " "asynchronous generator. As with the :meth:`~generator.send()` method for a " @@ -799,7 +800,7 @@ msgid "" "receive the value." msgstr "" -#: reference/expressions.rst:743 +#: reference/expressions.rst:745 msgid "" "Returns an awaitable that raises an exception of type ``type`` at the point " "where the asynchronous generator was paused, and returns the next value " @@ -811,7 +812,7 @@ msgid "" "that exception propagates to the caller of the awaitable." msgstr "" -#: reference/expressions.rst:758 +#: reference/expressions.rst:760 msgid "" "Returns an awaitable that when run will throw a :exc:`GeneratorExit` into " "the asynchronous generator function at the point where it was paused. If the " @@ -827,25 +828,25 @@ msgid "" "will return an awaitable that does nothing." msgstr "" -#: reference/expressions.rst:774 +#: reference/expressions.rst:776 msgid "Primaries" msgstr "" -#: reference/expressions.rst:778 +#: reference/expressions.rst:780 msgid "" "Primaries represent the most tightly bound operations of the language. Their " "syntax is:" msgstr "" -#: reference/expressions.rst:788 +#: reference/expressions.rst:790 msgid "Attribute references" msgstr "" -#: reference/expressions.rst:794 +#: reference/expressions.rst:796 msgid "An attribute reference is a primary followed by a period and a name:" msgstr "" -#: reference/expressions.rst:804 +#: reference/expressions.rst:806 msgid "" "The primary must evaluate to an object of a type that supports attribute " "references, which most objects do. This object is then asked to produce the " @@ -856,11 +857,11 @@ msgid "" "evaluations of the same attribute reference may yield different objects." msgstr "" -#: reference/expressions.rst:816 +#: reference/expressions.rst:818 msgid "Subscriptions" msgstr "" -#: reference/expressions.rst:831 +#: reference/expressions.rst:833 msgid "" "The subscription of an instance of a :ref:`container class ` " "will generally select an element from the container. The subscription of a :" @@ -868,13 +869,13 @@ msgid "" "`GenericAlias ` object." msgstr "" -#: reference/expressions.rst:839 +#: reference/expressions.rst:841 msgid "" "When an object is subscripted, the interpreter will evaluate the primary and " "the expression list." msgstr "" -#: reference/expressions.rst:842 +#: reference/expressions.rst:844 msgid "" "The primary must evaluate to an object that supports subscription. An object " "may support subscription through defining one or both of :meth:`~object." @@ -884,20 +885,20 @@ msgid "" "called instead of ``__getitem__``, see :ref:`classgetitem-versus-getitem`." msgstr "" -#: reference/expressions.rst:849 +#: reference/expressions.rst:851 msgid "" "If the expression list contains at least one comma, it will evaluate to a :" "class:`tuple` containing the items of the expression list. Otherwise, the " "expression list will evaluate to the value of the list's sole member." msgstr "" -#: reference/expressions.rst:853 +#: reference/expressions.rst:855 msgid "" "For built-in objects, there are two types of objects that support " "subscription via :meth:`~object.__getitem__`:" msgstr "" -#: reference/expressions.rst:856 +#: reference/expressions.rst:858 msgid "" "Mappings. If the primary is a :term:`mapping`, the expression list must " "evaluate to an object whose value is one of the keys of the mapping, and the " @@ -905,7 +906,7 @@ msgid "" "An example of a builtin mapping class is the :class:`dict` class." msgstr "" -#: reference/expressions.rst:860 +#: reference/expressions.rst:862 msgid "" "Sequences. If the primary is a :term:`sequence`, the expression list must " "evaluate to an :class:`int` or a :class:`slice` (as discussed in the " @@ -913,7 +914,7 @@ msgid "" "`str`, :class:`list` and :class:`tuple` classes." msgstr "" -#: reference/expressions.rst:865 +#: reference/expressions.rst:867 msgid "" "The formal syntax makes no special provision for negative indices in :term:" "`sequences `. However, built-in sequences all provide a :meth:" @@ -927,25 +928,25 @@ msgid "" "support." msgstr "" -#: reference/expressions.rst:879 +#: reference/expressions.rst:881 msgid "" "A :class:`string ` is a special kind of sequence whose items are " "*characters*. A character is not a separate data type but a string of " "exactly one character." msgstr "" -#: reference/expressions.rst:887 +#: reference/expressions.rst:889 msgid "Slicings" msgstr "" -#: reference/expressions.rst:901 +#: reference/expressions.rst:903 msgid "" "A slicing selects a range of items in a sequence object (e.g., a string, " "tuple or list). Slicings may be used as expressions or as targets in " "assignment or :keyword:`del` statements. The syntax for a slicing:" msgstr "" -#: reference/expressions.rst:914 +#: reference/expressions.rst:916 msgid "" "There is ambiguity in the formal syntax here: anything that looks like an " "expression list also looks like a slice list, so any subscription can be " @@ -955,7 +956,7 @@ msgid "" "the case if the slice list contains no proper slice)." msgstr "" -#: reference/expressions.rst:926 +#: reference/expressions.rst:928 msgid "" "The semantics for a slicing are as follows. The primary is indexed (using " "the same :meth:`__getitem__` method as normal subscription) with a key that " @@ -970,23 +971,23 @@ msgid "" "expressions." msgstr "" -#: reference/expressions.rst:950 +#: reference/expressions.rst:952 msgid "Calls" msgstr "" -#: reference/expressions.rst:952 +#: reference/expressions.rst:954 msgid "" "A call calls a callable object (e.g., a :term:`function`) with a possibly " "empty series of :term:`arguments `:" msgstr "" -#: reference/expressions.rst:969 +#: reference/expressions.rst:971 msgid "" "An optional trailing comma may be present after the positional and keyword " "arguments but does not affect the semantics." msgstr "" -#: reference/expressions.rst:975 +#: reference/expressions.rst:977 msgid "" "The primary must evaluate to a callable object (user-defined functions, " "built-in functions, methods of built-in objects, class objects, methods of " @@ -996,7 +997,7 @@ msgid "" "formal :term:`parameter` lists." msgstr "" -#: reference/expressions.rst:983 +#: reference/expressions.rst:985 msgid "" "If keyword arguments are present, they are first converted to positional " "arguments, as follows. First, a list of unfilled slots is created for the " @@ -1017,7 +1018,7 @@ msgid "" "filled slots is used as the argument list for the call." msgstr "" -#: reference/expressions.rst:1003 +#: reference/expressions.rst:1005 msgid "" "An implementation may provide built-in functions whose positional parameters " "do not have names, even if they are 'named' for the purpose of " @@ -1026,7 +1027,7 @@ msgid "" "`PyArg_ParseTuple` to parse their arguments." msgstr "" -#: reference/expressions.rst:1009 +#: reference/expressions.rst:1011 msgid "" "If there are more positional arguments than there are formal parameter " "slots, a :exc:`TypeError` exception is raised, unless a formal parameter " @@ -1035,7 +1036,7 @@ msgid "" "empty tuple if there were no excess positional arguments)." msgstr "" -#: reference/expressions.rst:1015 +#: reference/expressions.rst:1017 msgid "" "If any keyword argument does not correspond to a formal parameter name, a :" "exc:`TypeError` exception is raised, unless a formal parameter using the " @@ -1045,7 +1046,7 @@ msgid "" "(new) empty dictionary if there were no excess keyword arguments." msgstr "" -#: reference/expressions.rst:1026 +#: reference/expressions.rst:1028 msgid "" "If the syntax ``*expression`` appears in the function call, ``expression`` " "must evaluate to an :term:`iterable`. Elements from these iterables are " @@ -1055,20 +1056,20 @@ msgid "" "*y1*, ..., *yM*, *x3*, *x4*." msgstr "" -#: reference/expressions.rst:1033 +#: reference/expressions.rst:1035 msgid "" "A consequence of this is that although the ``*expression`` syntax may appear " "*after* explicit keyword arguments, it is processed *before* the keyword " "arguments (and any ``**expression`` arguments -- see below). So::" msgstr "" -#: reference/expressions.rst:1049 +#: reference/expressions.rst:1051 msgid "" "It is unusual for both keyword arguments and the ``*expression`` syntax to " "be used in the same call, so in practice this confusion does not often arise." msgstr "" -#: reference/expressions.rst:1055 +#: reference/expressions.rst:1057 msgid "" "If the syntax ``**expression`` appears in the function call, ``expression`` " "must evaluate to a :term:`mapping`, the contents of which are treated as " @@ -1077,7 +1078,7 @@ msgid "" "a :exc:`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1061 +#: reference/expressions.rst:1063 msgid "" "When ``**expression`` is used, each key in this mapping must be a string. " "Each value from the mapping is assigned to the first formal parameter " @@ -1089,35 +1090,35 @@ msgid "" "is raised." msgstr "" -#: reference/expressions.rst:1071 +#: reference/expressions.rst:1073 msgid "" "Formal parameters using the syntax ``*identifier`` or ``**identifier`` " "cannot be used as positional argument slots or as keyword argument names." msgstr "" -#: reference/expressions.rst:1074 +#: reference/expressions.rst:1076 msgid "" "Function calls accept any number of ``*`` and ``**`` unpackings, positional " "arguments may follow iterable unpackings (``*``), and keyword arguments may " "follow dictionary unpackings (``**``). Originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1080 +#: reference/expressions.rst:1082 msgid "" "A call always returns some value, possibly ``None``, unless it raises an " "exception. How this value is computed depends on the type of the callable " "object." msgstr "" -#: reference/expressions.rst:1084 +#: reference/expressions.rst:1086 msgid "If it is---" msgstr "" -#: reference/expressions.rst:1097 +#: reference/expressions.rst:1099 msgid "a user-defined function:" msgstr "" -#: reference/expressions.rst:1093 +#: reference/expressions.rst:1095 msgid "" "The code block for the function is executed, passing it the argument list. " "The first thing the code block will do is bind the formal parameters to the " @@ -1126,73 +1127,73 @@ msgid "" "value of the function call." msgstr "" -#: reference/expressions.rst:1111 +#: reference/expressions.rst:1113 msgid "a built-in function or method:" msgstr "" -#: reference/expressions.rst:1110 +#: reference/expressions.rst:1112 msgid "" "The result is up to the interpreter; see :ref:`built-in-funcs` for the " "descriptions of built-in functions and methods." msgstr "" -#: reference/expressions.rst:1118 +#: reference/expressions.rst:1120 msgid "a class object:" msgstr "" -#: reference/expressions.rst:1118 +#: reference/expressions.rst:1120 msgid "A new instance of that class is returned." msgstr "" -#: reference/expressions.rst:1128 +#: reference/expressions.rst:1130 msgid "a class instance method:" msgstr "" -#: reference/expressions.rst:1126 +#: reference/expressions.rst:1128 msgid "" "The corresponding user-defined function is called, with an argument list " "that is one longer than the argument list of the call: the instance becomes " "the first argument." msgstr "" -#: reference/expressions.rst:1137 +#: reference/expressions.rst:1139 msgid "a class instance:" msgstr "" -#: reference/expressions.rst:1135 +#: reference/expressions.rst:1137 msgid "" "The class must define a :meth:`__call__` method; the effect is then the same " "as if that method was called." msgstr "" -#: reference/expressions.rst:1924 +#: reference/expressions.rst:1926 msgid "Await expression" msgstr "" -#: reference/expressions.rst:1145 +#: reference/expressions.rst:1147 msgid "" "Suspend the execution of :term:`coroutine` on an :term:`awaitable` object. " "Can only be used inside a :term:`coroutine function`." msgstr "" -#: reference/expressions.rst:1157 +#: reference/expressions.rst:1159 msgid "The power operator" msgstr "" -#: reference/expressions.rst:1163 +#: reference/expressions.rst:1165 msgid "" "The power operator binds more tightly than unary operators on its left; it " "binds less tightly than unary operators on its right. The syntax is:" msgstr "" -#: reference/expressions.rst:1169 +#: reference/expressions.rst:1171 msgid "" "Thus, in an unparenthesized sequence of power and unary operators, the " "operators are evaluated from right to left (this does not constrain the " "evaluation order for the operands): ``-1**2`` results in ``-1``." msgstr "" -#: reference/expressions.rst:1173 +#: reference/expressions.rst:1175 msgid "" "The power operator has the same semantics as the built-in :func:`pow` " "function, when called with two arguments: it yields its left argument raised " @@ -1200,7 +1201,7 @@ msgid "" "converted to a common type, and the result is of that type." msgstr "" -#: reference/expressions.rst:1178 +#: reference/expressions.rst:1180 msgid "" "For int operands, the result has the same type as the operands unless the " "second argument is negative; in that case, all arguments are converted to " @@ -1208,40 +1209,40 @@ msgid "" "``100``, but ``10**-2`` returns ``0.01``." msgstr "" -#: reference/expressions.rst:1183 +#: reference/expressions.rst:1185 msgid "" "Raising ``0.0`` to a negative power results in a :exc:`ZeroDivisionError`. " "Raising a negative number to a fractional power results in a :class:" "`complex` number. (In earlier versions it raised a :exc:`ValueError`.)" msgstr "" -#: reference/expressions.rst:1187 +#: reference/expressions.rst:1189 msgid "" "This operation can be customized using the special :meth:`__pow__` method." msgstr "" -#: reference/expressions.rst:1192 +#: reference/expressions.rst:1194 msgid "Unary arithmetic and bitwise operations" msgstr "" -#: reference/expressions.rst:1198 +#: reference/expressions.rst:1200 msgid "All unary arithmetic and bitwise operations have the same priority:" msgstr "" -#: reference/expressions.rst:1209 +#: reference/expressions.rst:1211 msgid "" "The unary ``-`` (minus) operator yields the negation of its numeric " "argument; the operation can be overridden with the :meth:`__neg__` special " "method." msgstr "" -#: reference/expressions.rst:1217 +#: reference/expressions.rst:1219 msgid "" "The unary ``+`` (plus) operator yields its numeric argument unchanged; the " "operation can be overridden with the :meth:`__pos__` special method." msgstr "" -#: reference/expressions.rst:1224 +#: reference/expressions.rst:1226 msgid "" "The unary ``~`` (invert) operator yields the bitwise inversion of its " "integer argument. The bitwise inversion of ``x`` is defined as ``-(x+1)``. " @@ -1249,17 +1250,17 @@ msgid "" "meth:`__invert__` special method." msgstr "" -#: reference/expressions.rst:1233 +#: reference/expressions.rst:1235 msgid "" "In all three cases, if the argument does not have the proper type, a :exc:" "`TypeError` exception is raised." msgstr "" -#: reference/expressions.rst:1240 +#: reference/expressions.rst:1242 msgid "Binary arithmetic operations" msgstr "" -#: reference/expressions.rst:1244 +#: reference/expressions.rst:1246 msgid "" "The binary arithmetic operations have the conventional priority levels. " "Note that some of these operations also apply to certain non-numeric types. " @@ -1267,7 +1268,7 @@ msgid "" "multiplicative operators and one for additive operators:" msgstr "" -#: reference/expressions.rst:1259 +#: reference/expressions.rst:1261 msgid "" "The ``*`` (multiplication) operator yields the product of its arguments. " "The arguments must either both be numbers, or one argument must be an " @@ -1277,19 +1278,19 @@ msgid "" "an empty sequence." msgstr "" -#: reference/expressions.rst:1265 +#: reference/expressions.rst:1267 msgid "" "This operation can be customized using the special :meth:`__mul__` and :meth:" "`__rmul__` methods." msgstr "" -#: reference/expressions.rst:1272 +#: reference/expressions.rst:1274 msgid "" "The ``@`` (at) operator is intended to be used for matrix multiplication. " "No builtin Python types implement this operator." msgstr "" -#: reference/expressions.rst:1283 +#: reference/expressions.rst:1285 msgid "" "The ``/`` (division) and ``//`` (floor division) operators yield the " "quotient of their arguments. The numeric arguments are first converted to a " @@ -1299,13 +1300,13 @@ msgid "" "the :exc:`ZeroDivisionError` exception." msgstr "" -#: reference/expressions.rst:1290 +#: reference/expressions.rst:1292 msgid "" "This operation can be customized using the special :meth:`__truediv__` and :" "meth:`__floordiv__` methods." msgstr "" -#: reference/expressions.rst:1297 +#: reference/expressions.rst:1299 msgid "" "The ``%`` (modulo) operator yields the remainder from the division of the " "first argument by the second. The numeric arguments are first converted to " @@ -1317,7 +1318,7 @@ msgid "" "absolute value of the second operand [#]_." msgstr "" -#: reference/expressions.rst:1306 +#: reference/expressions.rst:1308 msgid "" "The floor division and modulo operators are connected by the following " "identity: ``x == (x//y)*y + (x%y)``. Floor division and modulo are also " @@ -1325,7 +1326,7 @@ msgid "" "y, x%y)``. [#]_." msgstr "" -#: reference/expressions.rst:1311 +#: reference/expressions.rst:1313 msgid "" "In addition to performing the modulo operation on numbers, the ``%`` " "operator is also overloaded by string objects to perform old-style string " @@ -1334,20 +1335,20 @@ msgid "" "formatting`." msgstr "" -#: reference/expressions.rst:1316 +#: reference/expressions.rst:1318 msgid "" "The *modulo* operation can be customized using the special :meth:`__mod__` " "method." msgstr "" -#: reference/expressions.rst:1318 +#: reference/expressions.rst:1320 msgid "" "The floor division operator, the modulo operator, and the :func:`divmod` " "function are not defined for complex numbers. Instead, convert to a " "floating point number using the :func:`abs` function if appropriate." msgstr "" -#: reference/expressions.rst:1327 +#: reference/expressions.rst:1329 msgid "" "The ``+`` (addition) operator yields the sum of its arguments. The " "arguments must either both be numbers or both be sequences of the same " @@ -1355,84 +1356,84 @@ msgid "" "then added together. In the latter case, the sequences are concatenated." msgstr "" -#: reference/expressions.rst:1332 +#: reference/expressions.rst:1334 msgid "" "This operation can be customized using the special :meth:`__add__` and :meth:" "`__radd__` methods." msgstr "" -#: reference/expressions.rst:1340 +#: reference/expressions.rst:1342 msgid "" "The ``-`` (subtraction) operator yields the difference of its arguments. " "The numeric arguments are first converted to a common type." msgstr "" -#: reference/expressions.rst:1343 +#: reference/expressions.rst:1345 msgid "" "This operation can be customized using the special :meth:`__sub__` method." msgstr "" -#: reference/expressions.rst:1349 +#: reference/expressions.rst:1351 msgid "Shifting operations" msgstr "" -#: reference/expressions.rst:1356 +#: reference/expressions.rst:1358 msgid "" "The shifting operations have lower priority than the arithmetic operations:" msgstr "" -#: reference/expressions.rst:1361 +#: reference/expressions.rst:1363 msgid "" "These operators accept integers as arguments. They shift the first argument " "to the left or right by the number of bits given by the second argument." msgstr "" -#: reference/expressions.rst:1364 +#: reference/expressions.rst:1366 msgid "" "This operation can be customized using the special :meth:`__lshift__` and :" "meth:`__rshift__` methods." msgstr "" -#: reference/expressions.rst:1369 +#: reference/expressions.rst:1371 msgid "" "A right shift by *n* bits is defined as floor division by ``pow(2,n)``. A " "left shift by *n* bits is defined as multiplication with ``pow(2,n)``." msgstr "" -#: reference/expressions.rst:1376 +#: reference/expressions.rst:1378 msgid "Binary bitwise operations" msgstr "" -#: reference/expressions.rst:1380 +#: reference/expressions.rst:1382 msgid "Each of the three bitwise operations has a different priority level:" msgstr "" -#: reference/expressions.rst:1391 +#: reference/expressions.rst:1393 msgid "" "The ``&`` operator yields the bitwise AND of its arguments, which must be " "integers or one of them must be a custom object overriding :meth:`__and__` " "or :meth:`__rand__` special methods." msgstr "" -#: reference/expressions.rst:1400 +#: reference/expressions.rst:1402 msgid "" "The ``^`` operator yields the bitwise XOR (exclusive OR) of its arguments, " "which must be integers or one of them must be a custom object overriding :" "meth:`__xor__` or :meth:`__rxor__` special methods." msgstr "" -#: reference/expressions.rst:1409 +#: reference/expressions.rst:1411 msgid "" "The ``|`` operator yields the bitwise (inclusive) OR of its arguments, which " "must be integers or one of them must be a custom object overriding :meth:" "`__or__` or :meth:`__ror__` special methods." msgstr "" -#: reference/expressions.rst:1417 +#: reference/expressions.rst:1419 msgid "Comparisons" msgstr "" -#: reference/expressions.rst:1429 +#: reference/expressions.rst:1431 msgid "" "Unlike C, all comparison operations in Python have the same priority, which " "is lower than that of any arithmetic, shifting or bitwise operation. Also " @@ -1440,14 +1441,14 @@ msgid "" "conventional in mathematics:" msgstr "" -#: reference/expressions.rst:1439 +#: reference/expressions.rst:1441 msgid "" "Comparisons yield boolean values: ``True`` or ``False``. Custom :dfn:`rich " "comparison methods` may return non-boolean values. In this case Python will " "call :func:`bool` on such value in boolean contexts." msgstr "" -#: reference/expressions.rst:1445 +#: reference/expressions.rst:1447 msgid "" "Comparisons can be chained arbitrarily, e.g., ``x < y <= z`` is equivalent " "to ``x < y and y <= z``, except that ``y`` is evaluated only once (but in " @@ -1455,7 +1456,7 @@ msgid "" "false)." msgstr "" -#: reference/expressions.rst:1449 +#: reference/expressions.rst:1451 msgid "" "Formally, if *a*, *b*, *c*, ..., *y*, *z* are expressions and *op1*, " "*op2*, ..., *opN* are comparison operators, then ``a op1 b op2 c ... y opN " @@ -1463,24 +1464,24 @@ msgid "" "each expression is evaluated at most once." msgstr "" -#: reference/expressions.rst:1454 +#: reference/expressions.rst:1456 msgid "" "Note that ``a op1 b op2 c`` doesn't imply any kind of comparison between *a* " "and *c*, so that, e.g., ``x < y > z`` is perfectly legal (though perhaps not " "pretty)." msgstr "" -#: reference/expressions.rst:1461 +#: reference/expressions.rst:1463 msgid "Value comparisons" msgstr "" -#: reference/expressions.rst:1463 +#: reference/expressions.rst:1465 msgid "" "The operators ``<``, ``>``, ``==``, ``>=``, ``<=``, and ``!=`` compare the " "values of two objects. The objects do not need to have the same type." msgstr "" -#: reference/expressions.rst:1466 +#: reference/expressions.rst:1468 msgid "" "Chapter :ref:`objects` states that objects have a value (in addition to type " "and identity). The value of an object is a rather abstract notion in " @@ -1492,7 +1493,7 @@ msgid "" "indirectly, by means of their comparison implementation." msgstr "" -#: reference/expressions.rst:1475 +#: reference/expressions.rst:1477 msgid "" "Because all types are (direct or indirect) subtypes of :class:`object`, they " "inherit the default comparison behavior from :class:`object`. Types can " @@ -1500,7 +1501,7 @@ msgid "" "methods` like :meth:`__lt__`, described in :ref:`customization`." msgstr "" -#: reference/expressions.rst:1481 +#: reference/expressions.rst:1483 msgid "" "The default behavior for equality comparison (``==`` and ``!=``) is based on " "the identity of the objects. Hence, equality comparison of instances with " @@ -1510,14 +1511,14 @@ msgid "" "``x is y`` implies ``x == y``)." msgstr "" -#: reference/expressions.rst:1488 +#: reference/expressions.rst:1490 msgid "" "A default order comparison (``<``, ``>``, ``<=``, and ``>=``) is not " "provided; an attempt raises :exc:`TypeError`. A motivation for this default " "behavior is the lack of a similar invariant as for equality." msgstr "" -#: reference/expressions.rst:1492 +#: reference/expressions.rst:1494 msgid "" "The behavior of the default equality comparison, that instances with " "different identities are always unequal, may be in contrast to what types " @@ -1526,13 +1527,13 @@ msgid "" "in fact, a number of built-in types have done that." msgstr "" -#: reference/expressions.rst:1498 +#: reference/expressions.rst:1500 msgid "" "The following list describes the comparison behavior of the most important " "built-in types." msgstr "" -#: reference/expressions.rst:1501 +#: reference/expressions.rst:1503 msgid "" "Numbers of built-in numeric types (:ref:`typesnumeric`) and of the standard " "library types :class:`fractions.Fraction` and :class:`decimal.Decimal` can " @@ -1542,7 +1543,7 @@ msgid "" "of precision." msgstr "" -#: reference/expressions.rst:1508 +#: reference/expressions.rst:1510 msgid "" "The not-a-number values ``float('NaN')`` and ``decimal.Decimal('NaN')`` are " "special. Any ordered comparison of a number to a not-a-number value is " @@ -1552,32 +1553,32 @@ msgid "" "is compliant with IEEE 754." msgstr "" -#: reference/expressions.rst:1515 +#: reference/expressions.rst:1517 msgid "" "``None`` and ``NotImplemented`` are singletons. :PEP:`8` advises that " "comparisons for singletons should always be done with ``is`` or ``is not``, " "never the equality operators." msgstr "" -#: reference/expressions.rst:1519 +#: reference/expressions.rst:1521 msgid "" "Binary sequences (instances of :class:`bytes` or :class:`bytearray`) can be " "compared within and across their types. They compare lexicographically " "using the numeric values of their elements." msgstr "" -#: reference/expressions.rst:1523 +#: reference/expressions.rst:1525 msgid "" "Strings (instances of :class:`str`) compare lexicographically using the " "numerical Unicode code points (the result of the built-in function :func:" "`ord`) of their characters. [#]_" msgstr "" -#: reference/expressions.rst:1527 +#: reference/expressions.rst:1529 msgid "Strings and binary sequences cannot be directly compared." msgstr "" -#: reference/expressions.rst:1529 +#: reference/expressions.rst:1531 msgid "" "Sequences (instances of :class:`tuple`, :class:`list`, or :class:`range`) " "can be compared only within each of their types, with the restriction that " @@ -1586,7 +1587,7 @@ msgid "" "raises :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1535 +#: reference/expressions.rst:1537 msgid "" "Sequences compare lexicographically using comparison of corresponding " "elements. The built-in containers typically assume identical objects are " @@ -1594,19 +1595,19 @@ msgid "" "objects to improve performance and to maintain their internal invariants." msgstr "" -#: reference/expressions.rst:1540 +#: reference/expressions.rst:1542 msgid "" "Lexicographical comparison between built-in collections works as follows:" msgstr "" -#: reference/expressions.rst:1542 +#: reference/expressions.rst:1544 msgid "" "For two collections to compare equal, they must be of the same type, have " "the same length, and each pair of corresponding elements must compare equal " "(for example, ``[1,2] == (1,2)`` is false because the type is not the same)." msgstr "" -#: reference/expressions.rst:1547 +#: reference/expressions.rst:1549 msgid "" "Collections that support order comparison are ordered the same as their " "first unequal elements (for example, ``[1,2,x] <= [1,2,y]`` has the same " @@ -1615,25 +1616,25 @@ msgid "" "true)." msgstr "" -#: reference/expressions.rst:1553 +#: reference/expressions.rst:1555 msgid "" "Mappings (instances of :class:`dict`) compare equal if and only if they have " "equal ``(key, value)`` pairs. Equality comparison of the keys and values " "enforces reflexivity." msgstr "" -#: reference/expressions.rst:1557 +#: reference/expressions.rst:1559 msgid "" "Order comparisons (``<``, ``>``, ``<=``, and ``>=``) raise :exc:`TypeError`." msgstr "" -#: reference/expressions.rst:1559 +#: reference/expressions.rst:1561 msgid "" "Sets (instances of :class:`set` or :class:`frozenset`) can be compared " "within and across their types." msgstr "" -#: reference/expressions.rst:1562 +#: reference/expressions.rst:1564 msgid "" "They define order comparison operators to mean subset and superset tests. " "Those relations do not define total orderings (for example, the two sets " @@ -1644,110 +1645,110 @@ msgid "" "sets as inputs)." msgstr "" -#: reference/expressions.rst:1570 +#: reference/expressions.rst:1572 msgid "Comparison of sets enforces reflexivity of its elements." msgstr "" -#: reference/expressions.rst:1572 +#: reference/expressions.rst:1574 msgid "" "Most other built-in types have no comparison methods implemented, so they " "inherit the default comparison behavior." msgstr "" -#: reference/expressions.rst:1575 +#: reference/expressions.rst:1577 msgid "" "User-defined classes that customize their comparison behavior should follow " "some consistency rules, if possible:" msgstr "" -#: reference/expressions.rst:1578 +#: reference/expressions.rst:1580 msgid "" "Equality comparison should be reflexive. In other words, identical objects " "should compare equal:" msgstr "" -#: reference/expressions.rst:1581 +#: reference/expressions.rst:1583 msgid "``x is y`` implies ``x == y``" msgstr "" -#: reference/expressions.rst:1583 +#: reference/expressions.rst:1585 msgid "" "Comparison should be symmetric. In other words, the following expressions " "should have the same result:" msgstr "" -#: reference/expressions.rst:1586 +#: reference/expressions.rst:1588 msgid "``x == y`` and ``y == x``" msgstr "" -#: reference/expressions.rst:1588 +#: reference/expressions.rst:1590 msgid "``x != y`` and ``y != x``" msgstr "" -#: reference/expressions.rst:1590 +#: reference/expressions.rst:1592 msgid "``x < y`` and ``y > x``" msgstr "" -#: reference/expressions.rst:1592 +#: reference/expressions.rst:1594 msgid "``x <= y`` and ``y >= x``" msgstr "" -#: reference/expressions.rst:1594 +#: reference/expressions.rst:1596 msgid "" "Comparison should be transitive. The following (non-exhaustive) examples " "illustrate that:" msgstr "" -#: reference/expressions.rst:1597 +#: reference/expressions.rst:1599 msgid "``x > y and y > z`` implies ``x > z``" msgstr "" -#: reference/expressions.rst:1599 +#: reference/expressions.rst:1601 msgid "``x < y and y <= z`` implies ``x < z``" msgstr "" -#: reference/expressions.rst:1601 +#: reference/expressions.rst:1603 msgid "" "Inverse comparison should result in the boolean negation. In other words, " "the following expressions should have the same result:" msgstr "" -#: reference/expressions.rst:1604 +#: reference/expressions.rst:1606 msgid "``x == y`` and ``not x != y``" msgstr "" -#: reference/expressions.rst:1606 +#: reference/expressions.rst:1608 msgid "``x < y`` and ``not x >= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1608 +#: reference/expressions.rst:1610 msgid "``x > y`` and ``not x <= y`` (for total ordering)" msgstr "" -#: reference/expressions.rst:1610 +#: reference/expressions.rst:1612 msgid "" "The last two expressions apply to totally ordered collections (e.g. to " "sequences, but not to sets or mappings). See also the :func:`~functools." "total_ordering` decorator." msgstr "" -#: reference/expressions.rst:1614 +#: reference/expressions.rst:1616 msgid "" "The :func:`hash` result should be consistent with equality. Objects that are " "equal should either have the same hash value, or be marked as unhashable." msgstr "" -#: reference/expressions.rst:1618 +#: reference/expressions.rst:1620 msgid "" "Python does not enforce these consistency rules. In fact, the not-a-number " "values are an example for not following these rules." msgstr "" -#: reference/expressions.rst:1627 +#: reference/expressions.rst:1629 msgid "Membership test operations" msgstr "" -#: reference/expressions.rst:1629 +#: reference/expressions.rst:1631 msgid "" "The operators :keyword:`in` and :keyword:`not in` test for membership. ``x " "in s`` evaluates to ``True`` if *x* is a member of *s*, and ``False`` " @@ -1758,7 +1759,7 @@ msgid "" "expression ``x in y`` is equivalent to ``any(x is e or x == e for e in y)``." msgstr "" -#: reference/expressions.rst:1637 +#: reference/expressions.rst:1639 msgid "" "For the string and bytes types, ``x in y`` is ``True`` if and only if *x* is " "a substring of *y*. An equivalent test is ``y.find(x) != -1``. Empty " @@ -1766,14 +1767,14 @@ msgid "" "``\"\" in \"abc\"`` will return ``True``." msgstr "" -#: reference/expressions.rst:1642 +#: reference/expressions.rst:1644 msgid "" "For user-defined classes which define the :meth:`__contains__` method, ``x " "in y`` returns ``True`` if ``y.__contains__(x)`` returns a true value, and " "``False`` otherwise." msgstr "" -#: reference/expressions.rst:1646 +#: reference/expressions.rst:1648 msgid "" "For user-defined classes which do not define :meth:`__contains__` but do " "define :meth:`__iter__`, ``x in y`` is ``True`` if some value ``z``, for " @@ -1782,7 +1783,7 @@ msgid "" "as if :keyword:`in` raised that exception." msgstr "" -#: reference/expressions.rst:1652 +#: reference/expressions.rst:1654 msgid "" "Lastly, the old-style iteration protocol is tried: if a class defines :meth:" "`__getitem__`, ``x in y`` is ``True`` if and only if there is a non-negative " @@ -1791,17 +1792,17 @@ msgid "" "raised, it is as if :keyword:`in` raised that exception)." msgstr "" -#: reference/expressions.rst:1664 +#: reference/expressions.rst:1666 msgid "" "The operator :keyword:`not in` is defined to have the inverse truth value " "of :keyword:`in`." msgstr "" -#: reference/expressions.rst:1677 +#: reference/expressions.rst:1679 msgid "Identity comparisons" msgstr "" -#: reference/expressions.rst:1679 +#: reference/expressions.rst:1681 msgid "" "The operators :keyword:`is` and :keyword:`is not` test for an object's " "identity: ``x is y`` is true if and only if *x* and *y* are the same " @@ -1809,11 +1810,11 @@ msgid "" "``x is not y`` yields the inverse truth value. [#]_" msgstr "" -#: reference/expressions.rst:1691 +#: reference/expressions.rst:1693 msgid "Boolean operations" msgstr "" -#: reference/expressions.rst:1702 +#: reference/expressions.rst:1704 msgid "" "In the context of Boolean operations, and also when expressions are used by " "control flow statements, the following values are interpreted as false: " @@ -1824,25 +1825,25 @@ msgid "" "method." msgstr "" -#: reference/expressions.rst:1711 +#: reference/expressions.rst:1713 msgid "" "The operator :keyword:`not` yields ``True`` if its argument is false, " "``False`` otherwise." msgstr "" -#: reference/expressions.rst:1716 +#: reference/expressions.rst:1718 msgid "" "The expression ``x and y`` first evaluates *x*; if *x* is false, its value " "is returned; otherwise, *y* is evaluated and the resulting value is returned." msgstr "" -#: reference/expressions.rst:1721 +#: reference/expressions.rst:1723 msgid "" "The expression ``x or y`` first evaluates *x*; if *x* is true, its value is " "returned; otherwise, *y* is evaluated and the resulting value is returned." msgstr "" -#: reference/expressions.rst:1724 +#: reference/expressions.rst:1726 msgid "" "Note that neither :keyword:`and` nor :keyword:`or` restrict the value and " "type they return to ``False`` and ``True``, but rather return the last " @@ -1853,11 +1854,11 @@ msgid "" "argument (for example, ``not 'foo'`` produces ``False`` rather than ``''``.)" msgstr "" -#: reference/expressions.rst:1740 +#: reference/expressions.rst:1742 msgid "Assignment expressions" msgstr "" -#: reference/expressions.rst:1745 +#: reference/expressions.rst:1747 msgid "" "An assignment expression (sometimes also called a \"named expression\" or " "\"walrus\") assigns an :token:`~python-grammar:expression` to an :token:" @@ -1865,15 +1866,15 @@ msgid "" "`~python-grammar:expression`." msgstr "" -#: reference/expressions.rst:1750 +#: reference/expressions.rst:1752 msgid "One common use case is when handling matched regular expressions:" msgstr "" -#: reference/expressions.rst:1757 +#: reference/expressions.rst:1759 msgid "Or, when processing a file stream in chunks:" msgstr "" -#: reference/expressions.rst:1764 +#: reference/expressions.rst:1766 msgid "" "Assignment expressions must be surrounded by parentheses when used as sub-" "expressions in slicing, conditional, lambda, keyword-argument, and " @@ -1882,36 +1883,36 @@ msgid "" "including in ``if`` and ``while`` statements." msgstr "" -#: reference/expressions.rst:1771 +#: reference/expressions.rst:1773 msgid "See :pep:`572` for more details about assignment expressions." msgstr "" -#: reference/expressions.rst:1778 +#: reference/expressions.rst:1780 msgid "Conditional expressions" msgstr "" -#: reference/expressions.rst:1790 +#: reference/expressions.rst:1792 msgid "" "Conditional expressions (sometimes called a \"ternary operator\") have the " "lowest priority of all Python operations." msgstr "" -#: reference/expressions.rst:1793 +#: reference/expressions.rst:1795 msgid "" "The expression ``x if C else y`` first evaluates the condition, *C* rather " "than *x*. If *C* is true, *x* is evaluated and its value is returned; " "otherwise, *y* is evaluated and its value is returned." msgstr "" -#: reference/expressions.rst:1797 +#: reference/expressions.rst:1799 msgid "See :pep:`308` for more details about conditional expressions." msgstr "" -#: reference/expressions.rst:1804 +#: reference/expressions.rst:1806 msgid "Lambdas" msgstr "" -#: reference/expressions.rst:1815 +#: reference/expressions.rst:1817 msgid "" "Lambda expressions (sometimes called lambda forms) are used to create " "anonymous functions. The expression ``lambda parameters: expression`` yields " @@ -1919,25 +1920,25 @@ msgid "" "defined with:" msgstr "" -#: reference/expressions.rst:1824 +#: reference/expressions.rst:1826 msgid "" "See section :ref:`function` for the syntax of parameter lists. Note that " "functions created with lambda expressions cannot contain statements or " "annotations." msgstr "" -#: reference/expressions.rst:1832 +#: reference/expressions.rst:1834 msgid "Expression lists" msgstr "" -#: reference/expressions.rst:1846 +#: reference/expressions.rst:1848 msgid "" "Except when part of a list or set display, an expression list containing at " "least one comma yields a tuple. The length of the tuple is the number of " "expressions in the list. The expressions are evaluated from left to right." msgstr "" -#: reference/expressions.rst:1855 +#: reference/expressions.rst:1857 msgid "" "An asterisk ``*`` denotes :dfn:`iterable unpacking`. Its operand must be " "an :term:`iterable`. The iterable is expanded into a sequence of items, " @@ -1945,12 +1946,12 @@ msgid "" "unpacking." msgstr "" -#: reference/expressions.rst:1860 +#: reference/expressions.rst:1862 msgid "" "Iterable unpacking in expression lists, originally proposed by :pep:`448`." msgstr "" -#: reference/expressions.rst:1865 +#: reference/expressions.rst:1867 msgid "" "The trailing comma is required only to create a single tuple (a.k.a. a " "*singleton*); it is optional in all other cases. A single expression " @@ -1959,28 +1960,28 @@ msgid "" "parentheses: ``()``.)" msgstr "" -#: reference/expressions.rst:1875 +#: reference/expressions.rst:1877 msgid "Evaluation order" msgstr "" -#: reference/expressions.rst:1879 +#: reference/expressions.rst:1881 msgid "" "Python evaluates expressions from left to right. Notice that while " "evaluating an assignment, the right-hand side is evaluated before the left-" "hand side." msgstr "" -#: reference/expressions.rst:1882 +#: reference/expressions.rst:1884 msgid "" "In the following lines, expressions will be evaluated in the arithmetic " "order of their suffixes::" msgstr "" -#: reference/expressions.rst:1896 +#: reference/expressions.rst:1898 msgid "Operator precedence" msgstr "" -#: reference/expressions.rst:1901 +#: reference/expressions.rst:1903 msgid "" "The following table summarizes the operator precedence in Python, from " "highest precedence (most binding) to lowest precedence (least binding). " @@ -1990,176 +1991,176 @@ msgid "" "group from right to left)." msgstr "" -#: reference/expressions.rst:1907 +#: reference/expressions.rst:1909 msgid "" "Note that comparisons, membership tests, and identity tests, all have the " "same precedence and have a left-to-right chaining feature as described in " "the :ref:`comparisons` section." msgstr "" -#: reference/expressions.rst:1913 +#: reference/expressions.rst:1915 msgid "Operator" msgstr "" -#: reference/expressions.rst:1913 +#: reference/expressions.rst:1915 msgid "Description" msgstr "" -#: reference/expressions.rst:1915 +#: reference/expressions.rst:1917 msgid "``(expressions...)``," msgstr "" -#: reference/expressions.rst:1917 +#: reference/expressions.rst:1919 msgid "``[expressions...]``, ``{key: value...}``, ``{expressions...}``" msgstr "" -#: reference/expressions.rst:1915 +#: reference/expressions.rst:1917 msgid "" "Binding or parenthesized expression, list display, dictionary display, set " "display" msgstr "" -#: reference/expressions.rst:1921 +#: reference/expressions.rst:1923 msgid "``x[index]``, ``x[index:index]``, ``x(arguments...)``, ``x.attribute``" msgstr "" -#: reference/expressions.rst:1921 +#: reference/expressions.rst:1923 msgid "Subscription, slicing, call, attribute reference" msgstr "" -#: reference/expressions.rst:1924 +#: reference/expressions.rst:1926 msgid ":keyword:`await x `" msgstr "" -#: reference/expressions.rst:1926 +#: reference/expressions.rst:1928 msgid "``**``" msgstr "" -#: reference/expressions.rst:1926 +#: reference/expressions.rst:1928 msgid "Exponentiation [#]_" msgstr "" -#: reference/expressions.rst:1928 +#: reference/expressions.rst:1930 msgid "``+x``, ``-x``, ``~x``" msgstr "" -#: reference/expressions.rst:1928 +#: reference/expressions.rst:1930 msgid "Positive, negative, bitwise NOT" msgstr "" -#: reference/expressions.rst:1930 +#: reference/expressions.rst:1932 msgid "``*``, ``@``, ``/``, ``//``, ``%``" msgstr "" -#: reference/expressions.rst:1930 +#: reference/expressions.rst:1932 msgid "" "Multiplication, matrix multiplication, division, floor division, remainder " "[#]_" msgstr "" -#: reference/expressions.rst:1934 +#: reference/expressions.rst:1936 msgid "``+``, ``-``" msgstr "" -#: reference/expressions.rst:1934 +#: reference/expressions.rst:1936 msgid "Addition and subtraction" msgstr "" -#: reference/expressions.rst:1936 +#: reference/expressions.rst:1938 msgid "``<<``, ``>>``" msgstr "" -#: reference/expressions.rst:1936 +#: reference/expressions.rst:1938 msgid "Shifts" msgstr "" -#: reference/expressions.rst:1938 +#: reference/expressions.rst:1940 msgid "``&``" msgstr "" -#: reference/expressions.rst:1938 +#: reference/expressions.rst:1940 msgid "Bitwise AND" msgstr "" -#: reference/expressions.rst:1940 +#: reference/expressions.rst:1942 msgid "``^``" msgstr "" -#: reference/expressions.rst:1940 +#: reference/expressions.rst:1942 msgid "Bitwise XOR" msgstr "" -#: reference/expressions.rst:1942 +#: reference/expressions.rst:1944 msgid "``|``" msgstr "" -#: reference/expressions.rst:1942 +#: reference/expressions.rst:1944 msgid "Bitwise OR" msgstr "" -#: reference/expressions.rst:1944 +#: reference/expressions.rst:1946 msgid "" ":keyword:`in`, :keyword:`not in`, :keyword:`is`, :keyword:`is not`, ``<``, " "``<=``, ``>``, ``>=``, ``!=``, ``==``" msgstr "" -#: reference/expressions.rst:1944 +#: reference/expressions.rst:1946 msgid "Comparisons, including membership tests and identity tests" msgstr "" -#: reference/expressions.rst:1948 +#: reference/expressions.rst:1950 msgid ":keyword:`not x `" msgstr "" -#: reference/expressions.rst:1948 +#: reference/expressions.rst:1950 msgid "Boolean NOT" msgstr "" -#: reference/expressions.rst:1950 +#: reference/expressions.rst:1952 msgid ":keyword:`and`" msgstr "" -#: reference/expressions.rst:1950 +#: reference/expressions.rst:1952 msgid "Boolean AND" msgstr "" -#: reference/expressions.rst:1952 +#: reference/expressions.rst:1954 msgid ":keyword:`or`" msgstr "" -#: reference/expressions.rst:1952 +#: reference/expressions.rst:1954 msgid "Boolean OR" msgstr "" -#: reference/expressions.rst:1954 +#: reference/expressions.rst:1956 msgid ":keyword:`if ` -- :keyword:`!else`" msgstr "" -#: reference/expressions.rst:1954 +#: reference/expressions.rst:1956 msgid "Conditional expression" msgstr "" -#: reference/expressions.rst:1956 +#: reference/expressions.rst:1958 msgid ":keyword:`lambda`" msgstr "" -#: reference/expressions.rst:1956 +#: reference/expressions.rst:1958 msgid "Lambda expression" msgstr "" -#: reference/expressions.rst:1958 +#: reference/expressions.rst:1960 msgid "``:=``" msgstr "" -#: reference/expressions.rst:1958 +#: reference/expressions.rst:1960 msgid "Assignment expression" msgstr "" -#: reference/expressions.rst:1963 +#: reference/expressions.rst:1965 msgid "Footnotes" msgstr "" -#: reference/expressions.rst:1964 +#: reference/expressions.rst:1966 msgid "" "While ``abs(x%y) < abs(y)`` is true mathematically, for floats it may not be " "true numerically due to roundoff. For example, and assuming a platform on " @@ -2171,7 +2172,7 @@ msgid "" "approach is more appropriate depends on the application." msgstr "" -#: reference/expressions.rst:1973 +#: reference/expressions.rst:1975 msgid "" "If x is very close to an exact integer multiple of y, it's possible for ``x//" "y`` to be one larger than ``(x-x%y)//y`` due to rounding. In such cases, " @@ -2179,7 +2180,7 @@ msgid "" "* y + x % y`` be very close to ``x``." msgstr "" -#: reference/expressions.rst:1978 +#: reference/expressions.rst:1980 msgid "" "The Unicode standard distinguishes between :dfn:`code points` (e.g. U+0041) " "and :dfn:`abstract characters` (e.g. \"LATIN CAPITAL LETTER A\"). While most " @@ -2193,7 +2194,7 @@ msgid "" "(COMBINING CEDILLA)." msgstr "" -#: reference/expressions.rst:1989 +#: reference/expressions.rst:1991 msgid "" "The comparison operators on strings compare at the level of Unicode code " "points. This may be counter-intuitive to humans. For example, ``\"\\u00C7\" " @@ -2201,13 +2202,13 @@ msgid "" "same abstract character \"LATIN CAPITAL LETTER C WITH CEDILLA\"." msgstr "" -#: reference/expressions.rst:1994 +#: reference/expressions.rst:1996 msgid "" "To compare strings at the level of abstract characters (that is, in a way " "intuitive to humans), use :func:`unicodedata.normalize`." msgstr "" -#: reference/expressions.rst:1997 +#: reference/expressions.rst:1999 msgid "" "Due to automatic garbage-collection, free lists, and the dynamic nature of " "descriptors, you may notice seemingly unusual behaviour in certain uses of " @@ -2215,13 +2216,13 @@ msgid "" "instance methods, or constants. Check their documentation for more info." msgstr "" -#: reference/expressions.rst:2002 +#: reference/expressions.rst:2004 msgid "" "The power operator ``**`` binds less tightly than an arithmetic or bitwise " "unary operator on its right, that is, ``2**-1`` is ``0.5``." msgstr "" -#: reference/expressions.rst:2005 +#: reference/expressions.rst:2007 msgid "" "The ``%`` operator is also used for string formatting; the same precedence " "applies." diff --git a/tutorial/classes.po b/tutorial/classes.po index c7b48dd83..5da6a867d 100644 --- a/tutorial/classes.po +++ b/tutorial/classes.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: 2022-12-28 21:28+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1155,16 +1155,17 @@ msgid "Odds and Ends" msgstr "Oranlar ve Bitişler" #: tutorial/classes.rst:739 +#, fuzzy msgid "" "Sometimes it is useful to have a data type similar to the Pascal \"record\" " -"or C \"struct\", bundling together a few named data items. An empty class " -"definition will do nicely::" +"or C \"struct\", bundling together a few named data items. The idiomatic " +"approach is to use :mod:`dataclasses` for this purpose::" msgstr "" "Bazen, birkaç adlandırılmış veri öğesini bir araya getirerek Pascal " "\"kaydı\" veya C \"yapısına\" benzer bir veri türüne sahip olmak " "yararlıdır. Boş bir sınıf tanımı güzel bir şekilde yapacaktır::" -#: tutorial/classes.rst:753 +#: tutorial/classes.rst:759 msgid "" "A piece of Python code that expects a particular abstract data type can " "often be passed a class that emulates the methods of that data type " @@ -1180,7 +1181,7 @@ msgstr "" "değişken olarak geçiren :meth:`read` ve :meth:`!readline` yöntemlerine sahip " "bir sınıf tanımlayabilirsiniz." -#: tutorial/classes.rst:764 +#: tutorial/classes.rst:770 msgid "" "Instance method objects have attributes, too: ``m.__self__`` is the instance " "object with the method :meth:`m`, and ``m.__func__`` is the function object " @@ -1190,11 +1191,11 @@ msgstr "" "örnek nesnedir :meth:`m`, ve ``m.__func__`` yönteme karşılık gelen fonksiyon " "nesnesidir." -#: tutorial/classes.rst:772 +#: tutorial/classes.rst:778 msgid "Iterators" msgstr "Yineleyiciler" -#: tutorial/classes.rst:774 +#: tutorial/classes.rst:780 msgid "" "By now you have probably noticed that most container objects can be looped " "over using a :keyword:`for` statement::" @@ -1202,7 +1203,7 @@ msgstr "" "Şimdiye kadar büyük olasılıkla çoğu kapsayıcı nesnenin bir :keyword:`for` " "deyimi kullanılarak döngüye alınabileceğini fark etmişsinizdir::" -#: tutorial/classes.rst:788 +#: tutorial/classes.rst:794 msgid "" "This style of access is clear, concise, and convenient. The use of " "iterators pervades and unifies Python. Behind the scenes, the :keyword:" @@ -1224,7 +1225,7 @@ msgstr "" "fonksiyonunu kullanarak :meth:`~iterator.__next__` yöntemini " "çağırabilirsiniz; Bu örnek, her şeyin nasıl çalıştığını gösterir::" -#: tutorial/classes.rst:813 +#: tutorial/classes.rst:819 msgid "" "Having seen the mechanics behind the iterator protocol, it is easy to add " "iterator behavior to your classes. Define an :meth:`__iter__` method which " @@ -1236,11 +1237,11 @@ msgstr "" "bir nesne döndüren :meth:`__iter__` metodunu tanımlayın. Sınıf :meth:" "`__next__` tanımlarsa, :meth:`__iter__` sadece ``self`` döndürebilir::" -#: tutorial/classes.rst:850 +#: tutorial/classes.rst:856 msgid "Generators" msgstr "Üreteçler" -#: tutorial/classes.rst:852 +#: tutorial/classes.rst:858 msgid "" ":term:`Generators ` are a simple and powerful tool for creating " "iterators. They are written like regular functions but use the :keyword:" @@ -1256,7 +1257,7 @@ msgstr "" "değerlerini ve hangi deyimin en son yürütüldüğını hatırlar). Bu örnek, " "üreteçlerin oluşturulmasının ne kadar da kolay olabileceğini gösterir::" -#: tutorial/classes.rst:873 +#: tutorial/classes.rst:879 msgid "" "Anything that can be done with generators can also be done with class-based " "iterators as described in the previous section. What makes generators so " @@ -1268,7 +1269,7 @@ msgstr "" "şey: :meth:`__iter__` ve :meth:`~generator.__next__` yöntemlerinin otomatik " "olarak oluşturulmasıdır." -#: tutorial/classes.rst:878 +#: tutorial/classes.rst:884 msgid "" "Another key feature is that the local variables and execution state are " "automatically saved between calls. This made the function easier to write " @@ -1280,7 +1281,7 @@ msgstr "" "kolaylaştırdı ve ``self.index`` ve ``self.data`` gibi değişkenleri " "kullanmaya kıyasla çok daha net hale getirdi." -#: tutorial/classes.rst:883 +#: tutorial/classes.rst:889 msgid "" "In addition to automatic method creation and saving program state, when " "generators terminate, they automatically raise :exc:`StopIteration`. In " @@ -1292,11 +1293,11 @@ msgstr "" "Birlikte, bu özellikler normal bir işlev yazmaktan daha fazla çaba " "harcamadan yinelemeler oluşturmayı kolaylaştırır." -#: tutorial/classes.rst:892 +#: tutorial/classes.rst:898 msgid "Generator Expressions" msgstr "Üreteç İfadeleri" -#: tutorial/classes.rst:894 +#: tutorial/classes.rst:900 msgid "" "Some simple generators can be coded succinctly as expressions using a syntax " "similar to list comprehensions but with parentheses instead of square " @@ -1312,15 +1313,15 @@ msgstr "" "ancak daha az çok yönlüdür ve aynı özellikle liste anlamalarından daha " "bellek dostu olma eğilimindedir." -#: tutorial/classes.rst:901 +#: tutorial/classes.rst:907 msgid "Examples::" msgstr "Örnekler::" -#: tutorial/classes.rst:922 +#: tutorial/classes.rst:928 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/classes.rst:923 +#: tutorial/classes.rst:929 msgid "" "Except for one thing. Module objects have a secret read-only attribute " "called :attr:`~object.__dict__` which returns the dictionary used to " diff --git a/tutorial/introduction.po b/tutorial/introduction.po index 71a502b52..d5c7a8366 100644 --- a/tutorial/introduction.po +++ b/tutorial/introduction.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: 2022-12-28 22:09+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -236,6 +236,13 @@ msgstr "" #: tutorial/introduction.rst:192 msgid "" +"There is one subtle aspect to raw strings: a raw string may not end in an " +"odd number of ``\\`` characters; see :ref:`the FAQ entry ` for more information and workarounds." +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 ``\\`` " @@ -246,14 +253,14 @@ msgstr "" "olarak dizeye dahil edilir, ancak satırın sonuna ``\\`` ekleyerek bunu " "önlemek mümkündür. Aşağıdaki örnek::" -#: tutorial/introduction.rst:203 +#: tutorial/introduction.rst:208 msgid "" "produces the following output (note that the initial newline is not " "included):" msgstr "" "aşağıdaki çıktıyı üretir (ilk yeni satırın dahil olmadığını unutmayın):" -#: tutorial/introduction.rst:211 +#: tutorial/introduction.rst:216 msgid "" "Strings can be concatenated (glued together) with the ``+`` operator, and " "repeated with ``*``::" @@ -261,7 +268,7 @@ msgstr "" "Dizeler ``+`` operatörüyle birleştirilebilir (birbirine yapıştırılabilir) ve " "``*`` ile tekrarlanabilir::" -#: tutorial/introduction.rst:218 +#: tutorial/introduction.rst:223 msgid "" "Two or more *string literals* (i.e. the ones enclosed between quotes) next " "to each other are automatically concatenated. ::" @@ -269,26 +276,26 @@ msgstr "" "Yan yana iki veya daha fazla *dize sabiti* (yani, tırnak işaretleri arasına " "alınanlar) otomatik olarak birleştirilir. ::" -#: tutorial/introduction.rst:224 +#: tutorial/introduction.rst:229 msgid "" "This feature is particularly useful when you want to break long strings::" msgstr "" "Bu özellik, özellikle uzun dizeleri kırmak istediğinizde kullanışlıdır::" -#: tutorial/introduction.rst:231 +#: tutorial/introduction.rst:236 msgid "" "This only works with two literals though, not with variables or expressions::" msgstr "" "Bu, değişkenler veya ifadelerle değil, yalnızca iki sabit değerle çalışır::" -#: tutorial/introduction.rst:245 +#: tutorial/introduction.rst:250 msgid "" "If you want to concatenate variables or a variable and a literal, use ``+``::" msgstr "" "Değişkenleri veya bir değişkeni ve bir sabiti birleştirmek istiyorsanız, " "``+`` kullanın:" -#: tutorial/introduction.rst:250 +#: tutorial/introduction.rst:255 msgid "" "Strings can be *indexed* (subscripted), with the first character having " "index 0. There is no separate character type; a character is simply a string " @@ -298,17 +305,17 @@ msgstr "" "olabilir). Karakterler için ayrı bir tür yoktur; karakterler yalnızca *bir* " "uzunluğunda dizelerdir::" -#: tutorial/introduction.rst:260 +#: tutorial/introduction.rst:265 msgid "" "Indices may also be negative numbers, to start counting from the right::" msgstr "Sağdan saymaya başlamak için indeksler negatif sayılar da olabilir::" -#: tutorial/introduction.rst:269 +#: tutorial/introduction.rst:274 msgid "Note that since -0 is the same as 0, negative indices start from -1." msgstr "" "-0 ile 0 aynı olduğundan, negatif endekslerin -1'den başladığını unutmayın." -#: tutorial/introduction.rst:271 +#: tutorial/introduction.rst:276 msgid "" "In addition to indexing, *slicing* is also supported. While indexing is " "used to obtain individual characters, *slicing* allows you to obtain " @@ -318,7 +325,7 @@ msgstr "" "etmek için indeksleme kullanılırken, *dilimleme* alt dizeyi elde etmenizi " "sağlar::" -#: tutorial/introduction.rst:279 +#: tutorial/introduction.rst:284 msgid "" "Slice indices have useful defaults; an omitted first index defaults to zero, " "an omitted second index defaults to the size of the string being sliced. ::" @@ -327,7 +334,7 @@ msgstr "" "varsayılanı sıfırdır, atlanmış bir ikinci dizin varsayılanı dilimlenmekte " "olan dizenin boyutudur. ::" -#: tutorial/introduction.rst:289 +#: tutorial/introduction.rst:294 msgid "" "Note how the start is always included, and the end always excluded. This " "makes sure that ``s[:i] + s[i:]`` is always equal to ``s``::" @@ -336,7 +343,7 @@ msgstr "" "dikkat edin. Bu, ``s[:i] + s[i:]`` değerinin her zaman ``s`` değerine eşit " "olmasını sağlar::" -#: tutorial/introduction.rst:297 +#: tutorial/introduction.rst:302 msgid "" "One way to remember how slices work is to think of the indices as pointing " "*between* characters, with the left edge of the first character numbered 0. " @@ -348,7 +355,7 @@ msgstr "" "Ardından, *n* karakterli bir dizenin son karakterinin sağ kenarında *n* " "dizini vardır, örneğin::" -#: tutorial/introduction.rst:308 +#: tutorial/introduction.rst:313 msgid "" "The first row of numbers gives the position of the indices 0...6 in the " "string; the second row gives the corresponding negative indices. The slice " @@ -359,7 +366,7 @@ msgstr "" "karşılık gelen negatif endeksleri verir. *i* ile *j* arasındaki dilim, " "sırasıyla *i* ve *j* etiketli kenarlar arasındaki tüm karakterlerden oluşur." -#: tutorial/introduction.rst:313 +#: tutorial/introduction.rst:318 msgid "" "For non-negative indices, the length of a slice is the difference of the " "indices, if both are within bounds. For example, the length of " @@ -368,11 +375,11 @@ msgstr "" "Negatif olmayan indeksler için, her ikisi de sınırlar içindeyse, bir dilimin " "uzunluğu indekslerin farkıdır. Örneğin, ``kelime[1:3]`` 'ün uzunluğu 2'dir." -#: tutorial/introduction.rst:317 +#: tutorial/introduction.rst:322 msgid "Attempting to use an index that is too large will result in an error::" msgstr "Çok büyük bir dizin kullanmaya çalışmak bir hataya neden olur::" -#: tutorial/introduction.rst:324 +#: tutorial/introduction.rst:329 msgid "" "However, out of range slice indexes are handled gracefully when used for " "slicing::" @@ -380,7 +387,7 @@ msgstr "" "Ancak, aralık dışı dilim endeksleri, dilimleme için kullanıldığında zarif " "bir şekilde işlenir::" -#: tutorial/introduction.rst:332 +#: tutorial/introduction.rst:337 msgid "" "Python strings cannot be changed --- they are :term:`immutable`. Therefore, " "assigning to an indexed position in the string results in an error::" @@ -388,19 +395,19 @@ msgstr "" "Python dizeleri değiştirilemez --- bunlar :term:`immutable` 'dır. Bu " "nedenle, dizide dizine alınmış bir konuma atamak bir hatayla sonuçlanır::" -#: tutorial/introduction.rst:344 +#: tutorial/introduction.rst:349 msgid "If you need a different string, you should create a new one::" msgstr "Farklı bir dizeye ihtiyacınız varsa, yeni bir tane oluşturmalısınız::" -#: tutorial/introduction.rst:351 +#: tutorial/introduction.rst:356 msgid "The built-in function :func:`len` returns the length of a string::" msgstr "Yerleşik işlev :func:`len`, bir dizenin uzunluğunu döndürür::" -#: tutorial/introduction.rst:362 +#: tutorial/introduction.rst:367 msgid ":ref:`textseq`" msgstr ":ref:`textseq`" -#: tutorial/introduction.rst:361 +#: tutorial/introduction.rst:366 msgid "" "Strings are examples of *sequence types*, and support the common operations " "supported by such types." @@ -408,37 +415,37 @@ msgstr "" "Dizeler, *sıra türlerinin* örnekleridir ve bu türler tarafından desteklenen " "genel işlemleri destekler." -#: tutorial/introduction.rst:366 +#: tutorial/introduction.rst:371 msgid ":ref:`string-methods`" msgstr ":ref:`dize-yöntemleri `" -#: tutorial/introduction.rst:365 +#: tutorial/introduction.rst:370 msgid "" "Strings support a large number of methods for basic transformations and " "searching." msgstr "Dizeler, temel dönüşümler ve arama için çok sayıda yöntemi destekler." -#: tutorial/introduction.rst:369 +#: tutorial/introduction.rst:374 msgid ":ref:`f-strings`" msgstr ":ref:`f-strings`" -#: tutorial/introduction.rst:369 +#: tutorial/introduction.rst:374 msgid "String literals that have embedded expressions." msgstr "Gömülü ifadelere sahip dize sabitleri." -#: tutorial/introduction.rst:372 +#: tutorial/introduction.rst:377 msgid ":ref:`formatstrings`" msgstr ":ref:`formatstrings`" -#: tutorial/introduction.rst:372 +#: tutorial/introduction.rst:377 msgid "Information about string formatting with :meth:`str.format`." msgstr ":meth:`str.format` ile dize biçimlendirme hakkında bilgi." -#: tutorial/introduction.rst:375 +#: tutorial/introduction.rst:380 msgid ":ref:`old-string-formatting`" msgstr ":ref:`old-string-formatting`" -#: tutorial/introduction.rst:375 +#: tutorial/introduction.rst:380 msgid "" "The old formatting operations invoked when strings are the left operand of " "the ``%`` operator are described in more detail here." @@ -446,11 +453,11 @@ msgstr "" "Dizeler ``%`` operatörünün sol işleneni olduğunda çağrılan eski " "biçimlendirme işlemleri burada daha ayrıntılı olarak açıklanmaktadır." -#: tutorial/introduction.rst:382 +#: tutorial/introduction.rst:387 msgid "Lists" msgstr "Listeler" -#: tutorial/introduction.rst:384 +#: tutorial/introduction.rst:389 msgid "" "Python knows a number of *compound* data types, used to group together other " "values. The most versatile is the *list*, which can be written as a list of " @@ -463,7 +470,7 @@ msgstr "" "Listeler farklı türde ögeler içerebilir, ancak genellikle ögelerin tümü aynı " "türdedir. ::" -#: tutorial/introduction.rst:393 +#: tutorial/introduction.rst:398 msgid "" "Like strings (and all other built-in :term:`sequence` types), lists can be " "indexed and sliced::" @@ -471,7 +478,7 @@ msgstr "" "Dizeler gibi (ve diğer tüm yerleşik :term:`sequence` türleri), listeler " "dizine alınabilir ve dilimlenebilir::" -#: tutorial/introduction.rst:403 +#: tutorial/introduction.rst:408 msgid "" "All slice operations return a new list containing the requested elements. " "This means that the following slice returns a :ref:`shallow copy " @@ -481,11 +488,11 @@ msgstr "" "aşağıdaki dilimin listenin bir :ref:`shallow copy ` " "döndürdüğü anlamına gelir::" -#: tutorial/introduction.rst:410 +#: tutorial/introduction.rst:415 msgid "Lists also support operations like concatenation::" msgstr "Ayrıca listeler birleştirme gibi işlemleri de destekler::" -#: tutorial/introduction.rst:415 +#: tutorial/introduction.rst:420 msgid "" "Unlike strings, which are :term:`immutable`, lists are a :term:`mutable` " "type, i.e. it is possible to change their content::" @@ -493,7 +500,7 @@ msgstr "" ":term:`immutable` olan dizelerin aksine, listeler :term:`mutable` " "türündedir, yani içeriklerini değiştirmek mümkündür::" -#: tutorial/introduction.rst:425 +#: tutorial/introduction.rst:430 msgid "" "You can also add new items at the end of the list, by using the :meth:`~list." "append` *method* (we will see more about methods later)::" @@ -502,7 +509,7 @@ msgstr "" "öğeler ekleyebilirsiniz (yöntemler hakkında daha fazla bilgiyi daha sonra " "göreceğiz)::" -#: tutorial/introduction.rst:433 +#: tutorial/introduction.rst:438 msgid "" "Assignment to slices is also possible, and this can even change the size of " "the list or clear it entirely::" @@ -510,11 +517,11 @@ msgstr "" "Dilimlere atama da mümkündür ve bu, listenin boyutunu bile değiştirebilir " "veya tamamen temizleyebilir::" -#: tutorial/introduction.rst:452 +#: tutorial/introduction.rst:457 msgid "The built-in function :func:`len` also applies to lists::" msgstr "Yerleşik işlev :func:`len` ayrıca listeler için de geçerlidir::" -#: tutorial/introduction.rst:458 +#: tutorial/introduction.rst:463 msgid "" "It is possible to nest lists (create lists containing other lists), for " "example::" @@ -522,11 +529,11 @@ msgstr "" "Listeleri iç içe yerleştirmek (diğer listeleri içeren listeler oluşturmak) " "mümkündür, örneğin::" -#: tutorial/introduction.rst:474 +#: tutorial/introduction.rst:479 msgid "First Steps Towards Programming" msgstr "Programlamaya Doğru İlk Adımlar" -#: tutorial/introduction.rst:476 +#: tutorial/introduction.rst:481 msgid "" "Of course, we can use Python for more complicated tasks than adding two and " "two together. For instance, we can write an initial sub-sequence of the " @@ -537,11 +544,11 @@ msgstr "" "kullanabiliriz. Örneğin, `Fibonacci serisinin `_ ilk alt dizisini aşağıdaki gibi yazabiliriz:" -#: tutorial/introduction.rst:496 +#: tutorial/introduction.rst:501 msgid "This example introduces several new features." msgstr "Bu örnek, birkaç yeni özellik sunar." -#: tutorial/introduction.rst:498 +#: tutorial/introduction.rst:503 msgid "" "The first line contains a *multiple assignment*: the variables ``a`` and " "``b`` simultaneously get the new values 0 and 1. On the last line this is " @@ -553,7 +560,7 @@ msgstr "" "1 değerlerini alır. Tarafların tümü, herhangi bir görev yapılmadan önce " "değerlendirilir. Sağ taraftaki ifadeler soldan sağa doğru değerlendirilir." -#: tutorial/introduction.rst:504 +#: tutorial/introduction.rst:509 msgid "" "The :keyword:`while` loop executes as long as the condition (here: ``a < " "10``) remains true. In Python, like in C, any non-zero integer value is " @@ -573,7 +580,7 @@ msgstr "" "(küçüktür), ``>`` (büyüktür), ``==`` (eşittir), ``<=`` ( küçük veya eşit), " "``>=`` (büyük veya eşit) ve ``!=`` (eşit değil)." -#: tutorial/introduction.rst:513 +#: tutorial/introduction.rst:518 msgid "" "The *body* of the loop is *indented*: indentation is Python's way of " "grouping statements. At the interactive prompt, you have to type a tab or " @@ -594,7 +601,7 @@ msgstr "" "tahmin edemez). Bir temel blok içindeki her satırın aynı miktarda girintili " "olması gerektiğini unutmayın." -#: tutorial/introduction.rst:522 +#: tutorial/introduction.rst:527 msgid "" "The :func:`print` function writes the value of the argument(s) it is given. " "It differs from just writing the expression you want to write (as we did " @@ -610,7 +617,7 @@ msgstr "" "işaretleri olmadan yazdırılır ve öğelerin arasına bir boşluk eklenir, " "böylece şunları güzel bir şekilde biçimlendirebilirsiniz:" -#: tutorial/introduction.rst:533 +#: tutorial/introduction.rst:538 msgid "" "The keyword argument *end* can be used to avoid the newline after the " "output, or end the output with a different string::" @@ -618,11 +625,11 @@ msgstr "" "*end* anahtar sözcüğü argümanı, çıktıdan sonra yeni satırı önlemek veya " "çıktıyı farklı bir dizeyle bitirmek için kullanılabilir::" -#: tutorial/introduction.rst:545 +#: tutorial/introduction.rst:550 msgid "Footnotes" msgstr "Dipnotlar" -#: tutorial/introduction.rst:546 +#: tutorial/introduction.rst:551 msgid "" "Since ``**`` has higher precedence than ``-``, ``-3**2`` will be interpreted " "as ``-(3**2)`` and thus result in ``-9``. To avoid this and get ``9``, you " @@ -632,7 +639,7 @@ msgstr "" "(3**2)`` olarak yorumlanacak ve dolayısıyla ``-9`` ile sonuçlanacaktır. " "Bundan kaçınmak ve ``9`` elde etmek için ``(-3)**2`` kullanabilirsiniz." -#: tutorial/introduction.rst:550 +#: tutorial/introduction.rst:555 msgid "" "Unlike other languages, special characters such as ``\\n`` have the same " "meaning with both single (``'...'``) and double (``\"...\"``) quotes. The " diff --git a/using/cmdline.po b/using/cmdline.po index dfa7bc9dc..5870be837 100644 --- a/using/cmdline.po +++ b/using/cmdline.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -116,7 +116,7 @@ msgid "" "modules)." msgstr "" -#: using/cmdline.rst:73 +#: using/cmdline.rst:10 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_command`` with " "argument ``command``." @@ -175,7 +175,7 @@ msgid "" "execution as a script. An example is the :mod:`timeit` module::" msgstr "" -#: using/cmdline.rst:115 +#: using/cmdline.rst:39 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_module`` with " "argument ``module-name``." @@ -214,7 +214,7 @@ msgid "" "path`." msgstr "" -#: using/cmdline.rst:140 +#: using/cmdline.rst:8 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_stdin`` with no " "arguments." @@ -256,7 +256,7 @@ msgid "" "too." msgstr "" -#: using/cmdline.rst:167 +#: using/cmdline.rst:22 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_file`` with " "argument ``filename``." @@ -870,7 +870,7 @@ msgid "" "file." msgstr "" -#: using/cmdline.rst:662 +#: using/cmdline.rst:8 msgid "" "Raises an :ref:`auditing event ` ``cpython.run_startup`` with " "argument ``filename``." diff --git a/using/windows.po b/using/windows.po index 55439d541..71f1fe247 100644 --- a/using/windows.po +++ b/using/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -239,11 +239,11 @@ msgid "" "list of available options is shown below." msgstr "" -#: using/windows.rst:1028 +#: using/windows.rst:1069 msgid "Name" msgstr "" -#: using/windows.rst:1028 +#: using/windows.rst:1069 msgid "Description" msgstr "" @@ -1210,33 +1210,55 @@ msgid "" msgstr "" #: using/windows.rst:733 -msgid "You should find the latest version of Python 3.x starts." +msgid "" +"If you see the following error, you do not have the launcher installed::" +msgstr "" + +#: using/windows.rst:738 +msgid "The command::" msgstr "" -#: using/windows.rst:735 +#: using/windows.rst:742 +msgid "displays the currently installed version(s) of Python." +msgstr "" + +#: using/windows.rst:744 msgid "" -"If you see the following error, you do not have the launcher installed::" +"The ``-x.y`` argument is the short form of the ``-V:Company/Tag`` argument, " +"which allows selecting a specific Python runtime, including those that may " +"have come from somewhere other than python.org. Any runtime registered by " +"following :pep:`514` will be discoverable. The ``--list`` command lists all " +"available runtimes using the ``-V:`` format." msgstr "" -#: using/windows.rst:740 +#: using/windows.rst:750 msgid "" -"Per-user installations of Python do not add the launcher to :envvar:`PATH` " -"unless the option was selected on installation." +"When using the ``-V:`` argument, specifying the Company will limit selection " +"to runtimes from that provider, while specifying only the Tag will select " +"from all providers. Note that omitting the slash implies a tag::" msgstr "" -#: using/windows.rst:743 -msgid "The command::" +#: using/windows.rst:763 +msgid "" +"The short form of the argument (``-3``) only ever selects from core Python " +"releases, and not other distributions. However, the longer form (``-V:3``) " +"will select from any." msgstr "" -#: using/windows.rst:747 -msgid "displays the currently installed version(s) of Python." +#: using/windows.rst:767 +msgid "" +"The Company is matched on the full string, case-insenitive. The Tag is " +"matched oneither the full string, or a prefix, provided the next character " +"is a dot or a hyphen. This allows ``-V:3.1`` to match ``3.1-32``, but not " +"``3.10``. Tags are sorted using numerical ordering (``3.10`` is newer than " +"``3.1``), but are compared using text (``-V:3.01`` does not match ``3.1``)." msgstr "" -#: using/windows.rst:750 +#: using/windows.rst:775 msgid "Virtual environments" msgstr "" -#: using/windows.rst:754 +#: using/windows.rst:779 msgid "" "If the launcher is run with no explicit Python version specification, and a " "virtual environment (created with the standard library :mod:`venv` module or " @@ -1246,36 +1268,36 @@ msgid "" "specify the global Python version." msgstr "" -#: using/windows.rst:762 +#: using/windows.rst:787 msgid "From a script" msgstr "" -#: using/windows.rst:764 +#: using/windows.rst:789 msgid "" "Let's create a test Python script - create a file called ``hello.py`` with " "the following contents" msgstr "" -#: using/windows.rst:773 +#: using/windows.rst:798 msgid "From the directory in which hello.py lives, execute the command::" msgstr "" -#: using/windows.rst:777 +#: using/windows.rst:802 msgid "" "You should notice the version number of your latest Python 2.x installation " "is printed. Now try changing the first line to be:" msgstr "" -#: using/windows.rst:784 +#: using/windows.rst:809 msgid "" "Re-executing the command should now print the latest Python 3.x information. " "As with the above command-line examples, you can specify a more explicit " "version qualifier. Assuming you have Python 3.7 installed, try changing the " -"first line to ``#! python3.7`` and you should find the |version| version " +"first line to ``#! python3.7`` and you should find the 3.7 version " "information printed." msgstr "" -#: using/windows.rst:790 +#: using/windows.rst:815 msgid "" "Note that unlike interactive use, a bare \"python\" will use the latest " "version of Python 2.x that you have installed. This is for backward " @@ -1283,11 +1305,11 @@ msgid "" "typically refers to Python 2." msgstr "" -#: using/windows.rst:796 +#: using/windows.rst:821 msgid "From file associations" msgstr "" -#: using/windows.rst:798 +#: using/windows.rst:823 msgid "" "The launcher should have been associated with Python files (i.e. ``.py``, ``." "pyw``, ``.pyc`` files) when it was installed. This means that when you " @@ -1296,17 +1318,17 @@ msgid "" "have the script specify the version which should be used." msgstr "" -#: using/windows.rst:804 +#: using/windows.rst:829 msgid "" "The key benefit of this is that a single launcher can support multiple " "Python versions at the same time depending on the contents of the first line." msgstr "" -#: using/windows.rst:808 +#: using/windows.rst:833 msgid "Shebang Lines" msgstr "" -#: using/windows.rst:810 +#: using/windows.rst:835 msgid "" "If the first line of a script file starts with ``#!``, it is known as a " "\"shebang\" line. Linux and other Unix like operating systems have native " @@ -1316,34 +1338,34 @@ msgid "" "demonstrate their use." msgstr "" -#: using/windows.rst:817 +#: using/windows.rst:842 msgid "" "To allow shebang lines in Python scripts to be portable between Unix and " "Windows, this launcher supports a number of 'virtual' commands to specify " "which interpreter to use. The supported virtual commands are:" msgstr "" -#: using/windows.rst:821 -msgid "``/usr/bin/env python``" +#: using/windows.rst:846 +msgid "``/usr/bin/env``" msgstr "" -#: using/windows.rst:822 +#: using/windows.rst:847 msgid "``/usr/bin/python``" msgstr "" -#: using/windows.rst:823 +#: using/windows.rst:848 msgid "``/usr/local/bin/python``" msgstr "" -#: using/windows.rst:824 +#: using/windows.rst:849 msgid "``python``" msgstr "" -#: using/windows.rst:826 +#: using/windows.rst:851 msgid "For example, if the first line of your script starts with" msgstr "" -#: using/windows.rst:832 +#: using/windows.rst:857 msgid "" "The default Python will be located and used. As many Python scripts written " "to work on Unix will already have this line, you should find these scripts " @@ -1352,7 +1374,7 @@ msgid "" "of the shebang lines starting with ``/usr``." msgstr "" -#: using/windows.rst:838 +#: using/windows.rst:863 msgid "" "Any of the above virtual commands can be suffixed with an explicit version " "(either just the major version, or the major and minor version). Furthermore " @@ -1361,36 +1383,49 @@ msgid "" "python 3.7." msgstr "" -#: using/windows.rst:846 +#: using/windows.rst:871 msgid "" "Beginning with python launcher 3.7 it is possible to request 64-bit version " "by the \"-64\" suffix. Furthermore it is possible to specify a major and " "architecture without minor (i.e. ``/usr/bin/python3-64``)." msgstr "" -#: using/windows.rst:852 +#: using/windows.rst:877 msgid "" "The \"-64\" suffix is deprecated, and now implies \"any architecture that is " "not provably i386/32-bit\". To request a specific environment, use the new " "``-V:`` argument with the complete tag." msgstr "" -#: using/windows.rst:856 +#: using/windows.rst:881 msgid "" "The ``/usr/bin/env`` form of shebang line has one further special property. " "Before looking for installed Python interpreters, this form will search the " -"executable :envvar:`PATH` for a Python executable. This corresponds to the " -"behaviour of the Unix ``env`` program, which performs a :envvar:`PATH` " -"search. If an executable matching the first argument after the ``env`` " -"command cannot be found, it will be handled as described below. " -"Additionally, the environment variable :envvar:`PYLAUNCHER_NO_SEARCH_PATH` " -"may be set (to any value) to skip this additional search." +"executable :envvar:`PATH` for a Python executable matching the name provided " +"as the first argument. This corresponds to the behaviour of the Unix ``env`` " +"program, which performs a :envvar:`PATH` search. If an executable matching " +"the first argument after the ``env`` command cannot be found, but the " +"argument starts with ``python``, it will be handled as described for the " +"other virtual commands. The environment variable :envvar:" +"`PYLAUNCHER_NO_SEARCH_PATH` may be set (to any value) to skip this search " +"of :envvar:`PATH`." +msgstr "" + +#: using/windows.rst:892 +msgid "" +"Shebang lines that do not match any of these patterns are looked up in the " +"``[commands]`` section of the launcher's :ref:`.INI file `. " +"This may be used to handle certain commands in a way that makes sense for " +"your system. The name of the command must be a single argument (no spaces in " +"the shebang executable), and the value substituted is the full path to the " +"executable (additional arguments specified in the .INI will be quoted as " +"part of the filename)." msgstr "" -#: using/windows.rst:865 +#: using/windows.rst:905 msgid "" -"Shebang lines that do not match any of these patterns are treated as " -"**Windows** paths that are absolute or relative to the directory containing " +"Any commands not found in the .INI file are treated as **Windows** " +"executable paths that are absolute or relative to the directory containing " "the script file. This is a convenience for Windows-only scripts, such as " "those generated by an installer, since the behavior is not compatible with " "Unix-style shells. These paths may be quoted, and may include multiple " @@ -1398,39 +1433,38 @@ msgid "" "will be appended." msgstr "" -#: using/windows.rst:874 +#: using/windows.rst:914 msgid "Arguments in shebang lines" msgstr "" -#: using/windows.rst:876 +#: using/windows.rst:916 msgid "" "The shebang lines can also specify additional options to be passed to the " "Python interpreter. For example, if you have a shebang line:" msgstr "" -#: using/windows.rst:883 +#: using/windows.rst:923 msgid "Then Python will be started with the ``-v`` option" msgstr "" -#: using/windows.rst:886 +#: using/windows.rst:926 msgid "Customization" msgstr "" -#: using/windows.rst:889 +#: using/windows.rst:931 msgid "Customization via INI files" msgstr "" -#: using/windows.rst:891 +#: using/windows.rst:933 msgid "" "Two .ini files will be searched by the launcher - ``py.ini`` in the current " -"user's \"application data\" directory (i.e. the directory returned by " -"calling the Windows function ``SHGetFolderPath`` with " -"``CSIDL_LOCAL_APPDATA``) and ``py.ini`` in the same directory as the " -"launcher. The same .ini files are used for both the 'console' version of the " -"launcher (i.e. py.exe) and for the 'windows' version (i.e. pyw.exe)." +"user's application data directory (``%LOCALAPPDATA%`` or ``$env:" +"LocalAppData``) and ``py.ini`` in the same directory as the launcher. The " +"same .ini files are used for both the 'console' version of the launcher (i." +"e. py.exe) and for the 'windows' version (i.e. pyw.exe)." msgstr "" -#: using/windows.rst:898 +#: using/windows.rst:939 msgid "" "Customization specified in the \"application directory\" will have " "precedence over the one next to the executable, so a user, who may not have " @@ -1438,11 +1472,11 @@ msgid "" "that global .ini file." msgstr "" -#: using/windows.rst:903 +#: using/windows.rst:944 msgid "Customizing default Python versions" msgstr "" -#: using/windows.rst:905 +#: using/windows.rst:946 msgid "" "In some cases, a version qualifier can be included in a command to dictate " "which version of Python will be used by the command. A version qualifier " @@ -1452,13 +1486,13 @@ msgid "" "\"-32\" or \"-64\"." msgstr "" -#: using/windows.rst:911 +#: using/windows.rst:952 msgid "" "For example, a shebang line of ``#!python`` has no version qualifier, while " "``#!python3`` has a version qualifier which specifies only a major version." msgstr "" -#: using/windows.rst:914 +#: using/windows.rst:955 msgid "" "If no version qualifiers are found in a command, the environment variable :" "envvar:`PY_PYTHON` can be set to specify the default version qualifier. If " @@ -1468,7 +1502,7 @@ msgid "" "launcher included with Python 3.7 or newer.)" msgstr "" -#: using/windows.rst:921 +#: using/windows.rst:962 msgid "" "If no minor version qualifiers are found, the environment variable " "``PY_PYTHON{major}`` (where ``{major}`` is the current major version " @@ -1479,7 +1513,7 @@ msgid "" "version in that family." msgstr "" -#: using/windows.rst:929 +#: using/windows.rst:970 msgid "" "On 64-bit Windows with both 32-bit and 64-bit implementations of the same " "(major.minor) Python version installed, the 64-bit version will always be " @@ -1493,30 +1527,30 @@ msgid "" "suffix can be used on a version specifier to change this behaviour." msgstr "" -#: using/windows.rst:940 +#: using/windows.rst:981 msgid "Examples:" msgstr "" -#: using/windows.rst:942 +#: using/windows.rst:983 msgid "" "If no relevant options are set, the commands ``python`` and ``python2`` will " "use the latest Python 2.x version installed and the command ``python3`` will " "use the latest Python 3.x installed." msgstr "" -#: using/windows.rst:946 +#: using/windows.rst:987 msgid "" "The command ``python3.7`` will not consult any options at all as the " "versions are fully specified." msgstr "" -#: using/windows.rst:949 +#: using/windows.rst:990 msgid "" "If ``PY_PYTHON=3``, the commands ``python`` and ``python3`` will both use " "the latest installed Python 3 version." msgstr "" -#: using/windows.rst:952 +#: using/windows.rst:993 msgid "" "If ``PY_PYTHON=3.7-32``, the command ``python`` will use the 32-bit " "implementation of 3.7 whereas the command ``python3`` will use the latest " @@ -1524,13 +1558,13 @@ msgid "" "specified.)" msgstr "" -#: using/windows.rst:957 +#: using/windows.rst:998 msgid "" "If ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7``, the commands ``python`` and " "``python3`` will both use specifically 3.7" msgstr "" -#: using/windows.rst:960 +#: using/windows.rst:1001 msgid "" "In addition to environment variables, the same settings can be configured in " "the .INI file used by the launcher. The section in the INI file is called " @@ -1540,25 +1574,25 @@ msgid "" "will override things specified in the INI file." msgstr "" -#: using/windows.rst:967 +#: using/windows.rst:1008 msgid "For example:" msgstr "" -#: using/windows.rst:969 +#: using/windows.rst:1010 msgid "Setting ``PY_PYTHON=3.7`` is equivalent to the INI file containing:" msgstr "" -#: using/windows.rst:976 +#: using/windows.rst:1017 msgid "" "Setting ``PY_PYTHON=3`` and ``PY_PYTHON3=3.7`` is equivalent to the INI file " "containing:" msgstr "" -#: using/windows.rst:986 +#: using/windows.rst:1027 msgid "Diagnostics" msgstr "" -#: using/windows.rst:988 +#: using/windows.rst:1029 msgid "" "If an environment variable :envvar:`PYLAUNCHER_DEBUG` is set (to any value), " "the launcher will print diagnostic information to stderr (i.e. to the " @@ -1568,11 +1602,11 @@ msgid "" "the target Python. It is primarily intended for testing and debugging." msgstr "" -#: using/windows.rst:996 +#: using/windows.rst:1037 msgid "Dry Run" msgstr "" -#: using/windows.rst:998 +#: using/windows.rst:1039 msgid "" "If an environment variable :envvar:`PYLAUNCHER_DRYRUN` is set (to any " "value), the launcher will output the command it would have run, but will not " @@ -1582,11 +1616,11 @@ msgid "" "correctly in the console." msgstr "" -#: using/windows.rst:1006 +#: using/windows.rst:1047 msgid "Install on demand" msgstr "" -#: using/windows.rst:1008 +#: using/windows.rst:1049 msgid "" "If an environment variable :envvar:`PYLAUNCHER_ALLOW_INSTALL` is set (to any " "value), and the requested Python version is not installed but is available " @@ -1595,7 +1629,7 @@ msgid "" "again." msgstr "" -#: using/windows.rst:1013 +#: using/windows.rst:1054 msgid "" "An additional :envvar:`PYLAUNCHER_ALWAYS_INSTALL` variable causes the " "launcher to always try to install Python, even if it is detected. This is " @@ -1603,137 +1637,137 @@ msgid "" "`PYLAUNCHER_DRYRUN`)." msgstr "" -#: using/windows.rst:1018 +#: using/windows.rst:1059 msgid "Return codes" msgstr "" -#: using/windows.rst:1020 +#: using/windows.rst:1061 msgid "" "The following exit codes may be returned by the Python launcher. " "Unfortunately, there is no way to distinguish these from the exit code of " "Python itself." msgstr "" -#: using/windows.rst:1023 +#: using/windows.rst:1064 msgid "" "The names of codes are as used in the sources, and are only for reference. " "There is no way to access or resolve them apart from reading this page. " "Entries are listed in alphabetical order of names." msgstr "" -#: using/windows.rst:1028 +#: using/windows.rst:1069 msgid "Value" msgstr "" -#: using/windows.rst:1030 +#: using/windows.rst:1071 msgid "RC_BAD_VENV_CFG" msgstr "" -#: using/windows.rst:1030 +#: using/windows.rst:1071 msgid "107" msgstr "" -#: using/windows.rst:1030 +#: using/windows.rst:1071 msgid "A :file:`pyvenv.cfg` was found but is corrupt." msgstr "" -#: using/windows.rst:1032 +#: using/windows.rst:1073 msgid "RC_CREATE_PROCESS" msgstr "" -#: using/windows.rst:1032 +#: using/windows.rst:1073 msgid "101" msgstr "" -#: using/windows.rst:1032 +#: using/windows.rst:1073 msgid "Failed to launch Python." msgstr "" -#: using/windows.rst:1034 +#: using/windows.rst:1075 msgid "RC_INSTALLING" msgstr "" -#: using/windows.rst:1034 +#: using/windows.rst:1075 msgid "111" msgstr "" -#: using/windows.rst:1034 +#: using/windows.rst:1075 msgid "" "An install was started, but the command will need to be re-run after it " "completes." msgstr "" -#: using/windows.rst:1037 +#: using/windows.rst:1078 msgid "RC_INTERNAL_ERROR" msgstr "" -#: using/windows.rst:1037 +#: using/windows.rst:1078 msgid "109" msgstr "" -#: using/windows.rst:1037 +#: using/windows.rst:1078 msgid "Unexpected error. Please report a bug." msgstr "" -#: using/windows.rst:1039 +#: using/windows.rst:1080 msgid "RC_NO_COMMANDLINE" msgstr "" -#: using/windows.rst:1039 +#: using/windows.rst:1080 msgid "108" msgstr "" -#: using/windows.rst:1039 +#: using/windows.rst:1080 msgid "Unable to obtain command line from the operating system." msgstr "" -#: using/windows.rst:1042 +#: using/windows.rst:1083 msgid "RC_NO_PYTHON" msgstr "" -#: using/windows.rst:1042 +#: using/windows.rst:1083 msgid "103" msgstr "" -#: using/windows.rst:1042 +#: using/windows.rst:1083 msgid "Unable to locate the requested version." msgstr "" -#: using/windows.rst:1044 +#: using/windows.rst:1085 msgid "RC_NO_VENV_CFG" msgstr "" -#: using/windows.rst:1044 +#: using/windows.rst:1085 msgid "106" msgstr "" -#: using/windows.rst:1044 +#: using/windows.rst:1085 msgid "A :file:`pyvenv.cfg` was required but not found." msgstr "" -#: using/windows.rst:1052 +#: using/windows.rst:1093 msgid "Finding modules" msgstr "" -#: using/windows.rst:1054 +#: using/windows.rst:1095 msgid "" "These notes supplement the description at :ref:`sys-path-init` with detailed " "Windows notes." msgstr "" -#: using/windows.rst:1057 +#: using/windows.rst:1098 msgid "" "When no ``._pth`` file is found, this is how :data:`sys.path` is populated " "on Windows:" msgstr "" -#: using/windows.rst:1060 +#: using/windows.rst:1101 msgid "" "An empty entry is added at the start, which corresponds to the current " "directory." msgstr "" -#: using/windows.rst:1063 +#: using/windows.rst:1104 msgid "" "If the environment variable :envvar:`PYTHONPATH` exists, as described in :" "ref:`using-on-envvars`, its entries are added next. Note that on Windows, " @@ -1741,7 +1775,7 @@ msgid "" "from the colon used in drive identifiers (``C:\\`` etc.)." msgstr "" -#: using/windows.rst:1068 +#: using/windows.rst:1109 msgid "" "Additional \"application paths\" can be added in the registry as subkeys of :" "samp:`\\\\SOFTWARE\\\\Python\\\\PythonCore\\\\{version}\\\\PythonPath` under " @@ -1751,7 +1785,7 @@ msgid "" "installers only use HKLM, so HKCU is typically empty.)" msgstr "" -#: using/windows.rst:1075 +#: using/windows.rst:1116 msgid "" "If the environment variable :envvar:`PYTHONHOME` is set, it is assumed as " "\"Python Home\". Otherwise, the path of the main Python executable is used " @@ -1762,31 +1796,31 @@ msgid "" "PythonPath stored in the registry." msgstr "" -#: using/windows.rst:1083 +#: using/windows.rst:1124 msgid "" "If the Python Home cannot be located, no :envvar:`PYTHONPATH` is specified " "in the environment, and no registry entries can be found, a default path " "with relative entries is used (e.g. ``.\\Lib;.\\plat-win``, etc)." msgstr "" -#: using/windows.rst:1087 +#: using/windows.rst:1128 msgid "" "If a ``pyvenv.cfg`` file is found alongside the main executable or in the " "directory one level above the executable, the following variations apply:" msgstr "" -#: using/windows.rst:1090 +#: using/windows.rst:1131 msgid "" "If ``home`` is an absolute path and :envvar:`PYTHONHOME` is not set, this " "path is used instead of the path to the main executable when deducing the " "home location." msgstr "" -#: using/windows.rst:1094 +#: using/windows.rst:1135 msgid "The end result of all this is:" msgstr "" -#: using/windows.rst:1096 +#: using/windows.rst:1137 msgid "" "When running :file:`python.exe`, or any other .exe in the main Python " "directory (either an installed version, or directly from the PCbuild " @@ -1794,7 +1828,7 @@ msgid "" "ignored. Other \"application paths\" in the registry are always read." msgstr "" -#: using/windows.rst:1101 +#: using/windows.rst:1142 msgid "" "When Python is hosted in another .exe (different directory, embedded via " "COM, etc), the \"Python Home\" will not be deduced, so the core path from " @@ -1802,20 +1836,20 @@ msgid "" "always read." msgstr "" -#: using/windows.rst:1105 +#: using/windows.rst:1146 msgid "" "If Python can't find its home and there are no registry value (frozen .exe, " "some very strange installation setup) you get a path with some default, but " "relative, paths." msgstr "" -#: using/windows.rst:1109 +#: using/windows.rst:1150 msgid "" "For those who want to bundle Python into their application or distribution, " "the following advice will prevent conflicts with other installations:" msgstr "" -#: using/windows.rst:1112 +#: using/windows.rst:1153 msgid "" "Include a ``._pth`` file alongside your executable containing the " "directories to include. This will ignore paths listed in the registry and " @@ -1823,20 +1857,20 @@ msgid "" "listed." msgstr "" -#: using/windows.rst:1117 +#: using/windows.rst:1158 msgid "" "If you are loading :file:`python3.dll` or :file:`python37.dll` in your own " "executable, explicitly call :c:func:`Py_SetPath` or (at least) :c:func:" "`Py_SetProgramName` before :c:func:`Py_Initialize`." msgstr "" -#: using/windows.rst:1121 +#: using/windows.rst:1162 msgid "" "Clear and/or overwrite :envvar:`PYTHONPATH` and set :envvar:`PYTHONHOME` " "before launching :file:`python.exe` from your application." msgstr "" -#: using/windows.rst:1124 +#: using/windows.rst:1165 msgid "" "If you cannot use the previous suggestions (for example, you are a " "distribution that allows people to run :file:`python.exe` directly), ensure " @@ -1845,7 +1879,7 @@ msgid "" "correctly named ZIP file will be detected instead.)" msgstr "" -#: using/windows.rst:1130 +#: using/windows.rst:1171 msgid "" "These will ensure that the files in a system-wide installation will not take " "precedence over the copy of the standard library bundled with your " @@ -1855,19 +1889,19 @@ msgid "" "packages." msgstr "" -#: using/windows.rst:1139 +#: using/windows.rst:1180 msgid "" "Adds ``._pth`` file support and removes ``applocal`` option from ``pyvenv." "cfg``." msgstr "" -#: using/windows.rst:1141 +#: using/windows.rst:1182 msgid "" "Adds ``pythonXX.zip`` as a potential landmark when directly adjacent to the " "executable." msgstr "" -#: using/windows.rst:1147 +#: using/windows.rst:1188 msgid "" "Modules specified in the registry under ``Modules`` (not ``PythonPath``) may " "be imported by :class:`importlib.machinery.WindowsRegistryFinder`. This " @@ -1875,87 +1909,87 @@ msgid "" "explicitly added to :attr:`sys.meta_path` in the future." msgstr "" -#: using/windows.rst:1153 +#: using/windows.rst:1194 msgid "Additional modules" msgstr "" -#: using/windows.rst:1155 +#: using/windows.rst:1196 msgid "" "Even though Python aims to be portable among all platforms, there are " "features that are unique to Windows. A couple of modules, both in the " "standard library and external, and snippets exist to use these features." msgstr "" -#: using/windows.rst:1159 +#: using/windows.rst:1200 msgid "" "The Windows-specific standard modules are documented in :ref:`mswin-specific-" "services`." msgstr "" -#: using/windows.rst:1163 +#: using/windows.rst:1204 msgid "PyWin32" msgstr "" -#: using/windows.rst:1165 +#: using/windows.rst:1206 msgid "" "The `PyWin32 `_ module by Mark Hammond is " "a collection of modules for advanced Windows-specific support. This " "includes utilities for:" msgstr "" -#: using/windows.rst:1169 +#: using/windows.rst:1210 msgid "" "`Component Object Model `_ (COM)" msgstr "" -#: using/windows.rst:1172 +#: using/windows.rst:1213 msgid "Win32 API calls" msgstr "" -#: using/windows.rst:1173 +#: using/windows.rst:1214 msgid "Registry" msgstr "" -#: using/windows.rst:1174 +#: using/windows.rst:1215 msgid "Event log" msgstr "" -#: using/windows.rst:1175 +#: using/windows.rst:1216 msgid "" "`Microsoft Foundation Classes `_ (MFC) user interfaces" msgstr "" -#: using/windows.rst:1179 +#: using/windows.rst:1220 msgid "" "`PythonWin `_ is a sample MFC application shipped with PyWin32. " "It is an embeddable IDE with a built-in debugger." msgstr "" -#: using/windows.rst:1186 +#: using/windows.rst:1227 msgid "" "`Win32 How Do I...? `_" msgstr "" -#: using/windows.rst:1186 +#: using/windows.rst:1227 msgid "by Tim Golden" msgstr "" -#: using/windows.rst:1188 +#: using/windows.rst:1229 msgid "`Python and COM `_" msgstr "" -#: using/windows.rst:1189 +#: using/windows.rst:1230 msgid "by David and Paul Boddie" msgstr "" -#: using/windows.rst:1193 +#: using/windows.rst:1234 msgid "cx_Freeze" msgstr "" -#: using/windows.rst:1195 +#: using/windows.rst:1236 msgid "" "`cx_Freeze `_ is a :mod:" "`distutils` extension (see :ref:`extending-distutils`) which wraps Python " @@ -1964,11 +1998,11 @@ msgid "" "users to install Python." msgstr "" -#: using/windows.rst:1203 +#: using/windows.rst:1244 msgid "Compiling Python on Windows" msgstr "" -#: using/windows.rst:1205 +#: using/windows.rst:1246 msgid "" "If you want to compile CPython yourself, first thing you should do is get " "the `source `_. You can download " @@ -1976,48 +2010,48 @@ msgid "" "devguide.python.org/setup/#get-the-source-code>`_." msgstr "" -#: using/windows.rst:1210 +#: using/windows.rst:1251 msgid "" "The source tree contains a build solution and project files for Microsoft " "Visual Studio, which is the compiler used to build the official Python " "releases. These files are in the :file:`PCbuild` directory." msgstr "" -#: using/windows.rst:1214 +#: using/windows.rst:1255 msgid "" "Check :file:`PCbuild/readme.txt` for general information on the build " "process." msgstr "" -#: using/windows.rst:1216 +#: using/windows.rst:1257 msgid "For extension modules, consult :ref:`building-on-windows`." msgstr "" -#: using/windows.rst:1220 +#: using/windows.rst:1261 msgid "Other Platforms" msgstr "" -#: using/windows.rst:1222 +#: using/windows.rst:1263 msgid "" "With ongoing development of Python, some platforms that used to be supported " "earlier are no longer supported (due to the lack of users or developers). " "Check :pep:`11` for details on all unsupported platforms." msgstr "" -#: using/windows.rst:1226 +#: using/windows.rst:1267 msgid "" "`Windows CE `_ is `no longer supported " "`__ since Python 3 (if it " "ever was)." msgstr "" -#: using/windows.rst:1229 +#: using/windows.rst:1270 msgid "" "The `Cygwin `_ installer offers to install the `Python " "interpreter `__ as well" msgstr "" -#: using/windows.rst:1233 +#: using/windows.rst:1274 msgid "" "See `Python for Windows `_ for " "detailed information about platforms with pre-compiled installers." diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 5752e5d46..46de9cbcf 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,133 +20,117 @@ msgstr "" msgid "What's New In Python 3.10" msgstr "" -#: whatsnew/3.10.rst:0 -msgid "Release" -msgstr "" - -#: whatsnew/3.10.rst:5 -msgid "|release|" -msgstr "" - -#: whatsnew/3.10.rst:0 -msgid "Date" -msgstr "" - -#: whatsnew/3.10.rst:6 -msgid "|today|" -msgstr "" - #: whatsnew/3.10.rst:0 msgid "Editor" msgstr "" -#: whatsnew/3.10.rst:7 +#: whatsnew/3.10.rst:5 msgid "Pablo Galindo Salgado" msgstr "" -#: whatsnew/3.10.rst:49 +#: whatsnew/3.10.rst:47 msgid "" "This article explains the new features in Python 3.10, compared to 3.9. " "Python 3.10 was released on October 4, 2021. For full details, see the :ref:" "`changelog `." msgstr "" -#: whatsnew/3.10.rst:54 +#: whatsnew/3.10.rst:52 msgid "Summary -- Release highlights" msgstr "" -#: whatsnew/3.10.rst:62 +#: whatsnew/3.10.rst:60 msgid "New syntax features:" msgstr "" -#: whatsnew/3.10.rst:64 +#: whatsnew/3.10.rst:62 msgid ":pep:`634`, Structural Pattern Matching: Specification" msgstr "" -#: whatsnew/3.10.rst:65 +#: whatsnew/3.10.rst:63 msgid ":pep:`635`, Structural Pattern Matching: Motivation and Rationale" msgstr "" -#: whatsnew/3.10.rst:66 +#: whatsnew/3.10.rst:64 msgid ":pep:`636`, Structural Pattern Matching: Tutorial" msgstr "" -#: whatsnew/3.10.rst:67 +#: whatsnew/3.10.rst:65 msgid "" ":issue:`12782`, Parenthesized context managers are now officially allowed." msgstr "" -#: whatsnew/3.10.rst:69 +#: whatsnew/3.10.rst:67 msgid "New features in the standard library:" msgstr "" -#: whatsnew/3.10.rst:71 +#: whatsnew/3.10.rst:69 msgid ":pep:`618`, Add Optional Length-Checking To zip." msgstr "" -#: whatsnew/3.10.rst:73 +#: whatsnew/3.10.rst:71 msgid "Interpreter improvements:" msgstr "" -#: whatsnew/3.10.rst:75 +#: whatsnew/3.10.rst:73 msgid ":pep:`626`, Precise line numbers for debugging and other tools." msgstr "" -#: whatsnew/3.10.rst:77 +#: whatsnew/3.10.rst:75 msgid "New typing features:" msgstr "" -#: whatsnew/3.10.rst:79 +#: whatsnew/3.10.rst:77 msgid ":pep:`604`, Allow writing union types as X | Y" msgstr "" -#: whatsnew/3.10.rst:80 +#: whatsnew/3.10.rst:78 msgid ":pep:`612`, Parameter Specification Variables" msgstr "" -#: whatsnew/3.10.rst:81 +#: whatsnew/3.10.rst:79 msgid ":pep:`613`, Explicit Type Aliases" msgstr "" -#: whatsnew/3.10.rst:82 +#: whatsnew/3.10.rst:80 msgid ":pep:`647`, User-Defined Type Guards" msgstr "" -#: whatsnew/3.10.rst:84 +#: whatsnew/3.10.rst:82 msgid "Important deprecations, removals or restrictions:" msgstr "" -#: whatsnew/3.10.rst:86 +#: whatsnew/3.10.rst:84 msgid ":pep:`644`, Require OpenSSL 1.1.1 or newer" msgstr "" -#: whatsnew/3.10.rst:87 +#: whatsnew/3.10.rst:85 msgid ":pep:`632`, Deprecate distutils module." msgstr "" -#: whatsnew/3.10.rst:88 +#: whatsnew/3.10.rst:86 msgid "" ":pep:`623`, Deprecate and prepare for the removal of the wstr member in " "PyUnicodeObject." msgstr "" -#: whatsnew/3.10.rst:89 +#: whatsnew/3.10.rst:87 msgid ":pep:`624`, Remove Py_UNICODE encoder APIs" msgstr "" -#: whatsnew/3.10.rst:90 +#: whatsnew/3.10.rst:88 msgid ":pep:`597`, Add optional EncodingWarning" msgstr "" -#: whatsnew/3.10.rst:2056 +#: whatsnew/3.10.rst:2041 msgid "New Features" msgstr "" -#: whatsnew/3.10.rst:99 +#: whatsnew/3.10.rst:97 msgid "Parenthesized context managers" msgstr "" -#: whatsnew/3.10.rst:101 +#: whatsnew/3.10.rst:99 msgid "" "Using enclosing parentheses for continuation across multiple lines in " "context managers is now supported. This allows formatting a long collection " @@ -155,32 +139,32 @@ msgid "" "valid:" msgstr "" -#: whatsnew/3.10.rst:132 +#: whatsnew/3.10.rst:130 msgid "" "it is also possible to use a trailing comma at the end of the enclosed group:" msgstr "" -#: whatsnew/3.10.rst:144 +#: whatsnew/3.10.rst:142 msgid "" "This new syntax uses the non LL(1) capacities of the new parser. Check :pep:" "`617` for more details." msgstr "" -#: whatsnew/3.10.rst:147 +#: whatsnew/3.10.rst:145 msgid "" "(Contributed by Guido van Rossum, Pablo Galindo and Lysandros Nikolaou in :" "issue:`12782` and :issue:`40334`.)" msgstr "" -#: whatsnew/3.10.rst:152 +#: whatsnew/3.10.rst:150 msgid "Better error messages" msgstr "" -#: whatsnew/3.10.rst:155 +#: whatsnew/3.10.rst:153 msgid "SyntaxErrors" msgstr "" -#: whatsnew/3.10.rst:157 +#: whatsnew/3.10.rst:155 msgid "" "When parsing code that contains unclosed parentheses or brackets the " "interpreter now includes the location of the unclosed bracket of parentheses " @@ -189,35 +173,35 @@ msgid "" "code (notice the unclosed '{'):" msgstr "" -#: whatsnew/3.10.rst:168 +#: whatsnew/3.10.rst:166 msgid "" "Previous versions of the interpreter reported confusing places as the " "location of the syntax error:" msgstr "" -#: whatsnew/3.10.rst:178 +#: whatsnew/3.10.rst:176 msgid "but in Python 3.10 a more informative error is emitted:" msgstr "" -#: whatsnew/3.10.rst:188 +#: whatsnew/3.10.rst:186 msgid "" "In a similar way, errors involving unclosed string literals (single and " "triple quoted) now point to the start of the string instead of reporting EOF/" "EOL." msgstr "" -#: whatsnew/3.10.rst:191 +#: whatsnew/3.10.rst:189 msgid "" "These improvements are inspired by previous work in the PyPy interpreter." msgstr "" -#: whatsnew/3.10.rst:193 +#: whatsnew/3.10.rst:191 msgid "" "(Contributed by Pablo Galindo in :issue:`42864` and Batuhan Taskaya in :" "issue:`40176`.)" msgstr "" -#: whatsnew/3.10.rst:196 +#: whatsnew/3.10.rst:194 msgid "" ":exc:`SyntaxError` exceptions raised by the interpreter will now highlight " "the full error range of the expression that constitutes the syntax error " @@ -225,141 +209,141 @@ msgid "" "of displaying (before Python 3.10):" msgstr "" -#: whatsnew/3.10.rst:209 +#: whatsnew/3.10.rst:207 msgid "now Python 3.10 will display the exception as:" msgstr "" -#: whatsnew/3.10.rst:219 +#: whatsnew/3.10.rst:217 msgid "This improvement was contributed by Pablo Galindo in :issue:`43914`." msgstr "" -#: whatsnew/3.10.rst:221 +#: whatsnew/3.10.rst:219 msgid "" "A considerable amount of new specialized messages for :exc:`SyntaxError` " "exceptions have been incorporated. Some of the most notable ones are as " "follows:" msgstr "" -#: whatsnew/3.10.rst:224 +#: whatsnew/3.10.rst:222 msgid "Missing ``:`` before blocks:" msgstr "" -#: whatsnew/3.10.rst:234 +#: whatsnew/3.10.rst:232 msgid "(Contributed by Pablo Galindo in :issue:`42997`.)" msgstr "" -#: whatsnew/3.10.rst:236 +#: whatsnew/3.10.rst:234 msgid "Unparenthesised tuples in comprehensions targets:" msgstr "" -#: whatsnew/3.10.rst:246 +#: whatsnew/3.10.rst:244 msgid "(Contributed by Pablo Galindo in :issue:`43017`.)" msgstr "" -#: whatsnew/3.10.rst:248 +#: whatsnew/3.10.rst:246 msgid "Missing commas in collection literals and between expressions:" msgstr "" -#: whatsnew/3.10.rst:261 +#: whatsnew/3.10.rst:259 msgid "(Contributed by Pablo Galindo in :issue:`43822`.)" msgstr "" -#: whatsnew/3.10.rst:263 +#: whatsnew/3.10.rst:261 msgid "Multiple Exception types without parentheses:" msgstr "" -#: whatsnew/3.10.rst:275 +#: whatsnew/3.10.rst:273 msgid "(Contributed by Pablo Galindo in :issue:`43149`.)" msgstr "" -#: whatsnew/3.10.rst:277 +#: whatsnew/3.10.rst:275 msgid "Missing ``:`` and values in dictionary literals:" msgstr "" -#: whatsnew/3.10.rst:297 +#: whatsnew/3.10.rst:295 msgid "(Contributed by Pablo Galindo in :issue:`43823`.)" msgstr "" -#: whatsnew/3.10.rst:299 +#: whatsnew/3.10.rst:297 msgid "``try`` blocks without ``except`` or ``finally`` blocks:" msgstr "" -#: whatsnew/3.10.rst:311 +#: whatsnew/3.10.rst:309 msgid "(Contributed by Pablo Galindo in :issue:`44305`.)" msgstr "" -#: whatsnew/3.10.rst:313 +#: whatsnew/3.10.rst:311 msgid "Usage of ``=`` instead of ``==`` in comparisons:" msgstr "" -#: whatsnew/3.10.rst:323 +#: whatsnew/3.10.rst:321 msgid "(Contributed by Pablo Galindo in :issue:`43797`.)" msgstr "" -#: whatsnew/3.10.rst:325 +#: whatsnew/3.10.rst:323 msgid "Usage of ``*`` in f-strings:" msgstr "" -#: whatsnew/3.10.rst:335 +#: whatsnew/3.10.rst:333 msgid "(Contributed by Pablo Galindo in :issue:`41064`.)" msgstr "" -#: whatsnew/3.10.rst:338 +#: whatsnew/3.10.rst:336 msgid "IndentationErrors" msgstr "" -#: whatsnew/3.10.rst:340 +#: whatsnew/3.10.rst:338 msgid "" "Many :exc:`IndentationError` exceptions now have more context regarding what " "kind of block was expecting an indentation, including the location of the " "statement:" msgstr "" -#: whatsnew/3.10.rst:355 +#: whatsnew/3.10.rst:353 msgid "AttributeErrors" msgstr "" -#: whatsnew/3.10.rst:357 +#: whatsnew/3.10.rst:355 msgid "" "When printing :exc:`AttributeError`, :c:func:`PyErr_Display` will offer " "suggestions of similar attribute names in the object that the exception was " "raised from:" msgstr "" -#: whatsnew/3.10.rst:390 +#: whatsnew/3.10.rst:388 msgid "(Contributed by Pablo Galindo in :issue:`38530`.)" msgstr "" -#: whatsnew/3.10.rst:371 +#: whatsnew/3.10.rst:369 msgid "" "Notice this won't work if :c:func:`PyErr_Display` is not called to display " "the error which can happen if some other custom error display function is " "used. This is a common scenario in some REPLs like IPython." msgstr "" -#: whatsnew/3.10.rst:376 +#: whatsnew/3.10.rst:374 msgid "NameErrors" msgstr "" -#: whatsnew/3.10.rst:378 +#: whatsnew/3.10.rst:376 msgid "" "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:" msgstr "" -#: whatsnew/3.10.rst:393 +#: whatsnew/3.10.rst:391 msgid "" "Notice this won't work if :c:func:`PyErr_Display` is not called to display " "the error, which can happen if some other custom error display function is " "used. This is a common scenario in some REPLs like IPython." msgstr "" -#: whatsnew/3.10.rst:399 +#: whatsnew/3.10.rst:397 msgid "PEP 626: Precise line numbers for debugging and other tools" msgstr "" -#: whatsnew/3.10.rst:401 +#: whatsnew/3.10.rst:399 msgid "" "PEP 626 brings more precise and reliable line numbers for debugging, " "profiling and coverage tools. Tracing events, with the correct line number, " @@ -367,24 +351,24 @@ msgid "" "are executed." msgstr "" -#: whatsnew/3.10.rst:404 +#: whatsnew/3.10.rst:402 msgid "" "The ``f_lineno`` attribute of frame objects will always contain the expected " "line number." msgstr "" -#: whatsnew/3.10.rst:406 +#: whatsnew/3.10.rst:404 msgid "" "The ``co_lnotab`` attribute of code objects is deprecated and will be " "removed in 3.12. Code that needs to convert from offset to line number " "should use the new ``co_lines()`` method instead." msgstr "" -#: whatsnew/3.10.rst:410 +#: whatsnew/3.10.rst:408 msgid "PEP 634: Structural Pattern Matching" msgstr "" -#: whatsnew/3.10.rst:412 +#: whatsnew/3.10.rst:410 msgid "" "Structural pattern matching has been added in the form of a *match " "statement* and *case statements* of patterns with associated actions. " @@ -394,40 +378,40 @@ msgid "" "actions based on different forms of data." msgstr "" -#: whatsnew/3.10.rst:420 +#: whatsnew/3.10.rst:418 msgid "Syntax and operations" msgstr "" -#: whatsnew/3.10.rst:422 +#: whatsnew/3.10.rst:420 msgid "The generic syntax of pattern matching is::" msgstr "" -#: whatsnew/3.10.rst:434 +#: whatsnew/3.10.rst:432 msgid "" "A match statement takes an expression and compares its value to successive " "patterns given as one or more case blocks. Specifically, pattern matching " "operates by:" msgstr "" -#: whatsnew/3.10.rst:438 +#: whatsnew/3.10.rst:436 msgid "using data with type and shape (the ``subject``)" msgstr "" -#: whatsnew/3.10.rst:439 +#: whatsnew/3.10.rst:437 msgid "evaluating the ``subject`` in the ``match`` statement" msgstr "" -#: whatsnew/3.10.rst:440 +#: whatsnew/3.10.rst:438 msgid "" "comparing the subject with each pattern in a ``case`` statement from top to " "bottom until a match is confirmed." msgstr "" -#: whatsnew/3.10.rst:442 +#: whatsnew/3.10.rst:440 msgid "executing the action associated with the pattern of the confirmed match" msgstr "" -#: whatsnew/3.10.rst:444 +#: whatsnew/3.10.rst:442 msgid "" "If an exact match is not confirmed, the last case, a wildcard ``_``, if " "provided, will be used as the matching case. If an exact match is not " @@ -435,11 +419,11 @@ msgid "" "op." msgstr "" -#: whatsnew/3.10.rst:450 +#: whatsnew/3.10.rst:448 msgid "Declarative approach" msgstr "" -#: whatsnew/3.10.rst:452 +#: whatsnew/3.10.rst:450 msgid "" "Readers may be aware of pattern matching through the simple example of " "matching a subject (data object) to a literal (pattern) with the switch " @@ -448,7 +432,7 @@ msgid "" "case statements containing literals." msgstr "" -#: whatsnew/3.10.rst:458 +#: whatsnew/3.10.rst:456 msgid "" "More powerful examples of pattern matching can be found in languages such as " "Scala and Elixir. With structural pattern matching, the approach is " @@ -456,7 +440,7 @@ msgid "" "to match." msgstr "" -#: whatsnew/3.10.rst:462 +#: whatsnew/3.10.rst:460 msgid "" "While an \"imperative\" series of instructions using nested \"if\" " "statements could be used to accomplish something similar to structural " @@ -468,11 +452,11 @@ msgid "" "of the subject's type and shape." msgstr "" -#: whatsnew/3.10.rst:471 +#: whatsnew/3.10.rst:469 msgid "Simple pattern: match to a literal" msgstr "" -#: whatsnew/3.10.rst:473 +#: whatsnew/3.10.rst:471 msgid "" "Let's look at this example as pattern matching in its simplest form: a " "value, the subject, being matched to several literals, the patterns. In the " @@ -481,7 +465,7 @@ msgid "" "status codes. The associated action to the case is executed after a match::" msgstr "" -#: whatsnew/3.10.rst:490 +#: whatsnew/3.10.rst:488 msgid "" "If the above function is passed a ``status`` of 418, \"I'm a teapot\" is " "returned. If the above function is passed a ``status`` of 500, the case " @@ -491,40 +475,40 @@ msgid "" "``_`` is optional." msgstr "" -#: whatsnew/3.10.rst:497 +#: whatsnew/3.10.rst:495 msgid "" "You can combine several literals in a single pattern using ``|`` (\"or\")::" msgstr "" -#: whatsnew/3.10.rst:503 +#: whatsnew/3.10.rst:501 msgid "Behavior without the wildcard" msgstr "" -#: whatsnew/3.10.rst:505 +#: whatsnew/3.10.rst:503 msgid "" "If we modify the above example by removing the last case block, the example " "becomes::" msgstr "" -#: whatsnew/3.10.rst:517 +#: whatsnew/3.10.rst:515 msgid "" "Without the use of ``_`` in a case statement, a match may not exist. If no " "match exists, the behavior is a no-op. For example, if ``status`` of 500 is " "passed, a no-op occurs." msgstr "" -#: whatsnew/3.10.rst:522 +#: whatsnew/3.10.rst:520 msgid "Patterns with a literal and variable" msgstr "" -#: whatsnew/3.10.rst:524 +#: whatsnew/3.10.rst:522 msgid "" "Patterns can look like unpacking assignments, and a pattern may be used to " "bind variables. In this example, a data point can be unpacked to its x-" "coordinate and y-coordinate::" msgstr "" -#: whatsnew/3.10.rst:541 +#: whatsnew/3.10.rst:539 msgid "" "The first pattern has two literals, ``(0, 0)``, and may be thought of as an " "extension of the literal pattern shown above. The next two patterns combine " @@ -533,22 +517,22 @@ msgid "" "conceptually similar to the unpacking assignment ``(x, y) = point``." msgstr "" -#: whatsnew/3.10.rst:548 +#: whatsnew/3.10.rst:546 msgid "Patterns and classes" msgstr "" -#: whatsnew/3.10.rst:550 +#: whatsnew/3.10.rst:548 msgid "" "If you are using classes to structure your data, you can use as a pattern " "the class name followed by an argument list resembling a constructor. This " "pattern has the ability to capture class attributes into variables::" msgstr "" -#: whatsnew/3.10.rst:572 +#: whatsnew/3.10.rst:570 msgid "Patterns with positional parameters" msgstr "" -#: whatsnew/3.10.rst:574 +#: whatsnew/3.10.rst:572 msgid "" "You can use positional parameters with some builtin classes that provide an " "ordering for their attributes (e.g. dataclasses). You can also define a " @@ -558,53 +542,53 @@ msgid "" "attribute to the ``var`` variable)::" msgstr "" -#: whatsnew/3.10.rst:586 +#: whatsnew/3.10.rst:584 msgid "Nested patterns" msgstr "" -#: whatsnew/3.10.rst:588 +#: whatsnew/3.10.rst:586 msgid "" "Patterns can be arbitrarily nested. For example, if our data is a short " "list of points, it could be matched like this::" msgstr "" -#: whatsnew/3.10.rst:604 +#: whatsnew/3.10.rst:602 msgid "Complex patterns and the wildcard" msgstr "" -#: whatsnew/3.10.rst:606 +#: whatsnew/3.10.rst:604 msgid "" "To this point, the examples have used ``_`` alone in the last case " "statement. A wildcard can be used in more complex patterns, such as " "``('error', code, _)``. For example::" msgstr "" -#: whatsnew/3.10.rst:616 +#: whatsnew/3.10.rst:614 msgid "" "In the above case, ``test_variable`` will match for ('error', code, 100) and " "('error', code, 800)." msgstr "" -#: whatsnew/3.10.rst:620 +#: whatsnew/3.10.rst:618 msgid "Guard" msgstr "" -#: whatsnew/3.10.rst:622 +#: whatsnew/3.10.rst:620 msgid "" "We can add an ``if`` clause to a pattern, known as a \"guard\". If the " "guard is false, ``match`` goes on to try the next case block. Note that " "value capture happens before the guard is evaluated::" msgstr "" -#: whatsnew/3.10.rst:633 +#: whatsnew/3.10.rst:631 msgid "Other Key Features" msgstr "" -#: whatsnew/3.10.rst:635 +#: whatsnew/3.10.rst:633 msgid "Several other key features:" msgstr "" -#: whatsnew/3.10.rst:637 +#: whatsnew/3.10.rst:635 msgid "" "Like unpacking assignments, tuple and list patterns have exactly the same " "meaning and actually match arbitrary sequences. Technically, the subject " @@ -613,7 +597,7 @@ msgid "" "match strings." msgstr "" -#: whatsnew/3.10.rst:643 +#: whatsnew/3.10.rst:641 msgid "" "Sequence patterns support wildcards: ``[x, y, *rest]`` and ``(x, y, *rest)`` " "work similar to wildcards in unpacking assignments. The name after ``*`` " @@ -621,7 +605,7 @@ msgid "" "items without binding the remaining items." msgstr "" -#: whatsnew/3.10.rst:648 +#: whatsnew/3.10.rst:646 msgid "" "Mapping patterns: ``{\"bandwidth\": b, \"latency\": l}`` captures the " "``\"bandwidth\"`` and ``\"latency\"`` values from a dict. Unlike sequence " @@ -629,40 +613,40 @@ msgid "" "(But ``**_`` would be redundant, so is not allowed.)" msgstr "" -#: whatsnew/3.10.rst:653 +#: whatsnew/3.10.rst:651 msgid "Subpatterns may be captured using the ``as`` keyword::" msgstr "" -#: whatsnew/3.10.rst:657 +#: whatsnew/3.10.rst:655 msgid "" "This binds x1, y1, x2, y2 like you would expect without the ``as`` clause, " "and p2 to the entire second item of the subject." msgstr "" -#: whatsnew/3.10.rst:660 +#: whatsnew/3.10.rst:658 msgid "" "Most literals are compared by equality. However, the singletons ``True``, " "``False`` and ``None`` are compared by identity." msgstr "" -#: whatsnew/3.10.rst:663 +#: whatsnew/3.10.rst:661 msgid "" "Named constants may be used in patterns. These named constants must be " "dotted names to prevent the constant from being interpreted as a capture " "variable::" msgstr "" -#: whatsnew/3.10.rst:681 +#: whatsnew/3.10.rst:679 msgid "" "For the full specification see :pep:`634`. Motivation and rationale are in :" "pep:`635`, and a longer tutorial is in :pep:`636`." msgstr "" -#: whatsnew/3.10.rst:688 +#: whatsnew/3.10.rst:686 msgid "Optional ``EncodingWarning`` and ``encoding=\"locale\"`` option" msgstr "" -#: whatsnew/3.10.rst:690 +#: whatsnew/3.10.rst:688 msgid "" "The default encoding of :class:`TextIOWrapper` and :func:`open` is platform " "and locale dependent. Since UTF-8 is used on most Unix platforms, omitting " @@ -670,81 +654,81 @@ msgid "" "Markdown) is a very common bug. For example::" msgstr "" -#: whatsnew/3.10.rst:699 +#: whatsnew/3.10.rst:697 msgid "" "To find this type of bug, an optional ``EncodingWarning`` is added. It is " "emitted when :data:`sys.flags.warn_default_encoding ` is true and " "locale-specific default encoding is used." msgstr "" -#: whatsnew/3.10.rst:703 +#: whatsnew/3.10.rst:701 msgid "" "``-X warn_default_encoding`` option and :envvar:`PYTHONWARNDEFAULTENCODING` " "are added to enable the warning." msgstr "" -#: whatsnew/3.10.rst:706 +#: whatsnew/3.10.rst:704 msgid "See :ref:`io-text-encoding` for more information." msgstr "" -#: whatsnew/3.10.rst:711 +#: whatsnew/3.10.rst:709 msgid "New Features Related to Type Hints" msgstr "" -#: whatsnew/3.10.rst:713 +#: whatsnew/3.10.rst:711 msgid "" "This section covers major changes affecting :pep:`484` type hints and the :" "mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:718 +#: whatsnew/3.10.rst:716 msgid "PEP 604: New Type Union Operator" msgstr "" -#: whatsnew/3.10.rst:720 +#: whatsnew/3.10.rst:718 msgid "" "A new type union operator was introduced which enables the syntax ``X | Y``. " "This provides a cleaner way of expressing 'either type X or type Y' instead " "of using :data:`typing.Union`, especially in type hints." msgstr "" -#: whatsnew/3.10.rst:724 +#: whatsnew/3.10.rst:722 msgid "" "In previous versions of Python, to apply a type hint for functions accepting " "arguments of multiple types, :data:`typing.Union` was used::" msgstr "" -#: whatsnew/3.10.rst:731 +#: whatsnew/3.10.rst:729 msgid "Type hints can now be written in a more succinct manner::" msgstr "" -#: whatsnew/3.10.rst:737 +#: whatsnew/3.10.rst:735 msgid "" "This new syntax is also accepted as the second argument to :func:" "`isinstance` and :func:`issubclass`::" msgstr "" -#: whatsnew/3.10.rst:743 +#: whatsnew/3.10.rst:741 msgid "See :ref:`types-union` and :pep:`604` for more details." msgstr "" -#: whatsnew/3.10.rst:745 +#: whatsnew/3.10.rst:743 msgid "" "(Contributed by Maggie Moss and Philippe Prados in :issue:`41428`, with " "additions by Yurii Karabas and Serhiy Storchaka in :issue:`44490`.)" msgstr "" -#: whatsnew/3.10.rst:750 +#: whatsnew/3.10.rst:748 msgid "PEP 612: Parameter Specification Variables" msgstr "" -#: whatsnew/3.10.rst:752 +#: whatsnew/3.10.rst:750 msgid "" "Two new options to improve the information provided to static type checkers " "for :pep:`484`\\ 's ``Callable`` have been added to the :mod:`typing` module." msgstr "" -#: whatsnew/3.10.rst:755 +#: whatsnew/3.10.rst:753 msgid "" "The first is the parameter specification variable. They are used to forward " "the parameter types of one callable to another callable -- a pattern " @@ -753,7 +737,7 @@ msgid "" "to type annotate dependency of parameter types in such a precise manner." msgstr "" -#: whatsnew/3.10.rst:761 +#: whatsnew/3.10.rst:759 msgid "" "The second option is the new ``Concatenate`` operator. It's used in " "conjunction with parameter specification variables to type annotate a higher " @@ -761,24 +745,24 @@ msgid "" "Examples of usage can be found in :class:`typing.Concatenate`." msgstr "" -#: whatsnew/3.10.rst:766 +#: whatsnew/3.10.rst:764 msgid "" "See :class:`typing.Callable`, :class:`typing.ParamSpec`, :class:`typing." "Concatenate`, :class:`typing.ParamSpecArgs`, :class:`typing." "ParamSpecKwargs`, and :pep:`612` for more details." msgstr "" -#: whatsnew/3.10.rst:770 +#: whatsnew/3.10.rst:768 msgid "" "(Contributed by Ken Jin in :issue:`41559`, with minor enhancements by Jelle " "Zijlstra in :issue:`43783`. PEP written by Mark Mendoza.)" msgstr "" -#: whatsnew/3.10.rst:775 +#: whatsnew/3.10.rst:773 msgid "PEP 613: TypeAlias" msgstr "" -#: whatsnew/3.10.rst:777 +#: whatsnew/3.10.rst:775 msgid "" ":pep:`484` introduced the concept of type aliases, only requiring them to be " "top-level unannotated assignments. This simplicity sometimes made it " @@ -787,25 +771,25 @@ msgid "" "involved. Compare::" msgstr "" -#: whatsnew/3.10.rst:785 +#: whatsnew/3.10.rst:783 msgid "" "Now the :mod:`typing` module has a special value :data:`TypeAlias` which " "lets you declare type aliases more explicitly::" msgstr "" -#: whatsnew/3.10.rst:791 +#: whatsnew/3.10.rst:789 msgid "See :pep:`613` for more details." msgstr "" -#: whatsnew/3.10.rst:793 +#: whatsnew/3.10.rst:791 msgid "(Contributed by Mikhail Golubev in :issue:`41923`.)" msgstr "" -#: whatsnew/3.10.rst:796 +#: whatsnew/3.10.rst:794 msgid "PEP 647: User-Defined Type Guards" msgstr "" -#: whatsnew/3.10.rst:798 +#: whatsnew/3.10.rst:796 msgid "" ":data:`TypeGuard` has been added to the :mod:`typing` module to annotate " "type guard functions and improve information provided to static type " @@ -813,24 +797,24 @@ msgid "" "`TypeGuard`\\ 's documentation, and :pep:`647`." msgstr "" -#: whatsnew/3.10.rst:803 +#: whatsnew/3.10.rst:801 msgid "" "(Contributed by Ken Jin and Guido van Rossum in :issue:`43766`. PEP written " "by Eric Traut.)" msgstr "" -#: whatsnew/3.10.rst:807 +#: whatsnew/3.10.rst:805 msgid "Other Language Changes" msgstr "" -#: whatsnew/3.10.rst:809 +#: whatsnew/3.10.rst:807 msgid "" "The :class:`int` type has a new method :meth:`int.bit_count`, returning the " "number of ones in the binary expansion of a given integer, also known as the " "population count. (Contributed by Niklas Fiekas in :issue:`29882`.)" msgstr "" -#: whatsnew/3.10.rst:813 +#: whatsnew/3.10.rst:811 msgid "" "The views returned by :meth:`dict.keys`, :meth:`dict.values` and :meth:`dict." "items` now all have a ``mapping`` attribute that gives a :class:`types." @@ -838,13 +822,13 @@ msgid "" "Dennis Sweeney in :issue:`40890`.)" msgstr "" -#: whatsnew/3.10.rst:818 +#: whatsnew/3.10.rst:816 msgid "" ":pep:`618`: The :func:`zip` function now has an optional ``strict`` flag, " "used to require that all the iterables have an equal length." msgstr "" -#: whatsnew/3.10.rst:821 +#: whatsnew/3.10.rst:819 msgid "" "Builtin and extension functions that take integer arguments no longer " "accept :class:`~decimal.Decimal`\\ s, :class:`~fractions.Fraction`\\ s and " @@ -853,20 +837,20 @@ msgid "" "__index__` method). (Contributed by Serhiy Storchaka in :issue:`37999`.)" msgstr "" -#: whatsnew/3.10.rst:828 +#: whatsnew/3.10.rst:826 msgid "" "If :func:`object.__ipow__` returns :const:`NotImplemented`, the operator " "will correctly fall back to :func:`object.__pow__` and :func:`object." "__rpow__` as expected. (Contributed by Alex Shkop in :issue:`38302`.)" msgstr "" -#: whatsnew/3.10.rst:832 +#: whatsnew/3.10.rst:830 msgid "" "Assignment expressions can now be used unparenthesized within set literals " "and set comprehensions, as well as in sequence indexes (but not slices)." msgstr "" -#: whatsnew/3.10.rst:835 +#: whatsnew/3.10.rst:833 msgid "" "Functions have a new ``__builtins__`` attribute which is used to look for " "builtin symbols when a function is executed, instead of looking into " @@ -875,7 +859,7 @@ msgid "" "builtins. (Contributed by Mark Shannon in :issue:`42990`.)" msgstr "" -#: whatsnew/3.10.rst:841 +#: whatsnew/3.10.rst:839 msgid "" "Two new builtin functions -- :func:`aiter` and :func:`anext` have been added " "to provide asynchronous counterparts to :func:`iter` and :func:`next`, " @@ -883,7 +867,7 @@ msgid "" "in :issue:`31861`.)" msgstr "" -#: whatsnew/3.10.rst:846 +#: whatsnew/3.10.rst:844 msgid "" "Static methods (:func:`@staticmethod `) and class methods (:" "func:`@classmethod `) now inherit the method attributes " @@ -893,7 +877,7 @@ msgid "" "Stinner in :issue:`43682`.)" msgstr "" -#: whatsnew/3.10.rst:853 +#: whatsnew/3.10.rst:851 msgid "" "Annotations for complex targets (everything beside ``simple name`` targets " "defined by :pep:`526`) no longer cause any runtime effects with ``from " @@ -901,7 +885,7 @@ msgid "" "`42737`.)" msgstr "" -#: whatsnew/3.10.rst:857 +#: whatsnew/3.10.rst:855 msgid "" "Class and module objects now lazy-create empty annotations dicts on demand. " "The annotations dicts are stored in the object’s ``__dict__`` for backwards " @@ -910,7 +894,7 @@ msgid "" "howto`. (Contributed by Larry Hastings in :issue:`43901`.)" msgstr "" -#: whatsnew/3.10.rst:864 +#: whatsnew/3.10.rst:862 msgid "" "Annotations consist of ``yield``, ``yield from``, ``await`` or named " "expressions are now forbidden under ``from __future__ import annotations`` " @@ -918,7 +902,7 @@ msgid "" "`42725`.)" msgstr "" -#: whatsnew/3.10.rst:869 +#: whatsnew/3.10.rst:867 msgid "" "Usage of unbound variables, ``super()`` and other expressions that might " "alter the processing of symbol table as annotations are now rendered " @@ -926,7 +910,7 @@ msgid "" "Batuhan Taskaya in :issue:`42725`.)" msgstr "" -#: whatsnew/3.10.rst:874 +#: whatsnew/3.10.rst:872 msgid "" "Hashes of NaN values of both :class:`float` type and :class:`decimal." "Decimal` type now depend on object identity. Formerly, they always hashed to " @@ -936,121 +920,121 @@ msgid "" "Raymond Hettinger in :issue:`43475`.)" msgstr "" -#: whatsnew/3.10.rst:881 +#: whatsnew/3.10.rst:879 msgid "" "A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when " "deleting the :const:`__debug__` constant. (Contributed by Dong-hee Na in :" "issue:`45000`.)" msgstr "" -#: whatsnew/3.10.rst:884 +#: whatsnew/3.10.rst:882 msgid "" ":exc:`SyntaxError` exceptions now have ``end_lineno`` and ``end_offset`` " "attributes. They will be ``None`` if not determined. (Contributed by Pablo " "Galindo in :issue:`43914`.)" msgstr "" -#: whatsnew/3.10.rst:889 +#: whatsnew/3.10.rst:887 msgid "New Modules" msgstr "" -#: whatsnew/3.10.rst:891 +#: whatsnew/3.10.rst:889 msgid "None yet." msgstr "" -#: whatsnew/3.10.rst:895 +#: whatsnew/3.10.rst:893 msgid "Improved Modules" msgstr "" -#: whatsnew/3.10.rst:898 +#: whatsnew/3.10.rst:896 msgid "asyncio" msgstr "" -#: whatsnew/3.10.rst:900 +#: whatsnew/3.10.rst:898 msgid "" "Add missing :meth:`~asyncio.events.AbstractEventLoop." "connect_accepted_socket` method. (Contributed by Alex Grönholm in :issue:" "`41332`.)" msgstr "" -#: whatsnew/3.10.rst:905 +#: whatsnew/3.10.rst:903 msgid "argparse" msgstr "" -#: whatsnew/3.10.rst:907 +#: whatsnew/3.10.rst:905 msgid "" "Misleading phrase \"optional arguments\" was replaced with \"options\" in " "argparse help. Some tests might require adaptation if they rely on exact " "output match. (Contributed by Raymond Hettinger in :issue:`9694`.)" msgstr "" -#: whatsnew/3.10.rst:911 +#: whatsnew/3.10.rst:909 msgid "array" msgstr "" -#: whatsnew/3.10.rst:913 +#: whatsnew/3.10.rst:911 msgid "" "The :meth:`~array.array.index` method of :class:`array.array` now has " "optional *start* and *stop* parameters. (Contributed by Anders Lorentsen and " "Zackery Spytz in :issue:`31956`.)" msgstr "" -#: whatsnew/3.10.rst:918 +#: whatsnew/3.10.rst:916 msgid "asynchat, asyncore, smtpd" msgstr "" -#: whatsnew/3.10.rst:919 +#: whatsnew/3.10.rst:917 msgid "" "These modules have been marked as deprecated in their module documentation " "since Python 3.6. An import-time :class:`DeprecationWarning` has now been " "added to all three of these modules." msgstr "" -#: whatsnew/3.10.rst:924 +#: whatsnew/3.10.rst:922 msgid "base64" msgstr "" -#: whatsnew/3.10.rst:926 +#: whatsnew/3.10.rst:924 msgid "" "Add :func:`base64.b32hexencode` and :func:`base64.b32hexdecode` to support " "the Base32 Encoding with Extended Hex Alphabet." msgstr "" -#: whatsnew/3.10.rst:930 +#: whatsnew/3.10.rst:928 msgid "bdb" msgstr "" -#: whatsnew/3.10.rst:932 +#: whatsnew/3.10.rst:930 msgid "" "Add :meth:`~bdb.Breakpoint.clearBreakpoints` to reset all set breakpoints. " "(Contributed by Irit Katriel in :issue:`24160`.)" msgstr "" -#: whatsnew/3.10.rst:936 +#: whatsnew/3.10.rst:934 msgid "bisect" msgstr "" -#: whatsnew/3.10.rst:938 +#: whatsnew/3.10.rst:936 msgid "" "Added the possibility of providing a *key* function to the APIs in the :mod:" "`bisect` module. (Contributed by Raymond Hettinger in :issue:`4356`.)" msgstr "" -#: whatsnew/3.10.rst:942 +#: whatsnew/3.10.rst:940 msgid "codecs" msgstr "" -#: whatsnew/3.10.rst:944 +#: whatsnew/3.10.rst:942 msgid "" "Add a :func:`codecs.unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:948 +#: whatsnew/3.10.rst:946 msgid "collections.abc" msgstr "" -#: whatsnew/3.10.rst:950 +#: whatsnew/3.10.rst:948 msgid "" "The ``__args__`` of the :ref:`parameterized generic ` " "for :class:`collections.abc.Callable` are now consistent with :data:`typing." @@ -1066,34 +1050,34 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:963 +#: whatsnew/3.10.rst:961 msgid "contextlib" msgstr "" -#: whatsnew/3.10.rst:965 +#: whatsnew/3.10.rst:963 msgid "" "Add a :func:`contextlib.aclosing` context manager to safely close async " "generators and objects representing asynchronously released resources. " "(Contributed by Joongi Kim and John Belmonte in :issue:`41229`.)" msgstr "" -#: whatsnew/3.10.rst:969 +#: whatsnew/3.10.rst:967 msgid "" "Add asynchronous context manager support to :func:`contextlib.nullcontext`. " "(Contributed by Tom Gringauz in :issue:`41543`.)" msgstr "" -#: whatsnew/3.10.rst:972 +#: whatsnew/3.10.rst:970 msgid "" "Add :class:`AsyncContextDecorator`, for supporting usage of async context " "managers as decorators." msgstr "" -#: whatsnew/3.10.rst:976 +#: whatsnew/3.10.rst:974 msgid "curses" msgstr "" -#: whatsnew/3.10.rst:978 +#: whatsnew/3.10.rst:976 msgid "" "The extended color functions added in ncurses 6.1 will be used transparently " "by :func:`curses.color_content`, :func:`curses.init_color`, :func:`curses." @@ -1103,53 +1087,53 @@ msgid "" "Kintscher and Hans Petter Jansson in :issue:`36982`.)" msgstr "" -#: whatsnew/3.10.rst:985 +#: whatsnew/3.10.rst:983 msgid "" "The ``BUTTON5_*`` constants are now exposed in the :mod:`curses` module if " "they are provided by the underlying curses library. (Contributed by Zackery " "Spytz in :issue:`39273`.)" msgstr "" -#: whatsnew/3.10.rst:990 +#: whatsnew/3.10.rst:988 msgid "dataclasses" msgstr "" -#: whatsnew/3.10.rst:993 +#: whatsnew/3.10.rst:991 msgid "__slots__" msgstr "" -#: whatsnew/3.10.rst:995 +#: whatsnew/3.10.rst:993 msgid "" "Added ``slots`` parameter in :func:`dataclasses.dataclass` decorator. " "(Contributed by Yurii Karabas in :issue:`42269`)" msgstr "" -#: whatsnew/3.10.rst:999 +#: whatsnew/3.10.rst:997 msgid "Keyword-only fields" msgstr "" -#: whatsnew/3.10.rst:1001 +#: whatsnew/3.10.rst:999 msgid "" "dataclasses now supports fields that are keyword-only in the generated " "__init__ method. There are a number of ways of specifying keyword-only " "fields." msgstr "" -#: whatsnew/3.10.rst:1005 +#: whatsnew/3.10.rst:1003 msgid "You can say that every field is keyword-only:" msgstr "" -#: whatsnew/3.10.rst:1016 +#: whatsnew/3.10.rst:1014 msgid "" "Both ``name`` and ``birthday`` are keyword-only parameters to the generated " "__init__ method." msgstr "" -#: whatsnew/3.10.rst:1019 +#: whatsnew/3.10.rst:1017 msgid "You can specify keyword-only on a per-field basis:" msgstr "" -#: whatsnew/3.10.rst:1030 +#: whatsnew/3.10.rst:1028 msgid "" "Here only ``birthday`` is keyword-only. If you set ``kw_only`` on " "individual fields, be aware that there are rules about re-ordering fields " @@ -1157,23 +1141,23 @@ msgid "" "the full dataclasses documentation for details." msgstr "" -#: whatsnew/3.10.rst:1035 +#: whatsnew/3.10.rst:1033 msgid "" "You can also specify that all fields following a KW_ONLY marker are keyword-" "only. This will probably be the most common usage:" msgstr "" -#: whatsnew/3.10.rst:1050 +#: whatsnew/3.10.rst:1048 msgid "" "Here, ``z`` and ``t`` are keyword-only parameters, while ``x`` and ``y`` are " "not. (Contributed by Eric V. Smith in :issue:`43532`.)" msgstr "" -#: whatsnew/3.10.rst:1057 +#: whatsnew/3.10.rst:1055 msgid "distutils" msgstr "" -#: whatsnew/3.10.rst:1059 +#: whatsnew/3.10.rst:1057 msgid "" "The entire ``distutils`` package is deprecated, to be removed in Python " "3.12. Its functionality for specifying package builds has already been " @@ -1186,38 +1170,38 @@ msgid "" "`632` for discussion." msgstr "" -#: whatsnew/3.10.rst:1069 +#: whatsnew/3.10.rst:1067 msgid "" "The ``bdist_wininst`` command deprecated in Python 3.8 has been removed. The " "``bdist_wheel`` command is now recommended to distribute binary packages on " "Windows. (Contributed by Victor Stinner in :issue:`42802`.)" msgstr "" -#: whatsnew/3.10.rst:1075 +#: whatsnew/3.10.rst:1073 msgid "doctest" msgstr "" -#: whatsnew/3.10.rst:1212 whatsnew/3.10.rst:1338 +#: whatsnew/3.10.rst:1210 whatsnew/3.10.rst:1336 msgid "" "When a module does not define ``__loader__``, fall back to ``__spec__." "loader``. (Contributed by Brett Cannon in :issue:`42133`.)" msgstr "" -#: whatsnew/3.10.rst:1081 +#: whatsnew/3.10.rst:1079 msgid "encodings" msgstr "" -#: whatsnew/3.10.rst:1083 +#: whatsnew/3.10.rst:1081 msgid "" ":func:`encodings.normalize_encoding` now ignores non-ASCII characters. " "(Contributed by Hai Shi in :issue:`39337`.)" msgstr "" -#: whatsnew/3.10.rst:1087 +#: whatsnew/3.10.rst:1085 msgid "enum" msgstr "" -#: whatsnew/3.10.rst:1089 +#: whatsnew/3.10.rst:1087 msgid "" ":class:`Enum` :func:`__repr__` now returns ``enum_name.member_name`` and :" "func:`__str__` now returns ``member_name``. Stdlib enums available as " @@ -1225,106 +1209,106 @@ msgid "" "(Contributed by Ethan Furman in :issue:`40066`.)" msgstr "" -#: whatsnew/3.10.rst:1094 +#: whatsnew/3.10.rst:1092 msgid "" "Add :class:`enum.StrEnum` for enums where all members are strings. " "(Contributed by Ethan Furman in :issue:`41816`.)" msgstr "" -#: whatsnew/3.10.rst:1098 +#: whatsnew/3.10.rst:1096 msgid "fileinput" msgstr "" -#: whatsnew/3.10.rst:1100 +#: whatsnew/3.10.rst:1098 msgid "" "Add *encoding* and *errors* parameters in :func:`fileinput.input` and :class:" "`fileinput.FileInput`. (Contributed by Inada Naoki in :issue:`43712`.)" msgstr "" -#: whatsnew/3.10.rst:1104 +#: whatsnew/3.10.rst:1102 msgid "" ":func:`fileinput.hook_compressed` now returns :class:`TextIOWrapper` object " "when *mode* is \"r\" and file is compressed, like uncompressed files. " "(Contributed by Inada Naoki in :issue:`5758`.)" msgstr "" -#: whatsnew/3.10.rst:1109 +#: whatsnew/3.10.rst:1107 msgid "faulthandler" msgstr "" -#: whatsnew/3.10.rst:1111 +#: whatsnew/3.10.rst:1109 msgid "" "The :mod:`faulthandler` module now detects if a fatal error occurs during a " "garbage collector collection. (Contributed by Victor Stinner in :issue:" "`44466`.)" msgstr "" -#: whatsnew/3.10.rst:1116 +#: whatsnew/3.10.rst:1114 msgid "gc" msgstr "" -#: whatsnew/3.10.rst:1118 +#: whatsnew/3.10.rst:1116 msgid "" "Add audit hooks for :func:`gc.get_objects`, :func:`gc.get_referrers` and :" "func:`gc.get_referents`. (Contributed by Pablo Galindo in :issue:`43439`.)" msgstr "" -#: whatsnew/3.10.rst:1122 +#: whatsnew/3.10.rst:1120 msgid "glob" msgstr "" -#: whatsnew/3.10.rst:1124 +#: whatsnew/3.10.rst:1122 msgid "" "Add the *root_dir* and *dir_fd* parameters in :func:`~glob.glob` and :func:" "`~glob.iglob` which allow to specify the root directory for searching. " "(Contributed by Serhiy Storchaka in :issue:`38144`.)" msgstr "" -#: whatsnew/3.10.rst:1129 +#: whatsnew/3.10.rst:1127 msgid "hashlib" msgstr "" -#: whatsnew/3.10.rst:1131 +#: whatsnew/3.10.rst:1129 msgid "" "The hashlib module requires OpenSSL 1.1.1 or newer. (Contributed by " "Christian Heimes in :pep:`644` and :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1134 +#: whatsnew/3.10.rst:1132 msgid "" "The hashlib module has preliminary support for OpenSSL 3.0.0. (Contributed " "by Christian Heimes in :issue:`38820` and other issues.)" msgstr "" -#: whatsnew/3.10.rst:1137 +#: whatsnew/3.10.rst:1135 msgid "" "The pure-Python fallback of :func:`~hashlib.pbkdf2_hmac` is deprecated. In " "the future PBKDF2-HMAC will only be available when Python has been built " "with OpenSSL support. (Contributed by Christian Heimes in :issue:`43880`.)" msgstr "" -#: whatsnew/3.10.rst:1143 +#: whatsnew/3.10.rst:1141 msgid "hmac" msgstr "" -#: whatsnew/3.10.rst:1145 +#: whatsnew/3.10.rst:1143 msgid "" "The hmac module now uses OpenSSL's HMAC implementation internally. " "(Contributed by Christian Heimes in :issue:`40645`.)" msgstr "" -#: whatsnew/3.10.rst:1149 +#: whatsnew/3.10.rst:1147 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.10.rst:1151 +#: whatsnew/3.10.rst:1149 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" "`43008`.)" msgstr "" -#: whatsnew/3.10.rst:1155 +#: whatsnew/3.10.rst:1153 msgid "" "Rearrange the settings dialog. Split the General tab into Windows and Shell/" "Ed tabs. Move help sources, which extend the Help menu, to the Extensions " @@ -1335,11 +1319,11 @@ msgid "" "`33962`.)" msgstr "" -#: whatsnew/3.10.rst:1163 +#: whatsnew/3.10.rst:1161 msgid "The changes above were backported to a 3.9 maintenance release." msgstr "" -#: whatsnew/3.10.rst:1165 +#: whatsnew/3.10.rst:1163 msgid "" "Add a Shell sidebar. Move the primary prompt ('>>>') to the sidebar. Add " "secondary prompts ('...') to the sidebar. Left click and optional drag " @@ -1350,7 +1334,7 @@ msgid "" "text. (Contributed by Tal Einat in :issue:`37903`.)" msgstr "" -#: whatsnew/3.10.rst:1174 +#: whatsnew/3.10.rst:1172 msgid "" "Use spaces instead of tabs to indent interactive code. This makes " "interactive code entries 'look right'. Making this feasible was a major " @@ -1358,7 +1342,7 @@ msgid "" "in :issue:`37892`.)" msgstr "" -#: whatsnew/3.10.rst:1179 +#: whatsnew/3.10.rst:1177 msgid "" "Highlight the new :ref:`soft keywords ` :keyword:`match`, :" "keyword:`case `, and :keyword:`_ ` in pattern-" @@ -1367,33 +1351,33 @@ msgid "" "(Contributed by Tal Einat in :issue:`44010`.)" msgstr "" -#: whatsnew/3.10.rst:1185 +#: whatsnew/3.10.rst:1183 msgid "New in 3.10 maintenance releases." msgstr "" -#: whatsnew/3.10.rst:1187 +#: whatsnew/3.10.rst:1185 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.10.rst:1190 +#: whatsnew/3.10.rst:1188 msgid "" "Include prompts when saving Shell with inputs and outputs. (Contributed by " "Terry Jan Reedy in :gh:`95191`.)" msgstr "" -#: whatsnew/3.10.rst:1194 +#: whatsnew/3.10.rst:1192 msgid "importlib.metadata" msgstr "" -#: whatsnew/3.10.rst:1196 +#: whatsnew/3.10.rst:1194 msgid "" "Feature parity with ``importlib_metadata`` 4.6 (`history `_)." msgstr "" -#: whatsnew/3.10.rst:1199 +#: whatsnew/3.10.rst:1197 msgid "" ":ref:`importlib.metadata entry points ` now provide a nicer " "experience for selecting entry points by group and name through a new :class:" @@ -1401,18 +1385,18 @@ msgid "" "docs for more info on the deprecation and usage." msgstr "" -#: whatsnew/3.10.rst:1205 +#: whatsnew/3.10.rst:1203 msgid "" "Added :func:`importlib.metadata.packages_distributions` for resolving top-" "level Python modules and packages to their :class:`importlib.metadata." "Distribution`." msgstr "" -#: whatsnew/3.10.rst:1210 +#: whatsnew/3.10.rst:1208 msgid "inspect" msgstr "" -#: whatsnew/3.10.rst:1215 +#: whatsnew/3.10.rst:1213 msgid "" "Add :func:`inspect.get_annotations`, which safely computes the annotations " "defined on an object. It works around the quirks of accessing the " @@ -1430,38 +1414,38 @@ msgid "" "`43817`.)" msgstr "" -#: whatsnew/3.10.rst:1231 +#: whatsnew/3.10.rst:1229 msgid "itertools" msgstr "" -#: whatsnew/3.10.rst:1233 +#: whatsnew/3.10.rst:1231 msgid "" "Add :func:`itertools.pairwise()`. (Contributed by Raymond Hettinger in :" "issue:`38200`.)" msgstr "" -#: whatsnew/3.10.rst:1237 +#: whatsnew/3.10.rst:1235 msgid "linecache" msgstr "" -#: whatsnew/3.10.rst:1243 +#: whatsnew/3.10.rst:1241 msgid "os" msgstr "" -#: whatsnew/3.10.rst:1245 +#: whatsnew/3.10.rst:1243 msgid "" "Add :func:`os.cpu_count()` support for VxWorks RTOS. (Contributed by Peixing " "Xin in :issue:`41440`.)" msgstr "" -#: whatsnew/3.10.rst:1248 +#: whatsnew/3.10.rst:1246 msgid "" "Add a new function :func:`os.eventfd` and related helpers to wrap the " "``eventfd2`` syscall on Linux. (Contributed by Christian Heimes in :issue:" "`41001`.)" msgstr "" -#: whatsnew/3.10.rst:1252 +#: whatsnew/3.10.rst:1250 msgid "" "Add :func:`os.splice()` that allows to move data between two file " "descriptors without copying between kernel address space and user address " @@ -1469,41 +1453,41 @@ msgid "" "by Pablo Galindo in :issue:`41625`.)" msgstr "" -#: whatsnew/3.10.rst:1257 +#: whatsnew/3.10.rst:1255 msgid "" "Add :data:`~os.O_EVTONLY`, :data:`~os.O_FSYNC`, :data:`~os.O_SYMLINK` and :" "data:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Dong-hee Na in :issue:" "`43106`.)" msgstr "" -#: whatsnew/3.10.rst:1262 +#: whatsnew/3.10.rst:1260 msgid "os.path" msgstr "" -#: whatsnew/3.10.rst:1264 +#: whatsnew/3.10.rst:1262 msgid "" ":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. (Contributed by Barney Gale in :issue:`43757`.)" msgstr "" -#: whatsnew/3.10.rst:1270 +#: whatsnew/3.10.rst:1268 msgid "pathlib" msgstr "" -#: whatsnew/3.10.rst:1272 +#: whatsnew/3.10.rst:1270 msgid "" "Add slice support to :attr:`PurePath.parents `. " "(Contributed by Joshua Cannon in :issue:`35498`.)" msgstr "" -#: whatsnew/3.10.rst:1275 +#: whatsnew/3.10.rst:1273 msgid "" "Add negative indexing support to :attr:`PurePath.parents `. (Contributed by Yaroslav Pankovych in :issue:`21041`.)" msgstr "" -#: whatsnew/3.10.rst:1279 +#: whatsnew/3.10.rst:1277 msgid "" "Add :meth:`Path.hardlink_to ` method that " "supersedes :meth:`~pathlib.Path.link_to`. The new method has the same " @@ -1511,7 +1495,7 @@ msgid "" "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1284 +#: whatsnew/3.10.rst:1282 msgid "" ":meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` now accept a " "*follow_symlinks* keyword-only argument for consistency with corresponding " @@ -1519,11 +1503,11 @@ msgid "" "`39906`.)" msgstr "" -#: whatsnew/3.10.rst:1290 +#: whatsnew/3.10.rst:1288 msgid "platform" msgstr "" -#: whatsnew/3.10.rst:1292 +#: whatsnew/3.10.rst:1290 msgid "" "Add :func:`platform.freedesktop_os_release()` to retrieve operation system " "identification from `freedesktop.org os-release ` section for " "more information." msgstr "" -#: whatsnew/3.10.rst:1630 +#: whatsnew/3.10.rst:1628 msgid "" "Non-integer arguments to :func:`random.randrange` are deprecated. The :exc:" "`ValueError` is deprecated in favor of a :exc:`TypeError`. (Contributed by " "Serhiy Storchaka and Raymond Hettinger in :issue:`37319`.)" msgstr "" -#: whatsnew/3.10.rst:1634 +#: whatsnew/3.10.rst:1632 msgid "" "The various ``load_module()`` methods of :mod:`importlib` have been " "documented as deprecated since Python 3.6, but will now also trigger a :exc:" @@ -2039,21 +2023,21 @@ msgid "" "(Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1640 +#: whatsnew/3.10.rst:1638 msgid "" ":meth:`zimport.zipimporter.load_module` has been deprecated in preference " "for :meth:`~zipimport.zipimporter.exec_module`. (Contributed by Brett Cannon " "in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1644 +#: whatsnew/3.10.rst:1642 msgid "" "The use of :meth:`~importlib.abc.Loader.load_module` by the import system " "now triggers an :exc:`ImportWarning` as :meth:`~importlib.abc.Loader." "exec_module` is preferred. (Contributed by Brett Cannon in :issue:`26131`.)" msgstr "" -#: whatsnew/3.10.rst:1649 +#: whatsnew/3.10.rst:1647 msgid "" "The use of :meth:`importlib.abc.MetaPathFinder.find_module` and :meth:" "`importlib.abc.PathEntryFinder.find_module` by the import system now trigger " @@ -2063,7 +2047,7 @@ msgid "" "porting. (Contributed by Brett Cannon in :issue:`42134`.)" msgstr "" -#: whatsnew/3.10.rst:1658 +#: whatsnew/3.10.rst:1656 msgid "" "The use of :meth:`importlib.abc.PathEntryFinder.find_loader` by the import " "system now triggers an :exc:`ImportWarning` as :meth:`importlib.abc." @@ -2072,7 +2056,7 @@ msgid "" "`43672`.)" msgstr "" -#: whatsnew/3.10.rst:1664 +#: whatsnew/3.10.rst:1662 msgid "" "The various implementations of :meth:`importlib.abc.MetaPathFinder." "find_module` ( :meth:`importlib.machinery.BuiltinImporter.find_module`, :" @@ -2087,7 +2071,7 @@ msgid "" "Python 3.4). (Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1679 +#: whatsnew/3.10.rst:1677 msgid "" ":class:`importlib.abc.Finder` is deprecated (including its sole method, :" "meth:`~importlib.abc.Finder.find_module`). Both :class:`importlib.abc." @@ -2096,7 +2080,7 @@ msgid "" "appropriate instead. (Contributed by Brett Cannon in :issue:`42135`.)" msgstr "" -#: whatsnew/3.10.rst:1686 +#: whatsnew/3.10.rst:1684 msgid "" "The deprecations of :mod:`imp`, :func:`importlib.find_loader`, :func:" "`importlib.util.set_package_wrapper`, :func:`importlib.util." @@ -2107,7 +2091,7 @@ msgid "" "Brett Cannon in :issue:`43720`.)" msgstr "" -#: whatsnew/3.10.rst:1696 +#: whatsnew/3.10.rst:1694 msgid "" "The import system now uses the ``__spec__`` attribute on modules before " "falling back on :meth:`~importlib.abc.Loader.module_repr` for a module's " @@ -2115,7 +2099,7 @@ msgid "" "for Python 3.12. (Contributed by Brett Cannon in :issue:`42137`.)" msgstr "" -#: whatsnew/3.10.rst:1702 +#: whatsnew/3.10.rst:1700 msgid "" ":meth:`importlib.abc.Loader.module_repr`, :meth:`importlib.machinery." "FrozenLoader.module_repr`, and :meth:`importlib.machinery.BuiltinLoader." @@ -2123,7 +2107,7 @@ msgid "" "(Contributed by Brett Cannon in :issue:`42136`.)" msgstr "" -#: whatsnew/3.10.rst:1708 +#: whatsnew/3.10.rst:1706 msgid "" "``sqlite3.OptimizedUnicode`` has been undocumented and obsolete since Python " "3.3, when it was made an alias to :class:`str`. It is now deprecated, " @@ -2131,21 +2115,7 @@ msgid "" "issue:`42264`.)" msgstr "" -#: whatsnew/3.10.rst:1713 -msgid "" -":func:`asyncio.get_event_loop` now emits a deprecation warning if there is " -"no running event loop. In the future it will be an alias of :func:`~asyncio." -"get_running_loop`. :mod:`asyncio` functions which implicitly create :class:" -"`~asyncio.Future` or :class:`~asyncio.Task` objects now emit a deprecation " -"warning if there is no running event loop and no explicit *loop* argument is " -"passed: :func:`~asyncio.ensure_future`, :func:`~asyncio.wrap_future`, :func:" -"`~asyncio.gather`, :func:`~asyncio.shield`, :func:`~asyncio.as_completed` " -"and constructors of :class:`~asyncio.Future`, :class:`~asyncio.Task`, :class:" -"`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`. " -"(Contributed by Serhiy Storchaka in :issue:`39529`.)" -msgstr "" - -#: whatsnew/3.10.rst:1726 +#: whatsnew/3.10.rst:1711 msgid "" "The undocumented built-in function ``sqlite3.enable_shared_cache`` is now " "deprecated, scheduled for removal in Python 3.12. Its use is strongly " @@ -2155,67 +2125,67 @@ msgid "" "query parameter. (Contributed by Erlend E. Aasland in :issue:`24464`.)" msgstr "" -#: whatsnew/3.10.rst:1734 +#: whatsnew/3.10.rst:1719 msgid "The following ``threading`` methods are now deprecated:" msgstr "" -#: whatsnew/3.10.rst:1736 +#: whatsnew/3.10.rst:1721 msgid "``threading.currentThread`` => :func:`threading.current_thread`" msgstr "" -#: whatsnew/3.10.rst:1738 +#: whatsnew/3.10.rst:1723 msgid "``threading.activeCount`` => :func:`threading.active_count`" msgstr "" -#: whatsnew/3.10.rst:1740 +#: whatsnew/3.10.rst:1725 msgid "" "``threading.Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" msgstr "" -#: whatsnew/3.10.rst:1743 +#: whatsnew/3.10.rst:1728 msgid "``threading.Event.isSet`` => :meth:`threading.Event.is_set`" msgstr "" -#: whatsnew/3.10.rst:1745 +#: whatsnew/3.10.rst:1730 msgid "``threading.Thread.setName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1747 +#: whatsnew/3.10.rst:1732 msgid "``threading.thread.getName`` => :attr:`threading.Thread.name`" msgstr "" -#: whatsnew/3.10.rst:1749 +#: whatsnew/3.10.rst:1734 msgid "``threading.Thread.isDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1751 +#: whatsnew/3.10.rst:1736 msgid "``threading.Thread.setDaemon`` => :attr:`threading.Thread.daemon`" msgstr "" -#: whatsnew/3.10.rst:1753 +#: whatsnew/3.10.rst:1738 msgid "(Contributed by Jelle Zijlstra in :gh:`87889`.)" msgstr "" -#: whatsnew/3.10.rst:1755 +#: whatsnew/3.10.rst:1740 msgid "" ":meth:`pathlib.Path.link_to` is deprecated and slated for removal in Python " "3.12. Use :meth:`pathlib.Path.hardlink_to` instead. (Contributed by Barney " "Gale in :issue:`39950`.)" msgstr "" -#: whatsnew/3.10.rst:1759 +#: whatsnew/3.10.rst:1744 msgid "" "``cgi.log()`` is deprecated and slated for removal in Python 3.12. " "(Contributed by Inada Naoki in :issue:`41139`.)" msgstr "" -#: whatsnew/3.10.rst:1762 +#: whatsnew/3.10.rst:1747 msgid "" "The following :mod:`ssl` features have been deprecated since Python 3.6, " "Python 3.7, or OpenSSL 1.1.0 and will be removed in 3.11:" msgstr "" -#: whatsnew/3.10.rst:1765 +#: whatsnew/3.10.rst:1750 msgid "" ":data:`~ssl.OP_NO_SSLv2`, :data:`~ssl.OP_NO_SSLv3`, :data:`~ssl." "OP_NO_TLSv1`, :data:`~ssl.OP_NO_TLSv1_1`, :data:`~ssl.OP_NO_TLSv1_2`, and :" @@ -2223,7 +2193,7 @@ msgid "" "minimum_version` and :attr:`sslSSLContext.maximum_version`." msgstr "" -#: whatsnew/3.10.rst:1771 +#: whatsnew/3.10.rst:1756 msgid "" ":data:`~ssl.PROTOCOL_SSLv2`, :data:`~ssl.PROTOCOL_SSLv3`, :data:`~ssl." "PROTOCOL_SSLv23`, :data:`~ssl.PROTOCOL_TLSv1`, :data:`~ssl." @@ -2232,26 +2202,26 @@ msgid "" "and :data:`~ssl.PROTOCOL_TLS_SERVER`" msgstr "" -#: whatsnew/3.10.rst:1777 +#: whatsnew/3.10.rst:1762 msgid "" ":func:`~ssl.wrap_socket` is replaced by :meth:`ssl.SSLContext.wrap_socket`" msgstr "" -#: whatsnew/3.10.rst:1779 +#: whatsnew/3.10.rst:1764 msgid ":func:`~ssl.match_hostname`" msgstr "" -#: whatsnew/3.10.rst:1781 +#: whatsnew/3.10.rst:1766 msgid ":func:`~ssl.RAND_pseudo_bytes`, :func:`~ssl.RAND_egd`" msgstr "" -#: whatsnew/3.10.rst:1783 +#: whatsnew/3.10.rst:1768 msgid "" "NPN features like :meth:`ssl.SSLSocket.selected_npn_protocol` and :meth:`ssl." "SSLContext.set_npn_protocols` are replaced by ALPN." msgstr "" -#: whatsnew/3.10.rst:1786 +#: whatsnew/3.10.rst:1771 msgid "" "The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is " "deprecated in Python 3.10 and will be removed in Python 3.12. This feature " @@ -2259,7 +2229,7 @@ msgid "" "Victor Stinner in :issue:`44584`.)" msgstr "" -#: whatsnew/3.10.rst:1791 +#: whatsnew/3.10.rst:1776 msgid "" "Importing from the ``typing.io`` and ``typing.re`` submodules will now emit :" "exc:`DeprecationWarning`. These submodules will be removed in a future " @@ -2268,11 +2238,11 @@ msgid "" "Rittau in :issue:`38291`.)" msgstr "" -#: whatsnew/3.10.rst:2223 +#: whatsnew/3.10.rst:2208 msgid "Removed" msgstr "" -#: whatsnew/3.10.rst:1802 +#: whatsnew/3.10.rst:1787 msgid "" "Removed special methods ``__int__``, ``__float__``, ``__floordiv__``, " "``__mod__``, ``__divmod__``, ``__rfloordiv__``, ``__rmod__`` and " @@ -2280,7 +2250,7 @@ msgid "" "`TypeError`. (Contributed by Serhiy Storchaka in :issue:`41974`.)" msgstr "" -#: whatsnew/3.10.rst:1808 +#: whatsnew/3.10.rst:1793 msgid "" "The ``ParserBase.error()`` method from the private and undocumented " "``_markupbase`` module has been removed. :class:`html.parser.HTMLParser` is " @@ -2289,7 +2259,7 @@ msgid "" "`31844`.)" msgstr "" -#: whatsnew/3.10.rst:1814 +#: whatsnew/3.10.rst:1799 msgid "" "Removed the ``unicodedata.ucnhash_CAPI`` attribute which was an internal " "PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` structure was " @@ -2297,7 +2267,7 @@ msgid "" "`42157`.)" msgstr "" -#: whatsnew/3.10.rst:1819 +#: whatsnew/3.10.rst:1804 msgid "" "Removed the ``parser`` module, which was deprecated in 3.9 due to the switch " "to the new PEG parser, as well as all the C source and header files that " @@ -2305,7 +2275,7 @@ msgid "" "``graminit.h`` and ``grammar.h``." msgstr "" -#: whatsnew/3.10.rst:1824 +#: whatsnew/3.10.rst:1809 msgid "" "Removed the Public C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2313,7 +2283,7 @@ msgid "" "deprecated in 3.9 due to the switch to the new PEG parser." msgstr "" -#: whatsnew/3.10.rst:1829 +#: whatsnew/3.10.rst:1814 msgid "" "Removed the ``formatter`` module, which was deprecated in Python 3.4. It is " "somewhat obsolete, little used, and not tested. It was originally scheduled " @@ -2323,71 +2293,71 @@ msgid "" "`42299`.)" msgstr "" -#: whatsnew/3.10.rst:1836 +#: whatsnew/3.10.rst:1821 msgid "" "Removed the :c:func:`PyModule_GetWarningsModule` function that was useless " "now due to the _warnings module was converted to a builtin module in 2.6. " "(Contributed by Hai Shi in :issue:`42599`.)" msgstr "" -#: whatsnew/3.10.rst:1840 +#: whatsnew/3.10.rst:1825 msgid "" "Remove deprecated aliases to :ref:`collections-abstract-base-classes` from " "the :mod:`collections` module. (Contributed by Victor Stinner in :issue:" "`37324`.)" msgstr "" -#: whatsnew/3.10.rst:1844 +#: whatsnew/3.10.rst:1829 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8. The motivation behind this change is multifold:" msgstr "" -#: whatsnew/3.10.rst:1848 +#: whatsnew/3.10.rst:1833 msgid "This simplifies the high-level API." msgstr "" -#: whatsnew/3.10.rst:1849 +#: whatsnew/3.10.rst:1834 msgid "" "The functions in the high-level API have been implicitly getting the current " "thread's running event loop since Python 3.7. There isn't a need to pass " "the event loop to the API in most normal use cases." msgstr "" -#: whatsnew/3.10.rst:1852 +#: whatsnew/3.10.rst:1837 msgid "" "Event loop passing is error-prone especially when dealing with loops running " "in different threads." msgstr "" -#: whatsnew/3.10.rst:1855 +#: whatsnew/3.10.rst:1840 msgid "" "Note that the low-level API will still accept ``loop``. See :ref:`changes-" "python-api` for examples of how to replace existing code." msgstr "" -#: whatsnew/3.10.rst:1930 +#: whatsnew/3.10.rst:1915 msgid "" "(Contributed by Yurii Karabas, Andrew Svetlov, Yury Selivanov and Kyle " "Stanley in :issue:`42392`.)" msgstr "" -#: whatsnew/3.10.rst:2150 +#: whatsnew/3.10.rst:2135 msgid "Porting to Python 3.10" msgstr "" -#: whatsnew/3.10.rst:1865 +#: whatsnew/3.10.rst:1850 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.10.rst:1870 +#: whatsnew/3.10.rst:1855 msgid "Changes in the Python syntax" msgstr "" -#: whatsnew/3.10.rst:1872 +#: whatsnew/3.10.rst:1857 msgid "" "Deprecation warning is now emitted when compiling previously valid syntax if " "the numeric literal is immediately followed by a keyword (like in ``0in " @@ -2397,11 +2367,11 @@ msgid "" "following keyword. (Contributed by Serhiy Storchaka in :issue:`43833`.)" msgstr "" -#: whatsnew/3.10.rst:1883 +#: whatsnew/3.10.rst:1868 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.10.rst:1885 +#: whatsnew/3.10.rst:1870 msgid "" "The *etype* parameters of the :func:`~traceback.format_exception`, :func:" "`~traceback.format_exception_only`, and :func:`~traceback.print_exception` " @@ -2409,7 +2379,7 @@ msgid "" "(Contributed by Zackery Spytz and Matthias Bussonnier in :issue:`26389`.)" msgstr "" -#: whatsnew/3.10.rst:1891 +#: whatsnew/3.10.rst:1876 msgid "" ":mod:`atexit`: At Python exit, if a callback registered with :func:`atexit." "register` fails, its exception is now logged. Previously, only some " @@ -2417,7 +2387,7 @@ msgid "" "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:1897 +#: whatsnew/3.10.rst:1882 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2430,7 +2400,7 @@ msgid "" "`42195`.)" msgstr "" -#: whatsnew/3.10.rst:1907 +#: whatsnew/3.10.rst:1892 msgid "" ":meth:`socket.htons` and :meth:`socket.ntohs` now raise :exc:`OverflowError` " "instead of :exc:`DeprecationWarning` if the given parameter will not fit in " @@ -2438,29 +2408,29 @@ msgid "" "`42393`.)" msgstr "" -#: whatsnew/3.10.rst:1912 +#: whatsnew/3.10.rst:1897 msgid "" "The ``loop`` parameter has been removed from most of :mod:`asyncio`\\ 's :" "doc:`high-level API <../library/asyncio-api-index>` following deprecation in " "Python 3.8." msgstr "" -#: whatsnew/3.10.rst:1916 +#: whatsnew/3.10.rst:1901 msgid "A coroutine that currently looks like this::" msgstr "" -#: whatsnew/3.10.rst:1921 +#: whatsnew/3.10.rst:1906 msgid "Should be replaced with this::" msgstr "" -#: whatsnew/3.10.rst:1926 +#: whatsnew/3.10.rst:1911 msgid "" "If ``foo()`` was specifically designed *not* to run in the current thread's " "running event loop (e.g. running in another thread's event loop), consider " "using :func:`asyncio.run_coroutine_threadsafe` instead." msgstr "" -#: whatsnew/3.10.rst:1933 +#: whatsnew/3.10.rst:1918 msgid "" "The :data:`types.FunctionType` constructor now inherits the current builtins " "if the *globals* dictionary has no ``\"__builtins__\"`` key, rather than " @@ -2471,11 +2441,11 @@ msgid "" "`42990`.)" msgstr "" -#: whatsnew/3.10.rst:1942 +#: whatsnew/3.10.rst:1927 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.10.rst:1944 +#: whatsnew/3.10.rst:1929 msgid "" "The C API functions ``PyParser_SimpleParseStringFlags``, " "``PyParser_SimpleParseStringFlagsFilename``, " @@ -2484,31 +2454,31 @@ msgid "" "PEG parser." msgstr "" -#: whatsnew/3.10.rst:1950 +#: whatsnew/3.10.rst:1935 msgid "" "Source should be now be compiled directly to a code object using, for " "example, :c:func:`Py_CompileString`. The resulting code object can then be " "evaluated using, for example, :c:func:`PyEval_EvalCode`." msgstr "" -#: whatsnew/3.10.rst:1954 +#: whatsnew/3.10.rst:1939 msgid "Specifically:" msgstr "" -#: whatsnew/3.10.rst:1956 +#: whatsnew/3.10.rst:1941 msgid "" "A call to ``PyParser_SimpleParseStringFlags`` followed by ``PyNode_Compile`` " "can be replaced by calling :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1959 +#: whatsnew/3.10.rst:1944 msgid "" "There is no direct replacement for ``PyParser_SimpleParseFileFlags``. To " "compile code from a ``FILE *`` argument, you will need to read the file in C " "and pass the resulting buffer to :c:func:`Py_CompileString`." msgstr "" -#: whatsnew/3.10.rst:1963 +#: whatsnew/3.10.rst:1948 msgid "" "To compile a file given a ``char *`` filename, explicitly open the file, " "read it and compile the result. One way to do this is using the :py:mod:`io` " @@ -2517,7 +2487,7 @@ msgid "" "(Declarations and error handling are omitted.) ::" msgstr "" -#: whatsnew/3.10.rst:1976 +#: whatsnew/3.10.rst:1961 msgid "" "For ``FrameObject`` objects, the ``f_lasti`` member now represents a " "wordcode offset instead of a simple offset into the bytecode string. This " @@ -2527,53 +2497,53 @@ msgid "" "considered stable: please use :c:func:`PyFrame_GetLineNumber` instead." msgstr "" -#: whatsnew/3.10.rst:1984 +#: whatsnew/3.10.rst:1969 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.10.rst:1986 +#: whatsnew/3.10.rst:1971 msgid "" "The ``MAKE_FUNCTION`` instruction now accepts either a dict or a tuple of " "strings as the function's annotations. (Contributed by Yurii Karabas and " "Inada Naoki in :issue:`42202`.)" msgstr "" -#: whatsnew/3.10.rst:1991 +#: whatsnew/3.10.rst:1976 msgid "Build Changes" msgstr "" -#: whatsnew/3.10.rst:1993 +#: whatsnew/3.10.rst:1978 msgid "" ":pep:`644`: Python now requires OpenSSL 1.1.1 or newer. OpenSSL 1.0.2 is no " "longer supported. (Contributed by Christian Heimes in :issue:`43669`.)" msgstr "" -#: whatsnew/3.10.rst:1997 +#: whatsnew/3.10.rst:1982 msgid "" "The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` are now " "required to build Python. (Contributed by Victor Stinner in :issue:`36020`.)" msgstr "" -#: whatsnew/3.10.rst:2001 +#: whatsnew/3.10.rst:1986 msgid "" ":mod:`sqlite3` requires SQLite 3.7.15 or higher. (Contributed by Sergey " "Fedoseev and Erlend E. Aasland in :issue:`40744` and :issue:`40810`.)" msgstr "" -#: whatsnew/3.10.rst:2004 +#: whatsnew/3.10.rst:1989 msgid "" "The :mod:`atexit` module must now always be built as a built-in module. " "(Contributed by Victor Stinner in :issue:`42639`.)" msgstr "" -#: whatsnew/3.10.rst:2007 +#: whatsnew/3.10.rst:1992 msgid "" "Add :option:`--disable-test-modules` option to the ``configure`` script: " "don't build nor install test modules. (Contributed by Xavier de Gaye, Thomas " "Petazzoni and Peixing Xin in :issue:`27640`.)" msgstr "" -#: whatsnew/3.10.rst:2011 +#: whatsnew/3.10.rst:1996 msgid "" "Add :option:`--with-wheel-pkg-dir=PATH option <--with-wheel-pkg-dir>` to the " "``./configure`` script. If specified, the :mod:`ensurepip` module looks for " @@ -2582,7 +2552,7 @@ msgid "" "packages." msgstr "" -#: whatsnew/3.10.rst:2017 +#: whatsnew/3.10.rst:2002 msgid "" "Some Linux distribution packaging policies recommend against bundling " "dependencies. For example, Fedora installs wheel packages in the ``/usr/" @@ -2590,22 +2560,22 @@ msgid "" "_bundled`` package." msgstr "" -#: whatsnew/3.10.rst:2022 +#: whatsnew/3.10.rst:2007 msgid "(Contributed by Victor Stinner in :issue:`42856`.)" msgstr "" -#: whatsnew/3.10.rst:2024 +#: whatsnew/3.10.rst:2009 msgid "" "Add a new :option:`configure --without-static-libpython option <--without-" "static-libpython>` to not build the ``libpythonMAJOR.MINOR.a`` static " "library and not install the ``python.o`` object file." msgstr "" -#: whatsnew/3.10.rst:2028 +#: whatsnew/3.10.rst:2013 msgid "(Contributed by Victor Stinner in :issue:`43103`.)" msgstr "" -#: whatsnew/3.10.rst:2030 +#: whatsnew/3.10.rst:2015 msgid "" "The ``configure`` script now uses the ``pkg-config`` utility, if available, " "to detect the location of Tcl/Tk headers and libraries. As before, those " @@ -2614,7 +2584,7 @@ msgid "" "Stamatogiannakis in :issue:`42603`.)" msgstr "" -#: whatsnew/3.10.rst:2036 +#: whatsnew/3.10.rst:2021 msgid "" "Add :option:`--with-openssl-rpath` option to ``configure`` script. The " "option simplifies building Python with a custom OpenSSL installation, e.g. " @@ -2622,15 +2592,15 @@ msgid "" "(Contributed by Christian Heimes in :issue:`43466`.)" msgstr "" -#: whatsnew/3.10.rst:2043 +#: whatsnew/3.10.rst:2028 msgid "C API Changes" msgstr "" -#: whatsnew/3.10.rst:2046 +#: whatsnew/3.10.rst:2031 msgid "PEP 652: Maintaining the Stable ABI" msgstr "" -#: whatsnew/3.10.rst:2048 +#: whatsnew/3.10.rst:2033 msgid "" "The Stable ABI (Application Binary Interface) for extension modules or " "embedding Python is now explicitly defined. :ref:`stable` describes C API " @@ -2638,25 +2608,25 @@ msgid "" "ABI." msgstr "" -#: whatsnew/3.10.rst:2053 +#: whatsnew/3.10.rst:2038 msgid "(Contributed by Petr Viktorin in :pep:`652` and :issue:`43795`.)" msgstr "" -#: whatsnew/3.10.rst:2058 +#: whatsnew/3.10.rst:2043 msgid "" "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``. (Contributed by Serhiy Storchaka in :issue:`40792`.)" msgstr "" -#: whatsnew/3.10.rst:2062 +#: whatsnew/3.10.rst:2047 msgid "" "Add a new :c:member:`~PyConfig.orig_argv` member to the :c:type:`PyConfig` " "structure: the list of the original command line arguments passed to the " "Python executable. (Contributed by Victor Stinner in :issue:`23427`.)" msgstr "" -#: whatsnew/3.10.rst:2067 +#: whatsnew/3.10.rst:2052 msgid "" "The :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" "`PyDateTime_TIME_GET_TZINFO` macros have been added for accessing the " @@ -2664,72 +2634,72 @@ msgid "" "time` objects. (Contributed by Zackery Spytz in :issue:`30155`.)" msgstr "" -#: whatsnew/3.10.rst:2073 +#: whatsnew/3.10.rst:2058 msgid "" "Add a :c:func:`PyCodec_Unregister` function to unregister a codec search " "function. (Contributed by Hai Shi in :issue:`41842`.)" msgstr "" -#: whatsnew/3.10.rst:2077 +#: whatsnew/3.10.rst:2062 msgid "" "The :c:func:`PyIter_Send` function was added to allow sending value into " "iterator without raising ``StopIteration`` exception. (Contributed by " "Vladimir Matveev in :issue:`41756`.)" msgstr "" -#: whatsnew/3.10.rst:2081 +#: whatsnew/3.10.rst:2066 msgid "" "Add :c:func:`PyUnicode_AsUTF8AndSize` to the limited C API. (Contributed by " "Alex Gaynor in :issue:`41784`.)" msgstr "" -#: whatsnew/3.10.rst:2084 +#: whatsnew/3.10.rst:2069 msgid "" "Add :c:func:`PyModule_AddObjectRef` function: similar to :c:func:" "`PyModule_AddObject` but don't steal a reference to the value on success. " "(Contributed by Victor Stinner in :issue:`1635741`.)" msgstr "" -#: whatsnew/3.10.rst:2089 +#: whatsnew/3.10.rst:2074 msgid "" "Add :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions to increment the " "reference count of an object and return the object. (Contributed by Victor " "Stinner in :issue:`42262`.)" msgstr "" -#: whatsnew/3.10.rst:2093 +#: whatsnew/3.10.rst:2078 msgid "" "The :c:func:`PyType_FromSpecWithBases` and :c:func:" "`PyType_FromModuleAndSpec` functions now accept a single class as the " "*bases* argument. (Contributed by Serhiy Storchaka in :issue:`42423`.)" msgstr "" -#: whatsnew/3.10.rst:2097 +#: whatsnew/3.10.rst:2082 msgid "" "The :c:func:`PyType_FromModuleAndSpec` function now accepts NULL ``tp_doc`` " "slot. (Contributed by Hai Shi in :issue:`41832`.)" msgstr "" -#: whatsnew/3.10.rst:2101 +#: whatsnew/3.10.rst:2086 msgid "" "The :c:func:`PyType_GetSlot` function can accept :ref:`static types `. (Contributed by Hai Shi and Petr Viktorin in :issue:`41073`.)" msgstr "" -#: whatsnew/3.10.rst:2105 +#: whatsnew/3.10.rst:2090 msgid "" "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. " "(Contributed by Pablo Galindo in :issue:`43277`.)" msgstr "" -#: whatsnew/3.10.rst:2109 +#: whatsnew/3.10.rst:2094 msgid "" "Add :c:func:`PyErr_SetInterruptEx` which allows passing a signal number to " "simulate. (Contributed by Antoine Pitrou in :issue:`43356`.)" msgstr "" -#: whatsnew/3.10.rst:2113 +#: whatsnew/3.10.rst:2098 msgid "" "The limited C API is now supported if :ref:`Python is built in debug mode " "` (if the ``Py_DEBUG`` macro is defined). In the limited C API, " @@ -2742,14 +2712,14 @@ msgid "" "`36465`)." msgstr "" -#: whatsnew/3.10.rst:2123 +#: whatsnew/3.10.rst:2108 msgid "" "The limited C API is still not supported in the :option:`--with-trace-refs` " "special build (``Py_TRACE_REFS`` macro). (Contributed by Victor Stinner in :" "issue:`43688`.)" msgstr "" -#: whatsnew/3.10.rst:2127 +#: whatsnew/3.10.rst:2112 msgid "" "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 the :c:func:" @@ -2759,7 +2729,7 @@ msgid "" "`43753`.)" msgstr "" -#: whatsnew/3.10.rst:2134 +#: whatsnew/3.10.rst:2119 msgid "" "Add new functions to control the garbage collector from C code: :c:func:" "`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:`PyGC_IsEnabled()`. These " @@ -2767,20 +2737,20 @@ msgid "" "collector from C code without having to import the :mod:`gc` module." msgstr "" -#: whatsnew/3.10.rst:2141 +#: whatsnew/3.10.rst:2126 msgid "" "Add a new :c:data:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type flag to disallow " "creating type instances. (Contributed by Victor Stinner in :issue:`43916`.)" msgstr "" -#: whatsnew/3.10.rst:2145 +#: whatsnew/3.10.rst:2130 msgid "" "Add a new :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag for creating " "immutable type objects: type attributes cannot be set nor deleted. " "(Contributed by Victor Stinner and Erlend E. Aasland in :issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2152 +#: whatsnew/3.10.rst:2137 msgid "" "The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:func:" "`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " @@ -2789,7 +2759,7 @@ msgid "" "`40943`.)" msgstr "" -#: whatsnew/3.10.rst:2158 +#: whatsnew/3.10.rst:2143 msgid "" "Since :c:func:`Py_REFCNT()` is changed to the inline static function, " "``Py_REFCNT(obj) = new_refcnt`` must be replaced with ``Py_SET_REFCNT(obj, " @@ -2797,18 +2767,18 @@ msgid "" "For backward compatibility, this macro can be used::" msgstr "" -#: whatsnew/3.10.rst:2167 +#: whatsnew/3.10.rst:2152 msgid "(Contributed by Victor Stinner in :issue:`39573`.)" msgstr "" -#: whatsnew/3.10.rst:2169 +#: whatsnew/3.10.rst:2154 msgid "" "Calling :c:func:`PyDict_GetItem` without :term:`GIL` held had been allowed " "for historical reason. It is no longer allowed. (Contributed by Victor " "Stinner in :issue:`40839`.)" msgstr "" -#: whatsnew/3.10.rst:2173 +#: whatsnew/3.10.rst:2158 msgid "" "``PyUnicode_FromUnicode(NULL, size)`` and " "``PyUnicode_FromStringAndSize(NULL, size)`` raise ``DeprecationWarning`` " @@ -2816,14 +2786,14 @@ msgid "" "data. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.10.rst:2178 +#: whatsnew/3.10.rst:2163 msgid "" "The private ``_PyUnicode_Name_CAPI`` structure of the PyCapsule API " "``unicodedata.ucnhash_CAPI`` has been moved to the internal C API. " "(Contributed by Victor Stinner in :issue:`42157`.)" msgstr "" -#: whatsnew/3.10.rst:2182 +#: whatsnew/3.10.rst:2167 msgid "" ":c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:`Py_GetExecPrefix`, :c:" "func:`Py_GetProgramFullPath`, :c:func:`Py_GetPythonHome` and :c:func:" @@ -2833,7 +2803,7 @@ msgid "" "Stinner in :issue:`42260`.)" msgstr "" -#: whatsnew/3.10.rst:2189 +#: whatsnew/3.10.rst:2174 msgid "" ":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 " @@ -2843,7 +2813,7 @@ msgid "" "and Victor Stinner in :issue:`30459`.)" msgstr "" -#: whatsnew/3.10.rst:2196 +#: whatsnew/3.10.rst:2181 msgid "" "The non-limited API files ``odictobject.h``, ``parser_interface.h``, " "``picklebufobject.h``, ``pyarena.h``, ``pyctype.h``, ``pydebug.h``, ``pyfpe." @@ -2854,7 +2824,7 @@ msgid "" "issue:`35134`.)" msgstr "" -#: whatsnew/3.10.rst:2204 +#: whatsnew/3.10.rst:2189 msgid "" "Use the :c:data:`Py_TPFLAGS_IMMUTABLETYPE` type flag to create immutable " "type objects. Do not rely on :c:data:`Py_TPFLAGS_HEAPTYPE` to decide if a " @@ -2863,85 +2833,85 @@ msgid "" "issue:`43908`.)" msgstr "" -#: whatsnew/3.10.rst:2210 +#: whatsnew/3.10.rst:2195 msgid "" "The undocumented function ``Py_FrozenMain`` has been removed from the " "limited API. The function is mainly useful for custom builds of Python. " "(Contributed by Petr Viktorin in :issue:`26241`.)" msgstr "" -#: whatsnew/3.10.rst:2217 +#: whatsnew/3.10.rst:2202 msgid "" "The ``PyUnicode_InternImmortal()`` function is now deprecated and will be " "removed in Python 3.12: use :c:func:`PyUnicode_InternInPlace` instead. " "(Contributed by Victor Stinner in :issue:`41692`.)" msgstr "" -#: whatsnew/3.10.rst:2225 +#: whatsnew/3.10.rst:2210 msgid "" "Removed ``Py_UNICODE_str*`` functions manipulating ``Py_UNICODE*`` strings. " "(Contributed by Inada Naoki in :issue:`41123`.)" msgstr "" -#: whatsnew/3.10.rst:2228 +#: whatsnew/3.10.rst:2213 msgid "" "``Py_UNICODE_strlen``: use :c:func:`PyUnicode_GetLength` or :c:macro:" "`PyUnicode_GET_LENGTH`" msgstr "" -#: whatsnew/3.10.rst:2230 +#: whatsnew/3.10.rst:2215 msgid "" "``Py_UNICODE_strcat``: use :c:func:`PyUnicode_CopyCharacters` or :c:func:" "`PyUnicode_FromFormat`" msgstr "" -#: whatsnew/3.10.rst:2232 +#: whatsnew/3.10.rst:2217 msgid "" "``Py_UNICODE_strcpy``, ``Py_UNICODE_strncpy``: use :c:func:" "`PyUnicode_CopyCharacters` or :c:func:`PyUnicode_Substring`" msgstr "" -#: whatsnew/3.10.rst:2234 +#: whatsnew/3.10.rst:2219 msgid "``Py_UNICODE_strcmp``: use :c:func:`PyUnicode_Compare`" msgstr "" -#: whatsnew/3.10.rst:2235 +#: whatsnew/3.10.rst:2220 msgid "``Py_UNICODE_strncmp``: use :c:func:`PyUnicode_Tailmatch`" msgstr "" -#: whatsnew/3.10.rst:2236 +#: whatsnew/3.10.rst:2221 msgid "" "``Py_UNICODE_strchr``, ``Py_UNICODE_strrchr``: use :c:func:" "`PyUnicode_FindChar`" msgstr "" -#: whatsnew/3.10.rst:2239 +#: whatsnew/3.10.rst:2224 msgid "" "Removed ``PyUnicode_GetMax()``. Please migrate to new (:pep:`393`) APIs. " "(Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2242 +#: whatsnew/3.10.rst:2227 msgid "" "Removed ``PyLong_FromUnicode()``. Please migrate to :c:func:" "`PyLong_FromUnicodeObject`. (Contributed by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2245 +#: whatsnew/3.10.rst:2230 msgid "" "Removed ``PyUnicode_AsUnicodeCopy()``. Please use :c:func:" "`PyUnicode_AsUCS4Copy` or :c:func:`PyUnicode_AsWideCharString` (Contributed " "by Inada Naoki in :issue:`41103`.)" msgstr "" -#: whatsnew/3.10.rst:2249 +#: whatsnew/3.10.rst:2234 msgid "" "Removed ``_Py_CheckRecursionLimit`` variable: it has been replaced by " "``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` structure. " "(Contributed by Victor Stinner in :issue:`41834`.)" msgstr "" -#: whatsnew/3.10.rst:2253 +#: whatsnew/3.10.rst:2238 msgid "" "Removed undocumented macros ``Py_ALLOW_RECURSION`` and " "``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" @@ -2949,14 +2919,14 @@ msgid "" "issue:`41936`.)" msgstr "" -#: whatsnew/3.10.rst:2258 +#: whatsnew/3.10.rst:2243 msgid "" "Removed the undocumented ``PyOS_InitInterrupts()`` function. Initializing " "Python already implicitly installs signal handlers: see :c:member:`PyConfig." "install_signal_handlers`. (Contributed by Victor Stinner in :issue:`41713`.)" msgstr "" -#: whatsnew/3.10.rst:2263 +#: whatsnew/3.10.rst:2248 msgid "" "Remove the ``PyAST_Validate()`` function. It is no longer possible to build " "a AST object (``mod_ty`` type) with the public C API. The function was " @@ -2964,48 +2934,48 @@ msgid "" "Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2268 +#: whatsnew/3.10.rst:2253 msgid "Remove the ``symtable.h`` header file and the undocumented functions:" msgstr "" -#: whatsnew/3.10.rst:2270 +#: whatsnew/3.10.rst:2255 msgid "``PyST_GetScope()``" msgstr "" -#: whatsnew/3.10.rst:2271 +#: whatsnew/3.10.rst:2256 msgid "``PySymtable_Build()``" msgstr "" -#: whatsnew/3.10.rst:2272 +#: whatsnew/3.10.rst:2257 msgid "``PySymtable_BuildObject()``" msgstr "" -#: whatsnew/3.10.rst:2273 +#: whatsnew/3.10.rst:2258 msgid "``PySymtable_Free()``" msgstr "" -#: whatsnew/3.10.rst:2274 +#: whatsnew/3.10.rst:2259 msgid "``Py_SymtableString()``" msgstr "" -#: whatsnew/3.10.rst:2275 +#: whatsnew/3.10.rst:2260 msgid "``Py_SymtableStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2277 +#: whatsnew/3.10.rst:2262 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 "" -#: whatsnew/3.10.rst:2281 +#: whatsnew/3.10.rst:2266 msgid "" "Use Python :mod:`symtable` module instead. (Contributed by Victor Stinner " "in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2284 +#: whatsnew/3.10.rst:2269 msgid "" "Remove :c:func:`PyOS_ReadlineFunctionPointer` from the limited C API headers " "and from ``python3.dll``, the library that provides the stable ABI on " @@ -3013,7 +2983,7 @@ msgid "" "cannot be guaranteed. (Contributed by Petr Viktorin in :issue:`43868`.)" msgstr "" -#: whatsnew/3.10.rst:2290 +#: whatsnew/3.10.rst:2275 msgid "" "Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header files. These " "functions were undocumented and excluded from the limited C API. Most names " @@ -3024,86 +2994,86 @@ msgid "" "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2298 +#: whatsnew/3.10.rst:2283 msgid "" "Remove the compiler and parser functions using ``struct _mod`` type, because " "the public AST C API was removed:" msgstr "" -#: whatsnew/3.10.rst:2301 +#: whatsnew/3.10.rst:2286 msgid "``PyAST_Compile()``" msgstr "" -#: whatsnew/3.10.rst:2302 +#: whatsnew/3.10.rst:2287 msgid "``PyAST_CompileEx()``" msgstr "" -#: whatsnew/3.10.rst:2303 +#: whatsnew/3.10.rst:2288 msgid "``PyAST_CompileObject()``" msgstr "" -#: whatsnew/3.10.rst:2304 +#: whatsnew/3.10.rst:2289 msgid "``PyFuture_FromAST()``" msgstr "" -#: whatsnew/3.10.rst:2305 +#: whatsnew/3.10.rst:2290 msgid "``PyFuture_FromASTObject()``" msgstr "" -#: whatsnew/3.10.rst:2306 +#: whatsnew/3.10.rst:2291 msgid "``PyParser_ASTFromFile()``" msgstr "" -#: whatsnew/3.10.rst:2307 +#: whatsnew/3.10.rst:2292 msgid "``PyParser_ASTFromFileObject()``" msgstr "" -#: whatsnew/3.10.rst:2308 +#: whatsnew/3.10.rst:2293 msgid "``PyParser_ASTFromFilename()``" msgstr "" -#: whatsnew/3.10.rst:2309 +#: whatsnew/3.10.rst:2294 msgid "``PyParser_ASTFromString()``" msgstr "" -#: whatsnew/3.10.rst:2310 +#: whatsnew/3.10.rst:2295 msgid "``PyParser_ASTFromStringObject()``" msgstr "" -#: whatsnew/3.10.rst:2312 +#: whatsnew/3.10.rst:2297 msgid "" "These functions were undocumented and excluded from the limited C API. " "(Contributed by Victor Stinner in :issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2315 +#: whatsnew/3.10.rst:2300 msgid "Remove the ``pyarena.h`` header file with functions:" msgstr "" -#: whatsnew/3.10.rst:2317 +#: whatsnew/3.10.rst:2302 msgid "``PyArena_New()``" msgstr "" -#: whatsnew/3.10.rst:2318 +#: whatsnew/3.10.rst:2303 msgid "``PyArena_Free()``" msgstr "" -#: whatsnew/3.10.rst:2319 +#: whatsnew/3.10.rst:2304 msgid "``PyArena_Malloc()``" msgstr "" -#: whatsnew/3.10.rst:2320 +#: whatsnew/3.10.rst:2305 msgid "``PyArena_AddPyObject()``" msgstr "" -#: whatsnew/3.10.rst:2322 +#: whatsnew/3.10.rst:2307 msgid "" "These functions were undocumented, excluded from the limited C API, and were " "only used internally by the compiler. (Contributed by Victor Stinner in :" "issue:`43244`.)" msgstr "" -#: whatsnew/3.10.rst:2326 +#: whatsnew/3.10.rst:2311 msgid "" "The ``PyThreadState.use_tracing`` member has been removed to optimize " "Python. (Contributed by Mark Shannon in :issue:`43760`.)" diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index bf3a93f4a..3dfa3bc72 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-02-01 22:19+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -20,110 +20,94 @@ msgstr "" msgid "What's New In Python 3.9" msgstr "" -#: whatsnew/3.9.rst:0 -msgid "Release" -msgstr "" - -#: whatsnew/3.9.rst:5 -msgid "|release|" -msgstr "" - -#: whatsnew/3.9.rst:0 -msgid "Date" -msgstr "" - -#: whatsnew/3.9.rst:6 -msgid "|today|" -msgstr "" - #: whatsnew/3.9.rst:0 msgid "Editor" msgstr "" -#: whatsnew/3.9.rst:7 +#: whatsnew/3.9.rst:5 msgid "Łukasz Langa" msgstr "" -#: whatsnew/3.9.rst:47 +#: whatsnew/3.9.rst:45 msgid "" "This article explains the new features in Python 3.9, compared to 3.8. " "Python 3.9 was released on October 5, 2020." msgstr "" -#: whatsnew/3.9.rst:50 +#: whatsnew/3.9.rst:48 msgid "For full details, see the :ref:`changelog `." msgstr "" -#: whatsnew/3.9.rst:54 +#: whatsnew/3.9.rst:52 msgid ":pep:`596` - Python 3.9 Release Schedule" msgstr "" -#: whatsnew/3.9.rst:58 +#: whatsnew/3.9.rst:56 msgid "Summary -- Release highlights" msgstr "" -#: whatsnew/3.9.rst:63 +#: whatsnew/3.9.rst:61 msgid "New syntax features:" msgstr "" -#: whatsnew/3.9.rst:65 +#: whatsnew/3.9.rst:63 msgid ":pep:`584`, union operators added to ``dict``;" msgstr "" -#: whatsnew/3.9.rst:66 +#: whatsnew/3.9.rst:64 msgid ":pep:`585`, type hinting generics in standard collections;" msgstr "" -#: whatsnew/3.9.rst:67 +#: whatsnew/3.9.rst:65 msgid ":pep:`614`, relaxed grammar restrictions on decorators." msgstr "" -#: whatsnew/3.9.rst:69 +#: whatsnew/3.9.rst:67 msgid "New built-in features:" msgstr "" -#: whatsnew/3.9.rst:71 +#: whatsnew/3.9.rst:69 msgid ":pep:`616`, string methods to remove prefixes and suffixes." msgstr "" -#: whatsnew/3.9.rst:73 +#: whatsnew/3.9.rst:71 msgid "New features in the standard library:" msgstr "" -#: whatsnew/3.9.rst:75 +#: whatsnew/3.9.rst:73 msgid ":pep:`593`, flexible function and variable annotations;" msgstr "" -#: whatsnew/3.9.rst:76 +#: whatsnew/3.9.rst:74 msgid "" ":func:`os.pidfd_open` added that allows process management without races and " "signals." msgstr "" -#: whatsnew/3.9.rst:79 +#: whatsnew/3.9.rst:77 msgid "Interpreter improvements:" msgstr "" -#: whatsnew/3.9.rst:81 +#: whatsnew/3.9.rst:79 msgid "" ":pep:`573`, fast access to module state from methods of C extension types;" msgstr "" -#: whatsnew/3.9.rst:83 +#: whatsnew/3.9.rst:81 msgid ":pep:`617`, CPython now uses a new parser based on PEG;" msgstr "" -#: whatsnew/3.9.rst:84 +#: whatsnew/3.9.rst:82 msgid "" "a number of Python builtins (range, tuple, set, frozenset, list, dict) are " "now sped up using :pep:`590` vectorcall;" msgstr "" -#: whatsnew/3.9.rst:86 +#: whatsnew/3.9.rst:84 msgid "garbage collection does not block on resurrected objects;" msgstr "" -#: whatsnew/3.9.rst:87 +#: whatsnew/3.9.rst:85 msgid "" "a number of Python modules (:mod:`_abc`, :mod:`audioop`, :mod:`_bz2`, :mod:" "`_codecs`, :mod:`_contextvars`, :mod:`_crypt`, :mod:`_functools`, :mod:" @@ -132,7 +116,7 @@ msgid "" "489;" msgstr "" -#: whatsnew/3.9.rst:92 +#: whatsnew/3.9.rst:90 msgid "" "a number of standard library modules (:mod:`audioop`, :mod:`ast`, :mod:" "`grp`, :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`, :" @@ -140,35 +124,35 @@ msgid "" "stable ABI defined by PEP 384." msgstr "" -#: whatsnew/3.9.rst:97 +#: whatsnew/3.9.rst:95 msgid "New library modules:" msgstr "" -#: whatsnew/3.9.rst:99 +#: whatsnew/3.9.rst:97 msgid "" ":pep:`615`, the IANA Time Zone Database is now present in the standard " "library in the :mod:`zoneinfo` module;" msgstr "" -#: whatsnew/3.9.rst:101 +#: whatsnew/3.9.rst:99 msgid "" "an implementation of a topological sort of a graph is now provided in the " "new :mod:`graphlib` module." msgstr "" -#: whatsnew/3.9.rst:104 +#: whatsnew/3.9.rst:102 msgid "Release process changes:" msgstr "" -#: whatsnew/3.9.rst:106 +#: whatsnew/3.9.rst:104 msgid ":pep:`602`, CPython adopts an annual release cycle." msgstr "" -#: whatsnew/3.9.rst:110 +#: whatsnew/3.9.rst:108 msgid "You should check for DeprecationWarning in your code" msgstr "" -#: whatsnew/3.9.rst:112 +#: whatsnew/3.9.rst:110 msgid "" "When Python 2.7 was still supported, a lot of functionality in Python 3 was " "kept for backward compatibility with Python 2.7. With the end of Python 2 " @@ -179,7 +163,7 @@ msgid "" "3.3, released in 2012." msgstr "" -#: whatsnew/3.9.rst:120 +#: whatsnew/3.9.rst:118 msgid "" "Test your application with the :option:`-W` ``default`` command-line option " "to see :exc:`DeprecationWarning` and :exc:`PendingDeprecationWarning`, or " @@ -188,14 +172,14 @@ msgid "" "code." msgstr "" -#: whatsnew/3.9.rst:125 +#: whatsnew/3.9.rst:123 msgid "" "Python 3.9 is the last version providing those Python 2 backward " "compatibility layers, to give more time to Python projects maintainers to " "organize the removal of the Python 2 support and add support for Python 3.9." msgstr "" -#: whatsnew/3.9.rst:129 +#: whatsnew/3.9.rst:127 msgid "" "Aliases to :ref:`Abstract Base Classes ` " "in the :mod:`collections` module, like ``collections.Mapping`` alias to :" @@ -203,49 +187,49 @@ msgid "" "compatibility. They will be removed from Python 3.10." msgstr "" -#: whatsnew/3.9.rst:134 +#: whatsnew/3.9.rst:132 msgid "" "More generally, try to run your tests in the :ref:`Python Development Mode " "` which helps to prepare your code to make it compatible with the " "next Python version." msgstr "" -#: whatsnew/3.9.rst:138 +#: whatsnew/3.9.rst:136 msgid "" "Note: a number of pre-existing deprecations were removed in this version of " "Python as well. Consult the :ref:`removed-in-python-39` section." msgstr "" -#: whatsnew/3.9.rst:1276 +#: whatsnew/3.9.rst:1274 msgid "New Features" msgstr "" -#: whatsnew/3.9.rst:146 +#: whatsnew/3.9.rst:144 msgid "Dictionary Merge & Update Operators" msgstr "" -#: whatsnew/3.9.rst:148 +#: whatsnew/3.9.rst:146 msgid "" "Merge (``|``) and update (``|=``) operators have been added to the built-in :" "class:`dict` class. Those complement the existing ``dict.update`` and " "``{**d1, **d2}`` methods of merging dictionaries." msgstr "" -#: whatsnew/3.9.rst:285 +#: whatsnew/3.9.rst:283 msgid "Example::" msgstr "" -#: whatsnew/3.9.rst:161 +#: whatsnew/3.9.rst:159 msgid "" "See :pep:`584` for a full description. (Contributed by Brandt Bucher in :" "issue:`36144`.)" msgstr "" -#: whatsnew/3.9.rst:165 +#: whatsnew/3.9.rst:163 msgid "New String Methods to Remove Prefixes and Suffixes" msgstr "" -#: whatsnew/3.9.rst:167 +#: whatsnew/3.9.rst:165 msgid "" ":meth:`str.removeprefix(prefix)` and :meth:`str." "removesuffix(suffix)` have been added to easily remove an " @@ -255,11 +239,11 @@ msgid "" "issue:`39939`.)" msgstr "" -#: whatsnew/3.9.rst:175 +#: whatsnew/3.9.rst:173 msgid "Type Hinting Generics in Standard Collections" msgstr "" -#: whatsnew/3.9.rst:177 +#: whatsnew/3.9.rst:175 msgid "" "In type annotations you can now use built-in collection types such as " "``list`` and ``dict`` as generic types instead of importing the " @@ -268,21 +252,21 @@ msgid "" "for example ``queue.Queue``." msgstr "" -#: whatsnew/3.9.rst:1164 +#: whatsnew/3.9.rst:1162 msgid "Example:" msgstr "" -#: whatsnew/3.9.rst:191 +#: whatsnew/3.9.rst:189 msgid "" "See :pep:`585` for more details. (Contributed by Guido van Rossum, Ethan " "Smith, and Batuhan Taşkaya in :issue:`39481`.)" msgstr "" -#: whatsnew/3.9.rst:195 +#: whatsnew/3.9.rst:193 msgid "New Parser" msgstr "" -#: whatsnew/3.9.rst:197 +#: whatsnew/3.9.rst:195 msgid "" "Python 3.9 uses a new parser, based on `PEG `_ instead of `LL(1) ` and in :ref:`debug build " "`, the *encoding* and *errors* arguments are now checked for " @@ -343,14 +327,14 @@ msgid "" "encode` and :meth:`bytes.decode`." msgstr "" -#: whatsnew/3.9.rst:239 +#: whatsnew/3.9.rst:237 msgid "" "By default, for best performance, the *errors* argument is only checked at " "the first encoding/decoding error and the *encoding* argument is sometimes " "ignored for empty strings. (Contributed by Victor Stinner in :issue:`37388`.)" msgstr "" -#: whatsnew/3.9.rst:244 +#: whatsnew/3.9.rst:242 msgid "" "``\"\".replace(\"\", s, n)`` now returns ``s`` instead of an empty string " "for all non-zero ``n``. It is now consistent with ``\"\".replace(\"\", " @@ -358,14 +342,14 @@ msgid "" "objects. (Contributed by Serhiy Storchaka in :issue:`28029`.)" msgstr "" -#: whatsnew/3.9.rst:249 +#: whatsnew/3.9.rst:247 msgid "" "Any valid expression can now be used as a :term:`decorator`. Previously, " "the grammar was much more restrictive. See :pep:`614` for details. " "(Contributed by Brandt Bucher in :issue:`39702`.)" msgstr "" -#: whatsnew/3.9.rst:253 +#: whatsnew/3.9.rst:251 msgid "" "Improved help for the :mod:`typing` module. Docstrings are now shown for all " "special forms and special generic aliases (like ``Union`` and ``List``). " @@ -374,7 +358,7 @@ msgid "" "Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:259 +#: whatsnew/3.9.rst:257 msgid "" "Parallel running of :meth:`~agen.aclose` / :meth:`~agen.asend` / :meth:" "`~agen.athrow` is now prohibited, and ``ag_running`` now reflects the actual " @@ -382,7 +366,7 @@ msgid "" "issue:`30773`.)" msgstr "" -#: whatsnew/3.9.rst:264 +#: whatsnew/3.9.rst:262 msgid "" "Unexpected errors in calling the ``__iter__`` method are no longer masked by " "``TypeError`` in the :keyword:`in` operator and functions :func:`~operator." @@ -390,49 +374,49 @@ msgid "" "mod:`operator` module. (Contributed by Serhiy Storchaka in :issue:`40824`.)" msgstr "" -#: whatsnew/3.9.rst:270 +#: whatsnew/3.9.rst:268 msgid "" "Unparenthesized lambda expressions can no longer be the expression part in " "an ``if`` clause in comprehensions and generator expressions. See :issue:" "`41848` and :issue:`43755` for details." msgstr "" -#: whatsnew/3.9.rst:276 +#: whatsnew/3.9.rst:274 msgid "New Modules" msgstr "" -#: whatsnew/3.9.rst:279 +#: whatsnew/3.9.rst:277 msgid "zoneinfo" msgstr "" -#: whatsnew/3.9.rst:281 +#: whatsnew/3.9.rst:279 msgid "" "The :mod:`zoneinfo` module brings support for the IANA time zone database to " "the standard library. It adds :class:`zoneinfo.ZoneInfo`, a concrete :class:" "`datetime.tzinfo` implementation backed by the system's time zone data." msgstr "" -#: whatsnew/3.9.rst:305 +#: whatsnew/3.9.rst:303 msgid "" "As a fall-back source of data for platforms that don't ship the IANA " "database, the |tzdata|_ module was released as a first-party package -- " "distributed via PyPI and maintained by the CPython core team." msgstr "" -#: whatsnew/3.9.rst:314 +#: whatsnew/3.9.rst:312 msgid "" ":pep:`615` -- Support for the IANA Time Zone Database in the Standard Library" msgstr "" -#: whatsnew/3.9.rst:315 +#: whatsnew/3.9.rst:313 msgid "PEP written and implemented by Paul Ganssle" msgstr "" -#: whatsnew/3.9.rst:319 +#: whatsnew/3.9.rst:317 msgid "graphlib" msgstr "" -#: whatsnew/3.9.rst:321 +#: whatsnew/3.9.rst:319 msgid "" "A new module, :mod:`graphlib`, was added that contains the :class:`graphlib." "TopologicalSorter` class to offer functionality to perform topological " @@ -440,22 +424,22 @@ msgid "" "Hastings in :issue:`17005`.)" msgstr "" -#: whatsnew/3.9.rst:328 +#: whatsnew/3.9.rst:326 msgid "Improved Modules" msgstr "" -#: whatsnew/3.9.rst:331 +#: whatsnew/3.9.rst:329 msgid "ast" msgstr "" -#: whatsnew/3.9.rst:333 +#: whatsnew/3.9.rst:331 msgid "" "Added the *indent* option to :func:`~ast.dump` which allows it to produce a " "multiline indented output. (Contributed by Serhiy Storchaka in :issue:" "`37995`.)" msgstr "" -#: whatsnew/3.9.rst:337 +#: whatsnew/3.9.rst:335 msgid "" "Added :func:`ast.unparse` as a function in the :mod:`ast` module that can be " "used to unparse an :class:`ast.AST` object and produce a string with code " @@ -463,17 +447,17 @@ msgid "" "(Contributed by Pablo Galindo and Batuhan Taskaya in :issue:`38870`.)" msgstr "" -#: whatsnew/3.9.rst:342 +#: whatsnew/3.9.rst:340 msgid "" "Added docstrings to AST nodes that contains the ASDL signature used to " "construct that node. (Contributed by Batuhan Taskaya in :issue:`39638`.)" msgstr "" -#: whatsnew/3.9.rst:346 +#: whatsnew/3.9.rst:344 msgid "asyncio" msgstr "" -#: whatsnew/3.9.rst:348 +#: whatsnew/3.9.rst:346 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -483,7 +467,7 @@ msgid "" "`37228`.)" msgstr "" -#: whatsnew/3.9.rst:355 +#: whatsnew/3.9.rst:353 msgid "" "Added a new :term:`coroutine` :meth:`~asyncio.loop." "shutdown_default_executor` that schedules a shutdown for the default " @@ -492,13 +476,13 @@ msgid "" "new :term:`coroutine`. (Contributed by Kyle Stanley in :issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:361 +#: whatsnew/3.9.rst:359 msgid "" "Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher " "implementation that polls process file descriptors. (:issue:`38692`)" msgstr "" -#: whatsnew/3.9.rst:364 +#: whatsnew/3.9.rst:362 msgid "" "Added a new :term:`coroutine` :func:`asyncio.to_thread`. It is mainly used " "for running IO-bound functions in a separate thread to avoid blocking the " @@ -507,7 +491,7 @@ msgid "" "by Kyle Stanley and Yury Selivanov in :issue:`32309`.)" msgstr "" -#: whatsnew/3.9.rst:370 +#: whatsnew/3.9.rst:368 msgid "" "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 " @@ -515,25 +499,25 @@ msgid "" "Pranskevichus in :issue:`32751`.)" msgstr "" -#: whatsnew/3.9.rst:375 +#: whatsnew/3.9.rst:373 msgid "" ":mod:`asyncio` now raises :exc:`TyperError` when calling incompatible " "methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael " "in :issue:`37404`.)" msgstr "" -#: whatsnew/3.9.rst:380 +#: whatsnew/3.9.rst:378 msgid "compileall" msgstr "" -#: whatsnew/3.9.rst:382 +#: whatsnew/3.9.rst:380 msgid "" "Added new possibility to use hardlinks for duplicated ``.pyc`` files: " "*hardlink_dupes* parameter and --hardlink-dupes command line option. " "(Contributed by Lumír 'Frenzy' Balhar in :issue:`40495`.)" msgstr "" -#: whatsnew/3.9.rst:385 +#: whatsnew/3.9.rst:383 msgid "" "Added new options for path manipulation in resulting ``.pyc`` files: " "*stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command " @@ -542,11 +526,11 @@ msgid "" "issue:`38112`.)" msgstr "" -#: whatsnew/3.9.rst:390 +#: whatsnew/3.9.rst:388 msgid "concurrent.futures" msgstr "" -#: whatsnew/3.9.rst:392 +#: whatsnew/3.9.rst:390 msgid "" "Added a new *cancel_futures* parameter to :meth:`concurrent.futures.Executor." "shutdown` that cancels all pending futures which have not started running, " @@ -554,7 +538,7 @@ msgid "" "(Contributed by Kyle Stanley in :issue:`39349`.)" msgstr "" -#: whatsnew/3.9.rst:398 +#: whatsnew/3.9.rst:396 msgid "" "Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` " "and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves " @@ -562,7 +546,7 @@ msgid "" "processes. (Contributed by Kyle Stanley in :issue:`39812`.)" msgstr "" -#: whatsnew/3.9.rst:403 +#: whatsnew/3.9.rst:401 msgid "" "Workers in :class:`~concurrent.futures.ProcessPoolExecutor` are now spawned " "on demand, only when there are no available idle workers to reuse. This " @@ -570,22 +554,22 @@ msgid "" "workers. (Contributed by Kyle Stanley in :issue:`39207`.)" msgstr "" -#: whatsnew/3.9.rst:409 +#: whatsnew/3.9.rst:407 msgid "curses" msgstr "" -#: whatsnew/3.9.rst:411 +#: whatsnew/3.9.rst:409 msgid "" "Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:" "`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed " "by Anthony Sottile in :issue:`38312`.)" msgstr "" -#: whatsnew/3.9.rst:416 +#: whatsnew/3.9.rst:414 msgid "datetime" msgstr "" -#: whatsnew/3.9.rst:417 +#: whatsnew/3.9.rst:415 msgid "" "The :meth:`~datetime.date.isocalendar()` of :class:`datetime.date` and :meth:" "`~datetime.datetime.isocalendar()` of :class:`datetime.datetime` methods now " @@ -593,32 +577,32 @@ msgid "" "(Contributed by Dong-hee Na in :issue:`24416`.)" msgstr "" -#: whatsnew/3.9.rst:423 +#: whatsnew/3.9.rst:421 msgid "distutils" msgstr "" -#: whatsnew/3.9.rst:425 +#: whatsnew/3.9.rst:423 msgid "" "The :command:`upload` command now creates SHA2-256 and Blake2b-256 hash " "digests. It skips MD5 on platforms that block MD5 digest. (Contributed by " "Christian Heimes in :issue:`40698`.)" msgstr "" -#: whatsnew/3.9.rst:430 +#: whatsnew/3.9.rst:428 msgid "fcntl" msgstr "" -#: whatsnew/3.9.rst:432 +#: whatsnew/3.9.rst:430 msgid "" "Added constants :data:`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` and :" "data:`~fcntl.F_OFD_SETLKW`. (Contributed by Dong-hee Na in :issue:`38602`.)" msgstr "" -#: whatsnew/3.9.rst:437 +#: whatsnew/3.9.rst:435 msgid "ftplib" msgstr "" -#: whatsnew/3.9.rst:439 +#: whatsnew/3.9.rst:437 msgid "" ":class:`~ftplib.FTP` and :class:`~ftplib.FTP_TLS` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -626,11 +610,11 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:444 +#: whatsnew/3.9.rst:442 msgid "gc" msgstr "" -#: whatsnew/3.9.rst:446 +#: whatsnew/3.9.rst:444 msgid "" "When the garbage collector makes a collection in which some objects " "resurrect (they are reachable from outside the isolated cycles after the " @@ -639,24 +623,24 @@ msgid "" "issue:`38379`.)" msgstr "" -#: whatsnew/3.9.rst:451 +#: whatsnew/3.9.rst:449 msgid "" "Added a new function :func:`gc.is_finalized` to check if an object has been " "finalized by the garbage collector. (Contributed by Pablo Galindo in :issue:" "`39322`.)" msgstr "" -#: whatsnew/3.9.rst:456 +#: whatsnew/3.9.rst:454 msgid "hashlib" msgstr "" -#: whatsnew/3.9.rst:458 +#: whatsnew/3.9.rst:456 msgid "" "The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL " "when available. (Contributed by Christian Heimes in :issue:`37630`.)" msgstr "" -#: whatsnew/3.9.rst:462 +#: whatsnew/3.9.rst:460 msgid "" "Builtin hash modules can now be disabled with ``./configure --without-" "builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --" @@ -664,55 +648,55 @@ msgid "" "implementation. (Contributed by Christian Heimes in :issue:`40479`)" msgstr "" -#: whatsnew/3.9.rst:470 +#: whatsnew/3.9.rst:468 msgid "http" msgstr "" -#: whatsnew/3.9.rst:472 +#: whatsnew/3.9.rst:470 msgid "" "HTTP status codes ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` and ``425 " "TOO_EARLY`` are added to :class:`http.HTTPStatus`. (Contributed by Dong-hee " "Na in :issue:`39509` and Ross Rhodes in :issue:`39507`.)" msgstr "" -#: whatsnew/3.9.rst:476 +#: whatsnew/3.9.rst:474 msgid "IDLE and idlelib" msgstr "" -#: whatsnew/3.9.rst:478 +#: whatsnew/3.9.rst:476 msgid "" "Added option to toggle cursor blink off. (Contributed by Zackery Spytz in :" "issue:`4603`.)" msgstr "" -#: whatsnew/3.9.rst:481 +#: whatsnew/3.9.rst:479 msgid "" "Escape key now closes IDLE completion windows. (Contributed by Johnny " "Najera in :issue:`38944`.)" msgstr "" -#: whatsnew/3.9.rst:484 +#: whatsnew/3.9.rst:482 msgid "" "Added keywords to module name completion list. (Contributed by Terry J. " "Reedy in :issue:`37765`.)" msgstr "" -#: whatsnew/3.9.rst:487 +#: whatsnew/3.9.rst:485 msgid "New in 3.9 maintenance releases" msgstr "" -#: whatsnew/3.9.rst:489 +#: whatsnew/3.9.rst:487 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" "`43008`.)" msgstr "" -#: whatsnew/3.9.rst:493 +#: whatsnew/3.9.rst:491 msgid "The changes above have been backported to 3.8 maintenance releases." msgstr "" -#: whatsnew/3.9.rst:495 +#: whatsnew/3.9.rst:493 msgid "" "Rearrange the settings dialog. Split the General tab into Windows and Shell/" "Ed tabs. Move help sources, which extend the Help menu, to the Extensions " @@ -723,17 +707,17 @@ msgid "" "`33962`.)" msgstr "" -#: whatsnew/3.9.rst:503 +#: whatsnew/3.9.rst:501 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" msgstr "" -#: whatsnew/3.9.rst:507 +#: whatsnew/3.9.rst:505 msgid "imaplib" msgstr "" -#: whatsnew/3.9.rst:509 +#: whatsnew/3.9.rst:507 msgid "" ":class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now have an optional " "*timeout* parameter for their constructors. Also, the :meth:`~imaplib.IMAP4." @@ -743,7 +727,7 @@ msgid "" "issue:`38615`.)" msgstr "" -#: whatsnew/3.9.rst:516 +#: whatsnew/3.9.rst:514 msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " "frees server's resources associated with the selected mailbox and returns " @@ -753,11 +737,11 @@ msgid "" "Dong-hee Na in :issue:`40375`.)" msgstr "" -#: whatsnew/3.9.rst:524 +#: whatsnew/3.9.rst:522 msgid "importlib" msgstr "" -#: whatsnew/3.9.rst:526 +#: whatsnew/3.9.rst:524 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -765,47 +749,47 @@ msgid "" "`37444`.)" msgstr "" -#: whatsnew/3.9.rst:531 +#: whatsnew/3.9.rst:529 msgid "" "Import loaders which publish immutable module objects can now publish " "immutable packages in addition to individual modules. (Contributed by Dino " "Viehland in :issue:`39336`.)" msgstr "" -#: whatsnew/3.9.rst:535 +#: whatsnew/3.9.rst:533 msgid "" "Added :func:`importlib.resources.files` function with support for " "subdirectories in package data, matching backport in ``importlib_resources`` " "version 1.5. (Contributed by Jason R. Coombs in :issue:`39791`.)" msgstr "" -#: whatsnew/3.9.rst:540 +#: whatsnew/3.9.rst:538 msgid "" "Refreshed ``importlib.metadata`` from ``importlib_metadata`` version 1.6.1." msgstr "" -#: whatsnew/3.9.rst:543 +#: whatsnew/3.9.rst:541 msgid "inspect" msgstr "" -#: whatsnew/3.9.rst:545 +#: whatsnew/3.9.rst:543 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" "`39775`.)" msgstr "" -#: whatsnew/3.9.rst:549 +#: whatsnew/3.9.rst:547 msgid "ipaddress" msgstr "" -#: whatsnew/3.9.rst:551 +#: whatsnew/3.9.rst:549 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." msgstr "" -#: whatsnew/3.9.rst:553 +#: whatsnew/3.9.rst:551 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -813,59 +797,59 @@ msgid "" "`34788`.)" msgstr "" -#: whatsnew/3.9.rst:557 +#: whatsnew/3.9.rst:555 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. (Contributed by Christian Heimes in :" "issue:`36384`)." msgstr "" -#: whatsnew/3.9.rst:562 +#: whatsnew/3.9.rst:560 msgid "math" msgstr "" -#: whatsnew/3.9.rst:564 +#: whatsnew/3.9.rst:562 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " "in :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:568 +#: whatsnew/3.9.rst:566 msgid "" "Added :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " "Storchaka in :issue:`39479` and :issue:`39648`.)" msgstr "" -#: whatsnew/3.9.rst:572 +#: whatsnew/3.9.rst:570 msgid "" "Added :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" msgstr "" -#: whatsnew/3.9.rst:576 +#: whatsnew/3.9.rst:574 msgid "" "Added :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" msgstr "" -#: whatsnew/3.9.rst:581 +#: whatsnew/3.9.rst:579 msgid "multiprocessing" msgstr "" -#: whatsnew/3.9.rst:583 +#: whatsnew/3.9.rst:581 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " "(Contributed by Victor Stinner in :issue:`30966`.)" msgstr "" -#: whatsnew/3.9.rst:589 +#: whatsnew/3.9.rst:587 msgid "nntplib" msgstr "" -#: whatsnew/3.9.rst:591 +#: whatsnew/3.9.rst:589 msgid "" ":class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -873,65 +857,65 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:596 +#: whatsnew/3.9.rst:594 msgid "os" msgstr "" -#: whatsnew/3.9.rst:598 +#: whatsnew/3.9.rst:596 msgid "" "Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` for :attr:" "`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)" msgstr "" -#: whatsnew/3.9.rst:601 +#: whatsnew/3.9.rst:599 msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :data:" "`os.P_PIDFD` (:issue:`38713`) for process management with file descriptors." msgstr "" -#: whatsnew/3.9.rst:605 +#: whatsnew/3.9.rst:603 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" msgstr "" -#: whatsnew/3.9.rst:608 +#: whatsnew/3.9.rst:606 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:612 +#: whatsnew/3.9.rst:610 msgid "" "Added :func:`os.waitstatus_to_exitcode` function: convert a wait status to " "an exit code. (Contributed by Victor Stinner in :issue:`40094`.)" msgstr "" -#: whatsnew/3.9.rst:617 +#: whatsnew/3.9.rst:615 msgid "pathlib" msgstr "" -#: whatsnew/3.9.rst:619 +#: whatsnew/3.9.rst:617 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" msgstr "" -#: whatsnew/3.9.rst:624 +#: whatsnew/3.9.rst:622 msgid "pdb" msgstr "" -#: whatsnew/3.9.rst:626 +#: whatsnew/3.9.rst:624 msgid "" "On Windows now :class:`~pdb.Pdb` supports ``~/.pdbrc``. (Contributed by Tim " "Hopper and Dan Lidral-Porter in :issue:`20523`.)" msgstr "" -#: whatsnew/3.9.rst:630 +#: whatsnew/3.9.rst:628 msgid "poplib" msgstr "" -#: whatsnew/3.9.rst:632 +#: whatsnew/3.9.rst:630 msgid "" ":class:`~poplib.POP3` and :class:`~poplib.POP3_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -939,53 +923,53 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:637 +#: whatsnew/3.9.rst:635 msgid "pprint" msgstr "" -#: whatsnew/3.9.rst:639 +#: whatsnew/3.9.rst:637 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" msgstr "" -#: whatsnew/3.9.rst:643 +#: whatsnew/3.9.rst:641 msgid "pydoc" msgstr "" -#: whatsnew/3.9.rst:645 +#: whatsnew/3.9.rst:643 msgid "" "The documentation string is now shown not only for class, function, method " "etc, but for any object that has its own ``__doc__`` attribute. (Contributed " "by Serhiy Storchaka in :issue:`40257`.)" msgstr "" -#: whatsnew/3.9.rst:650 +#: whatsnew/3.9.rst:648 msgid "random" msgstr "" -#: whatsnew/3.9.rst:652 +#: whatsnew/3.9.rst:650 msgid "" "Added a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" msgstr "" -#: whatsnew/3.9.rst:656 +#: whatsnew/3.9.rst:654 msgid "signal" msgstr "" -#: whatsnew/3.9.rst:658 +#: whatsnew/3.9.rst:656 msgid "" "Exposed the Linux-specific :func:`signal.pidfd_send_signal` for sending to " "signals to a process using a file descriptor instead of a pid. (:issue:" "`38712`)" msgstr "" -#: whatsnew/3.9.rst:662 +#: whatsnew/3.9.rst:660 msgid "smtplib" msgstr "" -#: whatsnew/3.9.rst:664 +#: whatsnew/3.9.rst:662 msgid "" ":class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a :class:" "`ValueError` if the given timeout for their constructor is zero to prevent " @@ -993,41 +977,41 @@ msgid "" "`39259`.)" msgstr "" -#: whatsnew/3.9.rst:668 +#: whatsnew/3.9.rst:666 msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " "(Contributed by Dong-hee Na in :issue:`39329`.)" msgstr "" -#: whatsnew/3.9.rst:672 +#: whatsnew/3.9.rst:670 msgid "socket" msgstr "" -#: whatsnew/3.9.rst:674 +#: whatsnew/3.9.rst:672 msgid "" "The :mod:`socket` module now exports the :data:`~socket." "CAN_RAW_JOIN_FILTERS` constant on Linux 4.1 and greater. (Contributed by " "Stefan Tatschner and Zackery Spytz in :issue:`25780`.)" msgstr "" -#: whatsnew/3.9.rst:678 +#: whatsnew/3.9.rst:676 msgid "" "The socket module now supports the :data:`~socket.CAN_J1939` protocol on " "platforms that support it. (Contributed by Karl Ding in :issue:`40291`.)" msgstr "" -#: whatsnew/3.9.rst:681 +#: whatsnew/3.9.rst:679 msgid "" "The socket module now has the :func:`socket.send_fds` and :func:`socket." "recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and " "Victor Stinner in :issue:`28724`.)" msgstr "" -#: whatsnew/3.9.rst:687 +#: whatsnew/3.9.rst:685 msgid "time" msgstr "" -#: whatsnew/3.9.rst:689 +#: whatsnew/3.9.rst:687 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -1035,11 +1019,11 @@ msgid "" "milliseconds. (Contributed by Batuhan Taskaya in :issue:`40192`)" msgstr "" -#: whatsnew/3.9.rst:695 +#: whatsnew/3.9.rst:693 msgid "sys" msgstr "" -#: whatsnew/3.9.rst:697 +#: whatsnew/3.9.rst:695 msgid "" "Added a new :attr:`sys.platlibdir` attribute: name of the platform-specific " "library directory. It is used to build the path of standard library and the " @@ -1049,29 +1033,29 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:703 +#: whatsnew/3.9.rst:701 msgid "" "Previously, :attr:`sys.stderr` was block-buffered when non-interactive. Now " "``stderr`` defaults to always being line-buffered. (Contributed by Jendrik " "Seipp in :issue:`13601`.)" msgstr "" -#: whatsnew/3.9.rst:708 +#: whatsnew/3.9.rst:706 msgid "tracemalloc" msgstr "" -#: whatsnew/3.9.rst:710 +#: whatsnew/3.9.rst:708 msgid "" "Added :func:`tracemalloc.reset_peak` to set the peak size of traced memory " "blocks to the current size, to measure the peak of specific pieces of code. " "(Contributed by Huon Wilson in :issue:`40630`.)" msgstr "" -#: whatsnew/3.9.rst:1498 +#: whatsnew/3.9.rst:1496 msgid "typing" msgstr "" -#: whatsnew/3.9.rst:717 +#: whatsnew/3.9.rst:715 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -1079,20 +1063,20 @@ msgid "" "(Contributed by Till Varoquaux and Konstantin Kashin.)" msgstr "" -#: whatsnew/3.9.rst:723 +#: whatsnew/3.9.rst:721 msgid "unicodedata" msgstr "" -#: whatsnew/3.9.rst:725 +#: whatsnew/3.9.rst:723 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "" -#: whatsnew/3.9.rst:728 +#: whatsnew/3.9.rst:726 msgid "venv" msgstr "" -#: whatsnew/3.9.rst:730 +#: whatsnew/3.9.rst:728 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -1102,11 +1086,11 @@ msgid "" "Cannon in :issue:`37663`.)" msgstr "" -#: whatsnew/3.9.rst:738 +#: whatsnew/3.9.rst:736 msgid "xml" msgstr "" -#: whatsnew/3.9.rst:740 +#: whatsnew/3.9.rst:738 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -1114,32 +1098,32 @@ msgid "" "2.11 of XML spec. (Contributed by Mefistotelis in :issue:`39011`.)" msgstr "" -#: whatsnew/3.9.rst:748 +#: whatsnew/3.9.rst:746 msgid "Optimizations" msgstr "" -#: whatsnew/3.9.rst:750 +#: whatsnew/3.9.rst:748 msgid "" "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``. For example:" msgstr "" -#: whatsnew/3.9.rst:754 +#: whatsnew/3.9.rst:752 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "" -#: whatsnew/3.9.rst:756 +#: whatsnew/3.9.rst:754 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" -#: whatsnew/3.9.rst:759 +#: whatsnew/3.9.rst:757 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "" -#: whatsnew/3.9.rst:761 +#: whatsnew/3.9.rst:759 msgid "" "Optimized signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -1148,27 +1132,27 @@ msgid "" "interpreter can handle signals." msgstr "" -#: whatsnew/3.9.rst:767 +#: whatsnew/3.9.rst:765 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" "issue:`40010`.)" msgstr "" -#: whatsnew/3.9.rst:771 +#: whatsnew/3.9.rst:769 msgid "" "Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " "Stinner in :issue:`38061`.)" msgstr "" -#: whatsnew/3.9.rst:775 +#: whatsnew/3.9.rst:773 msgid "" ":c:func:`PyLong_FromDouble` is now up to 1.87x faster for values that fit " "into :c:expr:`long`. (Contributed by Sergey Fedoseev in :issue:`37986`.)" msgstr "" -#: whatsnew/3.9.rst:779 +#: whatsnew/3.9.rst:777 msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" "class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :" @@ -1176,14 +1160,14 @@ msgid "" "Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)" msgstr "" -#: whatsnew/3.9.rst:784 +#: whatsnew/3.9.rst:782 msgid "" "Optimized :func:`~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ù in :issue:`8425`.)" msgstr "" -#: whatsnew/3.9.rst:788 +#: whatsnew/3.9.rst:786 msgid "" "Python's small object allocator (``obmalloc.c``) now allows (no more than) " "one empty arena to remain available for immediate reuse, without returning " @@ -1192,26 +1176,26 @@ msgid "" "in :issue:`37257`.)" msgstr "" -#: whatsnew/3.9.rst:794 +#: whatsnew/3.9.rst:792 msgid "" ":term:`floor division` of float operation now has a better performance. Also " "the message of :exc:`ZeroDivisionError` for this operation is updated. " "(Contributed by Dong-hee Na in :issue:`39434`.)" msgstr "" -#: whatsnew/3.9.rst:798 +#: whatsnew/3.9.rst:796 msgid "" "Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% " "faster. (Contributed by Inada Naoki in :issue:`37348`.)" msgstr "" -#: whatsnew/3.9.rst:801 +#: whatsnew/3.9.rst:799 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" msgstr "" -#: whatsnew/3.9.rst:848 +#: whatsnew/3.9.rst:846 msgid "" "These results were generated from the variable access benchmark script at: " "``Tools/scripts/var_access_benchmark.py``. The benchmark script displays " @@ -1222,18 +1206,18 @@ msgid "" "python.org/downloads/mac-osx/>`_." msgstr "" -#: whatsnew/3.9.rst:858 +#: whatsnew/3.9.rst:856 msgid "Deprecated" msgstr "" -#: whatsnew/3.9.rst:860 +#: whatsnew/3.9.rst:858 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" "`39586`.)" msgstr "" -#: whatsnew/3.9.rst:864 +#: whatsnew/3.9.rst:862 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1242,7 +1226,7 @@ msgid "" "Serhiy Storchaka in :issue:`37315`.)" msgstr "" -#: whatsnew/3.9.rst:870 +#: whatsnew/3.9.rst:868 msgid "" "The :mod:`parser` and :mod:`symbol` modules are deprecated and will be " "removed in future versions of Python. For the majority of use cases, users " @@ -1250,7 +1234,7 @@ msgid "" "stage, using the :mod:`ast` module." msgstr "" -#: whatsnew/3.9.rst:875 +#: whatsnew/3.9.rst:873 msgid "" "The Public C API functions :c:func:`PyParser_SimpleParseStringFlags`, :c:" "func:`PyParser_SimpleParseStringFlagsFilename`, :c:func:" @@ -1258,7 +1242,7 @@ msgid "" "and will be removed in Python 3.10 together with the old parser." msgstr "" -#: whatsnew/3.9.rst:880 +#: whatsnew/3.9.rst:878 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1266,7 +1250,7 @@ msgid "" "Python. (Contributed by Josh Rosenberg in :issue:`35712`.)" msgstr "" -#: whatsnew/3.9.rst:886 +#: whatsnew/3.9.rst:884 msgid "" "The :mod:`random` module currently accepts any hashable type as a possible " "seed value. Unfortunately, some of those types are not guaranteed to have a " @@ -1275,7 +1259,7 @@ msgid "" "`bytes`, and :class:`bytearray`." msgstr "" -#: whatsnew/3.9.rst:892 +#: whatsnew/3.9.rst:890 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1284,39 +1268,39 @@ msgid "" "issue:`28286`.)" msgstr "" -#: whatsnew/3.9.rst:898 +#: whatsnew/3.9.rst:896 msgid "" "Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " "behavior. (Contributed by Serhiy Storchaka in :issue:`38371`.)" msgstr "" -#: whatsnew/3.9.rst:903 +#: whatsnew/3.9.rst:901 msgid "" "The explicit passing of coroutine objects to :func:`asyncio.wait` has been " "deprecated and will be removed in version 3.11. (Contributed by Yury " "Selivanov and Kyle Stanley in :issue:`34790`.)" msgstr "" -#: whatsnew/3.9.rst:907 +#: whatsnew/3.9.rst:905 msgid "" "binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " "and the following :mod:`binascii` functions are now deprecated:" msgstr "" -#: whatsnew/3.9.rst:910 +#: whatsnew/3.9.rst:908 msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" msgstr "" -#: whatsnew/3.9.rst:911 +#: whatsnew/3.9.rst:909 msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" msgstr "" -#: whatsnew/3.9.rst:913 +#: whatsnew/3.9.rst:911 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "" -#: whatsnew/3.9.rst:915 +#: whatsnew/3.9.rst:913 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1325,7 +1309,7 @@ msgid "" "Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:921 +#: whatsnew/3.9.rst:919 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1334,7 +1318,7 @@ msgid "" "`39969` and Serhiy Storchaka in :issue:`39988`.)" msgstr "" -#: whatsnew/3.9.rst:928 +#: whatsnew/3.9.rst:926 msgid "" "The :c:func:`PyEval_InitThreads` and :c:func:`PyEval_ThreadsInitialized` " "functions are now deprecated and will be removed in Python 3.11. Calling :c:" @@ -1343,20 +1327,20 @@ msgid "" "Stinner in :issue:`39877`.)" msgstr "" -#: whatsnew/3.9.rst:934 +#: whatsnew/3.9.rst:932 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" msgstr "" -#: whatsnew/3.9.rst:937 +#: whatsnew/3.9.rst:935 msgid "" ":func:`smtpd.MailmanProxy` is now deprecated as it is unusable without an " "external module, ``mailman``. (Contributed by Samuel Colvin in :issue:" "`35800`.)" msgstr "" -#: whatsnew/3.9.rst:940 +#: whatsnew/3.9.rst:938 msgid "" "The :mod:`lib2to3` module now emits a :exc:`PendingDeprecationWarning`. " "Python 3.9 switched to a PEG parser (see :pep:`617`), and Python 3.10 may " @@ -1366,22 +1350,22 @@ msgid "" "`parso`_. (Contributed by Carl Meyer in :issue:`40360`.)" msgstr "" -#: whatsnew/3.9.rst:948 +#: whatsnew/3.9.rst:946 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" msgstr "" -#: whatsnew/3.9.rst:1412 +#: whatsnew/3.9.rst:1410 msgid "Removed" msgstr "" -#: whatsnew/3.9.rst:959 +#: whatsnew/3.9.rst:957 msgid "" "The erroneous version at :data:`unittest.mock.__version__` has been removed." msgstr "" -#: whatsnew/3.9.rst:961 +#: whatsnew/3.9.rst:959 msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " "removed. These methods are deprecated since Python 3.3. Generally, these " @@ -1391,14 +1375,14 @@ msgid "" "`39366`.)" msgstr "" -#: whatsnew/3.9.rst:968 +#: whatsnew/3.9.rst:966 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " "since Python 3.2. (Contributed by Victor Stinner in :issue:`38916`.)" msgstr "" -#: whatsnew/3.9.rst:973 +#: whatsnew/3.9.rst:971 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1406,7 +1390,7 @@ msgid "" "3.7. (Contributed by Victor Stinner in :issue:`37414`.)" msgstr "" -#: whatsnew/3.9.rst:978 +#: whatsnew/3.9.rst:976 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1414,21 +1398,21 @@ msgid "" "by Victor Stinner in :issue:`37392`.)" msgstr "" -#: whatsnew/3.9.rst:983 +#: whatsnew/3.9.rst:981 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " "Victor Stinner in :issue:`36710`.)" msgstr "" -#: whatsnew/3.9.rst:987 +#: whatsnew/3.9.rst:985 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " "(Contributed by Victor Stinner in :issue:`37312`.)" msgstr "" -#: whatsnew/3.9.rst:991 +#: whatsnew/3.9.rst:989 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1436,14 +1420,14 @@ msgid "" "Stinner in :issue:`37320`.)" msgstr "" -#: whatsnew/3.9.rst:996 +#: whatsnew/3.9.rst:994 msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " "has been removed. It was deprecated since Python 3.8. Use :meth:`~threading." "Thread.is_alive()` instead. (Contributed by Dong-hee Na in :issue:`37804`.)" msgstr "" -#: whatsnew/3.9.rst:1001 +#: whatsnew/3.9.rst:999 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1453,7 +1437,7 @@ msgid "" "getiterator()``. (Contributed by Serhiy Storchaka in :issue:`36543`.)" msgstr "" -#: whatsnew/3.9.rst:1009 +#: whatsnew/3.9.rst:1007 msgid "" "The old :mod:`plistlib` API has been removed, it was deprecated since Python " "3.4. Use the :func:`~plistlib.load`, :func:`~plistlib.loads`, :func:" @@ -1462,7 +1446,7 @@ msgid "" "are always used instead. (Contributed by Jon Janzen in :issue:`36409`.)" msgstr "" -#: whatsnew/3.9.rst:1015 +#: whatsnew/3.9.rst:1013 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -1470,7 +1454,7 @@ msgid "" "in :issue:`15088`)" msgstr "" -#: whatsnew/3.9.rst:1020 +#: whatsnew/3.9.rst:1018 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -1478,14 +1462,14 @@ msgid "" "`39351`.)" msgstr "" -#: whatsnew/3.9.rst:1025 +#: whatsnew/3.9.rst:1023 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " "Victor Stinner in :issue:`39350`.)" msgstr "" -#: whatsnew/3.9.rst:1029 +#: whatsnew/3.9.rst:1027 msgid "" "The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since " "Python 3.0, it was ignored and using it emitted a :exc:`DeprecationWarning`. " @@ -1493,7 +1477,7 @@ msgid "" "Victor Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1034 +#: whatsnew/3.9.rst:1032 msgid "" "The *encoding* parameter of :func:`json.loads` has been removed. As of " "Python 3.1, it was deprecated and ignored; using it has emitted a :exc:" @@ -1501,7 +1485,7 @@ msgid "" "`39377`)" msgstr "" -#: whatsnew/3.9.rst:1039 +#: whatsnew/3.9.rst:1037 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -1509,7 +1493,7 @@ msgid "" "(Contributed by Andrew Svetlov in :issue:`34793`.)" msgstr "" -#: whatsnew/3.9.rst:1044 +#: whatsnew/3.9.rst:1042 msgid "" "The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" @@ -1518,7 +1502,7 @@ msgid "" "`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1050 +#: whatsnew/3.9.rst:1048 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " "been removed. It was deprecated since Python 3.8. Use the " @@ -1526,14 +1510,14 @@ msgid "" "issue:`40182`.)" msgstr "" -#: whatsnew/3.9.rst:1055 +#: whatsnew/3.9.rst:1053 msgid "" "The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " "(Contributed by Batuhan Taskaya in :issue:`40208`)" msgstr "" -#: whatsnew/3.9.rst:1059 +#: whatsnew/3.9.rst:1057 msgid "" "The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks` " "have been removed. They were deprecated since Python 3.7 and you can use :" @@ -1541,7 +1525,7 @@ msgid "" "(Contributed by Rémi Lapeyre in :issue:`40967`)" msgstr "" -#: whatsnew/3.9.rst:1064 +#: whatsnew/3.9.rst:1062 msgid "" "The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " "been removed (it was deprecated since Python 3.4). :func:`html.unescape` " @@ -1549,21 +1533,21 @@ msgid "" "unicode characters." msgstr "" -#: whatsnew/3.9.rst:1338 +#: whatsnew/3.9.rst:1336 msgid "Porting to Python 3.9" msgstr "" -#: whatsnew/3.9.rst:1073 +#: whatsnew/3.9.rst:1071 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.9.rst:1078 +#: whatsnew/3.9.rst:1076 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.9.rst:1080 +#: whatsnew/3.9.rst:1078 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -1571,26 +1555,26 @@ msgid "" "versions will need to catch both using ``except (ImportError, ValueError):``." msgstr "" -#: whatsnew/3.9.rst:1085 +#: whatsnew/3.9.rst:1083 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." msgstr "" -#: whatsnew/3.9.rst:1088 +#: whatsnew/3.9.rst:1086 msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :data:" "`~errno.EBADF` error. (Contributed by Victor Stinner in :issue:`39239`.)" msgstr "" -#: whatsnew/3.9.rst:1092 +#: whatsnew/3.9.rst:1090 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " "Stinner in :issue:`39357`.)" msgstr "" -#: whatsnew/3.9.rst:1096 +#: whatsnew/3.9.rst:1094 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -1598,21 +1582,21 @@ msgid "" "Load())``. (Contributed by Serhiy Storchaka in :issue:`34822`.)" msgstr "" -#: whatsnew/3.9.rst:1102 +#: whatsnew/3.9.rst:1100 msgid "" "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 "" -#: whatsnew/3.9.rst:1106 +#: whatsnew/3.9.rst:1104 msgid "" "The *encoding* parameter has been added to the classes :class:`ftplib.FTP` " "and :class:`ftplib.FTP_TLS` as a keyword-only parameter, and the default " "encoding is changed from Latin-1 to UTF-8 to follow :rfc:`2640`." msgstr "" -#: whatsnew/3.9.rst:1110 +#: whatsnew/3.9.rst:1108 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -1620,7 +1604,7 @@ msgid "" "issue:`34037`.)" msgstr "" -#: whatsnew/3.9.rst:1115 +#: whatsnew/3.9.rst:1113 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -1628,7 +1612,7 @@ msgid "" "(Contributed by Batuhan Taskaya in :issue:`39562`)" msgstr "" -#: whatsnew/3.9.rst:1120 +#: whatsnew/3.9.rst:1118 msgid "" "``array('u')`` now uses ``wchar_t`` as C type instead of ``Py_UNICODE``. " "This change doesn't affect to its behavior because ``Py_UNICODE`` is alias " @@ -1636,7 +1620,7 @@ msgid "" "`34538`.)" msgstr "" -#: whatsnew/3.9.rst:1125 +#: whatsnew/3.9.rst:1123 msgid "" "The :func:`logging.getLogger` API now returns the root logger when passed " "the name ``'root'``, whereas previously it returned a non-root logger named " @@ -1646,7 +1630,7 @@ msgid "" "(Contributed by Vinay Sajip in :issue:`37742`.)" msgstr "" -#: whatsnew/3.9.rst:1132 +#: whatsnew/3.9.rst:1130 msgid "" "Division handling of :class:`~pathlib.PurePath` now returns " "``NotImplemented`` instead of raising a :exc:`TypeError` when passed " @@ -1655,7 +1639,7 @@ msgid "" "mentioned types. (Contributed by Roger Aiudi in :issue:`34775`)." msgstr "" -#: whatsnew/3.9.rst:1138 +#: whatsnew/3.9.rst:1136 msgid "" "Starting with Python 3.9.5 the :mod:`ipaddress` module no longer accepts any " "leading zeros in IPv4 address strings. Leading zeros are ambiguous and " @@ -1665,7 +1649,7 @@ msgid "" "leading zeros. (Contributed by Christian Heimes in :issue:`36384`)." msgstr "" -#: whatsnew/3.9.rst:1146 +#: whatsnew/3.9.rst:1144 msgid "" ":func:`codecs.lookup` now normalizes the encoding name the same way as :func:" "`encodings.normalize_encoding`, except that :func:`codecs.lookup` also " @@ -1674,11 +1658,11 @@ msgid "" "in :issue:`37751`.)" msgstr "" -#: whatsnew/3.9.rst:1154 +#: whatsnew/3.9.rst:1152 msgid "Changes in the C API" msgstr "" -#: whatsnew/3.9.rst:1156 +#: whatsnew/3.9.rst:1154 msgid "" "Instances of :ref:`heap-allocated types ` (such as those created " "with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their " @@ -1689,7 +1673,7 @@ msgid "" "heap-allocated types visit the object's type." msgstr "" -#: whatsnew/3.9.rst:1177 +#: whatsnew/3.9.rst:1175 msgid "" "If your traverse function delegates to ``tp_traverse`` of its base class (or " "another type), ensure that ``Py_TYPE(self)`` is visited only once. Note that " @@ -1697,19 +1681,19 @@ msgid "" "``tp_traverse``." msgstr "" -#: whatsnew/3.9.rst:1182 +#: whatsnew/3.9.rst:1180 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "" -#: whatsnew/3.9.rst:1188 +#: whatsnew/3.9.rst:1186 msgid "then add:" msgstr "" -#: whatsnew/3.9.rst:1201 +#: whatsnew/3.9.rst:1199 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1203 +#: whatsnew/3.9.rst:1201 msgid "" "The functions ``PyEval_CallObject``, ``PyEval_CallFunction``, " "``PyEval_CallMethod`` and ``PyEval_CallObjectWithKeywords`` are deprecated. " @@ -1717,11 +1701,11 @@ msgid "" "issue:`29548`.)" msgstr "" -#: whatsnew/3.9.rst:1209 +#: whatsnew/3.9.rst:1207 msgid "CPython bytecode changes" msgstr "" -#: whatsnew/3.9.rst:1211 +#: whatsnew/3.9.rst:1209 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -1729,37 +1713,37 @@ msgid "" "(Contributed by Zackery Spytz in :issue:`34880`.)" msgstr "" -#: whatsnew/3.9.rst:1216 +#: whatsnew/3.9.rst:1214 msgid "" "The :opcode:`COMPARE_OP` opcode was split into four distinct instructions:" msgstr "" -#: whatsnew/3.9.rst:1218 +#: whatsnew/3.9.rst:1216 msgid "``COMPARE_OP`` for rich comparisons" msgstr "" -#: whatsnew/3.9.rst:1219 +#: whatsnew/3.9.rst:1217 msgid "``IS_OP`` for 'is' and 'is not' tests" msgstr "" -#: whatsnew/3.9.rst:1220 +#: whatsnew/3.9.rst:1218 msgid "``CONTAINS_OP`` for 'in' and 'not in' tests" msgstr "" -#: whatsnew/3.9.rst:1221 +#: whatsnew/3.9.rst:1219 msgid "" "``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements." msgstr "" -#: whatsnew/3.9.rst:1224 +#: whatsnew/3.9.rst:1222 msgid "(Contributed by Mark Shannon in :issue:`39156`.)" msgstr "" -#: whatsnew/3.9.rst:1228 +#: whatsnew/3.9.rst:1226 msgid "Build Changes" msgstr "" -#: whatsnew/3.9.rst:1230 +#: whatsnew/3.9.rst:1228 msgid "" "Added ``--with-platlibdir`` option to the ``configure`` script: name of the " "platform-specific library directory, stored in the new :attr:`sys." @@ -1768,26 +1752,26 @@ msgid "" "and Victor Stinner in :issue:`1294959`.)" msgstr "" -#: whatsnew/3.9.rst:1236 +#: whatsnew/3.9.rst:1234 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" msgstr "" -#: whatsnew/3.9.rst:1239 +#: whatsnew/3.9.rst:1237 msgid "" "On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " "in :issue:`39395`.)" msgstr "" -#: whatsnew/3.9.rst:1243 +#: whatsnew/3.9.rst:1241 msgid "" "On non-Windows platforms, creating ``bdist_wininst`` installers is now " "officially unsupported. (See :issue:`10945` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1246 +#: whatsnew/3.9.rst:1244 msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -1798,13 +1782,13 @@ msgid "" "(Contributed by Ned Deily in :issue:`34956`.)" msgstr "" -#: whatsnew/3.9.rst:1255 +#: whatsnew/3.9.rst:1253 msgid "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" msgstr "" -#: whatsnew/3.9.rst:1258 +#: whatsnew/3.9.rst:1256 msgid "" "Some individual tests are now skipped when ``--pgo`` is used. The tests in " "question increased the PGO task time significantly and likely didn't help " @@ -1820,11 +1804,11 @@ msgid "" "details.)" msgstr "" -#: whatsnew/3.9.rst:1273 +#: whatsnew/3.9.rst:1271 msgid "C API Changes" msgstr "" -#: whatsnew/3.9.rst:1278 +#: whatsnew/3.9.rst:1276 msgid "" ":pep:`573`: Added :c:func:`PyType_FromModuleAndSpec` to associate a module " "with a class; :c:func:`PyType_GetModule` and :c:func:`PyType_GetModuleState` " @@ -1833,20 +1817,20 @@ msgid "" "(Contributed by Marcel Plch and Petr Viktorin in :issue:`38787`.)" msgstr "" -#: whatsnew/3.9.rst:1285 +#: whatsnew/3.9.rst:1283 msgid "" "Added :c:func:`PyFrame_GetCode` function: get a frame code. Added :c:func:" "`PyFrame_GetBack` function: get the frame next outer frame. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1289 +#: whatsnew/3.9.rst:1287 msgid "" "Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" msgstr "" -#: whatsnew/3.9.rst:1292 +#: whatsnew/3.9.rst:1290 msgid "" "Added :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Added :c:func:" @@ -1856,7 +1840,7 @@ msgid "" "issue:`39947`.)" msgstr "" -#: whatsnew/3.9.rst:1300 +#: whatsnew/3.9.rst:1298 msgid "" "Added a new public :c:func:`PyObject_CallNoArgs` function to the C API, " "which calls a callable Python object without any arguments. It is the most " @@ -1864,11 +1848,11 @@ msgid "" "(Contributed by Victor Stinner in :issue:`37194`.)" msgstr "" -#: whatsnew/3.9.rst:1423 +#: whatsnew/3.9.rst:1421 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" -#: whatsnew/3.9.rst:1307 +#: whatsnew/3.9.rst:1305 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -1877,23 +1861,23 @@ msgid "" "the limited C API)." msgstr "" -#: whatsnew/3.9.rst:1313 +#: whatsnew/3.9.rst:1311 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." msgstr "" -#: whatsnew/3.9.rst:1450 +#: whatsnew/3.9.rst:1448 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" -#: whatsnew/3.9.rst:1318 +#: whatsnew/3.9.rst:1316 msgid "" "The :c:func:`PyModule_AddType` function is added to help adding a type to a " "module. (Contributed by Dong-hee Na in :issue:`40024`.)" msgstr "" -#: whatsnew/3.9.rst:1322 +#: whatsnew/3.9.rst:1320 msgid "" "Added the functions :c:func:`PyObject_GC_IsTracked` and :c:func:" "`PyObject_GC_IsFinalized` to the public API to allow to query if Python " @@ -1902,27 +1886,27 @@ msgid "" "issue:`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1328 +#: whatsnew/3.9.rst:1326 msgid "" "Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string " "representation of a function-like object. (Patch by Jeroen Demeyer in :issue:" "`37645`.)" msgstr "" -#: whatsnew/3.9.rst:1332 +#: whatsnew/3.9.rst:1330 msgid "" "Added :c:func:`PyObject_CallOneArg` for calling an object with one " "positional argument (Patch by Jeroen Demeyer in :issue:`37483`.)" msgstr "" -#: whatsnew/3.9.rst:1340 +#: whatsnew/3.9.rst:1338 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" "issue:`38500`.)" msgstr "" -#: whatsnew/3.9.rst:1344 +#: whatsnew/3.9.rst:1342 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -1934,12 +1918,12 @@ msgid "" "`PyModule_GetState`) is ``NULL``." msgstr "" -#: whatsnew/3.9.rst:1353 +#: whatsnew/3.9.rst:1351 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" -#: whatsnew/3.9.rst:1355 +#: whatsnew/3.9.rst:1353 msgid "" "If :c:func:`Py_AddPendingCall` is called in a subinterpreter, the function " "is now scheduled to be called from the subinterpreter, rather than being " @@ -1947,7 +1931,7 @@ msgid "" "of scheduled calls. (Contributed by Victor Stinner in :issue:`39984`.)" msgstr "" -#: whatsnew/3.9.rst:1361 +#: whatsnew/3.9.rst:1359 msgid "" "The Windows registry is no longer used to initialize :data:`sys.path` when " "the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to " @@ -1955,21 +1939,21 @@ msgid "" "by Zackery Spytz in :issue:`8901`.)" msgstr "" -#: whatsnew/3.9.rst:1366 +#: whatsnew/3.9.rst:1364 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " "in :issue:`38650`.)" msgstr "" -#: whatsnew/3.9.rst:1370 +#: whatsnew/3.9.rst:1368 msgid "" "The :c:type:`PyGC_Head` structure is now opaque. It is only defined in the " "internal C API (``pycore_gc.h``). (Contributed by Victor Stinner in :issue:" "`40241`.)" msgstr "" -#: whatsnew/3.9.rst:1374 +#: whatsnew/3.9.rst:1372 msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" "func:`PyUnicode_FromUnicode`, :c:func:`PyUnicode_AsUnicode`, " @@ -1978,7 +1962,7 @@ msgid "" "Python 3.3. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1381 +#: whatsnew/3.9.rst:1379 msgid "" "The :c:func:`Py_FatalError` function is replaced with a macro which logs " "automatically the name of the current function, unless the " @@ -1986,22 +1970,22 @@ msgid "" "issue:`39882`.)" msgstr "" -#: whatsnew/3.9.rst:1386 +#: whatsnew/3.9.rst:1384 msgid "" "The vectorcall protocol now requires that the caller passes only strings as " "keyword names. (See :issue:`37540` for more information.)" msgstr "" -#: whatsnew/3.9.rst:1389 +#: whatsnew/3.9.rst:1387 msgid "" "Implementation details of a number of macros and functions are now hidden:" msgstr "" -#: whatsnew/3.9.rst:1391 +#: whatsnew/3.9.rst:1389 msgid ":c:func:`PyObject_IS_GC` macro was converted to a function." msgstr "" -#: whatsnew/3.9.rst:1393 +#: whatsnew/3.9.rst:1391 msgid "" "The :c:func:`PyObject_NEW` macro becomes an alias to the :c:func:" "`PyObject_New` macro, and the :c:func:`PyObject_NEW_VAR` macro becomes an " @@ -2009,38 +1993,38 @@ msgid "" "the :c:member:`PyTypeObject.tp_basicsize` member." msgstr "" -#: whatsnew/3.9.rst:1398 +#: whatsnew/3.9.rst:1396 msgid "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " "the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset` " "member." msgstr "" -#: whatsnew/3.9.rst:1402 +#: whatsnew/3.9.rst:1400 msgid "" ":c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro " "accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." msgstr "" -#: whatsnew/3.9.rst:1405 +#: whatsnew/3.9.rst:1403 msgid "" ":c:func:`PyIndex_Check` is now always declared as an opaque function to hide " "implementation details: removed the ``PyIndex_Check()`` macro. The macro " "accessed directly the :c:member:`PyTypeObject.tp_as_number` member." msgstr "" -#: whatsnew/3.9.rst:1409 +#: whatsnew/3.9.rst:1407 msgid "(See :issue:`40170` for more details.)" msgstr "" -#: whatsnew/3.9.rst:1414 +#: whatsnew/3.9.rst:1412 msgid "" "Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" "`38835`.)" msgstr "" -#: whatsnew/3.9.rst:1418 +#: whatsnew/3.9.rst:1416 msgid "" "The ``tp_print`` slot of :ref:`PyTypeObject ` has been " "removed. It was used for printing objects to files in Python 2.7 and before. " @@ -2048,89 +2032,89 @@ msgid "" "Demeyer in :issue:`36974`.)" msgstr "" -#: whatsnew/3.9.rst:1425 +#: whatsnew/3.9.rst:1423 msgid "Excluded the following functions from the limited C API:" msgstr "" -#: whatsnew/3.9.rst:1427 +#: whatsnew/3.9.rst:1425 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" msgstr "" -#: whatsnew/3.9.rst:1429 +#: whatsnew/3.9.rst:1427 msgid "``_Py_CheckRecursionLimit``" msgstr "" -#: whatsnew/3.9.rst:1430 +#: whatsnew/3.9.rst:1428 msgid "``_Py_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1431 +#: whatsnew/3.9.rst:1429 msgid "``_Py_ForgetReference()``" msgstr "" -#: whatsnew/3.9.rst:1432 +#: whatsnew/3.9.rst:1430 msgid "``_PyTraceMalloc_NewReference()``" msgstr "" -#: whatsnew/3.9.rst:1433 +#: whatsnew/3.9.rst:1431 msgid "``_Py_GetRefTotal()``" msgstr "" -#: whatsnew/3.9.rst:1434 +#: whatsnew/3.9.rst:1432 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "" -#: whatsnew/3.9.rst:1435 +#: whatsnew/3.9.rst:1433 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "" -#: whatsnew/3.9.rst:1436 +#: whatsnew/3.9.rst:1434 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "" -#: whatsnew/3.9.rst:1437 +#: whatsnew/3.9.rst:1435 msgid "``Py_TRASHCAN_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1438 +#: whatsnew/3.9.rst:1436 msgid "``Py_TRASHCAN_END``" msgstr "" -#: whatsnew/3.9.rst:1439 +#: whatsnew/3.9.rst:1437 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "" -#: whatsnew/3.9.rst:1440 +#: whatsnew/3.9.rst:1438 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "" -#: whatsnew/3.9.rst:1442 +#: whatsnew/3.9.rst:1440 msgid "Moved following functions and definitions to the internal C API:" msgstr "" -#: whatsnew/3.9.rst:1444 +#: whatsnew/3.9.rst:1442 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "" -#: whatsnew/3.9.rst:1445 +#: whatsnew/3.9.rst:1443 msgid "``_Py_PrintReferences()``" msgstr "" -#: whatsnew/3.9.rst:1446 +#: whatsnew/3.9.rst:1444 msgid "``_Py_PrintReferenceAddresses()``" msgstr "" -#: whatsnew/3.9.rst:1447 +#: whatsnew/3.9.rst:1445 msgid "``_Py_tracemalloc_config``" msgstr "" -#: whatsnew/3.9.rst:1448 +#: whatsnew/3.9.rst:1446 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "" -#: whatsnew/3.9.rst:1452 +#: whatsnew/3.9.rst:1450 msgid "" "Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -2138,72 +2122,72 @@ msgid "" "(Contributed by Victor Stinner in :issue:`39946`.)" msgstr "" -#: whatsnew/3.9.rst:1457 +#: whatsnew/3.9.rst:1455 msgid "" "Removed the following functions from the C API. Call :c:func:`PyGC_Collect` " "explicitly to clear all free lists. (Contributed by Inada Naoki and Victor " "Stinner in :issue:`37340`, :issue:`38896` and :issue:`40428`.)" msgstr "" -#: whatsnew/3.9.rst:1462 +#: whatsnew/3.9.rst:1460 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "" -#: whatsnew/3.9.rst:1463 +#: whatsnew/3.9.rst:1461 msgid "``PyContext_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1464 +#: whatsnew/3.9.rst:1462 msgid "``PyDict_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1465 +#: whatsnew/3.9.rst:1463 msgid "``PyFloat_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1466 +#: whatsnew/3.9.rst:1464 msgid "``PyFrame_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1467 +#: whatsnew/3.9.rst:1465 msgid "``PyList_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1468 +#: whatsnew/3.9.rst:1466 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." msgstr "" -#: whatsnew/3.9.rst:1470 +#: whatsnew/3.9.rst:1468 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "" -#: whatsnew/3.9.rst:1472 +#: whatsnew/3.9.rst:1470 msgid "``PyTuple_ClearFreeList()``" msgstr "" -#: whatsnew/3.9.rst:1473 +#: whatsnew/3.9.rst:1471 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." msgstr "" -#: whatsnew/3.9.rst:1476 +#: whatsnew/3.9.rst:1474 msgid "" "Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" msgstr "" -#: whatsnew/3.9.rst:1479 +#: whatsnew/3.9.rst:1477 msgid "" "Removed ``Py_UNICODE_MATCH``. It has been deprecated by :pep:`393`, and " "broken since Python 3.3. The :c:func:`PyUnicode_Tailmatch` function can be " "used instead. (Contributed by Inada Naoki in :issue:`36346`.)" msgstr "" -#: whatsnew/3.9.rst:1484 +#: whatsnew/3.9.rst:1482 msgid "" "Cleaned header files of interfaces defined but with no implementation. The " "public API symbols being removed are: " @@ -2216,26 +2200,26 @@ msgid "" "`39372`.)" msgstr "" -#: whatsnew/3.9.rst:1495 +#: whatsnew/3.9.rst:1493 msgid "Notable changes in Python 3.9.1" msgstr "" -#: whatsnew/3.9.rst:1500 +#: whatsnew/3.9.rst:1498 msgid "" "The behavior of :class:`typing.Literal` was changed to conform with :pep:" "`586` and to match the behavior of static type checkers specified in the PEP." msgstr "" -#: whatsnew/3.9.rst:1503 +#: whatsnew/3.9.rst:1501 msgid "``Literal`` now de-duplicates parameters." msgstr "" -#: whatsnew/3.9.rst:1504 +#: whatsnew/3.9.rst:1502 msgid "" "Equality comparisons between ``Literal`` objects are now order independent." msgstr "" -#: whatsnew/3.9.rst:1505 +#: whatsnew/3.9.rst:1503 msgid "" "``Literal`` comparisons now respect types. For example, ``Literal[0] == " "Literal[False]`` previously evaluated to ``True``. It is now ``False``. To " @@ -2243,7 +2227,7 @@ msgid "" "differentiating types." msgstr "" -#: whatsnew/3.9.rst:1509 +#: whatsnew/3.9.rst:1507 msgid "" "``Literal`` objects will now raise a :exc:`TypeError` exception during " "equality comparisons if any of their parameters are not :term:`hashable`. " @@ -2251,15 +2235,15 @@ msgid "" "error::" msgstr "" -#: whatsnew/3.9.rst:1521 +#: whatsnew/3.9.rst:1519 msgid "(Contributed by Yurii Karabas in :issue:`42345`.)" msgstr "" -#: whatsnew/3.9.rst:1524 +#: whatsnew/3.9.rst:1522 msgid "macOS 11.0 (Big Sur) and Apple Silicon Mac support" msgstr "" -#: whatsnew/3.9.rst:1526 +#: whatsnew/3.9.rst:1524 msgid "" "As of 3.9.1, Python now fully supports building and running on macOS 11.0 " "(Big Sur) and on Apple Silicon Macs (based on the ``ARM64`` architecture). A " @@ -2271,19 +2255,19 @@ msgid "" "version in use at runtime (\"weaklinking\")." msgstr "" -#: whatsnew/3.9.rst:1535 +#: whatsnew/3.9.rst:1533 msgid "(Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)" msgstr "" -#: whatsnew/3.9.rst:1538 +#: whatsnew/3.9.rst:1536 msgid "Notable changes in Python 3.9.2" msgstr "" -#: whatsnew/3.9.rst:1541 +#: whatsnew/3.9.rst:1539 msgid "collections.abc" msgstr "" -#: whatsnew/3.9.rst:1543 +#: whatsnew/3.9.rst:1541 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -2299,11 +2283,11 @@ msgid "" "Python 3.10. (Contributed by Ken Jin in :issue:`42195`.)" msgstr "" -#: whatsnew/3.9.rst:1557 +#: whatsnew/3.9.rst:1555 msgid "urllib.parse" msgstr "" -#: whatsnew/3.9.rst:1559 +#: whatsnew/3.9.rst:1557 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." diff --git a/whatsnew/changelog.po b/whatsnew/changelog.po deleted file mode 100644 index dd089c95a..000000000 --- a/whatsnew/changelog.po +++ /dev/null @@ -1,54622 +0,0 @@ -# Python Documentation Turkish Translation -# Copyright (C) 2001-2022, Python Software Foundation -# This file is distributed under the same license as the Python package. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: Python 3.11\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: \n" -"Language-Team: TURKISH \n" -"Language: tr\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" - -#: whatsnew/changelog.rst:5 -msgid "Changelog" -msgstr "" - -#: ../build/NEWS:5 -msgid "Python next" -msgstr "" - -#: ../build/NEWS:7 -msgid "*Release date: XXXX-XX-XX*" -msgstr "" - -#: ../build/NEWS:10 ../build/NEWS:589 ../build/NEWS:721 ../build/NEWS:1214 -#: ../build/NEWS:1875 ../build/NEWS:5511 ../build/NEWS:7413 ../build/NEWS:8117 -#: ../build/NEWS:8542 ../build/NEWS:8776 ../build/NEWS:9400 ../build/NEWS:9974 -#: ../build/NEWS:10324 ../build/NEWS:11492 ../build/NEWS:11845 -#: ../build/NEWS:12297 ../build/NEWS:12803 ../build/NEWS:13505 -#: ../build/NEWS:13890 ../build/NEWS:15841 ../build/NEWS:16597 -#: ../build/NEWS:17141 ../build/NEWS:17671 ../build/NEWS:21202 -#: ../build/NEWS:21420 ../build/NEWS:23148 ../build/NEWS:25599 -#: ../build/NEWS:26366 ../build/NEWS:26829 ../build/NEWS:26856 -#: ../build/NEWS:28900 ../build/NEWS:29111 ../build/NEWS:29402 -#: ../build/NEWS:30698 ../build/NEWS:30757 ../build/NEWS:31174 -#: ../build/NEWS:31877 -msgid "Security" -msgstr "" - -#: ../build/NEWS:12 -msgid "" -":gh:`100001`: ``python -m http.server`` no longer allows terminal control " -"characters sent within a garbage request to be printed to the stderr server " -"log." -msgstr "" - -#: ../build/NEWS:16 -msgid "" -"This is done by changing the :mod:`http.server` :class:" -"`BaseHTTPRequestHandler` ``.log_message`` method to replace control " -"characters with a ``\\xHH`` hex escape before printing." -msgstr "" - -#: ../build/NEWS:20 -msgid "" -":gh:`87604`: Avoid publishing list of active per-interpreter audit hooks via " -"the :mod:`gc` module" -msgstr "" - -#: ../build/NEWS:23 -msgid "" -":gh:`98433`: The IDNA codec decoder used on DNS hostnames by :mod:`socket` " -"or :mod:`asyncio` related name resolution functions no longer involves a " -"quadratic algorithm. This prevents a potential CPU denial of service if an " -"out-of-spec excessive length hostname involving bidirectional characters " -"were decoded. Some protocols such as :mod:`urllib` http ``3xx`` redirects " -"potentially allow for an attacker to supply such a name." -msgstr "" - -#: ../build/NEWS:31 -msgid ":gh:`98739`: Update bundled libexpat to 2.5.0" -msgstr "" - -#: ../build/NEWS:33 -msgid "" -":gh:`97612`: Fix a shell code injection vulnerability in the ``get-remote-" -"certificate.py`` example script. The script no longer uses a shell to run " -"``openssl`` commands. Issue reported and initial fix by Caleb Shortt. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:39 ../build/NEWS:613 ../build/NEWS:741 ../build/NEWS:893 -#: ../build/NEWS:1073 ../build/NEWS:1232 ../build/NEWS:1650 ../build/NEWS:1671 -#: ../build/NEWS:1882 ../build/NEWS:2645 ../build/NEWS:3246 ../build/NEWS:3687 -#: ../build/NEWS:4069 ../build/NEWS:4503 ../build/NEWS:4985 ../build/NEWS:5538 -#: ../build/NEWS:7469 ../build/NEWS:8139 ../build/NEWS:8549 ../build/NEWS:8782 -#: ../build/NEWS:9039 ../build/NEWS:9407 ../build/NEWS:9985 ../build/NEWS:10345 -#: ../build/NEWS:11498 ../build/NEWS:11860 ../build/NEWS:12304 -#: ../build/NEWS:12814 ../build/NEWS:13156 ../build/NEWS:13523 -#: ../build/NEWS:13939 ../build/NEWS:15856 ../build/NEWS:16615 -#: ../build/NEWS:17153 ../build/NEWS:17458 ../build/NEWS:17720 -#: ../build/NEWS:20700 ../build/NEWS:20812 ../build/NEWS:21025 -#: ../build/NEWS:21216 ../build/NEWS:21426 ../build/NEWS:21670 -#: ../build/NEWS:21989 ../build/NEWS:22293 ../build/NEWS:22893 -#: ../build/NEWS:23182 ../build/NEWS:25272 ../build/NEWS:25609 -#: ../build/NEWS:25926 ../build/NEWS:26375 ../build/NEWS:26863 -#: ../build/NEWS:27205 ../build/NEWS:27229 ../build/NEWS:27553 -#: ../build/NEWS:27583 ../build/NEWS:27647 ../build/NEWS:27761 -#: ../build/NEWS:27885 ../build/NEWS:28153 ../build/NEWS:28662 -#: ../build/NEWS:28909 ../build/NEWS:29123 ../build/NEWS:29415 -#: ../build/NEWS:30721 ../build/NEWS:30782 ../build/NEWS:31183 -#: ../build/NEWS:31856 ../build/NEWS:31899 ../build/NEWS:32607 -#: ../build/NEWS:32625 ../build/NEWS:33148 ../build/NEWS:33183 -#: ../build/NEWS:33211 ../build/NEWS:33303 ../build/NEWS:33390 -#: ../build/NEWS:33495 ../build/NEWS:33538 ../build/NEWS:33814 -#: ../build/NEWS:34049 ../build/NEWS:34235 ../build/NEWS:34374 -msgid "Core and Builtins" -msgstr "" - -#: ../build/NEWS:41 -msgid "" -":gh:`99886`: Fix a crash when an object which does not have a dictionary " -"frees its instance values." -msgstr "" - -#: ../build/NEWS:44 -msgid "" -":gh:`99891`: Fix a bug in the tokenizer that could cause infinite recursion " -"when showing syntax warnings that happen in the first line of the source. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:48 -msgid "" -":gh:`99578`: Fix a reference bug in :func:`_imp.create_builtin()` after the " -"creation of the first sub-interpreter for modules ``builtins`` and ``sys``. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:52 -msgid "" -":gh:`99581`: Fixed a bug that was causing a buffer overflow if the tokenizer " -"copies a line missing the newline caracter from a file that is as long as " -"the available tokenizer buffer. Patch by Pablo galindo" -msgstr "" - -#: ../build/NEWS:56 -msgid "" -":gh:`99553`: Fix bug where an :exc:`ExceptionGroup` subclass can wrap a :exc:" -"`BaseException`." -msgstr "" - -#: ../build/NEWS:59 -msgid "" -":gh:`99370`: Fix zip path for venv created from a non-installed python on " -"POSIX platforms." -msgstr "" - -#: ../build/NEWS:62 -msgid "" -":gh:`99298`: Fix an issue that could potentially cause incorrect error " -"handling for some bytecode instructions." -msgstr "" - -#: ../build/NEWS:65 -msgid "" -":gh:`99205`: Fix an issue that prevented :c:type:`PyThreadState` and :c:type:" -"`PyInterpreterState` memory from being freed properly." -msgstr "" - -#: ../build/NEWS:68 -msgid "" -":gh:`99181`: Fix failure in :keyword:`except* ` with unhashable " -"exceptions." -msgstr "" - -#: ../build/NEWS:71 -msgid "" -":gh:`99204`: Fix calculation of :data:`sys._base_executable` when inside a " -"POSIX virtual environment using copies of the python binary when the base " -"installation does not provide the executable name used by the venv. " -"Calculation will fall back to alternative names (\"python\", " -"\"python.\")." -msgstr "" - -#: ../build/NEWS:77 -msgid "" -":gh:`96055`: Update :mod:`faulthandler` to emit an error message with the " -"proper unexpected signal number. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:80 -msgid "" -":gh:`99153`: Fix location of :exc:`SyntaxError` for a :keyword:`try` block " -"with both :keyword:`except` and :keyword:`except* `." -msgstr "" - -#: ../build/NEWS:83 -msgid "" -":gh:`99103`: Fix the error reporting positions of specialized traceback " -"anchors when the source line contains Unicode characters." -msgstr "" - -#: ../build/NEWS:86 -msgid "" -":gh:`98852`: Fix subscription of type aliases containing bare generic types " -"or types like :class:`~typing.TypeVar`: for example ``tuple[A, T][int]`` and " -"``tuple[TypeVar, T][int]``, where ``A`` is a generic type, and ``T`` is a " -"type variable." -msgstr "" - -#: ../build/NEWS:91 -msgid "" -":gh:`98925`: Lower the recursion depth for marshal on WASI to support " -"wasmtime 2.0/main." -msgstr "" - -#: ../build/NEWS:94 -msgid "" -":gh:`98783`: Fix multiple crashes in debug mode when ``str`` subclasses are " -"used instead of ``str`` itself." -msgstr "" - -#: ../build/NEWS:97 -msgid "" -":gh:`99257`: Fix an issue where member descriptors (such as those for :attr:" -"`~object.__slots__`) could behave incorrectly or crash instead of raising a :" -"exc:`TypeError` when accessed via an instance of an invalid type." -msgstr "" - -#: ../build/NEWS:102 -msgid "" -":gh:`98374`: Suppress ImportError for invalid query for help() command. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:105 -msgid "" -":gh:`98415`: Fix detection of MAC addresses for :mod:`uuid` on certain OSs. " -"Patch by Chaim Sanders" -msgstr "" - -#: ../build/NEWS:108 -msgid "" -":gh:`92119`: Print exception class name instead of its string representation " -"when raising errors from :mod:`ctypes` calls." -msgstr "" - -#: ../build/NEWS:111 -msgid "" -":gh:`96078`: :func:`os.sched_yield` now release the GIL while calling " -"sched_yield(2). Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:114 -msgid "" -":gh:`93354`: Fix an issue that could delay the specialization of :opcode:" -"`PRECALL` instructions." -msgstr "" - -#: ../build/NEWS:117 -msgid "" -":gh:`97943`: Bugfix: :func:`PyFunction_GetAnnotations` should return a " -"borrowed reference. It was returning a new reference." -msgstr "" - -#: ../build/NEWS:120 -msgid "" -":gh:`97779`: Ensure that all Python frame objects are backed by \"complete\" " -"frames." -msgstr "" - -#: ../build/NEWS:123 -msgid "" -":gh:`97591`: Fixed a missing incref/decref pair in ``Exception." -"__setstate__()``. Patch by Ofey Chan." -msgstr "" - -#: ../build/NEWS:126 -msgid "" -":gh:`94526`: Fix the Python path configuration used to initialized :data:" -"`sys.path` at Python startup. Paths are no longer encoded to UTF-8/strict to " -"avoid encoding errors if it contains surrogate characters (bytes paths are " -"decoded with the surrogateescape error handler). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:132 -msgid "" -":gh:`95921`: Fix overly-broad source position information for chained " -"comparisons used as branching conditions." -msgstr "" - -#: ../build/NEWS:135 -msgid "" -":gh:`96387`: At Python exit, sometimes a thread holding the GIL can wait " -"forever for a thread (usually a daemon thread) which requested to drop the " -"GIL, whereas the thread already exited. To fix the race condition, the " -"thread which requested the GIL drop now resets its request before exiting. " -"Issue discovered and analyzed by Mingliang ZHAO. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:142 -msgid "" -":gh:`96864`: Fix a possible assertion failure, fatal error, or :exc:" -"`SystemError` if a line tracing event raises an exception while opcode " -"tracing is enabled." -msgstr "" - -#: ../build/NEWS:146 -msgid "" -":gh:`96678`: Fix undefined behaviour in C code of null pointer arithmetic." -msgstr "" - -#: ../build/NEWS:149 -msgid "" -":gh:`96754`: Make sure that all frame objects created are created from valid " -"interpreter frames. Prevents the possibility of invalid frames in backtraces " -"and signal handlers." -msgstr "" - -#: ../build/NEWS:153 -msgid "" -":gh:`95196`: Disable incorrect pickling of the C implemented classmethod " -"descriptors." -msgstr "" - -#: ../build/NEWS:156 -msgid "" -":gh:`96005`: On WASI :data:`~errno.ENOTCAPABLE` is now mapped to :exc:" -"`PermissionError`. The :mod:`errno` modules exposes the new error number. " -"``getpath.py`` now ignores :exc:`PermissionError` when it cannot open " -"landmark files ``pybuilddir.txt`` and ``pyenv.cfg``." -msgstr "" - -#: ../build/NEWS:161 -msgid "" -":gh:`93696`: Allow :mod:`pdb` to locate source for frozen modules in the " -"standard library." -msgstr "" - -#: ../build/NEWS:164 -msgid "" -":issue:`31718`: Raise :exc:`ValueError` instead of :exc:`SystemError` when " -"methods of uninitialized :class:`io.IncrementalNewlineDecoder` objects are " -"called. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:168 -msgid "" -":issue:`38031`: Fix a possible assertion failure in :class:`io.FileIO` when " -"the opener returns an invalid file descriptor." -msgstr "" - -#: ../build/NEWS:172 ../build/NEWS:643 ../build/NEWS:800 ../build/NEWS:922 -#: ../build/NEWS:1127 ../build/NEWS:1340 ../build/NEWS:1706 ../build/NEWS:2083 -#: ../build/NEWS:2764 ../build/NEWS:3403 ../build/NEWS:3797 ../build/NEWS:4216 -#: ../build/NEWS:4629 ../build/NEWS:5094 ../build/NEWS:6058 ../build/NEWS:7600 -#: ../build/NEWS:8231 ../build/NEWS:8614 ../build/NEWS:8838 ../build/NEWS:9112 -#: ../build/NEWS:9509 ../build/NEWS:10065 ../build/NEWS:10685 -#: ../build/NEWS:11556 ../build/NEWS:11944 ../build/NEWS:12431 -#: ../build/NEWS:12891 ../build/NEWS:13254 ../build/NEWS:13600 -#: ../build/NEWS:14256 ../build/NEWS:16020 ../build/NEWS:16684 -#: ../build/NEWS:17228 ../build/NEWS:17522 ../build/NEWS:18274 -#: ../build/NEWS:20682 ../build/NEWS:20715 ../build/NEWS:20843 -#: ../build/NEWS:21051 ../build/NEWS:21242 ../build/NEWS:21447 -#: ../build/NEWS:21745 ../build/NEWS:22066 ../build/NEWS:22391 -#: ../build/NEWS:22981 ../build/NEWS:23640 ../build/NEWS:25309 -#: ../build/NEWS:25655 ../build/NEWS:26021 ../build/NEWS:26345 -#: ../build/NEWS:26447 ../build/NEWS:26910 ../build/NEWS:27297 -#: ../build/NEWS:27600 ../build/NEWS:27682 ../build/NEWS:27785 -#: ../build/NEWS:27955 ../build/NEWS:28290 ../build/NEWS:28708 -#: ../build/NEWS:28926 ../build/NEWS:29163 ../build/NEWS:29700 -#: ../build/NEWS:30727 ../build/NEWS:30745 ../build/NEWS:30833 -#: ../build/NEWS:31314 ../build/NEWS:32029 ../build/NEWS:32693 -#: ../build/NEWS:33131 ../build/NEWS:33158 ../build/NEWS:33196 -#: ../build/NEWS:33216 ../build/NEWS:33323 ../build/NEWS:33417 -#: ../build/NEWS:33513 ../build/NEWS:33588 ../build/NEWS:33846 -#: ../build/NEWS:34069 ../build/NEWS:34242 ../build/NEWS:34600 -msgid "Library" -msgstr "" - -#: ../build/NEWS:174 -msgid "" -":gh:`100001`: Also \\ escape \\s in the http.server BaseHTTPRequestHandler." -"log_message so that it is technically possible to parse the line and " -"reconstruct what the original data was. Without this a \\xHH is ambiguious " -"as to if it is a hex replacement we put in or the characters r\"\\x\" came " -"through in the original request line." -msgstr "" - -#: ../build/NEWS:180 -msgid "" -":gh:`51524`: Fix bug when calling trace.CoverageResults with valid infile." -msgstr "" - -#: ../build/NEWS:183 -msgid "" -":gh:`99645`: Fix a bug in handling class cleanups in :class:`unittest." -"TestCase`. Now ``addClassCleanup()`` uses separate lists for different " -"``TestCase`` subclasses, and ``doClassCleanups()`` only cleans up the " -"particular class." -msgstr "" - -#: ../build/NEWS:188 -msgid "" -":gh:`97001`: Release the GIL when calling termios APIs to avoid blocking " -"threads." -msgstr "" - -#: ../build/NEWS:191 -msgid "" -":gh:`99341`: Fix :func:`ast.increment_lineno` to also cover :class:`ast." -"TypeIgnore` when changing line numbers." -msgstr "" - -#: ../build/NEWS:194 -msgid "" -":gh:`99418`: Fix bug in :func:`urllib.parse.urlparse` that causes URL " -"schemes that begin with a digit, a plus sign, or a minus sign to be parsed " -"incorrectly." -msgstr "" - -#: ../build/NEWS:198 -msgid "" -":gh:`99382`: Check the number of arguments in substitution in user generics " -"containing a :class:`~typing.TypeVarTuple` and one or more :class:`~typing." -"TypeVar`." -msgstr "" - -#: ../build/NEWS:202 -msgid "" -":gh:`99379`: Fix substitution of :class:`~typing.ParamSpec` followed by :" -"class:`~typing.TypeVarTuple` in generic aliases." -msgstr "" - -#: ../build/NEWS:205 -msgid "" -":gh:`99344`: Fix substitution of :class:`~typing.TypeVarTuple` and :class:" -"`~typing.ParamSpec` together in user generics." -msgstr "" - -#: ../build/NEWS:208 -msgid "" -":gh:`74044`: Fixed bug where :func:`inspect.signature` reported incorrect " -"arguments for decorated methods." -msgstr "" - -#: ../build/NEWS:211 -msgid "" -":gh:`99275`: Fix ``SystemError`` in :mod:`ctypes` when exception was not set " -"during ``__initsubclass__``." -msgstr "" - -#: ../build/NEWS:214 -msgid "" -":gh:`99277`: Remove older version of ``_SSLProtocolTransport." -"get_write_buffer_limits`` in :mod:`!asyncio.sslproto`" -msgstr "" - -#: ../build/NEWS:218 -msgid ":gh:`99248`: fix negative numbers failing in verify()" -msgstr "" - -#: ../build/NEWS:220 -msgid "" -":gh:`99155`: Fix :class:`statistics.NormalDist` pickle with ``0`` and ``1`` " -"protocols." -msgstr "" - -#: ../build/NEWS:223 -msgid "" -":gh:`93464`: ``enum.auto()`` is now correctly activated when combined with " -"other assignment values. E.g. ``ONE = auto(), 'some text'`` will now " -"evaluate as ``(1, 'some text')``." -msgstr "" - -#: ../build/NEWS:227 -msgid ":gh:`99134`: Update the bundled copy of pip to version 22.3.1." -msgstr "" - -#: ../build/NEWS:229 -msgid "" -":gh:`83004`: Clean up refleak on failed module initialisation in :mod:" -"`_zoneinfo`" -msgstr "" - -#: ../build/NEWS:232 -msgid "" -":gh:`83004`: Clean up refleaks on failed module initialisation in in :mod:" -"`_pickle`" -msgstr "" - -#: ../build/NEWS:235 -msgid "" -":gh:`83004`: Clean up refleak on failed module initialisation in :mod:`_io`." -msgstr "" - -#: ../build/NEWS:238 -msgid "" -":gh:`98897`: Fix memory leak in :func:`math.dist` when both points don't " -"have the same dimension. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:241 -msgid "" -":gh:`98706`: [3.11] Applied changes from importlib_metadata `4.11.4 through " -"4.13 `_, including compatibility and robustness fixes for " -"``Distribution`` objects without ``_normalized_name``, disallowing invalid " -"inputs to ``Distribution.from_name``, and refined behaviors in " -"``PathDistribution._name_from_stem`` and ``PathDistribution." -"_normalized_name``." -msgstr "" - -#: ../build/NEWS:250 -msgid "" -":gh:`98793`: Fix argument typechecks in :func:`!_overlapped.WSAConnect` and :" -"func:`!_overlapped.Overlapped.WSASendTo` functions." -msgstr "" - -#: ../build/NEWS:253 -msgid "" -":gh:`98744`: Prevent crashing in :mod:`traceback` when retrieving the byte-" -"offset for some source files that contain certain unicode characters." -msgstr "" - -#: ../build/NEWS:256 -msgid "" -":gh:`98740`: Fix internal error in the :mod:`re` module which in very rare " -"circumstances prevented compilation of a regular expression containing a :" -"ref:`conditional expression ` without the " -"\"else\" branch." -msgstr "" - -#: ../build/NEWS:261 -msgid "" -":gh:`98703`: Fix :meth:`asyncio.StreamWriter.drain` to call ``protocol." -"connection_lost`` callback only once on Windows." -msgstr "" - -#: ../build/NEWS:264 -msgid "" -":gh:`98624`: Add a mutex to unittest.mock.NonCallableMock to protect " -"concurrent access to mock attributes." -msgstr "" - -#: ../build/NEWS:267 -msgid "" -":gh:`89237`: Fix hang on Windows in ``subprocess.wait_closed()`` in :mod:" -"`asyncio` with :class:`~asyncio.ProactorEventLoop`. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:271 -msgid "" -":gh:`98458`: Fix infinite loop in unittest when a self-referencing chained " -"exception is raised" -msgstr "" - -#: ../build/NEWS:274 -msgid "" -":gh:`97928`: :meth:`tkinter.Text.count` raises now an exception for options " -"starting with \"-\" instead of silently ignoring them." -msgstr "" - -#: ../build/NEWS:277 -msgid "" -":gh:`97966`: On ``uname_result``, restored expectation that ``_fields`` and " -"``_asdict`` would include all six properties including ``processor``." -msgstr "" - -#: ../build/NEWS:280 -msgid "" -":gh:`98307`: A :meth:`~logging.handlers.SysLogHandler.createSocket` method " -"was added to :class:`~logging.handlers.SysLogHandler`." -msgstr "" - -#: ../build/NEWS:283 -msgid "" -":gh:`96035`: Fix bug in :func:`urllib.parse.urlparse` that causes certain " -"port numbers containing whitespace, underscores, plus and minus signs, or " -"non-ASCII digits to be incorrectly accepted." -msgstr "" - -#: ../build/NEWS:287 -msgid "" -":gh:`98251`: Allow :mod:`venv` to pass along :envvar:`PYTHON*` variables to " -"``ensurepip`` and ``pip`` when they do not impact path resolution" -msgstr "" - -#: ../build/NEWS:291 -msgid "" -":gh:`98178`: On macOS, fix a crash in :func:`syslog.syslog` in multi-" -"threaded applications. On macOS, the libc ``syslog()`` function is not " -"thread-safe, so :func:`syslog.syslog` no longer releases the GIL to call it. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:296 -msgid "" -":gh:`96151`: Allow ``BUILTINS`` to be a valid field name for frozen " -"dataclasses." -msgstr "" - -#: ../build/NEWS:299 -msgid "" -":gh:`87730`: Wrap network errors consistently in urllib FTP support, so the " -"test suite doesn't fail when a network is available but the public internet " -"is not reachable." -msgstr "" - -#: ../build/NEWS:303 -msgid "" -":gh:`98086`: Make sure ``patch.dict()`` can be applied on async functions." -msgstr "" - -#: ../build/NEWS:306 ../build/NEWS:648 -msgid "" -":gh:`90985`: Earlier in 3.11 we deprecated ``asyncio.Task." -"cancel(\"message\")``. We realized we were too harsh, and have undeprecated " -"it." -msgstr "" - -#: ../build/NEWS:310 -msgid ":gh:`97837`: Change deprecate warning message in :mod:`unittest` from" -msgstr "" - -#: ../build/NEWS:312 -msgid "``It is deprecated to return a value!=None``" -msgstr "" - -#: ../build/NEWS:314 -msgid "to" -msgstr "" - -#: ../build/NEWS:316 -msgid "" -"``It is deprecated to return a value that is not None from a test case``" -msgstr "" - -#: ../build/NEWS:318 -msgid "" -":gh:`97825`: Fixes :exc:`AttributeError` when :meth:`subprocess." -"check_output` is used with argument ``input=None`` and either of the " -"arguments *encoding* or *errors* are used." -msgstr "" - -#: ../build/NEWS:322 -msgid "" -":gh:`82836`: Fix :attr:`~ipaddress.IPv4Address.is_private` properties in " -"the :mod:`ipaddress` module. Previously non-private networks (0.0.0.0/0) " -"would return True from this method; now they correctly return False." -msgstr "" - -#: ../build/NEWS:327 -msgid "" -":gh:`96827`: Avoid spurious tracebacks from :mod:`asyncio` when default " -"executor cleanup is delayed until after the event loop is closed (e.g. as " -"the result of a keyboard interrupt)." -msgstr "" - -#: ../build/NEWS:331 -msgid "" -":gh:`97592`: Avoid a crash in the C version of :meth:`asyncio.Future." -"remove_done_callback` when an evil argument is passed." -msgstr "" - -#: ../build/NEWS:335 -msgid ":gh:`97639`: Remove ``tokenize.NL`` check from :mod:`tabnanny`." -msgstr "" - -#: ../build/NEWS:337 -msgid "" -":gh:`73588`: Fix generation of the default name of :class:`tkinter." -"Checkbutton`. Previously, checkbuttons in different parent widgets could " -"have the same short name and share the same state if arguments \"name\" and " -"\"variable\" are not specified. Now they are globally unique." -msgstr "" - -#: ../build/NEWS:343 -msgid ":gh:`97005`: Update bundled libexpat to 2.4.9" -msgstr "" - -#: ../build/NEWS:345 -msgid "" -":gh:`85760`: Fix race condition in :mod:`asyncio` where :meth:`~asyncio." -"SubprocessProtocol.process_exited` called before the :meth:`~asyncio." -"SubprocessProtocol.pipe_data_received` leading to inconsistent output. Patch " -"by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:350 -msgid "" -":gh:`96819`: Fixed check in :mod:`multiprocessing.resource_tracker` that " -"guarantees that the length of a write to a pipe is not greater than " -"``PIPE_BUF``." -msgstr "" - -#: ../build/NEWS:354 -msgid "" -":gh:`96741`: Corrected type annotation for dataclass attribute ``pstats." -"FunctionProfile.ncalls`` to be ``str``." -msgstr "" - -#: ../build/NEWS:357 -msgid ":gh:`95987`: Fix ``repr`` of ``Any`` subclasses." -msgstr "" - -#: ../build/NEWS:359 -msgid "" -":gh:`96388`: Work around missing socket functions in :class:`~socket." -"socket`'s ``__repr__``." -msgstr "" - -#: ../build/NEWS:362 -msgid "" -":gh:`96073`: In :mod:`inspect`, fix overeager replacement of \"``typing.``\" " -"in formatting annotations." -msgstr "" - -#: ../build/NEWS:365 -msgid "" -":gh:`96192`: Fix handling of ``bytes`` :term:`path-like objects ` in :func:`os.ismount()`." -msgstr "" - -#: ../build/NEWS:368 -msgid "" -":gh:`96052`: Fix handling compiler warnings (SyntaxWarning and " -"DeprecationWarning) in :func:`codeop.compile_command` when checking for " -"incomplete input. Previously it emitted warnings and raised a SyntaxError. " -"Now it always returns ``None`` for incomplete input without emitting any " -"warnings." -msgstr "" - -#: ../build/NEWS:374 -msgid "" -":gh:`88863`: To avoid apparent memory leaks when :func:`asyncio." -"open_connection` raises, break reference cycles generated by local exception " -"and future instances (which has exception instance as its member var). Patch " -"by Dong Uk, Kang." -msgstr "" - -#: ../build/NEWS:379 -msgid "" -":gh:`91212`: Fixed flickering of the turtle window when the tracer is turned " -"off. Patch by Shin-myoung-serp." -msgstr "" - -#: ../build/NEWS:382 -msgid "" -":gh:`88050`: Fix :mod:`asyncio` subprocess transport to kill process cleanly " -"when process is blocked and avoid ``RuntimeError`` when loop is closed. " -"Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:386 -msgid "" -":gh:`93858`: Prevent error when activating venv in nested fish instances." -msgstr "" - -#: ../build/NEWS:389 -msgid "" -":gh:`91078`: :meth:`TarFile.next` now returns ``None`` when called on an " -"empty tarfile." -msgstr "" - -#: ../build/NEWS:392 -msgid "" -":issue:`47220`: Document the optional *callback* parameter of :class:" -"`WeakMethod`. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:395 -msgid "" -":issue:`46364`: Restrict use of sockets instead of pipes for stdin of " -"subprocesses created by :mod:`asyncio` to AIX platform only." -msgstr "" - -#: ../build/NEWS:398 -msgid "" -":issue:`38523`: :func:`shutil.copytree` now applies the " -"*ignore_dangling_symlinks* argument recursively." -msgstr "" - -#: ../build/NEWS:401 -msgid "" -":issue:`36267`: Fix IndexError in :class:`argparse.ArgumentParser` when a " -"``store_true`` action is given an explicit argument." -msgstr "" - -#: ../build/NEWS:405 ../build/NEWS:667 ../build/NEWS:856 ../build/NEWS:958 -#: ../build/NEWS:1503 ../build/NEWS:1802 ../build/NEWS:2468 ../build/NEWS:3069 -#: ../build/NEWS:3578 ../build/NEWS:3926 ../build/NEWS:4372 ../build/NEWS:4762 -#: ../build/NEWS:5261 ../build/NEWS:6869 ../build/NEWS:7936 ../build/NEWS:8398 -#: ../build/NEWS:8678 ../build/NEWS:8948 ../build/NEWS:9301 ../build/NEWS:9745 -#: ../build/NEWS:10211 ../build/NEWS:11170 ../build/NEWS:11717 -#: ../build/NEWS:12161 ../build/NEWS:12619 ../build/NEWS:13023 -#: ../build/NEWS:13447 ../build/NEWS:13762 ../build/NEWS:15106 -#: ../build/NEWS:16410 ../build/NEWS:16876 ../build/NEWS:17353 -#: ../build/NEWS:17595 ../build/NEWS:19781 ../build/NEWS:20756 -#: ../build/NEWS:20966 ../build/NEWS:21116 ../build/NEWS:21334 -#: ../build/NEWS:21579 ../build/NEWS:21904 ../build/NEWS:22244 -#: ../build/NEWS:22727 ../build/NEWS:23070 ../build/NEWS:24678 -#: ../build/NEWS:25432 ../build/NEWS:25788 ../build/NEWS:26185 -#: ../build/NEWS:26583 ../build/NEWS:27152 ../build/NEWS:27472 -#: ../build/NEWS:27628 ../build/NEWS:27731 ../build/NEWS:29090 -#: ../build/NEWS:29341 ../build/NEWS:30508 ../build/NEWS:31068 -#: ../build/NEWS:31735 ../build/NEWS:32461 ../build/NEWS:33022 -#: ../build/NEWS:33275 ../build/NEWS:33474 ../build/NEWS:33785 -#: ../build/NEWS:35985 -msgid "Documentation" -msgstr "" - -#: ../build/NEWS:407 -msgid "" -":gh:`92892`: Document that calling variadic functions with ctypes requires " -"special care on macOS/arm64 (and possibly other platforms)." -msgstr "" - -#: ../build/NEWS:410 -msgid ":gh:`85525`: Remove extra row" -msgstr "" - -#: ../build/NEWS:412 -msgid "" -":gh:`95588`: Clarified the conflicting advice given in the :mod:`ast` " -"documentation about :func:`ast.literal_eval` being \"safe\" for use on " -"untrusted input while at the same time warning that it can crash the " -"process. The latter statement is true and is deemed unfixable without a " -"large amount of work unsuitable for a bugfix. So we keep the warning and no " -"longer claim that ``literal_eval`` is safe." -msgstr "" - -#: ../build/NEWS:419 -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 "" - -#: ../build/NEWS:425 ../build/NEWS:676 ../build/NEWS:866 ../build/NEWS:975 -#: ../build/NEWS:1159 ../build/NEWS:1525 ../build/NEWS:1821 ../build/NEWS:2507 -#: ../build/NEWS:3095 ../build/NEWS:3584 ../build/NEWS:3932 ../build/NEWS:4385 -#: ../build/NEWS:4793 ../build/NEWS:5296 ../build/NEWS:7004 ../build/NEWS:7959 -#: ../build/NEWS:8413 ../build/NEWS:8687 ../build/NEWS:8957 ../build/NEWS:9310 -#: ../build/NEWS:9757 ../build/NEWS:10232 ../build/NEWS:11212 -#: ../build/NEWS:11734 ../build/NEWS:12175 ../build/NEWS:12638 -#: ../build/NEWS:13048 ../build/NEWS:13776 ../build/NEWS:15210 -#: ../build/NEWS:16458 ../build/NEWS:16911 ../build/NEWS:17367 -#: ../build/NEWS:17606 ../build/NEWS:19946 ../build/NEWS:20981 -#: ../build/NEWS:21135 ../build/NEWS:21351 ../build/NEWS:21603 -#: ../build/NEWS:21917 ../build/NEWS:22249 ../build/NEWS:22733 -#: ../build/NEWS:24726 ../build/NEWS:25470 ../build/NEWS:25583 -#: ../build/NEWS:25808 ../build/NEWS:26198 ../build/NEWS:26595 -#: ../build/NEWS:27174 ../build/NEWS:27485 ../build/NEWS:27736 -#: ../build/NEWS:27871 ../build/NEWS:28142 ../build/NEWS:28572 -#: ../build/NEWS:28845 ../build/NEWS:29099 ../build/NEWS:29353 -#: ../build/NEWS:30526 ../build/NEWS:31086 ../build/NEWS:31740 -#: ../build/NEWS:31861 ../build/NEWS:32484 ../build/NEWS:33046 -#: ../build/NEWS:33290 ../build/NEWS:33467 ../build/NEWS:33776 -#: ../build/NEWS:34005 ../build/NEWS:34215 ../build/NEWS:36025 -msgid "Tests" -msgstr "" - -#: ../build/NEWS:427 -msgid "" -":gh:`99892`: Skip test_normalization() of test_unicodedata if it fails to " -"download NormalizationTest.txt file from pythontest.net. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:431 -msgid "" -":gh:`99934`: Correct test_marsh on (32 bit) x86: test_deterministic sets was " -"failing." -msgstr "" - -#: ../build/NEWS:434 -msgid "" -":gh:`99659`: Optional big memory tests in ``test_sqlite3`` now catch the " -"correct :exc:`sqlite.DataError` exception type in case of too large strings " -"and/or blobs passed." -msgstr "" - -#: ../build/NEWS:438 -msgid "" -":gh:`98713`: Fix a bug in the :mod:`typing` tests where a test relying on " -"CPython-specific implementation details was not decorated with " -"``@cpython_only`` and was not skipped on other implementations." -msgstr "" - -#: ../build/NEWS:442 -msgid "" -":gh:`87390`: Add tests for star-unpacking with PEP 646, and some other " -"miscellaneous PEP 646 tests." -msgstr "" - -#: ../build/NEWS:445 -msgid "" -":gh:`96853`: Added explicit coverage of ``Py_Initialize`` (and hence " -"``Py_InitializeEx``) back to the embedding tests (all other embedding tests " -"migrated to ``Py_InitializeFromConfig`` in Python 3.11)" -msgstr "" - -#: ../build/NEWS:449 -msgid "" -":issue:`34272`: Some C API tests were moved into the new Lib/test/test_capi/ " -"directory." -msgstr "" - -#: ../build/NEWS:453 ../build/NEWS:684 ../build/NEWS:873 ../build/NEWS:991 -#: ../build/NEWS:1165 ../build/NEWS:1580 ../build/NEWS:1659 ../build/NEWS:1830 -#: ../build/NEWS:2540 ../build/NEWS:3119 ../build/NEWS:3606 ../build/NEWS:3976 -#: ../build/NEWS:4412 ../build/NEWS:4815 ../build/NEWS:5345 ../build/NEWS:7126 -#: ../build/NEWS:7982 ../build/NEWS:8422 ../build/NEWS:8693 ../build/NEWS:8967 -#: ../build/NEWS:9332 ../build/NEWS:9792 ../build/NEWS:10248 -#: ../build/NEWS:11263 ../build/NEWS:11743 ../build/NEWS:12201 -#: ../build/NEWS:12654 ../build/NEWS:13057 ../build/NEWS:13460 -#: ../build/NEWS:13831 ../build/NEWS:15380 ../build/NEWS:16494 -#: ../build/NEWS:16965 ../build/NEWS:17380 ../build/NEWS:20113 -#: ../build/NEWS:20768 ../build/NEWS:20990 ../build/NEWS:21141 -#: ../build/NEWS:21361 ../build/NEWS:21608 ../build/NEWS:21937 -#: ../build/NEWS:22760 ../build/NEWS:23080 ../build/NEWS:24789 -#: ../build/NEWS:25478 ../build/NEWS:25588 ../build/NEWS:25823 -#: ../build/NEWS:26215 ../build/NEWS:26351 ../build/NEWS:26611 -#: ../build/NEWS:27132 ../build/NEWS:27216 ../build/NEWS:27507 -#: ../build/NEWS:27572 ../build/NEWS:27744 ../build/NEWS:27862 -#: ../build/NEWS:28131 ../build/NEWS:28586 ../build/NEWS:28872 -#: ../build/NEWS:29060 ../build/NEWS:29373 ../build/NEWS:30569 -#: ../build/NEWS:31124 ../build/NEWS:31786 ../build/NEWS:32507 -#: ../build/NEWS:33059 ../build/NEWS:33119 ../build/NEWS:33136 -#: ../build/NEWS:33378 ../build/NEWS:33483 ../build/NEWS:33996 -#: ../build/NEWS:34210 ../build/NEWS:34345 ../build/NEWS:35876 -msgid "Build" -msgstr "" - -#: ../build/NEWS:455 -msgid "" -":gh:`99086`: Fix ``-Wimplicit-int``, ``-Wstrict-prototypes``, and ``-" -"Wimplicit-function-declaration`` compiler warnings in :program:`configure` " -"checks." -msgstr "" - -#: ../build/NEWS:459 -msgid ":gh:`99337`: Fix a compilation issue with GCC 12 on macOS." -msgstr "" - -#: ../build/NEWS:461 -msgid "" -":gh:`99086`: Fix ``-Wimplicit-int`` compiler warning in :program:`configure` " -"check for ``PTHREAD_SCOPE_SYSTEM``." -msgstr "" - -#: ../build/NEWS:464 -msgid "" -":gh:`98872`: Fix a possible fd leak in ``Programs/_freeze_module.c`` " -"introduced in Python 3.11." -msgstr "" - -#: ../build/NEWS:467 -msgid ":gh:`99016`: Fix build with ``PYTHON_FOR_REGEN=python3.8``." -msgstr "" - -#: ../build/NEWS:469 -msgid "" -":gh:`97731`: Specify the full path to the source location for ``make " -"docclean`` (needed for cross-builds)." -msgstr "" - -#: ../build/NEWS:472 -msgid "" -":gh:`98707`: Don't use vendored ``libmpdec`` headers if :option:`--with-" -"system-libmpdec` is passed to :program:`configure`. Don't use vendored " -"``libexpat`` headers if :option:`--with-system-expat` is passed to :program:" -"`!configure`." -msgstr "" - -#: ../build/NEWS:477 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:481 -msgid "" -":gh:`96883`: ``wasm32-emscripten`` builds for browsers now include :mod:" -"`concurrent.futures` for :mod:`asyncio` and :mod:`unittest.mock`." -msgstr "" - -#: ../build/NEWS:484 -msgid "" -":gh:`84461`: ``wasm32-emscripten`` platform no longer builds :mod:`resource` " -"module, :func:`~os.getresuid`, :func:`~os.getresgid`, and their setters. The " -"APIs are stubs and not functional." -msgstr "" - -#: ../build/NEWS:488 -msgid "" -":gh:`94280`: Updated pegen regeneration script on Windows to find and use " -"Python 3.9 or higher. Prior to this, pegen regeneration already required " -"3.9 or higher, but the script may have used lower versions of Python." -msgstr "" - -#: ../build/NEWS:494 ../build/NEWS:691 ../build/NEWS:878 ../build/NEWS:1013 -#: ../build/NEWS:1181 ../build/NEWS:1595 ../build/NEWS:1839 ../build/NEWS:2556 -#: ../build/NEWS:3151 ../build/NEWS:3636 ../build/NEWS:4016 ../build/NEWS:4459 -#: ../build/NEWS:4943 ../build/NEWS:5400 ../build/NEWS:7172 ../build/NEWS:7991 -#: ../build/NEWS:8444 ../build/NEWS:8716 ../build/NEWS:8993 ../build/NEWS:9816 -#: ../build/NEWS:10255 ../build/NEWS:11284 ../build/NEWS:11753 -#: ../build/NEWS:12213 ../build/NEWS:12671 ../build/NEWS:13062 -#: ../build/NEWS:13841 ../build/NEWS:15452 ../build/NEWS:16517 -#: ../build/NEWS:17026 ../build/NEWS:17394 ../build/NEWS:17639 -#: ../build/NEWS:20231 ../build/NEWS:20775 ../build/NEWS:21158 -#: ../build/NEWS:21366 ../build/NEWS:21613 ../build/NEWS:21952 -#: ../build/NEWS:22258 ../build/NEWS:22793 ../build/NEWS:24901 -#: ../build/NEWS:25498 ../build/NEWS:25829 ../build/NEWS:26240 -#: ../build/NEWS:26617 ../build/NEWS:27188 ../build/NEWS:27437 -#: ../build/NEWS:27567 ../build/NEWS:27857 ../build/NEWS:28098 -#: ../build/NEWS:28628 ../build/NEWS:28860 ../build/NEWS:29363 -#: ../build/NEWS:30632 ../build/NEWS:31137 ../build/NEWS:31771 -#: ../build/NEWS:32566 ../build/NEWS:32613 ../build/NEWS:33070 -#: ../build/NEWS:34359 ../build/NEWS:36172 -msgid "Windows" -msgstr "" - -#: ../build/NEWS:496 -msgid "" -":gh:`99345`: Use faster initialization functions to detect install location " -"for Windows Store package" -msgstr "" - -#: ../build/NEWS:499 -msgid "" -":gh:`98629`: Fix initialization of :data:`sys.version` and ``sys._git`` on " -"Windows" -msgstr "" - -#: ../build/NEWS:502 -msgid "" -":gh:`99442`: Fix handling in :ref:`launcher` when ``argv[0]`` does not " -"include a file extension." -msgstr "" - -#: ../build/NEWS:505 -msgid "" -":gh:`98689`: Update Windows builds to zlib v1.2.13. v1.2.12 has " -"CVE-2022-37434, but the vulnerable ``inflateGetHeader`` API is not used by " -"Python." -msgstr "" - -#: ../build/NEWS:509 -msgid "" -":gh:`98790`: Assumes that a missing ``DLLs`` directory means that standard " -"extension modules are in the executable's directory." -msgstr "" - -#: ../build/NEWS:512 -msgid "" -":gh:`98745`: Update :file:`py.exe` launcher to install 3.11 by default and " -"3.12 on request." -msgstr "" - -#: ../build/NEWS:515 -msgid "" -":gh:`98692`: Fix the :ref:`launcher` ignoring unrecognized shebang lines " -"instead of treating them as local paths" -msgstr "" - -#: ../build/NEWS:518 -msgid ":gh:`94328`: Update Windows installer to use SQLite 3.39.4." -msgstr "" - -#: ../build/NEWS:520 -msgid "" -":gh:`97728`: Fix possible crashes caused by the use of uninitialized " -"variables when pass invalid arguments in :func:`os.system` on Windows and in " -"Windows-specific modules (like ``winreg``)." -msgstr "" - -#: ../build/NEWS:524 -msgid ":gh:`96965`: Update libffi to 3.4.3" -msgstr "" - -#: ../build/NEWS:526 -msgid "" -":gh:`94781`: Fix :file:`pcbuild.proj` to clean previous instances of ouput " -"files in ``Python\\deepfreeze`` and ``Python\\frozen_modules`` directories " -"on Windows. Patch by Charlie Zhao." -msgstr "" - -#: ../build/NEWS:530 -msgid "" -":issue:`40882`: Fix a memory leak in :class:`multiprocessing.shared_memory." -"SharedMemory` on Windows." -msgstr "" - -#: ../build/NEWS:534 ../build/NEWS:705 ../build/NEWS:2572 ../build/NEWS:3177 -#: ../build/NEWS:4030 ../build/NEWS:4465 ../build/NEWS:4968 ../build/NEWS:5414 -#: ../build/NEWS:7200 ../build/NEWS:8021 ../build/NEWS:8721 ../build/NEWS:9000 -#: ../build/NEWS:9355 ../build/NEWS:9825 ../build/NEWS:10270 -#: ../build/NEWS:11327 ../build/NEWS:11765 ../build/NEWS:12220 -#: ../build/NEWS:12694 ../build/NEWS:13848 ../build/NEWS:15571 -#: ../build/NEWS:16531 ../build/NEWS:17079 ../build/NEWS:20341 -#: ../build/NEWS:21003 ../build/NEWS:21163 ../build/NEWS:21375 -#: ../build/NEWS:21632 ../build/NEWS:21963 ../build/NEWS:22808 -#: ../build/NEWS:25503 ../build/NEWS:25854 ../build/NEWS:26249 -msgid "macOS" -msgstr "" - -#: ../build/NEWS:536 -msgid "" -":gh:`87235`: On macOS ``python3 /dev/fd/9 9` is affected." -msgstr "" - -#: ../build/NEWS:601 -msgid "" -"Abstract sockets have no permissions and could allow any user on the system " -"in the same `network namespace `_ (often the whole system) to inject code into " -"the multiprocessing *forkserver* process. This was a potential privilege " -"escalation. Filesystem based socket permissions restrict this to the " -"*forkserver* process user as was the default in Python 3.8 and earlier." -msgstr "" - -#: ../build/NEWS:609 -msgid "" -"This prevents Linux `CVE-2022-42919 `_." -msgstr "" - -#: ../build/NEWS:615 -msgid "" -":gh:`97002`: Fix an issue where several frame objects could be backed by the " -"same interpreter frame, possibly leading to corrupted memory and hard " -"crashes of the interpreter." -msgstr "" - -#: ../build/NEWS:619 -msgid "" -":gh:`97752`: Fix possible data corruption or crashes when accessing the " -"``f_back`` member of newly-created generator or coroutine frames." -msgstr "" - -#: ../build/NEWS:622 -msgid "" -":gh:`96975`: Fix a crash occurring when :c:func:`PyEval_GetFrame` is called " -"while the topmost Python frame is in a partially-initialized state." -msgstr "" - -#: ../build/NEWS:625 -msgid "" -":gh:`96848`: Fix command line parsing: reject :option:`-X int_max_str_digits " -"<-X>` option with no value (invalid) when the :envvar:" -"`PYTHONINTMAXSTRDIGITS` environment variable is set to a valid limit. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:630 -msgid ":gh:`96821`: Fix undefined behaviour in ``_testcapimodule.c``." -msgstr "" - -#: ../build/NEWS:632 -msgid "" -":gh:`95778`: When :exc:`ValueError` is raised if an integer is larger than " -"the limit, mention the :func:`sys.set_int_max_str_digits` function in the " -"error message. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:636 -msgid "" -":gh:`96587`: Correctly raise ``SyntaxError`` on exception groups (:pep:" -"`654`) on python versions prior to 3.11" -msgstr "" - -#: ../build/NEWS:639 -msgid "" -":issue:`42316`: Document some places where an assignment expression needs " -"parentheses." -msgstr "" - -#: ../build/NEWS:645 -msgid "" -":gh:`98331`: Update the bundled copies of pip and setuptools to versions " -"22.3 and 65.5.0 respectively." -msgstr "" - -#: ../build/NEWS:652 -msgid ":gh:`97545`: Make Semaphore run faster." -msgstr "" - -#: ../build/NEWS:654 -msgid ":gh:`96865`: fix Flag to use boundary CONFORM" -msgstr "" - -#: ../build/NEWS:656 -msgid "" -"This restores previous Flag behavior of allowing flags with non-sequential " -"values to be combined; e.g." -msgstr "" - -#: ../build/NEWS:659 -msgid "class Skip(Flag): TWO = 2 EIGHT = 8" -msgstr "" - -#: ../build/NEWS:661 -msgid "Skip.TWO | Skip.EIGHT -> " -msgstr "" - -#: ../build/NEWS:663 -msgid "" -":gh:`90155`: Fix broken :class:`asyncio.Semaphore` when acquire is cancelled." -msgstr "" - -#: ../build/NEWS:669 -msgid "" -":gh:`97741`: Fix ``!`` in c domain ref target syntax via a ``conf.py`` " -"patch, so it works as intended to disable ref target resolution." -msgstr "" - -#: ../build/NEWS:672 -msgid "" -":gh:`93031`: Update tutorial introduction output to use 3.10+ SyntaxError " -"invalid range." -msgstr "" - -#: ../build/NEWS:678 -msgid "" -":gh:`95027`: On Windows, when the Python test suite is run with the ``-jN`` " -"option, the ANSI code page is now used as the encoding for the stdout " -"temporary file, rather than using UTF-8 which can lead to decoding errors. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:686 -msgid "" -":gh:`96729`: Ensure that Windows releases built with " -"``Tools\\msi\\buildrelease.bat`` are upgradable to and from official Python " -"releases." -msgstr "" - -#: ../build/NEWS:693 -msgid "" -":gh:`98360`: Fixes :mod:`multiprocessing` spawning child processes on " -"Windows from a virtual environment to ensure that child processes that also " -"use :mod:`multiprocessing` to spawn more children will recognize that they " -"are in a virtual environment." -msgstr "" - -#: ../build/NEWS:698 -msgid "" -":gh:`98414`: Fix :file:`py.exe` launcher handling of ``-V:/`` " -"option when default preferences have been set in environment variables or " -"configuration files." -msgstr "" - -#: ../build/NEWS:702 -msgid ":gh:`90989`: Clarify some text in the Windows installer." -msgstr "" - -#: ../build/NEWS:707 -msgid "" -":gh:`97897`: The macOS 13 SDK includes support for the ``mkfifoat`` and " -"``mknodat`` system calls. Using the ``dir_fd`` option with either :func:`os." -"mkfifo` or :func:`os.mknod` could result in a segfault if cpython is built " -"with the macOS 13 SDK but run on an earlier version of macOS. Prevent this " -"by adding runtime support for detection of these system calls " -"(\"weaklinking\") as is done for other newer syscalls on macOS." -msgstr "" - -#: ../build/NEWS:716 -msgid "Python 3.11.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:718 -msgid "*Release date: 2022-09-11*" -msgstr "" - -#: ../build/NEWS:723 -msgid "" -":gh:`95778`: Converting between :class:`int` and :class:`str` in bases other " -"than 2 (binary), 4, 8 (octal), 16 (hexadecimal), or 32 such as base 10 " -"(decimal) now raises a :exc:`ValueError` if the number of digits in string " -"form is above a limit to avoid potential denial of service attacks due to " -"the algorithmic complexity. This is a mitigation for `CVE-2020-10735 " -"`_." -msgstr "" - -#: ../build/NEWS:731 -msgid "" -"This new limit can be configured or disabled by environment variable, " -"command line flag, or :mod:`sys` APIs. See the :ref:`integer string " -"conversion length limitation ` documentation. The " -"default limit is 4300 digits in string form." -msgstr "" - -#: ../build/NEWS:736 -msgid "" -"Patch by Gregory P. Smith [Google] and Christian Heimes [Red Hat] with " -"feedback from Victor Stinner, Thomas Wouters, Steve Dower, Ned Deily, and " -"Mark Dickinson." -msgstr "" - -#: ../build/NEWS:743 -msgid ":gh:`96678`: Fix case of undefined behavior in ceval.c" -msgstr "" - -#: ../build/NEWS:745 -msgid ":gh:`96641`: Do not expose ``KeyWrapper`` in :mod:`_functools`." -msgstr "" - -#: ../build/NEWS:747 -msgid "" -":gh:`96636`: Ensure that tracing, ``sys.setrace()``, is turned on " -"immediately. In pre-release versions of 3.11, some tracing events might have " -"been lost when turning on tracing in a ``__del__`` method or interrupt." -msgstr "" - -#: ../build/NEWS:752 -msgid "" -":gh:`96572`: Fix use after free in trace refs build mode. Patch by Kumar " -"Aditya." -msgstr "" - -#: ../build/NEWS:755 -msgid "" -":gh:`96611`: When loading a file with invalid UTF-8 inside a multi-line " -"string, a correct SyntaxError is emitted." -msgstr "" - -#: ../build/NEWS:758 -msgid "" -":gh:`96612`: Make sure that incomplete frames do not show up in tracemalloc " -"traces." -msgstr "" - -#: ../build/NEWS:761 -msgid "" -":gh:`96569`: Remove two cases of undefined behavior, by adding NULL checks." -msgstr "" - -#: ../build/NEWS:764 -msgid "" -":gh:`96582`: Fix possible ``NULL`` pointer dereference in " -"``_PyThread_CurrentFrames``. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:767 -msgid "" -":gh:`96352`: Fix :exc:`AttributeError` missing ``name`` and ``obj`` " -"attributes in :meth:`object.__getattribute__`. Patch by Philip Georgi." -msgstr "" - -#: ../build/NEWS:770 -msgid "" -":gh:`96268`: Loading a file with invalid UTF-8 will now report the broken " -"character at the correct location." -msgstr "" - -#: ../build/NEWS:773 -msgid "" -":gh:`96187`: Fixed a bug that caused ``_PyCode_GetExtra`` to return garbage " -"for negative indexes. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:776 -msgid "" -":gh:`96071`: Fix a deadlock in :c:func:`PyGILState_Ensure` when allocating " -"new thread state. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:779 -msgid "" -":gh:`96046`: :c:func:`PyType_Ready` now initializes ``ht_cached_keys`` and " -"performs additional checks to ensure that type objects are properly " -"configured. This avoids crashes in 3rd party packages that don't use regular " -"API to create new types." -msgstr "" - -#: ../build/NEWS:784 -msgid "" -":gh:`95818`: Skip over incomplete frames in :c:func:`PyThreadState_GetFrame`." -msgstr "" - -#: ../build/NEWS:787 -msgid "" -":gh:`95876`: Fix format string in ``_PyPegen_raise_error_known_location`` " -"that can lead to memory corruption on some 64bit systems. The function was " -"building a tuple with ``i`` (int) instead of ``n`` (Py_ssize_t) for " -"Py_ssize_t arguments." -msgstr "" - -#: ../build/NEWS:792 -msgid "" -":gh:`95605`: Fix misleading contents of error message when converting an all-" -"whitespace string to :class:`float`." -msgstr "" - -#: ../build/NEWS:795 -msgid "" -":gh:`94996`: :func:`ast.parse` will no longer parse function definitions " -"with positional-only params when passed ``feature_version`` less than ``(3, " -"8)``. Patch by Shantanu Jain." -msgstr "" - -#: ../build/NEWS:802 -msgid ":gh:`96700`: Fix incorrect error message in the :mod:`io` module." -msgstr "" - -#: ../build/NEWS:804 -msgid "" -":gh:`96652`: Fix the faulthandler implementation of ``faulthandler." -"register(signal, chain=True)`` if the ``sigaction()`` function is not " -"available: don't call the previous signal handler if it's NULL. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:809 -msgid "" -":gh:`68163`: Correct conversion of :class:`numbers.Rational`'s to :class:" -"`float`." -msgstr "" - -#: ../build/NEWS:812 -msgid "" -":gh:`96385`: Fix ``TypeVarTuple.__typing_prepare_subst__``. ``TypeError`` " -"was not raised when using more than one ``TypeVarTuple``, like ``[*T, *V]`` " -"in type alias substitutions." -msgstr "" - -#: ../build/NEWS:816 -msgid "" -":gh:`90467`: Fix :class:`asyncio.streams.StreamReaderProtocol` to keep a " -"strong reference to the created task, so that it's not garbage collected" -msgstr "" - -#: ../build/NEWS:819 -msgid "" -":gh:`96159`: Fix a performance regression in logging " -"TimedRotatingFileHandler. Only check for special files when the rollover " -"time has passed." -msgstr "" - -#: ../build/NEWS:823 -msgid "" -":gh:`96175`: Fix unused ``localName`` parameter in the ``Attr`` class in :" -"mod:`xml.dom.minidom`." -msgstr "" - -#: ../build/NEWS:826 -msgid "" -":gh:`96125`: Fix incorrect condition that causes ``sys.thread_info.name`` to " -"be wrong on pthread platforms." -msgstr "" - -#: ../build/NEWS:829 -msgid "" -":gh:`95463`: Remove an incompatible change from :issue:`28080` that caused a " -"regression that ignored the utf8 in ``ZipInfo.flag_bits``. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:833 -msgid "" -":gh:`95899`: Fix :class:`asyncio.Runner` to call :func:`asyncio." -"set_event_loop` only once to avoid calling :meth:`~asyncio." -"AbstractChildWatcher.attach_loop` multiple times on child watchers. Patch by " -"Kumar Aditya." -msgstr "" - -#: ../build/NEWS:838 -msgid "" -":gh:`95736`: Fix :class:`unittest.IsolatedAsyncioTestCase` to set event loop " -"before calling setup functions. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:841 -msgid "" -":gh:`95704`: When a task catches :exc:`asyncio.CancelledError` and raises " -"some other error, the other error should generally not silently be " -"suppressed." -msgstr "" - -#: ../build/NEWS:845 -msgid "" -":gh:`95231`: Fail gracefully if :data:`~errno.EPERM` or :data:`~errno." -"ENOSYS` is raised when loading :mod:`crypt` methods. This may happen when " -"trying to load ``MD5`` on a Linux kernel with :abbr:`FIPS (Federal " -"Information Processing Standard)` enabled." -msgstr "" - -#: ../build/NEWS:850 -msgid "" -":gh:`74116`: Allow :meth:`asyncio.StreamWriter.drain` to be awaited " -"concurrently by multiple tasks. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:853 -msgid ":gh:`92986`: Fix :func:`ast.unparse` when ``ImportFrom.level`` is None" -msgstr "" - -#: ../build/NEWS:858 -msgid "" -":gh:`96098`: Improve discoverability of the higher level concurrent.futures " -"module by providing clearer links from the lower level threading and " -"multiprocessing modules." -msgstr "" - -#: ../build/NEWS:862 -msgid "" -":gh:`95957`: What's New 3.11 now has instructions for how to provide " -"compiler and linker flags for Tcl/Tk and OpenSSL on RHEL 7 and CentOS 7." -msgstr "" - -#: ../build/NEWS:868 -msgid "" -":gh:`95243`: Mitigate the inherent race condition from using " -"find_unused_port() in testSockName() by trying to find an unused port a few " -"times before failing. Patch by Ross Burton." -msgstr "" - -#: ../build/NEWS:875 -msgid ":gh:`94682`: Build and test with OpenSSL 1.1.1q" -msgstr "" - -#: ../build/NEWS:880 -msgid ":gh:`96577`: Fixes a potential buffer overrun in :mod:`msilib`." -msgstr "" - -#: ../build/NEWS:882 -msgid "" -":gh:`96559`: Fixes the Windows launcher not using the compatible " -"interpretation of default tags found in configuration files when no tag was " -"passed to the command." -msgstr "" - -#: ../build/NEWS:888 -msgid "Python 3.11.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:890 -msgid "*Release date: 2022-08-05*" -msgstr "" - -#: ../build/NEWS:895 -msgid "" -":gh:`95150`: Update code object hashing and equality to consider all " -"debugging and exception handling tables. This fixes an issue where certain " -"non-identical code objects could be \"deduplicated\" during compilation." -msgstr "" - -#: ../build/NEWS:899 -msgid "" -":gh:`95355`: ``_PyPegen_Parser_New`` now properly detects token memory " -"allocation errors. Patch by Honglin Zhu." -msgstr "" - -#: ../build/NEWS:902 -msgid "" -":gh:`90081`: Run Python code in tracer/profiler function at full speed. " -"Fixes slowdown in earlier versions of 3.11." -msgstr "" - -#: ../build/NEWS:905 -msgid "" -":gh:`95324`: Emit a warning in debug mode if an object does not call :c:func:" -"`PyObject_GC_UnTrack` before deallocation. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:908 -msgid "" -":gh:`95185`: Prevented crashes in the AST constructor when compiling some " -"absurdly long expressions like ``\"+0\"*1000000``. :exc:`RecursionError` is " -"now raised instead. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:912 ../build/NEWS:1075 -msgid "" -":gh:`93351`: :class:`ast.AST` node positions are now validated when provided " -"to :func:`compile` and other related functions. If invalid positions are " -"detected, a :exc:`ValueError` will be raised." -msgstr "" - -#: ../build/NEWS:916 -msgid "" -":gh:`94938`: Fix error detection in some builtin functions when keyword " -"argument name is an instance of a str subclass with overloaded ``__eq__`` " -"and ``__hash__``. Previously it could cause SystemError or other undesired " -"behavior." -msgstr "" - -#: ../build/NEWS:924 -msgid ":gh:`95609`: Update bundled pip to 22.2.2." -msgstr "" - -#: ../build/NEWS:926 -msgid "" -":gh:`95289`: Fix :class:`asyncio.TaskGroup` to propagate exception when :exc:" -"`asyncio.CancelledError` was replaced with another exception by a context " -"manger. Patch by Kumar Aditya and Guido van Rossum." -msgstr "" - -#: ../build/NEWS:930 -msgid ":gh:`95339`: Update bundled pip to 22.2.1." -msgstr "" - -#: ../build/NEWS:932 -msgid "" -":gh:`95045`: Fix GC crash when deallocating ``_lsprof.Profiler`` by " -"untracking it before calling any callbacks. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:935 -msgid "" -":gh:`95097`: Fix :func:`asyncio.run` for :class:`asyncio.Task` " -"implementations without :meth:`~asyncio.Task.uncancel` method. Patch by " -"Kumar Aditya." -msgstr "" - -#: ../build/NEWS:939 -msgid "" -":gh:`93899`: Fix check for existence of :data:`os.EFD_CLOEXEC`, :data:`os." -"EFD_NONBLOCK` and :data:`os.EFD_SEMAPHORE` flags on older kernel versions " -"where these flags are not present. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:943 -msgid "" -":gh:`95166`: Fix :meth:`concurrent.futures.Executor.map` to cancel the " -"currently waiting on future on an error - e.g. TimeoutError or " -"KeyboardInterrupt." -msgstr "" - -#: ../build/NEWS:947 -msgid "" -":gh:`95109`: Ensure that timeouts scheduled with :class:`asyncio.Timeout` " -"that have already expired are delivered promptly." -msgstr "" - -#: ../build/NEWS:950 -msgid "" -":gh:`91810`: Suppress writing an XML declaration in open files in " -"``ElementTree.write()`` with ``encoding='unicode'`` and " -"``xml_declaration=None``." -msgstr "" - -#: ../build/NEWS:954 -msgid "" -":gh:`91447`: Fix findtext in the xml module to only give an empty string " -"when the text attribute is set to None." -msgstr "" - -#: ../build/NEWS:960 -msgid "" -":gh:`91207`: Fix stylesheet not working in Windows CHM htmlhelp docs and add " -"warning that they are deprecated. Contributed by C.A.M. Gerlach." -msgstr "" - -#: ../build/NEWS:963 -msgid "" -":gh:`95451`: Update library documentation with :ref:`availability " -"information ` on WebAssembly platforms ``wasm32-" -"emscripten`` and ``wasm32-wasi``." -msgstr "" - -#: ../build/NEWS:967 -msgid "" -":gh:`95415`: Use consistent syntax for platform availability. The directive " -"now supports a content body and emits a warning when it encounters an " -"unknown platform." -msgstr "" - -#: ../build/NEWS:971 -msgid "" -":gh:`86128`: Document a limitation in ThreadPoolExecutor where its exit " -"handler is executed before any handlers in atexit." -msgstr "" - -#: ../build/NEWS:977 -msgid "" -":gh:`95573`: :source:`Lib/test/test_asyncio/test_ssl.py` exposed a bug in " -"the macOS kernel where intense concurrent load on non-blocking sockets " -"occasionally causes :const:`errno.ENOBUFS` (\"No buffer space available\") " -"to be emitted. FB11063974 filed with Apple, in the mean time as a workaround " -"buffer size used in tests on macOS is decreased to avoid intermittent " -"failures. Patch by Fantix King." -msgstr "" - -#: ../build/NEWS:984 -msgid "" -":gh:`95280`: Fix problem with ``test_ssl`` ``test_get_ciphers`` on systems " -"that require perfect forward secrecy (PFS) ciphers." -msgstr "" - -#: ../build/NEWS:987 -msgid "" -":gh:`94675`: Add a regression test for :mod:`re` exponentional slowdown when " -"using rjsmin." -msgstr "" - -#: ../build/NEWS:993 -msgid "" -":gh:`94801`: Fix a regression in ``configure`` script that caused some " -"header checks to ignore custom ``CPPFLAGS``. The regression was introduced " -"in :gh:`94802`." -msgstr "" - -#: ../build/NEWS:997 -msgid "" -":gh:`95145`: wasm32-wasi builds no longer depend on WASIX's pthread stubs. " -"Python now has its own stubbed pthread API." -msgstr "" - -#: ../build/NEWS:1000 -msgid "" -":gh:`95174`: Python now detects missing ``dup`` function in WASI and works " -"around some missing :mod:`errno`, :mod:`select`, and :mod:`socket` constants." -msgstr "" - -#: ../build/NEWS:1004 -msgid "" -":gh:`95174`: Python now skips missing :mod:`socket` functions and methods on " -"WASI. WASI can only create sockets from existing fd / accept and has no " -"netdb." -msgstr "" - -#: ../build/NEWS:1008 -msgid "" -":gh:`95085`: Platforms ``wasm32-unknown-emscripten`` and ``wasm32-unknown-" -"wasi`` have been promoted to :pep:`11` tier 3 platform support." -msgstr "" - -#: ../build/NEWS:1015 -msgid "" -":gh:`95656`: Enable the :meth:`~sqlite3.Connection.enable_load_extension` :" -"mod:`sqlite3` API." -msgstr "" - -#: ../build/NEWS:1018 -msgid "" -":gh:`95587`: Fixes some issues where the Windows installer would incorrectly " -"detect certain features of an existing install when upgrading." -msgstr "" - -#: ../build/NEWS:1021 -msgid "" -":gh:`94399`: Restores the behaviour of :ref:`launcher` for ``/usr/bin/env`` " -"shebang lines, which will now search :envvar:`PATH` for an executable " -"matching the given command. If none is found, the usual search process is " -"used." -msgstr "" - -#: ../build/NEWS:1026 -msgid "" -":gh:`95445`: Fixes the unsuccessful removal of the HTML document directory " -"when uninstalling with Windows msi." -msgstr "" - -#: ../build/NEWS:1029 -msgid "" -":gh:`95359`: Fix :ref:`launcher` handling of :file:`py.ini` commands (it was " -"incorrectly expecting a ``py_`` prefix on keys) and crashes when reading per-" -"user configuration file." -msgstr "" - -#: ../build/NEWS:1033 -msgid "" -":gh:`95285`: Fix :ref:`launcher` handling of command lines where it is only " -"passed a short executable name." -msgstr "" - -#: ../build/NEWS:1039 -msgid ":gh:`65802`: Document handling of extensions in Save As dialogs." -msgstr "" - -#: ../build/NEWS:1041 -msgid "" -":gh:`95191`: Include prompts when saving Shell (interactive input and " -"output)." -msgstr "" - -#: ../build/NEWS:1044 -msgid "" -":gh:`95511`: Fix the Shell context menu copy-with-prompts bug of copying an " -"extra line when one selects whole lines." -msgstr "" - -#: ../build/NEWS:1047 -msgid "" -":gh:`95471`: In the Edit menu, move ``Select All`` and add a new separator." -msgstr "" - -#: ../build/NEWS:1050 -msgid ":gh:`95411`: Enable using IDLE's module browser with .pyw files." -msgstr "" - -#: ../build/NEWS:1052 -msgid "" -":gh:`89610`: Add .pyi as a recognized extension for IDLE on macOS. This " -"allows opening stub files by double clicking on them in the Finder." -msgstr "" - -#: ../build/NEWS:1058 -msgid "" -":gh:`92678`: Restore the 3.10 behavior for multiple inheritance of C " -"extension classes that store their dictionary at the end of the struct." -msgstr "" - -#: ../build/NEWS:1061 -msgid "" -":gh:`94936`: Added :c:func:`PyCode_GetVarnames`, :c:func:" -"`PyCode_GetCellvars` and :c:func:`PyCode_GetFreevars` for accessing " -"``co_varnames``, ``co_cellvars`` and ``co_freevars`` respectively via the C " -"API." -msgstr "" - -#: ../build/NEWS:1068 -msgid "Python 3.11.0 beta 5" -msgstr "" - -#: ../build/NEWS:1070 -msgid "*Release date: 2022-07-25*" -msgstr "" - -#: ../build/NEWS:1079 -msgid "" -":gh:`94438`: Fix an issue that caused extended opcode arguments and some " -"conditional pops to be ignored when calculating valid jump targets for " -"assignments to the ``f_lineno`` attribute of frame objects. In some cases, " -"this could cause inconsistent internal state, resulting in a hard crash of " -"the interpreter." -msgstr "" - -#: ../build/NEWS:1085 -msgid "" -":gh:`95060`: Undocumented ``PyCode_Addr2Location`` function now properly " -"returns when ``addrq`` argument is less than zero." -msgstr "" - -#: ../build/NEWS:1088 -msgid "" -":gh:`95113`: Replace all ``EXTENDED_ARG_QUICK`` instructions with basic :" -"opcode:`EXTENDED_ARG` instructions in unquickened code. Consumers of non-" -"adaptive bytecode should be able to handle extended arguments the same way " -"they were handled in CPython 3.10 and older." -msgstr "" - -#: ../build/NEWS:1093 -msgid "" -":gh:`91409`: Fix incorrect source location info caused by certain " -"optimizations in the bytecode compiler." -msgstr "" - -#: ../build/NEWS:1096 -msgid "" -":gh:`94036`: Fix incorrect source location info for some multi-line " -"attribute accesses and method calls." -msgstr "" - -#: ../build/NEWS:1099 -msgid "" -":gh:`94739`: Allow jumping within, out of, and across exception handlers in " -"the debugger." -msgstr "" - -#: ../build/NEWS:1102 -msgid "" -":gh:`94949`: :func:`ast.parse` will no longer parse parenthesized context " -"managers when passed ``feature_version`` less than ``(3, 9)``. Patch by " -"Shantanu Jain." -msgstr "" - -#: ../build/NEWS:1106 -msgid "" -":gh:`94947`: :func:`ast.parse` will no longer parse assignment expressions " -"when passed ``feature_version`` less than ``(3, 8)``. Patch by Shantanu Jain." -msgstr "" - -#: ../build/NEWS:1110 -msgid "" -":gh:`91256`: Ensures the program name is known for help text during " -"interpreter startup." -msgstr "" - -#: ../build/NEWS:1113 -msgid "" -":gh:`94869`: Fix the column offsets for some expressions in multi-line f-" -"strings :mod:`ast` nodes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1116 -msgid "" -":gh:`94822`: Fix an issue where lookups of metaclass descriptors may be " -"ignored when an identically-named attribute also exists on the class itself." -msgstr "" - -#: ../build/NEWS:1120 -msgid "" -":gh:`91153`: Fix an issue where a :class:`bytearray` item assignment could " -"crash if it's resized by the new value's :meth:`__index__` method." -msgstr "" - -#: ../build/NEWS:1123 -msgid "" -":gh:`90699`: Fix reference counting bug in :meth:`bool.__repr__`. Patch by " -"Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1129 -msgid "" -":gh:`95087`: Fix IndexError in parsing invalid date in the :mod:`email` " -"module." -msgstr "" - -#: ../build/NEWS:1132 -msgid ":gh:`95199`: Upgrade bundled setuptools to 63.2.0." -msgstr "" - -#: ../build/NEWS:1134 -msgid ":gh:`95194`: Upgrade bundled pip to 22.2." -msgstr "" - -#: ../build/NEWS:1136 -msgid "" -":gh:`95132`: Fix a :mod:`sqlite3` regression where ``*args`` and ``**kwds`` " -"were incorrectly relayed from :py:func:`~sqlite3.connect` to the :class:" -"`~sqlite3.Connection` factory. The regression was introduced in 3.11a1 with " -"PR 24421 (:gh:`85128`). Patch by Erlend E. Aasland.`" -msgstr "" - -#: ../build/NEWS:1141 -msgid "" -":gh:`93157`: Fix :mod:`fileinput` module didn't support ``errors`` option " -"when ``inplace`` is true." -msgstr "" - -#: ../build/NEWS:1144 -msgid "" -":gh:`95105`: :meth:`wsgiref.types.InputStream.__iter__` should return " -"``Iterator[bytes]``, not ``Iterable[bytes]``. Patch by Shantanu Jain." -msgstr "" - -#: ../build/NEWS:1147 -msgid "" -":gh:`94857`: Fix refleak in ``_io.TextIOWrapper.reconfigure``. Patch by " -"Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1150 -msgid "" -":gh:`94821`: Fix binding of unix socket to empty address on Linux to use an " -"available address from the abstract namespace, instead of \"\\0\"." -msgstr "" - -#: ../build/NEWS:1153 -msgid "" -":gh:`89988`: Fix memory leak in :class:`pickle.Pickler` when looking up :" -"attr:`dispatch_table`. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1156 -msgid ":issue:`47025`: Drop support for :class:`bytes` on :attr:`sys.path`." -msgstr "" - -#: ../build/NEWS:1161 -msgid "" -":gh:`95212`: Make multiprocessing test case ``test_shared_memory_recreate`` " -"parallel-safe." -msgstr "" - -#: ../build/NEWS:1167 -msgid "" -":gh:`94847`: Fixed ``_decimal`` module build issue on GCC when compiling " -"with LTO and pydebug. Debug builds no longer force inlining of functions." -msgstr "" - -#: ../build/NEWS:1171 -msgid "" -":gh:`94841`: Fix the possible performance regression of :c:func:" -"`PyObject_Free` compiled with MSVC version 1932." -msgstr "" - -#: ../build/NEWS:1174 -msgid "" -":gh:`94801`: ``configure`` now uses custom flags like ``ZLIB_CFLAGS`` and " -"``ZLIB_LIBS`` when searching for headers and libraries." -msgstr "" - -#: ../build/NEWS:1177 -msgid "" -":gh:`94773`: ``deepfreeze.py`` now supports code object with frozensets that " -"contain incompatible, unsortable types." -msgstr "" - -#: ../build/NEWS:1183 -msgid "" -":gh:`90844`: Allow virtual environments to correctly launch when they have " -"spaces in the path." -msgstr "" - -#: ../build/NEWS:1186 -msgid ":gh:`94772`: Fix incorrect handling of shebang lines in py.exe launcher" -msgstr "" - -#: ../build/NEWS:1191 -msgid "" -":gh:`92678`: Adds unstable C-API functions ``_PyObject_VisitManagedDict`` " -"and ``_PyObject_ClearManagedDict`` to allow C extensions to allow the VM to " -"manage their object's dictionaries." -msgstr "" - -#: ../build/NEWS:1195 -msgid "" -":gh:`94930`: Fix ``SystemError`` raised when :c:func:" -"`PyArg_ParseTupleAndKeywords` is used with ``#`` in ``(...)`` but without " -"``PY_SSIZE_T_CLEAN`` defined." -msgstr "" - -#: ../build/NEWS:1199 -msgid "" -":gh:`94864`: Fix ``PyArg_Parse*`` with deprecated format units \"u\" and " -"\"Z\". It returned 1 (success) when warnings are turned into exceptions." -msgstr "" - -#: ../build/NEWS:1202 -msgid "" -":gh:`94731`: Python again uses C-style casts for most casting operations " -"when compiled with C++. This may trigger compiler warnings, if they are " -"enabled with e.g. ``-Wold-style-cast `` or ``-Wzero-as-null-pointer-" -"constant`` options for ``g++``." -msgstr "" - -#: ../build/NEWS:1209 -msgid "Python 3.11.0 beta 4" -msgstr "" - -#: ../build/NEWS:1211 -msgid "*Release date: 2022-07-11*" -msgstr "" - -#: ../build/NEWS:1216 -msgid "" -":gh:`87389`: :mod:`http.server`: Fix an open redirection vulnerability in " -"the HTTP server when an URI path starts with ``//``. Vulnerability " -"discovered, and initial fix proposed, by Hamza Avvan." -msgstr "" - -#: ../build/NEWS:1220 -msgid "" -":gh:`79096`: LWPCookieJar and MozillaCookieJar create files with file mode " -"600 instead of 644 (Microsoft Windows is not affected)" -msgstr "" - -#: ../build/NEWS:1223 -msgid "" -":gh:`92888`: Fix ``memoryview`` use after free when accessing the backing " -"buffer in certain cases." -msgstr "" - -#: ../build/NEWS:1226 -msgid "" -":gh:`68966`: The deprecated mailcap module now refuses to inject unsafe text " -"(filenames, MIME types, parameters) into shell commands. Instead of using " -"such text, it will warn and act as if a match was not found (or for test " -"commands, as if the test failed)." -msgstr "" - -#: ../build/NEWS:1234 -msgid "" -":gh:`94694`: Fix an issue that could cause code with multi-line method " -"lookups to have misleading or incorrect column offset information. In some " -"cases (when compiling a hand-built AST) this could have resulted in a hard " -"crash of the interpreter." -msgstr "" - -#: ../build/NEWS:1239 -msgid "" -":gh:`93252`: Fix an issue that caused internal frames to outlive failed " -"Python function calls, possibly resulting in memory leaks or hard " -"interpreter crashes." -msgstr "" - -#: ../build/NEWS:1243 -msgid "" -":gh:`94215`: Fix an issue where exceptions raised by line-tracing events " -"would cause frames to be left in an invalid state, possibly resulting in a " -"hard crash of the interpreter." -msgstr "" - -#: ../build/NEWS:1247 -msgid "" -":gh:`92228`: Disable the compiler's inline-small-exit-blocks optimization " -"for exit blocks that are associated with source code lines. This fixes a bug " -"where the debugger cannot tell where an exception handler ends and the " -"following code block begins." -msgstr "" - -#: ../build/NEWS:1252 -msgid "" -":gh:`94485`: Line number of a module's ``RESUME`` instruction is set to 0 as " -"specified in :pep:`626`." -msgstr "" - -#: ../build/NEWS:1255 -msgid "" -":gh:`94438`: Account for instructions that can push NULL to the stack when " -"setting line number in a frame. Prevents some (unlikely) crashes." -msgstr "" - -#: ../build/NEWS:1258 -msgid "" -":gh:`91719`: Reload ``opcode`` when raising ``unknown opcode error`` in the " -"interpreter main loop, for C compilers to generate dispatching code " -"independently." -msgstr "" - -#: ../build/NEWS:1262 -msgid "" -":gh:`94329`: Compile and run code with unpacking of extremely large " -"sequences (1000s of elements). Such code failed to compile. It now compiles " -"and runs correctly." -msgstr "" - -#: ../build/NEWS:1266 -msgid "" -":gh:`94360`: Fixed a tokenizer crash when reading encoded files with syntax " -"errors from ``stdin`` with non utf-8 encoded text. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1270 -msgid "" -":gh:`88116`: Fix an issue when reading line numbers from code objects if the " -"encoded line numbers are close to ``INT_MIN``. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1274 -msgid "" -":gh:`94262`: Don't create frame objects for incomplete frames. Prevents the " -"creation of generators and closures from being observable to Python and C " -"extensions, restoring the behavior of 3.10 and earlier." -msgstr "" - -#: ../build/NEWS:1278 -msgid "" -":gh:`94192`: Fix error for dictionary literals with invalid expression as " -"value." -msgstr "" - -#: ../build/NEWS:1281 -msgid "" -":gh:`93883`: Revise the display strategy of traceback enhanced error " -"locations. The indicators are only shown when the location doesn't span the " -"whole line." -msgstr "" - -#: ../build/NEWS:1285 -msgid ":gh:`94021`: Fix unreachable code warning in ``Python/specialize.c``." -msgstr "" - -#: ../build/NEWS:1287 -msgid "" -":gh:`93516`: Store offset of first traceable instruction in code object to " -"avoid having to recompute it for each instruction when tracing." -msgstr "" - -#: ../build/NEWS:1290 -msgid "" -":gh:`93516`: Lazily create a table mapping bytecode offsets to line numbers " -"to speed up calculation of line numbers when tracing." -msgstr "" - -#: ../build/NEWS:1293 -msgid "" -":gh:`89828`: :class:`types.GenericAlias` no longer relays the ``__class__`` " -"attribute. For example, ``isinstance(list[int], type)`` no longer returns " -"``True``." -msgstr "" - -#: ../build/NEWS:1297 -msgid "" -":gh:`93671`: Fix some exponential backtrace case happening with deeply " -"nested sequence patterns in match statements. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1300 -msgid "" -":gh:`93662`: Make sure that the end column offsets are correct in multi-line " -"method calls. Previously, the end column could precede the column offset." -msgstr "" - -#: ../build/NEWS:1304 -msgid "" -":gh:`93461`: :func:`importlib.invalidate_caches` now drops entries from :" -"data:`sys.path_importer_cache` with a relative path as name. This solves a " -"caching issue when a process changes its current working directory." -msgstr "" - -#: ../build/NEWS:1308 -msgid "" -"``FileFinder`` no longer inserts a dot in the path, e.g. ``/egg/./spam`` is " -"now ``/egg/spam``." -msgstr "" - -#: ../build/NEWS:1311 -msgid "" -":gh:`93418`: Fixed an assert where an f-string has an equal sign '=' " -"following an expression, but there's no trailing brace. For example, " -"f\"{i=\"." -msgstr "" - -#: ../build/NEWS:1315 -msgid "" -":gh:`93382`: Cache the result of :c:func:`PyCode_GetCode` function to " -"restore the O(1) lookup of the :attr:`~types.CodeType.co_code` attribute." -msgstr "" - -#: ../build/NEWS:1318 -msgid "" -":gh:`93354`: Use exponential backoff for specialization counters in the " -"interpreter. Can reduce the number of failed specializations significantly " -"and avoid slowdown for those parts of a program that are not suitable for " -"specialization." -msgstr "" - -#: ../build/NEWS:1323 -msgid "" -":gh:`93021`: Fix the :attr:`__text_signature__` for :meth:`__get__` methods " -"implemented in C. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:1326 -msgid "" -":gh:`92930`: Fixed a crash in ``_pickle.c`` from mutating collections during " -"``__reduce__`` or ``persistent_id``." -msgstr "" - -#: ../build/NEWS:1329 -msgid "" -":gh:`92914`: Always round the allocated size for lists up to the nearest " -"even number." -msgstr "" - -#: ../build/NEWS:1332 -msgid "" -":gh:`92858`: Improve error message for some suites with syntax error before " -"':'" -msgstr "" - -#: ../build/NEWS:1335 -msgid "" -":issue:`46142`: Make ``--help`` output shorter by moving some info to the " -"new ``--help-env`` and ``--help-xoptions`` command-line options. Also add " -"``--help-all`` option to print complete usage." -msgstr "" - -#: ../build/NEWS:1342 -msgid "" -":gh:`94736`: Fix crash when deallocating an instance of a subclass of " -"``_multiprocessing.SemLock``. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1345 -msgid "" -":gh:`94637`: :meth:`SSLContext.set_default_verify_paths` now releases the " -"GIL around ``SSL_CTX_set_default_verify_paths`` call. The function call " -"performs I/O and CPU intensive work." -msgstr "" - -#: ../build/NEWS:1349 -msgid "" -":gh:`94607`: Fix subclassing complex generics with type variables in :mod:" -"`typing`. Previously an error message saying ``Some type variables ... are " -"not listed in Generic[...]`` was shown. :mod:`typing` no longer populates " -"``__parameters__`` with the ``__parameters__`` of a Python class." -msgstr "" - -#: ../build/NEWS:1355 -msgid "" -":gh:`93910`: The ability to access the other values of an enum on an enum (e." -"g. ``Color.RED.BLUE``) has been restored in order to fix a performance " -"regression." -msgstr "" - -#: ../build/NEWS:1359 -msgid "" -":gh:`93896`: Fix :func:`asyncio.run` and :class:`unittest." -"IsolatedAsyncioTestCase` to always the set event loop as it was done in " -"Python 3.10 and earlier. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1363 -msgid "" -":gh:`94510`: Re-entrant calls to :func:`sys.setprofile` and :func:`sys." -"settrace` now raise :exc:`RuntimeError`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1367 -msgid "" -":gh:`92336`: Fix bug where :meth:`linecache.getline` fails on bad files " -"with :exc:`UnicodeDecodeError` or :exc:`SyntaxError`. It now returns an " -"empty string as per the documentation." -msgstr "" - -#: ../build/NEWS:1371 -msgid "" -":gh:`94398`: Once a :class:`asyncio.TaskGroup` has started shutting down (i." -"e., at least one task has failed and the task group has started cancelling " -"the remaining tasks), it should not be possible to add new tasks to the task " -"group." -msgstr "" - -#: ../build/NEWS:1376 -msgid "" -":gh:`94254`: Fixed types of :mod:`struct` module to be immutable. Patch by " -"Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1379 -msgid "" -":gh:`94207`: Made :class:`_struct.Struct` GC-tracked in order to fix a " -"reference leak in the :mod:`_struct` module." -msgstr "" - -#: ../build/NEWS:1382 -msgid "" -":gh:`91742`: Fix :mod:`pdb` crash after jump caused by a null pointer " -"dereference. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1385 -msgid "" -":gh:`94101`: Manual instantiation of :class:`ssl.SSLSession` objects is no " -"longer allowed as it lead to misconfigured instances that crashed the " -"interpreter when attributes where accessed on them." -msgstr "" - -#: ../build/NEWS:1389 -msgid "" -":gh:`84753`: :func:`inspect.iscoroutinefunction`, :func:`inspect." -"isgeneratorfunction`, and :func:`inspect.isasyncgenfunction` now properly " -"return ``True`` for duck-typed function-like objects like instances of :" -"class:`unittest.mock.AsyncMock`." -msgstr "" - -#: ../build/NEWS:1395 -msgid "" -"This makes :func:`inspect.iscoroutinefunction` consistent with the behavior " -"of :func:`asyncio.iscoroutinefunction`. Patch by Mehdi ABAAKOUK." -msgstr "" - -#: ../build/NEWS:1398 -msgid "" -":gh:`94028`: Fix a regression in the :mod:`sqlite3` where statement objects " -"were not properly cleared and reset after use in cursor iters. The " -"regression was introduced by PR 27884 in Python 3.11a1. Patch by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:1403 -msgid ":gh:`93820`: Pickle :class:`enum.Flag` by name." -msgstr "" - -#: ../build/NEWS:1405 -msgid ":gh:`93847`: Fix repr of enum of generic aliases." -msgstr "" - -#: ../build/NEWS:1407 -msgid "" -":gh:`91404`: Revert the :mod:`re` memory leak when a match is terminated by " -"a signal or memory allocation failure as the implemented fix caused a major " -"performance regression." -msgstr "" - -#: ../build/NEWS:1411 -msgid ":gh:`83499`: Fix double closing of file description in :mod:`tempfile`." -msgstr "" - -#: ../build/NEWS:1413 -msgid "" -":gh:`93820`: Fixed a regression when :func:`copy.copy`-ing :class:`enum." -"Flag` with multiple flag members." -msgstr "" - -#: ../build/NEWS:1416 -msgid "" -":gh:`79512`: Fixed names and ``__module__`` value of :mod:`weakref` classes :" -"class:`~weakref.ReferenceType`, :class:`~weakref.ProxyType`, :class:" -"`~weakref.CallableProxyType`. It makes them pickleable." -msgstr "" - -#: ../build/NEWS:1420 -msgid "" -":gh:`91389`: Fix an issue where :mod:`dis` utilities could report missing or " -"incorrect position information in the presence of ``CACHE`` entries." -msgstr "" - -#: ../build/NEWS:1424 -msgid "" -":gh:`93626`: Set ``__future__.annotations`` to have a ``None`` " -"mandatoryRelease to indicate that it is currently 'TBD'." -msgstr "" - -#: ../build/NEWS:1427 -msgid "" -":gh:`90473`: Emscripten and WASI have no home directory and cannot provide :" -"pep:`370` user site directory." -msgstr "" - -#: ../build/NEWS:1430 -msgid "" -":gh:`90494`: :func:`copy.copy` and :func:`copy.deepcopy` now always raise a " -"TypeError if ``__reduce__()`` returns a tuple with length 6 instead of " -"silently ignore the 6th item or produce incorrect result." -msgstr "" - -#: ../build/NEWS:1434 -msgid "" -":gh:`90549`: Fix a multiprocessing bug where a global named resource (such " -"as a semaphore) could leak when a child process is spawned (as opposed to " -"forked)." -msgstr "" - -#: ../build/NEWS:1438 -msgid "" -":gh:`93521`: Fixed a case where dataclasses would try to add ``__weakref__`` " -"into the ``__slots__`` for a dataclass that specified ``weakref_slot=True`` " -"when it was already defined in one of its bases. This resulted in a " -"``TypeError`` upon the new class being created." -msgstr "" - -#: ../build/NEWS:1443 -msgid "" -":gh:`79579`: :mod:`sqlite3` now correctly detects DML queries with leading " -"comments. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:1446 -msgid "" -":gh:`93421`: Update :data:`sqlite3.Cursor.rowcount` when a DML statement has " -"run to completion. This fixes the row count for SQL queries like " -"``UPDATE ... RETURNING``. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:1450 -msgid "" -":gh:`91162`: Support splitting of unpacked arbitrary-length tuple over " -"``TypeVar`` and ``TypeVarTuple`` parameters. For example:" -msgstr "" - -#: ../build/NEWS:1453 -msgid "``A[T, *Ts][*tuple[int, ...]]`` -> ``A[int, *tuple[int, ...]]``" -msgstr "" - -#: ../build/NEWS:1454 -msgid "``A[*Ts, T][*tuple[int, ...]]`` -> ``A[*tuple[int, ...], int]``" -msgstr "" - -#: ../build/NEWS:1456 -msgid "" -":gh:`93353`: Fix the :func:`importlib.resources.as_file` context manager to " -"remove the temporary file if destroyed late during Python finalization: keep " -"a local reference to the :func:`os.remove` function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1461 -msgid "" -":gh:`83658`: Make :class:`multiprocessing.Pool` raise an exception if " -"``maxtasksperchild`` is not ``None`` or a positive int." -msgstr "" - -#: ../build/NEWS:1464 -msgid "" -":gh:`93156`: Accessing the :attr:`pathlib.PurePath.parents` sequence of an " -"absolute path using negative index values produced incorrect results." -msgstr "" - -#: ../build/NEWS:1467 -msgid "" -":gh:`74696`: :func:`shutil.make_archive` no longer temporarily changes the " -"current working directory during creation of standard ``.zip`` or tar " -"archives." -msgstr "" - -#: ../build/NEWS:1471 -msgid "" -":gh:`89973`: Fix :exc:`re.error` raised in :mod:`fnmatch` if the pattern " -"contains a character range with upper bound lower than lower bound (e.g. " -"``[c-a]``). Now such ranges are interpreted as empty ranges." -msgstr "" - -#: ../build/NEWS:1475 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:1479 -msgid "" -":gh:`91577`: Move imports in :class:`~multiprocessing.SharedMemory` methods " -"to module level so that they can be executed late in python finalization." -msgstr "" - -#: ../build/NEWS:1483 -msgid "" -":gh:`91456`: Deprecate current default auto() behavior: In 3.13 the default " -"will be for for auto() to always return the largest member value incremented " -"by 1, and to raise if incompatible value types are used." -msgstr "" - -#: ../build/NEWS:1487 -msgid "" -":issue:`47231`: Fixed an issue with inconsistent trailing slashes in tarfile " -"longname directories." -msgstr "" - -#: ../build/NEWS:1490 -msgid "" -":issue:`46755`: In :class:`QueueHandler`, clear ``stack_info`` from :class:" -"`LogRecord` to prevent stack trace from being written twice." -msgstr "" - -#: ../build/NEWS:1493 -msgid "" -":issue:`46197`: Fix :mod:`ensurepip` environment isolation for subprocess " -"running ``pip``." -msgstr "" - -#: ../build/NEWS:1496 -msgid "" -":issue:`45924`: Fix :mod:`asyncio` incorrect traceback when future's " -"exception is raised multiple times. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1499 -msgid "" -":issue:`34828`: :meth:`sqlite3.Connection.iterdump` now handles databases " -"that use ``AUTOINCREMENT`` in one or more tables." -msgstr "" - -#: ../build/NEWS:1505 -msgid "" -":gh:`94321`: Document the :pep:`246` style protocol type :class:`sqlite3." -"PrepareProtocol`." -msgstr "" - -#: ../build/NEWS:1508 -msgid "" -":gh:`61162`: Clarify :mod:`sqlite3` behavior when :ref:`sqlite3-connection-" -"context-manager`." -msgstr "" - -#: ../build/NEWS:1511 -msgid "" -":gh:`87260`: Align :mod:`sqlite3` argument specs with the actual " -"implementation." -msgstr "" - -#: ../build/NEWS:1514 -msgid "" -":gh:`86986`: The minimum Sphinx version required to build the documentation " -"is now 3.2." -msgstr "" - -#: ../build/NEWS:1517 -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 to this." -msgstr "" - -#: ../build/NEWS:1521 -msgid "" -":issue:`47161`: Document that :class:`pathlib.PurePath` does not collapse " -"initial double slashes because they denote UNC paths." -msgstr "" - -#: ../build/NEWS:1527 -msgid "" -":gh:`91330`: Added more tests for :mod:`dataclasses` to cover behavior with " -"data descriptor-based fields." -msgstr "" - -#: ../build/NEWS:1530 -msgid "" -":gh:`94208`: ``test_ssl`` is now checking for supported TLS version and " -"protocols in more tests." -msgstr "" - -#: ../build/NEWS:1533 -msgid "" -":gh:`94315`: Tests now check for DAC override capability instead of relying " -"on :func:`os.geteuid`." -msgstr "" - -#: ../build/NEWS:1536 -msgid "" -":gh:`93951`: In test_bdb.StateTestCase.test_skip, avoid including auxiliary " -"importers." -msgstr "" - -#: ../build/NEWS:1539 -msgid "" -":gh:`93957`: Provide nicer error reporting from subprocesses in test_venv." -"EnsurePipTest.test_with_pip." -msgstr "" - -#: ../build/NEWS:1542 -msgid "" -":gh:`84461`: ``run_tests.py`` now handles cross compiling env vars correctly " -"and pass ``HOSTRUNNER`` to regression tests." -msgstr "" - -#: ../build/NEWS:1545 -msgid "" -":gh:`93616`: ``test_modulefinder`` now creates a temporary directory in " -"``ModuleFinderTest.setUp()`` instead of module scope." -msgstr "" - -#: ../build/NEWS:1548 -msgid "" -":gh:`93575`: Fix issue with test_unicode test_raiseMemError. The test case " -"now use ``test.support.calcobjsize`` to calculate size of PyUnicode " -"structs. :func:`sys.getsizeof` may return different size when string has " -"UTF-8 memory." -msgstr "" - -#: ../build/NEWS:1553 -msgid "" -":gh:`90473`: WASI does not have a ``chmod(2)`` syscall. :func:`os.chmod` is " -"now a dummy function on WASI. Skip all tests that depend on working :func:" -"`os.chmod`." -msgstr "" - -#: ../build/NEWS:1557 -msgid "" -":gh:`90473`: Skip tests on WASI that require symlinks with absolute paths." -msgstr "" - -#: ../build/NEWS:1560 -msgid "" -":gh:`57539`: Increase calendar test coverage for :meth:`calendar." -"LocaleTextCalendar.formatweekday`." -msgstr "" - -#: ../build/NEWS:1563 -msgid "" -":gh:`90473`: Skip symlink tests on WASI. wasmtime uses ``openat2(2)`` with " -"``RESOLVE_BENEATH`` flag, which prevents symlinks with absolute paths." -msgstr "" - -#: ../build/NEWS:1567 -msgid "" -":gh:`89858`: Fix ``test_embed`` for out-of-tree builds. Patch by Kumar " -"Aditya." -msgstr "" - -#: ../build/NEWS:1570 -msgid "" -":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " -"in ``test_imaplib.py``." -msgstr "" - -#: ../build/NEWS:1573 -msgid "" -":gh:`92886`: Fixing tests that fail when running with optimizations (``-O``) " -"in ``test_zipimport.py``" -msgstr "" - -#: ../build/NEWS:1576 -msgid "" -":issue:`47016`: Create a GitHub Actions workflow for verifying bundled pip " -"and setuptools. Patch by Illia Volochii and Adam Turner." -msgstr "" - -#: ../build/NEWS:1582 -msgid "" -":gh:`94404`: ``makesetup`` now works around an issue with sed on macOS and " -"uses correct CFLAGS for object files that end up in a shared extension. " -"Module CFLAGS are used before PY_STDMODULE_CFLAGS to avoid clashes with " -"system headers." -msgstr "" - -#: ../build/NEWS:1587 -msgid "" -":gh:`93584`: Address race condition in ``Makefile`` when installing a PGO " -"build. All ``test`` and ``install`` targets now depend on ``all`` target." -msgstr "" - -#: ../build/NEWS:1591 -msgid "" -":gh:`93491`: ``configure`` now detects and reports :pep:`11` support tiers." -msgstr "" - -#: ../build/NEWS:1597 -msgid "" -":gh:`93824`: Drag and drop of files onto Python files in Windows Explorer " -"has been enabled for Windows ARM64." -msgstr "" - -#: ../build/NEWS:1600 -msgid "" -":issue:`42658`: Support native Windows case-insensitive path comparisons by " -"using ``LCMapStringEx`` instead of :func:`str.lower` in :func:`ntpath." -"normcase`. Add ``LCMapStringEx`` to the :mod:`_winapi` module." -msgstr "" - -#: ../build/NEWS:1608 -msgid "" -":gh:`94538`: Fix Argument Clinic output to custom file destinations. Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:1611 -msgid "" -":gh:`94430`: Allow parameters named ``module`` and ``self`` with custom C " -"names in Argument Clinic. Patch by Erlend E. Aasland" -msgstr "" - -#: ../build/NEWS:1617 -msgid "" -":gh:`93937`: The following frame functions and type are now directly " -"available with ``#include ``, it's no longer needed to add " -"``#include ``:" -msgstr "" - -#: ../build/NEWS:1621 -msgid ":c:func:`PyFrame_Check`" -msgstr "" - -#: ../build/NEWS:1622 -msgid ":c:func:`PyFrame_GetBack`" -msgstr "" - -#: ../build/NEWS:1623 -msgid ":c:func:`PyFrame_GetBuiltins`" -msgstr "" - -#: ../build/NEWS:1624 -msgid ":c:func:`PyFrame_GetGenerator`" -msgstr "" - -#: ../build/NEWS:1625 -msgid ":c:func:`PyFrame_GetGlobals`" -msgstr "" - -#: ../build/NEWS:1626 -msgid ":c:func:`PyFrame_GetLasti`" -msgstr "" - -#: ../build/NEWS:1627 -msgid ":c:func:`PyFrame_GetLocals`" -msgstr "" - -#: ../build/NEWS:1628 -msgid ":c:type:`PyFrame_Type`" -msgstr "" - -#: ../build/NEWS:1630 ../build/NEWS:5462 ../build/NEWS:5490 ../build/NEWS:6214 -#: ../build/NEWS:7344 ../build/NEWS:8472 ../build/NEWS:8528 -msgid "Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1632 -msgid "" -":gh:`91321`: Fix the compatibility of the Python C API with C++ older than C+" -"+11. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1635 -msgid "" -":gh:`91731`: Avoid defining the ``static_assert`` when compiling with C++ " -"11, where this is a keyword and redefining it can lead to undefined " -"behavior. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:1639 -msgid "" -":gh:`93442`: Add C++ overloads for _Py_CAST_impl() to handle 0/NULL. This " -"will allow C++ extensions that pass 0 or NULL to macros using _Py_CAST() to " -"continue to compile." -msgstr "" - -#: ../build/NEWS:1645 -msgid "Python 3.11.0 beta 3" -msgstr "" - -#: ../build/NEWS:1647 -msgid "*Release date: 2022-06-01*" -msgstr "" - -#: ../build/NEWS:1652 -msgid "" -":gh:`93359`: Ensure that custom :mod:`ast` nodes without explicit end " -"positions can be compiled. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1655 -msgid "" -":gh:`93345`: Fix a crash in substitution of a ``TypeVar`` in nested generic " -"alias after ``TypeVarTuple``." -msgstr "" - -#: ../build/NEWS:1661 -msgid "" -":gh:`69093`: Fix ``Modules/Setup.stdlib.in`` rule for ``_sqlite3`` extension." -msgstr "" - -#: ../build/NEWS:1666 -msgid "Python 3.11.0 beta 2" -msgstr "" - -#: ../build/NEWS:1668 -msgid "*Release date: 2022-05-30*" -msgstr "" - -#: ../build/NEWS:1673 -msgid "" -":gh:`84694`: The ``--experimental-isolated-subinterpreters`` configure " -"option and ``EXPERIMENTAL_ISOLATED_SUBINTERPRETERS`` macro have been removed." -msgstr "" - -#: ../build/NEWS:1677 -msgid "" -":gh:`91924`: Fix ``__lltrace__`` debug feature if the stdout encoding is not " -"UTF-8. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1680 -msgid "" -":gh:`93061`: Backward jumps after ``async for`` loops are no longer given " -"dubious line numbers." -msgstr "" - -#: ../build/NEWS:1683 -msgid "" -":gh:`93065`: Fix contextvars HAMT implementation to handle iteration over " -"deep trees." -msgstr "" - -#: ../build/NEWS:1686 -msgid "" -"The bug was discovered and fixed by Eli Libman. See `MagicStack/" -"immutables#84 `_ for " -"more details." -msgstr "" - -#: ../build/NEWS:1690 -msgid "" -":gh:`90473`: Decrease default recursion limit on WASI to address limited " -"call stack size." -msgstr "" - -#: ../build/NEWS:1693 -msgid "" -":gh:`92804`: Fix memory leak in ``memoryview`` iterator as it was not " -"finalized at exit. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1696 -msgid "" -":gh:`92236`: Remove spurious \"LINE\" event when starting a generator or " -"coroutine, visible tracing functions implemented in C." -msgstr "" - -#: ../build/NEWS:1699 -msgid "" -":gh:`92619`: Make the compiler duplicate an exit block only if none of its " -"instructions have a lineno (previously only the first instruction in the " -"block was checked, leading to unnecessarily duplicated blocks)." -msgstr "" - -#: ../build/NEWS:1703 -msgid ":gh:`92261`: Fix hang when trying to iterate over a ``typing.Union``." -msgstr "" - -#: ../build/NEWS:1708 -msgid "" -":gh:`93297`: Make asyncio task groups prevent child tasks from being GCed" -msgstr "" - -#: ../build/NEWS:1711 -msgid "" -":gh:`90817`: The :func:`locale.resetlocale` function is deprecated and will " -"be removed in Python 3.13. Use ``locale.setlocale(locale.LC_ALL, \"\")`` " -"instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1715 -msgid "" -":gh:`92728`: The :func:`re.template` function and the corresponding :const:" -"`re.TEMPLATE` and :const:`re.T` flags are restored after they were removed " -"in 3.11.0b1, but they are now deprecated, so they might be removed from " -"Python 3.13." -msgstr "" - -#: ../build/NEWS:1720 -msgid "" -":gh:`93044`: No longer convert the database argument of :func:`sqlite3." -"connect` to bytes before passing it to the factory." -msgstr "" - -#: ../build/NEWS:1723 -msgid "" -":gh:`93010`: In a very special case, the email package tried to append the " -"nonexistent ``InvalidHeaderError`` to the defect list. It should have been " -"``InvalidHeaderDefect``." -msgstr "" - -#: ../build/NEWS:1727 -msgid "" -":gh:`92675`: Fix :func:`venv.ensure_directories` to accept :class:`pathlib." -"Path` arguments in addition to :class:`str` paths. Patch by David Foster." -msgstr "" - -#: ../build/NEWS:1731 -msgid "" -":gh:`87901`: Removed the ``encoding`` argument from :func:`os.popen` that " -"was added in 3.11b1." -msgstr "" - -#: ../build/NEWS:1734 -msgid "" -":gh:`91922`: Fix function :func:`sqlite.connect` and the :class:`sqlite." -"Connection` constructor on non-UTF-8 locales. Also, they now support bytes " -"paths non-decodable with the current FS encoding." -msgstr "" - -#: ../build/NEWS:1738 -msgid "" -":gh:`92839`: Fixed crash resulting from calling bisect.insort() or bisect." -"insort_left() with the key argument not equal to None." -msgstr "" - -#: ../build/NEWS:1741 -msgid "" -":gh:`90473`: :mod:`subprocess` now fails early on Emscripten and WASI " -"platforms to work around missing :func:`os.pipe` on WASI." -msgstr "" - -#: ../build/NEWS:1744 -msgid "" -":gh:`92671`: Fixed :func:`ast.unparse` for empty tuples in the assignment " -"target context." -msgstr "" - -#: ../build/NEWS:1747 -msgid "" -":gh:`91581`: :meth:`~datetime.datetime.utcfromtimestamp` no longer attempts " -"to resolve ``fold`` in the pure Python implementation, since the fold is " -"never 1 in UTC. In addition to being slightly faster in the common case, " -"this also prevents some errors when the timestamp is close to :attr:" -"`datetime.min `. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:1753 -msgid ":gh:`92550`: Fix :meth:`pathlib.Path.rglob` for empty pattern." -msgstr "" - -#: ../build/NEWS:1755 -msgid "" -":gh:`92530`: Fix an issue that occurred after interrupting :func:`threading." -"Condition.notify`." -msgstr "" - -#: ../build/NEWS:1758 -msgid "" -":gh:`92531`: The statistics.median_grouped() function now always return a " -"float. Formerly, it did not convert the input type when for sequences of " -"length one." -msgstr "" - -#: ../build/NEWS:1762 -msgid "" -":gh:`91810`: :class:`~xml.etree.ElementTree.ElementTree` method :meth:`~xml." -"etree.ElementTree.ElementTree.write` and function :func:`~xml.etree." -"ElementTree.tostring` now use the text file's encoding (\"UTF-8\" if not " -"available) instead of locale encoding in XML declaration when " -"``encoding=\"unicode\"`` is specified." -msgstr "" - -#: ../build/NEWS:1768 -msgid "" -":gh:`90622`: Worker processes for :class:`concurrent.futures." -"ProcessPoolExecutor` are no longer spawned on demand (a feature added in " -"3.9) when the multiprocessing context start method is ``\"fork\"`` as that " -"can lead to deadlocks in the child processes due to a fork happening while " -"threads are running." -msgstr "" - -#: ../build/NEWS:1774 -msgid "" -":gh:`91581`: Remove an unhandled error case in the C implementation of calls " -"to :meth:`datetime.fromtimestamp ` with no " -"time zone (i.e. getting a local time from an epoch timestamp). This should " -"have no user-facing effect other than giving a possibly more accurate error " -"message when called with timestamps that fall on 10000-01-01 in the local " -"time. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:1781 -msgid "" -":issue:`39064`: :class:`zipfile.ZipFile` now raises :exc:`zipfile." -"BadZipFile` instead of ``ValueError`` when reading a corrupt zip file in " -"which the central directory offset is negative." -msgstr "" - -#: ../build/NEWS:1785 -msgid "" -":issue:`45393`: Fix the formatting for ``await x`` and ``not x`` in the " -"operator precedence table when using the :func:`help` system." -msgstr "" - -#: ../build/NEWS:1788 -msgid "" -":issue:`28249`: Set :attr:`doctest.DocTest.lineno` to ``None`` when object " -"does not have :attr:`__doc__`." -msgstr "" - -#: ../build/NEWS:1791 -msgid "" -":issue:`45046`: Add support of context managers in :mod:`unittest`: methods :" -"meth:`~unittest.TestCase.enterContext` and :meth:`~unittest.TestCase." -"enterClassContext` of class :class:`~unittest.TestCase`, method :meth:" -"`~unittest.IsolatedAsyncioTestCase.enterAsyncContext` of class :class:" -"`~unittest.IsolatedAsyncioTestCase` and function :func:`unittest." -"enterModuleContext`." -msgstr "" - -#: ../build/NEWS:1799 -msgid "" -":issue:`42627`: Fix incorrect parsing of Windows registry proxy settings" -msgstr "" - -#: ../build/NEWS:1804 -msgid "" -":gh:`86438`: Clarify that :option:`-W` and :envvar:`PYTHONWARNINGS` are " -"matched literally and case-insensitively, rather than as regular " -"expressions, in :mod:`warnings`." -msgstr "" - -#: ../build/NEWS:1808 -msgid "" -":gh:`92240`: Added release dates for \"What's New in Python 3.X\" for 3.0, " -"3.1, 3.2, 3.8 and 3.10" -msgstr "" - -#: ../build/NEWS:1811 -msgid "" -":issue:`40838`: Document that :func:`inspect.getdoc`, :func:`inspect." -"getmodule`, and :func:`inspect.getsourcefile` might return ``None``." -msgstr "" - -#: ../build/NEWS:1815 -msgid "" -":issue:`38056`: Overhaul the :ref:`error-handlers` documentation in :mod:" -"`codecs`." -msgstr "" - -#: ../build/NEWS:1818 -msgid ":issue:`13553`: Document tkinter.Tk args." -msgstr "" - -#: ../build/NEWS:1823 -msgid "" -":gh:`92670`: Skip ``test_shutil.TestCopy.test_copyfile_nonexistent_dir`` " -"test on AIX as the test uses a trailing slash to force the OS consider the " -"path as a directory, but on AIX the trailing slash has no effect and is " -"considered as a file." -msgstr "" - -#: ../build/NEWS:1832 -msgid "" -":gh:`90473`: Disable pymalloc and increase stack size on ``wasm32-wasi``." -msgstr "" - -#: ../build/NEWS:1835 -msgid "" -":issue:`34449`: Drop invalid compiler switch ``-fPIC`` for HP aCC on HP-UX. " -"Patch by Michael Osipov." -msgstr "" - -#: ../build/NEWS:1841 -msgid "" -":gh:`92817`: Ensures that :file:`py.exe` will prefer an active virtual " -"environment over default tags specified with environment variables or " -"through a :file:`py.ini` file." -msgstr "" - -#: ../build/NEWS:1845 -msgid "" -":gh:`92984`: Explicitly disable incremental linking for non-Debug builds" -msgstr "" - -#: ../build/NEWS:1848 -msgid "" -":gh:`92841`: :mod:`asyncio` no longer throws ``RuntimeError: Event loop is " -"closed`` on interpreter exit after asynchronous socket activity. Patch by " -"Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:1852 -msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.4." -msgstr "" - -#: ../build/NEWS:1857 -msgid "" -":gh:`92898`: Fix C++ compiler warnings when casting function arguments to " -"``PyObject*``. Patch by Serge Guelton." -msgstr "" - -#: ../build/NEWS:1860 -msgid "" -":gh:`92913`: Ensures changes to :c:member:`PyConfig.module_search_paths` are " -"ignored unless :c:member:`PyConfig.module_search_paths_set` is set" -msgstr "" - -#: ../build/NEWS:1864 -msgid "" -":gh:`92781`: Avoid mixing declarations and code in the C API to fix the " -"compiler warning: \"ISO C90 forbids mixed declarations and code\" [-" -"Werror=declaration-after-statement]. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1870 -msgid "Python 3.11.0 beta 1" -msgstr "" - -#: ../build/NEWS:1872 -msgid "*Release date: 2022-05-06*" -msgstr "" - -#: ../build/NEWS:1877 -msgid "" -":gh:`57684`: Add the :option:`-P` command line option and the :envvar:" -"`PYTHONSAFEPATH` environment variable to not prepend a potentially unsafe " -"path to :data:`sys.path`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1884 -msgid "" -":gh:`89519`: Chaining classmethod descriptors (introduced in :issue:`19072`) " -"is deprecated. It can no longer be used to wrap other descriptors such as " -"property(). The core design of this feature was flawed, and it caused a " -"number of downstream problems." -msgstr "" - -#: ../build/NEWS:1889 -msgid "" -":gh:`92345`: ``pymain_run_python()`` now imports ``readline`` and " -"``rlcompleter`` before sys.path is extended to include the current working " -"directory of an interactive interpreter. Non-interactive interpreters are " -"not affected." -msgstr "" - -#: ../build/NEWS:1894 -msgid "" -":issue:`43857`: Improve the :exc:`AttributeError` message when deleting a " -"missing attribute. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:1897 -msgid "" -":gh:`92245`: Make sure that PEP 523 is respected in all cases. In 3.11a7, " -"specialization may have prevented Python-to-Python calls respecting PEP 523." -msgstr "" - -#: ../build/NEWS:1901 -msgid "" -":gh:`92203`: Add a closure keyword-only parameter to exec(). It can only be " -"specified when exec-ing a code object that uses free variables. When " -"specified, it must be a tuple, with exactly the number of cell variables " -"referenced by the code object. closure has a default value of None, and it " -"must be None if the code object doesn't refer to any free variables." -msgstr "" - -#: ../build/NEWS:1908 -msgid "" -":gh:`91173`: Disable frozen modules in debug builds. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:1911 -msgid "" -":gh:`92114`: Improve error message when subscript a type with " -"``__class_getitem__`` set to ``None``." -msgstr "" - -#: ../build/NEWS:1914 -msgid "" -":gh:`92112`: Fix crash triggered by an evil custom ``mro()`` on a metaclass." -msgstr "" - -#: ../build/NEWS:1917 -msgid "" -":gh:`92063`: The ``PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS`` " -"instruction now ensures methods are called only on objects of the correct " -"type." -msgstr "" - -#: ../build/NEWS:1921 -msgid "" -":gh:`92031`: Deoptimize statically allocated code objects during " -"``Py_FINALIZE()`` so that future ``_PyCode_Quicken`` calls always start with " -"unquickened code." -msgstr "" - -#: ../build/NEWS:1925 -msgid "" -":gh:`92036`: Fix a crash in subinterpreters related to the garbage " -"collector. When a subinterpreter is deleted, untrack all objects tracked by " -"its GC. To prevent a crash in deallocator functions expecting objects to be " -"tracked by the GC, leak a strong reference to these objects on purpose, so " -"they are never deleted and their deallocator functions are not called. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:1932 -msgid "" -":gh:`92032`: The interpreter can now autocomplete soft keywords, as of now " -"``match``, ``case``, and ``_`` (wildcard pattern) from :pep:`634`." -msgstr "" - -#: ../build/NEWS:1935 -msgid "" -":gh:`87999`: The warning emitted by the Python parser for a numeric literal " -"immediately followed by keyword has been changed from deprecation warning to " -"syntax warning." -msgstr "" - -#: ../build/NEWS:1939 -msgid "" -":gh:`91869`: Fix an issue where specialized opcodes with extended arguments " -"could produce incorrect tracing output or lead to assertion failures." -msgstr "" - -#: ../build/NEWS:1943 -msgid "" -":gh:`91603`: Speed up :class:`types.UnionType` instantiation. Based on patch " -"provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:1946 -msgid "" -":gh:`89373`: If Python is built in debug mode, Python now ensures that " -"deallocator functions leave the current exception unchanged. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:1950 -msgid "" -":gh:`91632`: Fix a minor memory leak at exit: release the memory of the :" -"class:`generic_alias_iterator` type. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:1953 -msgid "" -":gh:`81548`: Octal escapes with value larger than ``0o377`` now produce a :" -"exc:`DeprecationWarning`. In a future Python version they will be a :exc:" -"`SyntaxWarning` and eventually a :exc:`SyntaxError`." -msgstr "" - -#: ../build/NEWS:1957 -msgid "" -":issue:`43950`: Use a single compact table for line starts, ends and column " -"offsets. Reduces memory consumption for location info by half" -msgstr "" - -#: ../build/NEWS:1960 -msgid "" -":gh:`91102`: Use Argument Clinic for :class:`EncodingMap`. Patch by Oleg " -"Iarygin." -msgstr "" - -#: ../build/NEWS:1963 -msgid "" -":gh:`91636`: Fixed a crash in a garbage-collection edge-case, in which a " -"``PyFunction_Type.tp_clear`` function could leave a python function object " -"in an inconsistent state." -msgstr "" - -#: ../build/NEWS:1967 -msgid "" -":gh:`91603`: Speed up :func:`isinstance` and :func:`issubclass` checks for :" -"class:`types.UnionType`. Patch by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:1970 -msgid "" -":gh:`91625`: Fixed a bug in which adaptive opcodes ignored any preceding " -"``EXTENDED_ARG``\\ s on specialization failure." -msgstr "" - -#: ../build/NEWS:1973 -msgid "" -":gh:`78607`: The LLTRACE special build now looks for the name " -"``__lltrace__`` defined in module globals, rather than the name " -"``__ltrace__``, which had been introduced as a typo." -msgstr "" - -#: ../build/NEWS:1977 -msgid "" -":gh:`91576`: Speed up iteration of ascii strings by 50%. Patch by Kumar " -"Aditya." -msgstr "" - -#: ../build/NEWS:1980 -msgid "" -":gh:`89279`: Improve interpreter performance on Windows by inlining a few " -"specific macros." -msgstr "" - -#: ../build/NEWS:1983 -msgid "" -":gh:`91502`: Add a new :c:func:`_PyFrame_IsEntryFrame` API function, to " -"check if a :c:type:`PyFrameObject` is an entry frame. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:1987 -msgid "" -":gh:`91266`: Refactor the ``bytearray`` strip methods ``strip``, ``lstrip`` " -"and ``rstrip`` to use a common implementation." -msgstr "" - -#: ../build/NEWS:1990 -msgid "" -":gh:`91479`: Replaced the ``__note__`` field of :exc:`BaseException` (added " -"in an earlier version of 3.11) with the final design of :pep:`678`. Namely, :" -"exc:`BaseException` gets an :meth:`add_note` method, and its ``__notes__`` " -"field is created when necessary." -msgstr "" - -#: ../build/NEWS:1995 -msgid "" -":gh:`46055`: Speed up right shift of negative integers, by removing " -"unnecessary creation of temporaries. Original patch by Xinhang Xu, reworked " -"by Mark Dickinson." -msgstr "" - -#: ../build/NEWS:1999 -msgid "" -":gh:`91462`: Make the interpreter's low-level tracing (lltrace) feature " -"output more readable by displaying opcode names (rather than just numbers), " -"and by displaying stack contents before each opcode." -msgstr "" - -#: ../build/NEWS:2003 -msgid "" -":gh:`89455`: Fixed an uninitialized bool value in the traceback printing " -"code path that was introduced by the initial :issue:`45292` exception groups " -"work." -msgstr "" - -#: ../build/NEWS:2007 -msgid ":gh:`91421`: Fix a potential integer overflow in _Py_DecodeUTF8Ex." -msgstr "" - -#: ../build/NEWS:2009 -msgid "" -":gh:`91428`: Add ``static const char *const _PyOpcode_OpName[256] = {...};`` " -"to ``opcode.h`` for debug builds to assist in debugging the Python " -"interpreter. It is now more convenient to make various forms of debugging " -"output more human-readable by including opcode names rather than just the " -"corresponding decimal digits." -msgstr "" - -#: ../build/NEWS:2015 -msgid "" -":issue:`47120`: Make :opcode:`POP_JUMP_IF_TRUE`, :opcode:" -"`POP_JUMP_IF_FALSE`, :opcode:`POP_JUMP_IF_NONE` and :opcode:" -"`POP_JUMP_IF_NOT_NONE` virtual, mapping to new relative jump opcodes." -msgstr "" - -#: ../build/NEWS:2019 -msgid "" -":issue:`45317`: Add internal documentation explaining design of new (for " -"3.11) frame stack." -msgstr "" - -#: ../build/NEWS:2022 -msgid "" -":issue:`47197`: ctypes used to mishandle ``void`` return types, so that for " -"instance a function declared like ``ctypes.CFUNCTYPE(None, ctypes.c_int)`` " -"would be called with signature ``int f(int)`` instead of ``void f(int)``. " -"Wasm targets require function pointers to be called with the correct " -"signatures so this led to crashes. The problem is now fixed." -msgstr "" - -#: ../build/NEWS:2028 -msgid "" -":issue:`47120`: Make opcodes :opcode:`JUMP_IF_TRUE_OR_POP` and :opcode:" -"`JUMP_IF_FALSE_OR_POP` relative rather than absolute." -msgstr "" - -#: ../build/NEWS:2031 -msgid "" -":issue:`47177`: Replace the ``f_lasti`` member of the internal " -"``_PyInterpreterFrame`` structure with a ``prev_instr`` pointer, which " -"reduces overhead in the main interpreter loop. The ``f_lasti`` attribute of " -"Python-layer frame objects is preserved for backward-compatibility." -msgstr "" - -#: ../build/NEWS:2036 -msgid "" -":issue:`46961`: Integer mod/remainder operations, including the three-" -"argument form of :func:`pow`, now consistently return ints from the global " -"small integer cache when applicable." -msgstr "" - -#: ../build/NEWS:2040 -msgid "" -":issue:`46962`: Classes and functions that unconditionally declared their " -"docstrings ignoring the `--without-doc-strings` compilation flag no longer " -"do so." -msgstr "" - -#: ../build/NEWS:2044 -msgid "" -"The classes affected are :class:`ctypes.UnionType`, :class:`pickle." -"PickleBuffer`, :class:`testcapi.RecursingInfinitelyError`, and :class:`types." -"GenericAlias`." -msgstr "" - -#: ../build/NEWS:2048 -msgid "The functions affected are 24 methods in :mod:`ctypes`." -msgstr "" - -#: ../build/NEWS:2050 -msgid "Patch by Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2052 -msgid "" -":issue:`46942`: Use Argument Clinic for the :class:`types.MethodType` " -"constructor. Patch by Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2055 -msgid ":issue:`46764`: Fix wrapping bound methods with @classmethod" -msgstr "" - -#: ../build/NEWS:2057 -msgid "" -":issue:`43464`: Optimize :meth:`set.intersection` for non-set arguments." -msgstr "" - -#: ../build/NEWS:2059 -msgid ":issue:`46721`: Optimize :meth:`set.issuperset` for non-set argument." -msgstr "" - -#: ../build/NEWS:2061 -msgid "" -":issue:`46509`: Add type-specialized versions of the ``Py_DECREF()``, and " -"use them for ``float``, ``int``, ``str``, ``bool``, and ``None`` to avoid " -"pointer-chasing at runtime where types are known at C compile time." -msgstr "" - -#: ../build/NEWS:2065 ../build/NEWS:3790 -msgid ":issue:`46045`: Do not use POSIX semaphores on NetBSD" -msgstr "" - -#: ../build/NEWS:2067 -msgid "" -":issue:`36819`: Fix crashes in built-in encoders with error handlers that " -"return position less or equal than the starting position of non-encodable " -"characters." -msgstr "" - -#: ../build/NEWS:2071 -msgid "" -":issue:`34093`: ``marshal.dumps()`` uses ``FLAG_REF`` for all interned " -"strings. This makes output more deterministic and helps reproducible build." -msgstr "" - -#: ../build/NEWS:2074 -msgid "" -":issue:`26579`: Added ``object.__getstate__`` which provides the default " -"implementation of the ``__getstate__()`` method." -msgstr "" - -#: ../build/NEWS:2077 -msgid "" -"Copying and pickling instances of subclasses of builtin types bytearray, " -"set, frozenset, collections.OrderedDict, collections.deque, weakref.WeakSet, " -"and datetime.tzinfo now copies and pickles instance attributes implemented " -"as slots." -msgstr "" - -#: ../build/NEWS:2085 -msgid ":gh:`87901`: Add the *encoding* parameter to :func:`os.popen`." -msgstr "" - -#: ../build/NEWS:2087 -msgid "" -":gh:`90997`: Fix an issue where :mod:`dis` utilities may interpret populated " -"inline cache entries as valid instructions." -msgstr "" - -#: ../build/NEWS:2090 -msgid "" -":gh:`92332`: Deprecate :class:`typing.Text` (removal of the class is " -"currently not planned). Patch by Alex Waygood." -msgstr "" - -#: ../build/NEWS:2093 -msgid "" -"Deprecate nested classes in enum definitions becoming members -- in 3.13 " -"they will be normal classes; add `member` and `nonmember` functions to allow " -"control over results now." -msgstr "" - -#: ../build/NEWS:2097 -msgid ":gh:`92356`: Fixed a performance regression in ctypes function calls." -msgstr "" - -#: ../build/NEWS:2099 -msgid "" -":gh:`90997`: Show the actual named values stored in inline caches when " -"``show_caches=True`` is passed to :mod:`dis` utilities." -msgstr "" - -#: ../build/NEWS:2102 -msgid "" -":gh:`92301`: Prefer ``close_range()`` to iterating over procfs for file " -"descriptor closing in :mod:`subprocess` for better performance." -msgstr "" - -#: ../build/NEWS:2105 -msgid ":gh:`67248`: Sort the miscellaneous topics in Cmd.do_help()" -msgstr "" - -#: ../build/NEWS:2107 -msgid "" -":gh:`92210`: Port ``socket.__init__`` to Argument Clinic. Patch by Cinder." -msgstr "" - -#: ../build/NEWS:2110 -msgid "" -":gh:`80010`: Add support for generalized ISO 8601 parsing to :meth:`datetime." -"datetime.fromisoformat`, :meth:`datetime.date.fromisoformat` and :meth:" -"`datetime.time.fromisoformat`. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:2115 -msgid "" -":gh:`92118`: Fix a 3.11 regression in :func:`~contextlib.contextmanager`, " -"which caused it to propagate exceptions with incorrect tracebacks." -msgstr "" - -#: ../build/NEWS:2119 -msgid "" -":gh:`90887`: Adding ``COPYFILE_STAT``, ``COPYFILE_ACL`` and " -"``COPYFILE_XATTR`` constants for :func:`os.fcopyfile` available in macOs." -msgstr "" - -#: ../build/NEWS:2122 -msgid "" -":gh:`91215`: For @dataclass, add weakref_slot. Default is False. If True, " -"and if slots=True, add a slot named \"__weakref__\", which will allow " -"instances to be weakref'd. Contributed by Eric V. Smith" -msgstr "" - -#: ../build/NEWS:2126 -msgid ":gh:`85984`: New function os.login_tty() for Unix." -msgstr "" - -#: ../build/NEWS:2128 -msgid "" -":gh:`92128`: Add :meth:`~object.__class_getitem__` to :class:`logging." -"LoggerAdapter` and :class:`logging.StreamHandler`, allowing them to be " -"parameterized at runtime. Patch by Alex Waygood." -msgstr "" - -#: ../build/NEWS:2132 -msgid "" -":gh:`92049`: Forbid pickling constants ``re._constants.SUCCESS`` etc. " -"Previously, pickling did not fail, but the result could not be unpickled." -msgstr "" - -#: ../build/NEWS:2135 -msgid "" -":gh:`92062`: :class:`inspect.Parameter` now raises :exc:`ValueError` if " -"``name`` is a keyword, in addition to the existing check that it is an " -"identifier." -msgstr "" - -#: ../build/NEWS:2139 -msgid "" -":gh:`87390`: Add an ``__unpacked__`` attribute to :class:`types." -"GenericAlias`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2142 -msgid ":gh:`88089`: Add support for generic :class:`typing.NamedTuple`." -msgstr "" - -#: ../build/NEWS:2144 -msgid "" -":gh:`91996`: New http.HTTPMethod enum to represent all the available HTTP " -"request methods in a convenient way" -msgstr "" - -#: ../build/NEWS:2147 -msgid "" -":gh:`91984`: Modified test strings in test_argparse.py to not contain " -"trailing spaces before end of line." -msgstr "" - -#: ../build/NEWS:2150 -msgid "" -":gh:`91952`: Add ``encoding=\"locale\"`` support to :meth:`TextIOWrapper." -"reconfigure`." -msgstr "" - -#: ../build/NEWS:2153 -msgid "" -":gh:`91954`: Add *encoding* and *errors* arguments to :func:`subprocess." -"getoutput` and :func:`subprocess.getstatusoutput`." -msgstr "" - -#: ../build/NEWS:2156 -msgid "" -":issue:`47029`: Always close the read end of the pipe used by :class:" -"`multiprocessing.Queue` *after* the last write of buffered data to the write " -"end of the pipe to avoid :exc:`BrokenPipeError` at garbage collection and " -"at :meth:`multiprocessing.Queue.close` calls. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:2162 -msgid ":gh:`91928`: Add `datetime.UTC` alias for `datetime.timezone.utc`." -msgstr "" - -#: ../build/NEWS:2164 -msgid "Patch by Kabir Kwatra." -msgstr "" - -#: ../build/NEWS:2166 -msgid "" -":gh:`68966`: The :mod:`mailcap` module is now deprecated and will be removed " -"in Python 3.13. See :pep:`594` for the rationale and the :mod:`mimetypes` " -"module for an alternative. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2170 -msgid "" -":gh:`91401`: Provide a way to disable :mod:`subprocess` use of ``vfork()`` " -"just in case it is ever needed and document the existing mechanism for " -"``posix_spawn()``." -msgstr "" - -#: ../build/NEWS:2174 -msgid "" -":gh:`64783`: Fix :data:`signal.NSIG` value on FreeBSD to accept signal " -"numbers greater than 32, like :data:`signal.SIGRTMIN` and :data:`signal." -"SIGRTMAX`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2178 -msgid "" -":gh:`91910`: Add missing f prefix to f-strings in error messages from the :" -"mod:`multiprocessing` and :mod:`asyncio` modules." -msgstr "" - -#: ../build/NEWS:2181 -msgid "" -":gh:`91860`: Add :func:`typing.dataclass_transform`, implementing :pep:" -"`681`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2184 -msgid "" -":gh:`91832`: Add ``required`` attribute to :class:`argparse.Action` repr " -"output." -msgstr "" - -#: ../build/NEWS:2187 -msgid "" -":gh:`91827`: In the :mod:`tkinter` module add method ``info_patchlevel()`` " -"which returns the exact version of the Tcl library as a named tuple similar " -"to :data:`sys.version_info`." -msgstr "" - -#: ../build/NEWS:2191 -msgid "" -":gh:`84461`: Add :option:`--enable-wasm-pthreads` to enable pthreads support " -"for WASM builds. ``Emscripten/node`` no longer has threading enabled by " -"default. Include additional file systems." -msgstr "" - -#: ../build/NEWS:2195 -msgid "" -":gh:`91821`: Fix unstable ``test_from_tuple`` test in ``test_decimal.py``." -msgstr "" - -#: ../build/NEWS:2198 -msgid ":gh:`91217`: Deprecate the xdrlib module." -msgstr "" - -#: ../build/NEWS:2200 -msgid ":gh:`91217`: Deprecate the uu module." -msgstr "" - -#: ../build/NEWS:2202 -msgid "" -":gh:`91760`: More strict rules will be applied for numerical group " -"references and group names in regular expressions. For now, a deprecation " -"warning is emitted for group references and group names which will be errors " -"in future Python versions." -msgstr "" - -#: ../build/NEWS:2207 -msgid "" -":gh:`84461`: Add provisional :data:`sys._emscripten_info` named tuple with " -"build-time and run-time information about Emscripten platform." -msgstr "" - -#: ../build/NEWS:2210 -msgid "" -":gh:`90623`: :func:`signal.raise_signal` and :func:`os.kill` now check " -"immediately for pending signals. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2213 -msgid ":gh:`91734`: Fix OSS audio support on Solaris." -msgstr "" - -#: ../build/NEWS:2215 -msgid "" -":gh:`90633`: Include the passed value in the exception thrown by :func:" -"`typing.assert_never`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2218 -msgid "" -":gh:`91700`: Compilation of regular expression containing a conditional " -"expression ``(?(group)...)`` now raises an appropriate :exc:`re.error` if " -"the group number refers to not defined group. Previously an internal " -"RuntimeError was raised." -msgstr "" - -#: ../build/NEWS:2223 -msgid "" -":gh:`91231`: Add an optional keyword *shutdown_timeout* parameter to the :" -"class:`multiprocessing.BaseManager` constructor. Kill the process if " -"terminate() takes longer than the timeout. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2227 -msgid "" -":gh:`91621`: Fix :func:`typing.get_type_hints` for :class:`collections.abc." -"Callable`. Patch by Shantanu Jain." -msgstr "" - -#: ../build/NEWS:2230 -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 "" - -#: ../build/NEWS:2234 -msgid "" -":gh:`91670`: Remove deprecated ``SO`` config variable in :mod:`sysconfig`." -msgstr "" - -#: ../build/NEWS:2237 -msgid ":gh:`91217`: Deprecate the telnetlib module." -msgstr "" - -#: ../build/NEWS:2239 -msgid ":gh:`91217`: Deprecate the sunau module." -msgstr "" - -#: ../build/NEWS:2241 -msgid ":gh:`91217`: Deprecate the spwd module." -msgstr "" - -#: ../build/NEWS:2243 -msgid "" -":gh:`91217`: Deprecate the sndhdr module, as well as inline needed " -"functionality for ``email.mime.MIMEAudio``." -msgstr "" - -#: ../build/NEWS:2246 -msgid "" -":gh:`91616`: :mod:`re` module, fix :meth:`~re.Pattern.fullmatch` mismatch " -"when using Atomic Grouping or Possessive Quantifiers." -msgstr "" - -#: ../build/NEWS:2249 -msgid ":gh:`91217`: Deprecate the 'pipes' module." -msgstr "" - -#: ../build/NEWS:2251 -msgid ":gh:`91217`: Deprecate the ossaudiodev module." -msgstr "" - -#: ../build/NEWS:2253 -msgid "" -":issue:`47256`: :mod:`re` module, limit the maximum capturing group to " -"1,073,741,823 in 64-bit build, this increases the depth of backtracking." -msgstr "" - -#: ../build/NEWS:2256 -msgid ":gh:`91217`: Deprecate the nis module." -msgstr "" - -#: ../build/NEWS:2258 -msgid "" -":gh:`91595`: Fix the comparison of character and integer inside :func:`Tools." -"gdb.libpython.write_repr`. Patch by Yu Liu." -msgstr "" - -#: ../build/NEWS:2261 -msgid "" -":gh:`74166`: Add option to raise all errors from :meth:`~socket." -"create_connection` in an :exc:`ExceptionGroup` when it fails to create a " -"connection. The default remains to raise only the last error that had " -"occurred when multiple addresses were tried." -msgstr "" - -#: ../build/NEWS:2266 -msgid "" -":gh:`91487`: Optimize asyncio UDP speed, over 100 times faster when " -"transferring a large file." -msgstr "" - -#: ../build/NEWS:2269 -msgid "" -":gh:`91575`: Update case-insensitive matching in the :mod:`re` module to the " -"latest Unicode version." -msgstr "" - -#: ../build/NEWS:2272 -msgid "" -":gh:`90622`: In ``concurrent.futures.process.ProcessPoolExecutor`` disallow " -"the \"fork\" multiprocessing start method when the new " -"``max_tasks_per_child`` feature is used as the mix of threads+fork can hang " -"the child processes. Default to using the safe \"spawn\" start method in " -"that circumstance if no ``mp_context`` was supplied." -msgstr "" - -#: ../build/NEWS:2278 -msgid "" -":gh:`89022`: In :mod:`sqlite3`, ``SQLITE_MISUSE`` result codes are now " -"mapped to :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." -"ProgrammingError`. Also, more accurate exceptions are raised when binding " -"parameters fail. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:2283 -msgid "" -":gh:`91526`: Stop calling ``os.device_encoding(file.fileno())`` in :class:" -"`TextIOWrapper`. It was complex, never documented, and didn't work for most " -"cases. (Patch by Inada Naoki.)" -msgstr "" - -#: ../build/NEWS:2287 -msgid "" -":gh:`88116`: Change the frame-related functions in the :mod:`inspect` module " -"to return a regular object (that is backwards compatible with the old tuple-" -"like interface) that include the extended :pep:`657` position information " -"(end line number, column and end column). The affected functions are: :func:" -"`inspect.getframeinfo`, :func:`inspect.getouterframes`, :func:`inspect." -"getinnerframes`, :func:`inspect.stack` and :func:`inspect.trace`. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2295 -msgid "" -":gh:`69093`: Add indexing and slicing support to :class:`sqlite3.Blob`. " -"Patch by Aviv Palivoda and Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:2298 -msgid "" -":gh:`69093`: Add :term:`context manager` support to :class:`sqlite3.Blob`. " -"Patch by Aviv Palivoda and Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:2301 -msgid ":gh:`91217`: Deprecate nntplib." -msgstr "" - -#: ../build/NEWS:2303 -msgid ":gh:`91217`: Deprecate msilib." -msgstr "" - -#: ../build/NEWS:2305 -msgid "" -":gh:`91404`: Improve the performance of :mod:`re` matching by using computed " -"gotos (or \"threaded code\") on supported platforms and removing expensive " -"pointer indirections." -msgstr "" - -#: ../build/NEWS:2309 -msgid ":gh:`91217`: Deprecate the imghdr module." -msgstr "" - -#: ../build/NEWS:2311 -msgid ":gh:`91217`: Deprecate the crypt module." -msgstr "" - -#: ../build/NEWS:2313 -msgid ":gh:`91276`: Make space for longer opcodes in :mod:`dis` output." -msgstr "" - -#: ../build/NEWS:2315 -msgid "" -":issue:`47000`: Make :class:`TextIOWrapper` uses locale encoding when " -"``encoding=\"locale\"`` is specified even in UTF-8 mode." -msgstr "" - -#: ../build/NEWS:2318 -msgid "" -":gh:`91230`: :func:`warnings.catch_warnings` now accepts arguments for :func:" -"`warnings.simplefilter`, providing a more concise way to locally ignore " -"warnings or convert them to errors." -msgstr "" - -#: ../build/NEWS:2322 -msgid ":gh:`91217`: Deprecate the chunk module." -msgstr "" - -#: ../build/NEWS:2324 -msgid "" -"Add the ``TCP_CONNECTION_INFO`` option (available on macOS) to :mod:`socket`." -msgstr "" - -#: ../build/NEWS:2327 -msgid "" -":issue:`47260`: Fix ``os.closerange()`` potentially being a no-op in a Linux " -"seccomp sandbox." -msgstr "" - -#: ../build/NEWS:2330 -msgid "" -":issue:`47087`: Implement ``typing.Required`` and ``typing.NotRequired`` (:" -"pep:`655`). Patch by David Foster and Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2333 -msgid ":issue:`47061`: Deprecate cgi and cgitb." -msgstr "" - -#: ../build/NEWS:2335 -msgid ":issue:`47061`: Deprecate audioop." -msgstr "" - -#: ../build/NEWS:2337 -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 "" - -#: ../build/NEWS:2341 -msgid "" -":issue:`42012`: Add :mod:`wsgiref.types`, containing WSGI-specific types for " -"static type checking." -msgstr "" - -#: ../build/NEWS:2344 -msgid "" -":issue:`47227`: Suppress expression chaining for more :mod:`re` parsing " -"errors." -msgstr "" - -#: ../build/NEWS:2346 -msgid "" -":issue:`47211`: Remove undocumented and never working function ``re." -"template()`` and flag ``re.TEMPLATE``. This was later reverted in 3.11.0b2 " -"and deprecated instead." -msgstr "" - -#: ../build/NEWS:2350 -msgid "" -":issue:`47135`: :meth:`decimal.localcontext` now accepts context attributes " -"via keyword arguments" -msgstr "" - -#: ../build/NEWS:2353 -msgid "" -":issue:`43323`: Fix errors in the :mod:`email` module if the charset itself " -"contains undecodable/unencodable characters." -msgstr "" - -#: ../build/NEWS:2356 -msgid ":issue:`46841`: Disassembly of quickened code." -msgstr "" - -#: ../build/NEWS:2358 -msgid ":issue:`46681`: Forward gzip.compress() compresslevel to zlib." -msgstr "" - -#: ../build/NEWS:2360 -msgid "" -":issue:`45100`: Add :func:`typing.get_overloads` and :func:`typing." -"clear_overloads`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2363 -msgid "" -":issue:`44807`: :class:`typing.Protocol` no longer silently replaces :meth:" -"`__init__` methods defined on subclasses. Patch by Adrian Garcia Badaracco." -msgstr "" - -#: ../build/NEWS:2367 -msgid "" -":issue:`46787`: Fix :class:`concurrent.futures.ProcessPoolExecutor` " -"exception memory leak" -msgstr "" - -#: ../build/NEWS:2370 -msgid "" -":issue:`46720`: Add support for path-like objects to :func:`multiprocessing." -"set_executable` for Windows to be on a par with Unix-like systems. Patch by " -"Géry Ogam." -msgstr "" - -#: ../build/NEWS:2374 -msgid ":issue:`46696`: Add ``SO_INCOMING_CPU`` constant to :mod:`socket`." -msgstr "" - -#: ../build/NEWS:2376 -msgid ":issue:`46053`: Fix OSS audio support on NetBSD." -msgstr "" - -#: ../build/NEWS:2378 -msgid "" -":issue:`45639`: ``image/avif`` and ``image/webp`` were added to :mod:" -"`mimetypes`." -msgstr "" - -#: ../build/NEWS:2381 -msgid "" -":issue:`46285`: Add command-line option ``-p``/``--protocol`` to module :mod:" -"`http.server` which specifies the HTTP version to which the server is " -"conformant (HTTP/1.1 conformant servers can now be run from the command-line " -"interface of module :mod:`http.server`). Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:2386 -msgid "" -":issue:`44791`: Accept ellipsis as the last argument of :data:`typing." -"Concatenate`." -msgstr "" - -#: ../build/NEWS:2389 -msgid "" -":issue:`46547`: Remove variables leaking into ``pydoc.Helper`` class " -"namespace." -msgstr "" - -#: ../build/NEWS:2391 -msgid "" -":issue:`46415`: Fix ipaddress.ip_{address,interface,network} raising " -"TypeError instead of ValueError if given invalid tuple as address parameter." -msgstr "" - -#: ../build/NEWS:2394 -msgid "" -":issue:`46075`: ``CookieJar`` with ``DefaultCookiePolicy`` now can process " -"cookies from localhost with domain=localhost explicitly specified in Set-" -"Cookie header." -msgstr "" - -#: ../build/NEWS:2398 -msgid "" -":issue:`45995`: Add a \"z\" option to the string formatting specification " -"that coerces negative zero floating-point values to positive zero after " -"rounding to the format precision. Contributed by John Belmonte." -msgstr "" - -#: ../build/NEWS:2402 -msgid "" -":issue:`26175`: Fully implement the :class:`io.BufferedIOBase` or :class:`io." -"TextIOBase` interface for :class:`tempfile.SpooledTemporaryFile` objects. " -"This lets them work correctly with higher-level layers (like compression " -"modules). Patch by Carey Metcalfe." -msgstr "" - -#: ../build/NEWS:2408 -msgid "" -":issue:`45138`: Fix a regression in the :mod:`sqlite3` trace callback where " -"bound parameters were not expanded in the passed statement string. The " -"regression was introduced in Python 3.10 by :issue:`40318`. Patch by Erlend " -"E. Aasland." -msgstr "" - -#: ../build/NEWS:2413 -msgid "" -":issue:`44863`: Allow :class:`~typing.TypedDict` subclasses to also include :" -"class:`~typing.Generic` as a base class in class based syntax. Thereby " -"allowing the user to define a generic ``TypedDict``, just like a user-" -"defined generic but with ``TypedDict`` semantics." -msgstr "" - -#: ../build/NEWS:2418 -msgid "" -":issue:`44587`: Fix BooleanOptionalAction to not automatically add a default " -"string. If a default string is desired, use a formatter to add it." -msgstr "" - -#: ../build/NEWS:2421 -msgid "" -":issue:`43827`: All positional-or-keyword parameters to ``ABCMeta.__new__`` " -"are now positional-only to avoid conflicts with keyword arguments to be " -"passed to :meth:`__init_subclass__`." -msgstr "" - -#: ../build/NEWS:2425 -msgid "" -":issue:`43218`: Prevent creation of a venv whose path contains the PATH " -"separator. This could affect the usage of the activate script. Patch by " -"Dustin Rodrigues." -msgstr "" - -#: ../build/NEWS:2429 -msgid "" -":issue:`38435`: Add a ``process_group`` parameter to :class:`subprocess." -"Popen` to help move more things off of the unsafe ``preexec_fn`` parameter." -msgstr "" - -#: ../build/NEWS:2432 -msgid "" -":issue:`42066`: Fix cookies getting sorted in :func:`CookieJar.__iter__` " -"which is an extra behavior and not mentioned in RFC 2965 or Netscape cookie " -"protocol. Now the cookies in ``CookieJar`` follows the order of the ``Set-" -"Cookie`` header. Patch by Iman Kermani." -msgstr "" - -#: ../build/NEWS:2437 -msgid "" -":issue:`40617`: Add :meth:`~sqlite3.Connection.create_window_function` to :" -"class:`sqlite3.Connection` for creating aggregate window functions. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:2441 -msgid "" -":issue:`40676`: Convert :mod:`csv` to use Argument Clinic for :func:`csv." -"field_size_limit`, :func:`csv.get_dialect`, :func:`csv.unregister_dialect` " -"and :func:`csv.list_dialects`." -msgstr "" - -#: ../build/NEWS:2445 -msgid "" -":issue:`39716`: Raise an ArgumentError when the same subparser name is added " -"twice to an `argparse.ArgumentParser`. This is consistent with the " -"(default) behavior when the same option string is added twice to an " -"ArgumentParser." -msgstr "" - -#: ../build/NEWS:2450 -msgid "" -":issue:`36073`: Raise :exc:`~sqlite3.ProgrammingError` instead of " -"segfaulting on recursive usage of cursors in :mod:`sqlite3` converters. " -"Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:2454 -msgid "" -":issue:`34975`: Adds a ``start_tls()`` method to :class:`~asyncio.streams." -"StreamWriter`, which upgrades the connection with TLS using the given :class:" -"`~ssl.SSLContext`." -msgstr "" - -#: ../build/NEWS:2458 -msgid "" -":issue:`22276`: :class:`~pathlib.Path` methods :meth:`~pathlib.Path.glob` " -"and :meth:`~pathlib.Path.rglob` return only directories if *pattern* ends " -"with a pathname components separator (``/`` or :data:`~os.sep`). Patch by " -"Eisuke Kawashima." -msgstr "" - -#: ../build/NEWS:2463 -msgid "" -":issue:`24905`: Add :meth:`~sqlite3.Connection.blobopen` to :class:`sqlite3." -"Connection`. :class:`sqlite3.Blob` allows incremental I/O operations on " -"blobs. Patch by Aviv Palivoda and Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:2470 -msgid "" -":gh:`91888`: Add a new `gh` role to the documentation to link to GitHub " -"issues." -msgstr "" - -#: ../build/NEWS:2473 -msgid "" -":gh:`91783`: Document security issues concerning the use of the function :" -"meth:`shutil.unpack_archive`" -msgstr "" - -#: ../build/NEWS:2476 -msgid ":gh:`91547`: Remove \"Undocumented modules\" page." -msgstr "" - -#: ../build/NEWS:2478 -msgid "" -":gh:`91298`: In ``importlib.resources.abc``, refined the documentation of " -"the Traversable Protocol, applying changes from importlib_resources 5.7.1." -msgstr "" - -#: ../build/NEWS:2482 -msgid "" -":issue:`44347`: Clarify the meaning of *dirs_exist_ok*, a kwarg of :func:" -"`shutil.copytree`." -msgstr "" - -#: ../build/NEWS:2485 -msgid "" -":issue:`36329`: Remove 'make -C Doc serve' in favour of 'make -C Doc " -"htmlview'" -msgstr "" - -#: ../build/NEWS:2487 -msgid "" -":issue:`47189`: Add a What's New in Python 3.11 entry for the Faster CPython " -"project. Documentation by Ken Jin and Kumar Aditya." -msgstr "" - -#: ../build/NEWS:2490 -msgid "" -":issue:`38668`: Update the introduction to documentation for :mod:`os.path` " -"to remove warnings that became irrelevant after the implementations of :pep:" -"`383` and :pep:`529`." -msgstr "" - -#: ../build/NEWS:2494 -msgid "" -":issue:`47115`: The documentation now lists which members of C structs are " -"part of the :ref:`Limited API/Stable ABI `." -msgstr "" - -#: ../build/NEWS:2497 -msgid "" -":issue:`46962`: All docstrings in code snippets are now wrapped into :func:" -"`PyDoc_STR` to follow the guideline of `PEP 7's Documentation Strings " -"paragraph `_. Patch by Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2503 -msgid "" -":issue:`26792`: Improve the docstrings of :func:`runpy.run_module` and :func:" -"`runpy.run_path`. Original patch by Andrew Brezovsky." -msgstr "" - -#: ../build/NEWS:2509 -msgid "" -":gh:`92169`: Use ``warnings_helper.import_deprecated()`` to import " -"deprecated modules uniformly in tests. Patch by Hugo van Kemenade." -msgstr "" - -#: ../build/NEWS:2512 -msgid "" -":gh:`84461`: When multiprocessing is enabled, libregrtest can now use a " -"Python executable other than :code:`sys.executable` via the ``--python`` " -"flag." -msgstr "" - -#: ../build/NEWS:2516 -msgid "" -":gh:`91904`: Fix initialization of :envvar:`PYTHONREGRTEST_UNICODE_GUARD` " -"which prevented running regression tests on non-UTF-8 locale." -msgstr "" - -#: ../build/NEWS:2520 -msgid "" -":gh:`91752`: Added @requires_zlib to test.test_tools.test_freeze.TestFreeze." -msgstr "" - -#: ../build/NEWS:2523 -msgid "" -":gh:`91607`: Fix ``test_concurrent_futures`` to test the correct " -"multiprocessing start method context in several cases where the test logic " -"mixed this up." -msgstr "" - -#: ../build/NEWS:2527 -msgid "" -":issue:`40280`: Threading tests are now skipped on WASM targets without " -"pthread support." -msgstr "" - -#: ../build/NEWS:2530 -msgid "" -":issue:`47109`: Test for :mod:`ctypes.macholib.dyld`, :mod:`ctypes.macholib." -"dylib`, and :mod:`ctypes.macholib.framework` are brought from manual pre-:" -"mod:`unittest` times to :mod:`ctypes.test` location and structure. Patch by " -"Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2535 -msgid "" -":issue:`29890`: Add tests for :class:`ipaddress.IPv4Interface` and :class:" -"`ipaddress.IPv6Interface` construction with tuple arguments. Original patch " -"and tests by louisom." -msgstr "" - -#: ../build/NEWS:2542 -msgid "" -":gh:`89452`: gdbm-compat is now preferred over ndbm if both are available on " -"the system. This allows avoiding the problematic ndbm.h on macOS." -msgstr "" - -#: ../build/NEWS:2546 -msgid "" -":gh:`91731`: Python is now built with ``-std=c11`` compiler option, rather " -"than ``-std=c99``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2549 -msgid "" -":issue:`47152`: Add script and make target for generating ``sre_constants." -"h``." -msgstr "" - -#: ../build/NEWS:2551 -msgid "" -":issue:`47103`: Windows ``PGInstrument`` builds now copy a required DLL into " -"the output directory, making it easier to run the profile stage of a PGO " -"build." -msgstr "" - -#: ../build/NEWS:2558 -msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.3." -msgstr "" - -#: ../build/NEWS:2560 -msgid "" -":issue:`47239`: Fixed --list and --list-paths output for :ref:`launcher` " -"when used in an active virtual environment." -msgstr "" - -#: ../build/NEWS:2563 -msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.2." -msgstr "" - -#: ../build/NEWS:2565 -msgid "" -":issue:`46785`: Fix race condition between :func:`os.stat` and unlinking a " -"file on Windows, by using errors codes returned by ``FindFirstFileW()`` when " -"appropriate in ``win32_xstat_impl``." -msgstr "" - -#: ../build/NEWS:2569 -msgid ":issue:`40859`: Update Windows build to use xz-5.2.5" -msgstr "" - -#: ../build/NEWS:2574 -msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.4." -msgstr "" - -#: ../build/NEWS:2579 -msgid "" -":gh:`91583`: Fix regression in the code generated by Argument Clinic for " -"functions with the ``defining_class`` parameter." -msgstr "" - -#: ../build/NEWS:2582 -msgid "" -":gh:`91575`: Add script ``Tools/scripts/generate_re_casefix.py`` and the " -"make target ``regen-re`` for generating additional data for case-insensitive " -"matching according to the current Unicode version." -msgstr "" - -#: ../build/NEWS:2586 -msgid "" -":gh:`91551`: Remove the ancient Pynche color editor. It has moved to " -"https://gitlab.com/warsaw/pynche" -msgstr "" - -#: ../build/NEWS:2592 -msgid "" -":gh:`88279`: Deprecate the C functions: :c:func:`PySys_SetArgv`, :c:func:" -"`PySys_SetArgvEx`, :c:func:`PySys_SetPath`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2596 -msgid "" -":gh:`92154`: Added the :c:func:`PyCode_GetCode` function. This function does " -"the equivalent of the Python code ``getattr(code_object, 'co_code')``." -msgstr "" - -#: ../build/NEWS:2600 -msgid "" -":gh:`92173`: Fix the ``closure`` argument to :c:func:`PyEval_EvalCodeEx`." -msgstr "" - -#: ../build/NEWS:2603 -msgid "" -":gh:`91320`: Fix C++ compiler warnings about \"old-style cast\" (``g++ -Wold-" -"style-cast``) in the Python C API. Use C++ ``reinterpret_cast<>`` and " -"``static_cast<>`` casts when the Python C API is used in C++. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:2608 -msgid "" -":gh:`80527`: Mark functions as deprecated by :pep:`623`: :c:func:" -"`PyUnicode_AS_DATA`, :c:func:`PyUnicode_AS_UNICODE`, :c:func:" -"`PyUnicode_GET_DATA_SIZE`, :c:func:`PyUnicode_GET_SIZE`. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:2613 -msgid "" -":gh:`91768`: :c:func:`Py_REFCNT`, :c:func:`Py_TYPE`, :c:func:`Py_SIZE` and :" -"c:func:`Py_IS_TYPE` functions argument type is now ``PyObject*``, rather " -"than ``const PyObject*``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:2617 -msgid "" -":gh:`91020`: Add ``PyBytes_Type.tp_alloc`` to initialize ``PyBytesObject." -"ob_shash`` for bytes subclasses." -msgstr "" - -#: ../build/NEWS:2620 -msgid "" -":issue:`40421`: Add ``PyFrame_GetLasti`` C-API function to access frame " -"object's ``f_lasti`` attribute safely from C code." -msgstr "" - -#: ../build/NEWS:2623 -msgid "" -":issue:`35134`: Remove the ``Include/code.h`` header file. C extensions " -"should only include the main ```` header file. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:2626 -msgid "" -":issue:`47169`: :c:func:`PyOS_CheckStack` is now exported in the Stable ABI " -"on Windows." -msgstr "" - -#: ../build/NEWS:2629 -msgid "" -":issue:`47169`: :c:func:`PyThread_get_thread_native_id` is excluded from the " -"stable ABI on platforms where it doesn't exist (like Solaris)." -msgstr "" - -#: ../build/NEWS:2632 -msgid "" -":issue:`46343`: Added :c:func:`PyErr_GetHandledException` and :c:func:" -"`PyErr_SetHandledException` as simpler alternatives to :c:func:" -"`PyErr_GetExcInfo` and :c:func:`PyErr_SetExcInfo`." -msgstr "" - -#: ../build/NEWS:2636 -msgid "They are included in the stable ABI." -msgstr "" - -#: ../build/NEWS:2640 -msgid "Python 3.11.0 alpha 7" -msgstr "" - -#: ../build/NEWS:2642 -msgid "*Release date: 2022-04-05*" -msgstr "" - -#: ../build/NEWS:2647 -msgid "" -":issue:`47212`: Raise :exc:`IndentationError` instead of :exc:`SyntaxError` " -"for a bare ``except`` with no following indent. Improve :exc:`SyntaxError` " -"locations for an un-parenthesized generator used as arguments. Patch by " -"Matthieu Dartiailh." -msgstr "" - -#: ../build/NEWS:2652 -msgid "" -":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EG_MATCH` by :opcode:" -"`CHECK_EG_MATCH` + jump." -msgstr "" - -#: ../build/NEWS:2655 -msgid "" -":issue:`47176`: Emscripten builds cannot handle signals in the usual way due " -"to platform limitations. Python can now handle signals. To use, set Module." -"Py_EmscriptenSignalBuffer to be a single byte SharedArrayBuffer and set " -"Py_EMSCRIPTEN_SIGNAL_HANDLING to 1. Writing a number into the " -"SharedArrayBuffer will cause the corresponding signal to be raised into the " -"Python thread." -msgstr "" - -#: ../build/NEWS:2662 -msgid "" -":issue:`47186`: Replace :opcode:`JUMP_IF_NOT_EXC_MATCH` by :opcode:" -"`CHECK_EXC_MATCH` + jump." -msgstr "" - -#: ../build/NEWS:2665 -msgid "" -":issue:`47120`: Replace the absolute jump opcode :opcode:`JUMP_NO_INTERRUPT` " -"by the relative :opcode:`JUMP_BACKWARD_NO_INTERRUPT`." -msgstr "" - -#: ../build/NEWS:2668 -msgid "" -":issue:`46841`: Avoid unnecessary allocations when comparing code objects." -msgstr "" - -#: ../build/NEWS:2670 -msgid "" -":issue:`47182`: Fix a crash when using a named unicode character like " -"``\"\\N{digit nine}\"`` after the main interpreter has been initialized a " -"second time." -msgstr "" - -#: ../build/NEWS:2674 -msgid "" -":issue:`47162`: WebAssembly cannot deal with bad function pointer casts " -"(different count or types of arguments). Python can now use call trampolines " -"to mitigate the problem. Define :c:macro:`PY_CALL_TRAMPOLINE` to enable call " -"trampolines." -msgstr "" - -#: ../build/NEWS:2679 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:2683 -msgid "" -":issue:`47129`: Improve error messages in f-string syntax errors concerning " -"empty expressions." -msgstr "" - -#: ../build/NEWS:2686 -msgid "" -":issue:`47117`: Fix a crash if we fail to decode characters in interactive " -"mode if the tokenizer buffers are uninitialized. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:2689 -msgid "" -":issue:`47127`: Speed up calls to c functions with keyword arguments by 25% " -"with specialization. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:2692 -msgid "" -":issue:`47120`: Replaced :opcode:`JUMP_ABSOLUTE` by the relative jump :" -"opcode:`JUMP_BACKWARD`." -msgstr "" - -#: ../build/NEWS:2695 -msgid "" -":issue:`42197`: :c:func:`PyFrame_FastToLocalsWithError` and :c:func:" -"`PyFrame_LocalsToFast` are no longer called during profiling nor tracing. C " -"code can access the ``f_locals`` attribute of :c:type:`PyFrameObject` by " -"calling :c:func:`PyFrame_GetLocals`." -msgstr "" - -#: ../build/NEWS:2700 -msgid "" -":issue:`47070`: Improve performance of ``array_inplace_repeat`` by reducing " -"the number of invocations of ``memcpy``. Refactor the ``repeat`` and inplace " -"``repeat`` methods of ``array``, ``bytes``, ``bytearray`` and " -"``unicodeobject`` to use the common ``_PyBytes_Repeat``." -msgstr "" - -#: ../build/NEWS:2705 -msgid "" -":issue:`47053`: Reduce de-optimization in the specialized " -"``BINARY_OP_INPLACE_ADD_UNICODE`` opcode." -msgstr "" - -#: ../build/NEWS:2708 -msgid "" -":issue:`47045`: Remove the ``f_state`` field from the _PyInterpreterFrame " -"struct. Add the ``owner`` field to the _PyInterpreterFrame struct to make " -"ownership explicit to simplify clearing and deallocing frames and generators." -msgstr "" - -#: ../build/NEWS:2713 -msgid "" -":issue:`46968`: Check for the existence of the \"sys/auxv.h\" header in :mod:" -"`faulthandler` to avoid compilation problems in systems where this header " -"doesn't exist. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:2717 -msgid "" -":issue:`46329`: Use low bit of ``LOAD_GLOBAL`` to indicate whether to push a " -"``NULL`` before the global. Helps streamline the call sequence a bit." -msgstr "" - -#: ../build/NEWS:2720 -msgid "" -":issue:`46841`: Quicken bytecode in-place by storing it as part of the " -"corresponding ``PyCodeObject``." -msgstr "" - -#: ../build/NEWS:2723 -msgid "" -":issue:`47012`: Speed up iteration of :class:`bytes` and :class:`bytearray` " -"by 30%. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:2726 -msgid "" -":issue:`47009`: Improved the performance of :meth:`list.append()` and list " -"comprehensions by optimizing for the common case, where no resize is needed. " -"Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:2730 -msgid "" -":issue:`47005`: Improve performance of ``bytearray_repeat`` and " -"``bytearray_irepeat`` by reducing the number of invocations of ``memcpy``." -msgstr "" - -#: ../build/NEWS:2733 -msgid "" -":issue:`46829`: Deprecate passing a message into :meth:`asyncio.Future." -"cancel` and :meth:`asyncio.Task.cancel`" -msgstr "" - -#: ../build/NEWS:2736 -msgid "" -":issue:`46993`: Speed up :class:`bytearray` creation from :class:`list` and :" -"class:`tuple` by 40%. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:2739 -msgid "" -":issue:`39829`: Removed the ``__len__()`` call when initializing a list and " -"moved initializing to ``list_extend``. Patch by Jeremiah Pascual." -msgstr "" - -#: ../build/NEWS:2742 -msgid "" -":issue:`46944`: Speed up throwing exception in generator with :const:" -"`METH_FASTCALL` calling convention. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:2745 -msgid "" -":issue:`46841`: Modify :opcode:`STORE_SUBSCR` to use an inline cache entry " -"(rather than its oparg) as an adaptive counter." -msgstr "" - -#: ../build/NEWS:2748 -msgid "" -":issue:`46841`: Use inline caching for :opcode:`PRECALL` and :opcode:`CALL`, " -"and remove the internal machinery for managing the (now unused) non-inline " -"caches." -msgstr "" - -#: ../build/NEWS:2752 -msgid "" -":issue:`46881`: Statically allocate and initialize the latin1 characters." -msgstr "" - -#: ../build/NEWS:2754 -msgid "" -":issue:`46838`: Improve syntax errors for incorrect function definitions. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:2757 -msgid "" -":issue:`43721`: Fix docstrings of :attr:`~property.getter`, :attr:`~property." -"setter`, and :attr:`~property.deleter` to clarify that they create a new " -"copy of the property." -msgstr "" - -#: ../build/NEWS:2761 -msgid ":issue:`43224`: Make grammar changes required for PEP 646." -msgstr "" - -#: ../build/NEWS:2766 -msgid ":issue:`47208`: Allow vendors to override :const:`CTYPES_MAX_ARGCOUNT`." -msgstr "" - -#: ../build/NEWS:2768 -msgid "" -":issue:`23689`: :mod:`re` module: fix memory leak when a match is terminated " -"by a signal or memory allocation failure. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:2771 -msgid "" -":issue:`47167`: Allow overriding a future compliance check in :class:" -"`asyncio.Task`." -msgstr "" - -#: ../build/NEWS:2774 -msgid "" -":issue:`47151`: When subprocess tries to use vfork, it now falls back to " -"fork if vfork returns an error. This allows use in situations where vfork " -"isn't allowed by the OS kernel." -msgstr "" - -#: ../build/NEWS:2778 -msgid "" -":issue:`47152`: Convert the :mod:`re` module into a package. Deprecate " -"modules ``sre_compile``, ``sre_constants`` and ``sre_parse``." -msgstr "" - -#: ../build/NEWS:2781 -msgid ":issue:`4833`: Add :meth:`ZipFile.mkdir`" -msgstr "" - -#: ../build/NEWS:2783 -msgid "" -":issue:`27929`: Fix :meth:`asyncio.loop.sock_connect` to only resolve names " -"for :const:`socket.AF_INET` or :const:`socket.AF_INET6` families. Resolution " -"may not make sense for other families, like :const:`socket.AF_BLUETOOTH` " -"and :const:`socket.AF_UNIX`." -msgstr "" - -#: ../build/NEWS:2788 -msgid ":issue:`14265`: Adds the fully qualified test name to unittest output" -msgstr "" - -#: ../build/NEWS:2790 -msgid ":issue:`47061`: Deprecate the aifc module." -msgstr "" - -#: ../build/NEWS:2792 -msgid "" -":issue:`39622`: Handle Ctrl+C in asyncio programs to interrupt the main task." -msgstr "" - -#: ../build/NEWS:2794 -msgid "" -":issue:`47101`: :const:`hashlib.algorithms_available` now lists only " -"algorithms that are provided by activated crypto providers on OpenSSL 3.0. " -"Legacy algorithms are not listed unless the legacy provider has been loaded " -"into the default OSSL context." -msgstr "" - -#: ../build/NEWS:2799 -msgid "" -":issue:`47099`: All :exc:`URLError` exception messages raised in :class:" -"`urllib.request.URLopener` now contain a colon between ``ftp error`` and the " -"rest of the message. Previously, :func:`~urllib.request.URLopener.open_ftp` " -"missed the colon. Patch by Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2805 -msgid "" -":issue:`47099`: Exception chaining is changed from :func:`Exception." -"with_traceback`/:func:`sys.exc_info` to :pep:`3134`. Patch by Oleg Iarygin." -msgstr "" - -#: ../build/NEWS:2809 -msgid "" -":issue:`47095`: :mod:`hashlib`'s internal ``_blake2`` module now prefers " -"``libb2`` from https://www.blake2.net/ over Python's vendored copy of blake2." -msgstr "" - -#: ../build/NEWS:2813 -msgid "" -":issue:`47098`: The Keccak Code Package for :mod:`hashlib`'s internal " -"``_sha3`` module has been replaced with tiny_sha3. The module is used as " -"fallback when Python is built without OpenSSL." -msgstr "" - -#: ../build/NEWS:2817 -msgid "" -":issue:`47088`: Implement :data:`typing.LiteralString`, part of :pep:`675`. " -"Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:2820 -msgid "" -":issue:`42885`: Optimize :func:`re.search`, :func:`re.split`, :func:`re." -"findall`, :func:`re.finditer` and :func:`re.sub` for regular expressions " -"starting with ``\\A`` or ``^``." -msgstr "" - -#: ../build/NEWS:2824 -msgid "" -":issue:`23691`: Protect the :func:`re.finditer` iterator from re-entering." -msgstr "" - -#: ../build/NEWS:2826 -msgid "" -":issue:`47067`: Optimize calling ``GenericAlias`` objects by using :pep:" -"`590` ``vectorcall`` and by replacing ``PyObject_SetAttrString`` with " -"``PyObject_SetAttr``." -msgstr "" - -#: ../build/NEWS:2830 -msgid "" -":issue:`28080`: Add the *metadata_encoding* parameter in the :class:`zipfile." -"ZipFile` constructor and the ``--metadata-encoding`` option in the :mod:" -"`zipfile` CLI to allow reading zipfiles using non-standard codecs to encode " -"the filenames within the archive." -msgstr "" - -#: ../build/NEWS:2835 -msgid "" -":issue:`47000`: Make :func:`io.text_encoding` returns \"utf-8\" when UTF-8 " -"mode is enabled." -msgstr "" - -#: ../build/NEWS:2838 -msgid "" -":issue:`42369`: Fix thread safety of :meth:`zipfile._SharedFile.tell` to " -"avoid a \"zipfile.BadZipFile: Bad CRC-32 for file\" exception when reading " -"a :class:`ZipFile` from multiple threads." -msgstr "" - -#: ../build/NEWS:2842 -msgid "" -":issue:`38256`: Fix :func:`binascii.crc32` when it is compiled to use zlib'c " -"crc32 to work properly on inputs 4+GiB in length instead of returning the " -"wrong result. The workaround prior to this was to always feed the function " -"data in increments smaller than 4GiB or to just call the zlib module " -"function." -msgstr "" - -#: ../build/NEWS:2848 -msgid "" -"We also have :func:`binascii.crc32` release the GIL when computing on larger " -"inputs as :func:`zlib.crc32` and :mod:`hashlib` do." -msgstr "" - -#: ../build/NEWS:2851 -msgid "" -"This also boosts performance on Windows as it now uses the zlib crc32 " -"implementation for :func:`binascii.crc32` for a 2-3x speedup." -msgstr "" - -#: ../build/NEWS:2854 -msgid "" -"That the stdlib has a crc32 API in two modules is a known historical oddity. " -"This moves us closer to a single implementation behind them." -msgstr "" - -#: ../build/NEWS:2857 -msgid "" -":issue:`47066`: Global inline flags (e.g. ``(?i)``) can now only be used at " -"the start of the regular expressions. Using them not at the start of " -"expression was deprecated since Python 3.6." -msgstr "" - -#: ../build/NEWS:2861 -msgid "" -":issue:`39394`: A warning about inline flags not at the start of the regular " -"expression now contains the position of the flag." -msgstr "" - -#: ../build/NEWS:2864 -msgid "" -":issue:`433030`: Add support of atomic grouping (``(?>...)``) and possessive " -"quantifiers (``*+``, ``++``, ``?+``, ``{m,n}+``) in :mod:`regular " -"expressions `." -msgstr "" - -#: ../build/NEWS:2868 -msgid ":issue:`47062`: Implement :class:`asyncio.Runner` context manager." -msgstr "" - -#: ../build/NEWS:2870 -msgid "" -":issue:`46382`: :func:`~dataclasses.dataclass` ``slots=True`` now correctly " -"omits slots already defined in base classes. Patch by Arie Bovenberg." -msgstr "" - -#: ../build/NEWS:2873 -msgid ":issue:`47057`: Use FASTCALL convention for ``FutureIter.throw()``" -msgstr "" - -#: ../build/NEWS:2875 -msgid ":issue:`47061`: Deprecate the various modules listed by :pep:`594`:" -msgstr "" - -#: ../build/NEWS:2877 -msgid "" -"aifc, asynchat, asyncore, audioop, cgi, cgitb, chunk, crypt, imghdr, msilib, " -"nntplib, nis, ossaudiodev, pipes, smtpd, sndhdr, spwd, sunau, telnetlib, uu, " -"xdrlib" -msgstr "" - -#: ../build/NEWS:2881 -msgid "" -":issue:`34790`: Remove passing coroutine objects to :func:`asyncio.wait`." -msgstr "" - -#: ../build/NEWS:2883 -msgid "" -":issue:`47039`: Normalize ``repr()`` of asyncio future and task objects." -msgstr "" - -#: ../build/NEWS:2885 -msgid "" -":issue:`2604`: Fix bug where doctests using globals would fail when run " -"multiple times." -msgstr "" - -#: ../build/NEWS:2888 -msgid "" -":issue:`45150`: Add :func:`hashlib.file_digest` helper for efficient hashing " -"of file object." -msgstr "" - -#: ../build/NEWS:2891 -msgid ":issue:`34861`: Made cumtime the default sorting key for cProfile" -msgstr "" - -#: ../build/NEWS:2893 -msgid ":issue:`45997`: Fix :class:`asyncio.Semaphore` re-aquiring FIFO order." -msgstr "" - -#: ../build/NEWS:2895 -msgid "" -":issue:`47022`: The :mod:`asynchat`, :mod:`asyncore` and :mod:`smtpd` " -"modules have been deprecated since at least Python 3.6. Their documentation " -"and deprecation warnings and have now been updated to note they will removed " -"in Python 3.12 (:pep:`594`)." -msgstr "" - -#: ../build/NEWS:2900 -msgid "" -":issue:`43253`: Fix a crash when closing transports where the underlying " -"socket handle is already invalid on the Proactor event loop." -msgstr "" - -#: ../build/NEWS:2903 -msgid "" -":issue:`40280`: :func:`select.select` now passes ``NULL`` to ``select`` for " -"each empty fdset." -msgstr "" - -#: ../build/NEWS:2906 -msgid "" -":issue:`47004`: Apply bugfixes from importlib_metadata 4.11.3, including " -"bugfix for EntryPoint.extras, which was returning match objects and not the " -"extras strings." -msgstr "" - -#: ../build/NEWS:2910 -msgid "" -":issue:`46998`: Allow subclassing of :class:`typing.Any`. Patch by Shantanu " -"Jain." -msgstr "" - -#: ../build/NEWS:2913 -msgid "" -":issue:`46995`: Deprecate missing :meth:`asyncio.Task.set_name` for third-" -"party task implementations, schedule making it mandatory in Python 3.13." -msgstr "" - -#: ../build/NEWS:2916 -msgid "" -":issue:`46994`: Accept explicit contextvars.Context in :func:`asyncio." -"create_task` and :meth:`asyncio.loop.create_task`." -msgstr "" - -#: ../build/NEWS:2919 -msgid "" -":issue:`46981`: ``typing.get_args(typing.Tuple[()])`` now returns ``()`` " -"instead of ``((),)``." -msgstr "" - -#: ../build/NEWS:2922 -msgid ":issue:`46968`: Add ``os.sysconf_names['SC_MINSIGSTKSZ']``." -msgstr "" - -#: ../build/NEWS:2924 -msgid ":issue:`46985`: Upgrade pip wheel bundled with ensurepip (pip 22.0.4)" -msgstr "" - -#: ../build/NEWS:2926 -msgid "" -":issue:`46968`: :mod:`faulthandler`: On Linux 5.14 and newer, dynamically " -"determine size of signal handler stack size CPython allocates using " -"``getauxval(AT_MINSIGSTKSZ)``. This changes allows for Python extension's " -"request to Linux kernel to use AMX_TILE instruction set on Sapphire Rapids " -"Xeon processor to succeed, unblocking use of the ISA in frameworks." -msgstr "" - -#: ../build/NEWS:2932 -msgid "" -":issue:`46917`: The :data:`math.nan` value is now always available. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:2935 -msgid "" -":issue:`46955`: Expose :class:`asyncio.base_events.Server` as :class:" -"`asyncio.Server`. Patch by Stefan Zabka." -msgstr "" - -#: ../build/NEWS:2938 -msgid "" -":issue:`23325`: The :mod:`signal` module no longer assumes that :const:" -"`~signal.SIG_IGN` and :const:`~signal.SIG_DFL` are small int singletons." -msgstr "" - -#: ../build/NEWS:2942 -msgid ":issue:`46932`: Update bundled libexpat to 2.4.7" -msgstr "" - -#: ../build/NEWS:2944 -msgid "" -":issue:`46933`: The :mod:`pwd` module is now optional. :func:`os.path." -"expanduser` returns the path when the :mod:`pwd` module is not available." -msgstr "" - -#: ../build/NEWS:2948 -msgid "" -":issue:`40059`: :pep:`680`, the :mod:`tomllib` module. Adds support for " -"parsing TOML." -msgstr "" - -#: ../build/NEWS:2951 -msgid "" -":issue:`464471`: :func:`asyncio.timeout` and :func:`asyncio.timeout_at` " -"context managers added. Patch by Tin Tvrtković and Andrew Svetlov." -msgstr "" - -#: ../build/NEWS:2954 -msgid "" -":issue:`46805`: Added raw datagram socket functions for asyncio: :meth:" -"`~asyncio.AbstractEventLoop.sock_sendto`, :meth:`~asyncio.AbstractEventLoop." -"sock_recvfrom` and :meth:`~asyncio.AbstractEventLoop.sock_recvfrom_into`." -msgstr "" - -#: ../build/NEWS:2959 -msgid "" -":issue:`46644`: No longer require valid typeforms to be callable. This " -"allows :data:`typing.Annotated` to wrap :data:`typing.ParamSpecArgs` and :" -"data:`dataclasses.InitVar`. Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:2963 -msgid "" -":issue:`46581`: Brings :class:`ParamSpec` propagation for :class:" -"`GenericAlias` in line with :class:`Concatenate` (and others)." -msgstr "" - -#: ../build/NEWS:2966 -msgid "" -":issue:`45413`: Define *posix_venv* and *nt_venv* :ref:`sysconfig " -"installation schemes ` to be used for bootstrapping new " -"virtual environments. Add *venv* sysconfig installation scheme to get the " -"appropriate one of the above. The schemes are identical to the pre-existing " -"*posix_prefix* and *nt* install schemes. The :mod:`venv` module now uses the " -"*venv* scheme to create new virtual environments instead of hardcoding the " -"paths depending only on the platform. Downstream Python distributors " -"customizing the *posix_prefix* or *nt* install scheme in a way that is not " -"compatible with the install scheme used in virtual environments are " -"encouraged not to customize the *venv* schemes. When Python itself runs in a " -"virtual environment, :func:`sysconfig.get_default_scheme` and :func:" -"`sysconfig.get_preferred_scheme` with ``key=\"prefix\"`` returns *venv*." -msgstr "" - -#: ../build/NEWS:2981 -msgid ":issue:`43224`: Implement support for PEP 646 in typing.py." -msgstr "" - -#: ../build/NEWS:2983 -msgid "" -":issue:`43224`: Allow unpacking types.GenericAlias objects, e.g. " -"``*tuple[int, str]``." -msgstr "" - -#: ../build/NEWS:2986 -msgid "" -":issue:`46557`: Warnings captured by the logging module are now logged " -"without a format string to prevent systems that group logs by the msg " -"argument from grouping captured warnings together." -msgstr "" - -#: ../build/NEWS:2990 -msgid "" -":issue:`41370`: :func:`typing.get_type_hints` now supports evaluating " -"strings as forward references in :ref:`PEP 585 generic aliases `." -msgstr "" - -#: ../build/NEWS:2994 -msgid "" -":issue:`46607`: Add :exc:`DeprecationWarning` to :class:" -"`LegacyInterpolation`, deprecated in the docstring since Python 3.2. Will be " -"removed in Python 3.13. Use :class:`BasicInterpolation` or :class:" -"`ExtendedInterpolation` instead." -msgstr "" - -#: ../build/NEWS:2999 -msgid "" -":issue:`26120`: :mod:`pydoc` now excludes __future__ imports from the " -"module's data items." -msgstr "" - -#: ../build/NEWS:3002 -msgid "" -":issue:`46480`: Add :func:`typing.assert_type`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:3004 -msgid "" -":issue:`46421`: Fix a unittest issue where if the command was invoked as " -"``python -m unittest`` and the filename(s) began with a dot (.), a " -"``ValueError`` is returned." -msgstr "" - -#: ../build/NEWS:3008 -msgid "" -":issue:`46245`: Add optional parameter *dir_fd* in :func:`shutil.rmtree`." -msgstr "" - -#: ../build/NEWS:3010 -msgid "" -":issue:`22859`: :meth:`~unittest.TestProgram.usageExit` is marked " -"deprecated, to be removed in 3.13." -msgstr "" - -#: ../build/NEWS:3013 -msgid "" -":issue:`46170`: Improve the error message when you try to subclass an " -"instance of :class:`typing.NewType`." -msgstr "" - -#: ../build/NEWS:3016 -msgid ":issue:`40296`: Fix supporting generic aliases in :mod:`pydoc`." -msgstr "" - -#: ../build/NEWS:3018 -msgid "" -":issue:`20392`: Fix inconsistency with uppercase file extensions in :meth:" -"`MimeTypes.guess_type`. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3021 -msgid "" -":issue:`46030`: Add ``LOCAL_CREDS``, ``LOCAL_CREDS_PERSISTENT`` and " -"``SCM_CREDS2`` FreeBSD constants to the socket module." -msgstr "" - -#: ../build/NEWS:3024 -msgid "" -":issue:`44439`: Fix ``.write()`` method of a member file in ``ZipFile``, " -"when the input data is an object that supports the buffer protocol, the file " -"length may be wrong." -msgstr "" - -#: ../build/NEWS:3028 -msgid "" -":issue:`45171`: Fix handling of the ``stacklevel`` argument to logging " -"functions in the :mod:`logging` module so that it is consistent across all " -"logging functions and, as advertised, similar to the ``stacklevel`` argument " -"used in :meth:`~warnings.warn`." -msgstr "" - -#: ../build/NEWS:3033 -msgid "" -":issue:`24959`: Fix bug where :mod:`unittest` sometimes drops frames from " -"tracebacks of exceptions raised in tests." -msgstr "" - -#: ../build/NEWS:3036 -msgid "" -":issue:`44859`: Raise more accurate and :pep:`249` compatible exceptions in :" -"mod:`sqlite3`." -msgstr "" - -#: ../build/NEWS:3039 -msgid "" -"Raise :exc:`~sqlite3.InterfaceError` instead of :exc:`~sqlite3." -"ProgrammingError` for ``SQLITE_MISUSE`` errors." -msgstr "" - -#: ../build/NEWS:3041 -msgid "" -"Don't overwrite :exc:`BufferError` with :exc:`ValueError` when conversion to " -"BLOB fails." -msgstr "" - -#: ../build/NEWS:3043 -msgid "" -"Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`~sqlite3.Warning` if " -"user tries to :meth:`~sqlite3.Cursor.execute()` more than one SQL statement." -msgstr "" - -#: ../build/NEWS:3045 -msgid "" -"Raise :exc:`~sqlite3.ProgrammingError` instead of :exc:`ValueError` if an " -"SQL query contains null characters." -msgstr "" - -#: ../build/NEWS:3048 -msgid ":issue:`44493`: Add missing terminated NUL in sockaddr_un's length" -msgstr "" - -#: ../build/NEWS:3050 -msgid "" -"This was potentially observable when using non-abstract AF_UNIX datagram " -"sockets to processes written in another programming language." -msgstr "" - -#: ../build/NEWS:3053 -msgid "" -":issue:`41930`: Add :meth:`~sqlite3.Connection.serialize` and :meth:" -"`~sqlite3.Connection.deserialize` support to :mod:`sqlite3`. Patch by Erlend " -"E. Aasland." -msgstr "" - -#: ../build/NEWS:3057 -msgid "" -":issue:`33178`: Added :class:`ctypes.BigEndianUnion` and :class:`ctypes." -"LittleEndianUnion` classes, as originally documented in the library docs but " -"not yet implemented." -msgstr "" - -#: ../build/NEWS:3061 -msgid "" -":issue:`43352`: Add an Barrier object in synchronization primitives of " -"*asyncio* Lib in order to be consistant with Barrier from *threading* and " -"*multiprocessing* libs*" -msgstr "" - -#: ../build/NEWS:3065 -msgid "" -":issue:`35859`: :mod:`re` module, fix a few bugs about capturing group. In " -"rare cases, capturing group gets an incorrect string. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:3071 -msgid ":issue:`45099`: Document internal :mod:`asyncio` API." -msgstr "" - -#: ../build/NEWS:3073 -msgid ":issue:`47126`: Update PEP URLs to :pep:`676`'s new canonical form." -msgstr "" - -#: ../build/NEWS:3075 -msgid "" -":issue:`47040`: Clarified the old Python versions compatiblity note of :func:" -"`binascii.crc32` / :func:`zlib.adler32` / :func:`zlib.crc32` functions." -msgstr "" - -#: ../build/NEWS:3079 -msgid ":issue:`46033`: Clarify ``for`` statement execution in its doc." -msgstr "" - -#: ../build/NEWS:3081 -msgid "" -":issue:`45790`: Adjust inaccurate phrasing in :doc:`../extending/" -"newtypes_tutorial` about the ``ob_base`` field and the macros used to access " -"its contents." -msgstr "" - -#: ../build/NEWS:3085 -msgid "" -":issue:`42340`: Document that in some circumstances :exc:`KeyboardInterrupt` " -"may cause the code to enter an inconsistent state. Provided a sample " -"workaround to avoid it if needed." -msgstr "" - -#: ../build/NEWS:3089 -msgid "" -":issue:`41233`: Link the errnos referenced in ``Doc/library/exceptions.rst`` " -"to their respective section in ``Doc/library/errno.rst``, and vice versa. " -"Previously this was only done for EINTR and InterruptedError. Patch by Yan " -"\"yyyyyyyan\" Orestes." -msgstr "" - -#: ../build/NEWS:3097 -msgid "" -":issue:`47205`: Skip test for :func:`~os.sched_getaffinity` and :func:`~os." -"sched_setaffinity` error case on FreeBSD." -msgstr "" - -#: ../build/NEWS:3100 -msgid ":issue:`46126`: Restore 'descriptions' when running tests internally." -msgstr "" - -#: ../build/NEWS:3102 -msgid "" -":issue:`47104`: Rewrite :func:`asyncio.to_thread` tests to use :class:" -"`unittest.IsolatedAsyncioTestCase`." -msgstr "" - -#: ../build/NEWS:3105 -msgid "" -":issue:`40280`: The test suite is now passing on the Emscripten platform. " -"All fork, socket, and subprocess-based tests are skipped." -msgstr "" - -#: ../build/NEWS:3108 -msgid "" -":issue:`47037`: Skip ``strftime(\"%4Y\")`` feature test on Windows. It can " -"cause an assertion error in debug builds." -msgstr "" - -#: ../build/NEWS:3111 -msgid "" -":issue:`46587`: Skip tests if platform's ``strftime`` does not support non-" -"portable glibc extensions." -msgstr "" - -#: ../build/NEWS:3114 -msgid "" -":issue:`47015`: A test case for :func:`os.sendfile` is converted from " -"deprecated :mod:`asyncore` (see :pep:`594`) to :mod:`asyncio`. Patch by Oleg " -"Iarygin." -msgstr "" - -#: ../build/NEWS:3121 -msgid "" -":issue:`40280`: Add configure option :option:`--enable-wasm-dynamic-linking` " -"to enable ``dlopen`` and MAIN_MODULE / SIDE_MODULE on ``wasm32-emscripten``." -msgstr "" - -#: ../build/NEWS:3124 -msgid "" -":issue:`46023`: ``makesetup`` now detects and skips all duplicated module " -"definitions. The first entry wins." -msgstr "" - -#: ../build/NEWS:3127 -msgid "" -":issue:`40280`: Add SOABI ``wasm32-emscripten`` for Emscripten and ``wasm32-" -"wasi`` for WASI on 32bit WASM as well as ``wasm64`` counter parts." -msgstr "" - -#: ../build/NEWS:3131 -msgid "" -":issue:`47032`: Ensure Windows install builds fail correctly with a non-zero " -"exit code when part of the build fails." -msgstr "" - -#: ../build/NEWS:3134 -msgid "" -":issue:`47024`: Update OpenSSL to 1.1.1n for macOS installers and all " -"Windows builds." -msgstr "" - -#: ../build/NEWS:3137 -msgid "" -":issue:`46996`: The :mod:`tkinter` package now requires Tcl/Tk version " -"8.5.12 or newer." -msgstr "" - -#: ../build/NEWS:3140 -msgid "" -":issue:`46973`: Add ``regen-configure`` make target to regenerate configure " -"script with Christian's container image ``quay.io/tiran/" -"cpython_autoconf:269``." -msgstr "" - -#: ../build/NEWS:3144 -msgid "" -":issue:`46917`: Building Python now requires support of IEEE 754 floating " -"point numbers. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3147 -msgid "" -":issue:`45774`: ``configure`` now verifies that all SQLite C APIs needed for " -"the :mod:`sqlite3` extension module are found." -msgstr "" - -#: ../build/NEWS:3153 -msgid ":issue:`47194`: Update ``zlib`` to v1.2.12 to resolve CVE-2018-25032." -msgstr "" - -#: ../build/NEWS:3155 -msgid "" -":issue:`47171`: Enables installing the :file:`py.exe` launcher on Windows " -"ARM64." -msgstr "" - -#: ../build/NEWS:3158 -msgid "" -":issue:`46566`: Upgraded :ref:`launcher` to support a new ``-V:company/tag`` " -"argument for full :pep:`514` support and to detect ARM64 installs. The " -"``-64`` suffix on arguments is deprecated, but still selects any non-32-bit " -"install. Setting :envvar:`PYLAUNCHER_ALLOW_INSTALL` and specifying a version " -"that is not installed will attempt to install the requested version from the " -"Microsoft Store." -msgstr "" - -#: ../build/NEWS:3165 -msgid "" -":issue:`47086`: The installer for Windows now includes documentation as " -"loose HTML files rather than a single compiled :file:`.chm` file." -msgstr "" - -#: ../build/NEWS:3168 -msgid ":issue:`46907`: Update Windows installer to use SQLite 3.38.1." -msgstr "" - -#: ../build/NEWS:3170 -msgid "" -":issue:`44549`: Update bzip2 to 1.0.8 in Windows builds to mitigate " -"CVE-2016-3189 and CVE-2019-12900" -msgstr "" - -#: ../build/NEWS:3173 -msgid "" -":issue:`46948`: Prevent CVE-2022-26488 by ensuring the Add to PATH option in " -"the Windows installer uses the correct path when being repaired." -msgstr "" - -#: ../build/NEWS:3179 -msgid "" -":issue:`46890`: Fix a regression in the setting of ``sys._base_executable`` " -"in framework builds, and thereby fix a regression in :mod:`venv` virtual " -"environments with such builds." -msgstr "" - -#: ../build/NEWS:3183 -msgid ":issue:`46907`: Update macOS installer to SQLite 3.38.1." -msgstr "" - -#: ../build/NEWS:3188 -msgid "" -":issue:`40280`: Replace Emscripten's limited shell with Katie Bell's browser-" -"ui REPL from python-wasm project." -msgstr "" - -#: ../build/NEWS:3194 -msgid "" -":issue:`40421`: Add ``PyFrame_GetBuiltins``, ``PyFrame_GetGenerator`` and " -"``PyFrame_GetGlobals`` C-API functions to access frame object attributes " -"safely from C code." -msgstr "" - -#: ../build/NEWS:3198 -msgid "" -":issue:`46850`: Move the private ``_PyFrameEvalFunction`` type, and private " -"``_PyInterpreterState_GetEvalFrameFunc()`` and " -"``_PyInterpreterState_SetEvalFrameFunc()`` functions to the internal C API. " -"The ``_PyFrameEvalFunction`` callback function type now uses the " -"``_PyInterpreterFrame`` type which is part of the internal C API. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:3205 -msgid "" -":issue:`46850`: Move the private undocumented ``_PyEval_EvalFrameDefault()`` " -"function to the internal C API. The function now uses the " -"``_PyInterpreterFrame`` type which is part of the internal C API. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:3210 -msgid "" -":issue:`46850`: Remove the private undocumented function " -"``_PyEval_CallTracing()`` from the C API. Call the public :func:`sys." -"call_tracing` function instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3214 -msgid "" -":issue:`46850`: Remove the private undocumented function " -"``_PyEval_GetCoroutineOriginTrackingDepth()`` from the C API. Call the " -"public :func:`sys.get_coroutine_origin_tracking_depth` function instead. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3219 -msgid "" -":issue:`46850`: Remove the following private undocumented functions from the " -"C API:" -msgstr "" - -#: ../build/NEWS:3222 -msgid "``_PyEval_GetAsyncGenFirstiter()``" -msgstr "" - -#: ../build/NEWS:3223 -msgid "``_PyEval_GetAsyncGenFinalizer()``" -msgstr "" - -#: ../build/NEWS:3224 -msgid "``_PyEval_SetAsyncGenFirstiter()``" -msgstr "" - -#: ../build/NEWS:3225 -msgid "``_PyEval_SetAsyncGenFinalizer()``" -msgstr "" - -#: ../build/NEWS:3227 -msgid "" -"Call the public :func:`sys.get_asyncgen_hooks` and :func:`sys." -"set_asyncgen_hooks` functions instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3230 -msgid "" -":issue:`46987`: Remove private functions ``_PySys_GetObjectId()`` and " -"``_PySys_SetObjectId()``. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3233 -msgid "" -":issue:`46906`: Add new functions to pack and unpack C double (serialize and " -"deserialize): :c:func:`PyFloat_Pack2`, :c:func:`PyFloat_Pack4`, :c:func:" -"`PyFloat_Pack8`, :c:func:`PyFloat_Unpack2`, :c:func:`PyFloat_Unpack4` and :c:" -"func:`PyFloat_Unpack8`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3241 -msgid "Python 3.11.0 alpha 6" -msgstr "" - -#: ../build/NEWS:3243 -msgid "*Release date: 2022-03-07*" -msgstr "" - -#: ../build/NEWS:3248 -msgid "" -":issue:`46940`: Avoid overriding :exc:`AttributeError` metadata information " -"for nested attribute access calls. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3251 -msgid "" -":issue:`46927`: Include the type's name in the error message for " -"subscripting non-generic types." -msgstr "" - -#: ../build/NEWS:3254 -msgid ":issue:`46921`: Support vectorcall for ``super()``. Patch by Ken Jin." -msgstr "" - -#: ../build/NEWS:3256 -msgid "" -":issue:`46841`: Fix incorrect handling of inline cache entries when " -"specializing :opcode:`BINARY_OP`." -msgstr "" - -#: ../build/NEWS:3259 -msgid "" -":issue:`46841`: Use an oparg to simplify the construction of helpful error " -"messages in :opcode:`GET_AWAITABLE`." -msgstr "" - -#: ../build/NEWS:3262 -msgid "" -":issue:`46903`: Make sure that str subclasses can be used as attribute names " -"for instances with virtual dictionaries. Fixes regression in 3.11alpha" -msgstr "" - -#: ../build/NEWS:3265 -msgid "" -":issue:`46841`: Add more detailed specialization failure stats for :opcode:" -"`COMPARE_OP` followed by :opcode:`EXTENDED_ARG`." -msgstr "" - -#: ../build/NEWS:3268 -msgid "" -":issue:`46891`: Fix bug introduced during 3.11alpha where subclasses of " -"``types.ModuleType`` with ``__slots__`` were not initialized correctly, " -"resulting in an interpreter crash." -msgstr "" - -#: ../build/NEWS:3272 -msgid "" -":issue:`46841`: Use inline caching for :opcode:`LOAD_ATTR`, :opcode:" -"`LOAD_METHOD`, and :opcode:`STORE_ATTR`." -msgstr "" - -#: ../build/NEWS:3275 -msgid ":issue:`46841`: Use inline cache for :opcode:`BINARY_SUBSCR`." -msgstr "" - -#: ../build/NEWS:3277 -msgid ":issue:`46841`: Use inline caching for :opcode:`COMPARE_OP`." -msgstr "" - -#: ../build/NEWS:3279 -msgid "" -":issue:`46864`: Deprecate ``PyBytesObject.ob_shash``. It will be removed in " -"Python 3.13." -msgstr "" - -#: ../build/NEWS:3282 -msgid ":issue:`46841`: Use inline caching for :opcode:`UNPACK_SEQUENCE`." -msgstr "" - -#: ../build/NEWS:3284 -msgid "" -":issue:`46845`: Reduces dict size by removing hash value from hash table " -"when all inserted keys are Unicode. For example, ``sys.getsizeof(dict." -"fromkeys(\"abcdefg\"))`` becomes 272 bytes from 352 bytes on 64bit platform." -msgstr "" - -#: ../build/NEWS:3289 -msgid ":issue:`46841`: Use inline cache for :opcode:`LOAD_GLOBAL`." -msgstr "" - -#: ../build/NEWS:3291 -msgid "" -":issue:`46852`: Rename the private undocumented ``float.__set_format__()`` " -"method to ``float.__setformat__()`` to fix a typo introduced in Python 3.7. " -"The method is only used by test_float. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3295 -msgid "" -":issue:`46852`: Remove the undocumented private ``float.__set_format__()`` " -"method, previously known as ``float.__setformat__()`` in Python 3.7. Its " -"docstring said: \"You probably don't want to use this function. It exists " -"mainly to be used in Python's test suite.\" Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3300 -msgid "" -":issue:`40116`: Fix regression that dict.update(other) may don't respect " -"iterate order of other when other is key sharing dict." -msgstr "" - -#: ../build/NEWS:3303 -msgid ":issue:`46712`: Share global string identifiers in deep-frozen modules." -msgstr "" - -#: ../build/NEWS:3305 -msgid "" -":issue:`46430`: Fix memory leak in interned strings of deep-frozen modules." -msgstr "" - -#: ../build/NEWS:3307 -msgid "" -":issue:`46841`: Store :opcode:`BINARY_OP` caches inline using a new :opcode:" -"`CACHE` instruction." -msgstr "" - -#: ../build/NEWS:3310 -msgid ":issue:`45107`: Specialize ``LOAD_METHOD`` for instances with a dict." -msgstr "" - -#: ../build/NEWS:3312 -msgid "" -":issue:`44337`: Reduce the memory usage of specialized :opcode:`LOAD_ATTR` " -"and :opcode:`STORE_ATTR` instructions." -msgstr "" - -#: ../build/NEWS:3315 -msgid "" -":issue:`46729`: Add number of sub-exceptions to :meth:`BaseException." -"__str__`." -msgstr "" - -#: ../build/NEWS:3317 -msgid "" -":issue:`45885`: Don't un-adapt :opcode:`COMPARE_OP` when collecting " -"specialization stats." -msgstr "" - -#: ../build/NEWS:3320 -msgid "" -":issue:`46329`: Fix specialization stats gathering for :opcode:`PRECALL` " -"instructions." -msgstr "" - -#: ../build/NEWS:3323 -msgid ":issue:`46794`: Bump up the libexpat version into 2.4.6" -msgstr "" - -#: ../build/NEWS:3325 -msgid "" -":issue:`46823`: Implement a specialized combined opcode " -"``LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE``. Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:3328 -msgid "" -":issue:`46820`: Fix parsing a numeric literal immediately (without spaces) " -"followed by \"not in\" keywords, like in ``1not in x``. Now the parser only " -"emits a warning, not a syntax error." -msgstr "" - -#: ../build/NEWS:3332 -msgid "" -":issue:`46329`: Move ``KW_NAMES`` before ``PRECALL`` instruction in call " -"sequence. Change ``operand`` of ``CALL`` to match ``PRECALL`` for easier " -"specialization." -msgstr "" - -#: ../build/NEWS:3336 -msgid "" -":issue:`46808`: Remove the ``NEXT_BLOCK`` macro from compile.c, and make the " -"compiler automatically generate implicit blocks when they are needed." -msgstr "" - -#: ../build/NEWS:3339 -msgid "" -":issue:`46329`: Add ``PUSH_NULL`` instruction. This is used as a prefix when " -"evaluating a callable, so that the stack has the same shape for methods and " -"other calls. ``PRECALL_FUNCTION`` and ``PRECALL_METHOD`` are merged into a " -"single ``PRECALL`` instruction." -msgstr "" - -#: ../build/NEWS:3344 ../build/NEWS:3727 -msgid "There is no change in semantics." -msgstr "" - -#: ../build/NEWS:3346 -msgid "" -":issue:`46762`: Fix an assert failure in debug builds when a '<', '>', or " -"'=' is the last character in an f-string that's missing a closing right " -"brace." -msgstr "" - -#: ../build/NEWS:3349 -msgid "" -":issue:`46730`: Message of AttributeError caused by getting, setting or " -"deleting a property without the corresponding function now mentions that the " -"attribute is in fact a property and also specifies type of the class that it " -"belongs to." -msgstr "" - -#: ../build/NEWS:3354 -msgid "" -":issue:`46724`: Make sure that all backwards jumps use the ``JUMP_ABSOLUTE`` " -"instruction, rather than ``JUMP_FORWARD`` with an argument of " -"``(2**32)+offset``." -msgstr "" - -#: ../build/NEWS:3358 -msgid "" -":issue:`46732`: Correct the docstring for the :meth:`__bool__` method. Patch " -"by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:3361 -msgid "" -":issue:`46072`: Add more detailed specialization failure statistics for :" -"opcode:`BINARY_OP`." -msgstr "" - -#: ../build/NEWS:3364 -msgid "" -":issue:`46707`: Avoid potential exponential backtracking when producing some " -"syntax errors involving lots of brackets. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:3367 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3371 -msgid "" -":issue:`45923`: Add a quickened form of :opcode:`RESUME` that skips " -"quickening checks." -msgstr "" - -#: ../build/NEWS:3374 -msgid "" -":issue:`46702`: Specialize :opcode:`UNPACK_SEQUENCE` for :class:`tuple` and :" -"class:`list` unpackings." -msgstr "" - -#: ../build/NEWS:3377 -msgid "" -":issue:`46072`: Opcode pair stats are now gathered with ``--enable-" -"pystats``. Defining ``DYNAMIC_EXECUTION_PROFILE`` or ``DXPAIRS`` no longer " -"has any effect." -msgstr "" - -#: ../build/NEWS:3381 -msgid "" -":issue:`46675`: Allow more than 16 items in a split dict before it is " -"combined. The limit is now 254." -msgstr "" - -#: ../build/NEWS:3384 -msgid "" -":issue:`40479`: Add a missing call to ``va_end()`` in ``Modules/_hashopenssl." -"c``." -msgstr "" - -#: ../build/NEWS:3387 -msgid "" -":issue:`46323`: Use :c:func:`PyObject_Vectorcall` while calling ctypes " -"callback function. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3390 -msgid "" -":issue:`46615`: When iterating over sets internally in ``setobject.c``, " -"acquire strong references to the resulting items from the set. This " -"prevents crashes in corner-cases of various set operations where the set " -"gets mutated." -msgstr "" - -#: ../build/NEWS:3395 -msgid "" -":issue:`45828`: The bytecode compiler now attempts to apply runtime stack " -"manipulations at compile-time (whenever it is feasible to do so)." -msgstr "" - -#: ../build/NEWS:3398 -msgid "" -":issue:`30496`: Fixed a minor portability issue in the implementation of :c:" -"func:`PyLong_FromLong`, and added a fast path for single-digit integers to :" -"c:func:`PyLong_FromLongLong`." -msgstr "" - -#: ../build/NEWS:3405 -msgid "" -":issue:`25707`: Fixed a file leak in :func:`xml.etree.ElementTree.iterparse` " -"when the iterator is not exhausted. Patch by Jacob Walls." -msgstr "" - -#: ../build/NEWS:3408 -msgid "" -":issue:`46877`: Export :func:`unittest.doModuleCleanups` in :mod:`unittest`. " -"Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3411 -msgid "" -":issue:`46848`: For performance, use the optimized string-searching " -"implementations from :meth:`~bytes.find` and :meth:`~bytes.rfind` for :meth:" -"`~mmap.find` and :meth:`~mmap.rfind`." -msgstr "" - -#: ../build/NEWS:3415 -msgid "" -":issue:`46736`: :class:`~http.server.SimpleHTTPRequestHandler` now uses " -"HTML5 grammar. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3418 -msgid "" -":issue:`44886`: Inherit asyncio proactor datagram transport from :class:" -"`asyncio.DatagramTransport`." -msgstr "" - -#: ../build/NEWS:3421 -msgid "" -":issue:`46827`: Support UDP sockets in :meth:`asyncio.loop.sock_connect` " -"for selector-based event loops. Patch by Thomas Grainger." -msgstr "" - -#: ../build/NEWS:3424 -msgid ":issue:`46811`: Make test suite support Expat >=2.4.5" -msgstr "" - -#: ../build/NEWS:3426 -msgid "" -":issue:`46252`: Raise :exc:`TypeError` if :class:`ssl.SSLSocket` is passed " -"to transport-based APIs." -msgstr "" - -#: ../build/NEWS:3429 -msgid "" -":issue:`46784`: Fix libexpat symbols collisions with user dynamically loaded " -"or statically linked libexpat in embedded Python." -msgstr "" - -#: ../build/NEWS:3432 -msgid "" -":issue:`46786`: The HTML serialisation in xml.etree.ElementTree now writes " -"``embed``, ``source``, ``track`` and ``wbr`` as empty tags, as defined in " -"HTML 5." -msgstr "" - -#: ../build/NEWS:3436 -msgid "" -":issue:`39327`: :func:`shutil.rmtree` can now work with VirtualBox shared " -"folders when running from the guest operating-system." -msgstr "" - -#: ../build/NEWS:3439 -msgid "" -":issue:`45390`: Propagate :exc:`asyncio.CancelledError` message from inner " -"task to outer awaiter." -msgstr "" - -#: ../build/NEWS:3442 -msgid "" -":issue:`46756`: Fix a bug in :meth:`urllib.request.HTTPPasswordMgr." -"find_user_password` and :meth:`urllib.request.HTTPPasswordMgrWithPriorAuth." -"is_authenticated` which allowed to bypass authorization. For example, access " -"to URI ``example.org/foobar`` was allowed if the user was authorized for URI " -"``example.org/foo``." -msgstr "" - -#: ../build/NEWS:3449 -msgid "" -":issue:`46737`: :func:`random.gauss` and :func:`random.normalvariate` now " -"have default arguments." -msgstr "" - -#: ../build/NEWS:3452 -msgid "" -":issue:`46752`: Add task groups to asyncio (structured concurrency, inspired " -"by Trio's nurseries). This also introduces a change to task cancellation, " -"where a cancelled task can't be cancelled again until it calls .uncancel()." -msgstr "" - -#: ../build/NEWS:3457 -msgid ":issue:`46724`: Fix :mod:`dis` behavior on negative jump offsets." -msgstr "" - -#: ../build/NEWS:3459 -msgid "" -":issue:`46333`: The :meth:`__repr__` method of :class:`typing.ForwardRef` " -"now includes the ``module`` parameter of :class:`typing.ForwardRef` when it " -"is set." -msgstr "" - -#: ../build/NEWS:3463 -msgid "" -":issue:`46643`: In :func:`typing.get_type_hints`, support evaluating " -"stringified ``ParamSpecArgs`` and ``ParamSpecKwargs`` annotations. Patch by " -"Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3467 -msgid "" -":issue:`45863`: When the :mod:`tarfile` module creates a pax format archive, " -"it will put an integer representation of timestamps in the ustar header (if " -"possible) for the benefit of older unarchivers, in addition to the existing " -"full-precision timestamps in the pax extended header." -msgstr "" - -#: ../build/NEWS:3472 -msgid "" -":issue:`46066`: Deprecate kwargs-based syntax for :class:`typing.TypedDict` " -"definitions. It had confusing semantics when specifying totality, and was " -"largely unused. Patch by Jingchen Ye." -msgstr "" - -#: ../build/NEWS:3476 -msgid "" -":issue:`46676`: Make :data:`typing.ParamSpec` args and kwargs equal to " -"themselves. Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3479 -msgid "" -":issue:`46323`: ``ctypes.CFUNCTYPE()`` and ``ctypes.WINFUNCTYPE()`` now fail " -"to create the type if its ``_argtypes_`` member contains too many arguments. " -"Previously, the error was only raised when calling a function. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:3484 -msgid "" -":issue:`46672`: Fix ``NameError`` in :func:`asyncio.gather` when initial " -"type check fails." -msgstr "" - -#: ../build/NEWS:3487 -msgid "" -":issue:`46659`: The :class:`calendar.LocaleTextCalendar` and :class:" -"`calendar.LocaleHTMLCalendar` classes now use :func:`locale.getlocale`, " -"instead of using :func:`locale.getdefaultlocale`, if no locale is specified. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3493 -msgid "" -":issue:`46659`: The :func:`locale.getdefaultlocale` function is deprecated " -"and will be removed in Python 3.13. Use :func:`locale.setlocale`, :func:" -"`locale.getpreferredencoding(False) ` and :func:" -"`locale.getlocale` functions instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3498 -msgid "" -":issue:`46655`: In :func:`typing.get_type_hints`, support evaluating bare " -"stringified ``TypeAlias`` annotations. Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3501 -msgid "" -":issue:`45948`: Fixed a discrepancy in the C implementation of the :mod:`xml." -"etree.ElementTree` module. Now, instantiating an :class:`xml.etree." -"ElementTree.XMLParser` with a ``target=None`` keyword provides a default :" -"class:`xml.etree.ElementTree.TreeBuilder` target as the Python " -"implementation does." -msgstr "" - -#: ../build/NEWS:3507 -msgid "" -":issue:`46626`: Expose Linux's ``IP_BIND_ADDRESS_NO_PORT`` option in :mod:" -"`socket`." -msgstr "" - -#: ../build/NEWS:3510 -msgid "" -":issue:`46521`: Fix a bug in the :mod:`codeop` module that was incorrectly " -"identifying invalid code involving string quotes as valid code." -msgstr "" - -#: ../build/NEWS:3513 -msgid ":issue:`46571`: Improve :func:`typing.no_type_check`." -msgstr "" - -#: ../build/NEWS:3515 -msgid "" -"Now it does not modify external classes and functions. We also now correctly " -"mark classmethods as not to be type checked." -msgstr "" - -#: ../build/NEWS:3518 -msgid ":issue:`46400`: expat: Update libexpat from 2.4.1 to 2.4.4" -msgstr "" - -#: ../build/NEWS:3520 -msgid "" -":issue:`46556`: Deprecate undocumented support for using a :class:`pathlib." -"Path` object as a context manager." -msgstr "" - -#: ../build/NEWS:3523 -msgid "" -":issue:`46534`: Implement :pep:`673` :class:`typing.Self`. Patch by James " -"Hilton-Balfe." -msgstr "" - -#: ../build/NEWS:3526 -msgid "" -":issue:`46522`: Make various module ``__getattr__`` AttributeErrors more " -"closely match a typical AttributeError" -msgstr "" - -#: ../build/NEWS:3529 -msgid "" -":issue:`46475`: Add :data:`typing.Never` and :func:`typing.assert_never`. " -"Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:3532 -msgid "" -":issue:`46333`: The :meth:`__eq__` and :meth:`__hash__` methods of :class:" -"`typing.ForwardRef` now honor the ``module`` parameter of :class:`typing." -"ForwardRef`. Forward references from different modules are now " -"differentiated." -msgstr "" - -#: ../build/NEWS:3537 -msgid "" -":issue:`46246`: Add missing ``__slots__`` to ``importlib.metadata." -"DeprecatedList``. Patch by Arie Bovenberg." -msgstr "" - -#: ../build/NEWS:3540 -msgid "" -":issue:`46232`: The :mod:`ssl` module now handles certificates with bit " -"strings in DN correctly." -msgstr "" - -#: ../build/NEWS:3543 -msgid "" -":issue:`46195`: :func:`typing.get_type_hints` no longer adds ``Optional`` to " -"parameters with ``None`` as a default. This aligns to changes to PEP 484 in " -"https://github.com/python/peps/pull/689" -msgstr "" - -#: ../build/NEWS:3547 -msgid "" -":issue:`31369`: Add :class:`~re.RegexFlag` to ``re.__all__`` and documented " -"it. Add :data:`~re.RegexFlag.NOFLAG` to indicate no flags being set." -msgstr "" - -#: ../build/NEWS:3550 -msgid "" -":issue:`45898`: :mod:`ctypes` no longer defines ``ffi_type_*`` symbols in " -"``cfield.c``. The symbols have been provided by libffi for over a decade." -msgstr "" - -#: ../build/NEWS:3553 -msgid "" -":issue:`44953`: Calling ``operator.itemgetter`` objects and ``operator." -"attrgetter`` objects is now faster due to use of the vectorcall calling " -"convention." -msgstr "" - -#: ../build/NEWS:3557 -msgid "" -":issue:`44289`: Fix an issue with :meth:`~tarfile.is_tarfile` method when " -"using *fileobj* argument: position in the *fileobj* was advanced forward " -"which made it unreadable with :meth:`tarfile.TarFile.open`." -msgstr "" - -#: ../build/NEWS:3561 -msgid "" -":issue:`44011`: Reimplement SSL/TLS support in asyncio, borrow the " -"implementation from uvloop library." -msgstr "" - -#: ../build/NEWS:3564 -msgid "" -":issue:`41086`: Make the :class:`configparser.ConfigParser` constructor " -"raise :exc:`TypeError` if the ``interpolation`` parameter is not of type :" -"class:`configparser.Interpolation`" -msgstr "" - -#: ../build/NEWS:3568 -msgid "" -":issue:`29418`: Implement :func:`inspect.ismethodwrapper` and fix :func:" -"`inspect.isroutine` for cases where methodwrapper is given. Patch by Hakan " -"Çelik." -msgstr "" - -#: ../build/NEWS:3572 -msgid "" -":issue:`14156`: argparse.FileType now supports an argument of '-' in binary " -"mode, returning the .buffer attribute of sys.stdin/sys.stdout as " -"appropriate. Modes including 'x' and 'a' are treated equivalently to 'w' " -"when argument is '-'. Patch contributed by Josh Rosenberg" -msgstr "" - -#: ../build/NEWS:3580 -msgid "" -":issue:`42238`: ``Doc/tools/rstlint.py`` has moved to its own repository and " -"is now packaged on PyPI as ``sphinx-lint``." -msgstr "" - -#: ../build/NEWS:3586 -msgid "" -":issue:`46913`: Fix test_faulthandler.test_sigfpe() if Python is built with " -"undefined behavior sanitizer (UBSAN): disable UBSAN on the " -"faulthandler_sigfpe() function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3590 -msgid "" -":issue:`46760`: Remove bytecode offsets from expected values in test." -"test_dis module. Reduces the obstacles to modifying the VM or compiler." -msgstr "" - -#: ../build/NEWS:3593 -msgid "" -":issue:`46708`: Prevent default asyncio event loop policy modification " -"warning after ``test_asyncio`` execution." -msgstr "" - -#: ../build/NEWS:3596 -msgid "" -":issue:`46678`: The function ``make_legacy_pyc`` in ``Lib/test/support/" -"import_helper.py`` no longer fails when ``PYTHONPYCACHEPREFIX`` is set to a " -"directory on a different device from where tempfiles are stored." -msgstr "" - -#: ../build/NEWS:3601 -msgid "" -":issue:`46623`: Skip test_pair() and test_speech128() of test_zlib on s390x " -"since they fail if zlib uses the s390x hardware accelerator. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:3608 -msgid "" -":issue:`46860`: Respect `--with-suffix` when building on case-insensitive " -"file systems." -msgstr "" - -#: ../build/NEWS:3611 -msgid "" -":issue:`46656`: Building Python now requires a C11 compiler. Optional C11 " -"features are not required. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3614 -msgid "" -":issue:`46656`: Building Python now requires support for floating point Not-" -"a-Number (NaN): remove the ``Py_NO_NAN`` macro. Patch by by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3618 -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 "" - -#: ../build/NEWS:3622 -msgid "" -":issue:`46608`: Exclude marshalled-frozen data if deep-freezing to save 300 " -"KB disk space. This includes adding a new ``is_package`` field to :c:struct:" -"`_frozen`. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3626 -msgid "" -":issue:`40280`: Fix wasm32-emscripten test failures and platform issues. - " -"Disable syscalls that are not supported or don't work, e.g. wait, " -"getrusage, prlimit, mkfifo, mknod, setres[gu]id, setgroups. - Use fd_count " -"to cound open fds. - Add more checks for subprocess and fork. - Add " -"workarounds for missing _multiprocessing and failing socket.accept(). - " -"Enable bzip2. - Disable large file support. - Disable signal.alarm." -msgstr "" - -#: ../build/NEWS:3633 -msgid "" -":issue:`46430`: Intern strings in deep-frozen modules. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3638 -msgid "" -":issue:`46744`: The default all users install directory for ARM64 is now " -"under the native ``Program Files`` folder, rather than ``Program Files " -"(Arm)`` which is intended for ARM (32-bit) files." -msgstr "" - -#: ../build/NEWS:3642 -msgid "" -":issue:`46567`: Adds Tcl and Tk support for Windows ARM64. This also adds " -"IDLE to the installation." -msgstr "" - -#: ../build/NEWS:3645 -msgid "" -":issue:`46638`: Ensures registry virtualization is consistently disabled. " -"For 3.10 and earlier, it remains enabled (some registry writes are " -"protected), while for 3.11 and later it is disabled (registry modifications " -"affect all applications)." -msgstr "" - -#: ../build/NEWS:3653 -msgid "" -":issue:`46630`: Make query dialogs on Windows start with a cursor in the " -"entry box." -msgstr "" - -#: ../build/NEWS:3656 -msgid "" -":issue:`45447`: Apply IDLE syntax highlighting to `.pyi` files. Patch by " -"Alex Waygood and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:3662 -msgid "" -":issue:`46748`: Python's public headers no longer import ````, " -"leaving code that embedd/extends Python free to define ``bool``, ``true`` " -"and ``false``." -msgstr "" - -#: ../build/NEWS:3666 -msgid "" -":issue:`46836`: Move the :c:type:`PyFrameObject` type definition (``struct " -"_frame``) to the internal C API ``pycore_frame.h`` header file. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:3670 -msgid "" -":issue:`45459`: Rename ``Include/buffer.h`` header file to ``Include/" -"pybuffer.h`` to avoid conflits with projects having an existing ``buffer.h`` " -"header file. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3674 -msgid "" -":issue:`45412`: Remove the ``HAVE_PY_SET_53BIT_PRECISION`` macro (moved to " -"the internal C API). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3677 -msgid "" -":issue:`46613`: Added function :c:func:`PyType_GetModuleByDef`, which allows " -"accesss to module state when a method's defining class is not available." -msgstr "" - -#: ../build/NEWS:3682 -msgid "Python 3.11.0 alpha 5" -msgstr "" - -#: ../build/NEWS:3684 -msgid "*Release date: 2022-02-03*" -msgstr "" - -#: ../build/NEWS:3689 -msgid "" -":issue:`45773`: Remove two invalid \"peephole\" optimizations from the " -"bytecode compiler." -msgstr "" - -#: ../build/NEWS:3692 -msgid "" -":issue:`46564`: Do not create frame objects when creating :class:`super` " -"object. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3695 -msgid "" -":issue:`45885`: Added more fined-grained specialization failure stats " -"regarding the ``COMPARE_OP`` bytecode." -msgstr "" - -#: ../build/NEWS:3698 -msgid "" -":issue:`44977`: The delegation of :func:`int` to :meth:`__trunc__` is now " -"deprecated. Calling ``int(a)`` when ``type(a)`` implements :meth:`__trunc__` " -"but not :meth:`__int__` or :meth:`__index__` now raises a :exc:" -"`DeprecationWarning`." -msgstr "" - -#: ../build/NEWS:3703 -msgid "" -":issue:`46458`: Reorder code emitted by the compiler for a :keyword:`try`-:" -"keyword:`except` block so that the :keyword:`else` block's code immediately " -"follows the :keyword:`try` body (without a jump). This is more optimal for " -"the happy path." -msgstr "" - -#: ../build/NEWS:3708 -msgid "" -":issue:`46527`: Allow passing ``iterable`` as a keyword argument to :func:" -"`enumerate` again. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:3711 -msgid "" -":issue:`46528`: Replace several stack manipulation instructions " -"(``DUP_TOP``, ``DUP_TOP_TWO``, ``ROT_TWO``, ``ROT_THREE``, ``ROT_FOUR``, and " -"``ROT_N``) with new :opcode:`COPY` and :opcode:`SWAP` instructions." -msgstr "" - -#: ../build/NEWS:3715 -msgid ":issue:`46329`: Use two or three bytecodes to implement most calls." -msgstr "" - -#: ../build/NEWS:3717 -msgid "" -"Calls without named arguments are implemented as a sequence of two " -"instructions: ``PRECALL; CALL``. Calls with named arguments are implemented " -"as a sequence of three instructions: ``PRECALL; KW_NAMES; CALL``. There are " -"two different ``PRECALL`` instructions: ``PRECALL_FUNTION`` and " -"``PRECALL_METHOD``. The latter pairs with ``LOAD_METHOD``." -msgstr "" - -#: ../build/NEWS:3724 -msgid "" -"This partition into pre-call and call allows better specialization, and thus " -"better performance ultimately." -msgstr "" - -#: ../build/NEWS:3729 -msgid "" -":issue:`46503`: Fix an assert when parsing some invalid \\N escape sequences " -"in f-strings." -msgstr "" - -#: ../build/NEWS:3732 -msgid "" -":issue:`46431`: Improve error message on invalid calls to :meth:" -"`BaseExceptionGroup.__new__`." -msgstr "" - -#: ../build/NEWS:3735 -msgid "" -":issue:`46476`: Fix memory leak in code objects generated by deepfreeze. " -"Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3738 -msgid "" -":issue:`46481`: Speed up calls to :meth:`weakref.ref.__call__` by using the :" -"pep:`590` ``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:3741 -msgid "" -":issue:`46417`: Fix a race condition on setting a type ``__bases__`` " -"attribute: the internal function ``add_subclass()`` now gets the " -"``PyTypeObject.tp_subclasses`` member after calling :c:func:" -"`PyWeakref_NewRef` which can trigger a garbage collection which can " -"indirectly modify ``PyTypeObject.tp_subclasses``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3748 -msgid "" -":issue:`46417`: ``python -X showrefcount`` now shows the total reference " -"count after clearing and destroyed the main Python interpreter. Previously, " -"it was shown before. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3752 -msgid "" -":issue:`43683`: Add ASYNC_GEN_WRAP opcode to wrap the value to be yielded in " -"async generators. Removes the need to special case async generators in the " -"``YIELD_VALUE`` instruction." -msgstr "" - -#: ../build/NEWS:3756 -msgid "" -":issue:`46407`: Optimize some modulo operations in ``Objects/longobject.c``. " -"Patch by Jeremiah Vivian." -msgstr "" - -#: ../build/NEWS:3759 -msgid "" -":issue:`46409`: Add new ``RETURN_GENERATOR`` bytecode to make generators. " -"Simplifies calling Python functions in the VM, as they no longer any need to " -"special case generator functions." -msgstr "" - -#: ../build/NEWS:3763 -msgid "" -"Also add ``JUMP_NO_INTERRUPT`` bytecode that acts like ``JUMP_ABSOLUTE``, " -"but does not check for interrupts." -msgstr "" - -#: ../build/NEWS:3766 -msgid "" -":issue:`46406`: The integer division ``//`` implementation has been " -"optimized to better let the compiler understand its constraints. It can be " -"20% faster on the amd64 platform when dividing an int by a value smaller " -"than ``2**30``." -msgstr "" - -#: ../build/NEWS:3771 -msgid "" -":issue:`46383`: Fix invalid signature of ``_zoneinfo``'s ``module_free`` " -"function to resolve a crash on wasm32-emscripten platform." -msgstr "" - -#: ../build/NEWS:3774 -msgid "" -":issue:`46361`: Ensure that \"small\" integers created by :meth:`int." -"from_bytes` and :class:`decimal.Decimal` are properly cached." -msgstr "" - -#: ../build/NEWS:3777 -msgid "" -":issue:`46161`: Fix the class building error when the arguments are " -"constants and CALL_FUNCTION_EX is used." -msgstr "" - -#: ../build/NEWS:3780 -msgid "" -":issue:`46028`: Fixes calculation of :data:`sys._base_executable` when " -"inside a virtual environment that uses symlinks with different binary names " -"than the base environment provides." -msgstr "" - -#: ../build/NEWS:3784 -msgid "" -":issue:`46091`: Correctly calculate indentation levels for lines with " -"whitespace character that are ended by line continuation characters. Patch " -"by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:3788 -msgid ":issue:`30512`: Add CAN Socket support for NetBSD." -msgstr "" - -#: ../build/NEWS:3792 -msgid "" -":issue:`44024`: Improve the exc:`TypeError` message for non-string second " -"arguments passed to the built-in functions :func:`getattr` and :func:" -"`hasattr`. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:3799 -msgid "" -":issue:`46624`: Restore support for non-integer arguments of :func:`random." -"randrange` and :func:`random.randint`." -msgstr "" - -#: ../build/NEWS:3802 -msgid "" -":issue:`46591`: Make the IDLE doc URL on the About IDLE dialog clickable." -msgstr "" - -#: ../build/NEWS:3804 -msgid "" -":issue:`46565`: Remove loop variables that are leaking into modules' " -"namespaces." -msgstr "" - -#: ../build/NEWS:3807 -msgid "" -":issue:`46553`: In :func:`typing.get_type_hints`, support evaluating bare " -"stringified ``ClassVar`` annotations. Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3810 -msgid "" -":issue:`46544`: Don't leak ``x`` & ``uspace`` intermediate vars in :class:" -"`textwrap.TextWrapper`." -msgstr "" - -#: ../build/NEWS:3813 -msgid "" -":issue:`46487`: Add the ``get_write_buffer_limits`` method to :class:" -"`asyncio.transports.WriteTransport` and to the SSL transport." -msgstr "" - -#: ../build/NEWS:3816 -msgid "" -":issue:`45173`: Note the configparser deprecations will be removed in Python " -"3.12." -msgstr "" - -#: ../build/NEWS:3819 -msgid "" -":issue:`45162`: The deprecated :mod:`unittest` APIs removed in 3.11a1 have " -"been temporarily restored to be removed in 3.12 while cleanups in external " -"projects go in." -msgstr "" - -#: ../build/NEWS:3823 -msgid "" -":issue:`46539`: In :func:`typing.get_type_hints`, support evaluating " -"stringified ``ClassVar`` and ``Final`` annotations inside ``Annotated``. " -"Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3827 -msgid "" -":issue:`46510`: Add missing test for :class:`types.TracebackType` and :class:" -"`types.FrameType`. Calculate them directly from the caught exception without " -"calling :func:`sys.exc_info`." -msgstr "" - -#: ../build/NEWS:3831 -msgid "" -":issue:`46491`: Allow :data:`typing.Annotated` to wrap :data:`typing.Final` " -"and :data:`typing.ClassVar`. Patch by Gregory Beauregard." -msgstr "" - -#: ../build/NEWS:3834 -msgid "" -":issue:`46483`: Remove :meth:`~object.__class_getitem__` from :class:" -"`pathlib.PurePath` as this class was not supposed to be generic." -msgstr "" - -#: ../build/NEWS:3837 -msgid "" -":issue:`46436`: Fix command-line option ``-d``/``--directory`` in module :" -"mod:`http.server` which is ignored when combined with command-line option " -"``--cgi``. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:3841 -msgid "" -":issue:`41403`: Make :meth:`mock.patch` raise a :exc:`TypeError` with a " -"relevant error message on invalid arg. Previously it allowed a cryptic :exc:" -"`AttributeError` to escape." -msgstr "" - -#: ../build/NEWS:3845 -msgid "" -":issue:`46474`: In ``importlib.metadata.EntryPoint.pattern``, avoid " -"potential REDoS by limiting ambiguity in consecutive whitespace." -msgstr "" - -#: ../build/NEWS:3848 -msgid "" -":issue:`46474`: Removed private method from ``importlib.metadata.Path``. " -"Sync with importlib_metadata 4.10.0." -msgstr "" - -#: ../build/NEWS:3851 -msgid "" -":issue:`46470`: Remove unused branch from ``typing._remove_dups_flatten``" -msgstr "" - -#: ../build/NEWS:3853 -msgid "" -":issue:`46469`: :mod:`asyncio` generic classes now return :class:`types." -"GenericAlias` in ``__class_getitem__`` instead of the same class." -msgstr "" - -#: ../build/NEWS:3857 -msgid "" -":issue:`41906`: Support passing filter instances in the ``filters`` values " -"of ``handlers`` and ``loggers`` in the dictionary passed to :func:`logging." -"config.dictConfig`." -msgstr "" - -#: ../build/NEWS:3861 -msgid "" -":issue:`46422`: Use ``dis.Positions`` in ``dis.Instruction`` instead of a " -"regular ``tuple``." -msgstr "" - -#: ../build/NEWS:3864 -msgid "" -":issue:`46434`: :mod:`pdb` now gracefully handles ``help`` when :attr:" -"`__doc__` is missing, for example when run with pregenerated optimized ``." -"pyc`` files." -msgstr "" - -#: ../build/NEWS:3868 -msgid "" -":issue:`43869`: Python uses the same time Epoch on all platforms. Add an " -"explicit unit test to ensure that it's the case. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3871 -msgid "" -":issue:`46414`: Add :func:`typing.reveal_type`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:3873 -msgid "" -":issue:`40280`: :mod:`subprocess` now imports Windows-specific imports when " -"``msvcrt`` module is available, and POSIX-specific imports on all other " -"platforms. This gives a clean exception when ``_posixsubprocess`` is not " -"available (e.g. Emscripten browser target)." -msgstr "" - -#: ../build/NEWS:3878 -msgid "" -":issue:`40066`: ``IntEnum``, ``IntFlag``, and ``StrEnum`` use the mixed-in " -"type for their ``str()`` and ``format()`` output." -msgstr "" - -#: ../build/NEWS:3881 -msgid "" -":issue:`46316`: Optimize :meth:`pathlib.Path.iterdir` by removing an " -"unnecessary check for special entries." -msgstr "" - -#: ../build/NEWS:3884 -msgid "" -":issue:`29688`: Document :meth:`pathlib.Path.absolute` (which has always " -"existed)." -msgstr "" - -#: ../build/NEWS:3887 -msgid "" -":issue:`43012`: The pathlib module's obsolete and internal ``_Accessor`` " -"class has been removed to prepare the terrain for upcoming enhancements to " -"the module." -msgstr "" - -#: ../build/NEWS:3891 -msgid "" -":issue:`46258`: Speed up :func:`math.isqrt` for small positive integers by " -"replacing two division steps with a lookup table." -msgstr "" - -#: ../build/NEWS:3894 -msgid "" -":issue:`46242`: Improve error message when creating a new :class:`enum.Enum` " -"type subclassing an existing ``Enum`` with ``_member_names_`` using :meth:" -"`enum.Enum.__call__`." -msgstr "" - -#: ../build/NEWS:3898 -msgid "" -":issue:`43118`: Fix a bug in :func:`inspect.signature` that was causing it " -"to fail on some subclasses of classes with a ``__text_signature__`` " -"referencing module globals. Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:3902 -msgid "" -":issue:`26552`: Fixed case where failing :func:`asyncio.ensure_future` did " -"not close the coroutine. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:3905 -msgid "" -":issue:`21987`: Fix an issue with :meth:`tarfile.TarFile.getmember` getting " -"a directory name with a trailing slash." -msgstr "" - -#: ../build/NEWS:3908 -msgid "" -":issue:`46124`: Update :mod:`zoneinfo` to rely on importlib.resources " -"traversable API." -msgstr "" - -#: ../build/NEWS:3911 -msgid "" -":issue:`46103`: Now :func:`inspect.getmembers` only gets :attr:`__bases__` " -"attribute from class type. Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:3914 -msgid "" -":issue:`46080`: Fix exception in argparse help text generation if a :class:" -"`argparse.BooleanOptionalAction` argument's default is ``argparse.SUPPRESS`` " -"and it has ``help`` specified. Patch by Felix Fontein." -msgstr "" - -#: ../build/NEWS:3919 -msgid "" -":issue:`44791`: Fix substitution of :class:`~typing.ParamSpec` in :data:" -"`~typing.Concatenate` with different parameter expressions. Substitution " -"with a list of types returns now a tuple of types. Substitution with " -"``Concatenate`` returns now a ``Concatenate`` with concatenated lists of " -"arguments." -msgstr "" - -#: ../build/NEWS:3928 -msgid "" -":issue:`46463`: Fixes :file:`escape4chm.py` script used when building the " -"CHM documentation file" -msgstr "" - -#: ../build/NEWS:3934 -msgid "" -":issue:`43478`: Mocks can no longer be provided as the specs for other " -"Mocks. As a result, an already-mocked object cannot be passed to `mock." -"Mock()`. This can uncover bugs in tests since these Mock-derived Mocks will " -"always pass certain tests (e.g. isinstance) and builtin assert functions (e." -"g. assert_called_once_with) will unconditionally pass." -msgstr "" - -#: ../build/NEWS:3940 -msgid "" -":issue:`46616`: Ensures ``test_importlib.test_windows`` cleans up registry " -"keys after completion." -msgstr "" - -#: ../build/NEWS:3943 -msgid "" -":issue:`44359`: test_ftplib now silently ignores socket errors to prevent " -"logging unhandled threading exceptions. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3946 -msgid "" -":issue:`46600`: Fix test_gdb.test_pycfunction() for Python built with " -"``clang -Og``. Tolerate inlined functions in the gdb traceback. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:3950 -msgid "" -":issue:`46542`: Fix a Python crash in test_lib2to3 when using Python built " -"in debug mode: limit the recursion limit. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3953 -msgid "" -":issue:`46576`: test_peg_generator now disables compiler optimization when " -"testing compilation of its own C extensions to significantly speed up the " -"testing on non-debug builds of CPython." -msgstr "" - -#: ../build/NEWS:3957 -msgid "" -":issue:`46542`: Fix ``test_json`` tests checking for :exc:`RecursionError`: " -"modify these tests to use ``support.infinite_recursion()``. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:3961 -msgid "" -":issue:`13886`: Skip test_builtin PTY tests on non-ASCII characters if the " -"readline module is loaded. The readline module changes input() behavior, but " -"test_builtin is not intented to test the readline module. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:3966 -msgid "" -":issue:`40280`: Add :func:`test.support.requires_fork` decorators to mark " -"tests that require a working :func:`os.fork`." -msgstr "" - -#: ../build/NEWS:3969 -msgid "" -":issue:`40280`: Add :func:`test.support.requires_subprocess` decorator to " -"mark tests which require working :mod:`subprocess` module or ``os.spawn*``. " -"The wasm32-emscripten platform has no support for processes." -msgstr "" - -#: ../build/NEWS:3973 -msgid ":issue:`46126`: Disable 'descriptions' when running tests internally." -msgstr "" - -#: ../build/NEWS:3978 -msgid "" -":issue:`46602`: Tidied up configure.ac so that conftest.c is truncated " -"rather than appended. This assists in the case where the 'rm' of conftest.c " -"fails to happen between tests. Downstream issues such as a clobbered SOABI " -"can result." -msgstr "" - -#: ../build/NEWS:3983 -msgid "" -":issue:`46600`: Fix the test checking if the C compiler supports ``-Og`` " -"option in the ``./configure`` script to also use ``-Og`` on clang which " -"supports it. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:3987 -msgid "" -":issue:`38472`: Fix GCC detection in setup.py when cross-compiling. The C " -"compiler is now run with LC_ALL=C. Previously, the detection failed with a " -"German locale." -msgstr "" - -#: ../build/NEWS:3991 -msgid "" -":issue:`46513`: :program:`configure` no longer uses ``AC_C_CHAR_UNSIGNED`` " -"macro and ``pyconfig.h`` no longer defines reserved symbol " -"``__CHAR_UNSIGNED__``." -msgstr "" - -#: ../build/NEWS:3995 -msgid "" -":issue:`46471`: Use global singletons for single byte bytes objects in " -"deepfreeze." -msgstr "" - -#: ../build/NEWS:3998 -msgid "" -":issue:`46443`: Deepfreeze now uses cached small integers as it saves some " -"space for common small integers." -msgstr "" - -#: ../build/NEWS:4001 -msgid "" -":issue:`46429`: Merge all deep-frozen files into one for space savings. " -"Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4004 -msgid "" -":issue:`45569`: The build now defaults to using 30-bit digits for Python " -"integers. Previously either 15-bit or 30-bit digits would be selected, " -"depending on the platform. 15-bit digits may still be selected using the ``--" -"enable-big-digits=15`` option to the ``configure`` script, or by defining " -"``PYLONG_BITS_IN_DIGIT`` in ``pyconfig.h``." -msgstr "" - -#: ../build/NEWS:4010 -msgid ":issue:`45925`: Update Windows installer to use SQLite 3.37.2." -msgstr "" - -#: ../build/NEWS:4012 -msgid "" -":issue:`43112`: Detect musl libc as a separate SOABI (tagged as ``linux-" -"musl``)." -msgstr "" - -#: ../build/NEWS:4018 -msgid "" -":issue:`33125`: The traditional EXE/MSI based installer for Windows is now " -"available for ARM64" -msgstr "" - -#: ../build/NEWS:4021 -msgid "" -":issue:`46362`: os.path.abspath(\"C:\\CON\") is now fixed to return \"\\\\." -"\\CON\", not the same path. The regression was true of all legacy DOS " -"devices such as COM1, LPT1, or NUL." -msgstr "" - -#: ../build/NEWS:4025 -msgid "" -":issue:`44934`: The installer now offers a command-line only option to add " -"the installation directory to the end of :envvar:`PATH` instead of at the " -"start." -msgstr "" - -#: ../build/NEWS:4032 -msgid ":issue:`45925`: Update macOS installer to SQLite 3.37.2." -msgstr "" - -#: ../build/NEWS:4037 -msgid "" -":issue:`45296`: Clarify close, quit, and exit in IDLE. In the File menu, " -"'Close' and 'Exit' are now 'Close Window' (the current one) and 'Exit' is " -"now 'Exit IDLE' (by closing all windows). In Shell, 'quit()' and 'exit()' " -"mean 'close Shell'. If there are no other windows, this also exits IDLE." -msgstr "" - -#: ../build/NEWS:4045 -msgid "" -":issue:`40170`: Remove the ``PyHeapType_GET_MEMBERS()`` macro. It was " -"exposed in the public C API by mistake, it must only be used by Python " -"internally. Use the ``PyTypeObject.tp_members`` member instead. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:4050 -msgid "" -":issue:`40170`: Move _Py_GetAllocatedBlocks() and " -"_PyObject_DebugMallocStats() private functions to the internal C API. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4053 -msgid "" -":issue:`46433`: The internal function _PyType_GetModuleByDef now correctly " -"handles inheritance patterns involving static types." -msgstr "" - -#: ../build/NEWS:4056 -msgid "" -":issue:`45459`: :c:type:`Py_buffer` and various ``Py_buffer`` related " -"functions are now part of the limited API and stable ABI." -msgstr "" - -#: ../build/NEWS:4059 -msgid "" -":issue:`14916`: Fixed bug in the tokenizer that prevented " -"``PyRun_InteractiveOne`` from parsing from the provided FD." -msgstr "" - -#: ../build/NEWS:4064 -msgid "Python 3.11.0 alpha 4" -msgstr "" - -#: ../build/NEWS:4066 -msgid "*Release date: 2022-01-13*" -msgstr "" - -#: ../build/NEWS:4071 -msgid "" -":issue:`46070`: :c:func:`Py_EndInterpreter` now explicitly untracks all " -"objects currently tracked by the GC. Previously, if an object was used later " -"by another interpreter, calling :c:func:`PyObject_GC_UnTrack` on the object " -"crashed if the previous or the next object of the :c:type:`PyGC_Head` " -"structure became a dangling pointer. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4077 -msgid ":issue:`46347`: Fix memory leak in PyEval_EvalCodeEx." -msgstr "" - -#: ../build/NEWS:4079 -msgid "" -":issue:`46339`: Fix a crash in the parser when retrieving the error text for " -"multi-line f-strings expressions that do not start in the first line of the " -"string. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4083 -msgid "" -":issue:`46331`: Do not set line number of instruction storing doc-string. " -"Fixes regression introduced in 3.11 alpha." -msgstr "" - -#: ../build/NEWS:4086 -msgid "" -":issue:`46314`: Remove spurious \"call\" event when creating a lambda " -"function that was accidentally introduced in 3.11a4." -msgstr "" - -#: ../build/NEWS:4089 -msgid "" -":issue:`46289`: ASDL declaration of ``FormattedValue`` has changed to " -"reflect ``conversion`` field is not optional." -msgstr "" - -#: ../build/NEWS:4092 -msgid "" -":issue:`46297`: Fixed an interpreter crash on bootup with multiple " -"PythonPaths set in the Windows registry. Patch by Derzsi Dániel." -msgstr "" - -#: ../build/NEWS:4095 -msgid "" -":issue:`46237`: Fix the line number of tokenizer errors inside f-strings. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4098 -msgid "" -":issue:`46263`: We always expect the \"use_frozen_modules\" config to be " -"set, now that getpath.c was rewritten in pure Python and the logic improved." -msgstr "" - -#: ../build/NEWS:4101 -msgid "" -":issue:`46006`: Fix a regression when a type method like ``__init__()`` is " -"modified in a subinterpreter. Fix a regression in " -"``_PyUnicode_EqualToASCIIId()`` and type ``update_slot()``. Revert the " -"change which made the Unicode dictionary of interned strings compatible with " -"subinterpreters: the internal interned dictionary is shared again by all " -"interpreters. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4108 -msgid "" -":issue:`45923`: Add RESUME opcode. This is a logical no-op. It is emitted by " -"the compiler anywhere a Python function can be entered. It is used by the " -"interpreter to perform tracing and optimizer checks." -msgstr "" - -#: ../build/NEWS:4112 -msgid "" -":issue:`46208`: Fix the regression of os.path.normpath(\"A/../../B\") not " -"returning expected \"../B\" but \"B\"." -msgstr "" - -#: ../build/NEWS:4115 -msgid "" -":issue:`46240`: Correct the error message for unclosed parentheses when the " -"tokenizer doesn't reach the end of the source when the error is reported. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4119 -msgid ":issue:`46009`: Remove the ``GEN_START`` opcode." -msgstr "" - -#: ../build/NEWS:4121 -msgid "" -":issue:`46235`: Certain sequence multiplication operations like ``[0] * " -"1_000`` are now faster due to reference-counting optimizations. Patch by " -"Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:4125 -msgid "" -":issue:`46221`: :opcode:`PREP_RERAISE_STAR` no longer pushes ``lasti`` to " -"the stack." -msgstr "" - -#: ../build/NEWS:4128 -msgid "" -":issue:`46202`: Remove :opcode:`POP_EXCEPT_AND_RERAISE` and replace it by an " -"equivalent sequence of other opcodes." -msgstr "" - -#: ../build/NEWS:4131 -msgid ":issue:`46085`: Fix iterator cache mechanism of :class:`OrderedDict`." -msgstr "" - -#: ../build/NEWS:4133 -msgid "" -":issue:`46055`: Speed up shifting operation involving integers less than :c:" -"macro:`PyLong_BASE`. Patch by Xinhang Xu." -msgstr "" - -#: ../build/NEWS:4136 -msgid "" -":issue:`46110`: Add a maximum recursion check to the PEG parser to avoid " -"stack overflow. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4139 -msgid "" -":issue:`46107`: Fix bug where :meth:`ExceptionGroup.split` and :meth:" -"`ExceptionGroup.subgroup` did not copy the exception group's ``__note__`` " -"field to the parts." -msgstr "" - -#: ../build/NEWS:4143 -msgid "" -":issue:`45711`: The interpreter state's representation of handled exceptions " -"(a.k.a exc_info, or _PyErr_StackItem) now has only the ``exc_value`` field, " -"``exc_type`` and ``exc_traceback`` have been removed as their values can be " -"derived from ``exc_value``." -msgstr "" - -#: ../build/NEWS:4148 -msgid "" -":issue:`44525`: Replace the four call bytecode instructions which one pre-" -"call instruction and two call instructions." -msgstr "" - -#: ../build/NEWS:4151 -msgid "" -"Removes ``CALL_FUNCTION``, ``CALL_FUNCTION_KW``, ``CALL_METHOD`` and " -"``CALL_METHOD_KW``." -msgstr "" - -#: ../build/NEWS:4154 -msgid "" -"Adds ``CALL_NO_KW`` and ``CALL_KW`` call instructions, and " -"``PRECALL_METHOD`` prefix for pairing with ``LOAD_METHOD``." -msgstr "" - -#: ../build/NEWS:4157 -msgid "" -":issue:`46039`: Remove the ``YIELD_FROM`` instruction and replace it with " -"the ``SEND`` instruction which performs the same operation, but without the " -"loop." -msgstr "" - -#: ../build/NEWS:4161 -msgid "" -":issue:`45635`: The code called from :c:func:`_PyErr_Display` was refactored " -"to improve error handling. It now exits immediately upon an unrecoverable " -"error." -msgstr "" - -#: ../build/NEWS:4165 -msgid "" -":issue:`46054`: Fix parser error when parsing non-utf8 characters in source " -"files. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4168 -msgid "" -":issue:`46042`: Improve the location of the caret in :exc:`SyntaxError` " -"exceptions emitted by the symbol table. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4171 -msgid "" -":issue:`46049`: Ensure :file:`._pth` files work as intended on platforms " -"other than Windows." -msgstr "" - -#: ../build/NEWS:4174 -msgid "" -":issue:`46048`: Fixes parsing of :file:`._pth` files on startup so that " -"single-character paths are correctly read." -msgstr "" - -#: ../build/NEWS:4177 -msgid "" -":issue:`37971`: Fix a bug where the line numbers given in a traceback when a " -"decorator application raised an exception were wrong." -msgstr "" - -#: ../build/NEWS:4180 -msgid "" -":issue:`46031`: Add :opcode:`POP_JUMP_IF_NOT_NONE` and :opcode:" -"`POP_JUMP_IF_NONE` opcodes to speed up conditional jumps." -msgstr "" - -#: ../build/NEWS:4183 -msgid ":issue:`45654`: Deepfreeze :mod:`runpy`, patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4185 -msgid "" -":issue:`46025`: Fix a crash in the :mod:`atexit` module involving functions " -"that unregister themselves before raising exceptions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4189 -msgid "" -":issue:`46000`: Improve compatibility of the :mod:`curses` module with " -"NetBSD curses." -msgstr "" - -#: ../build/NEWS:4192 -msgid "" -":issue:`44525`: Specialize the CALL_FUNCTION instruction for calls to " -"builtin types with a single argument. Speeds up ``range(x)``, ``list(x)``, " -"and specifically ``type(obj)``." -msgstr "" - -#: ../build/NEWS:4196 -msgid "" -":issue:`42918`: Fix bug where the built-in :func:`compile` function did not " -"always raise a :exc:`SyntaxError` when passed multiple statements in " -"'single' mode. Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:4200 -msgid "" -":issue:`45953`: The main interpreter in _PyRuntimeState.interpreters is now " -"statically allocated (as part of _PyRuntime). Likewise for the initial " -"thread state of each interpreter. This means less allocation during runtime " -"init, as well as better memory locality for these key state objects." -msgstr "" - -#: ../build/NEWS:4206 -msgid "" -":issue:`45292`: Complete the :pep:`654` implementation: add ``except*``." -msgstr "" - -#: ../build/NEWS:4208 -msgid "" -":issue:`43413`: Revert changes in ``set.__init__``. Subclass of :class:`set` " -"needs to define a ``__init__()`` method if it defines a ``__new__()`` method " -"with additional keyword parameters." -msgstr "" - -#: ../build/NEWS:4212 -msgid "" -":issue:`43931`: Added the :c:data:`Py_Version` constant which bears the same " -"value as :c:macro:`PY_VERSION_HEX`. Patch by Gabriele N. Tornetta." -msgstr "" - -#: ../build/NEWS:4218 -msgid "" -":issue:`46342`: The ``@typing.final`` decorator now sets the ``__final__`` " -"attribute on the decorated object to allow runtime introspection. Patch by " -"Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:4222 -msgid "" -":issue:`46328`: Added the :meth:`sys.exception` method which returns the " -"active exception instance." -msgstr "" - -#: ../build/NEWS:4225 -msgid "" -":issue:`46307`: Add :meth:`string.Template.is_valid` and :meth:`string." -"Template.get_identifiers` methods." -msgstr "" - -#: ../build/NEWS:4228 -msgid "" -":issue:`46306`: Assume that :class:`types.CodeType` always has :attr:`types." -"CodeType.co_firstlineno` in :mod:`doctest`." -msgstr "" - -#: ../build/NEWS:4231 -msgid "" -":issue:`40479`: Fix :mod:`hashlib` *usedforsecurity* option to work " -"correctly with OpenSSL 3.0.0 in FIPS mode." -msgstr "" - -#: ../build/NEWS:4234 -msgid "" -":issue:`46070`: Fix possible segfault when importing the :mod:`asyncio` " -"module from different sub-interpreters in parallel. Patch by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:4237 -msgid "" -":issue:`46244`: Removed ``__slots__`` from :class:`typing.ParamSpec` and :" -"class:`typing.TypeVar`. They served no purpose. Patch by Arie Bovenberg." -msgstr "" - -#: ../build/NEWS:4240 -msgid "" -":issue:`46278`: Reflect ``context`` argument in ``AbstractEventLoop." -"call_*()`` methods. Loop implementations already support it." -msgstr "" - -#: ../build/NEWS:4243 -msgid "" -":issue:`46269`: Remove special-casing of ``__new__`` in :meth:`enum.Enum." -"__dir__`." -msgstr "" - -#: ../build/NEWS:4246 -msgid ":issue:`46266`: Improve day constants in :mod:`calendar`." -msgstr "" - -#: ../build/NEWS:4248 -msgid "" -"Now all constants (`MONDAY` ... `SUNDAY`) are documented, tested, and added " -"to ``__all__``." -msgstr "" - -#: ../build/NEWS:4251 -msgid "" -":issue:`46257`: Optimized the mean, variance, and stdev functions in the " -"statistics module. If the input is an iterator, it is consumed in a single " -"pass rather than eating memory by conversion to a list. The single pass " -"algorithm is about twice as fast as the previous two pass code." -msgstr "" - -#: ../build/NEWS:4256 -msgid "" -":issue:`41011`: Added two new variables to *pyvenv.cfg* which is generated " -"by :mod:`venv` module: *executable* for the executable and *command* for the " -"command line used to create the environment." -msgstr "" - -#: ../build/NEWS:4260 -msgid "" -":issue:`46239`: Improve error message when importing :mod:`asyncio." -"windows_events` on non-Windows." -msgstr "" - -#: ../build/NEWS:4263 -msgid "" -":issue:`46238`: Reuse ``_winapi`` constants in ``asyncio.windows_events``." -msgstr "" - -#: ../build/NEWS:4265 -msgid "" -":issue:`46222`: Adding ``SF_NOCACHE`` sendfile constant for FreeBSD for the " -"posixmodule." -msgstr "" - -#: ../build/NEWS:4268 -msgid "" -":issue:`37295`: Add fast path for ``0 <= k <= n <= 67`` for :func:`math." -"comb`." -msgstr "" - -#: ../build/NEWS:4270 -msgid ":issue:`46176`: Adding the ``MAP_STACK`` constant for the mmap module." -msgstr "" - -#: ../build/NEWS:4272 -msgid "" -":issue:`43424`: Deprecate :attr:`webbrowser.MacOSXOSAScript._name` and use " -"``name`` instead." -msgstr "" - -#: ../build/NEWS:4275 -msgid "" -":issue:`45321`: Added missing error codes to module ``xml.parsers.expat." -"errors``." -msgstr "" - -#: ../build/NEWS:4278 -msgid "" -":issue:`46125`: Refactor tests to test traversable API directly. Includes " -"changes from importlib 5.4.0." -msgstr "" - -#: ../build/NEWS:4281 -msgid "" -":issue:`46118`: Moved importlib.resources and its related functionality to a " -"package." -msgstr "" - -#: ../build/NEWS:4284 -msgid "" -":issue:`37578`: Add *include_hidden* parameter to :func:`~glob.glob` and :" -"func:`~glob.iglob` to match hidden files and directories when using special " -"characters like ``*``, ``**``, ``?`` and ``[]``." -msgstr "" - -#: ../build/NEWS:4288 -msgid "" -":issue:`20369`: :func:`concurrent.futures.wait` no longer blocks forever " -"when given duplicate Futures. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4291 -msgid "" -":issue:`46105`: Honor spec when generating requirement specs with urls and " -"extras (importlib_metadata 4.8.3)." -msgstr "" - -#: ../build/NEWS:4294 -msgid "" -":issue:`44893`: EntryPoint objects are no longer tuples. Recommended means " -"to access is by attribute ('.name', '.group') or accessor ('.load()'). " -"Access by index is deprecated and will raise deprecation warning." -msgstr "" - -#: ../build/NEWS:4298 -msgid "" -":issue:`22815`: Print unexpected successes together with failures and errors " -"in summary in :class:`unittest.TextTestResult`." -msgstr "" - -#: ../build/NEWS:4301 -msgid "" -":issue:`22047`: Calling :meth:`add_argument_group` on an argument group is " -"deprecated. Calling :meth:`add_argument_group` or :meth:" -"`add_mutually_exclusive_group` on a mutually exclusive group is deprecated." -msgstr "" - -#: ../build/NEWS:4306 -msgid "" -"These features were never supported and do not always work correctly. The " -"functions exist on the API by accident through inheritance and will be " -"removed in the future." -msgstr "" - -#: ../build/NEWS:4310 -msgid "" -":issue:`26952`: :mod:`argparse` raises :exc:`ValueError` with clear message " -"when trying to render usage for an empty mutually exclusive group. " -"Previously it raised a cryptic :exc:`IndexError`." -msgstr "" - -#: ../build/NEWS:4314 -msgid "" -":issue:`45615`: Functions in the :mod:`traceback` module raise :exc:" -"`TypeError` rather than :exc:`AttributeError` when an exception argument is " -"not of type :exc:`BaseException`." -msgstr "" - -#: ../build/NEWS:4318 -msgid ":issue:`16594`: Add allow allow_reuse_port flag in socketserver." -msgstr "" - -#: ../build/NEWS:4320 -msgid "" -":issue:`27718`: Fix help for the :mod:`signal` module. Some functions (e.g. " -"``signal()`` and ``getsignal()``) were omitted." -msgstr "" - -#: ../build/NEWS:4323 -msgid "" -":issue:`46032`: The ``registry()`` method of :func:`functools." -"singledispatch` functions checks now the first argument or the first " -"parameter annotation and raises a TypeError if it is not supported. " -"Previously unsupported \"types\" were ignored (e.g. ``typing.List[int]``) or " -"caused an error at calling time (e.g. ``list[int]``)." -msgstr "" - -#: ../build/NEWS:4329 -msgid "" -":issue:`46014`: Add ability to use ``typing.Union`` and ``types.UnionType`` " -"as dispatch argument to ``functools.singledispatch``. Patch provided by " -"Yurii Karabas." -msgstr "" - -#: ../build/NEWS:4333 -msgid "" -":issue:`27062`: Add :attr:`__all__` to :mod:`inspect`, patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4335 -msgid "" -":issue:`46018`: Ensure that :func:`math.expm1` does not raise on underflow." -msgstr "" - -#: ../build/NEWS:4337 -msgid "" -":issue:`46016`: Adding :attr:`F_DUP2FD` and :attr:`F_DUP2FD_CLOEXEC` " -"constants from FreeBSD into the fcntl module." -msgstr "" - -#: ../build/NEWS:4340 -msgid "" -":issue:`45755`: :mod:`typing` generic aliases now reveal the class " -"attributes of the original generic class when passed to ``dir()``. This was " -"the behavior up to Python 3.6, but was changed in 3.7-3.9." -msgstr "" - -#: ../build/NEWS:4344 -msgid "" -":issue:`45874`: The empty query string, consisting of no query arguments, is " -"now handled correctly in ``urllib.parse.parse_qsl``. This caused problems " -"before when strict parsing was enabled." -msgstr "" - -#: ../build/NEWS:4348 -msgid "" -":issue:`44674`: Change how dataclasses disallows mutable default values. It " -"used to use a list of known types (list, dict, set). Now it disallows " -"unhashable objects to be defaults. It's using unhashability as a proxy for " -"mutability. Patch by Eric V. Smith, idea by Raymond Hettinger." -msgstr "" - -#: ../build/NEWS:4353 -msgid "" -":issue:`23882`: Remove namespace package (PEP 420) support from unittest " -"discovery. It was introduced in Python 3.4 but has been broken since Python " -"3.7." -msgstr "" - -#: ../build/NEWS:4357 -msgid "" -":issue:`25066`: Added a :meth:`__repr__` method to :class:`multiprocessing." -"Event` objects, patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4360 -msgid "" -":issue:`45643`: Added :data:`signal.SIGSTKFLT` on platforms where this " -"signal is defined." -msgstr "" - -#: ../build/NEWS:4363 -msgid "" -":issue:`44092`: Fetch across rollback no longer raises :exc:`~sqlite3." -"InterfaceError`. Instead we leave it to the SQLite library to handle these " -"cases. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:4367 -msgid "" -":issue:`42413`: Replace ``concurrent.futures.TimeoutError`` and ``asyncio." -"TimeoutError`` with builtin :exc:`TimeoutError`, keep these names as " -"deprecated aliases." -msgstr "" - -#: ../build/NEWS:4374 -msgid ":issue:`46196`: Document method :meth:`cmd.Cmd.columnize`." -msgstr "" - -#: ../build/NEWS:4376 -msgid "" -":issue:`46120`: State that ``|`` is preferred for readability over ``Union`` " -"in the :mod:`typing` docs." -msgstr "" - -#: ../build/NEWS:4379 -msgid "" -":issue:`46109`: Extracted ``importlib.resources`` and ``importlib.resources." -"abc`` documentation into separate files." -msgstr "" - -#: ../build/NEWS:4382 -msgid "" -":issue:`19737`: Update the documentation for the :func:`globals` function." -msgstr "" - -#: ../build/NEWS:4387 -msgid "" -":issue:`46296`: Add a test case for :mod:`enum` with ``_use_args_ == True`` " -"and ``_member_type_ == object``." -msgstr "" - -#: ../build/NEWS:4390 -msgid ":issue:`46205`: Fix hang in runtest_mp due to race condition" -msgstr "" - -#: ../build/NEWS:4392 -msgid "" -":issue:`46263`: Fix test_capi on FreeBSD 14-dev: instruct jemalloc to not " -"fill freed memory with junk byte." -msgstr "" - -#: ../build/NEWS:4395 -msgid "" -":issue:`46262`: Cover ``ValueError`` path in tests for :meth:`enum.Flag." -"_missing_`." -msgstr "" - -#: ../build/NEWS:4398 -msgid "" -":issue:`46150`: Now ``fakename`` in ``test_pathlib.PosixPathTest." -"test_expanduser`` is checked to be non-existent." -msgstr "" - -#: ../build/NEWS:4402 -msgid "" -":issue:`46129`: Rewrite ``asyncio.locks`` tests with :class:`unittest." -"IsolatedAsyncioTestCase` usage." -msgstr "" - -#: ../build/NEWS:4405 -msgid "" -":issue:`23819`: Fixed :mod:`asyncio` tests in python optimized mode. Patch " -"by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4408 -msgid "" -":issue:`46114`: Fix test case for OpenSSL 3.0.1 version. OpenSSL 3.0 uses " -"``0xMNN00PP0L``." -msgstr "" - -#: ../build/NEWS:4414 -msgid "" -":issue:`44133`: When Python is configured with :option:`--without-static-" -"libpython`, the Python static library (libpython.a) is no longer built. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4418 -msgid "" -":issue:`44133`: When Python is built without :option:`--enable-shared`, the " -"``python`` program is now linked to object files, rather than being linked " -"to the Python static library (libpython.a), to make sure that all symbols " -"are exported. Previously, the linker omitted some symbols like the :c:func:" -"`Py_FrozenMain` function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4424 -msgid "" -":issue:`40280`: The ``configure`` script has a new option ``--with-" -"emscripten-target`` to select browser or node as Emscripten build target." -msgstr "" - -#: ../build/NEWS:4428 -msgid "" -":issue:`46315`: Added and fixed ``#ifdef HAVE_FEATURE`` checks for " -"functionality that is not available on WASI platform." -msgstr "" - -#: ../build/NEWS:4431 -msgid "" -":issue:`45723`: Fixed a regression in ``configure`` check for :func:`select." -"epoll`." -msgstr "" - -#: ../build/NEWS:4434 -msgid "" -":issue:`46263`: ``configure`` no longer sets ``MULTIARCH`` on FreeBSD " -"platforms." -msgstr "" - -#: ../build/NEWS:4437 -msgid "" -":issue:`46106`: Updated OpenSSL to 1.1.1m in Windows builds, macOS installer " -"builds, and CI. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4440 -msgid "" -":issue:`46088`: Automatically detect or install bootstrap Python runtime " -"when building from Visual Studio." -msgstr "" - -#: ../build/NEWS:4443 -msgid "" -":issue:`46072`: Add a --with-pystats configure option to turn on internal " -"statistics gathering." -msgstr "" - -#: ../build/NEWS:4446 -msgid "" -":issue:`40280`: A new directory ``Tools/wasm`` contains WebAssembly-related " -"helpers like ``config.site`` override for wasm32-emscripten, wasm assets " -"generator to bundle the stdlib, and a README." -msgstr "" - -#: ../build/NEWS:4450 -msgid "" -":issue:`46023`: :program:`makesetup` no longer builds extensions that have " -"been marked as *disabled*. This allows users to disable modules in ``Modules/" -"Setup.local``." -msgstr "" - -#: ../build/NEWS:4454 -msgid "" -":issue:`45949`: Use pure Python ``freeze_module`` for all but importlib " -"bootstrap files. ``--with-freeze-module`` :program:`configure` option is no " -"longer needed for cross builds." -msgstr "" - -#: ../build/NEWS:4461 -msgid "" -":issue:`46217`: Removed parameter that is unsupported on Windows 8.1 and " -"early Windows 10 and may have caused build or runtime failures." -msgstr "" - -#: ../build/NEWS:4467 -msgid "" -":issue:`40477`: The Python Launcher app for macOS now properly launches " -"scripts and, if necessary, the Terminal app when running on recent macOS " -"releases." -msgstr "" - -#: ../build/NEWS:4473 -msgid "" -":issue:`46236`: Fix a bug in :c:func:`PyFunction_GetAnnotations` that caused " -"it to return a ``tuple`` instead of a ``dict``." -msgstr "" - -#: ../build/NEWS:4476 -msgid "" -":issue:`46140`: :c:func:`PyBuffer_GetPointer`, :c:func:" -"`PyBuffer_FromContiguous`, :c:func:`PyBuffer_ToContiguous` and :c:func:" -"`PyMemoryView_FromBuffer` now take buffer info by ``const Py_buffer *`` " -"instead of ``Py_buffer *``, as they do not need mutability. :c:func:" -"`PyBuffer_FromContiguous` also now takes the source buffer as ``const void " -"*``, and similarly :c:func:`PyBuffer_GetPointer` takes the strides as " -"``const Py_ssize_t *``." -msgstr "" - -#: ../build/NEWS:4484 -msgid "" -":issue:`45855`: Document that the *no_block* argument to :c:func:" -"`PyCapsule_Import` is a no-op now." -msgstr "" - -#: ../build/NEWS:4487 -msgid "" -":issue:`45855`: Replaced deprecated usage of :c:func:" -"`PyImport_ImportModuleNoBlock` with :c:func:`PyImport_ImportModule` in " -"stdlib modules. Patch by Kumar Aditya." -msgstr "" - -#: ../build/NEWS:4491 -msgid "" -":issue:`46007`: The :c:func:`PyUnicode_CHECK_INTERNED` macro has been " -"excluded from the limited C API. It was never usable there, because it used " -"internal structures which are not available in the limited C API. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:4498 -msgid "Python 3.11.0 alpha 3" -msgstr "" - -#: ../build/NEWS:4500 -msgid "*Release date: 2021-12-08*" -msgstr "" - -#: ../build/NEWS:4505 -msgid "" -":issue:`46009`: Restore behavior from 3.9 and earlier when sending non-None " -"to newly started generator. In 3.9 this did not affect the state of the " -"generator. In 3.10.0 and 3.10.1 ``gen_func().send(0)`` is equivalent to " -"``gen_func().throw(TypeError(...)`` which exhausts the generator. In 3.10.2 " -"onward, the behavior has been reverted to that of 3.9." -msgstr "" - -#: ../build/NEWS:4511 -msgid "" -":issue:`46004`: Fix the :exc:`SyntaxError` location for errors involving for " -"loops with invalid targets. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4514 -msgid "" -":issue:`45711`: :c:func:`_PyErr_ChainStackItem` no longer normalizes " -"``exc_info`` (including setting the traceback on the exception instance) " -"because ``exc_info`` is always normalized." -msgstr "" - -#: ../build/NEWS:4518 -msgid "" -":issue:`45607`: The ``__note__`` field was added to :exc:`BaseException`. It " -"is ``None`` by default but can be set to a string which is added to the " -"exception's traceback." -msgstr "" - -#: ../build/NEWS:4522 -msgid "" -":issue:`45947`: Place pointers to dict and values immediately before GC " -"header. This reduces number of dependent memory loads to access either dict " -"or values from 3 to 1." -msgstr "" - -#: ../build/NEWS:4526 -msgid "" -":issue:`45915`: ``is_valid_fd`` now uses faster ``fcntl(fd, F_GETFD)`` on " -"Linux, macOS, and Windows." -msgstr "" - -#: ../build/NEWS:4529 -msgid "" -":issue:`44530`: Reverts a change to the ``code.__new__`` :ref:`audit event " -"` from an earlier prerelease." -msgstr "" - -#: ../build/NEWS:4532 -msgid "" -":issue:`42268`: Fail the configure step if the selected compiler doesn't " -"support memory sanitizer. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4535 -msgid "" -":issue:`45711`: The three values of ``exc_info`` are now always consistent " -"with each other. In particular, the ``type`` and ``traceback`` fields are " -"now derived from the exception instance. This impacts the return values of :" -"func:`sys.exc_info` and :c:func:`PyErr_GetExcInfo()` if the exception " -"instance is modified while the exception is handled, as well as :c:func:" -"`PyErr_SetExcInfo()`, which now ignores the ``type`` and ``traceback`` " -"arguments provided to it." -msgstr "" - -#: ../build/NEWS:4543 -msgid "" -":issue:`45727`: Refine the custom syntax error that suggests that a comma " -"may be missing to trigger only when the expressions are detected between " -"parentheses or brackets. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4547 -msgid "" -":issue:`45885`: Specialized the ``COMPARE_OP`` opcode using the PEP 659 " -"machinery." -msgstr "" - -#: ../build/NEWS:4550 -msgid "" -":issue:`45786`: Allocate space for the interpreter frame in the frame " -"object, to avoid an additional allocation when the frame object outlives the " -"frame activation." -msgstr "" - -#: ../build/NEWS:4554 -msgid "" -":issue:`45614`: Fix :mod:`traceback` display for exceptions with invalid " -"module name." -msgstr "" - -#: ../build/NEWS:4557 -msgid "" -":issue:`45813`: Fix crash when calling coro.cr_frame.clear() after coroutine " -"has been freed." -msgstr "" - -#: ../build/NEWS:4560 -msgid "" -":issue:`45811`: Improve the tokenizer errors when encountering invisible " -"control characters in the parser. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4563 -msgid "" -":issue:`45848`: Allow the parser to obtain error lines directly from encoded " -"files. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4566 -msgid "" -":issue:`45709`: Restore behavior from 3.10 when tracing an exception raised " -"within a with statement." -msgstr "" - -#: ../build/NEWS:4569 -msgid "" -":issue:`44525`: Adds new :opcode:`COPY_FREE_VARS` opcode, to make copying of " -"free variables from function to frame explicit. Helps optimization of calls " -"to Python function." -msgstr "" - -#: ../build/NEWS:4573 -msgid "" -":issue:`45829`: Specialize :opcode:`BINARY_SUBSCR` for classes with a " -"``__getitem__`` method implemented in Python" -msgstr "" - -#: ../build/NEWS:4576 -msgid "" -":issue:`45826`: Fixed a crash when calling ``.with_traceback(None)`` on " -"``NameError``. This occurs internally in ``unittest.TestCase." -"assertRaises()``." -msgstr "" - -#: ../build/NEWS:4580 -msgid "" -":issue:`45822`: Fixed a bug in the parser that was causing it to not " -"respect :pep:`263` coding cookies when no flags are provided. Patch by Pablo " -"Galindo" -msgstr "" - -#: ../build/NEWS:4584 -msgid "" -":issue:`45820`: Fix a segfault when the parser fails without reading any " -"input. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:4587 -msgid "" -":issue:`45636`: Simplify the implementation of :opcode:`BINARY_OP` by " -"indexing into an array of function pointers (rather than switching on the " -"oparg)." -msgstr "" - -#: ../build/NEWS:4590 -msgid "" -":issue:`42540`: Fix crash when :func:`os.fork` is called with an active non-" -"default memory allocator." -msgstr "" - -#: ../build/NEWS:4593 -msgid "" -":issue:`45738`: Fix computation of error location for invalid continuation " -"characters in the parser. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4596 -msgid "" -":issue:`45636`: Remove an existing \"fast path\" for old-style string " -"formatting, since it no longer appears to have any measurable impact." -msgstr "" - -#: ../build/NEWS:4599 -msgid "" -":issue:`45753`: Make recursion checks a bit more efficient by tracking " -"amount of calls left before overflow." -msgstr "" - -#: ../build/NEWS:4602 -msgid "" -":issue:`45773`: Fix a compiler hang when attempting to optimize certain jump " -"patterns." -msgstr "" - -#: ../build/NEWS:4605 -msgid "" -":issue:`45764`: The parser now gives a better error message when leaving out " -"the opening parenthesis ``(`` after a ``def``-statement::" -msgstr "" - -#: ../build/NEWS:4614 -msgid "" -":issue:`45609`: Specialized the ``STORE_SUBSCR`` opcode using the PEP 659 " -"machinery." -msgstr "" - -#: ../build/NEWS:4617 -msgid "" -":issue:`45636`: Replace all numeric ``BINARY_*`` and ``INPLACE_*`` " -"instructions with a single :opcode:`BINARY_OP` implementation." -msgstr "" - -#: ../build/NEWS:4620 -msgid "" -":issue:`45582`: Path calculation (known as ``getpath``) has been " -"reimplemented as a frozen Python module. This should have no visible impact, " -"but may affect calculation of all paths referenced in :mod:`sys` and :mod:" -"`sysconfig`." -msgstr "" - -#: ../build/NEWS:4625 -msgid "" -":issue:`45450`: Improve the syntax error message for parenthesized " -"arguments. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4631 -msgid "" -":issue:`27946`: Fix possible crash when getting an attribute of class:`xml." -"etree.ElementTree.Element` simultaneously with replacing the ``attrib`` dict." -msgstr "" - -#: ../build/NEWS:4635 -msgid "" -":issue:`45711`: Make :mod:`asyncio` normalize exceptions as soon as they are " -"captured with :c:func:`PyErr_Fetch`, and before they are stored as an " -"exc_info triplet. This brings :mod:`asyncio` in line with the rest of the " -"codebase, where an exc_info triplet is always normalized." -msgstr "" - -#: ../build/NEWS:4640 -msgid "" -":issue:`23819`: Replaced asserts with exceptions in asyncio, patch by Kumar " -"Aditya." -msgstr "" - -#: ../build/NEWS:4643 -msgid "" -":issue:`13236`: :class:`unittest.TextTestResult` and :class:`unittest." -"TextTestRunner` flush now the output stream more often." -msgstr "" - -#: ../build/NEWS:4646 -msgid "" -":issue:`45917`: Added :func:`math.exp2`:, which returns 2 raised to the " -"power of x." -msgstr "" - -#: ../build/NEWS:4649 -msgid "" -":issue:`37658`: Fix issue when on certain conditions ``asyncio.wait_for()`` " -"may allow a coroutine to complete successfully, but fail to return the " -"result, potentially causing memory leaks or other issues." -msgstr "" - -#: ../build/NEWS:4653 -msgid "" -":issue:`45876`: Improve the accuracy of stdev() and pstdev() in the " -"statistics module. When the inputs are floats or fractions, the output is a " -"correctly rounded float" -msgstr "" - -#: ../build/NEWS:4657 -msgid "" -":issue:`44649`: Handle dataclass(slots=True) with a field that has default a " -"default value, but for which init=False." -msgstr "" - -#: ../build/NEWS:4660 -msgid "" -":issue:`45803`: Added missing kw_only parameter to dataclasses." -"make_dataclass()." -msgstr "" - -#: ../build/NEWS:4663 -msgid "" -":issue:`45837`: The :meth:`turtle.RawTurtle.settiltangle` is deprecated " -"since Python 3.1, it now emits a deprecation warning and will be removed in " -"Python 3.13." -msgstr "" - -#: ../build/NEWS:4667 -msgid "Use :meth:`turtle.RawTurtle.tiltangle` instead." -msgstr "" - -#: ../build/NEWS:4669 -msgid "" -":meth:`turtle.RawTurtle.tiltangle` was earlier incorrectly marked as " -"deprecated, its docstring has been corrected." -msgstr "" - -#: ../build/NEWS:4672 ../build/NEWS:5225 ../build/NEWS:6119 ../build/NEWS:6139 -#: ../build/NEWS:6168 ../build/NEWS:6175 ../build/NEWS:6182 -msgid "Patch by Hugo van Kemenade." -msgstr "" - -#: ../build/NEWS:4674 -msgid "" -":issue:`45831`: :mod:`faulthandler` can now write ASCII-only strings (like " -"filenames and function names) with a single write() syscall when dumping a " -"traceback. It reduces the risk of getting an unreadable dump when two " -"threads or two processes dump a traceback to the same file (like stderr) at " -"the same time. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4680 -msgid "" -":issue:`45828`: :mod:`sqlite` C callbacks now use unraisable exceptions if " -"callback tracebacks are enabled. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:4683 -msgid "" -":issue:`41735`: Fix thread lock in ``zlib.Decompress.flush()`` method before " -"``PyObject_GetBuffer``." -msgstr "" - -#: ../build/NEWS:4686 -msgid "" -":issue:`45235`: Reverted an argparse bugfix that caused regression in the " -"handling of default arguments for subparsers. This prevented leaf level " -"arguments from taking precedence over root level arguments." -msgstr "" - -#: ../build/NEWS:4690 -msgid "" -":issue:`45754`: Fix a regression in Python 3.11a1 and 3.11a2 where :mod:" -"`sqlite3` incorrectly would use ``SQLITE_LIMIT_LENGTH`` when checking SQL " -"statement lengths. Now, ``SQLITE_LIMIT_SQL_LENGTH`` is used. Patch by Erlend " -"E. Aasland." -msgstr "" - -#: ../build/NEWS:4695 -msgid "" -":issue:`45766`: Added *proportional* option to :meth:`statistics." -"linear_regression`." -msgstr "" - -#: ../build/NEWS:4698 -msgid "" -":issue:`45765`: In importlib.metadata, fix distribution discovery for an " -"empty path." -msgstr "" - -#: ../build/NEWS:4701 -msgid "" -":issue:`45757`: Fix bug where :mod:`dis` produced an incorrect oparg when :" -"opcode:`EXTENDED_ARG` is followed by an opcode that does not use its " -"argument." -msgstr "" - -#: ../build/NEWS:4705 -msgid "" -":issue:`45644`: In-place JSON file formatting using ``python3 -m json.tool " -"infile infile`` now works correctly, previously it left the file empty. " -"Patch by Chris Wesseling." -msgstr "" - -#: ../build/NEWS:4709 -msgid "" -":issue:`45703`: When a namespace package is imported before another module " -"from the same namespace is created/installed in a different :data:`sys.path` " -"location while the program is running, calling the :func:`importlib." -"invalidate_caches` function will now also guarantee the new module is " -"noticed." -msgstr "" - -#: ../build/NEWS:4715 -msgid ":issue:`45535`: Improve output of ``dir()`` with Enums." -msgstr "" - -#: ../build/NEWS:4717 -msgid "" -":issue:`45664`: Fix :func:`types.resolve_bases` and :func:`types.new_class` " -"for :class:`types.GenericAlias` instance as a base." -msgstr "" - -#: ../build/NEWS:4720 -msgid "" -":issue:`45663`: Fix :func:`dataclasses.is_dataclass` for dataclasses which " -"are subclasses of :class:`types.GenericAlias`." -msgstr "" - -#: ../build/NEWS:4723 -msgid "" -":issue:`45662`: Fix the repr of :data:`dataclasses.InitVar` with a type " -"alias to the built-in class, e.g. ``InitVar[list[int]]``." -msgstr "" - -#: ../build/NEWS:4726 -msgid "" -":issue:`43137`: Launch GNOME web browsers via gio tool instead of obsolete " -"gvfs-open" -msgstr "" - -#: ../build/NEWS:4729 -msgid "" -":issue:`45429`: On Windows, :func:`time.sleep` now uses a waitable timer " -"which supports high-resolution timers. Patch by Dong-hee Na and Eryk Sun." -msgstr "" - -#: ../build/NEWS:4732 -msgid ":issue:`37295`: Optimize :func:`math.comb` and :func:`math.perm`." -msgstr "" - -#: ../build/NEWS:4734 -msgid "" -":issue:`45514`: Deprecated legacy functions in :mod:`importlib.resources`." -msgstr "" - -#: ../build/NEWS:4736 -msgid "" -":issue:`45507`: Add tests for truncated/missing trailers in gzip.decompress " -"implementation." -msgstr "" - -#: ../build/NEWS:4739 -msgid "" -":issue:`45359`: Implement :pep:`585` for :class:`graphlib.TopologicalSorter`." -msgstr "" - -#: ../build/NEWS:4741 -msgid "" -":issue:`44733`: Add ``max_tasks_per_child`` to :class:`concurrent.futures." -"ProcessPoolExecutor`. This allows users to specify the maximum number of " -"tasks a single process should execute before the process needs to be " -"restarted." -msgstr "" - -#: ../build/NEWS:4746 -msgid "" -":issue:`28806`: Improve netrc library. netrc file no longer needs to contain " -"all tokens. And if the login name is anonymous, security check is no longer " -"need." -msgstr "" - -#: ../build/NEWS:4750 -msgid "" -":issue:`43498`: Avoid a possible *\"RuntimeError: dictionary changed size " -"during iteration\"* when adjusting the process count of :class:" -"`ProcessPoolExecutor`." -msgstr "" - -#: ../build/NEWS:4754 -msgid "" -":issue:`42158`: Add MIME types for N-quads, N-triples, Notation3 and TriG to " -"``mimetypes``." -msgstr "" - -#: ../build/NEWS:4757 -msgid "" -":issue:`30533`: Add :func:`inspect.getmembers_static` , it return all " -"members without triggering dynamic lookup via the descriptor protocol. Patch " -"by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:4764 -msgid "" -":issue:`42238`: ``make -C Doc suspicious`` will be removed soon in favor of " -"``make -C Doc check``, mark it as deprecated." -msgstr "" - -#: ../build/NEWS:4767 -msgid "" -":issue:`45840`: Improve cross-references in the documentation for the data " -"model." -msgstr "" - -#: ../build/NEWS:4770 -msgid "" -":issue:`45640`: Properly marked-up grammar tokens in the documentation are " -"now clickable and take you to the definition of a given piece of grammar. " -"Patch by Arthur Milchior." -msgstr "" - -#: ../build/NEWS:4774 -msgid "" -":issue:`45788`: Link doc for sys.prefix to sysconfig doc on installation " -"paths." -msgstr "" - -#: ../build/NEWS:4776 -msgid "" -":issue:`45772`: ``socket.socket`` documentation is corrected to a class from " -"a function." -msgstr "" - -#: ../build/NEWS:4779 -msgid "" -":issue:`45392`: Update the docstring of the :class:`type` built-in to remove " -"a redundant line and to mention keyword arguments for the constructor." -msgstr "" - -#: ../build/NEWS:4782 -msgid "" -":issue:`45250`: Update the documentation to note that CPython does not " -"consistently require iterators to define ``__iter__``." -msgstr "" - -#: ../build/NEWS:4785 -msgid "" -":issue:`25381`: In the extending chapter of the extending doc, update a " -"paragraph about the global variables containing exception information." -msgstr "" - -#: ../build/NEWS:4788 -msgid "" -":issue:`43905`: Expanded :func:`~dataclasses.astuple` and :func:" -"`~dataclasses.asdict` docs, warning about deepcopy being applied and " -"providing a workaround." -msgstr "" - -#: ../build/NEWS:4795 -msgid "" -":issue:`45695`: Out-of-tree builds with a read-only source directory are now " -"tested by CI." -msgstr "" - -#: ../build/NEWS:4798 -msgid "" -":issue:`19460`: Add new Test for ``Lib/email/mime/nonmultipart.py::" -"MIMENonMultipart``." -msgstr "" - -#: ../build/NEWS:4801 -msgid "" -":issue:`45835`: Fix race condition in test_queue tests with multiple " -"\"feeder\" threads." -msgstr "" - -#: ../build/NEWS:4804 -msgid "" -":issue:`45783`: The test for the freeze tool now handles file moves and " -"deletions." -msgstr "" - -#: ../build/NEWS:4807 -msgid "" -":issue:`45745`: Remove the ``--findleaks`` command line option of regrtest: " -"use the ``--fail-env-changed`` option instead. Since Python 3.7, it was a " -"deprecated alias to the ``--fail-env-changed`` option." -msgstr "" - -#: ../build/NEWS:4811 -msgid "" -":issue:`45701`: Add tests with ``tuple`` type with :func:`functools." -"lru_cache` to ``test_functools``." -msgstr "" - -#: ../build/NEWS:4817 -msgid "" -":issue:`44035`: CI now verifies that autoconf files have been regenerated " -"with a current and unpatched autoconf package." -msgstr "" - -#: ../build/NEWS:4820 -msgid "" -":issue:`45950`: The build system now uses a :program:`_bootstrap_python` " -"interpreter for freezing and deepfreezing again. To speed up build process " -"the build tools :program:`_bootstrap_python` and :program:`_freeze_module` " -"are no longer build with LTO." -msgstr "" - -#: ../build/NEWS:4825 -msgid "" -":issue:`45881`: The :program:`configure` script now accepts ``--with-build-" -"python`` and ``--with-freeze-module`` options to make cross compiling easier." -msgstr "" - -#: ../build/NEWS:4829 -msgid "" -":issue:`40280`: Emscripten platform now uses ``.wasm`` suffix by default." -msgstr "" - -#: ../build/NEWS:4831 -msgid "" -":issue:`40280`: Disable unusable core extension modules on WASM/Emscripten " -"targets." -msgstr "" - -#: ../build/NEWS:4834 -msgid "" -":issue:`40280`: ``configure`` now checks for socket ``shutdown`` function. " -"The check makes it possible to disable ``SYS_shutdown`` with " -"``ac_cv_func_shutdown=no`` in CONFIG_SITE." -msgstr "" - -#: ../build/NEWS:4838 -msgid "" -":issue:`40280`: ``configure`` now checks for functions ``fork1, getegid, " -"geteuid, getgid, getppid, getuid, opendir, pipe, system, wait, ttyname``." -msgstr "" - -#: ../build/NEWS:4841 -msgid "" -":issue:`33393`: Update ``config.guess`` to 2021-06-03 and ``config.sub`` to " -"2021-08-14. ``Makefile`` now has an ``update-config`` target to make " -"updating more convenient." -msgstr "" - -#: ../build/NEWS:4845 -msgid "" -":issue:`45866`: ``make regen-all`` now produces the same output when run " -"from a directory other than the source tree: when building Python out of the " -"source tree. pegen now strips directory of the \"generated by pygen from " -"\" header Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:4850 -msgid "" -":issue:`40280`: ``configure`` now accepts machine ``wasm32`` or ``wasm64`` " -"and OS ``wasi`` or ``emscripten`` for cross building, e.g. ``wasm32-unknown-" -"emscripten``, ``wasm32-wasi``, or ``wasm32-unknown-wasi``." -msgstr "" - -#: ../build/NEWS:4855 -msgid "" -":issue:`41498`: Python now compiles on platforms without ``sigset_t``. " -"Several functions in :mod:`signal` are not available when ``sigset_t`` is " -"missing." -msgstr "" - -#: ../build/NEWS:4858 -msgid "Based on patch by Roman Yurchak for pyodide." -msgstr "" - -#: ../build/NEWS:4860 -msgid "" -":issue:`45881`: ``setup.py`` now uses ``CC`` from environment first to " -"discover multiarch and cross compile paths." -msgstr "" - -#: ../build/NEWS:4863 -msgid "" -":issue:`45886`: The ``_freeze_module`` program path can now be overridden on " -"the command line, e.g. ``make FREEZE_MODULE=../x86_64/Program/" -"_freeze_module``." -msgstr "" - -#: ../build/NEWS:4867 -msgid "" -":issue:`45873`: Get rid of the ``_bootstrap_python`` build step. The " -"deepfreeze.py script is now run using ``$(PYTHON_FOR_REGEN)`` which can be " -"Python 3.7 or newer (on Windows, 3.8 or newer)." -msgstr "" - -#: ../build/NEWS:4871 -msgid "" -":issue:`45847`: Port builtin hashlib extensions to ``PY_STDLIB_MOD`` macro " -"and ``addext()``." -msgstr "" - -#: ../build/NEWS:4874 -msgid "" -":issue:`45723`: Add ``autoconf`` helpers for saving and restoring " -"environment variables:" -msgstr "" - -#: ../build/NEWS:4877 -msgid "" -"``SAVE_ENV``: Save ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and ``$CPPFLAGS``." -msgstr "" - -#: ../build/NEWS:4879 -msgid "" -"``RESTORE_ENV``: Restore ``$CFLAGS``, ``$LDFLAGS``, ``$LIBS``, and " -"``$CPPFLAGS``." -msgstr "" - -#: ../build/NEWS:4881 -msgid "" -"``WITH_SAVE_ENV([SCRIPT])``: Run ``SCRIPT`` wrapped with ``SAVE_ENV`` and " -"``RESTORE_ENV``." -msgstr "" - -#: ../build/NEWS:4884 ../build/NEWS:6716 ../build/NEWS:6821 -msgid "Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:4886 -msgid "" -":issue:`45573`: Mandatory core modules, that are required to bootstrap " -"Python, are now in ``Modules/Setup.bootstrap``." -msgstr "" - -#: ../build/NEWS:4889 -msgid "" -":issue:`45573`: ``configure`` now creates ``Modules/Setup.stdlib`` with " -"conditionally enabled/disabled extension module lines. The file is not used, " -"yet." -msgstr "" - -#: ../build/NEWS:4893 -msgid "" -":issue:`45573`: ``configure`` now uses a unified format to set state, " -"compiler flags, and linker flags in Makefile. The new macro " -"``PY_STDLIB_MOD`` sets three variables that are consumed by ``Modules/" -"Setup`` and ``setup.py``." -msgstr "" - -#: ../build/NEWS:4897 -msgid "" -":issue:`45816`: Python now supports building with Visual Studio 2022 (MSVC " -"v143, VS Version 17.0). Patch by Jeremiah Vivian." -msgstr "" - -#: ../build/NEWS:4900 -msgid "" -":issue:`45800`: Settings for :mod:`pyexpat` C extension are now detected by " -"``configure``. The bundled ``expat`` library is built in ``Makefile``." -msgstr "" - -#: ../build/NEWS:4903 -msgid "" -":issue:`45798`: Settings for :mod:`decimal` internal C extension are now " -"detected by ``configure``. The bundled ``libmpdec`` library is built in " -"``Makefile``." -msgstr "" - -#: ../build/NEWS:4907 -msgid "" -":issue:`45723`: :program:`configure` has a new option ``--with-pkg-config`` " -"to disable or require pkg-config." -msgstr "" - -#: ../build/NEWS:4910 -msgid "" -":issue:`45774`: The build dependencies for :mod:`sqlite3` are now detected " -"by ``configure`` and ``pkg-config``. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:4913 -msgid "" -":issue:`45763`: The build dependencies for :mod:`zlib`, :mod:`bz2`, and :mod:" -"`lzma` are now detected by ``configure``." -msgstr "" - -#: ../build/NEWS:4916 -msgid "" -":issue:`45747`: gdbm and dbm build dependencies are now detected by " -"``configure``." -msgstr "" - -#: ../build/NEWS:4919 -msgid "" -":issue:`45743`: On macOS, the build system no longer passes " -"``search_paths_first`` to the linker. The flag has been the default since " -"Xcode 4 / macOS 10.6." -msgstr "" - -#: ../build/NEWS:4923 -msgid "" -":issue:`45723`: ``configure.ac`` is now compatible with autoconf 2.71. " -"Deprecated checks ``STDC_HEADERS`` and ``AC_HEADER_TIME`` have been removed." -msgstr "" - -#: ../build/NEWS:4927 -msgid "" -":issue:`45723`: ``configure`` now prints a warning when pkg-config is " -"missing." -msgstr "" - -#: ../build/NEWS:4929 -msgid "" -":issue:`45731`: ``configure --enable-loadable-sqlite-extensions`` is now " -"handled by new ``PY_SQLITE_ENABLE_LOAD_EXTENSION`` macro instead of logic in " -"setup.py." -msgstr "" - -#: ../build/NEWS:4933 -msgid "" -":issue:`45723`: configure.ac now uses custom helper macros and " -"``AC_CACHE_CHECK`` to simplify and speed up configure runs." -msgstr "" - -#: ../build/NEWS:4936 -msgid "" -":issue:`45696`: Skip the marshal step for frozen modules by generating C " -"code that produces a set of ready-to-use code objects. This speeds up " -"startup time by another 10% or more." -msgstr "" - -#: ../build/NEWS:4940 -msgid ":issue:`45561`: Run smelly.py tool from $(srcdir)." -msgstr "" - -#: ../build/NEWS:4945 -msgid "" -":issue:`46105`: Fixed calculation of :data:`sys.path` in a venv on Windows." -msgstr "" - -#: ../build/NEWS:4947 -msgid "" -":issue:`45901`: When installed through the Microsoft Store and set as the " -"default app for :file:`*.py` files, command line arguments will now be " -"passed to Python when invoking a script without explicitly launching Python " -"(that is, ``script.py args`` rather than ``python script.py args``)." -msgstr "" - -#: ../build/NEWS:4953 -msgid "" -":issue:`45616`: Fix Python Launcher's ability to distinguish between " -"versions 3.1 and 3.10 when either one is explicitly requested. Previously, " -"3.1 would be used if 3.10 was requested but not installed, and 3.10 would be " -"used if 3.1 was requested but 3.10 was installed." -msgstr "" - -#: ../build/NEWS:4958 -msgid "" -":issue:`45850`: Implement changes to build with deep-frozen modules on " -"Windows. Note that we now require Python 3.10 as the \"bootstrap\" or " -"\"host\" Python." -msgstr "" - -#: ../build/NEWS:4961 -msgid ":issue:`45732`: Updates bundled Tcl/Tk to 8.6.12." -msgstr "" - -#: ../build/NEWS:4963 -msgid "" -":issue:`45720`: Internal reference to :file:`shlwapi.dll` was dropped to " -"help improve startup time. This DLL will no longer be loaded at the start of " -"every Python process." -msgstr "" - -#: ../build/NEWS:4970 -msgid ":issue:`45732`: Update python.org macOS installer to use Tcl/Tk 8.6.12." -msgstr "" - -#: ../build/NEWS:4975 -msgid "" -":issue:`39026`: Fix Python.h to build C extensions with Xcode: remove a " -"relative include from ``Include/cpython/pystate.h``." -msgstr "" - -#: ../build/NEWS:4980 -msgid "Python 3.11.0 alpha 2" -msgstr "" - -#: ../build/NEWS:4982 -msgid "*Release date: 2021-11-05*" -msgstr "" - -#: ../build/NEWS:4987 -msgid "" -":issue:`45716`: Improve the :exc:`SyntaxError` message when using ``True``, " -"``None`` or ``False`` as keywords in a function call. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:4991 -msgid "" -":issue:`45688`: :data:`sys.stdlib_module_names` now contains the macOS-" -"specific module :mod:`_scproxy`." -msgstr "" - -#: ../build/NEWS:4994 -msgid "" -":issue:`45379`: Clarify :exc:`ImportError` message when we try to explicitly " -"import a frozen module but frozen modules are disabled." -msgstr "" - -#: ../build/NEWS:4997 -msgid "" -":issue:`44525`: Specialize simple calls to Python functions (no starargs, " -"keyowrd dict, or closure)" -msgstr "" - -#: ../build/NEWS:5000 -msgid "" -":issue:`45530`: Cases of sorting using tuples as keys may now be " -"significantly faster in some cases. Patch by Tim Peters." -msgstr "" - -#: ../build/NEWS:5003 -msgid "" -"The order of the result may differ from earlier releases if the tuple " -"elements don't define a total ordering (see :ref:`expressions-value-" -"comparisons` for information on total ordering). It's generally true that " -"the result of sorting simply isn't well-defined in the absence of a total " -"ordering on list elements." -msgstr "" - -#: ../build/NEWS:5009 -msgid "" -":issue:`45526`: In obmalloc, set ADDRESS_BITS to not ignore any bits " -"(ignored 16 before). That is safer in the case that the kernel gives user-" -"space virtual addresses that span a range greater than 48 bits." -msgstr "" - -#: ../build/NEWS:5013 -msgid "" -":issue:`30570`: Fixed a crash in ``issubclass()`` from infinite recursion " -"when searching pathological ``__bases__`` tuples." -msgstr "" - -#: ../build/NEWS:5016 -msgid "" -":issue:`45521`: Fix a bug in the obmalloc radix tree code. On 64-bit " -"machines, the bug causes the tree to hold 46-bits of virtual addresses, " -"rather than the intended 48-bits." -msgstr "" - -#: ../build/NEWS:5020 -msgid "" -":issue:`45494`: Fix parser crash when reporting errors involving invalid " -"continuation characters. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5023 -msgid "" -":issue:`45445`: Python now fails to initialize if it finds an invalid :" -"option:`-X` option in the command line. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5026 -msgid "" -":issue:`45340`: Object attributes are held in an array instead of a " -"dictionary. An object's dictionary are created lazily, only when needed. " -"Reduces the memory consumption of a typical Python object by about 30%. " -"Patch by Mark Shannon." -msgstr "" - -#: ../build/NEWS:5031 -msgid "" -":issue:`45408`: Fix a crash in the parser when reporting tokenizer errors " -"that occur at the same time unclosed parentheses are detected. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5035 -msgid "" -":issue:`29410`: Add SipHash13 for string hash algorithm and use it by " -"default." -msgstr "" - -#: ../build/NEWS:5037 -msgid "" -":issue:`45385`: Fix reference leak from descr_check. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5039 -msgid "" -":issue:`45367`: Specialized the ``BINARY_MULTIPLY`` opcode to " -"``BINARY_MULTIPLY_INT`` and ``BINARY_MULTIPLY_FLOAT`` using the PEP 659 " -"machinery." -msgstr "" - -#: ../build/NEWS:5043 -msgid "" -":issue:`21736`: Frozen stdlib modules now have ``__file__`` to the .py file " -"they would otherwise be loaded from, if possible. For packages, " -"``__path__`` now has the correct entry instead of being an empty list, which " -"allows unfrozen submodules to be imported. These are set only if the stdlib " -"directory is known when the runtime is initialized. Note that the file at " -"``__file__`` is not guaranteed to exist. None of this affects non-stdlib " -"frozen modules nor, for now, frozen modules imported using " -"``PyImport_ImportFrozenModule()``. Also, at the moment ``co_filename`` is " -"not updated for the module." -msgstr "" - -#: ../build/NEWS:5053 -msgid "" -":issue:`45020`: For frozen stdlib modules, record the original module name " -"as ``module.__spec__.loader_state.origname``. If the value is different " -"than ``module.__spec__.name`` then the module was defined as an alias in " -"Tools/scripts/freeze_modules.py. If it is ``None`` then the module comes " -"from a source file outside the stdlib." -msgstr "" - -#: ../build/NEWS:5059 -msgid "" -":issue:`45324`: In FrozenImporter.find_spec(), we now preserve the " -"information needed in exec_module() to load the module. This change mostly " -"impacts internal details, rather than changing the importer's behavior." -msgstr "" - -#: ../build/NEWS:5063 -msgid "" -":issue:`45292`: Implement :pep:`654`. Add :class:`ExceptionGroup` and :class:" -"`BaseExceptionGroup`. Update traceback display code." -msgstr "" - -#: ../build/NEWS:5066 -msgid "" -":issue:`40116`: Change to the implementation of split dictionaries. Classes " -"where the instances differ either in the exact set of attributes, or in the " -"order in which those attributes are set, can still share keys. This should " -"have no observable effect on users of Python or the C-API. Patch by Mark " -"Shannon." -msgstr "" - -#: ../build/NEWS:5072 -msgid "" -":issue:`44050`: Extensions that indicate they use global state (by setting " -"``m_size`` to -1) can again be used in multiple interpreters. This reverts " -"to behavior of Python 3.8." -msgstr "" - -#: ../build/NEWS:5076 -msgid "" -":issue:`44525`: Setup initial specialization infrastructure for the " -"``CALL_FUNCTION`` opcode. Implemented initial specializations for C function " -"calls:" -msgstr "" - -#: ../build/NEWS:5080 -msgid "``CALL_FUNCTION_BUILTIN_O`` for ``METH_O`` flag." -msgstr "" - -#: ../build/NEWS:5082 -msgid "" -"``CALL_FUNCTION_BUILTIN_FAST`` for ``METH_FASTCALL`` flag without keywords." -msgstr "" - -#: ../build/NEWS:5084 -msgid "``CALL_FUNCTION_LEN`` for ``len(o)``." -msgstr "" - -#: ../build/NEWS:5086 -msgid "``CALL_FUNCTION_ISINSTANCE`` for ``isinstance(o, t)``." -msgstr "" - -#: ../build/NEWS:5088 -msgid "" -":issue:`44511`: Improve the generated bytecode for class and mapping " -"patterns." -msgstr "" - -#: ../build/NEWS:5090 -msgid "" -":issue:`43706`: Speed up calls to ``enumerate()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5096 -msgid "" -":issue:`45679`: Fix caching of multi-value :data:`typing.Literal`. " -"``Literal[True, 2]`` is no longer equal to ``Literal[1, 2]``." -msgstr "" - -#: ../build/NEWS:5099 -msgid "" -":issue:`42064`: Convert :mod:`sqlite3` to multi-phase initialisation (PEP " -"489). Patches by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5102 -msgid "" -":issue:`45438`: Fix typing.Signature string representation for generic " -"builtin types." -msgstr "" - -#: ../build/NEWS:5105 -msgid "" -":issue:`45613`: :mod:`sqlite3` now sets :attr:`sqlite3.threadsafety` based " -"on the default threading mode the underlying SQLite library has been " -"compiled with. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5109 -msgid ":issue:`45574`: Fix warning about ``print_escape`` being unused." -msgstr "" - -#: ../build/NEWS:5111 -msgid "" -":issue:`45581`: :meth:`sqlite3.connect` now correctly raises :exc:" -"`MemoryError` if the underlying SQLite API signals memory error. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5115 -msgid "" -":issue:`45557`: pprint.pprint() now handles underscore_numbers correctly. " -"Previously it was always setting it to False." -msgstr "" - -#: ../build/NEWS:5118 -msgid "" -":issue:`44019`: Add :func:`operator.call` to ``operator.__all__``. Patch by " -"Kreusada." -msgstr "" - -#: ../build/NEWS:5121 -msgid "" -":issue:`42174`: :meth:`shutil.get_terminal_size` now falls back to sane " -"values if the column or line count are 0." -msgstr "" - -#: ../build/NEWS:5124 -msgid "" -":issue:`35673`: Improve the introspectability of the ``__loader__`` " -"attribute for namespace packages. :class:`importlib.machinery." -"NamespaceLoader` is now public, and implements the :class:`importlib.abc." -"InspectLoader` interface. ``_NamespaceLoader`` is kept for backward " -"compatibility." -msgstr "" - -#: ../build/NEWS:5129 -msgid "" -":issue:`45515`: Add references to :mod:`zoneinfo` in the :mod:`datetime` " -"documentation, mostly replacing outdated references to ``dateutil.tz``. " -"Change by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:5133 -msgid "" -":issue:`45475`: Reverted optimization of iterating :class:`gzip.GzipFile`, :" -"class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see :issue:`43787`) because " -"it caused regression when user iterate them without having reference of " -"them. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:5138 -msgid "" -":issue:`45489`: Update :class:`~typing.ForwardRef` to support ``|`` " -"operator. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5141 -msgid "" -":issue:`42222`: Removed deprecated support for float arguments in " -"*randrange()*." -msgstr "" - -#: ../build/NEWS:5144 -msgid "" -":issue:`45428`: Fix a regression in py_compile when reading filenames from " -"standard input." -msgstr "" - -#: ../build/NEWS:5147 -msgid "" -":issue:`45467`: Fix incremental decoder and stream reader in the \"raw-" -"unicode-escape\" codec. Previously they failed if the escape sequence was " -"split." -msgstr "" - -#: ../build/NEWS:5151 -msgid "" -":issue:`45461`: Fix incremental decoder and stream reader in the \"unicode-" -"escape\" codec. Previously they failed if the escape sequence was split." -msgstr "" - -#: ../build/NEWS:5155 -msgid "" -":issue:`45239`: Fixed :func:`email.utils.parsedate_tz` crashing with :exc:" -"`UnboundLocalError` on certain invalid input instead of returning ``None``. " -"Patch by Ben Hoyt." -msgstr "" - -#: ../build/NEWS:5159 -msgid "" -":issue:`45417`: Fix quadratic behaviour in the enum module: Creation of enum " -"classes with a lot of entries was quadratic." -msgstr "" - -#: ../build/NEWS:5162 -msgid "" -":issue:`45249`: Fix the behaviour of :func:`traceback.print_exc` when " -"displaying the caret when the ``end_offset`` in the exception is set to 0. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5166 -msgid "" -":issue:`45416`: Fix use of :class:`asyncio.Condition` with explicit :class:" -"`asyncio.Lock` objects, which was a regression due to removal of explicit " -"loop arguments. Patch by Joongi Kim." -msgstr "" - -#: ../build/NEWS:5170 -msgid "" -":issue:`20028`: Empty escapechar/quotechar is not allowed when initializing :" -"class:`csv.Dialect`. Patch by Vajrasky Kok and Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5173 -msgid "" -":issue:`44904`: Fix bug in the :mod:`doctest` module that caused it to fail " -"if a docstring included an example with a ``classmethod`` ``property``. " -"Patch by Alex Waygood." -msgstr "" - -#: ../build/NEWS:5177 -msgid "" -":issue:`45406`: Make :func:`inspect.getmodule` catch ``FileNotFoundError`` " -"raised by :'func:`inspect.getabsfile`, and return ``None`` to indicate that " -"the module could not be determined." -msgstr "" - -#: ../build/NEWS:5181 -msgid "" -":issue:`45411`: Add extensions for files containing subtitles - .srt & .vtt " -"- to the mimetypes.py module." -msgstr "" - -#: ../build/NEWS:5184 -msgid "" -":issue:`10716`: Migrated pydoc to HTML5 (without changing the look of it). " -"Side effect is to update xmlrpc's ``ServerHTMLDoc`` which now uses the CSS " -"too. cgitb now relies less on pydoc (as it can't use the CSS file)." -msgstr "" - -#: ../build/NEWS:5188 -msgid ":issue:`27580`: Add support of null characters in :mod:`csv`." -msgstr "" - -#: ../build/NEWS:5190 -msgid "" -":issue:`45262`: Prevent use-after-free in asyncio. Make sure the cached " -"running loop holder gets cleared on dealloc to prevent use-after-free in " -"get_running_loop" -msgstr "" - -#: ../build/NEWS:5194 -msgid "" -":issue:`45386`: Make :mod:`xmlrpc.client` more robust to C runtimes where " -"the underlying C ``strftime`` function results in a ``ValueError`` when " -"testing for year formatting options." -msgstr "" - -#: ../build/NEWS:5198 -msgid "" -":issue:`20028`: Improve error message of :class:`csv.Dialect` when " -"initializing. Patch by Vajrasky Kok and Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5201 -msgid ":issue:`45343`: Update bundled pip to 21.2.4 and setuptools to 58.1.0" -msgstr "" - -#: ../build/NEWS:5203 -msgid "" -":issue:`45328`: Fixed :class:`http.client.HTTPConnection` to work properly " -"in OSs that don't support the ``TCP_NODELAY`` socket option." -msgstr "" - -#: ../build/NEWS:5206 -msgid "" -":issue:`45243`: Add :meth:`~sqlite3.Connection.setlimit` and :meth:`~sqlite3." -"Connection.getlimit` to :class:`sqlite3.Connection` for setting and getting " -"SQLite limits by connection basis. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5211 -msgid ":issue:`45320`: Removed from the :mod:`inspect` module:" -msgstr "" - -#: ../build/NEWS:5214 -msgid "the ``getargspec`` function, deprecated since Python 3.0;" -msgstr "" - -#: ../build/NEWS:5214 -msgid "" -"use :func:`inspect.signature` or :func:`inspect.getfullargspec` instead." -msgstr "" - -#: ../build/NEWS:5216 -msgid "" -"the ``formatargspec`` function, deprecated since Python 3.5; use the :func:" -"`inspect.signature` function and :class:`Signature` object directly." -msgstr "" - -#: ../build/NEWS:5220 -msgid "" -"the undocumented ``Signature.from_callable`` and ``Signature.from_function`` " -"functions, deprecated since Python 3.5; use the :meth:`Signature." -"from_callable() ` method instead." -msgstr "" - -#: ../build/NEWS:5227 -msgid "" -":issue:`45192`: Fix the ``tempfile._infer_return_type`` function so that the " -"``dir`` argument of the :mod:`tempfile` functions accepts an object " -"implementing the ``os.PathLike`` protocol." -msgstr "" - -#: ../build/NEWS:5231 -msgid "Patch by Kyungmin Lee." -msgstr "" - -#: ../build/NEWS:5233 -msgid "" -":issue:`45160`: When tracing a tkinter variable used by a ttk OptionMenu, " -"callbacks are no longer made twice." -msgstr "" - -#: ../build/NEWS:5236 -msgid "" -":issue:`25625`: Added non parallel-safe :func:`~contextlib.chdir` context " -"manager to change the current working directory and then restore it on exit. " -"Simple wrapper around :func:`~os.chdir`." -msgstr "" - -#: ../build/NEWS:5240 -msgid "" -":issue:`24139`: Add support for SQLite extended result codes in :exc:" -"`sqlite3.Error`. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5243 -msgid "" -":issue:`24444`: Fixed an error raised in :mod:`argparse` help display when " -"help for an option is set to 1+ blank spaces or when *choices* arg is an " -"empty container." -msgstr "" - -#: ../build/NEWS:5247 -msgid "" -":issue:`44547`: Implement ``Fraction.__int__``, so that a :class:`fractions." -"Fraction` instance ``f`` passes an ``isinstance(f, typing.SupportsInt)`` " -"check." -msgstr "" - -#: ../build/NEWS:5251 -msgid "" -":issue:`40321`: Adds support for HTTP 308 redirects to :mod:`urllib`. See :" -"rfc:`7538` for details. Patch by Jochem Schulenklopper." -msgstr "" - -#: ../build/NEWS:5254 -msgid "" -":issue:`41374`: Ensure that ``socket.TCP_*`` constants are exposed on Cygwin " -"3.1.6 and greater." -msgstr "" - -#: ../build/NEWS:5257 -msgid "" -":issue:`35970`: Add help flag to the base64 module's command line interface. " -"Patch contributed by Robert Kuska." -msgstr "" - -#: ../build/NEWS:5263 -msgid "" -":issue:`45726`: Improve documentation for :func:`functools.singledispatch` " -"and :class:`functools.singledispatchmethod`." -msgstr "" - -#: ../build/NEWS:5266 -msgid "" -":issue:`45680`: Amend the docs on ``GenericAlias`` objects to clarify that " -"non-container classes can also implement ``__class_getitem__``. Patch " -"contributed by Alex Waygood." -msgstr "" - -#: ../build/NEWS:5270 -msgid "" -":issue:`45618`: Update Sphinx version used to build the documentation to " -"4.2.0. Patch by Maciej Olko." -msgstr "" - -#: ../build/NEWS:5273 -msgid "" -":issue:`45655`: Add a new \"relevant PEPs\" section to the top of the " -"documentation for the ``typing`` module. Patch by Alex Waygood." -msgstr "" - -#: ../build/NEWS:5276 -msgid "" -":issue:`45604`: Add ``level`` argument to ``multiprocessing.log_to_stderr`` " -"function docs." -msgstr "" - -#: ../build/NEWS:5279 -msgid "" -":issue:`45516`: Add protocol description to the :class:`importlib.abc." -"TraversableResources` documentation." -msgstr "" - -#: ../build/NEWS:5282 -msgid "" -":issue:`45464`: Mention in the documentation of :ref:`Built-in Exceptions " -"` that inheriting from multiple exception types in a " -"single subclass is not recommended due to possible memory layout " -"incompatibility." -msgstr "" - -#: ../build/NEWS:5287 -msgid ":issue:`45449`: Add note about :pep:`585` in :mod:`collections.abc`." -msgstr "" - -#: ../build/NEWS:5289 -msgid "" -":issue:`45516`: Add protocol description to the :class:`importlib.abc." -"Traversable` documentation." -msgstr "" - -#: ../build/NEWS:5292 -msgid "" -":issue:`20692`: Add Programming FAQ entry explaining that int literal " -"attribute access requires either a space after or parentheses around the " -"literal." -msgstr "" - -#: ../build/NEWS:5298 -msgid "" -":issue:`45678`: Add tests for scenarios in which :class:`functools." -"singledispatchmethod` is stacked on top of a method that has already been " -"wrapped by two other decorators. Patch by Alex Waygood." -msgstr "" - -#: ../build/NEWS:5302 -msgid ":issue:`45578`: Add tests for :func:`dis.distb`" -msgstr "" - -#: ../build/NEWS:5304 -msgid "" -":issue:`45678`: Add tests to ensure that ``functools.singledispatchmethod`` " -"correctly wraps the attributes of the target function." -msgstr "" - -#: ../build/NEWS:5307 -msgid "" -":issue:`45668`: PGO tests now pass when Python is built without test " -"extension modules." -msgstr "" - -#: ../build/NEWS:5310 -msgid "" -":issue:`45577`: Add subtests for all ``pickle`` protocols in " -"``test_zoneinfo``." -msgstr "" - -#: ../build/NEWS:5312 -msgid "" -":issue:`45566`: Fix ``test_frozen_pickle`` in ``test_dataclasses`` to check " -"all ``pickle`` versions." -msgstr "" - -#: ../build/NEWS:5315 -msgid "" -":issue:`43592`: :mod:`test.libregrtest` now raises the soft resource limit " -"for the maximum number of file descriptors when the default is too low for " -"our test suite as was often the case on macOS." -msgstr "" - -#: ../build/NEWS:5319 -msgid "" -":issue:`39679`: Add more test cases for `@functools.singledispatchmethod` " -"when combined with `@classmethod` or `@staticmethod`." -msgstr "" - -#: ../build/NEWS:5322 -msgid "" -":issue:`45410`: When libregrtest spawns a worker process, stderr is now " -"written into stdout to keep messages order. Use a single pipe for stdout and " -"stderr, rather than two pipes. Previously, messages were out of order which " -"made analysis of buildbot logs harder Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5327 -msgid "" -":issue:`45402`: Fix test_tools.test_sundry() when Python is built out of " -"tree: fix how the freeze_modules.py tool locates the _freeze_module program. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5331 -msgid "" -":issue:`45403`: Fix test_sys.test_stdlib_dir() when Python is built outside " -"the source tree: compare normalized paths. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5334 -msgid "" -":issue:`45400`: Fix " -"test_name_error_suggestions_do_not_trigger_for_too_many_locals() of " -"test_exceptions if a directory name contains \"a1\" (like " -"\"Python-3.11.0a1\"): use a stricter regular expression. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:5340 -msgid "" -":issue:`10572`: Rename :mod:`sqlite3` tests from ``test_sqlite`` to " -"``test_sqlite3``, and relocate them to ``Lib/test/test_sqlite3``. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5347 -msgid "" -":issue:`43158`: ``setup.py`` now uses values from configure script to build " -"the ``_uuid`` extension module. Configure now detects util-linux's " -"``libuuid``, too." -msgstr "" - -#: ../build/NEWS:5351 -msgid "" -":issue:`45666`: Fix warning of ``swprintf`` and ``%s`` usage in ``_testembed." -"c``" -msgstr "" - -#: ../build/NEWS:5354 -msgid "" -":issue:`45548`: ``Modules/Setup`` and ``Modules/makesetup`` have been " -"improved. The ``Setup`` file now contains working rules for all extensions. " -"Outdated comments have been removed. Rules defined by ``makesetup`` track " -"dependencies correctly." -msgstr "" - -#: ../build/NEWS:5359 -msgid "" -":issue:`45548`: The :mod:`math` and :mod:`cmath` implementation now require " -"a C99 compatible ``libm`` and no longer ship with workarounds for missing " -"acosh, asinh, atanh, expm1, and log1p functions." -msgstr "" - -#: ../build/NEWS:5363 -msgid "" -":issue:`45595`: ``setup.py`` and ``makesetup`` now track build dependencies " -"on all Python header files and module specific header files." -msgstr "" - -#: ../build/NEWS:5366 -msgid "" -":issue:`45571`: ``Modules/Setup`` now use ``PY_CFLAGS_NODIST`` instead of " -"``PY_CFLAGS`` to compile shared modules." -msgstr "" - -#: ../build/NEWS:5369 -msgid "" -":issue:`45570`: :mod:`pyexpat` and :mod:`_elementtree` no longer define " -"obsolete macros ``HAVE_EXPAT_CONFIG_H`` and ``USE_PYEXPAT_CAPI``. " -"``XML_POOR_ENTROPY`` is now defined in ``expat_config.h``." -msgstr "" - -#: ../build/NEWS:5373 -msgid "" -":issue:`43974`: ``setup.py`` no longer defines ``Py_BUILD_CORE_MODULE``. " -"Instead every module, that uses the internal API, defines the macro." -msgstr "" - -#: ../build/NEWS:5376 -msgid ":issue:`45548`: Fill in missing entries in Modules/Setup." -msgstr "" - -#: ../build/NEWS:5378 -msgid "" -":issue:`45532`: Update :data:`sys.version` to use ``main`` as fallback " -"information. Patch by Jeong YunWon." -msgstr "" - -#: ../build/NEWS:5381 -msgid "" -":issue:`45536`: The ``configure`` script now checks whether OpenSSL headers " -"and libraries provide required APIs. Most common APIs are verified. The " -"check detects outdated or missing OpenSSL. Failures do not stop configure." -msgstr "" - -#: ../build/NEWS:5385 -msgid "" -":issue:`45221`: Fixed regression in handling of ``LDFLAGS`` and ``CPPFLAGS`` " -"options where :meth:`argparse.parse_known_args` could interpret an option as " -"one of the built-in command line argument, for example ``-h`` for help." -msgstr "" - -#: ../build/NEWS:5389 -msgid "" -":issue:`45440`: Building Python now requires a C99 ```` header file " -"providing the following functions: ``copysign()``, ``hypot()``, " -"``isfinite()``, ``isinf()``, ``isnan()``, ``round()``. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:5394 -msgid "" -":issue:`45405`: Prevent ``internal configure error`` when running " -"``configure`` with recent versions of non-Apple clang. Patch by David " -"Bohman." -msgstr "" - -#: ../build/NEWS:5397 -msgid ":issue:`45433`: Avoid linking libpython with libcrypt." -msgstr "" - -#: ../build/NEWS:5402 -msgid "" -":issue:`43652`: Update Tcl/Tk to 8.6.11, actually this time. The previous " -"update incorrectly included 8.6.10." -msgstr "" - -#: ../build/NEWS:5405 -msgid "" -":issue:`45337`: venv now warns when the created environment may need to be " -"accessed at a different path, due to redirections, links or junctions. It " -"also now correctly installs or upgrades components when the alternate path " -"is required." -msgstr "" - -#: ../build/NEWS:5410 -msgid "" -":issue:`43851`: Build SQLite ``SQLITE_OMIT_AUTOINIT`` on Windows. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:5416 -msgid "" -":issue:`44828`: Avoid tkinter file dialog failure on macOS 12 Monterey when " -"using the Tk 8.6.11 provided by python.org macOS installers. Patch by Marc " -"Culler of the Tk project." -msgstr "" - -#: ../build/NEWS:5423 -msgid "" -":issue:`45495`: Add context keywords 'case' and 'match' to completions list." -msgstr "" - -#: ../build/NEWS:5428 -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 "" - -#: ../build/NEWS:5432 -msgid "" -":issue:`45522`: The internal freelists for frame, float, list, dict, async " -"generators, and context objects can now be disabled." -msgstr "" - -#: ../build/NEWS:5435 -msgid "" -":issue:`35134`: Exclude :c:func:`PyWeakref_GET_OBJECT` from the limited C " -"API. It never worked since the :c:type:`PyWeakReference` structure is opaque " -"in the limited C API." -msgstr "" - -#: ../build/NEWS:5439 -msgid "" -":issue:`35081`: Move the ``interpreteridobject.h`` header file from " -"``Include/`` to ``Include/internal/``. It only provides private functions. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5443 -msgid "" -":issue:`35134`: The non-limited API files ``cellobject.h``, ``classobject." -"h``, ``context.h``, ``funcobject.h``, ``genobject.h`` and ``longintrepr.h`` " -"have been moved to the ``Include/cpython`` directory. Moreover, the ``eval." -"h`` header file was removed. These files must not be included directly, as " -"they are already included in ``Python.h``: :ref:`Include Files `. If they have been included directly, consider including ``Python." -"h`` instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5451 -msgid "" -":issue:`45474`: The following items are no longer available when " -"``Py_LIMITED_API`` is defined:" -msgstr "" - -#: ../build/NEWS:5454 -msgid ":c:func:`PyMarshal_WriteLongToFile`" -msgstr "" - -#: ../build/NEWS:5455 -msgid ":c:func:`PyMarshal_WriteObjectToFile`" -msgstr "" - -#: ../build/NEWS:5456 -msgid ":c:func:`PyMarshal_ReadObjectFromString`" -msgstr "" - -#: ../build/NEWS:5457 -msgid ":c:func:`PyMarshal_WriteObjectToString`" -msgstr "" - -#: ../build/NEWS:5458 -msgid "the ``Py_MARSHAL_VERSION`` macro" -msgstr "" - -#: ../build/NEWS:5460 -msgid "These are not part of the :ref:`limited API `." -msgstr "" - -#: ../build/NEWS:5464 -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 "" - -#: ../build/NEWS:5468 -msgid "" -":issue:`45440`: Remove the ``Py_FORCE_DOUBLE()`` macro. It was used by the " -"``Py_IS_INFINITY()`` macro. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5471 -msgid "" -":issue:`45434`: ```` no longer includes the header files ````, ````, ```` and ```` when the " -"``Py_LIMITED_API`` macro is set to ``0x030b0000`` (Python 3.11) or higher. C " -"extensions should explicitly include the header files after ``#include " -"``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5477 -msgid "" -":issue:`41123`: Remove ``Py_UNICODE_COPY()`` and ``Py_UNICODE_FILL()`` " -"macros, deprecated since Python 3.3. Use ``PyUnicode_CopyCharacters()`` or " -"``memcpy()`` (``wchar_t*`` string), and ``PyUnicode_Fill()`` functions " -"instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5482 -msgid "" -":issue:`45412`: Remove the following math macros using the ``errno`` " -"variable:" -msgstr "" - -#: ../build/NEWS:5484 -msgid "``Py_ADJUST_ERANGE1()``" -msgstr "" - -#: ../build/NEWS:5485 -msgid "``Py_ADJUST_ERANGE2()``" -msgstr "" - -#: ../build/NEWS:5486 -msgid "``Py_OVERFLOWED()``" -msgstr "" - -#: ../build/NEWS:5487 -msgid "``Py_SET_ERANGE_IF_OVERFLOW()``" -msgstr "" - -#: ../build/NEWS:5488 -msgid "``Py_SET_ERRNO_ON_MATH_ERROR()``" -msgstr "" - -#: ../build/NEWS:5492 -msgid "" -":issue:`45395`: Custom frozen modules (the array set to " -"``PyImport_FrozenModules``) are now treated as additions, rather than " -"replacing all the default frozen modules. Frozen stdlib modules can still be " -"disabled by setting the \"code\" field of the custom array entry to NULL." -msgstr "" - -#: ../build/NEWS:5497 -msgid "" -":issue:`43760`: Add new :c:func:`PyThreadState_EnterTracing`, and :c:func:" -"`PyThreadState_LeaveTracing` functions to the limited C API to suspend and " -"resume tracing and profiling. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5501 -msgid "" -":issue:`44220`: :c:var:`PyStructSequence_UnnamedField` is added to the " -"Stable ABI." -msgstr "" - -#: ../build/NEWS:5506 -msgid "Python 3.11.0 alpha 1" -msgstr "" - -#: ../build/NEWS:5508 -msgid "*Release date: 2021-10-05*" -msgstr "" - -#: ../build/NEWS:5513 -msgid "" -":issue:`42278`: Replaced usage of :func:`tempfile.mktemp` with :class:" -"`~tempfile.TemporaryDirectory` to avoid a potential race condition." -msgstr "" - -#: ../build/NEWS:5516 -msgid "" -":issue:`44600`: Fix incorrect line numbers while tracing some failed " -"patterns in :ref:`match ` statements. Patch by Charles Burkland." -msgstr "" - -#: ../build/NEWS:5519 -msgid "" -":issue:`41180`: Add auditing events to the :mod:`marshal` module, and stop " -"raising ``code.__init__`` events for every unmarshalled code object. " -"Directly instantiated code objects will continue to raise an event, and " -"audit event handlers should inspect or collect the raw marshal data. This " -"reduces a significant performance overhead when loading from ``.pyc`` files." -msgstr "" - -#: ../build/NEWS:5526 -msgid "" -":issue:`44394`: Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) " -"to get the fix for the CVE-2013-0340 \"Billion Laughs\" vulnerability. This " -"copy is most used on Windows and macOS." -msgstr "" - -#: ../build/NEWS:5530 -msgid "" -":issue:`43124`: Made the internal ``putcmd`` function in :mod:`smtplib` " -"sanitize input for presence of ``\\r`` and ``\\n`` characters to avoid " -"(unlikely) command injection." -msgstr "" - -#: ../build/NEWS:5534 -msgid "" -":issue:`44022`: :mod:`http.client` now avoids infinitely reading potential " -"HTTP headers after a ``100 Continue`` status response from the server." -msgstr "" - -#: ../build/NEWS:5540 -msgid "" -":issue:`43760`: The number of hardware branches per instruction dispatch is " -"reduced from two to one by adding a special instruction for tracing. Patch " -"by Mark Shannon." -msgstr "" - -#: ../build/NEWS:5544 -msgid "" -":issue:`45061`: Add a deallocator to the bool type to detect refcount bugs " -"in C extensions which call Py_DECREF(Py_True) or Py_DECREF(Py_False) by " -"mistake. Detect also refcount bugs when the empty tuple singleton or the " -"Unicode empty string singleton is destroyed by mistake. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:5550 -msgid "" -":issue:`24076`: sum() was further optimised for summing up single digit " -"integers." -msgstr "" - -#: ../build/NEWS:5553 -msgid ":issue:`45190`: Update Unicode databases to Unicode 14.0.0." -msgstr "" - -#: ../build/NEWS:5555 -msgid ":issue:`45167`: Fix deepcopying of :class:`types.GenericAlias` objects." -msgstr "" - -#: ../build/NEWS:5557 -msgid "" -":issue:`45155`: :meth:`int.to_bytes` and :meth:`int.from_bytes` now take a " -"default value of ``\"big\"`` for the ``byteorder`` argument. :meth:`int." -"to_bytes` also takes a default value of ``1`` for the ``length`` argument." -msgstr "" - -#: ../build/NEWS:5562 -msgid "" -":issue:`44219`: Release the GIL while performing ``isatty`` system calls on " -"arbitrary file descriptors. In particular, this affects :func:`os.isatty`, :" -"func:`os.device_encoding` and :class:`io.TextIOWrapper`. By extension, :func:" -"`io.open` in text mode is also affected. This change solves a deadlock in :" -"func:`os.isatty`. Patch by Vincent Michel in :issue:`44219`." -msgstr "" - -#: ../build/NEWS:5568 -msgid "" -":issue:`44959`: Added fallback to extension modules with '.sl' suffix on HP-" -"UX" -msgstr "" - -#: ../build/NEWS:5570 -msgid "" -":issue:`45121`: Fix issue where ``Protocol.__init__`` raises " -"``RecursionError`` when it's called directly or via ``super()``. Patch " -"provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:5574 -msgid "" -":issue:`44348`: The deallocator function of the :exc:`BaseException` type " -"now uses the trashcan mechanism to prevent stack overflow. For example, when " -"a :exc:`RecursionError` instance is raised, it can be linked to another " -"RecursionError through the ``__context__`` attribute or the " -"``__traceback__`` attribute, and then a chain of exceptions is created. When " -"the chain is destroyed, nested deallocator function calls can crash with a " -"stack overflow if the chain is too long compared to the available stack " -"memory. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5583 -msgid "" -":issue:`45123`: Fix PyAiter_Check to only check for the __anext__ presence " -"(not for __aiter__). Rename PyAiter_Check to PyAIter_Check, " -"PyObject_GetAiter -> PyObject_GetAIter." -msgstr "" - -#: ../build/NEWS:5587 -msgid "" -":issue:`1514420`: Interpreter no longer attempts to open files with names in " -"angle brackets (like \"\" or \"\") when formatting an " -"exception." -msgstr "" - -#: ../build/NEWS:5591 -msgid "" -":issue:`41031`: Match C and Python code formatting of unprintable exceptions " -"and exceptions in the :mod:`__main__` module." -msgstr "" - -#: ../build/NEWS:5594 -msgid "" -":issue:`37330`: :func:`open`, :func:`io.open`, :func:`codecs.open` and :" -"class:`fileinput.FileInput` no longer accept ``'U'`` (\"universal newline\") " -"in the file mode. This flag was deprecated since Python 3.3. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:5599 -msgid "" -":issue:`45083`: When the interpreter renders an exception, its name now has " -"a complete qualname. Previously only the class name was concatenated to the " -"module name, which sometimes resulted in an incorrect full name being " -"displayed." -msgstr "" - -#: ../build/NEWS:5604 -msgid "" -"(This issue impacted only the C code exception rendering, the :mod:" -"`traceback` module was using qualname already)." -msgstr "" - -#: ../build/NEWS:5607 -msgid "" -":issue:`34561`: List sorting now uses the merge-ordering strategy from Munro " -"and Wild's ``powersort()``. Unlike the former strategy, this is provably " -"near-optimal in the entropy of the distribution of run lengths. Most uses of " -"``list.sort()`` probably won't see a significant time difference, but may " -"see significant improvements in cases where the former strategy was " -"exceptionally poor. However, as these are all fast linear-time " -"approximations to a problem that's inherently at best quadratic-time to " -"solve truly optimally, it's also possible to contrive cases where the former " -"strategy did better." -msgstr "" - -#: ../build/NEWS:5617 -msgid "" -":issue:`45056`: Compiler now removes trailing unused constants from " -"co_consts." -msgstr "" - -#: ../build/NEWS:5619 -msgid "" -":issue:`45020`: Add a new command line option, \"-X frozen_modules=[on|" -"off]\" to opt out of (or into) using optional frozen modules. This defaults " -"to \"on\" (or \"off\" if it's running out of the source tree)." -msgstr "" - -#: ../build/NEWS:5623 -msgid "" -":issue:`45012`: In :mod:`posix`, release GIL during ``stat()``, ``lstat()``, " -"and ``fstatat()`` syscalls made by :func:`os.DirEntry.stat`. Patch by " -"Stanisław Skonieczny." -msgstr "" - -#: ../build/NEWS:5627 -msgid "" -":issue:`45018`: Fixed pickling of range iterators that iterated for over " -"``2**32`` times." -msgstr "" - -#: ../build/NEWS:5630 -msgid "" -":issue:`45000`: A :exc:`SyntaxError` is now raised when trying to delete :" -"const:`__debug__`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5633 -msgid "" -":issue:`44963`: Implement ``send()`` and ``throw()`` methods for " -"``anext_awaitable`` objects. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5636 -msgid "" -":issue:`44962`: Fix a race in WeakKeyDictionary, WeakValueDictionary and " -"WeakSet when two threads attempt to commit the last pending removal. This " -"fixes asyncio.create_task and fixes a data loss in asyncio.run where " -"shutdown_asyncgens is not run" -msgstr "" - -#: ../build/NEWS:5641 -msgid "" -":issue:`24234`: Implement the :meth:`__bytes__` special method on the :class:" -"`bytes` type, so a bytes object ``b`` passes an ``isinstance(b, typing." -"SupportsBytes)`` check." -msgstr "" - -#: ../build/NEWS:5645 -msgid "" -":issue:`24234`: Implement the :meth:`__complex__` special method on the :" -"class:`complex` type, so a complex number ``z`` passes an ``isinstance(z, " -"typing.SupportsComplex)`` check." -msgstr "" - -#: ../build/NEWS:5649 -msgid "" -":issue:`44954`: Fixed a corner case bug where the result of ``float." -"fromhex('0x.8p-1074')`` was rounded the wrong way." -msgstr "" - -#: ../build/NEWS:5652 -msgid "" -":issue:`44947`: Refine the syntax error for trailing commas in import " -"statements. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5655 -msgid "" -":issue:`44945`: Specialize the BINARY_ADD instruction using the PEP 659 " -"machinery. Adds five new instructions:" -msgstr "" - -#: ../build/NEWS:5658 -msgid "BINARY_ADD_ADAPTIVE" -msgstr "" - -#: ../build/NEWS:5659 -msgid "BINARY_ADD_FLOAT" -msgstr "" - -#: ../build/NEWS:5660 -msgid "BINARY_ADD_INT" -msgstr "" - -#: ../build/NEWS:5661 -msgid "BINARY_ADD_UNICODE" -msgstr "" - -#: ../build/NEWS:5662 -msgid "BINARY_ADD_UNICODE_INPLACE_FAST" -msgstr "" - -#: ../build/NEWS:5664 -msgid "" -":issue:`44929`: Fix some edge cases of ``enum.Flag`` string representation " -"in the REPL. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5667 -msgid ":issue:`44914`: Class version tags are no longer recycled." -msgstr "" - -#: ../build/NEWS:5669 -msgid "" -"This means that a version tag serves as a unique identifier for the state of " -"a class. We rely on this for effective specialization of the LOAD_ATTR and " -"other instructions." -msgstr "" - -#: ../build/NEWS:5673 -msgid "" -":issue:`44698`: Restore behaviour of complex exponentiation with integer-" -"valued exponent of type :class:`float` or :class:`complex`." -msgstr "" - -#: ../build/NEWS:5676 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5680 -msgid ":issue:`44900`: Add five superinstructions for PEP 659 quickening:" -msgstr "" - -#: ../build/NEWS:5682 -msgid "LOAD_FAST LOAD_FAST" -msgstr "" - -#: ../build/NEWS:5683 -msgid "STORE_FAST LOAD_FAST" -msgstr "" - -#: ../build/NEWS:5684 -msgid "LOAD_FAST LOAD_CONST" -msgstr "" - -#: ../build/NEWS:5685 -msgid "LOAD_CONST LOAD_FAST" -msgstr "" - -#: ../build/NEWS:5686 -msgid "STORE_FAST STORE_FAST" -msgstr "" - -#: ../build/NEWS:5688 -msgid "" -":issue:`44889`: Initial implementation of adaptive specialization of " -"``LOAD_METHOD``. The following specialized forms were added:" -msgstr "" - -#: ../build/NEWS:5691 -msgid "``LOAD_METHOD_CACHED``" -msgstr "" - -#: ../build/NEWS:5693 -msgid "``LOAD_METHOD_MODULE``" -msgstr "" - -#: ../build/NEWS:5695 -msgid "``LOAD_METHOD_CLASS``" -msgstr "" - -#: ../build/NEWS:5697 -msgid "" -":issue:`44890`: Specialization stats are always collected in debug builds." -msgstr "" - -#: ../build/NEWS:5699 -msgid "" -":issue:`44885`: Correct the ast locations of f-strings with format specs and " -"repeated expressions. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5702 -msgid "" -":issue:`44878`: Remove the loop from the bytecode interpreter. All " -"instructions end with a DISPATCH macro, so the loop is now redundant." -msgstr "" - -#: ../build/NEWS:5705 -msgid "" -":issue:`44878`: Remove switch statement for interpreter loop when using " -"computed gotos. This makes sure that we only have one dispatch table in the " -"interpreter." -msgstr "" - -#: ../build/NEWS:5709 -msgid "" -":issue:`44874`: Deprecate the old trashcan macros " -"(``Py_TRASHCAN_SAFE_BEGIN``/``Py_TRASHCAN_SAFE_END``). They should be " -"replaced by the new macros ``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``." -msgstr "" - -#: ../build/NEWS:5713 -msgid "" -":issue:`44872`: Use new trashcan macros (Py_TRASHCAN_BEGIN/END) in " -"frameobject.c instead of the old ones (Py_TRASHCAN_SAFE_BEGIN/END)." -msgstr "" - -#: ../build/NEWS:5716 -msgid "" -":issue:`33930`: Fix segmentation fault with deep recursion when cleaning " -"method objects. Patch by Augusto Goulart and Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5719 -msgid "" -":issue:`25782`: Fix bug where ``PyErr_SetObject`` hangs when the current " -"exception has a cycle in its context chain." -msgstr "" - -#: ../build/NEWS:5722 -msgid "" -":issue:`44856`: Fix reference leaks in the error paths of ``update_bases()`` " -"and ``__build_class__``. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5725 -msgid "" -":issue:`44826`: Initial implementation of adaptive specialization of " -"STORE_ATTR" -msgstr "" - -#: ../build/NEWS:5727 -msgid "Three specialized forms of STORE_ATTR are added:" -msgstr "" - -#: ../build/NEWS:5729 -msgid "STORE_ATTR_SLOT" -msgstr "" - -#: ../build/NEWS:5731 -msgid "STORE_ATTR_SPLIT_KEYS" -msgstr "" - -#: ../build/NEWS:5733 -msgid "STORE_ATTR_WITH_HINT" -msgstr "" - -#: ../build/NEWS:5735 -msgid "" -":issue:`44838`: Fixed a bug that was causing the parser to raise an " -"incorrect custom :exc:`SyntaxError` for invalid 'if' expressions. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5739 -msgid "" -":issue:`44821`: Create instance dictionaries (__dict__) eagerly, to improve " -"regularity of object layout and assist specialization." -msgstr "" - -#: ../build/NEWS:5742 -msgid "" -":issue:`44792`: Improve syntax errors for if expressions. Patch by Miguel " -"Brito" -msgstr "" - -#: ../build/NEWS:5744 -msgid "" -":issue:`34013`: Generalize the invalid legacy statement custom error message " -"(like the one generated when \"print\" is called without parentheses) to " -"include more generic expressions. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5748 -msgid ":issue:`44732`: Rename ``types.Union`` to ``types.UnionType``." -msgstr "" - -#: ../build/NEWS:5750 -msgid "" -":issue:`44725`: Expose specialization stats in python via :func:`_opcode." -"get_specialization_stats`." -msgstr "" - -#: ../build/NEWS:5753 -msgid "" -":issue:`44717`: Improve AttributeError on circular imports of submodules." -msgstr "" - -#: ../build/NEWS:5755 -msgid "" -":issue:`44698`: Fix undefined behaviour in complex object exponentiation." -msgstr "" - -#: ../build/NEWS:5757 -msgid "" -":issue:`44653`: Support :mod:`typing` types in parameter substitution in the " -"union type." -msgstr "" - -#: ../build/NEWS:5760 -msgid "" -":issue:`44676`: Add ability to serialise ``types.Union`` objects. Patch " -"provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:5763 -msgid "" -":issue:`44633`: Parameter substitution of the union type with wrong types " -"now raises ``TypeError`` instead of returning ``NotImplemented``." -msgstr "" - -#: ../build/NEWS:5766 -msgid "" -":issue:`44661`: Update ``property_descr_set`` to use vectorcall if possible. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5769 -msgid "" -":issue:`44662`: Add ``__module__`` to ``types.Union``. This also fixes " -"``types.Union`` issues with ``typing.Annotated``. Patch provided by Yurii " -"Karabas." -msgstr "" - -#: ../build/NEWS:5773 -msgid "" -":issue:`44655`: Include the name of the type in unset __slots__ attribute " -"errors. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5776 -msgid "" -":issue:`44655`: Don't include a missing attribute with the same name as the " -"failing one when offering suggestions for missing attributes. Patch by Pablo " -"Galindo" -msgstr "" - -#: ../build/NEWS:5780 -msgid "" -":issue:`44646`: Fix the hash of the union type: it no longer depends on the " -"order of arguments." -msgstr "" - -#: ../build/NEWS:5783 -msgid "" -":issue:`44636`: Collapse union of equal types. E.g. the result of ``int | " -"int`` is now ``int``. Fix comparison of the union type with non-hashable " -"objects. E.g. ``int | str == {}`` no longer raises a TypeError." -msgstr "" - -#: ../build/NEWS:5787 -msgid "" -":issue:`44611`: On Windows, :func:`os.urandom`: uses BCryptGenRandom API " -"instead of CryptGenRandom API which is deprecated from Microsoft Windows " -"API. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:5791 -msgid "" -":issue:`44635`: Convert ``None`` to ``type(None)`` in the union type " -"constructor." -msgstr "" - -#: ../build/NEWS:5794 -msgid ":issue:`26280`: Implement adaptive specialization for BINARY_SUBSCR" -msgstr "" - -#: ../build/NEWS:5796 -msgid "Three specialized forms of BINARY_SUBSCR are added:" -msgstr "" - -#: ../build/NEWS:5798 -msgid "BINARY_SUBSCR_LIST_INT" -msgstr "" - -#: ../build/NEWS:5800 -msgid "BINARY_SUBSCR_TUPLE_INT" -msgstr "" - -#: ../build/NEWS:5802 -msgid "BINARY_SUBSCR_DICT" -msgstr "" - -#: ../build/NEWS:5804 -msgid "" -":issue:`44589`: Mapping patterns in ``match`` statements with two or more " -"equal literal keys will now raise a :exc:`SyntaxError` at compile-time." -msgstr "" - -#: ../build/NEWS:5807 -msgid "" -":issue:`44606`: Fix ``__instancecheck__`` and ``__subclasscheck__`` for the " -"union type." -msgstr "" - -#: ../build/NEWS:5810 -msgid "" -":issue:`42073`: The ``@classmethod`` decorator can now wrap other " -"classmethod-like descriptors." -msgstr "" - -#: ../build/NEWS:5813 -msgid "" -":issue:`41972`: Tuned the string-searching algorithm of fastsearch.h to have " -"a shorter inner loop for most cases." -msgstr "" - -#: ../build/NEWS:5816 -msgid "" -":issue:`44590`: All necessary data for executing a Python function (local " -"variables, stack, etc) is now kept in a per-thread stack. Frame objects are " -"lazily allocated on demand. This increases performance by about 7% on the " -"standard benchmark suite. Introspection and debugging are unaffected as " -"frame objects are always available when needed. Patch by Mark Shannon." -msgstr "" - -#: ../build/NEWS:5822 -msgid "" -":issue:`44584`: The threading debug (:envvar:`PYTHONTHREADDEBUG` environment " -"variable) is deprecated in Python 3.10 and will be removed in Python 3.12. " -"This feature requires a debug build of Python. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5826 -msgid "" -":issue:`43895`: An obsolete internal cache of shared object file handles " -"added in 1995 that attempted, but did not guarantee, that a .so would not be " -"dlopen'ed twice to work around flaws in mid-1990s posix-ish operating " -"systems has been removed from dynload_shlib.c." -msgstr "" - -#: ../build/NEWS:5831 -msgid "" -":issue:`44490`: :mod:`typing` now searches for type parameters in ``types." -"Union`` objects. ``get_type_hints`` will also properly resolve annotations " -"with nested ``types.Union`` objects. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:5836 -msgid "" -":issue:`43950`: Code objects can now provide the column information for " -"instructions when available. This is levaraged during traceback printing to " -"show the expressions responsible for errors." -msgstr "" - -#: ../build/NEWS:5840 -msgid "" -"Contributed by Pablo Galindo, Batuhan Taskaya and Ammar Askar as part of :" -"pep:`657`." -msgstr "" - -#: ../build/NEWS:5843 -msgid "" -":issue:`44562`: Remove uses of :c:func:`PyObject_GC_Del` in error path when " -"initializing :class:`types.GenericAlias`." -msgstr "" - -#: ../build/NEWS:5846 -msgid "" -":issue:`41486`: Fix a memory consumption and copying performance regression " -"in earlier 3.10 beta releases if someone used an output buffer larger than " -"4GiB with zlib.decompress on input data that expands that large." -msgstr "" - -#: ../build/NEWS:5850 -msgid "" -":issue:`43908`: Heap types with the :const:`Py_TPFLAGS_IMMUTABLETYPE` flag " -"can now inherit the :pep:`590` vectorcall protocol. Previously, this was " -"only possible for :ref:`static types `. Patch by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:5855 -msgid "" -":issue:`44553`: Implement GC methods for ``types.Union`` to break reference " -"cycles and prevent memory leaks." -msgstr "" - -#: ../build/NEWS:5858 -msgid "" -":issue:`44490`: Add ``__parameters__`` attribute and ``__getitem__`` " -"operator to ``types.Union``. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:5861 -msgid "" -":issue:`44523`: Remove the pass-through for :func:`hash` of :class:`weakref." -"proxy` objects to prevent unintended consequences when the original referred " -"object dies while the proxy is part of a hashable object. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:5866 -msgid "" -":issue:`44483`: Fix a crash in ``types.Union`` objects when creating a union " -"of an object with bad ``__module__`` field." -msgstr "" - -#: ../build/NEWS:5869 -msgid "" -":issue:`44486`: Modules will always have a dictionary, even when created by " -"``types.ModuleType.__new__()``" -msgstr "" - -#: ../build/NEWS:5872 -msgid "" -":issue:`44472`: Fix ltrace functionality when exceptions are raised. Patch " -"by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5875 -msgid "" -":issue:`12022`: A :exc:`TypeError` is now raised instead of an :exc:" -"`AttributeError` in :keyword:`with` and :keyword:`async with` statements for " -"objects which do not support the :term:`context manager` or :term:" -"`asynchronous context manager` protocols correspondingly." -msgstr "" - -#: ../build/NEWS:5880 -msgid "" -":issue:`44297`: Make sure that the line number is set when entering a " -"comprehension scope. Ensures that backtraces inclusing generator expressions " -"show the correct line number." -msgstr "" - -#: ../build/NEWS:5884 -msgid "" -":issue:`44456`: Improve the syntax error when mixing positional and keyword " -"patterns. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5887 -msgid "" -":issue:`44409`: Fix error location information for tokenizer errors raised " -"on initialization of the tokenizer. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5890 -msgid "" -":issue:`44396`: Fix a possible crash in the tokenizer when raising syntax " -"errors for unclosed strings. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5893 -msgid "" -":issue:`44376`: Exact integer exponentiation (like ``i**2`` or ``pow(i, " -"2)``) with a small exponent is much faster, due to reducing overhead in such " -"cases." -msgstr "" - -#: ../build/NEWS:5897 -msgid "" -":issue:`44313`: Directly imported objects and modules (through import and " -"from import statements) don't generate ``LOAD_METHOD``/``CALL_METHOD`` for " -"directly accessed objects on their namespace. They now use the regular " -"``LOAD_ATTR``/``CALL_FUNCTION``." -msgstr "" - -#: ../build/NEWS:5902 -msgid ":issue:`44338`: Implement adaptive specialization for LOAD_GLOBAL" -msgstr "" - -#: ../build/NEWS:5904 -msgid "Two specialized forms of LOAD_GLOBAL are added:" -msgstr "" - -#: ../build/NEWS:5906 -msgid "LOAD_GLOBAL_MODULE" -msgstr "" - -#: ../build/NEWS:5908 -msgid "LOAD_GLOBAL_BUILTIN" -msgstr "" - -#: ../build/NEWS:5910 -msgid "" -":issue:`44368`: Improve syntax errors for invalid \"as\" targets. Patch by " -"Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5913 -msgid "" -":issue:`44349`: Fix an edge case when displaying text from files with " -"encoding in syntax errors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5916 -msgid "" -":issue:`44337`: Initial implementation of adaptive specialization of " -"LOAD_ATTR" -msgstr "" - -#: ../build/NEWS:5918 -msgid "Four specialized forms of LOAD_ATTR are added:" -msgstr "" - -#: ../build/NEWS:5920 -msgid "LOAD_ATTR_SLOT" -msgstr "" - -#: ../build/NEWS:5922 -msgid "LOAD_ATTR_SPLIT_KEYS" -msgstr "" - -#: ../build/NEWS:5924 -msgid "LOAD_ATTR_WITH_HINT" -msgstr "" - -#: ../build/NEWS:5926 -msgid "LOAD_ATTR_MODULE" -msgstr "" - -#: ../build/NEWS:5928 -msgid "" -":issue:`44335`: Fix a regression when identifying incorrect characters in " -"syntax errors. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5931 -msgid "" -":issue:`43693`: Computation of the offsets of cell variables is done in the " -"compiler instead of at runtime. This reduces the overhead of handling cell " -"and free variables, especially in the case where a variable is both an " -"argument and cell variable." -msgstr "" - -#: ../build/NEWS:5936 -msgid "" -":issue:`44317`: Improve tokenizer error with improved locations. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5939 -msgid "" -":issue:`44304`: Fix a crash in the :mod:`sqlite3` module that happened when " -"the garbage collector clears :class:`sqlite.Statement` objects. Patch by " -"Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5943 -msgid "" -":issue:`44305`: Improve error message for ``try`` blocks without ``except`` " -"or ``finally`` blocks. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:5946 -msgid "" -":issue:`43413`: Constructors of subclasses of some builtin classes (e.g. :" -"class:`tuple`, :class:`list`, :class:`frozenset`) no longer accept arbitrary " -"keyword arguments. [reverted in 3.11a4] Subclass of :class:`set` can now " -"define a ``__new__()`` method with additional keyword parameters without " -"overriding also ``__init__()``." -msgstr "" - -#: ../build/NEWS:5952 -msgid "" -":issue:`43667`: Improve Unicode support in non-UTF locales on Oracle " -"Solaris. This issue does not affect other Solaris systems." -msgstr "" - -#: ../build/NEWS:5955 -msgid "" -":issue:`43693`: A new opcode MAKE_CELL has been added that effectively moves " -"some of the work done on function entry into the compiler and into the eval " -"loop. In addition to creating the required cell objects, the new opcode " -"converts relevant arguments (and other locals) to cell variables on function " -"entry." -msgstr "" - -#: ../build/NEWS:5961 -msgid "" -":issue:`44232`: Fix a regression in :func:`type` when a metaclass raises an " -"exception. The C function :c:func:`type_new` must properly report the " -"exception when a metaclass constructor raises an exception and the winner " -"class is not the metaclass. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5966 -msgid "" -":issue:`44201`: Avoid side effects of checking for specialized syntax errors " -"in the REPL that was causing it to ask for extra tokens after a syntax error " -"had been detected. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5970 -msgid "" -":issue:`43693`: ``PyCodeObject`` gained ``co_fastlocalnames`` and " -"``co_fastlocalkinds`` as the authoritative source of fast locals info. " -"Marshaled code objects have changed accordingly." -msgstr "" - -#: ../build/NEWS:5974 -msgid "" -":issue:`44184`: Fix a crash at Python exit when a deallocator function " -"removes the last strong reference to a heap type. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:5977 -msgid "" -":issue:`44187`: Implement quickening in the interpreter. This offers no " -"advantages as yet, but is an enabler of future optimizations. See PEP 659 " -"for full explanation." -msgstr "" - -#: ../build/NEWS:5981 -msgid "" -":issue:`44180`: The parser doesn't report generic syntax errors that happen " -"in a position further away that the one it reached in the first pass. Patch " -"by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5985 -msgid "" -":issue:`44168`: Fix error message in the parser involving keyword arguments " -"with invalid expressions. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:5988 -msgid "" -":issue:`44156`: String caches in ``compile.c`` are now subinterpreter " -"compatible." -msgstr "" - -#: ../build/NEWS:5991 -msgid "" -":issue:`44143`: Fixed a crash in the parser that manifest when raising " -"tokenizer errors when an existing exception was present. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:5995 -msgid "" -":issue:`44032`: Move 'fast' locals and other variables from the frame object " -"to a per-thread datastack." -msgstr "" - -#: ../build/NEWS:5998 -msgid "" -":issue:`44114`: Fix incorrect dictkeys_reversed and dictitems_reversed " -"function signatures in C code, which broke webassembly builds." -msgstr "" - -#: ../build/NEWS:6001 -msgid ":issue:`44110`: Improve :func:`str.__getitem__` error message" -msgstr "" - -#: ../build/NEWS:6003 -msgid "" -":issue:`26110`: Add ``CALL_METHOD_KW`` opcode to speed up method calls with " -"keyword arguments. Idea originated from PyPy. A side effect is executing " -"``CALL_METHOD`` is now branchless in the evaluation loop." -msgstr "" - -#: ../build/NEWS:6007 -msgid "" -":issue:`28307`: Compiler now optimizes simple C-style formatting with " -"literal format containing only format codes %s, %r and %a by converting them " -"to f-string expressions." -msgstr "" - -#: ../build/NEWS:6011 -msgid "" -":issue:`43149`: Correct the syntax error message regarding multiple " -"exception types to not refer to \"exception groups\". Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:6014 -msgid "" -":issue:`43822`: The parser will prioritize tokenizer errors over custom " -"syntax errors when raising exceptions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:6017 -msgid ":issue:`40222`: \"Zero cost\" exception handling." -msgstr "" - -#: ../build/NEWS:6019 -msgid "Uses a lookup table to determine how to handle exceptions." -msgstr "" - -#: ../build/NEWS:6020 -msgid "" -"Removes SETUP_FINALLY and POP_TOP block instructions, eliminating the " -"runtime overhead of try statements." -msgstr "" - -#: ../build/NEWS:6021 -msgid "Reduces the size of the frame object by about 60%." -msgstr "" - -#: ../build/NEWS:6023 -msgid "Patch by Mark Shannon" -msgstr "" - -#: ../build/NEWS:6025 -msgid "" -":issue:`43918`: Document the signature and ``default`` argument in the " -"docstring of the new ``anext`` builtin." -msgstr "" - -#: ../build/NEWS:6028 -msgid "" -":issue:`43833`: Emit a deprecation warning if the numeric literal is " -"immediately followed by one of keywords: and, else, for, if, in, is, or. " -"Raise a syntax error with more informative message if it is immediately " -"followed by other keyword or identifier." -msgstr "" - -#: ../build/NEWS:6033 -msgid "" -":issue:`43879`: Add native_thread_id to PyThreadState. Patch by Gabriele N. " -"Tornetta." -msgstr "" - -#: ../build/NEWS:6036 -msgid "" -":issue:`43693`: Compute cell offsets relative to locals in compiler. Allows " -"the interpreter to treats locals and cells a single array, which is slightly " -"more efficient. Also make the LOAD_CLOSURE opcode an alias for LOAD_FAST. " -"Preserving LOAD_CLOSURE helps keep bytecode a bit more readable." -msgstr "" - -#: ../build/NEWS:6041 -msgid "" -":issue:`17792`: More accurate error messages for access of unbound locals or " -"free vars." -msgstr "" - -#: ../build/NEWS:6044 -msgid ":issue:`28146`: Fix a confusing error message in :func:`str.format`." -msgstr "" - -#: ../build/NEWS:6046 -msgid "" -":issue:`11105`: When compiling :class:`ast.AST` objects with recursive " -"references through :func:`compile`, the interpreter doesn't crash anymore " -"instead it raises a :exc:`RecursionError`." -msgstr "" - -#: ../build/NEWS:6050 -msgid "" -":issue:`39091`: Fix crash when using passing a non-exception to a " -"generator's ``throw()`` method. Patch by Noah Oxer" -msgstr "" - -#: ../build/NEWS:6053 -msgid "" -":issue:`33346`: Asynchronous comprehensions are now allowed inside " -"comprehensions in asynchronous functions. Outer comprehensions implicitly " -"become asynchronous." -msgstr "" - -#: ../build/NEWS:6060 -msgid "" -":issue:`45371`: Fix clang rpath issue in :mod:`distutils`. The UnixCCompiler " -"now uses correct clang option to add a runtime library directory (rpath) to " -"a shared library." -msgstr "" - -#: ../build/NEWS:6064 -msgid "" -":issue:`45329`: Fix freed memory access in :class:`pyexpat.xmlparser` when " -"building it with an installed expat library <= 2.2.0." -msgstr "" - -#: ../build/NEWS:6067 -msgid "" -":issue:`41710`: On Unix, if the ``sem_clockwait()`` function is available in " -"the C library (glibc 2.30 and newer), the :meth:`threading.Lock.acquire` " -"method now uses the monotonic clock (:data:`time.CLOCK_MONOTONIC`) for the " -"timeout, rather than using the system clock (:data:`time.CLOCK_REALTIME`), " -"to not be affected by system clock changes. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6073 -msgid "" -":issue:`1596321`: Fix the :func:`threading._shutdown` function when the :mod:" -"`threading` module was imported first from a thread different than the main " -"thread: no longer log an error at Python exit." -msgstr "" - -#: ../build/NEWS:6077 -msgid "" -":issue:`45274`: Fix a race condition in the :meth:`Thread.join() ` method of the :mod:`threading` module. If the function is " -"interrupted by a signal and the signal handler raises an exception, make " -"sure that the thread remains in a consistent state to prevent a deadlock. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6083 -msgid "" -":issue:`21302`: In Unix operating systems, :func:`time.sleep` now uses the " -"``nanosleep()`` function, if ``clock_nanosleep()`` is not available but " -"``nanosleep()`` is available. ``nanosleep()`` allows to sleep with " -"nanosecond precision." -msgstr "" - -#: ../build/NEWS:6088 -msgid "" -":issue:`21302`: On Windows, :func:`time.sleep` now uses a waitable timer " -"which has a resolution of 100 nanoseconds (10\\ :sup:`-7` seconds). " -"Previously, it had a resolution of 1 millisecond (10\\ :sup:`-3` seconds). " -"Patch by Benjamin Szőke and Victor Stinner." -msgstr "" - -#: ../build/NEWS:6093 -msgid "" -":issue:`45238`: Fix :meth:`unittest.IsolatedAsyncioTestCase.debug`: it runs " -"now asynchronous methods and callbacks." -msgstr "" - -#: ../build/NEWS:6096 -msgid "" -":issue:`36674`: :meth:`unittest.TestCase.debug` raises now a :class:" -"`unittest.SkipTest` if the class or the test method are decorated with the " -"skipping decorator." -msgstr "" - -#: ../build/NEWS:6100 -msgid "" -":issue:`45235`: Fix an issue where argparse would not preserve values in a " -"provided namespace when using a subparser with defaults." -msgstr "" - -#: ../build/NEWS:6103 -msgid "" -":issue:`45183`: Have zipimport.zipimporter.find_spec() not raise an " -"exception when the underlying zip file has been deleted and the internal " -"cache has been reset via invalidate_cache()." -msgstr "" - -#: ../build/NEWS:6107 -msgid "" -":issue:`45234`: Fixed a regression in :func:`~shutil.copyfile`, :func:" -"`~shutil.copy`, :func:`~shutil.copy2` raising :exc:`FileNotFoundError` when " -"source is a directory, which should raise :exc:`IsADirectoryError`" -msgstr "" - -#: ../build/NEWS:6112 -msgid "" -":issue:`45228`: Fix stack buffer overflow in parsing J1939 network address." -msgstr "" - -#: ../build/NEWS:6114 -msgid ":issue:`45225`: use map function instead of genexpr in capwords." -msgstr "" - -#: ../build/NEWS:6116 -msgid "" -":issue:`42135`: Fix typo: ``importlib.find_loader`` is really slated for " -"removal in Python 3.12 not 3.10, like the others in PR 25169." -msgstr "" - -#: ../build/NEWS:6121 -msgid "" -":issue:`20524`: Improves error messages on ``.format()`` operation for " -"``str``, ``float``, ``int``, and ``complex``. New format now shows the " -"problematic pattern and the object type." -msgstr "" - -#: ../build/NEWS:6125 -msgid "" -":issue:`45168`: Change :func:`dis.dis` output to omit op arg values that " -"cannot be resolved due to ``co_consts``, ``co_names`` etc not being " -"provided. Previously the oparg itself was repeated in the value field, which " -"is not useful and can be confusing." -msgstr "" - -#: ../build/NEWS:6130 -msgid "" -":issue:`21302`: In Unix operating systems, :func:`time.sleep` now uses the " -"``clock_nanosleep()`` function, if available, which allows to sleep for an " -"interval specified with nanosecond precision." -msgstr "" - -#: ../build/NEWS:6134 -msgid "" -":issue:`45173`: Remove from the :mod:`configparser` module: the :class:" -"`SafeConfigParser` class, the :attr:`filename` property of the :class:" -"`ParsingError` class, the :meth:`readfp` method of the :class:`ConfigParser` " -"class, deprecated since Python 3.2." -msgstr "" - -#: ../build/NEWS:6141 -msgid "" -":issue:`44987`: Pure ASCII strings are now normalized in constant time by :" -"func:`unicodedata.normalize`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6144 -msgid "" -":issue:`35474`: Calling :func:`mimetypes.guess_all_extensions` with " -"``strict=False`` no longer affects the result of the following call with " -"``strict=True``. Also, mutating the returned list no longer affects the " -"global state." -msgstr "" - -#: ../build/NEWS:6149 -msgid "" -":issue:`45166`: :func:`typing.get_type_hints` now works with :data:`~typing." -"Final` wrapped in :class:`~typing.ForwardRef`." -msgstr "" - -#: ../build/NEWS:6152 -msgid ":issue:`45162`: Remove many old deprecated :mod:`unittest` features:" -msgstr "" - -#: ../build/NEWS:6154 -msgid "" -"\"``fail*``\" and \"``assert*``\" aliases of :class:`~unittest.TestCase` " -"methods." -msgstr "" - -#: ../build/NEWS:6155 -msgid "" -"Broken from start :class:`~unittest.TestCase` method " -"``assertDictContainsSubset()``." -msgstr "" - -#: ../build/NEWS:6156 -msgid "" -"Ignored :meth:` TestLoader." -"loadTestsFromModule` parameter *use_load_tests*." -msgstr "" - -#: ../build/NEWS:6157 -msgid "Old alias ``_TextTestResult`` of :class:`~unittest.TextTestResult`." -msgstr "" - -#: ../build/NEWS:6159 -msgid "" -":issue:`38371`: Remove the deprecated ``split()`` method of :class:`_tkinter." -"TkappType`. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6162 -msgid "" -":issue:`20499`: Improve the speed and accuracy of statistics.pvariance()." -msgstr "" - -#: ../build/NEWS:6164 -msgid "" -":issue:`45132`: Remove :meth:`__getitem__` methods of :class:`xml.dom." -"pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:" -"`fileinput.FileInput`, deprecated since Python 3.9." -msgstr "" - -#: ../build/NEWS:6170 -msgid "" -":issue:`45129`: Due to significant security concerns, the *reuse_address* " -"parameter of :meth:`asyncio.loop.create_datagram_endpoint`, disabled in " -"Python 3.9, is now entirely removed. This is because of the behavior of the " -"socket option ``SO_REUSEADDR`` in UDP." -msgstr "" - -#: ../build/NEWS:6177 -msgid "" -":issue:`45124`: The ``bdist_msi`` command, deprecated in Python 3.9, is now " -"removed." -msgstr "" - -#: ../build/NEWS:6180 -msgid "Use ``bdist_wheel`` (wheel packages) instead." -msgstr "" - -#: ../build/NEWS:6184 -msgid "" -":issue:`30856`: :class:`unittest.TestResult` methods :meth:`~unittest." -"TestResult.addFailure`, :meth:`~unittest.TestResult.addError`, :meth:" -"`~unittest.TestResult.addSkip` and :meth:`~unittest.TestResult.addSubTest` " -"are now called immediately after raising an exception in test or finishing a " -"subtest. Previously they were called only after finishing the test clean up." -msgstr "" - -#: ../build/NEWS:6192 -msgid "" -":issue:`45034`: Changes how error is formatted for ``struct.pack`` with " -"``'H'`` and ``'h'`` modes and too large / small numbers. Now it shows the " -"actual numeric limits, while previously it was showing arithmetic " -"expressions." -msgstr "" - -#: ../build/NEWS:6196 -msgid "" -":issue:`25894`: :mod:`unittest` now always reports skipped and failed " -"subtests separately: separate characters in default mode and separate lines " -"in verbose mode. Also the test description is now output for errors in test " -"method, class and module cleanups." -msgstr "" - -#: ../build/NEWS:6201 -msgid "" -":issue:`45081`: Fix issue when dataclasses that inherit from ``typing." -"Protocol`` subclasses have wrong ``__init__``. Patch provided by Yurii " -"Karabas." -msgstr "" - -#: ../build/NEWS:6205 -msgid "" -":issue:`45085`: The ``binhex`` module, deprecated in Python 3.9, is now " -"removed. The following :mod:`binascii` functions, deprecated in Python 3.9, " -"are now also removed:" -msgstr "" - -#: ../build/NEWS:6209 -msgid "``a2b_hqx()``, ``b2a_hqx()``;" -msgstr "" - -#: ../build/NEWS:6210 -msgid "``rlecode_hqx()``, ``rledecode_hqx()``." -msgstr "" - -#: ../build/NEWS:6212 -msgid "The :func:`binascii.crc_hqx` function remains available." -msgstr "" - -#: ../build/NEWS:6216 -msgid "" -":issue:`40360`: The :mod:`lib2to3` package is now deprecated and may not be " -"able to parse Python 3.10 or newer. See the :pep:`617` (New PEG parser for " -"CPython). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6220 -msgid "" -":issue:`45075`: Rename :meth:`traceback.StackSummary.format_frame` to :meth:" -"`traceback.StackSummary.format_frame_summary`. This method was added for " -"3.11 so it was not released yet." -msgstr "" - -#: ../build/NEWS:6224 -msgid "Updated code and docs to better distinguish frame and FrameSummary." -msgstr "" - -#: ../build/NEWS:6226 -msgid "" -":issue:`31299`: Add option to completely drop frames from a traceback by " -"returning ``None`` from a :meth:`~traceback.StackSummary.format_frame` " -"override." -msgstr "" - -#: ../build/NEWS:6230 -msgid "" -":issue:`41620`: :meth:`~unittest.TestCase.run` now always return a :class:" -"`~unittest.TestResult` instance. Previously it returned ``None`` if the test " -"class or method was decorated with a skipping decorator." -msgstr "" - -#: ../build/NEWS:6234 -msgid "" -":issue:`45021`: Fix a potential deadlock at shutdown of forked children when " -"using :mod:`concurrent.futures` module" -msgstr "" - -#: ../build/NEWS:6237 -msgid "" -":issue:`43913`: Fix bugs in cleaning up classes and modules in :mod:" -"`unittest`:" -msgstr "" - -#: ../build/NEWS:6239 -msgid "" -"Functions registered with :func:`~unittest.addModuleCleanup` were not called " -"unless the user defines ``tearDownModule()`` in their test module." -msgstr "" - -#: ../build/NEWS:6240 -msgid "" -"Functions registered with :meth:`~unittest.TestCase.addClassCleanup` were " -"not called if ``tearDownClass`` is set to ``None``." -msgstr "" - -#: ../build/NEWS:6241 -msgid "" -"Buffering in :class:`~unittest.TestResult` did not work with functions " -"registered with ``addClassCleanup()`` and ``addModuleCleanup()``." -msgstr "" - -#: ../build/NEWS:6242 -msgid "" -"Errors in functions registered with ``addClassCleanup()`` and " -"``addModuleCleanup()`` were not handled correctly in buffered and debug " -"modes." -msgstr "" - -#: ../build/NEWS:6243 -msgid "" -"Errors in ``setUpModule()`` and functions registered with " -"``addModuleCleanup()`` were reported in wrong order." -msgstr "" - -#: ../build/NEWS:6244 -msgid "And several lesser bugs." -msgstr "" - -#: ../build/NEWS:6246 -msgid "" -":issue:`45030`: Fix integer overflow in pickling and copying the range " -"iterator." -msgstr "" - -#: ../build/NEWS:6249 -msgid "" -":issue:`45001`: Made email date parsing more robust against malformed input, " -"namely a whitespace-only ``Date:`` header. Patch by Wouter Bolsterlee." -msgstr "" - -#: ../build/NEWS:6252 -msgid "" -":issue:`45010`: Remove support of special method ``__div__`` in :mod:" -"`unittest.mock`. It is not used in Python 3." -msgstr "" - -#: ../build/NEWS:6255 -msgid "" -":issue:`39218`: Improve accuracy of variance calculations by using ``x*x`` " -"instead of ``x**2``." -msgstr "" - -#: ../build/NEWS:6258 -msgid "" -":issue:`43613`: Improve the speed of :func:`gzip.compress` and :func:`gzip." -"decompress` by compressing and decompressing at once in memory instead of in " -"a streamed fashion." -msgstr "" - -#: ../build/NEWS:6262 -msgid "" -":issue:`37596`: Ensure that :class:`set` and :class:`frozenset` objects are " -"always :mod:`marshalled ` reproducibly." -msgstr "" - -#: ../build/NEWS:6265 -msgid "" -":issue:`44019`: A new function ``operator.call`` has been added, such that " -"``operator.call(obj, *args, **kwargs) == obj(*args, **kwargs)``." -msgstr "" - -#: ../build/NEWS:6268 -msgid "" -":issue:`42255`: :class:`webbrowser.MacOSX` is deprecated and will be removed " -"in Python 3.13. It is untested and undocumented and also not used by " -"webbrowser itself. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6272 -msgid "" -":issue:`44955`: Method :meth:`~unittest.TestResult.stopTestRun` is now " -"always called in pair with method :meth:`~unittest.TestResult.startTestRun` " -"for :class:`~unittest.TestResult` objects implicitly created in :meth:" -"`~unittest.TestCase.run`. Previously it was not called for test methods and " -"classes decorated with a skipping decorator." -msgstr "" - -#: ../build/NEWS:6278 -msgid "" -":issue:`39039`: tarfile.open raises :exc:`~tarfile.ReadError` when a zlib " -"error occurs during file extraction." -msgstr "" - -#: ../build/NEWS:6281 -msgid "" -":issue:`44935`: :mod:`subprocess` on Solaris now also uses :func:`os." -"posix_spawn()` for better performance." -msgstr "" - -#: ../build/NEWS:6284 -msgid "" -":issue:`44911`: :class:`~unittest.IsolatedAsyncioTestCase` will no longer " -"throw an exception while cancelling leaked tasks. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:6287 -msgid "" -":issue:`41322`: Added ``DeprecationWarning`` for tests and async tests that " -"return a value!=None (as this may indicate an improperly written test, for " -"example a test written as a generator function)." -msgstr "" - -#: ../build/NEWS:6291 -msgid "" -":issue:`44524`: Make exception message more useful when subclass from typing " -"special form alias. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6294 -msgid "" -":issue:`38956`: :class:`argparse.BooleanOptionalAction`'s default value is " -"no longer printed twice when used with :class:`argparse." -"ArgumentDefaultsHelpFormatter`." -msgstr "" - -#: ../build/NEWS:6298 -msgid "" -":issue:`44860`: Fix the ``posix_user`` scheme in :mod:`sysconfig` to not " -"depend on :data:`sys.platlibdir`." -msgstr "" - -#: ../build/NEWS:6301 -msgid "" -":issue:`44859`: Improve error handling in :mod:`sqlite3` and raise more " -"accurate exceptions." -msgstr "" - -#: ../build/NEWS:6304 -msgid "" -":exc:`MemoryError` is now raised instead of :exc:`sqlite3.Warning` when " -"memory is not enough for encoding a statement to UTF-8 in ``Connection." -"__call__()`` and ``Cursor.execute()``." -msgstr "" - -#: ../build/NEWS:6305 -msgid "" -":exc:`UnicodEncodeError` is now raised instead of :exc:`sqlite3.Warning` " -"when the statement contains surrogate characters in ``Connection." -"__call__()`` and ``Cursor.execute()``." -msgstr "" - -#: ../build/NEWS:6306 -msgid "" -":exc:`TypeError` is now raised instead of :exc:`ValueError` for non-string " -"script argument in ``Cursor.executescript()``." -msgstr "" - -#: ../build/NEWS:6307 -msgid "" -":exc:`ValueError` is now raised for script containing the null character " -"instead of truncating it in ``Cursor.executescript()``." -msgstr "" - -#: ../build/NEWS:6308 -msgid "" -"Correctly handle exceptions raised when getting boolean value of the result " -"of the progress handler." -msgstr "" - -#: ../build/NEWS:6309 -msgid "Add many tests covering different corner cases." -msgstr "" - -#: ../build/NEWS:6311 -msgid ":issue:`44581`: Upgrade bundled pip to 21.2.3 and setuptools to 57.4.0" -msgstr "" - -#: ../build/NEWS:6313 -msgid "" -":issue:`44849`: Fix the :func:`os.set_inheritable` function on FreeBSD 14 " -"for file descriptor opened with the :data:`~os.O_PATH` flag: ignore the :" -"data:`~errno.EBADF` error on ``ioctl()``, fallback on the ``fcntl()`` " -"implementation. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6318 -msgid "" -":issue:`44605`: The @functools.total_ordering() decorator now works with " -"metaclasses." -msgstr "" - -#: ../build/NEWS:6321 -msgid "" -":issue:`44524`: Fixed an issue wherein the ``__name__`` and ``__qualname__`` " -"attributes of subscribed specialforms could be ``None``." -msgstr "" - -#: ../build/NEWS:6324 -msgid "" -":issue:`44839`: :class:`MemoryError` raised in user-defined functions will " -"now produce a ``MemoryError`` in :mod:`sqlite3`. :class:`OverflowError` will " -"now be converted to :class:`~sqlite3.DataError`. Previously :class:`~sqlite3." -"OperationalError` was produced in these cases." -msgstr "" - -#: ../build/NEWS:6329 -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 "" - -#: ../build/NEWS:6333 -msgid "" -":issue:`44801`: Ensure that the :class:`~typing.ParamSpec` variable in " -"Callable can only be substituted with a parameters expression (a list of " -"types, an ellipsis, ParamSpec or Concatenate)." -msgstr "" - -#: ../build/NEWS:6337 -msgid "" -":issue:`44806`: Non-protocol subclasses of :class:`typing.Protocol` ignore " -"now the ``__init__`` method inherited from protocol base classes." -msgstr "" - -#: ../build/NEWS:6340 -msgid "" -":issue:`27275`: :meth:`collections.OrderedDict.popitem` and :meth:" -"`collections.OrderedDict.pop` no longer call ``__getitem__`` and " -"``__delitem__`` methods of the OrderedDict subclasses." -msgstr "" - -#: ../build/NEWS:6344 -msgid "" -":issue:`44793`: Fix checking the number of arguments when subscribe a " -"generic type with ``ParamSpec`` parameter." -msgstr "" - -#: ../build/NEWS:6347 -msgid "" -":issue:`44784`: In importlib.metadata tests, override warnings behavior " -"under expected DeprecationWarnings (importlib_metadata 4.6.3)." -msgstr "" - -#: ../build/NEWS:6350 -msgid "" -":issue:`44667`: The :func:`tokenize.tokenize` doesn't incorrectly generate a " -"``NEWLINE`` token if the source doesn't end with a new line character but " -"the last line is a comment, as the function is already generating a ``NL`` " -"token. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:6355 -msgid "" -":issue:`44771`: Added ``importlib.simple`` module implementing adapters from " -"a low-level resources reader interface to a ``TraversableResources`` " -"interface. Legacy API (``path``, ``contents``, ...) is now supported " -"entirely by the ``.files()`` API with a compatibility shim supplied for " -"resource loaders without that functionality. Feature parity with " -"``importlib_resources`` 5.2." -msgstr "" - -#: ../build/NEWS:6362 -msgid "" -":issue:`44752`: :mod:`rcompleter` does not call :func:`getattr` on :class:" -"`property` objects to avoid the side-effect of evaluating the corresponding " -"method." -msgstr "" - -#: ../build/NEWS:6366 -msgid "" -":issue:`44747`: Refactor usage of ``sys._getframe`` in ``typing`` module. " -"Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6369 -msgid "" -":issue:`42378`: Fixes the issue with log file being overwritten when :class:" -"`logging.FileHandler` is used in :mod:`atexit` with *filemode* set to " -"``'w'``. Note this will cause the message in *atexit* not being logged if " -"the log stream is already closed due to shutdown of logging." -msgstr "" - -#: ../build/NEWS:6374 -msgid "" -":issue:`44720`: ``weakref.proxy`` objects referencing non-iterators now " -"raise ``TypeError`` rather than dereferencing the null ``tp_iternext`` slot " -"and crashing." -msgstr "" - -#: ../build/NEWS:6378 -msgid "" -":issue:`44704`: The implementation of ``collections.abc.Set._hash()`` now " -"matches that of ``frozenset.__hash__()``." -msgstr "" - -#: ../build/NEWS:6381 -msgid "" -":issue:`44666`: Fixed issue in :func:`compileall.compile_file` when ``sys." -"stdout`` is redirected. Patch by Stefan Hölzl." -msgstr "" - -#: ../build/NEWS:6384 -msgid "" -":issue:`44688`: :meth:`sqlite3.Connection.create_collation` now accepts non-" -"ASCII collation names. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6387 -msgid "" -":issue:`44690`: Adopt *binacii.a2b_base64*'s strict mode in *base64." -"b64decode*." -msgstr "" - -#: ../build/NEWS:6389 -msgid "" -":issue:`42854`: Fixed a bug in the :mod:`_ssl` module that was throwing :exc:" -"`OverflowError` when using :meth:`_ssl._SSLSocket.write` and :meth:`_ssl." -"_SSLSocket.read` for a big value of the ``len`` parameter. Patch by Pablo " -"Galindo" -msgstr "" - -#: ../build/NEWS:6394 -msgid "" -":issue:`44686`: Replace ``unittest.mock._importer`` with ``pkgutil." -"resolve_name``." -msgstr "" - -#: ../build/NEWS:6397 -msgid "" -":issue:`44353`: Make ``NewType.__call__`` faster by implementing it in C. " -"Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6400 -msgid "" -":issue:`44682`: Change the :mod:`pdb` *commands* directive to disallow " -"setting commands for an invalid breakpoint and to display an appropriate " -"error." -msgstr "" - -#: ../build/NEWS:6403 -msgid "" -":issue:`44353`: Refactor ``typing.NewType`` from function into callable " -"class. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6406 -msgid "" -":issue:`44678`: Added a separate error message for discontinuous padding in " -"*binascii.a2b_base64* strict mode." -msgstr "" - -#: ../build/NEWS:6409 -msgid "" -":issue:`44524`: Add missing ``__name__`` and ``__qualname__`` attributes to " -"``typing`` module classes. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6412 -msgid "" -":issue:`40897`: Give priority to using the current class constructor in :" -"func:`inspect.signature`. Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:6415 -msgid "" -":issue:`44638`: Add a reference to the zipp project and hint as to how to " -"use it." -msgstr "" - -#: ../build/NEWS:6418 -msgid "" -":issue:`44648`: Fixed wrong error being thrown by :func:`inspect.getsource` " -"when examining a class in the interactive session. Instead of :exc:" -"`TypeError`, it should be :exc:`OSError` with appropriate error message." -msgstr "" - -#: ../build/NEWS:6423 -msgid "" -":issue:`44608`: Fix memory leak in :func:`_tkinter._flatten` if it is called " -"with a sequence or set, but not list or tuple." -msgstr "" - -#: ../build/NEWS:6426 -msgid "" -":issue:`44594`: Fix an edge case of :class:`ExitStack` and :class:" -"`AsyncExitStack` exception chaining. They will now match ``with`` block " -"behavior when ``__context__`` is explicitly set to ``None`` when the " -"exception is in flight." -msgstr "" - -#: ../build/NEWS:6431 -msgid "" -":issue:`42799`: In :mod:`fnmatch`, the cache size for compiled regex " -"patterns (:func:`functools.lru_cache`) was bumped up from 256 to 32768, " -"affecting functions: :func:`fnmatch.fnmatch`, :func:`fnmatch.fnmatchcase`, :" -"func:`fnmatch.filter`." -msgstr "" - -#: ../build/NEWS:6436 -msgid "" -":issue:`41928`: Update :func:`shutil.copyfile` to raise :exc:" -"`FileNotFoundError` instead of confusing :exc:`IsADirectoryError` when a " -"path ending with a :const:`os.path.sep` does not exist; :func:`shutil.copy` " -"and :func:`shutil.copy2` are also affected." -msgstr "" - -#: ../build/NEWS:6441 -msgid "" -":issue:`44569`: Added the :func:`StackSummary.format_frame` function in :mod:" -"`traceback`. This allows users to customize the way individual lines are " -"formatted in tracebacks without re-implementing logic to handle recursive " -"tracebacks." -msgstr "" - -#: ../build/NEWS:6446 -msgid "" -":issue:`44566`: handle StopIteration subclass raised from @contextlib." -"contextmanager generator" -msgstr "" - -#: ../build/NEWS:6449 -msgid "" -":issue:`44558`: Make the implementation consistency of :func:`~operator." -"indexOf` between C and Python versions. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6453 -msgid "" -":issue:`41249`: Fixes ``TypedDict`` to work with ``typing.get_type_hints()`` " -"and postponed evaluation of annotations across modules." -msgstr "" - -#: ../build/NEWS:6456 -msgid "" -":issue:`44554`: Refactor argument processing in :func:`pdb.main` to simplify " -"detection of errors in input loading and clarify behavior around module or " -"script invocation." -msgstr "" - -#: ../build/NEWS:6460 -msgid "" -":issue:`34798`: Break up paragraph about :class:`pprint.PrettyPrinter` " -"construction parameters to make it easier to read." -msgstr "" - -#: ../build/NEWS:6463 -msgid "" -":issue:`44539`: Added support for recognizing JPEG files without JFIF or " -"Exif markers." -msgstr "" - -#: ../build/NEWS:6466 -msgid "" -":issue:`44461`: Fix bug with :mod:`pdb`'s handling of import error due to a " -"package which does not have a ``__main__`` module" -msgstr "" - -#: ../build/NEWS:6469 -msgid "" -":issue:`43625`: Fix a bug in the detection of CSV file headers by :meth:`csv." -"Sniffer.has_header` and improve documentation of same." -msgstr "" - -#: ../build/NEWS:6472 -msgid ":issue:`44516`: Update vendored pip to 21.1.3" -msgstr "" - -#: ../build/NEWS:6474 -msgid "" -":issue:`42892`: Fixed an exception thrown while parsing a malformed " -"multipart email by :class:`email.message.EmailMessage`." -msgstr "" - -#: ../build/NEWS:6477 -msgid "" -":issue:`44468`: :func:`typing.get_type_hints` now finds annotations in " -"classes and base classes with unexpected ``__module__``. Previously, it " -"skipped those MRO elements." -msgstr "" - -#: ../build/NEWS:6481 -msgid "" -":issue:`44491`: Allow clearing the :mod:`sqlite3` authorizer callback by " -"passing :const:`None` to :meth:`~sqlite3.Connection.set_authorizer`. Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6485 -msgid "" -":issue:`43977`: Set the proper :const:`Py_TPFLAGS_MAPPING` and :const:" -"`Py_TPFLAGS_SEQUENCE` flags for subclasses created before a parent has been " -"registered as a :class:`collections.abc.Mapping` or :class:`collections.abc." -"Sequence`." -msgstr "" - -#: ../build/NEWS:6490 -msgid "" -":issue:`44482`: Fix very unlikely resource leak in :mod:`glob` in alternate " -"Python implementations." -msgstr "" - -#: ../build/NEWS:6493 -msgid "" -":issue:`44466`: The :mod:`faulthandler` module now detects if a fatal error " -"occurs during a garbage collector collection. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6496 -msgid "" -":issue:`44471`: A :exc:`TypeError` is now raised instead of an :exc:" -"`AttributeError` in :meth:`contextlib.ExitStack.enter_context` and :meth:" -"`contextlib.AsyncExitStack.enter_async_context` for objects which do not " -"support the :term:`context manager` or :term:`asynchronous context manager` " -"protocols correspondingly." -msgstr "" - -#: ../build/NEWS:6502 -msgid "" -":issue:`44404`: :mod:`tkinter`'s ``after()`` method now supports callables " -"without the ``__name__`` attribute." -msgstr "" - -#: ../build/NEWS:6505 -msgid "" -":issue:`41546`: Make :mod:`pprint` (like the builtin ``print``) not attempt " -"to write to ``stdout`` when it is ``None``." -msgstr "" - -#: ../build/NEWS:6508 -msgid "" -":issue:`44458`: ``BUFFER_BLOCK_SIZE`` is now declared static, to avoid " -"linking collisions when bz2, lmza or zlib are statically linked." -msgstr "" - -#: ../build/NEWS:6511 -msgid "" -":issue:`44464`: Remove exception for flake8 in deprecated importlib.metadata " -"interfaces. Sync with importlib_metadata 4.6." -msgstr "" - -#: ../build/NEWS:6514 -msgid "" -":issue:`44446`: Take into account that ``lineno`` might be ``None`` in :" -"class:`traceback.FrameSummary`." -msgstr "" - -#: ../build/NEWS:6517 -msgid "" -":issue:`44439`: Fix in :meth:`bz2.BZ2File.write` / :meth:`lzma.LZMAFile." -"write` methods, when the input data is an object that supports the buffer " -"protocol, the file length may be wrong." -msgstr "" - -#: ../build/NEWS:6521 -msgid "" -":issue:`44434`: _thread.start_new_thread() no longer calls " -"PyThread_exit_thread() explicitly at the thread exit, the call was " -"redundant. On Linux with the glibc, pthread_exit() aborts the whole process " -"if dlopen() fails to open libgcc_s.so file (ex: EMFILE error). Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:6527 -msgid "" -":issue:`42972`: The _thread.RLock type now fully implement the GC protocol: " -"add a traverse function and the :const:`Py_TPFLAGS_HAVE_GC` flag. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:6531 -msgid "" -":issue:`44422`: The :func:`threading.enumerate` function now uses a " -"reentrant lock to prevent a hang on reentrant call. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:6534 -msgid "" -":issue:`38291`: Importing typing.io or typing.re now prints a " -"``DeprecationWarning``." -msgstr "" - -#: ../build/NEWS:6537 -msgid "" -":issue:`37880`: argparse actions store_const and append_const each receive a " -"default value of None when the ``const`` kwarg is not provided. Previously, " -"this raised a :exc:`TypeError`." -msgstr "" - -#: ../build/NEWS:6541 -msgid ":issue:`44389`: Fix deprecation of :data:`ssl.OP_NO_TLSv1_3`" -msgstr "" - -#: ../build/NEWS:6543 -msgid "" -":issue:`27827`: :meth:`pathlib.PureWindowsPath.is_reserved` now identifies a " -"greater range of reserved filenames, including those with trailing spaces or " -"colons." -msgstr "" - -#: ../build/NEWS:6547 -msgid "" -":issue:`44395`: Fix :meth:`~email.message.MIMEPart.as_string` to pass " -"unixfrom properly. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6550 -msgid "" -":issue:`34266`: Handle exceptions from parsing the arg of :mod:`pdb`'s run/" -"restart command." -msgstr "" - -#: ../build/NEWS:6553 -msgid "" -":issue:`44362`: Improve :mod:`ssl` module's deprecation messages, error " -"reporting, and documentation for deprecations." -msgstr "" - -#: ../build/NEWS:6556 -msgid ":issue:`44342`: [Enum] Change pickling from by-value to by-name." -msgstr "" - -#: ../build/NEWS:6558 -msgid "" -":issue:`44356`: [Enum] Allow multiple data-type mixins if they are all the " -"same." -msgstr "" - -#: ../build/NEWS:6561 -msgid "" -":issue:`44351`: Restore back :func:`parse_makefile` in :mod:`distutils." -"sysconfig` because it behaves differently than the similar implementation " -"in :mod:`sysconfig`." -msgstr "" - -#: ../build/NEWS:6565 -msgid "" -":issue:`35800`: :class:`smtpd.MailmanProxy` is now removed as it is unusable " -"without an external module, ``mailman``. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6568 -msgid "" -":issue:`44357`: Added a function that returns cube root of the given number :" -"func:`math.cbrt`" -msgstr "" - -#: ../build/NEWS:6571 -msgid "" -":issue:`44339`: Change ``math.pow(±0.0, -math.inf)`` to return ``inf`` " -"instead of raising ``ValueError``. This brings the special-case handling of " -"``math.pow`` into compliance with the IEEE 754 standard." -msgstr "" - -#: ../build/NEWS:6575 -msgid "" -":issue:`44242`: Remove missing flag check from Enum creation and move into a " -"``verify`` decorator." -msgstr "" - -#: ../build/NEWS:6578 -msgid "" -":issue:`44246`: In ``importlib.metadata``, restore compatibility in the " -"result from ``Distribution.entry_points`` (``EntryPoints``) to honor " -"expectations in older implementations and issuing deprecation warnings for " -"these cases: A. ``EntryPoints`` objects are once again mutable, allowing " -"for ``sort()`` and other list-based mutation operations. Avoid deprecation " -"warnings by casting to a mutable sequence (e.g. ``list(dist.entry_points)." -"sort()``). B. ``EntryPoints`` results once again allow for access by " -"index. To avoid deprecation warnings, cast the result to a Sequence " -"first (e.g. ``tuple(dist.entry_points)[0]``)." -msgstr "" - -#: ../build/NEWS:6588 -msgid "" -":issue:`44246`: In importlib.metadata.entry_points, de-duplication of " -"distributions no longer requires loading the full metadata for " -"PathDistribution objects, improving entry point loading performance by ~10x." -msgstr "" - -#: ../build/NEWS:6593 -msgid "" -":issue:`43858`: Added a function that returns a copy of a dict of logging " -"levels: :func:`logging.getLevelNamesMapping`" -msgstr "" - -#: ../build/NEWS:6596 -msgid "" -":issue:`44260`: The :class:`random.Random` constructor no longer reads " -"system entropy without need." -msgstr "" - -#: ../build/NEWS:6599 -msgid "" -":issue:`44254`: On Mac, give turtledemo button text a color that works on " -"both light or dark background. Programmers cannot control the latter." -msgstr "" - -#: ../build/NEWS:6602 -msgid "" -":issue:`44258`: Support PEP 515 for Fraction's initialization from string." -msgstr "" - -#: ../build/NEWS:6604 -msgid "" -":issue:`44235`: Remove deprecated functions in the :mod:`gettext`. Patch by " -"Dong-hee Na." -msgstr "" - -#: ../build/NEWS:6607 -msgid ":issue:`38693`: Prefer f-strings to ``.format`` in importlib.resources." -msgstr "" - -#: ../build/NEWS:6609 -msgid ":issue:`33693`: Importlib.metadata now prefers f-strings to .format." -msgstr "" - -#: ../build/NEWS:6611 -msgid "" -":issue:`44241`: Incorporate minor tweaks from importlib_metadata 4.1: " -"SimplePath protocol, support for Metadata 2.2." -msgstr "" - -#: ../build/NEWS:6614 -msgid "" -":issue:`43216`: Remove the :func:`@asyncio.coroutine ` :" -"term:`decorator` enabling legacy generator-based coroutines to be compatible " -"with async/await code; remove :class:`asyncio.coroutines.CoroWrapper` used " -"for wrapping legacy coroutine objects in the debug mode. The decorator has " -"been deprecated since Python 3.8 and the removal was initially scheduled for " -"Python 3.10. Patch by Illia Volochii." -msgstr "" - -#: ../build/NEWS:6622 -msgid ":issue:`44210`: Make importlib.metadata._meta.PackageMetadata public." -msgstr "" - -#: ../build/NEWS:6624 -msgid "" -":issue:`43643`: Declare readers.MultiplexedPath.name as a property per the " -"spec." -msgstr "" - -#: ../build/NEWS:6627 -msgid "" -":issue:`27334`: The :mod:`sqlite3` context manager now performs a rollback " -"(thus releasing the database lock) if commit failed. Patch by Luca Citi and " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6631 -msgid "" -":issue:`4928`: Documented existing behavior on POSIX: NamedTemporaryFiles " -"are not deleted when creating process is killed with SIGKILL" -msgstr "" - -#: ../build/NEWS:6634 -msgid "" -":issue:`44154`: Optimize :class:`fractions.Fraction` pickling for large " -"components." -msgstr "" - -#: ../build/NEWS:6637 -msgid "" -":issue:`33433`: For IPv4 mapped IPv6 addresses (:rfc:`4291` Section " -"2.5.5.2), the :mod:`ipaddress.IPv6Address.is_private` check is deferred to " -"the mapped IPv4 address. This solves a bug where public mapped IPv4 " -"addresses were considered private by the IPv6 check." -msgstr "" - -#: ../build/NEWS:6642 -msgid ":issue:`44150`: Add optional *weights* argument to statistics.fmean()." -msgstr "" - -#: ../build/NEWS:6644 -msgid "" -":issue:`44142`: :func:`ast.unparse` will now drop the redundant parentheses " -"when tuples used as assignment targets (e.g in for loops)." -msgstr "" - -#: ../build/NEWS:6647 -msgid "" -":issue:`44145`: :mod:`hmac` computations were not releasing the GIL while " -"calling the OpenSSL ``HMAC_Update`` C API (a new feature in 3.9). This " -"unintentionally prevented parallel computation as other :mod:`hashlib` " -"algorithms support." -msgstr "" - -#: ../build/NEWS:6652 -msgid "" -":issue:`44095`: :class:`zipfile.Path` now supports :attr:`zipfile.Path." -"stem`, :attr:`zipfile.Path.suffixes`, and :attr:`zipfile.Path.suffix` " -"attributes." -msgstr "" - -#: ../build/NEWS:6655 -msgid "" -":issue:`44077`: It's now possible to receive the type of service (ToS), a.k." -"a. differentiated services (DS), a.k.a. differentiated services code point " -"(DSCP) and explicit congestion notification (ECN) IP header fields with " -"``socket.IP_RECVTOS``." -msgstr "" - -#: ../build/NEWS:6660 -msgid "" -":issue:`37788`: Fix a reference leak when a Thread object is never joined." -msgstr "" - -#: ../build/NEWS:6662 -msgid "" -":issue:`38908`: Subclasses of ``typing.Protocol`` which only have data " -"variables declared will now raise a ``TypeError`` when checked with " -"``isinstance`` unless they are decorated with :func:`runtime_checkable`. " -"Previously, these checks passed silently. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:6667 -msgid "" -":issue:`44098`: ``typing.ParamSpec`` will no longer be found in the " -"``__parameters__`` of most :mod:`typing` generics except in valid use " -"locations specified by :pep:`612`. This prevents incorrect usage like " -"``typing.List[P][int]``. This change means incorrect usage which may have " -"passed silently in 3.10 beta 1 and earlier will now error." -msgstr "" - -#: ../build/NEWS:6673 -msgid "" -":issue:`44089`: Allow subclassing ``csv.Error`` in 3.10 (it was allowed in " -"3.9 and earlier but was disallowed in early versions of 3.10)." -msgstr "" - -#: ../build/NEWS:6676 -msgid "" -":issue:`44081`: :func:`ast.unparse` now doesn't use redundant spaces to " -"separate ``lambda`` and the ``:`` if there are no parameters." -msgstr "" - -#: ../build/NEWS:6679 -msgid "" -":issue:`44061`: Fix regression in previous release when calling :func:" -"`pkgutil.iter_modules` with a list of :class:`pathlib.Path` objects" -msgstr "" - -#: ../build/NEWS:6682 -msgid "" -":issue:`44059`: Register the SerenityOS Browser in the :mod:`webbrowser` " -"module." -msgstr "" - -#: ../build/NEWS:6685 -msgid "" -":issue:`36515`: The :mod:`hashlib` module no longer does unaligned memory " -"accesses when compiled for ARM platforms." -msgstr "" - -#: ../build/NEWS:6688 -msgid ":issue:`40465`: Remove random module features deprecated in Python 3.9." -msgstr "" - -#: ../build/NEWS:6690 -msgid ":issue:`44018`: random.seed() no longer mutates bytearray inputs." -msgstr "" - -#: ../build/NEWS:6692 -msgid "" -":issue:`38352`: Add ``IO``, ``BinaryIO``, ``TextIO``, ``Match``, and " -"``Pattern`` to ``typing.__all__``. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:6695 -msgid "" -":issue:`44002`: :mod:`urllib.parse` now uses :func:`functool.lru_cache` for " -"its internal URL splitting and quoting caches instead of rolling its own " -"like its the '90s." -msgstr "" - -#: ../build/NEWS:6699 -msgid "" -"The undocumented internal :mod:`urllib.parse` ``Quoted`` class API is now " -"deprecated, for removal in 3.14." -msgstr "" - -#: ../build/NEWS:6702 -msgid "" -":issue:`43972`: When :class:`http.server.SimpleHTTPRequestHandler` sends a " -"``301 (Moved Permanently)`` for a directory path not ending with `/`, add a " -"``Content-Length: 0`` header. This improves the behavior for certain clients." -msgstr "" - -#: ../build/NEWS:6707 -msgid "" -":issue:`28528`: Fix a bug in :mod:`pdb` where :meth:`~pdb.Pdb.checkline` " -"raises :exc:`AttributeError` if it is called after :meth:`~pdb.Pdb.reset`." -msgstr "" - -#: ../build/NEWS:6710 -msgid "" -":issue:`43853`: Improved string handling for :mod:`sqlite3` user-defined " -"functions and aggregates:" -msgstr "" - -#: ../build/NEWS:6713 -msgid "" -"It is now possible to pass strings with embedded null characters to UDFs" -msgstr "" - -#: ../build/NEWS:6714 -msgid "Conversion failures now correctly raise :exc:`MemoryError`" -msgstr "" - -#: ../build/NEWS:6718 -msgid "" -":issue:`43666`: AIX: `Lib/_aix_support.get_platform()` may fail in an AIX " -"WPAR. The fileset bos.rte appears to have a builddate in both LPAR and WPAR " -"so this fileset is queried rather than bos.mp64. To prevent a similar " -"situation (no builddate in ODM) a value (9988) sufficient for completing a " -"build is provided. Patch by M Felt." -msgstr "" - -#: ../build/NEWS:6724 -msgid "" -":issue:`43650`: Fix :exc:`MemoryError` in :func:`shutil.unpack_archive` " -"which fails inside :func:`shutil._unpack_zipfile` on large files. Patch by " -"Igor Bolshakov." -msgstr "" - -#: ../build/NEWS:6728 -msgid "" -":issue:`43612`: :func:`zlib.compress` now accepts a wbits parameter which " -"allows users to compress data as a raw deflate block without zlib headers " -"and trailers in one go. Previously this required instantiating a ``zlib." -"compressobj``. It also provides a faster alternative to ``gzip.compress`` " -"when wbits=31 is used." -msgstr "" - -#: ../build/NEWS:6734 -msgid "" -":issue:`43392`: :func:`importlib._bootstrap._find_and_load` now implements a " -"two-step check to avoid locking when modules have been already imported and " -"are ready. This improves performance of repeated calls to :func:`importlib." -"import_module` and :func:`importlib.__import__`." -msgstr "" - -#: ../build/NEWS:6739 -msgid "" -":issue:`43318`: Fix a bug where :mod:`pdb` does not always echo cleared " -"breakpoints." -msgstr "" - -#: ../build/NEWS:6742 -msgid "" -":issue:`43234`: Prohibit passing non-:class:`concurrent.futures." -"ThreadPoolExecutor` executors to :meth:`loop.set_default_executor` following " -"a deprecation in Python 3.8. Patch by Illia Volochii." -msgstr "" - -#: ../build/NEWS:6747 -msgid "" -":issue:`43232`: Prohibit previously deprecated potentially disruptive " -"operations on :class:`asyncio.trsock.TransportSocket`. Patch by Illia " -"Volochii." -msgstr "" - -#: ../build/NEWS:6751 -msgid ":issue:`30077`: Added support for Apple's aifc/sowt pseudo-compression" -msgstr "" - -#: ../build/NEWS:6753 -msgid "" -":issue:`42971`: Add definition of ``errno.EQFULL`` for platforms that define " -"this constant (such as macOS)." -msgstr "" - -#: ../build/NEWS:6756 -msgid "" -":issue:`43086`: Added a new optional :code:`strict_mode` parameter to " -"*binascii.a2b_base64*. When :code:`scrict_mode` is set to :code:`True`, the " -"*a2b_base64* function will accept only valid base64 content. More details " -"about what \"valid base64 content\" is, can be found in the function's " -"documentation." -msgstr "" - -#: ../build/NEWS:6762 -msgid "" -":issue:`43024`: Improve the help signature of :func:`traceback." -"print_exception`, :func:`traceback.format_exception` and :func:`traceback." -"format_exception_only`." -msgstr "" - -#: ../build/NEWS:6766 -msgid "" -":issue:`33809`: Add the :meth:`traceback.TracebackException.print` method " -"which prints the formatted exception information." -msgstr "" - -#: ../build/NEWS:6769 -msgid "" -":issue:`42862`: :mod:`sqlite3` now utilizes :meth:`functools.lru_cache` to " -"implement the connection statement cache. As a small optimisation, the " -"default statement cache size has been increased from 100 to 128. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6774 -msgid "" -":issue:`41818`: Soumendra Ganguly: add termios.tcgetwinsize(), termios." -"tcsetwinsize()." -msgstr "" - -#: ../build/NEWS:6777 -msgid "" -":issue:`40497`: :meth:`subprocess.check_output` now raises :exc:`ValueError` " -"when the invalid keyword argument *check* is passed by user code. Previously " -"such use would fail later with a :exc:`TypeError`. Patch by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:6782 -msgid "" -":issue:`37449`: ``ensurepip`` now uses ``importlib.resources.files()`` " -"traversable APIs" -msgstr "" - -#: ../build/NEWS:6785 -msgid "" -":issue:`40956`: Use Argument Clinic in :mod:`sqlite3`. Patches by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:6788 -msgid "" -":issue:`41730`: ``DeprecationWarning`` is now raised when importing :mod:" -"`tkinter.tix`, which has been deprecated in documentation since Python 3.6." -msgstr "" - -#: ../build/NEWS:6792 -msgid "" -":issue:`20684`: Remove unused ``_signature_get_bound_param`` function from :" -"mod:`inspect` - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:6795 -msgid "" -":issue:`41402`: Fix :meth:`email.message.EmailMessage.set_content` when " -"called with binary data and ``7bit`` content transfer encoding." -msgstr "" - -#: ../build/NEWS:6798 -msgid "" -":issue:`32695`: The *compresslevel* and *preset* keyword arguments of :func:" -"`tarfile.open` are now both documented and tested." -msgstr "" - -#: ../build/NEWS:6801 -msgid "" -":issue:`41137`: Use utf-8 encoding while reading .pdbrc files. Patch by " -"Srinivas Reddy Thatiparthy" -msgstr "" - -#: ../build/NEWS:6804 -msgid "" -":issue:`24391`: Improved reprs of :mod:`threading` synchronization objects: :" -"class:`~threading.Semaphore`, :class:`~threading.BoundedSemaphore`, :class:" -"`~threading.Event` and :class:`~threading.Barrier`." -msgstr "" - -#: ../build/NEWS:6808 -msgid "" -":issue:`5846`: Deprecated the following :mod:`unittest` functions, scheduled " -"for removal in Python 3.13:" -msgstr "" - -#: ../build/NEWS:6811 -msgid ":func:`~unittest.findTestCases`" -msgstr "" - -#: ../build/NEWS:6812 -msgid ":func:`~unittest.makeSuite`" -msgstr "" - -#: ../build/NEWS:6813 -msgid ":func:`~unittest.getTestCaseNames`" -msgstr "" - -#: ../build/NEWS:6815 -msgid "Use :class:`~unittest.TestLoader` methods instead:" -msgstr "" - -#: ../build/NEWS:6817 -msgid ":meth:`unittest.TestLoader.loadTestsFromModule`" -msgstr "" - -#: ../build/NEWS:6818 -msgid ":meth:`unittest.TestLoader.loadTestsFromTestCase`" -msgstr "" - -#: ../build/NEWS:6819 -msgid ":meth:`unittest.TestLoader.getTestCaseNames`" -msgstr "" - -#: ../build/NEWS:6823 -msgid "" -":issue:`40563`: Support pathlike objects on dbm/shelve. Patch by Hakan Çelik " -"and Henry-Joseph Audéoud." -msgstr "" - -#: ../build/NEWS:6826 -msgid "" -":issue:`34990`: Fixed a Y2k38 bug in the compileall module where it would " -"fail to compile files with a modification time after the year 2038." -msgstr "" - -#: ../build/NEWS:6829 -msgid "" -":issue:`39549`: Whereas the code for reprlib.Repr had previously used a " -"hardcoded string value of '...', this PR updates it to use of a “fillvalue” " -"attribute, whose value defaults to '...' and can be reset in either " -"individual reprlib.Repr instances or in subclasses thereof." -msgstr "" - -#: ../build/NEWS:6834 -msgid "" -":issue:`37022`: :mod:`pdb` now displays exceptions from ``repr()`` with its " -"``p`` and ``pp`` commands." -msgstr "" - -#: ../build/NEWS:6837 -msgid "" -":issue:`38840`: Fix ``test___all__`` on platforms lacking a shared memory " -"implementation." -msgstr "" - -#: ../build/NEWS:6840 -msgid "" -":issue:`39359`: Add one missing check that the password is a bytes object " -"for an encrypted zipfile." -msgstr "" - -#: ../build/NEWS:6843 -msgid "" -":issue:`38741`: :mod:`configparser`: using ']' inside a section header will " -"no longer cut the section name short at the ']'" -msgstr "" - -#: ../build/NEWS:6846 -msgid "" -":issue:`38415`: Added missing behavior to :func:`contextlib." -"asynccontextmanager` to match :func:`contextlib.contextmanager` so decorated " -"functions can themselves be decorators." -msgstr "" - -#: ../build/NEWS:6851 -msgid "" -":issue:`30256`: Pass multiprocessing BaseProxy argument ``manager_owned`` " -"through AutoProxy." -msgstr "" - -#: ../build/NEWS:6854 -msgid "" -":issue:`27513`: :func:`email.utils.getaddresses` now accepts :class:`email." -"header.Header` objects along with string values. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:6858 -msgid "" -":issue:`16379`: Add SQLite error code and name to :mod:`sqlite3` exceptions. " -"Patch by Aviv Palivoda, Daniel Shahaf, and Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:6861 -msgid "" -":issue:`26228`: pty.spawn no longer hangs on FreeBSD, macOS, and Solaris." -msgstr "" - -#: ../build/NEWS:6863 -msgid ":issue:`33349`: lib2to3 now recognizes async generators everywhere." -msgstr "" - -#: ../build/NEWS:6865 -msgid "" -":issue:`29298`: Fix ``TypeError`` when required subparsers without ``dest`` " -"do not receive arguments. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:6871 -msgid "" -":issue:`45216`: Remove extra documentation listing methods in ``difflib``. " -"It was rendering twice in pydoc and was outdated in some places." -msgstr "" - -#: ../build/NEWS:6874 -msgid "" -":issue:`45024`: :mod:`collections.abc` documentation has been expanded to " -"explicitly cover how instance and subclass checks work, with additional " -"doctest examples and an exhaustive list of ABCs which test membership purely " -"by presence of the right :term:`special method`\\s. Patch by Raymond " -"Hettinger." -msgstr "" - -#: ../build/NEWS:6880 -msgid "" -":issue:`44957`: Promote PEP 604 union syntax by using it where possible. " -"Also, mention ``X | Y`` more prominently in section about ``Union`` and " -"mention ``X | None`` at all in section about ``Optional``." -msgstr "" - -#: ../build/NEWS:6884 -msgid "" -":issue:`16580`: Added code equivalents for the :meth:`int.to_bytes` and :" -"meth:`int.from_bytes` methods, as well as tests ensuring that these code " -"equivalents are valid." -msgstr "" - -#: ../build/NEWS:6888 -msgid "" -":issue:`44903`: Removed the othergui.rst file, any references to it, and the " -"list of GUI frameworks in the FAQ. In their place I've added links to the " -"Python Wiki `page on GUI frameworks `." -msgstr "" - -#: ../build/NEWS:6893 -msgid "" -":issue:`33479`: Tkinter documentation has been greatly expanded with new " -"\"Architecture\" and \"Threading model\" sections." -msgstr "" - -#: ../build/NEWS:6896 -msgid "" -":issue:`36700`: :mod:`base64` RFC references were updated to point to :rfc:" -"`4648`; a section was added to point users to the new \"security " -"considerations\" section of the RFC." -msgstr "" - -#: ../build/NEWS:6900 -msgid "" -":issue:`44740`: Replaced occurrences of uppercase \"Web\" and \"Internet\" " -"with lowercase versions per the 2016 revised Associated Press Style Book." -msgstr "" - -#: ../build/NEWS:6903 -msgid "" -":issue:`44693`: Update the definition of __future__ in the glossary by " -"replacing the confusing word \"pseudo-module\" with a more accurate " -"description." -msgstr "" - -#: ../build/NEWS:6907 -msgid ":issue:`35183`: Add typical examples to os.path.splitext docs" -msgstr "" - -#: ../build/NEWS:6909 -msgid "" -":issue:`30511`: Clarify that :func:`shutil.make_archive` is not thread-safe " -"due to reliance on changing the current working directory." -msgstr "" - -#: ../build/NEWS:6912 -msgid "" -":issue:`44561`: Update of three expired hyperlinks in Doc/distributing/index." -"rst: \"Project structure\", \"Building and packaging the project\", and " -"\"Uploading the project to the Python Packaging Index\"." -msgstr "" - -#: ../build/NEWS:6916 -msgid "" -":issue:`44651`: Delete entry \"coercion\" in Doc/glossary.rst for its " -"outdated definition." -msgstr "" - -#: ../build/NEWS:6919 -msgid "" -":issue:`42958`: Updated the docstring and docs of :func:`filecmp.cmp` to be " -"more accurate and less confusing especially in respect to *shallow* arg." -msgstr "" - -#: ../build/NEWS:6922 -msgid "" -":issue:`44631`: Refactored the ``repr()`` code of the ``_Environ`` (os " -"module)." -msgstr "" - -#: ../build/NEWS:6924 -msgid ":issue:`44613`: importlib.metadata is no longer provisional." -msgstr "" - -#: ../build/NEWS:6926 -msgid "" -":issue:`44558`: Match the docstring and python implementation of :func:" -"`~operator.countOf` to the behavior of its c implementation." -msgstr "" - -#: ../build/NEWS:6929 -msgid "" -":issue:`44544`: List all kwargs for :func:`textwrap.wrap`, :func:`textwrap." -"fill`, and :func:`textwrap.shorten`. Now, there are nav links to attributes " -"of :class:`TextWrap`, which makes navigation much easier while minimizing " -"duplication in the documentation." -msgstr "" - -#: ../build/NEWS:6934 -msgid "" -":issue:`38062`: Clarify that atexit uses equality comparisons internally." -msgstr "" - -#: ../build/NEWS:6936 -msgid "" -":issue:`40620`: Convert examples in tutorial controlflow.rst section 4.3 to " -"be interpreter-demo style." -msgstr "" - -#: ../build/NEWS:6939 -msgid "" -":issue:`43066`: Added a warning to :mod:`zipfile` docs: filename arg with a " -"leading slash may cause archive to be un-openable on Windows systems." -msgstr "" - -#: ../build/NEWS:6942 -msgid "" -":issue:`39452`: Rewrote ``Doc/library/__main__.rst``. Broadened scope of the " -"document to explicitly discuss and differentiate between ``__main__.py`` in " -"packages versus the ``__name__ == '__main__'`` expression (and the idioms " -"that surround it)." -msgstr "" - -#: ../build/NEWS:6947 -msgid "" -":issue:`13814`: In the Design FAQ, answer \"Why don't generators support the " -"with statement?\"" -msgstr "" - -#: ../build/NEWS:6950 -msgid ":issue:`27752`: Documentation of csv.Dialect is more descriptive." -msgstr "" - -#: ../build/NEWS:6952 -msgid "" -":issue:`44453`: Fix documentation for the return type of :func:`sysconfig." -"get_path`." -msgstr "" - -#: ../build/NEWS:6955 -msgid "" -":issue:`44392`: Added a new section in the C API documentation for types " -"used in type hinting. Documented ``Py_GenericAlias`` and " -"``Py_GenericAliasType``." -msgstr "" - -#: ../build/NEWS:6959 -msgid "" -":issue:`38291`: Mark ``typing.io`` and ``typing.re`` as deprecated since " -"Python 3.8 in the documentation. They were never properly supported by type " -"checkers." -msgstr "" - -#: ../build/NEWS:6963 -msgid "" -":issue:`44322`: Document that SyntaxError args have a details tuple and that " -"details are adjusted for errors in f-string field replacement expressions." -msgstr "" - -#: ../build/NEWS:6966 -msgid "" -":issue:`42392`: Document the deprecation and removal of the ``loop`` " -"parameter for many functions and classes in :mod:`asyncio`." -msgstr "" - -#: ../build/NEWS:6969 -msgid "" -":issue:`44195`: Corrected references to ``TraversableResources`` in docs. " -"There is no ``TraversableReader``." -msgstr "" - -#: ../build/NEWS:6972 -msgid "" -":issue:`41963`: Document that ``ConfigParser`` strips off comments when " -"reading configuration files." -msgstr "" - -#: ../build/NEWS:6975 -msgid "" -":issue:`44072`: Correct where in the numeric ABC hierarchy ``**`` support is " -"added, i.e., in numbers.Complex, not numbers.Integral." -msgstr "" - -#: ../build/NEWS:6978 -msgid "" -":issue:`43558`: Add the remark to :mod:`dataclasses` documentation that the :" -"meth:`__init__` of any base class has to be called in :meth:`__post_init__`, " -"along with a code example." -msgstr "" - -#: ../build/NEWS:6982 -msgid "" -":issue:`44025`: Clarify when '_' in match statements is a keyword, and when " -"not." -msgstr "" - -#: ../build/NEWS:6985 -msgid "" -":issue:`41706`: Fix docs about how methods like ``__add__`` are invoked when " -"evaluating operator expressions." -msgstr "" - -#: ../build/NEWS:6988 -msgid "" -":issue:`41621`: Document that :class:`collections.defaultdict` parameter " -"``default_factory`` defaults to None and is positional-only." -msgstr "" - -#: ../build/NEWS:6991 -msgid ":issue:`41576`: document BaseException in favor of bare except" -msgstr "" - -#: ../build/NEWS:6993 -msgid "" -":issue:`21760`: The description for __file__ fixed. Patch by Furkan Onder" -msgstr "" - -#: ../build/NEWS:6995 -msgid "" -":issue:`39498`: Add a \"Security Considerations\" index which links to " -"standard library modules that have explicitly documented security " -"considerations." -msgstr "" - -#: ../build/NEWS:6998 -msgid "" -":issue:`33479`: Remove the unqualified claim that tkinter is threadsafe. It " -"has not been true for several years and likely never was. An explanation of " -"what is true may be added later, after more discussion, and possibly after " -"patching _tkinter.c," -msgstr "" - -#: ../build/NEWS:7006 -msgid "" -":issue:`40173`: Fix :func:`test.support.import_helper.import_fresh_module`." -msgstr "" - -#: ../build/NEWS:7008 -msgid ":issue:`45280`: Add a test case for empty :class:`typing.NamedTuple`." -msgstr "" - -#: ../build/NEWS:7010 -msgid "" -":issue:`45269`: Cover case when invalid ``markers`` type is supplied to " -"``c_make_encoder``." -msgstr "" - -#: ../build/NEWS:7013 -msgid "" -":issue:`45128`: Fix ``test_multiprocessing_fork`` failure due to " -"``test_logging`` and ``sys.modules`` manipulation." -msgstr "" - -#: ../build/NEWS:7016 -msgid "" -":issue:`45209`: Fix ``UserWarning: resource_tracker`` warning in " -"``_test_multiprocessing._TestSharedMemory." -"test_shared_memory_cleaned_after_process_termination``" -msgstr "" - -#: ../build/NEWS:7019 -msgid "" -":issue:`45185`: Enables ``TestEnumerations`` test cases in ``test_ssl`` " -"suite." -msgstr "" - -#: ../build/NEWS:7021 -msgid "" -":issue:`45195`: Fix test_readline.test_nonascii(): sometimes, the newline " -"character is not written at the end, so don't expect it in the output. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7025 -msgid "" -":issue:`45156`: Fixes infinite loop on :func:`unittest.mock.seal` of mocks " -"created by :func:`~unittest.create_autospec`." -msgstr "" - -#: ../build/NEWS:7028 -msgid "" -":issue:`45125`: Improves pickling tests and docs of ``SharedMemory`` and " -"``SharableList`` objects." -msgstr "" - -#: ../build/NEWS:7031 -msgid "" -":issue:`44860`: Update ``test_sysconfig.test_user_similar()`` for the " -"posix_user scheme: ``platlib`` doesn't use :data:`sys.platlibdir`. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7035 -msgid "" -":issue:`45052`: ``WithProcessesTestSharedMemory.test_shared_memory_basics`` " -"test was ignored, because ``self.assertEqual(sms.size, sms2.size)`` line was " -"failing. It is now removed and test is unskipped." -msgstr "" - -#: ../build/NEWS:7039 -msgid "" -"The main motivation for this line to be removed from the test is that the " -"``size`` of ``SharedMemory`` is not ever guaranteed to be the same. It is " -"decided by the platform." -msgstr "" - -#: ../build/NEWS:7043 -msgid "" -":issue:`44895`: libregrtest now clears the type cache later to reduce the " -"risk of false alarm when checking for reference leaks. Previously, the type " -"cache was cleared too early and libregrtest raised a false alarm about " -"reference leaks under very specific conditions. Patch by Irit Katriel and " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7049 -msgid "" -":issue:`45042`: Fixes that test classes decorated with ``@hashlib_helper." -"requires_hashdigest`` were skipped all the time." -msgstr "" - -#: ../build/NEWS:7052 -msgid "" -":issue:`25130`: Add calls of :func:`gc.collect` in tests to support PyPy." -msgstr "" - -#: ../build/NEWS:7054 -msgid "" -":issue:`45011`: Made tests relying on the :mod:`_asyncio` C extension module " -"optional to allow running on alternative Python implementations. Patch by " -"Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:7058 -msgid "" -":issue:`44949`: Fix auto history tests of test_readline: sometimes, the " -"newline character is not written at the end, so don't expect it in the " -"output." -msgstr "" - -#: ../build/NEWS:7061 -msgid "" -":issue:`44891`: Tests were added to clarify :func:`id` is preserved when " -"``obj * 1`` is used on :class:`str` and :class:`bytes` objects. Patch by " -"Nikita Sobolev." -msgstr "" - -#: ../build/NEWS:7065 -msgid "" -":issue:`44852`: Add ability to wholesale silence DeprecationWarnings while " -"running the regression test suite." -msgstr "" - -#: ../build/NEWS:7068 -msgid "" -":issue:`40928`: Notify users running test_decimal regression tests on macOS " -"of potential harmless \"malloc can't allocate region\" messages spewed by " -"test_decimal." -msgstr "" - -#: ../build/NEWS:7072 -msgid ":issue:`44734`: Fixed floating point precision issue in turtle tests." -msgstr "" - -#: ../build/NEWS:7074 -msgid "" -":issue:`44708`: Regression tests, when run with -w, are now re-running only " -"the affected test methods instead of re-running the entire test file." -msgstr "" - -#: ../build/NEWS:7077 -msgid "" -":issue:`42095`: Added interop tests for Apple plists: generate plist files " -"with Python plistlib and parse with Apple plutil; and the other way round." -msgstr "" - -#: ../build/NEWS:7080 -msgid "" -":issue:`44647`: Added a permanent Unicode-valued environment variable to " -"regression tests to ensure they handle this use case in the future. If your " -"test environment breaks because of that, report a bug to us, and temporarily " -"set PYTHONREGRTEST_UNICODE_GUARD=0 in your test environment." -msgstr "" - -#: ../build/NEWS:7085 -msgid "" -":issue:`44515`: Adjust recently added contextlib tests to avoid assuming the " -"use of a refcounted GC" -msgstr "" - -#: ../build/NEWS:7088 -msgid "" -":issue:`44287`: Fix asyncio test_popen() of test_windows_utils by using a " -"longer timeout. Use military grade battle-tested :data:`test.support." -"SHORT_TIMEOUT` timeout rather than a hardcoded timeout of 10 seconds: it's " -"30 seconds by default, but it is made longer on slow buildbots. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7094 -msgid "" -":issue:`44451`: Reset ``DeprecationWarning`` filters in ``test." -"test_importlib.test_metadata_api.APITests.test_entry_points_by_index`` to " -"avoid ``StopIteration`` error if ``DeprecationWarnings`` are ignored." -msgstr "" - -#: ../build/NEWS:7098 -msgid "" -":issue:`44363`: Account for address sanitizer in test_capi. test_capi now " -"passes when run GCC address sanitizer." -msgstr "" - -#: ../build/NEWS:7101 -msgid ":issue:`44364`: Add non integral tests for :func:`math.sqrt` function." -msgstr "" - -#: ../build/NEWS:7103 -msgid "" -":issue:`43921`: Fix test_ssl.test_wrong_cert_tls13(): use " -"``suppress_ragged_eofs=False``, since ``read()`` can raise :exc:`ssl." -"SSLEOFError` on Windows. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7107 -msgid "" -":issue:`43921`: Fix test_pha_required_nocert() of test_ssl: catch two more " -"EOF cases (when the ``recv()`` method returns an empty string). Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7111 -msgid "" -":issue:`44131`: Add test_frozenmain to test_embed to test the :c:func:" -"`Py_FrozenMain` C function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7114 -msgid ":issue:`31904`: Ignore error string case in test_file_not_exists()." -msgstr "" - -#: ../build/NEWS:7116 -msgid "" -":issue:`42083`: Add test to check that ``PyStructSequence_NewType`` accepts " -"a ``PyStructSequence_Desc`` with ``doc`` field set to ``NULL``." -msgstr "" - -#: ../build/NEWS:7119 -msgid "" -":issue:`35753`: Fix crash in doctest when doctest parses modules that " -"include unwrappable functions by skipping those functions." -msgstr "" - -#: ../build/NEWS:7122 -msgid "" -":issue:`30256`: Add test for nested queues when using ``multiprocessing`` " -"shared objects ``AutoProxy[Queue]`` inside ``ListProxy`` and ``DictProxy``" -msgstr "" - -#: ../build/NEWS:7128 -msgid "" -":issue:`45220`: Avoid building with the Windows 11 SDK previews " -"automatically. This may be overridden by setting the " -"``DefaultWindowsSDKVersion`` environment variable before building." -msgstr "" - -#: ../build/NEWS:7132 -msgid "" -":issue:`45020`: Freeze stdlib modules that are imported during startup. " -"This provides significant performance improvements to startup. If " -"necessary, use the previously added \"-X frozen_modules=off\" commandline " -"option to force importing the source modules." -msgstr "" - -#: ../build/NEWS:7137 -msgid "" -":issue:`45188`: Windows builds now regenerate frozen modules as the first " -"part of the build. Previously the regeneration was later in the build, which " -"would require it to be restarted if any modules had changed." -msgstr "" - -#: ../build/NEWS:7141 -msgid ":issue:`45163`: Fixes Haiku platform build." -msgstr "" - -#: ../build/NEWS:7143 -msgid "" -":issue:`45067`: The ncurses function extended_color_content was introduced " -"in 2017" -msgstr "" - -#: ../build/NEWS:7146 -msgid "(https://invisible-island.net/ncurses/NEWS.html#index-t20170401). The" -msgstr "" - -#: ../build/NEWS:7148 -msgid "" -"ncurses-devel package in CentOS 7 had a older version ncurses resulted in " -"compilation error. For compiling ncurses with extended color support, we " -"verify the version of the ncurses library >= 20170401." -msgstr "" - -#: ../build/NEWS:7152 -msgid "" -":issue:`45019`: Generate lines in relevant files for frozen modules. Up " -"until now each of the files had to be edited manually. This change makes it " -"easier to add to and modify the frozen modules." -msgstr "" - -#: ../build/NEWS:7156 -msgid "" -":issue:`44340`: Add support for building with clang thin lto via --with-" -"lto=thin/full. Patch by Dong-hee Na and Brett Holman." -msgstr "" - -#: ../build/NEWS:7159 -msgid "" -":issue:`44535`: Enable building using a Visual Studio 2022 install on " -"Windows." -msgstr "" - -#: ../build/NEWS:7161 -msgid "" -":issue:`43298`: Improved error message when building without a Windows SDK " -"installed." -msgstr "" - -#: ../build/NEWS:7164 -msgid "" -":issue:`44381`: The Windows build now accepts :envvar:" -"`EnableControlFlowGuard` set to ``guard`` to enable CFG." -msgstr "" - -#: ../build/NEWS:7167 -msgid "" -":issue:`41282`: Fix broken ``make install`` that caused standard library " -"extension modules to be unnecessarily and incorrectly rebuilt during the " -"install phase of cpython." -msgstr "" - -#: ../build/NEWS:7174 -msgid "" -":issue:`45375`: Fixes an assertion failure due to searching for the standard " -"library in unnormalised paths." -msgstr "" - -#: ../build/NEWS:7177 -msgid ":issue:`45022`: Update Windows release to include libffi 3.4.2" -msgstr "" - -#: ../build/NEWS:7179 -msgid ":issue:`45007`: Update to OpenSSL 1.1.1l in Windows build" -msgstr "" - -#: ../build/NEWS:7181 -msgid ":issue:`44848`: Upgrade Windows installer to use SQLite 3.36.0." -msgstr "" - -#: ../build/NEWS:7183 -msgid "" -":issue:`44572`: Avoid consuming standard input in the :mod:`platform` module" -msgstr "" - -#: ../build/NEWS:7185 -msgid "" -":issue:`44582`: Accelerate speed of :mod:`mimetypes` initialization using a " -"native implementation of the registry scan." -msgstr "" - -#: ../build/NEWS:7188 -msgid "" -":issue:`41299`: Fix 16 milliseconds jitter when using timeouts in :mod:" -"`threading`, such as with :meth:`threading.Lock.acquire` or :meth:`threading." -"Condition.wait`." -msgstr "" - -#: ../build/NEWS:7192 -msgid "" -":issue:`42686`: Build :mod:`sqlite3` with math functions enabled. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7195 -msgid "" -":issue:`40263`: This is a follow-on bug from https://bugs.python.org/" -"issue26903. Once that is applied we run into an off-by-one assertion " -"problem. The assert was not correct." -msgstr "" - -#: ../build/NEWS:7202 -msgid ":issue:`45007`: Update macOS installer builds to use OpenSSL 1.1.1l." -msgstr "" - -#: ../build/NEWS:7204 -msgid "" -":issue:`34602`: When building CPython on macOS with ``./configure --with-" -"undefined-behavior-sanitizer --with-pydebug``, the stack size is now " -"quadrupled to allow for the entire test suite to pass." -msgstr "" - -#: ../build/NEWS:7208 -msgid ":issue:`44848`: Update macOS installer to use SQLite 3.36.0." -msgstr "" - -#: ../build/NEWS:7210 -msgid "" -":issue:`44689`: :meth:`ctypes.util.find_library` now works correctly on " -"macOS 11 Big Sur even if Python is built on an older version of macOS. " -"Previously, when built on older macOS systems, ``find_library`` was not able " -"to find macOS system libraries when running on Big Sur due to changes in " -"how system libraries are stored." -msgstr "" - -#: ../build/NEWS:7216 -msgid "" -":issue:`41972`: The framework build's user header path in sysconfig is " -"changed to add a 'pythonX.Y' component to match distutils's behavior." -msgstr "" - -#: ../build/NEWS:7219 -msgid "" -":issue:`43109`: Allow --with-lto configure option to work with Apple-" -"supplied Xcode or Command Line Tools." -msgstr "" - -#: ../build/NEWS:7222 -msgid "" -":issue:`34932`: Add socket.TCP_KEEPALIVE support for macOS. Patch by Shane " -"Harvey." -msgstr "" - -#: ../build/NEWS:7228 -msgid "" -":issue:`45296`: On Windows, change exit/quit message to suggest Ctrl-D, " -"which works, instead of , which does not work in IDLE." -msgstr "" - -#: ../build/NEWS:7231 -msgid ":issue:`45193`: Make completion boxes appear on Ubuntu again." -msgstr "" - -#: ../build/NEWS:7233 -msgid "" -":issue:`40128`: Mostly fix completions on macOS when not using tcl/tk 8.6.11 " -"(as with 3.9). The added update_idletask call should be harmless and " -"possibly helpful otherwise." -msgstr "" - -#: ../build/NEWS:7237 -msgid "" -":issue:`33962`: Move the indent space setting from the Font tab to the new " -"Windows tab. Patch by Mark Roseman and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:7240 -msgid "" -":issue:`40468`: Split the settings dialog General tab into Windows and Shell/" -"ED tabs. Move help sources, which extend the Help menu, to the Extensions " -"tab. Make space for new options and shorten the dialog. The latter makes the " -"dialog better fit small screens." -msgstr "" - -#: ../build/NEWS:7245 -msgid "" -":issue:`41611`: Avoid uncaught exceptions in ``AutoCompleteWindow." -"winconfig_event()``." -msgstr "" - -#: ../build/NEWS:7248 -msgid "" -":issue:`41611`: Fix IDLE sometimes freezing upon tab-completion on macOS." -msgstr "" - -#: ../build/NEWS:7250 -msgid "" -":issue:`44010`: Highlight the new :ref:`match ` statement's :ref:" -"`soft keywords `: :keyword:`match`, :keyword:`case `, " -"and :keyword:`_ `. However, this highlighting is not " -"perfect and will be incorrect in some rare cases, including some ``_``-s in " -"``case`` patterns." -msgstr "" - -#: ../build/NEWS:7256 -msgid "" -":issue:`44026`: Include interpreter's typo fix suggestions in message line " -"for NameErrors and AttributeErrors. Patch by E. Paine." -msgstr "" - -#: ../build/NEWS:7262 -msgid "" -":issue:`44786`: Fix a warning in regular expression in the c-analyzer script." -msgstr "" - -#: ../build/NEWS:7264 -msgid "" -":issue:`44967`: pydoc now returns a non-zero status code when a module " -"cannot be found." -msgstr "" - -#: ../build/NEWS:7267 -msgid "" -":issue:`44978`: Allow the Argument Clinic tool to handle ``__complex__`` " -"special methods." -msgstr "" - -#: ../build/NEWS:7270 -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 Dong-hee Na" -msgstr "" - -#: ../build/NEWS:7274 -msgid "" -":issue:`44074`: Make patchcheck automatically detect the correct base branch " -"name (previously it was hardcoded to 'master')" -msgstr "" - -#: ../build/NEWS:7277 -msgid "" -":issue:`20291`: Added support for variadic positional parameters in Argument " -"Clinic." -msgstr "" - -#: ../build/NEWS:7283 -msgid "" -":issue:`41710`: The PyThread_acquire_lock_timed() function now clamps the " -"timeout if it is too large, rather than aborting the process. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7287 -msgid "" -":issue:`44687`: :meth:`BufferedReader.peek` no longer raises :exc:" -"`ValueError` when the entire file has already been buffered." -msgstr "" - -#: ../build/NEWS:7290 -msgid "" -":issue:`45116`: Add the :c:macro:`Py_ALWAYS_INLINE` macro to ask the " -"compiler to always inline a static inline function. The compiler can ignore " -"it and decides to not inline the function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7294 -msgid "" -":issue:`45094`: Add the :c:macro:`Py_NO_INLINE` macro to disable inlining on " -"a function. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7297 -msgid "" -":issue:`45061`: Add a deallocator to the :class:`bool` type to detect " -"refcount bugs in C extensions which call ``Py_DECREF(Py_True);`` or " -"``Py_DECREF(Py_False);`` by mistake. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7301 -msgid "" -":issue:`42035`: Add a new :c:func:`PyType_GetQualName` function to get " -"type's qualified name." -msgstr "" - -#: ../build/NEWS:7304 -msgid "" -":issue:`41103`: Reverts removal of the old buffer protocol because they are " -"part of stable ABI." -msgstr "" - -#: ../build/NEWS:7307 -msgid "" -":issue:`44751`: Remove ``crypt.h`` include from the public ``Python.h`` " -"header." -msgstr "" - -#: ../build/NEWS:7309 -msgid "" -":issue:`42747`: The ``Py_TPFLAGS_HAVE_VERSION_TAG`` type flag now does " -"nothing. The ``Py_TPFLAGS_HAVE_AM_SEND`` flag (which was added in 3.10) is " -"removed. Both were unnecessary because it is not possible to have type " -"objects with the relevant fields missing." -msgstr "" - -#: ../build/NEWS:7314 -msgid "" -":issue:`44530`: Added the ``co_qualname`` to the ``PyCodeObject`` structure " -"to propagate the qualified name from the compiler to code objects." -msgstr "" - -#: ../build/NEWS:7317 -msgid "Patch by Gabriele N. Tornetta" -msgstr "" - -#: ../build/NEWS:7319 -msgid "" -":issue:`44441`: :c:func:`Py_RunMain` now resets :c:data:`PyImport_Inittab` " -"to its initial value at exit. It must be possible to call :c:func:" -"`PyImport_AppendInittab` or :c:func:`PyImport_ExtendInittab` at each Python " -"initialization. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7324 -msgid "" -":issue:`39947`: Remove 4 private trashcan C API functions which were only " -"kept for the backward compatibility of the stable ABI with Python 3.8 and " -"older, since the trashcan API was not usable with the limited C API on " -"Python 3.8 and older. The trashcan API was excluded from the limited C API " -"in Python 3.9." -msgstr "" - -#: ../build/NEWS:7330 -msgid "Removed functions:" -msgstr "" - -#: ../build/NEWS:7332 -msgid "_PyTrash_deposit_object()" -msgstr "" - -#: ../build/NEWS:7333 -msgid "_PyTrash_destroy_chain()" -msgstr "" - -#: ../build/NEWS:7334 -msgid "_PyTrash_thread_deposit_object()" -msgstr "" - -#: ../build/NEWS:7335 -msgid "_PyTrash_thread_destroy_chain()" -msgstr "" - -#: ../build/NEWS:7337 -msgid "" -"The trashcan C API was never usable with the limited C API, since old " -"trashcan macros accessed directly :c:type:`PyThreadState` members like " -"``_tstate->trash_delete_nesting``, whereas the :c:type:`PyThreadState` " -"structure is opaque in the limited C API." -msgstr "" - -#: ../build/NEWS:7342 -msgid "Exclude also the ``PyTrash_UNWIND_LEVEL`` constant from the C API." -msgstr "" - -#: ../build/NEWS:7346 -msgid "" -":issue:`40939`: Removed documentation for the removed ``PyParser_*`` C API." -msgstr "" - -#: ../build/NEWS:7348 -msgid "" -":issue:`43795`: The list in :ref:`stable-abi-list` now shows the public " -"name :c:struct:`PyFrameObject` rather than ``_frame``. The non-existing " -"entry ``_node`` no longer appears in the list." -msgstr "" - -#: ../build/NEWS:7352 -msgid "" -":issue:`44378`: :c:func:`Py_IS_TYPE` no longer uses :c:func:`Py_TYPE` to " -"avoid a compiler warning: no longer cast ``const PyObject*`` to " -"``PyObject*``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7356 -msgid "" -":issue:`39573`: Convert the :c:func:`Py_TYPE` and :c:func:`Py_SIZE` macros " -"to static inline functions. The :c:func:`Py_SET_TYPE` and :c:func:" -"`Py_SET_SIZE` functions must now be used to set an object type and size. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7361 -msgid "" -":issue:`44263`: The :c:func:`PyType_Ready` function now raises an error if a " -"type is defined with the :const:`Py_TPFLAGS_HAVE_GC` flag set but has no " -"traverse function (:c:member:`PyTypeObject.tp_traverse`). Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:7366 -msgid "" -":issue:`43795`: The undocumented function :c:func:`Py_FrozenMain` is removed " -"from the Limited API." -msgstr "" - -#: ../build/NEWS:7369 -msgid "" -":issue:`44113`: Deprecate the following functions to configure the Python " -"initialization:" -msgstr "" - -#: ../build/NEWS:7372 -msgid ":c:func:`PySys_AddWarnOptionUnicode`" -msgstr "" - -#: ../build/NEWS:7373 -msgid ":c:func:`PySys_AddWarnOption`" -msgstr "" - -#: ../build/NEWS:7374 -msgid ":c:func:`PySys_AddXOption`" -msgstr "" - -#: ../build/NEWS:7375 -msgid ":c:func:`PySys_HasWarnOptions`" -msgstr "" - -#: ../build/NEWS:7376 -msgid ":c:func:`Py_SetPath`" -msgstr "" - -#: ../build/NEWS:7377 -msgid ":c:func:`Py_SetProgramName`" -msgstr "" - -#: ../build/NEWS:7378 -msgid ":c:func:`Py_SetPythonHome`" -msgstr "" - -#: ../build/NEWS:7379 -msgid ":c:func:`Py_SetStandardStreamEncoding`" -msgstr "" - -#: ../build/NEWS:7380 -msgid ":c:func:`_Py_SetProgramFullPath`" -msgstr "" - -#: ../build/NEWS:7382 -msgid "" -"Use the new :c:type:`PyConfig` API of the :ref:`Python Initialization " -"Configuration ` instead (:pep:`587`)." -msgstr "" - -#: ../build/NEWS:7385 -msgid "" -":issue:`44094`: Remove ``PyErr_SetFromErrnoWithUnicodeFilename()``, " -"``PyErr_SetFromWindowsErrWithUnicodeFilename()``, and " -"``PyErr_SetExcFromWindowsErrWithUnicodeFilename()``. They are not documented " -"and have been deprecated since Python 3.3." -msgstr "" - -#: ../build/NEWS:7390 -msgid "" -":issue:`43795`: :c:func:`PyCodec_Unregister` is now properly exported as a " -"function in the Windows Stable ABI DLL." -msgstr "" - -#: ../build/NEWS:7393 -msgid "" -":issue:`44029`: Remove deprecated ``Py_UNICODE`` APIs: ``PyUnicode_Encode``, " -"``PyUnicode_EncodeUTF7``, ``PyUnicode_EncodeUTF8``, " -"``PyUnicode_EncodeUTF16``, ``PyUnicode_EncodeUTF32``, " -"``PyUnicode_EncodeLatin1``, ``PyUnicode_EncodeMBCS``, " -"``PyUnicode_EncodeDecimal``, ``PyUnicode_EncodeRawUnicodeEscape``, " -"``PyUnicode_EncodeCharmap``, ``PyUnicode_EncodeUnicodeEscape``, " -"``PyUnicode_TransformDecimalToASCII``, ``PyUnicode_TranslateCharmap``, " -"``PyUnicodeEncodeError_Create``, ``PyUnicodeTranslateError_Create``. See :" -"pep:`393` and :pep:`624` for reference." -msgstr "" - -#: ../build/NEWS:7403 -msgid "" -":issue:`42035`: Add a new :c:func:`PyType_GetName` function to get type's " -"short name." -msgstr "" - -#: ../build/NEWS:7408 -msgid "Python 3.10.0 beta 1" -msgstr "" - -#: ../build/NEWS:7410 -msgid "*Release date: 2021-05-03*" -msgstr "" - -#: ../build/NEWS:7415 -msgid "" -":issue:`43434`: Creating :class:`sqlite3.Connection` objects now also " -"produces ``sqlite3.connect`` and ``sqlite3.connect/handle`` :ref:`auditing " -"events `. Previously these events were only produced by :func:" -"`sqlite3.connect` calls. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7420 -msgid "" -":issue:`43998`: The :mod:`ssl` module sets more secure cipher suites " -"defaults. Ciphers without forward secrecy and with SHA-1 MAC are disabled by " -"default. Security level 2 prohibits weak RSA, DH, and ECC keys with less " -"than 112 bits of security. :class:`~ssl.SSLContext` defaults to minimum " -"protocol version TLS 1.2. Settings are based on Hynek Schlawack's research." -msgstr "" - -#: ../build/NEWS:7427 -msgid "" -":issue:`43882`: The presence of newline or tab characters in parts of a URL " -"could allow some forms of attacks." -msgstr "" - -#: ../build/NEWS:7430 -msgid "" -"Following the controlling specification for URLs defined by WHATWG :func:" -"`urllib.parse` now removes ASCII newlines and tabs from URLs, preventing " -"such attacks." -msgstr "" - -#: ../build/NEWS:7434 -msgid "" -":issue:`43472`: Ensures interpreter-level audit hooks receive the ``cpython." -"PyInterpreterState_New`` event when called through the " -"``_xxsubinterpreters`` module." -msgstr "" - -#: ../build/NEWS:7438 -msgid "" -":issue:`43362`: Fix invalid free in _sha3 module. The issue was introduced " -"in 3.10.0a1. Python 3.9 and earlier are not affected." -msgstr "" - -#: ../build/NEWS:7441 -msgid "" -":issue:`43762`: Add audit events for :func:`sqlite3.connect/handle`, :meth:" -"`sqlite3.Connection.enable_load_extension`, and :meth:`sqlite3.Connection." -"load_extension`. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7445 -msgid "" -":issue:`43756`: Add new audit event ``glob.glob/2`` to incorporate the new " -"*root_dir* and *dir_fd* arguments added to :func:`glob.glob` and :func:`glob." -"iglob`." -msgstr "" - -#: ../build/NEWS:7449 -msgid "" -":issue:`36384`: :mod:`ipaddress` module no longer accepts any leading zeros " -"in IPv4 address strings. Leading zeros are ambiguous and interpreted as " -"octal notation by some libraries. For example the legacy function :func:" -"`socket.inet_aton` treats leading zeros as octal notation. glibc " -"implementation of modern :func:`~socket.inet_pton` does not accept any " -"leading zeros. For a while the :mod:`ipaddress` module used to accept " -"ambiguous leading zeros." -msgstr "" - -#: ../build/NEWS:7457 -msgid "" -":issue:`43075`: Fix Regular Expression Denial of Service (ReDoS) " -"vulnerability in :class:`urllib.request.AbstractBasicAuthHandler`. The " -"ReDoS-vulnerable regex has quadratic worst-case complexity and it allows " -"cause a denial of service when identifying crafted invalid RFCs. This ReDoS " -"issue is on the client side and needs remote attackers to control the HTTP " -"server." -msgstr "" - -#: ../build/NEWS:7463 -msgid "" -":issue:`42800`: Audit hooks are now fired for frame.f_code, traceback." -"tb_frame, and generator code/frame attribute access." -msgstr "" - -#: ../build/NEWS:7466 -msgid ":issue:`37363`: Add audit events to the :mod:`http.client` module." -msgstr "" - -#: ../build/NEWS:7471 -msgid "" -":issue:`43977`: Prevent classes being both a sequence and a mapping when " -"pattern matching." -msgstr "" - -#: ../build/NEWS:7474 -msgid "" -":issue:`43977`: Use :c:member:`~PyTypeObject.tp_flags` on the class object " -"to determine if the subject is a sequence or mapping when pattern matching. " -"Avoids the need to import :mod:`collections.abc` when pattern matching." -msgstr "" - -#: ../build/NEWS:7478 -msgid "" -":issue:`43892`: Restore proper validation of complex literal value patterns " -"when parsing :keyword:`!match` blocks." -msgstr "" - -#: ../build/NEWS:7481 -msgid "" -":issue:`43933`: Set frame.f_lineno to the line number of the 'with' kweyword " -"when executing the call to ``__exit__``." -msgstr "" - -#: ../build/NEWS:7484 -msgid "" -":issue:`43933`: If the current position in a frame has no line number then " -"set the f_lineno attribute to None, instead of -1, to conform to PEP 626. " -"This should not normally be possible, but might occur in some unusual " -"circumstances." -msgstr "" - -#: ../build/NEWS:7489 -msgid "" -":issue:`43963`: Importing the :mod:`_signal` module in a subinterpreter has " -"no longer side effects." -msgstr "" - -#: ../build/NEWS:7492 -msgid "" -":issue:`42739`: The internal representation of line number tables is changed " -"to not use sentinels, and an explicit length parameter is added to the out " -"of process API function ``PyLineTable_InitAddressRange``. This makes the " -"handling of line number tables more robust in some circumstances." -msgstr "" - -#: ../build/NEWS:7497 -msgid "" -":issue:`43908`: Make :mod:`re` types immutable. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7499 -msgid "" -":issue:`43908`: Make the :class:`array.array` type immutable. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7502 -msgid "" -":issue:`43901`: Change class and module objects to lazy-create empty " -"annotations dicts on demand. The annotations dicts are stored in the " -"object's __dict__ for backwards compatibility." -msgstr "" - -#: ../build/NEWS:7506 -msgid "" -":issue:`43892`: Match patterns now use new dedicated AST nodes " -"(``MatchValue``, ``MatchSingleton``, ``MatchSequence``, ``MatchStar``, " -"``MatchMapping``, ``MatchClass``) rather than reusing expression AST nodes. " -"``MatchAs`` and ``MatchOr`` are now defined as pattern nodes rather than as " -"expression nodes. Patch by Nick Coghlan." -msgstr "" - -#: ../build/NEWS:7512 -msgid "" -":issue:`42725`: Usage of ``await``/``yield``/``yield from`` and named " -"expressions within an annotation is now forbidden when PEP 563 is activated." -msgstr "" - -#: ../build/NEWS:7516 -msgid "" -":issue:`43754`: When performing structural pattern matching (:pep:`634`), " -"captured names are now left unbound until the *entire* pattern has matched " -"successfully." -msgstr "" - -#: ../build/NEWS:7520 -msgid "" -":issue:`42737`: Annotations for complex targets (everything beside simple " -"names) no longer cause any runtime effects with ``from __future__ import " -"annotations``." -msgstr "" - -#: ../build/NEWS:7524 -msgid "" -":issue:`43914`: :exc:`SyntaxError` exceptions raised by the interpreter will " -"highlight the full error range of the expression that consistutes the syntax " -"error itself, instead of just where the problem is detected. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:7529 -msgid "" -":issue:`38605`: Revert making ``from __future__ import annotations`` the " -"default. This follows the Steering Council decision to postpone PEP 563 " -"changes to at least Python 3.11. See the original email for more information " -"regarding the decision: https://mail.python.org/archives/list/python-" -"dev@python.org/thread/CLVXXPQ2T2LQ5MP2Y53VVQFCXYWQJHKZ/. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:7536 -msgid "" -":issue:`43475`: Hashes of NaN values now depend on object identity. " -"Formerly, they always hashed to 0 even though NaN values are not equal to " -"one another. Having the same hash for unequal values caused pile-ups in " -"hash tables." -msgstr "" - -#: ../build/NEWS:7541 -msgid "" -":issue:`43859`: Improve the error message for :exc:`IndentationError` " -"exceptions. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:7544 -msgid "" -":issue:`41323`: Constant tuple folding in bytecode optimizer now reuses " -"tuple in constant table." -msgstr "" - -#: ../build/NEWS:7547 -msgid "" -":issue:`43846`: Data stack usage is much reduced for large literal and call " -"expressions." -msgstr "" - -#: ../build/NEWS:7550 -msgid "" -":issue:`38530`: When printing :exc:`NameError` raised by the interpreter, :c:" -"func:`PyErr_Display` will offer suggestions of similar variable names in the " -"function that the exception was raised from. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:7554 -msgid "" -":issue:`43823`: Improve syntax errors for invalid dictionary literals. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7557 -msgid "" -":issue:`43822`: Improve syntax errors in the parser for missing commas " -"between expressions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7560 -msgid "" -":issue:`43798`: :class:`ast.alias` nodes now include source location " -"metadata attributes e.g. lineno, col_offset." -msgstr "" - -#: ../build/NEWS:7563 -msgid "" -":issue:`43797`: Improve ``SyntaxError`` error messages for invalid " -"comparisons. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:7566 -msgid "" -":issue:`43760`: Move the flag for checking whether tracing is enabled to the " -"C stack, from the heap. Should speed up dispatch in the interpreter." -msgstr "" - -#: ../build/NEWS:7569 -msgid "" -":issue:`43682`: Static methods (:func:`@staticmethod `) and " -"class methods (:func:`@classmethod `) now inherit the method " -"attributes (``__module__``, ``__name__``, ``__qualname__``, ``__doc__``, " -"``__annotations__``) and have a new ``__wrapped__`` attribute. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7575 -msgid "" -":issue:`43751`: Fixed a bug where ``anext(ait, default)`` would erroneously " -"return None." -msgstr "" - -#: ../build/NEWS:7578 -msgid "" -":issue:`42128`: :data:`~object.__match_args__` is no longer allowed to be a " -"list." -msgstr "" - -#: ../build/NEWS:7581 -msgid "" -":issue:`43683`: Add GEN_START opcode. Marks start of generator, including " -"async, or coroutine and handles sending values to a newly created generator " -"or coroutine." -msgstr "" - -#: ../build/NEWS:7585 -msgid "" -":issue:`43105`: Importlib now resolves relative paths when creating module " -"spec objects from file locations." -msgstr "" - -#: ../build/NEWS:7588 -msgid "" -":issue:`43682`: Static methods (:func:`@staticmethod `) are " -"now callable as regular functions. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7591 -msgid "" -":issue:`42609`: Prevented crashes in the AST validator and optimizer when " -"compiling some absurdly long expressions like ``\"+0\"*1000000``. :exc:" -"`RecursionError` is now raised instead." -msgstr "" - -#: ../build/NEWS:7595 -msgid "" -":issue:`38530`: When printing :exc:`AttributeError`, :c:func:`PyErr_Display` " -"will offer suggestions of similar attribute names in the object that the " -"exception was raised from. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:7602 -msgid "" -":issue:`44015`: In @dataclass(), raise a TypeError if KW_ONLY is specified " -"more than once." -msgstr "" - -#: ../build/NEWS:7605 -msgid "" -":issue:`25478`: Added a *total()* method to collections.Counter() to compute " -"the sum of the counts." -msgstr "" - -#: ../build/NEWS:7608 -msgid "" -":issue:`43733`: Change :class:`netrc.netrc` to use UTF-8 encoding before " -"using locale encoding." -msgstr "" - -#: ../build/NEWS:7611 -msgid "" -":issue:`43979`: Removed an unnecessary list comprehension before looping " -"from :func:`urllib.parse.parse_qsl`. Patch by Christoph Zwerschke and Dong-" -"hee Na." -msgstr "" - -#: ../build/NEWS:7615 -msgid ":issue:`43993`: Update bundled pip to 21.1.1." -msgstr "" - -#: ../build/NEWS:7617 -msgid "" -":issue:`43957`: [Enum] Deprecate ``TypeError`` when non-member is used in a " -"containment check; In 3.12 ``True`` or ``False`` will be returned instead, " -"and containment will return ``True`` if the value is either a member of that " -"enum or one of its members' value." -msgstr "" - -#: ../build/NEWS:7622 -msgid "" -":issue:`42904`: For backwards compatibility with previous minor versions of " -"Python, if :func:`typing.get_type_hints` receives no namespace dictionary " -"arguments, :func:`typing.get_type_hints` will search through the global then " -"local namespaces during evaluation of stringized type annotations (string " -"forward references) inside a class." -msgstr "" - -#: ../build/NEWS:7628 -msgid "" -":issue:`43945`: [Enum] Deprecate non-standard mixin format() behavior: in " -"3.12 the enum member, not the member's value, will be used for format() " -"calls." -msgstr "" - -#: ../build/NEWS:7631 -msgid ":issue:`41139`: Deprecate undocumented ``cgi.log()`` API." -msgstr "" - -#: ../build/NEWS:7633 -msgid "" -":issue:`43937`: Fixed the :mod:`turtle` module working with non-default root " -"window." -msgstr "" - -#: ../build/NEWS:7636 -msgid ":issue:`43930`: Update bundled pip to 21.1 and setuptools to 56.0.0" -msgstr "" - -#: ../build/NEWS:7638 -msgid "" -":issue:`43907`: Fix a bug in the pure-Python pickle implementation when " -"using protocol 5, where bytearray instances that occur several time in the " -"pickled object graph would incorrectly unpickle into repeated copies of the " -"bytearray object." -msgstr "" - -#: ../build/NEWS:7643 -msgid "" -":issue:`43926`: In ``importlib.metadata``, provide a uniform interface to " -"``Description``, allow for any field to be encoded with multiline values, " -"remove continuation lines from multiline values, and add a ``.json`` " -"property for easy access to the PEP 566 JSON-compatible form. Sync with " -"``importlib_metadata 4.0``." -msgstr "" - -#: ../build/NEWS:7649 -msgid "" -":issue:`43920`: OpenSSL 3.0.0: :meth:`~ssl.SSLContext.load_verify_locations` " -"now returns a consistent error message when cadata contains no valid " -"certificate." -msgstr "" - -#: ../build/NEWS:7653 -msgid "" -":issue:`43607`: :mod:`urllib` can now convert Windows paths with ``\\\\?\\`` " -"prefixes into URL paths." -msgstr "" - -#: ../build/NEWS:7656 -msgid "" -":issue:`43817`: Add :func:`inspect.get_annotations`, which safely computes " -"the annotations defined on an object. It works around the quirks of " -"accessing the annotations from various types of objects, and makes very few " -"assumptions about the object passed in. :func:`inspect.get_annotations` can " -"also correctly un-stringize stringized annotations." -msgstr "" - -#: ../build/NEWS:7662 -msgid "" -":func:`inspect.signature`, :func:`inspect.from_callable`, and :func:`inspect." -"from_function` now call :func:`inspect.get_annotations` to retrieve " -"annotations. This means :func:`inspect.signature` and :func:`inspect." -"from_callable` can now un-stringize stringized annotations, too." -msgstr "" - -#: ../build/NEWS:7668 -msgid "" -":issue:`43284`: platform.win32_ver derives the windows version from sys." -"getwindowsversion().platform_version which in turn derives the version from " -"kernel32.dll (which can be of a different version than Windows itself). " -"Therefore change the platform.win32_ver to determine the version using the " -"platform module's _syscmd_ver private function to return an accurate version." -msgstr "" - -#: ../build/NEWS:7675 -msgid "" -":issue:`42854`: The :mod:`ssl` module now uses ``SSL_read_ex`` and " -"``SSL_write_ex`` internally. The functions support reading and writing of " -"data larger than 2 GB. Writing zero-length data no longer fails with a " -"protocol violation error." -msgstr "" - -#: ../build/NEWS:7680 -msgid "" -":issue:`42333`: Port ``_ssl`` extension module to multiphase initialization." -msgstr "" - -#: ../build/NEWS:7682 -msgid "" -":issue:`43880`: :mod:`ssl` now raises DeprecationWarning for OP_NO_SSL/TLS* " -"options, old TLS versions, old protocols, and other features that have been " -"deprecated since Python 3.6, 3.7, or OpenSSL 1.1.0." -msgstr "" - -#: ../build/NEWS:7686 -msgid "" -":issue:`41559`: :pep:`612` is now implemented purely in Python; builtin " -"``types.GenericAlias`` objects no longer include ``typing.ParamSpec`` in " -"``__parameters__`` (with the exception of ``collections.abc.Callable``\\ 's " -"``GenericAlias``). This means previously invalid uses of ``ParamSpec`` (such " -"as ``list[P]``) which worked in earlier versions of Python 3.10 alpha, will " -"now raise ``TypeError`` during substitution." -msgstr "" - -#: ../build/NEWS:7693 -msgid "" -":issue:`43867`: The :mod:`multiprocessing` ``Server`` class now explicitly " -"catches :exc:`SystemExit` and closes the client connection in this case. It " -"happens when the ``Server.serve_client()`` method reaches the end of file " -"(EOF)." -msgstr "" - -#: ../build/NEWS:7698 -msgid "" -":issue:`40443`: Remove unused imports: pyclbr no longer uses copy, and " -"typing no longer uses ast. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7701 -msgid "" -":issue:`43820`: Remove an unneeded copy of the namespace passed to " -"dataclasses.make_dataclass()." -msgstr "" - -#: ../build/NEWS:7704 -msgid "" -":issue:`43787`: Add ``__iter__()`` method to :class:`bz2.BZ2File`, :class:" -"`gzip.GzipFile`, and :class:`lzma.LZMAFile`. It makes iterating them about " -"2x faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7708 -msgid "" -":issue:`43680`: Deprecate io.OpenWrapper and _pyio.OpenWrapper: use io.open " -"and _pyio.open instead. Until Python 3.9, _pyio.open was not a static method " -"and builtins.open was set to OpenWrapper to not become a bound method when " -"set to a class variable. _io.open is a built-in function whereas _pyio.open " -"is a Python function. In Python 3.10, _pyio.open() is now a static method, " -"and builtins.open() is now io.open()." -msgstr "" - -#: ../build/NEWS:7715 -msgid "" -":issue:`43680`: The Python :func:`_pyio.open` function becomes a static " -"method to behave as :func:`io.open` built-in function: don't become a bound " -"method when stored as a class variable. It becomes possible since static " -"methods are now callable in Python 3.10. Moreover, :func:`_pyio.OpenWrapper` " -"becomes a simple alias to :func:`_pyio.open`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7722 -msgid "" -":issue:`41515`: Fix :exc:`KeyError` raised in :func:`typing.get_type_hints` " -"due to synthetic modules that don't appear in ``sys.modules``." -msgstr "" - -#: ../build/NEWS:7725 -msgid "" -":issue:`43776`: When :class:`subprocess.Popen` args are provided as a string " -"or as :class:`pathlib.Path`, the Popen instance repr now shows the right " -"thing." -msgstr "" - -#: ../build/NEWS:7729 -msgid "" -":issue:`42248`: [Enum] ensure exceptions raised in ``_missing__`` are " -"released" -msgstr "" - -#: ../build/NEWS:7731 -msgid "" -":issue:`43744`: fix issue with enum member name matching the start of a " -"private variable name" -msgstr "" - -#: ../build/NEWS:7734 -msgid "" -":issue:`43772`: Fixed the return value of ``TypeVar.__ror__``. Patch by " -"Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:7737 -msgid "" -":issue:`43764`: Add match_args parameter to @dataclass decorator to allow " -"suppression of __match_args__ generation." -msgstr "" - -#: ../build/NEWS:7740 -msgid "" -":issue:`43799`: OpenSSL 3.0.0: define ``OPENSSL_API_COMPAT`` 1.1.1 to " -"suppress deprecation warnings. Python requires OpenSSL 1.1.1 APIs." -msgstr "" - -#: ../build/NEWS:7743 -msgid "" -":issue:`43478`: Mocks can no longer be used as the specs for other Mocks. As " -"a result, an already-mocked object cannot have an attribute mocked using " -"``autospec=True`` or be the subject of a ``create_autospec(...)`` call. This " -"can uncover bugs in tests since these Mock-derived Mocks will always pass " -"certain tests (e.g. :func:`isinstance`) and builtin assert functions (e.g. " -"assert_called_once_with) will unconditionally pass." -msgstr "" - -#: ../build/NEWS:7750 -msgid "" -":issue:`43794`: Add :data:`ssl.OP_IGNORE_UNEXPECTED_EOF` constants (OpenSSL " -"3.0.0)" -msgstr "" - -#: ../build/NEWS:7753 -msgid "" -":issue:`43785`: Improve ``bz2.BZ2File`` performance by removing the RLock " -"from BZ2File. This makes BZ2File thread unsafe in the face of multiple " -"simultaneous readers or writers, just like its equivalent classes in :mod:" -"`gzip` and :mod:`lzma` have always been. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:7758 -msgid "" -":issue:`43789`: OpenSSL 3.0.0: Don't call the password callback function a " -"second time when first call has signaled an error condition." -msgstr "" - -#: ../build/NEWS:7761 -msgid "" -":issue:`43788`: The header files for :mod:`ssl` error codes are now OpenSSL " -"version-specific. Exceptions will now show correct reason and library codes. " -"The ``make_ssl_data.py`` script has been rewritten to use OpenSSL's text " -"file with error codes." -msgstr "" - -#: ../build/NEWS:7766 -msgid "" -":issue:`43766`: Implement :pep:`647` in the :mod:`typing` module by adding :" -"data:`TypeGuard`." -msgstr "" - -#: ../build/NEWS:7769 -msgid "" -":issue:`25264`: :func:`os.path.realpath` now accepts a *strict* keyword-only " -"argument. When set to ``True``, :exc:`OSError` is raised if a path doesn't " -"exist or a symlink loop is encountered." -msgstr "" - -#: ../build/NEWS:7773 -msgid "" -":issue:`43780`: In ``importlib.metadata``, incorporate changes from " -"importlib_metadata 3.10: Add mtime-based caching during distribution " -"discovery. Flagged use of dict result from ``entry_points()`` as deprecated." -msgstr "" - -#: ../build/NEWS:7778 -msgid "" -"The ``P.args`` and ``P.kwargs`` attributes of :class:`typing.ParamSpec` are " -"now instances of the new classes :class:`typing.ParamSpecArgs` and :class:" -"`typing.ParamSpecKwargs`, which enables a more useful ``repr()``. Patch by " -"Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:7783 -msgid "" -":issue:`43731`: Add an ``encoding`` parameter :func:`logging.fileConfig()`." -msgstr "" - -#: ../build/NEWS:7785 -msgid "" -":issue:`43712`: Add ``encoding`` and ``errors`` parameters to :func:" -"`fileinput.input` and :class:`fileinput.FileInput`." -msgstr "" - -#: ../build/NEWS:7788 -msgid "" -":issue:`38659`: A ``simple_enum`` decorator is added to the ``enum`` module " -"to convert a normal class into an Enum. ``test_simple_enum`` added to test " -"simple enums against a corresponding normal Enum. Standard library modules " -"updated to use ``simple_enum``." -msgstr "" - -#: ../build/NEWS:7793 -msgid "" -":issue:`43764`: Fix an issue where :data:`~object.__match_args__` generation " -"could fail for some :mod:`dataclasses`." -msgstr "" - -#: ../build/NEWS:7796 -msgid "" -":issue:`43752`: Fix :mod:`sqlite3` regression for zero-sized blobs with " -"converters, where ``b\"\"`` was returned instead of ``None``. The regression " -"was introduced by PR 24723. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7800 -msgid "" -":issue:`43655`: :mod:`tkinter` dialog windows are now recognized as dialogs " -"by window managers on macOS and X Window." -msgstr "" - -#: ../build/NEWS:7803 -msgid "" -":issue:`43723`: The following ``threading`` methods are now deprecated and " -"should be replaced:" -msgstr "" - -#: ../build/NEWS:7806 -msgid "``currentThread`` => :func:`threading.current_thread`" -msgstr "" - -#: ../build/NEWS:7808 -msgid "``activeCount`` => :func:`threading.active_count`" -msgstr "" - -#: ../build/NEWS:7810 -msgid "``Condition.notifyAll`` => :meth:`threading.Condition.notify_all`" -msgstr "" - -#: ../build/NEWS:7812 -msgid "``Event.isSet`` => :meth:`threading.Event.is_set`" -msgstr "" - -#: ../build/NEWS:7814 -msgid "``Thread.setName`` => :attr:`threading.Thread.name`" -msgstr "" - -#: ../build/NEWS:7816 -msgid "``thread.getName`` => :attr:`threading.Thread.name`" -msgstr "" - -#: ../build/NEWS:7818 -msgid "``Thread.isDaemon`` => :attr:`threading.Thread.daemon`" -msgstr "" - -#: ../build/NEWS:7820 -msgid "``Thread.setDaemon`` => :attr:`threading.Thread.daemon`" -msgstr "" - -#: ../build/NEWS:7822 -msgid "Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:7824 -msgid "" -":issue:`2135`: Deprecate find_module() and find_loader() implementations in " -"importlib and zipimport." -msgstr "" - -#: ../build/NEWS:7827 -msgid "" -":issue:`43534`: :func:`turtle.textinput` and :func:`turtle.numinput` create " -"now a transient window working on behalf of the canvas window." -msgstr "" - -#: ../build/NEWS:7830 -msgid "" -":issue:`43532`: Add the ability to specify keyword-only fields to " -"dataclasses. These fields will become keyword-only arguments to the " -"generated __init__." -msgstr "" - -#: ../build/NEWS:7833 -msgid "" -":issue:`43522`: Fix problem with :attr:`~ssl.SSLContext." -"hostname_checks_common_name`. OpenSSL does not copy hostflags from *struct " -"SSL_CTX* to *struct SSL*." -msgstr "" - -#: ../build/NEWS:7837 -msgid "" -":issue:`8978`: Improve error message for :func:`tarfile.open` when :mod:" -"`lzma` / :mod:`bz2` are unavailable. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:7840 -msgid "" -":issue:`42967`: Allow :class:`bytes` ``separator`` argument in ``urllib." -"parse.parse_qs`` and ``urllib.parse.parse_qsl`` when parsing :class:`str` " -"query strings. Previously, this raised a ``TypeError``." -msgstr "" - -#: ../build/NEWS:7844 -msgid "" -":issue:`43296`: Improve :mod:`sqlite3` error handling: " -"``sqlite3_value_blob()`` errors that set ``SQLITE_NOMEM`` now raise :exc:" -"`MemoryError`. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:7848 -msgid "" -":issue:`43312`: New functions :func:`sysconfig.get_preferred_scheme` and :" -"func:`sysconfig.get_default_scheme` are added to query a platform for its " -"preferred \"user\", \"home\", and \"prefix\" (default) scheme names." -msgstr "" - -#: ../build/NEWS:7852 -msgid "" -":issue:`43265`: Improve :meth:`sqlite3.Connection.backup` error handling. " -"The error message for non-existent target database names is now ``unknown " -"database `` instead of ``SQL logic error``. Patch by Erlend " -"E. Aasland." -msgstr "" - -#: ../build/NEWS:7857 -msgid "" -":issue:`41282`: Install schemes in :mod:`distutils.command.install` are now " -"loaded from :mod:`sysconfig`." -msgstr "" - -#: ../build/NEWS:7860 -msgid "" -":issue:`41282`: :mod:`distutils.sysconfig` has been merged to :mod:" -"`sysconfig`." -msgstr "" - -#: ../build/NEWS:7862 -msgid "" -":issue:`43176`: Fixed processing of a dataclass that inherits from a frozen " -"dataclass with no fields. It is now correctly detected as an error." -msgstr "" - -#: ../build/NEWS:7865 -msgid "" -":issue:`43080`: :mod:`pprint` now has support for :class:`dataclasses." -"dataclass`. Patch by Lewis Gaul." -msgstr "" - -#: ../build/NEWS:7868 -msgid "" -":issue:`39950`: Add `pathlib.Path.hardlink_to()` method that supersedes " -"`link_to()`. The new method has the same argument order as `symlink_to()`." -msgstr "" - -#: ../build/NEWS:7871 -msgid "" -":issue:`42904`: :func:`typing.get_type_hints` now checks the local namespace " -"of a class when evaluating :pep:`563` annotations inside said class." -msgstr "" - -#: ../build/NEWS:7874 -msgid "" -":issue:`42269`: Add ``slots`` parameter to ``dataclasses.dataclass`` " -"decorator to automatically generate ``__slots__`` for class. Patch provided " -"by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:7878 -msgid "" -":issue:`39529`: Deprecated use of :func:`asyncio.get_event_loop` without " -"running event loop. Emit deprecation warning for :mod:`asyncio` functions " -"which implicitly create a :class:`~asyncio.Future` or :class:`~asyncio.Task` " -"objects if there is no running event loop and no explicit *loop* argument is " -"passed: :func:`~asyncio.ensure_future`, :func:`~asyncio.wrap_future`, :func:" -"`~asyncio.gather`, :func:`~asyncio.shield`, :func:`~asyncio.as_completed` " -"and constructors of :class:`~asyncio.Future`, :class:`~asyncio.Task`, :class:" -"`~asyncio.StreamReader`, :class:`~asyncio.StreamReaderProtocol`." -msgstr "" - -#: ../build/NEWS:7888 -msgid "" -":issue:`18369`: Certificate and PrivateKey classes were added to the ssl " -"module. Certificates and keys can now be loaded from memory buffer, too." -msgstr "" - -#: ../build/NEWS:7891 -msgid "" -":issue:`41486`: Use a new output buffer management code for :mod:`bz2` / :" -"mod:`lzma` / :mod:`zlib` modules, and add ``.readall()`` function to " -"``_compression.DecompressReader`` class. These bring some performance " -"improvements. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:7896 -msgid "" -":issue:`31870`: The :func:`ssl.get_server_certificate` function now has a " -"*timeout* parameter." -msgstr "" - -#: ../build/NEWS:7899 -msgid "" -":issue:`41735`: Fix thread locks in zlib module may go wrong in rare case. " -"Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:7902 -msgid "" -":issue:`36470`: Fix dataclasses with ``InitVar``\\s and :func:`~dataclasses." -"replace()`. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:7905 -msgid ":issue:`40849`: Expose X509_V_FLAG_PARTIAL_CHAIN ssl flag" -msgstr "" - -#: ../build/NEWS:7907 -msgid "" -":issue:`35114`: :func:`ssl.RAND_status` now returns a boolean value (as " -"documented) instead of ``1`` or ``0``." -msgstr "" - -#: ../build/NEWS:7910 -msgid "" -":issue:`39906`: :meth:`pathlib.Path.stat` and :meth:`~pathlib.Path.chmod` " -"now accept a *follow_symlinks* keyword-only argument for consistency with " -"corresponding functions in the :mod:`os` module." -msgstr "" - -#: ../build/NEWS:7914 -msgid "" -":issue:`39899`: :func:`os.path.expanduser()` now refuses to guess Windows " -"home directories if the basename of current user's home directory does not " -"match their username." -msgstr "" - -#: ../build/NEWS:7918 -msgid "" -":meth:`pathlib.Path.expanduser()` and :meth:`~pathlib.Path.home()` now " -"consistently raise :exc:`RuntimeError` exception when a home directory " -"cannot be resolved. Previously a :exc:`KeyError` exception could be raised " -"on Windows when the ``\"USERNAME\"`` environment variable was unset." -msgstr "" - -#: ../build/NEWS:7923 -msgid "" -":issue:`36076`: Added SNI support to :func:`ssl.get_server_certificate`." -msgstr "" - -#: ../build/NEWS:7925 -msgid "" -":issue:`38490`: Covariance, Pearson's correlation, and simple linear " -"regression functionality was added to statistics module. Patch by Tymoteusz " -"Wołodźko." -msgstr "" - -#: ../build/NEWS:7928 -msgid "" -":issue:`33731`: Provide a locale.localize() function, which converts a " -"normalized number string into a locale format." -msgstr "" - -#: ../build/NEWS:7931 -msgid "" -":issue:`32745`: Fix a regression in the handling of ctypes' :data:`ctypes." -"c_wchar_p` type: embedded null characters would cause a :exc:`ValueError` to " -"be raised. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:7938 -msgid "" -":issue:`43987`: Add \"Annotations Best Practices\" document as a new HOWTO." -msgstr "" - -#: ../build/NEWS:7940 -msgid "" -":issue:`43977`: Document the new :const:`Py_TPFLAGS_MAPPING` and :const:" -"`Py_TPFLAGS_SEQUENCE` type flags." -msgstr "" - -#: ../build/NEWS:7943 -msgid "" -":issue:`43959`: The documentation on the PyContextVar C-API was clarified." -msgstr "" - -#: ../build/NEWS:7945 -msgid "" -":issue:`43938`: Update dataclasses documentation to express that " -"FrozenInstanceError is derived from AttributeError." -msgstr "" - -#: ../build/NEWS:7948 -msgid "" -":issue:`43778`: Fix the Sphinx glossary_search extension: create the " -"_static/ sub-directory if it doesn't exist." -msgstr "" - -#: ../build/NEWS:7951 -msgid "" -":issue:`43755`: Update documentation to reflect that unparenthesized lambda " -"expressions can no longer be the expression part in an ``if`` clause in " -"comprehensions and generator expressions since Python 3.9." -msgstr "" - -#: ../build/NEWS:7955 -msgid "" -":issue:`43739`: Fixing the example code in Doc/extending/extending.rst to " -"declare and initialize the pmodule variable to be of the right type." -msgstr "" - -#: ../build/NEWS:7961 -msgid "" -":issue:`43961`: Fix test_logging.test_namer_rotator_inheritance() on " -"Windows: use :func:`os.replace` rather than :func:`os.rename`. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:7965 -msgid "" -":issue:`43842`: Fix a race condition in the SMTP test of test_logging. Don't " -"close a file descriptor (socket) from a different thread while asyncore." -"loop() is polling the file descriptor. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7969 -msgid "" -":issue:`43843`: :mod:`test.libregrtest` now marks a test as ENV_CHANGED " -"(altered the execution environment) if a thread raises an exception but does " -"not catch it. It sets a hook on :func:`threading.excepthook`. Use ``--fail-" -"env-changed`` option to mark the test as failed. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:7975 -msgid "" -":issue:`43811`: Tests multiple OpenSSL versions on GitHub Actions. Use " -"ccache to speed up testing." -msgstr "" - -#: ../build/NEWS:7978 -msgid "" -":issue:`43791`: OpenSSL 3.0.0: Disable testing of legacy protocols TLS 1.0 " -"and 1.1. Tests are failing with TLSV1_ALERT_INTERNAL_ERROR." -msgstr "" - -#: ../build/NEWS:7984 -msgid "" -":issue:`43567`: Improved generated code refresh (AST/tokens/opcodes/" -"keywords) on Windows." -msgstr "" - -#: ../build/NEWS:7987 -msgid "" -":issue:`43669`: Implement :pep:`644`. Python now requires OpenSSL 1.1.1 or " -"newer." -msgstr "" - -#: ../build/NEWS:7993 -msgid "" -":issue:`35306`: Adds additional arguments to :func:`os.startfile` function." -msgstr "" - -#: ../build/NEWS:7995 -msgid "" -":issue:`43538`: Avoid raising errors from :meth:`pathlib.Path.exists()` when " -"passed an invalid filename." -msgstr "" - -#: ../build/NEWS:7998 -msgid "" -":issue:`38822`: Fixed :func:`os.stat` failing on inaccessible directories " -"with a trailing slash, rather than falling back to the parent directory's " -"metadata. This implicitly affected :func:`os.path.exists` and :func:`os.path." -"isdir`." -msgstr "" - -#: ../build/NEWS:8003 -msgid "" -":issue:`26227`: Fixed decoding of host names in :func:`socket.gethostbyaddr` " -"and :func:`socket.gethostbyname_ex`." -msgstr "" - -#: ../build/NEWS:8006 -msgid "" -":issue:`40432`: Updated pegen regeneration script on Windows to find and use " -"Python 3.8 or higher. Prior to this, pegen regeneration already required " -"3.8 or higher, but the script may have used lower versions of Python." -msgstr "" - -#: ../build/NEWS:8010 -msgid "" -":issue:`43745`: Actually updates Windows release to OpenSSL 1.1.1k. Earlier " -"releases were mislabelled and actually included 1.1.1i again." -msgstr "" - -#: ../build/NEWS:8013 -msgid ":issue:`43652`: Update Tcl and Tk to 8.6.11 in Windows installer." -msgstr "" - -#: ../build/NEWS:8015 -msgid ":issue:`43492`: Upgrade Windows installer to use SQLite 3.35.5." -msgstr "" - -#: ../build/NEWS:8017 -msgid "" -":issue:`30555`: Fix ``WindowsConsoleIO`` errors in the presence of fd " -"redirection. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:8023 -msgid "" -":issue:`42119`: Fix check for macOS SDK paths when building Python. Narrow " -"search to match contents of SDKs, namely only files in ``/System/Library``, " -"``/System/IOSSupport``, and ``/usr`` other than ``/usr/local``. Previously, " -"anything under ``/System`` was assumed to be in an SDK which causes problems " -"with the new file system layout in 10.15+ where user file systems may appear " -"to be mounted under ``/System``. Paths in ``/Library`` were also " -"incorrectly treated as SDK locations." -msgstr "" - -#: ../build/NEWS:8031 -msgid ":issue:`43568`: Drop support for MACOSX_DEPLOYMENT_TARGET < 10.3" -msgstr "" - -#: ../build/NEWS:8033 -msgid "" -":issue:`44009`: Provide \"python3.x-intel64\" executable to allow reliably " -"forcing macOS universal2 framework builds to run under Rosetta 2 Intel-64 " -"emulation on Apple Silicon Macs. This can be useful for testing or when " -"universal2 wheels are not yet available." -msgstr "" - -#: ../build/NEWS:8038 -msgid "" -":issue:`43851`: Build SQLite with ``SQLITE_OMIT_AUTOINIT`` on macOS. Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8041 -msgid ":issue:`43492`: Update macOS installer to use SQLite 3.35.4." -msgstr "" - -#: ../build/NEWS:8043 -msgid "" -":issue:`42235`: ``Mac/BuildScript/build-installer.py`` will now use \"--" -"enable-optimizations\" and ``--with-lto`` when building on macOS 10.15 or " -"later." -msgstr "" - -#: ../build/NEWS:8050 -msgid "" -":issue:`37903`: Add mouse actions to the shell sidebar. Left click and " -"optional drag selects one or more lines, as with the editor line number " -"sidebar. Right click after selecting raises a context menu with 'copy with " -"prompts'. This zips together prompts from the sidebar with lines from the " -"selected text." -msgstr "" - -#: ../build/NEWS:8056 -msgid "" -":issue:`43981`: Fix reference leak in test_sidebar and test_squeezer. " -"Patches by Terry Jan Reedy and Pablo Galindo" -msgstr "" - -#: ../build/NEWS:8059 -msgid ":issue:`37892`: Indent IDLE Shell input with spaces instead of tabs" -msgstr "" - -#: ../build/NEWS:8061 -msgid "" -":issue:`43655`: IDLE dialog windows are now recognized as dialogs by window " -"managers on macOS and X Window." -msgstr "" - -#: ../build/NEWS:8064 -msgid ":issue:`37903`: IDLE's shell now shows prompts in a separate side-bar." -msgstr "" - -#: ../build/NEWS:8069 -msgid "" -":issue:`43916`: Add a new :c:data:`Py_TPFLAGS_DISALLOW_INSTANTIATION` type " -"flag to disallow creating type instances. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8072 -msgid "" -":issue:`43774`: Remove the now unused ``PYMALLOC_DEBUG`` macro. Debug hooks " -"on memory allocators are now installed by default if Python is built in " -"debug mode (if ``Py_DEBUG`` macro is defined). Moreover, they can now be " -"used on Python build in release mode (ex: using ``PYTHONMALLOC=debug`` " -"environment variable)." -msgstr "" - -#: ../build/NEWS:8078 -msgid "" -":issue:`43962`: _PyInterpreterState_IDIncref() now calls " -"_PyInterpreterState_IDInitref() and always increments id_refcount. " -"Previously, calling _xxsubinterpreters.get_current() could create an " -"id_refcount inconsistency when a _xxsubinterpreters.InterpreterID object was " -"deallocated. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8084 -msgid "" -":issue:`28254`: Add new C-API functions to control the state of the garbage " -"collector: :c:func:`PyGC_Enable()`, :c:func:`PyGC_Disable()`, :c:func:" -"`PyGC_IsEnabled()`, corresponding to the functions in the :mod:`gc` module." -msgstr "" - -#: ../build/NEWS:8089 -msgid "" -":issue:`43908`: Introduce :const:`Py_TPFLAGS_IMMUTABLETYPE` flag for " -"immutable type objects, and modify :c:func:`PyType_Ready` to set it for " -"static types. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8093 -msgid "" -":issue:`43795`: :c:func:`PyMem_Calloc` is now available in the limited C API " -"(``Py_LIMITED_API``)." -msgstr "" - -#: ../build/NEWS:8096 -msgid "" -":issue:`43868`: :c:func:`PyOS_ReadlineFunctionPointer` is no longer exported " -"by limited C API headers and by ``python3.dll`` on Windows. Like any " -"function that takes ``FILE*``, it is not part of the stable ABI." -msgstr "" - -#: ../build/NEWS:8100 -msgid "" -":issue:`43795`: Stable ABI and limited API definitions are generated from a " -"central manifest (:pep:`652`)." -msgstr "" - -#: ../build/NEWS:8103 -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 " -"the :c:func:`Py_IsNone`, :c:func:`Py_IsTrue`, :c:func:`Py_IsFalse` functions " -"to test if an object is, respectively, the ``None`` singleton, the ``True`` " -"singleton or the ``False`` singleton. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8112 -msgid "Python 3.10.0 alpha 7" -msgstr "" - -#: ../build/NEWS:8114 -msgid "*Release date: 2021-04-05*" -msgstr "" - -#: ../build/NEWS:8119 -msgid "" -":issue:`42988`: CVE-2021-3426: Remove the ``getfile`` feature of the :mod:" -"`pydoc` module which could be abused to read arbitrary files on the disk " -"(directory traversal vulnerability). Moreover, even source code of Python " -"modules can contain sensitive data like passwords. Vulnerability reported by " -"David Schwörer." -msgstr "" - -#: ../build/NEWS:8125 -msgid "" -":issue:`43285`: :mod:`ftplib` no longer trusts the IP address value returned " -"from the server in response to the PASV command by default. This prevents a " -"malicious FTP server from using the response to probe IPv4 address and port " -"combinations on the client network." -msgstr "" - -#: ../build/NEWS:8130 -msgid "" -"Code that requires the former vulnerable behavior may set a " -"``trust_server_pasv_ipv4_address`` attribute on their :class:`ftplib.FTP` " -"instances to ``True`` to re-enable it." -msgstr "" - -#: ../build/NEWS:8134 -msgid "" -":issue:`43439`: Add audit hooks for :func:`gc.get_objects`, :func:`gc." -"get_referrers` and :func:`gc.get_referents`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8141 -msgid ":issue:`27129`: Update CPython bytecode magic number." -msgstr "" - -#: ../build/NEWS:8143 -msgid ":issue:`43672`: Raise ImportWarning when calling find_loader()." -msgstr "" - -#: ../build/NEWS:8145 -msgid "" -":issue:`43660`: Fix crash that happens when replacing ``sys.stderr`` with a " -"callable that can remove the object while an exception is being printed. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8149 -msgid "" -":issue:`27129`: The bytecode interpreter uses instruction, rather byte, " -"offsets internally. This reduces the number of EXTENDED_ARG instructions " -"needed and streamlines instruction dispatch a bit." -msgstr "" - -#: ../build/NEWS:8153 -msgid "" -":issue:`40645`: Fix reference leak in the :mod:`_hashopenssl` extension. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8156 -msgid "" -":issue:`42134`: Calls to find_module() by the import system now raise " -"ImportWarning." -msgstr "" - -#: ../build/NEWS:8159 -msgid "" -":issue:`41064`: Improve the syntax error for invalid usage of double starred " -"elements ('**') in f-strings. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8162 -msgid "" -":issue:`43575`: Speed up calls to ``map()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:8165 -msgid "" -":issue:`42137`: The import system now prefers using ``__spec__`` for " -"``ModuleType.__repr__`` over ``module_repr()``." -msgstr "" - -#: ../build/NEWS:8168 -msgid "" -":issue:`43452`: Added micro-optimizations to ``_PyType_Lookup()`` to improve " -"cache lookup performance in the common case of cache hits." -msgstr "" - -#: ../build/NEWS:8171 -msgid "" -":issue:`43555`: Report the column offset for :exc:`SyntaxError` for invalid " -"line continuation characters. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8174 -msgid "" -":issue:`43517`: Fix misdetection of circular imports when using ``from pkg." -"mod import attr``, which caused false positives in non-trivial multi-" -"threaded code." -msgstr "" - -#: ../build/NEWS:8178 -msgid "" -":issue:`43497`: Emit SyntaxWarnings for assertions with tuple constants, " -"this is a regression introduced in python3.7" -msgstr "" - -#: ../build/NEWS:8181 -msgid "" -":issue:`39316`: Tracing now has correct line numbers for attribute accesses " -"when the attribute is on a different line from the object. Improves " -"debugging and profiling for multi-line method chains." -msgstr "" - -#: ../build/NEWS:8185 -msgid "" -":issue:`35883`: Python no longer fails at startup with a fatal error if a " -"command line argument contains an invalid Unicode character. The :c:func:" -"`Py_DecodeLocale` function now escapes byte sequences which would be decoded " -"as Unicode characters outside the [U+0000; U+10ffff] range." -msgstr "" - -#: ../build/NEWS:8190 -msgid "" -":issue:`43410`: Fix a bug that was causing the parser to crash when emitting " -"syntax errors when reading input from stdin. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:8193 -msgid "" -":issue:`43406`: Fix a possible race condition where ``PyErr_CheckSignals`` " -"tries to execute a non-Python signal handler." -msgstr "" - -#: ../build/NEWS:8196 -msgid "" -":issue:`42128`: Add ``__match_args__`` to :c:type:`structsequence` based " -"classes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8199 -msgid "" -":issue:`43390`: CPython now sets the ``SA_ONSTACK`` flag in ``PyOS_setsig`` " -"for the VM's default signal handlers. This is friendlier to other in-" -"process code that an extension module or embedding use could pull in (such " -"as Golang's cgo) where tiny thread stacks are the norm and ``sigaltstack()`` " -"has been used to provide for signal handlers. This is a no-op change for " -"the vast majority of processes that don't use sigaltstack." -msgstr "" - -#: ../build/NEWS:8206 -msgid "" -":issue:`43287`: Speed up calls to ``filter()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:8209 -msgid "" -":issue:`37448`: Add a radix tree based memory map to track in-use obmalloc " -"arenas. Use to replace the old implementation of address_in_range(). The " -"radix tree approach makes it easy to increase pool sizes beyond the OS page " -"size. Boosting the pool and arena size allows obmalloc to handle a " -"significantly higher percentage of requests from its ultra-fast paths." -msgstr "" - -#: ../build/NEWS:8215 -msgid "" -"It also has the advantage of eliminating the memory unsanitary behavior of " -"the previous address_in_range(). The old address_in_range() was marked with " -"the annotations _Py_NO_SANITIZE_ADDRESS, _Py_NO_SANITIZE_THREAD, and " -"_Py_NO_SANITIZE_MEMORY. Those annotations are no longer needed." -msgstr "" - -#: ../build/NEWS:8220 -msgid "" -"To disable the radix tree map, set a preprocessor flag as follows: `-" -"DWITH_PYMALLOC_RADIX_TREE=0`." -msgstr "" - -#: ../build/NEWS:8223 -msgid "Co-authored-by: Tim Peters " -msgstr "" - -#: ../build/NEWS:8225 -msgid "" -":issue:`29988`: Only handle asynchronous exceptions and requests to drop the " -"GIL when returning from a call or on the back edges of loops. Makes sure " -"that :meth:`__exit__` is always called in with statements, even for " -"interrupts." -msgstr "" - -#: ../build/NEWS:8233 -msgid "" -":issue:`43720`: Document various stdlib deprecations in imp, pkgutil, and " -"importlib.util for removal in Python 3.12." -msgstr "" - -#: ../build/NEWS:8236 -msgid "" -":issue:`43433`: :class:`xmlrpc.client.ServerProxy` no longer ignores query " -"and fragment in the URL of the server." -msgstr "" - -#: ../build/NEWS:8239 -msgid "" -":issue:`31956`: The :meth:`~array.array.index` method of :class:`array." -"array` now has optional *start* and *stop* parameters." -msgstr "" - -#: ../build/NEWS:8242 -msgid "" -":issue:`40066`: Enum: adjust ``repr()`` to show only enum and member name " -"(not value, nor angle brackets) and ``str()`` to show only member name. " -"Update and improve documentation to match." -msgstr "" - -#: ../build/NEWS:8246 -msgid "" -":issue:`42136`: Deprecate all module_repr() methods found in importlib as " -"their use is being phased out by Python 3.12." -msgstr "" - -#: ../build/NEWS:8249 -msgid "" -":issue:`35930`: Raising an exception raised in a \"future\" instance will " -"create reference cycles." -msgstr "" - -#: ../build/NEWS:8252 -msgid "" -":issue:`41369`: Finish updating the vendored libmpdec to version 2.5.1. " -"Patch by Stefan Krah." -msgstr "" - -#: ../build/NEWS:8255 -msgid "" -":issue:`43422`: Revert the _decimal C API which was added in :issue:`41324`." -msgstr "" - -#: ../build/NEWS:8257 -msgid "" -":issue:`43577`: Fix deadlock when using :class:`ssl.SSLContext` debug " -"callback with :meth:`ssl.SSLContext.sni_callback`." -msgstr "" - -#: ../build/NEWS:8260 -msgid "" -":issue:`43571`: It's now possible to create MPTCP sockets with IPPROTO_MPTCP" -msgstr "" - -#: ../build/NEWS:8262 -msgid "" -":issue:`43542`: ``image/heic`` and ``image/heif`` were added to :mod:" -"`mimetypes`." -msgstr "" - -#: ../build/NEWS:8265 -msgid "" -":issue:`40645`: The :mod:`hmac` module now uses OpenSSL's HMAC " -"implementation when digestmod argument is a hash name or builtin hash " -"function." -msgstr "" - -#: ../build/NEWS:8268 -msgid "" -":issue:`43510`: Implement :pep:`597`: Add ``EncodingWarning`` warning, ``-X " -"warn_default_encoding`` option, :envvar:`PYTHONWARNDEFAULTENCODING` " -"environment variable and ``encoding=\"locale\"`` argument value." -msgstr "" - -#: ../build/NEWS:8272 -msgid ":issue:`43521`: ``ast.unparse`` can now render NaNs and empty sets." -msgstr "" - -#: ../build/NEWS:8274 -msgid "" -":issue:`42914`: :func:`pprint.pprint` gains a new boolean " -"``underscore_numbers`` optional argument to emit integers with thousands " -"separated by an underscore character for improved readability (for example " -"``1_000_000`` instead of ``1000000``)." -msgstr "" - -#: ../build/NEWS:8279 -msgid "" -":issue:`41361`: :meth:`~collections.deque.rotate` calls are now slightly " -"faster due to faster argument parsing." -msgstr "" - -#: ../build/NEWS:8282 -msgid "" -":issue:`43423`: :func:`subprocess.communicate` no longer raises an " -"IndexError when there is an empty stdout or stderr IO buffer during a " -"timeout on Windows." -msgstr "" - -#: ../build/NEWS:8286 -msgid "" -":issue:`27820`: Fixed long-standing bug of smtplib.SMTP where doing AUTH " -"LOGIN with initial_response_ok=False will fail." -msgstr "" - -#: ../build/NEWS:8289 -msgid "" -"The cause is that SMTP.auth_login _always_ returns a password if provided " -"with a challenge string, thus non-compliant with the standard for AUTH LOGIN." -msgstr "" - -#: ../build/NEWS:8293 -msgid "Also fixes bug with the test for smtpd." -msgstr "" - -#: ../build/NEWS:8295 -msgid "" -":issue:`43445`: Add frozen modules to :data:`sys.stdlib_module_names`. For " -"example, add ``\"_frozen_importlib\"`` and " -"``\"_frozen_importlib_external\"`` names." -msgstr "" - -#: ../build/NEWS:8299 -msgid "" -":issue:`43245`: Add keyword arguments support to ``ChainMap.new_child()``." -msgstr "" - -#: ../build/NEWS:8301 -msgid "" -":issue:`29982`: Add optional parameter *ignore_cleanup_errors* to :func:" -"`tempfile.TemporaryDirectory` and allow multiple :func:`cleanup` attempts. " -"Contributed by C.A.M. Gerlach." -msgstr "" - -#: ../build/NEWS:8305 -msgid "" -":issue:`43428`: Include changes from `importlib_metadata 3.7 `_:" -msgstr "" - -#: ../build/NEWS:8308 -msgid "Performance enhancements to distribution discovery." -msgstr "" - -#: ../build/NEWS:8310 -msgid "``entry_points`` only returns unique distributions." -msgstr "" - -#: ../build/NEWS:8312 -msgid "" -"Introduces new ``EntryPoints`` object for containing a set of entry points " -"with convenience methods for selecting entry points by group or name. " -"``entry_points`` now returns this object if selection parameters are " -"supplied but continues to return a dict object for compatibility. Users are " -"encouraged to rely on the selection interface. The dict object result is " -"likely to be deprecated in the future." -msgstr "" - -#: ../build/NEWS:8319 -msgid "" -"Added packages_distributions function to return a mapping of packages to the " -"distributions that provide them." -msgstr "" - -#: ../build/NEWS:8322 -msgid "" -":issue:`43332`: Improves the networking efficiency of :mod:`http.client` " -"when using a proxy via :meth:`~HTTPConnection.set_tunnel`. Fewer small send " -"calls are made during connection setup." -msgstr "" - -#: ../build/NEWS:8326 -msgid "" -":issue:`43420`: Improve performance of :class:`fractions.Fraction` " -"arithmetics for large components. Contributed by Sergey B. Kirpichev." -msgstr "" - -#: ../build/NEWS:8329 -msgid "" -":issue:`43356`: Allow passing a signal number to ``_thread." -"interrupt_main()``." -msgstr "" - -#: ../build/NEWS:8331 -msgid "" -":issue:`43399`: Fix ``ElementTree.extend`` not working on iterators when " -"using the Python implementation" -msgstr "" - -#: ../build/NEWS:8334 -msgid "" -":issue:`43369`: Improve :mod:`sqlite3` error handling: If " -"``sqlite3_column_text()`` and ``sqlite3_column_blob()`` set " -"``SQLITE_NOMEM``, :exc:`MemoryError` is now raised. Patch by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:8339 -msgid "" -":issue:`43368`: Fix a regression introduced in PR 24562, where an empty " -"bytestring was fetched as ``None`` instead of ``b''`` in :mod:`sqlite3`. " -"Patch by Mariusz Felisiak." -msgstr "" - -#: ../build/NEWS:8343 -msgid "" -":issue:`41282`: Fixed stacklevel of ``DeprecationWarning`` emitted from " -"``import distutils``." -msgstr "" - -#: ../build/NEWS:8346 -msgid "" -":issue:`42129`: ``importlib.resources`` now honors namespace packages, " -"merging resources from each location in the namespace as introduced in " -"``importlib_resources`` 3.2 and including incidental changes through 5.0.3." -msgstr "" - -#: ../build/NEWS:8351 -msgid "" -":issue:`43295`: :meth:`datetime.datetime.strptime` now raises ``ValueError`` " -"instead of ``IndexError`` when matching ``'z'`` with the ``%z`` format " -"specifier." -msgstr "" - -#: ../build/NEWS:8355 -msgid "" -":issue:`43125`: Return empty string if base64mime.body_encode receive empty " -"bytes" -msgstr "" - -#: ../build/NEWS:8358 -msgid "" -":issue:`43084`: :func:`curses.window.enclose` returns now ``True`` or " -"``False`` (as was documented) instead of ``1`` or ``0``." -msgstr "" - -#: ../build/NEWS:8361 -msgid ":issue:`42994`: Add MIME types for opus, AAC, 3gpp and 3gpp2" -msgstr "" - -#: ../build/NEWS:8363 -msgid "" -":issue:`14678`: Add an invalidate_caches() method to the zipimport." -"zipimporter class to support importlib.invalidate_caches(). Patch by Desmond " -"Cheong." -msgstr "" - -#: ../build/NEWS:8366 -msgid "" -":issue:`42782`: Fail fast in :func:`shutil.move()` to avoid creating " -"destination directories on failure." -msgstr "" - -#: ../build/NEWS:8369 -msgid "" -":issue:`40066`: Enum's `repr()` and `str()` have changed: `repr()` is now " -"*EnumClass.MemberName* and `str()` is *MemberName*. Additionally, stdlib " -"Enum's whose contents are available as module attributes, such as `RegexFlag." -"IGNORECASE`, have their `repr()` as *module.name*, e.g. `re.IGNORECASE`." -msgstr "" - -#: ../build/NEWS:8375 -msgid "" -":issue:`26053`: Fixed bug where the :mod:`pdb` interactive run command " -"echoed the args from the shell command line, even if those have been " -"overridden at the pdb prompt." -msgstr "" - -#: ../build/NEWS:8379 -msgid "" -":issue:`24160`: Fixed bug where breakpoints did not persist across multiple " -"debugger sessions in :mod:`pdb`'s interactive mode." -msgstr "" - -#: ../build/NEWS:8382 -msgid "" -":issue:`40701`: When the :data:`tempfile.tempdir` global variable is set to " -"a value of type bytes, it is now handled consistently. Previously " -"exceptions could be raised from some tempfile APIs when the directory did " -"not already exist in this situation. Also ensures that the :func:`tempfile." -"gettempdir()` and :func:`tempfile.gettempdirb()` functions *always* return " -"``str`` and ``bytes`` respectively." -msgstr "" - -#: ../build/NEWS:8389 -msgid "" -":issue:`39342`: Expose ``X509_V_FLAG_ALLOW_PROXY_CERTS`` as :data:`~ssl." -"VERIFY_ALLOW_PROXY_CERTS` to allow proxy certificate validation as explained " -"in https://www.openssl.org/docs/man1.1.1/man7/proxy-certificates.html." -msgstr "" - -#: ../build/NEWS:8394 -msgid "" -":issue:`31861`: Add builtins.aiter and builtins.anext. Patch by Joshua " -"Bronson (@jab), Daniel Pope (@lordmauve), and Justin Wang (@justin39)." -msgstr "" - -#: ../build/NEWS:8400 -msgid "" -":issue:`43199`: Answer \"Why is there no goto?\" in the Design and History " -"FAQ." -msgstr "" - -#: ../build/NEWS:8402 -msgid "" -":issue:`43407`: Clarified that a result from :func:`time.monotonic`, :func:" -"`time.perf_counter`, :func:`time.process_time`, or :func:`time.thread_time` " -"can be compared with the result from any following call to the same function " -"- not just the next immediate call." -msgstr "" - -#: ../build/NEWS:8407 -msgid "" -":issue:`43354`: Fix type documentation for ``Fault.faultCode``; the type has " -"to be ``int`` instead of ``str``." -msgstr "" - -#: ../build/NEWS:8410 -msgid "" -":issue:`41933`: Clarified wording of s * n in the Common Sequence Operations" -msgstr "" - -#: ../build/NEWS:8415 -msgid "" -":issue:`37945`: Fix test_getsetlocale_issue1813() of test_locale: skip the " -"test if ``setlocale()`` fails. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8418 -msgid "" -":issue:`41561`: Add workaround for Ubuntu's custom OpenSSL security level " -"policy." -msgstr "" - -#: ../build/NEWS:8424 -msgid "" -":issue:`43179`: Introduce and correctly use ALIGNOF_X in place of SIZEOF_X " -"for alignment-related code in optimized string routines. Patch by Jessica " -"Clarke." -msgstr "" - -#: ../build/NEWS:8428 -msgid ":issue:`43631`: Update macOS, Windows, and CI to OpenSSL 1.1.1k." -msgstr "" - -#: ../build/NEWS:8430 -msgid "" -":issue:`43617`: Improve configure.ac: Check for presence of autoconf-archive " -"package and remove our copies of M4 macros." -msgstr "" - -#: ../build/NEWS:8433 -msgid "" -":issue:`43466`: The ``configure`` script now supports ``--with-openssl-" -"rpath`` option." -msgstr "" - -#: ../build/NEWS:8436 -msgid "" -":issue:`43372`: Use ``_freeze_importlib`` to generate code for the " -"``__hello__`` module. This approach ensures the code matches the interpreter " -"version. Previously, PYTHON_FOR_REGEN was used to generate the code, which " -"might be wrong. The marshal format for code objects has changed with :issue:" -"`42246`, commit 877df851. Update the code and the expected code sizes in " -"ctypes test_frozentable." -msgstr "" - -#: ../build/NEWS:8446 -msgid "" -":issue:`43440`: Build :mod:`sqlite3` with the ``R*Tree`` module enabled. " -"Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8452 -msgid "" -":issue:`42225`: Document that IDLE can fail on Unix either from " -"misconfigured IP masquerade rules or failure displaying complex colored (non-" -"ascii) characters." -msgstr "" - -#: ../build/NEWS:8459 -msgid "" -":issue:`43688`: The limited C API is now supported if Python is built in " -"debug mode (if the ``Py_DEBUG`` macro is defined). In the limited C API, " -"the :c:func:`Py_INCREF` and :c:func:`Py_DECREF` functions are now " -"implemented as opaque function calls, rather than accessing directly the :c:" -"member:`PyObject.ob_refcnt` member, if Python is built in debug mode and the " -"``Py_LIMITED_API`` macro targets Python 3.10 or newer. It became possible to " -"support the limited C API in debug mode because the :c:type:`PyObject` " -"structure is the same in release and debug mode since Python 3.8 (see :issue:" -"`36465`)." -msgstr "" - -#: ../build/NEWS:8469 -msgid "" -"The limited C API is still not supported in the ``--with-trace-refs`` " -"special build (``Py_TRACE_REFS`` macro)." -msgstr "" - -#: ../build/NEWS:8474 -msgid ":issue:`43244`: Remove the ``pyarena.h`` header file with functions:" -msgstr "" - -#: ../build/NEWS:8476 -msgid "``PyArena_New()``" -msgstr "" - -#: ../build/NEWS:8477 -msgid "``PyArena_Free()``" -msgstr "" - -#: ../build/NEWS:8478 -msgid "``PyArena_Malloc()``" -msgstr "" - -#: ../build/NEWS:8479 -msgid "``PyArena_AddPyObject()``" -msgstr "" - -#: ../build/NEWS:8481 -msgid "" -"These functions were undocumented, excluded from the limited C API, and were " -"only used internally by the compiler. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8484 -msgid "" -":issue:`43244`: Remove the compiler and parser functions using ``struct " -"_mod`` type, because the public AST C API was removed:" -msgstr "" - -#: ../build/NEWS:8487 -msgid "``PyAST_Compile()``" -msgstr "" - -#: ../build/NEWS:8488 -msgid "``PyAST_CompileEx()``" -msgstr "" - -#: ../build/NEWS:8489 -msgid "``PyAST_CompileObject()``" -msgstr "" - -#: ../build/NEWS:8490 -msgid "``PyFuture_FromAST()``" -msgstr "" - -#: ../build/NEWS:8491 -msgid "``PyFuture_FromASTObject()``" -msgstr "" - -#: ../build/NEWS:8492 -msgid "``PyParser_ASTFromFile()``" -msgstr "" - -#: ../build/NEWS:8493 -msgid "``PyParser_ASTFromFileObject()``" -msgstr "" - -#: ../build/NEWS:8494 -msgid "``PyParser_ASTFromFilename()``" -msgstr "" - -#: ../build/NEWS:8495 -msgid "``PyParser_ASTFromString()``" -msgstr "" - -#: ../build/NEWS:8496 -msgid "``PyParser_ASTFromStringObject()``" -msgstr "" - -#: ../build/NEWS:8498 -msgid "" -"These functions were undocumented and excluded from the limited C API. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8501 -msgid "" -":issue:`43244`: Remove ``ast.h``, ``asdl.h``, and ``Python-ast.h`` header " -"files. These functions were undocumented and excluded from the limited C " -"API. Most names defined by these header files were not prefixed by ``Py`` " -"and so could create names conflicts. For example, ``Python-ast.h`` defined a " -"``Yield`` macro which was conflict with the ``Yield`` name used by the " -"Windows ```` header. Use the Python :mod:`ast` module instead. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8509 -msgid "" -":issue:`43541`: Fix a ``PyEval_EvalCodeEx()`` regression: fix reference " -"counting on builtins. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8512 -msgid "" -":issue:`43244`: Remove the ``symtable.h`` header file and the undocumented " -"functions:" -msgstr "" - -#: ../build/NEWS:8515 -msgid "``PyST_GetScope()``" -msgstr "" - -#: ../build/NEWS:8516 -msgid "``PySymtable_Build()``" -msgstr "" - -#: ../build/NEWS:8517 -msgid "``PySymtable_BuildObject()``" -msgstr "" - -#: ../build/NEWS:8518 -msgid "``PySymtable_Free()``" -msgstr "" - -#: ../build/NEWS:8519 -msgid "``Py_SymtableString()``" -msgstr "" - -#: ../build/NEWS:8520 -msgid "``Py_SymtableStringObject()``" -msgstr "" - -#: ../build/NEWS:8522 -msgid "" -"The ``Py_SymtableString()`` function was part the stable ABI by mistake but " -"it could not be used, because the ``symtable.h`` header file was excluded " -"from the limited C API." -msgstr "" - -#: ../build/NEWS:8526 -msgid "The Python :mod:`symtable` module remains available and is unchanged." -msgstr "" - -#: ../build/NEWS:8530 -msgid "" -":issue:`43244`: Remove the ``PyAST_Validate()`` function. It is no longer " -"possible to build a AST object (``mod_ty`` type) with the public C API. The " -"function was already excluded from the limited C API (:pep:`384`). Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:8537 -msgid "Python 3.10.0 alpha 6" -msgstr "" - -#: ../build/NEWS:8539 -msgid "*Release date: 2021-03-01*" -msgstr "" - -#: ../build/NEWS:8544 -msgid "" -":issue:`42967`: Fix web cache poisoning vulnerability by defaulting the " -"query args separator to ``&``, and allowing the user to choose a custom " -"separator." -msgstr "" - -#: ../build/NEWS:8551 -msgid "" -":issue:`43321`: Fix ``SystemError`` raised when ``PyArg_Parse*()`` is used " -"with ``#`` but without ``PY_SSIZE_T_CLEAN`` defined." -msgstr "" - -#: ../build/NEWS:8554 -msgid "" -":issue:`36346`: ``PyArg_Parse*()`` functions now emits " -"``DeprecationWarning`` when ``u`` or ``Z`` format is used. See :pep:`623` " -"for detail." -msgstr "" - -#: ../build/NEWS:8557 -msgid "" -":issue:`43277`: Add a new :c:func:`PySet_CheckExact` function to the C-API " -"to check if an object is an instance of :class:`set` but not an instance of " -"a subtype. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8561 -msgid "" -":issue:`42990`: The :data:`types.FunctionType` constructor now inherits the " -"current builtins if the *globals* dictionary has no ``\"__builtins__\"`` " -"key, rather than using ``{\"None\": None}`` as builtins: same behavior as :" -"func:`eval` and :func:`exec` functions. Defining a function with ``def " -"function(...): ...`` in Python is not affected, globals cannot be overridden " -"with this syntax: it also inherits the current builtins. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:8569 -msgid "" -":issue:`42990`: Functions have a new ``__builtins__`` attribute which is " -"used to look for builtin symbols when a function is executed, instead of " -"looking into ``__globals__['__builtins__']``. Patch by Mark Shannon and " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:8574 -msgid "" -":issue:`43149`: Improve the error message in the parser for exception groups " -"without parentheses. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8577 -msgid "" -":issue:`43121`: Fixed an incorrect :exc:`SyntaxError` message for missing " -"comma in literals. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8580 -msgid "" -":issue:`42819`: :mod:`readline`: Explicitly disable bracketed paste in the " -"interactive interpreter, even if it's set in the inputrc, is enabled by " -"default (eg GNU Readline 8.1), or a user calls ``readline." -"read_init_file()``. The Python REPL has not implemented bracketed paste " -"support. Also, bracketed mode writes the ``\"\\x1b[?2004h\"`` escape " -"sequence into stdout which causes test failures in applications that don't " -"support it. It can still be explicitly enabled by calling ``readline." -"parse_and_bind(\"set enable-bracketed-paste on\")``. Patch by Dustin " -"Rodrigues." -msgstr "" - -#: ../build/NEWS:8590 -msgid "" -":issue:`42808`: Simple calls to ``type(object)`` are now faster due to the " -"``vectorcall`` calling convention. Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:8593 -msgid "" -":issue:`42217`: Make the compiler merges same co_code and co_linetable " -"objects in a module like already did for co_consts." -msgstr "" - -#: ../build/NEWS:8596 -msgid "" -":issue:`41972`: Substring search functions such as ``str1 in str2`` and " -"``str2.find(str1)`` now sometimes use the \"Two-Way\" string comparison " -"algorithm to avoid quadratic behavior on long strings." -msgstr "" - -#: ../build/NEWS:8600 -msgid "" -":issue:`42128`: Implement :pep:`634` (structural pattern matching). Patch by " -"Brandt Bucher." -msgstr "" - -#: ../build/NEWS:8603 -msgid "" -":issue:`40692`: In the :class:`concurrent.futures.ProcessPoolExecutor`, " -"validate that :func:`multiprocess.synchronize` is available on a given " -"platform and rely on that check in the :mod:`concurrent.futures` test suite " -"so we can run tests that are unrelated to :class:`ProcessPoolExecutor` on " -"those platforms." -msgstr "" - -#: ../build/NEWS:8609 -msgid "" -":issue:`38302`: If :func:`object.__ipow__` returns :const:`NotImplemented`, " -"the operator will correctly fall back to :func:`object.__pow__` and :func:" -"`object.__rpow__` as expected." -msgstr "" - -#: ../build/NEWS:8616 -msgid "" -":issue:`43316`: The ``python -m gzip`` command line application now properly " -"fails when detecting an unsupported extension. It exits with a non-zero exit " -"code and prints an error message to stderr." -msgstr "" - -#: ../build/NEWS:8620 -msgid "" -":issue:`43317`: Set the chunk size for the ``gzip`` module main function to " -"io.DEFAULT_BUFFER_SIZE. This is slightly faster than the 1024 bytes constant " -"that was used previously." -msgstr "" - -#: ../build/NEWS:8624 -msgid "" -":issue:`43146`: Handle None in single-arg versions of :func:`~traceback." -"print_exception` and :func:`~traceback.format_exception`." -msgstr "" - -#: ../build/NEWS:8628 -msgid "" -":issue:`43260`: Fix TextIOWrapper can not flush internal buffer forever " -"after very large text is written." -msgstr "" - -#: ../build/NEWS:8631 -msgid "" -":issue:`43258`: Prevent needless allocation of :mod:`sqlite3` aggregate " -"function context when no rows match an aggregate query. Patch by Erlend E. " -"Aasland." -msgstr "" - -#: ../build/NEWS:8635 -msgid "" -":issue:`43251`: Improve :mod:`sqlite3` error handling: " -"``sqlite3_column_name()`` failures now result in :exc:`MemoryError`. Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8639 -msgid "" -":issue:`40956`: Fix segfault in :meth:`sqlite3.Connection.backup` if no " -"argument was provided. The regression was introduced by PR 23838. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8643 -msgid "" -":issue:`43172`: The readline module now passes its tests when built directly " -"against libedit. Existing irreconcilable API differences remain in :func:" -"`readline.get_begidx` and :func:`readline.get_endidx` behavior based on " -"libreadline vs libedit use." -msgstr "" - -#: ../build/NEWS:8648 -msgid "" -":issue:`43163`: Fix a bug in :mod:`codeop` that was causing it to not ask " -"for more input when multi-line snippets have unclosed parentheses. Patch by " -"Pablo Galindo" -msgstr "" - -#: ../build/NEWS:8652 -msgid "" -":issue:`43162`: deprecate unsupported ability to access enum members as " -"attributes of other enum members" -msgstr "" - -#: ../build/NEWS:8655 -msgid "" -":issue:`43146`: Fix recent regression in None argument handling in :mod:" -"`~traceback` module functions." -msgstr "" - -#: ../build/NEWS:8658 -msgid "" -":issue:`43102`: The namedtuple __new__ method had its __builtins__ set to " -"None instead of an actual dictionary. This created problems for " -"introspection tools." -msgstr "" - -#: ../build/NEWS:8662 -msgid "" -":issue:`43106`: Added :data:`~os.O_EVTONLY`, :data:`~os.O_FSYNC`, :data:`~os." -"O_SYMLINK` and :data:`~os.O_NOFOLLOW_ANY` for macOS. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:8666 -msgid "" -":issue:`42960`: Adds :data:`resource.RLIMIT_KQUEUES` constant from FreeBSD " -"to the :mod:`resource` module." -msgstr "" - -#: ../build/NEWS:8669 -msgid "" -":issue:`42151`: Make the pure Python implementation of :mod:`xml.etree." -"ElementTree` behave the same as the C implementation (:mod:`_elementree`) " -"regarding default attribute values (by not setting " -"``specified_attributes=1``)." -msgstr "" - -#: ../build/NEWS:8674 -msgid "" -":issue:`29753`: In ctypes, now packed bitfields are calculated properly and " -"the first item of packed bitfields is now shrank correctly." -msgstr "" - -#: ../build/NEWS:8680 -msgid "" -":issue:`27646`: Clarify that 'yield from ' works with any iterable, " -"not just iterators." -msgstr "" - -#: ../build/NEWS:8683 -msgid "" -":issue:`36346`: Update some deprecated unicode APIs which are documented as " -"\"will be removed in 4.0\" to \"3.12\". See :pep:`623` for detail." -msgstr "" - -#: ../build/NEWS:8689 -msgid "" -":issue:`43288`: Fix test_importlib to correctly skip Unicode file tests if " -"the filesystem does not support them." -msgstr "" - -#: ../build/NEWS:8695 -msgid ":issue:`43174`: Windows build now uses ``/utf-8`` compiler option." -msgstr "" - -#: ../build/NEWS:8697 -msgid "" -":issue:`43103`: Add a new configure ``--without-static-libpython`` option to " -"not build the ``libpythonMAJOR.MINOR.a`` static library and not install the " -"``python.o`` object file." -msgstr "" - -#: ../build/NEWS:8701 -msgid "" -":issue:`13501`: The configure script can now use *libedit* instead of " -"*readline* with the command line option ``--with-readline=editline``." -msgstr "" - -#: ../build/NEWS:8704 -msgid "" -":issue:`42603`: Make configure script use pkg-config to detect the location " -"of Tcl/Tk headers and libraries, used to build tkinter." -msgstr "" - -#: ../build/NEWS:8707 -msgid "" -"On macOS, a Tcl/Tk configuration provided by pkg-config will be preferred " -"over Tcl/Tk frameworks installed in ``/{System/,}Library/Frameworks``. If " -"both exist and the latter is preferred, the appropriate ``--with-tcltk-*`` " -"configuration options need to be explicitly set." -msgstr "" - -#: ../build/NEWS:8712 -msgid "" -":issue:`39448`: Add the \"regen-frozen\" makefile target that regenerates " -"the code for the frozen ``__hello__`` module." -msgstr "" - -#: ../build/NEWS:8718 -msgid "" -":issue:`43155`: :c:func:`PyCMethod_New` is now present in ``python3.lib``." -msgstr "" - -#: ../build/NEWS:8723 -msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1j." -msgstr "" - -#: ../build/NEWS:8728 -msgid "" -":issue:`43283`: Document why printing to IDLE's Shell is often slower than " -"printing to a system terminal and that it can be made faster by pre-" -"formatting a single string before printing." -msgstr "" - -#: ../build/NEWS:8735 -msgid "" -":issue:`43278`: Always put compiler and system information on the first line " -"of the REPL welcome message." -msgstr "" - -#: ../build/NEWS:8738 -msgid "" -":issue:`43270`: Remove the private ``_PyErr_OCCURRED()`` macro: use the " -"public :c:func:`PyErr_Occurred` function instead." -msgstr "" - -#: ../build/NEWS:8741 -msgid "" -":issue:`35134`: Move odictobject.h, parser_interface.h, picklebufobject.h, " -"pydebug.h, and pyfpe.h into the cpython/ directory. They must not be " -"included directly, as they are already included by Python.h: :ref:`Include " -"Files `." -msgstr "" - -#: ../build/NEWS:8746 -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 "" - -#: ../build/NEWS:8750 -msgid "" -":issue:`40170`: :c:func:`PyExceptionClass_Name` is now always declared as a " -"function, in order to hide implementation details. The macro accessed :c:" -"member:`PyTypeObject.tp_name` directly. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8754 -msgid "" -":issue:`43239`: The :c:func:`PyCFunction_New` function is now exported in " -"the ABI when compiled with ``-fvisibility=hidden``." -msgstr "" - -#: ../build/NEWS:8757 -msgid "" -":issue:`40170`: :c:func:`PyIter_Check` is now always declared as a function, " -"in order to hide implementation details. The macro accessed :c:member:" -"`PyTypeObject.tp_iternext` directly. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8761 -msgid "" -":issue:`40170`: Convert :c:func:`PyDescr_IsData` macro to a function to hide " -"implementation details: The macro accessed :c:member:`PyTypeObject." -"tp_descr_set` directly. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8766 -msgid "" -":issue:`43181`: Convert :c:func:`PyObject_TypeCheck` macro to a static " -"inline function. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8771 -msgid "Python 3.10.0 alpha 5" -msgstr "" - -#: ../build/NEWS:8773 -msgid "*Release date: 2021-02-02*" -msgstr "" - -#: ../build/NEWS:8778 -msgid "" -":issue:`42938`: Avoid static buffers when computing the repr of :class:" -"`ctypes.c_double` and :class:`ctypes.c_longdouble` values." -msgstr "" - -#: ../build/NEWS:8784 -msgid ":issue:`42990`: Refactor the ``PyEval_`` family of functions." -msgstr "" - -#: ../build/NEWS:8786 -msgid "" -"An new function ``_PyEval_Vector`` is added to simplify calls to Python from " -"C." -msgstr "" - -#: ../build/NEWS:8787 -msgid "``_PyEval_EvalCodeWithName`` is removed" -msgstr "" - -#: ../build/NEWS:8788 -msgid "" -"``PyEval_EvalCodeEx`` is retained as part of the API, but is not used " -"internally" -msgstr "" - -#: ../build/NEWS:8790 -msgid "" -":issue:`38631`: Replace :c:func:`Py_FatalError` calls in the compiler with " -"regular :exc:`SystemError` exceptions. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8793 -msgid "" -":issue:`42997`: Improve error message for missing \":\" before blocks. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8796 -msgid "" -":issue:`43017`: Improve error message in the parser when using un-" -"parenthesised tuples in comprehensions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8799 -msgid "" -":issue:`42986`: Fix parser crash when reporting syntax errors in f-string " -"with newlines. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8802 -msgid "" -":issue:`40176`: Syntax errors for unterminated string literals now point to " -"the start of the string instead of reporting EOF/EOL." -msgstr "" - -#: ../build/NEWS:8805 -msgid "" -":issue:`42927`: The inline cache for ``LOAD_ATTR`` now also optimizes access " -"to attributes defined by ``__slots__``. This makes reading such attribute up " -"to 30% faster." -msgstr "" - -#: ../build/NEWS:8809 -msgid "" -":issue:`42864`: Improve error messages in the parser when parentheses are " -"not closed. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:8812 -msgid "" -":issue:`42924`: Fix ``bytearray`` repetition incorrectly copying data from " -"the start of the buffer, even if the data is offset within the buffer (e.g. " -"after reassigning a slice at the start of the ``bytearray`` to a shorter " -"byte string)." -msgstr "" - -#: ../build/NEWS:8817 -msgid "" -":issue:`42882`: Fix the :c:func:`_PyUnicode_FromId` function " -"(_Py_IDENTIFIER(var) API) when :c:func:`Py_Initialize` / :c:func:" -"`Py_Finalize` is called multiple times: preserve ``_PyRuntime.unicode_ids." -"next_index`` value." -msgstr "" - -#: ../build/NEWS:8822 -msgid "" -":issue:`42827`: Fix a crash when working out the error line of a :exc:" -"`SyntaxError` in some multi-line expressions." -msgstr "" - -#: ../build/NEWS:8825 -msgid "" -":issue:`42823`: frame.f_lineno is correct even if frame.f_trace is set to " -"True" -msgstr "" - -#: ../build/NEWS:8827 -msgid "" -":issue:`37324`: Remove deprecated aliases to :ref:`collections-abstract-base-" -"classes` from the :mod:`collections` module." -msgstr "" - -#: ../build/NEWS:8831 -msgid "" -":issue:`41994`: Fixed possible leak in ``import`` when ``sys.modules`` is " -"not a ``dict``." -msgstr "" - -#: ../build/NEWS:8834 -msgid "" -":issue:`27772`: In string formatting, preceding the *width* field by ``'0'`` " -"no longer affects the default alignment for strings." -msgstr "" - -#: ../build/NEWS:8840 -msgid "" -":issue:`43108`: Fixed a reference leak in the :mod:`curses` module. Patch by " -"Pablo Galindo" -msgstr "" - -#: ../build/NEWS:8843 -msgid "" -":issue:`43077`: Update the bundled pip to 21.0.1 and setuptools to 52.0.0." -msgstr "" - -#: ../build/NEWS:8845 -msgid "" -":issue:`41282`: Deprecate ``distutils`` in documentation and add warning on " -"import." -msgstr "" - -#: ../build/NEWS:8848 -msgid "" -":issue:`43014`: Improve performance of :mod:`tokenize` by 20-30%. Patch by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:8851 -msgid ":issue:`42323`: Fix :func:`math.nextafter` for NaN on AIX." -msgstr "" - -#: ../build/NEWS:8853 -msgid "" -":issue:`42955`: Add :data:`sys.stdlib_module_names`, containing the list of " -"the standard library module names. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8856 -msgid "" -":issue:`42944`: Fix ``random.Random.sample`` when ``counts`` argument is not " -"``None``." -msgstr "" - -#: ../build/NEWS:8859 -msgid "" -":issue:`42934`: Use :class:`~traceback.TracebackException`'s new ``compact`` " -"param in :class:`~unittest.TestResult` to reduce time and memory consumed by " -"traceback formatting." -msgstr "" - -#: ../build/NEWS:8863 -msgid ":issue:`42931`: Add :func:`randbytes` to ``random.__all__``." -msgstr "" - -#: ../build/NEWS:8865 -msgid "" -":issue:`38250`: [Enum] Flags consisting of a single bit are now considered " -"canonical, and will be the only flags returned from listing and iterating " -"over a Flag class or a Flag member. Multi-bit flags are considered aliases; " -"they will be returned from lookups and operations that result in their " -"value. Iteration for both Flag and Flag members is in definition order." -msgstr "" - -#: ../build/NEWS:8872 -msgid "" -":issue:`42877`: Added the ``compact`` parameter to the constructor of :class:" -"`traceback.TracebackException` to reduce time and memory for use cases that " -"only need to call :func:`TracebackException.format` and :func:" -"`TracebackException.format_exception_only`." -msgstr "" - -#: ../build/NEWS:8877 -msgid "" -":issue:`42923`: The :c:func:`Py_FatalError` function and the :mod:" -"`faulthandler` module now dump the list of extension modules on a fatal " -"error." -msgstr "" - -#: ../build/NEWS:8881 -msgid "" -":issue:`42848`: Removed recursion from :class:`~traceback." -"TracebackException` to allow it to handle long exception chains." -msgstr "" - -#: ../build/NEWS:8884 -msgid "" -":issue:`42901`: [Enum] move member creation from ``EnumMeta.__new__`` to " -"``_proto_member.__set_name__``, allowing members to be created and visible " -"in ``__init_subclass__``." -msgstr "" - -#: ../build/NEWS:8888 -msgid "" -":issue:`42780`: Fix os.set_inheritable() for O_PATH file descriptors on " -"Linux." -msgstr "" - -#: ../build/NEWS:8890 -msgid "" -":issue:`42866`: Fix a reference leak in the ``getcodec()`` function of CJK " -"codecs. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8893 -msgid "" -":issue:`42846`: Convert the 6 CJK codec extension modules (_codecs_cn, " -"_codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw) to the " -"multiphase initialization API (:pep:`489`). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:8897 -msgid ":issue:`42851`: remove __init_subclass__ support for Enum members" -msgstr "" - -#: ../build/NEWS:8899 -msgid "" -":issue:`42834`: Make internal caches of the ``_json`` module compatible with " -"subinterpreters." -msgstr "" - -#: ../build/NEWS:8902 -msgid "" -":issue:`41748`: Fix HTMLParser parsing rules for element attributes " -"containing commas with spaces. Patch by Karl Dubost." -msgstr "" - -#: ../build/NEWS:8905 -msgid "" -":issue:`40810`: Require SQLite 3.7.15 or newer. Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8907 -msgid "" -":issue:`1635741`: Convert the _multibytecodec extension module (CJK codecs) " -"to multi-phase initialization (:pep:`489`). Patch by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8910 -msgid "" -":issue:`42802`: The distutils ``bdist_wininst`` command deprecated in Python " -"3.8 has been removed. The distutils ``bdist_wheel`` command is now " -"recommended to distribute binary packages on Windows." -msgstr "" - -#: ../build/NEWS:8914 -msgid "" -":issue:`24464`: The undocumented built-in function ``sqlite3." -"enable_shared_cache`` is now deprecated, scheduled for removal in Python " -"3.12. Its use is strongly discouraged by the SQLite3 documentation. Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8919 -msgid "" -":issue:`42384`: Make pdb populate sys.path[0] exactly the same as regular " -"python execution." -msgstr "" - -#: ../build/NEWS:8922 -msgid "" -":issue:`42383`: Fix pdb: previously pdb would fail to restart the debugging " -"target if it was specified using a relative path and the current directory " -"changed." -msgstr "" - -#: ../build/NEWS:8926 -msgid "" -":issue:`42005`: Fix CLI of :mod:`cProfile` and :mod:`profile` to catch :exc:" -"`BrokenPipeError`." -msgstr "" - -#: ../build/NEWS:8929 -msgid "" -":issue:`41604`: Don't decrement the reference count of the previous user_ptr " -"when set_panel_userptr fails." -msgstr "" - -#: ../build/NEWS:8932 -msgid "" -":issue:`41149`: Allow executing callables that have a boolean value of " -"``False`` when passed to :class:`Threading.thread` as the target. Patch " -"contributed by Barney Stratford." -msgstr "" - -#: ../build/NEWS:8936 -msgid "" -":issue:`38307`: Add an 'end_lineno' attribute to the Class and Function " -"objects that appear in the tree returned by pyclbr functions. This and the " -"existing 'lineno' attribute define the extent of class and def statements. " -"Patch by Aviral Srivastava." -msgstr "" - -#: ../build/NEWS:8941 -msgid "" -":issue:`39273`: The ``BUTTON5_*`` constants are now exposed in the :mod:" -"`curses` module if available." -msgstr "" - -#: ../build/NEWS:8944 -msgid "" -":issue:`33289`: Correct call to :mod:`tkinter.colorchooser` to return RGB " -"triplet of ints instead of floats. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:8950 -msgid "" -":issue:`40304`: Fix doc for type(name, bases, dict). Patch by Boris " -"Verkhovskiy and Éric Araujo." -msgstr "" - -#: ../build/NEWS:8953 -msgid "" -":issue:`42811`: Updated importlib.utils.resolve_name() doc to use __spec__." -"parent instead of __package__. (Thanks Yair Frid.)" -msgstr "" - -#: ../build/NEWS:8959 -msgid "" -":issue:`40823`: Use :meth:`unittest.TestLoader().loadTestsFromTestCase` " -"instead of :meth:`unittest.makeSuite` in :mod:`sqlite3` tests. Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:8963 -msgid "" -":issue:`40810`: In :mod:`sqlite3`, fix ``CheckTraceCallbackContent`` for " -"SQLite pre 3.7.15." -msgstr "" - -#: ../build/NEWS:8969 -msgid "" -":issue:`43031`: Pass ``--timeout=$(TESTTIMEOUT)`` option to the default " -"profile task ``./python -m test --pgo`` command." -msgstr "" - -#: ../build/NEWS:8972 -msgid "" -":issue:`36143`: ``make regen-all`` now also runs ``regen-keyword``. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:8975 -msgid "" -":issue:`42874`: Removed the grep -q and -E flags in the tzpath validation " -"section of the configure script to better accommodate users of some " -"platforms (specifically Solaris 10)." -msgstr "" - -#: ../build/NEWS:8979 -msgid "" -":issue:`31904`: Add library search path by wr-cc in " -"add_cross_compiling_paths() for VxWorks." -msgstr "" - -#: ../build/NEWS:8982 -msgid "" -":issue:`42856`: Add ``--with-wheel-pkg-dir=PATH`` option to the ``./" -"configure`` script. If specified, the :mod:`ensurepip` module looks for " -"``setuptools`` and ``pip`` wheel packages in this directory: if both are " -"present, these wheel packages are used instead of ensurepip bundled wheel " -"packages." -msgstr "" - -#: ../build/NEWS:8987 -msgid "" -"Some Linux distribution packaging policies recommend against bundling " -"dependencies. For example, Fedora installs wheel packages in the ``/usr/" -"share/python-wheels/`` directory and don't install the ``ensurepip." -"_bundled`` package." -msgstr "" - -#: ../build/NEWS:8995 -msgid ":issue:`41837`: Updated Windows installer to include OpenSSL 1.1.1i" -msgstr "" - -#: ../build/NEWS:8997 -msgid ":issue:`42584`: Upgrade Windows installer to use SQLite 3.34.0." -msgstr "" - -#: ../build/NEWS:9002 -msgid "" -":issue:`42504`: Ensure that the value of sysconfig." -"get_config_var('MACOSX_DEPLOYMENT_TARGET') is always a string, even in when " -"the value is parsable as an integer." -msgstr "" - -#: ../build/NEWS:9009 -msgid "" -":issue:`43008`: Make IDLE invoke :func:`sys.excepthook` in normal, 2-process " -"mode. Patch by Ken Hilton." -msgstr "" - -#: ../build/NEWS:9012 -msgid "" -":issue:`33065`: Fix problem debugging user classes with __repr__ method." -msgstr "" - -#: ../build/NEWS:9014 -msgid "" -":issue:`23544`: Disable Debug=>Stack Viewer when user code is running or " -"Debugger is active, to prevent hang or crash. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:9017 -msgid "" -":issue:`32631`: Finish zzdummy example extension module: make menu entries " -"work; add docstrings and tests with 100% coverage." -msgstr "" - -#: ../build/NEWS:9023 -msgid "" -":issue:`42979`: When Python is built in debug mode (with C assertions), " -"calling a type slot like ``sq_length`` (``__len__()`` in Python) now fails " -"with a fatal error if the slot succeeded with an exception set, or failed " -"with no exception set. The error message contains the slot, the type name, " -"and the current exception (if an exception is set). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9029 -msgid "" -":issue:`43030`: Fixed a compiler warning in :c:func:`Py_UNICODE_ISSPACE()` " -"on platforms with signed ``wchar_t``." -msgstr "" - -#: ../build/NEWS:9034 -msgid "Python 3.10.0 alpha 4" -msgstr "" - -#: ../build/NEWS:9036 -msgid "*Release date: 2021-01-04*" -msgstr "" - -#: ../build/NEWS:9041 -msgid "" -":issue:`42814`: Fix undefined behavior in ``Objects/genericaliasobject.c``." -msgstr "" - -#: ../build/NEWS:9043 -msgid "" -":issue:`42806`: Fix the column offsets for f-strings :mod:`ast` nodes " -"surrounded by parentheses and for nodes that spawn multiple lines. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:9047 -msgid "" -":issue:`40631`: Fix regression where a single parenthesized starred " -"expression was a valid assignment target." -msgstr "" - -#: ../build/NEWS:9050 -msgid "" -":issue:`27794`: Improve the error message for failed writes/deletes to " -"property objects. When possible, the attribute name is now shown. Patch " -"provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9054 -msgid "" -":issue:`42745`: Make the type attribute lookup cache per-interpreter. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9057 -msgid "" -":issue:`42246`: Jumps to jumps are not eliminated when it would break PEP " -"626." -msgstr "" - -#: ../build/NEWS:9059 -msgid "" -":issue:`42246`: Make sure that the ``f_lasti`` and ``f_lineno`` attributes " -"of a frame are set correctly when an exception is raised or re-raised. " -"Required for PEP 626." -msgstr "" - -#: ../build/NEWS:9063 -msgid "" -":issue:`32381`: The coding cookie (ex: ``# coding: latin1``) is now ignored " -"in the command passed to the :option:`-c` command line option. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:9067 -msgid "" -":issue:`30858`: Improve error location in expressions that contain " -"assignments. Patch by Pablo Galindo and Lysandros Nikolaou." -msgstr "" - -#: ../build/NEWS:9070 -msgid "" -":issue:`42615`: Remove jump commands made redundant by the deletion of " -"unreachable bytecode blocks" -msgstr "" - -#: ../build/NEWS:9073 -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 Dong-hee " -"Na and Victor Stinner." -msgstr "" - -#: ../build/NEWS:9077 -msgid "" -":issue:`32381`: Fix encoding name when running a ``.pyc`` file on Windows: :" -"c:func:`PyRun_SimpleFileExFlags()` now uses the correct encoding to decode " -"the filename." -msgstr "" - -#: ../build/NEWS:9081 -msgid "" -":issue:`42195`: The ``__args__`` of the parameterized generics for :data:" -"`typing.Callable` and :class:`collections.abc.Callable` are now consistent. " -"The ``__args__`` for :class:`collections.abc.Callable` are now flattened " -"while :data:`typing.Callable`'s have not changed. To allow this change, :" -"class:`types.GenericAlias` can now be subclassed and ``collections.abc." -"Callable``'s ``__class_getitem__`` will now return a subclass of ``types." -"GenericAlias``. Tests for typing were also updated to not subclass things " -"like ``Callable[..., T]`` as that is not a valid base class. Finally, both " -"``Callable``\\ s no longer validate their ``argtypes``, in " -"``Callable[[argtypes], resulttype]`` to prepare for :pep:`612`. Patch by " -"Ken Jin." -msgstr "" - -#: ../build/NEWS:9093 -msgid "" -":issue:`40137`: Convert functools module to use :c:func:" -"`PyType_FromModuleAndSpec`." -msgstr "" - -#: ../build/NEWS:9096 -msgid "" -":issue:`40077`: Convert :mod:`array` to use heap types, and establish module " -"state for these." -msgstr "" - -#: ../build/NEWS:9099 -msgid ":issue:`42008`: Fix _random.Random() seeding." -msgstr "" - -#: ../build/NEWS:9101 -msgid "" -":issue:`1635741`: Port the :mod:`pyexpat` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:9104 -msgid "" -":issue:`40521`: Make the Unicode dictionary of interned strings compatible " -"with subinterpreters. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9107 -msgid "" -":issue:`39465`: Make :c:func:`_PyUnicode_FromId` function compatible with " -"subinterpreters. Each interpreter now has an array of identifier objects " -"(interned strings decoded from UTF-8). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9114 -msgid "" -":issue:`42257`: Handle empty string in variable executable in platform." -"libc_ver()" -msgstr "" - -#: ../build/NEWS:9117 -msgid "" -":issue:`42772`: randrange() now raises a TypeError when step is specified " -"without a stop argument. Formerly, it silently ignored the step argument." -msgstr "" - -#: ../build/NEWS:9120 -msgid "" -":issue:`42759`: Fixed equality comparison of :class:`tkinter.Variable` and :" -"class:`tkinter.font.Font`. Objects which belong to different Tcl " -"interpreters are now always different, even if they have the same name." -msgstr "" - -#: ../build/NEWS:9124 -msgid "" -":issue:`42756`: Configure LMTP Unix-domain socket to use socket global " -"default timeout when a timeout is not explicitly provided." -msgstr "" - -#: ../build/NEWS:9127 -msgid "" -":issue:`23328`: Allow / character in username, password fields on _PROXY " -"envars." -msgstr "" - -#: ../build/NEWS:9130 -msgid "" -":issue:`42740`: :func:`typing.get_args` and :func:`typing.get_origin` now " -"support :pep:`604` union types and :pep:`612` additions to ``Callable``." -msgstr "" - -#: ../build/NEWS:9133 -msgid "" -":issue:`42655`: :mod:`subprocess` *extra_groups* is now correctly passed " -"into setgroups() system call." -msgstr "" - -#: ../build/NEWS:9136 -msgid "" -":issue:`42727`: ``EnumMeta.__prepare__`` now accepts ``**kwds`` to properly " -"support ``__init_subclass__``" -msgstr "" - -#: ../build/NEWS:9139 -msgid ":issue:`38308`: Add optional *weights* to *statistics.harmonic_mean()*." -msgstr "" - -#: ../build/NEWS:9141 -msgid "" -":issue:`42721`: When simple query dialogs (:mod:`tkinter.simpledialog`), " -"message boxes (:mod:`tkinter.messagebox`) or color choose dialog (:mod:" -"`tkinter.colorchooser`) are created without arguments *master* and *parent*, " -"and the default root window is not yet created, and :func:`~tkinter." -"NoDefaultRoot` was not called, a new temporal hidden root window will be " -"created automatically. It will not be set as the default root window and " -"will be destroyed right after closing the dialog window. It will help to use " -"these simple dialog windows in programs which do not need other GUI." -msgstr "" - -#: ../build/NEWS:9151 -msgid ":issue:`25246`: Optimized :meth:`collections.deque.remove`." -msgstr "" - -#: ../build/NEWS:9153 -msgid "" -":issue:`35728`: Added a root parameter to :func:`tkinter.font.nametofont`." -msgstr "" - -#: ../build/NEWS:9155 -msgid "" -":issue:`15303`: :mod:`tkinter` supports now widgets with boolean value False." -msgstr "" - -#: ../build/NEWS:9157 -msgid "" -":issue:`42681`: Fixed range checks for color and pair numbers in :mod:" -"`curses`." -msgstr "" - -#: ../build/NEWS:9159 -msgid "" -":issue:`42685`: Improved placing of simple query windows in Tkinter (such " -"as :func:`tkinter.simpledialog.askinteger`). They are now centered at the " -"center of the parent window if it is specified and shown, otherwise at the " -"center of the screen." -msgstr "" - -#: ../build/NEWS:9164 -msgid "" -":issue:`9694`: Argparse help no longer uses the confusing phrase, \"optional " -"arguments\". It uses \"options\" instead." -msgstr "" - -#: ../build/NEWS:9167 -msgid "" -":issue:`1635741`: Port the :mod:`_thread` extension module to the multiphase " -"initialization API (:pep:`489`) and convert its static types to heap types." -msgstr "" - -#: ../build/NEWS:9171 -msgid "" -":issue:`37961`: Fix crash in :func:`tracemalloc.Traceback.__repr__` " -"(regressed in Python 3.9)." -msgstr "" - -#: ../build/NEWS:9174 -msgid "" -":issue:`42630`: :mod:`tkinter` functions and constructors which need a " -"default root window raise now :exc:`RuntimeError` with descriptive message " -"instead of obscure :exc:`AttributeError` or :exc:`NameError` if it is not " -"created yet or cannot be created automatically." -msgstr "" - -#: ../build/NEWS:9179 -msgid "" -":issue:`42639`: :func:`atexit._run_exitfuncs` now logs callback exceptions " -"using :data:`sys.unraisablehook`, rather than logging them directly into :" -"data:`sys.stderr` and raise the last exception." -msgstr "" - -#: ../build/NEWS:9183 -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 " -"``loging.setLevel``) instead of only the numerical values." -msgstr "" - -#: ../build/NEWS:9187 -msgid "" -":issue:`42639`: At Python exit, if a callback registered with :func:`atexit." -"register` fails, its exception is now logged. Previously, only some " -"exceptions were logged, and the last exception was always silently ignored." -msgstr "" - -#: ../build/NEWS:9192 -msgid "" -":issue:`36541`: Fixed lib2to3.pgen2 to be able to parse PEP-570 positional " -"only argument syntax." -msgstr "" - -#: ../build/NEWS:9195 -msgid "" -":issue:`42382`: In ``importlib.metadata``: - ``EntryPoint`` objects now " -"expose a ``.dist`` object referencing the ``Distribution`` when constructed " -"from a ``Distribution``. - Add support for package discovery under package " -"normalization rules. - The object returned by ``metadata()`` now has a " -"formally defined protocol called ``PackageMetadata`` with declared support " -"for the ``.get_all()`` method. - Synced with importlib_metadata 3.3." -msgstr "" - -#: ../build/NEWS:9202 -msgid "" -":issue:`41877`: A check is added against misspellings of autospect, " -"auto_spec and set_spec being passed as arguments to patch, patch.object and " -"create_autospec." -msgstr "" - -#: ../build/NEWS:9206 -msgid "" -":issue:`39717`: [tarfile] update nested exception raising to use ``from " -"None`` or ``from e``" -msgstr "" - -#: ../build/NEWS:9209 -msgid "" -":issue:`41877`: AttributeError for suspected misspellings of assertions on " -"mocks are now pointing out that the cause are misspelled assertions and also " -"what to do if the misspelling is actually an intended attribute name. The " -"unittest.mock document is also updated to reflect the current set of " -"recognised misspellings." -msgstr "" - -#: ../build/NEWS:9215 -msgid "" -":issue:`41559`: Implemented :pep:`612`: added ``ParamSpec`` and " -"``Concatenate`` to :mod:`typing`. Patch by Ken Jin." -msgstr "" - -#: ../build/NEWS:9218 -msgid ":issue:`42385`: StrEnum: fix _generate_next_value_ to return a str" -msgstr "" - -#: ../build/NEWS:9220 -msgid ":issue:`31904`: Define THREAD_STACK_SIZE for VxWorks." -msgstr "" - -#: ../build/NEWS:9222 -msgid ":issue:`34750`: [Enum] `_EnumDict.update()` is now supported" -msgstr "" - -#: ../build/NEWS:9224 -msgid "" -":issue:`42517`: Enum: private names do not become members / do not generate " -"errors -- they remain normal attributes" -msgstr "" - -#: ../build/NEWS:9227 -msgid "" -":issue:`42678`: ``Enum``: call ``__init_subclass__`` after members have been " -"added" -msgstr "" - -#: ../build/NEWS:9230 -msgid "" -":issue:`28964`: :func:`ast.literal_eval` adds line number information (if " -"available) in error message for malformed nodes." -msgstr "" - -#: ../build/NEWS:9233 -msgid "" -":issue:`42470`: :func:`random.sample` no longer warns on a sequence which is " -"also a set." -msgstr "" - -#: ../build/NEWS:9236 -msgid "" -":issue:`31904`: :func:`posixpath.expanduser` returns the input *path* " -"unchanged if user home directory is None on VxWorks." -msgstr "" - -#: ../build/NEWS:9239 -msgid "" -":issue:`42388`: Fix subprocess.check_output(..., input=None) behavior when " -"text=True to be consistent with that of the documentation and " -"universal_newlines=True." -msgstr "" - -#: ../build/NEWS:9243 -msgid "" -":issue:`34463`: Fixed discrepancy between :mod:`traceback` and the " -"interpreter in formatting of SyntaxError with lineno not set (:mod:" -"`traceback` was changed to match interpreter)." -msgstr "" - -#: ../build/NEWS:9247 -msgid "" -":issue:`42393`: Raise :exc:`OverflowError` instead of silent truncation in :" -"meth:`socket.ntohs` and :meth:`socket.htons`. Silent truncation was " -"deprecated in Python 3.7. Patch by Erlend E. Aasland" -msgstr "" - -#: ../build/NEWS:9251 -msgid "" -":issue:`42222`: Harmonized :func:`random.randrange` argument handling to " -"match :func:`range`." -msgstr "" - -#: ../build/NEWS:9254 -msgid "" -"The integer test and conversion in ``randrange()`` now uses :func:`operator." -"index`." -msgstr "" - -#: ../build/NEWS:9256 -msgid "Non-integer arguments to ``randrange()`` are deprecated." -msgstr "" - -#: ../build/NEWS:9257 -msgid "The ``ValueError`` is deprecated in favor of a ``TypeError``." -msgstr "" - -#: ../build/NEWS:9258 -msgid "It now runs a little faster than before." -msgstr "" - -#: ../build/NEWS:9260 -msgid "(Contributed by Raymond Hettinger and Serhiy Storchaka.)" -msgstr "" - -#: ../build/NEWS:9262 -msgid "" -":issue:`42163`: Restore compatibility for ``uname_result`` around deepcopy " -"and _replace." -msgstr "" - -#: ../build/NEWS:9265 -msgid "" -":issue:`42090`: ``zipfile.Path.joinpath`` now accepts arbitrary arguments, " -"same as ``pathlib.Path.joinpath``." -msgstr "" - -#: ../build/NEWS:9268 -msgid "" -":issue:`1635741`: Port the _csv module to the multi-phase initialization API " -"(:pep:`489`)." -msgstr "" - -#: ../build/NEWS:9271 -msgid "" -":issue:`42059`: :class:`typing.TypedDict` types created using the " -"alternative call-style syntax now correctly respect the ``total`` keyword " -"argument when setting their ``__required_keys__`` and ``__optional_keys__`` " -"class attributes." -msgstr "" - -#: ../build/NEWS:9276 -msgid "" -":issue:`41960`: Add ``globalns`` and ``localns`` parameters to the :func:" -"`inspect.signature` and :meth:`inspect.Signature.from_callable`." -msgstr "" - -#: ../build/NEWS:9279 -msgid ":issue:`41907`: fix ``format()`` behavior for ``IntFlag``" -msgstr "" - -#: ../build/NEWS:9281 -msgid ":issue:`41891`: Ensure asyncio.wait_for waits for task completion" -msgstr "" - -#: ../build/NEWS:9283 -msgid "" -":issue:`24792`: Fixed bug where :mod:`zipimporter` sometimes reports an " -"incorrect cause of import errors." -msgstr "" - -#: ../build/NEWS:9286 -msgid "" -":issue:`31904`: Fix site and sysconfig modules for VxWorks RTOS which has no " -"home directories." -msgstr "" - -#: ../build/NEWS:9289 -msgid ":issue:`41462`: Add :func:`os.set_blocking()` support for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:9291 -msgid "" -":issue:`40219`: Lowered :class:`tkinter.ttk.LabeledScale` dummy widget to " -"prevent hiding part of the content label." -msgstr "" - -#: ../build/NEWS:9294 -msgid "" -":issue:`37193`: Fixed memory leak in ``socketserver.ThreadingMixIn`` " -"introduced in Python 3.7." -msgstr "" - -#: ../build/NEWS:9297 -msgid "" -":issue:`39068`: Fix initialization race condition in :func:`a85encode` and :" -"func:`b85encode` in :mod:`base64`. Patch by Brandon Stansbury." -msgstr "" - -#: ../build/NEWS:9303 -msgid "" -":issue:`17140`: Add documentation for the :class:`multiprocessing.pool." -"ThreadPool` class." -msgstr "" - -#: ../build/NEWS:9306 -msgid "" -":issue:`34398`: Prominently feature listings from the glossary in " -"documentation search results. Patch by Ammar Askar." -msgstr "" - -#: ../build/NEWS:9312 -msgid "" -":issue:`42794`: Update test_nntplib to use official group name of news.aioe." -"org for testing. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:9315 -msgid ":issue:`31904`: Skip some asyncio tests on VxWorks." -msgstr "" - -#: ../build/NEWS:9317 -msgid "" -":issue:`42641`: Enhance ``test_select.test_select()``: it now takes 500 " -"milliseconds rather than 10 seconds. Use Python rather than a shell to make " -"the test more portable." -msgstr "" - -#: ../build/NEWS:9321 -msgid ":issue:`31904`: Skip some tests in _test_all_chown_common() on VxWorks." -msgstr "" - -#: ../build/NEWS:9323 -msgid ":issue:`42199`: Fix bytecode helper assertNotInBytecode." -msgstr "" - -#: ../build/NEWS:9325 -msgid ":issue:`41443`: Add more attribute checking in test_posix.py" -msgstr "" - -#: ../build/NEWS:9327 -msgid ":issue:`31904`: Disable os.popen and impacted tests on VxWorks" -msgstr "" - -#: ../build/NEWS:9329 -msgid ":issue:`41439`: Port test_ssl and test_uuid to VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:9334 -msgid "" -":issue:`42692`: Fix __builtin_available check on older compilers. Patch by " -"Joshua Root." -msgstr "" - -#: ../build/NEWS:9337 -msgid "" -":issue:`27640`: Added ``--disable-test-modules`` option to the ``configure`` " -"script: don't build nor install test modules. Patch by Xavier de Gaye, " -"Thomas Petazzoni and Peixing Xin." -msgstr "" - -#: ../build/NEWS:9341 -msgid "" -":issue:`42604`: Now all platforms use a value for the \"EXT_SUFFIX\" build " -"variable derived from SOABI (for instance in freeBSD, \"EXT_SUFFIX\" is now " -"\".cpython-310d.so\" instead of \".so\"). Previously only Linux, Mac and " -"VxWorks were using a value for \"EXT_SUFFIX\" that included \"SOABI\"." -msgstr "" - -#: ../build/NEWS:9346 -msgid "" -":issue:`42598`: Fix implicit function declarations in configure which could " -"have resulted in incorrect configuration checks. Patch contributed by " -"Joshua Root." -msgstr "" - -#: ../build/NEWS:9350 -msgid ":issue:`31904`: Enable libpython3.so for VxWorks." -msgstr "" - -#: ../build/NEWS:9352 -msgid ":issue:`29076`: Add fish shell support to macOS installer." -msgstr "" - -#: ../build/NEWS:9357 -msgid "" -":issue:`42361`: Update macOS installer build to use Tcl/Tk 8.6.11 (rc2, " -"expected to be final release)." -msgstr "" - -#: ../build/NEWS:9360 -msgid ":issue:`41837`: Update macOS installer build to use OpenSSL 1.1.1i." -msgstr "" - -#: ../build/NEWS:9362 -msgid ":issue:`42584`: Update macOS installer to use SQLite 3.34.0." -msgstr "" - -#: ../build/NEWS:9367 -msgid "" -":issue:`42726`: Fixed Python 3 compatibility issue with gdb/libpython.py " -"handling of attribute dictionaries." -msgstr "" - -#: ../build/NEWS:9370 -msgid "" -":issue:`42613`: Fix ``freeze.py`` tool to use the prope config and library " -"directories. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9376 -msgid "" -":issue:`42591`: Export the :c:func:`Py_FrozenMain` function: fix a Python " -"3.9.0 regression. Python 3.9 uses ``-fvisibility=hidden`` and the function " -"was not exported explicitly and so not exported." -msgstr "" - -#: ../build/NEWS:9380 -msgid "" -":issue:`32381`: Remove the private :c:func:`_Py_fopen` function which is no " -"longer needed. Use :c:func:`_Py_wfopen` or :c:func:`_Py_fopen_obj` instead. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9384 -msgid ":issue:`1635741`: Port :mod:`resource` extension module to module state" -msgstr "" - -#: ../build/NEWS:9386 -msgid "" -":issue:`42111`: Update the ``xxlimited`` module to be a better example of " -"how to use the limited C API." -msgstr "" - -#: ../build/NEWS:9389 -msgid "" -":issue:`40052`: Fix an alignment build warning/error in function " -"``PyVectorcall_Function()``. Patch by Andreas Schneider, Antoine Pitrou and " -"Petr Viktorin." -msgstr "" - -#: ../build/NEWS:9395 -msgid "Python 3.10.0 alpha 3" -msgstr "" - -#: ../build/NEWS:9397 -msgid "*Release date: 2020-12-07*" -msgstr "" - -#: ../build/NEWS:9402 -msgid "" -":issue:`40791`: Add ``volatile`` to the accumulator variable in ``hmac." -"compare_digest``, making constant-time-defeating optimizations less likely." -msgstr "" - -#: ../build/NEWS:9409 -msgid "" -":issue:`42576`: ``types.GenericAlias`` will now raise a ``TypeError`` when " -"attempting to initialize with a keyword argument. Previously, this would " -"cause the interpreter to crash if the interpreter was compiled with debug " -"symbols. This does not affect interpreters compiled for release. Patch by " -"Ken Jin." -msgstr "" - -#: ../build/NEWS:9415 -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 "" - -#: ../build/NEWS:9419 -msgid ":meth:`collections.OrderedDict.items() `" -msgstr "" - -#: ../build/NEWS:9421 -msgid ":meth:`dict.items`" -msgstr "" - -#: ../build/NEWS:9423 -msgid ":func:`enumerate`" -msgstr "" - -#: ../build/NEWS:9425 -msgid ":func:`functools.reduce`" -msgstr "" - -#: ../build/NEWS:9427 -msgid ":func:`itertools.combinations`" -msgstr "" - -#: ../build/NEWS:9429 -msgid ":func:`itertools.combinations_with_replacement`" -msgstr "" - -#: ../build/NEWS:9431 -msgid ":func:`itertools.permutations`" -msgstr "" - -#: ../build/NEWS:9433 -msgid ":func:`itertools.product`" -msgstr "" - -#: ../build/NEWS:9435 -msgid ":func:`itertools.zip_longest`" -msgstr "" - -#: ../build/NEWS:9437 -msgid ":func:`zip`" -msgstr "" - -#: ../build/NEWS:9439 -msgid "" -"Previously, they could have become untracked by a prior garbage collection. " -"Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:9442 -msgid "" -":issue:`42500`: Improve handling of exceptions near recursion limit. " -"Converts a number of Fatal Errors in RecursionErrors." -msgstr "" - -#: ../build/NEWS:9445 -msgid "" -":issue:`42246`: PEP 626: After a return, the f_lineno attribute of a frame " -"is always the last line executed." -msgstr "" - -#: ../build/NEWS:9448 -msgid "" -":issue:`42435`: Speed up comparison of bytes objects with non-bytes objects " -"when option :option:`-b` is specified. Speed up comparison of bytarray " -"objects with non-buffer object." -msgstr "" - -#: ../build/NEWS:9452 -msgid "" -":issue:`1635741`: Port the ``_warnings`` extension module to the multi-phase " -"initialization API (:pep:`489`). Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9455 -msgid "" -":issue:`41686`: On Windows, the ``SIGINT`` event, ``_PyOS_SigintEvent()``, " -"is now created even if Python is configured to not install signal handlers " -"(if :c:member:`PyConfig.install_signal_handlers` equals to 0, or " -"``Py_InitializeEx(0)``)." -msgstr "" - -#: ../build/NEWS:9460 -msgid "" -":issue:`42381`: Allow assignment expressions in set literals and set " -"comprehensions as per PEP 572. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:9463 -msgid "" -":issue:`42202`: Change function parameters annotations internal " -"representation to tuple of strings. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9466 -msgid "" -":issue:`42374`: Fix a regression introduced by the new parser, where an " -"unparenthesized walrus operator was not allowed within generator expressions." -msgstr "" - -#: ../build/NEWS:9470 -msgid ":issue:`42316`: Allow an unparenthesized walrus in subscript indexes." -msgstr "" - -#: ../build/NEWS:9472 -msgid "" -":issue:`42349`: Make sure that the compiler front-end produces a well-formed " -"control flow graph. Be be more aggressive in the compiler back-end, as it is " -"now safe to do so." -msgstr "" - -#: ../build/NEWS:9476 -msgid "" -":issue:`42296`: On Windows, fix a regression in signal handling which " -"prevented to interrupt a program using CTRL+C. The signal handler can be run " -"in a thread different than the Python thread, in which case the test " -"deciding if the thread can handle signals is wrong." -msgstr "" - -#: ../build/NEWS:9481 -msgid "" -":issue:`42332`: :class:`types.GenericAlias` objects can now be the targets " -"of weakrefs." -msgstr "" - -#: ../build/NEWS:9484 -msgid "" -":issue:`42282`: Optimise constant subexpressions that appear as part of " -"named expressions (previously the AST optimiser did not descend into named " -"expressions). Patch by Nick Coghlan." -msgstr "" - -#: ../build/NEWS:9488 -msgid "" -":issue:`42266`: Fixed a bug with the LOAD_ATTR opcode cache that was not " -"respecting monkey-patching a class-level attribute to make it a descriptor. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:9492 -msgid ":issue:`40077`: Convert :mod:`queue` to use heap types." -msgstr "" - -#: ../build/NEWS:9494 -msgid "" -":issue:`42246`: Improved accuracy of line tracing events and f_lineno " -"attribute of Frame objects. See PEP 626 for details." -msgstr "" - -#: ../build/NEWS:9497 -msgid ":issue:`40077`: Convert :mod:`mmap` to use heap types." -msgstr "" - -#: ../build/NEWS:9499 -msgid "" -":issue:`42233`: Allow ``GenericAlias`` objects to use :ref:`union type " -"expressions `. This allows expressions like ``list[int] | " -"dict[float, str]`` where previously a ``TypeError`` would have been thrown. " -"This also fixes union type expressions not de-duplicating ``GenericAlias`` " -"objects. (Contributed by Ken Jin in :issue:`42233`.)" -msgstr "" - -#: ../build/NEWS:9505 -msgid "" -":issue:`26131`: The import system triggers a `ImportWarning` when it falls " -"back to using `load_module()`." -msgstr "" - -#: ../build/NEWS:9511 -msgid "" -":issue:`5054`: CGIHTTPRequestHandler.run_cgi() HTTP_ACCEPT improperly " -"parsed. Replace the special purpose getallmatchingheaders with generic " -"get_all method and add relevant tests." -msgstr "" - -#: ../build/NEWS:9515 -msgid "Original Patch by Martin Panter. Modified by Senthil Kumaran." -msgstr "" - -#: ../build/NEWS:9517 -msgid "" -":issue:`42562`: Fix issue when dis failed to parse function that has no line " -"numbers. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9520 -msgid "" -":issue:`17735`: :func:`inspect.findsource` now raises :exc:`OSError` instead " -"of :exc:`IndexError` when :attr:`co_lineno` of a code object is greater than " -"the file length. This can happen, for example, when a file is edited after " -"it was imported. PR by Irit Katriel." -msgstr "" - -#: ../build/NEWS:9525 -msgid "" -":issue:`42116`: Fix handling of trailing comments by :func:`inspect." -"getsource`." -msgstr "" - -#: ../build/NEWS:9527 -msgid "" -":issue:`42532`: Remove unexpected call of ``__bool__`` when passing a " -"``spec_arg`` argument to a Mock." -msgstr "" - -#: ../build/NEWS:9530 -msgid ":issue:`38200`: Added itertools.pairwise()" -msgstr "" - -#: ../build/NEWS:9532 -msgid "" -":issue:`41818`: Fix test_master_read() so that it succeeds on all platforms " -"that either raise OSError or return b\"\" upon reading from master." -msgstr "" - -#: ../build/NEWS:9535 -msgid "" -":issue:`42487`: ChainMap.__iter__ no longer calls __getitem__ on underlying " -"maps" -msgstr "" - -#: ../build/NEWS:9538 -msgid "" -":issue:`42482`: :class:`~traceback.TracebackException` no longer holds a " -"reference to the exception's traceback object. Consequently, instances of " -"TracebackException for equivalent but non-equal exceptions now compare as " -"equal." -msgstr "" - -#: ../build/NEWS:9543 -msgid "" -":issue:`41818`: Make test_openpty() avoid unexpected success due to number " -"of rows and/or number of columns being == 0." -msgstr "" - -#: ../build/NEWS:9546 -msgid "" -":issue:`42392`: Remove loop parameter from ``asyncio.subprocess`` and " -"``asyncio.tasks`` functions. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9549 -msgid "" -":issue:`42392`: Remove loop parameter from ``asyncio.open_connection`` and " -"``asyncio.start_server`` functions. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9552 -msgid "" -":issue:`28468`: Add :func:`platform.freedesktop_os_release` function to " -"parse freedesktop.org ``os-release`` files." -msgstr "" - -#: ../build/NEWS:9555 -msgid "" -":issue:`42299`: Removed the ``formatter`` module, which was deprecated in " -"Python 3.4. It is somewhat obsolete, little used, and not tested. It was " -"originally scheduled to be removed in Python 3.6, but such removals were " -"delayed until after Python 2.7 EOL. Existing users should copy whatever " -"classes they use into their code. Patch by Dong-hee Na and and Terry J. " -"Reedy." -msgstr "" - -#: ../build/NEWS:9562 -msgid "" -":issue:`26131`: Deprecate zipimport.zipimporter.load_module() in favour of " -"exec_module()." -msgstr "" - -#: ../build/NEWS:9565 -msgid "" -":issue:`41818`: Updated tests for the pty library. test_basic() has been " -"changed to test_openpty(); this additionally checks if slave termios and " -"slave winsize are being set properly by pty.openpty(). In order to add " -"support for FreeBSD, NetBSD, OpenBSD, and Darwin, this also adds " -"test_master_read(), which demonstrates that pty.spawn() should not depend on " -"an OSError to exit from its copy loop." -msgstr "" - -#: ../build/NEWS:9572 -msgid "" -":issue:`42392`: Remove loop parameter from ``__init__`` in all ``asyncio." -"locks`` and ``asyncio.Queue`` classes. Patch provided by Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9576 -msgid "" -":issue:`15450`: Make :class:`filecmp.dircmp` respect subclassing. Now the :" -"attr:`filecmp.dircmp.subdirs` behaves as expected when subclassing dircmp." -msgstr "" - -#: ../build/NEWS:9580 -msgid "" -":issue:`42413`: The exception :exc:`socket.timeout` is now an alias of :exc:" -"`TimeoutError`." -msgstr "" - -#: ../build/NEWS:9583 -msgid ":issue:`31904`: Support signal module on VxWorks." -msgstr "" - -#: ../build/NEWS:9585 -msgid "" -":issue:`42406`: We fixed an issue in `pickle.whichmodule` in which importing " -"`multiprocessing` could change the how pickle identifies which module an " -"object belongs to, potentially breaking the unpickling of those objects." -msgstr "" - -#: ../build/NEWS:9589 -msgid "" -":issue:`42403`: Simplify the :mod:`importlib` external bootstrap code: " -"``importlib._bootstrap_external`` now uses regular imports to import builtin " -"modules. When it is imported, the builtin :func:`__import__()` function is " -"already fully working and so can be used to import builtin modules like :mod:" -"`sys`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9595 -msgid "" -":issue:`1635741`: Convert _sre module types to heap types (PEP 384). Patch " -"by Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:9598 -msgid ":issue:`42375`: subprocess module update for DragonFlyBSD support." -msgstr "" - -#: ../build/NEWS:9600 -msgid "" -":issue:`41713`: Port the ``_signal`` extension module to the multi-phase " -"initialization API (:pep:`489`). Patch by Victor Stinner and Mohamed Koubaa." -msgstr "" - -#: ../build/NEWS:9604 -msgid "" -":issue:`37205`: :func:`time.time()`, :func:`time.perf_counter()` and :func:" -"`time.monotonic()` functions can no longer fail with a Python fatal error, " -"instead raise a regular Python exception on failure." -msgstr "" - -#: ../build/NEWS:9608 -msgid "" -":issue:`42328`: Fixed :meth:`tkinter.ttk.Style.map`. The function accepts " -"now the representation of the default state as empty sequence (as returned " -"by ``Style.map()``). The structure of the result is now the same on all " -"platform and does not depend on the value of ``wantobjects``." -msgstr "" - -#: ../build/NEWS:9613 -msgid "" -":issue:`42345`: Fix various issues with ``typing.Literal`` parameter " -"handling (flatten, deduplicate, use type to cache key). Patch provided by " -"Yurii Karabas." -msgstr "" - -#: ../build/NEWS:9617 -msgid "" -":issue:`37205`: :func:`time.perf_counter()` on Windows and :func:`time." -"monotonic()` on macOS are now system-wide. Previously, they used an offset " -"computed at startup to reduce the precision loss caused by the float type. " -"Use :func:`time.perf_counter_ns()` and :func:`time.monotonic_ns()` added in " -"Python 3.7 to avoid this precision loss." -msgstr "" - -#: ../build/NEWS:9624 -msgid "" -":issue:`42318`: Fixed support of non-BMP characters in :mod:`tkinter` on " -"macOS." -msgstr "" - -#: ../build/NEWS:9626 -msgid "" -":issue:`42350`: Fix the :class:`threading.Thread` class at fork: do nothing " -"if the thread is already stopped (ex: fork called at Python exit). " -"Previously, an error was logged in the child process." -msgstr "" - -#: ../build/NEWS:9630 -msgid ":issue:`42333`: Port _ssl extension module to heap types." -msgstr "" - -#: ../build/NEWS:9632 -msgid "" -":issue:`42014`: The ``onerror`` callback from ``shutil.rmtree`` now receives " -"correct function when ``os.open`` fails." -msgstr "" - -#: ../build/NEWS:9635 -msgid ":issue:`42237`: Fix `os.sendfile()` on illumos." -msgstr "" - -#: ../build/NEWS:9637 -msgid "" -":issue:`42308`: Add :data:`threading.__excepthook__` to allow retrieving the " -"original value of :func:`threading.excepthook` in case it is set to a broken " -"or a different value. Patch by Mario Corchero." -msgstr "" - -#: ../build/NEWS:9641 -msgid "" -":issue:`42131`: Implement PEP 451/spec methods on zipimport.zipimporter: " -"find_spec(), create_module(), and exec_module()." -msgstr "" - -#: ../build/NEWS:9644 -msgid "" -"This also allows for the documented deprecation of find_loader(), " -"find_module(), and load_module()." -msgstr "" - -#: ../build/NEWS:9647 -msgid "" -":issue:`41877`: Mock objects which are not unsafe will now raise an " -"AttributeError if an attribute with the prefix asert, aseert, or assrt is " -"accessed, in addition to this already happening for the prefixes assert or " -"assret." -msgstr "" - -#: ../build/NEWS:9652 -msgid "" -":issue:`42264`: ``sqlite3.OptimizedUnicode`` has been undocumented and " -"obsolete since Python 3.3, when it was made an alias to :class:`str`. It is " -"now deprecated, scheduled for removal in Python 3.12." -msgstr "" - -#: ../build/NEWS:9656 -msgid "" -":issue:`42251`: Added :func:`threading.gettrace` and :func:`threading." -"getprofile` to retrieve the functions set by :func:`threading.settrace` and :" -"func:`threading.setprofile` respectively. Patch by Mario Corchero." -msgstr "" - -#: ../build/NEWS:9661 -msgid ":issue:`42249`: Fixed writing binary Plist files larger than 4 GiB." -msgstr "" - -#: ../build/NEWS:9663 -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 "" - -#: ../build/NEWS:9667 -msgid "" -":issue:`41754`: webbrowser: Ignore *NotADirectoryError* when calling ``xdg-" -"settings``." -msgstr "" - -#: ../build/NEWS:9670 -msgid "" -":issue:`42183`: Fix a stack overflow error for asyncio Task or Future repr()." -msgstr "" - -#: ../build/NEWS:9672 -msgid "" -"The overflow occurs under some circumstances when a Task or Future " -"recursively returns itself." -msgstr "" - -#: ../build/NEWS:9675 -msgid "" -":issue:`42140`: Improve asyncio.wait function to create the futures set just " -"one time." -msgstr "" - -#: ../build/NEWS:9678 -msgid "" -":issue:`42133`: Update various modules in the stdlib to fall back on " -"`__spec__.loader` when `__loader__` isn't defined on a module." -msgstr "" - -#: ../build/NEWS:9681 -msgid "" -":issue:`26131`: The `load_module()` methods found in importlib now trigger a " -"DeprecationWarning." -msgstr "" - -#: ../build/NEWS:9684 -msgid "" -":issue:`39825`: Windows: Change ``sysconfig.get_config_var('EXT_SUFFIX')`` " -"to the expected full ``platform_tag.extension`` format. Previously it was " -"hard-coded to ``.pyd``, now it is compatible with ``distutils.sysconfig`` " -"and will result in something like ``.cp38-win_amd64.pyd``. This brings " -"windows into conformance with the other platforms." -msgstr "" - -#: ../build/NEWS:9690 -msgid "" -":issue:`26389`: The :func:`traceback.format_exception`, :func:`traceback." -"format_exception_only`, and :func:`traceback.print_exception` functions can " -"now take an exception object as a positional-only argument." -msgstr "" - -#: ../build/NEWS:9695 -msgid "" -":issue:`41889`: Enum: fix regression involving inheriting a multiply " -"inherited enum" -msgstr "" - -#: ../build/NEWS:9698 -msgid "" -":issue:`41861`: Convert :mod:`sqlite3` to use heap types (PEP 384). Patch by " -"Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:9701 -msgid "" -":issue:`40624`: Added support for the XPath ``!=`` operator in xml.etree" -msgstr "" - -#: ../build/NEWS:9703 -msgid "" -":issue:`28850`: Fix :meth:`pprint.PrettyPrinter.format` overrides being " -"ignored for contents of small containers. The :func:`pprint._safe_repr` " -"function was removed." -msgstr "" - -#: ../build/NEWS:9707 -msgid "" -":issue:`41625`: Expose the :c:func:`splice` as :func:`os.splice` in the :mod:" -"`os` module. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:9710 -msgid "" -":issue:`34215`: Clarify the error message for :exc:`asyncio." -"IncompleteReadError` when ``expected`` is ``None``." -msgstr "" - -#: ../build/NEWS:9713 -msgid "" -":issue:`41543`: Add async context manager support for contextlib.nullcontext." -msgstr "" - -#: ../build/NEWS:9715 -msgid "" -":issue:`21041`: :attr:`pathlib.PurePath.parents` now supports negative " -"indexing. Patch contributed by Yaroslav Pankovych." -msgstr "" - -#: ../build/NEWS:9718 -msgid "" -":issue:`41332`: Added missing connect_accepted_socket() method to ``asyncio." -"AbstractEventLoop``." -msgstr "" - -#: ../build/NEWS:9721 -msgid "" -":issue:`12800`: Extracting a symlink from a tarball should succeed and " -"overwrite the symlink if it already exists. The fix is to remove the " -"existing file or symlink before extraction. Based on patch by Chris AtLee, " -"Jeffrey Kintscher, and Senthil Kumaran." -msgstr "" - -#: ../build/NEWS:9726 -msgid "" -":issue:`40968`: :mod:`urllib.request` and :mod:`http.client` now send " -"``http/1.1`` ALPN extension during TLS handshake when no custom context is " -"supplied." -msgstr "" - -#: ../build/NEWS:9730 -msgid "" -":issue:`41001`: Add func:`os.eventfd` to provide a low level interface for " -"Linux's event notification file descriptor." -msgstr "" - -#: ../build/NEWS:9733 -msgid "" -":issue:`40816`: Add AsyncContextDecorator to contextlib to support async " -"context manager as a decorator." -msgstr "" - -#: ../build/NEWS:9736 -msgid "" -":issue:`40550`: Fix time-of-check/time-of-action issue in subprocess.Popen." -"send_signal." -msgstr "" - -#: ../build/NEWS:9739 -msgid "" -":issue:`39411`: Add an ``is_async`` identifier to :mod:`pyclbr`'s " -"``Function`` objects. Patch by Batuhan Taskaya" -msgstr "" - -#: ../build/NEWS:9742 -msgid ":issue:`35498`: Add slice support to :attr:`pathlib.PurePath.parents`." -msgstr "" - -#: ../build/NEWS:9747 -msgid "" -":issue:`42238`: Tentative to deprecate ``make suspicious`` by first removing " -"it from the CI and documentation builds, but keeping it around for manual " -"uses." -msgstr "" - -#: ../build/NEWS:9751 -msgid ":issue:`42153`: Fix the URL for the IMAP protocol documents." -msgstr "" - -#: ../build/NEWS:9753 -msgid "" -":issue:`41028`: Language and version switchers, previously maintained in " -"every cpython branches, are now handled by docsbuild-script." -msgstr "" - -#: ../build/NEWS:9759 -msgid "" -":issue:`41473`: Re-enable test_gdb on gdb 9.2 and newer: https://bugzilla." -"redhat.com/show_bug.cgi?id=1866884 bug is fixed in gdb 10.1." -msgstr "" - -#: ../build/NEWS:9763 -msgid "" -":issue:`42553`: Fix ``test_asyncio.test_call_later()`` race condition: don't " -"measure asyncio performance in the ``call_later()`` unit test. The test " -"failed randomly on the CI." -msgstr "" - -#: ../build/NEWS:9767 -msgid "" -":issue:`31904`: Fix test_netrc on VxWorks: create temporary directories " -"using temp_cwd()." -msgstr "" - -#: ../build/NEWS:9770 -msgid "" -":issue:`31904`: skip test_getaddrinfo_ipv6_scopeid_symbolic and " -"test_getnameinfo_ipv6_scopeid_symbolic on VxWorks" -msgstr "" - -#: ../build/NEWS:9773 -msgid ":issue:`31904`: skip test_test of test_mailcap on VxWorks" -msgstr "" - -#: ../build/NEWS:9775 -msgid ":issue:`31904`: add shell requirement for test_pipes" -msgstr "" - -#: ../build/NEWS:9777 -msgid ":issue:`31904`: skip some tests related to fifo on VxWorks" -msgstr "" - -#: ../build/NEWS:9779 -msgid ":issue:`31904`: Fix test_doctest.py failures for VxWorks." -msgstr "" - -#: ../build/NEWS:9781 -msgid "" -":issue:`40754`: Include ``_testinternalcapi`` module in Windows installer " -"for test suite" -msgstr "" - -#: ../build/NEWS:9784 -msgid "" -":issue:`41561`: test_ssl: skip test_min_max_version_mismatch when TLS 1.0 is " -"not available" -msgstr "" - -#: ../build/NEWS:9787 -msgid ":issue:`31904`: Fix os module failures for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:9789 -msgid ":issue:`31904`: Fix fifo test cases for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:9794 -msgid "" -":issue:`31904`: remove libnet dependency from detect_socket() for VxWorks" -msgstr "" - -#: ../build/NEWS:9796 -msgid "" -":issue:`42398`: Fix a race condition in \"make regen-all\" when make -jN " -"option is used to run jobs in parallel. The clinic.py script now only use " -"atomic write to write files. Moveover, generated files are now left " -"unchanged if the content does not change, to not change the file " -"modification time." -msgstr "" - -#: ../build/NEWS:9801 -msgid "" -":issue:`41617`: Fix building ``pycore_bitutils.h`` internal header on old " -"clang version without ``__builtin_bswap16()`` (ex: Xcode 4.6.3 on Mac OS X " -"10.7). Patch by Joshua Root and Victor Stinner." -msgstr "" - -#: ../build/NEWS:9805 -msgid "" -":issue:`38823`: It is no longer possible to build the ``_ctypes`` extension " -"module without :c:type:`wchar_t` type: remove ``CTYPES_UNICODE`` macro. " -"Anyway, the :c:type:`wchar_t` type is required to build Python. Patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:9810 -msgid "" -":issue:`42087`: Support was removed for AIX 5.3 and below. See :issue:" -"`40680`." -msgstr "" - -#: ../build/NEWS:9812 -msgid "" -":issue:`40998`: Addressed three compiler warnings found by undefined " -"behavior sanitizer (ubsan)." -msgstr "" - -#: ../build/NEWS:9818 -msgid "" -":issue:`42120`: Remove macro definition of ``copysign`` (to ``_copysign``) " -"in headers." -msgstr "" - -#: ../build/NEWS:9821 -msgid "" -":issue:`38506`: The Windows launcher now properly handles Python 3.10 when " -"listing installed Python versions." -msgstr "" - -#: ../build/NEWS:9827 -msgid "" -":issue:`42504`: Fix build on macOS Big Sur when MACOSX_DEPLOYMENT_TARGET=11" -msgstr "" - -#: ../build/NEWS:9829 -msgid "" -":issue:`41116`: Ensure distutils.unixxcompiler.find_library_file can find " -"system provided libraries on macOS 11." -msgstr "" - -#: ../build/NEWS:9832 -msgid ":issue:`41100`: Add support for macOS 11 and Apple Silicon systems." -msgstr "" - -#: ../build/NEWS:9834 -msgid "" -"It is now possible to build \"Universal 2\" binaries using \"--enable-" -"universalsdk --with-universal-archs=universal2\"." -msgstr "" - -#: ../build/NEWS:9837 -msgid "" -"Binaries build on later macOS versions can be deployed back to older " -"versions (tested up to macOS 10.9), when using the correct deployment " -"target. This is tested using Xcode 11 and later." -msgstr "" - -#: ../build/NEWS:9841 -msgid ":issue:`42232`: Added Darwin specific madvise options to mmap module." -msgstr "" - -#: ../build/NEWS:9843 -msgid "" -":issue:`38443`: The ``--enable-universalsdk`` and ``--with-universal-archs`` " -"options for the configure script now check that the specified architectures " -"can be used." -msgstr "" - -#: ../build/NEWS:9850 -msgid "" -":issue:`42508`: Keep IDLE running on macOS. Remove obsolete workaround that " -"prevented running files with shortcuts when using new universal2 installers " -"built on macOS 11." -msgstr "" - -#: ../build/NEWS:9854 -msgid ":issue:`42426`: Fix reporting offset of the RE error in searchengine." -msgstr "" - -#: ../build/NEWS:9856 -msgid "" -":issue:`42415`: Get docstrings for IDLE calltips more often by using inspect." -"getdoc." -msgstr "" - -#: ../build/NEWS:9862 -msgid "" -":issue:`42212`: The smelly.py script now also checks the Python dynamic " -"library and extension modules, not only the Python static library. Make also " -"the script more verbose: explain what it does." -msgstr "" - -#: ../build/NEWS:9866 -msgid "" -":issue:`36310`: Allow :file:`Tools/i18n/pygettext.py` to detect calls to " -"``gettext`` in f-strings." -msgstr "" - -#: ../build/NEWS:9872 -msgid "" -":issue:`42423`: The :c:func:`PyType_FromSpecWithBases` and :c:func:" -"`PyType_FromModuleAndSpec` functions now accept a single class as the " -"*bases* argument." -msgstr "" - -#: ../build/NEWS:9876 -msgid "" -":issue:`1635741`: Port :mod:`select` extension module to multiphase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:9879 -msgid "" -":issue:`1635741`: Port _posixsubprocess extension module to multiphase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:9882 -msgid "" -":issue:`1635741`: Port _posixshmem extension module to multiphase " -"initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9885 -msgid "" -":issue:`1635741`: Port _struct extension module to multiphase initialization " -"(:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9888 -msgid "" -":issue:`1635741`: Port :mod:`spwd` extension module to multiphase " -"initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9891 -msgid "" -":issue:`1635741`: Port :mod:`gc` extension module to multiphase " -"initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9894 -msgid "" -":issue:`1635741`: Port _queue extension module to multiphase initialization " -"(:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9897 -msgid "" -":issue:`39573`: Convert :c:func:`Py_TYPE` and :c:func:`Py_SIZE` back to " -"macros to allow using them as an l-value. Many third party C extension " -"modules rely on the ability of using Py_TYPE() and Py_SIZE() to set an " -"object type and size: ``Py_TYPE(obj) = type;`` and ``Py_SIZE(obj) = size;``." -msgstr "" - -#: ../build/NEWS:9902 -msgid "" -":issue:`1635741`: Port :mod:`symtable` extension module to multiphase " -"initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9905 -msgid "" -":issue:`1635741`: Port :mod:`grp` and :mod:`pwd` extension modules to " -"multiphase initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9908 -msgid "" -":issue:`1635741`: Port _random extension module to multiphase initialization " -"(:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9911 -msgid "" -":issue:`1635741`: Port _hashlib extension module to multiphase " -"initialization (:pep:`489`)" -msgstr "" - -#: ../build/NEWS:9914 -msgid "" -":issue:`41713`: Removed the undocumented ``PyOS_InitInterrupts()`` function. " -"Initializing Python already implicitly installs signal handlers: see :c:" -"member:`PyConfig.install_signal_handlers`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9918 -msgid "" -":issue:`40170`: The ``Py_TRASHCAN_BEGIN`` macro no longer accesses " -"PyTypeObject attributes, but now can get the condition by calling the new " -"private :c:func:`_PyTrash_cond()` function which hides implementation " -"details." -msgstr "" - -#: ../build/NEWS:9922 -msgid "" -":issue:`42260`: :c:func:`Py_GetPath`, :c:func:`Py_GetPrefix`, :c:func:" -"`Py_GetExecPrefix`, :c:func:`Py_GetProgramFullPath`, :c:func:" -"`Py_GetPythonHome` and :c:func:`Py_GetProgramName` functions now return " -"``NULL`` if called before :c:func:`Py_Initialize` (before Python is " -"initialized). Use the new :ref:`Python Initialization Configuration API " -"` to get the :ref:`Python Path Configuration. `. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9930 -msgid "" -":issue:`42260`: The :c:func:`PyConfig_Read` function now only parses :c:" -"member:`PyConfig.argv` arguments once: :c:member:`PyConfig.parse_argv` is " -"set to ``2`` after arguments are parsed. Since Python arguments are " -"strippped from :c:member:`PyConfig.argv`, parsing arguments twice would " -"parse the application options as Python options." -msgstr "" - -#: ../build/NEWS:9936 -msgid "" -":issue:`42262`: Added :c:func:`Py_NewRef` and :c:func:`Py_XNewRef` functions " -"to increment the reference count of an object and return the object. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9940 -msgid "" -":issue:`42260`: When :c:func:`Py_Initialize` is called twice, the second " -"call now updates more :mod:`sys` attributes for the configuration, rather " -"than only :data:`sys.argv`. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9944 -msgid "" -":issue:`41832`: The :c:func:`PyType_FromModuleAndSpec` function now accepts " -"NULL ``tp_doc`` slot." -msgstr "" - -#: ../build/NEWS:9947 -msgid "" -":issue:`1635741`: Added :c:func:`PyModule_AddObjectRef` function: similar " -"to :c:func:`PyModule_AddObject` but don't steal a reference to the value on " -"success. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:9951 -msgid "" -":issue:`42171`: The :c:data:`METH_FASTCALL` calling convention is added to " -"the limited API. The functions :c:func:`PyModule_AddType`, :c:func:" -"`PyType_FromModuleAndSpec`, :c:func:`PyType_GetModule` and :c:func:" -"`PyType_GetModuleState` are added to the limited API on Windows." -msgstr "" - -#: ../build/NEWS:9956 -msgid "" -":issue:`42085`: Add dedicated entry to PyAsyncMethods for sending values" -msgstr "" - -#: ../build/NEWS:9958 -msgid ":issue:`41073`: :c:func:`PyType_GetSlot()` can now accept static types." -msgstr "" - -#: ../build/NEWS:9960 -msgid "" -":issue:`30459`: :c:func:`PyList_SET_ITEM`, :c:func:`PyTuple_SET_ITEM` and :c:" -"func:`PyCell_SET` macros can no longer be used as l-value or r-value. For " -"example, ``x = PyList_SET_ITEM(a, b, c)`` and ``PyList_SET_ITEM(a, b, c) = " -"x`` now fail with a compiler error. It prevents bugs like ``if " -"(PyList_SET_ITEM (a, b, c) < 0) ...`` test. Patch by Zackery Spytz and " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:9969 -msgid "Python 3.10.0 alpha 2" -msgstr "" - -#: ../build/NEWS:9971 -msgid "*Release date: 2020-11-03*" -msgstr "" - -#: ../build/NEWS:9976 -msgid "" -":issue:`42103`: Prevented potential DoS attack via CPU and RAM exhaustion " -"when processing malformed Apple Property List files in binary format." -msgstr "" - -#: ../build/NEWS:9979 -msgid "" -":issue:`42051`: The :mod:`plistlib` module no longer accepts entity " -"declarations in XML plist files to avoid XML vulnerabilities. This should " -"not affect users as entity declarations are not used in regular plist files." -msgstr "" - -#: ../build/NEWS:9987 -msgid "" -":issue:`42236`: If the ``nl_langinfo(CODESET)`` function returns an empty " -"string, Python now uses UTF-8 as the filesystem encoding. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:9991 -msgid "" -":issue:`42218`: Fixed a bug in the PEG parser that was causing crashes in " -"debug mode. Now errors are checked in left-recursive rules to avoid cases " -"where such errors do not get handled in time and appear as long-distance " -"crashes in other places." -msgstr "" - -#: ../build/NEWS:9996 -msgid "" -":issue:`42214`: Fixed a possible crash in the PEG parser when checking for " -"the '!=' token in the ``barry_as_flufl`` rule. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:9999 -msgid "" -":issue:`42206`: Propagate and raise the errors caused by :c:func:" -"`PyAST_Validate` in the parser." -msgstr "" - -#: ../build/NEWS:10002 -msgid "" -":issue:`41796`: The :mod:`ast` module internal state is now per interpreter. " -"Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:10005 -msgid "" -":issue:`42143`: Fix handling of errors during creation of " -"``PyFunctionObject``, which resulted in operations on uninitialized memory. " -"Patch by Yonatan Goldschmidt." -msgstr "" - -#: ../build/NEWS:10009 -msgid "" -":issue:`41659`: Fix a bug in the parser, where a curly brace following a " -"`primary` didn't fail immediately. This led to invalid expressions like `a " -"{b}` to throw a :exc:`SyntaxError` with a wrong offset, or invalid " -"expressions ending with a curly brace like `a {` to not fail immediately in " -"the REPL." -msgstr "" - -#: ../build/NEWS:10015 -msgid "" -":issue:`42150`: Fix possible buffer overflow in the new parser when checking " -"for continuation lines. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10018 -msgid "" -":issue:`42123`: Run the parser two times. On the first run, disable all the " -"rules that only generate better error messages to gain performance. If " -"there's a parse failure, run the parser a second time with those enabled." -msgstr "" - -#: ../build/NEWS:10022 -msgid "" -":issue:`42093`: The ``LOAD_ATTR`` instruction now uses new \"per opcode " -"cache\" mechanism and it is about 36% faster now. Patch by Pablo Galindo and " -"Yury Selivanov." -msgstr "" - -#: ../build/NEWS:10026 -msgid "" -":issue:`42030`: Support for the legacy AIX-specific shared library loading " -"support has been removed. All versions of AIX since 4.3 have supported and " -"defaulted to using the common Unix mechanism instead." -msgstr "" - -#: ../build/NEWS:10030 -msgid "" -":issue:`41984`: The garbage collector now tracks all user-defined classes. " -"Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:10033 -msgid "" -":issue:`41993`: Fixed potential issues with removing not completely " -"initialized module from ``sys.modules`` when import fails." -msgstr "" - -#: ../build/NEWS:10036 -msgid "" -":issue:`41979`: Star-unpacking is now allowed for with item's targets in the " -"PEG parser." -msgstr "" - -#: ../build/NEWS:10039 -msgid "" -":issue:`41974`: Removed special methods ``__int__``, ``__float__``, " -"``__floordiv__``, ``__mod__``, ``__divmod__``, ``__rfloordiv__``, " -"``__rmod__`` and ``__rdivmod__`` of the :class:`complex` class. They always " -"raised a :exc:`TypeError`." -msgstr "" - -#: ../build/NEWS:10044 -msgid "" -":issue:`41902`: Micro optimization when compute :c:member:" -"`~PySequenceMethods.sq_item` and :c:member:`~PyMappingMethods.mp_subscript` " -"of :class:`range`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10049 -msgid "" -":issue:`41894`: When loading a native module and a load failure occurs, " -"prevent a possible UnicodeDecodeError when not running in a UTF-8 locale by " -"decoding the load error message using the current locale's encoding." -msgstr "" - -#: ../build/NEWS:10053 -msgid "" -":issue:`41902`: Micro optimization for range.index if step is 1. Patch by " -"Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10056 -msgid "" -":issue:`41435`: Add `sys._current_exceptions()` function to retrieve a " -"dictionary mapping each thread's identifier to the topmost exception " -"currently active in that thread at the time the function is called." -msgstr "" - -#: ../build/NEWS:10060 -msgid "" -":issue:`38605`: Enable ``from __future__ import annotations`` (:pep:`563`) " -"by default. The values found in :attr:`__annotations__` dicts are now " -"strings, e.g. ``{\"x\": \"int\"}`` instead of ``{\"x\": int}``." -msgstr "" - -#: ../build/NEWS:10067 -msgid "" -":issue:`35455`: On Solaris, :func:`~time.thread_time` is now implemented " -"with ``gethrvtime()`` because ``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` is " -"not always available. Patch by Jakub Kulik." -msgstr "" - -#: ../build/NEWS:10071 -msgid "" -":issue:`42233`: The :func:`repr` of :mod:`typing` types containing :ref:" -"`Generic Alias Types ` previously did not show the " -"parameterized types in the ``GenericAlias``. They have now been changed to " -"do so." -msgstr "" - -#: ../build/NEWS:10076 -msgid "" -":issue:`29566`: ``binhex.binhex()`` consistently writes macOS 9 line endings." -msgstr "" - -#: ../build/NEWS:10078 -msgid "" -":issue:`26789`: The :class:`logging.FileHandler` class now keeps a reference " -"to the builtin :func:`open` function to be able to open or reopen the file " -"during Python finalization. Fix errors like: ``NameError: name 'open' is not " -"defined``. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:10083 -msgid "" -":issue:`42157`: Removed the ``unicodedata.ucnhash_CAPI`` attribute which was " -"an internal PyCapsule object. The related private ``_PyUnicode_Name_CAPI`` " -"structure was moved to the internal C API. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:10087 -msgid "" -":issue:`42157`: Convert the :mod:`unicodedata` extension module to the " -"multiphase initialization API (:pep:`489`) and convert the ``unicodedata." -"UCD`` static type to a heap type. Patch by Mohamed Koubaa and Victor Stinner." -msgstr "" - -#: ../build/NEWS:10092 -msgid "" -":issue:`42146`: Fix memory leak in :func:`subprocess.Popen` in case an uid " -"(gid) specified in `user` (`group`, `extra_groups`) overflows `uid_t` " -"(`gid_t`)." -msgstr "" - -#: ../build/NEWS:10096 -msgid "" -":issue:`42103`: :exc:`~plistlib.InvalidFileException` and :exc:" -"`RecursionError` are now the only errors caused by loading malformed binary " -"Plist file (previously ValueError and TypeError could be raised in some " -"specific cases)." -msgstr "" - -#: ../build/NEWS:10101 -msgid "" -":issue:`41490`: In ``importlib.resources``, ``.path`` method is more " -"aggressive about releasing handles to zipfile objects early, enabling use-" -"cases like certifi to leave the context open but delete the underlying zip " -"file." -msgstr "" - -#: ../build/NEWS:10105 -msgid "" -":issue:`41052`: Pickling heap types implemented in C with protocols 0 and 1 " -"raises now an error instead of producing incorrect data." -msgstr "" - -#: ../build/NEWS:10108 -msgid "" -":issue:`42089`: In ``importlib.metadata.PackageNotFoundError``, make " -"reference to the package metadata being missing to improve the user " -"experience." -msgstr "" - -#: ../build/NEWS:10111 -msgid "" -":issue:`41491`: plistlib: fix parsing XML plists with hexadecimal integer " -"values" -msgstr "" - -#: ../build/NEWS:10114 -msgid "" -":issue:`42065`: Fix an incorrectly formatted error from :meth:`_codecs." -"charmap_decode` when called with a mapped value outside the range of valid " -"Unicode code points. PR by Max Bernstein." -msgstr "" - -#: ../build/NEWS:10118 -msgid "" -":issue:`41966`: Fix pickling pure Python :class:`datetime.time` subclasses. " -"Patch by Dean Inwood." -msgstr "" - -#: ../build/NEWS:10121 -msgid "" -":issue:`19270`: :meth:`sched.scheduler.cancel()` will now cancel the correct " -"event, if two events with same priority are scheduled for the same time. " -"Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:10125 -msgid "" -":issue:`28660`: :func:`textwrap.wrap` now attempts to break long words after " -"hyphens when ``break_long_words=True`` and ``break_on_hyphens=True``." -msgstr "" - -#: ../build/NEWS:10128 -msgid "" -":issue:`35823`: Use ``vfork()`` instead of ``fork()`` for :func:`subprocess." -"Popen` on Linux to improve performance in cases where it is deemed safe." -msgstr "" - -#: ../build/NEWS:10132 -msgid "" -":issue:`42043`: Add support for ``zipfile.Path`` inheritance. ``zipfile.Path." -"is_file()`` now returns False for non-existent names. ``zipfile.Path`` " -"objects now expose a ``.filename`` attribute and rely on that to resolve ``." -"name`` and ``.parent`` when the ``Path`` object is at the root of the " -"zipfile." -msgstr "" - -#: ../build/NEWS:10138 -msgid ":issue:`42021`: Fix possible ref leaks in :mod:`sqlite3` module init." -msgstr "" - -#: ../build/NEWS:10140 -msgid "" -":issue:`39101`: Fixed tests using IsolatedAsyncioTestCase from hanging on " -"BaseExceptions." -msgstr "" - -#: ../build/NEWS:10143 -msgid "" -":issue:`41976`: Fixed a bug that was causing :func:`ctypes.util." -"find_library` to return ``None`` when triying to locate a library in an " -"environment when gcc>=9 is available and ``ldconfig`` is not. Patch by Pablo " -"Galindo" -msgstr "" - -#: ../build/NEWS:10147 -msgid "" -":issue:`41943`: Fix bug where TestCase.assertLogs doesn't correctly filter " -"messages by level." -msgstr "" - -#: ../build/NEWS:10150 -msgid "" -":issue:`41923`: Implement :pep:`613`, introducing :data:`typing.TypeAlias` " -"annotation." -msgstr "" - -#: ../build/NEWS:10153 -msgid "" -":issue:`41905`: A new function in abc: *update_abstractmethods* to re-" -"calculate an abstract class's abstract status. In addition, *dataclass* has " -"been changed to call this function." -msgstr "" - -#: ../build/NEWS:10157 -msgid "" -":issue:`23706`: Added *newline* parameter to ``pathlib.Path.write_text()``." -msgstr "" - -#: ../build/NEWS:10159 -msgid ":issue:`41876`: Tkinter font class repr uses font name" -msgstr "" - -#: ../build/NEWS:10161 -msgid "" -":issue:`41831`: ``str()`` for the ``type`` attribute of the ``tkinter." -"Event`` object always returns now the numeric code returned by Tk instead of " -"the name of the event type." -msgstr "" - -#: ../build/NEWS:10165 -msgid "" -":issue:`39337`: :func:`encodings.normalize_encoding` now ignores non-ASCII " -"characters." -msgstr "" - -#: ../build/NEWS:10168 -msgid "" -":issue:`41747`: Ensure all methods that generated from :func:`dataclasses." -"dataclass` objects now have the proper ``__qualname__`` attribute referring " -"to the class they belong to. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:10172 -msgid "" -":issue:`30681`: Handle exceptions caused by unparsable date headers when " -"using email \"default\" policy. Patch by Tim Bell, Georges Toth" -msgstr "" - -#: ../build/NEWS:10175 -msgid "" -":issue:`41586`: Add F_SETPIPE_SZ and F_GETPIPE_SZ to fcntl module. Allow " -"setting pipesize on subprocess.Popen." -msgstr "" - -#: ../build/NEWS:10178 -msgid "" -":issue:`41229`: Add ``contextlib.aclosing`` for deterministic cleanup of " -"async generators which is analogous to ``contextlib.closing`` for non-async " -"generators. Patch by Joongi Kim and John Belmonte." -msgstr "" - -#: ../build/NEWS:10182 -msgid "" -":issue:`16396`: Allow ``ctypes.wintypes`` to be imported on non-Windows " -"systems." -msgstr "" - -#: ../build/NEWS:10185 -msgid ":issue:`4356`: Add a key function to the bisect module." -msgstr "" - -#: ../build/NEWS:10187 -msgid "" -":issue:`40592`: :func:`shutil.which` now ignores empty entries in :envvar:" -"`PATHEXT` instead of treating them as a match." -msgstr "" - -#: ../build/NEWS:10190 -msgid "" -":issue:`40492`: Fix ``--outfile`` for :mod:`cProfile` / :mod:`profile` not " -"writing the output file in the original directory when the program being " -"profiled changes the working directory. PR by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:10194 -msgid "" -":issue:`34204`: The :mod:`shelve` module now uses :data:`pickle." -"DEFAULT_PROTOCOL` by default instead of :mod:`pickle` protocol ``3``." -msgstr "" - -#: ../build/NEWS:10198 -msgid "" -":issue:`27321`: Fixed KeyError exception when flattening an email to a " -"string attempts to replace a non-existent Content-Transfer-Encoding header." -msgstr "" - -#: ../build/NEWS:10201 -msgid "" -":issue:`38976`: The :mod:`http.cookiejar` module now supports the parsing of " -"cookies in CURL-style cookiejar files through MozillaCookieJar on all " -"platforms. Previously, such cookie entries would be silently ignored when " -"loading a cookiejar with such entries." -msgstr "" - -#: ../build/NEWS:10206 -msgid "" -"Additionally, the HTTP Only attribute is persisted in the object, and will " -"be correctly written to file if the MozillaCookieJar object is subsequently " -"dumped." -msgstr "" - -#: ../build/NEWS:10213 -msgid ":issue:`42061`: Document __format__ functionality for IP addresses." -msgstr "" - -#: ../build/NEWS:10215 -msgid ":issue:`41910`: Document the default implementation of `object.__eq__`." -msgstr "" - -#: ../build/NEWS:10217 -msgid "" -":issue:`42010`: Clarify that subscription expressions are also valid for " -"certain :term:`classes ` and :term:`types ` in the standard " -"library, and for user-defined classes and types if the classmethod :meth:" -"`__class_getitem__` is provided." -msgstr "" - -#: ../build/NEWS:10222 -msgid "" -":issue:`41805`: Documented :ref:`generic alias type ` " -"and :data:`types.GenericAlias`. Also added an entry in glossary for :term:" -"`generic types `." -msgstr "" - -#: ../build/NEWS:10226 -msgid ":issue:`39693`: Fix tarfile's extractfile documentation" -msgstr "" - -#: ../build/NEWS:10228 -msgid "" -":issue:`39416`: Document some restrictions on the default string " -"representations of numeric classes." -msgstr "" - -#: ../build/NEWS:10234 -msgid "" -":issue:`41739`: Fix test_logging.test_race_between_set_target_and_flush(): " -"the test now waits until all threads complete to avoid leaking running " -"threads." -msgstr "" - -#: ../build/NEWS:10238 -msgid "" -":issue:`41970`: Avoid a test failure in ``test_lib2to3`` if the module has " -"already imported at the time the test executes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10241 -msgid "" -":issue:`41944`: Tests for CJK codecs no longer call ``eval()`` on content " -"received via HTTP." -msgstr "" - -#: ../build/NEWS:10244 -msgid "" -":issue:`41306`: Fixed a failure in ``test_tk.test_widgets.ScaleTest`` " -"happening when executing the test with Tk 8.6.10." -msgstr "" - -#: ../build/NEWS:10250 -msgid "" -":issue:`38980`: Add ``-fno-semantic-interposition`` to both the compile and " -"link line when building with ``--enable-optimizations``. Patch by Victor " -"Stinner and Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10257 -msgid "" -":issue:`38439`: Updates the icons for IDLE in the Windows Store package." -msgstr "" - -#: ../build/NEWS:10259 -msgid "" -":issue:`38252`: Use 8-byte step to detect ASCII sequence in 64-bit Windows " -"build." -msgstr "" - -#: ../build/NEWS:10262 -msgid ":issue:`39107`: Update Tcl and Tk to 8.6.10 in Windows installer." -msgstr "" - -#: ../build/NEWS:10264 -msgid ":issue:`41557`: Update Windows installer to use SQLite 3.33.0." -msgstr "" - -#: ../build/NEWS:10266 -msgid "" -":issue:`38324`: Avoid Unicode errors when accessing certain locale data on " -"Windows." -msgstr "" - -#: ../build/NEWS:10272 -msgid ":issue:`41471`: Ignore invalid prefix lengths in system proxy excludes." -msgstr "" - -#: ../build/NEWS:10277 -msgid "" -":issue:`33987`: Mostly finish using ttk widgets, mainly for editor, " -"settings, and searches. Some patches by Mark Roseman." -msgstr "" - -#: ../build/NEWS:10280 -msgid "" -":issue:`40511`: Typing opening and closing parentheses inside the " -"parentheses of a function call will no longer cause unnecessary \"flashing\" " -"off and on of an existing open call-tip, e.g. when typed in a string literal." -msgstr "" - -#: ../build/NEWS:10284 -msgid "" -":issue:`38439`: Add a 256×256 pixel IDLE icon to the Windows .ico file. " -"Created by Andrew Clover. Remove the low-color gif variations from the .ico " -"file." -msgstr "" - -#: ../build/NEWS:10290 -msgid "" -":issue:`42157`: The private ``_PyUnicode_Name_CAPI`` structure of the " -"PyCapsule API ``unicodedata.ucnhash_CAPI`` has been moved to the internal C " -"API. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:10294 -msgid "" -":issue:`42015`: Fix potential crash in deallocating method objects when " -"dynamically allocated `PyMethodDef`'s lifetime is managed through the " -"``self`` argument of a `PyCFunction`." -msgstr "" - -#: ../build/NEWS:10298 -msgid "" -":issue:`40423`: The :mod:`subprocess` module and ``os.closerange`` will now " -"use the ``close_range(low, high, flags)`` syscall when it is available for " -"more efficient closing of ranges of descriptors." -msgstr "" - -#: ../build/NEWS:10302 -msgid "" -":issue:`41845`: :c:func:`PyObject_GenericGetDict` is available again in the " -"limited API when targeting 3.10 or later." -msgstr "" - -#: ../build/NEWS:10305 -msgid "" -":issue:`40422`: Add `_Py_closerange` function to provide performant closing " -"of a range of file descriptors." -msgstr "" - -#: ../build/NEWS:10308 -msgid "" -":issue:`41986`: :c:data:`Py_FileSystemDefaultEncodeErrors` and :c:data:" -"`Py_UTF8Mode` are available again in limited API." -msgstr "" - -#: ../build/NEWS:10311 -msgid "" -":issue:`41756`: Add `PyIter_Send` function to allow sending value into " -"generator/coroutine/iterator without raising StopIteration exception to " -"signal return." -msgstr "" - -#: ../build/NEWS:10315 -msgid ":issue:`41784`: Added ``PyUnicode_AsUTF8AndSize`` to the limited C API." -msgstr "" - -#: ../build/NEWS:10319 -msgid "Python 3.10.0 alpha 1" -msgstr "" - -#: ../build/NEWS:10321 -msgid "*Release date: 2020-10-05*" -msgstr "" - -#: ../build/NEWS:10326 -msgid "" -":issue:`41304`: Fixes `python3x._pth` being ignored on Windows, caused by " -"the fix for :issue:`29778` (CVE-2020-15801)." -msgstr "" - -#: ../build/NEWS:10329 -msgid "" -":issue:`41162`: Audit hooks are now cleared later during finalization to " -"avoid missing events." -msgstr "" - -#: ../build/NEWS:10332 -msgid "" -":issue:`29778`: Ensure :file:`python3.dll` is loaded from correct locations " -"when Python is embedded (CVE-2020-15523)." -msgstr "" - -#: ../build/NEWS:10335 -msgid "" -":issue:`41004`: The __hash__() methods of ipaddress.IPv4Interface and " -"ipaddress.IPv6Interface incorrectly generated constant hash values of 32 and " -"128 respectively. This resulted in always causing hash collisions. The fix " -"uses hash() to generate hash values for the tuple of (address, mask length, " -"network address)." -msgstr "" - -#: ../build/NEWS:10341 -msgid "" -":issue:`39603`: Prevent http header injection by rejecting control " -"characters in http.client.putrequest(...)." -msgstr "" - -#: ../build/NEWS:10347 -msgid "" -":issue:`41909`: Fixed stack overflow in :func:`issubclass` and :func:" -"`isinstance` when getting the ``__bases__`` attribute leads to infinite " -"recursion." -msgstr "" - -#: ../build/NEWS:10351 -msgid "" -":issue:`41922`: Speed up calls to ``reversed()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10354 -msgid "" -":issue:`41873`: Calls to ``float()`` are now faster due to the " -"``vectorcall`` calling convention. Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:10357 -msgid "" -":issue:`41870`: Speed up calls to ``bool()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10360 -msgid "" -":issue:`1635741`: Port the :mod:`_bisect` module to the multi-phase " -"initialization API (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10363 -msgid "" -":issue:`39934`: Correctly count control blocks in 'except' in compiler. " -"Ensures that a syntax error, rather a fatal error, occurs for deeply nested, " -"named exception handlers." -msgstr "" - -#: ../build/NEWS:10367 -msgid "" -":issue:`41780`: Fix :meth:`__dir__` of :class:`types.GenericAlias`. Patch by " -"Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:10370 -msgid "" -":issue:`1635741`: Port the :mod:`_lsprof` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10373 -msgid "" -":issue:`1635741`: Port the :mod:`cmath` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10376 -msgid "" -":issue:`1635741`: Port the :mod:`_scproxy` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10379 -msgid "" -":issue:`1635741`: Port the :mod:`termios` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10382 -msgid "" -":issue:`1635741`: Convert the :mod:`_sha256` extension module types to heap " -"types." -msgstr "" - -#: ../build/NEWS:10385 -msgid "" -":issue:`41690`: Fix a possible stack overflow in the parser when parsing " -"functions and classes with a huge amount of arguments. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:10389 -msgid "" -":issue:`1635741`: Port the :mod:`_overlapped` extension module to multi-" -"phase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10392 -msgid "" -":issue:`1635741`: Port the :mod:`_curses_panel` extension module to multi-" -"phase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10395 -msgid "" -":issue:`1635741`: Port the :mod:`_opcode` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10398 -msgid "" -":issue:`41681`: Fixes the wrong error description in the error raised by " -"using 2 `,` in format string in f-string and :meth:`str.format`." -msgstr "" - -#: ../build/NEWS:10401 -msgid "" -":issue:`41675`: The implementation of :func:`signal.siginterrupt` now uses :" -"c:func:`sigaction` (if it is available in the system) instead of the " -"deprecated :c:func:`siginterrupt`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10405 -msgid "" -":issue:`41670`: Prevent line trace being skipped on platforms not compiled " -"with ``USE_COMPUTED_GOTOS``. Fixes issue where some lines nested within a " -"try-except block were not being traced on Windows." -msgstr "" - -#: ../build/NEWS:10409 -msgid "" -":issue:`41654`: Fix a crash that occurred when destroying subclasses of :" -"class:`MemoryError`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10412 -msgid "" -":issue:`1635741`: Port the :mod:`zlib` extension module to multi-phase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10415 -msgid "" -":issue:`41631`: The ``_ast`` module uses again a global state. Using a " -"module state per module instance is causing subtle practical problems. For " -"example, the Mercurial project replaces the ``__import__()`` function to " -"implement lazy import, whereas Python expected that ``import _ast`` always " -"return a fully initialized ``_ast`` module." -msgstr "" - -#: ../build/NEWS:10421 -msgid "" -":issue:`40077`: Convert :mod:`_operator` to use :c:func:`PyType_FromSpec`." -msgstr "" - -#: ../build/NEWS:10423 -msgid "" -":issue:`1653741`: Port :mod:`_sha3` to multi-phase init. Convert static " -"types to heap types." -msgstr "" - -#: ../build/NEWS:10426 -msgid "" -":issue:`1635741`: Port the :mod:`_blake2` extension module to the multi-" -"phase initialization API (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10429 -msgid "" -":issue:`41533`: Free the stack allocated in ``va_build_stack`` if " -"``do_mkstack`` fails and the stack is not a ``small_stack``." -msgstr "" - -#: ../build/NEWS:10432 -msgid "" -":issue:`41531`: Fix a bug that was dropping keys when compiling dict " -"literals with more than 0xFFFF elements. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10435 -msgid "" -":issue:`41525`: The output of ``python --help`` contains now only ASCII " -"characters." -msgstr "" - -#: ../build/NEWS:10438 -msgid "" -":issue:`1635741`: Port the :mod:`_sha1`, :mod:`_sha512`, and :mod:`_md5` " -"extension modules to multi-phase initialization API (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10441 -msgid "" -":issue:`41431`: Optimize ``dict_merge()`` for copying dict (e.g. ``dict(d)`` " -"and ``{}.update(d)``)." -msgstr "" - -#: ../build/NEWS:10444 -msgid "" -":issue:`41428`: Implement PEP 604. This supports (int | str) etc. in place " -"of Union[str, int]." -msgstr "" - -#: ../build/NEWS:10447 -msgid ":issue:`41340`: Removed fallback implementation for ``strdup``." -msgstr "" - -#: ../build/NEWS:10449 -msgid "" -":issue:`38156`: Handle interrupts that come after EOF correctly in " -"``PyOS_StdioReadline``." -msgstr "" - -#: ../build/NEWS:10452 -msgid "" -":issue:`41342`: :func:`round` with integer argument is now faster (9--60%)." -msgstr "" - -#: ../build/NEWS:10454 -msgid "" -":issue:`41334`: Constructors :func:`str`, :func:`bytes` and :func:" -"`bytearray` are now faster (around 30--40% for small objects)." -msgstr "" - -#: ../build/NEWS:10457 -msgid "" -":issue:`41295`: Resolve a regression in CPython 3.8.4 where defining " -"\"__setattr__\" in a multi-inheritance setup and calling up the hierarchy " -"chain could fail if builtins/extension types were involved in the base types." -msgstr "" - -#: ../build/NEWS:10462 -msgid "" -":issue:`41323`: Bytecode optimizations are performed directly on the control " -"flow graph. This will result in slightly more compact code objects in some " -"circumstances." -msgstr "" - -#: ../build/NEWS:10466 -msgid "" -":issue:`41247`: Always cache the running loop holder when running ``asyncio." -"set_running_loop``." -msgstr "" - -#: ../build/NEWS:10469 -msgid "" -":issue:`41252`: Fix incorrect refcounting in _ssl.c's " -"``_servername_callback()``." -msgstr "" - -#: ../build/NEWS:10472 -msgid "" -":issue:`1635741`: Port :mod:`multiprocessing` to multi-phase initialization" -msgstr "" - -#: ../build/NEWS:10474 -msgid ":issue:`1635741`: Port :mod:`winapi` to multiphase initialization" -msgstr "" - -#: ../build/NEWS:10476 -msgid "" -":issue:`41215`: Use non-NULL default values in the PEG parser keyword list " -"to overcome a bug that was preventing Python from being properly compiled " -"when using the XLC compiler. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10480 -msgid "" -":issue:`41218`: Python 3.8.3 had a regression where compiling with ast." -"PyCF_ALLOW_TOP_LEVEL_AWAIT would aggressively mark list comprehension with " -"CO_COROUTINE. Now only list comprehension making use of async/await will " -"tagged as so." -msgstr "" - -#: ../build/NEWS:10485 -msgid "" -":issue:`1635741`: Port :mod:`faulthandler` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10487 -msgid ":issue:`1635741`: Port :mod:`sha256` to multiphase initialization" -msgstr "" - -#: ../build/NEWS:10489 -msgid "" -":issue:`41175`: Guard against a NULL pointer dereference within " -"bytearrayobject triggered by the ``bytearray() + bytearray()`` operation." -msgstr "" - -#: ../build/NEWS:10492 -msgid ":issue:`41100`: add arm64 to the allowable Mac OS arches in mpdecimal.h" -msgstr "" - -#: ../build/NEWS:10494 -msgid "" -":issue:`41094`: Fix decoding errors with audit when open files with non-" -"ASCII names on non-UTF-8 locale." -msgstr "" - -#: ../build/NEWS:10497 -msgid "" -":issue:`39960`: The \"hackcheck\" that prevents sneaking around a type's " -"__setattr__() by calling the superclass method was rewritten to allow C " -"implemented heap types." -msgstr "" - -#: ../build/NEWS:10501 -msgid "" -":issue:`41084`: Prefix the error message with 'f-string: ', when parsing an " -"f-string expression which throws a :exc:`SyntaxError`." -msgstr "" - -#: ../build/NEWS:10504 -msgid ":issue:`40521`: Empty frozensets are no longer singletons." -msgstr "" - -#: ../build/NEWS:10506 -msgid "" -":issue:`41076`: Pre-feed the parser with the location of the f-string " -"expression, not the f-string itself, which allows us to skip the shifting of " -"the AST node locations after the parsing is completed." -msgstr "" - -#: ../build/NEWS:10510 -msgid "" -":issue:`41056`: Fixes a reference to deallocated stack space during startup " -"when constructing sys.path involving a relative symlink when code was " -"supplied via -c. (discovered via Coverity)" -msgstr "" - -#: ../build/NEWS:10514 -msgid "" -":issue:`41061`: Fix incorrect expressions and asserts in hashtable code and " -"tests." -msgstr "" - -#: ../build/NEWS:10517 -msgid "" -":issue:`41052`: Opt out serialization/deserialization for _random.Random" -msgstr "" - -#: ../build/NEWS:10519 -msgid "" -":issue:`40939`: Rename `PyPegen*` functions to `PyParser*`, so that we can " -"remove the old set of `PyParser*` functions that were using the old parser, " -"but keep everything backwards-compatible." -msgstr "" - -#: ../build/NEWS:10523 -msgid "" -":issue:`35975`: Stefan Behnel reported that cf_feature_version is used even " -"when PyCF_ONLY_AST is not set. This is against the intention and against the " -"documented behavior, so it's been fixed." -msgstr "" - -#: ../build/NEWS:10527 -msgid "" -":issue:`40939`: Remove the remaining files from the old parser and the :mod:" -"`symbol` module." -msgstr "" - -#: ../build/NEWS:10530 -msgid ":issue:`40077`: Convert :mod:`_bz2` to use :c:func:`PyType_FromSpec`." -msgstr "" - -#: ../build/NEWS:10532 -msgid "" -":issue:`41006`: The ``encodings.latin_1`` module is no longer imported at " -"startup. Now it is only imported when it is the filesystem encoding or the " -"stdio encoding." -msgstr "" - -#: ../build/NEWS:10536 -msgid "" -":issue:`40636`: :func:`zip` now supports :pep:`618`'s ``strict`` parameter, " -"which raises a :exc:`ValueError` if the arguments are exhausted at different " -"lengths. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:10540 -msgid ":issue:`1635741`: Port :mod:`_gdbm` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10542 -msgid "" -":issue:`40985`: Fix a bug that caused the :exc:`SyntaxError` text to be " -"empty when a file ends with a line ending in a line continuation character " -"(i.e. backslash). The error text should contain the text of the last line." -msgstr "" - -#: ../build/NEWS:10546 -msgid "" -":issue:`40958`: Fix a possible buffer overflow in the PEG parser when " -"gathering information for emitting syntax errors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10549 -msgid ":issue:`1635741`: Port :mod:`_dbm` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10551 -msgid ":issue:`40957`: Fix refleak in _Py_fopen_obj() when PySys_Audit() fails" -msgstr "" - -#: ../build/NEWS:10553 -msgid "" -":issue:`40950`: Add a state to the :mod:`nis` module (:pep:`3121`) and apply " -"the multiphase initialization. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10556 -msgid "" -":issue:`40947`: The Python :ref:`Path Configuration ` now " -"takes :c:member:`PyConfig.platlibdir` in account." -msgstr "" - -#: ../build/NEWS:10559 -msgid "" -":issue:`40939`: Remove the old parser, the :mod:`parser` module and all " -"associated support code, command-line options and environment variables. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10563 -msgid "" -":issue:`40847`: Fix a bug where a line with only a line continuation " -"character is not considered a blank line at tokenizer level. In such cases, " -"more than a single `NEWLINE` token was emitted. The old parser was working " -"around the issue, but the new parser threw a :exc:`SyntaxError` for valid " -"input due to this. For example, an empty line following a line continuation " -"character was interpreted as a :exc:`SyntaxError`." -msgstr "" - -#: ../build/NEWS:10570 -msgid "" -":issue:`40890`: Each dictionary view now has a ``mapping`` attribute that " -"provides a :class:`types.MappingProxyType` wrapping the original " -"dictionary. Patch contributed by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:10574 -msgid "" -":issue:`40889`: Improved the performance of symmetric difference operations " -"on dictionary item views. Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:10577 -msgid "" -":issue:`40904`: Fix possible segfault in the new PEG parser when parsing f-" -"string containing yield statements with no value (:code:`f\"{yield}\"`). " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:10581 -msgid "" -":issue:`40903`: Fixed a possible segfault in the new PEG parser when " -"producing error messages for invalid assignments of the form :code:`p=p=`. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:10585 -msgid "" -":issue:`40880`: Fix invalid memory read in the new parser when checking " -"newlines in string literals. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10588 -msgid "" -":issue:`40883`: Fix memory leak in when parsing f-strings in the new parser. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:10591 -msgid "" -":issue:`40870`: Raise :exc:`ValueError` when validating custom AST's where " -"the constants ``True``, ``False`` and ``None`` are used within a :class:`ast." -"Name` node." -msgstr "" - -#: ../build/NEWS:10595 -msgid "" -":issue:`40854`: Allow overriding :data:`sys.platlibdir` via a new :envvar:" -"`PYTHONPLATLIBDIR` environment variable." -msgstr "" - -#: ../build/NEWS:10598 -msgid "" -":issue:`40826`: Fix GIL usage in :c:func:`PyOS_Readline`: lock the GIL to " -"set an exception and pass the Python thread state when checking if there is " -"a pending signal." -msgstr "" - -#: ../build/NEWS:10602 -msgid ":issue:`1635741`: Port :mod:`fcntl` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10604 -msgid "" -":issue:`19468`: Delete unnecessary instance check in importlib.reload(). " -"Patch by Furkan Önder." -msgstr "" - -#: ../build/NEWS:10607 -msgid "" -":issue:`40824`: Unexpected errors in calling the ``__iter__`` method are no " -"longer masked by ``TypeError`` in the :keyword:`in` operator and functions :" -"func:`~operator.contains`, :func:`~operator.indexOf` and :func:`~operator." -"countOf` of the :mod:`operator` module." -msgstr "" - -#: ../build/NEWS:10612 -msgid "" -":issue:`40792`: Attributes ``start``, ``stop`` and ``step`` of the :class:" -"`range` object now always has exact type :class:`int`. Previously, they " -"could have been an instance of a subclass of ``int``." -msgstr "" - -#: ../build/NEWS:10616 -msgid "" -":issue:`40780`: Fix a corner case where g-style string formatting of a float " -"failed to remove trailing zeros." -msgstr "" - -#: ../build/NEWS:10619 -msgid "" -":issue:`38964`: When there's a :exc:`SyntaxError` in the expression part of " -"an fstring, the filename attribute of the :exc:`SyntaxError` gets correctly " -"set to the name of the file the fstring resides in." -msgstr "" - -#: ../build/NEWS:10623 -msgid "" -":issue:`40750`: Support the \"-d\" debug flag in the new PEG parser. Patch " -"by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:10626 -msgid "" -":issue:`40217`: Instances of types created with :c:func:" -"`PyType_FromSpecWithBases` will no longer automatically visit their class " -"object when traversing references in the garbage collector. The user is " -"expected to manually visit the object's class. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10632 -msgid "" -":issue:`39573`: :c:func:`Py_TYPE()` is changed to the inline static " -"function. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:10635 -msgid "" -":issue:`40696`: Fix a hang that can arise after :meth:`generator.throw` due " -"to a cycle in the exception context chain." -msgstr "" - -#: ../build/NEWS:10638 -msgid "" -":issue:`40521`: Each interpreter now its has own free lists, singletons and " -"caches:" -msgstr "" - -#: ../build/NEWS:10641 -msgid "" -"Free lists: float, tuple, list, dict, frame, context, asynchronous " -"generator, MemoryError." -msgstr "" - -#: ../build/NEWS:10643 -msgid "" -"Singletons: empty tuple, empty bytes string, empty Unicode string, single " -"byte character, single Unicode (latin1) character." -msgstr "" - -#: ../build/NEWS:10645 -msgid "Slice cache." -msgstr "" - -#: ../build/NEWS:10647 -msgid "They are no longer shared by all interpreters." -msgstr "" - -#: ../build/NEWS:10649 -msgid "" -":issue:`40679`: Certain :exc:`TypeError` messages about missing or extra " -"arguments now include the function's :term:`qualified name`. Patch by " -"Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:10653 -msgid "" -":issue:`29590`: Make the stack trace correct after calling :meth:`generator." -"throw` on a generator that has yielded from a ``yield from``." -msgstr "" - -#: ../build/NEWS:10657 -msgid "" -":issue:`4022`: Improve performance of generators by not raising internal " -"StopIteration." -msgstr "" - -#: ../build/NEWS:10660 -msgid ":issue:`1635741`: Port :mod:`mmap` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10662 -msgid ":issue:`1635741`: Port :mod:`_lzma` to multiphase initialization." -msgstr "" - -#: ../build/NEWS:10664 -msgid "" -":issue:`37999`: Builtin and extension functions that take integer arguments " -"no longer accept :class:`~decimal.Decimal`\\ s, :class:`~fractions." -"Fraction`\\ s and other objects that can be converted to integers only with " -"a loss (e.g. that have the :meth:`~object.__int__` method but do not have " -"the :meth:`~object.__index__` method)." -msgstr "" - -#: ../build/NEWS:10670 -msgid "" -":issue:`29882`: Add :meth:`int.bit_count()`, counting the number of ones in " -"the binary representation of an integer. Patch by Niklas Fiekas." -msgstr "" - -#: ../build/NEWS:10673 -msgid "" -":issue:`36982`: Use ncurses extended color functions when available to " -"support terminals with 256 colors, and add the new function :func:`curses." -"has_extended_color_support` to indicate whether extended color support is " -"provided by the underlying ncurses library." -msgstr "" - -#: ../build/NEWS:10678 -msgid "" -":issue:`19569`: Add the private macros ``_Py_COMP_DIAG_PUSH``, " -"``_Py_COMP_DIAG_IGNORE_DEPR_DECLS``, and ``_Py_COMP_DIAG_POP``." -msgstr "" - -#: ../build/NEWS:10681 -msgid "" -":issue:`26680`: The int type now supports the x.is_integer() method for " -"compatibility with float." -msgstr "" - -#: ../build/NEWS:10687 -msgid "" -":issue:`41900`: C14N 2.0 serialisation in xml.etree.ElementTree failed for " -"unprefixed attributes when a default namespace was defined." -msgstr "" - -#: ../build/NEWS:10690 -msgid "" -":issue:`41887`: Strip leading spaces and tabs on :func:`ast.literal_eval`. " -"Also document stripping of spaces and tabs for :func:`eval`." -msgstr "" - -#: ../build/NEWS:10693 -msgid "" -":issue:`41773`: Note in documentation that :func:`random.choices` doesn't " -"support non-finite weights, raise :exc:`ValueError` when given non-finite " -"weights." -msgstr "" - -#: ../build/NEWS:10697 -msgid "" -":issue:`41840`: Fix a bug in the :mod:`symtable` module that was causing " -"module-scope global variables to not be reported as both local and global. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10701 -msgid "" -":issue:`41842`: Add :func:`codecs.unregister` function to unregister a codec " -"search function." -msgstr "" - -#: ../build/NEWS:10704 -msgid "" -":issue:`40564`: In ``zipfile.Path``, mutate the passed ZipFile object type " -"instead of making a copy. Prevents issues when both the local copy and the " -"caller’s copy attempt to close the same file handle." -msgstr "" - -#: ../build/NEWS:10708 -msgid "" -":issue:`40670`: More reliable validation of statements in :class:`timeit." -"Timer`. It now accepts \"empty\" statements (only whitespaces and comments) " -"and rejects misindentent statements." -msgstr "" - -#: ../build/NEWS:10712 -msgid "" -":issue:`41833`: The :class:`threading.Thread` constructor now uses the " -"target name if the *target* argument is specified but the *name* argument is " -"omitted." -msgstr "" - -#: ../build/NEWS:10716 -msgid "" -":issue:`41817`: fix `tkinter.EventType` Enum so all members are strings, and " -"none are tuples" -msgstr "" - -#: ../build/NEWS:10719 -msgid "" -":issue:`41810`: :data:`types.EllipsisType`, :data:`types.NotImplementedType` " -"and :data:`types.NoneType` have been reintroduced, providing a new set of " -"types readily interpretable by static type checkers." -msgstr "" - -#: ../build/NEWS:10723 -msgid "" -":issue:`41815`: Fix SQLite3 segfault when backing up closed database. Patch " -"contributed by Peter David McCormick." -msgstr "" - -#: ../build/NEWS:10726 -msgid "" -":issue:`41816`: StrEnum added: it ensures that all members are already " -"strings or string candidates" -msgstr "" - -#: ../build/NEWS:10729 -msgid "" -":issue:`41517`: fix bug allowing Enums to be extended via multiple " -"inheritance" -msgstr "" - -#: ../build/NEWS:10731 -msgid "" -":issue:`39587`: use the correct mix-in data type when constructing Enums" -msgstr "" - -#: ../build/NEWS:10733 -msgid "" -":issue:`41792`: Add is_typeddict function to typing.py to check if a type is " -"a TypedDict class" -msgstr "" - -#: ../build/NEWS:10736 -msgid "" -"Previously there was no way to check that without using private API. See the " -"`relevant issue in python/typing `" -msgstr "" - -#: ../build/NEWS:10740 -msgid "" -":issue:`41789`: Honor `object` overrides in `Enum` class creation " -"(specifically, `__str__`, `__repr__`, `__format__`, and `__reduce_ex__`)." -msgstr "" - -#: ../build/NEWS:10743 -msgid ":issue:`32218`: `enum.Flag` and `enum.IntFlag` members are now iterable" -msgstr "" - -#: ../build/NEWS:10745 -msgid "" -":issue:`39651`: Fix a race condition in the ``call_soon_threadsafe()`` " -"method of ``asyncio.ProactorEventLoop``: do nothing if the self-pipe socket " -"has been closed." -msgstr "" - -#: ../build/NEWS:10749 -msgid "" -":issue:`1635741`: Port the ``mashal`` extension module to the multi-phase " -"initialization API (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10752 -msgid "" -":issue:`1635741`: Port the ``_string`` extension module to the multi-phase " -"initialization API (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:10755 -msgid ":issue:`41732`: Added an :term:`iterator` to :class:`memoryview`." -msgstr "" - -#: ../build/NEWS:10757 -msgid "" -":issue:`41720`: Fixed :meth:`turtle.Vec2D.__rmul__` for arguments which are " -"not int or float." -msgstr "" - -#: ../build/NEWS:10760 -msgid "" -":issue:`41696`: Fix handling of debug mode in :func:`asyncio.run`. This " -"allows setting ``PYTHONASYNCIODEBUG`` or ``-X dev`` to enable asyncio debug " -"mode when using :func:`asyncio.run`." -msgstr "" - -#: ../build/NEWS:10764 -msgid "" -":issue:`41687`: Fix implementation of sendfile to be compatible with Solaris." -msgstr "" - -#: ../build/NEWS:10766 -msgid "" -":issue:`41662`: No longer override exceptions raised in ``__len__()`` of a " -"sequence of parameters in :mod:`sqlite3` with :exc:`~sqlite3." -"ProgrammingError`." -msgstr "" - -#: ../build/NEWS:10770 -msgid "" -":issue:`39010`: Restarting a ``ProactorEventLoop`` on Windows no longer logs " -"spurious ``ConnectionResetErrors``." -msgstr "" - -#: ../build/NEWS:10773 -msgid "" -":issue:`41638`: :exc:`~sqlite3.ProgrammingError` message for absent " -"parameter in :mod:`sqlite3` contains now the name of the parameter instead " -"of its index when parameters are supplied as a dict." -msgstr "" - -#: ../build/NEWS:10777 -msgid "" -":issue:`41662`: Fixed crash when mutate list of parameters during iteration " -"in :mod:`sqlite3`." -msgstr "" - -#: ../build/NEWS:10780 -msgid "" -":issue:`41513`: Improved the accuracy of math.hypot(). Internally, each " -"step is computed with extra precision so that the result is now almost " -"always correctly rounded." -msgstr "" - -#: ../build/NEWS:10784 -msgid "" -":issue:`41609`: The pdb whatis command correctly reports instance methods as " -"'Method' rather than 'Function'." -msgstr "" - -#: ../build/NEWS:10787 -msgid "" -":issue:`39994`: Fixed pprint's handling of dict subclasses that override " -"__repr__." -msgstr "" - -#: ../build/NEWS:10790 -msgid "" -":issue:`32751`: When cancelling the task due to a timeout, :meth:`asyncio." -"wait_for` will now wait until the cancellation is complete also in the case " -"when *timeout* is <= 0, like it does with positive timeouts." -msgstr "" - -#: ../build/NEWS:10795 -msgid "" -":issue:`37658`: :meth:`asyncio.wait_for` now properly handles races between " -"cancellation of itself and the completion of the wrapped awaitable." -msgstr "" - -#: ../build/NEWS:10798 -msgid "" -":issue:`40782`: Change the method asyncio.AbstractEventLoop.run_in_executor " -"to not be a coroutine." -msgstr "" - -#: ../build/NEWS:10801 -msgid "" -":issue:`41520`: Fix :mod:`codeop` regression that prevented turning compile " -"warnings into errors." -msgstr "" - -#: ../build/NEWS:10804 -msgid "" -":issue:`41528`: turtle uses math module functions to convert degrees to " -"radians and vice versa and to calculate vector norm" -msgstr "" - -#: ../build/NEWS:10807 -msgid "" -":issue:`41513`: Minor algorithmic improvement to math.hypot() and math." -"dist() giving small gains in speed and accuracy." -msgstr "" - -#: ../build/NEWS:10810 -msgid "" -":issue:`41503`: Fixed a race between setTarget and flush in logging.handlers." -"MemoryHandler." -msgstr "" - -#: ../build/NEWS:10813 -msgid ":issue:`41497`: Fix potential UnicodeDecodeError in dis module." -msgstr "" - -#: ../build/NEWS:10815 -msgid "" -":issue:`41467`: On Windows, fix asyncio ``recv_into()`` return value when " -"the socket/pipe is closed (:exc:`BrokenPipeError`): return ``0`` rather than " -"an empty byte string (``b''``)." -msgstr "" - -#: ../build/NEWS:10819 -msgid ":issue:`41425`: Make tkinter doc example runnable." -msgstr "" - -#: ../build/NEWS:10821 -msgid "" -":issue:`41421`: Make an algebraic simplification to random.paretovariate(). " -"It now is slightly less subject to round-off error and is slightly faster. " -"Inputs that used to cause ZeroDivisionError now cause an OverflowError " -"instead." -msgstr "" - -#: ../build/NEWS:10826 -msgid ":issue:`41440`: Add :func:`os.cpu_count()` support for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:10828 -msgid "" -":issue:`41316`: Fix the :mod:`tarfile` module to write only basename of TAR " -"file to GZIP compression header." -msgstr "" - -#: ../build/NEWS:10831 -msgid "" -":issue:`41384`: Raise TclError instead of TypeError when an unknown option " -"is passed to tkinter.OptionMenu." -msgstr "" - -#: ../build/NEWS:10834 -msgid "" -":issue:`41317`: Use add_done_callback() in asyncio.loop.sock_accept() to " -"unsubscribe reader early on cancellation." -msgstr "" - -#: ../build/NEWS:10837 -msgid ":issue:`41364`: Reduce import overhead of :mod:`uuid`." -msgstr "" - -#: ../build/NEWS:10839 -msgid "" -":issue:`35328`: Set the environment variable ``VIRTUAL_ENV_PROMPT`` at :mod:" -"`venv` activation." -msgstr "" - -#: ../build/NEWS:10842 -msgid "" -":issue:`41341`: Recursive evaluation of `typing.ForwardRef` in " -"`get_type_hints`." -msgstr "" - -#: ../build/NEWS:10845 -msgid "" -":issue:`41344`: Prevent creating :class:`shared_memory.SharedMemory` objects " -"with :code:`size=0`." -msgstr "" - -#: ../build/NEWS:10848 -msgid "" -":issue:`41333`: :meth:`collections.OrderedDict.pop` is now 2 times faster." -msgstr "" - -#: ../build/NEWS:10850 -msgid "" -":issue:`41288`: Unpickling invalid NEWOBJ_EX opcode with the C " -"implementation raises now UnpicklingError instead of crashing." -msgstr "" - -#: ../build/NEWS:10853 -msgid "" -":issue:`39017`: Avoid infinite loop when reading specially crafted TAR files " -"using the tarfile module (CVE-2019-20907)." -msgstr "" - -#: ../build/NEWS:10856 -msgid "" -":issue:`41273`: Speed up any transport using ``_ProactorReadPipeTransport`` " -"by calling ``recv_into`` instead of ``recv``, thus not creating a new buffer " -"for each ``recv`` call in the transport's read loop." -msgstr "" - -#: ../build/NEWS:10860 -msgid "" -":issue:`41235`: Fix the error handling in :meth:`ssl.SSLContext." -"load_dh_params`." -msgstr "" - -#: ../build/NEWS:10863 -msgid "" -":issue:`41207`: In distutils.spawn, restore expectation that " -"DistutilsExecError is raised when the command is not found." -msgstr "" - -#: ../build/NEWS:10866 -msgid "" -":issue:`29727`: Register :class:`array.array` as a :class:`~collections.abc." -"MutableSequence`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:10869 -msgid "" -":issue:`39168`: Remove the ``__new__`` method of :class:`typing.Generic`." -msgstr "" - -#: ../build/NEWS:10871 -msgid "" -":issue:`41194`: Fix a crash in the ``_ast`` module: it can no longer be " -"loaded more than once. It now uses a global state rather than a module state." -msgstr "" - -#: ../build/NEWS:10874 -msgid "" -":issue:`41195`: Add read-only ssl.SSLContext.security_level attribute to " -"retrieve the context's security level." -msgstr "" - -#: ../build/NEWS:10877 -msgid "" -":issue:`41193`: The ``write_history()`` atexit function of the readline " -"completer now ignores any :exc:`OSError` to ignore error if the filesystem " -"is read-only, instead of only ignoring :exc:`FileNotFoundError` and :exc:" -"`PermissionError`." -msgstr "" - -#: ../build/NEWS:10882 -msgid ":issue:`41182`: selector: use DefaultSelector based upon implementation" -msgstr "" - -#: ../build/NEWS:10884 -msgid "" -":issue:`41161`: The decimal module now requires libmpdec-2.5.0. Users of --" -"with-system-libmpdec should update their system library." -msgstr "" - -#: ../build/NEWS:10887 -msgid ":issue:`40874`: The decimal module now requires libmpdec-2.5.0." -msgstr "" - -#: ../build/NEWS:10889 -msgid "" -":issue:`41138`: Fixed the :mod:`trace` module CLI for Python source files " -"with non-UTF-8 encoding." -msgstr "" - -#: ../build/NEWS:10892 -msgid "" -":issue:`31082`: Use the term \"iterable\" in the docstring for :func:" -"`functools.reduce`." -msgstr "" - -#: ../build/NEWS:10895 -msgid ":issue:`40521`: Remove freelist from collections.deque()." -msgstr "" - -#: ../build/NEWS:10897 -msgid "" -":issue:`31938`: Fix default-value signatures of several functions in the :" -"mod:`select` module - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:10900 -msgid "" -":issue:`41068`: Fixed reading files with non-ASCII names from ZIP archive " -"directly after writing them." -msgstr "" - -#: ../build/NEWS:10903 -msgid "" -":issue:`41058`: :func:`pdb.find_function` now correctly determines the " -"source file encoding." -msgstr "" - -#: ../build/NEWS:10906 -msgid "" -":issue:`41056`: Invalid file descriptor values are now prevented from being " -"passed to os.fpathconf. (discovered by Coverity)" -msgstr "" - -#: ../build/NEWS:10909 -msgid "" -":issue:`41056`: Fix a NULL pointer dereference within the ssl module during " -"a MemoryError in the keylog callback. (discovered by Coverity)" -msgstr "" - -#: ../build/NEWS:10912 -msgid "" -":issue:`41056`: Fixed an instance where a MemoryError within the zoneinfo " -"module might not be reported or not reported at its source. (found by " -"Coverity)" -msgstr "" - -#: ../build/NEWS:10916 -msgid "" -":issue:`41048`: :func:`mimetypes.read_mime_types` function reads the rule " -"file using UTF-8 encoding, not the locale encoding. Patch by Srinivas Reddy " -"Thatiparthy." -msgstr "" - -#: ../build/NEWS:10920 -msgid "" -":issue:`41043`: Fixed the use of :func:`~glob.glob` in the stdlib: literal " -"part of the path is now always correctly escaped." -msgstr "" - -#: ../build/NEWS:10923 -msgid "" -":issue:`41025`: Fixed an issue preventing the C implementation of :class:" -"`zoneinfo.ZoneInfo` from being subclassed." -msgstr "" - -#: ../build/NEWS:10926 -msgid "" -":issue:`35018`: Add the :class:`xml.sax.handler.LexicalHandler` class that " -"is present in other SAX XML implementations." -msgstr "" - -#: ../build/NEWS:10929 -msgid "" -":issue:`41002`: Improve performance of HTTPResponse.read with a given " -"amount. Patch by Bruce Merry." -msgstr "" - -#: ../build/NEWS:10932 -msgid "" -":issue:`40448`: :mod:`ensurepip` now disables the use of `pip` cache when " -"installing the bundled versions of `pip` and `setuptools`. Patch by " -"Krzysztof Konopko." -msgstr "" - -#: ../build/NEWS:10936 -msgid "" -":issue:`40967`: Removed :meth:`asyncio.Task.current_task` and :meth:`asyncio." -"Task.all_tasks`. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:10939 -msgid "" -":issue:`40924`: Ensure ``importlib.resources.path`` returns an extant path " -"for the SourceFileLoader's resource reader. Avoids the regression identified " -"in master while a long-term solution is devised." -msgstr "" - -#: ../build/NEWS:10943 -msgid "" -":issue:`40955`: Fix a minor memory leak in :mod:`subprocess` module when " -"extra_groups was specified." -msgstr "" - -#: ../build/NEWS:10946 -msgid "" -":issue:`40855`: The standard deviation and variance functions in the " -"statistics module were ignoring their mu and xbar arguments." -msgstr "" - -#: ../build/NEWS:10949 -msgid "" -":issue:`40939`: Use the new PEG parser when generating the stdlib :mod:" -"`keyword` module." -msgstr "" - -#: ../build/NEWS:10952 -msgid "" -":issue:`23427`: Add :data:`sys.orig_argv` attribute: the list of the " -"original command line arguments passed to the Python executable." -msgstr "" - -#: ../build/NEWS:10955 -msgid "" -":issue:`33689`: Ignore empty or whitespace-only lines in .pth files. This " -"matches the documentated behavior. Before, empty lines caused the site-" -"packages dir to appear multiple times in sys.path. By Ido Michael, " -"contributors Malcolm Smith and Tal Einat." -msgstr "" - -#: ../build/NEWS:10960 -msgid "" -":issue:`40884`: Added a `defaults` parameter to :class:`logging.Formatter`, " -"to allow specifying default values for custom fields. Patch by Asaf Alon and " -"Bar Harel." -msgstr "" - -#: ../build/NEWS:10964 -msgid ":issue:`40876`: Clarify error message in the :mod:`csv` module." -msgstr "" - -#: ../build/NEWS:10966 -msgid "" -":issue:`39791`: Refresh importlib.metadata from importlib_metadata 1.6.1." -msgstr "" - -#: ../build/NEWS:10968 -msgid "" -":issue:`40807`: Stop codeop._maybe_compile, used by code." -"InteractiveInterpreter (and IDLE). from emitting each warning three times." -msgstr "" - -#: ../build/NEWS:10971 -msgid "" -":issue:`32604`: Fix reference leak in the :mod:`select` module when the " -"module is imported in a subinterpreter." -msgstr "" - -#: ../build/NEWS:10974 -msgid "" -":issue:`39791`: Built-in loaders (SourceFileLoader and ZipImporter) now " -"supply ``TraversableResources`` implementations for ``ResourceReader``, and " -"the fallback function has been removed." -msgstr "" - -#: ../build/NEWS:10978 -msgid "" -":issue:`39314`: :class:`rlcompleter.Completer` and the standard Python shell " -"now close the parenthesis for functions that take no arguments. Patch " -"contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:10982 -msgid "" -":issue:`17005`: The topological sort functionality that was introduced " -"initially in the :mod:`functools` module has been moved to a new :mod:" -"`graphlib` module to better accommodate the new tools and keep the original " -"scope of the :mod:`functools` module. Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:10987 -msgid "" -":issue:`40834`: Fix truncate when sending str object with_xxsubinterpreters." -"channel_send." -msgstr "" - -#: ../build/NEWS:10990 -msgid ":issue:`40755`: Add rich comparisons to collections.Counter()." -msgstr "" - -#: ../build/NEWS:10992 -msgid "" -":issue:`26407`: Unexpected errors in calling the ``__iter__`` method are no " -"longer masked by ``TypeError`` in :func:`csv.reader`, :func:`csv.writer." -"writerow` and :meth:`csv.writer.writerows`." -msgstr "" - -#: ../build/NEWS:10996 -msgid "" -":issue:`39384`: Fixed email.contentmanager to allow set_content() to set a " -"null string." -msgstr "" - -#: ../build/NEWS:10999 -msgid "" -":issue:`40744`: The :mod:`sqlite3` module uses SQLite API functions that " -"require SQLite v3.7.3 or higher. This patch removes support for older " -"SQLite versions, and explicitly requires SQLite 3.7.3 both at build, compile " -"and runtime. Patch by Sergey Fedoseev and Erlend E. Aasland." -msgstr "" - -#: ../build/NEWS:11004 -msgid "" -":issue:`40777`: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-" -"time to avoid errors on some compilers." -msgstr "" - -#: ../build/NEWS:11007 -msgid "" -":issue:`38488`: Update ensurepip to install pip 20.1.1 and setuptools 47.1.0." -msgstr "" - -#: ../build/NEWS:11009 -msgid "" -":issue:`40792`: The result of :func:`operator.index` now always has exact " -"type :class:`int`. Previously, the result could have been an instance of a " -"subclass of ``int``." -msgstr "" - -#: ../build/NEWS:11013 -msgid "" -":issue:`40767`: :mod:`webbrowser` now properly finds the default browser in " -"pure Wayland systems by checking the WAYLAND_DISPLAY environment variable. " -"Patch contributed by Jérémy Attali." -msgstr "" - -#: ../build/NEWS:11017 -msgid "" -":issue:`40791`: :func:`hashlib.compare_digest` uses OpenSSL's " -"``CRYPTO_memcmp()`` function when OpenSSL is available." -msgstr "" - -#: ../build/NEWS:11020 -msgid "" -":issue:`40795`: :mod:`ctypes` module: If ctypes fails to convert the result " -"of a callback or if a ctypes callback function raises an exception, sys." -"unraisablehook is now called with an exception set. Previously, the error " -"was logged into stderr by :c:func:`PyErr_Print`." -msgstr "" - -#: ../build/NEWS:11025 -msgid "" -":issue:`16995`: Add :func:`base64.b32hexencode` and :func:`base64." -"b32hexdecode` to support the Base32 Encoding with Extended Hex Alphabet." -msgstr "" - -#: ../build/NEWS:11028 -msgid "" -":issue:`30008`: Fix :mod:`ssl` code to be compatible with OpenSSL 1.1.x " -"builds that use ``no-deprecated`` and ``--api=1.1.0``." -msgstr "" - -#: ../build/NEWS:11031 -msgid ":issue:`30064`: Fix asyncio ``loop.sock_*`` race condition issue" -msgstr "" - -#: ../build/NEWS:11033 -msgid ":issue:`40759`: Deprecate the :mod:`symbol` module." -msgstr "" - -#: ../build/NEWS:11035 -msgid "" -":issue:`40756`: The second argument (extra) of ``LoggerAdapter.__init__`` " -"now defaults to None." -msgstr "" - -#: ../build/NEWS:11038 -msgid "" -":issue:`37129`: Add a new :data:`os.RWF_APPEND` flag for :func:`os.pwritev`." -msgstr "" - -#: ../build/NEWS:11040 -msgid "" -":issue:`40737`: Fix possible reference leak for :mod:`sqlite3` " -"initialization." -msgstr "" - -#: ../build/NEWS:11042 -msgid "" -":issue:`40726`: Handle cases where the ``end_lineno`` is ``None`` on :func:" -"`ast.increment_lineno`." -msgstr "" - -#: ../build/NEWS:11045 -msgid "" -":issue:`40698`: :mod:`distutils` upload creates SHA2-256 and Blake2b-256 " -"digests. MD5 digests is skipped if platform blocks MD5." -msgstr "" - -#: ../build/NEWS:11048 -msgid "" -":issue:`40695`: :mod:`hashlib` no longer falls back to builtin hash " -"implementations when OpenSSL provides a hash digest and the algorithm is " -"blocked by security policy." -msgstr "" - -#: ../build/NEWS:11052 -msgid "" -":issue:`9216`: func:`hashlib.new` passed ``usedforsecurity`` to OpenSSL EVP " -"constructor ``_hashlib.new()``. test_hashlib and test_smtplib handle strict " -"security policy better." -msgstr "" - -#: ../build/NEWS:11056 -msgid "" -":issue:`40614`: :func:`ast.parse` will not parse self documenting " -"expressions in f-strings when passed ``feature_version`` is less than ``(3, " -"8)``." -msgstr "" - -#: ../build/NEWS:11059 -msgid "" -":issue:`40626`: Add h5 file extension as MIME Type application/x-hdf5, as " -"per HDF Group recommendation for HDF5 formatted data files. Patch " -"contributed by Mark Schwab." -msgstr "" - -#: ../build/NEWS:11063 -msgid "" -":issue:`25920`: On macOS, when building Python for macOS 10.4 and older, " -"which wasn't the case for python.org macOS installer, :func:`socket." -"getaddrinfo` no longer uses an internal lock to prevent race conditions when " -"calling ``getaddrinfo()`` which is thread-safe since macOS 10.5. Python 3.9 " -"requires macOS 10.6 or newer. The internal lock caused random hang on fork " -"when another thread was calling :func:`socket.getaddrinfo`. The lock was " -"also used on FreeBSD older than 5.3, OpenBSD older than 201311 and NetBSD " -"older than 4." -msgstr "" - -#: ../build/NEWS:11072 -msgid "" -":issue:`40671`: Prepare ``_hashlib`` for :pep:`489` and use :c:func:" -"`PyModule_AddType`." -msgstr "" - -#: ../build/NEWS:11075 -msgid "" -":issue:`32309`: Added a new :term:`coroutine` :func:`asyncio.to_thread`. It " -"is mainly used for running IO-bound functions in a separate thread to avoid " -"blocking the event loop, and essentially works as a high-level version of :" -"meth:`~asyncio.loop.run_in_executor` that can directly take keyword " -"arguments." -msgstr "" - -#: ../build/NEWS:11081 -msgid "" -":issue:`36543`: Restored the deprecated :mod:`xml.etree.cElementTree` module." -msgstr "" - -#: ../build/NEWS:11083 -msgid "" -":issue:`40611`: :data:`~mmap.MAP_POPULATE` constant has now been added to " -"the list of exported :mod:`mmap` module flags." -msgstr "" - -#: ../build/NEWS:11086 -msgid "" -":issue:`39881`: PEP 554 for use in the test suite. (Patch By Joannah " -"Nanjekye)" -msgstr "" - -#: ../build/NEWS:11088 -msgid "" -":issue:`13097`: ``ctypes`` now raises an ``ArgumentError`` when a callback " -"is invoked with more than 1024 arguments." -msgstr "" - -#: ../build/NEWS:11091 -msgid "" -":issue:`39385`: A new test assertion context-manager, :func:`unittest." -"assertNoLogs` will ensure a given block of code emits no log messages using " -"the logging module. Contributed by Kit Yan Choi." -msgstr "" - -#: ../build/NEWS:11095 -msgid "" -":issue:`23082`: Updated the error message and docs of PurePath.relative_to() " -"to better reflect the function behaviour." -msgstr "" - -#: ../build/NEWS:11098 -msgid ":issue:`40318`: Use SQLite3 trace v2 API, if it is available." -msgstr "" - -#: ../build/NEWS:11100 -msgid "" -":issue:`40105`: ZipFile truncates files to avoid corruption when a shorter " -"comment is provided in append (\"a\") mode. Patch by Jan Mazur." -msgstr "" - -#: ../build/NEWS:11103 -msgid "" -":issue:`40084`: Fix ``Enum.__dir__``: dir(Enum.member) now includes " -"attributes as well as methods." -msgstr "" - -#: ../build/NEWS:11106 -msgid "" -":issue:`31122`: ssl.wrap_socket() now raises ssl.SSLEOFError rather than " -"OSError when peer closes connection during TLS negotiation" -msgstr "" - -#: ../build/NEWS:11109 -msgid "" -":issue:`39728`: fix default `_missing_` so a duplicate `ValueError` is not " -"set as the `__context__` of the original `ValueError`" -msgstr "" - -#: ../build/NEWS:11112 -msgid "" -":issue:`39244`: Fixed :class:`multiprocessing.context.get_all_start_methods` " -"to properly return the default method first on macOS." -msgstr "" - -#: ../build/NEWS:11115 -msgid "" -":issue:`39040`: Fix parsing of invalid mime headers parameters by collapsing " -"whitespace between encoded words in a bare-quote-string." -msgstr "" - -#: ../build/NEWS:11118 -msgid "" -":issue:`38731`: Add ``--quiet`` option to command-line interface of :mod:" -"`py_compile`. Patch by Gregory Schevchenko." -msgstr "" - -#: ../build/NEWS:11121 -msgid "" -":issue:`35714`: :exc:`struct.error` is now raised if there is a null " -"character in a :mod:`struct` format string." -msgstr "" - -#: ../build/NEWS:11124 -msgid "" -":issue:`38144`: Added the *root_dir* and *dir_fd* parameters in :func:`glob." -"glob`." -msgstr "" - -#: ../build/NEWS:11127 -msgid "" -":issue:`26543`: Fix :meth:`IMAP4.noop()` when debug mode is enabled (ex: " -"``imaplib.Debug = 3``)." -msgstr "" - -#: ../build/NEWS:11130 -msgid "" -":issue:`12178`: :func:`csv.writer` now correctly escapes *escapechar* when " -"input contains *escapechar*. Patch by Catalin Iacob, Berker Peksag, and " -"Itay Elbirt." -msgstr "" - -#: ../build/NEWS:11134 -msgid "" -":issue:`36290`: AST nodes are now raising :exc:`TypeError` on conflicting " -"keyword arguments. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:11137 -msgid ":issue:`33944`: Added site.py site-packages tracing in verbose mode." -msgstr "" - -#: ../build/NEWS:11139 -msgid "" -":issue:`35078`: Refactor formatweekday, formatmonthname methods in " -"LocaleHTMLCalendar and LocaleTextCalendar classes in calendar module to call " -"the base class methods.This enables customizable CSS classes for " -"LocaleHTMLCalendar. Patch by Srinivas Reddy Thatiparthy" -msgstr "" - -#: ../build/NEWS:11144 -msgid "" -":issue:`29620`: :func:`~unittest.TestCase.assertWarns` no longer raises a " -"``RuntimeException`` when accessing a module's ``__warningregistry__`` " -"causes importation of a new module, or when a new module is imported in " -"another thread. Patch by Kernc." -msgstr "" - -#: ../build/NEWS:11149 -msgid "" -":issue:`31844`: Remove ``ParserBase.error()`` method from the private and " -"undocumented ``_markupbase`` module. :class:`html.parser.HTMLParser` is the " -"only subclass of ``ParserBase`` and its ``error()`` implementation was " -"deprecated in Python 3.4 and removed in Python 3.5." -msgstr "" - -#: ../build/NEWS:11154 -msgid "" -":issue:`34226`: Fix `cgi.parse_multipart` without content_length. Patch by " -"Roger Duran" -msgstr "" - -#: ../build/NEWS:11157 -msgid "" -":issue:`33660`: Fix pathlib.PosixPath to resolve a relative path located on " -"the root directory properly." -msgstr "" - -#: ../build/NEWS:11160 -msgid "" -":issue:`28557`: Improve the error message for a misbehaving ``rawio." -"readinto``" -msgstr "" - -#: ../build/NEWS:11162 -msgid "" -":issue:`26680`: The d.is_integer() method is added to the Decimal type, for " -"compatibility with other number types." -msgstr "" - -#: ../build/NEWS:11165 -msgid "" -":issue:`26680`: The x.is_integer() method is incorporated into the abstract " -"types of the numeric tower, Real, Rational and Integral, with appropriate " -"default implementations." -msgstr "" - -#: ../build/NEWS:11172 -msgid "" -":issue:`41428`: Add documentation for :pep:`604` (Allow writing union types " -"as ``X | Y``)." -msgstr "" - -#: ../build/NEWS:11175 -msgid "" -":issue:`41774`: In Programming FAQ \"Sequences (Tuples/Lists)\" section, add " -"\"How do you remove multiple items from a list\"." -msgstr "" - -#: ../build/NEWS:11178 -msgid "" -":issue:`35293`: Fix RemovedInSphinx40Warning when building the " -"documentation. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:11181 -msgid "" -":issue:`37149`: Change Shipman tkinter doc link from archive.org to TkDocs. " -"(The doc has been removed from the NMT server.) The new link responds much " -"faster and includes a short explanatory note." -msgstr "" - -#: ../build/NEWS:11185 -msgid "" -":issue:`41726`: Update the refcounts info of ``PyType_FromModuleAndSpec``." -msgstr "" - -#: ../build/NEWS:11187 -msgid ":issue:`41624`: Fix the signature of :class:`typing.Coroutine`." -msgstr "" - -#: ../build/NEWS:11189 -msgid "" -":issue:`40204`: Enable Sphinx 3.2 ``c_allow_pre_v3`` option and disable " -"``c_warn_on_allowed_pre_v3`` option to make the documentation compatible " -"with Sphinx 2 and Sphinx 3." -msgstr "" - -#: ../build/NEWS:11193 -msgid ":issue:`41045`: Add documentation for debug feature of f-strings." -msgstr "" - -#: ../build/NEWS:11195 -msgid "" -":issue:`41314`: Changed the release when ``from __future__ import " -"annotations`` becomes the default from ``4.0`` to ``3.10`` (following a " -"change in PEP 563)." -msgstr "" - -#: ../build/NEWS:11199 -msgid "" -":issue:`40979`: Refactored typing.rst, arranging more than 70 classes, " -"functions, and decorators into new sub-sections." -msgstr "" - -#: ../build/NEWS:11202 -msgid "" -":issue:`40552`: Fix in tutorial section 4.2. Code snippet is now correct." -msgstr "" - -#: ../build/NEWS:11204 -msgid "" -":issue:`39883`: Make code, examples, and recipes in the Python documentation " -"be licensed under the more permissive BSD0 license in addition to the " -"existing Python 2.0 license." -msgstr "" - -#: ../build/NEWS:11208 -msgid "" -":issue:`37703`: Updated Documentation to comprehensively elaborate on the " -"behaviour of gather.cancel()" -msgstr "" - -#: ../build/NEWS:11214 -msgid "" -":issue:`41939`: Fix test_site.test_license_exists_at_url(): call ``urllib." -"request.urlcleanup()`` to reset the global ``urllib.request._opener``. Patch " -"by Victor Stinner." -msgstr "" - -#: ../build/NEWS:11218 -msgid ":issue:`41731`: Make test_cmd_line_script pass with option '-vv'." -msgstr "" - -#: ../build/NEWS:11220 -msgid ":issue:`41602`: Add tests for SIGINT handling in the runpy module." -msgstr "" - -#: ../build/NEWS:11222 -msgid "" -":issue:`41521`: :mod:`test.support`: Rename ``blacklist`` parameter of :func:" -"`~test.support.check__all__` to ``not_exported``." -msgstr "" - -#: ../build/NEWS:11225 -msgid ":issue:`41477`: Make ctypes optional in test_genericalias." -msgstr "" - -#: ../build/NEWS:11227 -msgid "" -":issue:`41085`: Fix integer overflow in the :meth:`array.array.index` method " -"on 64-bit Windows for index larger than ``2**31``." -msgstr "" - -#: ../build/NEWS:11230 -msgid "" -":issue:`41069`: :data:`test.support.TESTFN` and the current directory for " -"tests when run via ``test.regrtest`` contain now non-ascii characters if " -"possible." -msgstr "" - -#: ../build/NEWS:11234 -msgid "" -":issue:`38377`: On Linux, skip tests using multiprocessing if the current " -"user cannot create a file in ``/dev/shm/`` directory. Add the :func:`~test." -"support.skip_if_broken_multiprocessing_synchronize` function to the :mod:" -"`test.support` module." -msgstr "" - -#: ../build/NEWS:11239 -msgid "" -":issue:`41009`: Fix use of ``support.require_{linux|mac|freebsd}_version()`` " -"decorators as class decorator." -msgstr "" - -#: ../build/NEWS:11242 -msgid "" -":issue:`41003`: Fix ``test_copyreg`` when ``numpy`` is installed: ``test." -"pickletester`` now saves/restores warnings filters when importing ``numpy``, " -"to ignore filters installed by ``numpy``." -msgstr "" - -#: ../build/NEWS:11246 -msgid "" -":issue:`40964`: Disable remote :mod:`imaplib` tests, host cyrus.andrew.cmu." -"edu is blocking incoming connections." -msgstr "" - -#: ../build/NEWS:11249 -msgid "" -":issue:`40927`: Fix test_binhex when run twice: it now uses " -"import_fresh_module() to ensure that it raises DeprecationWarning each time." -msgstr "" - -#: ../build/NEWS:11253 -msgid "" -":issue:`17258`: Skip some :mod:`multiprocessing` tests when MD5 hash digest " -"is blocked." -msgstr "" - -#: ../build/NEWS:11256 -msgid ":issue:`31904`: Increase LOOPBACK_TIMEOUT to 10 for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:11258 -msgid "" -":issue:`38169`: Increase code coverage for SharedMemory and ShareableList" -msgstr "" - -#: ../build/NEWS:11260 -msgid "" -":issue:`34401`: Make test_gdb properly run on HP-UX. Patch by Michael Osipov." -msgstr "" - -#: ../build/NEWS:11265 -msgid "" -":issue:`38249`: Update :c:macro:`Py_UNREACHABLE` to use " -"__builtin_unreachable() if only the compiler is able to use it. Patch by " -"Dong-hee Na." -msgstr "" - -#: ../build/NEWS:11268 -msgid "" -":issue:`41617`: Fix ``pycore_bitutils.h`` header file to support old clang " -"versions: ``__builtin_bswap16()`` is not available in LLVM clang 3.0." -msgstr "" - -#: ../build/NEWS:11271 -msgid ":issue:`40204`: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``." -msgstr "" - -#: ../build/NEWS:11273 -msgid "" -":issue:`36020`: The C99 functions :c:func:`snprintf` and :c:func:`vsnprintf` " -"are now required to build Python." -msgstr "" - -#: ../build/NEWS:11276 -msgid "" -":issue:`40684`: ``make install`` now uses the ``PLATLIBDIR`` variable for " -"the destination ``lib-dynload/`` directory when ``./configure --with-" -"platlibdir`` is used." -msgstr "" - -#: ../build/NEWS:11280 -msgid "" -":issue:`40683`: Fixed an issue where the :mod:`zoneinfo` module and its " -"tests were not included when Python is installed with ``make``." -msgstr "" - -#: ../build/NEWS:11286 -msgid "" -":issue:`41744`: Fixes automatic import of props file when using the Nuget " -"package." -msgstr "" - -#: ../build/NEWS:11289 -msgid "" -":issue:`41627`: The user site directory for 32-bit now includes a ``-32`` " -"suffix to distinguish it from the 64-bit interpreter's directory." -msgstr "" - -#: ../build/NEWS:11292 -msgid "" -":issue:`41526`: Fixed layout of final page of the installer by removing the " -"special thanks to Mark Hammond (with his permission)." -msgstr "" - -#: ../build/NEWS:11295 -msgid ":issue:`41492`: Fixes the description that appears in UAC prompts." -msgstr "" - -#: ../build/NEWS:11297 -msgid "" -":issue:`40948`: Improve post-install message to direct people to the \"py\" " -"command." -msgstr "" - -#: ../build/NEWS:11300 -msgid "" -":issue:`41412`: The installer will now fail to install on Windows 7 and " -"Windows 8. Further, the UCRT dependency is now always downloaded on demand." -msgstr "" - -#: ../build/NEWS:11303 -msgid ":issue:`40741`: Update Windows release to include SQLite 3.32.3." -msgstr "" - -#: ../build/NEWS:11305 -msgid "" -":issue:`41142`: :mod:`msilib` now supports creating CAB files with non-ASCII " -"file path and adding files with non-ASCII file path to them." -msgstr "" - -#: ../build/NEWS:11308 -msgid "" -":issue:`41074`: Fixed support of non-ASCII names in functions :func:`msilib." -"OpenDatabase` and :func:`msilib.init_database` and non-ASCII SQL in method :" -"meth:`msilib.Database.OpenView`." -msgstr "" - -#: ../build/NEWS:11312 -msgid "" -":issue:`41039`: Stable ABI redirection DLL (python3.dll) now uses ``#pragma " -"comment(linker)`` for re-exporting." -msgstr "" - -#: ../build/NEWS:11315 -msgid ":issue:`40164`: Updates Windows OpenSSL to 1.1.1g" -msgstr "" - -#: ../build/NEWS:11317 -msgid "" -":issue:`39631`: Changes the registered MIME type for ``.py`` files on " -"Windows to ``text/x-python`` instead of ``text/plain``." -msgstr "" - -#: ../build/NEWS:11320 -msgid "" -":issue:`40677`: Manually define IO_REPARSE_TAG_APPEXECLINK in case some old " -"Windows SDK doesn't have it." -msgstr "" - -#: ../build/NEWS:11323 -msgid "" -":issue:`37556`: Extend py.exe help to mention overrides via venv, shebang, " -"environmental variables & ini files." -msgstr "" - -#: ../build/NEWS:11329 -msgid ":issue:`41557`: Update macOS installer to use SQLite 3.33.0." -msgstr "" - -#: ../build/NEWS:11331 -msgid "" -":issue:`39580`: Avoid opening Finder window if running installer from the " -"command line. Patch contributed by Rick Heil." -msgstr "" - -#: ../build/NEWS:11334 -msgid "" -":issue:`41100`: Fix configure error when building on macOS 11. Note that the " -"current Python release was released shortly after the first developer " -"preview of macOS 11 (Big Sur); there are other known issues with building " -"and running on the developer preview. Big Sur is expected to be fully " -"supported in a future bugfix release of Python 3.8.x and with 3.9.0." -msgstr "" - -#: ../build/NEWS:11340 -msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.3." -msgstr "" - -#: ../build/NEWS:11342 -msgid "" -":issue:`41005`: fixed an XDG settings issue not allowing macos to open " -"browser in webbrowser.py" -msgstr "" - -#: ../build/NEWS:11345 -msgid ":issue:`40741`: Update macOS installer to use SQLite 3.32.2." -msgstr "" - -#: ../build/NEWS:11350 -msgid ":issue:`41775`: Use 'IDLE Shell' as shell title" -msgstr "" - -#: ../build/NEWS:11352 -msgid ":issue:`35764`: Rewrite the Calltips doc section." -msgstr "" - -#: ../build/NEWS:11354 -msgid "" -":issue:`40181`: In calltips, stop reminding that '/' marks the end of " -"positional-only arguments." -msgstr "" - -#: ../build/NEWS:11357 -msgid "" -":issue:`41468`: Improve IDLE run crash error message (which users should " -"never see)." -msgstr "" - -#: ../build/NEWS:11360 -msgid "" -":issue:`41373`: Save files loaded with no line ending, as when blank, or " -"different line endings, by setting its line ending to the system default. " -"Fix regression in 3.8.4 and 3.9.0b4." -msgstr "" - -#: ../build/NEWS:11364 -msgid "" -":issue:`41300`: Save files with non-ascii chars. Fix regression released in " -"3.9.0b4 and 3.8.4." -msgstr "" - -#: ../build/NEWS:11367 -msgid "" -":issue:`37765`: Add keywords to module name completion list. Rewrite " -"Completions section of IDLE doc." -msgstr "" - -#: ../build/NEWS:11370 -msgid "" -":issue:`41152`: The encoding of ``stdin``, ``stdout`` and ``stderr`` in IDLE " -"is now always UTF-8." -msgstr "" - -#: ../build/NEWS:11373 -msgid ":issue:`41144`: Make Open Module open a special module such as os.path." -msgstr "" - -#: ../build/NEWS:11375 -msgid "" -":issue:`39885`: Make context menu Cut and Copy work again when right-" -"clicking within a selection." -msgstr "" - -#: ../build/NEWS:11378 -msgid ":issue:`40723`: Make test_idle pass when run after import." -msgstr "" - -#: ../build/NEWS:11383 -msgid "" -":issue:`41936`: Removed undocumented macros ``Py_ALLOW_RECURSION`` and " -"``Py_END_ALLOW_RECURSION`` and the ``recursion_critical`` field of the :c:" -"type:`PyInterpreterState` structure." -msgstr "" - -#: ../build/NEWS:11387 -msgid "" -":issue:`41692`: The ``PyUnicode_InternImmortal()`` function is now " -"deprecated and will be removed in Python 3.12: use :c:func:" -"`PyUnicode_InternInPlace` instead. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:11391 -msgid "" -":issue:`41842`: Add :c:func:`PyCodec_Unregister` function to unregister a " -"codec search function." -msgstr "" - -#: ../build/NEWS:11394 -msgid "" -":issue:`41834`: Remove the ``_Py_CheckRecursionLimit`` variable: it has been " -"replaced by ``ceval.recursion_limit`` of the :c:type:`PyInterpreterState` " -"structure. Patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:11398 -msgid "" -":issue:`41689`: Types created with :c:func:`PyType_FromSpec` now make any " -"signature in their ``tp_doc`` slot accessible from ``__text_signature__``." -msgstr "" - -#: ../build/NEWS:11401 -msgid "" -":issue:`41524`: Fix bug in PyOS_mystrnicmp and PyOS_mystricmp that " -"incremented pointers beyond the end of a string." -msgstr "" - -#: ../build/NEWS:11404 -msgid "" -":issue:`41324`: Add a minimal decimal capsule API. The API supports fast " -"conversions between Decimals up to 38 digits and their triple representation " -"as a C struct." -msgstr "" - -#: ../build/NEWS:11408 -msgid "" -":issue:`30155`: Add :c:func:`PyDateTime_DATE_GET_TZINFO` and :c:func:" -"`PyDateTime_TIME_GET_TZINFO` macros for accessing the ``tzinfo`` attributes " -"of :class:`datetime.datetime` and :class:`datetime.time` objects." -msgstr "" - -#: ../build/NEWS:11413 -msgid "" -":issue:`40170`: Revert :c:func:`PyType_HasFeature` change: it reads again " -"directly the :c:member:`PyTypeObject.tp_flags` member when the limited C API " -"is not used, rather than always calling :c:func:`PyType_GetFlags` which " -"hides implementation details." -msgstr "" - -#: ../build/NEWS:11418 -msgid ":issue:`41123`: Remove ``PyUnicode_AsUnicodeCopy``." -msgstr "" - -#: ../build/NEWS:11420 -msgid ":issue:`41123`: Removed ``PyLong_FromUnicode()``." -msgstr "" - -#: ../build/NEWS:11422 -msgid ":issue:`41123`: Removed ``PyUnicode_GetMax()``." -msgstr "" - -#: ../build/NEWS:11424 -msgid "" -":issue:`41123`: Removed ``Py_UNICODE_str*`` functions manipulating " -"``Py_UNICODE*`` strings." -msgstr "" - -#: ../build/NEWS:11427 -msgid "" -":issue:`41103`: ``PyObject_AsCharBuffer()``, ``PyObject_AsReadBuffer()``, " -"``PyObject_CheckReadBuffer()``, and ``PyObject_AsWriteBuffer()`` are " -"removed. Please migrate to new buffer protocol; :c:func:`PyObject_GetBuffer` " -"and :c:func:`PyBuffer_Release`." -msgstr "" - -#: ../build/NEWS:11432 -msgid "" -":issue:`36346`: Raises DeprecationWarning for ``PyUnicode_FromUnicode(NULL, " -"size)`` and ``PyUnicode_FromStringAndSize(NULL, size)`` with ``size > 0``." -msgstr "" - -#: ../build/NEWS:11435 -msgid "" -":issue:`36346`: Mark ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, " -"``PyUnicode_WSTR_LENGTH``, ``PyUnicode_FromUnicode``, " -"``PyUnicode_AsUnicode``, and ``PyUnicode_AsUnicodeAndSize`` as deprecated in " -"C. Remove ``Py_UNICODE_MATCH`` which was deprecated and broken since Python " -"3.3." -msgstr "" - -#: ../build/NEWS:11441 -msgid "" -":issue:`40989`: The :c:func:`PyObject_INIT` and :c:func:`PyObject_INIT_VAR` " -"macros become aliases to, respectively, :c:func:`PyObject_Init` and :c:func:" -"`PyObject_InitVar` functions." -msgstr "" - -#: ../build/NEWS:11445 -msgid "" -":issue:`36020`: On Windows, ``#include \"pyerrors.h\"`` no longer defines " -"``snprintf`` and ``vsnprintf`` macros." -msgstr "" - -#: ../build/NEWS:11448 -msgid "" -":issue:`40943`: The ``PY_SSIZE_T_CLEAN`` macro must now be defined to use :c:" -"func:`PyArg_ParseTuple` and :c:func:`Py_BuildValue` formats which use ``#``: " -"``es#``, ``et#``, ``s#``, ``u#``, ``y#``, ``z#``, ``U#`` and ``Z#``. See :" -"ref:`Parsing arguments and building values ` and the :pep:`353`." -msgstr "" - -#: ../build/NEWS:11454 -msgid "" -":issue:`40910`: Export explicitly the :c:func:`Py_GetArgcArgv` function to " -"the C API and document the function. Previously, it was exported implicitly " -"which no longer works since Python is built with ``-fvisibility=hidden``." -msgstr "" - -#: ../build/NEWS:11458 -msgid ":issue:`40724`: Allow defining buffer slots in type specs." -msgstr "" - -#: ../build/NEWS:11460 -msgid "" -":issue:`40679`: Fix a ``_PyEval_EvalCode()`` crash if *qualname* argument is " -"NULL." -msgstr "" - -#: ../build/NEWS:11463 -msgid "" -":issue:`40839`: Calling :c:func:`PyDict_GetItem` without :term:`GIL` held " -"had been allowed for historical reason. It is no longer allowed." -msgstr "" - -#: ../build/NEWS:11466 -msgid "" -":issue:`40826`: :c:func:`PyOS_InterruptOccurred` now fails with a fatal " -"error if it is called with the GIL released." -msgstr "" - -#: ../build/NEWS:11469 -msgid "" -":issue:`40792`: The result of :c:func:`PyNumber_Index` now always has exact " -"type :class:`int`. Previously, the result could have been an instance of a " -"subclass of ``int``." -msgstr "" - -#: ../build/NEWS:11473 -msgid "" -":issue:`39573`: Convert :c:func:`Py_REFCNT` and :c:func:`Py_SIZE` macros to " -"static inline functions. They cannot be used as l-value anymore: use :c:func:" -"`Py_SET_REFCNT` and :c:func:`Py_SET_SIZE` to set an object reference count " -"and size. This change is backward incompatible on purpose, to prepare the C " -"API for an opaque :c:type:`PyObject` structure." -msgstr "" - -#: ../build/NEWS:11479 -msgid "" -":issue:`40703`: The PyType_FromSpec*() functions no longer overwrite the " -"type's \"__module__\" attribute if it is set via \"Py_tp_members\" or " -"\"Py_tp_getset\"." -msgstr "" - -#: ../build/NEWS:11482 -msgid "" -":issue:`39583`: Remove superfluous \"extern C\" declarations from ``Include/" -"cpython/*.h``." -msgstr "" - -#: ../build/NEWS:11487 -msgid "Python 3.9.0 beta 1" -msgstr "" - -#: ../build/NEWS:11489 -msgid "*Release date: 2020-05-19*" -msgstr "" - -#: ../build/NEWS:11494 -msgid "" -":issue:`40501`: :mod:`uuid` no longer uses :mod:`ctypes` to load :file:" -"`libuuid` or :file:`rpcrt4.dll` at runtime." -msgstr "" - -#: ../build/NEWS:11500 -msgid "" -":issue:`40663`: Correctly generate annotations where parentheses are omitted " -"but required (e.g: ``Type[(str, int, *other))]``." -msgstr "" - -#: ../build/NEWS:11503 -msgid "" -":issue:`40596`: Fixed :meth:`str.isidentifier` for non-canonicalized strings " -"containing non-BMP characters on Windows." -msgstr "" - -#: ../build/NEWS:11506 -msgid "" -":issue:`40593`: Improved syntax errors for invalid characters in source code." -msgstr "" - -#: ../build/NEWS:11508 -msgid "" -":issue:`40585`: Fixed a bug when using :func:`codeop.compile_command` that " -"was causing exceptions to be swallowed with the new parser. Patch by Pablo " -"Galindo" -msgstr "" - -#: ../build/NEWS:11512 -msgid ":issue:`40566`: Apply :pep:`573` to :mod:`abc`." -msgstr "" - -#: ../build/NEWS:11514 -msgid "" -":issue:`40502`: Initialize ``n->n_col_offset``. (Patch by Joannah Nanjekye)" -msgstr "" - -#: ../build/NEWS:11516 -msgid "" -":issue:`40527`: Fix command line argument parsing: no longer write errors " -"multiple times into stderr." -msgstr "" - -#: ../build/NEWS:11519 -msgid "" -":issue:`1635741`: Port :mod:`errno` to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:11521 -msgid "" -":issue:`40523`: Add pass-throughs for :func:`hash` and :func:`reversed` to :" -"class:`weakref.proxy` objects. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:11524 -msgid "" -":issue:`1635741`: Port :mod:`syslog` to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:11526 -msgid "" -":issue:`40246`: Reporting a specialised error message for invalid string " -"prefixes, which was introduced in :issue:`40246`, is being reverted due to " -"backwards compatibility concerns for strings that immediately follow a " -"reserved keyword without whitespace between them. Constructs like " -"`bg=\"#d00\" if clear else\"#fca\"` were failing to parse, which is not an " -"acceptable breakage on such short notice." -msgstr "" - -#: ../build/NEWS:11533 -msgid "" -":issue:`40417`: Fix imp module deprecation warning when " -"PyImport_ReloadModule is called. Patch by Robert Rouhani." -msgstr "" - -#: ../build/NEWS:11536 -msgid "" -":issue:`40408`: Fixed support of nested type variables in GenericAlias (e.g. " -"``list[list[T]]``)." -msgstr "" - -#: ../build/NEWS:11539 -msgid "" -":issue:`1635741`: Port _stat module to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:11541 -msgid "" -":issue:`29587`: Enable implicit exception chaining when calling :meth:" -"`generator.throw`." -msgstr "" - -#: ../build/NEWS:11544 -msgid "" -":issue:`40328`: Add tools for generating mappings headers for CJKCodecs." -msgstr "" - -#: ../build/NEWS:11546 -msgid "" -":issue:`40228`: Setting frame.f_lineno is now robust w.r.t. changes in the " -"source-to-bytecode compiler" -msgstr "" - -#: ../build/NEWS:11549 -msgid "" -":issue:`38880`: Added the ability to list interpreters associated with " -"channel ends in the internal subinterpreters module." -msgstr "" - -#: ../build/NEWS:11552 -msgid "" -":issue:`37986`: Improve performance of :c:func:`PyLong_FromDouble` for " -"values that fit into :c:expr:`long`." -msgstr "" - -#: ../build/NEWS:11558 -msgid "" -":issue:`40662`: Fixed :func:`ast.get_source_segment` for ast nodes that have " -"incomplete location information. Patch by Irit Katriel." -msgstr "" - -#: ../build/NEWS:11561 -msgid ":issue:`40665`: Convert :mod:`bisect` to use Argument Clinic." -msgstr "" - -#: ../build/NEWS:11563 -msgid "" -":issue:`40536`: Added the :func:`~zoneinfo.available_timezones` function to " -"the :mod:`zoneinfo` module. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:11566 -msgid "" -":issue:`40645`: The :class:`hmac.HMAC` exposes internal implementation " -"details. The attributes ``digest_cons``, ``inner``, and ``outer`` are " -"deprecated and will be removed in the future." -msgstr "" - -#: ../build/NEWS:11570 -msgid "" -":issue:`40645`: The internal module ``_hashlib`` wraps and exposes OpenSSL's " -"HMAC API. The new code will be used in Python 3.10 after the internal " -"implementation details of the pure Python HMAC module are no longer part of " -"the public API." -msgstr "" - -#: ../build/NEWS:11575 -msgid "" -":issue:`40637`: Builtin hash modules can now be disabled or selectively " -"enabled with ``configure --with-builtin-hashlib-hashes=sha3,blake1`` or ``--" -"without-builtin-hashlib-hashes``." -msgstr "" - -#: ../build/NEWS:11579 -msgid "" -":issue:`37630`: The :mod:`hashlib` module can now use SHA3 hashes and SHAKE " -"XOF from OpenSSL when available." -msgstr "" - -#: ../build/NEWS:11582 -msgid "" -":issue:`40479`: The :mod:`hashlib` now compiles with OpenSSL 3.0.0-alpha2." -msgstr "" - -#: ../build/NEWS:11584 -msgid ":issue:`40257`: Revert changes to :func:`inspect.getdoc`." -msgstr "" - -#: ../build/NEWS:11586 -msgid "" -":issue:`40607`: When cancelling a task due to timeout, :meth:`asyncio." -"wait_for` will now propagate the exception if an error happens during " -"cancellation. Patch by Roman Skurikhin." -msgstr "" - -#: ../build/NEWS:11590 -msgid "" -":issue:`40612`: Fix edge cases in SyntaxError formatting. If the offset is " -"<= 0, no caret is printed. If the offset is > line length, the caret is " -"printed pointing just after the last character." -msgstr "" - -#: ../build/NEWS:11594 -msgid "" -":issue:`40597`: If text content lines are longer than policy." -"max_line_length, always use a content-encoding to make sure they are wrapped." -msgstr "" - -#: ../build/NEWS:11597 -msgid "" -":issue:`40571`: Added functools.cache() as a simpler, more discoverable way " -"to access the unbounded cache variant of lru_cache(maxsize=None)." -msgstr "" - -#: ../build/NEWS:11600 -msgid "" -":issue:`40503`: :pep:`615`, the :mod:`zoneinfo` module. Adds support for the " -"IANA time zone database." -msgstr "" - -#: ../build/NEWS:11603 -msgid "" -":issue:`40397`: Removed attributes ``__args__`` and ``__parameters__`` from " -"special generic aliases like ``typing.List`` (not subscripted)." -msgstr "" - -#: ../build/NEWS:11606 -msgid "" -":issue:`40549`: Convert posixmodule.c (\"posix\" or \"nt\" module) to the " -"multiphase initialization (PEP 489)." -msgstr "" - -#: ../build/NEWS:11609 -msgid "" -":issue:`31033`: Add a ``msg`` argument to :meth:`Future.cancel` and :meth:" -"`Task.cancel`." -msgstr "" - -#: ../build/NEWS:11612 -msgid "" -":issue:`40541`: Added an optional *counts* parameter to random.sample()." -msgstr "" - -#: ../build/NEWS:11614 -msgid "" -":issue:`40515`: The :mod:`ssl` and :mod:`hashlib` modules now actively check " -"that OpenSSL is build with thread support. Python 3.7.0 made thread support " -"mandatory and no longer works safely with a no-thread builds." -msgstr "" - -#: ../build/NEWS:11618 -msgid "" -":issue:`31033`: When a :class:`asyncio.Task` is cancelled, the exception " -"traceback now chains all the way back to where the task was first " -"interrupted." -msgstr "" - -#: ../build/NEWS:11622 -msgid "" -":issue:`40504`: :func:`functools.lru_cache` objects can now be the targets " -"of weakrefs." -msgstr "" - -#: ../build/NEWS:11625 -msgid "" -":issue:`40559`: Fix possible memory leak in the C implementation of :class:" -"`asyncio.Task`." -msgstr "" - -#: ../build/NEWS:11628 -msgid "" -":issue:`40480`: ``fnmatch.fnmatch()`` could take exponential time in the " -"presence of multiple ``*`` pattern characters. This was repaired by " -"generating more elaborate regular expressions to avoid futile backtracking." -msgstr "" - -#: ../build/NEWS:11633 -msgid "" -":issue:`40495`: :mod:`compileall` is now able to use hardlinks to prevent " -"duplicates in a case when ``.pyc`` files for different optimization levels " -"have the same content." -msgstr "" - -#: ../build/NEWS:11637 -msgid "" -":issue:`40457`: The ssl module now support OpenSSL builds without TLS 1.0 " -"and 1.1 methods." -msgstr "" - -#: ../build/NEWS:11640 -msgid "" -":issue:`40355`: Improve error reporting in :func:`ast.literal_eval` in the " -"presence of malformed :class:`ast.Dict` nodes instead of silently ignoring " -"any non-conforming elements. Patch by Curtis Bucher." -msgstr "" - -#: ../build/NEWS:11644 -msgid "" -":issue:`40465`: Deprecated the optional *random* argument to *random." -"shuffle()*." -msgstr "" - -#: ../build/NEWS:11647 -msgid "" -":issue:`40459`: :func:`platform.win32_ver` now produces correct *ptype* " -"strings instead of empty strings." -msgstr "" - -#: ../build/NEWS:11650 -msgid "" -":issue:`39435`: The first argument of :func:`pickle.loads` is now positional-" -"only." -msgstr "" - -#: ../build/NEWS:11653 -msgid "" -":issue:`39305`: Update :mod:`nntplib` to merge :class:`nntplib.NNTP` and :" -"class:`nntplib._NNTPBase`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:11656 -msgid "" -":issue:`32494`: Update :mod:`dbm.gnu` to use gdbm_count if possible when " -"calling :func:`len`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:11659 -msgid "" -":issue:`40453`: Add ``isolated=True`` keyword-only parameter to " -"``_xxsubinterpreters.create()``. An isolated subinterpreter cannot spawn " -"threads, spawn a child process or call ``os.fork()``." -msgstr "" - -#: ../build/NEWS:11663 -msgid "" -":issue:`40286`: Remove ``_random.Random.randbytes()``: the C implementation " -"of ``randbytes()``. Implement the method in Python to ease subclassing: " -"``randbytes()`` now directly reuses ``getrandbits()``." -msgstr "" - -#: ../build/NEWS:11667 -msgid "" -":issue:`40394`: Added default arguments to :meth:`difflib.SequenceMatcher." -"find_longest_match()`." -msgstr "" - -#: ../build/NEWS:11670 -msgid "" -":issue:`39995`: Fix a race condition in concurrent.futures._ThreadWakeup: " -"access to _ThreadWakeup is now protected with the shutdown lock." -msgstr "" - -#: ../build/NEWS:11673 -msgid "" -":issue:`30966`: ``Process.shutdown(wait=True)`` of :mod:`concurrent.futures` " -"now closes explicitly the result queue." -msgstr "" - -#: ../build/NEWS:11676 -msgid "" -":issue:`30966`: Add a new :meth:`~multiprocessing.SimpleQueue.close` method " -"to the :class:`~multiprocessing.SimpleQueue` class to explicitly close the " -"queue." -msgstr "" - -#: ../build/NEWS:11680 -msgid "" -":issue:`39966`: Revert :issue:`25597`. :class:`unittest.mock.MagicMock` with " -"wraps' set uses default return values for magic methods." -msgstr "" - -#: ../build/NEWS:11683 -msgid "" -":issue:`39791`: Added ``files()`` function to importlib.resources with " -"support for subdirectories in package data, matching backport in " -"importlib_resources 1.5." -msgstr "" - -#: ../build/NEWS:11687 -msgid "" -":issue:`40375`: :meth:`imaplib.IMAP4.unselect` is added. Patch by Dong-hee " -"Na." -msgstr "" - -#: ../build/NEWS:11689 -msgid "" -":issue:`40389`: ``repr()`` now returns ``typing.Optional[T]`` when called " -"for ``typing.Union`` of two types, one of which is ``NoneType``." -msgstr "" - -#: ../build/NEWS:11692 -msgid "" -":issue:`40291`: Add support for CAN_J1939 sockets (available on Linux 5.4+)" -msgstr "" - -#: ../build/NEWS:11694 -msgid ":issue:`40273`: :class:`types.MappingProxyType` is now reversible." -msgstr "" - -#: ../build/NEWS:11696 -msgid "" -":issue:`39075`: The repr for :class:`types.SimpleNamespace` is now insertion " -"ordered rather than alphabetical." -msgstr "" - -#: ../build/NEWS:11699 -msgid "" -":issue:`40192`: On AIX, :func:`~time.thread_time` is now implemented with " -"``thread_cputime()`` which has nanosecond resolution, rather than " -"``clock_gettime(CLOCK_THREAD_CPUTIME_ID)`` which has a resolution of 10 " -"milliseconds. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:11704 -msgid "" -":issue:`40025`: Raise TypeError when _generate_next_value_ is defined after " -"members. Patch by Ethan Onstott." -msgstr "" - -#: ../build/NEWS:11707 -msgid "" -":issue:`39058`: In the argparse module, the repr for Namespace() and other " -"argument holders now displayed in the order attributes were added. Formerly, " -"it displayed in alphabetical order even though argument order is preserved " -"the user visible parts of the module." -msgstr "" - -#: ../build/NEWS:11712 -msgid "" -":issue:`24416`: The ``isocalendar()`` methods of :class:`datetime.date` and :" -"class:`datetime.datetime` now return a :term:`named tuple` instead of a :" -"class:`tuple`." -msgstr "" - -#: ../build/NEWS:11719 -msgid "" -":issue:`34790`: Add version of removal for explicit passing of coros to " -"`asyncio.wait()`'s documentation" -msgstr "" - -#: ../build/NEWS:11722 -msgid ":issue:`40561`: Provide docstrings for webbrowser open functions." -msgstr "" - -#: ../build/NEWS:11724 -msgid "" -":issue:`40499`: Mention that :func:`asyncio.wait` requires a non-empty set " -"of awaitables." -msgstr "" - -#: ../build/NEWS:11727 -msgid "" -":issue:`39705`: Tutorial example for sorted() in the Loop Techniques section " -"is given a better explanation. Also a new example is included to explain " -"sorted()'s basic behavior." -msgstr "" - -#: ../build/NEWS:11731 -msgid "" -":issue:`39435`: Fix an incorrect signature for :func:`pickle.loads` in the " -"docs" -msgstr "" - -#: ../build/NEWS:11736 -msgid "" -":issue:`40055`: distutils.tests now saves/restores warnings filters to leave " -"them unchanged. Importing tests imports docutils which imports pkg_resources " -"which adds a warnings filter." -msgstr "" - -#: ../build/NEWS:11740 -msgid "" -":issue:`40436`: test_gdb and test.pythoninfo now check gdb command exit code." -msgstr "" - -#: ../build/NEWS:11745 -msgid "" -":issue:`40653`: Move _dirnameW out of HAVE_SYMLINK to fix a potential " -"compiling issue." -msgstr "" - -#: ../build/NEWS:11748 -msgid "" -":issue:`40514`: Add ``--with-experimental-isolated-subinterpreters`` build " -"option to ``configure``: better isolate subinterpreters, experimental build " -"mode." -msgstr "" - -#: ../build/NEWS:11755 -msgid ":issue:`40650`: Include winsock2.h in pytime.c for timeval." -msgstr "" - -#: ../build/NEWS:11757 -msgid "" -":issue:`40458`: Increase reserved stack space to prevent overflow crash on " -"Windows." -msgstr "" - -#: ../build/NEWS:11760 -msgid "" -":issue:`39148`: Add IPv6 support to :mod:`asyncio` datagram endpoints in " -"ProactorEventLoop. Change the raised exception for unknown address families " -"to ValueError as it's not coming from Windows API." -msgstr "" - -#: ../build/NEWS:11767 -msgid "" -":issue:`34956`: When building Python on macOS from source, ``_tkinter`` now " -"links with non-system Tcl and Tk frameworks if they are installed in ``/" -"Library/Frameworks``, as had been the case on older releases of macOS. If a " -"macOS SDK is explicitly configured, by using ``--enable-universalsdk=`` or " -"``-isysroot``, only the SDK itself is searched. The default behavior can " -"still be overridden with ``--with-tcltk-includes`` and ``--with-tcltk-libs``." -msgstr "" - -#: ../build/NEWS:11775 -msgid ":issue:`35569`: Expose RFC 3542 IPv6 socket options." -msgstr "" - -#: ../build/NEWS:11780 -msgid "" -":issue:`40479`: Update multissltest helper to test with latest OpenSSL " -"1.0.2, 1.1.0, 1.1.1, and 3.0.0-alpha." -msgstr "" - -#: ../build/NEWS:11783 -msgid "" -":issue:`40431`: Fix a syntax typo in ``turtledemo`` that now raises a " -"``SyntaxError``." -msgstr "" - -#: ../build/NEWS:11786 -msgid "" -":issue:`40163`: Fix multissltest tool. OpenSSL has changed download URL for " -"old releases. The multissltest tool now tries to download from current and " -"old download URLs." -msgstr "" - -#: ../build/NEWS:11793 -msgid "" -":issue:`39465`: Remove the ``_PyUnicode_ClearStaticStrings()`` function from " -"the C API." -msgstr "" - -#: ../build/NEWS:11796 -msgid "" -":issue:`38787`: Add PyCFunction_CheckExact() macro for exact type checks now " -"that we allow subtypes of PyCFunction, as well as PyCMethod_CheckExact() and " -"PyCMethod_Check() for the new PyCMethod subtype." -msgstr "" - -#: ../build/NEWS:11800 -msgid "" -":issue:`40545`: Declare ``_PyErr_GetTopmostException()`` with " -"``PyAPI_FUNC()`` to properly export the function in the C API. The function " -"remains private (``_Py``) prefix." -msgstr "" - -#: ../build/NEWS:11804 -msgid "" -":issue:`40412`: Nullify inittab_copy during finalization, preventing future " -"interpreter initializations in an embedded situation from crashing. Patch by " -"Gregory Szorc." -msgstr "" - -#: ../build/NEWS:11808 -msgid "" -":issue:`40429`: The :c:func:`PyThreadState_GetFrame` function now returns a " -"strong reference to the frame." -msgstr "" - -#: ../build/NEWS:11811 -msgid "" -":issue:`40428`: Remove the following functions from the C API. Call :c:func:" -"`PyGC_Collect` explicitly to free all free lists." -msgstr "" - -#: ../build/NEWS:11814 -msgid "``PyAsyncGen_ClearFreeLists()``" -msgstr "" - -#: ../build/NEWS:11815 -msgid "``PyContext_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11816 -msgid "``PyDict_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11817 -msgid "``PyFloat_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11818 -msgid "``PyFrame_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11819 -msgid "``PyList_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11820 -msgid "``PySet_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11821 -msgid "``PyTuple_ClearFreeList()``" -msgstr "" - -#: ../build/NEWS:11823 -msgid "" -":issue:`40421`: New :c:func:`PyFrame_GetBack` function: get the frame next " -"outer frame." -msgstr "" - -#: ../build/NEWS:11826 -msgid "" -":issue:`40421`: New :c:func:`PyFrame_GetCode` function: return a borrowed " -"reference to the frame code." -msgstr "" - -#: ../build/NEWS:11829 -msgid "" -":issue:`40217`: Ensure that instances of types created with :c:func:" -"`PyType_FromSpecWithBases` will visit its class object when traversing " -"references in the garbage collector (implemented as an extension of the " -"provided :c:member:`~PyTypeObject.tp_traverse`). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:11835 -msgid "" -":issue:`38787`: Module C state is now accessible from C-defined heap type " -"methods (:pep:`573`). Patch by Marcel Plch and Petr Viktorin." -msgstr "" - -#: ../build/NEWS:11840 -msgid "Python 3.9.0 alpha 6" -msgstr "" - -#: ../build/NEWS:11842 -msgid "*Release date: 2020-04-27*" -msgstr "" - -#: ../build/NEWS:11847 -msgid ":issue:`40121`: Fixes audit events raised on creating a new socket." -msgstr "" - -#: ../build/NEWS:11849 -msgid "" -":issue:`39073`: Disallow CR or LF in email.headerregistry.Address arguments " -"to guard against header injection attacks." -msgstr "" - -#: ../build/NEWS:11852 -msgid "" -":issue:`39503`: CVE-2020-8492: The :class:`~urllib.request." -"AbstractBasicAuthHandler` class of the :mod:`urllib.request` module uses an " -"inefficient regular expression which can be exploited by an attacker to " -"cause a denial of service. Fix the regex to prevent the catastrophic " -"backtracking. Vulnerability reported by Ben Caller and Matt Schwager." -msgstr "" - -#: ../build/NEWS:11862 -msgid ":issue:`40313`: Improve the performance of bytes.hex()." -msgstr "" - -#: ../build/NEWS:11864 -msgid "" -":issue:`40334`: Switch to a new parser, based on PEG. For more details see " -"PEP 617. To temporarily switch back to the old parser, use ``-X oldparser`` " -"or ``PYTHONOLDPARSER=1``. In Python 3.10 we will remove the old parser " -"completely, including the ``parser`` module (already deprecated) and " -"anything that depends on it." -msgstr "" - -#: ../build/NEWS:11870 -msgid "" -":issue:`40267`: Fix the tokenizer to display the correct error message, when " -"there is a SyntaxError on the last input character and no newline follows. " -"It used to be `unexpected EOF while parsing`, while it should be `invalid " -"syntax`." -msgstr "" - -#: ../build/NEWS:11875 -msgid "" -":issue:`39522`: Correctly unparse explicit ``u`` prefix for strings when " -"postponed evaluation for annotations activated. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:11878 -msgid "" -":issue:`40246`: Report a specialized error message, `invalid string prefix`, " -"when the tokenizer encounters a string with an invalid prefix." -msgstr "" - -#: ../build/NEWS:11881 -msgid "" -":issue:`40082`: Fix the signal handler: it now always uses the main " -"interpreter, rather than trying to get the current Python thread state." -msgstr "" - -#: ../build/NEWS:11884 -msgid "" -":issue:`37388`: str.encode() and str.decode() no longer check the encoding " -"and errors in development mode or in debug mode during Python finalization. " -"The codecs machinery can no longer work on very late calls to str.encode() " -"and str.decode()." -msgstr "" - -#: ../build/NEWS:11889 -msgid "" -":issue:`40077`: Fix possible refleaks in :mod:`_json`, memo of " -"PyScannerObject should be traversed." -msgstr "" - -#: ../build/NEWS:11892 -msgid "" -":issue:`37207`: Speed up calls to ``dict()`` by using the :pep:`590` " -"``vectorcall`` calling convention." -msgstr "" - -#: ../build/NEWS:11895 -msgid "" -":issue:`40141`: Add column and line information to ``ast.keyword`` nodes. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:11898 -msgid "" -":issue:`1635741`: Port :mod:`resource` to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:11901 -msgid "" -":issue:`1635741`: Port :mod:`math` to multiphase initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:11903 -msgid "" -":issue:`1635741`: Port _uuid module to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:11905 -msgid ":issue:`40077`: Convert json module to use :c:func:`PyType_FromSpec`." -msgstr "" - -#: ../build/NEWS:11907 -msgid "" -":issue:`40067`: Improve the error message for multiple star expressions in " -"an assignment. Patch by Furkan Onder" -msgstr "" - -#: ../build/NEWS:11910 -msgid "" -":issue:`1635741`: Port _functools module to multiphase initialization (PEP " -"489). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:11913 -msgid "" -":issue:`1635741`: Port operator module to multiphase initialization (PEP " -"489). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:11916 -msgid "" -":issue:`20526`: Fix :c:func:`PyThreadState_Clear()`. ``PyThreadState.frame`` " -"is a borrowed reference, not a strong reference: ``PyThreadState_Clear()`` " -"must not call ``Py_CLEAR(tstate->frame)``." -msgstr "" - -#: ../build/NEWS:11920 -msgid "" -":issue:`1635741`: Port time module to multiphase initialization (:pep:" -"`489`). Patch by Paulo Henrique Silva." -msgstr "" - -#: ../build/NEWS:11923 ../build/NEWS:12315 -msgid "" -":issue:`1635741`: Port _weakref extension module to multiphase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:11926 -msgid "" -":issue:`40020`: Fix a leak and subsequent crash in parsetok.c caused by " -"realloc misuse on a rare codepath." -msgstr "" - -#: ../build/NEWS:11929 -msgid "" -":issue:`39939`: Added str.removeprefix and str.removesuffix methods and " -"corresponding bytes, bytearray, and collections.UserString methods to remove " -"affixes from a string if present. See :pep:`616` for a full description. " -"Patch by Dennis Sweeney." -msgstr "" - -#: ../build/NEWS:11934 -msgid "" -":issue:`39481`: Implement PEP 585. This supports list[int], tuple[str, ...] " -"etc." -msgstr "" - -#: ../build/NEWS:11937 -msgid "" -":issue:`32894`: Support unparsing of infinity numbers in postponed " -"annotations. Patch by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:11940 -msgid "" -":issue:`37207`: Speed up calls to ``list()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Mark Shannon." -msgstr "" - -#: ../build/NEWS:11946 -msgid "" -":issue:`40398`: :func:`typing.get_args` now always returns an empty tuple " -"for special generic aliases." -msgstr "" - -#: ../build/NEWS:11949 -msgid "" -":issue:`40396`: Functions :func:`typing.get_origin`, :func:`typing.get_args` " -"and :func:`typing.get_type_hints` support now generic aliases like " -"``list[int]``." -msgstr "" - -#: ../build/NEWS:11953 -msgid "" -":issue:`38061`: Optimize the :mod:`subprocess` module on FreeBSD using " -"``closefrom()``. A single ``close(fd)`` syscall is cheap, but when " -"``sysconf(_SC_OPEN_MAX)`` is high, the loop calling ``close(fd)`` on each " -"file descriptor can take several milliseconds." -msgstr "" - -#: ../build/NEWS:11958 -msgid "" -"The workaround on FreeBSD to improve performance was to load and mount the " -"fdescfs kernel module, but this is not enabled by default." -msgstr "" - -#: ../build/NEWS:11961 ../build/NEWS:11969 -msgid "" -"Initial patch by Ed Maste (emaste), Conrad Meyer (cem), Kyle Evans (kevans) " -"and Kubilay Kocak (koobs): https://bugs.freebsd.org/bugzilla/show_bug.cgi?" -"id=242274" -msgstr "" - -#: ../build/NEWS:11965 -msgid "" -":issue:`38061`: On FreeBSD, ``os.closerange(fd_low, fd_high)`` now calls " -"``closefrom(fd_low)`` if *fd_high* is greater than or equal to " -"``sysconf(_SC_OPEN_MAX)``." -msgstr "" - -#: ../build/NEWS:11973 -msgid "" -":issue:`40360`: The :mod:`lib2to3` module is pending deprecation due to :pep:" -"`617`." -msgstr "" - -#: ../build/NEWS:11976 -msgid "" -":issue:`40138`: Fix the Windows implementation of :func:`os.waitpid` for " -"exit code larger than ``INT_MAX >> 8``. The exit status is now interpreted " -"as an unsigned number." -msgstr "" - -#: ../build/NEWS:11980 -msgid "" -":issue:`39942`: Set \"__main__\" as the default module name when " -"\"__name__\" is missing in :class:`typing.TypeVar`. Patch by Weipeng Hong." -msgstr "" - -#: ../build/NEWS:11983 -msgid "" -":issue:`40275`: The :mod:`logging` package is now imported lazily in :mod:" -"`unittest` only when the :meth:`~unittest.TestCase.assertLogs` assertion is " -"used." -msgstr "" - -#: ../build/NEWS:11987 -msgid "" -":issue:`40275`: The :mod:`asyncio` package is now imported lazily in :mod:" -"`unittest` only when the :class:`~unittest.IsolatedAsyncioTestCase` class is " -"used." -msgstr "" - -#: ../build/NEWS:11991 -msgid "" -":issue:`40330`: In :meth:`ShareableList.__setitem__`, check the size of a " -"new string item after encoding it to utf-8, not before." -msgstr "" - -#: ../build/NEWS:11994 -msgid "" -":issue:`40148`: Added :meth:`pathlib.Path.with_stem()` to create a new Path " -"with the stem replaced." -msgstr "" - -#: ../build/NEWS:11997 -msgid ":issue:`40325`: Deprecated support for set objects in random.sample()." -msgstr "" - -#: ../build/NEWS:11999 -msgid "" -":issue:`40257`: Improved help for the :mod:`typing` module. Docstrings are " -"now shown for all special forms and special generic aliases (like ``Union`` " -"and ``List``). Using ``help()`` with generic alias like ``List[int]`` will " -"show the help for the correspondent concrete type (``list`` in this case)." -msgstr "" - -#: ../build/NEWS:12004 -msgid "" -":issue:`40257`: func:`inspect.getdoc` no longer returns docstring inherited " -"from the type of the object or from parent class if it is a class if it is " -"not defined in the object itself. In :mod:`pydoc` the documentation string " -"is now shown not only for class, function, method etc, but for any object " -"that has its own ``__doc__`` attribute." -msgstr "" - -#: ../build/NEWS:12010 -msgid "" -":issue:`40287`: Fixed ``SpooledTemporaryFile.seek()`` to return the position." -msgstr "" - -#: ../build/NEWS:12012 -msgid ":issue:`40290`: Added zscore() to statistics.NormalDist()." -msgstr "" - -#: ../build/NEWS:12014 -msgid "" -":issue:`40282`: Allow ``random.getrandbits(0)`` to succeed and to return 0." -msgstr "" - -#: ../build/NEWS:12016 -msgid "" -":issue:`40286`: Add :func:`random.randbytes` function and :meth:`random." -"Random.randbytes` method to generate random bytes." -msgstr "" - -#: ../build/NEWS:12019 -msgid "" -":issue:`40277`: :func:`collections.namedtuple` now provides a human-readable " -"repr for its field accessors." -msgstr "" - -#: ../build/NEWS:12022 -msgid "" -":issue:`40270`: The included copy of sqlite3 on Windows is now compiled with " -"the json extension. This allows the use of functions such as ``json_object``." -msgstr "" - -#: ../build/NEWS:12026 -msgid "" -":issue:`29255`: Wait in `KqueueSelector.select` when no fds are registered" -msgstr "" - -#: ../build/NEWS:12028 -msgid "" -":issue:`40260`: Ensure :mod:`modulefinder` uses :func:`io.open_code` and " -"respects coding comments." -msgstr "" - -#: ../build/NEWS:12031 -msgid "" -":issue:`40234`: Allow again to spawn daemon threads in subinterpreters " -"(revert change which denied them)." -msgstr "" - -#: ../build/NEWS:12034 -msgid "" -":issue:`39207`: Workers in :class:`~concurrent.futures.ProcessPoolExecutor` " -"are now spawned on demand, only when there are no available idle workers to " -"reuse. This optimizes startup overhead and reduces the amount of lost CPU " -"time to idle workers. Patch by Kyle Stanley." -msgstr "" - -#: ../build/NEWS:12039 -msgid "" -":issue:`40091`: Fix a hang at fork in the logging module: the new private " -"_at_fork_reinit() method is now used to reinitialize locks at fork in the " -"child process." -msgstr "" - -#: ../build/NEWS:12043 -msgid "" -":issue:`40149`: Implement traverse and clear slots in _abc._abc_data type." -msgstr "" - -#: ../build/NEWS:12045 -msgid "" -":issue:`40208`: Remove deprecated :meth:`symtable.SymbolTable.has_exec`." -msgstr "" - -#: ../build/NEWS:12047 -msgid "" -":issue:`40196`: Fix a bug in the :mod:`symtable` module that was causing " -"incorrectly report global variables as local. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12050 -msgid "" -":issue:`40190`: Add support for ``_SC_AIX_REALMEM`` to :func:`posix.sysconf`." -msgstr "" - -#: ../build/NEWS:12052 -msgid "" -":issue:`40182`: Removed the ``_field_types`` attribute of the :class:`typing." -"NamedTuple` class." -msgstr "" - -#: ../build/NEWS:12055 -msgid "" -":issue:`36517`: Multiple inheritance with :class:`typing.NamedTuple` now " -"raises an error instead of silently ignoring other types." -msgstr "" - -#: ../build/NEWS:12058 -msgid "" -":issue:`40126`: Fixed reverting multiple patches in unittest.mock. Patcher's " -"``__exit__()`` is now never called if its ``__enter__()`` is failed. " -"Returning true from ``__exit__()`` silences now the exception." -msgstr "" - -#: ../build/NEWS:12062 -msgid "" -":issue:`40094`: CGIHTTPRequestHandler of http.server now logs the CGI script " -"exit code, rather than the CGI script exit status of os.waitpid(). For " -"example, if the script is killed by signal 11, it now logs: \"CGI script " -"exit code -11.\"" -msgstr "" - -#: ../build/NEWS:12067 -msgid "" -":issue:`40108`: Improve the error message when triying to import a module " -"using :mod:`runpy` and incorrently use the \".py\" extension at the end of " -"the module name. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12071 -msgid "" -":issue:`40094`: Add :func:`os.waitstatus_to_exitcode` function: convert a " -"wait status to an exit code." -msgstr "" - -#: ../build/NEWS:12074 -msgid "" -":issue:`40089`: Fix threading._after_fork(): if fork was not called by a " -"thread spawned by threading.Thread, threading._after_fork() now creates a " -"_MainThread instance for _main_thread, instead of a _DummyThread instance." -msgstr "" - -#: ../build/NEWS:12078 -msgid "" -":issue:`40089`: Add a private ``_at_fork_reinit()`` method to :class:" -"`_thread.Lock`, :class:`_thread.RLock`, :class:`threading.RLock` and :class:" -"`threading.Condition` classes: reinitialize the lock at fork in the child " -"process, reset the lock to the unlocked state. Rename also the private " -"``_reset_internal_locks()`` method of :class:`threading.Event` to " -"``_at_fork_reinit()``." -msgstr "" - -#: ../build/NEWS:12085 -msgid "" -":issue:`25780`: Expose :data:`~socket.CAN_RAW_JOIN_FILTERS` in the :mod:" -"`socket` module." -msgstr "" - -#: ../build/NEWS:12088 -msgid "" -":issue:`39503`: :class:`~urllib.request.AbstractBasicAuthHandler` of :mod:" -"`urllib.request` now parses all WWW-Authenticate HTTP headers and accepts " -"multiple challenges per header: use the realm of the first Basic challenge." -msgstr "" - -#: ../build/NEWS:12093 -msgid "" -":issue:`39812`: Removed daemon threads from :mod:`concurrent.futures` by " -"adding an internal `threading._register_atexit()`, which calls registered " -"functions prior to joining all non-daemon threads. This allows for " -"compatibility with subinterpreters, which don't support daemon threads." -msgstr "" - -#: ../build/NEWS:12098 -msgid "" -":issue:`40050`: Fix ``importlib._bootstrap_external``: avoid creating a new " -"``winreg`` builtin module if it's already available in :data:`sys.modules`, " -"and remove redundant imports." -msgstr "" - -#: ../build/NEWS:12102 -msgid "" -":issue:`40014`: Fix ``os.getgrouplist()``: if ``getgrouplist()`` function " -"fails because the group list is too small, retry with a larger group list. " -"On failure, the glibc implementation of ``getgrouplist()`` sets ``ngroups`` " -"to the total number of groups. For other implementations, double the group " -"list size." -msgstr "" - -#: ../build/NEWS:12108 -msgid "" -":issue:`40017`: Add :data:`time.CLOCK_TAI` constant if the operating system " -"support it." -msgstr "" - -#: ../build/NEWS:12111 -msgid "" -":issue:`40016`: In re docstring, clarify the relationship between inline and " -"argument compile flags." -msgstr "" - -#: ../build/NEWS:12114 -msgid "" -":issue:`39953`: Update internal table of OpenSSL error codes in the ``ssl`` " -"module." -msgstr "" - -#: ../build/NEWS:12117 -msgid "" -":issue:`36144`: Added :pep:`584` operators to :class:`weakref." -"WeakValueDictionary`." -msgstr "" - -#: ../build/NEWS:12120 -msgid "" -":issue:`36144`: Added :pep:`584` operators to :class:`weakref." -"WeakKeyDictionary`." -msgstr "" - -#: ../build/NEWS:12123 -msgid "" -":issue:`38891`: Fix linear runtime behaviour of the `__getitem__` and " -"`__setitem__` methods in :class:`multiprocessing.shared_memory." -"ShareableList`. This avoids quadratic performance when iterating a " -"`ShareableList`. Patch by Thomas Krennwallner." -msgstr "" - -#: ../build/NEWS:12129 -msgid "" -":issue:`39682`: Remove undocumented support for *closing* a `pathlib.Path` " -"object via its context manager. The context manager magic methods remain, " -"but they are now a no-op, making `Path` objects immutable." -msgstr "" - -#: ../build/NEWS:12133 -msgid "" -":issue:`36144`: Added :pep:`584` operators (``|`` and ``|=``) to :class:" -"`collections.ChainMap`." -msgstr "" - -#: ../build/NEWS:12136 -msgid "" -":issue:`39011`: Normalization of line endings in ElementTree attributes was " -"removed, as line endings which were replaced by entity numbers should be " -"preserved in original form." -msgstr "" - -#: ../build/NEWS:12140 -msgid "" -":issue:`38410`: Properly handle :func:`sys.audit` failures in :func:`sys." -"set_asyncgen_hooks`." -msgstr "" - -#: ../build/NEWS:12143 -msgid "" -":issue:`36541`: lib2to3 now recognizes named assignment expressions (the " -"walrus operator, ``:=``)" -msgstr "" - -#: ../build/NEWS:12146 -msgid "" -":issue:`35967`: In platform, delay the invocation of 'uname -p' until the " -"processor attribute is requested." -msgstr "" - -#: ../build/NEWS:12149 -msgid "" -":issue:`35113`: :meth:`inspect.getsource` now returns correct source code " -"for inner class with same name as module level class. Decorators are also " -"returned as part of source of the class. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:12154 -msgid "" -":issue:`33262`: Deprecate passing None as an argument for :func:`shlex." -"split()`'s ``s`` parameter. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:12157 -msgid "" -":issue:`31758`: Prevent crashes when using an uninitialized ``_elementtree." -"XMLParser`` object. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:12163 -msgid "" -":issue:`27635`: The pickle documentation incorrectly claimed that " -"``__new__`` isn't called by default when unpickling." -msgstr "" - -#: ../build/NEWS:12166 -msgid "" -":issue:`39879`: Updated :ref:`datamodel` docs to include :func:`dict` " -"insertion order preservation. Patch by Furkan Onder and Samy Lahfa." -msgstr "" - -#: ../build/NEWS:12169 -msgid "" -":issue:`38387`: Document :c:macro:`PyDoc_STRVAR` macro in the C-API " -"reference." -msgstr "" - -#: ../build/NEWS:12171 -msgid "" -":issue:`13743`: Some methods within xml.dom.minidom.Element class are now " -"better documented." -msgstr "" - -#: ../build/NEWS:12177 -msgid "" -":issue:`31904`: Set expected default encoding in test_c_locale_coercion.py " -"for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:12180 -msgid ":issue:`40162`: Update Travis CI configuration to OpenSSL 1.1.1f." -msgstr "" - -#: ../build/NEWS:12182 -msgid ":issue:`40146`: Update OpenSSL to 1.1.1f in Azure Pipelines." -msgstr "" - -#: ../build/NEWS:12184 -msgid ":issue:`40094`: Add :func:`test.support.wait_process` function." -msgstr "" - -#: ../build/NEWS:12186 -msgid "" -":issue:`40003`: ``test.bisect_cmd`` now copies Python command line options " -"like ``-O`` or ``-W``. Moreover, emit a warning if ``test.bisect_cmd`` is " -"used with ``-w``/``--verbose2`` option." -msgstr "" - -#: ../build/NEWS:12190 -msgid "" -":issue:`39380`: Add the encoding in :class:`ftplib.FTP` and :class:`ftplib." -"FTP_TLS` to the constructor as keyword-only and change the default from " -"``latin-1`` to ``utf-8`` to follow :rfc:`2640`." -msgstr "" - -#: ../build/NEWS:12194 -msgid "" -":issue:`39793`: Use the same domain when testing ``make_msgid``. Patch by " -"Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:12197 -msgid "" -":issue:`1812`: Fix newline handling in doctest.testfile when loading from a " -"package whose loader has a get_data method. Patch by Peter Donis." -msgstr "" - -#: ../build/NEWS:12203 -msgid ":issue:`38360`: Support single-argument form of macOS -isysroot flag." -msgstr "" - -#: ../build/NEWS:12205 -msgid "" -":issue:`40158`: Fix CPython MSBuild Properties in NuGet Package (build/" -"native/python.props)" -msgstr "" - -#: ../build/NEWS:12208 -msgid "" -":issue:`38527`: Fix configure check on Solaris for \"float word ordering\": " -"sometimes, the correct \"grep\" command was not being used. Patch by Arnon " -"Yaari." -msgstr "" - -#: ../build/NEWS:12215 -msgid ":issue:`40164`: Updates Windows to OpenSSL 1.1.1f" -msgstr "" - -#: ../build/NEWS:12217 -msgid "" -":issue:`8901`: Ignore the Windows registry when the ``-E`` option is used." -msgstr "" - -#: ../build/NEWS:12222 -msgid "" -":issue:`38329`: python.org macOS installers now update the Current version " -"symlink of /Library/Frameworks/Python.framework/Versions for 3.9 installs. " -"Previously, Current was only updated for Python 2.x installs. This should " -"make it easier to embed Python 3 into other macOS applications." -msgstr "" - -#: ../build/NEWS:12227 -msgid ":issue:`40164`: Update macOS installer builds to use OpenSSL 1.1.1g." -msgstr "" - -#: ../build/NEWS:12232 -msgid "" -":issue:`38439`: Add a 256×256 pixel IDLE icon to support more modern " -"environments. Created by Andrew Clover. Delete the unused macOS idle.icns " -"icon file." -msgstr "" - -#: ../build/NEWS:12236 -msgid "" -":issue:`38689`: IDLE will no longer freeze when inspect.signature fails when " -"fetching a calltip." -msgstr "" - -#: ../build/NEWS:12242 -msgid "" -":issue:`40385`: Removed the checkpyc.py tool. Please see compileall without " -"force mode as a potential alternative." -msgstr "" - -#: ../build/NEWS:12245 -msgid ":issue:`40179`: Fixed translation of ``#elif`` in Argument Clinic." -msgstr "" - -#: ../build/NEWS:12247 -msgid "" -":issue:`40094`: Fix ``which.py`` script exit code: it now uses :func:`os." -"waitstatus_to_exitcode` to convert :func:`os.system` exit status into an " -"exit code." -msgstr "" - -#: ../build/NEWS:12254 -msgid "" -":issue:`40241`: Move the :c:type:`PyGC_Head` structure to the internal C API." -msgstr "" - -#: ../build/NEWS:12256 -msgid "" -":issue:`40170`: Convert :c:func:`PyObject_IS_GC` macro to a function to hide " -"implementation details." -msgstr "" - -#: ../build/NEWS:12259 -msgid "" -":issue:`40241`: Add the functions :c:func:`PyObject_GC_IsTracked` and :c:" -"func:`PyObject_GC_IsFinalized` to the public API to allow to query if Python " -"objects are being currently tracked or have been already finalized by the " -"garbage collector respectively. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12264 -msgid "" -":issue:`40170`: The :c:func:`PyObject_NEW` macro becomes an alias to the :c:" -"func:`PyObject_New` macro, and the :c:func:`PyObject_NEW_VAR` macro becomes " -"an alias to the :c:func:`PyObject_NewVar` macro, to hide implementation " -"details. They no longer access directly the :c:member:`PyTypeObject." -"tp_basicsize` member." -msgstr "" - -#: ../build/NEWS:12270 -msgid "" -":issue:`40170`: :c:func:`PyType_HasFeature` now always calls :c:func:" -"`PyType_GetFlags` to hide implementation details. Previously, it accessed " -"directly the :c:member:`PyTypeObject.tp_flags` member when the limited C API " -"was not used." -msgstr "" - -#: ../build/NEWS:12275 -msgid "" -":issue:`40170`: Convert the :c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro to " -"a function to hide implementation details: the macro accessed directly to " -"the :c:member:`PyTypeObject.tp_weaklistoffset` member." -msgstr "" - -#: ../build/NEWS:12279 -msgid "" -":issue:`40170`: Convert :c:func:`PyObject_CheckBuffer` macro to a function " -"to hide implementation details: the macro accessed directly the :c:member:" -"`PyTypeObject.tp_as_buffer` member." -msgstr "" - -#: ../build/NEWS:12283 -msgid "" -":issue:`40170`: Always declare :c:func:`PyIndex_Check` as an opaque function " -"to hide implementation details: remove ``PyIndex_Check()`` macro. The macro " -"accessed directly the :c:member:`PyTypeObject.tp_as_number` member." -msgstr "" - -#: ../build/NEWS:12287 -msgid "" -":issue:`39947`: Add :c:func:`PyThreadState_GetID` function: get the unique " -"identifier of a Python thread state." -msgstr "" - -#: ../build/NEWS:12292 -msgid "Python 3.9.0 alpha 5" -msgstr "" - -#: ../build/NEWS:12294 -msgid "*Release date: 2020-03-23*" -msgstr "" - -#: ../build/NEWS:12299 -msgid "" -":issue:`38576`: Disallow control characters in hostnames in http.client, " -"addressing CVE-2019-18348. Such potentially malicious header injection URLs " -"now cause a InvalidURL to be raised." -msgstr "" - -#: ../build/NEWS:12306 -msgid "" -":issue:`40010`: Optimize pending calls in multithreaded applications. If a " -"thread different than the main thread schedules a pending call (:c:func:" -"`Py_AddPendingCall`), the bytecode evaluation loop is no longer interrupted " -"at each bytecode instruction to check for pending calls which cannot be " -"executed. Only the main thread can execute pending calls." -msgstr "" - -#: ../build/NEWS:12312 -msgid "" -"Previously, the bytecode evaluation loop was interrupted at each instruction " -"until the main thread executes pending calls." -msgstr "" - -#: ../build/NEWS:12318 -msgid "" -":issue:`1635741`: Port _collections module to multiphase initialization (:" -"pep:`489`)." -msgstr "" - -#: ../build/NEWS:12321 -msgid "" -":issue:`40010`: Optimize signal handling in multithreaded applications. If a " -"thread different than the main thread gets a signal, the bytecode evaluation " -"loop is no longer interrupted at each bytecode instruction to check for " -"pending signals which cannot be handled. Only the main thread of the main " -"interpreter can handle signals." -msgstr "" - -#: ../build/NEWS:12327 -msgid "" -"Previously, the bytecode evaluation loop was interrupted at each instruction " -"until the main thread handles signals." -msgstr "" - -#: ../build/NEWS:12330 -msgid "" -":issue:`39984`: If :c:func:`Py_AddPendingCall` is called in a " -"subinterpreter, the function is now scheduled to be called from the " -"subinterpreter, rather than being called from the main interpreter. Each " -"subinterpreter now has its own list of scheduled calls." -msgstr "" - -#: ../build/NEWS:12335 -msgid ":issue:`1635741`: Port _heapq module to multiphase initialization." -msgstr "" - -#: ../build/NEWS:12337 -msgid "" -":issue:`1635741`: Port itertools module to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:12340 -msgid "" -":issue:`37207`: Speed up calls to ``frozenset()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12343 -msgid "" -":issue:`39984`: subinterpreters: Move ``_PyRuntimeState.ceval." -"tracing_possible`` to ``PyInterpreterState.ceval.tracing_possible``: each " -"interpreter now has its own variable." -msgstr "" - -#: ../build/NEWS:12348 -msgid "" -":issue:`37207`: Speed up calls to ``set()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12351 -msgid "" -":issue:`1635741`: Port _statistics module to multiphase initialization (:pep:" -"`489`)." -msgstr "" - -#: ../build/NEWS:12354 -msgid "" -":issue:`39968`: Use inline function to replace extension modules' " -"get_module_state macros." -msgstr "" - -#: ../build/NEWS:12357 -msgid "" -":issue:`39965`: Correctly raise ``SyntaxError`` if *await* is used inside " -"non-async functions and ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` is set (like in the " -"asyncio REPL). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12361 -msgid "" -":issue:`39562`: Allow executing asynchronous comprehensions on the top level " -"when the ``PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag is given. Patch by Batuhan " -"Taskaya." -msgstr "" - -#: ../build/NEWS:12365 -msgid "" -":issue:`37207`: Speed up calls to ``tuple()`` by using the :pep:`590` " -"``vectorcall`` calling convention. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12368 -msgid "" -":issue:`38373`: Changed list overallocation strategy. It no longer " -"overallocates if the new size is closer to overallocated size than to the " -"old size and adds padding." -msgstr "" - -#: ../build/NEWS:12372 -msgid ":issue:`39926`: Update Unicode database to Unicode version 13.0.0." -msgstr "" - -#: ../build/NEWS:12374 -msgid "" -":issue:`19466`: Clear the frames of daemon threads earlier during the Python " -"shutdown to call objects destructors. So \"unclosed file\" resource warnings " -"are now emitted for daemon threads in a more reliable way." -msgstr "" - -#: ../build/NEWS:12378 -msgid "" -":issue:`38894`: Fix a bug that was causing incomplete results when calling " -"``pathlib.Path.glob`` in the presence of symlinks that point to files where " -"the user does not have read access. Patch by Pablo Galindo and Matt Wozniski." -msgstr "" - -#: ../build/NEWS:12383 -msgid "" -":issue:`39877`: Fix :c:func:`PyEval_RestoreThread` random crash at exit with " -"daemon threads. It now accesses the ``_PyRuntime`` variable directly instead " -"of using ``tstate->interp->runtime``, since ``tstate`` can be a dangling " -"pointer after :c:func:`Py_Finalize` has been called. Moreover, the daemon " -"thread now exits before trying to take the GIL." -msgstr "" - -#: ../build/NEWS:12389 -msgid "" -":issue:`39871`: Fix a possible :exc:`SystemError` in ``math.{atan2,copysign," -"remainder}()`` when the first argument cannot be converted to a :class:" -"`float`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:12393 -msgid "" -":issue:`39776`: Fix race condition where threads created by " -"PyGILState_Ensure() could get a duplicate id." -msgstr "" - -#: ../build/NEWS:12396 -msgid "" -"This affects consumers of tstate->id like the contextvar caching machinery, " -"which could return invalid cached objects under heavy thread load (observed " -"in embedded scenarios)." -msgstr "" - -#: ../build/NEWS:12400 -msgid "" -":issue:`39778`: Fixed a crash due to incorrect handling of weak references " -"in ``collections.OrderedDict`` classes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12403 -msgid "" -":issue:`1635741`: Port audioop extension module to multiphase initialization " -"(:pep:`489`)." -msgstr "" - -#: ../build/NEWS:12406 -msgid "" -":issue:`39702`: Relax :term:`decorator` grammar restrictions to allow any " -"valid expression (:pep:`614`)." -msgstr "" - -#: ../build/NEWS:12409 -msgid "" -":issue:`38091`: Tweak import deadlock detection code to not deadlock itself." -msgstr "" - -#: ../build/NEWS:12411 -msgid "" -":issue:`1635741`: Port _locale extension module to multiphase initialization " -"(:pep:`489`)." -msgstr "" - -#: ../build/NEWS:12414 -msgid "" -":issue:`39087`: Optimize :c:func:`PyUnicode_AsUTF8` and :c:func:" -"`PyUnicode_AsUTF8AndSize` slightly when they need to create internal UTF-8 " -"cache." -msgstr "" - -#: ../build/NEWS:12418 -msgid "" -":issue:`39520`: Fix unparsing of ext slices with no items (``foo[:,]``). " -"Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:12421 -msgid "" -":issue:`39220`: Do not optimize annotations if 'from __future__ import " -"annotations' is used. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12424 -msgid "" -":issue:`35712`: Using :data:`NotImplemented` in a boolean context has been " -"deprecated. Patch contributed by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:12427 -msgid "" -":issue:`22490`: Don't leak environment variable ``__PYVENV_LAUNCHER__`` into " -"the interpreter session on macOS." -msgstr "" - -#: ../build/NEWS:12433 -msgid "" -":issue:`39830`: Add :class:`zipfile.Path` to ``__all__`` in the :mod:" -"`zipfile` module." -msgstr "" - -#: ../build/NEWS:12436 -msgid "" -":issue:`40000`: Improved error messages for validation of ``ast.Constant`` " -"nodes. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:12439 -msgid "" -":issue:`39999`: ``__module__`` of the AST node classes is now set to \"ast\" " -"instead of \"_ast\". Added docstrings for dummy AST node classes and " -"deprecated attributes." -msgstr "" - -#: ../build/NEWS:12443 -msgid "" -":issue:`39991`: :func:`uuid.getnode` now skips IPv6 addresses with the same " -"string length than a MAC address (17 characters): only use MAC addresses." -msgstr "" - -#: ../build/NEWS:12446 -msgid "" -":issue:`39988`: Deprecated ``ast.AugLoad`` and ``ast.AugStore`` node classes " -"because they are no longer used." -msgstr "" - -#: ../build/NEWS:12449 -msgid "" -":issue:`39656`: Ensure ``bin/python3.#`` is always present in virtual " -"environments on POSIX platforms - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:12452 -msgid "" -":issue:`39969`: Deprecated ``ast.Param`` node class because it's no longer " -"used. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:12455 -msgid "" -":issue:`39360`: Ensure all workers exit when finalizing a :class:" -"`multiprocessing.Pool` implicitly via the module finalization handlers of " -"multiprocessing. This fixes a deadlock situation that can be experienced " -"when the Pool is not properly finalized via the context manager or a call to " -"``multiprocessing.Pool.terminate``. Patch by Batuhan Taskaya and Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:12462 -msgid "" -":issue:`35370`: sys.settrace(), sys.setprofile() and _lsprof.Profiler." -"enable() now properly report :c:func:`PySys_Audit` error if \"sys." -"setprofile\" or \"sys.settrace\" audit event is denied." -msgstr "" - -#: ../build/NEWS:12466 -msgid "" -":issue:`39936`: AIX: Fix _aix_support module when the subprocess is not " -"available, when building Python from scratch. It now uses new private " -"_bootsubprocess module, rather than having two implementations depending if " -"subprocess is available or not. So _aix_support.aix_platform() result is now " -"the same if subprocess is available or not." -msgstr "" - -#: ../build/NEWS:12472 -msgid "" -":issue:`36144`: :class:`collections.OrderedDict` now implements ``|`` and ``|" -"=`` (:pep:`584`)." -msgstr "" - -#: ../build/NEWS:12475 -msgid "" -":issue:`39652`: The column name found in ``sqlite3.Cursor.description`` is " -"now truncated on the first '[' only if the PARSE_COLNAMES option is set." -msgstr "" - -#: ../build/NEWS:12478 -msgid "" -":issue:`39915`: Ensure :attr:`unittest.mock.AsyncMock.await_args_list` has " -"call objects in the order of awaited arguments instead of using :attr:" -"`unittest.mock.Mock.call_args` which has the last value of the call. Patch " -"by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:12483 -msgid "" -":issue:`36144`: Updated :data:`os.environ` and :data:`os.environb` to " -"support :pep:`584`'s merge (``|``) and update (``|=``) operators." -msgstr "" - -#: ../build/NEWS:12486 -msgid "" -":issue:`38662`: The ``ensurepip`` module now invokes ``pip`` via the " -"``runpy`` module. Hence it is no longer tightly coupled with the internal " -"API of the bundled ``pip`` version, allowing easier updates to a newer " -"``pip`` version both internally and for distributors." -msgstr "" - -#: ../build/NEWS:12491 -msgid "" -":issue:`38075`: Fix the :meth:`random.Random.seed` method when a :class:" -"`bool` is passed as the seed." -msgstr "" - -#: ../build/NEWS:12494 -msgid "" -":issue:`39916`: More reliable use of ``os.scandir()`` in ``Path.glob()``. It " -"no longer emits a ResourceWarning when interrupted." -msgstr "" - -#: ../build/NEWS:12497 -msgid "" -":issue:`39850`: :mod:`multiprocessing` now supports abstract socket " -"addresses (if abstract sockets are supported in the running platform). When " -"creating arbitrary addresses (like when default-constructing :class:" -"`multiprocessing.connection.Listener` objects) abstract sockets are " -"preferred to avoid the case when the temporary-file-generated address is too " -"large for an AF_UNIX socket address. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:12504 -msgid "" -":issue:`36287`: :func:`ast.dump()` no longer outputs optional fields and " -"attributes with default values. The default values for optional fields and " -"attributes of AST nodes are now set as class attributes (e.g. ``Constant." -"kind`` is set to ``None``)." -msgstr "" - -#: ../build/NEWS:12509 -msgid "" -":issue:`39889`: Fixed :func:`ast.unparse` for extended slices containing a " -"single element (e.g. ``a[i:j,]``). Remove redundant tuples when index with a " -"tuple (e.g. ``a[i, j]``)." -msgstr "" - -#: ../build/NEWS:12513 -msgid "" -":issue:`39828`: Fix :mod:`json.tool` to catch :exc:`BrokenPipeError`. Patch " -"by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12516 -msgid "" -":issue:`13487`: Avoid a possible *\"RuntimeError: dictionary changed size " -"during iteration\"* from :func:`inspect.getmodule` when it tried to loop " -"through :attr:`sys.modules`." -msgstr "" - -#: ../build/NEWS:12520 -msgid "" -":issue:`39674`: Revert \":issue:`37330`: open() no longer accept 'U' in file " -"mode\". The \"U\" mode of open() is kept in Python 3.9 to ease transition " -"from Python 2.7, but will be removed in Python 3.10." -msgstr "" - -#: ../build/NEWS:12524 -msgid "" -":issue:`28577`: The hosts method on 32-bit prefix length IPv4Networks and " -"128-bit prefix IPv6Networks now returns a list containing the single Address " -"instead of an empty list." -msgstr "" - -#: ../build/NEWS:12528 -msgid "" -":issue:`39826`: Add getConnection method to logging HTTPHandler to enable " -"custom connections." -msgstr "" - -#: ../build/NEWS:12531 -msgid "" -":issue:`39763`: Reimplement :func:`distutils.spawn.spawn` function with the :" -"mod:`subprocess` module." -msgstr "" - -#: ../build/NEWS:12534 -msgid "" -":issue:`39794`: Add --without-decimal-contextvar build option. This enables " -"a thread-local rather than a coroutine local context." -msgstr "" - -#: ../build/NEWS:12537 -msgid "" -":issue:`36144`: :class:`collections.defaultdict` now implements ``|`` (:pep:" -"`584`)." -msgstr "" - -#: ../build/NEWS:12540 -msgid ":issue:`39517`: Fix runpy.run_path() when using pathlike objects" -msgstr "" - -#: ../build/NEWS:12542 -msgid "" -":issue:`39775`: Change ``inspect.Signature.parameters`` back to " -"``collections.OrderedDict``. This was changed to ``dict`` in Python 3.9.0a4." -msgstr "" - -#: ../build/NEWS:12546 -msgid "" -":issue:`39678`: Refactor queue_manager in :class:`concurrent.futures." -"ProcessPoolExecutor` to make it easier to maintain." -msgstr "" - -#: ../build/NEWS:12550 -msgid "" -":issue:`39764`: Fix AttributeError when calling get_stack on a " -"PyAsyncGenObject Task" -msgstr "" - -#: ../build/NEWS:12553 -msgid "" -":issue:`39769`: The :func:`compileall.compile_dir` function's *ddir* " -"parameter and the compileall command line flag `-d` no longer write the " -"wrong pathname to the generated pyc file for submodules beneath the root of " -"the directory tree being compiled. This fixes a regression introduced with " -"Python 3.5." -msgstr "" - -#: ../build/NEWS:12559 -msgid "" -":issue:`36144`: :class:`types.MappingProxyType` objects now support the " -"merge (``|``) operator from :pep:`584`." -msgstr "" - -#: ../build/NEWS:12562 -msgid "" -":issue:`38691`: The :mod:`importlib` module now ignores the :envvar:" -"`PYTHONCASEOK` environment variable when the :option:`-E` or :option:`-I` " -"command line options are being used." -msgstr "" - -#: ../build/NEWS:12566 -msgid "" -":issue:`39719`: Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as " -"files no longer have the ``softspace`` attribute in Python 3. Patch by " -"Shantanu." -msgstr "" - -#: ../build/NEWS:12569 -msgid "" -":issue:`39667`: Improve pathlib.Path compatibility on zipfile.Path and " -"correct performance degradation as found in zipp 3.0." -msgstr "" - -#: ../build/NEWS:12572 -msgid "" -":issue:`39638`: Keep ASDL signatures in the docstrings for ``AST`` nodes. " -"Patch by Batuhan Taskaya" -msgstr "" - -#: ../build/NEWS:12575 -msgid "" -":issue:`39639`: Deprecated ``ast.Suite`` node class because it's no longer " -"used. Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:12578 -msgid ":issue:`39609`: Add thread_name_prefix to default asyncio executor" -msgstr "" - -#: ../build/NEWS:12580 -msgid "" -":issue:`39548`: Fix handling of header in :class:`urllib.request." -"AbstractDigestAuthHandler` when the optional ``qop`` parameter is not " -"present." -msgstr "" - -#: ../build/NEWS:12584 -msgid "" -":issue:`39509`: HTTP status codes ``103 EARLY_HINTS`` and ``425 TOO_EARLY`` " -"are added to :class:`http.HTTPStatus`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12587 -msgid "" -":issue:`39507`: Adding HTTP status 418 \"I'm a Teapot\" to HTTPStatus in " -"http library. Patch by Ross Rhodes." -msgstr "" - -#: ../build/NEWS:12590 -msgid "" -":issue:`39495`: Remove default value from *attrs* parameter of :meth:`xml." -"etree.ElementTree.TreeBuilder.start` for consistency between Python and C " -"implementations." -msgstr "" - -#: ../build/NEWS:12594 -msgid "" -":issue:`38971`: Open issue in the BPO indicated a desire to make the " -"implementation of codecs.open() at parity with io.open(), which implements a " -"try/except to assure file stream gets closed before an exception is raised." -msgstr "" - -#: ../build/NEWS:12599 -msgid "" -":issue:`38641`: Added starred expressions support to ``return`` and " -"``yield`` statements for ``lib2to3``. Patch by Vlad Emelianov." -msgstr "" - -#: ../build/NEWS:12602 -msgid "" -":issue:`37534`: When using minidom module to generate XML documents the " -"ability to add Standalone Document Declaration is added. All the changes are " -"made to generate a document in compliance with Extensible Markup Language " -"(XML) 1.0 (Fifth Edition) W3C Recommendation (available here: https://www.w3." -"org/TR/xml/#sec-prolog-dtd)." -msgstr "" - -#: ../build/NEWS:12608 -msgid "" -":issue:`34788`: Add support for scoped IPv6 addresses to :mod:`ipaddress`. " -"Patch by Oleksandr Pavliuk." -msgstr "" - -#: ../build/NEWS:12611 -msgid "" -":issue:`34822`: Simplified AST for subscription. Simple indices are now " -"represented by their value, extended slices are represented as tuples. :mod:" -"`ast` classes ``Index`` and ``ExtSlice`` are considered deprecated and will " -"be removed in future Python versions. In the meantime, ``Index(value)`` now " -"returns a ``value`` itself, ``ExtSlice(slices)`` returns ``Tuple(slices, " -"Load())``." -msgstr "" - -#: ../build/NEWS:12621 -msgid ":issue:`39868`: Updated the Language Reference for :pep:`572`." -msgstr "" - -#: ../build/NEWS:12623 -msgid ":issue:`13790`: Change 'string' to 'specification' in format doc." -msgstr "" - -#: ../build/NEWS:12625 -msgid "" -":issue:`17422`: The language reference no longer restricts default class " -"namespaces to dicts only." -msgstr "" - -#: ../build/NEWS:12628 -msgid "" -":issue:`39530`: Fix misleading documentation about mixed-type numeric " -"comparisons." -msgstr "" - -#: ../build/NEWS:12631 -msgid "" -":issue:`39718`: Update :mod:`token` documentation to reflect additions in " -"Python 3.8" -msgstr "" - -#: ../build/NEWS:12634 -msgid "" -":issue:`39677`: Changed operand name of **MAKE_FUNCTION** from *argc* to " -"*flags* for module :mod:`dis`" -msgstr "" - -#: ../build/NEWS:12640 -msgid "" -":issue:`40019`: test_gdb now skips tests if it detects that gdb failed to " -"read debug information because the Python binary is optimized." -msgstr "" - -#: ../build/NEWS:12643 -msgid "" -":issue:`27807`: ``test_site.test_startup_imports()`` is now skipped if a " -"path of :data:`sys.path` contains a ``.pth`` file." -msgstr "" - -#: ../build/NEWS:12646 -msgid "" -":issue:`26067`: Do not fail test_shutil test_chown test when uid or gid of " -"user cannot be resolved to a name." -msgstr "" - -#: ../build/NEWS:12649 -msgid "" -":issue:`39855`: test_subprocess.test_user() now skips the test on an user " -"name if the user name doesn't exist. For example, skip the test if the user " -"\"nobody\" doesn't exist on Linux." -msgstr "" - -#: ../build/NEWS:12656 -msgid ":issue:`39761`: Fix build with DTrace but without additional DFLAGS." -msgstr "" - -#: ../build/NEWS:12658 -msgid "" -":issue:`39763`: setup.py now uses a basic implementation of the :mod:" -"`subprocess` module if the :mod:`subprocess` module is not available: before " -"required C extension modules are built." -msgstr "" - -#: ../build/NEWS:12662 -msgid "" -":issue:`1294959`: Add ``--with-platlibdir`` option to the configure script: " -"name of the platform-specific library directory, stored in the new :attr:" -"`sys.platlibdir` attribute. It is used to build the path of platform-" -"specific extension modules and the path of the standard library. It is equal " -"to ``\"lib\"`` on most platforms. On Fedora and SuSE, it is equal to " -"``\"lib64\"`` on 64-bit platforms. Patch by Jan Matějek, Matěj Cepl, " -"Charalampos Stratakis and Victor Stinner." -msgstr "" - -#: ../build/NEWS:12673 -msgid "" -":issue:`39930`: Ensures the required :file:`vcruntime140.dll` is included in " -"install packages." -msgstr "" - -#: ../build/NEWS:12676 -msgid "" -":issue:`39847`: Avoid hang when computer is hibernated whilst waiting for a " -"mutex (for lock-related objects from :mod:`threading`) around 49-day uptime." -msgstr "" - -#: ../build/NEWS:12680 -msgid "" -":issue:`38597`: :mod:`distutils` will no longer statically link :file:" -"`vcruntime140.dll` when a redistributable version is unavailable. All future " -"releases of CPython will include a copy of this DLL to ensure distributed " -"extensions can continue to load." -msgstr "" - -#: ../build/NEWS:12685 -msgid ":issue:`38380`: Update Windows builds to use SQLite 3.31.1" -msgstr "" - -#: ../build/NEWS:12687 -msgid "" -":issue:`39789`: Update Windows release build machines to Visual Studio 2019 " -"(MSVC 14.2)." -msgstr "" - -#: ../build/NEWS:12690 -msgid "" -":issue:`34803`: Package for nuget.org now includes repository reference and " -"bundled icon image." -msgstr "" - -#: ../build/NEWS:12696 -msgid ":issue:`38380`: Update macOS builds to use SQLite 3.31.1" -msgstr "" - -#: ../build/NEWS:12701 -msgid "" -":issue:`27115`: For 'Go to Line', use a Query box subclass with IDLE " -"standard behavior and improved error checking." -msgstr "" - -#: ../build/NEWS:12704 -msgid "" -":issue:`39885`: Since clicking to get an IDLE context menu moves the cursor, " -"any text selection should be and now is cleared." -msgstr "" - -#: ../build/NEWS:12707 -msgid "" -":issue:`39852`: Edit \"Go to line\" now clears any selection, preventing " -"accidental deletion. It also updates Ln and Col on the status bar." -msgstr "" - -#: ../build/NEWS:12710 -msgid ":issue:`39781`: Selecting code context lines no longer causes a jump." -msgstr "" - -#: ../build/NEWS:12715 -msgid "" -":issue:`36184`: Port python-gdb.py to FreeBSD. python-gdb.py now checks for " -"\"take_gil\" function name to check if a frame tries to acquire the GIL, " -"instead of checking for \"pthread_cond_timedwait\" which is specific to " -"Linux and can be a different condition than the GIL." -msgstr "" - -#: ../build/NEWS:12720 -msgid "" -":issue:`38080`: Added support to fix ``getproxies`` in the :mod:`lib2to3." -"fixes.fix_urllib` module. Patch by José Roberto Meza Cabrera." -msgstr "" - -#: ../build/NEWS:12727 -msgid "" -":issue:`40024`: Add :c:func:`PyModule_AddType` helper function: add a type " -"to a module. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12730 -msgid "" -":issue:`39946`: Remove ``_PyRuntime.getframe`` hook and remove " -"``_PyThreadState_GetFrame`` macro which was an alias to ``_PyRuntime." -"getframe``. They were only exposed by the internal C API. Remove also " -"``PyThreadFrameGetter`` type." -msgstr "" - -#: ../build/NEWS:12735 -msgid "" -":issue:`39947`: Add :c:func:`PyThreadState_GetFrame` function: get the " -"current frame of a Python thread state." -msgstr "" - -#: ../build/NEWS:12738 -msgid "" -":issue:`37207`: Add _PyArg_NoKwnames helper function. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12740 -msgid "" -":issue:`39947`: Add :c:func:`PyThreadState_GetInterpreter`: get the " -"interpreter of a Python thread state." -msgstr "" - -#: ../build/NEWS:12743 -msgid "" -":issue:`39947`: Add :c:func:`PyInterpreterState_Get` function to the limited " -"C API." -msgstr "" - -#: ../build/NEWS:12746 -msgid "" -":issue:`35370`: If :c:func:`PySys_Audit` fails in :c:func:" -"`PyEval_SetProfile` or :c:func:`PyEval_SetTrace`, log the error as an " -"unraisable exception." -msgstr "" - -#: ../build/NEWS:12749 -msgid "" -":issue:`39947`: Move the static inline function flavor of " -"Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to the internal C API: " -"they access PyThreadState attributes. The limited C API provides regular " -"functions which hide implementation details." -msgstr "" - -#: ../build/NEWS:12754 -msgid "" -":issue:`39947`: Py_TRASHCAN_BEGIN_CONDITION and Py_TRASHCAN_END macro no " -"longer access PyThreadState attributes, but call new private " -"_PyTrash_begin() and _PyTrash_end() functions which hide implementation " -"details." -msgstr "" - -#: ../build/NEWS:12758 -msgid "" -":issue:`39884`: :c:func:`PyDescr_NewMethod` and :c:func:`PyCFunction_NewEx` " -"now include the method name in the SystemError \"bad call flags\" error " -"message to ease debug." -msgstr "" - -#: ../build/NEWS:12762 -msgid "" -":issue:`39877`: Deprecated :c:func:`PyEval_InitThreads` and :c:func:" -"`PyEval_ThreadsInitialized`. Calling :c:func:`PyEval_InitThreads` now does " -"nothing." -msgstr "" - -#: ../build/NEWS:12766 -msgid "" -":issue:`38249`: :c:macro:`Py_UNREACHABLE` is now implemented with " -"``__builtin_unreachable()`` and analogs in release mode." -msgstr "" - -#: ../build/NEWS:12769 -msgid "" -":issue:`38643`: :c:func:`PyNumber_ToBase` now raises a :exc:`SystemError` " -"instead of crashing when called with invalid base." -msgstr "" - -#: ../build/NEWS:12772 -msgid "" -":issue:`39882`: The :c:func:`Py_FatalError` function is replaced with a " -"macro which logs automatically the name of the current function, unless the " -"``Py_LIMITED_API`` macro is defined." -msgstr "" - -#: ../build/NEWS:12776 -msgid "" -":issue:`39824`: Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:" -"member:`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions " -"of :c:type:`PyModuleDef` are no longer called if the module state was " -"requested but is not allocated yet. This is the case immediately after the " -"module is created and before the module is executed (:c:data:`Py_mod_exec` " -"function). More precisely, these functions are not called if :c:member:" -"`~PyModuleDef.m_size` is greater than 0 and the module state (as returned " -"by :c:func:`PyModule_GetState`) is ``NULL``." -msgstr "" - -#: ../build/NEWS:12785 -msgid "" -"Extension modules without module state (``m_size <= 0``) are not affected." -msgstr "" - -#: ../build/NEWS:12787 -msgid "" -":issue:`38913`: Fixed segfault in ``Py_BuildValue()`` called with a format " -"containing \"#\" and undefined PY_SSIZE_T_CLEAN whwn an exception is set." -msgstr "" - -#: ../build/NEWS:12790 -msgid "" -":issue:`38500`: Add a private API to get and set the frame evaluation " -"function: add :c:func:`_PyInterpreterState_GetEvalFrameFunc` and :c:func:" -"`_PyInterpreterState_SetEvalFrameFunc` C functions. The :c:type:" -"`_PyFrameEvalFunction` function type now takes a *tstate* parameter." -msgstr "" - -#: ../build/NEWS:12798 -msgid "Python 3.9.0 alpha 4" -msgstr "" - -#: ../build/NEWS:12800 -msgid "*Release date: 2020-02-25*" -msgstr "" - -#: ../build/NEWS:12805 -msgid "" -":issue:`39184`: Add audit events to functions in `fcntl`, `msvcrt`, `os`, " -"`resource`, `shutil`, `signal` and `syslog`." -msgstr "" - -#: ../build/NEWS:12808 -msgid "" -":issue:`39401`: Avoid unsafe DLL load at startup on Windows 7 and earlier." -msgstr "" - -#: ../build/NEWS:12810 -msgid "" -":issue:`39184`: Add audit events to command execution functions in os and " -"pty modules." -msgstr "" - -#: ../build/NEWS:12816 -msgid "" -":issue:`39382`: Fix a use-after-free in the single inheritance path of " -"``issubclass()``, when the ``__bases__`` of an object has a single " -"reference, and so does its first item. Patch by Yonatan Goldschmidt." -msgstr "" - -#: ../build/NEWS:12820 -msgid "" -":issue:`39573`: Update clinic tool to use :c:func:`Py_IS_TYPE`. Patch by " -"Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12823 -msgid ":issue:`39619`: Enable use of :func:`os.chroot` on HP-UX systems." -msgstr "" - -#: ../build/NEWS:12825 -msgid "" -":issue:`39573`: Add :c:func:`Py_IS_TYPE` static inline function to check " -"whether the object *o* type is *type*." -msgstr "" - -#: ../build/NEWS:12828 -msgid "" -":issue:`39606`: Fix regression caused by fix for :issue:`39386`, that " -"prevented calling ``aclose`` on an async generator that had already been " -"closed or exhausted." -msgstr "" - -#: ../build/NEWS:12832 -msgid "" -":issue:`39579`: Change the ending column offset of `Attribute` nodes " -"constructed in `ast_for_dotted_name` to point at the end of the current node " -"and not at the end of the last `NAME` node." -msgstr "" - -#: ../build/NEWS:12836 -msgid "" -":issue:`1635741`: Port _crypt extension module to multiphase initialization " -"(:pep:`489`)." -msgstr "" - -#: ../build/NEWS:12839 -msgid "" -":issue:`1635741`: Port _contextvars extension module to multiphase " -"initialization (:pep:`489`)." -msgstr "" - -#: ../build/NEWS:12842 -msgid "" -":issue:`39510`: Fix segfault in ``readinto()`` method on closed " -"BufferedReader." -msgstr "" - -#: ../build/NEWS:12844 -msgid "" -":issue:`39502`: Fix :func:`time.localtime` on 64-bit AIX to support years " -"before 1902 and after 2038. Patch by M Felt." -msgstr "" - -#: ../build/NEWS:12847 -msgid "" -":issue:`39492`: Fix a reference cycle in the C Pickler that was preventing " -"the garbage collection of deleted, pickled objects." -msgstr "" - -#: ../build/NEWS:12850 -msgid "" -":issue:`39453`: Fixed a possible crash in :meth:`list.__contains__` when a " -"list is changed during comparing items. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12853 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:12857 -msgid "" -":issue:`1635741`: Port _codecs extension module to multiphase initialization " -"(:pep:`489`)." -msgstr "" - -#: ../build/NEWS:12860 -msgid "" -":issue:`1635741`: Port _bz2 extension module to multiphase initialization (:" -"pep:`489`)." -msgstr "" - -#: ../build/NEWS:12863 -msgid "" -":issue:`1635741`: Port _abc extension module to multiphase initialization (:" -"pep:`489`)." -msgstr "" - -#: ../build/NEWS:12866 -msgid "" -":issue:`39320`: Replace two complex bytecodes for building dicts with two " -"simpler ones. The new bytecodes ``DICT_MERGE`` and ``DICT_UPDATE`` have been " -"added The old bytecodes ``BUILD_MAP_UNPACK`` and " -"``BUILD_MAP_UNPACK_WITH_CALL`` have been removed." -msgstr "" - -#: ../build/NEWS:12871 -msgid "" -":issue:`39219`: Syntax errors raised in the tokenizer now always set correct " -"\"text\" and \"offset\" attributes." -msgstr "" - -#: ../build/NEWS:12874 -msgid "" -":issue:`36051`: Drop the GIL during large ``bytes.join`` operations. Patch " -"by Bruce Merry." -msgstr "" - -#: ../build/NEWS:12877 -msgid "" -":issue:`38960`: Fix DTrace build issues on FreeBSD. Patch by David Carlier." -msgstr "" - -#: ../build/NEWS:12879 -msgid "" -":issue:`37207`: Speed up calls to ``range()`` by about 30%, by using the PEP " -"590 ``vectorcall`` calling convention. Patch by Mark Shannon." -msgstr "" - -#: ../build/NEWS:12882 -msgid "" -":issue:`36144`: :class:`dict` (and :class:`collections.UserDict`) objects " -"now support PEP 584's merge (``|``) and update (``|=``) operators. Patch by " -"Brandt Bucher." -msgstr "" - -#: ../build/NEWS:12886 -msgid "" -":issue:`32856`: Optimized the idiom for assignment a temporary variable in " -"comprehensions. Now ``for y in [expr]`` in comprehensions is as fast as a " -"simple assignment ``y = expr``." -msgstr "" - -#: ../build/NEWS:12893 -msgid "" -":issue:`30566`: Fix :exc:`IndexError` when trying to decode an invalid " -"string with punycode codec." -msgstr "" - -#: ../build/NEWS:12896 -msgid "" -":issue:`39649`: Remove obsolete check for `__args__` in bdb.Bdb." -"format_stack_entry." -msgstr "" - -#: ../build/NEWS:12899 -msgid "" -":issue:`39648`: Expanded :func:`math.gcd` and :func:`math.lcm` to handle " -"multiple arguments." -msgstr "" - -#: ../build/NEWS:12902 -msgid "" -":issue:`39681`: Fix a regression where the C pickle module wouldn't allow " -"unpickling from a file-like object that doesn't expose a readinto() method." -msgstr "" - -#: ../build/NEWS:12906 -msgid "" -":issue:`35950`: Raise :exc:`io.UnsupportedOperation` in :meth:`io." -"BufferedReader.truncate` when it is called on a read-only :class:`io." -"BufferedReader` instance." -msgstr "" - -#: ../build/NEWS:12910 -msgid ":issue:`39479`: Add :func:`math.lcm` function: least common multiple." -msgstr "" - -#: ../build/NEWS:12912 -msgid "" -":issue:`39674`: Revert \"Do not expose abstract collection classes in the " -"collections module\" change (:issue:`25988`). Aliases to ABC like " -"collections.Mapping are kept in Python 3.9 to ease transition from Python " -"2.7, but will be removed in Python 3.10." -msgstr "" - -#: ../build/NEWS:12917 -msgid "" -":issue:`39104`: Fix hanging ProcessPoolExcutor on ``shutdown(wait=False)`` " -"when a task has failed pickling." -msgstr "" - -#: ../build/NEWS:12920 -msgid ":issue:`39627`: Fixed TypedDict totality check for inherited keys." -msgstr "" - -#: ../build/NEWS:12922 -msgid "" -":issue:`39474`: Fixed starting position of AST for expressions like ``(a)" -"(b)``, ``(a)[b]`` and ``(a).b``." -msgstr "" - -#: ../build/NEWS:12925 -msgid "" -":issue:`21016`: The :mod:`pydoc` and :mod:`trace` modules now use the :mod:" -"`sysconfig` module to get the path to the Python standard library, to " -"support uncommon installation path like ``/usr/lib64/python3.9/`` on Fedora. " -"Patch by Jan Matějek." -msgstr "" - -#: ../build/NEWS:12930 -msgid "" -":issue:`39590`: Collections.deque now holds strong references during deque." -"__contains__ and deque.count, fixing crashes." -msgstr "" - -#: ../build/NEWS:12933 -msgid "" -":issue:`39586`: The distutils ``bdist_msi`` command is deprecated in Python " -"3.9, use ``bdist_wheel`` (wheel packages) instead." -msgstr "" - -#: ../build/NEWS:12936 -msgid "" -":issue:`39595`: Improved performance of zipfile.Path for files with a large " -"number of entries. Also improved performance and fixed minor issue as " -"published with `importlib_metadata 1.5 `_." -msgstr "" - -#: ../build/NEWS:12941 -msgid "" -":issue:`39350`: Fix regression in :class:`fractions.Fraction` if the " -"numerator and/or the denominator is an :class:`int` subclass. The :func:" -"`math.gcd` function is now used to normalize the *numerator* and " -"*denominator*. :func:`math.gcd` always return a :class:`int` type. " -"Previously, the GCD type depended on *numerator* and *denominator*." -msgstr "" - -#: ../build/NEWS:12947 -msgid "" -":issue:`39567`: Added audit for :func:`os.walk`, :func:`os.fwalk`, :meth:" -"`pathlib.Path.glob` and :meth:`pathlib.Path.rglob`." -msgstr "" - -#: ../build/NEWS:12950 -msgid "" -":issue:`39559`: Remove unused, undocumented argument ``getters`` from :func:" -"`uuid.getnode`" -msgstr "" - -#: ../build/NEWS:12953 -msgid "" -":issue:`38149`: :func:`sys.audit` is now called only once per call of :func:" -"`glob.glob` and :func:`glob.iglob`." -msgstr "" - -#: ../build/NEWS:12956 -msgid "" -":issue:`39546`: Fix a regression in :class:`~argparse.ArgumentParser` where " -"``allow_abbrev=False`` was ignored for long options that used a prefix " -"character other than \"-\"." -msgstr "" - -#: ../build/NEWS:12960 -msgid "" -":issue:`39450`: Striped whitespace from docstring before returning it from :" -"func:`unittest.case.shortDescription`." -msgstr "" - -#: ../build/NEWS:12963 -msgid "" -":issue:`12915`: A new function ``resolve_name`` has been added to the " -"``pkgutil`` module. This resolves a string of the form ``'a.b.c.d'`` or ``'a." -"b:c.d'`` to an object. In the example, ``a.b`` is a package/module and ``c." -"d`` is an object within that package/module reached via recursive attribute " -"access." -msgstr "" - -#: ../build/NEWS:12969 -msgid "" -":issue:`39353`: The :func:`binascii.crc_hqx` function is no longer " -"deprecated." -msgstr "" - -#: ../build/NEWS:12971 -msgid ":issue:`39493`: Mark ``typing.IO.closed`` as a property" -msgstr "" - -#: ../build/NEWS:12973 -msgid "" -":issue:`39491`: Add :data:`typing.Annotated` and ``include_extras`` " -"parameter to :func:`typing.get_type_hints` as part of :pep:`593`. Patch by " -"Till Varoquaux, documentation by Till Varoquaux and Konstantin Kashin." -msgstr "" - -#: ../build/NEWS:12977 -msgid "" -":issue:`39485`: Fix a bug in :func:`unittest.mock.create_autospec` that " -"would complain about the wrong number of arguments for custom descriptors " -"defined in an extension module returning functions." -msgstr "" - -#: ../build/NEWS:12981 -msgid "" -":issue:`38932`: Mock fully resets child objects on reset_mock(). Patch by " -"Vegard Stikbakke" -msgstr "" - -#: ../build/NEWS:12984 -msgid ":issue:`39082`: Allow AsyncMock to correctly patch static/class methods" -msgstr "" - -#: ../build/NEWS:12986 -msgid "" -":issue:`39432`: Implement PEP-489 algorithm for non-ascii \"PyInit\\_...\" " -"symbol names in distutils to make it export the correct init symbol also on " -"Windows." -msgstr "" - -#: ../build/NEWS:12990 -msgid "" -":issue:`18819`: Omit ``devmajor`` and ``devminor`` fields for non-device " -"files in :mod:`tarfile` archives, enabling bit-for-bit compatibility with " -"GNU ``tar(1)``." -msgstr "" - -#: ../build/NEWS:12994 -msgid "" -":issue:`39349`: Added a new *cancel_futures* parameter to :meth:`concurrent." -"futures.Executor.shutdown` that cancels all pending futures which have not " -"started running, instead of waiting for them to complete before shutting " -"down the executor." -msgstr "" - -#: ../build/NEWS:12999 -msgid "" -":issue:`39274`: ``bool(fraction.Fraction)`` now returns a boolean even if " -"(numerator != 0) does not return a boolean (ex: numpy number)." -msgstr "" - -#: ../build/NEWS:13002 -msgid "" -":issue:`34793`: Remove support for ``with (await asyncio.lock):`` and ``with " -"(yield from asyncio.lock):``. The same is correct for ``asyncio.Condition`` " -"and ``asyncio.Semaphore``." -msgstr "" - -#: ../build/NEWS:13006 -msgid "" -":issue:`25597`: Ensure, if ``wraps`` is supplied to :class:`unittest.mock." -"MagicMock`, it is used to calculate return values for the magic methods " -"instead of using the default return values. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:13011 -msgid "" -":issue:`36350`: `inspect.Signature.parameters` and `inspect.BoundArguments." -"arguments` are now dicts instead of OrderedDicts. Patch contributed by Rémi " -"Lapeyre." -msgstr "" - -#: ../build/NEWS:13015 -msgid "" -":issue:`35727`: Fix sys.exit() and sys.exit(None) exit code propagation when " -"used in multiprocessing.Process." -msgstr "" - -#: ../build/NEWS:13018 -msgid "" -":issue:`32173`: * Add `lazycache` function to `__all__`. * Use `dict.clear` " -"to clear the cache. * Refactoring `getline` function and `checkcache` " -"function." -msgstr "" - -#: ../build/NEWS:13025 -msgid "" -":issue:`17422`: The language reference now specifies restrictions on class " -"namespaces. Adapted from a patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:13028 -msgid "" -":issue:`39572`: Updated documentation of ``total`` flag of ``TypedDict``." -msgstr "" - -#: ../build/NEWS:13030 -msgid "" -":issue:`39654`: In pyclbr doc, update 'class' to 'module' where appropriate " -"and add readmodule comment. Patch by Hakan Çelik." -msgstr "" - -#: ../build/NEWS:13033 -msgid "" -":issue:`39153`: Clarify refcounting semantics for the following functions: - " -"PyObject_SetItem - PyMapping_SetItemString - PyDict_SetItem - " -"PyDict_SetItemString" -msgstr "" - -#: ../build/NEWS:13037 -msgid "" -":issue:`39392`: Explain that when filling with turtle, overlap regions may " -"be left unfilled." -msgstr "" - -#: ../build/NEWS:13040 -msgid "" -":issue:`39369`: Update mmap readline method description. The fact that the " -"readline method does update the file position should not be ignored since " -"this might give the impression for the programmer that it doesn't update it." -msgstr "" - -#: ../build/NEWS:13045 -msgid ":issue:`9056`: Include subsection in TOC for PDF version of docs." -msgstr "" - -#: ../build/NEWS:13050 -msgid ":issue:`38325`: Skip tests on non-BMP characters of test_winconsoleio." -msgstr "" - -#: ../build/NEWS:13052 -msgid "" -":issue:`39502`: Skip test_zipfile.test_add_file_after_2107() if :func:`time." -"localtime` fails with :exc:`OverflowError`. It is the case on AIX 6.1 for " -"example." -msgstr "" - -#: ../build/NEWS:13059 -msgid ":issue:`39489`: Remove ``COUNT_ALLOCS`` special build." -msgstr "" - -#: ../build/NEWS:13064 -msgid ":issue:`39553`: Delete unused code related to SxS manifests." -msgstr "" - -#: ../build/NEWS:13066 -msgid "" -":issue:`39439`: Honor the Python path when a virtualenv is active on Windows." -msgstr "" - -#: ../build/NEWS:13068 -msgid "" -":issue:`39393`: Improve the error message when attempting to load a DLL with " -"unresolved dependencies." -msgstr "" - -#: ../build/NEWS:13071 -msgid "" -":issue:`38883`: :meth:`~pathlib.Path.home()` and :meth:`~pathlib.Path." -"expanduser()` on Windows now prefer :envvar:`USERPROFILE` and no longer use :" -"envvar:`HOME`, which is not normally set for regular user accounts. This " -"makes them again behave like :func:`os.path.expanduser`, which was changed " -"to ignore :envvar:`HOME` in 3.8, see :issue:`36264`." -msgstr "" - -#: ../build/NEWS:13078 -msgid "" -":issue:`39185`: The build.bat script has additional options for very-quiet " -"output (-q) and very-verbose output (-vv)" -msgstr "" - -#: ../build/NEWS:13084 -msgid ":issue:`39663`: Add tests for pyparse find_good_parse_start()." -msgstr "" - -#: ../build/NEWS:13086 -msgid "" -":issue:`39600`: In the font configuration window, remove duplicated font " -"names." -msgstr "" - -#: ../build/NEWS:13088 -msgid "" -":issue:`30780`: Add remaining configdialog tests for buttons and highlights " -"and keys tabs." -msgstr "" - -#: ../build/NEWS:13091 -msgid ":issue:`39388`: IDLE Settings Cancel button now cancels pending changes" -msgstr "" - -#: ../build/NEWS:13093 -msgid "" -":issue:`38792`: Close an IDLE shell calltip if a :exc:`KeyboardInterrupt` or " -"shell restart occurs. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:13099 -msgid "" -":issue:`35081`: Move the ``bytes_methods.h`` header file to the internal C " -"API as ``pycore_bytes_methods.h``: it only contains private symbols " -"(prefixed by ``_Py``), except of the ``PyDoc_STRVAR_shared()`` macro." -msgstr "" - -#: ../build/NEWS:13103 -msgid "" -":issue:`35081`: Move the ``dtoa.h`` header file to the internal C API as " -"``pycore_dtoa.h``: it only contains private functions (prefixed by ``_Py``). " -"The :mod:`math` and :mod:`cmath` modules must now be compiled with the " -"``Py_BUILD_CORE`` macro defined." -msgstr "" - -#: ../build/NEWS:13108 -msgid "" -":issue:`39573`: Add :c:func:`Py_SET_SIZE` function to set the size of an " -"object." -msgstr "" - -#: ../build/NEWS:13111 -msgid "" -":issue:`39500`: :c:func:`PyUnicode_IsIdentifier` does not call :c:func:" -"`Py_FatalError` anymore if the string is not ready." -msgstr "" - -#: ../build/NEWS:13114 -msgid "" -":issue:`39573`: Add :c:func:`Py_SET_TYPE` function to set the type of an " -"object." -msgstr "" - -#: ../build/NEWS:13117 -msgid "" -":issue:`39573`: Add a :c:func:`Py_SET_REFCNT` function to set the reference " -"counter of an object." -msgstr "" - -#: ../build/NEWS:13120 -msgid "" -":issue:`39542`: Convert :c:func:`PyType_HasFeature`, :c:func:`PyType_Check` " -"and :c:func:`PyType_CheckExact` macros to static inline functions." -msgstr "" - -#: ../build/NEWS:13123 -msgid "" -":issue:`39542`: In the limited C API, ``PyObject_INIT()`` and " -"``PyObject_INIT_VAR()`` are now defined as aliases to :c:func:" -"`PyObject_Init` and :c:func:`PyObject_InitVar` to make their implementation " -"opaque. It avoids to leak implementation details in the limited C API. " -"Exclude the following functions from the limited C API: " -"``_Py_NewReference()``, ``_Py_ForgetReference()``, " -"``_PyTraceMalloc_NewReference()`` and ``_Py_GetRefTotal()``." -msgstr "" - -#: ../build/NEWS:13131 -msgid "" -":issue:`39542`: Exclude trashcan mechanism from the limited C API: it " -"requires access to PyTypeObject and PyThreadState structure fields, whereas " -"these structures are opaque in the limited C API." -msgstr "" - -#: ../build/NEWS:13135 -msgid "" -":issue:`39511`: The :c:func:`PyThreadState_Clear` function now calls the :c:" -"member:`PyThreadState.on_delete` callback. Previously, that happened in :c:" -"func:`PyThreadState_Delete`." -msgstr "" - -#: ../build/NEWS:13139 -msgid "" -":issue:`38076`: Fix to clear the interpreter state only after clearing " -"module globals to guarantee module state access from C Extensions during " -"runtime destruction" -msgstr "" - -#: ../build/NEWS:13143 -msgid "" -":issue:`39245`: The Vectorcall API (PEP 590) was made public, adding the " -"functions ``PyObject_Vectorcall``, ``PyObject_VectorcallMethod``, " -"``PyVectorcall_Function``, ``PyObject_CallOneArg``, " -"``PyObject_CallMethodNoArgs``, ``PyObject_CallMethodOneArg``, " -"``PyObject_FastCallDict``, and the flag ``Py_TPFLAGS_HAVE_VECTORCALL``." -msgstr "" - -#: ../build/NEWS:13151 -msgid "Python 3.9.0 alpha 3" -msgstr "" - -#: ../build/NEWS:13153 -msgid "*Release date: 2020-01-24*" -msgstr "" - -#: ../build/NEWS:13158 -msgid "" -":issue:`39427`: Document all possibilities for the ``-X`` options in the " -"command line help section. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13161 -msgid "" -":issue:`39421`: Fix possible crashes when operating with the functions in " -"the :mod:`heapq` module and custom comparison operators." -msgstr "" - -#: ../build/NEWS:13164 -msgid ":issue:`39386`: Prevent double awaiting of async iterator." -msgstr "" - -#: ../build/NEWS:13166 -msgid "" -":issue:`17005`: Add :class:`functools.TopologicalSorter` to the :mod:" -"`functools` module to offers functionality to perform topological sorting of " -"graphs. Patch by Pablo Galindo, Tim Peters and Larry Hastings." -msgstr "" - -#: ../build/NEWS:13170 -msgid "" -":issue:`39320`: Replace four complex bytecodes for building sequences with " -"three simpler ones." -msgstr "" - -#: ../build/NEWS:13173 -msgid "The following four bytecodes have been removed:" -msgstr "" - -#: ../build/NEWS:13175 -msgid "BUILD_LIST_UNPACK" -msgstr "" - -#: ../build/NEWS:13176 -msgid "BUILD_TUPLE_UNPACK" -msgstr "" - -#: ../build/NEWS:13177 -msgid "BUILD_SET_UNPACK" -msgstr "" - -#: ../build/NEWS:13178 -msgid "BUILD_TUPLE_UNPACK_WITH_CALL" -msgstr "" - -#: ../build/NEWS:13180 -msgid "The following three bytecodes have been added:" -msgstr "" - -#: ../build/NEWS:13182 -msgid "LIST_TO_TUPLE" -msgstr "" - -#: ../build/NEWS:13183 -msgid "LIST_EXTEND" -msgstr "" - -#: ../build/NEWS:13184 -msgid "SET_UPDATE" -msgstr "" - -#: ../build/NEWS:13186 -msgid "" -":issue:`39336`: Import loaders which publish immutable module objects can " -"now publish immutable packages in addition to individual modules." -msgstr "" - -#: ../build/NEWS:13189 -msgid "" -":issue:`39322`: Added a new function :func:`gc.is_finalized` to check if an " -"object has been finalized by the garbage collector. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13193 -msgid "" -":issue:`39048`: Improve the displayed error message when incorrect types are " -"passed to ``async with`` statements by looking up the :meth:`__aenter__` " -"special method before the :meth:`__aexit__` special method when entering an " -"asynchronous context manager. Patch by Géry Ogam." -msgstr "" - -#: ../build/NEWS:13198 -msgid "" -":issue:`39235`: Fix AST end location for lone generator expression in " -"function call, e.g. f(i for i in a)." -msgstr "" - -#: ../build/NEWS:13201 -msgid "" -":issue:`39209`: Correctly handle multi-line tokens in interactive mode. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13204 -msgid "" -":issue:`1635741`: Port _json extension module to multiphase initialization (:" -"pep:`489`)." -msgstr "" - -#: ../build/NEWS:13207 -msgid "" -":issue:`39216`: Fix constant folding optimization for positional only " -"arguments - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:13210 -msgid "" -":issue:`39215`: Fix ``SystemError`` when nested function has annotation on " -"positional-only argument - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:13213 -msgid "" -":issue:`39200`: Correct the error message when calling the :func:`min` or :" -"func:`max` with no arguments. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13216 -msgid "" -":issue:`39200`: Correct the error message when trying to construct :class:" -"`range` objects with no arguments. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13219 -msgid "" -":issue:`39166`: Fix incorrect line execution reporting in trace functions " -"when tracing the last iteration of asynchronous for loops. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:13223 -msgid "" -":issue:`39114`: Fix incorrect line execution reporting in trace functions " -"when tracing exception handlers with name binding. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13226 -msgid "" -":issue:`39156`: Split the COMPARE_OP bytecode instruction into four distinct " -"instructions." -msgstr "" - -#: ../build/NEWS:13229 -msgid "COMPARE_OP for rich comparisons" -msgstr "" - -#: ../build/NEWS:13230 -msgid "IS_OP for 'is' and 'is not' tests" -msgstr "" - -#: ../build/NEWS:13231 -msgid "CONTAINS_OP for 'in' and 'is not' tests" -msgstr "" - -#: ../build/NEWS:13232 -msgid "" -"JUMP_IF_NOT_EXC_MATCH for checking exceptions in 'try-except' statements." -msgstr "" - -#: ../build/NEWS:13234 -msgid "" -"This improves the clarity of the interpreter and should provide a modest " -"speedup." -msgstr "" - -#: ../build/NEWS:13237 -msgid "" -":issue:`38588`: Fix possible crashes in dict and list when calling :c:func:" -"`PyObject_RichCompareBool`." -msgstr "" - -#: ../build/NEWS:13240 -msgid "" -":issue:`13601`: By default, ``sys.stderr`` is line-buffered now, even if " -"``stderr`` is redirected to a file. You can still make ``sys.stderr`` " -"unbuffered by passing the :option:`-u` command-line option or setting the :" -"envvar:`PYTHONUNBUFFERED` environment variable." -msgstr "" - -#: ../build/NEWS:13245 -msgid "(Contributed by Jendrik Seipp in :issue:`13601`.)" -msgstr "" - -#: ../build/NEWS:13247 -msgid "" -":issue:`38610`: Fix possible crashes in several list methods by holding " -"strong references to list elements when calling :c:func:" -"`PyObject_RichCompareBool`." -msgstr "" - -#: ../build/NEWS:13251 -msgid ":issue:`32021`: Include brotli .br encoding in mimetypes encodings_map" -msgstr "" - -#: ../build/NEWS:13256 -msgid ":issue:`39430`: Fixed race condition in lazy imports in :mod:`tarfile`." -msgstr "" - -#: ../build/NEWS:13258 -msgid "" -":issue:`39413`: The :func:`os.unsetenv` function is now also available on " -"Windows." -msgstr "" - -#: ../build/NEWS:13261 -msgid "" -":issue:`39390`: Fixed a regression with the `ignore` callback of :func:" -"`shutil.copytree`. The argument types are now str and List[str] again." -msgstr "" - -#: ../build/NEWS:13265 -msgid "" -":issue:`39395`: The :func:`os.putenv` and :func:`os.unsetenv` functions are " -"now always available." -msgstr "" - -#: ../build/NEWS:13268 -msgid "" -":issue:`39406`: If ``setenv()`` C function is available, :func:`os.putenv` " -"is now implemented with ``setenv()`` instead of ``putenv()``, so Python " -"doesn't have to handle the environment variable memory." -msgstr "" - -#: ../build/NEWS:13272 -msgid ":issue:`39396`: Fix ``math.nextafter(-0.0, +0.0)`` on AIX 7.1." -msgstr "" - -#: ../build/NEWS:13274 -msgid "" -":issue:`29435`: Allow :func:`tarfile.is_tarfile` to be used with file and " -"file-like objects, like :func:`zipfile.is_zipfile`. Patch by William " -"Woodruff." -msgstr "" - -#: ../build/NEWS:13278 -msgid "" -":issue:`39377`: Removed ``encoding`` option from :func:`json.loads`. It has " -"been deprecated since Python 3.1." -msgstr "" - -#: ../build/NEWS:13281 -msgid "" -":issue:`39389`: Write accurate compression level metadata in :mod:`gzip` " -"archives, rather than always signaling maximum compression." -msgstr "" - -#: ../build/NEWS:13284 -msgid "" -":issue:`39366`: The previously deprecated ``xpath()`` and ``xgtitle()`` " -"methods of :class:`nntplib.NNTP` have been removed." -msgstr "" - -#: ../build/NEWS:13287 -msgid "" -":issue:`39357`: Remove the *buffering* parameter of :class:`bz2.BZ2File`. " -"Since Python 3.0, it was ignored and using it was emitting :exc:" -"`DeprecationWarning`. Pass an open file object, to control how the file is " -"opened. The *compresslevel* parameter becomes keyword-only." -msgstr "" - -#: ../build/NEWS:13292 -msgid "" -":issue:`39353`: Deprecate binhex4 and hexbin4 standards. Deprecate the :mod:" -"`binhex` module and the following :mod:`binascii` functions: :func:" -"`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`, :func:`~binascii." -"rlecode_hqx`, :func:`~binascii.rledecode_hqx`, :func:`~binascii.crc_hqx`." -msgstr "" - -#: ../build/NEWS:13298 -msgid "" -":issue:`39351`: Remove ``base64.encodestring()`` and ``base64." -"decodestring()``, aliases deprecated since Python 3.1: use :func:`base64." -"encodebytes` and :func:`base64.decodebytes` instead." -msgstr "" - -#: ../build/NEWS:13302 -msgid "" -":issue:`39350`: Remove ``fractions.gcd()`` function, deprecated since Python " -"3.5 (:issue:`22486`): use :func:`math.gcd` instead." -msgstr "" - -#: ../build/NEWS:13305 -msgid "" -":issue:`39329`: :class:`~smtplib.LMTP` constructor now has an optional " -"*timeout* parameter. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13308 -msgid "" -":issue:`39313`: Add a new ``exec_function`` option (*--exec-function* in the " -"CLI) to ``RefactoringTool`` for making ``exec`` a function. Patch by Batuhan " -"Taskaya." -msgstr "" - -#: ../build/NEWS:13312 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13316 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13320 -msgid "" -":issue:`39310`: Add :func:`math.ulp`: return the value of the least " -"significant bit of a float." -msgstr "" - -#: ../build/NEWS:13323 -msgid "" -":issue:`39297`: Improved performance of importlib.metadata distribution " -"discovery and resilients to inaccessible sys.path entries " -"(importlib_metadata v1.4.0)." -msgstr "" - -#: ../build/NEWS:13327 -msgid "" -":issue:`39259`: :class:`~nntplib.NNTP` and :class:`~nntplib.NNTP_SSL` now " -"raise a :class:`ValueError` if the given timeout for their constructor is " -"zero to prevent the creation of a non-blocking socket. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13331 -msgid "" -":issue:`38901`: When you specify prompt='.' or equivalently python -m venv --" -"prompt . ... the basename of the current directory is used to set the " -"created venv's prompt when it's activated." -msgstr "" - -#: ../build/NEWS:13335 -msgid "" -":issue:`39288`: Add :func:`math.nextafter`: return the next floating-point " -"value after *x* towards *y*." -msgstr "" - -#: ../build/NEWS:13338 -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 Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13342 -msgid "" -":issue:`39242`: Updated the Gmane domain from news.gmane.org to news.gmane." -"io which is used for examples of :class:`~nntplib.NNTP` news reader server " -"and nntplib tests." -msgstr "" - -#: ../build/NEWS:13346 -msgid "" -":issue:`35292`: Proxy the `SimpleHTTPRequestHandler.guess_type` to " -"`mimetypes.guess_type` so the `mimetypes.init` is called lazily to avoid " -"unnecessary costs when :mod:`http.server` module is imported." -msgstr "" - -#: ../build/NEWS:13350 -msgid "" -":issue:`39239`: The :meth:`select.epoll.unregister` method no longer ignores " -"the :data:`~errno.EBADF` error." -msgstr "" - -#: ../build/NEWS:13353 -msgid "" -":issue:`38907`: In http.server script, restore binding to IPv4 on Windows." -msgstr "" - -#: ../build/NEWS:13355 -msgid "" -":issue:`39152`: Fix ttk.Scale.configure([name]) to return configuration " -"tuple for name or all options. Giovanni Lombardo contributed part of the " -"patch." -msgstr "" - -#: ../build/NEWS:13358 -msgid "" -":issue:`39198`: If an exception were to be thrown in `Logger.isEnabledFor` " -"(say, by asyncio timeouts or stopit) , the `logging` global lock may not be " -"released appropriately, resulting in deadlock. This change wraps that block " -"of code with `try...finally` to ensure the lock is released." -msgstr "" - -#: ../build/NEWS:13363 -msgid "" -":issue:`39191`: Perform a check for running loop before starting a new task " -"in ``loop.run_until_complete()`` to fail fast; it prevents the side effect " -"of new task spawning before exception raising." -msgstr "" - -#: ../build/NEWS:13367 -msgid "" -":issue:`38871`: Correctly parenthesize filter-based statements that contain " -"lambda expressions in mod:`lib2to3`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:13370 -msgid "" -":issue:`39142`: A change was made to logging.config.dictConfig to avoid " -"converting instances of named tuples to ConvertingTuple. It's assumed that " -"named tuples are too specialised to be treated like ordinary tuples; if a " -"user of named tuples requires ConvertingTuple functionality, they will have " -"to implement that themselves in their named tuple class." -msgstr "" - -#: ../build/NEWS:13376 -msgid ":issue:`39158`: ast.literal_eval() now supports empty sets." -msgstr "" - -#: ../build/NEWS:13378 -msgid ":issue:`39129`: Fix import path for ``asyncio.TimeoutError``" -msgstr "" - -#: ../build/NEWS:13380 -msgid "" -":issue:`39057`: :func:`urllib.request.proxy_bypass_environment` now ignores " -"leading dots and no longer ignores a trailing newline." -msgstr "" - -#: ../build/NEWS:13383 -msgid "" -":issue:`39056`: Fixed handling invalid warning category in the -W option. " -"No longer import the re module if it is not needed." -msgstr "" - -#: ../build/NEWS:13386 -msgid "" -":issue:`39055`: :func:`base64.b64decode` with ``validate=True`` raises now a " -"binascii.Error if the input ends with a single ``\\n``." -msgstr "" - -#: ../build/NEWS:13389 -msgid "" -":issue:`21600`: Fix :func:`mock.patch.stopall` to stop active patches that " -"were created with :func:`mock.patch.dict`." -msgstr "" - -#: ../build/NEWS:13392 -msgid "" -":issue:`39019`: Implement dummy ``__class_getitem__`` for :class:`tempfile." -"SpooledTemporaryFile`." -msgstr "" - -#: ../build/NEWS:13395 -msgid "" -":issue:`39019`: Implement dummy ``__class_getitem__`` for ``subprocess." -"Popen``, ``subprocess.CompletedProcess``" -msgstr "" - -#: ../build/NEWS:13398 -msgid "" -":issue:`38914`: Adjusted the wording of the warning issued by distutils' " -"``check`` command when the ``author`` and ``maintainer`` fields are supplied " -"but no corresponding e-mail field (``author_email`` or ``maintainer_email``) " -"is found. The wording now reflects the fact that these fields are suggested, " -"but not required. Patch by Juergen Gmach." -msgstr "" - -#: ../build/NEWS:13404 -msgid "" -":issue:`38878`: Fixed __subclasshook__ of :class:`os.PathLike` to return a " -"correct result upon inheritance. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:13407 -msgid "" -":issue:`38615`: :class:`~imaplib.IMAP4` and :class:`~imaplib.IMAP4_SSL` now " -"have an optional *timeout* parameter for their constructors. Also, the :meth:" -"`~imaplib.IMAP4.open` method now has an optional *timeout* parameter with " -"this change. The overridden methods of :class:`~imaplib.IMAP4_SSL` and :" -"class:`~imaplib.IMAP4_stream` were applied to this change. Patch by Dong-hee " -"Na." -msgstr "" - -#: ../build/NEWS:13414 -msgid "" -":issue:`35182`: Fixed :func:`Popen.communicate` subsequent call crash when " -"the child process has already closed any piped standard stream, but still " -"continues to be running. Patch by Andriy Maletsky." -msgstr "" - -#: ../build/NEWS:13418 -msgid "" -":issue:`38630`: On Unix, :meth:`subprocess.Popen.send_signal` now polls the " -"process status. Polling reduces the risk of sending a signal to the wrong " -"process if the process completed, the :attr:`subprocess.Popen.returncode` " -"attribute is still ``None``, and the pid has been reassigned (recycled) to a " -"new different process." -msgstr "" - -#: ../build/NEWS:13424 -msgid "" -":issue:`38536`: Removes trailing space in formatted currency with " -"`international=True` and a locale with symbol following value. E.g. `locale." -"currency(12.34, international=True)` returned `'12,34 EUR '` instead of " -"`'12,34 EUR'`." -msgstr "" - -#: ../build/NEWS:13429 -msgid "" -":issue:`38473`: Use signature from inner mock for autospecced methods " -"attached with :func:`unittest.mock.attach_mock`. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:13432 -msgid "" -":issue:`38361`: Fixed an issue where ``ident`` could include a leading path " -"separator when :func:`syslog.openlog` was called without arguments." -msgstr "" - -#: ../build/NEWS:13435 -msgid "" -":issue:`38293`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to :" -"func:`property` objects." -msgstr "" - -#: ../build/NEWS:13438 -msgid "" -":issue:`37958`: Added the pstats.Stats.get_profile_dict() method to return " -"the profile data as a StatsProfile instance." -msgstr "" - -#: ../build/NEWS:13441 -msgid "" -":issue:`28367`: Termios magic constants for the following baud rates: - " -"B500000 - B576000 - B921600 - B1000000 - B1152000 - B1500000 - " -"B2000000 - B2500000 - B3000000 - B3500000 - B4000000 Patch by Andrey " -"Smirnov" -msgstr "" - -#: ../build/NEWS:13449 -msgid "" -":issue:`39381`: Mention in docs that :func:`asyncio.get_event_loop` " -"implicitly creates new event loop only if called from the main thread." -msgstr "" - -#: ../build/NEWS:13452 -msgid "" -":issue:`38918`: Add an entry for ``__module__`` in the \"function\" & " -"\"method\" sections of the :mod:`inspect` docs' :ref:`inspect-types` table." -msgstr "" - -#: ../build/NEWS:13455 -msgid "" -":issue:`3530`: In the :mod:`ast` module documentation, fix a misleading " -"``NodeTransformer`` example and add advice on when to use the " -"``fix_missing_locations`` function." -msgstr "" - -#: ../build/NEWS:13462 -msgid "" -":issue:`39395`: On non-Windows platforms, the :c:func:`setenv` and :c:func:" -"`unsetenv` functions are now required to build Python." -msgstr "" - -#: ../build/NEWS:13465 -msgid "" -":issue:`39160`: Updated the documentation in `./configure --help` to show " -"default values, reference documentation where required and add additional " -"explanation where needed." -msgstr "" - -#: ../build/NEWS:13469 -msgid "" -":issue:`39144`: The ctags and etags build targets both include Modules/" -"_ctypes and Python standard library source files." -msgstr "" - -#: ../build/NEWS:13475 -msgid ":issue:`39050`: Make IDLE Settings dialog Help button work again." -msgstr "" - -#: ../build/NEWS:13477 -msgid "" -":issue:`34118`: Tag memoryview, range, and tuple as classes, the same as " -"list, etcetera, in the library manual built-in functions list." -msgstr "" - -#: ../build/NEWS:13480 -msgid "" -":issue:`32989`: Add tests for editor newline_and_indent_event method. Remove " -"dead code from pyparse find_good_parse_start method." -msgstr "" - -#: ../build/NEWS:13486 -msgid "" -":issue:`39372`: Clean header files of interfaces defined but with no " -"implementation. The public API symbols being removed are: " -"``_PyBytes_InsertThousandsGroupingLocale``, " -"``_PyBytes_InsertThousandsGrouping``, ``_Py_InitializeFromArgs``, " -"``_Py_InitializeFromWideArgs``, ``_PyFloat_Repr``, ``_PyFloat_Digits``, " -"``_PyFloat_DigitsInit``, ``PyFrame_ExtendStack``, ``_PyAIterWrapper_Type``, " -"``PyNullImporter_Type``, ``PyCmpWrapper_Type``, ``PySortWrapper_Type``, " -"``PyNoArgsFunction``." -msgstr "" - -#: ../build/NEWS:13495 -msgid "" -":issue:`39164`: Add a private ``_PyErr_GetExcInfo()`` function to retrieve " -"exception information of the specified Python thread state." -msgstr "" - -#: ../build/NEWS:13500 -msgid "Python 3.9.0 alpha 2" -msgstr "" - -#: ../build/NEWS:13502 -msgid "*Release date: 2019-12-18*" -msgstr "" - -#: ../build/NEWS:13507 -msgid "" -":issue:`38945`: Newline characters have been escaped when performing uu " -"encoding to prevent them from overflowing into to content section of the " -"encoded file. This prevents malicious or accidental modification of data " -"during the decoding process." -msgstr "" - -#: ../build/NEWS:13512 -msgid "" -":issue:`37228`: Due to significant security concerns, the *reuse_address* " -"parameter of :meth:`asyncio.loop.create_datagram_endpoint` is no longer " -"supported. This is because of the behavior of ``SO_REUSEADDR`` in UDP. For " -"more details, see the documentation for ``loop.create_datagram_endpoint()``. " -"(Contributed by Kyle Stanley, Antoine Pitrou, and Yury Selivanov in :issue:" -"`37228`.)" -msgstr "" - -#: ../build/NEWS:13519 -msgid "" -":issue:`38804`: Fixes a ReDoS vulnerability in :mod:`http.cookiejar`. Patch " -"by Ben Caller." -msgstr "" - -#: ../build/NEWS:13525 -msgid "" -":issue:`39028`: Slightly improve the speed of keyword argument parsing with " -"many kwargs by strengthening the assumption that kwargs are interned strings." -msgstr "" - -#: ../build/NEWS:13529 -msgid "" -":issue:`39080`: Fix the value of *end_col_offset* for Starred Expression AST " -"nodes when they are among the elements in the *args* attribute of Call AST " -"nodes." -msgstr "" - -#: ../build/NEWS:13533 -msgid "" -":issue:`39031`: When parsing an \"elif\" node, lineno and col_offset of the " -"node now point to the \"elif\" keyword and not to its condition, making it " -"consistent with the \"if\" node. Patch by Lysandros Nikolaou." -msgstr "" - -#: ../build/NEWS:13537 -msgid "" -":issue:`20443`: In Python 3.9.0a1, sys.argv[0] was made an absolute path if " -"a filename was specified on the command line. Revert this change, since most " -"users expect sys.argv to be unmodified." -msgstr "" - -#: ../build/NEWS:13541 -msgid "" -":issue:`39008`: :c:func:`PySys_Audit` now requires ``Py_ssize_t`` to be used " -"for size arguments in the format string, regardless of whether " -"``PY_SSIZE_T_CLEAN`` was defined at include time." -msgstr "" - -#: ../build/NEWS:13545 -msgid "" -":issue:`38673`: In REPL mode, don't switch to PS2 if the line starts with " -"comment or whitespace. Based on work by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:13548 -msgid "" -":issue:`38922`: Calling ``replace`` on a code object now raises the ``code." -"__new__`` audit event." -msgstr "" - -#: ../build/NEWS:13551 -msgid "" -":issue:`38920`: Add audit hooks for when :func:`sys.excepthook` and :func:" -"`sys.unraisablehook` are invoked." -msgstr "" - -#: ../build/NEWS:13554 -msgid "" -":issue:`38892`: Improve documentation for audit events table and functions." -msgstr "" - -#: ../build/NEWS:13556 -msgid "" -":issue:`38852`: Set the thread stack size to 8 Mb for debug builds on " -"android platforms." -msgstr "" - -#: ../build/NEWS:13559 -msgid "" -":issue:`38858`: Each Python subinterpreter now has its own \"small integer " -"singletons\": numbers in [-5; 257] range. It is no longer possible to change " -"the number of small integers at build time by overriding ``NSMALLNEGINTS`` " -"and ``NSMALLPOSINTS`` macros: macros should now be modified manually in " -"``pycore_pystate.h`` header file." -msgstr "" - -#: ../build/NEWS:13565 -msgid "" -":issue:`36854`: The garbage collector state becomes per interpreter " -"(``PyInterpreterState.gc``), rather than being global (``_PyRuntimeState." -"gc``)." -msgstr "" - -#: ../build/NEWS:13569 -msgid "" -":issue:`38835`: The ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` " -"macros are empty: they have been doing nothing for the last year, so stop " -"using them." -msgstr "" - -#: ../build/NEWS:13573 -msgid "" -":issue:`38328`: Sped up the creation time of constant :class:`list` and :" -"class:`set` displays. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:13576 -msgid "" -":issue:`38707`: ``MainThread.native_id`` is now correctly reset in child " -"processes spawned using :class:`multiprocessing.Process`, instead of " -"retaining the parent's value." -msgstr "" - -#: ../build/NEWS:13580 -msgid "" -":issue:`38629`: Added ``__floor__`` and ``__ceil__`` methods to float " -"object. Patch by Batuhan Taşkaya." -msgstr "" - -#: ../build/NEWS:13583 -msgid "" -":issue:`27145`: int + int and int - int operators can now return small " -"integer singletons. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:13586 -msgid "" -":issue:`38021`: Provide a platform tag for AIX that is sufficient for PEP425 " -"binary distribution identification. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:13589 -msgid "" -":issue:`35409`: Ignore GeneratorExit exceptions when throwing an exception " -"into the aclose coroutine of an asynchronous generator." -msgstr "" - -#: ../build/NEWS:13592 -msgid "" -":issue:`33387`: Removed WITH_CLEANUP_START, WITH_CLEANUP_FINISH, " -"BEGIN_FINALLY, END_FINALLY, CALL_FINALLY and POP_FINALLY bytecodes. Replaced " -"with RERAISE and WITH_EXCEPT_START bytecodes. The compiler now generates " -"different code for exceptional and non-exceptional branches for 'with' and " -"'try-except' statements. For 'try-finally' statements the 'finally' block is " -"replicated for each exit from the 'try' body." -msgstr "" - -#: ../build/NEWS:13602 -msgid "" -":issue:`39033`: Fix :exc:`NameError` in :mod:`zipimport`. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:13605 -msgid "" -":issue:`39022`: Update importlib.metadata to include improvements from " -"importlib_metadata 1.3 including better serialization of EntryPoints and " -"improved documentation for custom finders." -msgstr "" - -#: ../build/NEWS:13609 -msgid "" -":issue:`39006`: Fix asyncio when the ssl module is missing: only check for " -"ssl.SSLSocket instance if the ssl module is available." -msgstr "" - -#: ../build/NEWS:13612 -msgid "" -":issue:`38708`: Fix a potential IndexError in email parser when parsing an " -"empty msg-id." -msgstr "" - -#: ../build/NEWS:13615 -msgid "" -":issue:`38698`: Add a new ``InvalidMessageID`` token to email parser to " -"represent invalid Message-ID headers. Also, add defects when there is " -"remaining value after parsing the header." -msgstr "" - -#: ../build/NEWS:13619 -msgid "" -":issue:`38994`: Implement ``__class_getitem__`` for ``os.PathLike``, " -"``pathlib.Path``." -msgstr "" - -#: ../build/NEWS:13622 -msgid "" -":issue:`38979`: Return class from ``ContextVar.__class_getitem__`` to " -"simplify subclassing." -msgstr "" - -#: ../build/NEWS:13625 -msgid "" -":issue:`38978`: Implement ``__class_getitem__`` on asyncio objects (Future, " -"Task, Queue). Patch by Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:13628 -msgid "" -":issue:`38916`: :class:`array.array`: Remove ``tostring()`` and " -"``fromstring()`` methods. They were aliases to ``tobytes()`` and " -"``frombytes()``, deprecated since Python 3.2." -msgstr "" - -#: ../build/NEWS:13632 -msgid "" -":issue:`38986`: Make repr of C accelerated TaskWakeupMethWrapper the same as " -"of pure Python version." -msgstr "" - -#: ../build/NEWS:13635 -msgid "" -":issue:`38982`: Fix asyncio ``PidfdChildWatcher``: handle ``waitpid()`` " -"error. If ``waitpid()`` is called elsewhere, ``waitpid()`` call fails with :" -"exc:`ChildProcessError`: use return code 255 in this case, and log a " -"warning. It ensures that the pidfd file descriptor is closed if this error " -"occurs." -msgstr "" - -#: ../build/NEWS:13641 -msgid "" -":issue:`38529`: Drop too noisy asyncio warning about deletion of a stream " -"without explicit ``.close()`` call." -msgstr "" - -#: ../build/NEWS:13644 -msgid "" -":issue:`27413`: Added ability to pass through ``ensure_ascii`` options to " -"json.dumps in the ``json.tool`` command-line interface." -msgstr "" - -#: ../build/NEWS:13647 -msgid "" -":issue:`38634`: The :mod:`readline` module now detects if Python is linked " -"to libedit at runtime on all platforms. Previously, the check was only done " -"on macOS." -msgstr "" - -#: ../build/NEWS:13651 -msgid "" -":issue:`33684`: Fix ``json.tool`` failed to read a JSON file with non-ASCII " -"characters when locale encoding is not UTF-8." -msgstr "" - -#: ../build/NEWS:13654 -msgid "" -":issue:`38698`: Prevent UnboundLocalError to pop up in parse_message_id." -msgstr "" - -#: ../build/NEWS:13656 -msgid "" -"parse_message_id() was improperly using a token defined inside an exception " -"handler, which was raising `UnboundLocalError` on parsing an invalid value. " -"Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:13660 -msgid "" -":issue:`38927`: Use ``python -m pip`` instead of ``pip`` to upgrade " -"dependencies in venv." -msgstr "" - -#: ../build/NEWS:13663 -msgid "" -":issue:`26730`: Fix ``SpooledTemporaryFile.rollover()`` might corrupt the " -"file when it is in text mode. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:13666 -msgid "" -":issue:`38881`: random.choices() now raises a ValueError when all the " -"weights are zero." -msgstr "" - -#: ../build/NEWS:13669 -msgid "" -":issue:`38876`: Raise pickle.UnpicklingError when loading an item from memo " -"for invalid input." -msgstr "" - -#: ../build/NEWS:13672 -msgid "" -"The previous code was raising a `KeyError` for both the Python and C " -"implementation. This was caused by the specified index of an invalid input " -"which did not exist in the memo structure, where the pickle stores what " -"objects it has seen. The malformed input would have caused either a `BINGET` " -"or `LONG_BINGET` load from the memo, leading to a `KeyError` as the " -"determined index was bogus. Patch by Claudiu Popa" -msgstr "" - -#: ../build/NEWS:13679 -msgid "" -":issue:`38688`: Calling func:`shutil.copytree` to copy a directory tree from " -"one directory to another subdirectory resulted in an endless loop and a " -"RecursionError. A fix was added to consume an iterator and create the list " -"of the entries to be copied, avoiding the recursion for newly created " -"directories. Patch by Bruno P. Kinoshita." -msgstr "" - -#: ../build/NEWS:13685 -msgid "" -":issue:`38863`: Improve :func:`is_cgi` function in :mod:`http.server`, which " -"enables processing the case that cgi directory is a child of another " -"directory other than root." -msgstr "" - -#: ../build/NEWS:13689 -msgid "" -":issue:`37838`: :meth:`typing.get_type_hints` properly handles functions " -"decorated with :meth:`functools.wraps`." -msgstr "" - -#: ../build/NEWS:13692 -msgid "" -":issue:`38870`: Expose :func:`ast.unparse` as a function of the :mod:`ast` " -"module that can be used to unparse an :class:`ast.AST` object and produce a " -"string with code that would produce an equivalent :class:`ast.AST` object " -"when parsed. Patch by Pablo Galindo and Batuhan Taskaya." -msgstr "" - -#: ../build/NEWS:13697 -msgid "" -":issue:`38859`: AsyncMock now returns StopAsyncIteration on the exhaustion " -"of a side_effects iterable. Since PEP-479 its Impossible to raise a " -"StopIteration exception from a coroutine." -msgstr "" - -#: ../build/NEWS:13701 -msgid "" -":issue:`38857`: AsyncMock fix for return values that are awaitable types. " -"This also covers side_effect iterable values that happened to be awaitable, " -"and wraps callables that return an awaitable type. Before these awaitables " -"were being awaited instead of being returned as is." -msgstr "" - -#: ../build/NEWS:13706 -msgid "" -":issue:`38834`: :class:`typing.TypedDict` subclasses now track which keys " -"are optional using the ``__required_keys__`` and ``__optional_keys__`` " -"attributes, to enable runtime validation by downstream projects. Patch by " -"Zac Hatfield-Dodds." -msgstr "" - -#: ../build/NEWS:13711 -msgid "" -":issue:`38821`: Fix unhandled exceptions in :mod:`argparse` when " -"internationalizing error messages for arguments with ``nargs`` set to " -"special (non-integer) values. Patch by Federico Bond." -msgstr "" - -#: ../build/NEWS:13715 -msgid "" -":issue:`38820`: Make Python compatible with OpenSSL 3.0.0. :func:`ssl." -"SSLSocket.getpeercert` no longer returns IPv6 addresses with a trailing new " -"line." -msgstr "" - -#: ../build/NEWS:13719 -msgid "" -":issue:`38811`: Fix an unhandled exception in :mod:`pathlib` when :meth:`os." -"link` is missing. Patch by Toke Høiland-Jørgensen." -msgstr "" - -#: ../build/NEWS:13722 -msgid "" -":issue:`38686`: Added support for multiple ``qop`` values in :class:`urllib." -"request.AbstractDigestAuthHandler`." -msgstr "" - -#: ../build/NEWS:13725 -msgid "" -":issue:`38712`: Add the Linux-specific :func:`signal.pidfd_send_signal` " -"function, which allows sending a signal to a process identified by a file " -"descriptor rather than a pid." -msgstr "" - -#: ../build/NEWS:13729 -msgid "" -":issue:`38348`: Add ``-i`` and ``--indent`` (indentation level), and ``--no-" -"type-comments`` (type comments) command line options to ast parsing tool." -msgstr "" - -#: ../build/NEWS:13733 -msgid "" -":issue:`37523`: Change :class:`zipfile.ZipExtFile` to raise ``ValueError`` " -"when trying to access the underlying file object after it has been closed. " -"This new behavior is consistent with how accessing closed files is handled " -"in other parts of Python." -msgstr "" - -#: ../build/NEWS:13738 -msgid "" -":issue:`38045`: Improve the performance of :func:`enum._decompose` in :mod:" -"`enum`. Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:13741 -msgid "" -":issue:`36820`: Break cycle generated when saving an exception in socket.py, " -"codeop.py and dyld.py as they keep alive not only the exception but user " -"objects through the ``__traceback__`` attribute. Patch by Mario Corchero." -msgstr "" - -#: ../build/NEWS:13745 -msgid "" -":issue:`36406`: Handle namespace packages in :mod:`doctest`. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:13748 -msgid "" -":issue:`34776`: Fix dataclasses to support forward references in type " -"annotations" -msgstr "" - -#: ../build/NEWS:13751 -msgid "" -":issue:`20928`: ElementTree supports recursive XInclude processing. Patch " -"by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:13754 -msgid "" -":issue:`29636`: Add whitespace options for formatting JSON with the ``json." -"tool`` CLI. The following mutually exclusive options are now supported: ``--" -"indent`` for setting the indent level in spaces; ``--tab`` for indenting " -"with tabs; ``--no-indent`` for suppressing newlines; and ``--compact`` for " -"suppressing all whitespace. The default behavior remains the same as ``--" -"indent=4``." -msgstr "" - -#: ../build/NEWS:13764 -msgid "" -":issue:`38928`: Correct when venv's ``upgrade_dependencies()`` and ``--" -"upgrade-deps`` are added." -msgstr "" - -#: ../build/NEWS:13767 -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/commands.html#source." -msgstr "" - -#: ../build/NEWS:13771 -msgid "" -":issue:`22377`: Improves documentation of the values that :meth:`datetime." -"datetime.strptime` accepts for ``%Z``. Patch by Karl Dubost." -msgstr "" - -#: ../build/NEWS:13778 -msgid "" -":issue:`38546`: Fix test_ressources_gced_in_workers() of " -"test_concurrent_futures: explicitly stop the manager to prevent leaking a " -"child process running in the background after the test completes." -msgstr "" - -#: ../build/NEWS:13782 -msgid "" -":issue:`38546`: Multiprocessing and concurrent.futures tests now stop the " -"resource tracker process when tests complete." -msgstr "" - -#: ../build/NEWS:13785 -msgid "" -":issue:`38614`: Replace hardcoded timeout constants in tests with new :mod:" -"`test.support` constants: :data:`~test.support.LOOPBACK_TIMEOUT`, :data:" -"`~test.support.INTERNET_TIMEOUT`, :data:`~test.support.SHORT_TIMEOUT` and :" -"data:`~test.support.LONG_TIMEOUT`. It becomes easier to adjust these four " -"timeout constants for all tests at once, rather than having to adjust every " -"single test file." -msgstr "" - -#: ../build/NEWS:13793 -msgid "" -":issue:`38547`: Fix test_pty: if the process is the session leader, closing " -"the master file descriptor raises a SIGHUP signal: simply ignore SIGHUP when " -"running the tests." -msgstr "" - -#: ../build/NEWS:13797 -msgid "" -":issue:`38992`: Fix a test for :func:`math.fsum` that was failing due to " -"constant folding." -msgstr "" - -#: ../build/NEWS:13800 -msgid "" -":issue:`38991`: :mod:`test.support`: :func:`~test.support." -"run_python_until_end`, :func:`~test.support.assert_python_ok` and :func:" -"`~test.support.assert_python_failure` functions no longer strip whitespaces " -"from stderr. Remove ``test.support.strip_python_stderr()`` function." -msgstr "" - -#: ../build/NEWS:13807 -msgid "" -":issue:`38965`: Fix test_faulthandler on GCC 10. Use the \"volatile\" " -"keyword in ``faulthandler._stack_overflow()`` to prevent tail call " -"optimization on any compiler, rather than relying on compiler specific " -"pragma." -msgstr "" - -#: ../build/NEWS:13811 -msgid "" -":issue:`38875`: test_capi: trashcan tests now require the test \"cpu\" " -"resource." -msgstr "" - -#: ../build/NEWS:13813 -msgid "" -":issue:`38841`: Skip asyncio " -"test_create_datagram_endpoint_existing_sock_unix on platforms lacking a " -"functional bind() for named unix domain sockets." -msgstr "" - -#: ../build/NEWS:13816 -msgid "" -":issue:`38692`: Skip the test_posix.test_pidfd_open() test if ``os." -"pidfd_open()`` fails with a :exc:`PermissionError`. This situation can " -"happen in a Linux sandbox using a syscall whitelist which doesn't allow the " -"``pidfd_open()`` syscall yet." -msgstr "" - -#: ../build/NEWS:13821 -msgid "" -":issue:`38839`: Fix some unused functions in tests. Patch by Adam Johnson." -msgstr "" - -#: ../build/NEWS:13823 -msgid "" -":issue:`38669`: Raise :exc:`TypeError` when passing target as a string with :" -"meth:`unittest.mock.patch.object`." -msgstr "" - -#: ../build/NEWS:13826 -msgid "" -":issue:`37957`: test.regrtest now can receive a list of test patterns to " -"ignore (using the -i/--ignore argument) or a file with a list of patterns to " -"ignore (using the --ignore-file argument). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13833 -msgid "" -":issue:`37404`: :mod:`asyncio` now raises :exc:`TyperError` when calling " -"incompatible methods with an :class:`ssl.SSLSocket` socket. Patch by Ido " -"Michael." -msgstr "" - -#: ../build/NEWS:13837 -msgid "" -":issue:`36500`: Added an optional \"regen\" project to the Visual Studio " -"solution that will regenerate all grammar, tokens, and opcodes." -msgstr "" - -#: ../build/NEWS:13843 -msgid ":issue:`39007`: Add auditing events to functions in :mod:`winreg`." -msgstr "" - -#: ../build/NEWS:13845 -msgid "" -":issue:`33125`: Add support for building and releasing Windows ARM64 " -"packages." -msgstr "" - -#: ../build/NEWS:13850 -msgid "" -":issue:`37931`: Fixed a crash on OSX dynamic builds that occurred when re-" -"initializing the posix module after a Py_Finalize if the environment had " -"changed since the previous `import posix`. Patch by Benoît Hudson." -msgstr "" - -#: ../build/NEWS:13857 -msgid "" -":issue:`38944`: Escape key now closes IDLE completion windows. Patch by " -"Johnny Najera." -msgstr "" - -#: ../build/NEWS:13860 -msgid "" -":issue:`38943`: Fix IDLE autocomplete windows not always appearing on some " -"systems. Patch by Johnny Najera." -msgstr "" - -#: ../build/NEWS:13863 -msgid "" -":issue:`38862`: 'Strip Trailing Whitespace' on the Format menu removes extra " -"newlines at the end of non-shell files." -msgstr "" - -#: ../build/NEWS:13866 -msgid "" -":issue:`38636`: Fix IDLE Format menu tab toggle and file indent width. These " -"functions (default shortcuts Alt-T and Alt-U) were mistakenly disabled in " -"3.7.5 and 3.8.0." -msgstr "" - -#: ../build/NEWS:13873 -msgid "" -":issue:`38896`: Remove ``PyUnicode_ClearFreeList()`` function: the Unicode " -"free list has been removed in Python 3.3." -msgstr "" - -#: ../build/NEWS:13876 -msgid "" -":issue:`37340`: Remove ``PyMethod_ClearFreeList()`` and " -"``PyCFunction_ClearFreeList()`` functions: the free lists of bound method " -"objects have been removed." -msgstr "" - -#: ../build/NEWS:13880 -msgid "" -":issue:`38835`: Exclude ``PyFPE_START_PROTECT()`` and " -"``PyFPE_END_PROTECT()`` macros of ``pyfpe.h`` from ``Py_LIMITED_API`` " -"(stable API)." -msgstr "" - -#: ../build/NEWS:13885 -msgid "Python 3.9.0 alpha 1" -msgstr "" - -#: ../build/NEWS:13887 -msgid "*Release date: 2019-11-19*" -msgstr "" - -#: ../build/NEWS:13892 -msgid "" -":issue:`38722`: :mod:`runpy` now uses :meth:`io.open_code` to open code " -"files. Patch by Jason Killen." -msgstr "" - -#: ../build/NEWS:13895 -msgid "" -":issue:`38622`: Add additional audit events for the :mod:`ctypes` module." -msgstr "" - -#: ../build/NEWS:13897 -msgid "" -":issue:`38418`: Fixes audit event for :func:`os.system` to be named ``os." -"system``." -msgstr "" - -#: ../build/NEWS:13900 -msgid "" -":issue:`38243`: Escape the server title of :class:`xmlrpc.server." -"DocXMLRPCServer` when rendering the document page as HTML. (Contributed by " -"Dong-hee Na in :issue:`38243`.)" -msgstr "" - -#: ../build/NEWS:13904 -msgid "" -":issue:`38174`: Update vendorized expat library version to 2.2.8, which " -"resolves CVE-2019-15903." -msgstr "" - -#: ../build/NEWS:13907 -msgid "" -":issue:`37764`: Fixes email._header_value_parser.get_unstructured going into " -"an infinite loop for a specific case in which the email header does not have " -"trailing whitespace, and the case in which it contains an invalid encoded " -"word. Patch by Ashwin Ramaswami." -msgstr "" - -#: ../build/NEWS:13912 -msgid "" -":issue:`37461`: Fix an infinite loop when parsing specially crafted email " -"headers. Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:13915 -msgid "" -":issue:`37363`: Adds audit events for the range of supported run commands " -"(see :ref:`using-on-general`)." -msgstr "" - -#: ../build/NEWS:13918 -msgid "" -":issue:`37463`: ssl.match_hostname() no longer accepts IPv4 addresses with " -"additional text after the address and only quad-dotted notation without " -"trailing whitespaces. Some inet_aton() implementations ignore whitespace and " -"all data after whitespace, e.g. '127.0.0.1 whatever'." -msgstr "" - -#: ../build/NEWS:13923 -msgid "" -":issue:`37363`: Adds audit events for :mod:`ensurepip`, :mod:`ftplib`, :mod:" -"`glob`, :mod:`imaplib`, :mod:`nntplib`, :mod:`pdb`, :mod:`poplib`, :mod:" -"`shutil`, :mod:`smtplib`, :mod:`sqlite3`, :mod:`subprocess`, :mod:" -"`telnetlib`, :mod:`tempfile` and :mod:`webbrowser`, as well as :func:`os." -"listdir`, :func:`os.scandir` and :func:`breakpoint`." -msgstr "" - -#: ../build/NEWS:13929 -msgid "" -":issue:`37364`: :func:`io.open_code` is now used when reading :file:`.pth` " -"files." -msgstr "" - -#: ../build/NEWS:13932 -msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in Windows installer" -msgstr "" - -#: ../build/NEWS:13934 -msgid "" -":issue:`34155`: Fix parsing of invalid email addresses with more than one " -"``@`` (e.g. a@b@c.com.) to not return the part before 2nd ``@`` as valid " -"email address. Patch by maxking & jpic." -msgstr "" - -#: ../build/NEWS:13941 -msgid "" -":issue:`38631`: Replace ``Py_FatalError()`` call with a regular :exc:" -"`RuntimeError` exception in :meth:`float.__getformat__`." -msgstr "" - -#: ../build/NEWS:13944 -msgid "" -":issue:`38639`: Optimized :func:`math.floor()`, :func:`math.ceil()` and :" -"func:`math.trunc()` for floats." -msgstr "" - -#: ../build/NEWS:13947 -msgid "" -":issue:`38640`: Fixed a bug in the compiler that was causing to raise in the " -"presence of break statements and continue statements inside always false " -"while loops. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13951 -msgid "" -":issue:`38613`: Optimized some set operations (e.g. ``|``, ``^``, and ``-``) " -"of ``dict_keys``. ``d.keys() | other`` was slower than ``set(d) | other`` " -"but they are almost same performance for now." -msgstr "" - -#: ../build/NEWS:13955 -msgid "" -":issue:`28029`: ``\"\".replace(\"\", s, n)`` now returns ``s`` instead of an " -"empty string for all non-zero ``n``. There are similar changes for :class:" -"`bytes` and :class:`bytearray` objects." -msgstr "" - -#: ../build/NEWS:13959 -msgid "" -":issue:`38535`: Fixed line numbers and column offsets for AST nodes for " -"calls without arguments in decorators." -msgstr "" - -#: ../build/NEWS:13962 -msgid "" -":issue:`38525`: Fix a segmentation fault when using reverse iterators of " -"empty ``dict`` objects. Patch by Dong-hee Na and Inada Naoki." -msgstr "" - -#: ../build/NEWS:13965 -msgid "" -":issue:`38465`: :class:`bytearray`, :class:`~array.array` and :class:`~mmap." -"mmap` objects allow now to export more than ``2**31`` buffers at a time." -msgstr "" - -#: ../build/NEWS:13969 -msgid "" -":issue:`38469`: Fixed a bug where the scope of named expressions was not " -"being resolved correctly in the presence of the *global* keyword. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13973 -msgid "" -":issue:`38437`: Activate the ``GC_DEBUG`` macro for debug builds of the " -"interpreter (when ``Py_DEBUG`` is set). Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:13976 -msgid "" -":issue:`38379`: When the garbage collector makes a collection in which some " -"objects resurrect (they are reachable from outside the isolated cycles after " -"the finalizers have been executed), do not block the collection of all " -"objects that are still unreachable. Patch by Pablo Galindo and Tim Peters." -msgstr "" - -#: ../build/NEWS:13982 -msgid "" -":issue:`38379`: When cyclic garbage collection (gc) runs finalizers that " -"resurrect unreachable objects, the current gc run ends, without collecting " -"any cyclic trash. However, the statistics reported by ``collect()`` and " -"``get_stats()`` claimed that all cyclic trash found was collected, and that " -"the resurrected objects were collected. Changed the stats to report that " -"none were collected." -msgstr "" - -#: ../build/NEWS:13989 -msgid "" -":issue:`38392`: In debug mode, :c:func:`PyObject_GC_Track` now calls " -"``tp_traverse()`` of the object type to ensure that the object is valid: " -"test that objects visited by ``tp_traverse()`` are valid." -msgstr "" - -#: ../build/NEWS:13993 -msgid "" -":issue:`38210`: Remove unnecessary intersection and update set operation in " -"dictview with empty set. (Contributed by Dong-hee Na in :issue:`38210`.)" -msgstr "" - -#: ../build/NEWS:13996 -msgid "" -":issue:`38402`: Check the error from the system's underlying ``crypt`` or " -"``crypt_r``." -msgstr "" - -#: ../build/NEWS:13999 -msgid "" -":issue:`37474`: On FreeBSD, Python no longer calls ``fedisableexcept()`` at " -"startup to control the floating point control mode. The call became useless " -"since FreeBSD 6: it became the default mode." -msgstr "" - -#: ../build/NEWS:14003 -msgid "" -":issue:`38006`: Fix a bug due to the interaction of weakrefs and the cyclic " -"garbage collector. We must clear any weakrefs in garbage in order to prevent " -"their callbacks from executing and causing a crash." -msgstr "" - -#: ../build/NEWS:14007 -msgid "" -":issue:`38317`: Fix warnings options priority: ``PyConfig.warnoptions`` has " -"the highest priority, as stated in the :pep:`587`." -msgstr "" - -#: ../build/NEWS:14010 -msgid "" -":issue:`38310`: Predict ``BUILD_MAP_UNPACK_WITH_CALL`` -> " -"``CALL_FUNCTION_EX`` opcode pairs in the main interpreter loop. Patch by " -"Brandt Bucher." -msgstr "" - -#: ../build/NEWS:14013 -msgid "" -":issue:`36871`: Improve error handling for the assert_has_calls and " -"assert_has_awaits methods of mocks. Fixed a bug where any errors encountered " -"while binding the expected calls to the mock's spec were silently swallowed, " -"leading to misleading error output." -msgstr "" - -#: ../build/NEWS:14018 -msgid "" -":issue:`11410`: Better control over symbol visibility is provided through " -"use of the visibility attributes available in gcc >= 4.0, provided in a " -"uniform way across POSIX and Windows. The POSIX build files have been " -"updated to compile with -fvisibility=hidden, minimising exported symbols." -msgstr "" - -#: ../build/NEWS:14023 -msgid "" -":issue:`38219`: Optimized the :class:`dict` constructor and the :meth:`~dict." -"update` method for the case when the argument is a dict." -msgstr "" - -#: ../build/NEWS:14026 -msgid "" -":issue:`38236`: Python now dumps path configuration if it fails to import " -"the Python codecs of the filesystem and stdio encodings." -msgstr "" - -#: ../build/NEWS:14029 -msgid "" -":issue:`38013`: Allow to call ``async_generator_athrow().throw(...)`` even " -"for non-started async generator helper. It fixes annoying warning at the end " -"of :func:`asyncio.run` call." -msgstr "" - -#: ../build/NEWS:14033 -msgid "" -":issue:`38124`: Fix an off-by-one error in PyState_AddModule that could " -"cause out-of-bounds memory access." -msgstr "" - -#: ../build/NEWS:14036 -msgid "" -":issue:`38116`: The select module is now PEP-384 compliant and no longer has " -"static state" -msgstr "" - -#: ../build/NEWS:14039 -msgid ":issue:`38113`: ast module updated to PEP-384 and all statics removed" -msgstr "" - -#: ../build/NEWS:14041 -msgid ":issue:`38076`: The struct module is now PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14043 -msgid ":issue:`38075`: The random module is now PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14045 -msgid ":issue:`38074`: zlib module made PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14047 -msgid ":issue:`38073`: Make pwd extension module PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14049 -msgid ":issue:`38072`: grp module made PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14051 -msgid ":issue:`38069`: Make _posixsubprocess PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14053 -msgid ":issue:`38071`: Make termios extension module PEP-384 compatible" -msgstr "" - -#: ../build/NEWS:14055 -msgid "" -":issue:`38005`: Fixed comparing and creating of InterpreterID and ChannelID." -msgstr "" - -#: ../build/NEWS:14057 -msgid "" -":issue:`36946`: Fix possible signed integer overflow when handling slices. " -"Patch by hongweipeng." -msgstr "" - -#: ../build/NEWS:14060 -msgid "" -":issue:`37994`: Fixed silencing arbitrary errors if an attribute lookup " -"fails in several sites. Only AttributeError should be silenced." -msgstr "" - -#: ../build/NEWS:14063 -msgid "" -":issue:`8425`: Optimize set difference_update for the case when the other " -"set is much larger than the base set. (Suggested by Evgeny Kapun with code " -"contributed by Michele Orrù)." -msgstr "" - -#: ../build/NEWS:14067 -msgid "" -":issue:`37966`: The implementation of :func:`~unicodedata.is_normalized` has " -"been greatly sped up on strings that aren't normalized, by implementing the " -"full normalization-quick-check algorithm from the Unicode standard." -msgstr "" - -#: ../build/NEWS:14071 -msgid "" -":issue:`37947`: Adjust correctly the recursion level in the symtable " -"generation for named expressions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14074 -msgid "" -":issue:`37812`: The ``CHECK_SMALL_INT`` macro used inside :file:`Object/" -"longobject.c` has been replaced with an explicit ``return`` at each call " -"site." -msgstr "" - -#: ../build/NEWS:14078 -msgid "" -":issue:`37751`: Fix :func:`codecs.lookup` to normalize the encoding name the " -"same way than :func:`encodings.normalize_encoding`, except that :func:" -"`codecs.lookup` also converts the name to lower case." -msgstr "" - -#: ../build/NEWS:14082 -msgid "" -":issue:`37830`: Fixed compilation of :keyword:`break` and :keyword:" -"`continue` in the :keyword:`finally` block when the corresponding :keyword:" -"`try` block contains :keyword:`return` with a non-constant value." -msgstr "" - -#: ../build/NEWS:14086 -msgid "" -":issue:`20490`: Improve import error message for partially initialized " -"module on circular ``from`` imports - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:14089 -msgid "" -":issue:`37840`: Fix handling of negative indices in :c:member:" -"`~PySequenceMethods.sq_item` of :class:`bytearray`. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:14093 -msgid "" -":issue:`37802`: Slightly improve performance of :c:func:" -"`PyLong_FromUnsignedLong`, :c:func:`PyLong_FromUnsignedLongLong` and :c:func:" -"`PyLong_FromSize_t`. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:14097 -msgid "" -":issue:`37409`: Ensure explicit relative imports from interactive sessions " -"and scripts (having no parent package) always raise ImportError, rather than " -"treating the current module as the package. Patch by Ben Lewis." -msgstr "" - -#: ../build/NEWS:14101 -msgid "" -":issue:`32912`: Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` " -"instead of :exc:`DeprecationWarning` for invalid escape sequences in string " -"and bytes literals." -msgstr "" - -#: ../build/NEWS:14105 -msgid "" -":issue:`37757`: :pep:`572`: As described in the PEP, assignment expressions " -"now raise :exc:`SyntaxError` when their interaction with comprehension " -"scoping results in an ambiguous target scope." -msgstr "" - -#: ../build/NEWS:14109 -msgid "" -"The ``TargetScopeError`` subclass originally proposed by the PEP has been " -"removed in favour of just raising regular syntax errors for the disallowed " -"cases." -msgstr "" - -#: ../build/NEWS:14113 -msgid "" -":issue:`36279`: Fix potential use of uninitialized memory in :func:`os." -"wait3`." -msgstr "" - -#: ../build/NEWS:14115 -msgid "" -":issue:`36311`: Decoding bytes objects larger than 2GiB is faster and no " -"longer fails when a multibyte characters spans a chunk boundary." -msgstr "" - -#: ../build/NEWS:14118 -msgid "" -":issue:`34880`: The :keyword:`assert` statement now works properly if the :" -"exc:`AssertionError` exception is being shadowed. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:14121 -msgid "" -":issue:`37340`: Removed object cache (``free_list``) for bound method " -"objects. Temporary bound method objects are less used than before thanks to " -"the ``LOAD_METHOD`` opcode and the ``_PyObject_VectorcallMethod`` C API." -msgstr "" - -#: ../build/NEWS:14125 -msgid "" -":issue:`37648`: Fixed minor inconsistency in :meth:`list.__contains__`, :" -"meth:`tuple.__contains__` and a few other places. The collection's item is " -"now always at the left and the needle is on the right of ``==``." -msgstr "" - -#: ../build/NEWS:14129 -msgid "" -":issue:`37444`: Update differing exception between :meth:`builtins." -"__import__` and :meth:`importlib.__import__`." -msgstr "" - -#: ../build/NEWS:14132 -msgid "" -":issue:`37619`: When adding a wrapper descriptor from one class to a " -"different class (for example, setting ``__add__ = str.__add__`` on an " -"``int`` subclass), an exception is correctly raised when the operator is " -"called." -msgstr "" - -#: ../build/NEWS:14136 -msgid "" -":issue:`37593`: Swap the positions of the *posonlyargs* and *args* " -"parameters in the constructor of :class:`ast.parameters` nodes." -msgstr "" - -#: ../build/NEWS:14139 -msgid ":issue:`37543`: Optimized pymalloc for non PGO build." -msgstr "" - -#: ../build/NEWS:14141 -msgid "" -":issue:`37537`: Compute allocated pymalloc blocks inside " -"_Py_GetAllocatedBlocks(). This slows down _Py_GetAllocatedBlocks() but " -"gives a small speedup to _PyObject_Malloc() and _PyObject_Free()." -msgstr "" - -#: ../build/NEWS:14145 -msgid "" -":issue:`37467`: Fix :func:`sys.excepthook` and :c:func:`PyErr_Display` if a " -"filename is a bytes string. For example, for a SyntaxError exception where " -"the filename attribute is a bytes string." -msgstr "" - -#: ../build/NEWS:14149 -msgid "" -":issue:`37433`: Fix ``SyntaxError`` indicator printing too many spaces for " -"multi-line strings - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:14152 -msgid "" -":issue:`37417`: :meth:`bytearray.extend` now correctly handles errors that " -"arise during iteration. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:14155 -msgid "" -":issue:`37414`: The undocumented ``sys.callstats()`` function has been " -"removed. Since Python 3.7, it was deprecated and always returned ``None``. " -"It required a special build option ``CALL_PROFILE`` which was already " -"removed in Python 3.7." -msgstr "" - -#: ../build/NEWS:14160 -msgid "" -":issue:`37392`: Remove ``sys.getcheckinterval()`` and ``sys." -"setcheckinterval()`` functions. They were deprecated since Python 3.2. Use :" -"func:`sys.getswitchinterval` and :func:`sys.setswitchinterval` instead. " -"Remove also ``check_interval`` field of the ``PyInterpreterState`` structure." -msgstr "" - -#: ../build/NEWS:14166 -msgid "" -":issue:`37388`: In development mode and in debug build, *encoding* and " -"*errors* arguments are now checked on string encoding and decoding " -"operations. Examples: :func:`open`, :meth:`str.encode` and :meth:`bytes." -"decode`." -msgstr "" - -#: ../build/NEWS:14170 -msgid "" -"By default, for best performances, the *errors* argument is only checked at " -"the first encoding/decoding error, and the *encoding* argument is sometimes " -"ignored for empty strings." -msgstr "" - -#: ../build/NEWS:14174 -msgid "" -":issue:`37348`: Optimized decoding short ASCII string with UTF-8 and ascii " -"codecs. ``b\"foo\".decode()`` is about 15% faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:14177 -msgid "" -":issue:`24214`: Improved support of the surrogatepass error handler in the " -"UTF-8 and UTF-16 incremental decoders." -msgstr "" - -#: ../build/NEWS:14180 -msgid "" -":issue:`37330`: :func:`open`, :func:`io.open`, :func:`codecs.open` and :" -"class:`fileinput.FileInput` no longer accept ``'U'`` (\"universal newline\") " -"in the file mode. This flag was deprecated since Python 3.3." -msgstr "" - -#: ../build/NEWS:14184 -msgid "" -":issue:`35224`: Reverse evaluation order of key: value in dict " -"comprehensions as proposed in PEP 572. I.e. in ``{k: v for ...}``, ``k`` " -"will be evaluated before ``v``." -msgstr "" - -#: ../build/NEWS:14188 -msgid "" -":issue:`37316`: Fix the :c:func:`PySys_Audit` call in :class:`mmap.mmap`." -msgstr "" - -#: ../build/NEWS:14190 -msgid ":issue:`37300`: Remove an unnecessary Py_XINCREF in classobject.c." -msgstr "" - -#: ../build/NEWS:14192 -msgid "" -":issue:`37269`: Fix a bug in the peephole optimizer that was not treating " -"correctly constant conditions with binary operators. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14196 -msgid "" -":issue:`20443`: Python now gets the absolute path of the script filename " -"specified on the command line (ex: \"python3 script.py\"): the __file__ " -"attribute of the __main__ module and sys.path[0] become an absolute path, " -"rather than a relative path." -msgstr "" - -#: ../build/NEWS:14201 -msgid "" -":issue:`37257`: Python's small object allocator (``obmalloc.c``) now allows " -"(no more than) one empty arena to remain available for immediate reuse, " -"without returning it to the OS. This prevents thrashing in simple loops " -"where an arena could be created and destroyed anew on each iteration." -msgstr "" - -#: ../build/NEWS:14206 -msgid "" -":issue:`37231`: The dispatching of type slots to special methods (for " -"example calling ``__mul__`` when doing ``x * y``) has been made faster." -msgstr "" - -#: ../build/NEWS:14209 -msgid "" -":issue:`36974`: Implemented separate vectorcall functions for every calling " -"convention of builtin functions and methods. This improves performance for " -"calls." -msgstr "" - -#: ../build/NEWS:14213 -msgid "" -":issue:`37213`: Handle correctly negative line offsets in the peephole " -"optimizer. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14216 -msgid "" -":issue:`37219`: Remove erroneous optimization for empty set differences." -msgstr "" - -#: ../build/NEWS:14218 -msgid "" -":issue:`15913`: Implement :c:func:`PyBuffer_SizeFromFormat()` function " -"(previously documented but not implemented): call :func:`struct.calcsize`. " -"Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:14222 -msgid "" -":issue:`36922`: Slot functions optimize any callable with " -"``Py_TPFLAGS_METHOD_DESCRIPTOR`` instead of only instances of ``function``." -msgstr "" - -#: ../build/NEWS:14226 -msgid "" -":issue:`36974`: The slot ``tp_vectorcall_offset`` is inherited " -"unconditionally to support ``super().__call__()`` when the base class uses " -"vectorcall." -msgstr "" - -#: ../build/NEWS:14229 -msgid "" -":issue:`37160`: :func:`threading.get_native_id` now also supports NetBSD." -msgstr "" - -#: ../build/NEWS:14231 -msgid "" -":issue:`37077`: Add :func:`threading.get_native_id` support for AIX. Patch " -"by M. Felt" -msgstr "" - -#: ../build/NEWS:14234 -msgid ":issue:`36781`: :func:`sum` has been optimized for boolean values." -msgstr "" - -#: ../build/NEWS:14236 -msgid "" -":issue:`34556`: Add ``--upgrade-deps`` to venv module. Patch by Cooper Ry " -"Lees" -msgstr "" - -#: ../build/NEWS:14238 -msgid "" -":issue:`20523`: ``pdb.Pdb`` supports ~/.pdbrc in Windows 7. Patch by Tim " -"Hopper and Dan Lidral-Porter." -msgstr "" - -#: ../build/NEWS:14241 -msgid "" -":issue:`35551`: Updated encodings: - Removed the \"tis260\" encoding, which " -"was an alias for the nonexistent \"tactis\" codec. - Added \"mac_centeuro\" " -"as an alias for the mac_latin2 encoding." -msgstr "" - -#: ../build/NEWS:14245 -msgid "" -":issue:`19072`: The :class:`classmethod` decorator can now wrap other " -"descriptors such as property objects. Adapted from a patch written by " -"Graham Dumpleton." -msgstr "" - -#: ../build/NEWS:14249 -msgid "" -":issue:`27575`: Improve speed of dictview intersection by directly using set " -"intersection logic. Patch by David Su." -msgstr "" - -#: ../build/NEWS:14252 -msgid "" -":issue:`30773`: Prohibit parallel running of aclose() / asend() / athrow(). " -"Fix ag_running to reflect the actual running status of the AG." -msgstr "" - -#: ../build/NEWS:14258 -msgid "" -":issue:`36589`: The :func:`curses.update_lines_cols` function now returns " -"``None`` instead of ``1`` on success." -msgstr "" - -#: ../build/NEWS:14261 -msgid "" -":issue:`38807`: Update :exc:`TypeError` messages for :meth:`os.path.join` to " -"include :class:`os.PathLike` objects as acceptable input types." -msgstr "" - -#: ../build/NEWS:14264 -msgid "" -":issue:`38724`: Add a repr for ``subprocess.Popen`` objects. Patch by Andrey " -"Doroschenko." -msgstr "" - -#: ../build/NEWS:14267 -msgid "" -":issue:`38786`: pydoc now recognizes and parses HTTPS URLs. Patch by " -"python273." -msgstr "" - -#: ../build/NEWS:14269 -msgid "" -":issue:`38785`: Prevent asyncio from crashing if parent ``__init__`` is not " -"called from a constructor of object derived from ``asyncio.Future``." -msgstr "" - -#: ../build/NEWS:14272 -msgid "" -":issue:`38723`: :mod:`pdb` now uses :meth:`io.open_code` to trigger auditing " -"events." -msgstr "" - -#: ../build/NEWS:14275 -msgid "" -":issue:`27805`: Allow opening pipes and other non-seekable files in append " -"mode with :func:`open`." -msgstr "" - -#: ../build/NEWS:14278 -msgid "" -":issue:`38438`: Simplify the :mod:`argparse` usage message for " -"``nargs=\"*\"``." -msgstr "" - -#: ../build/NEWS:14280 -msgid "" -":issue:`38761`: WeakSet is now registered as a collections.abc.MutableSet." -msgstr "" - -#: ../build/NEWS:14282 -msgid "" -":issue:`38716`: logging: change RotatingHandler namer and rotator to class-" -"level attributes. This stops __init__ from setting them to None in the case " -"where a subclass defines them with eponymous methods." -msgstr "" - -#: ../build/NEWS:14286 -msgid "" -":issue:`38713`: Add :data:`os.P_PIDFD` constant, which may be passed to :" -"func:`os.waitid` to wait on a Linux process file descriptor." -msgstr "" - -#: ../build/NEWS:14289 -msgid "" -":issue:`38692`: Add :class:`asyncio.PidfdChildWatcher`, a Linux-specific " -"child watcher implementation that polls process file descriptors." -msgstr "" - -#: ../build/NEWS:14292 -msgid "" -":issue:`38692`: Expose the Linux ``pidfd_open`` syscall as :func:`os." -"pidfd_open`." -msgstr "" - -#: ../build/NEWS:14295 -msgid "" -":issue:`38602`: Added constants :data:`~fcntl.F_OFD_GETLK`, :data:`~fcntl." -"F_OFD_SETLK` and :data:`~fcntl.F_OFD_SETLKW` to the :mod:`fcntl` module. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:14299 -msgid "" -":issue:`38334`: Fixed seeking backward on an encrypted :class:`zipfile." -"ZipExtFile`." -msgstr "" - -#: ../build/NEWS:14302 -msgid "" -":issue:`38312`: Add :func:`curses.get_escdelay`, :func:`curses." -"set_escdelay`, :func:`curses.get_tabsize`, and :func:`curses.set_tabsize` " -"functions - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:14306 -msgid "" -":issue:`38586`: Now :func:`~logging.config.fileConfig` correctly sets the ." -"name of handlers loaded." -msgstr "" - -#: ../build/NEWS:14309 -msgid "" -":issue:`38565`: Add new cache_parameters() method for functools.lru_cache() " -"to better support pickling." -msgstr "" - -#: ../build/NEWS:14312 -msgid "" -":issue:`34679`: asynci.ProactorEventLoop.close() now only calls signal." -"set_wakeup_fd() in the main thread." -msgstr "" - -#: ../build/NEWS:14315 -msgid "" -":issue:`31202`: The case the result of :func:`pathlib.WindowsPath.glob` " -"matches now the case of the pattern for literal parts." -msgstr "" - -#: ../build/NEWS:14318 -msgid "" -":issue:`36321`: Remove misspelled attribute. The 3.8 changelog noted that " -"this would be removed in 3.9." -msgstr "" - -#: ../build/NEWS:14321 -msgid "" -":issue:`38521`: Fixed erroneous equality comparison in statistics." -"NormalDist()." -msgstr "" - -#: ../build/NEWS:14323 -msgid "" -":issue:`38493`: Added :data:`~os.CLD_KILLED` and :data:`~os.CLD_STOPPED` " -"for :attr:`si_code`. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:14326 -msgid "" -":issue:`38478`: Fixed a bug in :meth:`inspect.signature.bind` that was " -"causing it to fail when handling a keyword argument with same name as " -"positional-only parameter. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14330 -msgid "" -":issue:`33604`: Fixed `hmac.new` and `hmac.HMAC` to raise TypeError instead " -"of ValueError when the digestmod parameter, now required in 3.8, is omitted. " -"Also clarified the hmac module documentation and docstrings." -msgstr "" - -#: ../build/NEWS:14334 -msgid "" -":issue:`38378`: Parameters *out* and *in* of :func:`os.sendfile` was renamed " -"to *out_fd* and *in_fd*." -msgstr "" - -#: ../build/NEWS:14337 -msgid "" -":issue:`38417`: Added support for setting the umask in the child process to " -"the subprocess module on POSIX systems." -msgstr "" - -#: ../build/NEWS:14340 -msgid "" -":issue:`38449`: Revert PR 15522, which introduces a regression in :meth:" -"`mimetypes.guess_type` due to improper handling of filenames as urls." -msgstr "" - -#: ../build/NEWS:14344 -msgid "" -":issue:`38431`: Fix ``__repr__`` method for :class:`dataclasses.InitVar` to " -"support typing objects, patch by Samuel Colvin." -msgstr "" - -#: ../build/NEWS:14347 -msgid "" -":issue:`38109`: Add missing :data:`stat.S_IFDOOR`, :data:`stat.S_IFPORT`, :" -"data:`stat.S_IFWHT`, :func:`stat.S_ISDOOR`, :func:`stat.S_ISPORT`, and :func:" -"`stat.S_ISWHT` values to the Python implementation of :mod:`stat`." -msgstr "" - -#: ../build/NEWS:14351 -msgid ":issue:`38422`: Clarify docstrings of pathlib suffix(es)" -msgstr "" - -#: ../build/NEWS:14353 -msgid "" -":issue:`38405`: Nested subclasses of :class:`typing.NamedTuple` are now " -"pickleable." -msgstr "" - -#: ../build/NEWS:14356 -msgid "" -":issue:`38332`: Prevent :exc:`KeyError` thrown by :func:`_encoded_words." -"decode` when given an encoded-word with invalid content-type encoding from " -"propagating all the way to :func:`email.message.get`." -msgstr "" - -#: ../build/NEWS:14360 -msgid "" -":issue:`38371`: Deprecated the ``split()`` method in :class:`_tkinter." -"TkappType` in favour of the ``splitlist()`` method which has more consistent " -"and predicable behavior." -msgstr "" - -#: ../build/NEWS:14364 -msgid "" -":issue:`38341`: Add :exc:`smtplib.SMTPNotSupportedError` to the :mod:" -"`smtplib` exported names." -msgstr "" - -#: ../build/NEWS:14367 -msgid "" -":issue:`38319`: sendfile() used in socket and shutil modules was raising " -"OverflowError for files >= 2GiB on 32-bit architectures. (patch by " -"Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:14371 -msgid ":issue:`38242`: Revert the new asyncio Streams API" -msgstr "" - -#: ../build/NEWS:14373 -msgid "" -":issue:`13153`: OS native encoding is now used for converting between Python " -"strings and Tcl objects. This allows to display, copy and paste to " -"clipboard emoji and other non-BMP characters. Converting strings from Tcl " -"to Python and back now never fails (except MemoryError)." -msgstr "" - -#: ../build/NEWS:14378 -msgid "" -":issue:`38019`: Correctly handle pause/resume reading of closed asyncio unix " -"pipe." -msgstr "" - -#: ../build/NEWS:14381 -msgid "" -":issue:`38163`: Child mocks will now detect their type as either synchronous " -"or asynchronous, asynchronous child mocks will be AsyncMocks and synchronous " -"child mocks will be either MagicMock or Mock (depending on their parent " -"type)." -msgstr "" - -#: ../build/NEWS:14386 -msgid ":issue:`38161`: Removes _AwaitEvent from AsyncMock." -msgstr "" - -#: ../build/NEWS:14388 -msgid "" -":issue:`38216`: Allow the rare code that wants to send invalid http requests " -"from the `http.client` library a way to do so. The fixes for :issue:`30458` " -"led to breakage for some projects that were relying on this ability to test " -"their own behavior in the face of bad requests." -msgstr "" - -#: ../build/NEWS:14393 -msgid "" -":issue:`28286`: Deprecate opening :class:`~gzip.GzipFile` for writing " -"implicitly. Always specify the *mode* argument for writing." -msgstr "" - -#: ../build/NEWS:14396 -msgid "" -":issue:`38108`: Any synchronous magic methods on an AsyncMock now return a " -"MagicMock. Any asynchronous magic methods on a MagicMock now return an " -"AsyncMock." -msgstr "" - -#: ../build/NEWS:14400 -msgid "" -":issue:`38265`: Update the *length* parameter of :func:`os.pread` to accept :" -"c:type:`Py_ssize_t` instead of :c:expr:`int`." -msgstr "" - -#: ../build/NEWS:14403 -msgid "" -":issue:`38112`: :mod:`compileall` has a higher default recursion limit and " -"new command-line arguments for path manipulation, symlinks handling, and " -"multiple optimization levels." -msgstr "" - -#: ../build/NEWS:14407 -msgid ":issue:`38248`: asyncio: Fix inconsistent immediate Task cancellation" -msgstr "" - -#: ../build/NEWS:14409 -msgid "" -":issue:`38237`: The arguments for the builtin pow function are more " -"descriptive. They can now also be passed in as keywords." -msgstr "" - -#: ../build/NEWS:14412 -msgid "" -":issue:`34002`: Improve efficiency in parts of email package by changing " -"while-pop to a for loop, using isdisjoint instead of set intersections." -msgstr "" - -#: ../build/NEWS:14415 -msgid "" -":issue:`38191`: Constructors of :class:`~typing.NamedTuple` and :class:" -"`~typing.TypedDict` types now accept arbitrary keyword argument names, " -"including \"cls\", \"self\", \"typename\", \"_typename\", \"fields\" and " -"\"_fields\"." -msgstr "" - -#: ../build/NEWS:14420 -msgid "" -":issue:`38155`: Add ``__all__`` to :mod:`datetime`. Patch by Tahia Khan." -msgstr "" - -#: ../build/NEWS:14422 -msgid "" -":issue:`38185`: Fixed case-insensitive string comparison in :class:`sqlite3." -"Row` indexing." -msgstr "" - -#: ../build/NEWS:14425 -msgid "" -":issue:`38136`: Changes AsyncMock call count and await count to be two " -"different counters. Now await count only counts when a coroutine has been " -"awaited, not when it has been called, and vice-versa. Update the " -"documentation around this." -msgstr "" - -#: ../build/NEWS:14430 -msgid "" -":issue:`37828`: Fix default mock name in :meth:`unittest.mock.Mock." -"assert_called` exceptions. Patch by Abraham Toriz Cruz." -msgstr "" - -#: ../build/NEWS:14434 -msgid "" -":issue:`38175`: Fix a memory leak in comparison of :class:`sqlite3.Row` " -"objects." -msgstr "" - -#: ../build/NEWS:14437 -msgid "" -":issue:`33936`: _hashlib no longer calls obsolete OpenSSL initialization " -"function with OpenSSL 1.1.0+." -msgstr "" - -#: ../build/NEWS:14440 -msgid "" -":issue:`34706`: Preserve subclassing in inspect.Signature.from_callable." -msgstr "" - -#: ../build/NEWS:14442 -msgid "" -":issue:`38153`: Names of hashing algorithms from OpenSSL are now normalized " -"to follow Python's naming conventions. For example OpenSSL uses sha3-512 " -"instead of sha3_512 or blake2b512 instead of blake2b." -msgstr "" - -#: ../build/NEWS:14446 -msgid "" -":issue:`38115`: Fix a bug in dis.findlinestarts() where it would return " -"invalid bytecode offsets. Document that a code object's co_lnotab can " -"contain invalid bytecode offsets." -msgstr "" - -#: ../build/NEWS:14450 -msgid "" -":issue:`38148`: Add slots to :mod:`asyncio` transport classes, which can " -"reduce memory usage." -msgstr "" - -#: ../build/NEWS:14453 -msgid "" -":issue:`38142`: The _hashlib OpenSSL wrapper extension module is now PEP-384 " -"compliant." -msgstr "" - -#: ../build/NEWS:14456 -msgid "" -":issue:`9216`: hashlib constructors now support usedforsecurity flag to " -"signal that a hashing algorithm is not used in a security context." -msgstr "" - -#: ../build/NEWS:14459 -msgid "" -":issue:`36991`: Fixes a potential incorrect AttributeError exception " -"escaping ZipFile.extract() in some unsupported input error situations." -msgstr "" - -#: ../build/NEWS:14462 -msgid "" -":issue:`38134`: Remove obsolete copy of PBKDF2_HMAC_fast. All supported " -"OpenSSL versions contain a fast implementation." -msgstr "" - -#: ../build/NEWS:14465 -msgid "" -":issue:`38132`: The OpenSSL hashlib wrapper uses a simpler implementation. " -"Several Macros and pointless caches are gone. The hash name now comes from " -"OpenSSL's EVP. The algorithm name stays the same, except it is now always " -"lower case." -msgstr "" - -#: ../build/NEWS:14470 -msgid "" -":issue:`38008`: Fix parent class check in protocols to correctly identify " -"the module that provides a builtin protocol, instead of assuming they all " -"come from the :mod:`collections.abc` module" -msgstr "" - -#: ../build/NEWS:14474 -msgid "" -":issue:`34037`: For :mod:`asyncio`, add a new coroutine :meth:`loop." -"shutdown_default_executor`. The new coroutine provides an API to schedule an " -"executor shutdown that waits on the threadpool to finish closing. Also, :" -"func:`asyncio.run` has been updated to utilize the new coroutine. Patch by " -"Kyle Stanley." -msgstr "" - -#: ../build/NEWS:14480 -msgid "" -":issue:`37405`: Fixed regression bug for socket.getsockname() for non-" -"CAN_ISOTP AF_CAN address family sockets by returning a 1-tuple instead of " -"string." -msgstr "" - -#: ../build/NEWS:14483 -msgid "" -":issue:`38121`: Update parameter names on functions in importlib.metadata " -"matching the changes in the 0.22 release of importlib_metadata." -msgstr "" - -#: ../build/NEWS:14486 -msgid "" -":issue:`38110`: The os.closewalk() implementation now uses the libc fdwalk() " -"API on platforms where it is available." -msgstr "" - -#: ../build/NEWS:14489 -msgid "" -":issue:`38093`: Fixes AsyncMock so it doesn't crash when used with " -"AsyncContextManagers or AsyncIterators." -msgstr "" - -#: ../build/NEWS:14492 -msgid "" -":issue:`37488`: Add warning to :meth:`datetime.utctimetuple`, :meth:" -"`datetime.utcnow` and :meth:`datetime.utcfromtimestamp` ." -msgstr "" - -#: ../build/NEWS:14495 -msgid "" -":issue:`35640`: Allow passing a :term:`path-like object` as ``directory`` " -"argument to the :class:`http.server.SimpleHTTPRequestHandler` class. Patch " -"by Géry Ogam." -msgstr "" - -#: ../build/NEWS:14499 -msgid "" -":issue:`38086`: Update importlib.metadata with changes from " -"`importlib_metadata 0.21 `_." -msgstr "" - -#: ../build/NEWS:14503 -msgid "" -":issue:`37251`: Remove `__code__` check in AsyncMock that incorrectly " -"evaluated function specs as async objects but failed to evaluate classes " -"with `__await__` but no `__code__` attribute defined as async objects." -msgstr "" - -#: ../build/NEWS:14507 -msgid ":issue:`38037`: Fix reference counters in the :mod:`signal` module." -msgstr "" - -#: ../build/NEWS:14509 -msgid "" -":issue:`38066`: Hide internal asyncio.Stream methods: feed_eof(), " -"feed_data(), set_exception() and set_transport()." -msgstr "" - -#: ../build/NEWS:14512 -msgid ":issue:`38059`: inspect.py now uses sys.exit() instead of exit()" -msgstr "" - -#: ../build/NEWS:14514 -msgid ":issue:`38049`: Added command-line interface for the :mod:`ast` module." -msgstr "" - -#: ../build/NEWS:14516 -msgid "" -":issue:`37953`: In :mod:`typing`, improved the ``__hash__`` and ``__eq__`` " -"methods for :class:`ForwardReferences`." -msgstr "" - -#: ../build/NEWS:14519 -msgid "" -":issue:`38026`: Fixed :func:`inspect.getattr_static` used ``isinstance`` " -"while it should avoid dynamic lookup." -msgstr "" - -#: ../build/NEWS:14522 -msgid "" -":issue:`35923`: Update :class:`importlib.machinery.BuiltinImporter` to use " -"``loader._ORIGIN`` instead of a hardcoded value. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:14525 -msgid "" -":issue:`38010`: In ``importlib.metadata`` sync with ``importlib_metadata`` " -"0.20, clarifying behavior of ``files()`` and fixing issue where only one " -"requirement was returned for ``requires()`` on ``dist-info`` packages." -msgstr "" - -#: ../build/NEWS:14529 -msgid "" -":issue:`38006`: weakref.WeakValueDictionary defines a local remove() " -"function used as callback for weak references. This function was created " -"with a closure. Modify the implementation to avoid the closure." -msgstr "" - -#: ../build/NEWS:14533 -msgid "" -":issue:`37995`: Added the *indent* option to :func:`ast.dump` which allows " -"it to produce a multiline indented output." -msgstr "" - -#: ../build/NEWS:14536 -msgid "" -":issue:`34410`: Fixed a crash in the :func:`tee` iterator when re-enter it. " -"RuntimeError is now raised in this case." -msgstr "" - -#: ../build/NEWS:14539 -msgid "" -":issue:`37140`: Fix a ctypes regression of Python 3.8. When a ctypes." -"Structure is passed by copy to a function, ctypes internals created a " -"temporary object which had the side effect of calling the structure " -"finalizer (__del__) twice. The Python semantics requires a finalizer to be " -"called exactly once. Fix ctypes internals to no longer call the finalizer " -"twice." -msgstr "" - -#: ../build/NEWS:14545 -msgid "" -":issue:`37587`: ``_json.scanstring`` is now up to 3x faster when there are " -"many backslash escaped characters in the JSON string." -msgstr "" - -#: ../build/NEWS:14548 -msgid "" -":issue:`37834`: Prevent shutil.rmtree exception when built on non-Windows " -"system without fd system call support, like older versions of macOS." -msgstr "" - -#: ../build/NEWS:14551 -msgid "" -":issue:`10978`: Semaphores and BoundedSemaphores can now release more than " -"one waiting thread at a time." -msgstr "" - -#: ../build/NEWS:14554 -msgid "" -":issue:`37972`: Subscripts to the `unittest.mock.call` objects now receive " -"the same chaining mechanism as any other custom attributes, so that the " -"following usage no longer raises a `TypeError`:" -msgstr "" - -#: ../build/NEWS:14558 -msgid "call().foo().__getitem__('bar')" -msgstr "" - -#: ../build/NEWS:14560 -msgid "Patch by blhsing" -msgstr "" - -#: ../build/NEWS:14562 -msgid "" -":issue:`37965`: Fix C compiler warning caused by distutils.ccompiler." -"CCompiler.has_function." -msgstr "" - -#: ../build/NEWS:14565 -msgid ":issue:`37964`: Add ``F_GETPATH`` command to :mod:`fcntl`." -msgstr "" - -#: ../build/NEWS:14567 -msgid "" -":issue:`37960`: ``repr()`` of buffered and text streams now silences only " -"expected exceptions when get the value of \"name\" and \"mode\" attributes." -msgstr "" - -#: ../build/NEWS:14570 -msgid "" -":issue:`37961`: Add a ``total_nframe`` field to the traces collected by the " -"tracemalloc module. This field indicates the original number of frames " -"before it was truncated." -msgstr "" - -#: ../build/NEWS:14574 -msgid "" -":issue:`37951`: Most features of the subprocess module now work again in " -"subinterpreters. Only *preexec_fn* is restricted in subinterpreters." -msgstr "" - -#: ../build/NEWS:14577 -msgid "" -":issue:`36205`: Fix the rusage implementation of time.process_time() to " -"correctly report the sum of the system and user CPU time." -msgstr "" - -#: ../build/NEWS:14580 -msgid "" -":issue:`37950`: Fix :func:`ast.dump` when call with incompletely initialized " -"node." -msgstr "" - -#: ../build/NEWS:14583 -msgid "" -":issue:`34679`: Restores instantiation of Windows IOCP event loops from the " -"non-main thread." -msgstr "" - -#: ../build/NEWS:14586 -msgid "" -":issue:`36917`: Add default implementation of the :meth:`ast.NodeVisitor." -"visit_Constant` method which emits a deprecation warning and calls " -"corresponding methody ``visit_Num()``, ``visit_Str()``, etc." -msgstr "" - -#: ../build/NEWS:14591 -msgid "" -":issue:`37798`: Update test_statistics.py to verify that the statistics " -"module works well for both C and Python implementations. Patch by Dong-hee Na" -msgstr "" - -#: ../build/NEWS:14594 -msgid "" -":issue:`26589`: Added a new status code to the http module: 451 " -"UNAVAILABLE_FOR_LEGAL_REASONS" -msgstr "" - -#: ../build/NEWS:14597 -msgid "" -":issue:`37915`: Fix a segmentation fault that appeared when comparing " -"instances of ``datetime.timezone`` and ``datetime.tzinfo`` objects. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14601 -msgid "" -":issue:`32554`: Deprecate having random.seed() call hash on arbitrary types." -msgstr "" - -#: ../build/NEWS:14603 -msgid "" -":issue:`9938`: Add optional keyword argument ``exit_on_error`` for :class:" -"`ArgumentParser`." -msgstr "" - -#: ../build/NEWS:14606 -msgid "" -":issue:`37851`: The :mod:`faulthandler` module no longer allocates its " -"alternative stack at Python startup. Now the stack is only allocated at the " -"first faulthandler usage." -msgstr "" - -#: ../build/NEWS:14610 -msgid "" -":issue:`32793`: Fix a duplicated debug message when :meth:`smtplib.SMTP." -"connect` is called." -msgstr "" - -#: ../build/NEWS:14613 -msgid "" -":issue:`37885`: venv: Don't generate unset variable warning on deactivate." -msgstr "" - -#: ../build/NEWS:14615 -msgid "" -":issue:`37868`: Fix dataclasses.is_dataclass when given an instance that " -"never raises AttributeError in __getattr__. That is, an object that returns " -"something for __dataclass_fields__ even if it's not a dataclass." -msgstr "" - -#: ../build/NEWS:14619 -msgid "" -":issue:`37811`: Fix ``socket`` module's ``socket.connect(address)`` function " -"being unable to establish connection in case of interrupted system call. The " -"problem was observed on all OSes which ``poll(2)`` system call can take only " -"non-negative integers and -1 as a timeout value." -msgstr "" - -#: ../build/NEWS:14624 -msgid "" -":issue:`37863`: Optimizations for Fraction.__hash__ suggested by Tim Peters." -msgstr "" - -#: ../build/NEWS:14626 -msgid "" -":issue:`21131`: Fix ``faulthandler.register(chain=True)`` stack. " -"faulthandler now allocates a dedicated stack of ``SIGSTKSZ*2`` bytes, " -"instead of just ``SIGSTKSZ`` bytes. Calling the previous signal handler in " -"faulthandler signal handler uses more than ``SIGSTKSZ`` bytes of stack " -"memory on some platforms." -msgstr "" - -#: ../build/NEWS:14632 -msgid "" -":issue:`37798`: Add C fastpath for statistics.NormalDist.inv_cdf() Patch by " -"Dong-hee Na" -msgstr "" - -#: ../build/NEWS:14635 -msgid "" -":issue:`37804`: Remove the deprecated method `threading.Thread.isAlive()`. " -"Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:14638 -msgid "" -":issue:`37819`: Add Fraction.as_integer_ratio() to match the corresponding " -"methods in bool, int, float, and decimal." -msgstr "" - -#: ../build/NEWS:14641 -msgid "" -":issue:`14465`: Add an xml.etree.ElementTree.indent() function for pretty-" -"printing XML trees. Contributed by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:14644 -msgid "" -":issue:`37810`: Fix :mod:`difflib` ``?`` hint in diff output when dealing " -"with tabs. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:14647 -msgid "" -":issue:`37772`: In ``zipfile.Path``, when adding implicit dirs, ensure that " -"ancestral directories are added and that duplicates are excluded." -msgstr "" - -#: ../build/NEWS:14650 -msgid "" -":issue:`18578`: Renamed and documented `test.bytecode_helper` as `test." -"support.bytecode_helper`. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:14653 -msgid ":issue:`37785`: Fix xgettext warnings in :mod:`argparse`." -msgstr "" - -#: ../build/NEWS:14655 -msgid "" -":issue:`34488`: :meth:`writelines` method of :class:`io.BytesIO` is now " -"slightly faster when many small lines are passed. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:14659 -msgid "" -":issue:`37449`: `ensurepip` now uses `importlib.resources.read_binary()` to " -"read data instead of `pkgutil.get_data()`. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:14662 -msgid "" -":issue:`28292`: Mark calendar.py helper functions as being private. The " -"follows PEP 8 guidance to maintain the style conventions in the module and " -"it addresses a known case of user confusion." -msgstr "" - -#: ../build/NEWS:14666 -msgid "" -":issue:`18049`: Add definition of THREAD_STACK_SIZE for AIX in Python/" -"thread_pthread.h The default thread stacksize caused crashes with the " -"default recursion limit Patch by M Felt" -msgstr "" - -#: ../build/NEWS:14670 -msgid "" -":issue:`37742`: The logging.getLogger() API now returns the root logger when " -"passed the name 'root', whereas previously it returned a non-root logger " -"named 'root'. This could affect cases where user code explicitly wants a non-" -"root logger named 'root', or instantiates a logger using logging." -"getLogger(__name__) in some top-level module called 'root.py'." -msgstr "" - -#: ../build/NEWS:14676 -msgid "" -":issue:`37738`: Fix the implementation of curses ``addch(str, color_pair)``: " -"pass the color pair to ``setcchar()``, instead of always passing 0 as the " -"color pair." -msgstr "" - -#: ../build/NEWS:14680 -msgid "" -":issue:`37723`: Fix performance regression on regular expression parsing " -"with huge character sets. Patch by Yann Vaginay." -msgstr "" - -#: ../build/NEWS:14683 -msgid "" -":issue:`35943`: The function :c:func:`PyImport_GetModule` now ensures any " -"module it returns is fully initialized. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:14686 -msgid "" -":issue:`32178`: Fix IndexError in :mod:`email` package when trying to parse " -"invalid address fields starting with ``:``." -msgstr "" - -#: ../build/NEWS:14689 -msgid "" -":issue:`37268`: The :mod:`parser` module is deprecated and will be removed " -"in future versions of Python." -msgstr "" - -#: ../build/NEWS:14692 -msgid ":issue:`11953`: Completing WSA* error codes in :mod:`socket`." -msgstr "" - -#: ../build/NEWS:14694 -msgid "" -":issue:`37685`: Fixed comparisons of :class:`datetime.timedelta` and :class:" -"`datetime.timezone`." -msgstr "" - -#: ../build/NEWS:14697 -msgid "" -":issue:`37697`: Synchronize ``importlib.metadata`` with `importlib_metadata " -"0.19 `_, " -"improving handling of EGG-INFO files and fixing a crash when entry point " -"names contained colons." -msgstr "" - -#: ../build/NEWS:14703 -msgid "" -":issue:`37695`: Correct :func:`curses.unget_wch` error message. Patch by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:14706 -msgid "" -":issue:`37689`: Add :meth:`is_relative_to` in :class:`PurePath` to determine " -"whether or not one path is relative to another." -msgstr "" - -#: ../build/NEWS:14709 -msgid "" -":issue:`29553`: Fixed :meth:`argparse.ArgumentParser.format_usage` for " -"mutually exclusive groups. Patch by Andrew Nester." -msgstr "" - -#: ../build/NEWS:14712 -msgid "" -":issue:`37691`: Let math.dist() accept coordinates as sequences (or " -"iterables) rather than just tuples." -msgstr "" - -#: ../build/NEWS:14715 -msgid "" -":issue:`37685`: Fixed ``__eq__``, ``__lt__`` etc implementations in some " -"classes. They now return :data:`NotImplemented` for unsupported type of the " -"other operand. This allows the other operand to play role (for example the " -"equality comparison with :data:`~unittest.mock.ANY` will return ``True``)." -msgstr "" - -#: ../build/NEWS:14721 -msgid "" -":issue:`37354`: Make Activate.ps1 Powershell script static to allow for " -"signing it." -msgstr "" - -#: ../build/NEWS:14724 -msgid "" -":issue:`37664`: Update wheels bundled with ensurepip (pip 19.2.3 and " -"setuptools 41.2.0)" -msgstr "" - -#: ../build/NEWS:14727 -msgid "" -":issue:`37663`: Bring consistency to venv shell activation scripts by always " -"using __VENV_PROMPT__." -msgstr "" - -#: ../build/NEWS:14730 -msgid "" -":issue:`37642`: Allowed the pure Python implementation of :class:`datetime." -"timezone` to represent sub-minute offsets close to minimum and maximum " -"boundaries, specifically in the ranges (23:59, 24:00) and (-23:59, 24:00). " -"Patch by Ngalim Siregar" -msgstr "" - -#: ../build/NEWS:14735 -msgid "" -":issue:`36161`: In :mod:`posix`, use ``ttyname_r`` instead of ``ttyname`` " -"for thread safety." -msgstr "" - -#: ../build/NEWS:14738 -msgid "" -":issue:`36324`: Make internal attributes for statistics.NormalDist() private." -msgstr "" - -#: ../build/NEWS:14740 -msgid "" -":issue:`37555`: Fix `NonCallableMock._call_matcher` returning tuple instead " -"of `_Call` object when `self._spec_signature` exists. Patch by Elizabeth " -"Uselton" -msgstr "" - -#: ../build/NEWS:14744 -msgid "" -":issue:`29446`: Make `from tkinter import *` import only the expected " -"objects." -msgstr "" - -#: ../build/NEWS:14746 -msgid "" -":issue:`16970`: Adding a value error when an invalid value in passed to " -"nargs Patch by Robert Leenders" -msgstr "" - -#: ../build/NEWS:14749 -msgid "" -":issue:`34443`: Exceptions from :mod:`enum` now use the ``__qualname`` of " -"the enum class in the exception message instead of the ``__name__``." -msgstr "" - -#: ../build/NEWS:14752 -msgid "" -":issue:`37491`: Fix ``IndexError`` when parsing email headers with " -"unexpectedly ending bare-quoted string value. Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:14755 -msgid "" -":issue:`37587`: Make json.loads faster for long strings. (Patch by Marco " -"Paolini)" -msgstr "" - -#: ../build/NEWS:14758 -msgid "" -":issue:`18378`: Recognize \"UTF-8\" as a valid value for LC_CTYPE in locale." -"_parse_localename." -msgstr "" - -#: ../build/NEWS:14761 -msgid "" -":issue:`37579`: Return :exc:`NotImplemented` in Python implementation of " -"``__eq__`` for :class:`~datetime.timedelta` and :class:`~datetime.time` when " -"the other object being compared is not of the same type to match C " -"implementation. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:14766 -msgid "" -":issue:`21478`: Record calls to parent when autospecced object is attached " -"to a mock using :func:`unittest.mock.attach_mock`. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:14770 -msgid "" -":issue:`37531`: \"python3 -m test -jN --timeout=TIMEOUT\" now kills a worker " -"process if it runs longer than *TIMEOUT* seconds." -msgstr "" - -#: ../build/NEWS:14773 -msgid "" -":issue:`37482`: Fix serialization of display name in originator or " -"destination address fields with both encoded words and special chars." -msgstr "" - -#: ../build/NEWS:14776 -msgid "" -":issue:`36993`: Improve error reporting for corrupt zip files with bad zip64 " -"extra data. Patch by Daniel Hillier." -msgstr "" - -#: ../build/NEWS:14779 -msgid "" -":issue:`37502`: pickle.loads() no longer raises TypeError when the buffers " -"argument is set to None" -msgstr "" - -#: ../build/NEWS:14782 -msgid "" -":issue:`37520`: Correct behavior for zipfile.Path.parent when the path " -"object identifies a subdirectory." -msgstr "" - -#: ../build/NEWS:14785 -msgid "" -":issue:`18374`: Fix the ``.col_offset`` attribute of nested :class:`ast." -"BinOp` instances which had a too large value in some situations." -msgstr "" - -#: ../build/NEWS:14788 -msgid "" -":issue:`37424`: Fixes a possible hang when using a timeout on `subprocess." -"run()` while capturing output. If the child process spawned its own " -"children or otherwise connected its stdout or stderr handles with another " -"process, we could hang after the timeout was reached and our child was " -"killed when attempting to read final output from the pipes." -msgstr "" - -#: ../build/NEWS:14794 -msgid "" -":issue:`37421`: Fix :func:`multiprocessing.util.get_temp_dir` finalizer: " -"clear also the 'tempdir' configuration of the current process, so next call " -"to ``get_temp_dir()`` will create a new temporary directory, rather than " -"reusing the removed temporary directory." -msgstr "" - -#: ../build/NEWS:14799 -msgid "" -":issue:`37481`: The distutils ``bdist_wininst`` command is deprecated in " -"Python 3.8, use ``bdist_wheel`` (wheel packages) instead." -msgstr "" - -#: ../build/NEWS:14802 -msgid "" -":issue:`37479`: When `Enum.__str__` is overridden in a derived class, the " -"override will be used by `Enum.__format__` regardless of whether mixin " -"classes are present." -msgstr "" - -#: ../build/NEWS:14806 -msgid "" -":issue:`37440`: http.client now enables TLS 1.3 post-handshake " -"authentication for default context or if a cert_file is passed to " -"HTTPSConnection." -msgstr "" - -#: ../build/NEWS:14809 -msgid ":issue:`37437`: Update vendorized expat version to 2.2.7." -msgstr "" - -#: ../build/NEWS:14811 -msgid "" -":issue:`37428`: SSLContext.post_handshake_auth = True no longer sets " -"SSL_VERIFY_POST_HANDSHAKE verify flag for client connections. Although the " -"option is documented as ignored for clients, OpenSSL implicitly enables cert " -"chain validation when the flag is set." -msgstr "" - -#: ../build/NEWS:14816 -msgid "" -":issue:`37420`: :func:`os.sched_setaffinity` now correctly handles errors " -"that arise during iteration over its ``mask`` argument. Patch by Brandt " -"Bucher." -msgstr "" - -#: ../build/NEWS:14819 -msgid "" -":issue:`37412`: The :func:`os.getcwdb` function now uses the UTF-8 encoding " -"on Windows, rather than the ANSI code page: see :pep:`529` for the " -"rationale. The function is no longer deprecated on Windows." -msgstr "" - -#: ../build/NEWS:14823 -msgid "" -":issue:`37406`: The sqlite3 module now raises TypeError, rather than " -"ValueError, if operation argument type is not str: execute(), executemany() " -"and calling a connection." -msgstr "" - -#: ../build/NEWS:14827 -msgid "" -":issue:`29412`: Fix IndexError in parsing a header value ending " -"unexpectedly. Patch by Abhilash Raj." -msgstr "" - -#: ../build/NEWS:14830 -msgid "" -":issue:`36546`: The *dist* argument for statistics.quantiles() is now " -"positional only. The current name doesn't reflect that the argument can be " -"either a dataset or a distribution. Marking the parameter as positional " -"avoids confusion and makes it possible to change the name later." -msgstr "" - -#: ../build/NEWS:14835 -msgid "" -":issue:`37394`: Fix a bug that was causing the :mod:`queue` module to fail " -"if the accelerator module was not available. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:14838 -msgid "" -":issue:`37376`: :mod:`pprint` now has support for :class:`types." -"SimpleNamespace`. Patch by Carl Bordum Hansen." -msgstr "" - -#: ../build/NEWS:14841 -msgid "" -":issue:`26967`: An :class:`~argparse.ArgumentParser` with " -"``allow_abbrev=False`` no longer disables grouping of short flags, such as " -"``-vv``, but only disables abbreviation of long flags as documented. Patch " -"by Zac Hatfield-Dodds." -msgstr "" - -#: ../build/NEWS:14846 -msgid "" -":issue:`37212`: :func:`unittest.mock.call` now preserves the order of " -"keyword arguments in repr output. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:14849 -msgid "" -":issue:`37372`: Fix error unpickling datetime.time objects from Python 2 " -"with seconds>=24. Patch by Justin Blanchard." -msgstr "" - -#: ../build/NEWS:14852 -msgid "" -":issue:`37345`: Add formal support for UDPLITE sockets. Support was present " -"before, but it is now easier to detect support with ``hasattr(socket, " -"'IPPROTO_UDPLITE')`` and there are constants defined for each of the values " -"needed: :py:obj:`socket.IPPROTO_UDPLITE`, :py:obj:`UDPLITE_SEND_CSCOV`, and :" -"py:obj:`UDPLITE_RECV_CSCOV`. Patch by Gabe Appleton." -msgstr "" - -#: ../build/NEWS:14859 -msgid ":issue:`37358`: Optimized ``functools.partial`` by using vectorcall." -msgstr "" - -#: ../build/NEWS:14861 -msgid "" -":issue:`37347`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." -"Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" -"meth:`sqlite3.Connection.set_progress_handler` :meth:`sqlite3.Connection." -"set_trace_callback` methods lead to segfaults if some of these methods are " -"called twice with an equal object but not the same. Now callbacks are stored " -"more carefully. Patch by Aleksandr Balezin." -msgstr "" - -#: ../build/NEWS:14869 -msgid "" -":issue:`37163`: The *obj* argument of :func:`dataclasses.replace` is " -"positional-only now." -msgstr "" - -#: ../build/NEWS:14872 -msgid "" -":issue:`37085`: Add the optional Linux SocketCAN Broadcast Manager " -"constants, used as flags to configure the BCM behaviour, in the socket " -"module. Patch by Karl Ding." -msgstr "" - -#: ../build/NEWS:14876 -msgid "" -":issue:`37328`: ``HTMLParser.unescape`` is removed. It was undocumented and " -"deprecated since Python 3.4." -msgstr "" - -#: ../build/NEWS:14879 -msgid "" -":issue:`37305`: Add .webmanifest -> application/manifest+json to list of " -"recognized file types and content type headers" -msgstr "" - -#: ../build/NEWS:14882 -msgid "" -":issue:`37320`: ``aifc.openfp()`` alias to ``aifc.open()``, ``sunau." -"openfp()`` alias to ``sunau.open()``, and ``wave.openfp()`` alias to ``wave." -"open()`` have been removed. They were deprecated since Python 3.7." -msgstr "" - -#: ../build/NEWS:14886 -msgid "" -":issue:`37315`: Deprecated accepting floats with integral value (like " -"``5.0``) in :func:`math.factorial`." -msgstr "" - -#: ../build/NEWS:14889 -msgid "" -":issue:`37312`: ``_dummy_thread`` and ``dummy_threading`` modules have been " -"removed. These modules were deprecated since Python 3.7 which requires " -"threading support." -msgstr "" - -#: ../build/NEWS:14893 -msgid "" -":issue:`33972`: Email with single part but content-type set to ``multipart/" -"*`` doesn't raise AttributeError anymore." -msgstr "" - -#: ../build/NEWS:14896 -msgid "" -":issue:`37280`: Use threadpool for reading from file for sendfile fallback " -"mode." -msgstr "" - -#: ../build/NEWS:14899 -msgid "" -":issue:`37279`: Fix asyncio sendfile support when sendfile sends extra data " -"in fallback mode." -msgstr "" - -#: ../build/NEWS:14902 -msgid "" -":issue:`19865`: :func:`ctypes.create_unicode_buffer()` now also supports non-" -"BMP characters on platforms with 16-bit :c:type:`wchar_t` (for example, " -"Windows and AIX)." -msgstr "" - -#: ../build/NEWS:14906 -msgid "" -":issue:`37266`: In a subinterpreter, spawning a daemon thread now raises an " -"exception. Daemon threads were never supported in subinterpreters. " -"Previously, the subinterpreter finalization crashed with a Python fatal " -"error if a daemon thread was still running." -msgstr "" - -#: ../build/NEWS:14911 -msgid "" -":issue:`37210`: Allow pure Python implementation of :mod:`pickle` to work " -"even when the C :mod:`_pickle` module is unavailable." -msgstr "" - -#: ../build/NEWS:14914 -msgid "" -":issue:`21872`: Fix :mod:`lzma`: module decompresses data incompletely. When " -"decompressing a FORMAT_ALONE format file, and it doesn't have the end " -"marker, sometimes the last one to dozens bytes can't be output. Patch by Ma " -"Lin." -msgstr "" - -#: ../build/NEWS:14919 -msgid "" -":issue:`35922`: Fix :meth:`RobotFileParser.crawl_delay` and :meth:" -"`RobotFileParser.request_rate` to return ``None`` rather than raise :exc:" -"`AttributeError` when no relevant rule is defined in the robots.txt file. " -"Patch by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:14924 -msgid "" -":issue:`35766`: Change the format of feature_version to be a (major, minor) " -"tuple." -msgstr "" - -#: ../build/NEWS:14927 -msgid "" -":issue:`36607`: Eliminate :exc:`RuntimeError` raised by :func:`asyncio." -"all_tasks()` if internal tasks weak set is changed by another thread during " -"iteration." -msgstr "" - -#: ../build/NEWS:14931 -msgid "" -":issue:`18748`: :class:`_pyio.IOBase` destructor now does nothing if getting " -"the ``closed`` attribute fails to better mimic :class:`_io.IOBase` finalizer." -msgstr "" - -#: ../build/NEWS:14935 -msgid "" -":issue:`36402`: Fix a race condition at Python shutdown when waiting for " -"threads. Wait until the Python thread state of all non-daemon threads get " -"deleted (join all non-daemon threads), rather than just wait until non-" -"daemon Python threads complete." -msgstr "" - -#: ../build/NEWS:14940 -msgid "" -":issue:`37206`: Default values which cannot be represented as Python objects " -"no longer improperly represented as ``None`` in function signatures." -msgstr "" - -#: ../build/NEWS:14943 -msgid "" -":issue:`37111`: Added ``encoding`` and ``errors`` keyword parameters to " -"``logging.basicConfig``." -msgstr "" - -#: ../build/NEWS:14946 -msgid "" -":issue:`12144`: Ensure cookies with ``expires`` attribute are handled in :" -"meth:`CookieJar.make_cookies`." -msgstr "" - -#: ../build/NEWS:14949 -msgid "" -":issue:`34886`: Fix an unintended ValueError from :func:`subprocess.run` " -"when checking for conflicting `input` and `stdin` or `capture_output` and " -"`stdout` or `stderr` args when they were explicitly provided but with `None` " -"values within a passed in `**kwargs` dict rather than as passed directly by " -"name. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:14955 -msgid "" -":issue:`37173`: The exception message for ``inspect.getfile()`` now " -"correctly reports the passed class rather than the builtins module." -msgstr "" - -#: ../build/NEWS:14958 -msgid "" -":issue:`37178`: Give math.perm() a one argument form that means the same as " -"math.factorial()." -msgstr "" - -#: ../build/NEWS:14961 -msgid "" -":issue:`37178`: For math.perm(n, k), let k default to n, giving the same " -"result as factorial." -msgstr "" - -#: ../build/NEWS:14964 -msgid "" -":issue:`37165`: Converted _collections._count_elements to use the Argument " -"Clinic." -msgstr "" - -#: ../build/NEWS:14967 -msgid "" -":issue:`34767`: Do not always create a :class:`collections.deque` in :class:" -"`asyncio.Lock`." -msgstr "" - -#: ../build/NEWS:14970 -msgid "" -":issue:`37158`: Speed-up statistics.fmean() by switching from a function to " -"a generator." -msgstr "" - -#: ../build/NEWS:14973 -msgid ":issue:`34282`: Remove ``Enum._convert`` method, deprecated in 3.8." -msgstr "" - -#: ../build/NEWS:14975 -msgid "" -":issue:`37150`: `argparse._ActionsContainer.add_argument` now throws error, " -"if someone accidentally pass FileType class object instead of instance of " -"FileType as `type` argument" -msgstr "" - -#: ../build/NEWS:14979 -msgid "" -":issue:`28724`: The socket module now has the :func:`socket.send_fds` and :" -"func:`socket.recv.fds` methods. Contributed by Joannah Nanjekye, Shinya " -"Okano and Victor Stinner." -msgstr "" - -#: ../build/NEWS:14983 -msgid "" -":issue:`35621`: Support running asyncio subprocesses when execution event " -"loop in a thread on UNIX." -msgstr "" - -#: ../build/NEWS:14986 -msgid "" -":issue:`36520`: Lengthy email headers with UTF-8 characters are now properly " -"encoded when they are folded. Patch by Jeffrey Kintscher." -msgstr "" - -#: ../build/NEWS:14989 -msgid "" -":issue:`30835`: Fixed a bug in email parsing where a message with invalid " -"bytes in content-transfer-encoding of a multipart message can cause an " -"AttributeError. Patch by Andrew Donnellan." -msgstr "" - -#: ../build/NEWS:14993 -msgid "" -":issue:`31163`: pathlib.Path instance's rename and replace methods now " -"return the new Path instance." -msgstr "" - -#: ../build/NEWS:14996 -msgid "" -":issue:`25068`: :class:`urllib.request.ProxyHandler` now lowercases the keys " -"of the passed dictionary." -msgstr "" - -#: ../build/NEWS:14999 -msgid "" -":issue:`26185`: Fix :func:`repr` on empty :class:`ZipInfo` object. Patch by " -"Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:15002 -msgid "" -":issue:`21315`: Email headers containing RFC2047 encoded words are parsed " -"despite the missing whitespace, and a defect registered. Also missing " -"trailing whitespace after encoded words is now registered as a defect." -msgstr "" - -#: ../build/NEWS:15006 -msgid "" -":issue:`31904`: Port test_datetime to VxWorks: skip zoneinfo tests on VxWorks" -msgstr "" - -#: ../build/NEWS:15008 -msgid "" -":issue:`35805`: Add parser for Message-ID header and add it to default " -"HeaderRegistry. This should prevent folding of Message-ID using RFC 2048 " -"encoded words." -msgstr "" - -#: ../build/NEWS:15012 -msgid "" -":issue:`36871`: Ensure method signature is used instead of constructor " -"signature of a class while asserting mock object against method calls. Patch " -"by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:15016 -msgid "" -":issue:`35070`: posix.getgrouplist() now works correctly when the user " -"belongs to NGROUPS_MAX supplemental groups. Patch by Jeffrey Kintscher." -msgstr "" - -#: ../build/NEWS:15019 -msgid "" -":issue:`31783`: Fix race condition in ThreadPoolExecutor when worker threads " -"are created during interpreter shutdown." -msgstr "" - -#: ../build/NEWS:15022 -msgid "" -":issue:`36582`: Fix ``UserString.encode()`` to correctly return ``bytes`` " -"rather than a ``UserString`` instance." -msgstr "" - -#: ../build/NEWS:15025 -msgid "" -":issue:`32424`: Deprecate xml.etree.ElementTree.Element.copy() in favor of " -"copy.copy()." -msgstr "" - -#: ../build/NEWS:15028 -msgid "Patch by Gordon P. Hemsley" -msgstr "" - -#: ../build/NEWS:15030 -msgid "" -":issue:`36564`: Fix infinite loop in email header folding logic that would " -"be triggered when an email policy's max_line_length is not long enough to " -"include the required markup and any values in the message. Patch by Paul " -"Ganssle" -msgstr "" - -#: ../build/NEWS:15035 -msgid "" -":issue:`36543`: Removed methods Element.getchildren(), Element.getiterator() " -"and ElementTree.getiterator() and the xml.etree.cElementTree module." -msgstr "" - -#: ../build/NEWS:15038 -msgid ":issue:`36409`: Remove the old plistlib API deprecated in Python 3.4" -msgstr "" - -#: ../build/NEWS:15040 -msgid "" -":issue:`36302`: distutils sorts source file lists so that Extension .so " -"files build more reproducibly by default" -msgstr "" - -#: ../build/NEWS:15043 -msgid "" -":issue:`36250`: Ignore ``ValueError`` from ``signal`` with ``interaction`` " -"in non-main thread." -msgstr "" - -#: ../build/NEWS:15046 -msgid "" -":issue:`36046`: Added ``user``, ``group`` and ``extra_groups`` parameters to " -"the subprocess.Popen constructor. Patch by Patrick McLean." -msgstr "" - -#: ../build/NEWS:15049 -msgid "" -":issue:`32627`: Fix compile error when ``_uuid`` headers conflicting " -"included." -msgstr "" - -#: ../build/NEWS:15051 -msgid "" -":issue:`35800`: Deprecate ``smtpd.MailmanProxy`` ready for future removal." -msgstr "" - -#: ../build/NEWS:15053 -msgid "" -":issue:`35168`: :attr:`shlex.shlex.punctuation_chars` is now a read-only " -"property." -msgstr "" - -#: ../build/NEWS:15056 -msgid "" -":issue:`8538`: Add support for boolean actions like ``--foo`` and ``--no-" -"foo`` to argparse. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:15059 -msgid "" -":issue:`20504`: Fixes a bug in :mod:`cgi` module when a multipart/form-data " -"request has no `Content-Length` header." -msgstr "" - -#: ../build/NEWS:15062 -msgid "" -":issue:`25988`: The abstract base classes in :mod:`collections.abc` no " -"longer are exposed in the regular :mod:`collections` module." -msgstr "" - -#: ../build/NEWS:15065 -msgid "" -":issue:`11122`: Distutils won't check for rpmbuild in specified paths only." -msgstr "" - -#: ../build/NEWS:15067 -msgid "" -":issue:`34775`: Division handling of PurePath now returns NotImplemented " -"instead of raising a TypeError when passed something other than an instance " -"of str or PurePath. Patch by Roger Aiudi." -msgstr "" - -#: ../build/NEWS:15071 -msgid "" -":issue:`34749`: :func:`binascii.a2b_base64` is now up to 2 times faster. " -"Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:15074 -msgid "" -":issue:`34519`: Add additional aliases for HP Roman 8. Patch by Michael " -"Osipov." -msgstr "" - -#: ../build/NEWS:15076 -msgid "" -":issue:`28009`: Fix uuid.getnode() on platforms with '.' as MAC Addr " -"delimiter as well fix for MAC Addr format that omits a leading 0 in MAC Addr " -"values. Currently, AIX is the only know platform with these settings. Patch " -"by Michael Felt." -msgstr "" - -#: ../build/NEWS:15081 -msgid "" -":issue:`30618`: Add :meth:`~pathlib.Path.readlink`. Patch by Girts Folkmanis." -msgstr "" - -#: ../build/NEWS:15083 -msgid "" -":issue:`32498`: Made :func:`urllib.parse.unquote()` accept bytes in addition " -"to strings. Patch by Stein Karlsen." -msgstr "" - -#: ../build/NEWS:15086 -msgid "" -":issue:`33348`: lib2to3 now recognizes expressions after ``*`` and `**` like " -"in ``f(*[] or [])``." -msgstr "" - -#: ../build/NEWS:15089 -msgid "" -":issue:`32689`: Update :func:`shutil.move` function to allow for Path " -"objects to be used as source argument. Patch by Emily Morehouse and Maxwell " -"\"5.13b\" McKinnon." -msgstr "" - -#: ../build/NEWS:15093 -msgid "" -":issue:`32820`: Added __format__ to IPv4 and IPv6 classes. Always outputs a " -"fully zero- padded string. Supports b/x/n modifiers (bin/hex/native " -"format). Native format for IPv4 is bin, native format for IPv6 is hex. Also " -"supports '#' and '_' modifiers." -msgstr "" - -#: ../build/NEWS:15098 -msgid "" -":issue:`27657`: Fix urllib.parse.urlparse() with numeric paths. A string " -"like \"path:80\" is no longer parsed as a path but as a scheme (\"path\") " -"and a path (\"80\")." -msgstr "" - -#: ../build/NEWS:15102 -msgid "" -":issue:`4963`: Fixed non-deterministic behavior related to mimetypes " -"extension mapping and module reinitialization." -msgstr "" - -#: ../build/NEWS:15108 -msgid "" -":issue:`21767`: Explicitly mention abc support in functools.singledispatch" -msgstr "" - -#: ../build/NEWS:15110 -msgid "" -":issue:`38816`: Provides more details about the interaction between :c:func:" -"`fork` and CPython's runtime, focusing just on the C-API. This includes " -"cautions about where :c:func:`fork` should and shouldn't be called." -msgstr "" - -#: ../build/NEWS:15115 -msgid "" -":issue:`38351`: Modernize :mod:`email` examples from %-formatting to f-" -"strings." -msgstr "" - -#: ../build/NEWS:15117 -msgid "" -":issue:`38778`: Document the fact that :exc:`RuntimeError` is raised if :" -"meth:`os.fork` is called in a subinterpreter." -msgstr "" - -#: ../build/NEWS:15120 -msgid "" -":issue:`38592`: Add Brazilian Portuguese to the language switcher at Python " -"Documentation website." -msgstr "" - -#: ../build/NEWS:15123 -msgid "" -":issue:`38294`: Add list of no-longer-escaped chars to re.escape " -"documentation" -msgstr "" - -#: ../build/NEWS:15125 -msgid ":issue:`38053`: Modernized the plistlib documentation" -msgstr "" - -#: ../build/NEWS:15127 -msgid "" -":issue:`26868`: Fix example usage of :c:func:`PyModule_AddObject` to " -"properly handle errors." -msgstr "" - -#: ../build/NEWS:15130 -msgid ":issue:`36797`: Fix a dead link in the distutils API Reference." -msgstr "" - -#: ../build/NEWS:15132 -msgid ":issue:`37977`: Warn more strongly and clearly about pickle insecurity" -msgstr "" - -#: ../build/NEWS:15134 -msgid "" -":issue:`37979`: Added a link to dateutil.parser.isoparse in the datetime." -"fromisoformat documentation. Patch by Paul Ganssle" -msgstr "" - -#: ../build/NEWS:15137 -msgid "" -":issue:`12707`: Deprecate info(), geturl(), getcode() methods in favor of " -"the headers, url, and status properties, respectively, for HTTPResponse and " -"addinfourl. Also deprecate the code attribute of addinfourl in favor of the " -"status attribute. Patch by Ashwin Ramaswami" -msgstr "" - -#: ../build/NEWS:15142 -msgid ":issue:`37937`: Mention ``frame.f_trace`` in :func:`sys.settrace` docs." -msgstr "" - -#: ../build/NEWS:15144 -msgid ":issue:`37878`: Make :c:func:`PyThreadState_DeleteCurrent` Internal." -msgstr "" - -#: ../build/NEWS:15146 -msgid ":issue:`37759`: Beginning edits to Whatsnew 3.8" -msgstr "" - -#: ../build/NEWS:15148 -msgid "" -":issue:`37726`: Stop recommending getopt in the tutorial for command line " -"argument parsing and promote argparse." -msgstr "" - -#: ../build/NEWS:15151 -msgid "" -":issue:`32910`: Remove implementation-specific behaviour of how venv's " -"Deactivate works." -msgstr "" - -#: ../build/NEWS:15154 -msgid "" -":issue:`37256`: Fix wording of arguments for :class:`Request` in :mod:" -"`urllib.request`" -msgstr "" - -#: ../build/NEWS:15157 -msgid "" -":issue:`37284`: Add a brief note to indicate that any new ``sys." -"implementation`` required attributes must go through the PEP process." -msgstr "" - -#: ../build/NEWS:15161 -msgid "" -":issue:`30088`: Documented that :class:`mailbox.Maildir` constructor doesn't " -"attempt to verify the maildir folder layout correctness. Patch by Sviatoslav " -"Sydorenko." -msgstr "" - -#: ../build/NEWS:15165 -msgid "" -":issue:`37521`: Fix `importlib` examples to insert any newly created modules " -"via importlib.util.module_from_spec() immediately into sys.modules instead " -"of after calling loader.exec_module()." -msgstr "" - -#: ../build/NEWS:15169 -msgid "Thanks to Benjamin Mintz for finding the bug." -msgstr "" - -#: ../build/NEWS:15171 -msgid ":issue:`37456`: Slash ('/') is now part of syntax." -msgstr "" - -#: ../build/NEWS:15173 -msgid ":issue:`37487`: Fix PyList_GetItem index description to include 0." -msgstr "" - -#: ../build/NEWS:15175 -msgid "" -":issue:`37149`: Replace the dead link to the Tkinter 8.5 reference by John " -"Shipman, New Mexico Tech, with a link to the archive.org copy." -msgstr "" - -#: ../build/NEWS:15178 -msgid "" -":issue:`37478`: Added possible exceptions to the description of os.chdir()." -msgstr "" - -#: ../build/NEWS:15180 -msgid "" -":issue:`34903`: Documented that in :meth:`datetime.datetime.strptime()`, the " -"leading zero in some two-digit formats is optional. Patch by Mike Gleen." -msgstr "" - -#: ../build/NEWS:15183 -msgid "" -":issue:`36260`: Add decompression pitfalls to zipfile module documentation." -msgstr "" - -#: ../build/NEWS:15185 -msgid "" -":issue:`37004`: In the documentation for difflib, a note was added " -"explicitly warning that the results of SequenceMatcher's ratio method may " -"depend on the order of the input strings." -msgstr "" - -#: ../build/NEWS:15189 -msgid "" -":issue:`36960`: Restructured the :mod:`datetime` docs in the interest of " -"making them more user-friendly and improving readability. Patch by Brad " -"Solomon." -msgstr "" - -#: ../build/NEWS:15192 -msgid "" -":issue:`36487`: Make C-API docs clear about what the \"main\" interpreter is." -msgstr "" - -#: ../build/NEWS:15194 -msgid "" -":issue:`23460`: The documentation for decimal string formatting using the `:" -"g` specifier has been updated to reflect the correct exponential notation " -"cutoff point. Original patch contributed by Tuomas Suutari." -msgstr "" - -#: ../build/NEWS:15198 -msgid "" -":issue:`35803`: Document and test that ``tempfile`` functions may accept a :" -"term:`path-like object` for the ``dir`` argument. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:15202 -msgid "" -":issue:`33944`: Added a note about the intended use of code in .pth files." -msgstr "" - -#: ../build/NEWS:15204 -msgid "" -":issue:`34293`: Fix the Doc/Makefile regarding PAPER environment variable " -"and PDF builds" -msgstr "" - -#: ../build/NEWS:15207 -msgid ":issue:`25237`: Add documentation for tkinter modules" -msgstr "" - -#: ../build/NEWS:15212 -msgid "" -":issue:`38614`: Fix test_communicate() of test_asyncio.test_subprocess: use " -"``support.LONG_TIMEOUT`` (5 minutes), instead of just 1 minute." -msgstr "" - -#: ../build/NEWS:15215 -msgid "" -":issue:`38614`: Add timeout constants to :mod:`test.support`: :data:`~test." -"support.LOOPBACK_TIMEOUT`, :data:`~test.support.INTERNET_TIMEOUT`, :data:" -"`~test.support.SHORT_TIMEOUT` and :data:`~test.support.LONG_TIMEOUT`." -msgstr "" - -#: ../build/NEWS:15221 -msgid "" -":issue:`38502`: test.regrtest now uses process groups in the multiprocessing " -"mode (-jN command line option) if process groups are available: if :func:`os." -"setsid` and :func:`os.killpg` functions are available." -msgstr "" - -#: ../build/NEWS:15225 -msgid "" -":issue:`35998`: Fix a race condition in test_asyncio." -"test_start_tls_server_1(). Previously, there was a race condition between " -"the test main() function which replaces the protocol and the test " -"ServerProto protocol which sends ANSWER once it gets HELLO. Now, only the " -"test main() function is responsible to send data, ServerProto no longer " -"sends data." -msgstr "" - -#: ../build/NEWS:15231 -msgid "" -":issue:`38470`: Fix ``test_compileall.test_compile_dir_maxlevels()`` on " -"Windows without long path support: only create 3 subdirectories instead of " -"between 20 and 100 subdirectories." -msgstr "" - -#: ../build/NEWS:15235 -msgid "" -":issue:`37531`: On timeout, regrtest no longer attempts to call ``popen." -"communicate()`` again: it can hang until all child processes using stdout " -"and stderr pipes completes. Kill the worker process and ignores its output. " -"Change also the faulthandler timeout of the main process from 1 minute to 5 " -"minutes, for Python slowest buildbots." -msgstr "" - -#: ../build/NEWS:15241 -msgid ":issue:`38239`: Fix test_gdb for Link Time Optimization (LTO) builds." -msgstr "" - -#: ../build/NEWS:15243 -msgid "" -":issue:`38275`: test_ssl now handles disabled TLS/SSL versions better. " -"OpenSSL's crypto policy and run-time settings are recognized and tests for " -"disabled versions are skipped. Tests also accept more TLS minimum_versions " -"for platforms that override OpenSSL's default with strict settings." -msgstr "" - -#: ../build/NEWS:15248 -msgid "" -":issue:`38271`: The private keys for test_ssl were encrypted with 3DES in " -"traditional PKCS#5 format. 3DES and the digest algorithm of PKCS#5 are " -"blocked by some strict crypto policies. Use PKCS#8 format with AES256 " -"encryption instead." -msgstr "" - -#: ../build/NEWS:15253 -msgid "" -":issue:`38270`: test.support now has a helper function to check for " -"availability of a hash digest function. Several tests are refactored avoid " -"MD5 and use SHA256 instead. Other tests are marked to use MD5 and skipped " -"when MD5 is disabled." -msgstr "" - -#: ../build/NEWS:15258 -msgid "" -":issue:`37123`: Multiprocessing test test_mymanager() now also expects -" -"SIGTERM, not only exitcode 0. BaseManager._finalize_manager() sends SIGTERM " -"to the manager process if it takes longer than 1 second to stop, which " -"happens on slow buildbots." -msgstr "" - -#: ../build/NEWS:15263 -msgid "" -":issue:`38212`: Multiprocessing tests: increase " -"test_queue_feeder_donot_stop_onexc() timeout from 1 to 60 seconds." -msgstr "" - -#: ../build/NEWS:15266 -msgid ":issue:`38117`: Test with OpenSSL 1.1.1d" -msgstr "" - -#: ../build/NEWS:15268 -msgid "" -":issue:`38018`: Increase code coverage for multiprocessing.shared_memory." -msgstr "" - -#: ../build/NEWS:15270 -msgid "" -":issue:`37805`: Add tests for json.dump(..., skipkeys=True). Patch by Dong-" -"hee Na." -msgstr "" - -#: ../build/NEWS:15273 -msgid "" -":issue:`37531`: Enhance regrtest multiprocess timeout: write a message when " -"killing a worker process, catch popen.kill() and popen.wait() exceptions, " -"put a timeout on the second call to popen.communicate()." -msgstr "" - -#: ../build/NEWS:15277 -msgid ":issue:`37876`: Add tests for ROT-13 codec." -msgstr "" - -#: ../build/NEWS:15279 -msgid "" -":issue:`36833`: Added tests for PyDateTime_xxx_GET_xxx() macros of the C API " -"of the :mod:`datetime` module. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:15282 -msgid "" -":issue:`37558`: Fix test_shared_memory_cleaned_after_process_termination " -"name handling" -msgstr "" - -#: ../build/NEWS:15285 -msgid "" -":issue:`37526`: Add :func:`test.support.catch_threading_exception`: context " -"manager catching :class:`threading.Thread` exception using :func:`threading." -"excepthook`." -msgstr "" - -#: ../build/NEWS:15289 -msgid "" -":issue:`37421`: test_concurrent_futures now explicitly stops the ForkServer " -"instance if it's running." -msgstr "" - -#: ../build/NEWS:15292 -msgid "" -":issue:`37421`: multiprocessing tests now stop the ForkServer instance if " -"it's running: close the \"alive\" file descriptor to ask the server to stop " -"and then remove its UNIX address." -msgstr "" - -#: ../build/NEWS:15296 -msgid "" -":issue:`37421`: test_distutils.test_build_ext() is now able to remove the " -"temporary directory on Windows: don't import the newly built C extension " -"(\"xx\") in the current process, but test it in a separated process." -msgstr "" - -#: ../build/NEWS:15300 -msgid "" -":issue:`37421`: test_concurrent_futures now cleans up multiprocessing to " -"remove immediately temporary directories created by multiprocessing.util." -"get_temp_dir()." -msgstr "" - -#: ../build/NEWS:15304 -msgid "" -":issue:`37421`: test_winconsoleio doesn't leak a temporary file anymore: use " -"tempfile.TemporaryFile() to remove it when the test completes." -msgstr "" - -#: ../build/NEWS:15307 -msgid "" -":issue:`37421`: multiprocessing tests now explicitly call " -"``_run_finalizers()`` to immediately remove temporary directories created by " -"tests." -msgstr "" - -#: ../build/NEWS:15310 -msgid "" -":issue:`37421`: urllib.request tests now call :func:`~urllib.request." -"urlcleanup` to remove temporary files created by ``urlretrieve()`` tests and " -"to clear the ``_opener`` global variable set by ``urlopen()`` and functions " -"calling indirectly ``urlopen()``." -msgstr "" - -#: ../build/NEWS:15315 -msgid ":issue:`37472`: Remove ``Lib/test/outstanding_bugs.py``." -msgstr "" - -#: ../build/NEWS:15317 -msgid ":issue:`37199`: Fix test failures when IPv6 is unavailable or disabled." -msgstr "" - -#: ../build/NEWS:15319 -msgid "" -":issue:`19696`: Replace deprecated method \"random.choose\" with \"random." -"choice\" in \"test_pkg_import.py\"." -msgstr "" - -#: ../build/NEWS:15322 -msgid "" -":issue:`37335`: Remove no longer necessary code from c locale coercion tests" -msgstr "" - -#: ../build/NEWS:15324 -msgid ":issue:`37421`: Fix test_shutil to no longer leak temporary files." -msgstr "" - -#: ../build/NEWS:15326 -msgid "" -":issue:`37411`: Fix test_wsgiref.testEnviron() to no longer depend on the " -"environment variables (don't fail if \"X\" variable is set)." -msgstr "" - -#: ../build/NEWS:15329 -msgid "" -":issue:`37400`: Fix test_os.test_chown(): use os.getgroups() rather than grp." -"getgrall() to get groups. Rename also the test to test_chown_gid()." -msgstr "" - -#: ../build/NEWS:15332 -msgid "" -":issue:`37359`: Add --cleanup option to python3 -m test to remove " -"``test_python_*`` directories of previous failed jobs. Add \"make " -"cleantest\" to run ``python3 -m test --cleanup``." -msgstr "" - -#: ../build/NEWS:15336 -msgid "" -":issue:`37362`: test_gdb no longer fails if it gets an \"unexpected\" " -"message on stderr: it now ignores stderr. The purpose of test_gdb is to test " -"that python-gdb.py commands work as expected, not to test gdb." -msgstr "" - -#: ../build/NEWS:15340 -msgid "" -":issue:`35998`: Avoid TimeoutError in test_asyncio: test_start_tls_server_1()" -msgstr "" - -#: ../build/NEWS:15342 -msgid "" -":issue:`37278`: Fix test_asyncio ProactorLoopCtrlC: join the thread to " -"prevent leaking a running thread and leaking a reference." -msgstr "" - -#: ../build/NEWS:15345 -msgid "" -":issue:`37261`: Fix :func:`test.support.catch_unraisable_exception`: its " -"__exit__() method now ignores unraisable exception raised when clearing its " -"``unraisable`` attribute." -msgstr "" - -#: ../build/NEWS:15349 -msgid "" -":issue:`37069`: regrtest now uses :func:`sys.unraisablehook` to mark a test " -"as \"environment altered\" (ENV_CHANGED) if it emits an \"unraisable " -"exception\". Moreover, regrtest logs a warning in this case." -msgstr "" - -#: ../build/NEWS:15353 -msgid "" -"Use ``python3 -m test --fail-env-changed`` to catch unraisable exceptions in " -"tests." -msgstr "" - -#: ../build/NEWS:15356 -msgid "" -":issue:`37252`: Fix assertions in ``test_close`` and " -"``test_events_mask_overflow`` devpoll tests." -msgstr "" - -#: ../build/NEWS:15359 -msgid ":issue:`37169`: Rewrite ``_PyObject_IsFreed()`` unit tests." -msgstr "" - -#: ../build/NEWS:15361 -msgid "" -":issue:`37153`: ``test_venv.test_multiprocessing()`` now explicitly calls " -"``pool.terminate()`` to wait until the pool completes." -msgstr "" - -#: ../build/NEWS:15364 -msgid "" -":issue:`34001`: Make test_ssl pass with LibreSSL. LibreSSL handles minimum " -"and maximum TLS version differently than OpenSSL." -msgstr "" - -#: ../build/NEWS:15367 -msgid "" -":issue:`36919`: Make ``test_source_encoding.test_issue2301`` implementation " -"independent. The test will work now for both CPython and IronPython." -msgstr "" - -#: ../build/NEWS:15370 -msgid "" -":issue:`30202`: Update ``test.test_importlib.test_abc`` to test " -"``find_spec()``." -msgstr "" - -#: ../build/NEWS:15373 -msgid "" -":issue:`28009`: Modify the test_uuid logic to test when a program is " -"available AND can be used to obtain a MACADDR as basis for an UUID. Patch by " -"M. Felt" -msgstr "" - -#: ../build/NEWS:15376 -msgid "" -":issue:`34596`: Fallback to a default reason when :func:`unittest.skip` is " -"uncalled. Patch by Naitree Zhu." -msgstr "" - -#: ../build/NEWS:15382 -msgid "" -":issue:`38809`: On Windows, build scripts will now recognize and use python." -"exe from an active virtual env." -msgstr "" - -#: ../build/NEWS:15385 -msgid "" -":issue:`38684`: Fix _hashlib build when Blake2 is disabled, but OpenSSL " -"supports it." -msgstr "" - -#: ../build/NEWS:15388 -msgid "" -":issue:`38468`: Misc/python-config.in now uses `getvar()` for all still " -"existing `sysconfig.get_config_var()` calls. Patch by Joannah Nanjekye." -msgstr "" - -#: ../build/NEWS:15391 -msgid "" -":issue:`37415`: Fix stdatomic.h header check for ICC compiler: the ICC " -"implementation lacks atomic_uintptr_t type which is needed by Python." -msgstr "" - -#: ../build/NEWS:15394 -msgid "" -":issue:`38301`: In Solaris family, we must be sure to use ``-D_REENTRANT``. " -"Patch by Jesús Cea Avión." -msgstr "" - -#: ../build/NEWS:15397 -msgid "" -":issue:`36002`: Locate ``llvm-profdata`` and ``llvm-ar`` binaries using " -"``AC_PATH_TOOL`` rather than ``AC_PATH_TARGET_TOOL``." -msgstr "" - -#: ../build/NEWS:15400 -msgid "" -":issue:`37936`: The :file:`.gitignore` file systematically keeps \"rooted\", " -"with a non-trailing slash, all the rules that are meant to apply to files in " -"a specific place in the repo. Previously, when the intended file to ignore " -"happened to be at the root of the repo, we'd most often accidentally also " -"ignore files and directories with the same name anywhere in the tree." -msgstr "" - -#: ../build/NEWS:15406 -msgid "" -":issue:`37760`: The :file:`Tools/unicode/makeunicodedata.py` script, which " -"is used for converting information from the Unicode Character Database into " -"generated code and data used by the methods of :class:`str` and by the :mod:" -"`unicodedata` module, now handles each character's data as a ``dataclass`` " -"with named attributes, rather than a length-18 list of different fields." -msgstr "" - -#: ../build/NEWS:15413 -msgid "" -":issue:`37936`: The :file:`.gitignore` file no longer applies to any files " -"that are in fact tracked in the Git repository. Patch by Greg Price." -msgstr "" - -#: ../build/NEWS:15416 -msgid "" -":issue:`37725`: Change \"clean\" makefile target to also clean the program " -"guided optimization (PGO) data. Previously you would have to use \"make " -"clean\" and \"make profile-removal\", or \"make clobber\"." -msgstr "" - -#: ../build/NEWS:15420 -msgid "" -":issue:`37707`: Mark some individual tests to skip when --pgo is used. The " -"tests marked increase the PGO task time significantly and likely don't help " -"improve optimization of the final executable." -msgstr "" - -#: ../build/NEWS:15424 -msgid "" -":issue:`36044`: Reduce the number of unit tests run for the PGO generation " -"task. This speeds up the task by a factor of about 15x. Running the full " -"unit test suite is slow. This change may result in a slightly less " -"optimized build since not as many code branches will be executed. If you " -"are willing to wait for the much slower build, the old behavior can be " -"restored using './configure [..] PROFILE_TASK=\"-m test --pgo-extended\"'. " -"We make no guarantees as to which PGO task set produces a faster build. " -"Users who care should run their own relevant benchmarks as results can " -"depend on the environment, workload, and compiler tool chain." -msgstr "" - -#: ../build/NEWS:15434 -msgid "" -":issue:`37468`: ``make install`` no longer installs ``wininst-*.exe`` files " -"used by distutils bdist_wininst: bdist_wininst only works on Windows." -msgstr "" - -#: ../build/NEWS:15437 -msgid "" -":issue:`37189`: Many ``PyRun_XXX()`` functions like :c:func:`PyRun_String` " -"were no longer exported in ``libpython38.dll`` by mistake. Export them again " -"to fix the ABI compatibility." -msgstr "" - -#: ../build/NEWS:15441 -msgid "" -":issue:`25361`: Enables use of SSE2 instructions in Windows 32-bit build." -msgstr "" - -#: ../build/NEWS:15443 -msgid "" -":issue:`36210`: Update optional extension module detection for AIX. " -"ossaudiodev and spwd are not applicable for AIX, and are no longer reported " -"as missing. 3rd-party packaging of ncurses (with ASIS support) conflicts " -"with officially supported AIX curses library, so configure AIX to use " -"libcurses.a. However, skip trying to build _curses_panel." -msgstr "" - -#: ../build/NEWS:15449 -msgid "patch by M Felt" -msgstr "" - -#: ../build/NEWS:15454 -msgid "" -":issue:`38589`: Fixes HTML Help shortcut when Windows is not installed to C " -"drive" -msgstr "" - -#: ../build/NEWS:15457 -msgid "" -":issue:`38453`: Ensure ntpath.realpath() correctly resolves relative paths." -msgstr "" - -#: ../build/NEWS:15459 -msgid "" -":issue:`38519`: Restores the internal C headers that were missing from the " -"nuget.org and Microsoft Store packages." -msgstr "" - -#: ../build/NEWS:15462 -msgid "" -":issue:`38492`: Remove ``pythonw.exe`` dependency on the Microsoft C++ " -"runtime." -msgstr "" - -#: ../build/NEWS:15464 -msgid ":issue:`38344`: Fix error message in activate.bat" -msgstr "" - -#: ../build/NEWS:15466 -msgid "" -":issue:`38359`: Ensures ``pyw.exe`` launcher reads correct registry key." -msgstr "" - -#: ../build/NEWS:15468 -msgid "" -":issue:`38355`: Fixes ``ntpath.realpath`` failing on ``sys.executable``." -msgstr "" - -#: ../build/NEWS:15470 -msgid ":issue:`38117`: Update bundled OpenSSL to 1.1.1d" -msgstr "" - -#: ../build/NEWS:15472 -msgid "" -":issue:`38092`: Reduce overhead when using multiprocessing in a Windows " -"virtual environment." -msgstr "" - -#: ../build/NEWS:15475 -msgid "" -":issue:`38133`: Allow py.exe launcher to locate installations from the " -"Microsoft Store and improve display of active virtual environments." -msgstr "" - -#: ../build/NEWS:15478 -msgid "" -":issue:`38114`: The ``pip.ini`` is no longer included in the Nuget package." -msgstr "" - -#: ../build/NEWS:15480 -msgid "" -":issue:`32592`: Set Windows 8 as the minimum required version for API support" -msgstr "" - -#: ../build/NEWS:15482 -msgid "" -":issue:`36634`: :func:`os.cpu_count` now returns active processors rather " -"than maximum processors." -msgstr "" - -#: ../build/NEWS:15485 -msgid "" -":issue:`36634`: venv activate.bat now works when the existing variables " -"contain double quote characters." -msgstr "" - -#: ../build/NEWS:15488 -msgid "" -":issue:`38081`: Prevent error calling :func:`os.path.realpath` on ``'NUL'``." -msgstr "" - -#: ../build/NEWS:15490 -msgid ":issue:`38087`: Fix case sensitivity in test_pathlib and test_ntpath." -msgstr "" - -#: ../build/NEWS:15492 -msgid "" -":issue:`38088`: Fixes distutils not finding vcruntime140.dll with only the " -"v142 toolset installed." -msgstr "" - -#: ../build/NEWS:15495 -msgid "" -":issue:`37283`: Ensure command-line and unattend.xml setting override " -"previously detected states in Windows installer." -msgstr "" - -#: ../build/NEWS:15498 -msgid "" -":issue:`38030`: Fixes :func:`os.stat` failing for block devices on Windows" -msgstr "" - -#: ../build/NEWS:15500 -msgid "" -":issue:`38020`: Fixes potential crash when calling :func:`os.readlink` (or " -"indirectly through :func:`~os.path.realpath`) on a file that is not a " -"supported link." -msgstr "" - -#: ../build/NEWS:15504 -msgid ":issue:`37705`: Improve the implementation of ``winerror_to_errno()``." -msgstr "" - -#: ../build/NEWS:15506 -msgid "" -":issue:`37549`: :func:`os.dup` no longer fails for standard streams on " -"Windows 7." -msgstr "" - -#: ../build/NEWS:15509 -msgid "" -":issue:`1311`: The ``nul`` file on Windows now returns True from :func:`~os." -"path.exists` and a valid result from :func:`os.stat` with ``S_IFCHR`` set." -msgstr "" - -#: ../build/NEWS:15513 -msgid "" -":issue:`9949`: Enable support for following symlinks in :func:`os.realpath`." -msgstr "" - -#: ../build/NEWS:15515 -msgid "" -":issue:`37834`: Treat all name surrogate reparse points on Windows in :func:" -"`os.lstat` and other reparse points as regular files in :func:`os.stat`." -msgstr "" - -#: ../build/NEWS:15519 -msgid "" -":issue:`36266`: Add the module name in the formatted error message when DLL " -"load fail happens during module import in " -"``_PyImport_FindSharedFuncptrWindows()``. Patch by Srinivas Nyayapati." -msgstr "" - -#: ../build/NEWS:15523 -msgid "" -":issue:`25172`: Trying to import the :mod:`crypt` module on Windows will " -"result in an :exc:`ImportError` with a message explaining that the module " -"isn't supported on Windows. On other platforms, if the underlying ``_crypt`` " -"module is not available, the ImportError will include a message explaining " -"the problem." -msgstr "" - -#: ../build/NEWS:15529 -msgid "" -":issue:`37778`: Fixes the icons used for file associations to the Microsoft " -"Store package." -msgstr "" - -#: ../build/NEWS:15532 -msgid "" -":issue:`37734`: Fix use of registry values to launch Python from Microsoft " -"Store app." -msgstr "" - -#: ../build/NEWS:15535 -msgid "" -":issue:`37702`: Fix memory leak on Windows in creating an SSLContext object " -"or running urllib.request.urlopen('https://...')." -msgstr "" - -#: ../build/NEWS:15538 -msgid "" -":issue:`37672`: Switch Windows Store package's pip to use bundled :file:`pip." -"ini` instead of :envvar:`PIP_USER` variable." -msgstr "" - -#: ../build/NEWS:15541 -msgid "" -":issue:`10945`: Officially drop support for creating bdist_wininst " -"installers on non-Windows systems." -msgstr "" - -#: ../build/NEWS:15544 -msgid "" -":issue:`37445`: Include the ``FORMAT_MESSAGE_IGNORE_INSERTS`` flag in " -"``FormatMessageW()`` calls." -msgstr "" - -#: ../build/NEWS:15547 -msgid "" -":issue:`37369`: Fixes path for :data:`sys.executable` when running from the " -"Microsoft Store." -msgstr "" - -#: ../build/NEWS:15550 -msgid "" -":issue:`37380`: Don't collect unfinished processes with ``subprocess." -"_active`` on Windows to cleanup later. Patch by Ruslan Kuprieiev." -msgstr "" - -#: ../build/NEWS:15553 -msgid "" -":issue:`37351`: Removes libpython38.a from standard Windows distribution." -msgstr "" - -#: ../build/NEWS:15555 -msgid ":issue:`35360`: Update Windows builds to use SQLite 3.28.0." -msgstr "" - -#: ../build/NEWS:15557 -msgid "" -":issue:`37267`: On Windows, :func:`os.dup` no longer creates an inheritable " -"fd when handling a character file." -msgstr "" - -#: ../build/NEWS:15560 -msgid "" -":issue:`36779`: Ensure ``time.tzname`` is correct on Windows when the active " -"code page is set to CP_UTF7 or CP_UTF8." -msgstr "" - -#: ../build/NEWS:15563 -msgid "" -":issue:`32587`: Make :data:`winreg.REG_MULTI_SZ` support zero-length strings." -msgstr "" - -#: ../build/NEWS:15565 -msgid "" -":issue:`28269`: Replace use of :c:func:`strcasecmp` for the system function :" -"c:func:`_stricmp`. Patch by Minmin Gong." -msgstr "" - -#: ../build/NEWS:15568 -msgid ":issue:`36590`: Add native Bluetooth RFCOMM support to socket module." -msgstr "" - -#: ../build/NEWS:15573 -msgid ":issue:`38117`: Updated OpenSSL to 1.1.1d in macOS installer." -msgstr "" - -#: ../build/NEWS:15575 -msgid "" -":issue:`38089`: Move Azure Pipelines to latest VM versions and make macOS " -"tests optional" -msgstr "" - -#: ../build/NEWS:15578 -msgid "" -":issue:`18049`: Increase the default stack size of threads from 5MB to 16MB " -"on macOS, to match the stack size of the main thread. This avoids crashes on " -"deep recursion in threads." -msgstr "" - -#: ../build/NEWS:15582 -msgid "" -":issue:`34602`: Avoid test suite failures on macOS by no longer calling " -"resource.setrlimit to increase the process stack size limit at runtime. The " -"runtime change is no longer needed since the interpreter is being built with " -"a larger default stack size." -msgstr "" - -#: ../build/NEWS:15587 -msgid ":issue:`35360`: Update macOS installer to use SQLite 3.28.0." -msgstr "" - -#: ../build/NEWS:15589 -msgid ":issue:`34631`: Updated OpenSSL to 1.1.1c in macOS installer." -msgstr "" - -#: ../build/NEWS:15594 -msgid ":issue:`26353`: Stop adding newline when saving an IDLE shell window." -msgstr "" - -#: ../build/NEWS:15596 -msgid "" -":issue:`4630`: Add an option to toggle IDLE's cursor blink for shell, " -"editor, and output windows. See Settings, General, Window Preferences, " -"Cursor Blink. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:15600 -msgid ":issue:`38598`: Do not try to compile IDLE shell or output windows" -msgstr "" - -#: ../build/NEWS:15602 -msgid "" -":issue:`36698`: IDLE no longer fails when write non-encodable characters to " -"stderr. It now escapes them with a backslash, as the regular Python " -"interpreter. Added the ``errors`` field to the standard streams." -msgstr "" - -#: ../build/NEWS:15606 -msgid "" -":issue:`35379`: When exiting IDLE, catch any AttributeError. One happens " -"when EditorWindow.close is called twice. Printing a traceback, when IDLE is " -"run from a terminal, is useless and annoying." -msgstr "" - -#: ../build/NEWS:15610 -msgid "" -":issue:`38183`: To avoid problems, test_idle ignores the user config " -"directory. It no longer tries to create or access .idlerc or any files " -"within. Users must run IDLE to discover problems with saving settings." -msgstr "" - -#: ../build/NEWS:15614 -msgid "" -":issue:`38077`: IDLE no longer adds 'argv' to the user namespace when " -"initializing it. This bug only affected 3.7.4 and 3.8.0b2 to 3.8.0b4." -msgstr "" - -#: ../build/NEWS:15617 -msgid "" -":issue:`38041`: Shell restart lines now fill the window width, always start " -"with '=', and avoid wrapping unnecessarily. The line will still wrap if the " -"included file name is long relative to the width." -msgstr "" - -#: ../build/NEWS:15621 -msgid "" -":issue:`35771`: To avoid occasional spurious test_idle failures on slower " -"machines, increase the ``hover_delay`` in test_tooltip." -msgstr "" - -#: ../build/NEWS:15624 -msgid "" -":issue:`37824`: Properly handle user input warnings in IDLE shell. Cease " -"turning SyntaxWarnings into SyntaxErrors." -msgstr "" - -#: ../build/NEWS:15627 -msgid "" -":issue:`37929`: IDLE Settings dialog now closes properly when there is no " -"shell window." -msgstr "" - -#: ../build/NEWS:15630 -msgid "" -":issue:`37902`: Add mousewheel scrolling for IDLE module, path, and stack " -"browsers. Patch by George Zhang." -msgstr "" - -#: ../build/NEWS:15633 -msgid "" -":issue:`37849`: Fixed completions list appearing too high or low when shown " -"above the current line." -msgstr "" - -#: ../build/NEWS:15636 -msgid ":issue:`36419`: Refactor IDLE autocomplete and improve testing." -msgstr "" - -#: ../build/NEWS:15638 -msgid "" -":issue:`37748`: Reorder the Run menu. Put the most common choice, Run " -"Module, at the top." -msgstr "" - -#: ../build/NEWS:15641 -msgid "" -":issue:`37692`: Improve highlight config sample with example shell " -"interaction and better labels for shell elements." -msgstr "" - -#: ../build/NEWS:15644 -msgid ":issue:`37628`: Settings dialog no longer expands with font size." -msgstr "" - -#: ../build/NEWS:15646 -msgid "" -":issue:`37627`: Initialize the Customize Run dialog with the command line " -"arguments most recently entered before. The user can optionally edit before " -"submitting them." -msgstr "" - -#: ../build/NEWS:15650 -msgid "" -":issue:`33610`: Fix code context not showing the correct context when first " -"toggled on." -msgstr "" - -#: ../build/NEWS:15653 -msgid "" -":issue:`37530`: Optimize code context to reduce unneeded background " -"activity. Font and highlight changes now occur along with text changes " -"instead of after a random delay." -msgstr "" - -#: ../build/NEWS:15657 -msgid "" -":issue:`27452`: Cleanup ``config.py`` by inlining ``RemoveFile`` and " -"simplifying the handling of ``file`` in ``CreateConfigHandlers``." -msgstr "" - -#: ../build/NEWS:15660 -msgid "" -":issue:`37325`: Fix tab focus traversal order for help source and custom run " -"dialogs." -msgstr "" - -#: ../build/NEWS:15663 -msgid "" -":issue:`37321`: Both subprocess connection error messages now refer to the " -"'Startup failure' section of the IDLE doc." -msgstr "" - -#: ../build/NEWS:15666 -msgid "" -":issue:`17535`: Add optional line numbers for IDLE editor windows. Windows " -"open without line numbers unless set otherwise in the General tab of the " -"configuration dialog." -msgstr "" - -#: ../build/NEWS:15670 -msgid "" -":issue:`26806`: To compensate for stack frames added by IDLE and avoid " -"possible problems with low recursion limits, add 30 to limits in the user " -"code execution process. Subtract 30 when reporting recursion limits to make " -"this addition mostly transparent." -msgstr "" - -#: ../build/NEWS:15675 -msgid "" -":issue:`37177`: Properly 'attach' search dialogs to their main window so " -"that they behave like other dialogs and do not get hidden behind their main " -"window." -msgstr "" - -#: ../build/NEWS:15679 -msgid "" -":issue:`37039`: Adjust \"Zoom Height\" to individual screens by momentarily " -"maximizing the window on first use with a particular screen. Changing " -"screen settings may invalidate the saved height. While a window is " -"maximized, \"Zoom Height\" has no effect." -msgstr "" - -#: ../build/NEWS:15684 -msgid "" -":issue:`35763`: Make calltip reminder about '/' meaning positional-only less " -"obtrusive by only adding it when there is room on the first line." -msgstr "" - -#: ../build/NEWS:15687 -msgid "" -":issue:`5680`: Add 'Run... Customized' to the Run menu to run a module with " -"customized settings. Any 'command line arguments' entered are added to sys." -"argv. One can suppress the normal Shell main module restart." -msgstr "" - -#: ../build/NEWS:15691 -msgid "" -":issue:`36390`: Gather Format menu functions into format.py. Combine " -"paragraph.py, rstrip.py, and format methods from editor.py." -msgstr "" - -#: ../build/NEWS:15697 -msgid "" -":issue:`38118`: Update Valgrind suppression file to ignore a false alarm in :" -"c:func:`PyUnicode_Decode` when using GCC builtin strcmp()." -msgstr "" - -#: ../build/NEWS:15700 -msgid "" -":issue:`38347`: pathfix.py: Assume all files that end on '.py' are Python " -"scripts when working recursively." -msgstr "" - -#: ../build/NEWS:15703 -msgid "" -":issue:`37803`: pdb's ``--help`` and ``--version`` long options now work." -msgstr "" - -#: ../build/NEWS:15705 -msgid ":issue:`37942`: Improve ArgumentClinic converter for floats." -msgstr "" - -#: ../build/NEWS:15707 -msgid "" -":issue:`37704`: Remove ``Tools/scripts/h2py.py``: use cffi to access a C API " -"in Python." -msgstr "" - -#: ../build/NEWS:15710 -msgid ":issue:`37675`: 2to3 now works when run from a zipped standard library." -msgstr "" - -#: ../build/NEWS:15712 -msgid "" -":issue:`37034`: Argument Clinic now uses the argument name on errors with " -"keyword-only argument instead of their position. Patch contributed by Rémi " -"Lapeyre." -msgstr "" - -#: ../build/NEWS:15716 -msgid "" -":issue:`37064`: Add option -k to pathscript.py script: preserve shebang " -"flags. Add option -a to pathscript.py script: add flags." -msgstr "" - -#: ../build/NEWS:15722 -msgid "" -":issue:`37633`: Re-export some function compatibility wrappers for macros in " -"``pythonrun.h``." -msgstr "" - -#: ../build/NEWS:15725 -msgid "" -":issue:`38644`: Provide :c:func:`Py_EnterRecursiveCall` and :c:func:" -"`Py_LeaveRecursiveCall` as regular functions for the limited API. " -"Previously, there were defined as macros, but these macros didn't work with " -"the limited API which cannot access ``PyThreadState.recursion_depth`` field. " -"Remove ``_Py_CheckRecursionLimit`` from the stable ABI." -msgstr "" - -#: ../build/NEWS:15731 -msgid "" -":issue:`38650`: The global variable :c:data:`PyStructSequence_UnnamedField` " -"is now a constant and refers to a constant string." -msgstr "" - -#: ../build/NEWS:15734 -msgid "" -":issue:`38540`: Fixed possible leak in :c:func:`PyArg_Parse` and similar " -"functions for format units ``\"es#\"`` and ``\"et#\"`` when the macro :c:" -"macro:`PY_SSIZE_T_CLEAN` is not defined." -msgstr "" - -#: ../build/NEWS:15738 -msgid "" -":issue:`38395`: Fix a crash in :class:`weakref.proxy` objects due to " -"incorrect lifetime management when calling some associated methods that may " -"delete the last reference to object being referenced by the proxy. Patch by " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:15743 -msgid "" -":issue:`36389`: The ``_PyObject_CheckConsistency()`` function is now also " -"available in release mode. For example, it can be used to debug a crash in " -"the ``visit_decref()`` function of the GC." -msgstr "" - -#: ../build/NEWS:15747 -msgid "" -":issue:`38266`: Revert the removal of PyThreadState_DeleteCurrent() with " -"documentation." -msgstr "" - -#: ../build/NEWS:15750 -msgid "" -":issue:`38303`: Update audioop extension module to use the stable ABI " -"(PEP-384). Patch by Tyler Kieft." -msgstr "" - -#: ../build/NEWS:15753 -msgid "" -":issue:`38234`: :c:func:`Py_SetPath` now sets :data:`sys.executable` to the " -"program full path (:c:func:`Py_GetProgramFullPath`) rather than to the " -"program name (:c:func:`Py_GetProgramName`)." -msgstr "" - -#: ../build/NEWS:15757 -msgid "" -":issue:`38234`: Python ignored arguments passed to :c:func:`Py_SetPath`, :c:" -"func:`Py_SetPythonHome` and :c:func:`Py_SetProgramName`: fix Python " -"initialization to use specified arguments." -msgstr "" - -#: ../build/NEWS:15761 -msgid "" -":issue:`38205`: The :c:func:`Py_UNREACHABLE` macro now calls :c:func:" -"`Py_FatalError`." -msgstr "" - -#: ../build/NEWS:15764 -msgid "" -":issue:`38140`: Make dict and weakref offsets opaque for C heap types by " -"passing the offsets through PyMemberDef" -msgstr "" - -#: ../build/NEWS:15767 -msgid "" -":issue:`15088`: The C function ``PyGen_NeedsFinalizing`` has been removed. " -"It was not documented, tested or used anywhere within CPython after the " -"implementation of :pep:`442`. Patch by Joannah Nanjekye. (Patch by Joannah " -"Nanjekye)" -msgstr "" - -#: ../build/NEWS:15772 -msgid "" -":issue:`36763`: Options added by ``PySys_AddXOption()`` are now handled the " -"same way than ``PyConfig.xoptions`` and command line ``-X`` options." -msgstr "" - -#: ../build/NEWS:15775 -msgid ":issue:`37926`: Fix a crash in ``PySys_SetArgvEx(0, NULL, 0)``." -msgstr "" - -#: ../build/NEWS:15777 -msgid "" -":issue:`37879`: Fix subtype_dealloc to suppress the type decref when the " -"base type is a C heap type" -msgstr "" - -#: ../build/NEWS:15780 -msgid "" -":issue:`37645`: Add :c:func:`_PyObject_FunctionStr` to get a user-friendly " -"string representation of a function-like object. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:15783 -msgid "" -":issue:`29548`: The functions ``PyEval_CallObject``, " -"``PyEval_CallFunction``, ``PyEval_CallMethod`` and " -"``PyEval_CallObjectWithKeywords`` are deprecated. Use :c:func:" -"`PyObject_Call` and its variants instead." -msgstr "" - -#: ../build/NEWS:15787 -msgid "" -":issue:`37151`: ``PyCFunction_Call`` is now a deprecated alias of :c:func:" -"`PyObject_Call`." -msgstr "" - -#: ../build/NEWS:15790 -msgid "" -":issue:`37540`: The vectorcall protocol now requires that the caller passes " -"only strings as keyword names." -msgstr "" - -#: ../build/NEWS:15793 -msgid "" -":issue:`37207`: The vectorcall protocol is now enabled for ``type`` objects: " -"set ``tp_vectorcall`` to a vectorcall function to be used instead of " -"``tp_new`` and ``tp_init`` when calling the class itself." -msgstr "" - -#: ../build/NEWS:15797 -msgid "" -":issue:`21120`: Exclude Python-ast.h, ast.h and asdl.h from the limited API." -msgstr "" - -#: ../build/NEWS:15799 -msgid "" -":issue:`37483`: Add new function ``_PyObject_CallOneArg`` for calling an " -"object with one positional argument." -msgstr "" - -#: ../build/NEWS:15802 -msgid ":issue:`36763`: Add :func:`PyConfig_SetWideStringList` function." -msgstr "" - -#: ../build/NEWS:15804 -msgid "" -":issue:`37337`: Add fast functions for calling methods: :c:func:" -"`_PyObject_VectorcallMethod`, :c:func:`_PyObject_CallMethodNoArgs` and :c:" -"func:`_PyObject_CallMethodOneArg`." -msgstr "" - -#: ../build/NEWS:15808 -msgid "" -":issue:`28805`: The :const:`METH_FASTCALL` calling convention has been " -"documented." -msgstr "" - -#: ../build/NEWS:15811 -msgid "" -":issue:`37221`: The new function :c:func:`PyCode_NewWithPosOnlyArgs` allows " -"to create code objects like :c:func:`PyCode_New`, but with an extra " -"*posonlyargcount* parameter for indicating the number of positonal-only " -"arguments." -msgstr "" - -#: ../build/NEWS:15816 -msgid ":issue:`37215`: Fix dtrace issue introduce by :issue:`36842`" -msgstr "" - -#: ../build/NEWS:15818 -msgid "" -":issue:`37194`: Add a new public :c:func:`PyObject_CallNoArgs` function to " -"the C API: call a callable Python object without any arguments. It is the " -"most efficient way to call a callback without any argument. On x86-64, for " -"example, ``PyObject_CallFunctionObjArgs(func, NULL)`` allocates 960 bytes on " -"the stack per call, whereas ``PyObject_CallNoArgs(func)`` only allocates 624 " -"bytes per call." -msgstr "" - -#: ../build/NEWS:15825 -msgid "" -":issue:`37170`: Fix the cast on error in :c:func:" -"`PyLong_AsUnsignedLongLongMask()`." -msgstr "" - -#: ../build/NEWS:15828 -msgid "" -":issue:`35381`: Convert posixmodule.c statically allocated types " -"``DirEntryType`` and ``ScandirIteratorType`` to heap-allocated types." -msgstr "" - -#: ../build/NEWS:15831 -msgid "" -":issue:`34331`: Use singular/plural noun in error message when instantiating " -"an abstract class with non-overriden abstract method(s)." -msgstr "" - -#: ../build/NEWS:15836 -msgid "Python 3.8.0 beta 1" -msgstr "" - -#: ../build/NEWS:15838 -msgid "*Release date: 2019-06-04*" -msgstr "" - -#: ../build/NEWS:15843 -msgid "" -":issue:`35907`: CVE-2019-9948: Avoid file reading by disallowing ``local-" -"file://`` and ``local_file://`` URL schemes in ``URLopener().open()`` and " -"``URLopener().retrieve()`` of :mod:`urllib.request`." -msgstr "" - -#: ../build/NEWS:15848 -msgid "" -":issue:`33529`: Prevent fold function used in email header encoding from " -"entering infinite loop when there are too many non-ASCII characters in a " -"header." -msgstr "" - -#: ../build/NEWS:15852 -msgid "" -":issue:`33164`: Updated blake2 implementation which uses secure memset " -"implementation provided by platform." -msgstr "" - -#: ../build/NEWS:15858 -msgid "" -":issue:`35814`: Allow unpacking in the right hand side of annotated " -"assignments. In particular, ``t: Tuple[int, ...] = x, y, *z`` is now allowed." -msgstr "" - -#: ../build/NEWS:15862 -msgid "" -":issue:`37126`: All structseq objects are now tracked by the garbage " -"collector. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:15865 -msgid "" -":issue:`37122`: Make the *co_argcount* attribute of code objects represent " -"the total number of positional arguments (including positional-only " -"arguments). The value of *co_posonlyargcount* can be used to distinguish " -"which arguments are positional only, and the difference (*co_argcount* - " -"*co_posonlyargcount*) is the number of positional-or-keyword arguments. " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:15872 -msgid "" -":issue:`20092`: Constructors of :class:`int`, :class:`float` and :class:" -"`complex` will now use the :meth:`~object.__index__` special method, if " -"available and the corresponding method :meth:`~object.__int__`, :meth:" -"`~object.__float__` or :meth:`~object.__complex__` is not available." -msgstr "" - -#: ../build/NEWS:15877 -msgid ":issue:`37087`: Add native thread ID (TID) support to OpenBSD." -msgstr "" - -#: ../build/NEWS:15879 -msgid "" -":issue:`26219`: Implemented per opcode cache mechanism and ``LOAD_GLOBAL`` " -"instruction use it. ``LOAD_GLOBAL`` is now about 40% faster. Contributed by " -"Yury Selivanov, and Inada Naoki." -msgstr "" - -#: ../build/NEWS:15883 -msgid ":issue:`37072`: Fix crash in PyAST_FromNodeObject() when flags is NULL." -msgstr "" - -#: ../build/NEWS:15885 -msgid "" -":issue:`37029`: Freeing a great many small objects could take time quadratic " -"in the number of arenas, due to using linear search to keep ``obmalloc.c``'s " -"list of usable arenas sorted by order of number of free memory pools. This " -"is accomplished without search now, leaving the worst-case time linear in " -"the number of arenas. For programs where this quite visibly matters " -"(typically with more than 100 thousand small objects alive simultaneously), " -"this can greatly reduce the time needed to release their memory." -msgstr "" - -#: ../build/NEWS:15894 -msgid "" -":issue:`26423`: Fix possible overflow in ``wrap_lenfunc()`` when " -"``sizeof(long) < sizeof(Py_ssize_t)`` (e.g., 64-bit Windows)." -msgstr "" - -#: ../build/NEWS:15897 -msgid "" -":issue:`37050`: Improve the AST for \"debug\" f-strings, which use '=' to " -"print out the source of the expression being evaluated. Delete expr_text " -"from the FormattedValue node, and instead use a Constant string node " -"(possibly merged with adjacent constant expressions inside the f-string)." -msgstr "" - -#: ../build/NEWS:15902 -msgid "" -":issue:`22385`: The `bytes.hex`, `bytearray.hex`, and `memoryview.hex` " -"methods as well as the `binascii.hexlify` and `b2a_hex` functions now have " -"the ability to include an optional separator between hex bytes. This " -"functionality was inspired by MicroPython's hexlify implementation." -msgstr "" - -#: ../build/NEWS:15907 -msgid ":issue:`26836`: Add :func:`os.memfd_create`." -msgstr "" - -#: ../build/NEWS:15909 -msgid "" -":issue:`37032`: Added new ``replace()`` method to the code type (:class:" -"`types.CodeType`)." -msgstr "" - -#: ../build/NEWS:15912 -msgid "" -":issue:`37007`: Implement :func:`socket.if_nameindex()`, :func:`socket." -"if_nametoindex()`, and :func:`socket.if_indextoname()` on Windows." -msgstr "" - -#: ../build/NEWS:15916 -msgid "" -":issue:`36829`: :c:func:`PyErr_WriteUnraisable` now creates a traceback " -"object if there is no current traceback. Moreover, call :c:func:" -"`PyErr_NormalizeException` and :c:func:`PyException_SetTraceback` to " -"normalize the exception value. Ignore any error." -msgstr "" - -#: ../build/NEWS:15921 -msgid "" -":issue:`36878`: Only accept text after `# type: ignore` if the first " -"character is ASCII. This is to disallow things like `# type: ignoreé`." -msgstr "" - -#: ../build/NEWS:15924 -msgid "" -":issue:`36878`: Store text appearing after a `# type: ignore` comment in the " -"AST. For example a type ignore like `# type: ignore[E1000]` will have the " -"string `\"[E1000]\"` stored in its AST node." -msgstr "" - -#: ../build/NEWS:15928 -msgid "" -":issue:`2180`: Treat line continuation at EOF as a ``SyntaxError`` by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:15931 -msgid "" -":issue:`36907`: Fix a crash when calling a C function with a keyword dict " -"(``f(**kwargs)``) and changing the dict ``kwargs`` while that function is " -"running." -msgstr "" - -#: ../build/NEWS:15935 -msgid "" -":issue:`36946`: Fix possible signed integer overflow when handling slices." -msgstr "" - -#: ../build/NEWS:15937 -msgid ":issue:`36826`: Add NamedExpression kind support to ast_unparse.c" -msgstr "" - -#: ../build/NEWS:15939 -msgid "" -":issue:`1875`: A :exc:`SyntaxError` is now raised if a code blocks that will " -"be optimized away (e.g. if conditions that are always false) contains syntax " -"errors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:15943 -msgid "" -":issue:`36027`: Allow computation of modular inverses via three-argument " -"``pow``: the second argument is now permitted to be negative in the case " -"where the first and third arguments are relatively prime." -msgstr "" - -#: ../build/NEWS:15947 -msgid ":issue:`36861`: Update the Unicode database to version 12.1.0." -msgstr "" - -#: ../build/NEWS:15949 -msgid "" -":issue:`28866`: Avoid caching attributes of classes which type defines mro() " -"to avoid a hard cache invalidation problem." -msgstr "" - -#: ../build/NEWS:15952 -msgid "" -":issue:`36851`: The ``FrameType`` stack is now correctly cleaned up if the " -"execution ends with a return and the stack is not empty." -msgstr "" - -#: ../build/NEWS:15955 -msgid "" -":issue:`34616`: The ``compile()`` builtin functions now support the ``ast." -"PyCF_ALLOW_TOP_LEVEL_AWAIT`` flag, which allow to compile sources that " -"contains top-level ``await``, ``async with`` or ``async for``. This is " -"useful to evaluate async-code from with an already async functions; for " -"example in a custom REPL." -msgstr "" - -#: ../build/NEWS:15961 -msgid "" -":issue:`36842`: Implement PEP 578, adding sys.audit, io.open_code and " -"related APIs." -msgstr "" - -#: ../build/NEWS:15964 -msgid "" -":issue:`27639`: Correct return type for UserList slicing operations. Patch " -"by Michael Blahay, Erick Cervantes, and vaultah" -msgstr "" - -#: ../build/NEWS:15967 -msgid "" -":issue:`36737`: Move PyRuntimeState.warnings into per-interpreter state (via " -"\"module state\")." -msgstr "" - -#: ../build/NEWS:15970 -msgid "" -":issue:`36793`: Removed ``__str__`` implementations from builtin types :" -"class:`bool`, :class:`int`, :class:`float`, :class:`complex` and few classes " -"from the standard library. They now inherit ``__str__()`` from :class:" -"`object`." -msgstr "" - -#: ../build/NEWS:15975 -msgid "" -":issue:`36817`: Add a ``=`` feature f-strings for debugging. This can " -"precede ``!s``, ``!r``, or ``!a``. It produces the text of the expression, " -"followed by an equal sign, followed by the repr of the value of the " -"expression. So ``f'{3*9+15=}'`` would be equal to the string " -"``'3*9+15=42'``. If ``=`` is specified, the default conversion is set to ``!" -"r``, unless a format spec is given, in which case the formatting behavior is " -"unchanged, and __format__ will be used." -msgstr "" - -#: ../build/NEWS:15983 -msgid "" -":issue:`24048`: Save the live exception during import.c's " -"``remove_module()``." -msgstr "" - -#: ../build/NEWS:15985 -msgid "" -":issue:`27987`: pymalloc returns memory blocks aligned by 16 bytes, instead " -"of 8 bytes, on 64-bit platforms to conform x86-64 ABI. Recent compilers " -"assume this alignment more often. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:15989 -msgid "" -":issue:`36601`: A long-since-meaningless check for ``getpid() == main_pid`` " -"was removed from Python's internal C signal handler." -msgstr "" - -#: ../build/NEWS:15992 -msgid "" -":issue:`36594`: Fix incorrect use of ``%p`` in format strings. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:15995 -msgid "" -":issue:`36045`: builtins.help() now prefixes `async` for async functions" -msgstr "" - -#: ../build/NEWS:15997 -msgid "" -":issue:`36084`: Add native thread ID (TID) to threading.Thread objects " -"(supported platforms: Windows, FreeBSD, Linux, macOS)" -msgstr "" - -#: ../build/NEWS:16000 -msgid "" -":issue:`36035`: Added fix for broken symlinks in combination with pathlib" -msgstr "" - -#: ../build/NEWS:16002 -msgid "" -":issue:`35983`: Added new trashcan macros to deal with a double deallocation " -"that could occur when the `tp_dealloc` of a subclass calls the `tp_dealloc` " -"of a base class and that base class uses the trashcan mechanism. Patch by " -"Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:16007 -msgid "" -":issue:`20602`: Do not clear :data:`sys.flags` and :data:`sys.float_info` " -"during shutdown. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:16010 -msgid "" -":issue:`26826`: Expose :func:`copy_file_range` as a low level API in the :" -"mod:`os` module." -msgstr "" - -#: ../build/NEWS:16013 -msgid "" -":issue:`32388`: Remove cross-version binary compatibility requirement in " -"tp_flags." -msgstr "" - -#: ../build/NEWS:16016 -msgid "" -":issue:`31862`: Port binascii to PEP 489 multiphase initialization. Patch by " -"Marcel Plch." -msgstr "" - -#: ../build/NEWS:16022 -msgid ":issue:`37128`: Added :func:`math.perm`." -msgstr "" - -#: ../build/NEWS:16024 -msgid "" -":issue:`37120`: Add SSLContext.num_tickets to control the number of TLSv1.3 " -"session tickets." -msgstr "" - -#: ../build/NEWS:16027 -msgid "" -":issue:`12202`: Fix the error handling in :meth:`msilib.SummaryInformation." -"GetProperty`. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:16030 -msgid "" -":issue:`26835`: The fcntl module now contains file sealing constants for " -"sealing of memfds." -msgstr "" - -#: ../build/NEWS:16033 -msgid "" -":issue:`29262`: Add ``get_origin()`` and ``get_args()`` introspection " -"helpers to ``typing`` module." -msgstr "" - -#: ../build/NEWS:16036 -msgid "" -":issue:`12639`: :meth:`msilib.Directory.start_component()` no longer fails " -"if *keyfile* is not ``None``." -msgstr "" - -#: ../build/NEWS:16039 -msgid "" -":issue:`36999`: Add the ``asyncio.Task.get_coro()`` method to publicly " -"expose the tasks's coroutine object." -msgstr "" - -#: ../build/NEWS:16042 -msgid "" -":issue:`35246`: Make :func:`asyncio.create_subprocess_exec` accept path-like " -"arguments." -msgstr "" - -#: ../build/NEWS:16045 -msgid "" -":issue:`35279`: Change default *max_workers* of ``ThreadPoolExecutor`` from " -"``cpu_count() * 5`` to ``min(32, cpu_count() + 4)``. Previous value was " -"unreasonably large on many cores machines." -msgstr "" - -#: ../build/NEWS:16049 -msgid "" -":issue:`37076`: :func:`_thread.start_new_thread` now logs uncaught exception " -"raised by the function using :func:`sys.unraisablehook`, rather than :func:" -"`sys.excepthook`, so the hook gets access to the function which raised the " -"exception." -msgstr "" - -#: ../build/NEWS:16054 -msgid "" -":issue:`33725`: On macOS, the :mod:`multiprocessing` module now uses *spawn* " -"start method by default." -msgstr "" - -#: ../build/NEWS:16057 -msgid "" -":issue:`37054`: Fix destructor :class:`_pyio.BytesIO` and :class:`_pyio." -"TextIOWrapper`: initialize their ``_buffer`` attribute as soon as possible " -"(in the class body), because it's used by ``__del__()`` which calls " -"``close()``." -msgstr "" - -#: ../build/NEWS:16062 -msgid "" -":issue:`37058`: PEP 544: Add ``Protocol`` and ``@runtime_checkable`` to the " -"``typing`` module." -msgstr "" - -#: ../build/NEWS:16065 -msgid "" -":issue:`36933`: The functions ``sys.set_coroutine_wrapper`` and ``sys." -"get_coroutine_wrapper`` that were deprecated and marked for removal in 3.8 " -"have been removed." -msgstr "" - -#: ../build/NEWS:16069 -msgid "" -":issue:`37047`: Handle late binding and attribute access in :class:`unittest." -"mock.AsyncMock` setup for autospeccing. Document newly implemented async " -"methods in :class:`unittest.mock.MagicMock`." -msgstr "" - -#: ../build/NEWS:16073 -msgid ":issue:`37049`: PEP 589: Add ``TypedDict`` to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:16075 -msgid ":issue:`37046`: PEP 586: Add ``Literal`` to the ``typing`` module." -msgstr "" - -#: ../build/NEWS:16077 -msgid "" -":issue:`37045`: PEP 591: Add ``Final`` qualifier and ``@final`` decorator to " -"the ``typing`` module." -msgstr "" - -#: ../build/NEWS:16080 -msgid "" -":issue:`37035`: Don't log OSError based exceptions if a fatal error has " -"occurred in asyncio transport. Peer can generate almost any OSError, user " -"cannot avoid these exceptions by fixing own code. Errors are still " -"propagated to user code, it's just logging them is pointless and pollute " -"asyncio logs." -msgstr "" - -#: ../build/NEWS:16086 -msgid "" -":issue:`37001`: :func:`symtable.symtable` now accepts the same input types " -"for source code as the built-in :func:`compile` function. Patch by Dino " -"Viehland." -msgstr "" - -#: ../build/NEWS:16090 -msgid ":issue:`37028`: Implement asyncio REPL" -msgstr "" - -#: ../build/NEWS:16092 -msgid "" -":issue:`37027`: Return safe to use proxy socket object from transport." -"get_extra_info('socket')" -msgstr "" - -#: ../build/NEWS:16095 -msgid ":issue:`32528`: Make asyncio.CancelledError a BaseException." -msgstr "" - -#: ../build/NEWS:16097 -msgid "" -"This will address the common mistake many asyncio users make: an \"except " -"Exception\" clause breaking Tasks cancellation." -msgstr "" - -#: ../build/NEWS:16100 -msgid "" -"In addition to this change, we stop inheriting asyncio.TimeoutError and " -"asyncio.InvalidStateError from their concurrent.futures.* counterparts. " -"There's no point for these exceptions to share the inheritance chain." -msgstr "" - -#: ../build/NEWS:16104 -msgid "" -":issue:`1230540`: Add a new :func:`threading.excepthook` function which " -"handles uncaught :meth:`threading.Thread.run` exception. It can be " -"overridden to control how uncaught :meth:`threading.Thread.run` exceptions " -"are handled." -msgstr "" - -#: ../build/NEWS:16108 -msgid "" -":issue:`36996`: Handle :func:`unittest.mock.patch` used as a decorator on " -"async functions." -msgstr "" - -#: ../build/NEWS:16111 -msgid "" -":issue:`37008`: Add support for calling :func:`next` with the mock resulting " -"from :func:`unittest.mock.mock_open`" -msgstr "" - -#: ../build/NEWS:16114 -msgid "" -":issue:`27737`: Allow whitespace only header encoding in ``email.header`` - " -"by Batuhan Taskaya" -msgstr "" - -#: ../build/NEWS:16117 -msgid "" -":issue:`36969`: PDB command `args` now display positional only arguments. " -"Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:16120 -msgid "" -":issue:`36969`: PDB command `args` now display keyword only arguments. " -"Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:16123 -msgid "" -":issue:`36983`: Add missing names to ``typing.__all__``: ``ChainMap``, " -"``ForwardRef``, ``OrderedDict`` - by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:16126 -msgid "" -":issue:`36972`: Add SupportsIndex protocol to the typing module to allow " -"type checking to detect classes that can be passed to `hex()`, `oct()` and " -"`bin()`." -msgstr "" - -#: ../build/NEWS:16130 -msgid "" -":issue:`32972`: Implement ``unittest.IsolatedAsyncioTestCase`` to help " -"testing asyncio-based code." -msgstr "" - -#: ../build/NEWS:16133 -msgid "" -":issue:`36952`: :func:`fileinput.input` and :class:`fileinput.FileInput` " -"**bufsize** argument has been removed (was deprecated and ignored since " -"Python 3.6), and as a result the **mode** and **openhook** arguments have " -"been made keyword-only." -msgstr "" - -#: ../build/NEWS:16138 -msgid "" -":issue:`36952`: Starting with Python 3.3, importing ABCs from :mod:" -"`collections` is deprecated, and import should be done from :mod:" -"`collections.abc`. Still being able to import from :mod:`collections` was " -"marked for removal in 3.8, but has been delayed to 3.9; documentation and " -"``DeprecationWarning`` clarified." -msgstr "" - -#: ../build/NEWS:16144 -msgid ":issue:`36949`: Implement __repr__ for WeakSet objects." -msgstr "" - -#: ../build/NEWS:16146 -msgid "" -":issue:`36948`: Fix :exc:`NameError` in :meth:`urllib.request.URLopener." -"retrieve`. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:16150 -msgid "" -":issue:`33524`: Fix the folding of email header when the max_line_length is " -"0 or None and the header contains non-ascii characters. Contributed by " -"Licht Takeuchi (@Licht-T)." -msgstr "" - -#: ../build/NEWS:16154 -msgid "" -":issue:`24564`: :func:`shutil.copystat` now ignores :const:`errno.EINVAL` " -"on :func:`os.setxattr` which may occur when copying files on filesystems " -"without extended attributes support." -msgstr "" - -#: ../build/NEWS:16158 -msgid "Original patch by Giampaolo Rodola, updated by Ying Wang." -msgstr "" - -#: ../build/NEWS:16160 -msgid "" -":issue:`36888`: Python child processes can now access the status of their " -"parent process using multiprocessing.process.parent_process" -msgstr "" - -#: ../build/NEWS:16163 -msgid ":issue:`36921`: Deprecate ``@coroutine`` for sake of ``async def``." -msgstr "" - -#: ../build/NEWS:16165 -msgid "" -":issue:`25652`: Fix bug in ``__rmod__`` of ``UserString`` - by Batuhan " -"Taskaya." -msgstr "" - -#: ../build/NEWS:16167 -msgid "" -":issue:`36916`: Remove a message about an unhandled exception in a task when " -"writer.write() is used without await and writer.drain() fails with an " -"exception." -msgstr "" - -#: ../build/NEWS:16171 -msgid "" -":issue:`36889`: Introduce :class:`asyncio.Stream` class that merges :class:" -"`asyncio.StreamReader` and :class:`asyncio.StreamWriter` functionality. :" -"class:`asyncio.Stream` can work in readonly, writeonly and readwrite modes. " -"Provide :func:`asyncio.connect`, :func:`asyncio.connect_unix`, :func:" -"`asyncio.connect_read_pipe` and :func:`asyncio.connect_write_pipe` factories " -"to open :class:`asyncio.Stream` connections. Provide :class:`asyncio." -"StreamServer` and :class:`UnixStreamServer` to serve servers with asyncio." -"Stream API. Modify :func:`asyncio.create_subprocess_shell` and :func:" -"`asyncio.create_subprocess_exec` to use :class:`asyncio.Stream` instead of " -"deprecated :class:`StreamReader` and :class:`StreamWriter`. Deprecate :class:" -"`asyncio.StreamReader` and :class:`asyncio.StreamWriter`. Deprecate usage of " -"private classes, e.g. :class:`asyncio.FlowControlMixing` and :class:`asyncio." -"StreamReaderProtocol` outside of asyncio package." -msgstr "" - -#: ../build/NEWS:16187 -msgid "" -":issue:`36845`: Added validation of integer prefixes to the construction of " -"IP networks and interfaces in the ipaddress module." -msgstr "" - -#: ../build/NEWS:16190 -msgid ":issue:`23378`: Add an extend action to argparser." -msgstr "" - -#: ../build/NEWS:16192 -msgid "" -":issue:`36867`: Fix a bug making a SharedMemoryManager instance and its " -"parent process use two separate resource_tracker processes." -msgstr "" - -#: ../build/NEWS:16195 -msgid "" -":issue:`23896`: Adds a grammar to lib2to3.pygram that contains exec as a " -"function not as statement." -msgstr "" - -#: ../build/NEWS:16198 -msgid "" -":issue:`36895`: The function ``time.clock()`` was deprecated in 3.3 in favor " -"of ``time.perf_counter()`` and marked for removal in 3.8, it has removed." -msgstr "" - -#: ../build/NEWS:16201 -msgid "" -":issue:`35545`: Fix asyncio discarding IPv6 scopes when ensuring hostname " -"resolutions internally" -msgstr "" - -#: ../build/NEWS:16204 -msgid "" -":issue:`36887`: Add new function :func:`math.isqrt` to compute integer " -"square roots." -msgstr "" - -#: ../build/NEWS:16207 -msgid "" -":issue:`34632`: Introduce the ``importlib.metadata`` module with " -"(provisional) support for reading metadata from third-party packages." -msgstr "" - -#: ../build/NEWS:16210 -msgid "" -":issue:`36878`: When using `type_comments=True` in `ast.parse`, treat `# " -"type: ignore` followed by a non-alphanumeric character and then arbitrary " -"text as a type ignore, instead of requiring nothing but whitespace or " -"another comment. This is to permit formations such as `# type: " -"ignore[E1000]`." -msgstr "" - -#: ../build/NEWS:16215 -msgid "" -":issue:`36778`: ``cp65001`` encoding (Windows code page 65001) becomes an " -"alias to ``utf_8`` encoding." -msgstr "" - -#: ../build/NEWS:16218 -msgid "" -":issue:`36867`: The multiprocessing.resource_tracker replaces the " -"multiprocessing.semaphore_tracker module. Other than semaphores, " -"resource_tracker also tracks shared_memory segments." -msgstr "" - -#: ../build/NEWS:16222 -msgid "" -":issue:`30262`: The ``Cache`` and ``Statement`` objects of the :mod:" -"`sqlite3` module are not exposed to the user. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:16225 -msgid "" -":issue:`24538`: In `shutil.copystat()`, first copy extended file attributes " -"and then file permissions, since extended attributes can only be set on the " -"destination while it is still writeable." -msgstr "" - -#: ../build/NEWS:16229 -msgid "" -":issue:`36829`: Add new :func:`sys.unraisablehook` function which can be " -"overridden to control how \"unraisable exceptions\" are handled. It is " -"called when an exception has occurred but there is no way for Python to " -"handle it. For example, when a destructor raises an exception or during " -"garbage collection (:func:`gc.collect`)." -msgstr "" - -#: ../build/NEWS:16235 -msgid "" -":issue:`36832`: Introducing ``zipfile.Path``, a pathlib-compatible wrapper " -"for traversing zip files." -msgstr "" - -#: ../build/NEWS:16238 -msgid "" -":issue:`36814`: Fix an issue where os.posix_spawnp() would incorrectly raise " -"a TypeError when file_actions is None." -msgstr "" - -#: ../build/NEWS:16241 -msgid "" -":issue:`33110`: Handle exceptions raised by functions added by concurrent." -"futures add_done_callback correctly when the Future has already completed." -msgstr "" - -#: ../build/NEWS:16245 -msgid "" -":issue:`26903`: Limit `max_workers` in `ProcessPoolExecutor` to 61 to work " -"around a WaitForMultipleObjects limitation." -msgstr "" - -#: ../build/NEWS:16248 -msgid "" -":issue:`36813`: Fix :class:`~logging.handlers.QueueListener` to call ``queue." -"task_done()`` upon stopping. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:16251 -msgid "" -":issue:`36806`: Forbid creation of asyncio stream objects like StreamReader, " -"StreamWriter, Process, and their protocols outside of asyncio package." -msgstr "" - -#: ../build/NEWS:16254 -msgid "" -":issue:`36802`: Provide both sync and async calls for StreamWriter.write() " -"and StreamWriter.close()" -msgstr "" - -#: ../build/NEWS:16257 -msgid "" -":issue:`36801`: Properly handle SSL connection closing in asyncio " -"StreamWriter.drain() call." -msgstr "" - -#: ../build/NEWS:16260 -msgid "" -":issue:`36785`: Implement PEP 574 (pickle protocol 5 with out-of-band " -"buffers)." -msgstr "" - -#: ../build/NEWS:16262 -msgid "" -":issue:`36772`: functools.lru_cache() can now be used as a straight " -"decorator in addition to its existing usage as a function that returns a " -"decorator." -msgstr "" - -#: ../build/NEWS:16265 -msgid "" -":issue:`6584`: Add a :exc:`~gzip.BadGzipFile` exception to the :mod:`gzip` " -"module." -msgstr "" - -#: ../build/NEWS:16268 -msgid "" -":issue:`36748`: Optimized write buffering in C implementation of " -"``TextIOWrapper``. Writing ASCII string to ``TextIOWrapper`` with ascii, " -"latin1, or utf-8 encoding is about 20% faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:16272 -msgid "" -":issue:`8138`: Don't mark ``wsgiref.simple_server.SimpleServer`` as multi-" -"threaded since ``wsgiref.simple_server.WSGIServer`` is single-threaded." -msgstr "" - -#: ../build/NEWS:16276 -msgid "" -":issue:`22640`: :func:`py_compile.compile` now supports silent mode. Patch " -"by Joannah Nanjekye" -msgstr "" - -#: ../build/NEWS:16279 -msgid "" -":issue:`29183`: Fix double exceptions in :class:`wsgiref.handlers." -"BaseHandler` by calling its :meth:`~wsgiref.handlers.BaseHandler.close` " -"method only when no exception is raised." -msgstr "" - -#: ../build/NEWS:16283 -msgid ":issue:`36548`: Improved the repr of regular expression flags." -msgstr "" - -#: ../build/NEWS:16285 -msgid "" -":issue:`36542`: The signature of Python functions can now be overridden by " -"specifying the ``__text_signature__`` attribute." -msgstr "" - -#: ../build/NEWS:16288 -msgid "" -":issue:`36533`: Reinitialize logging.Handler locks in forked child processes " -"instead of attempting to acquire them all in the parent before forking only " -"to be released in the child process. The acquire/release pattern was " -"leading to deadlocks in code that has implemented any form of chained " -"logging handlers that depend upon one another as the lock acquisition order " -"cannot be guaranteed." -msgstr "" - -#: ../build/NEWS:16295 -msgid "" -":issue:`35252`: Throw a TypeError instead of an AssertionError when using an " -"invalid type annotation with singledispatch." -msgstr "" - -#: ../build/NEWS:16298 -msgid "" -":issue:`35900`: Allow reduction methods to return a 6-item tuple where the " -"6th item specifies a custom state-setting method that's called instead of " -"the regular ``__setstate__`` method." -msgstr "" - -#: ../build/NEWS:16302 -msgid "" -":issue:`35900`: enable custom reduction callback registration for functions " -"and classes in _pickle.c, using the new Pickler's attribute " -"``reducer_override``" -msgstr "" - -#: ../build/NEWS:16306 -msgid "" -":issue:`36368`: Fix a bug crashing SharedMemoryManager instances in " -"interactive sessions after a ctrl-c (KeyboardInterrupt) was sent" -msgstr "" - -#: ../build/NEWS:16309 -msgid ":issue:`31904`: Fix mmap fail for VxWorks" -msgstr "" - -#: ../build/NEWS:16311 -msgid "" -":issue:`27497`: :meth:`csv.DictWriter.writeheader` now returns the return " -"value of the underlying :meth:`csv.Writer.writerow` method. Patch " -"contributed by Ashish Nitin Patil." -msgstr "" - -#: ../build/NEWS:16315 -msgid "" -":issue:`36239`: Parsing .mo files now ignores comments starting and ending " -"with #-#-#-#-#." -msgstr "" - -#: ../build/NEWS:16318 -msgid "" -":issue:`26707`: Enable plistlib to read and write binary plist files that " -"were created as a KeyedArchive file. Specifically, this allows the plistlib " -"to process 0x80 tokens as UID objects." -msgstr "" - -#: ../build/NEWS:16322 -msgid ":issue:`31904`: Add posix module support for VxWorks." -msgstr "" - -#: ../build/NEWS:16324 -msgid "" -":issue:`35125`: Asyncio: Remove inner callback on outer cancellation in " -"shield" -msgstr "" - -#: ../build/NEWS:16326 -msgid "" -":issue:`35721`: Fix :meth:`asyncio.SelectorEventLoop.subprocess_exec()` " -"leaks file descriptors if ``Popen`` fails and called with ``stdin=subprocess." -"PIPE``. Patch by Niklas Fiekas." -msgstr "" - -#: ../build/NEWS:16330 -msgid "" -":issue:`31855`: :func:`unittest.mock.mock_open` results now respects the " -"argument of read([size]). Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:16333 -msgid "" -":issue:`35431`: Implement :func:`math.comb` that returns binomial " -"coefficient, that computes the number of ways to choose k items from n items " -"without repetition and without order. Patch by Yash Aggarwal and Keller " -"Fuchs." -msgstr "" - -#: ../build/NEWS:16337 -msgid "" -":issue:`26660`: Fixed permission errors in :class:`~tempfile." -"TemporaryDirectory` clean up. Previously ``TemporaryDirectory.cleanup()`` " -"failed when non-writeable or non-searchable files or directories were " -"created inside a temporary directory." -msgstr "" - -#: ../build/NEWS:16343 -msgid "" -":issue:`34271`: Add debugging helpers to ssl module. It's now possible to " -"dump key material and to trace TLS protocol. The default and stdlib contexts " -"also support SSLKEYLOGFILE env var." -msgstr "" - -#: ../build/NEWS:16347 -msgid "" -":issue:`26467`: Added AsyncMock to support using unittest to mock asyncio " -"coroutines. Patch by Lisa Roach." -msgstr "" - -#: ../build/NEWS:16350 -msgid "" -":issue:`33569`: dataclasses.InitVar: Exposes the type used to create the " -"init var." -msgstr "" - -#: ../build/NEWS:16353 -msgid "" -":issue:`34424`: Fix serialization of messages containing encoded strings " -"when the policy.linesep is set to a multi-character string. Patch by Jens " -"Troeger." -msgstr "" - -#: ../build/NEWS:16357 -msgid "" -":issue:`34303`: Performance of :func:`functools.reduce` is slightly " -"improved. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:16360 -msgid "" -":issue:`33361`: Fix a bug in :class:`codecs.StreamRecoder` where seeking " -"might leave old data in a buffer and break subsequent read calls. Patch by " -"Ammar Askar." -msgstr "" - -#: ../build/NEWS:16364 -msgid "" -":issue:`22454`: The :mod:`shlex` module now exposes :func:`shlex.join`, the " -"inverse of :func:`shlex.split`. Patch by Bo Bayles." -msgstr "" - -#: ../build/NEWS:16367 -msgid "" -":issue:`31922`: :meth:`asyncio.AbstractEventLoop.create_datagram_endpoint`: " -"Do not connect UDP socket when broadcast is allowed. This allows to receive " -"replies after a UDP broadcast." -msgstr "" - -#: ../build/NEWS:16371 -msgid "" -":issue:`24882`: Change ThreadPoolExecutor to use existing idle threads " -"before spinning up new ones." -msgstr "" - -#: ../build/NEWS:16374 -msgid "" -":issue:`31961`: Added support for bytes and path-like objects in :func:" -"`subprocess.Popen` on Windows. The *args* parameter now accepts a :term:" -"`path-like object` if *shell* is ``False`` and a sequence containing bytes " -"and path-like objects. The *executable* parameter now accepts a bytes and :" -"term:`path-like object`. The *cwd* parameter now accepts a bytes object. " -"Based on patch by Anders Lorentsen." -msgstr "" - -#: ../build/NEWS:16381 -msgid "" -":issue:`33123`: :class:`pathlib.Path.unlink` now accepts a *missing_ok* " -"parameter to avoid a :exc:`FileNotFoundError` from being raised. Patch by " -"Robert Buchholz." -msgstr "" - -#: ../build/NEWS:16385 -msgid "" -":issue:`32941`: Allow :class:`mmap.mmap` objects to access the madvise() " -"system call (through :meth:`mmap.mmap.madvise`)." -msgstr "" - -#: ../build/NEWS:16388 -msgid "" -":issue:`22102`: Added support for ZIP files with disks set to 0. Such files " -"are commonly created by builtin tools on Windows when use ZIP64 extension. " -"Patch by Francisco Facioni." -msgstr "" - -#: ../build/NEWS:16392 -msgid "" -":issue:`32515`: trace.py can now run modules via python3 -m trace -t --" -"module module_name" -msgstr "" - -#: ../build/NEWS:16395 -msgid "" -":issue:`32299`: Changed :func:`unittest.mock.patch.dict` to return the " -"patched dictionary when used as context manager. Patch by Vadim Tsander." -msgstr "" - -#: ../build/NEWS:16398 -msgid "" -":issue:`27141`: Added a ``__copy__()`` to ``collections.UserList`` and " -"``collections.UserDict`` in order to correctly implement shallow copying of " -"the objects. Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:16402 -msgid "" -":issue:`31829`: ``\\r``, ``\\0`` and ``\\x1a`` (end-of-file on Windows) are " -"now escaped in protocol 0 pickles of Unicode strings. This allows to load " -"them without loss from files open in text mode in Python 2." -msgstr "" - -#: ../build/NEWS:16406 -msgid "" -":issue:`23395`: ``_thread.interrupt_main()`` now avoids setting the Python " -"error status if the ``SIGINT`` signal is ignored or not handled by Python." -msgstr "" - -#: ../build/NEWS:16412 -msgid "" -":issue:`36896`: Clarify that some types have unstable constructor signature " -"between Python versions." -msgstr "" - -#: ../build/NEWS:16415 -msgid "" -":issue:`36686`: Improve documentation of the stdin, stdout, and stderr " -"arguments of the ``asyncio.subprocess_exec`` function to specify which " -"values are supported. Also mention that decoding as text is not supported." -msgstr "" - -#: ../build/NEWS:16419 -msgid "" -"Add a few tests to verify that the various values passed to the std* " -"arguments actually work." -msgstr "" - -#: ../build/NEWS:16422 -msgid "" -":issue:`36984`: Improve version added references in ``typing`` module - by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:16425 -msgid "" -":issue:`36868`: What's new now mentions SSLContext." -"hostname_checks_common_name instead of SSLContext.host_flags." -msgstr "" - -#: ../build/NEWS:16428 -msgid "" -":issue:`35924`: Add a note to the ``curses.addstr()`` documentation to warn " -"that multiline strings can cause segfaults because of an ncurses bug." -msgstr "" - -#: ../build/NEWS:16431 -msgid "" -":issue:`36783`: Added C API Documentation for Time_FromTimeAndFold and " -"PyDateTime_FromDateAndTimeAndFold as per PEP 495. Patch by Edison Abahurire." -msgstr "" - -#: ../build/NEWS:16435 -msgid "" -":issue:`36797`: More of the legacy distutils documentation has been either " -"pruned, or else more clearly marked as being retained solely until the " -"setuptools documentation covers it independently." -msgstr "" - -#: ../build/NEWS:16439 -msgid "" -":issue:`22865`: Add detail to the documentation on the `pty.spawn` function." -msgstr "" - -#: ../build/NEWS:16441 -msgid "" -":issue:`35397`: Remove deprecation and document urllib.parse.unwrap(). Patch " -"contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:16444 -msgid ":issue:`32995`: Added the context variable in glossary." -msgstr "" - -#: ../build/NEWS:16446 -msgid "" -":issue:`33519`: Clarify that `copy()` is not part of the `MutableSequence` " -"ABC." -msgstr "" - -#: ../build/NEWS:16448 -msgid "" -":issue:`33482`: Make `codecs.StreamRecoder.writelines` take a list of bytes." -msgstr "" - -#: ../build/NEWS:16450 -msgid "" -":issue:`25735`: Added documentation for func factorial to indicate that " -"returns integer values" -msgstr "" - -#: ../build/NEWS:16453 -msgid "" -":issue:`20285`: Expand object.__doc__ (docstring) to make it clearer. Modify " -"pydoc.py so that help(object) lists object methods (for other classes, help " -"omits methods of the object base class.)" -msgstr "" - -#: ../build/NEWS:16460 -msgid "" -":issue:`37069`: Modify test_coroutines, test_cprofile, test_generators, " -"test_raise, test_ssl and test_yield_from to use :func:`test.support." -"catch_unraisable_exception` rather than :func:`test.support.captured_stderr`." -msgstr "" - -#: ../build/NEWS:16465 -msgid ":issue:`37098`: Fix test_memfd_create on older Linux Kernels." -msgstr "" - -#: ../build/NEWS:16467 -msgid ":issue:`37081`: Test with OpenSSL 1.1.1c" -msgstr "" - -#: ../build/NEWS:16469 -msgid "" -":issue:`36829`: Add :func:`test.support.catch_unraisable_exception`: context " -"manager catching unraisable exception using :func:`sys.unraisablehook`." -msgstr "" - -#: ../build/NEWS:16472 -msgid "" -":issue:`36915`: The main regrtest process now always removes all temporary " -"directories of worker processes even if they crash or if they are killed on " -"KeyboardInterrupt (CTRL+c)." -msgstr "" - -#: ../build/NEWS:16476 -msgid "" -":issue:`36719`: \"python3 -m test -jN ...\" now continues the execution of " -"next tests when a worker process crash (CHILD_ERROR state). Previously, the " -"test suite stopped immediately. Use --failfast to stop at the first error." -msgstr "" - -#: ../build/NEWS:16480 -msgid "" -":issue:`36816`: Update Lib/test/selfsigned_pythontestdotnet.pem to match " -"self-signed.pythontest.net's new TLS certificate." -msgstr "" - -#: ../build/NEWS:16483 -msgid "" -":issue:`35925`: Skip httplib and nntplib networking tests when they would " -"otherwise fail due to a modern OS or distro with a default OpenSSL policy of " -"rejecting connections to servers with weak certificates." -msgstr "" - -#: ../build/NEWS:16487 -msgid "" -":issue:`36782`: Add tests for several C API functions in the :mod:`datetime` " -"module. Patch by Edison Abahurire." -msgstr "" - -#: ../build/NEWS:16490 -msgid "" -":issue:`36342`: Fix test_multiprocessing in test_venv if platform lacks " -"functioning sem_open." -msgstr "" - -#: ../build/NEWS:16496 -msgid "" -":issue:`36721`: To embed Python into an application, a new ``--embed`` " -"option must be passed to ``python3-config --libs --embed`` to get ``-" -"lpython3.8`` (link the application to libpython). To support both 3.8 and " -"older, try ``python3-config --libs --embed`` first and fallback to ``python3-" -"config --libs`` (without ``--embed``) if the previous command fails." -msgstr "" - -#: ../build/NEWS:16502 -msgid "" -"Add a pkg-config ``python-3.8-embed`` module to embed Python into an " -"application: ``pkg-config python-3.8-embed --libs`` includes ``-" -"lpython3.8``. To support both 3.8 and older, try ``pkg-config python-X.Y-" -"embed --libs`` first and fallback to ``pkg-config python-X.Y --libs`` " -"(without ``--embed``) if the previous command fails (replace ``X.Y`` with " -"the Python version)." -msgstr "" - -#: ../build/NEWS:16509 -msgid "" -"On the other hand, ``pkg-config python3.8 --libs`` no longer contains ``-" -"lpython3.8``. C extensions must not be linked to libpython (except on " -"Android, case handled by the script); this change is backward incompatible " -"on purpose." -msgstr "" - -#: ../build/NEWS:16514 -msgid ":issue:`36786`: \"make install\" now runs compileall in parallel." -msgstr "" - -#: ../build/NEWS:16519 -msgid "" -":issue:`36965`: include of STATUS_CONTROL_C_EXIT without depending on MSC " -"compiler" -msgstr "" - -#: ../build/NEWS:16522 -msgid ":issue:`35926`: Update to OpenSSL 1.1.1b for Windows." -msgstr "" - -#: ../build/NEWS:16524 -msgid "" -":issue:`29883`: Add Windows support for UDP transports for the Proactor " -"Event Loop. Patch by Adam Meily." -msgstr "" - -#: ../build/NEWS:16527 -msgid "" -":issue:`33407`: The :c:macro:`Py_DEPRECATED()` macro has been implemented " -"for MSVC." -msgstr "" - -#: ../build/NEWS:16533 -msgid "" -":issue:`36231`: Support building Python on macOS without /usr/include " -"installed. As of macOS 10.14, system header files are only available within " -"an SDK provided by either the Command Line Tools or the Xcode app." -msgstr "" - -#: ../build/NEWS:16540 -msgid "" -":issue:`35610`: Replace now redundant .context_use_ps1 with ." -"prompt_last_line. This finishes change started in :issue:`31858`." -msgstr "" - -#: ../build/NEWS:16543 -msgid ":issue:`37038`: Make idlelib.run runnable; add test clause." -msgstr "" - -#: ../build/NEWS:16545 -msgid "" -":issue:`36958`: Print any argument other than None or int passed to " -"SystemExit or sys.exit()." -msgstr "" - -#: ../build/NEWS:16548 -msgid "" -":issue:`36807`: When saving a file, call os.fsync() so bits are flushed to e." -"g. USB drive." -msgstr "" - -#: ../build/NEWS:16551 -msgid "" -":issue:`32411`: In browser.py, remove extraneous sorting by line number " -"since dictionary was created in line number order." -msgstr "" - -#: ../build/NEWS:16557 -msgid "" -":issue:`37053`: Handle strings like u\"bar\" correctly in Tools/parser/" -"unparse.py. Patch by Chih-Hsuan Yen." -msgstr "" - -#: ../build/NEWS:16563 -msgid "" -":issue:`36763`: Implement the :pep:`587` \"Python Initialization " -"Configuration\"." -msgstr "" - -#: ../build/NEWS:16565 -msgid "" -":issue:`36379`: Fix crashes when attempting to use the *modulo* parameter " -"when ``__ipow__`` is implemented in C." -msgstr "" - -#: ../build/NEWS:16568 -msgid "" -":issue:`37107`: Update :c:func:`PyObject_CallMethodObjArgs` and " -"``_PyObject_CallMethodIdObjArgs`` to use ``_PyObject_GetMethod`` to avoid " -"creating a bound method object in many cases. Patch by Michael J. Sullivan." -msgstr "" - -#: ../build/NEWS:16573 -msgid "" -":issue:`36974`: Implement :pep:`590`: Vectorcall: a fast calling protocol " -"for CPython. This is a new protocol to optimize calls of custom callable " -"objects." -msgstr "" - -#: ../build/NEWS:16577 -msgid "" -":issue:`36763`: ``Py_Main()`` now returns the exitcode rather than calling " -"``Py_Exit(exitcode)`` when calling ``PyErr_Print()`` if the current " -"exception type is ``SystemExit``." -msgstr "" - -#: ../build/NEWS:16581 -msgid "" -":issue:`36922`: Add new type flag ``Py_TPFLAGS_METHOD_DESCRIPTOR`` for " -"objects behaving like unbound methods. These are objects supporting the " -"optimization given by the ``LOAD_METHOD``/``CALL_METHOD`` opcodes. See PEP " -"590." -msgstr "" - -#: ../build/NEWS:16586 -msgid "" -":issue:`36728`: The :c:func:`PyEval_ReInitThreads` function has been removed " -"from the C API. It should not be called explicitly: use :c:func:" -"`PyOS_AfterFork_Child` instead." -msgstr "" - -#: ../build/NEWS:16592 -msgid "Python 3.8.0 alpha 4" -msgstr "" - -#: ../build/NEWS:16594 -msgid "*Release date: 2019-05-06*" -msgstr "" - -#: ../build/NEWS:16599 -msgid "" -":issue:`36742`: Fixes mishandling of pre-normalization characters in " -"urlsplit()." -msgstr "" - -#: ../build/NEWS:16602 -msgid "" -":issue:`30458`: Address CVE-2019-9740 by disallowing URL paths with embedded " -"whitespace or control characters through into the underlying http client " -"request. Such potentially malicious header injection URLs now cause an http." -"client.InvalidURL exception to be raised." -msgstr "" - -#: ../build/NEWS:16607 -msgid "" -":issue:`35755`: :func:`shutil.which` now uses ``os.confstr(\"CS_PATH\")`` if " -"available and if the :envvar:`PATH` environment variable is not set. Remove " -"also the current directory from :data:`posixpath.defpath`. On Unix, :func:" -"`shutil.which` and the :mod:`subprocess` module no longer search the " -"executable in the current directory if the :envvar:`PATH` environment " -"variable is not set." -msgstr "" - -#: ../build/NEWS:16617 -msgid "" -":issue:`36722`: In debug build, import now also looks for C extensions " -"compiled in release mode and for C extensions compiled in the stable ABI." -msgstr "" - -#: ../build/NEWS:16620 -msgid "" -":issue:`32849`: Fix Python Initialization code on FreeBSD to detect properly " -"when stdin file descriptor (fd 0) is invalid." -msgstr "" - -#: ../build/NEWS:16623 -msgid "" -":issue:`36623`: Remove parser headers and related function declarations that " -"lack implementations after the removal of pgen." -msgstr "" - -#: ../build/NEWS:16626 -msgid "" -":issue:`20180`: ``dict.pop()`` is now up to 33% faster thanks to Argument " -"Clinic. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:16629 -msgid "" -":issue:`36611`: Debug memory allocators: disable serialno field by default " -"from debug hooks on Python memory allocators to reduce the memory footprint " -"by 5%. Enable :mod:`tracemalloc` to get the traceback where a memory block " -"has been allocated when a fatal memory error is logged to decide where to " -"put a breakpoint. Compile Python with ``PYMEM_DEBUG_SERIALNO`` defined to " -"get back the field." -msgstr "" - -#: ../build/NEWS:16636 -msgid "" -":issue:`36588`: On AIX, :attr:`sys.platform` doesn't contain the major " -"version anymore. Always return ``'aix'``, instead of ``'aix3'`` .. " -"``'aix7'``. Since older Python versions include the version number, it is " -"recommended to always use ``sys.platform.startswith('aix')``. Contributed by " -"M. Felt." -msgstr "" - -#: ../build/NEWS:16641 -msgid "" -":issue:`36549`: Change str.capitalize to use titlecase for the first " -"character instead of uppercase." -msgstr "" - -#: ../build/NEWS:16644 -msgid "" -":issue:`36540`: Implement :pep:`570` (Python positional-only parameters). " -"Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:16647 -msgid "" -":issue:`36475`: :c:func:`PyEval_AcquireLock` and :c:func:" -"`PyEval_AcquireThread` now terminate the current thread if called while the " -"interpreter is finalizing, making them consistent with :c:func:" -"`PyEval_RestoreThread`, :c:func:`Py_END_ALLOW_THREADS`, and :c:func:" -"`PyGILState_Ensure`." -msgstr "" - -#: ../build/NEWS:16652 -msgid "" -":issue:`36504`: Fix signed integer overflow in _ctypes.c's " -"``PyCArrayType_new()``." -msgstr "" - -#: ../build/NEWS:16655 -msgid "" -":issue:`20844`: Fix running script with encoding cookie and LF line ending " -"may fail on Windows." -msgstr "" - -#: ../build/NEWS:16658 -msgid "" -":issue:`24214`: Fixed support of the surrogatepass error handler in the " -"UTF-8 incremental decoder." -msgstr "" - -#: ../build/NEWS:16661 -msgid "" -":issue:`36452`: Changing ``dict`` keys during iteration of the dict itself, " -"``keys()``, ``values()``, or ``items()`` will now be detected in certain " -"corner cases where keys are deleted/added so that the number of keys isn't " -"changed. A `RuntimeError` will be raised after ``len(dict)`` iterations. " -"Contributed by Thomas Perl." -msgstr "" - -#: ../build/NEWS:16667 -msgid "" -":issue:`36459`: Fix a possible double ``PyMem_FREE()`` due to tokenizer.c's " -"``tok_nextc()``." -msgstr "" - -#: ../build/NEWS:16670 -msgid ":issue:`36433`: Fixed TypeError message in classmethoddescr_call." -msgstr "" - -#: ../build/NEWS:16672 -msgid "" -":issue:`36430`: Fix a possible reference leak in :func:`itertools.count`." -msgstr "" - -#: ../build/NEWS:16674 -msgid "" -":issue:`36440`: Include node names in ``ParserError`` messages, instead of " -"numeric IDs. Patch by A. Skrobov." -msgstr "" - -#: ../build/NEWS:16677 -msgid "" -":issue:`36143`: Regenerate :mod:`keyword` from the Grammar and Tokens file " -"using pgen. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:16680 -msgid "" -":issue:`18372`: Add missing :c:func:`PyObject_GC_Track` calls in the :mod:" -"`pickle` module. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:16686 -msgid ":issue:`35952`: Fix pythoninfo when the compiler is missing." -msgstr "" - -#: ../build/NEWS:16688 -msgid "" -":issue:`28238`: The ``.find*()`` methods of xml.etree.ElementTree can now " -"search for wildcards like ``{*}tag`` and ``{ns}*`` that match a tag in any " -"namespace or all tags in a namespace. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:16692 -msgid "" -":issue:`26978`: `pathlib.path.link_to()` is now implemented. It creates a " -"hard link pointing to a path." -msgstr "" - -#: ../build/NEWS:16695 -msgid "" -":issue:`1613500`: :class:`fileinput.FileInput` now uses the input file mode " -"to correctly set the output file mode (previously it was hardcoded to " -"``'w'``) when ``inplace=True`` is passed to its constructor." -msgstr "" - -#: ../build/NEWS:16699 -msgid "" -":issue:`36734`: Fix compilation of ``faulthandler.c`` on HP-UX. Initialize " -"``stack_t current_stack`` to zero using ``memset()``." -msgstr "" - -#: ../build/NEWS:16702 -msgid "" -":issue:`13611`: The xml.etree.ElementTree packages gained support for C14N " -"2.0 serialisation. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:16705 -msgid "" -":issue:`36669`: Add missing matrix multiplication operator support to " -"weakref.proxy." -msgstr "" - -#: ../build/NEWS:16708 -msgid "" -":issue:`36676`: The XMLParser() in xml.etree.ElementTree provides namespace " -"prefix context to the parser target if it defines the callback methods " -"\"start_ns()\" and/or \"end_ns()\". Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:16712 -msgid "" -":issue:`36673`: The TreeBuilder and XMLPullParser in xml.etree.ElementTree " -"gained support for parsing comments and processing instructions. Patch by " -"Stefan Behnel." -msgstr "" - -#: ../build/NEWS:16716 -msgid "" -":issue:`36650`: The C version of functools.lru_cache() was treating calls " -"with an empty ``**kwargs`` dictionary as being distinct from calls with no " -"keywords at all. This did not result in an incorrect answer, but it did " -"trigger an unexpected cache miss." -msgstr "" - -#: ../build/NEWS:16721 -msgid "" -":issue:`28552`: Fix :mod:`distutils.sysconfig` if :data:`sys.executable` is " -"``None`` or an empty string: use :func:`os.getcwd` to initialize " -"``project_base``. Fix also the distutils build command: don't use :data:" -"`sys.executable` if it is ``None`` or an empty string." -msgstr "" - -#: ../build/NEWS:16726 -msgid "" -":issue:`35755`: :func:`shutil.which` and :func:`distutils.spawn." -"find_executable` now use ``os.confstr(\"CS_PATH\")`` if available instead " -"of :data:`os.defpath`, if the ``PATH`` environment variable is not set. " -"Moreover, don't use ``os.confstr(\"CS_PATH\")`` nor :data:`os.defpath` if " -"the ``PATH`` environment variable is set to an empty string." -msgstr "" - -#: ../build/NEWS:16733 -msgid ":issue:`25430`: improve performance of ``IPNetwork.__contains__()``" -msgstr "" - -#: ../build/NEWS:16735 -msgid "" -":issue:`30485`: Path expressions in xml.etree.ElementTree can now avoid " -"explicit namespace prefixes for tags (or the \"{namespace}tag\" notation) by " -"passing a default namespace with an empty string prefix." -msgstr "" - -#: ../build/NEWS:16739 -msgid "" -":issue:`36613`: Fix :mod:`asyncio` wait() not removing callback if exception" -msgstr "" - -#: ../build/NEWS:16741 -msgid "" -":issue:`36598`: Fix ``isinstance`` check for Mock objects with spec when the " -"code is executed under tracing. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:16744 -msgid "" -":issue:`18748`: In development mode (:option:`-X` ``dev``) and in debug " -"build, the :class:`io.IOBase` destructor now logs ``close()`` exceptions. " -"These exceptions are silent by default in release mode." -msgstr "" - -#: ../build/NEWS:16748 -msgid "" -":issue:`36575`: The ``_lsprof`` module now uses internal timer same to " -"``time.perf_counter()`` by default. ``gettimeofday(2)`` was used on Unix. " -"New timer has better resolution on most Unix platforms and timings are no " -"longer impacted by system clock updates since ``perf_counter()`` is " -"monotonic. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:16754 -msgid "" -":issue:`33461`: ``json.loads`` now emits ``DeprecationWarning`` when " -"``encoding`` option is specified. Patch by Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:16757 -msgid "" -":issue:`36559`: The random module now prefers the lean internal _sha512 " -"module over hashlib for seed(version=2) to optimize import time." -msgstr "" - -#: ../build/NEWS:16760 -msgid "" -":issue:`17561`: Set backlog=None as the default for socket.create_server." -msgstr "" - -#: ../build/NEWS:16762 -msgid "" -":issue:`34373`: Fix :func:`time.mktime` error handling on AIX for year " -"before 1970." -msgstr "" - -#: ../build/NEWS:16765 -msgid "" -":issue:`36232`: Improve error message when trying to open existing DBM " -"database that actually doesn't exist. Patch by Marco Rougeth." -msgstr "" - -#: ../build/NEWS:16768 -msgid ":issue:`36546`: Add statistics.quantiles()" -msgstr "" - -#: ../build/NEWS:16770 -msgid "" -":issue:`36050`: Optimized ``http.client.HTTPResponse.read()`` for large " -"response. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:16773 -msgid "" -":issue:`36522`: If *debuglevel* is set to >0 in :mod:`http.client`, print " -"all values for headers with multiple values for the same header name. Patch " -"by Matt Houglum." -msgstr "" - -#: ../build/NEWS:16777 -msgid "" -":issue:`36492`: Deprecated passing required arguments like *func* as keyword " -"arguments in functions which should accept arbitrary keyword arguments and " -"pass them to other function. Arbitrary keyword arguments (even with names " -"\"self\" and \"func\") can now be passed to these functions if the required " -"arguments are passed as positional arguments." -msgstr "" - -#: ../build/NEWS:16783 -msgid ":issue:`27181`: Add statistics.geometric_mean()." -msgstr "" - -#: ../build/NEWS:16785 -msgid "" -":issue:`30427`: ``os.path.normcase()`` relies on ``os.fspath()`` to check " -"the type of its argument. Redundant checks have been removed from its " -"``posixpath.normcase()`` and ``ntpath.normcase()`` implementations. Patch by " -"Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:16790 -msgid "" -":issue:`36385`: Stop rejecting IPv4 octets for being ambiguously octal. " -"Leading zeros are ignored, and no longer are assumed to specify octal " -"octets. Octets are always decimal numbers. Octets must still be no more than " -"three digits, including leading zeroes." -msgstr "" - -#: ../build/NEWS:16795 -msgid "" -":issue:`36434`: Errors during writing to a ZIP file no longer prevent to " -"properly close it." -msgstr "" - -#: ../build/NEWS:16798 -msgid "" -":issue:`36407`: Fixed wrong indentation writing for CDATA section in xml.dom." -"minidom. Patch by Vladimir Surjaninov." -msgstr "" - -#: ../build/NEWS:16801 -msgid "" -":issue:`36326`: inspect.getdoc() can now find docstrings for member objects " -"when __slots__ is a dictionary." -msgstr "" - -#: ../build/NEWS:16804 -msgid "" -":issue:`36366`: Calling ``stop()`` on an unstarted or stopped :func:" -"`unittest.mock.patch` object will now return `None` instead of raising :exc:" -"`RuntimeError`, making the method idempotent. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:16809 -msgid "" -":issue:`36348`: The :meth:`imap.IMAP4.logout` method no longer ignores " -"silently arbitrary exceptions." -msgstr "" - -#: ../build/NEWS:16812 -msgid "" -":issue:`31904`: Add time module support and fix test_time faiures for " -"VxWorks." -msgstr "" - -#: ../build/NEWS:16814 -msgid "" -":issue:`36227`: Added support for keyword arguments `default_namespace` and " -"`xml_declaration` in functions ElementTree.tostring() and ElementTree." -"tostringlist()." -msgstr "" - -#: ../build/NEWS:16818 -msgid "" -":issue:`36004`: Added new alternate constructors :meth:`datetime.date." -"fromisocalendar` and :meth:`datetime.datetime.fromisocalendar`, which " -"construct date objects from ISO year, week number and weekday; these are the " -"inverse of each class's ``isocalendar`` method. Patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:16824 -msgid "" -":issue:`35936`: :mod:`modulefinder` no longer depends on the deprecated :mod:" -"`imp` module, and the initializer for :class:`modulefinder.ModuleFinder` now " -"has immutable default arguments. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:16829 -msgid "" -":issue:`35376`: :mod:`modulefinder` correctly handles modules that have the " -"same name as a bad package. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:16832 -msgid "" -":issue:`17396`: :mod:`modulefinder` no longer crashes when encountering " -"syntax errors in followed imports. Patch by Brandt Bucher." -msgstr "" - -#: ../build/NEWS:16835 -msgid "" -":issue:`35934`: Added :meth:`~socket.create_server()` and :meth:`~socket." -"has_dualstack_ipv6()` convenience functions to automate the necessary tasks " -"usually involved when creating a server socket, including accepting both " -"IPv4 and IPv6 connections on the same socket. (Contributed by Giampaolo " -"Rodola in :issue:`17561`.)" -msgstr "" - -#: ../build/NEWS:16841 -msgid "" -":issue:`23078`: Add support for :func:`classmethod` and :func:`staticmethod` " -"to :func:`unittest.mock.create_autospec`. Initial patch by Felipe Ochoa." -msgstr "" - -#: ../build/NEWS:16844 -msgid "" -":issue:`35416`: Fix potential resource warnings in distutils. Patch by " -"Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:16847 -msgid "" -":issue:`25451`: Add transparency methods to :class:`tkinter.PhotoImage`. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:16850 -msgid "" -":issue:`35082`: Don't return deleted attributes when calling dir on a :class:" -"`unittest.mock.Mock`." -msgstr "" - -#: ../build/NEWS:16853 -msgid "" -":issue:`34547`: :class:`wsgiref.handlers.BaseHandler` now handles abrupt " -"client connection terminations gracefully. Patch by Petter Strandmark." -msgstr "" - -#: ../build/NEWS:16856 -msgid "" -":issue:`31658`: :func:`xml.sax.parse` now supports :term:`path-like `. Patch by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:16859 -msgid ":issue:`34139`: Remove stale unix datagram socket before binding" -msgstr "" - -#: ../build/NEWS:16861 -msgid "" -":issue:`33530`: Implemented Happy Eyeballs in `asyncio.create_connection()`. " -"Added two new arguments, *happy_eyeballs_delay* and *interleave*, to specify " -"Happy Eyeballs behavior." -msgstr "" - -#: ../build/NEWS:16865 -msgid "" -":issue:`33291`: Do not raise AttributeError when calling the inspect " -"functions isgeneratorfunction, iscoroutinefunction, isasyncgenfunction on a " -"method created from an arbitrary callable. Instead, return False." -msgstr "" - -#: ../build/NEWS:16869 -msgid "" -":issue:`31310`: Fix the multiprocessing.semaphore_tracker so it is reused by " -"child processes" -msgstr "" - -#: ../build/NEWS:16872 -msgid "" -":issue:`31292`: Fix ``setup.py check --restructuredtext`` for files " -"containing ``include`` directives." -msgstr "" - -#: ../build/NEWS:16878 -msgid "" -":issue:`36625`: Remove obsolete comments from docstrings in fractions." -"Fraction" -msgstr "" - -#: ../build/NEWS:16880 -msgid ":issue:`30840`: Document relative imports" -msgstr "" - -#: ../build/NEWS:16882 -msgid ":issue:`36523`: Add docstring for io.IOBase.writelines()." -msgstr "" - -#: ../build/NEWS:16884 -msgid "" -":issue:`36425`: New documentation translation: `Simplified Chinese `_." -msgstr "" - -#: ../build/NEWS:16887 -msgid "" -":issue:`36345`: Avoid the duplication of code from ``Tools/scripts/serve." -"py`` in using the :rst:dir:`literalinclude` directive for the basic wsgiref-" -"based web server in the documentation of :mod:`wsgiref`. Contributed by " -"Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:16892 -msgid "" -":issue:`36345`: Using the code of the ``Tools/scripts/serve.py`` script as " -"an example in the :mod:`wsgiref` documentation. Contributed by Stéphane " -"Wirtel." -msgstr "" - -#: ../build/NEWS:16896 -msgid ":issue:`36157`: Added Documention for PyInterpreterState_Main()." -msgstr "" - -#: ../build/NEWS:16898 -msgid "" -":issue:`33043`: Updates the docs.python.org page with the addition of a " -"'Contributing to Docs' link at the end of the page (between 'Reporting Bugs' " -"and 'About Documentation'). Updates the 'Found a Bug' page with additional " -"links and information in the Documentation Bugs section." -msgstr "" - -#: ../build/NEWS:16903 -msgid "" -":issue:`35581`: @typing.type_check_only now allows type stubs to mark " -"functions and classes not available during runtime." -msgstr "" - -#: ../build/NEWS:16906 -msgid ":issue:`33832`: Add glossary entry for 'magic method'." -msgstr "" - -#: ../build/NEWS:16908 -msgid ":issue:`32913`: Added re.Match.groupdict example to regex HOWTO." -msgstr "" - -#: ../build/NEWS:16913 -msgid "" -":issue:`36719`: regrtest now always detects uncollectable objects. " -"Previously, the check was only enabled by ``--findleaks``. The check now " -"also works with ``-jN/--multiprocess N``. ``--findleaks`` becomes a " -"deprecated alias to ``--fail-env-changed``." -msgstr "" - -#: ../build/NEWS:16918 -msgid "" -":issue:`36725`: When using multiprocessing mode (-jN), regrtest now better " -"reports errors if a worker process fails, and it exits immediately on a " -"worker thread failure or when interrupted." -msgstr "" - -#: ../build/NEWS:16922 -msgid "" -":issue:`36454`: Change test_time.test_monotonic() to test only the lower " -"bound of elapsed time after a sleep command rather than the upper bound. " -"This prevents unnecessary test failures on slow buildbots. Patch by Victor " -"Stinner." -msgstr "" - -#: ../build/NEWS:16927 -msgid "" -":issue:`32424`: Improve test coverage for xml.etree.ElementTree. Patch by " -"Gordon P. Hemsley." -msgstr "" - -#: ../build/NEWS:16930 -msgid "" -":issue:`32424`: Fix typo in test_cyclic_gc() test for xml.etree.ElementTree. " -"Patch by Gordon P. Hemsley." -msgstr "" - -#: ../build/NEWS:16933 -msgid "" -":issue:`36635`: Add a new :mod:`_testinternalcapi` module to test the " -"internal C API." -msgstr "" - -#: ../build/NEWS:16936 -msgid "" -":issue:`36629`: Fix ``test_imap4_host_default_value()`` of ``test_imaplib``: " -"catch also :data:`errno.ENETUNREACH` error." -msgstr "" - -#: ../build/NEWS:16939 -msgid "" -":issue:`36611`: Fix ``test_sys.test_getallocatedblocks()`` when :mod:" -"`tracemalloc` is enabled." -msgstr "" - -#: ../build/NEWS:16942 -msgid "" -":issue:`36560`: Fix reference leak hunting in regrtest: compute also deltas " -"(of reference count, allocated memory blocks, file descriptor count) during " -"warmup, to ensure that everything is initialized before starting to hunt " -"reference leaks." -msgstr "" - -#: ../build/NEWS:16947 -msgid "" -":issue:`36565`: Fix reference hunting (``python3 -m test -R 3:3``) when " -"Python has no built-in abc module." -msgstr "" - -#: ../build/NEWS:16950 -msgid "" -":issue:`31904`: Port test_resource to VxWorks: skip tests cases setting " -"RLIMIT_FSIZE and RLIMIT_CPU." -msgstr "" - -#: ../build/NEWS:16953 -msgid "" -":issue:`31904`: Fix test_tabnanny on VxWorks: adjust ENOENT error message." -msgstr "" - -#: ../build/NEWS:16955 -msgid "" -":issue:`36436`: Fix ``_testcapi.pymem_buffer_overflow()``: handle memory " -"allocation failure." -msgstr "" - -#: ../build/NEWS:16958 -msgid "" -":issue:`31904`: Fix test_utf8_mode on VxWorks: Python always use UTF-8 on " -"VxWorks." -msgstr "" - -#: ../build/NEWS:16961 -msgid "" -":issue:`36341`: Fix tests that may fail with PermissionError upon calling " -"bind() on AF_UNIX sockets." -msgstr "" - -#: ../build/NEWS:16967 -msgid ":issue:`36747`: Remove the stale scriptsinstall Makefile target." -msgstr "" - -#: ../build/NEWS:16969 -msgid "" -":issue:`21536`: On Unix, C extensions are no longer linked to libpython " -"except on Android and Cygwin." -msgstr "" - -#: ../build/NEWS:16972 -msgid "" -"It is now possible for a statically linked Python to load a C extension " -"built using a shared library Python." -msgstr "" - -#: ../build/NEWS:16975 -msgid "" -"When Python is embedded, ``libpython`` must not be loaded with " -"``RTLD_LOCAL``, but ``RTLD_GLOBAL`` instead. Previously, using " -"``RTLD_LOCAL``, it was already not possible to load C extensions which were " -"not linked to ``libpython``, such as C extensions of the standard library " -"built by the ``*shared*`` section of ``Modules/Setup``." -msgstr "" - -#: ../build/NEWS:16981 -msgid "distutils, python-config and python-config.py have been modified." -msgstr "" - -#: ../build/NEWS:16983 -msgid "" -":issue:`36707`: ``./configure --with-pymalloc`` no longer adds the ``m`` " -"flag to SOABI (sys.implementation.cache_tag). Enabling or disabling pymalloc " -"has no impact on the ABI." -msgstr "" - -#: ../build/NEWS:16987 -msgid "" -":issue:`36635`: Change ``PyAPI_FUNC(type)``, ``PyAPI_DATA(type)`` and " -"``PyMODINIT_FUNC`` macros of ``pyport.h`` when ``Py_BUILD_CORE_MODULE`` is " -"defined. The ``Py_BUILD_CORE_MODULE`` define must be now be used to build a " -"C extension as a dynamic library accessing Python internals: export the " -"PyInit_xxx() function in DLL exports on Windows." -msgstr "" - -#: ../build/NEWS:16993 -msgid ":issue:`31904`: Don't build the ``_crypt`` extension on VxWorks." -msgstr "" - -#: ../build/NEWS:16995 -msgid "" -":issue:`36618`: Add ``-fmax-type-align=8`` to CFLAGS when clang compiler is " -"detected. The pymalloc memory allocator aligns memory on 8 bytes. On x86-64, " -"clang expects alignment on 16 bytes by default and so uses MOVAPS " -"instruction which can lead to segmentation fault. Instruct clang that Python " -"is limited to alignment on 8 bytes to use MOVUPS instruction instead: slower " -"but don't trigger a SIGSEGV if the memory is not aligned on 16 bytes. Sadly, " -"the flag must be added to ``CFLAGS`` and not just ``CFLAGS_NODIST``, since " -"third party C extensions can have the same issue." -msgstr "" - -#: ../build/NEWS:17004 -msgid "" -":issue:`36605`: ``make tags`` and ``make TAGS`` now also parse ``Modules/_io/" -"*.c`` and ``Modules/_io/*.h``." -msgstr "" - -#: ../build/NEWS:17007 -msgid "" -":issue:`36465`: Release builds and debug builds are now ABI compatible: " -"defining the ``Py_DEBUG`` macro no longer implies the ``Py_TRACE_REFS`` " -"macro, which introduces the only ABI incompatibility. The ``Py_TRACE_REFS`` " -"macro, which adds the :func:`sys.getobjects` function and the :envvar:" -"`PYTHONDUMPREFS` environment variable, can be set using the new ``./" -"configure --with-trace-refs`` build option." -msgstr "" - -#: ../build/NEWS:17014 -msgid "" -":issue:`36577`: setup.py now correctly reports missing OpenSSL headers and " -"libraries again." -msgstr "" - -#: ../build/NEWS:17017 -msgid "" -":issue:`36544`: Fix regression introduced in :issue:`36146` refactoring " -"setup.py" -msgstr "" - -#: ../build/NEWS:17019 -msgid "" -":issue:`36508`: ``python-config --ldflags`` no longer includes flags of the " -"``LINKFORSHARED`` variable. The ``LINKFORSHARED`` variable must only be used " -"to build executables." -msgstr "" - -#: ../build/NEWS:17023 -msgid "" -":issue:`36503`: Remove references to \"aix3\" and \"aix4\". Patch by M. Felt." -msgstr "" - -#: ../build/NEWS:17028 -msgid "" -":issue:`35920`: Added platform.win32_edition() and platform.win32_is_iot(). " -"Added support for cross-compiling packages for Windows ARM32. Skip tests " -"that are not expected to work on Windows IoT Core ARM32." -msgstr "" - -#: ../build/NEWS:17032 -msgid "" -":issue:`36649`: Remove trailing spaces for registry keys when installed via " -"the Store." -msgstr "" - -#: ../build/NEWS:17035 -msgid "" -":issue:`34144`: Fixed activate.bat to correctly update codepage when chcp." -"com returns dots in output. Patch by Lorenz Mende." -msgstr "" - -#: ../build/NEWS:17038 -msgid "" -":issue:`36509`: Added preset-iot layout for Windows IoT ARM containers. This " -"layout doesn't contain UI components like tkinter or IDLE. It also doesn't " -"contain files to support on-target builds since Windows ARM32 builds must be " -"cross-compiled when using MSVC." -msgstr "" - -#: ../build/NEWS:17043 -msgid "" -":issue:`35941`: enum_certificates function of the ssl module now returns " -"certificates from all available certificate stores inside windows in a query " -"instead of returning only certificates from the system wide certificate " -"store. This includes certificates from these certificate stores: local " -"machine, local machine enterprise, local machine group policy, current user, " -"current user group policy, services, users. ssl.enum_crls() function is " -"changed in the same way to return all certificate revocation lists inside " -"the windows certificate revocation list stores." -msgstr "" - -#: ../build/NEWS:17053 -msgid "" -":issue:`36441`: Fixes creating a venv when debug binaries are installed." -msgstr "" - -#: ../build/NEWS:17055 -msgid "" -":issue:`36085`: Enable better DLL resolution on Windows by using safe DLL " -"search paths and adding :func:`os.add_dll_directory`." -msgstr "" - -#: ../build/NEWS:17058 -msgid "" -":issue:`36010`: Add the venv standard library module to the nuget " -"distribution for Windows." -msgstr "" - -#: ../build/NEWS:17061 -msgid "" -":issue:`29515`: Add the following socket module constants on Windows: " -"IPPROTO_AH IPPROTO_CBT IPPROTO_DSTOPTS IPPROTO_EGP IPPROTO_ESP " -"IPPROTO_FRAGMENT IPPROTO_GGP IPPROTO_HOPOPTS IPPROTO_ICLFXBM IPPROTO_ICMPV6 " -"IPPROTO_IDP IPPROTO_IGMP IPPROTO_IGP IPPROTO_IPV4 IPPROTO_IPV6 IPPROTO_L2TP " -"IPPROTO_MAX IPPROTO_ND IPPROTO_NONE IPPROTO_PGM IPPROTO_PIM IPPROTO_PUP " -"IPPROTO_RDP IPPROTO_ROUTING IPPROTO_SCTP IPPROTO_ST" -msgstr "" - -#: ../build/NEWS:17069 -msgid "" -":issue:`35947`: Added current version of libffi to cpython-source-deps. " -"Change _ctypes to use current version of libffi on Windows." -msgstr "" - -#: ../build/NEWS:17072 -msgid "" -":issue:`34060`: Report system load when running test suite on Windows. Patch " -"by Ammar Askar. Based on prior work by Jeremy Kloth." -msgstr "" - -#: ../build/NEWS:17075 -msgid "" -":issue:`31512`: With the Windows 10 Creators Update, non-elevated users can " -"now create symlinks as long as the computer has Developer Mode enabled." -msgstr "" - -#: ../build/NEWS:17081 -msgid "" -":issue:`34602`: Avoid failures setting macOS stack resource limit with " -"resource.setrlimit. This reverts an earlier fix for :issue:`18075` which " -"forced a non-default stack size when building the interpreter executable on " -"macOS." -msgstr "" - -#: ../build/NEWS:17089 -msgid "" -":issue:`36429`: Fix starting IDLE with pyshell. Add idlelib.pyshell alias at " -"top; remove pyshell alias at bottom. Remove obsolete __name__=='__main__' " -"command." -msgstr "" - -#: ../build/NEWS:17096 -msgid ":issue:`14546`: Fix the argument handling in Tools/scripts/lll.py." -msgstr "" - -#: ../build/NEWS:17101 -msgid "" -":issue:`36763`: Fix memory leak in :c:func:`Py_SetStandardStreamEncoding`: " -"release memory if the function is called twice." -msgstr "" - -#: ../build/NEWS:17104 -msgid "" -":issue:`36641`: :c:expr:`PyDoc_VAR(name)` and :c:expr:`PyDoc_STRVAR(name," -"str)` now create ``static const char name[]`` instead of ``static char " -"name[]``. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:17108 -msgid "" -":issue:`36389`: Change the value of ``CLEANBYTE``, ``DEADDYTE`` and " -"``FORBIDDENBYTE`` internal constants used by debug hooks on Python memory " -"allocators (:c:func:`PyMem_SetupDebugHooks` function). Byte patterns " -"``0xCB``, ``0xDB`` and ``0xFB`` have been replaced with ``0xCD``, ``0xDD`` " -"and ``0xFD`` to use the same values than Windows CRT debug ``malloc()`` and " -"``free()``." -msgstr "" - -#: ../build/NEWS:17115 -msgid "" -":issue:`36443`: Since Python 3.7.0, calling :c:func:`Py_DecodeLocale` " -"before :c:func:`Py_Initialize` produces mojibake if the ``LC_CTYPE`` locale " -"is coerced and/or if the UTF-8 Mode is enabled by the user configuration. " -"The LC_CTYPE coercion and UTF-8 Mode are now disabled by default to fix the " -"mojibake issue. They must now be enabled explicitly (opt-in) using the new :" -"c:func:`_Py_PreInitialize` API with ``_PyPreConfig``." -msgstr "" - -#: ../build/NEWS:17122 -msgid "" -":issue:`36025`: Fixed an accidental change to the datetime C API where the " -"arguments to the :c:func:`PyDate_FromTimestamp` function were incorrectly " -"interpreted as a single timestamp rather than an arguments tuple, which " -"causes existing code to start raising :exc:`TypeError`. The backwards-" -"incompatible change was only present in alpha releases of Python 3.8. Patch " -"by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:17129 -msgid "" -":issue:`35810`: Modify ``PyObject_Init`` to correctly increase the refcount " -"of heap- allocated Type objects. Also fix the refcounts of the heap-" -"allocated types that were either doing this manually or not decreasing the " -"type's refcount in tp_dealloc" -msgstr "" - -#: ../build/NEWS:17136 -msgid "Python 3.8.0 alpha 3" -msgstr "" - -#: ../build/NEWS:17138 -msgid "*Release date: 2019-03-25*" -msgstr "" - -#: ../build/NEWS:17143 -msgid "" -":issue:`36216`: Changes urlsplit() to raise ValueError when the URL contains " -"characters that decompose under IDNA encoding (NFKC-normalization) into " -"characters that affect how the URL is parsed." -msgstr "" - -#: ../build/NEWS:17147 -msgid "" -":issue:`35121`: Don't send cookies of domain A without Domain attribute to " -"domain B when domain A is a suffix match of domain B while using a cookiejar " -"with :class:`http.cookiejar.DefaultCookiePolicy` policy. Patch by " -"Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:17155 -msgid "" -":issue:`36421`: Fix a possible double decref in _ctypes.c's " -"``PyCArrayType_new()``." -msgstr "" - -#: ../build/NEWS:17158 -msgid ":issue:`36412`: Fix a possible crash when creating a new dictionary." -msgstr "" - -#: ../build/NEWS:17160 -msgid ":issue:`36398`: Fix a possible crash in ``structseq_repr()``." -msgstr "" - -#: ../build/NEWS:17162 -msgid "" -":issue:`36256`: Fix bug in parsermodule when parsing a state in a DFA that " -"has two or more arcs with labels of the same type. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17165 -msgid ":issue:`36365`: repr(structseq) is no longer limited to 512 bytes." -msgstr "" - -#: ../build/NEWS:17167 -msgid "" -":issue:`36374`: Fix a possible null pointer dereference in " -"``merge_consts_recursive()``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17170 -msgid "" -":issue:`36236`: At Python initialization, the current directory is no longer " -"prepended to :data:`sys.path` if it has been removed." -msgstr "" - -#: ../build/NEWS:17173 -msgid "" -":issue:`36352`: Python initialization now fails with an error, rather than " -"silently truncating paths, if a path is too long." -msgstr "" - -#: ../build/NEWS:17176 -msgid "" -":issue:`36301`: Python initialization now fails if decoding ``pybuilddir." -"txt`` configuration file fails at startup." -msgstr "" - -#: ../build/NEWS:17179 -msgid "" -":issue:`36333`: Fix leak in _PyRuntimeState_Fini. Contributed by Stéphane " -"Wirtel." -msgstr "" - -#: ../build/NEWS:17182 -msgid "" -":issue:`36332`: The builtin :func:`compile` can now handle AST objects that " -"contain assignment expressions. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17185 -msgid "" -":issue:`36282`: Improved error message for too much positional arguments in " -"some builtin functions." -msgstr "" - -#: ../build/NEWS:17188 -msgid "" -":issue:`30040`: New empty dict uses fewer memory for now. It used more " -"memory than empty dict created by ``dict.clear()``. And empty dict creation " -"and deletion is about 2x faster. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:17192 -msgid "" -":issue:`36262`: Fix an unlikely memory leak on conversion from string to " -"float in the function ``_Py_dg_strtod()`` used by ``float(str)``, " -"``complex(str)``, :func:`pickle.load`, :func:`marshal.load`, etc." -msgstr "" - -#: ../build/NEWS:17196 -msgid ":issue:`36252`: Update Unicode databases to version 12.0.0." -msgstr "" - -#: ../build/NEWS:17198 -msgid "" -":issue:`36218`: Fix a segfault occurring when sorting a list of " -"heterogeneous values. Patch contributed by Rémi Lapeyre and Elliot " -"Gorokhovsky." -msgstr "" - -#: ../build/NEWS:17201 -msgid "" -":issue:`36188`: Cleaned up left-over vestiges of Python 2 unbound method " -"handling in method objects and documentation. Patch by Martijn Pieters" -msgstr "" - -#: ../build/NEWS:17204 -msgid "" -":issue:`36124`: Add a new interpreter-specific dict and expose it in the C-" -"API via PyInterpreterState_GetDict(). This parallels " -"PyThreadState_GetDict(). However, extension modules should continue using " -"PyModule_GetState() for their own internal per-interpreter state." -msgstr "" - -#: ../build/NEWS:17209 -msgid "" -":issue:`35975`: Add a ``feature_version`` flag to ``ast.parse()`` " -"(documented) and ``compile()`` (hidden) that allows tweaking the parser to " -"support older versions of the grammar. In particular, if ``feature_version`` " -"is 5 or 6, the hacks for the ``async`` and ``await`` keyword from PEP 492 " -"are reinstated. (For 7 or higher, these are unconditionally treated as " -"keywords, but they are still special tokens rather than ``NAME`` tokens that " -"the parser driver recognizes.)" -msgstr "" - -#: ../build/NEWS:17217 -msgid ":issue:`31904`: Use UTF-8 as the system encoding on VxWorks." -msgstr "" - -#: ../build/NEWS:17219 -msgid "" -":issue:`36048`: The :meth:`~object.__index__` special method will be used " -"instead of :meth:`~object.__int__` for implicit conversion of Python numbers " -"to C integers. Using the ``__int__()`` method in implicit conversions has " -"been deprecated." -msgstr "" - -#: ../build/NEWS:17224 -msgid "" -":issue:`35808`: Retire pgen and use a modified version of pgen2 to generate " -"the parser. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17230 -msgid "" -":issue:`36401`: The class documentation created by pydoc now has a separate " -"section for readonly properties." -msgstr "" - -#: ../build/NEWS:17233 -msgid "" -":issue:`36320`: The typing.NamedTuple() class has deprecated the " -"_field_types attribute in favor of the __annotations__ attribute which " -"carried the same information. Also, both attributes were converted from " -"OrderedDict to a regular dict." -msgstr "" - -#: ../build/NEWS:17238 -msgid "" -":issue:`34745`: Fix :mod:`asyncio` ssl memory issues caused by circular " -"references" -msgstr "" - -#: ../build/NEWS:17241 -msgid "" -":issue:`36324`: Add method to statistics.NormalDist for computing the " -"inverse cumulative normal distribution." -msgstr "" - -#: ../build/NEWS:17244 -msgid "" -":issue:`36321`: collections.namedtuple() misspelled the name of an " -"attribute. To be consistent with typing.NamedTuple, the attribute name " -"should have been \"_field_defaults\" instead of \"_fields_defaults\". For " -"backwards compatibility, both spellings are now created. The misspelled " -"version may be removed in the future." -msgstr "" - -#: ../build/NEWS:17250 -msgid "" -":issue:`36297`: \"unicode_internal\" codec is removed. It was deprecated " -"since Python 3.3. Patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:17253 -msgid "" -":issue:`36298`: Raise ModuleNotFoundError in pyclbr when a module can't be " -"found. Thanks to 'mental' for the bug report." -msgstr "" - -#: ../build/NEWS:17256 -msgid "" -":issue:`36268`: Switch the default format used for writing tars with mod:" -"`tarfile` to the modern POSIX.1-2001 pax standard, from the vendor-specific " -"GNU. Contributed by C.A.M. Gerlach." -msgstr "" - -#: ../build/NEWS:17260 -msgid "" -":issue:`36285`: Fix integer overflows in the array module. Patch by Stephan " -"Hohe." -msgstr "" - -#: ../build/NEWS:17263 -msgid ":issue:`31904`: Add _signal module support for VxWorks." -msgstr "" - -#: ../build/NEWS:17265 -msgid "" -":issue:`36272`: :mod:`logging` does not silently ignore RecursionError " -"anymore. Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:17268 -msgid "" -":issue:`36280`: Add a kind field to ast.Constant. It is 'u' if the literal " -"has a 'u' prefix (i.e. a Python 2 style unicode literal), else None." -msgstr "" - -#: ../build/NEWS:17271 -msgid "" -":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles all " -"exceptions." -msgstr "" - -#: ../build/NEWS:17274 -msgid "" -":issue:`36251`: Fix format strings used for stderrprinter and re.Match " -"reprs. Patch by Stephan Hohe." -msgstr "" - -#: ../build/NEWS:17277 -msgid "" -":issue:`36235`: Fix ``CFLAGS`` in ``customize_compiler()`` of ``distutils." -"sysconfig``: when the ``CFLAGS`` environment variable is defined, don't " -"override ``CFLAGS`` variable with the ``OPT`` variable anymore. Initial " -"patch written by David Malcolm." -msgstr "" - -#: ../build/NEWS:17282 -msgid "" -":issue:`35807`: Update ensurepip to install pip 19.0.3 and setuptools 40.8.0." -msgstr "" - -#: ../build/NEWS:17284 -msgid ":issue:`36139`: Release GIL when closing :class:`~mmap.mmap` objects." -msgstr "" - -#: ../build/NEWS:17286 -msgid "" -":issue:`36179`: Fix two unlikely reference leaks in _hashopenssl. The leaks " -"only occur in out-of-memory cases." -msgstr "" - -#: ../build/NEWS:17289 -msgid "" -":issue:`36169`: Add overlap() method to statistics.NormalDist. Computes the " -"overlapping coefficient for two normal distributions." -msgstr "" - -#: ../build/NEWS:17292 -msgid "" -":issue:`36103`: Default buffer size used by ``shutil.copyfileobj()`` is " -"changed from 16 KiB to 64 KiB on non-Windows platform to reduce system call " -"overhead. Contributed by Inada Naoki." -msgstr "" - -#: ../build/NEWS:17296 -msgid "" -":issue:`36130`: Fix ``pdb`` with ``skip=...`` when stepping into a frame " -"without a ``__name__`` global. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:17299 -msgid "" -":issue:`35652`: shutil.copytree(copy_function=...) erroneously pass DirEntry " -"instead of a path string." -msgstr "" - -#: ../build/NEWS:17302 -msgid "" -":issue:`35178`: Ensure custom :func:`warnings.formatwarning` function can " -"receive `line` as positional argument. Based on patch by Tashrif Billah." -msgstr "" - -#: ../build/NEWS:17305 -msgid "" -":issue:`36106`: Resolve potential name clash with libm's sinpi(). Patch by " -"Dmitrii Pasechnik." -msgstr "" - -#: ../build/NEWS:17308 -msgid "" -":issue:`36091`: Clean up reference to async generator in Lib/types. Patch by " -"Henry Chen." -msgstr "" - -#: ../build/NEWS:17311 -msgid "" -":issue:`36043`: :class:`FileCookieJar` supports :term:`path-like object`. " -"Contributed by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:17314 -msgid "" -":issue:`35899`: Enum has been fixed to correctly handle empty strings and " -"strings with non-Latin characters (ie. 'α', 'א') without crashing. Original " -"patch contributed by Maxwell. Assisted by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:17318 -msgid "" -":issue:`21269`: Add ``args`` and ``kwargs`` properties to mock call objects. " -"Contributed by Kumar Akshay." -msgstr "" - -#: ../build/NEWS:17321 -msgid "" -":issue:`30670`: `pprint.pp` has been added to pretty-print objects with " -"dictionary keys being sorted with their insertion order by default. " -"Parameter *sort_dicts* has been added to `pprint.pprint`, `pprint.pformat` " -"and `pprint.PrettyPrinter`. Contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:17326 -msgid "" -":issue:`35843`: Implement ``__getitem__`` for ``_NamespacePath``. Patch by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:17329 -msgid "" -":issue:`35802`: Clean up code which checked presence of ``os.stat`` / ``os." -"lstat`` / ``os.chmod`` which are always present. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:17333 -msgid "" -":issue:`35715`: Librates the return value of a ProcessPoolExecutor " -"_process_worker after it's no longer needed to free memory" -msgstr "" - -#: ../build/NEWS:17336 -msgid "" -":issue:`35493`: Use :func:`multiprocessing.connection.wait` instead of " -"polling each 0.2 seconds for worker updates in :class:`multiprocessing." -"Pool`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17340 -msgid ":issue:`35661`: Store the venv prompt in pyvenv.cfg." -msgstr "" - -#: ../build/NEWS:17342 -msgid "" -":issue:`35121`: Don't set cookie for a request when the request path is a " -"prefix match of the cookie's path attribute but doesn't end with \"/\". " -"Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:17346 -msgid "" -":issue:`21478`: Calls to a child function created with :func:`unittest.mock." -"create_autospec` should propagate to the parent. Patch by Karthikeyan " -"Singaravelan." -msgstr "" - -#: ../build/NEWS:17350 -msgid ":issue:`35198`: Fix C++ extension compilation on AIX" -msgstr "" - -#: ../build/NEWS:17355 -msgid "" -":issue:`36329`: Declare the path of the Python binary for the usage of " -"``Tools/scripts/serve.py`` when executing ``make -C Doc/ serve``. " -"Contributed by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:17359 -msgid "" -":issue:`36138`: Improve documentation about converting datetime.timedelta to " -"scalars." -msgstr "" - -#: ../build/NEWS:17362 -msgid "" -":issue:`21314`: A new entry was added to the Core Language Section of the " -"Programming FAQ, which explaines the usage of slash(/) in the signature of a " -"function. Patch by Lysandros Nikolaou" -msgstr "" - -#: ../build/NEWS:17369 -msgid "" -":issue:`36234`: test_posix.PosixUidGidTests: add tests for invalid uid/gid " -"type (str). Initial patch written by David Malcolm." -msgstr "" - -#: ../build/NEWS:17372 -msgid "" -":issue:`29571`: Fix ``test_re.test_locale_flag()``: use ``locale." -"getpreferredencoding()`` rather than ``locale.getlocale()`` to get the " -"locale encoding. With some locales, ``locale.getlocale()`` returns the wrong " -"encoding." -msgstr "" - -#: ../build/NEWS:17377 -msgid ":issue:`36123`: Fix race condition in test_socket." -msgstr "" - -#: ../build/NEWS:17382 -msgid "" -":issue:`36356`: Fix leaks that led to build failure when configured with " -"address sanitizer." -msgstr "" - -#: ../build/NEWS:17385 -msgid "" -":issue:`36146`: Add ``TEST_EXTENSIONS`` constant to ``setup.py`` to allow to " -"not build test extensions like ``_testcapi``." -msgstr "" - -#: ../build/NEWS:17388 -msgid "" -":issue:`36146`: Fix setup.py on macOS: only add ``/usr/include/ffi`` to " -"include directories of _ctypes, not for all extensions." -msgstr "" - -#: ../build/NEWS:17391 -msgid ":issue:`31904`: Enable build system to cross-build for VxWorks RTOS." -msgstr "" - -#: ../build/NEWS:17396 -msgid "" -":issue:`36312`: Fixed decoders for the following code pages: 50220, 50221, " -"50222, 50225, 50227, 50229, 57002 through 57011, 65000 and 42." -msgstr "" - -#: ../build/NEWS:17399 -msgid "" -":issue:`36264`: Don't honor POSIX ``HOME`` in ``os.path.expanduser`` on " -"windows. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:17402 -msgid "" -":issue:`24643`: Fix name collisions due to ``#define timezone _timezone`` in " -"PC/pyconfig.h." -msgstr "" - -#: ../build/NEWS:17408 -msgid ":issue:`36405`: Use dict unpacking in idlelib." -msgstr "" - -#: ../build/NEWS:17410 -msgid "" -":issue:`36396`: Remove fgBg param of idlelib.config.GetHighlight(). This " -"param was only used twice and changed the return type." -msgstr "" - -#: ../build/NEWS:17413 -msgid "" -":issue:`36176`: Fix IDLE autocomplete & calltip popup colors. Prevent " -"conflicts with Linux dark themes (and slightly darken calltip background)." -msgstr "" - -#: ../build/NEWS:17416 -msgid "" -":issue:`23205`: For the grep module, add tests for findfiles, refactor " -"findfiles to be a module-level function, and refactor findfiles to use os." -"walk." -msgstr "" - -#: ../build/NEWS:17420 -msgid ":issue:`23216`: Add docstrings to IDLE search modules." -msgstr "" - -#: ../build/NEWS:17422 -msgid "" -":issue:`36152`: Remove colorizer.ColorDelegator.close_when_done and the " -"corresponding argument of .close(). In IDLE, both have always been None or " -"False since 2007." -msgstr "" - -#: ../build/NEWS:17426 -msgid "" -":issue:`32129`: Avoid blurry IDLE application icon on macOS with Tk 8.6. " -"Patch by Kevin Walzer." -msgstr "" - -#: ../build/NEWS:17429 -msgid "" -":issue:`36096`: Refactor class variables to instance variables in colorizer." -msgstr "" - -#: ../build/NEWS:17431 -msgid "" -":issue:`30348`: Increase test coverage of idlelib.autocomplete by 30%. Patch " -"by Louie Lu" -msgstr "" - -#: ../build/NEWS:17437 -msgid "" -":issue:`35132`: Fix py-list and py-bt commands of python-gdb.py on gdb7." -msgstr "" - -#: ../build/NEWS:17439 -msgid ":issue:`32217`: Fix freeze script on Windows." -msgstr "" - -#: ../build/NEWS:17444 -msgid "" -":issue:`36381`: Raise ``DeprecationWarning`` when '#' formats are used for " -"building or parsing values without ``PY_SSIZE_T_CLEAN``." -msgstr "" - -#: ../build/NEWS:17447 -msgid "" -":issue:`36142`: The whole coreconfig.h header is now excluded from " -"Py_LIMITED_API. Move functions definitions into a new internal " -"pycore_coreconfig.h header." -msgstr "" - -#: ../build/NEWS:17453 -msgid "Python 3.8.0 alpha 2" -msgstr "" - -#: ../build/NEWS:17455 -msgid "*Release date: 2019-02-25*" -msgstr "" - -#: ../build/NEWS:17460 -msgid "" -":issue:`36052`: Raise a :exc:`SyntaxError` when assigning a value to " -"`__debug__` with the Assignment Operator. Contributed by Stéphane Wirtel and " -"Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17464 -msgid "" -":issue:`36012`: Doubled the speed of class variable writes. When a non-" -"dunder attribute was updated, there was an unnecessary call to update slots." -msgstr "" - -#: ../build/NEWS:17467 -msgid "" -":issue:`35942`: The error message emitted when returning invalid types from " -"``__fspath__`` in interfaces that allow passing :class:`~os.PathLike` " -"objects has been improved and now it does explain the origin of the error." -msgstr "" - -#: ../build/NEWS:17471 -msgid "" -":issue:`36016`: ``gc.get_objects`` can now receive an optional parameter " -"indicating a generation to get objects from. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17474 -msgid "" -":issue:`1054041`: When the main interpreter exits due to an uncaught " -"KeyboardInterrupt, the process now exits in the appropriate manner for its " -"parent process to detect that a SIGINT or ^C terminated the process. This " -"allows shells and batch scripts to understand that the user has asked them " -"to stop." -msgstr "" - -#: ../build/NEWS:17480 -msgid "" -":issue:`35992`: Fix ``__class_getitem__()`` not being called on a class with " -"a custom non-subscriptable metaclass." -msgstr "" - -#: ../build/NEWS:17483 -msgid "" -":issue:`35993`: Fix a crash on fork when using subinterpreters. Contributed " -"by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:17486 -msgid ":issue:`35991`: Fix a potential double free in Modules/_randommodule.c." -msgstr "" - -#: ../build/NEWS:17488 -msgid "" -":issue:`35961`: Fix a crash in slice_richcompare(): use strong references " -"rather than stolen references for the two temporary internal tuples." -msgstr "" - -#: ../build/NEWS:17491 -msgid "" -":issue:`35911`: Enable the creation of cell objects by adding a ``cell." -"__new__`` method, and expose the type ``cell`` in ``Lib/types.py`` under the " -"name CellType. Patch by Pierre Glaser." -msgstr "" - -#: ../build/NEWS:17495 -msgid "" -":issue:`12822`: Use monotonic clock for ``pthread_cond_timedwait`` when " -"``pthread_condattr_setclock`` and ``CLOCK_MONOTONIC`` are available." -msgstr "" - -#: ../build/NEWS:17498 -msgid "" -":issue:`15248`: The compiler emits now syntax warnings in the case when a " -"comma is likely missed before tuple or list." -msgstr "" - -#: ../build/NEWS:17501 -msgid "" -":issue:`35886`: The implementation of PyInterpreterState has been moved into " -"the internal header files (guarded by Py_BUILD_CORE)." -msgstr "" - -#: ../build/NEWS:17504 -msgid "" -":issue:`31506`: Clarify the errors reported when ``object.__new__`` and " -"``object.__init__`` receive more than one argument. Contributed by Sanyam " -"Khurana." -msgstr "" - -#: ../build/NEWS:17508 -msgid "" -":issue:`35724`: Signal-handling is now guaranteed to happen relative to the " -"main interpreter." -msgstr "" - -#: ../build/NEWS:17511 -msgid "" -":issue:`33608`: We added a new internal _Py_AddPendingCall() that operates " -"relative to the provided interpreter. This allows us to use the existing " -"implementation to ask another interpreter to do work that cannot be done in " -"the current interpreter, like decref an object the other interpreter owns. " -"The existing Py_AddPendingCall() only operates relative to the main " -"interpreter." -msgstr "" - -#: ../build/NEWS:17518 -msgid "" -":issue:`33989`: Fix a possible crash in :meth:`list.sort` when sorting " -"objects with ``ob_type->tp_richcompare == NULL``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17524 -msgid "" -":issue:`35512`: :func:`unittest.mock.patch.dict` used as a decorator with " -"string target resolves the target during function call instead of during " -"decorator construction. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:17528 -msgid "" -":issue:`36018`: Add statistics.NormalDist, a tool for creating and " -"manipulating normal distributions of random variable. Features a composite " -"class that treats the mean and standard deviation of measurement data as " -"single entity." -msgstr "" - -#: ../build/NEWS:17533 -msgid "" -":issue:`35904`: Added statistics.fmean() as a faster, floating point variant " -"of the existing mean() function." -msgstr "" - -#: ../build/NEWS:17536 -msgid "" -":issue:`35918`: Removed broken ``has_key`` method from multiprocessing." -"managers.SyncManager.dict. Contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:17539 -msgid ":issue:`18283`: Add support for bytes to :func:`shutil.which`." -msgstr "" - -#: ../build/NEWS:17541 -msgid "" -":issue:`35960`: Fix :func:`dataclasses.field` throwing away empty mapping " -"objects passed as metadata." -msgstr "" - -#: ../build/NEWS:17544 -msgid "" -":issue:`35500`: Write expected and actual call parameters on separate lines " -"in :meth:`unittest.mock.Mock.assert_called_with` assertion errors. " -"Contributed by Susan Su." -msgstr "" - -#: ../build/NEWS:17548 -msgid "" -":issue:`35931`: The :mod:`pdb` ``debug`` command now gracefully handles " -"syntax errors." -msgstr "" - -#: ../build/NEWS:17551 -msgid "" -":issue:`24209`: In http.server script, rely on getaddrinfo to bind to " -"preferred address based on the bind parameter. Now default bind or binding " -"to a name may bind to IPv6 or dual-stack, depending on the environment." -msgstr "" - -#: ../build/NEWS:17555 -msgid "" -":issue:`35321`: Set ``__spec__.origin`` of ``_frozen_importlib`` to frozen " -"so that it matches the behavior of ``_frozen_importlib_external``. Patch by " -"Nina Zakharenko." -msgstr "" - -#: ../build/NEWS:17559 -msgid "" -":issue:`35378`: Fix a reference issue inside :class:`multiprocessing.Pool` " -"that caused the pool to remain alive if it was deleted without being closed " -"or terminated explicitly. A new strong reference is added to the pool " -"iterators to link the lifetime of the pool to the lifetime of its iterators " -"so the pool does not get destroyed if a pool iterator is still alive." -msgstr "" - -#: ../build/NEWS:17566 -msgid "" -":issue:`34294`: re module, fix wrong capturing groups in rare cases. :func:" -"`re.search`, :func:`re.findall`, :func:`re.sub` and other functions that " -"scan through string looking for a match, should reset capturing groups " -"between two match attempts. Patch by Ma Lin." -msgstr "" - -#: ../build/NEWS:17571 -msgid "" -":issue:`35615`: :mod:`weakref`: Fix a RuntimeError when copying a " -"WeakKeyDictionary or a WeakValueDictionary, due to some keys or values " -"disappearing while iterating." -msgstr "" - -#: ../build/NEWS:17575 -msgid "" -":issue:`35606`: Implement :func:`math.prod` as analogous function to :func:" -"`sum` that returns the product of a 'start' value (default: 1) times an " -"iterable of numbers. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17579 -msgid "" -":issue:`32417`: Performing arithmetic between :class:`datetime.datetime` " -"subclasses and :class:`datetime.timedelta` now returns an object of the same " -"type as the :class:`datetime.datetime` subclass. As a result, :meth:" -"`datetime.datetime.astimezone` and alternate constructors like :meth:" -"`datetime.datetime.now` and :meth:`datetime.fromtimestamp` called with a " -"``tz`` argument now *also* retain their subclass." -msgstr "" - -#: ../build/NEWS:17586 -msgid "" -":issue:`35153`: Add *headers* optional keyword-only parameter to :class:" -"`xmlrpc.client.ServerProxy`, :class:`xmlrpc.client.Transport` and :class:" -"`xmlrpc.client.SafeTransport`. Patch by Cédric Krier." -msgstr "" - -#: ../build/NEWS:17590 -msgid "" -":issue:`34572`: Fix C implementation of pickle.loads to use importlib's " -"locking mechanisms, and thereby avoid using partially loaded modules. Patch " -"by Tim Burgess." -msgstr "" - -#: ../build/NEWS:17597 -msgid "" -":issue:`36083`: Fix formatting of --check-hash-based-pycs options in the " -"manpage Synopsis." -msgstr "" - -#: ../build/NEWS:17600 -msgid "" -":issue:`36007`: Bump minimum sphinx version to 1.8. Patch by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:17602 -msgid "" -":issue:`22062`: Update documentation and docstrings for pathlib. Original " -"patch by Mike Short." -msgstr "" - -#: ../build/NEWS:17608 -msgid "" -":issue:`27313`: Avoid test_ttk_guionly ComboboxTest failure with macOS Cocoa " -"Tk." -msgstr "" - -#: ../build/NEWS:17611 -msgid "" -":issue:`36019`: Add test.support.TEST_HTTP_URL and replace references of " -"http://www.example.com by this new constant. Contributed by Stéphane Wirtel." -msgstr "" - -#: ../build/NEWS:17615 -msgid "" -":issue:`36037`: Fix test_ssl for strict OpenSSL configuration like RHEL8 " -"strict crypto policy. Use older TLS version for minimum TLS version of the " -"server SSL context if needed, to test TLS version older than default minimum " -"TLS version." -msgstr "" - -#: ../build/NEWS:17620 -msgid ":issue:`35798`: Added :func:`test.support.check_syntax_warning`." -msgstr "" - -#: ../build/NEWS:17622 -msgid "" -":issue:`35505`: Make test_imap4_host_default_value independent on whether " -"the local IMAP server is running." -msgstr "" - -#: ../build/NEWS:17625 -msgid "" -":issue:`35917`: multiprocessing: provide unit tests for SyncManager and " -"SharedMemoryManager classes + all the shareable types which are supposed to " -"be supported by them. (patch by Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:17629 -msgid "" -":issue:`35704`: Skip ``test_shutil.test_unpack_archive_xztar`` to prevent a " -"MemoryError on 32-bit AIX when MAXDATA setting is less than 0x20000000." -msgstr "" - -#: ../build/NEWS:17632 -msgid "Patch by Michael Felt (aixtools)" -msgstr "" - -#: ../build/NEWS:17634 -msgid "" -":issue:`34720`: Assert m_state != NULL to mimic GC traversal functions that " -"do not correctly handle module creation when the module state has not been " -"created." -msgstr "" - -#: ../build/NEWS:17641 -msgid "" -":issue:`35976`: Added ARM build support to Windows build files in PCBuild." -msgstr "" - -#: ../build/NEWS:17643 -msgid "" -":issue:`35692`: ``pathlib`` no longer raises when checking file and " -"directory existence on drives that are not ready" -msgstr "" - -#: ../build/NEWS:17646 -msgid "" -":issue:`35872`: Uses the base Python executable when invoking venv in a " -"virtual environment" -msgstr "" - -#: ../build/NEWS:17649 -msgid ":issue:`35873`: Prevents venv paths being inherited by child processes" -msgstr "" - -#: ../build/NEWS:17651 -msgid "" -":issue:`35299`: Fix sysconfig detection of the source directory and " -"distutils handling of pyconfig.h during PGO profiling" -msgstr "" - -#: ../build/NEWS:17657 -msgid ":issue:`24310`: IDLE -- Document settings dialog font tab sample." -msgstr "" - -#: ../build/NEWS:17659 -msgid "" -":issue:`35833`: Revise IDLE doc for control codes sent to Shell. Add a code " -"example block." -msgstr "" - -#: ../build/NEWS:17662 -msgid ":issue:`35689`: Add docstrings and unittests for colorizer.py." -msgstr "" - -#: ../build/NEWS:17666 -msgid "Python 3.8.0 alpha 1" -msgstr "" - -#: ../build/NEWS:17668 -msgid "*Release date: 2019-02-03*" -msgstr "" - -#: ../build/NEWS:17673 -msgid "" -":issue:`35746`: [CVE-2019-5010] Fix a NULL pointer deref in ssl module. The " -"cert parser did not handle CRL distribution points with empty DP or URI " -"correctly. A malicious or buggy certificate can result into segfault. " -"Vulnerability (TALOS-2018-0758) reported by Colin Read and Nicolas Edet of " -"Cisco." -msgstr "" - -#: ../build/NEWS:17679 -msgid "" -":issue:`34812`: The :option:`-I` command line option (run Python in isolated " -"mode) is now also copied by the :mod:`multiprocessing` and :mod:`distutils` " -"modules when spawning child processes. Previously, only :option:`-E` and :" -"option:`-s` options (enabled by :option:`-I`) were copied." -msgstr "" - -#: ../build/NEWS:17685 -msgid "" -":issue:`34791`: The xml.sax and xml.dom.domreg no longer use environment " -"variables to override parser implementations when sys.flags." -"ignore_environment is set by -E or -I arguments." -msgstr "" - -#: ../build/NEWS:17689 -msgid "" -":issue:`17239`: The xml.sax and xml.dom.minidom parsers no longer processes " -"external entities by default. External DTD and ENTITY declarations no longer " -"load files or create network connections." -msgstr "" - -#: ../build/NEWS:17693 -msgid "" -":issue:`34623`: CVE-2018-14647: The C accelerated _elementtree module now " -"initializes hash randomization salt from _Py_HashSecret instead of " -"libexpat's default CSPRNG." -msgstr "" - -#: ../build/NEWS:17697 -msgid ":issue:`34405`: Updated to OpenSSL 1.1.0i for Windows builds." -msgstr "" - -#: ../build/NEWS:17699 -msgid "" -":issue:`33871`: Fixed sending the part of the file in :func:`os.sendfile` on " -"macOS. Using the *trailers* argument could cause sending more bytes from " -"the input file than was specified." -msgstr "" - -#: ../build/NEWS:17703 -msgid ":issue:`32533`: Fixed thread-safety of error handling in _ssl." -msgstr "" - -#: ../build/NEWS:17705 ../build/NEWS:21204 -msgid "" -":issue:`33136`: Harden ssl module against LibreSSL CVE-2018-8970. " -"X509_VERIFY_PARAM_set1_host() is called with an explicit namelen. A new test " -"ensures that NULL bytes are not allowed." -msgstr "" - -#: ../build/NEWS:17709 ../build/NEWS:21208 ../build/NEWS:25601 -msgid "" -":issue:`33001`: Minimal fix to prevent buffer overrun in os.symlink on " -"Windows" -msgstr "" - -#: ../build/NEWS:17711 ../build/NEWS:21210 ../build/NEWS:25603 -msgid "" -":issue:`32981`: Regexes in difflib and poplib were vulnerable to " -"catastrophic backtracking. These regexes formed potential DOS vectors " -"(REDOS). They have been refactored. This resolves CVE-2018-1060 and " -"CVE-2018-1061. Patch by Jamie Davis." -msgstr "" - -#: ../build/NEWS:17716 ../build/NEWS:21422 -msgid "" -":issue:`28414`: The ssl module now allows users to perform their own IDN en/" -"decoding when using SNI." -msgstr "" - -#: ../build/NEWS:17722 -msgid "" -":issue:`35877`: Make parenthesis optional for named expressions in while " -"statement. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:17725 -msgid "" -":issue:`35814`: Allow same right hand side expressions in annotated " -"assignments as in normal ones. In particular, ``x: Tuple[int, int] = 1, 2`` " -"(without parentheses on the right) is now allowed." -msgstr "" - -#: ../build/NEWS:17729 -msgid "" -":issue:`35766`: Add the option to parse PEP 484 type comments in the ast " -"module. (Off by default.) This is merging the key functionality of the third " -"party fork thereof, [typed_ast](https://github.com/python/typed_ast)." -msgstr "" - -#: ../build/NEWS:17734 -msgid "" -":issue:`35713`: Reorganize Python initialization to get working exceptions " -"and sys.stderr earlier." -msgstr "" - -#: ../build/NEWS:17737 -msgid "" -":issue:`33416`: Add end line and end column position information to the " -"Python AST nodes. This is a C-level backwards incompatible change." -msgstr "" - -#: ../build/NEWS:17740 -msgid "" -":issue:`35720`: Fixed a minor memory leak in pymain_parse_cmdline_impl " -"function in Modules/main.c" -msgstr "" - -#: ../build/NEWS:17743 -msgid "" -":issue:`35634`: ``func(**kwargs)`` will now raise an error when ``kwargs`` " -"is a mapping containing multiple entries with the same key. An error was " -"already raised when other keyword arguments are passed before ``**kwargs`` " -"since Python 3.6." -msgstr "" - -#: ../build/NEWS:17748 -msgid "" -":issue:`35623`: Fix a crash when sorting very long lists. Patch by Stephan " -"Hohe." -msgstr "" - -#: ../build/NEWS:17751 -msgid "" -":issue:`35214`: clang Memory Sanitizer build instrumentation was added to " -"work around false positives from posix, socket, time, test_io, and " -"test_faulthandler." -msgstr "" - -#: ../build/NEWS:17755 -msgid "" -":issue:`35560`: Fix an assertion error in :func:`format` in debug build for " -"floating point formatting with \"n\" format, zero padding and small width. " -"Release build is not impacted. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:17759 -msgid "" -":issue:`35552`: Format characters ``%s`` and ``%V`` in :c:func:" -"`PyUnicode_FromFormat` and ``%s`` in :c:func:`PyBytes_FromFormat` no longer " -"read memory past the limit if *precision* is specified." -msgstr "" - -#: ../build/NEWS:17763 -msgid "" -":issue:`35504`: Fix segfaults and :exc:`SystemError`\\ s when deleting " -"certain attributes. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17766 -msgid "" -":issue:`35504`: Fixed a SystemError when delete the characters_written " -"attribute of an OSError." -msgstr "" - -#: ../build/NEWS:17769 -msgid "" -":issue:`35494`: Improved syntax error messages for unbalanced parentheses in " -"f-string." -msgstr "" - -#: ../build/NEWS:17772 -msgid "" -":issue:`35444`: Fixed error handling in pickling methods when fail to look " -"up builtin \"getattr\". Sped up pickling iterators." -msgstr "" - -#: ../build/NEWS:17775 -msgid "" -":issue:`35436`: Fix various issues with memory allocation error handling. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17778 -msgid "" -":issue:`35423`: Separate the signal handling trigger in the eval loop from " -"the \"pending calls\" machinery. There is no semantic change and the " -"difference in performance is insignificant." -msgstr "" - -#: ../build/NEWS:17782 -msgid "" -":issue:`35357`: Internal attributes' names of unittest.mock._Call and " -"unittest.mock.MagicProxy (name, parent & from_kall) are now prefixed with " -"_mock_ in order to prevent clashes with widely used object attributes. Fixed " -"minor typo in test function name." -msgstr "" - -#: ../build/NEWS:17787 -msgid "" -":issue:`35372`: Fixed the code page decoder for input longer than 2 GiB " -"containing undecodable bytes." -msgstr "" - -#: ../build/NEWS:17790 -msgid "" -":issue:`35336`: Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce " -"the C locale if the LC_CTYPE locale is \"C\"." -msgstr "" - -#: ../build/NEWS:17793 -msgid "" -":issue:`31241`: The *lineno* and *col_offset* attributes of AST nodes for " -"list comprehensions, generator expressions and tuples are now point to the " -"opening parenthesis or square brace. For tuples without parenthesis they " -"point to the position of the first item." -msgstr "" - -#: ../build/NEWS:17798 -msgid "" -":issue:`33954`: For :meth:`str.format`, :meth:`float.__format__` and :meth:" -"`complex.__format__` methods for non-ASCII decimal point when using the " -"\"n\" formatter." -msgstr "" - -#: ../build/NEWS:17802 -msgid "" -":issue:`35269`: Fix a possible segfault involving a newly created coroutine. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17805 -msgid "" -":issue:`35224`: Implement :pep:`572` (assignment expressions). Patch by " -"Emily Morehouse." -msgstr "" - -#: ../build/NEWS:17808 -msgid "" -":issue:`32492`: Speed up :class:`namedtuple` attribute access by 1.6x using " -"a C fast-path for the name descriptors. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17811 -msgid "" -":issue:`35214`: Fixed an out of bounds memory access when parsing a " -"truncated unicode escape sequence at the end of a string such as ``'\\N'``. " -"It would read one byte beyond the end of the memory allocation." -msgstr "" - -#: ../build/NEWS:17815 -msgid "" -":issue:`35214`: The interpreter and extension modules have had annotations " -"added so that they work properly under clang's Memory Sanitizer. A new " -"configure flag --with-memory-sanitizer has been added to make test builds of " -"this nature easier to perform." -msgstr "" - -#: ../build/NEWS:17820 -msgid "" -":issue:`35193`: Fix an off by one error in the bytecode peephole optimizer " -"where it could read bytes beyond the end of bounds of an array when removing " -"unreachable code. This bug was present in every release of Python 3.6 and " -"3.7 until now." -msgstr "" - -#: ../build/NEWS:17825 -msgid ":issue:`35169`: Improved error messages for forbidden assignments." -msgstr "" - -#: ../build/NEWS:17827 -msgid "" -":issue:`34022`: Fix handling of hash-based bytecode files in :mod:" -"`zipimport`. Patch by Elvis Pranskevichus." -msgstr "" - -#: ../build/NEWS:17830 -msgid "" -":issue:`28401`: Debug builds will no longer to attempt to import extension " -"modules built for the ABI as they were never compatible to begin with. Patch " -"by Stefano Rivera." -msgstr "" - -#: ../build/NEWS:17834 -msgid "" -":issue:`29341`: Clarify in the docstrings of :mod:`os` methods that path-" -"like objects are also accepted as input parameters." -msgstr "" - -#: ../build/NEWS:17837 -msgid "" -":issue:`35050`: :mod:`socket`: Fix off-by-one bug in length check for " -"``AF_ALG`` name and type." -msgstr "" - -#: ../build/NEWS:17840 -msgid "" -":issue:`29743`: Raise :exc:`ValueError` instead of :exc:`OverflowError` in " -"case of a negative ``_length_`` in a :class:`ctypes.Array` subclass. Also " -"raise :exc:`TypeError` instead of :exc:`AttributeError` for non-integer " -"``_length_``. Original patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:17845 -msgid "" -":issue:`16806`: Fix ``lineno`` and ``col_offset`` for multi-line string " -"tokens." -msgstr "" - -#: ../build/NEWS:17847 -msgid "" -":issue:`35029`: :exc:`SyntaxWarning` raised as an exception at code " -"generation time will be now replaced with a :exc:`SyntaxError` for better " -"error reporting." -msgstr "" - -#: ../build/NEWS:17851 -msgid "" -":issue:`34983`: Expose :meth:`symtable.Symbol.is_nonlocal` in the symtable " -"module. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17854 -msgid "" -":issue:`34974`: :class:`bytes` and :class:`bytearray` constructors no longer " -"convert unexpected exceptions (e.g. :exc:`MemoryError` and :exc:" -"`KeyboardInterrupt`) to :exc:`TypeError`." -msgstr "" - -#: ../build/NEWS:17858 -msgid "" -":issue:`34939`: Allow annotated names in module namespace that are declared " -"global before the annotation happens. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:17861 -msgid "" -":issue:`34973`: Fixed crash in :func:`bytes` when the :class:`list` argument " -"is mutated while it is iterated." -msgstr "" - -#: ../build/NEWS:17864 -msgid "" -":issue:`34876`: The *lineno* and *col_offset* attributes of the AST for " -"decorated function and class refer now to the position of the corresponding " -"``def``, ``async def`` and ``class`` instead of the position of the first " -"decorator. This leads to more correct line reporting in tracing. This is the " -"only case when the position of child AST nodes can precede the position of " -"the parent AST node." -msgstr "" - -#: ../build/NEWS:17871 -msgid "" -":issue:`34879`: Fix a possible null pointer dereference in bytesobject.c. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17874 -msgid "" -":issue:`34784`: Fix the implementation of PyStructSequence_NewType in order " -"to create heap allocated StructSequences." -msgstr "" - -#: ../build/NEWS:17877 -msgid "" -":issue:`32912`: A :exc:`SyntaxWarning` is now emitted instead of a :exc:" -"`DeprecationWarning` for invalid escape sequences in string and bytes " -"literals." -msgstr "" - -#: ../build/NEWS:17881 -msgid "" -":issue:`34854`: Fixed a crash in compiling string annotations containing a " -"lambda with a keyword-only argument that doesn't have a default value." -msgstr "" - -#: ../build/NEWS:17884 -msgid "" -":issue:`34850`: The compiler now produces a :exc:`SyntaxWarning` when " -"identity checks (``is`` and ``is not``) are used with certain types of " -"literals (e.g. strings, ints). These can often work by accident in CPython, " -"but are not guaranteed by the language spec. The warning advises users to " -"use equality tests (``==`` and ``!=``) instead." -msgstr "" - -#: ../build/NEWS:17890 -msgid "" -":issue:`34824`: Fix a possible null pointer dereference in Modules/_ssl.c. " -"Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:17893 -msgid "" -":issue:`30156`: The C function ``property_descr_get()`` uses a \"cached\" " -"tuple to optimize function calls. But this tuple can be discovered in debug " -"mode with :func:`sys.getobjects()`. Remove the optimization, it's not really " -"worth it and it causes 3 different crashes last years." -msgstr "" - -#: ../build/NEWS:17898 -msgid ":issue:`34762`: Fix contextvars C API to use PyObject* pointer types." -msgstr "" - -#: ../build/NEWS:17900 -msgid "" -":issue:`34751`: The hash function for tuples is now based on xxHash which " -"gives better collision results on (formerly) pathological cases. " -"Additionally, on 64-bit systems it improves tuple hashes in general. Patch " -"by Jeroen Demeyer with substantial contributions by Tim Peters." -msgstr "" - -#: ../build/NEWS:17905 -msgid "" -":issue:`34735`: Fix a memory leak in Modules/timemodule.c. Patch by Zackery " -"Spytz." -msgstr "" - -#: ../build/NEWS:17908 -msgid "" -":issue:`34683`: Fixed a bug where some SyntaxError error pointed to " -"locations that were off-by-one." -msgstr "" - -#: ../build/NEWS:17911 -msgid "" -":issue:`34651`: Only allow the main interpreter to fork. The avoids the " -"possibility of affecting the main interpreter, which is critical to " -"operation of the runtime." -msgstr "" - -#: ../build/NEWS:17915 -msgid "" -":issue:`34653`: Remove unused function PyParser_SimpleParseStringFilename." -msgstr "" - -#: ../build/NEWS:17917 -msgid "" -":issue:`32236`: Warn that line buffering is not supported if :func:`open` is " -"called with binary mode and ``buffering=1``." -msgstr "" - -#: ../build/NEWS:17920 -msgid "" -":issue:`34641`: Further restrict the syntax of the left-hand side of keyword " -"arguments in function calls. In particular, ``f((keyword)=arg)`` is now " -"disallowed." -msgstr "" - -#: ../build/NEWS:17924 -msgid "" -":issue:`34637`: Make the *start* argument to *sum()* visible as a keyword " -"argument." -msgstr "" - -#: ../build/NEWS:17927 -msgid "" -":issue:`1621`: Do not assume signed integer overflow behavior (C undefined " -"behavior) when performing set hash table resizing." -msgstr "" - -#: ../build/NEWS:17930 -msgid "" -":issue:`34588`: Fix an off-by-one in the recursive call pruning feature of " -"traceback formatting." -msgstr "" - -#: ../build/NEWS:17933 -msgid "" -":issue:`34485`: On Windows, the LC_CTYPE is now set to the user preferred " -"locale at startup. Previously, the LC_CTYPE locale was \"C\" at startup, but " -"changed when calling setlocale(LC_CTYPE, \"\") or setlocale(LC_ALL, \"\")." -msgstr "" - -#: ../build/NEWS:17937 -msgid "" -":issue:`34485`: Standard streams like sys.stdout now use the " -"\"surrogateescape\" error handler, instead of \"strict\", on the POSIX " -"locale (when the C locale is not coerced and the UTF-8 Mode is disabled)." -msgstr "" - -#: ../build/NEWS:17941 -msgid "" -":issue:`34485`: Fix the error handler of standard streams like sys.stdout: " -"PYTHONIOENCODING=\":\" is now ignored instead of setting the error handler " -"to \"strict\"." -msgstr "" - -#: ../build/NEWS:17945 -msgid "" -":issue:`34485`: Python now gets the locale encoding with C code to " -"initialize the encoding of standard streams like sys.stdout. Moreover, the " -"encoding is now initialized to the Python codec name to get a normalized " -"encoding name and to ensure that the codec is loaded. The change avoids " -"importing _bootlocale and _locale modules at startup by default." -msgstr "" - -#: ../build/NEWS:17951 -msgid "" -":issue:`34527`: On FreeBSD, Py_DecodeLocale() and Py_EncodeLocale() now also " -"forces the ASCII encoding if the LC_CTYPE locale is \"POSIX\", not only if " -"the LC_CTYPE locale is \"C\"." -msgstr "" - -#: ../build/NEWS:17955 -msgid "" -":issue:`34527`: The UTF-8 Mode is now also enabled by the \"POSIX\" locale, " -"not only by the \"C\" locale." -msgstr "" - -#: ../build/NEWS:17958 -msgid "" -":issue:`34403`: On HP-UX with C or POSIX locale, sys.getfilesystemencoding() " -"now returns \"ascii\" instead of \"roman8\" (when the UTF-8 Mode is disabled " -"and the C locale is not coerced)." -msgstr "" - -#: ../build/NEWS:17962 -msgid "" -":issue:`34523`: The Python filesystem encoding is now read earlier during " -"the Python initialization." -msgstr "" - -#: ../build/NEWS:17965 -msgid "" -":issue:`12458`: Tracebacks show now correct line number for subexpressions " -"in multiline expressions. Tracebacks show now the line number of the first " -"line for multiline expressions instead of the line number of the last " -"subexpression." -msgstr "" - -#: ../build/NEWS:17970 -msgid "" -":issue:`34408`: Prevent a null pointer dereference and resource leakage in " -"``PyInterpreterState_New()``." -msgstr "" - -#: ../build/NEWS:17973 -msgid "" -":issue:`34400`: Fix undefined behavior in parsetok.c. Patch by Zackery " -"Spytz." -msgstr "" - -#: ../build/NEWS:17975 -msgid "" -":issue:`33073`: Added as_integer_ratio to ints to make them more " -"interoperable with floats." -msgstr "" - -#: ../build/NEWS:17978 -msgid "" -":issue:`34377`: Update valgrind suppression list to use ``_PyObject_Free``/" -"``_PyObject_Realloc`` instead of ``PyObject_Free``/``PyObject_Realloc``." -msgstr "" - -#: ../build/NEWS:17982 -msgid "" -":issue:`34353`: Added the \"socket\" option in the `stat.filemode()` Python " -"implementation to match the C implementation." -msgstr "" - -#: ../build/NEWS:17985 -msgid "" -":issue:`34320`: Fix ``dict(od)`` didn't copy iteration order of OrderedDict." -msgstr "" - -#: ../build/NEWS:17987 -msgid "" -":issue:`34113`: Fixed crash on debug builds when opcode stack was adjusted " -"with negative numbers. Patch by Constantin Petrisor." -msgstr "" - -#: ../build/NEWS:17990 -msgid "" -":issue:`34100`: Compiler now merges constants in tuples and frozensets " -"recursively. Code attributes like ``co_names`` are merged too." -msgstr "" - -#: ../build/NEWS:17993 -msgid "" -":issue:`34151`: Performance of list concatenation, repetition and slicing " -"operations is slightly improved. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:17996 -msgid "" -":issue:`34170`: -X dev: it is now possible to override the memory allocator " -"using PYTHONMALLOC even if the developer mode is enabled." -msgstr "" - -#: ../build/NEWS:17999 -msgid "" -":issue:`33237`: Improved :exc:`AttributeError` message for partially " -"initialized module." -msgstr "" - -#: ../build/NEWS:18002 -msgid "" -":issue:`34149`: Fix min and max functions to get default behavior when key " -"is None." -msgstr "" - -#: ../build/NEWS:18005 -msgid "" -":issue:`34125`: Profiling of unbound built-in methods now works when " -"``**kwargs`` is given." -msgstr "" - -#: ../build/NEWS:18008 -msgid "" -":issue:`34141`: Optimized pickling atomic types (None, bool, int, float, " -"bytes, str)." -msgstr "" - -#: ../build/NEWS:18011 -msgid "" -":issue:`34126`: Fix crashes when profiling certain invalid calls of unbound " -"methods. Patch by Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:18014 -msgid "" -":issue:`24618`: Fixed reading invalid memory when create the code object " -"with too small varnames tuple or too large argument counts." -msgstr "" - -#: ../build/NEWS:18017 -msgid "" -":issue:`34068`: In :meth:`io.IOBase.close`, ensure that the :attr:`~io." -"IOBase.closed` attribute is not set with a live exception. Patch by Zackery " -"Spytz and Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:18021 -msgid "" -":issue:`34087`: Fix buffer overflow while converting unicode to numeric " -"values." -msgstr "" - -#: ../build/NEWS:18023 -msgid "" -":issue:`34080`: Fixed a memory leak in the compiler when it raised some " -"uncommon errors during tokenizing." -msgstr "" - -#: ../build/NEWS:18026 -msgid "" -":issue:`34066`: Disabled interruption by Ctrl-C between calling ``open()`` " -"and entering a **with** block in ``with open()``." -msgstr "" - -#: ../build/NEWS:18029 -msgid "" -":issue:`34042`: Fix dict.copy() to maintain correct total refcount (as " -"reported by sys.gettotalrefcount())." -msgstr "" - -#: ../build/NEWS:18032 -msgid "" -":issue:`33418`: Fix potential memory leak in function object when it creates " -"reference cycle." -msgstr "" - -#: ../build/NEWS:18035 -msgid ":issue:`33985`: Implement contextvars.ContextVar.name attribute." -msgstr "" - -#: ../build/NEWS:18037 -msgid ":issue:`33956`: Update vendored Expat library copy to version 2.2.5." -msgstr "" - -#: ../build/NEWS:18039 -msgid "" -":issue:`24596`: Decref the module object in :c:func:" -"`PyRun_SimpleFileExFlags` before calling :c:func:`PyErr_Print()`. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18042 -msgid "" -":issue:`33451`: Close directly executed pyc files before calling " -"``PyEval_EvalCode()``." -msgstr "" - -#: ../build/NEWS:18045 -msgid "" -":issue:`1617161`: The hash of :class:`BuiltinMethodType` instances (methods " -"of built-in classes) now depends on the hash of the identity of *__self__* " -"instead of its value. The hash and equality of :class:`ModuleType` and :" -"class:`MethodWrapperType` instances (methods of user-defined classes and " -"some methods of built-in classes like ``str.__add__``) now depend on the " -"hash and equality of the identity of *__self__* instead of its value. :class:" -"`MethodWrapperType` instances no longer support ordering." -msgstr "" - -#: ../build/NEWS:18053 -msgid "" -":issue:`33824`: Fix \"LC_ALL=C python3.7 -V\": reset properly the command " -"line parser when the encoding changes after reading the Python configuration." -msgstr "" - -#: ../build/NEWS:18056 ../build/NEWS:20702 -msgid "" -":issue:`33803`: Fix a crash in hamt.c caused by enabling GC tracking for an " -"object that hadn't all of its fields set to NULL." -msgstr "" - -#: ../build/NEWS:18059 -msgid "" -":issue:`33738`: Seven macro incompatibilities with the Limited API were " -"fixed, and the macros :c:func:`PyIter_Check`, :c:func:`PyIndex_Check` and :c:" -"func:`PyExceptionClass_Name` were added as functions. A script for automatic " -"macro checks was added." -msgstr "" - -#: ../build/NEWS:18064 ../build/NEWS:25274 -msgid "" -":issue:`33786`: Fix asynchronous generators to handle GeneratorExit in " -"athrow() correctly" -msgstr "" - -#: ../build/NEWS:18067 -msgid "" -":issue:`30167`: ``PyRun_SimpleFileExFlags`` removes ``__cached__`` from " -"module in addition to ``__file__``." -msgstr "" - -#: ../build/NEWS:18070 ../build/NEWS:20705 -msgid "" -":issue:`33706`: Fix a crash in Python initialization when parsing the " -"command line options. Thanks Christoph Gohlke for the bug report and the fix!" -msgstr "" - -#: ../build/NEWS:18073 -msgid ":issue:`33597`: Reduce ``PyGC_Head`` size from 3 words to 2 words." -msgstr "" - -#: ../build/NEWS:18075 ../build/NEWS:20708 ../build/NEWS:25277 -msgid "" -":issue:`30654`: Fixed reset of the SIGINT handler to SIG_DFL on interpreter " -"shutdown even when there was a custom handler set previously. Patch by " -"Philipp Kerling." -msgstr "" - -#: ../build/NEWS:18079 ../build/NEWS:20814 ../build/NEWS:25281 -msgid "" -":issue:`33622`: Fixed a leak when the garbage collector fails to add an " -"object with the ``__del__`` method or referenced by it into the :data:`gc." -"garbage` list. :c:func:`PyGC_Collect` can now be called when an exception is " -"set and preserves it." -msgstr "" - -#: ../build/NEWS:18084 -msgid "" -":issue:`33462`: Make dict and dict views reversible. Patch by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:18086 -msgid "" -":issue:`23722`: A :exc:`RuntimeError` is now raised when the custom " -"metaclass doesn't provide the ``__classcell__`` entry in the namespace " -"passed to ``type.__new__``. A :exc:`DeprecationWarning` was emitted in " -"Python 3.6--3.7." -msgstr "" - -#: ../build/NEWS:18091 -msgid "" -":issue:`33499`: Add :envvar:`PYTHONPYCACHEPREFIX` environment variable and :" -"option:`-X` ``pycache_prefix`` command-line option to set an alternate root " -"directory for writing module bytecode cache files." -msgstr "" - -#: ../build/NEWS:18095 -msgid "" -":issue:`25711`: The :mod:`zipimport` module has been rewritten in pure " -"Python." -msgstr "" - -#: ../build/NEWS:18097 ../build/NEWS:20819 -msgid "" -":issue:`33509`: Fix module_globals parameter of warnings.warn_explicit(): " -"don't crash if module_globals is not a dict." -msgstr "" - -#: ../build/NEWS:18100 ../build/NEWS:20712 ../build/NEWS:25286 -msgid ":issue:`31849`: Fix signed/unsigned comparison warning in pyhash.c." -msgstr "" - -#: ../build/NEWS:18102 ../build/NEWS:20826 -msgid "" -":issue:`33475`: Fixed miscellaneous bugs in converting annotations to " -"strings and optimized parentheses in the string representation." -msgstr "" - -#: ../build/NEWS:18105 -msgid "" -":issue:`20104`: Added support for the `setpgroup`, `resetids`, `setsigmask`, " -"`setsigdef` and `scheduler` parameters of `posix_spawn`. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:18109 ../build/NEWS:20829 ../build/NEWS:25288 -msgid ":issue:`33391`: Fix a leak in set_symmetric_difference()." -msgstr "" - -#: ../build/NEWS:18111 ../build/NEWS:21027 -msgid "" -":issue:`33363`: Raise a SyntaxError for ``async with`` and ``async for`` " -"statements outside of async functions." -msgstr "" - -#: ../build/NEWS:18114 ../build/NEWS:20831 ../build/NEWS:25290 -msgid "" -":issue:`28055`: Fix unaligned accesses in siphash24(). Patch by Rolf Eike " -"Beer." -msgstr "" - -#: ../build/NEWS:18116 ../build/NEWS:21030 -msgid "" -":issue:`33128`: Fix a bug that causes PathFinder to appear twice on sys." -"meta_path. Patch by Pablo Galindo Salgado." -msgstr "" - -#: ../build/NEWS:18119 -msgid "" -":issue:`33331`: Modules imported last are now cleared first at interpreter " -"shutdown." -msgstr "" - -#: ../build/NEWS:18122 ../build/NEWS:21033 -msgid "" -":issue:`33312`: Fixed clang ubsan (undefined behavior sanitizer) warnings in " -"dictobject.c by adjusting how the internal struct _dictkeysobject shared " -"keys structure is declared." -msgstr "" - -#: ../build/NEWS:18126 -msgid "" -":issue:`33305`: Improved syntax error messages for invalid numerical " -"literals." -msgstr "" - -#: ../build/NEWS:18128 -msgid "" -":issue:`33306`: Improved syntax error messages for unbalanced parentheses." -msgstr "" - -#: ../build/NEWS:18130 -msgid "" -":issue:`33234`: The list constructor will pre-size and not over-allocate " -"when the input length is known." -msgstr "" - -#: ../build/NEWS:18133 -msgid "" -":issue:`33270`: Intern the names for all anonymous code objects. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18136 -msgid "" -":issue:`30455`: The C and Python code and the documentation related to " -"tokens are now generated from a single source file :file:`Grammar/Tokens`." -msgstr "" - -#: ../build/NEWS:18139 -msgid ":issue:`33176`: Add a ``toreadonly()`` method to memoryviews." -msgstr "" - -#: ../build/NEWS:18141 ../build/NEWS:21037 ../build/NEWS:25292 -msgid ":issue:`33231`: Fix potential memory leak in ``normalizestring()``." -msgstr "" - -#: ../build/NEWS:18143 ../build/NEWS:21039 -msgid "" -":issue:`33205`: Change dict growth function from " -"``round_up_to_power_2(used*2+hashtable_size/2)`` to " -"``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when " -"``used == 0``. Now dict has more chance to be shrinked." -msgstr "" - -#: ../build/NEWS:18148 ../build/NEWS:21044 ../build/NEWS:25294 -msgid "" -":issue:`29922`: Improved error messages in 'async with' when " -"``__aenter__()`` or ``__aexit__()`` return non-awaitable object." -msgstr "" - -#: ../build/NEWS:18151 ../build/NEWS:21047 ../build/NEWS:25297 -msgid "" -":issue:`33199`: Fix ``ma_version_tag`` in dict implementation is " -"uninitialized when copying from key-sharing dict." -msgstr "" - -#: ../build/NEWS:18154 ../build/NEWS:21218 -msgid "" -":issue:`33053`: When using the -m switch, sys.path[0] is now explicitly " -"expanded as the *starting* working directory, rather than being left as the " -"empty path (which allows imports from the current working directory at the " -"time of the import)" -msgstr "" - -#: ../build/NEWS:18159 -msgid "" -":issue:`33138`: Changed standard error message for non-pickleable and non-" -"copyable types. It now says \"cannot pickle\" instead of \"can't pickle\" or " -"\"cannot serialize\"." -msgstr "" - -#: ../build/NEWS:18163 ../build/NEWS:21223 -msgid "" -":issue:`33018`: Improve consistency of errors raised by ``issubclass()`` " -"when called with a non-class and an abstract base class as the first and " -"second arguments, respectively. Patch by Josh Bronson." -msgstr "" - -#: ../build/NEWS:18167 -msgid "" -":issue:`33083`: ``math.factorial`` no longer accepts arguments that are not " -"int-like. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:18170 -msgid "" -":issue:`33041`: Added new opcode :opcode:`END_ASYNC_FOR` and fixes the " -"following issues:" -msgstr "" - -#: ../build/NEWS:18173 -msgid "" -"Setting global :exc:`StopAsyncIteration` no longer breaks ``async for`` " -"loops." -msgstr "" - -#: ../build/NEWS:18175 -msgid "Jumping into an ``async for`` loop is now disabled." -msgstr "" - -#: ../build/NEWS:18176 -msgid "Jumping out of an ``async for`` loop no longer corrupts the stack." -msgstr "" - -#: ../build/NEWS:18178 -msgid "" -":issue:`25750`: Fix rare Python crash due to bad refcounting in " -"``type_getattro()`` if a descriptor deletes itself from the class. Patch by " -"Jeroen Demeyer." -msgstr "" - -#: ../build/NEWS:18182 -msgid "" -":issue:`33041`: Fixed bytecode generation for \"async for\" with a complex " -"target. A StopAsyncIteration raised on assigning or unpacking will be now " -"propagated instead of stopping the iteration." -msgstr "" - -#: ../build/NEWS:18186 ../build/NEWS:21229 ../build/NEWS:25611 -msgid "" -":issue:`33026`: Fixed jumping out of \"with\" block by setting f_lineno." -msgstr "" - -#: ../build/NEWS:18188 ../build/NEWS:21231 -msgid "" -":issue:`33005`: Fix a crash on fork when using a custom memory allocator " -"(ex: using PYTHONMALLOC env var). _PyGILState_Reinit() and " -"_PyInterpreterState_Enable() now use the default RAW memory allocator to " -"allocate a new interpreters mutex on fork." -msgstr "" - -#: ../build/NEWS:18193 ../build/NEWS:20833 -msgid "" -":issue:`32911`: Due to unexpected compatibility issues discovered during " -"downstream beta testing, reverted :issue:`29463`. ``docstring`` field is " -"removed from Module, ClassDef, FunctionDef, and AsyncFunctionDef ast nodes " -"which was added in 3.7a1. Docstring expression is restored as a first " -"statement in their body. Based on patch by Inada Naoki." -msgstr "" - -#: ../build/NEWS:18199 ../build/NEWS:21236 ../build/NEWS:25613 -msgid "" -":issue:`17288`: Prevent jumps from 'return' and 'exception' trace events." -msgstr "" - -#: ../build/NEWS:18201 -msgid "" -":issue:`32946`: Importing names from already imported module with \"from ... " -"import ...\" is now 30% faster if the module is not a package." -msgstr "" - -#: ../build/NEWS:18204 -msgid "" -":issue:`32932`: Make error message more revealing when there are non-str " -"objects in ``__all__``." -msgstr "" - -#: ../build/NEWS:18207 -msgid "" -":issue:`32925`: Optimized iterating and containing test for literal lists " -"consisting of non-constants: ``x in [a, b]`` and ``for x in [a, b]``. The " -"case of all constant elements already was optimized." -msgstr "" - -#: ../build/NEWS:18211 ../build/NEWS:21428 ../build/NEWS:25615 -msgid "" -":issue:`32889`: Update Valgrind suppression list to account for the rename " -"of ``Py_ADDRESS_IN_RANG`` to ``address_in_range``." -msgstr "" - -#: ../build/NEWS:18214 ../build/NEWS:21238 -msgid "" -":issue:`32836`: Don't use temporary variables in cases of list/dict/set " -"comprehensions" -msgstr "" - -#: ../build/NEWS:18217 ../build/NEWS:21431 -msgid "" -":issue:`31356`: Remove the new API added in :issue:`31356` (gc." -"ensure_disabled() context manager)." -msgstr "" - -#: ../build/NEWS:18220 ../build/NEWS:21434 -msgid "" -":issue:`32305`: For namespace packages, ensure that both ``__file__`` and " -"``__spec__.origin`` are set to None." -msgstr "" - -#: ../build/NEWS:18223 ../build/NEWS:21437 -msgid "" -":issue:`32303`: Make sure ``__spec__.loader`` matches ``__loader__`` for " -"namespace packages." -msgstr "" - -#: ../build/NEWS:18226 ../build/NEWS:21440 -msgid "" -":issue:`32711`: Fix the warning messages for Python/ast_unparse.c. Patch by " -"Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:18229 ../build/NEWS:21443 ../build/NEWS:25626 -msgid "" -":issue:`32583`: Fix possible crashing in builtin Unicode decoders caused by " -"write out-of-bound errors when using customized decode error handlers." -msgstr "" - -#: ../build/NEWS:18232 -msgid "" -":issue:`32489`: A :keyword:`continue` statement is now allowed in the :" -"keyword:`finally` clause." -msgstr "" - -#: ../build/NEWS:18235 -msgid "" -":issue:`17611`: Simplified the interpreter loop by moving the logic of " -"unrolling the stack of blocks into the compiler. The compiler emits now " -"explicit instructions for adjusting the stack of values and calling the " -"cleaning up code for :keyword:`break`, :keyword:`continue` and :keyword:" -"`return`." -msgstr "" - -#: ../build/NEWS:18241 -msgid "" -"Removed opcodes :opcode:`BREAK_LOOP`, :opcode:`CONTINUE_LOOP`, :opcode:" -"`SETUP_LOOP` and :opcode:`SETUP_EXCEPT`. Added new opcodes :opcode:" -"`ROT_FOUR`, :opcode:`BEGIN_FINALLY` and :opcode:`CALL_FINALLY` and :opcode:" -"`POP_FINALLY`. Changed the behavior of :opcode:`END_FINALLY` and :opcode:" -"`WITH_CLEANUP_START`." -msgstr "" - -#: ../build/NEWS:18247 -msgid "" -":issue:`32285`: New function unicodedata.is_normalized, which can check " -"whether a string is in a specific normal form." -msgstr "" - -#: ../build/NEWS:18250 -msgid "" -":issue:`10544`: Yield expressions are now disallowed in comprehensions and " -"generator expressions except the expression for the outermost iterable." -msgstr "" - -#: ../build/NEWS:18253 -msgid "" -":issue:`32117`: Iterable unpacking is now allowed without parentheses in " -"yield and return statements, e.g. ``yield 1, 2, 3, *rest``. Thanks to David " -"Cuthbert for the change and Jordan Chapman for added tests." -msgstr "" - -#: ../build/NEWS:18257 -msgid "" -":issue:`31902`: Fix the ``col_offset`` attribute for ast nodes ``ast." -"AsyncFor``, ``ast.AsyncFunctionDef``, and ``ast.AsyncWith``. Previously, " -"``col_offset`` pointed to the keyword after ``async``." -msgstr "" - -#: ../build/NEWS:18261 -msgid "" -":issue:`25862`: Fix assertion failures in the ``tell()`` method of ``io." -"TextIOWrapper``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18264 ../build/NEWS:20839 ../build/NEWS:25305 -msgid "" -":issue:`21983`: Fix a crash in `ctypes.cast()` in case the type argument is " -"a ctypes structured data type. Patch by Eryk Sun and Oren Milman." -msgstr "" - -#: ../build/NEWS:18267 -msgid "" -":issue:`31577`: Fix a crash in `os.utime()` in case of a bad ns argument. " -"Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:18270 -msgid "" -":issue:`29832`: Remove references to 'getsockaddrarg' from various socket " -"error messages. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:18276 -msgid ":issue:`35845`: Add 'order' parameter to memoryview.tobytes()." -msgstr "" - -#: ../build/NEWS:18278 -msgid "" -":issue:`35864`: The _asdict() method for collections.namedtuple now returns " -"a regular dict instead of an OrderedDict." -msgstr "" - -#: ../build/NEWS:18281 -msgid "" -":issue:`35537`: An ExitStack is now used internally within subprocess.Popen " -"to clean up pipe file handles. No behavior change in normal operation. But " -"if closing one handle were ever to cause an exception, the others will now " -"be closed instead of leaked. (patch by Giampaolo Rodola)" -msgstr "" - -#: ../build/NEWS:18286 -msgid "" -":issue:`35847`: RISC-V needed the CTYPES_PASS_BY_REF_HACK. Fixes ctypes " -"Structure test_pass_by_value." -msgstr "" - -#: ../build/NEWS:18289 -msgid "" -":issue:`35813`: Shared memory submodule added to multiprocessing to avoid " -"need for serialization between processes" -msgstr "" - -#: ../build/NEWS:18292 -msgid "" -":issue:`35780`: Fix lru_cache() errors arising in recursive, reentrant, or " -"multi-threaded code. These errors could result in orphan links and in the " -"cache being trapped in a state with fewer than the specified maximum number " -"of links. Fix handling of negative maxsize which should have been treated as " -"zero. Fix errors in toggling the \"full\" status flag. Fix misordering of " -"links when errors are encountered. Sync-up the C code and pure Python code " -"for the space saving path in functions with a single positional argument. In " -"this common case, the space overhead of an lru cache entry is reduced by " -"almost half. Fix counting of cache misses. In error cases, the miss count " -"was out of sync with the actual number of times the underlying user function " -"was called." -msgstr "" - -#: ../build/NEWS:18304 -msgid "" -":issue:`35537`: :func:`os.posix_spawn` and :func:`os.posix_spawnp` now have " -"a *setsid* parameter." -msgstr "" - -#: ../build/NEWS:18307 -msgid "" -":issue:`23846`: :class:`asyncio.ProactorEventLoop` now catches and logs send " -"errors when the self-pipe is full." -msgstr "" - -#: ../build/NEWS:18310 -msgid "" -":issue:`34323`: :mod:`asyncio`: Enhance ``IocpProactor.close()`` log: wait 1 " -"second before the first log, then log every second. Log also the number of " -"seconds since ``close()`` was called." -msgstr "" - -#: ../build/NEWS:18314 -msgid "" -":issue:`35674`: Add a new :func:`os.posix_spawnp` function. Patch by Joannah " -"Nanjekye." -msgstr "" - -#: ../build/NEWS:18317 -msgid "" -":issue:`35733`: ``ast.Constant(boolean)`` no longer an instance of :class:" -"`ast.Num`. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:18320 -msgid "" -":issue:`35726`: QueueHandler.prepare() now makes a copy of the record before " -"modifying and enqueueing it, to avoid affecting other handlers in the chain." -msgstr "" - -#: ../build/NEWS:18324 -msgid "" -":issue:`35719`: Sped up multi-argument :mod:`math` functions atan2(), " -"copysign(), remainder() and hypot() by 1.3--2.5 times." -msgstr "" - -#: ../build/NEWS:18327 -msgid "" -":issue:`35717`: Fix KeyError exception raised when using enums and compile. " -"Patch contributed by Rémi Lapeyre." -msgstr "" - -#: ../build/NEWS:18330 -msgid "" -":issue:`35699`: Fixed detection of Visual Studio Build Tools 2017 in " -"distutils" -msgstr "" - -#: ../build/NEWS:18332 -msgid "" -":issue:`32710`: Fix memory leaks in asyncio ProactorEventLoop on overlapped " -"operation failure." -msgstr "" - -#: ../build/NEWS:18335 -msgid "" -":issue:`35702`: The :data:`time.CLOCK_UPTIME_RAW` constant is now available " -"for macOS 10.12." -msgstr "" - -#: ../build/NEWS:18338 -msgid "" -":issue:`32710`: Fix a memory leak in asyncio in the ProactorEventLoop when " -"``ReadFile()`` or ``WSASend()`` overlapped operation fail immediately: " -"release the internal buffer." -msgstr "" - -#: ../build/NEWS:18342 -msgid "" -":issue:`35682`: Fix ``asyncio.ProactorEventLoop.sendfile()``: don't attempt " -"to set the result of an internal future if it's already done." -msgstr "" - -#: ../build/NEWS:18345 -msgid "" -":issue:`35283`: Add a deprecated warning for the :meth:`threading.Thread." -"isAlive` method. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:18348 -msgid "" -":issue:`35664`: Improve operator.itemgetter() performance by 33% with " -"optimized argument handling and with adding a fast path for the common case " -"of a single non-negative integer index into a tuple (which is the typical " -"use case in the standard library)." -msgstr "" - -#: ../build/NEWS:18353 -msgid "" -":issue:`35643`: Fixed a SyntaxWarning: invalid escape sequence in Modules/" -"_sha3/cleanup.py. Patch by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:18356 -msgid "" -":issue:`35619`: Improved support of custom data descriptors in :func:`help` " -"and :mod:`pydoc`." -msgstr "" - -#: ../build/NEWS:18359 -msgid "" -":issue:`28503`: The `crypt` module now internally uses the `crypt_r()` " -"library function instead of `crypt()` when available." -msgstr "" - -#: ../build/NEWS:18362 -msgid ":issue:`35614`: Fixed help() on metaclasses. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:18364 -msgid ":issue:`35568`: Expose ``raise(signum)`` as `raise_signal`" -msgstr "" - -#: ../build/NEWS:18366 -msgid "" -":issue:`35588`: The floor division and modulo operations and the :func:" -"`divmod` function on :class:`fractions.Fraction` types are 2--4x faster. " -"Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:18370 -msgid "" -":issue:`35585`: Speed-up building enums by value, e.g. http.HTTPStatus(200)." -msgstr "" - -#: ../build/NEWS:18372 -msgid "" -":issue:`30561`: random.gammavariate(1.0, beta) now computes the same result " -"as random.expovariate(1.0 / beta). This synchronizes the two algorithms and " -"eliminates some idiosyncrasies in the old implementation. It does however " -"produce a difference stream of random variables than it used to." -msgstr "" - -#: ../build/NEWS:18377 -msgid "" -":issue:`35537`: The :mod:`subprocess` module can now use the :func:`os." -"posix_spawn` function in some cases for better performance." -msgstr "" - -#: ../build/NEWS:18380 -msgid "" -":issue:`35526`: Delaying the 'joke' of barry_as_FLUFL.mandatory to Python " -"version 4.0" -msgstr "" - -#: ../build/NEWS:18383 -msgid "" -":issue:`35523`: Remove :mod:`ctypes` callback workaround: no longer create a " -"callback at startup. Avoid SELinux alert on ``import ctypes`` and ``import " -"uuid``." -msgstr "" - -#: ../build/NEWS:18387 -msgid "" -":issue:`31784`: :func:`uuid.uuid1` now calls :func:`time.time_ns` rather " -"than ``int(time.time() * 1e9)``." -msgstr "" - -#: ../build/NEWS:18390 -msgid "" -":issue:`35513`: :class:`~unittest.runner.TextTestRunner` of :mod:`unittest." -"runner` now uses :func:`time.perf_counter` rather than :func:`time.time` to " -"measure the execution time of a test: :func:`time.time` can go backwards, " -"whereas :func:`time.perf_counter` is monotonic." -msgstr "" - -#: ../build/NEWS:18396 -msgid "" -":issue:`35502`: Fixed reference leaks in :class:`xml.etree.ElementTree." -"TreeBuilder` in case of unfinished building of the tree (in particular when " -"an error was raised during parsing XML)." -msgstr "" - -#: ../build/NEWS:18400 -msgid "" -":issue:`35348`: Make :func:`platform.architecture` parsing of ``file`` " -"command output more reliable: add the ``-b`` option to the ``file`` command " -"to omit the filename, force the usage of the C locale, and search also the " -"\"shared object\" pattern." -msgstr "" - -#: ../build/NEWS:18405 -msgid "" -":issue:`35491`: :mod:`multiprocessing`: Add ``Pool.__repr__()`` and enhance " -"``BaseProcess.__repr__()`` (add pid and parent pid) to ease debugging. Pool " -"state constant values are now strings instead of integers, for example " -"``RUN`` value becomes ``'RUN'`` instead of ``0``." -msgstr "" - -#: ../build/NEWS:18410 -msgid "" -":issue:`35477`: :meth:`multiprocessing.Pool.__enter__` now fails if the pool " -"is not running: ``with pool:`` fails if used more than once." -msgstr "" - -#: ../build/NEWS:18413 -msgid "" -":issue:`31446`: Copy command line that was passed to CreateProcessW since " -"this function can change the content of the input buffer." -msgstr "" - -#: ../build/NEWS:18416 -msgid "" -":issue:`35471`: Python 2.4 dropped MacOS 9 support. The macpath module was " -"deprecated in Python 3.7. The module is now removed." -msgstr "" - -#: ../build/NEWS:18419 -msgid "" -":issue:`23057`: Unblock Proactor event loop when keyboard interrupt is " -"received on Windows" -msgstr "" - -#: ../build/NEWS:18422 -msgid "" -":issue:`35052`: Fix xml.dom.minidom cloneNode() on a document with an " -"entity: pass the correct arguments to the user data handler of an entity." -msgstr "" - -#: ../build/NEWS:18425 -msgid "" -":issue:`20239`: Allow repeated assignment deletion of :class:`unittest.mock." -"Mock` attributes. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:18428 -msgid "" -":issue:`17185`: Set ``__signature__`` on mock for :mod:`inspect` to get " -"signature. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:18431 -msgid "" -":issue:`35445`: Memory errors during creating posix.environ no longer " -"ignored." -msgstr "" - -#: ../build/NEWS:18433 -msgid ":issue:`35415`: Validate fileno= argument to socket.socket()." -msgstr "" - -#: ../build/NEWS:18435 -msgid "" -":issue:`35424`: :class:`multiprocessing.Pool` destructor now emits :exc:" -"`ResourceWarning` if the pool is still running." -msgstr "" - -#: ../build/NEWS:18438 -msgid "" -":issue:`35330`: When a :class:`Mock` instance was used to wrap an object, if " -"`side_effect` is used in one of the mocks of it methods, don't call the " -"original implementation and return the result of using the side effect the " -"same way that it is done with return_value." -msgstr "" - -#: ../build/NEWS:18443 -msgid "" -":issue:`35346`: Drop Mac OS 9 and Rhapsody support from the :mod:`platform` " -"module. Rhapsody last release was in 2000. Mac OS 9 last release was in 2001." -msgstr "" - -#: ../build/NEWS:18447 -msgid "" -":issue:`10496`: :func:`~distutils.utils.check_environ` of :mod:`distutils." -"utils` now catches :exc:`KeyError` on calling :func:`pwd.getpwuid`: don't " -"create the ``HOME`` environment variable in this case." -msgstr "" - -#: ../build/NEWS:18452 -msgid "" -":issue:`10496`: :func:`posixpath.expanduser` now returns the input *path* " -"unchanged if the ``HOME`` environment variable is not set and the current " -"user has no home directory (if the current user identifier doesn't exist in " -"the password database). This change fix the :mod:`site` module if the " -"current user doesn't exist in the password database (if the user has no home " -"directory)." -msgstr "" - -#: ../build/NEWS:18459 -msgid "" -":issue:`35389`: :func:`platform.libc_ver` now uses ``os." -"confstr('CS_GNU_LIBC_VERSION')`` if available and the *executable* parameter " -"is not set." -msgstr "" - -#: ../build/NEWS:18463 -msgid ":issue:`35394`: Add empty slots to asyncio abstract protocols." -msgstr "" - -#: ../build/NEWS:18465 -msgid "" -":issue:`35310`: Fix a bug in :func:`select.select` where, in some cases, the " -"file descriptor sequences were returned unmodified after a signal " -"interruption, even though the file descriptors might not be ready yet. :func:" -"`select.select` will now always return empty lists if a timeout has " -"occurred. Patch by Oran Avraham." -msgstr "" - -#: ../build/NEWS:18471 -msgid "" -":issue:`35380`: Enable TCP_NODELAY on Windows for proactor asyncio event " -"loop." -msgstr "" - -#: ../build/NEWS:18473 -msgid "" -":issue:`35341`: Add generic version of ``collections.OrderedDict`` to the " -"``typing`` module. Patch by Ismo Toijala." -msgstr "" - -#: ../build/NEWS:18476 -msgid "" -":issue:`35371`: Fixed possible crash in ``os.utime()`` on Windows when pass " -"incorrect arguments." -msgstr "" - -#: ../build/NEWS:18479 -msgid "" -":issue:`35346`: :func:`platform.uname` now redirects ``stderr`` to :data:`os." -"devnull` when running external programs like ``cmd /c ver``." -msgstr "" - -#: ../build/NEWS:18482 -msgid "" -":issue:`35066`: Previously, calling the strftime() method on a datetime " -"object with a trailing '%' in the format string would result in an " -"exception. However, this only occurred when the datetime C module was being " -"used; the python implementation did not match this behavior. Datetime is now " -"PEP-399 compliant, and will not throw an exception on a trailing '%'." -msgstr "" - -#: ../build/NEWS:18488 -msgid "" -":issue:`35345`: The function `platform.popen` has been removed, it was " -"deprecated since Python 3.3: use :func:`os.popen` instead." -msgstr "" - -#: ../build/NEWS:18491 -msgid "" -":issue:`35344`: On macOS, :func:`platform.platform` now uses :func:`platform." -"mac_ver`, if it returns a non-empty release string, to get the macOS version " -"rather than the darwin version." -msgstr "" - -#: ../build/NEWS:18495 -msgid "" -":issue:`35312`: Make ``lib2to3.pgen2.parse.ParseError`` round-trip pickle-" -"able. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:18498 -msgid "" -":issue:`35308`: Fix regression in ``webbrowser`` where default browsers may " -"be preferred over browsers in the ``BROWSER`` environment variable." -msgstr "" - -#: ../build/NEWS:18501 -msgid "" -":issue:`24746`: Avoid stripping trailing whitespace in doctest fancy diff. " -"Original patch by R. David Murray & Jairo Trad. Enhanced by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:18505 -msgid "" -":issue:`28604`: :func:`locale.localeconv` now sets temporarily the " -"``LC_CTYPE`` locale to the ``LC_MONETARY`` locale if the two locales are " -"different and monetary strings are non-ASCII. This temporary change affects " -"other threads." -msgstr "" - -#: ../build/NEWS:18510 -msgid "" -":issue:`35277`: Update ensurepip to install pip 18.1 and setuptools 40.6.2." -msgstr "" - -#: ../build/NEWS:18512 -msgid ":issue:`24209`: Adds IPv6 support when invoking http.server directly." -msgstr "" - -#: ../build/NEWS:18514 -msgid "" -":issue:`35226`: Recursively check arguments when testing for equality of :" -"class:`unittest.mock.call` objects and add note that tracking of parameters " -"used to create ancestors of mocks in ``mock_calls`` is not possible." -msgstr "" - -#: ../build/NEWS:18519 -msgid "" -":issue:`29564`: The warnings module now suggests to enable tracemalloc if " -"the source is specified, the tracemalloc module is available, but " -"tracemalloc is not tracing memory allocations." -msgstr "" - -#: ../build/NEWS:18523 -msgid "" -":issue:`35189`: Modify the following fnctl function to retry if interrupted " -"by a signal (EINTR): flock, lockf, fnctl" -msgstr "" - -#: ../build/NEWS:18526 -msgid "" -":issue:`30064`: Use add_done_callback() in sock_* asyncio API to unsubscribe " -"reader/writer early on calcellation." -msgstr "" - -#: ../build/NEWS:18529 -msgid "" -":issue:`35186`: Removed the \"built with\" comment added when ``setup.py " -"upload`` is used with either ``bdist_rpm`` or ``bdist_dumb``." -msgstr "" - -#: ../build/NEWS:18532 -msgid "" -":issue:`35152`: Allow sending more than 2 GB at once on a multiprocessing " -"connection on non-Windows systems." -msgstr "" - -#: ../build/NEWS:18535 -msgid "" -":issue:`35062`: Fix incorrect parsing of :class:`_io." -"IncrementalNewlineDecoder`'s *translate* argument." -msgstr "" - -#: ../build/NEWS:18538 -msgid "" -":issue:`35065`: Remove `StreamReaderProtocol._untrack_reader`. The call to " -"`_untrack_reader` is currently performed too soon, causing the protocol to " -"forget about the reader before `connection_lost` can run and feed the EOF to " -"the reader." -msgstr "" - -#: ../build/NEWS:18543 -msgid "" -":issue:`34160`: ElementTree and minidom now preserve the attribute order " -"specified by the user." -msgstr "" - -#: ../build/NEWS:18546 -msgid "" -":issue:`35079`: Improve difflib.SequenceManager.get_matching_blocks doc by " -"adding 'non-overlapping' and changing '!=' to '<'." -msgstr "" - -#: ../build/NEWS:18549 -msgid "" -":issue:`33710`: Deprecated ``l*gettext()`` functions and methods in the :mod:" -"`gettext` module. They return encoded bytes instead of Unicode strings and " -"are artifacts from Python 2 times. Also deprecated functions and methods " -"related to setting the charset for ``l*gettext()`` functions and methods." -msgstr "" - -#: ../build/NEWS:18555 -msgid "" -":issue:`35017`: :meth:`socketserver.BaseServer.serve_forever` now exits " -"immediately if it's :meth:`~socketserver.BaseServer.shutdown` method is " -"called while it is polling for new events." -msgstr "" - -#: ../build/NEWS:18559 -msgid "" -":issue:`35024`: `importlib` no longer logs `wrote ` " -"redundantly after `(created|could not create) ` is already " -"logged. Patch by Quentin Agren." -msgstr "" - -#: ../build/NEWS:18563 -msgid "" -":issue:`35047`: ``unittest.mock`` now includes mock calls in exception " -"messages if ``assert_not_called``, ``assert_called_once``, or " -"``assert_called_once_with`` fails. Patch by Petter Strandmark." -msgstr "" - -#: ../build/NEWS:18567 -msgid "" -":issue:`31047`: Fix ``ntpath.abspath`` regression where it didn't remove a " -"trailing separator on Windows. Patch by Tim Graham." -msgstr "" - -#: ../build/NEWS:18570 -msgid "" -":issue:`35053`: tracemalloc now tries to update the traceback when an object " -"is reused from a \"free list\" (optimization for faster object creation, " -"used by the builtin list type for example)." -msgstr "" - -#: ../build/NEWS:18574 -msgid "" -":issue:`31553`: Add the --json-lines option to json.tool. Patch by " -"hongweipeng." -msgstr "" - -#: ../build/NEWS:18576 -msgid "" -":issue:`34794`: Fixed a leak in Tkinter when pass the Python wrapper around " -"Tcl_Obj back to Tcl/Tk." -msgstr "" - -#: ../build/NEWS:18579 -msgid "" -":issue:`34909`: Enum: fix grandchildren subclassing when parent mixed with " -"concrete data types." -msgstr "" - -#: ../build/NEWS:18582 -msgid "" -":issue:`35022`: :class:`unittest.mock.MagicMock` now supports the " -"``__fspath__`` method (from :class:`os.PathLike`)." -msgstr "" - -#: ../build/NEWS:18585 -msgid "" -":issue:`35008`: Fixed references leaks when call the ``__setstate__()`` " -"method of :class:`xml.etree.ElementTree.Element` in the C implementation for " -"already initialized element." -msgstr "" - -#: ../build/NEWS:18589 -msgid "" -":issue:`23420`: Verify the value for the parameter '-s' of the cProfile CLI. " -"Patch by Robert Kuska" -msgstr "" - -#: ../build/NEWS:18592 -msgid "" -":issue:`33947`: dataclasses now handle recursive reprs without raising " -"RecursionError." -msgstr "" - -#: ../build/NEWS:18595 -msgid "" -":issue:`34890`: Make :func:`inspect.iscoroutinefunction`, :func:`inspect." -"isgeneratorfunction` and :func:`inspect.isasyncgenfunction` work with :func:" -"`functools.partial`. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:18599 -msgid "" -":issue:`34521`: Use :func:`socket.CMSG_SPACE` to calculate ancillary data " -"size instead of :func:`socket.CMSG_LEN` in :func:`multiprocessing.reduction." -"recvfds` as :rfc:`3542` requires the use of the former for portable " -"applications." -msgstr "" - -#: ../build/NEWS:18604 -msgid "" -":issue:`31522`: The `mailbox.mbox.get_string` function *from_* parameter can " -"now successfully be set to a non-default value." -msgstr "" - -#: ../build/NEWS:18607 -msgid "" -":issue:`34970`: Protect tasks weak set manipulation in ``asyncio." -"all_tasks()``" -msgstr "" - -#: ../build/NEWS:18609 -msgid "" -":issue:`34969`: gzip: Add --fast, --best on the gzip CLI, these parameters " -"will be used for the fast compression method (quick) or the best method " -"compress (slower, but smaller file). Also, change the default compression " -"level to 6 (tradeoff)." -msgstr "" - -#: ../build/NEWS:18614 -msgid "" -":issue:`16965`: The :term:`2to3` :2to3fixer:`execfile` fixer now opens the " -"file with mode ``'rb'``. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18617 -msgid "" -":issue:`34966`: :mod:`pydoc` now supports aliases not only to methods " -"defined in the end class, but also to inherited methods. The docstring is " -"not duplicated for aliases." -msgstr "" - -#: ../build/NEWS:18621 -msgid "" -":issue:`34926`: :meth:`mimetypes.MimeTypes.guess_type` now accepts :term:" -"`path-like object` in addition to url strings. Patch by Mayank Asthana." -msgstr "" - -#: ../build/NEWS:18625 -msgid "" -":issue:`23831`: Add ``moveto()`` method to the ``tkinter.Canvas`` widget. " -"Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:18628 -msgid "" -":issue:`34941`: Methods ``find()``, ``findtext()`` and ``findall()`` of the " -"``Element`` class in the :mod:`xml.etree.ElementTree` module are now able to " -"find children which are instances of ``Element`` subclasses." -msgstr "" - -#: ../build/NEWS:18632 -msgid "" -":issue:`32680`: :class:`smtplib.SMTP` objects now always have a `sock` " -"attribute present" -msgstr "" - -#: ../build/NEWS:18635 -msgid "" -":issue:`34769`: Fix for async generators not finalizing when event loop is " -"in debug mode and garbage collector runs in another thread." -msgstr "" - -#: ../build/NEWS:18638 -msgid "" -":issue:`34936`: Fix ``TclError`` in ``tkinter.Spinbox.selection_element()``. " -"Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:18641 -msgid "" -":issue:`34829`: Add methods ``selection_from``, ``selection_range``, " -"``selection_present`` and ``selection_to`` to the ``tkinter.Spinbox`` for " -"consistency with the ``tkinter.Entry`` widget. Patch by Juliette Monsel." -msgstr "" - -#: ../build/NEWS:18645 -msgid "" -":issue:`34911`: Added *secure_protocols* argument to *http.cookiejar." -"DefaultCookiePolicy* to allow for tweaking of protocols and also to add " -"support by default for *wss*, the secure websocket protocol." -msgstr "" - -#: ../build/NEWS:18650 -msgid "" -":issue:`34922`: Fixed integer overflow in the :meth:`~hashlib.shake." -"digest()` and :meth:`~hashlib.shake.hexdigest()` methods for the SHAKE " -"algorithm in the :mod:`hashlib` module." -msgstr "" - -#: ../build/NEWS:18654 -msgid "" -":issue:`34925`: 25% speedup in argument parsing for the functions in the " -"bisect module." -msgstr "" - -#: ../build/NEWS:18657 -msgid "" -":issue:`34900`: Fixed :meth:`unittest.TestCase.debug` when used to call test " -"methods with subtests. Patch by Bruno Oliveira." -msgstr "" - -#: ../build/NEWS:18660 -msgid "" -":issue:`34844`: logging.Formatter enhancement - Ensure styles and fmt " -"matches in logging.Formatter - Added validate method in each format style " -"class: StrFormatStyle, PercentStyle, StringTemplateStyle. - This method is " -"called in the constructor of logging.Formatter class - Also re-raise the " -"KeyError in the format method of each style class, so it would a bit clear " -"that it's an error with the invalid format fields." -msgstr "" - -#: ../build/NEWS:18667 -msgid "" -":issue:`34897`: Adjust test.support.missing_compiler_executable check so " -"that a nominal command name of \"\" is ignored. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:18670 -msgid "" -":issue:`34871`: Fix inspect module polluted ``sys.modules`` when parsing " -"``__text_signature__`` of callable." -msgstr "" - -#: ../build/NEWS:18673 -msgid "" -":issue:`34898`: Add `mtime` argument to `gzip.compress` for reproducible " -"output. Patch by Guo Ci Teo." -msgstr "" - -#: ../build/NEWS:18676 -msgid "" -":issue:`28441`: On Cygwin and MinGW, ensure that ``sys.executable`` always " -"includes the full filename in the path, including the ``.exe`` suffix " -"(unless it is a symbolic link)." -msgstr "" - -#: ../build/NEWS:18680 -msgid "" -":issue:`34866`: Adding ``max_num_fields`` to ``cgi.FieldStorage`` to make " -"DOS attacks harder by limiting the number of ``MiniFieldStorage`` objects " -"created by ``FieldStorage``." -msgstr "" - -#: ../build/NEWS:18684 -msgid "" -":issue:`34711`: http.server ensures it reports HTTPStatus.NOT_FOUND when the " -"local path ends with \"/\" and is not a directory, even if the underlying OS " -"(e.g. AIX) accepts such paths as a valid file reference. Patch by Michael " -"Felt." -msgstr "" - -#: ../build/NEWS:18689 -msgid "" -":issue:`34872`: Fix self-cancellation in C implementation of asyncio.Task" -msgstr "" - -#: ../build/NEWS:18691 -msgid "" -":issue:`34849`: Don't log waiting for ``selector.select`` in asyncio loop " -"iteration. The waiting is pretty normal for any asyncio program, logging its " -"time just adds a noise to logs without any useful information provided." -msgstr "" - -#: ../build/NEWS:18696 -msgid "" -":issue:`34022`: The :envvar:`SOURCE_DATE_EPOCH` environment variable no " -"longer overrides the value of the *invalidation_mode* argument to :func:" -"`py_compile.compile`, and determines its default value instead." -msgstr "" - -#: ../build/NEWS:18700 -msgid "" -":issue:`34819`: Use a monotonic clock to compute timeouts in :meth:`Executor." -"map` and :func:`as_completed`, in order to prevent timeouts from deviating " -"when the system clock is adjusted." -msgstr "" - -#: ../build/NEWS:18704 -msgid "" -":issue:`34758`: Add .wasm -> application/wasm to list of recognized file " -"types and content type headers" -msgstr "" - -#: ../build/NEWS:18707 -msgid "" -":issue:`34789`: :func:`xml.sax.make_parser` now accepts any iterable as its " -"*parser_list* argument. Patch by Andrés Delfino." -msgstr "" - -#: ../build/NEWS:18710 -msgid "" -":issue:`34334`: In :class:`QueueHandler`, clear `exc_text` from :class:" -"`LogRecord` to prevent traceback from being written twice." -msgstr "" - -#: ../build/NEWS:18713 -msgid "" -":issue:`34687`: On Windows, asyncio now uses ProactorEventLoop, instead of " -"SelectorEventLoop, by default." -msgstr "" - -#: ../build/NEWS:18716 -msgid "" -":issue:`5950`: Support reading zip files with archive comments in :mod:" -"`zipimport`." -msgstr "" - -#: ../build/NEWS:18719 -msgid "" -":issue:`32892`: The parser now represents all constants as :class:`ast." -"Constant` instead of using specific constant AST types (``Num``, ``Str``, " -"``Bytes``, ``NameConstant`` and ``Ellipsis``). These classes are considered " -"deprecated and will be removed in future Python versions." -msgstr "" - -#: ../build/NEWS:18725 -msgid "" -":issue:`34728`: Add deprecation warning when `loop` is used in methods: " -"`asyncio.sleep`, `asyncio.wait` and `asyncio.wait_for`." -msgstr "" - -#: ../build/NEWS:18728 -msgid "" -":issue:`34738`: ZIP files created by :mod:`distutils` will now include " -"entries for directories." -msgstr "" - -#: ../build/NEWS:18731 -msgid "" -":issue:`34659`: Add an optional *initial* argument to itertools.accumulate()." -msgstr "" - -#: ../build/NEWS:18733 -msgid ":issue:`29577`: Support multiple mixin classes when creating Enums." -msgstr "" - -#: ../build/NEWS:18735 -msgid "" -":issue:`34670`: Add SSLContext.post_handshake_auth and SSLSocket." -"verify_client_post_handshake for TLS 1.3's post handshake authentication " -"feature." -msgstr "" - -#: ../build/NEWS:18739 -msgid "" -":issue:`32718`: The Activate.ps1 script from venv works with PowerShell Core " -"6.1 and is now available under all operating systems." -msgstr "" - -#: ../build/NEWS:18742 -msgid "" -":issue:`31177`: Fix bug that prevented using :meth:`reset_mock ` on mock instances with deleted attributes" -msgstr "" - -#: ../build/NEWS:18745 -msgid "" -":issue:`34672`: Add a workaround, so the ``'Z'`` :func:`time.strftime` " -"specifier on the musl C library can work in some cases." -msgstr "" - -#: ../build/NEWS:18748 -msgid "" -":issue:`34666`: Implement ``asyncio.StreamWriter.awrite`` and ``asyncio." -"StreamWriter.aclose()`` coroutines. Methods are needed for providing a " -"consistent stream API with control flow switched on by default." -msgstr "" - -#: ../build/NEWS:18753 -msgid "" -":issue:`6721`: Acquire the logging module's commonly used internal locks " -"while fork()ing to avoid deadlocks in the child process." -msgstr "" - -#: ../build/NEWS:18756 -msgid "" -":issue:`34658`: Fix a rare interpreter unhandled exception state SystemError " -"only seen when using subprocess with a preexec_fn while an after_parent " -"handler has been registered with os.register_at_fork and the fork system " -"call fails." -msgstr "" - -#: ../build/NEWS:18761 -msgid ":issue:`34652`: Ensure :func:`os.lchmod` is never defined on Linux." -msgstr "" - -#: ../build/NEWS:18763 -msgid "" -":issue:`34638`: Store a weak reference to stream reader to break strong " -"references loop between reader and protocol. It allows to detect and close " -"the socket if the stream is deleted (garbage collected) without ``close()`` " -"call." -msgstr "" - -#: ../build/NEWS:18768 -msgid "" -":issue:`34536`: `Enum._missing_`: raise `ValueError` if None returned and " -"`TypeError` if non-member is returned." -msgstr "" - -#: ../build/NEWS:18771 -msgid "" -":issue:`34636`: Speed up re scanning of many non-matching characters for \\s " -"\\w and \\d within bytes objects. (microoptimization)" -msgstr "" - -#: ../build/NEWS:18774 -msgid "" -":issue:`24412`: Add :func:`~unittest.addModuleCleanup()` and :meth:" -"`~unittest.TestCase.addClassCleanup()` to unittest to support cleanups for :" -"func:`~unittest.setUpModule()` and :meth:`~unittest.TestCase.setUpClass()`. " -"Patch by Lisa Roach." -msgstr "" - -#: ../build/NEWS:18779 -msgid "" -":issue:`34630`: Don't log SSL certificate errors in asyncio code (connection " -"error logging is skipped already)." -msgstr "" - -#: ../build/NEWS:18782 -msgid "" -":issue:`32490`: Prevent filename duplication in :mod:`subprocess` exception " -"messages. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18785 -msgid "" -":issue:`34363`: dataclasses.asdict() and .astuple() now handle namedtuples " -"correctly." -msgstr "" - -#: ../build/NEWS:18788 -msgid ":issue:`34625`: Update vendorized expat library version to 2.2.6." -msgstr "" - -#: ../build/NEWS:18790 -msgid "" -":issue:`32270`: The subprocess module no longer mistakenly closes redirected " -"fds even when they were in pass_fds when outside of the default {0, 1, 2} " -"set." -msgstr "" - -#: ../build/NEWS:18794 -msgid "" -":issue:`34622`: Create a dedicated ``asyncio.CancelledError``, ``asyncio." -"InvalidStateError`` and ``asyncio.TimeoutError`` exception classes. Inherit " -"them from corresponding exceptions from ``concurrent.futures`` package. " -"Extract ``asyncio`` exceptions into a separate file." -msgstr "" - -#: ../build/NEWS:18800 -msgid "" -":issue:`34610`: Fixed iterator of :class:`multiprocessing.managers." -"DictProxy`." -msgstr "" - -#: ../build/NEWS:18802 -msgid "" -":issue:`34421`: Fix distutils logging for non-ASCII strings. This caused " -"installation issues on Windows." -msgstr "" - -#: ../build/NEWS:18805 -msgid "" -":issue:`34604`: Fix possible mojibake in the error message of `pwd.getpwnam` " -"and `grp.getgrnam` using string representation because of invisible " -"characters or trailing whitespaces. Patch by William Grzybowski." -msgstr "" - -#: ../build/NEWS:18809 -msgid "" -":issue:`30977`: Make uuid.UUID use ``__slots__`` to reduce its memory " -"footprint. Based on original patch by Wouter Bolsterlee." -msgstr "" - -#: ../build/NEWS:18812 -msgid "" -":issue:`34574`: OrderedDict iterators are not exhausted during pickling " -"anymore. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:18815 -msgid "" -":issue:`8110`: Refactored :mod:`subprocess` to check for Windows-specific " -"modules rather than ``sys.platform == 'win32'``." -msgstr "" - -#: ../build/NEWS:18818 -msgid "" -":issue:`34530`: ``distutils.spawn.find_executable()`` now falls back on :" -"data:`os.defpath` if the ``PATH`` environment variable is not set." -msgstr "" - -#: ../build/NEWS:18821 -msgid "" -":issue:`34563`: On Windows, fix multiprocessing.Connection for very large " -"read: fix _winapi.PeekNamedPipe() and _winapi.ReadFile() for read larger " -"than INT_MAX (usually ``2**31-1``)." -msgstr "" - -#: ../build/NEWS:18825 -msgid ":issue:`34558`: Correct typo in Lib/ctypes/_aix.py" -msgstr "" - -#: ../build/NEWS:18827 -msgid "" -":issue:`34282`: Move ``Enum._convert`` to ``EnumMeta._convert_`` and fix " -"enum members getting shadowed by parent attributes." -msgstr "" - -#: ../build/NEWS:18830 -msgid "" -":issue:`22872`: When the queue is closed, :exc:`ValueError` is now raised " -"by :meth:`multiprocessing.Queue.put` and :meth:`multiprocessing.Queue.get` " -"instead of :exc:`AssertionError` and :exc:`OSError`, respectively. Patch by " -"Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18835 -msgid "" -":issue:`34515`: Fix parsing non-ASCII identifiers in :mod:`lib2to3.pgen2." -"tokenize` (PEP 3131)." -msgstr "" - -#: ../build/NEWS:18838 -msgid "" -":issue:`13312`: Avoids a possible integer underflow (undefined behavior) in " -"the time module's year handling code when passed a very low negative year " -"value." -msgstr "" - -#: ../build/NEWS:18842 -msgid "" -":issue:`34472`: Improved compatibility for streamed files in :mod:`zipfile`. " -"Previously an optional signature was not being written and certain ZIP " -"applications were not supported. Patch by Silas Sewell." -msgstr "" - -#: ../build/NEWS:18846 -msgid "" -":issue:`34454`: Fix the .fromisoformat() methods of datetime types crashing " -"when given unicode with non-UTF-8-encodable code points. Specifically, " -"datetime.fromisoformat() now accepts surrogate unicode code points used as " -"the separator. Report and tests by Alexey Izbyshev, patch by Paul Ganssle." -msgstr "" - -#: ../build/NEWS:18851 -msgid "" -":issue:`6700`: Fix inspect.getsourcelines for module level frames/" -"tracebacks. Patch by Vladimir Matveev." -msgstr "" - -#: ../build/NEWS:18854 -msgid "" -":issue:`34171`: Running the :mod:`trace` module no longer creates the " -"``trace.cover`` file." -msgstr "" - -#: ../build/NEWS:18857 -msgid "" -":issue:`34441`: Fix crash when an ``ABC``-derived class with invalid " -"``__subclasses__`` is passed as the second argument to :func:`issubclass()`. " -"Patch by Alexey Izbyshev." -msgstr "" - -#: ../build/NEWS:18861 -msgid "" -":issue:`34427`: Fix infinite loop in ``a.extend(a)`` for ``MutableSequence`` " -"subclasses." -msgstr "" - -#: ../build/NEWS:18864 -msgid "" -":issue:`34412`: Make :func:`signal.strsignal` work on HP-UX. Patch by " -"Michael Osipov." -msgstr "" - -#: ../build/NEWS:18867 -msgid "" -":issue:`20849`: shutil.copytree now accepts a new ``dirs_exist_ok`` keyword " -"argument. Patch by Josh Bronson." -msgstr "" - -#: ../build/NEWS:18870 -msgid "" -":issue:`31715`: Associate ``.mjs`` file extension with ``application/" -"javascript`` MIME Type." -msgstr "" - -#: ../build/NEWS:18873 -msgid "" -":issue:`34384`: :func:`os.readlink` now accepts :term:`path-like ` and :class:`bytes` objects on Windows." -msgstr "" - -#: ../build/NEWS:18876 -msgid "" -":issue:`22602`: The UTF-7 decoder now raises :exc:`UnicodeDecodeError` for " -"ill-formed sequences starting with \"+\" (as specified in RFC 2152). Patch " -"by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:18880 -msgid "" -":issue:`2122`: The :meth:`mmap.flush() ` method now returns " -"``None`` on success, raises an exception on error under all platforms." -msgstr "" - -#: ../build/NEWS:18883 -msgid "" -":issue:`34341`: Appending to the ZIP archive with the ZIP64 extension no " -"longer grows the size of extra fields of existing entries." -msgstr "" - -#: ../build/NEWS:18886 -msgid "" -":issue:`34333`: Fix %-formatting in :meth:`pathlib.PurePath.with_suffix` " -"when formatting an error message." -msgstr "" - -#: ../build/NEWS:18889 -msgid "" -":issue:`18540`: The :class:`imaplib.IMAP4` and :class:`imaplib.IMAP4_SSL` " -"classes now resolve to the local host IP correctly when the default value of " -"*host* parameter (``''``) is used." -msgstr "" - -#: ../build/NEWS:18893 -msgid "" -":issue:`26502`: Implement ``traceback.FrameSummary.__len__()`` method to " -"preserve compatibility with the old tuple API." -msgstr "" - -#: ../build/NEWS:18896 -msgid "" -":issue:`34318`: :func:`~unittest.TestCase.assertRaises`, :func:`~unittest." -"TestCase.assertRaisesRegex`, :func:`~unittest.TestCase.assertWarns` and :" -"func:`~unittest.TestCase.assertWarnsRegex` no longer success if the passed " -"callable is None. They no longer ignore unknown keyword arguments in the " -"context manager mode. A DeprecationWarning was raised in these cases since " -"Python 3.5." -msgstr "" - -#: ../build/NEWS:18904 -msgid "" -":issue:`9372`: Deprecate :meth:`__getitem__` methods of :class:`xml.dom." -"pulldom.DOMEventStream`, :class:`wsgiref.util.FileWrapper` and :class:" -"`fileinput.FileInput`." -msgstr "" - -#: ../build/NEWS:18908 -msgid "" -":issue:`33613`: Fix a race condition in ``multiprocessing." -"semaphore_tracker`` when the tracker receives SIGINT before it can register " -"signal handlers for ignoring it." -msgstr "" - -#: ../build/NEWS:18912 -msgid "" -":issue:`34248`: Report filename in the exception raised when the database " -"file cannot be opened by :func:`dbm.gnu.open` and :func:`dbm.ndbm.open` due " -"to OS-related error. Patch by Zsolt Cserna." -msgstr "" - -#: ../build/NEWS:18916 -msgid "" -":issue:`33089`: Add math.dist() to compute the Euclidean distance between " -"two points." -msgstr "" - -#: ../build/NEWS:18919 -msgid "" -":issue:`34246`: :meth:`smtplib.SMTP.send_message` no longer modifies the " -"content of the *mail_options* argument. Patch by Pablo S. Blum de Aguiar." -msgstr "" - -#: ../build/NEWS:18922 -msgid "" -":issue:`31047`: Fix ``ntpath.abspath`` for invalid paths on windows. Patch " -"by Franz Woellert." -msgstr "" - -#: ../build/NEWS:18925 -msgid "" -":issue:`32321`: Add pure Python fallback for functools.reduce. Patch by " -"Robert Wright." -msgstr "" - -#: ../build/NEWS:18928 -msgid "" -":issue:`34270`: The default asyncio task class now always has a name which " -"can be get or set using two new methods (:meth:`~asyncio.Task.get_name()` " -"and :meth:`~asyncio.Task.set_name`) and is visible in the :func:`repr` " -"output. An initial name can also be set using the new ``name`` keyword " -"argument to :func:`asyncio.create_task` or the :meth:`~asyncio." -"AbstractEventLoop.create_task` method of the event loop. If no initial name " -"is set, the default Task implementation generates a name like ``Task-1`` " -"using a monotonic counter." -msgstr "" - -#: ../build/NEWS:18937 -msgid "" -":issue:`34263`: asyncio's event loop will not pass timeouts longer than one " -"day to epoll/select etc." -msgstr "" - -#: ../build/NEWS:18940 -msgid "" -":issue:`34035`: Fix several AttributeError in zipfile seek() methods. Patch " -"by Mickaël Schoentgen." -msgstr "" - -#: ../build/NEWS:18943 -msgid "" -":issue:`32215`: Fix performance regression in :mod:`sqlite3` when a DML " -"statement appeared in a different line than the rest of the SQL query." -msgstr "" - -#: ../build/NEWS:18946 -msgid "" -":issue:`34075`: Deprecate passing non-ThreadPoolExecutor instances to :meth:" -"`AbstractEventLoop.set_default_executor`." -msgstr "" - -#: ../build/NEWS:18949 -msgid "" -":issue:`34251`: Restore ``msilib.Win64`` to preserve backwards compatibility " -"since it's already used by :mod:`distutils`' ``bdist_msi`` command." -msgstr "" - -#: ../build/NEWS:18952 -msgid "" -":issue:`19891`: Ignore errors caused by missing / non-writable homedir while " -"writing history during exit of an interactive session. Patch by Anthony " -"Sottile." -msgstr "" - -#: ../build/NEWS:18956 -msgid "" -":issue:`33089`: Enhanced math.hypot() to support more than two dimensions." -msgstr "" - -#: ../build/NEWS:18958 -msgid "" -":issue:`34228`: tracemalloc: PYTHONTRACEMALLOC=0 environment variable and -X " -"tracemalloc=0 command line option are now allowed to disable explicitly " -"tracemalloc at startup." -msgstr "" - -#: ../build/NEWS:18962 -msgid "" -":issue:`13041`: Use :func:`shutil.get_terminal_size` to calculate the " -"terminal width correctly in the ``argparse.HelpFormatter`` class. Initial " -"patch by Zbyszek Jędrzejewski-Szmek." -msgstr "" - -#: ../build/NEWS:18966 -msgid "" -":issue:`34213`: Allow frozen dataclasses to have a field named \"object\". " -"Previously this conflicted with an internal use of \"object\"." -msgstr "" - -#: ../build/NEWS:18969 -msgid "" -":issue:`34052`: :meth:`sqlite3.Connection.create_aggregate`, :meth:`sqlite3." -"Connection.create_function`, :meth:`sqlite3.Connection.set_authorizer`, :" -"meth:`sqlite3.Connection.set_progress_handler` methods raises TypeError when " -"unhashable objects are passed as callable. These methods now don't pass such " -"objects to SQLite API. Previous behavior could lead to segfaults. Patch by " -"Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:18977 -msgid "" -":issue:`34197`: Attributes *skipinitialspace*, *doublequote* and *strict* of " -"the *dialect* attribute of the :mod:`csv` reader are now :class:`bool` " -"instances instead of integers 0 or 1." -msgstr "" - -#: ../build/NEWS:18981 -msgid "" -":issue:`32788`: Errors other than :exc:`TypeError` raised in methods " -"``__adapt__()`` and ``__conform__()`` in the :mod:`sqlite3` module are now " -"propagated to the user." -msgstr "" - -#: ../build/NEWS:18985 -msgid "" -":issue:`21446`: The :2to3fixer:`reload` fixer now uses :func:`importlib." -"reload` instead of deprecated :func:`imp.reload`." -msgstr "" - -#: ../build/NEWS:18988 -msgid "" -":issue:`940286`: pydoc's ``Helper.showtopic()`` method now prints the cross " -"references of a topic correctly." -msgstr "" - -#: ../build/NEWS:18991 -msgid "" -":issue:`34164`: :func:`base64.b32decode` could raise UnboundLocalError or " -"OverflowError for incorrect padding. Now it always raises :exc:`base64." -"Error` in these cases." -msgstr "" - -#: ../build/NEWS:18995 -msgid ":issue:`33729`: Fixed issues with arguments parsing in :mod:`hashlib`." -msgstr "" - -#: ../build/NEWS:18997 -msgid "" -":issue:`34097`: ZipFile can zip files older than 1980-01-01 and newer than " -"2107-12-31 using a new ``strict_timestamps`` parameter at the cost of " -"setting the timestamp to the limit." -msgstr "" - -#: ../build/NEWS:19001 -msgid ":issue:`34108`: Remove extraneous CR in 2to3 refactor." -msgstr "" - -#: ../build/NEWS:19003 -msgid "" -":issue:`34070`: Make sure to only check if the handle is a tty, when opening " -"a file with ``buffering=-1``." -msgstr "" - -#: ../build/NEWS:19006 -msgid "" -":issue:`27494`: Reverted :issue:`27494`. 2to3 rejects now a trailing comma " -"in generator expressions." -msgstr "" - -#: ../build/NEWS:19009 -msgid "" -":issue:`33967`: functools.singledispatch now raises TypeError instead of " -"IndexError when no positional arguments are passed." -msgstr "" - -#: ../build/NEWS:19012 -msgid "" -":issue:`34041`: Add the parameter *deterministic* to the :meth:`sqlite3." -"Connection.create_function` method. Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:19016 -msgid "" -":issue:`34056`: Ensure the loader shim created by ``imp.load_module`` always " -"returns bytes from its ``get_data()`` function. This fixes using ``imp." -"load_module`` with :pep:`552` hash-based pycs." -msgstr "" - -#: ../build/NEWS:19020 -msgid "" -":issue:`34054`: The multiprocessing module now uses the monotonic clock :" -"func:`time.monotonic` instead of the system clock :func:`time.time` to " -"implement timeout." -msgstr "" - -#: ../build/NEWS:19024 -msgid "" -":issue:`34043`: Optimize tarfile uncompress performance about 15% when gzip " -"is used." -msgstr "" - -#: ../build/NEWS:19027 -msgid "" -":issue:`34044`: ``subprocess.Popen`` now copies the *startupinfo* argument " -"to leave it unchanged: it will modify the copy, so that the same " -"``STARTUPINFO`` object can be used multiple times." -msgstr "" - -#: ../build/NEWS:19031 -msgid "" -":issue:`34010`: Fixed a performance regression for reading streams with " -"tarfile. The buffered read should use a list, instead of appending to a " -"bytes object." -msgstr "" - -#: ../build/NEWS:19035 -msgid "" -":issue:`34019`: webbrowser: Correct the arguments passed to Opera Browser " -"when opening a new URL using the ``webbrowser`` module. Patch by Bumsik Kim." -msgstr "" - -#: ../build/NEWS:19038 -msgid "" -":issue:`34003`: csv.DictReader now creates dicts instead of OrderedDicts. " -"Patch by Michael Selik." -msgstr "" - -#: ../build/NEWS:19041 -msgid "" -":issue:`33978`: Closed existing logging handlers before reconfiguration via " -"fileConfig and dictConfig. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:19044 -msgid "" -":issue:`14117`: Make minor tweaks to turtledemo. The 'wikipedia' example is " -"now 'rosette', describing what it draws. The 'penrose' print output is " -"reduced. The'1024' output of 'tree' is eliminated." -msgstr "" - -#: ../build/NEWS:19048 -msgid "" -":issue:`33974`: Fixed passing lists and tuples of strings containing special " -"characters ``\"``, ``\\``, ``{``, ``}`` and ``\\n`` as options to :mod:" -"`~tkinter.ttk` widgets." -msgstr "" - -#: ../build/NEWS:19052 -msgid ":issue:`27500`: Fix getaddrinfo to resolve IPv6 addresses correctly." -msgstr "" - -#: ../build/NEWS:19054 -msgid "" -":issue:`24567`: Improve random.choices() to handle subnormal input weights " -"that could occasionally trigger an IndexError." -msgstr "" - -#: ../build/NEWS:19057 -msgid "" -":issue:`33871`: Fixed integer overflow in :func:`os.readv`, :func:`os." -"writev`, :func:`os.preadv` and :func:`os.pwritev` and in :func:`os.sendfile` " -"with *headers* or *trailers* arguments (on BSD-based OSes and macOS)." -msgstr "" - -#: ../build/NEWS:19061 -msgid "" -":issue:`25007`: Add :func:`copy.copy` and :func:`copy.deepcopy` support to " -"zlib compressors and decompressors. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:19064 -msgid "" -":issue:`33929`: multiprocessing: Fix a race condition in Popen of " -"multiprocessing.popen_spawn_win32. The child process now duplicates the read " -"end of pipe instead of \"stealing\" it. Previously, the read end of pipe was " -"\"stolen\" by the child process, but it leaked a handle if the child process " -"had been terminated before it could steal the handle from the parent process." -msgstr "" - -#: ../build/NEWS:19071 -msgid "" -":issue:`33899`: Tokenize module now implicitly emits a NEWLINE when provided " -"with input that does not have a trailing new line. This behavior now " -"matches what the C tokenizer does internally. Contributed by Ammar Askar." -msgstr "" - -#: ../build/NEWS:19075 -msgid "" -":issue:`33897`: Added a 'force' keyword argument to logging.basicConfig()." -msgstr "" - -#: ../build/NEWS:19077 -msgid "" -":issue:`33695`: :func:`shutil.copytree` uses :func:`os.scandir` function and " -"all copy functions depending from it use cached :func:`os.stat` values. The " -"speedup for copying a directory with 8000 files is around +9% on Linux, +20% " -"on Windows and + 30% on a Windows SMB share. Also the number of :func:`os." -"stat` syscalls is reduced by 38% making :func:`shutil.copytree` especially " -"faster on network filesystems. (Contributed by Giampaolo Rodola' in :issue:" -"`33695`.)" -msgstr "" - -#: ../build/NEWS:19085 -msgid "" -":issue:`33916`: bz2 and lzma: When Decompressor.__init__() is called twice, " -"free the old lock to not leak memory." -msgstr "" - -#: ../build/NEWS:19088 -msgid "" -":issue:`32568`: Make select.epoll() and its documentation consistent " -"regarding *sizehint* and *flags*." -msgstr "" - -#: ../build/NEWS:19091 -msgid "" -":issue:`33833`: Fixed bug in asyncio where ProactorSocketTransport logs " -"AssertionError if force closed during write." -msgstr "" - -#: ../build/NEWS:19094 -msgid "" -":issue:`33663`: Convert content length to string before putting to header." -msgstr "" - -#: ../build/NEWS:19096 -msgid "" -":issue:`33721`: :mod:`os.path` functions that return a boolean result like :" -"func:`~os.path.exists`, :func:`~os.path.lexists`, :func:`~os.path.isdir`, :" -"func:`~os.path.isfile`, :func:`~os.path.islink`, and :func:`~os.path." -"ismount`, and :mod:`pathlib.Path` methods that return a boolean result like :" -"meth:`~pathlib.Path.exists()`, :meth:`~pathlib.Path.is_dir()`, :meth:" -"`~pathlib.Path.is_file()`, :meth:`~pathlib.Path.is_mount()`, :meth:`~pathlib." -"Path.is_symlink()`, :meth:`~pathlib.Path.is_block_device()`, :meth:`~pathlib." -"Path.is_char_device()`, :meth:`~pathlib.Path.is_fifo()`, :meth:`~pathlib." -"Path.is_socket()` now return ``False`` instead of raising :exc:`ValueError` " -"or its subclasses :exc:`UnicodeEncodeError` and :exc:`UnicodeDecodeError` " -"for paths that contain characters or bytes unrepresentable at the OS level." -msgstr "" - -#: ../build/NEWS:19110 -msgid "" -":issue:`26544`: Fixed implementation of :func:`platform.libc_ver`. It almost " -"always returned version '2.9' for glibc." -msgstr "" - -#: ../build/NEWS:19113 -msgid "" -":issue:`33843`: Remove deprecated ``cgi.escape``, ``cgi.parse_qs`` and ``cgi." -"parse_qsl``." -msgstr "" - -#: ../build/NEWS:19116 -msgid "" -":issue:`33842`: Remove ``tarfile.filemode`` which is deprecated since Python " -"3.3." -msgstr "" - -#: ../build/NEWS:19119 ../build/NEWS:20717 ../build/NEWS:25311 -msgid "" -":issue:`30167`: Prevent site.main() exception if PYTHONSTARTUP is set. Patch " -"by Steve Weber." -msgstr "" - -#: ../build/NEWS:19122 -msgid "" -":issue:`33805`: Improve error message of dataclasses.replace() when an " -"InitVar is not specified" -msgstr "" - -#: ../build/NEWS:19125 -msgid "" -":issue:`33687`: Fix the call to ``os.chmod()`` for ``uu.decode()`` if a mode " -"is given or decoded. Patch by Timo Furrer." -msgstr "" - -#: ../build/NEWS:19128 ../build/NEWS:20720 ../build/NEWS:25314 -msgid "" -":issue:`33812`: Datetime instance d with non-None tzinfo, but with d.tzinfo." -"utcoffset(d) returning None is now treated as naive by the astimezone() " -"method." -msgstr "" - -#: ../build/NEWS:19132 -msgid "" -":issue:`32108`: In configparser, don't clear section when it is assigned to " -"itself." -msgstr "" - -#: ../build/NEWS:19135 -msgid "" -":issue:`27397`: Make email module properly handle invalid-length base64 " -"strings." -msgstr "" - -#: ../build/NEWS:19138 -msgid ":issue:`33578`: Implement multibyte encoder/decoder state methods" -msgstr "" - -#: ../build/NEWS:19140 ../build/NEWS:20724 ../build/NEWS:25318 -msgid ":issue:`30805`: Avoid race condition with debug logging" -msgstr "" - -#: ../build/NEWS:19142 -msgid "" -":issue:`33476`: Fix _header_value_parser.py when address group is missing " -"final ';'. Contributed by Enrique Perez-Terron" -msgstr "" - -#: ../build/NEWS:19145 ../build/NEWS:20726 -msgid "" -":issue:`33694`: asyncio: Fix a race condition causing data loss on " -"pause_reading()/resume_reading() when using the ProactorEventLoop." -msgstr "" - -#: ../build/NEWS:19148 ../build/NEWS:20729 -msgid "" -":issue:`32493`: Correct test for ``uuid_enc_be`` availability in ``configure." -"ac``. Patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:19151 ../build/NEWS:20732 -msgid "" -":issue:`33792`: Add asyncio.WindowsSelectorEventLoopPolicy and asyncio." -"WindowsProactorEventLoopPolicy." -msgstr "" - -#: ../build/NEWS:19154 -msgid "" -":issue:`33274`: W3C DOM Level 1 specifies return value of Element." -"removeAttributeNode() as \"The Attr node that was removed.\" xml.dom.minidom " -"now complies with this requirement." -msgstr "" - -#: ../build/NEWS:19158 ../build/NEWS:20735 -msgid "" -":issue:`33778`: Update ``unicodedata``'s database to Unicode version 11.0.0." -msgstr "" - -#: ../build/NEWS:19160 -msgid "" -":issue:`33165`: Added a stacklevel parameter to logging calls to allow use " -"of wrapper/helper functions for logging APIs." -msgstr "" - -#: ../build/NEWS:19163 ../build/NEWS:20737 -msgid "" -":issue:`33770`: improve base64 exception message for encoded inputs of " -"invalid length" -msgstr "" - -#: ../build/NEWS:19166 ../build/NEWS:20740 -msgid "" -":issue:`33769`: asyncio/start_tls: Fix error message; cancel callbacks in " -"case of an unhandled error; mark SSLTransport as closed if it is aborted." -msgstr "" - -#: ../build/NEWS:19169 ../build/NEWS:20743 ../build/NEWS:25320 -msgid "" -":issue:`33767`: The concatenation (``+``) and repetition (``*``) sequence " -"operations now raise :exc:`TypeError` instead of :exc:`SystemError` when " -"performed on :class:`mmap.mmap` objects. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:19173 ../build/NEWS:20747 -msgid "" -":issue:`33734`: asyncio/ssl: Fix AttributeError, increase default handshake " -"timeout" -msgstr "" - -#: ../build/NEWS:19176 -msgid "" -":issue:`31014`: Fixed creating a controller for :mod:`webbrowser` when a " -"user specifies a path to an entry in the BROWSER environment variable. " -"Based on patch by John Still." -msgstr "" - -#: ../build/NEWS:19180 -msgid ":issue:`2504`: Add gettext.pgettext() and variants." -msgstr "" - -#: ../build/NEWS:19182 -msgid ":issue:`33197`: Add description property for _ParameterKind" -msgstr "" - -#: ../build/NEWS:19184 ../build/NEWS:20845 -msgid "" -":issue:`32751`: When cancelling the task due to a timeout, :meth:`asyncio." -"wait_for` will now wait until the cancellation is complete." -msgstr "" - -#: ../build/NEWS:19187 ../build/NEWS:20848 ../build/NEWS:25324 -msgid "" -":issue:`32684`: Fix gather to propagate cancellation of itself even with " -"return_exceptions." -msgstr "" - -#: ../build/NEWS:19190 ../build/NEWS:20851 -msgid "" -":issue:`33654`: Support protocol type switching in SSLTransport." -"set_protocol()." -msgstr "" - -#: ../build/NEWS:19192 ../build/NEWS:20853 -msgid "" -":issue:`33674`: Pause the transport as early as possible to further reduce " -"the risk of data_received() being called before connection_made()." -msgstr "" - -#: ../build/NEWS:19195 -msgid "" -":issue:`33671`: :func:`shutil.copyfile`, :func:`shutil.copy`, :func:`shutil." -"copy2`, :func:`shutil.copytree` and :func:`shutil.move` use platform-" -"specific fast-copy syscalls on Linux and macOS in order to copy the file " -"more efficiently. On Windows :func:`shutil.copyfile` uses a bigger default " -"buffer size (1 MiB instead of 16 KiB) and a :func:`memoryview`-based variant " -"of :func:`shutil.copyfileobj` is used. The speedup for copying a 512MiB file " -"is about +26% on Linux, +50% on macOS and +40% on Windows. Also, much less " -"CPU cycles are consumed. (Contributed by Giampaolo Rodola' in :issue:" -"`25427`.)" -msgstr "" - -#: ../build/NEWS:19205 ../build/NEWS:20856 ../build/NEWS:25327 -msgid "" -":issue:`33674`: Fix a race condition in SSLProtocol.connection_made() of " -"asyncio.sslproto: start immediately the handshake instead of using " -"call_soon(). Previously, data_received() could be called before the " -"handshake started, causing the handshake to hang or fail." -msgstr "" - -#: ../build/NEWS:19210 ../build/NEWS:20861 ../build/NEWS:25332 -msgid "" -":issue:`31647`: Fixed bug where calling write_eof() on a " -"_SelectorSocketTransport after it's already closed raises AttributeError." -msgstr "" - -#: ../build/NEWS:19213 ../build/NEWS:20864 -msgid ":issue:`32610`: Make asyncio.all_tasks() return only pending tasks." -msgstr "" - -#: ../build/NEWS:19215 ../build/NEWS:20866 -msgid ":issue:`32410`: Avoid blocking on file IO in sendfile fallback code" -msgstr "" - -#: ../build/NEWS:19217 ../build/NEWS:20868 ../build/NEWS:25337 -msgid "" -":issue:`33469`: Fix RuntimeError after closing loop that used run_in_executor" -msgstr "" - -#: ../build/NEWS:19219 ../build/NEWS:20870 ../build/NEWS:25335 -msgid ":issue:`33672`: Fix Task.__repr__ crash with Cython's bogus coroutines" -msgstr "" - -#: ../build/NEWS:19221 ../build/NEWS:20872 -msgid "" -":issue:`33654`: Fix transport.set_protocol() to support switching between " -"asyncio.Protocol and asyncio.BufferedProtocol. Fix loop.start_tls() to work " -"with asyncio.BufferedProtocols." -msgstr "" - -#: ../build/NEWS:19225 ../build/NEWS:20876 -msgid "" -":issue:`33652`: Pickles of type variables and subscripted generics are now " -"future-proof and compatible with older Python versions." -msgstr "" - -#: ../build/NEWS:19228 ../build/NEWS:20879 -msgid ":issue:`32493`: Fixed :func:`uuid.uuid1` on FreeBSD." -msgstr "" - -#: ../build/NEWS:19230 -msgid "" -":issue:`33238`: Add ``InvalidStateError`` to :mod:`concurrent.futures`. " -"``Future.set_result`` and ``Future.set_exception`` now raise " -"``InvalidStateError`` if the futures are not pending or running. Patch by " -"Jason Haydaman." -msgstr "" - -#: ../build/NEWS:19235 ../build/NEWS:20881 -msgid "" -":issue:`33618`: Finalize and document preliminary and experimental TLS 1.3 " -"support with OpenSSL 1.1.1" -msgstr "" - -#: ../build/NEWS:19238 -msgid "" -":issue:`33625`: Release GIL on `grp.getgrnam`, `grp.getgrgid`, `pwd." -"getpwnam` and `pwd.getpwuid` if reentrant variants of these functions are " -"available. Patch by William Grzybowski." -msgstr "" - -#: ../build/NEWS:19242 ../build/NEWS:20884 -msgid "" -":issue:`33623`: Fix possible SIGSGV when asyncio.Future is created in __del__" -msgstr "" - -#: ../build/NEWS:19244 ../build/NEWS:20750 ../build/NEWS:25339 -msgid "" -":issue:`11874`: Use a better regex when breaking usage into wrappable parts. " -"Avoids bogus assertion errors from custom metavar strings." -msgstr "" - -#: ../build/NEWS:19247 ../build/NEWS:20886 ../build/NEWS:25342 -msgid "" -":issue:`30877`: Fixed a bug in the Python implementation of the JSON decoder " -"that prevented the cache of parsed strings from clearing after finishing the " -"decoding. Based on patch by c-fos." -msgstr "" - -#: ../build/NEWS:19251 -msgid "" -":issue:`33604`: Remove HMAC default to md5 marked for removal in 3.8 " -"(removal originally planned in 3.6, bump to 3.8 in PR 7062)." -msgstr "" - -#: ../build/NEWS:19254 ../build/NEWS:20753 -msgid ":issue:`33582`: Emit a deprecation warning for inspect.formatargspec" -msgstr "" - -#: ../build/NEWS:19256 -msgid "" -":issue:`21145`: Add ``functools.cached_property`` decorator, for computed " -"properties cached for the life of the instance." -msgstr "" - -#: ../build/NEWS:19259 ../build/NEWS:20890 -msgid "" -":issue:`33570`: Change TLS 1.3 cipher suite settings for compatibility with " -"OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 ciphers " -"enabled by default." -msgstr "" - -#: ../build/NEWS:19263 ../build/NEWS:20894 -msgid "" -":issue:`28556`: Do not simplify arguments to `typing.Union`. Now " -"`Union[Manager, Employee]` is not simplified to `Employee` at runtime. Such " -"simplification previously caused several bugs and limited possibilities for " -"introspection." -msgstr "" - -#: ../build/NEWS:19268 -msgid "" -":issue:`12486`: :func:`tokenize.generate_tokens` is now documented as a " -"public API to tokenize unicode strings. It was previously present but " -"undocumented." -msgstr "" - -#: ../build/NEWS:19272 ../build/NEWS:20899 -msgid "" -":issue:`33540`: Add a new ``block_on_close`` class attribute to " -"``ForkingMixIn`` and ``ThreadingMixIn`` classes of :mod:`socketserver`." -msgstr "" - -#: ../build/NEWS:19275 ../build/NEWS:20902 ../build/NEWS:25346 -msgid "" -":issue:`33548`: tempfile._candidate_tempdir_list should consider common TEMP " -"locations" -msgstr "" - -#: ../build/NEWS:19278 ../build/NEWS:20905 -msgid "" -":issue:`33109`: argparse subparsers are once again not required by default, " -"reverting the change in behavior introduced by :issue:`26510` in 3.7.0a2." -msgstr "" - -#: ../build/NEWS:19281 -msgid "" -":issue:`33541`: Remove unused private method ``_strptime.LocaleTime.__pad`` " -"(a.k.a. ``_LocaleTime__pad``)." -msgstr "" - -#: ../build/NEWS:19284 ../build/NEWS:20908 -msgid "" -":issue:`33536`: dataclasses.make_dataclass now checks for invalid field " -"names and duplicate fields. Also, added a check for invalid field " -"specifications." -msgstr "" - -#: ../build/NEWS:19288 ../build/NEWS:20912 ../build/NEWS:25349 -msgid "" -":issue:`33542`: Prevent ``uuid.get_node`` from using a DUID instead of a MAC " -"on Windows. Patch by Zvi Effron" -msgstr "" - -#: ../build/NEWS:19291 ../build/NEWS:20915 ../build/NEWS:25352 -msgid "" -":issue:`26819`: Fix race condition with `ReadTransport.resume_reading` in " -"Windows proactor event loop." -msgstr "" - -#: ../build/NEWS:19294 ../build/NEWS:20918 -msgid "" -"Fix failure in `typing.get_type_hints()` when ClassVar was provided as a " -"string forward reference." -msgstr "" - -#: ../build/NEWS:19297 -msgid "" -":issue:`33516`: :class:`unittest.mock.MagicMock` now supports the " -"``__round__`` magic method." -msgstr "" - -#: ../build/NEWS:19300 -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 "" - -#: ../build/NEWS:19305 -msgid "" -":issue:`28167`: Remove platform.linux_distribution, which was deprecated " -"since 3.5." -msgstr "" - -#: ../build/NEWS:19308 -msgid "" -":issue:`33504`: Switch the default dictionary implementation for :mod:" -"`configparser` from :class:`collections.OrderedDict` to the standard :class:" -"`dict` type." -msgstr "" - -#: ../build/NEWS:19312 ../build/NEWS:20921 -msgid "" -":issue:`33505`: Optimize asyncio.ensure_future() by reordering if checks: " -"1.17x faster." -msgstr "" - -#: ../build/NEWS:19315 ../build/NEWS:20924 -msgid "" -":issue:`33497`: Add errors param to cgi.parse_multipart and make an encoding " -"in FieldStorage use the given errors (needed for Twisted). Patch by Amber " -"Brown." -msgstr "" - -#: ../build/NEWS:19319 -msgid "" -":issue:`29235`: The :class:`cProfile.Profile` class can now be used as a " -"context manager. Patch by Scott Sanderson." -msgstr "" - -#: ../build/NEWS:19322 ../build/NEWS:20928 -msgid "" -":issue:`33495`: Change dataclasses.Fields repr to use the repr of each of " -"its members, instead of str. This makes it more clear what each field " -"actually represents. This is especially true for the 'type' member." -msgstr "" - -#: ../build/NEWS:19326 -msgid "" -":issue:`26103`: Correct ``inspect.isdatadescriptor`` to look for ``__set__`` " -"or ``__delete__``. Patch by Aaron Hall." -msgstr "" - -#: ../build/NEWS:19329 -msgid "" -":issue:`29209`: Removed the ``doctype()`` method and the *html* parameter of " -"the constructor of :class:`~xml.etree.ElementTree.XMLParser`. The " -"``doctype()`` method defined in a subclass will no longer be called. " -"Deprecated methods ``getchildren()`` and ``getiterator()`` in the :mod:`~xml." -"etree.ElementTree` module emit now a :exc:`DeprecationWarning` instead of :" -"exc:`PendingDeprecationWarning`." -msgstr "" - -#: ../build/NEWS:19336 ../build/NEWS:20932 -msgid "" -":issue:`33453`: Fix dataclasses to work if using literal string type " -"annotations or if using PEP 563 \"Postponed Evaluation of Annotations\". " -"Only specific string prefixes are detected for both ClassVar (\"ClassVar\" " -"and \"typing.ClassVar\") and InitVar (\"InitVar\" and \"dataclasses." -"InitVar\")." -msgstr "" - -#: ../build/NEWS:19341 ../build/NEWS:20937 ../build/NEWS:25355 -msgid "" -":issue:`28556`: Minor fixes in typing module: add annotations to " -"``NamedTuple.__new__``, pass ``*args`` and ``**kwds`` in ``Generic." -"__new__``. Original PRs by Paulius Šarka and Chad Dombrova." -msgstr "" - -#: ../build/NEWS:19345 -msgid "" -":issue:`33365`: Print the header values besides the header keys instead just " -"the header keys if *debuglevel* is set to >0 in :mod:`http.client`. Patch by " -"Marco Strigl." -msgstr "" - -#: ../build/NEWS:19349 ../build/NEWS:20941 ../build/NEWS:25359 -msgid "" -":issue:`20087`: Updated alias mapping with glibc 2.27 supported locales." -msgstr "" - -#: ../build/NEWS:19351 ../build/NEWS:20943 ../build/NEWS:25361 -msgid "" -":issue:`33422`: Fix trailing quotation marks getting deleted when looking up " -"byte/string literals on pydoc. Patch by Andrés Delfino." -msgstr "" - -#: ../build/NEWS:19354 ../build/NEWS:20946 -msgid "" -":issue:`28167`: The function ``platform.linux_distribution`` and ``platform." -"dist`` now trigger a ``DeprecationWarning`` and have been marked for removal " -"in Python 3.8" -msgstr "" - -#: ../build/NEWS:19358 ../build/NEWS:21053 -msgid ":issue:`33281`: Fix ctypes.util.find_library regression on macOS." -msgstr "" - -#: ../build/NEWS:19360 -msgid "" -":issue:`33311`: Text and html output generated by cgitb does not display " -"parentheses if the current call is done directly in the module. Patch by " -"Stéphane Blondon." -msgstr "" - -#: ../build/NEWS:19364 -msgid "" -":issue:`27300`: The file classes in *tempfile* now accept an *errors* " -"parameter that complements the already existing *encoding*. Patch by " -"Stephan Hohe." -msgstr "" - -#: ../build/NEWS:19367 -msgid "" -":issue:`32933`: :func:`unittest.mock.mock_open` now supports iteration over " -"the file contents. Patch by Tony Flury." -msgstr "" - -#: ../build/NEWS:19370 -msgid "" -":issue:`33217`: Raise :exc:`TypeError` when looking up non-Enum objects in " -"Enum classes and Enum members." -msgstr "" - -#: ../build/NEWS:19373 ../build/NEWS:20950 ../build/NEWS:25364 -msgid "" -":issue:`33197`: Update error message when constructing invalid inspect." -"Parameters Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:19376 ../build/NEWS:21055 ../build/NEWS:25367 -msgid "" -":issue:`33383`: Fixed crash in the get() method of the :mod:`dbm.ndbm` " -"database object when it is called with a single argument." -msgstr "" - -#: ../build/NEWS:19379 -msgid "" -":issue:`33375`: The warnings module now finds the Python file associated " -"with a warning from the code object, rather than the frame's global " -"namespace. This is consistent with how tracebacks and pdb find filenames, " -"and should work better for dynamically executed code." -msgstr "" - -#: ../build/NEWS:19384 -msgid "" -":issue:`33336`: ``imaplib`` now allows ``MOVE`` command in ``IMAP4.uid()`` " -"(RFC 6851: IMAP MOVE Extension) and potentially as a name of supported " -"method of ``IMAP4`` object." -msgstr "" - -#: ../build/NEWS:19388 -msgid ":issue:`32455`: Added *jump* parameter to :func:`dis.stack_effect`." -msgstr "" - -#: ../build/NEWS:19390 -msgid "" -":issue:`27485`: Rename and deprecate undocumented functions in :func:`urllib." -"parse`." -msgstr "" - -#: ../build/NEWS:19393 -msgid "" -":issue:`33332`: Add ``signal.valid_signals()`` to expose the POSIX " -"sigfillset() functionality." -msgstr "" - -#: ../build/NEWS:19396 -msgid "" -":issue:`33251`: `ConfigParser.items()` was fixed so that key-value pairs " -"passed in via `vars` are not included in the resulting output." -msgstr "" - -#: ../build/NEWS:19399 ../build/NEWS:21058 ../build/NEWS:25370 -msgid ":issue:`33329`: Fix multiprocessing regression on newer glibcs" -msgstr "" - -#: ../build/NEWS:19401 -msgid "" -":issue:`33334`: :func:`dis.stack_effect` now supports all defined opcodes " -"including NOP and EXTENDED_ARG." -msgstr "" - -#: ../build/NEWS:19404 ../build/NEWS:21060 ../build/NEWS:25372 -msgid "" -":issue:`991266`: Fix quoting of the ``Comment`` attribute of :class:`http." -"cookies.SimpleCookie`." -msgstr "" - -#: ../build/NEWS:19407 ../build/NEWS:21063 ../build/NEWS:25375 -msgid ":issue:`33131`: Upgrade bundled version of pip to 10.0.1." -msgstr "" - -#: ../build/NEWS:19409 ../build/NEWS:21065 ../build/NEWS:25377 -msgid "" -":issue:`33308`: Fixed a crash in the :mod:`parser` module when converting an " -"ST object to a tree of tuples or lists with ``line_info=False`` and " -"``col_info=True``." -msgstr "" - -#: ../build/NEWS:19413 -msgid "" -":issue:`23403`: lib2to3 now uses pickle protocol 4 for pre-computed grammars." -msgstr "" - -#: ../build/NEWS:19415 ../build/NEWS:21069 -msgid ":issue:`33266`: lib2to3 now recognizes ``rf'...'`` strings." -msgstr "" - -#: ../build/NEWS:19417 ../build/NEWS:21071 -msgid ":issue:`11594`: Ensure line-endings are respected when using lib2to3." -msgstr "" - -#: ../build/NEWS:19419 ../build/NEWS:21073 -msgid "" -":issue:`33254`: Have :func:`importlib.resources.contents` and :meth:" -"`importlib.abc.ResourceReader.contents` return an :term:`iterable` instead " -"of an :term:`iterator`." -msgstr "" - -#: ../build/NEWS:19423 -msgid "" -":issue:`33265`: ``contextlib.ExitStack`` and ``contextlib.AsyncExitStack`` " -"now use a method instead of a wrapper function for exit callbacks." -msgstr "" - -#: ../build/NEWS:19426 ../build/NEWS:20953 ../build/NEWS:25381 -msgid "" -":issue:`33263`: Fix FD leak in `_SelectorSocketTransport` Patch by Vlad " -"Starostin." -msgstr "" - -#: ../build/NEWS:19429 ../build/NEWS:21077 ../build/NEWS:25384 -msgid "" -":issue:`33256`: Fix display of ```` call in the html produced by " -"``cgitb.html()``. Patch by Stéphane Blondon." -msgstr "" - -#: ../build/NEWS:19432 -msgid "" -":issue:`33144`: ``random.Random()`` and its subclassing mechanism got " -"optimized to check only once at class/subclass instantiation time whether " -"its ``getrandbits()`` method can be relied on by other methods, including " -"``randrange()``, for the generation of arbitrarily large random integers. " -"Patch by Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:19438 -msgid "" -":issue:`33185`: Fixed regression when running pydoc with the :option:`-m` " -"switch. (The regression was introduced in 3.7.0b3 by the resolution of :" -"issue:`33053`)" -msgstr "" - -#: ../build/NEWS:19442 -msgid "" -"This fix also changed pydoc to add ``os.getcwd()`` to :data:`sys.path` when " -"necessary, rather than adding ``\".\"``." -msgstr "" - -#: ../build/NEWS:19445 -msgid "" -":issue:`29613`: Added support for the ``SameSite`` cookie flag to the ``http." -"cookies`` module." -msgstr "" - -#: ../build/NEWS:19448 ../build/NEWS:21085 -msgid "" -":issue:`33169`: Delete entries of ``None`` in :data:`sys." -"path_importer_cache` when :meth:`importlib.machinery.invalidate_caches` is " -"called." -msgstr "" - -#: ../build/NEWS:19451 ../build/NEWS:21091 ../build/NEWS:25387 -msgid "" -":issue:`33203`: ``random.Random.choice()`` now raises ``IndexError`` for " -"empty sequences consistently even when called from subclasses without a " -"``getrandbits()`` implementation." -msgstr "" - -#: ../build/NEWS:19455 ../build/NEWS:21095 ../build/NEWS:25391 -msgid "" -":issue:`33224`: Update difflib.mdiff() for :pep:`479`. Convert an uncaught " -"StopIteration in a generator into a return-statement." -msgstr "" - -#: ../build/NEWS:19458 ../build/NEWS:21098 ../build/NEWS:25394 -msgid "" -":issue:`33209`: End framing at the end of C implementation of :func:`pickle." -"Pickler.dump`." -msgstr "" - -#: ../build/NEWS:19461 -msgid "" -":issue:`32861`: The urllib.robotparser's ``__str__`` representation now " -"includes wildcard entries and the \"Crawl-delay\" and \"Request-rate\" " -"fields. Also removes extra newlines that were being appended to the end of " -"the string. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:19466 -msgid "" -":issue:`23403`: ``DEFAULT_PROTOCOL`` in :mod:`pickle` was bumped to 4. " -"Protocol 4 is described in :pep:`3154` and available since Python 3.4. It " -"offers better performance and smaller size compared to protocol 3 introduced " -"in Python 3.0." -msgstr "" - -#: ../build/NEWS:19471 ../build/NEWS:21101 -msgid "" -":issue:`20104`: Improved error handling and fixed a reference leak in :func:" -"`os.posix_spawn()`." -msgstr "" - -#: ../build/NEWS:19474 -msgid "" -":issue:`33106`: Deleting a key from a read-only dbm database raises module " -"specific error instead of KeyError." -msgstr "" - -#: ../build/NEWS:19477 ../build/NEWS:21104 -msgid "" -":issue:`33175`: In dataclasses, Field.__set_name__ now looks up the " -"__set_name__ special method on the class, not the instance, of the default " -"value." -msgstr "" - -#: ../build/NEWS:19481 -msgid "" -":issue:`32380`: Create functools.singledispatchmethod to support generic " -"single dispatch on descriptors and methods." -msgstr "" - -#: ../build/NEWS:19484 ../build/NEWS:21244 -msgid "" -":issue:`33141`: Have Field objects pass through __set_name__ to their " -"default values, if they have their own __set_name__." -msgstr "" - -#: ../build/NEWS:19487 ../build/NEWS:21247 ../build/NEWS:25401 -msgid "" -":issue:`33096`: Allow ttk.Treeview.insert to insert iid that has a false " -"boolean value. Note iid=0 and iid=False would be same. Patch by Garvit " -"Khatri." -msgstr "" - -#: ../build/NEWS:19491 ../build/NEWS:21251 -msgid "" -":issue:`32873`: Treat type variables and special typing forms as immutable " -"by copy and pickle. This fixes several minor issues and inconsistencies, " -"and improves backwards compatibility with Python 3.6." -msgstr "" - -#: ../build/NEWS:19495 ../build/NEWS:21255 -msgid "" -":issue:`33134`: When computing dataclass's __hash__, use the lookup table to " -"contain the function which returns the __hash__ value. This is an " -"improvement over looking up a string, and then testing that string to see " -"what to do." -msgstr "" - -#: ../build/NEWS:19500 ../build/NEWS:21260 ../build/NEWS:25405 -msgid ":issue:`33127`: The ssl module now compiles with LibreSSL 2.7.1." -msgstr "" - -#: ../build/NEWS:19502 ../build/NEWS:21262 -msgid "" -":issue:`32505`: Raise TypeError if a member variable of a dataclass is of " -"type Field, but doesn't have a type annotation." -msgstr "" - -#: ../build/NEWS:19505 ../build/NEWS:21265 -msgid "" -":issue:`33078`: Fix the failure on OSX caused by the tests relying on " -"sem_getvalue" -msgstr "" - -#: ../build/NEWS:19508 ../build/NEWS:21268 -msgid ":issue:`33116`: Add 'Field' to dataclasses.__all__." -msgstr "" - -#: ../build/NEWS:19510 ../build/NEWS:21270 -msgid "" -":issue:`32896`: Fix an error where subclassing a dataclass with a field that " -"uses a default_factory would generate an incorrect class." -msgstr "" - -#: ../build/NEWS:19513 ../build/NEWS:21273 -msgid "" -":issue:`33100`: Dataclasses: If a field has a default value that's a " -"MemberDescriptorType, then it's from that field being in __slots__, not an " -"actual default value." -msgstr "" - -#: ../build/NEWS:19517 ../build/NEWS:21277 -msgid "" -":issue:`32953`: If a non-dataclass inherits from a frozen dataclass, allow " -"attributes to be added to the derived class. Only attributes from the " -"frozen dataclass cannot be assigned to. Require all dataclasses in a " -"hierarchy to be either all frozen or all non-frozen." -msgstr "" - -#: ../build/NEWS:19522 ../build/NEWS:21108 -msgid "" -":issue:`33097`: Raise RuntimeError when ``executor.submit`` is called during " -"interpreter shutdown." -msgstr "" - -#: ../build/NEWS:19525 -msgid "" -":issue:`32968`: Modulo and floor division involving Fraction and float " -"should return float." -msgstr "" - -#: ../build/NEWS:19528 ../build/NEWS:21282 -msgid ":issue:`33061`: Add missing ``NoReturn`` to ``__all__`` in typing.py" -msgstr "" - -#: ../build/NEWS:19530 ../build/NEWS:21284 -msgid "" -":issue:`33078`: Fix the size handling in multiprocessing.Queue when a " -"pickling error occurs." -msgstr "" - -#: ../build/NEWS:19533 ../build/NEWS:21287 ../build/NEWS:25657 -msgid "" -":issue:`33064`: lib2to3 now properly supports trailing commas after " -"``*args`` and ``**kwargs`` in function signatures." -msgstr "" - -#: ../build/NEWS:19536 ../build/NEWS:21290 -msgid "" -":issue:`33056`: FIX properly close leaking fds in concurrent.futures." -"ProcessPoolExecutor." -msgstr "" - -#: ../build/NEWS:19539 ../build/NEWS:21293 ../build/NEWS:25407 -msgid "" -":issue:`33021`: Release the GIL during fstat() calls, avoiding hang of all " -"threads when calling mmap.mmap(), os.urandom(), and random.seed(). Patch by " -"Nir Soffer." -msgstr "" - -#: ../build/NEWS:19543 ../build/NEWS:21297 ../build/NEWS:25660 -msgid "" -":issue:`31804`: Avoid failing in multiprocessing.Process if the standard " -"streams are closed or None at exit." -msgstr "" - -#: ../build/NEWS:19546 -msgid "" -":issue:`33034`: Providing an explicit error message when casting the port " -"property to anything that is not an integer value using ``urlparse()`` and " -"``urlsplit()``. Patch by Matt Eaton." -msgstr "" - -#: ../build/NEWS:19550 -msgid "" -":issue:`30249`: Improve struct.unpack_from() exception messages for problems " -"with the buffer size and offset." -msgstr "" - -#: ../build/NEWS:19553 ../build/NEWS:21300 ../build/NEWS:25663 -msgid "" -":issue:`33037`: Skip sending/receiving data after SSL transport closing." -msgstr "" - -#: ../build/NEWS:19555 ../build/NEWS:21302 ../build/NEWS:25411 -msgid "" -":issue:`27683`: Fix a regression in :mod:`ipaddress` that result of :meth:" -"`hosts` is empty when the network is constructed by a tuple containing an " -"integer mask and only 1 bit left for addresses." -msgstr "" - -#: ../build/NEWS:19559 -msgid "" -":issue:`22674`: Add the strsignal() function in the signal module that " -"returns the system description of the given signal, as returned by " -"strsignal(3)." -msgstr "" - -#: ../build/NEWS:19562 ../build/NEWS:21306 -msgid "" -":issue:`32999`: Fix C implementation of ``ABC.__subclasscheck__(cls, " -"subclass)`` crashed when ``subclass`` is not a type object." -msgstr "" - -#: ../build/NEWS:19565 ../build/NEWS:21309 ../build/NEWS:25667 -msgid "" -":issue:`33009`: Fix inspect.signature() for single-parameter partialmethods." -msgstr "" - -#: ../build/NEWS:19567 ../build/NEWS:21311 ../build/NEWS:25669 -msgid "" -":issue:`32969`: Expose several missing constants in zlib and fix " -"corresponding documentation." -msgstr "" - -#: ../build/NEWS:19570 ../build/NEWS:21314 -msgid "" -":issue:`32056`: Improved exceptions raised for invalid number of channels " -"and sample width when read an audio file in modules :mod:`aifc`, :mod:`wave` " -"and :mod:`sunau`." -msgstr "" - -#: ../build/NEWS:19574 -msgid ":issue:`32970`: Improved disassembly of the MAKE_FUNCTION instruction." -msgstr "" - -#: ../build/NEWS:19576 ../build/NEWS:21318 ../build/NEWS:25415 -msgid "" -":issue:`32844`: Fix wrong redirection of a low descriptor (0 or 1) to stderr " -"in subprocess if another low descriptor is closed." -msgstr "" - -#: ../build/NEWS:19579 ../build/NEWS:21449 -msgid "" -":issue:`32960`: For dataclasses, disallow inheriting frozen from non-frozen " -"classes, and also disallow inheriting non-frozen from frozen classes. This " -"restriction will be relaxed at a future date." -msgstr "" - -#: ../build/NEWS:19583 ../build/NEWS:21453 ../build/NEWS:25672 -msgid "" -":issue:`32713`: Fixed tarfile.itn handling of out-of-bounds float values. " -"Patch by Joffrey Fuhrer." -msgstr "" - -#: ../build/NEWS:19586 ../build/NEWS:20960 -msgid "" -":issue:`32257`: The ssl module now contains OP_NO_RENEGOTIATION constant, " -"available with OpenSSL 1.1.0h or 1.1.1." -msgstr "" - -#: ../build/NEWS:19589 ../build/NEWS:21456 -msgid "" -":issue:`32951`: Direct instantiation of SSLSocket and SSLObject objects is " -"now prohibited. The constructors were never documented, tested, or designed " -"as public constructors. Users were suppose to use ssl.wrap_socket() or " -"SSLContext." -msgstr "" - -#: ../build/NEWS:19594 ../build/NEWS:21461 -msgid "" -":issue:`32929`: Remove the tri-state parameter \"hash\", and add the boolean " -"\"unsafe_hash\". If unsafe_hash is True, add a __hash__ function, but if a " -"__hash__ exists, raise TypeError. If unsafe_hash is False, add a __hash__ " -"based on the values of eq= and frozen=. The unsafe_hash=False behavior is " -"the same as the old hash=None behavior. unsafe_hash=False is the default, " -"just as hash=None used to be." -msgstr "" - -#: ../build/NEWS:19601 ../build/NEWS:21468 -msgid "" -":issue:`32947`: Add OP_ENABLE_MIDDLEBOX_COMPAT and test workaround for " -"TLSv1.3 for future compatibility with OpenSSL 1.1.1." -msgstr "" - -#: ../build/NEWS:19604 -msgid "" -":issue:`32146`: Document the interaction between frozen executables and the " -"spawn and forkserver start methods in multiprocessing." -msgstr "" - -#: ../build/NEWS:19607 ../build/NEWS:21471 ../build/NEWS:25675 -msgid "" -":issue:`30622`: The ssl module now detects missing NPN support in LibreSSL." -msgstr "" - -#: ../build/NEWS:19609 ../build/NEWS:21473 ../build/NEWS:25677 -msgid "" -":issue:`32922`: dbm.open() now encodes filename with the filesystem encoding " -"rather than default encoding." -msgstr "" - -#: ../build/NEWS:19612 -msgid ":issue:`32759`: Free unused arenas in multiprocessing.heap." -msgstr "" - -#: ../build/NEWS:19614 ../build/NEWS:21476 ../build/NEWS:25680 -msgid "" -":issue:`32859`: In ``os.dup2``, don't check every call whether the ``dup3`` " -"syscall exists or not." -msgstr "" - -#: ../build/NEWS:19617 ../build/NEWS:21479 -msgid "" -":issue:`32556`: nt._getfinalpathname, nt._getvolumepathname and nt." -"_getdiskusage now correctly convert from bytes." -msgstr "" - -#: ../build/NEWS:19620 ../build/NEWS:21485 ../build/NEWS:25683 -msgid "" -":issue:`21060`: Rewrite confusing message from setup.py upload from \"No " -"dist file created in earlier command\" to the more helpful \"Must create and " -"upload files in one command\"." -msgstr "" - -#: ../build/NEWS:19624 ../build/NEWS:21321 ../build/NEWS:25687 -msgid "" -":issue:`32857`: In :mod:`tkinter`, ``after_cancel(None)`` now raises a :exc:" -"`ValueError` instead of canceling the first scheduled function. Patch by " -"Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:19628 ../build/NEWS:21489 ../build/NEWS:25691 -msgid "" -":issue:`32852`: Make sure sys.argv remains as a list when running trace." -msgstr "" - -#: ../build/NEWS:19630 -msgid "" -":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " -"implementations for various functions and methods in ``abc``. Creating an " -"ABC subclass and calling ``isinstance`` or ``issubclass`` with an ABC " -"subclass are up to 1.5x faster. In addition, this makes Python start-up up " -"to 10% faster." -msgstr "" - -#: ../build/NEWS:19636 -msgid "" -"Note that the new implementation hides internal registry and caches, " -"previously accessible via private attributes ``_abc_registry``, " -"``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " -"helper methods that can be used instead ``_dump_registry``, " -"``_abc_registry_clear``, and ``_abc_caches_clear``." -msgstr "" - -#: ../build/NEWS:19642 ../build/NEWS:21501 ../build/NEWS:25693 -msgid "" -":issue:`32841`: Fixed `asyncio.Condition` issue which silently ignored " -"cancellation after notifying and cancelling a conditional lock. Patch by Bar " -"Harel." -msgstr "" - -#: ../build/NEWS:19646 ../build/NEWS:21505 -msgid "" -":issue:`32819`: ssl.match_hostname() has been simplified and no longer " -"depends on re and ipaddress module for wildcard and IP addresses. Error " -"reporting for invalid wildcards has been improved." -msgstr "" - -#: ../build/NEWS:19650 -msgid "" -":issue:`19675`: ``multiprocessing.Pool`` no longer leaks processes if its " -"initialization fails." -msgstr "" - -#: ../build/NEWS:19653 ../build/NEWS:21509 -msgid "" -":issue:`32394`: socket: Remove TCP_FASTOPEN,TCP_KEEPCNT,TCP_KEEPIDLE," -"TCP_KEEPINTVL flags on older version Windows during run-time." -msgstr "" - -#: ../build/NEWS:19657 ../build/NEWS:21513 ../build/NEWS:25697 -msgid "" -":issue:`31787`: Fixed refleaks of ``__init__()`` methods in various modules. " -"(Contributed by Oren Milman)" -msgstr "" - -#: ../build/NEWS:19660 ../build/NEWS:21516 ../build/NEWS:25700 -msgid "" -":issue:`30157`: Fixed guessing quote and delimiter in csv.Sniffer.sniff() " -"when only the last field is quoted. Patch by Jake Davis." -msgstr "" - -#: ../build/NEWS:19663 -msgid "" -":issue:`30688`: Added support of ``\\N{name}`` escapes in regular " -"expressions. Based on patch by Jonathan Eunice." -msgstr "" - -#: ../build/NEWS:19666 ../build/NEWS:21519 -msgid "" -":issue:`32792`: collections.ChainMap() preserves the order of the underlying " -"mappings." -msgstr "" - -#: ../build/NEWS:19669 ../build/NEWS:21522 -msgid "" -":issue:`32775`: :func:`fnmatch.translate()` no longer produces patterns " -"which contain set operations. Sets starting with '[' or containing '--', " -"'&&', '~~' or '||' will be interpreted differently in regular expressions in " -"future versions. Currently they emit warnings. fnmatch.translate() now " -"avoids producing patterns containing such sets by accident." -msgstr "" - -#: ../build/NEWS:19675 ../build/NEWS:21528 -msgid "" -":issue:`32622`: Implement native fast sendfile for Windows proactor event " -"loop." -msgstr "" - -#: ../build/NEWS:19677 ../build/NEWS:21530 ../build/NEWS:25706 -msgid "" -":issue:`32777`: Fix a rare but potential pre-exec child process deadlock in " -"subprocess on POSIX systems when marking file descriptors inheritable on " -"exec in the child process. This bug appears to have been introduced in 3.4." -msgstr "" - -#: ../build/NEWS:19682 ../build/NEWS:21535 ../build/NEWS:25711 -msgid "" -":issue:`32647`: The ctypes module used to depend on indirect linking for " -"dlopen. The shared extension is now explicitly linked against libdl on " -"platforms with dl." -msgstr "" - -#: ../build/NEWS:19686 -msgid "" -":issue:`32749`: A :mod:`dbm.dumb` database opened with flags 'r' is now read-" -"only. :func:`dbm.dumb.open` with flags 'r' and 'w' no longer creates a " -"database if it does not exist." -msgstr "" - -#: ../build/NEWS:19690 ../build/NEWS:21539 -msgid ":issue:`32741`: Implement ``asyncio.TimerHandle.when()`` method." -msgstr "" - -#: ../build/NEWS:19692 ../build/NEWS:21541 -msgid ":issue:`32691`: Use mod_spec.parent when running modules with pdb" -msgstr "" - -#: ../build/NEWS:19694 ../build/NEWS:21543 ../build/NEWS:25715 -msgid "" -":issue:`32734`: Fixed ``asyncio.Lock()`` safety issue which allowed " -"acquiring and locking the same lock multiple times, without it being free. " -"Patch by Bar Harel." -msgstr "" - -#: ../build/NEWS:19698 ../build/NEWS:21547 ../build/NEWS:25719 -msgid "" -":issue:`32727`: Do not include name field in SMTP envelope from address. " -"Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:19701 ../build/NEWS:21550 -msgid "" -":issue:`31453`: Add TLSVersion constants and SSLContext.maximum_version / " -"minimum_version attributes. The new API wraps OpenSSL 1.1 https://www." -"openssl.org/docs/man1.1.0/ssl/SSL_CTX_set_min_proto_version.html feature." -msgstr "" - -#: ../build/NEWS:19706 ../build/NEWS:21555 -msgid "" -":issue:`24334`: Internal implementation details of ssl module were cleaned " -"up. The SSLSocket has one less layer of indirection. Owner and session " -"information are now handled by the SSLSocket and SSLObject constructor. " -"Channel binding implementation has been simplified." -msgstr "" - -#: ../build/NEWS:19711 ../build/NEWS:21560 ../build/NEWS:25732 -msgid "" -":issue:`31848`: Fix the error handling in Aifc_read.initfp() when the SSND " -"chunk is not found. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:19714 ../build/NEWS:21563 -msgid "" -":issue:`32585`: Add Ttk spinbox widget to :mod:`tkinter.ttk`. Patch by Alan " -"D Moore." -msgstr "" - -#: ../build/NEWS:19717 -msgid "" -":issue:`32512`: :mod:`profile` CLI accepts `-m module_name` as an " -"alternative to script path." -msgstr "" - -#: ../build/NEWS:19720 -msgid "" -":issue:`8525`: help() on a type now displays builtin subclasses. This is " -"intended primarily to help with notification of more specific exception " -"subclasses." -msgstr "" - -#: ../build/NEWS:19724 -msgid "Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:19726 -msgid "" -":issue:`31639`: http.server now exposes a ThreadingHTTPServer class and uses " -"it when the module is run with ``-m`` to cope with web browsers pre-opening " -"sockets." -msgstr "" - -#: ../build/NEWS:19730 -msgid "" -":issue:`29877`: compileall: import ProcessPoolExecutor only when needed, " -"preventing hangs on low resource platforms" -msgstr "" - -#: ../build/NEWS:19733 ../build/NEWS:21566 -msgid "" -":issue:`32221`: Various functions returning tuple containing IPv6 addresses " -"now omit ``%scope`` part since the same information is already encoded in " -"*scopeid* tuple item. Especially this speeds up :func:`socket.recvfrom` when " -"it receives multicast packet since useless resolving of network interface " -"name is omitted." -msgstr "" - -#: ../build/NEWS:19739 -msgid "" -":issue:`32147`: :func:`binascii.unhexlify` is now up to 2 times faster. " -"Patch by Sergey Fedoseev." -msgstr "" - -#: ../build/NEWS:19742 ../build/NEWS:21572 -msgid "" -":issue:`30693`: The TarFile class now recurses directories in a reproducible " -"way." -msgstr "" - -#: ../build/NEWS:19745 ../build/NEWS:21575 -msgid "" -":issue:`30693`: The ZipFile class now recurses directories in a reproducible " -"way." -msgstr "" - -#: ../build/NEWS:19748 -msgid ":issue:`31680`: Added :data:`curses.ncurses_version`." -msgstr "" - -#: ../build/NEWS:19750 ../build/NEWS:21111 ../build/NEWS:25418 -msgid "" -":issue:`31908`: Fix output of cover files for ``trace`` module command-line " -"tool. Previously emitted cover files only when ``--missing`` option was " -"used. Patch by Michael Selik." -msgstr "" - -#: ../build/NEWS:19754 -msgid "" -":issue:`31608`: Raise a ``TypeError`` instead of crashing if a ``collections." -"deque`` subclass returns a non-deque from ``__new__``. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:19758 -msgid "" -":issue:`31425`: Add support for sockets of the AF_QIPCRTR address family, " -"supported by the Linux kernel. This is used to communicate with services, " -"such as GPS or radio, running on Qualcomm devices. Patch by Bjorn Andersson." -msgstr "" - -#: ../build/NEWS:19763 -msgid "" -":issue:`22005`: Implemented unpickling instances of :class:`~datetime." -"datetime`, :class:`~datetime.date` and :class:`~datetime.time` pickled by " -"Python 2. ``encoding='latin1'`` should be used for successful decoding." -msgstr "" - -#: ../build/NEWS:19768 ../build/NEWS:21329 -msgid "" -":issue:`27645`: :class:`sqlite3.Connection` now exposes a :class:`~sqlite3." -"Connection.backup` method, if the underlying SQLite library is at version " -"3.6.11 or higher. Patch by Lele Gaifax." -msgstr "" - -#: ../build/NEWS:19772 ../build/NEWS:20963 ../build/NEWS:25425 -msgid "" -":issue:`16865`: Support arrays >=2GiB in :mod:`ctypes`. Patch by Segev " -"Finer." -msgstr "" - -#: ../build/NEWS:19774 -msgid "" -":issue:`31508`: Removed support of arguments in `tkinter.ttk.Treeview." -"selection`. It was deprecated in 3.6. Use specialized methods like " -"`selection_set` for changing the selection." -msgstr "" - -#: ../build/NEWS:19778 -msgid "" -":issue:`29456`: Fix bugs in hangul normalization: u1176, u11a7 and u11c3" -msgstr "" - -#: ../build/NEWS:19783 -msgid ":issue:`21257`: Document :func:`http.client.parse_headers`." -msgstr "" - -#: ../build/NEWS:19785 -msgid ":issue:`34764`: Improve example of iter() with 2nd sentinel argument." -msgstr "" - -#: ../build/NEWS:19787 -msgid "" -":issue:`35564`: Explicitly set master_doc variable in conf.py for compliance " -"with Sphinx 2.0" -msgstr "" - -#: ../build/NEWS:19790 -msgid "" -":issue:`35511`: Specified that profile.Profile class doesn't not support " -"enable or disable methods. Also, elaborated that Profile object as a context " -"manager is only supported in cProfile module." -msgstr "" - -#: ../build/NEWS:19794 -msgid ":issue:`10536`: Enhance the gettext docs. Patch by Éric Araujo" -msgstr "" - -#: ../build/NEWS:19796 -msgid "" -":issue:`35089`: Remove mention of ``typing.io`` and ``typing.re``. Their " -"types should be imported from ``typing`` directly." -msgstr "" - -#: ../build/NEWS:19799 -msgid "" -":issue:`35038`: Fix the documentation about an unexisting `f_restricted` " -"attribute in the frame object. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:19802 -msgid "" -":issue:`35042`: Replace PEP XYZ by the pep role and allow to use the direct " -"links to the PEPs." -msgstr "" - -#: ../build/NEWS:19805 -msgid "" -":issue:`35044`: Fix the documentation with the role ``exc`` for the " -"appropriated exception. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:19808 -msgid "" -":issue:`35035`: Rename documentation for :mod:`email.utils` to ``email.utils." -"rst``." -msgstr "" - -#: ../build/NEWS:19811 -msgid "" -":issue:`34967`: Use app.add_object_type() instead of the deprecated Sphinx " -"function app.description_unit()" -msgstr "" - -#: ../build/NEWS:19814 -msgid "" -":issue:`34913`: Add documentation about the new command line interface of " -"the gzip module." -msgstr "" - -#: ../build/NEWS:19817 -msgid "" -":issue:`32174`: chm document displays non-ASCII charaters properly on some " -"MBCS Windows systems." -msgstr "" - -#: ../build/NEWS:19820 -msgid "" -":issue:`11233`: Create availability directive for documentation. Original " -"patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:19823 -msgid "" -":issue:`34790`: Document how passing coroutines to asyncio.wait() can be " -"confusing." -msgstr "" - -#: ../build/NEWS:19826 -msgid "" -":issue:`34552`: Make clear that ``==`` operator sometimes is equivalent to " -"`is`. The ``<``, ``<=``, ``>`` and ``>=`` operators are only defined where " -"they make sense." -msgstr "" - -#: ../build/NEWS:19830 -msgid "" -":issue:`28617`: Fixed info in the stdtypes docs concerning the types that " -"support membership tests." -msgstr "" - -#: ../build/NEWS:19833 -msgid "" -":issue:`20177`: Migrate datetime.date.fromtimestamp to Argument Clinic. " -"Patch by Tim Hoffmann." -msgstr "" - -#: ../build/NEWS:19836 -msgid "" -":issue:`34065`: Fix wrongly written basicConfig documentation markup syntax" -msgstr "" - -#: ../build/NEWS:19838 -msgid "" -":issue:`33460`: replaced ellipsis with correct error codes in tutorial " -"chapter 3." -msgstr "" - -#: ../build/NEWS:19841 -msgid ":issue:`33847`: Add '@' operator entry to index." -msgstr "" - -#: ../build/NEWS:19843 ../build/NEWS:20758 -msgid "" -":issue:`33409`: Clarified the relationship between :pep:`538`'s " -"PYTHONCOERCECLOCALE and PEP 540's PYTHONUTF8 mode." -msgstr "" - -#: ../build/NEWS:19846 -msgid "" -":issue:`33197`: Add versionadded tag to the documentation of ParameterKind." -"description" -msgstr "" - -#: ../build/NEWS:19849 -msgid "" -":issue:`17045`: Improve the C-API doc for PyTypeObject. This includes " -"adding several quick-reference tables and a lot of missing slot/typedef " -"entries. The existing entries were also cleaned up with a slightly more " -"consistent format." -msgstr "" - -#: ../build/NEWS:19854 ../build/NEWS:20761 -msgid "" -":issue:`33736`: Improve the documentation of :func:`asyncio." -"open_connection`, :func:`asyncio.start_server` and their UNIX socket " -"counterparts." -msgstr "" - -#: ../build/NEWS:19857 ../build/NEWS:20968 -msgid "" -":issue:`23859`: Document that `asyncio.wait()` does not cancel its futures " -"on timeout." -msgstr "" - -#: ../build/NEWS:19860 ../build/NEWS:20971 -msgid ":issue:`32436`: Document :pep:`567` changes to asyncio." -msgstr "" - -#: ../build/NEWS:19862 ../build/NEWS:20973 -msgid "" -":issue:`33604`: Update HMAC md5 default to a DeprecationWarning, bump " -"removal to 3.8." -msgstr "" - -#: ../build/NEWS:19865 -msgid "" -":issue:`33594`: Document ``getargspec``, ``from_function`` and " -"``from_builtin`` as deprecated in their respective docstring, and include " -"version since deprecation in DeprecationWarning message." -msgstr "" - -#: ../build/NEWS:19869 ../build/NEWS:20976 ../build/NEWS:25434 -msgid ":issue:`33503`: Fix broken pypi link" -msgstr "" - -#: ../build/NEWS:19871 ../build/NEWS:20978 ../build/NEWS:25436 -msgid "" -":issue:`33421`: Add missing documentation for ``typing.AsyncContextManager``." -msgstr "" - -#: ../build/NEWS:19873 -msgid "" -":issue:`33487`: BZ2file now emit a DeprecationWarning when buffering=None is " -"passed, the deprecation message and documentation also now explicitly state " -"it is deprecated since 3.0." -msgstr "" - -#: ../build/NEWS:19877 ../build/NEWS:21118 ../build/NEWS:25438 -msgid "" -":issue:`33378`: Add Korean language switcher for https://docs.python.org/3/" -msgstr "" - -#: ../build/NEWS:19879 ../build/NEWS:21120 ../build/NEWS:25440 -msgid "" -":issue:`33276`: Clarify that the ``__path__`` attribute on modules cannot be " -"just any value." -msgstr "" - -#: ../build/NEWS:19882 ../build/NEWS:21123 ../build/NEWS:25443 -msgid ":issue:`33201`: Modernize documentation for writing C extension types." -msgstr "" - -#: ../build/NEWS:19884 ../build/NEWS:21125 ../build/NEWS:25445 -msgid "" -":issue:`33195`: Deprecate ``Py_UNICODE`` usage in ``c-api/arg`` document. " -"``Py_UNICODE`` related APIs are deprecated since Python 3.3, but it is " -"missed in the document." -msgstr "" - -#: ../build/NEWS:19888 ../build/NEWS:21336 ../build/NEWS:25449 -msgid ":issue:`33126`: Document PyBuffer_ToContiguous()." -msgstr "" - -#: ../build/NEWS:19890 ../build/NEWS:21338 ../build/NEWS:25451 -msgid "" -":issue:`27212`: Modify documentation for the :func:`islice` recipe to " -"consume initial values up to the start index." -msgstr "" - -#: ../build/NEWS:19893 ../build/NEWS:21341 ../build/NEWS:25454 -msgid "" -":issue:`28247`: Update :mod:`zipapp` documentation to describe how to make " -"standalone applications." -msgstr "" - -#: ../build/NEWS:19896 ../build/NEWS:21344 ../build/NEWS:25457 -msgid "" -":issue:`18802`: Documentation changes for ipaddress. Patch by Jon Foster " -"and Berker Peksag." -msgstr "" - -#: ../build/NEWS:19899 ../build/NEWS:21347 ../build/NEWS:25460 -msgid "" -":issue:`27428`: Update documentation to clarify that " -"``WindowsRegistryFinder`` implements ``MetaPathFinder``. (Patch by Himanshu " -"Lakhara)" -msgstr "" - -#: ../build/NEWS:19902 ../build/NEWS:21581 -msgid "" -":issue:`28124`: The ssl module function ssl.wrap_socket() has been de-" -"emphasized and deprecated in favor of the more secure and efficient " -"SSLContext.wrap_socket() method." -msgstr "" - -#: ../build/NEWS:19906 ../build/NEWS:21585 ../build/NEWS:25790 -msgid ":issue:`17232`: Clarify docs for -O and -OO. Patch by Terry Reedy." -msgstr "" - -#: ../build/NEWS:19908 ../build/NEWS:21587 -msgid ":issue:`32436`: Add documentation for the contextvars module (PEP 567)." -msgstr "" - -#: ../build/NEWS:19910 ../build/NEWS:21589 ../build/NEWS:25792 -msgid ":issue:`32800`: Update link to w3c doc for xml default namespaces." -msgstr "" - -#: ../build/NEWS:19912 ../build/NEWS:21591 -msgid ":issue:`11015`: Update :mod:`test.support` documentation." -msgstr "" - -#: ../build/NEWS:19914 -msgid "" -":issue:`32613`: Update the faq/windows.html to use the py command from PEP " -"397 instead of python." -msgstr "" - -#: ../build/NEWS:19917 ../build/NEWS:21593 ../build/NEWS:25794 -msgid "" -":issue:`8722`: Document :meth:`__getattr__` behavior when property :meth:" -"`get` method raises :exc:`AttributeError`." -msgstr "" - -#: ../build/NEWS:19920 ../build/NEWS:21596 ../build/NEWS:25797 -msgid "" -":issue:`32614`: Modify RE examples in documentation to use raw strings to " -"prevent :exc:`DeprecationWarning` and add text to REGEX HOWTO to highlight " -"the deprecation." -msgstr "" - -#: ../build/NEWS:19924 -msgid "" -":issue:`20709`: Remove the paragraph where we explain that os.utime() does " -"not support a directory as path under Windows. Patch by Jan-Philip Gehrcke" -msgstr "" - -#: ../build/NEWS:19927 -msgid "" -":issue:`32722`: Remove the bad example in the tutorial of the Generator " -"Expression. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:19930 ../build/NEWS:21600 ../build/NEWS:25801 -msgid ":issue:`31972`: Improve docstrings for `pathlib.PurePath` subclasses." -msgstr "" - -#: ../build/NEWS:19932 -msgid "" -":issue:`30607`: Use the externalized ``python-docs-theme`` package when " -"building the documentation." -msgstr "" - -#: ../build/NEWS:19935 ../build/NEWS:21129 ../build/NEWS:25463 -msgid "" -":issue:`8243`: Add a note about curses.addch and curses.addstr exception " -"behavior when writing outside a window, or pad." -msgstr "" - -#: ../build/NEWS:19938 ../build/NEWS:21132 -msgid ":issue:`32337`: Update documentation related with ``dict`` order." -msgstr "" - -#: ../build/NEWS:19940 -msgid ":issue:`25041`: Document ``AF_PACKET`` in the :mod:`socket` module." -msgstr "" - -#: ../build/NEWS:19942 ../build/NEWS:20764 ../build/NEWS:25466 -msgid "" -":issue:`31432`: Clarify meaning of CERT_NONE, CERT_OPTIONAL, and " -"CERT_REQUIRED flags for ssl.SSLContext.verify_mode." -msgstr "" - -#: ../build/NEWS:19948 -msgid "" -":issue:`35772`: Fix sparse file tests of test_tarfile on ppc64 with the " -"tmpfs filesystem. Fix the function testing if the filesystem supports sparse " -"files: create a file which contains data and \"holes\", instead of creating " -"a file which contains no data. tmpfs effective block size is a page size " -"(tmpfs lives in the page cache). RHEL uses 64 KiB pages on aarch64, ppc64, " -"ppc64le, only s390x and x86_64 use 4 KiB pages, whereas the test punch holes " -"of 4 KiB." -msgstr "" - -#: ../build/NEWS:19956 -msgid "" -":issue:`35045`: Make ssl tests less strict and also accept TLSv1 as system " -"default. The changes unbreaks test_min_max_version on Fedora 29." -msgstr "" - -#: ../build/NEWS:19959 -msgid "" -":issue:`32710`: ``test_asyncio/test_sendfile.py`` now resets the event loop " -"policy using :func:`tearDownModule` as done in other tests, to prevent a " -"warning when running tests on Windows." -msgstr "" - -#: ../build/NEWS:19963 -msgid "" -":issue:`33717`: test.pythoninfo now logs information of all clocks, not only " -"time.time() and time.perf_counter()." -msgstr "" - -#: ../build/NEWS:19966 -msgid "" -":issue:`35488`: Add a test to pathlib's Path.match() to verify it does not " -"support glob-style ** recursive pattern matching." -msgstr "" - -#: ../build/NEWS:19969 -msgid "" -":issue:`31731`: Fix a race condition in ``check_interrupted_write()`` of " -"test_io: create directly the thread with SIGALRM signal blocked, rather than " -"blocking the signal later from the thread. Previously, it was possible that " -"the thread gets the signal before the signal is blocked." -msgstr "" - -#: ../build/NEWS:19974 -msgid "" -":issue:`35424`: Fix test_multiprocessing_main_handling: use :class:" -"`multiprocessing.Pool` with a context manager and then explicitly join the " -"pool." -msgstr "" - -#: ../build/NEWS:19978 -msgid "" -":issue:`35519`: Rename :mod:`test.bisect` module to :mod:`test.bisect_cmd` " -"to avoid conflict with :mod:`bisect` module when running directly a test " -"like ``./python Lib/test/test_xmlrpc.py``." -msgstr "" - -#: ../build/NEWS:19982 -msgid "" -":issue:`35513`: Replace :func:`time.time` with :func:`time.monotonic` in " -"tests to measure time delta." -msgstr "" - -#: ../build/NEWS:19985 -msgid "" -":issue:`34279`: :func:`test.support.run_unittest` no longer raise :exc:" -"`TestDidNotRun` if the test result contains skipped tests. The exception is " -"now only raised if no test have been run and no test have been skipped." -msgstr "" - -#: ../build/NEWS:19990 -msgid "" -":issue:`35412`: Add testcase to ``test_future4``: check unicode literal." -msgstr "" - -#: ../build/NEWS:19992 -msgid "" -":issue:`26704`: Added test demonstrating double-patching of an instance " -"method. Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:19995 -msgid "" -":issue:`33725`: test_multiprocessing_fork may crash on recent versions of " -"macOS. Until the issue is resolved, skip the test on macOS." -msgstr "" - -#: ../build/NEWS:19998 -msgid "" -":issue:`35352`: Modify test_asyncio to use the certificate set from the test " -"directory." -msgstr "" - -#: ../build/NEWS:20001 -msgid "" -":issue:`35317`: Fix ``mktime()`` overflow error in ``test_email``: run " -"``test_localtime_daylight_true_dst_true()`` and " -"``test_localtime_daylight_false_dst_true()`` with a specific timezone." -msgstr "" - -#: ../build/NEWS:20005 -msgid "" -":issue:`21263`: After several reports that test_gdb does not work properly " -"on macOS and since gdb is not shipped by default anymore, test_gdb is now " -"skipped on macOS when LLVM Clang has been used to compile Python. Patch by " -"Lysandros Nikolaou" -msgstr "" - -#: ../build/NEWS:20010 -msgid "" -":issue:`34279`: regrtest issue a warning when no tests have been executed in " -"a particular test file. Also, a new final result state is issued if no test " -"have been executed across all test files. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:20014 -msgid ":issue:`34962`: make docstest in Doc now passes., and is enforced in CI" -msgstr "" - -#: ../build/NEWS:20016 -msgid "" -":issue:`23596`: Use argparse for the command line of the gzip module. Patch " -"by Antony Lee" -msgstr "" - -#: ../build/NEWS:20019 -msgid "" -":issue:`34537`: Fix ``test_gdb.test_strings()`` when ``LC_ALL=C`` and GDB " -"was compiled with Python 3.6 or earlier." -msgstr "" - -#: ../build/NEWS:20022 -msgid "" -":issue:`34587`: test_socket: Remove RDSTest.testCongestion(). The test tries " -"to fill the receiver's socket buffer and expects an error. But the RDS " -"protocol doesn't require that. Moreover, the Linux implementation of RDS " -"expects that the producer of the messages reduces its rate, it's not the " -"role of the receiver to trigger an error. The test fails on Fedora 28 by " -"design, so just remove it." -msgstr "" - -#: ../build/NEWS:20029 -msgid ":issue:`34661`: Fix test_shutil if unzip doesn't support -t." -msgstr "" - -#: ../build/NEWS:20031 -msgid "" -":issue:`34200`: Fixed non-deterministic flakiness of test_pkg by not using " -"the scary test.support.module_cleanup() logic to save and restore sys." -"modules contents between test cases." -msgstr "" - -#: ../build/NEWS:20035 -msgid "" -":issue:`34569`: The experimental PEP 554 data channels now correctly pass " -"negative PyLong objects between subinterpreters on 32-bit systems. Patch by " -"Michael Felt." -msgstr "" - -#: ../build/NEWS:20039 -msgid ":issue:`34594`: Fix usage of hardcoded ``errno`` values in the tests." -msgstr "" - -#: ../build/NEWS:20041 -msgid ":issue:`34579`: Fix test_embed for AIX Patch by Michael Felt" -msgstr "" - -#: ../build/NEWS:20043 -msgid "" -":issue:`34542`: Use 3072 RSA keys and SHA-256 signature for test certs and " -"keys." -msgstr "" - -#: ../build/NEWS:20046 -msgid "" -":issue:`11193`: Remove special condition for AIX in `test_subprocess." -"test_undecodable_env`" -msgstr "" - -#: ../build/NEWS:20049 -msgid ":issue:`34347`: Fix `test_utf8_mode.test_cmd_line` for AIX" -msgstr "" - -#: ../build/NEWS:20051 -msgid "" -":issue:`34490`: On AIX with AF_UNIX family sockets getsockname() does not " -"provide 'sockname', so skip calls to transport.get_extra_info('sockname')" -msgstr "" - -#: ../build/NEWS:20054 -msgid "" -":issue:`34391`: Fix ftplib test for TLS 1.3 by reading from data socket." -msgstr "" - -#: ../build/NEWS:20056 -msgid "" -":issue:`11192`: Fix `test_socket` on AIX 6.1 and later IPv6 zone id supports " -"only supported by inet_pton6_zone() Switch to runtime-based platform." -"system() to establish current platform rather than build-time based sys." -"platform()" -msgstr "" - -#: ../build/NEWS:20061 -msgid "" -":issue:`34399`: Update all RSA keys and DH params to use at least 2048 bits." -msgstr "" - -#: ../build/NEWS:20063 -msgid "" -":issue:`34373`: Fix ``test_mktime`` and ``test_pthread_getcpuclickid`` tests " -"for AIX Add range checking for ``_PyTime_localtime`` for AIX Patch by " -"Michael Felt" -msgstr "" - -#: ../build/NEWS:20067 -msgid "" -":issue:`11191`: Skip the distutils test 'test_search_cpp' when using XLC as " -"compiler patch by aixtools (Michael Felt)" -msgstr "" - -#: ../build/NEWS:20070 -msgid "Improved an error message when mock assert_has_calls fails." -msgstr "" - -#: ../build/NEWS:20072 -msgid ":issue:`33746`: Fix test_unittest when run in verbose mode." -msgstr "" - -#: ../build/NEWS:20074 -msgid "" -":issue:`33901`: Fix test_dbm_gnu on macOS with gdbm 1.15: add a larger value " -"to make sure that the file size changes." -msgstr "" - -#: ../build/NEWS:20077 -msgid "" -":issue:`33873`: Fix a bug in ``regrtest`` that caused an extra test to run " -"if --huntrleaks/-R was used. Exit with error in case that invalid parameters " -"are specified to --huntrleaks/-R (at least one warmup run and one repetition " -"must be used)." -msgstr "" - -#: ../build/NEWS:20082 -msgid "" -":issue:`33562`: Check that a global asyncio event loop policy is not left " -"behind by any tests." -msgstr "" - -#: ../build/NEWS:20085 ../build/NEWS:20983 ../build/NEWS:25472 -msgid "" -":issue:`33655`: Ignore test_posix_fallocate failures on BSD platforms that " -"might be due to running on ZFS." -msgstr "" - -#: ../build/NEWS:20088 -msgid "" -":issue:`32962`: Fixed test_gdb when Python is compiled with flags -mcet -fcf-" -"protection -O0." -msgstr "" - -#: ../build/NEWS:20091 ../build/NEWS:21137 -msgid "" -":issue:`33358`: Fix ``test_embed.test_pre_initialization_sys_options()`` " -"when the interpreter is built with ``--enable-shared``." -msgstr "" - -#: ../build/NEWS:20094 ../build/NEWS:21353 ../build/NEWS:25585 -msgid "" -":issue:`32872`: Avoid regrtest compatibility issue with namespace packages." -msgstr "" - -#: ../build/NEWS:20096 ../build/NEWS:21355 ../build/NEWS:25810 -msgid "" -":issue:`32517`: Fix failing ``test_asyncio`` on macOS 10.12.2+ due to " -"transport of ``KqueueSelector`` loop was not being closed." -msgstr "" - -#: ../build/NEWS:20099 -msgid "" -":issue:`32663`: Making sure the `SMTPUTF8SimTests` class of tests gets run " -"in test_smtplib.py." -msgstr "" - -#: ../build/NEWS:20102 -msgid "" -":issue:`27643`: Test_C test case needs \"signed short\" bitfields, but the " -"IBM XLC compiler (on AIX) does not support this Skip the code and test when " -"AIX and XLC are used" -msgstr "" - -#: ../build/NEWS:20106 -msgid "Applicable to Python2-2.7 and later" -msgstr "" - -#: ../build/NEWS:20108 ../build/NEWS:21358 ../build/NEWS:25475 -msgid ":issue:`19417`: Add test_bdb.py." -msgstr "" - -#: ../build/NEWS:20110 ../build/NEWS:21605 -msgid ":issue:`31809`: Add tests to verify connection with secp ECDH curves." -msgstr "" - -#: ../build/NEWS:20115 -msgid "" -":issue:`34691`: The _contextvars module is now built into the core Python " -"library on Windows." -msgstr "" - -#: ../build/NEWS:20118 -msgid "" -":issue:`35683`: Improved Azure Pipelines build steps and now verifying " -"layouts correctly" -msgstr "" - -#: ../build/NEWS:20121 -msgid ":issue:`35642`: Remove asynciomodule.c from pythoncore.vcxproj" -msgstr "" - -#: ../build/NEWS:20123 -msgid "" -":issue:`35550`: Fix incorrect Solaris #ifdef checks to look for __sun && " -"__SVR4 instead of sun when compiling." -msgstr "" - -#: ../build/NEWS:20126 -msgid "" -":issue:`35499`: ``make profile-opt`` no longer replaces ``CFLAGS_NODIST`` " -"with ``CFLAGS``. It now adds profile-guided optimization (PGO) flags to " -"``CFLAGS_NODIST``: existing ``CFLAGS_NODIST`` flags are kept." -msgstr "" - -#: ../build/NEWS:20130 -msgid "" -":issue:`35257`: Avoid leaking the linker flags from Link Time Optimizations " -"(LTO) into distutils when compiling C extensions." -msgstr "" - -#: ../build/NEWS:20133 -msgid "" -":issue:`35351`: When building Python with clang and LTO, LTO flags are no " -"longer passed into CFLAGS to build third-party C extensions through " -"distutils." -msgstr "" - -#: ../build/NEWS:20137 -msgid "" -":issue:`35139`: Fix a compiler error when statically linking `pyexpat` in " -"`Modules/Setup`." -msgstr "" - -#: ../build/NEWS:20140 -msgid "" -":issue:`35059`: PCbuild: Set InlineFunctionExpansion to OnlyExplicitInline " -"(\"/Ob1\" option) in pyproject.props in Debug mode to expand functions " -"marked as inline. This change should make Python compiled in Debug mode a " -"little bit faster on Windows." -msgstr "" - -#: ../build/NEWS:20145 -msgid "" -":issue:`35011`: Restores the use of pyexpatns.h to isolate our embedded copy " -"of the expat C library so that its symbols do not conflict at link or " -"dynamic loading time with an embedding application or other extension " -"modules with their own version of libexpat." -msgstr "" - -#: ../build/NEWS:20150 -msgid ":issue:`28015`: Have --with-lto works correctly with clang." -msgstr "" - -#: ../build/NEWS:20152 -msgid "" -":issue:`34765`: Update the outdated install-sh file to the latest revision " -"from automake v1.16.1" -msgstr "" - -#: ../build/NEWS:20155 -msgid "" -":issue:`34585`: Check for floating-point byte order in configure.ac using " -"compilation tests instead of executing code, so that these checks work in " -"cross-compiled builds." -msgstr "" - -#: ../build/NEWS:20159 -msgid ":issue:`34710`: Fixed SSL module build with OpenSSL & pedantic CFLAGS." -msgstr "" - -#: ../build/NEWS:20161 -msgid "" -":issue:`34582`: Add JUnit XML output for regression tests and update Azure " -"DevOps builds." -msgstr "" - -#: ../build/NEWS:20164 -msgid ":issue:`34081`: Make Sphinx warnings as errors in the Docs Makefile." -msgstr "" - -#: ../build/NEWS:20166 -msgid "" -":issue:`34555`: Fix for case where it was not possible to have both " -"``HAVE_LINUX_VM_SOCKETS_H`` and ``HAVE_SOCKADDR_ALG`` be undefined." -msgstr "" - -#: ../build/NEWS:20169 -msgid "" -":issue:`33015`: Fix an undefined behaviour in the pthread implementation of :" -"c:func:`PyThread_start_new_thread`: add a function wrapper to always return " -"``NULL``." -msgstr "" - -#: ../build/NEWS:20173 -msgid "" -":issue:`34245`: The Python shared library is now installed with write " -"permission (mode 0755), which is the standard way of installing such " -"libraries." -msgstr "" - -#: ../build/NEWS:20177 -msgid ":issue:`34121`: Fix detection of C11 atomic support on clang." -msgstr "" - -#: ../build/NEWS:20179 -msgid "" -":issue:`32430`: Rename Modules/Setup.dist to Modules/Setup, and remove the " -"necessity to copy the former manually to the latter when updating the local " -"source tree." -msgstr "" - -#: ../build/NEWS:20183 -msgid "" -":issue:`30345`: Add -g to LDFLAGS when compiling with LTO to get debug " -"symbols." -msgstr "" - -#: ../build/NEWS:20185 ../build/NEWS:20770 ../build/NEWS:25480 -msgid "" -":issue:`5755`: Move ``-Wstrict-prototypes`` option to ``CFLAGS_NODIST`` from " -"``OPT``. This option emitted annoying warnings when building extension " -"modules written in C++." -msgstr "" - -#: ../build/NEWS:20189 ../build/NEWS:20992 ../build/NEWS:25484 -msgid "" -":issue:`33614`: Ensures module definition files for the stable ABI on " -"Windows are correctly regenerated." -msgstr "" - -#: ../build/NEWS:20192 -msgid "" -":issue:`33648`: The --with-c-locale-warning configuration flag has been " -"removed. It has had no effect for about a year." -msgstr "" - -#: ../build/NEWS:20195 ../build/NEWS:20995 ../build/NEWS:25487 -msgid "" -":issue:`33522`: Enable CI builds on Visual Studio Team Services at https://" -"python.visualstudio.com/cpython" -msgstr "" - -#: ../build/NEWS:20198 -msgid "" -":issue:`33512`: configure's check for \"long double\" has been simplified" -msgstr "" - -#: ../build/NEWS:20200 -msgid "" -":issue:`33483`: C compiler is now correctly detected from the standard " -"environment variables. --without-gcc and --with-icc options have been " -"removed." -msgstr "" - -#: ../build/NEWS:20204 ../build/NEWS:21143 ../build/NEWS:25494 -msgid "" -":issue:`33394`: Enable the verbose build for extension modules, when GNU " -"make is passed macros on the command line." -msgstr "" - -#: ../build/NEWS:20207 ../build/NEWS:21146 -msgid ":issue:`33393`: Update config.guess and config.sub files." -msgstr "" - -#: ../build/NEWS:20209 ../build/NEWS:21148 -msgid "" -":issue:`33377`: Add new triplets for mips r6 and riscv variants (used in " -"extension suffixes)." -msgstr "" - -#: ../build/NEWS:20212 ../build/NEWS:21151 -msgid "" -":issue:`32232`: By default, modules configured in `Modules/Setup` are no " -"longer built with `-DPy_BUILD_CORE`. Instead, modules that specifically need " -"that preprocessor definition include it in their individual entries." -msgstr "" - -#: ../build/NEWS:20216 ../build/NEWS:21155 -msgid "" -":issue:`33182`: The embedding tests can once again be built with clang 6.0" -msgstr "" - -#: ../build/NEWS:20218 ../build/NEWS:21363 ../build/NEWS:25590 -msgid ":issue:`33163`: Upgrade pip to 9.0.3 and setuptools to v39.0.1." -msgstr "" - -#: ../build/NEWS:20220 -msgid "" -":issue:`33012`: gcc 8 has added a new warning heuristic to detect invalid " -"function casts and a stock python build seems to hit that warning quite " -"often. The most common is the cast of a METH_NOARGS function (that uses " -"just one argument) to a PyCFunction. Fix this by adding a dummy argument to " -"all functions that implement METH_NOARGS." -msgstr "" - -#: ../build/NEWS:20226 ../build/NEWS:21610 -msgid ":issue:`32898`: Fix the python debug build when using COUNT_ALLOCS." -msgstr "" - -#: ../build/NEWS:20228 -msgid ":issue:`29442`: Replace optparse with argparse in setup.py" -msgstr "" - -#: ../build/NEWS:20233 -msgid ":issue:`35890`: Fix API calling consistency of GetVersionEx and wcstok." -msgstr "" - -#: ../build/NEWS:20235 -msgid "" -":issue:`32560`: The ``py`` launcher now forwards its ``STARTUPINFO`` " -"structure to child processes." -msgstr "" - -#: ../build/NEWS:20238 -msgid ":issue:`35854`: Fix EnvBuilder and --symlinks in venv on Windows" -msgstr "" - -#: ../build/NEWS:20240 -msgid "" -":issue:`35811`: Avoid propagating venv settings when launching via py.exe" -msgstr "" - -#: ../build/NEWS:20242 -msgid "" -":issue:`35797`: Fix default executable used by the multiprocessing module" -msgstr "" - -#: ../build/NEWS:20244 -msgid ":issue:`35758`: Allow building on ARM with MSVC." -msgstr "" - -#: ../build/NEWS:20246 -msgid ":issue:`29734`: Fix handle leaks in os.stat on Windows." -msgstr "" - -#: ../build/NEWS:20248 -msgid "" -":issue:`35596`: Use unchecked PYCs for the embeddable distro to avoid " -"zipimport restrictions." -msgstr "" - -#: ../build/NEWS:20251 -msgid "" -":issue:`35596`: Fix vcruntime140.dll being added to embeddable distro " -"multiple times." -msgstr "" - -#: ../build/NEWS:20254 -msgid ":issue:`35402`: Update Windows build to use Tcl and Tk 8.6.9" -msgstr "" - -#: ../build/NEWS:20256 -msgid ":issue:`35401`: Updates Windows build to OpenSSL 1.1.0j" -msgstr "" - -#: ../build/NEWS:20258 -msgid "" -":issue:`34977`: venv on Windows will now use a python.exe redirector rather " -"than copying the actual binaries from the base environment." -msgstr "" - -#: ../build/NEWS:20261 -msgid ":issue:`34977`: Adds support for building a Windows App Store package" -msgstr "" - -#: ../build/NEWS:20263 -msgid "" -":issue:`35067`: Remove _distutils_findvs module and use vswhere.exe instead." -msgstr "" - -#: ../build/NEWS:20265 -msgid ":issue:`32557`: Allow shutil.disk_usage to take a file path on Windows" -msgstr "" - -#: ../build/NEWS:20267 -msgid "" -":issue:`34770`: Fix a possible null pointer dereference in pyshellext.cpp." -msgstr "" - -#: ../build/NEWS:20269 -msgid ":issue:`34603`: Fix returning structs from functions produced by MSVC" -msgstr "" - -#: ../build/NEWS:20271 -msgid "" -":issue:`34581`: Guard MSVC-specific code in socketmodule.c with ``#ifdef " -"_MSC_VER``." -msgstr "" - -#: ../build/NEWS:20274 -msgid ":issue:`34532`: Fixes exit code of list version arguments for py.exe." -msgstr "" - -#: ../build/NEWS:20276 -msgid "" -":issue:`34062`: Fixed the '--list' and '--list-paths' arguments for the py." -"exe launcher" -msgstr "" - -#: ../build/NEWS:20279 -msgid "" -":issue:`34225`: Ensure INCLUDE and LIB directories do not end with a " -"backslash." -msgstr "" - -#: ../build/NEWS:20281 -msgid "" -":issue:`34011`: A suite of code has been changed which copied across DLLs " -"and init.tcl from the running Python location into a venv being created. " -"These copies are needed only when running from a Python source build, and " -"the copying code is now only run when that is the case, rather than whenever " -"a venv is created." -msgstr "" - -#: ../build/NEWS:20287 -msgid "" -":issue:`34006`: Revert line length limit for Windows help docs. The line-" -"length limit is not needed because the pages appear in a separate app rather " -"than on a browser tab. It can also interact badly with the DPI setting." -msgstr "" - -#: ../build/NEWS:20291 -msgid "" -":issue:`31546`: Restore running PyOS_InputHook while waiting for user input " -"at the prompt. The restores integration of interactive GUI windows (such as " -"Matplotlib figures) with the prompt on Windows." -msgstr "" - -#: ../build/NEWS:20295 -msgid "" -":issue:`30237`: Output error when ReadConsole is canceled by " -"CancelSynchronousIo instead of crashing." -msgstr "" - -#: ../build/NEWS:20298 -msgid "" -":issue:`33895`: GIL is released while calling functions that acquire Windows " -"loader lock." -msgstr "" - -#: ../build/NEWS:20301 ../build/NEWS:20777 -msgid "" -":issue:`33720`: Reduces maximum marshal recursion depth on release builds." -msgstr "" - -#: ../build/NEWS:20303 -msgid "" -":issue:`29097`: Fix bug where :meth:`datetime.fromtimestamp` erroneously " -"throws an :exc:`OSError` on Windows for values between 0 and 86400. Patch by " -"Ammar Askar." -msgstr "" - -#: ../build/NEWS:20307 -msgid ":issue:`33316`: PyThread_release_lock always fails" -msgstr "" - -#: ../build/NEWS:20309 ../build/NEWS:21160 -msgid ":issue:`33184`: Update Windows installer to use OpenSSL 1.1.0h." -msgstr "" - -#: ../build/NEWS:20311 -msgid "" -":issue:`32890`: Fix usage of GetLastError() instead of errno in os.execve() " -"and os.truncate()." -msgstr "" - -#: ../build/NEWS:20314 ../build/NEWS:21368 ../build/NEWS:25831 -msgid "" -":issue:`33016`: Fix potential use of uninitialized memory in nt." -"_getfinalpathname" -msgstr "" - -#: ../build/NEWS:20317 ../build/NEWS:21371 ../build/NEWS:25834 -msgid "" -":issue:`32903`: Fix a memory leak in os.chdir() on Windows if the current " -"directory is set to a UNC path." -msgstr "" - -#: ../build/NEWS:20320 ../build/NEWS:21615 -msgid ":issue:`32901`: Update Tcl and Tk versions to 8.6.8" -msgstr "" - -#: ../build/NEWS:20322 ../build/NEWS:21617 ../build/NEWS:25837 -msgid ":issue:`31966`: Fixed WindowsConsoleIO.write() for writing empty data." -msgstr "" - -#: ../build/NEWS:20324 ../build/NEWS:21619 ../build/NEWS:25839 -msgid ":issue:`32409`: Ensures activate.bat can handle Unicode contents." -msgstr "" - -#: ../build/NEWS:20326 ../build/NEWS:21621 ../build/NEWS:25841 -msgid "" -":issue:`32457`: Improves handling of denormalized executable path when " -"launching Python." -msgstr "" - -#: ../build/NEWS:20329 ../build/NEWS:21624 ../build/NEWS:25844 -msgid "" -":issue:`32370`: Use the correct encoding for ipconfig output in the uuid " -"module. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:20332 ../build/NEWS:21627 ../build/NEWS:25847 -msgid "" -":issue:`29248`: Fix :func:`os.readlink` on Windows, which was mistakenly " -"treating the ``PrintNameOffset`` field of the reparse data buffer as a " -"number of characters instead of bytes. Patch by Craig Holmquist and SSE4." -msgstr "" - -#: ../build/NEWS:20336 -msgid "" -":issue:`1104`: Correctly handle string length in ``msilib.SummaryInfo." -"GetProperty()`` to prevent it from truncating the last character." -msgstr "" - -#: ../build/NEWS:20343 -msgid ":issue:`35401`: Update macOS installer to use OpenSSL 1.1.0j." -msgstr "" - -#: ../build/NEWS:20345 -msgid "" -":issue:`35025`: Properly guard the use of the ``CLOCK_GETTIME`` et al. " -"macros in ``timemodule`` on macOS." -msgstr "" - -#: ../build/NEWS:20348 -msgid "" -":issue:`24658`: On macOS, fix reading from and writing into a file with a " -"size larger than 2 GiB." -msgstr "" - -#: ../build/NEWS:20351 -msgid ":issue:`34405`: Update to OpenSSL 1.1.0i for macOS installer builds." -msgstr "" - -#: ../build/NEWS:20353 -msgid "" -":issue:`33635`: In macOS stat on some file descriptors (/dev/fd/3 f.e) will " -"result in bad file descriptor OSError. Guard against this exception was " -"added in is_dir, is_file and similar methods. DirEntry.is_dir can also throw " -"this exception so _RecursiveWildcardSelector._iterate_directories was also " -"extended with the same error ignoring pattern." -msgstr "" - -#: ../build/NEWS:20359 ../build/NEWS:21005 -msgid "" -":issue:`13631`: The .editrc file in user's home directory is now processed " -"correctly during the readline initialization through editline emulation on " -"macOS." -msgstr "" - -#: ../build/NEWS:20363 ../build/NEWS:21165 -msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.1.0h." -msgstr "" - -#: ../build/NEWS:20365 ../build/NEWS:21377 -msgid "" -":issue:`32726`: Build and link with private copy of Tcl/Tk 8.6 for the macOS " -"10.6+ installer. The 10.9+ installer variant already does this. This means " -"that the Python 3.7 provided by the python.org macOS installers no longer " -"need or use any external versions of Tcl/Tk, either system-provided or user-" -"installed, such as ActiveTcl." -msgstr "" - -#: ../build/NEWS:20371 ../build/NEWS:21634 -msgid ":issue:`32901`: Update macOS 10.9+ installer to Tcl/Tk 8.6.8." -msgstr "" - -#: ../build/NEWS:20373 -msgid "" -":issue:`31903`: In :mod:`_scproxy`, drop the GIL when calling into " -"``SystemConfiguration`` to avoid deadlocks." -msgstr "" - -#: ../build/NEWS:20379 -msgid "" -":issue:`35770`: IDLE macosx deletes Options => Configure IDLE. It previously " -"deleted Window => Zoom Height by mistake. (Zoom Height is now on the Options " -"menu). On Mac, the settings dialog is accessed via Preferences on the IDLE " -"menu." -msgstr "" - -#: ../build/NEWS:20384 -msgid "" -":issue:`35769`: Change IDLE's new file name from 'Untitled' to 'untitled'" -msgstr "" - -#: ../build/NEWS:20386 -msgid ":issue:`35660`: Fix imports in idlelib.window." -msgstr "" - -#: ../build/NEWS:20388 -msgid "" -":issue:`35641`: Proper format `calltip` when the function has no docstring." -msgstr "" - -#: ../build/NEWS:20390 -msgid ":issue:`33987`: Use ttk Frame for ttk widgets." -msgstr "" - -#: ../build/NEWS:20392 -msgid "" -":issue:`34055`: Fix erroneous 'smart' indents and newlines in IDLE Shell." -msgstr "" - -#: ../build/NEWS:20394 -msgid ":issue:`35591`: Find Selection now works when selection not found." -msgstr "" - -#: ../build/NEWS:20396 -msgid ":issue:`35196`: Speed up squeezer line counting." -msgstr "" - -#: ../build/NEWS:20398 -msgid "" -":issue:`35598`: Update config_key: use PEP 8 names and ttk widgets, make " -"some objects global, and add tests." -msgstr "" - -#: ../build/NEWS:20401 -msgid ":issue:`28097`: Add Previous/Next History entries to Shell menu." -msgstr "" - -#: ../build/NEWS:20403 -msgid "" -":issue:`35208`: Squeezer now properly counts wrapped lines before newlines." -msgstr "" - -#: ../build/NEWS:20405 -msgid "" -":issue:`35555`: Gray out Code Context menu entry when it's not applicable." -msgstr "" - -#: ../build/NEWS:20407 -msgid "" -":issue:`35521`: Document the IDLE editor code context feature. Add some " -"internal references within the IDLE doc." -msgstr "" - -#: ../build/NEWS:20410 -msgid "" -":issue:`22703`: The Code Context menu label now toggles between Show/Hide " -"Code Context. The Zoom Height menu now toggles between Zoom/Restore Height. " -"Zoom Height has moved from the Window menu to the Options menu." -msgstr "" - -#: ../build/NEWS:20414 -msgid ":issue:`35213`: Where appropriate, use 'macOS' in idlelib." -msgstr "" - -#: ../build/NEWS:20416 -msgid "" -":issue:`34864`: On macOS, warn if the system preference \"Prefer tabs when " -"opening documents\" is set to \"Always\"." -msgstr "" - -#: ../build/NEWS:20419 -msgid "" -":issue:`34864`: Document two IDLE on MacOS issues. The System Preferences " -"Dock \"prefer tabs always\" setting disables some IDLE features. Menus are " -"a bit different than as described for Windows and Linux." -msgstr "" - -#: ../build/NEWS:20423 -msgid ":issue:`35202`: Remove unused imports from lib/idlelib" -msgstr "" - -#: ../build/NEWS:20425 -msgid "" -":issue:`33000`: Document that IDLE's shell has no line limit. A program that " -"runs indefinitely can overfill memory." -msgstr "" - -#: ../build/NEWS:20428 -msgid ":issue:`23220`: Explain how IDLE's Shell displays output." -msgstr "" - -#: ../build/NEWS:20430 -msgid "" -":issue:`35099`: Improve the doc about IDLE running user code. The section " -"is renamed from \"IDLE -- console differences\" is renamed \"Running user " -"code\". It mostly covers the implications of using custom sys.stdxxx objects." -msgstr "" - -#: ../build/NEWS:20434 -msgid "" -":issue:`35097`: Add IDLE doc subsection explaining editor windows. Topics " -"include opening, title and status bar, .py* extension, and running." -msgstr "" - -#: ../build/NEWS:20437 -msgid "" -":issue:`35093`: Document the IDLE document viewer in the IDLE doc. Add a " -"paragraph in \"Help and preferences\", \"Help sources\" subsection." -msgstr "" - -#: ../build/NEWS:20440 -msgid "" -":issue:`35088`: Update idlelib.help.copy_string docstring. We now use git " -"and backporting instead of hg and forward merging." -msgstr "" - -#: ../build/NEWS:20443 -msgid "" -":issue:`35087`: Update idlelib help files for the current doc build. The " -"main change is the elimination of chapter-section numbers." -msgstr "" - -#: ../build/NEWS:20446 -msgid ":issue:`34548`: Use configured color theme for read-only text views." -msgstr "" - -#: ../build/NEWS:20448 -msgid "" -":issue:`1529353`: Enable \"squeezing\" of long outputs in the shell, to " -"avoid performance degradation and to clean up the history without losing it. " -"Squeezed outputs may be copied, viewed in a separate window, and " -"\"unsqueezed\"." -msgstr "" - -#: ../build/NEWS:20453 -msgid ":issue:`34047`: Fixed mousewheel scrolling direction on macOS." -msgstr "" - -#: ../build/NEWS:20455 -msgid "" -":issue:`34275`: Make IDLE calltips always visible on Mac. Some MacOS-tk " -"combinations need .update_idletasks(). Patch by Kevin Walzer." -msgstr "" - -#: ../build/NEWS:20458 -msgid "" -":issue:`34120`: Fix unresponsiveness after closing certain windows and " -"dialogs." -msgstr "" - -#: ../build/NEWS:20460 -msgid "" -":issue:`33975`: Avoid small type when running htests. Since part of the " -"purpose of human-viewed tests is to determine that widgets look right, it is " -"important that they look the same for testing as when running IDLE." -msgstr "" - -#: ../build/NEWS:20464 -msgid ":issue:`33905`: Add test for idlelib.stackview.StackBrowser." -msgstr "" - -#: ../build/NEWS:20466 -msgid "" -":issue:`33924`: Change mainmenu.menudefs key 'windows' to 'window'. Every " -"other menudef key is lowercase version of main menu entry." -msgstr "" - -#: ../build/NEWS:20469 -msgid "" -":issue:`33906`: Rename idlelib.windows as window Match Window on the main " -"menu and remove last plural module name." -msgstr "" - -#: ../build/NEWS:20472 -msgid "" -":issue:`33917`: Fix and document idlelib/idle_test/template.py. The revised " -"file compiles, runs, and tests OK. idle_test/README.txt explains how to use " -"it to create new IDLE test files." -msgstr "" - -#: ../build/NEWS:20476 -msgid ":issue:`33904`: IDLE: In rstrip, rename class RstripExtension as Rstrip" -msgstr "" - -#: ../build/NEWS:20478 -msgid "" -":issue:`33907`: For consistency and clarity, rename an IDLE module and " -"classes. Module calltips and its class CallTips are now calltip and Calltip. " -"In module calltip_w, class CallTip is now CalltipWindow." -msgstr "" - -#: ../build/NEWS:20482 -msgid ":issue:`33856`: Add \"help\" in the welcome message of IDLE" -msgstr "" - -#: ../build/NEWS:20484 -msgid "" -":issue:`33839`: IDLE: refactor ToolTip and CallTip and add documentation and " -"tests" -msgstr "" - -#: ../build/NEWS:20487 -msgid "" -":issue:`33855`: Minimally test all IDLE modules. Add missing files, import " -"module, instantiate classes, and check coverage. Check existing files." -msgstr "" - -#: ../build/NEWS:20490 ../build/NEWS:20782 ../build/NEWS:25510 -msgid "" -":issue:`33656`: On Windows, add API call saying that tk scales for DPI. On " -"Windows 8.1+ or 10, with DPI compatibility properties of the Python binary " -"unchanged, and a monitor resolution greater than 96 DPI, this should make " -"text and lines sharper. It should otherwise have no effect." -msgstr "" - -#: ../build/NEWS:20495 ../build/NEWS:20787 ../build/NEWS:25515 -msgid "" -":issue:`33768`: Clicking on a context line moves that line to the top of the " -"editor window." -msgstr "" - -#: ../build/NEWS:20498 ../build/NEWS:20790 ../build/NEWS:25518 -msgid "" -":issue:`33763`: IDLE: Use read-only text widget for code context instead of " -"label widget." -msgstr "" - -#: ../build/NEWS:20501 ../build/NEWS:20793 ../build/NEWS:25521 -msgid "" -":issue:`33664`: Scroll IDLE editor text by lines. Previously, the mouse " -"wheel and scrollbar slider moved text by a fixed number of pixels, resulting " -"in partial lines at the top of the editor box. The change also applies to " -"the shell and grep output windows, but not to read-only text views." -msgstr "" - -#: ../build/NEWS:20506 ../build/NEWS:20798 ../build/NEWS:25526 -msgid "" -":issue:`33679`: Enable theme-specific color configuration for Code Context. " -"Use the Highlights tab to see the setting for built-in themes or add " -"settings to custom themes." -msgstr "" - -#: ../build/NEWS:20510 ../build/NEWS:20802 ../build/NEWS:25530 -msgid "" -":issue:`33642`: Display up to maxlines non-blank lines for Code Context. If " -"there is no current context, show a single blank line." -msgstr "" - -#: ../build/NEWS:20513 ../build/NEWS:21012 ../build/NEWS:25533 -msgid ":issue:`33628`: IDLE: Cleanup codecontext.py and its test." -msgstr "" - -#: ../build/NEWS:20515 ../build/NEWS:21014 ../build/NEWS:25535 -msgid "" -":issue:`33564`: IDLE's code context now recognizes async as a block opener." -msgstr "" - -#: ../build/NEWS:20517 ../build/NEWS:21170 ../build/NEWS:25540 -msgid "" -":issue:`21474`: Update word/identifier definition from ascii to unicode. In " -"text and entry boxes, this affects selection by double-click, movement left/" -"right by control-left/right, and deletion left/right by control-BACKSPACE/" -"DEL." -msgstr "" - -#: ../build/NEWS:20522 ../build/NEWS:21175 ../build/NEWS:25545 -msgid "" -":issue:`33204`: IDLE: consistently color invalid string prefixes. A 'u' " -"string prefix cannot be paired with either 'r' or 'f'. Consistently color as " -"much of the prefix, starting at the right, as is valid. Revise and extend " -"colorizer test." -msgstr "" - -#: ../build/NEWS:20527 ../build/NEWS:21386 ../build/NEWS:25864 -msgid "" -":issue:`32984`: Set ``__file__`` while running a startup file. Like Python, " -"IDLE optionally runs one startup file in the Shell window before presenting " -"the first interactive input prompt. For IDLE, ``-s`` runs a file named in " -"environmental variable :envvar:`IDLESTARTUP` or :envvar:`PYTHONSTARTUP`; ``-" -"r file`` runs ``file``. Python sets ``__file__`` to the startup file name " -"before running the file and unsets it before the first prompt. IDLE now " -"does the same when run normally, without the ``-n`` option." -msgstr "" - -#: ../build/NEWS:20536 ../build/NEWS:21395 ../build/NEWS:25873 -msgid "" -":issue:`32940`: Simplify and rename StringTranslatePseudoMapping in pyparse." -msgstr "" - -#: ../build/NEWS:20538 ../build/NEWS:21639 ../build/NEWS:25875 -msgid ":issue:`32916`: Change ``str`` to ``code`` in pyparse." -msgstr "" - -#: ../build/NEWS:20540 ../build/NEWS:21641 ../build/NEWS:25877 -msgid ":issue:`32905`: Remove unused code in pyparse module." -msgstr "" - -#: ../build/NEWS:20542 ../build/NEWS:21643 ../build/NEWS:25879 -msgid ":issue:`32874`: Add tests for pyparse." -msgstr "" - -#: ../build/NEWS:20544 ../build/NEWS:21645 ../build/NEWS:25881 -msgid "" -":issue:`32837`: Using the system and place-dependent default encoding for " -"open() is a bad idea for IDLE's system and location-independent files." -msgstr "" - -#: ../build/NEWS:20547 ../build/NEWS:21648 ../build/NEWS:25884 -msgid "" -":issue:`32826`: Add \"encoding=utf-8\" to open() in IDLE's test_help_about. " -"GUI test test_file_buttons() only looks at initial ascii-only lines, but " -"failed on systems where open() defaults to 'ascii' because readline() " -"internally reads and decodes far enough ahead to encounter a non-ascii " -"character in CREDITS.txt." -msgstr "" - -#: ../build/NEWS:20553 ../build/NEWS:21016 ../build/NEWS:25550 -msgid ":issue:`32831`: Add docstrings and tests for codecontext." -msgstr "" - -#: ../build/NEWS:20555 ../build/NEWS:21654 ../build/NEWS:25890 -msgid "" -":issue:`32765`: Update configdialog General tab docstring to add new widgets " -"to the widget list." -msgstr "" - -#: ../build/NEWS:20561 -msgid "" -":issue:`35884`: Add a benchmark script for timing various ways to access " -"variables: ``Tools/scripts/var_access_benchmark.py``." -msgstr "" - -#: ../build/NEWS:20564 -msgid "" -":issue:`34989`: python-gdb.py now handles errors on computing the line " -"number of a Python frame." -msgstr "" - -#: ../build/NEWS:20567 -msgid "" -":issue:`20260`: Argument Clinic now has non-bitwise unsigned int converters." -msgstr "" - -#: ../build/NEWS:20569 -msgid "" -":issue:`32962`: python-gdb now catches ``UnicodeDecodeError`` exceptions " -"when calling ``string()``." -msgstr "" - -#: ../build/NEWS:20572 -msgid "" -":issue:`32962`: python-gdb now catches ValueError on read_var(): when Python " -"has no debug symbols for example." -msgstr "" - -#: ../build/NEWS:20575 ../build/NEWS:21183 ../build/NEWS:25555 -msgid "" -":issue:`33189`: :program:`pygettext.py` now recognizes only literal strings " -"as docstrings and translatable strings, and rejects bytes literals and f-" -"string expressions." -msgstr "" - -#: ../build/NEWS:20579 ../build/NEWS:21187 ../build/NEWS:25559 -msgid "" -":issue:`31920`: Fixed handling directories as arguments in the ``pygettext`` " -"script. Based on patch by Oleg Krasnikov." -msgstr "" - -#: ../build/NEWS:20582 ../build/NEWS:21190 ../build/NEWS:25562 -msgid ":issue:`29673`: Fix pystackv and pystack gdbinit macros." -msgstr "" - -#: ../build/NEWS:20584 -msgid "" -":issue:`25427`: Remove the pyvenv script in favor of ``python3 -m venv`` in " -"order to lower confusion as to what Python interpreter a virtual environment " -"will be created for." -msgstr "" - -#: ../build/NEWS:20588 ../build/NEWS:21400 ../build/NEWS:25564 -msgid "" -":issue:`32885`: Add an ``-n`` flag for ``Tools/scripts/pathfix.py`` to " -"disable automatic backup creation (files with ``~`` suffix)." -msgstr "" - -#: ../build/NEWS:20591 ../build/NEWS:21660 ../build/NEWS:25900 -msgid "" -":issue:`32222`: Fix pygettext not extracting docstrings for functions with " -"type annotated arguments. Patch by Toby Harradine." -msgstr "" - -#: ../build/NEWS:20594 ../build/NEWS:21192 ../build/NEWS:25567 -msgid "" -":issue:`31583`: Fix 2to3 for using with --add-suffix option but without --" -"output-dir option for relative path to files in current directory." -msgstr "" - -#: ../build/NEWS:20600 -msgid "" -":issue:`35713`: The :c:func:`PyByteArray_Init` and :c:func:" -"`PyByteArray_Fini` functions have been removed. They did nothing since " -"Python 2.7.4 and Python 3.2.0, were excluded from the limited API (stable " -"ABI), and were not documented." -msgstr "" - -#: ../build/NEWS:20605 -msgid "" -":issue:`33817`: Fixed :c:func:`_PyBytes_Resize` for empty bytes objects." -msgstr "" - -#: ../build/NEWS:20607 -msgid "" -":issue:`35322`: Fix memory leak in :c:func:`PyUnicode_EncodeLocale` and :c:" -"func:`PyUnicode_EncodeFSDefault` on error handling." -msgstr "" - -#: ../build/NEWS:20610 -msgid "" -":issue:`35059`: The following C macros have been converted to static inline " -"functions: :c:func:`Py_INCREF`, :c:func:`Py_DECREF`, :c:func:`Py_XINCREF`, :" -"c:func:`Py_XDECREF`, :c:func:`PyObject_INIT`, :c:func:`PyObject_INIT_VAR`." -msgstr "" - -#: ../build/NEWS:20615 -msgid "" -":issue:`35296`: ``make install`` now also installs the internal API: " -"``Include/internal/*.h`` header files." -msgstr "" - -#: ../build/NEWS:20618 -msgid "" -":issue:`35081`: Internal APIs surrounded by ``#ifdef Py_BUILD_CORE`` have " -"been moved from ``Include/*.h`` headers to new header files ``Include/" -"internal/pycore_*.h``." -msgstr "" - -#: ../build/NEWS:20622 -msgid "" -":issue:`35259`: Conditionally declare :c:func:`Py_FinalizeEx()` (new in 3.6) " -"based on Py_LIMITED_API. Patch by Arthur Neufeld." -msgstr "" - -#: ../build/NEWS:20625 -msgid "" -":issue:`35081`: The :c:func:`_PyObject_GC_TRACK` and :c:func:" -"`_PyObject_GC_UNTRACK` macros have been removed from the public C API." -msgstr "" - -#: ../build/NEWS:20629 -msgid ":issue:`35134`: Creation of a new ``Include/cpython/`` subdirectory." -msgstr "" - -#: ../build/NEWS:20631 -msgid "" -":issue:`34725`: Adds _Py_SetProgramFullPath so embedders may override sys." -"executable" -msgstr "" - -#: ../build/NEWS:20634 -msgid "" -":issue:`34910`: Ensure that :c:func:`PyObject_Print` always returns ``-1`` " -"on error. Patch by Zackery Spytz." -msgstr "" - -#: ../build/NEWS:20637 -msgid "" -":issue:`34523`: Py_DecodeLocale() and Py_EncodeLocale() now use the UTF-8 " -"encoding on Windows if Py_LegacyWindowsFSEncodingFlag is zero." -msgstr "" - -#: ../build/NEWS:20640 -msgid "" -":issue:`34193`: Fix pluralization in TypeError messages in getargs.c and " -"typeobject.c: '1 argument' instead of '1 arguments' and '1 element' instead " -"of '1 elements'." -msgstr "" - -#: ../build/NEWS:20644 -msgid "" -":issue:`34127`: Return grammatically correct error message based on argument " -"count. Patch by Karthikeyan Singaravelan." -msgstr "" - -#: ../build/NEWS:20647 -msgid "" -":issue:`23927`: Fixed :exc:`SystemError` in :c:func:" -"`PyArg_ParseTupleAndKeywords` when the ``w*`` format unit is used for " -"optional parameter." -msgstr "" - -#: ../build/NEWS:20651 -msgid ":issue:`32455`: Added :c:func:`PyCompile_OpcodeStackEffectWithJump`." -msgstr "" - -#: ../build/NEWS:20653 -msgid "" -":issue:`34008`: Py_Main() can again be called after Py_Initialize(), as in " -"Python 3.6." -msgstr "" - -#: ../build/NEWS:20656 -msgid "" -":issue:`32500`: Fixed error messages for :c:func:`PySequence_Size`, :c:func:" -"`PySequence_GetItem`, :c:func:`PySequence_SetItem` and :c:func:" -"`PySequence_DelItem` called with a mapping and :c:func:`PyMapping_Size` " -"called with a sequence." -msgstr "" - -#: ../build/NEWS:20661 -msgid "" -":issue:`33818`: :c:func:`PyExceptionClass_Name` will now return ``const char " -"*`` instead of ``char *``." -msgstr "" - -#: ../build/NEWS:20664 ../build/NEWS:21406 -msgid "" -":issue:`33042`: Embedding applications may once again call " -"PySys_ResetWarnOptions, PySys_AddWarnOption, and PySys_AddXOption prior to " -"calling Py_Initialize." -msgstr "" - -#: ../build/NEWS:20668 ../build/NEWS:21410 ../build/NEWS:25573 -msgid "" -":issue:`32374`: Document that m_traverse for multi-phase initialized modules " -"can be called with m_state=NULL, and add a sanity check" -msgstr "" - -#: ../build/NEWS:20671 -msgid "" -":issue:`30863`: :c:func:`PyUnicode_AsWideChar` and :c:func:" -"`PyUnicode_AsWideCharString` no longer cache the ``wchar_t*`` representation " -"of string objects." -msgstr "" - -#: ../build/NEWS:20677 -msgid "Python 3.7.0 final" -msgstr "" - -#: ../build/NEWS:20679 ../build/NEWS:25260 -msgid "*Release date: 2018-06-27*" -msgstr "" - -#: ../build/NEWS:20684 -msgid "" -":issue:`33851`: Fix :func:`ast.get_docstring` for a node that lacks a " -"docstring." -msgstr "" - -#: ../build/NEWS:20690 -msgid "" -":issue:`33932`: Calling Py_Initialize() twice does nothing, instead of " -"failing with a fatal error: restore the Python 3.6 behaviour." -msgstr "" - -#: ../build/NEWS:20695 -msgid "Python 3.7.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:20697 -msgid "*Release date: 2018-06-12*" -msgstr "" - -#: ../build/NEWS:20807 -msgid "Python 3.7.0 beta 5" -msgstr "" - -#: ../build/NEWS:20809 -msgid "*Release date: 2018-05-30*" -msgstr "" - -#: ../build/NEWS:20822 -msgid "" -":issue:`20104`: The new `os.posix_spawn` added in 3.7.0b1 was removed as we " -"are still working on what the API should look like. Expect this in 3.8 " -"instead." -msgstr "" - -#: ../build/NEWS:20956 ../build/NEWS:25397 -msgid "" -":issue:`32861`: The urllib.robotparser's ``__str__`` representation now " -"includes wildcard entries and the \"Crawl-delay\" and \"Request-rate\" " -"fields. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:20986 -msgid "" -":issue:`32604`: Remove the _xxsubinterpreters module (meant for testing) and " -"associated helpers. This module was originally added recently in 3.7b1." -msgstr "" - -#: ../build/NEWS:20998 ../build/NEWS:25490 -msgid "" -":issue:`33012`: Add ``-Wno-cast-function-type`` for gcc 8 for silencing " -"warnings about function casts like casting to PyCFunction in method " -"definition lists." -msgstr "" - -#: ../build/NEWS:21020 -msgid "Python 3.7.0 beta 4" -msgstr "" - -#: ../build/NEWS:21022 -msgid "*Release date: 2018-05-02*" -msgstr "" - -#: ../build/NEWS:21080 -msgid "" -":issue:`33185`: Fixed regression when running pydoc with the :option:`-m` " -"switch. (The regression was introduced in 3.7.0b3 by the resolution of :" -"issue:`33053`) This fix also changed pydoc to add ``os.getcwd()`` to :data:" -"`sys.path` when necessary, rather than adding ``\".\"``." -msgstr "" - -#: ../build/NEWS:21088 -msgid "" -":issue:`33217`: Deprecate looking up non-Enum objects in Enum classes and " -"Enum members (will raise :exc:`TypeError` in 3.8+)." -msgstr "" - -#: ../build/NEWS:21197 -msgid "Python 3.7.0 beta 3" -msgstr "" - -#: ../build/NEWS:21199 -msgid "*Release date: 2018-03-29*" -msgstr "" - -#: ../build/NEWS:21227 ../build/NEWS:25300 -msgid "" -":issue:`33041`: Fixed jumping when the function contains an ``async for`` " -"loop." -msgstr "" - -#: ../build/NEWS:21325 -msgid "" -":issue:`31639`: http.server now exposes a ThreadedHTTPServer class and uses " -"it when the module is run with ``-m`` to cope with web browsers pre-opening " -"sockets." -msgstr "" - -#: ../build/NEWS:21415 -msgid "Python 3.7.0 beta 2" -msgstr "" - -#: ../build/NEWS:21417 -msgid "*Release date: 2018-02-27*" -msgstr "" - -#: ../build/NEWS:21482 -msgid "" -":issue:`25988`: Emit a :exc:`DeprecationWarning` when using or importing an " -"ABC directly from :mod:`collections` rather than from :mod:`collections.abc`." -msgstr "" - -#: ../build/NEWS:21491 -msgid "" -":issue:`31333`: ``_abc`` module is added. It is a speedup module with C " -"implementations for various functions and methods in ``abc``. Creating an " -"ABC subclass and calling ``isinstance`` or ``issubclass`` with an ABC " -"subclass are up to 1.5x faster. In addition, this makes Python start-up up " -"to 10% faster. Note that the new implementation hides internal registry and " -"caches, previously accessible via private attributes ``_abc_registry``, " -"``_abc_cache``, and ``_abc_negative_cache``. There are three debugging " -"helper methods that can be used instead ``_dump_registry``, " -"``_abc_registry_clear``, and ``_abc_caches_clear``." -msgstr "" - -#: ../build/NEWS:21665 -msgid "Python 3.7.0 beta 1" -msgstr "" - -#: ../build/NEWS:21667 -msgid "*Release date: 2018-01-30*" -msgstr "" - -#: ../build/NEWS:21672 -msgid "" -":issue:`32703`: Fix coroutine's ResourceWarning when there's an active error " -"set when it's being finalized." -msgstr "" - -#: ../build/NEWS:21675 ../build/NEWS:25618 -msgid "" -":issue:`32650`: Pdb and other debuggers dependent on bdb.py will correctly " -"step over (next command) native coroutines. Patch by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:21678 -msgid "" -":issue:`28685`: Optimize list.sort() and sorted() by using type specialized " -"comparisons when possible." -msgstr "" - -#: ../build/NEWS:21681 ../build/NEWS:25621 -msgid "" -":issue:`32685`: Improve suggestion when the Python 2 form of print statement " -"is either present on the same line as the header of a compound statement or " -"else terminated by a semi-colon instead of a newline. Patch by Nitish " -"Chandra." -msgstr "" - -#: ../build/NEWS:21686 -msgid "" -":issue:`32697`: Python now explicitly preserves the definition order of " -"keyword-only parameters. It's always preserved their order, but this " -"behavior was never guaranteed before; this behavior is now guaranteed and " -"tested." -msgstr "" - -#: ../build/NEWS:21691 -msgid "" -":issue:`32690`: The locals() dictionary now displays in the lexical order " -"that variables were defined. Previously, the order was reversed." -msgstr "" - -#: ../build/NEWS:21694 -msgid "" -":issue:`32677`: Add ``.isascii()`` method to ``str``, ``bytes`` and " -"``bytearray``. It can be used to test that string contains only ASCII " -"characters." -msgstr "" - -#: ../build/NEWS:21698 -msgid "" -":issue:`32670`: Enforce :pep:`479` for all code. This means that manually " -"raising a StopIteration exception from a generator is prohibited for all " -"code, regardless of whether 'from __future__ import generator_stop' was used " -"or not." -msgstr "" - -#: ../build/NEWS:21703 -msgid "" -":issue:`32591`: Added built-in support for tracking the origin of coroutine " -"objects; see sys.set_coroutine_origin_tracking_depth and CoroutineType." -"cr_origin. This replaces the asyncio debug mode's use of coroutine wrapping " -"for native coroutine objects." -msgstr "" - -#: ../build/NEWS:21708 -msgid "" -":issue:`31368`: Expose preadv and pwritev system calls in the os module. " -"Patch by Pablo Galindo" -msgstr "" - -#: ../build/NEWS:21711 -msgid "" -":issue:`32544`: ``hasattr(obj, name)`` and ``getattr(obj, name, default)`` " -"are about 4 times faster than before when ``name`` is not found and ``obj`` " -"doesn't override ``__getattr__`` or ``__getattribute__``." -msgstr "" - -#: ../build/NEWS:21715 ../build/NEWS:25629 -msgid "" -":issue:`26163`: Improved frozenset() hash to create more distinct hash " -"values when faced with datasets containing many similar values." -msgstr "" - -#: ../build/NEWS:21718 -msgid ":issue:`32550`: Remove the STORE_ANNOTATION bytecode." -msgstr "" - -#: ../build/NEWS:21720 -msgid "" -":issue:`20104`: Expose posix_spawn as a low level API in the os module. " -"(removed before 3.7.0rc1)" -msgstr "" - -#: ../build/NEWS:21723 -msgid ":issue:`24340`: Fixed estimation of the code stack size." -msgstr "" - -#: ../build/NEWS:21725 -msgid ":issue:`32436`: Implement :pep:`567` Context Variables." -msgstr "" - -#: ../build/NEWS:21727 ../build/NEWS:25642 -msgid "" -":issue:`18533`: ``repr()`` on a dict containing its own ``values()`` or " -"``items()`` no longer raises ``RecursionError``; OrderedDict similarly. " -"Instead, use ``...``, as for other recursive structures. Patch by Ben North." -msgstr "" - -#: ../build/NEWS:21732 -msgid "" -":issue:`20891`: Py_Initialize() now creates the GIL. The GIL is no longer " -"created \"on demand\" to fix a race condition when PyGILState_Ensure() is " -"called in a non-Python thread." -msgstr "" - -#: ../build/NEWS:21736 ../build/NEWS:25647 -msgid "" -":issue:`32028`: Leading whitespace is now correctly ignored when generating " -"suggestions for converting Py2 print statements to Py3 builtin print " -"function calls. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:21740 -msgid ":issue:`31179`: Make dict.copy() up to 5.5 times faster." -msgstr "" - -#: ../build/NEWS:21742 -msgid "" -":issue:`31113`: Get rid of recursion in the compiler for normal control flow." -msgstr "" - -#: ../build/NEWS:21747 -msgid "" -":issue:`25988`: Deprecate exposing the contents of collections.abc in the " -"regular collections module." -msgstr "" - -#: ../build/NEWS:21750 -msgid "" -":issue:`31429`: The default cipher suite selection of the ssl module now " -"uses a blacklist approach rather than a hard-coded whitelist. Python no " -"longer re-enables ciphers that have been blocked by OpenSSL security update. " -"Default cipher suite selection can be configured on compile time." -msgstr "" - -#: ../build/NEWS:21755 -msgid "" -":issue:`30306`: contextlib.contextmanager now releases the arguments passed " -"to the underlying generator as soon as the context manager is entered. " -"Previously it would keep them alive for as long as the context manager was " -"alive, even when not being used as a function decorator. Patch by Martin " -"Teichmann." -msgstr "" - -#: ../build/NEWS:21761 -msgid "" -":issue:`21417`: Added support for setting the compression level for zipfile." -"ZipFile." -msgstr "" - -#: ../build/NEWS:21764 -msgid ":issue:`32251`: Implement asyncio.BufferedProtocol (provisional API)." -msgstr "" - -#: ../build/NEWS:21766 -msgid "" -":issue:`32513`: In dataclasses, allow easier overriding of dunder methods " -"without specifying decorator parameters." -msgstr "" - -#: ../build/NEWS:21769 -msgid "" -":issue:`32660`: :mod:`termios` makes available ``FIONREAD``, ``FIONCLEX``, " -"``FIOCLEX``, ``FIOASYNC`` and ``FIONBIO`` also under Solaris/derivatives." -msgstr "" - -#: ../build/NEWS:21772 ../build/NEWS:25722 -msgid "" -":issue:`27931`: Fix email address header parsing error when the username is " -"an empty quoted string. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:21775 -msgid "" -":issue:`32659`: Under Solaris and derivatives, :class:`os.stat_result` " -"provides a st_fstype attribute." -msgstr "" - -#: ../build/NEWS:21778 -msgid "" -":issue:`32662`: Implement Server.start_serving(), Server.serve_forever(), " -"and Server.is_serving() methods. Add 'start_serving' keyword parameter to " -"loop.create_server() and loop.create_unix_server()." -msgstr "" - -#: ../build/NEWS:21782 -msgid "" -":issue:`32391`: Implement :meth:`asyncio.StreamWriter.wait_closed` and :meth:" -"`asyncio.StreamWriter.is_closing` methods" -msgstr "" - -#: ../build/NEWS:21785 -msgid "" -":issue:`32643`: Make Task._step, Task._wakeup and Future._schedule_callbacks " -"methods private." -msgstr "" - -#: ../build/NEWS:21788 -msgid "" -":issue:`32630`: Refactor decimal module to use contextvars to store decimal " -"context." -msgstr "" - -#: ../build/NEWS:21791 -msgid ":issue:`32622`: Add :meth:`asyncio.AbstractEventLoop.sendfile` method." -msgstr "" - -#: ../build/NEWS:21793 ../build/NEWS:25725 -msgid "" -":issue:`32304`: distutils' upload command no longer corrupts tar files " -"ending with a CR byte, and no longer tries to convert CR to CRLF in any of " -"the upload text fields." -msgstr "" - -#: ../build/NEWS:21797 ../build/NEWS:25729 -msgid "" -":issue:`32502`: uuid.uuid1 no longer raises an exception if a 64-bit " -"hardware address is encountered." -msgstr "" - -#: ../build/NEWS:21800 -msgid "" -":issue:`32596`: ``concurrent.futures`` imports ``ThreadPoolExecutor`` and " -"``ProcessPoolExecutor`` lazily (using :pep:`562`). It makes ``import " -"asyncio`` about 15% faster because asyncio uses only ``ThreadPoolExecutor`` " -"by default." -msgstr "" - -#: ../build/NEWS:21805 -msgid "" -":issue:`31801`: Add ``_ignore_`` to ``Enum`` so temporary variables can be " -"used during class construction without being turned into members." -msgstr "" - -#: ../build/NEWS:21808 -msgid "" -":issue:`32576`: Use queue.SimpleQueue() in places where it can be invoked " -"from a weakref callback." -msgstr "" - -#: ../build/NEWS:21811 -msgid "" -":issue:`32574`: Fix memory leak in asyncio.Queue, when the queue has limited " -"size and it is full, the cancelation of queue.put() can cause a memory leak. " -"Patch by: José Melero." -msgstr "" - -#: ../build/NEWS:21815 ../build/NEWS:25739 -msgid "" -":issue:`32521`: The nis module is now compatible with new libnsl and headers " -"location." -msgstr "" - -#: ../build/NEWS:21818 -msgid "" -":issue:`32467`: collections.abc.ValuesView now inherits from collections.abc." -"Collection." -msgstr "" - -#: ../build/NEWS:21821 ../build/NEWS:25742 -msgid ":issue:`32473`: Improve ABCMeta._dump_registry() output readability" -msgstr "" - -#: ../build/NEWS:21823 -msgid ":issue:`32102`: New argument ``capture_output`` for subprocess.run" -msgstr "" - -#: ../build/NEWS:21825 ../build/NEWS:25744 -msgid "" -":issue:`32521`: glibc has removed Sun RPC. Use replacement libtirpc headers " -"and library in nis module." -msgstr "" - -#: ../build/NEWS:21828 -msgid ":issue:`32493`: UUID module fixes build for FreeBSD/OpenBSD" -msgstr "" - -#: ../build/NEWS:21830 -msgid "" -":issue:`32503`: Pickling with protocol 4 no longer creates too small frames." -msgstr "" - -#: ../build/NEWS:21832 -msgid ":issue:`29237`: Create enum for pstats sorting options" -msgstr "" - -#: ../build/NEWS:21834 -msgid ":issue:`32454`: Add close(fd) function to the socket module." -msgstr "" - -#: ../build/NEWS:21836 -msgid "" -":issue:`25942`: The subprocess module is now more graceful when handling a " -"Ctrl-C KeyboardInterrupt during subprocess.call, subprocess.run, or a Popen " -"context manager. It now waits a short amount of time for the child " -"(presumed to have also gotten the SIGINT) to exit, before continuing the " -"KeyboardInterrupt exception handling. This still includes a SIGKILL in the " -"call() and run() APIs, but at least the child had a chance first." -msgstr "" - -#: ../build/NEWS:21843 -msgid "" -":issue:`32433`: The hmac module now has hmac.digest(), which provides an " -"optimized HMAC digest." -msgstr "" - -#: ../build/NEWS:21846 -msgid "" -":issue:`28134`: Sockets now auto-detect family, type and protocol from file " -"descriptor by default." -msgstr "" - -#: ../build/NEWS:21849 -msgid "" -":issue:`32404`: Fix bug where :meth:`datetime.datetime.fromtimestamp` did " -"not call __new__ in :class:`datetime.datetime` subclasses." -msgstr "" - -#: ../build/NEWS:21852 -msgid "" -":issue:`32403`: Improved speed of :class:`datetime.date` and :class:" -"`datetime.datetime` alternate constructors." -msgstr "" - -#: ../build/NEWS:21855 ../build/NEWS:25747 -msgid "" -":issue:`32228`: Ensure that ``truncate()`` preserves the file position (as " -"reported by ``tell()``) after writes longer than the buffer size." -msgstr "" - -#: ../build/NEWS:21858 -msgid "" -":issue:`32410`: Implement ``loop.sock_sendfile`` for asyncio event loop." -msgstr "" - -#: ../build/NEWS:21860 -msgid "" -":issue:`22908`: Added seek and tell to the ZipExtFile class. This only works " -"if the file object used to open the zipfile is seekable." -msgstr "" - -#: ../build/NEWS:21863 -msgid ":issue:`32373`: Add socket.getblocking() method." -msgstr "" - -#: ../build/NEWS:21865 -msgid "" -":issue:`32248`: Add :mod:`importlib.resources` and :class:`importlib.abc." -"ResourceReader` as the unified API for reading resources contained within " -"packages. Loaders wishing to support resource reading must implement the :" -"meth:`get_resource_reader()` method. File-based and zipimport-based loaders " -"both implement these APIs. :class:`importlib.abc.ResourceLoader` is " -"deprecated in favor of these new APIs." -msgstr "" - -#: ../build/NEWS:21873 -msgid ":issue:`32320`: collections.namedtuple() now supports default values." -msgstr "" - -#: ../build/NEWS:21875 -msgid "" -":issue:`29302`: Add contextlib.AsyncExitStack. Patch by Alexander Mohr and " -"Ilya Kulakov." -msgstr "" - -#: ../build/NEWS:21878 -msgid "" -":issue:`31961`: *Removed in Python 3.7.0b2.* The *args* argument of " -"subprocess.Popen can now be a :term:`path-like object`. If *args* is given " -"as a sequence, it's first element can now be a :term:`path-like object` as " -"well." -msgstr "" - -#: ../build/NEWS:21883 ../build/NEWS:25775 -msgid "" -":issue:`31900`: The :func:`locale.localeconv` function now sets temporarily " -"the ``LC_CTYPE`` locale to the ``LC_NUMERIC`` locale to decode " -"``decimal_point`` and ``thousands_sep`` byte strings if they are non-ASCII " -"or longer than 1 byte, and the ``LC_NUMERIC`` locale is different than the " -"``LC_CTYPE`` locale. This temporary change affects other threads. Same " -"change for the :meth:`str.format` method when formatting a number (:class:" -"`int`, :class:`float`, :class:`float` and subclasses) with the ``n`` type " -"(ex: ``'{:n}'.format(1234)``)." -msgstr "" - -#: ../build/NEWS:21892 -msgid "" -":issue:`31853`: Use super().method instead of socket.method in SSLSocket. " -"They were there most likely for legacy reasons." -msgstr "" - -#: ../build/NEWS:21895 -msgid "" -":issue:`31399`: The ssl module now uses OpenSSL's " -"X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify " -"hostname and IP addresses. Subject common name fallback can be disabled with " -"SSLContext.hostname_checks_common_name." -msgstr "" - -#: ../build/NEWS:21900 -msgid "" -":issue:`14976`: Add a queue.SimpleQueue class, an unbounded FIFO queue with " -"a reentrant C implementation of put()." -msgstr "" - -#: ../build/NEWS:21906 -msgid "" -":issue:`32724`: Add references to some commands in the documentation of Pdb. " -"Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:21909 -msgid "" -":issue:`32649`: Complete the C API documentation, profiling and tracing part " -"with the newly added per-opcode events." -msgstr "" - -#: ../build/NEWS:21912 ../build/NEWS:25803 -msgid "" -":issue:`17799`: Explain real behaviour of sys.settrace and sys.setprofile " -"and their C-API counterparts regarding which type of events are received in " -"each function. Patch by Pablo Galindo Salgado." -msgstr "" - -#: ../build/NEWS:21919 ../build/NEWS:25813 -msgid "" -":issue:`32721`: Fix test_hashlib to not fail if the _md5 module is not built." -msgstr "" - -#: ../build/NEWS:21921 -msgid "" -":issue:`28414`: Add test cases for IDNA 2003 and 2008 host names. IDNA 2003 " -"internationalized host names are working since :issue:`31399` has landed. " -"IDNA 2008 are still broken." -msgstr "" - -#: ../build/NEWS:21925 -msgid "" -":issue:`32604`: Add a new \"_xxsubinterpreters\" extension module that " -"exposes the existing subinterpreter C-API and a new cross-interpreter data " -"sharing mechanism. The module is primarily intended for more thorough " -"testing of the existing subinterpreter support. Note that the " -"_xxsubinterpreters module has been removed in 3.7.0rc1." -msgstr "" - -#: ../build/NEWS:21931 -msgid "" -":issue:`32602`: Add test certs and test for ECDSA cert and EC/RSA dual mode." -msgstr "" - -#: ../build/NEWS:21933 -msgid "" -":issue:`32549`: On Travis CI, Python now Compiles and uses a local copy of " -"OpenSSL 1.1.0g for testing." -msgstr "" - -#: ../build/NEWS:21939 ../build/NEWS:25825 -msgid "" -":issue:`32635`: Fix segfault of the crypt module when libxcrypt is provided " -"instead of libcrypt at the system." -msgstr "" - -#: ../build/NEWS:21942 -msgid "" -":issue:`32598`: Use autoconf to detect OpenSSL libs, headers and supported " -"features. The ax_check_openssl M4 macro uses pkg-config to locate OpenSSL " -"and falls back to manual search." -msgstr "" - -#: ../build/NEWS:21946 -msgid ":issue:`32593`: Drop support of FreeBSD 9 and older." -msgstr "" - -#: ../build/NEWS:21948 -msgid "" -":issue:`29708`: If the :envvar:`SOURCE_DATE_EPOCH` environment variable is " -"set, :mod:`py_compile` will always create hash-based ``.pyc`` files." -msgstr "" - -#: ../build/NEWS:21954 -msgid "" -":issue:`32588`: Create standalone _distutils_findvs module and add missing " -"_queue module to installer." -msgstr "" - -#: ../build/NEWS:21957 -msgid "" -":issue:`29911`: Ensure separate Modify and Uninstall buttons are displayed." -msgstr "" - -#: ../build/NEWS:21959 -msgid "" -":issue:`32507`: Use app-local UCRT install rather than the proper update for " -"old versions of Windows." -msgstr "" - -#: ../build/NEWS:21965 -msgid "" -":issue:`32726`: Provide an additional, more modern macOS installer variant " -"that supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied " -"third-party libraries to OpenSSL 1.1.0g and to SQLite 3.22.0. The 10.9+ " -"installer now links with and supplies its own copy of Tcl/Tk 8.6." -msgstr "" - -#: ../build/NEWS:21970 -msgid "" -":issue:`28440`: No longer add /Library/Python/3.x/site-packages to sys.path " -"for macOS framework builds to avoid future conflicts." -msgstr "" - -#: ../build/NEWS:21976 -msgid "" -":issue:`32681`: Fix uninitialized variable 'res' in the C implementation of " -"os.dup2. Patch by Stéphane Wirtel" -msgstr "" - -#: ../build/NEWS:21979 -msgid "" -":issue:`10381`: Add C API access to the ``datetime.timezone`` constructor " -"and ``datetime.timzone.UTC`` singleton." -msgstr "" - -#: ../build/NEWS:21984 -msgid "Python 3.7.0 alpha 4" -msgstr "" - -#: ../build/NEWS:21986 -msgid "*Release date: 2018-01-08*" -msgstr "" - -#: ../build/NEWS:21991 -msgid "" -":issue:`31975`: The default warning filter list now starts with a \"default::" -"DeprecationWarning:__main__\" entry, so deprecation warnings are once again " -"shown by default in single-file scripts and at the interactive prompt." -msgstr "" - -#: ../build/NEWS:21996 -msgid ":issue:`32226`: ``__class_getitem__`` is now an automatic class method." -msgstr "" - -#: ../build/NEWS:21998 -msgid "" -":issue:`32399`: Add AIX uuid library support for RFC4122 using uuid_create() " -"in libc.a" -msgstr "" - -#: ../build/NEWS:22001 -msgid "" -":issue:`32390`: Fix the compilation failure on AIX after the f_fsid field " -"has been added to the object returned by os.statvfs() (:issue:`32143`). " -"Original patch by Michael Felt." -msgstr "" - -#: ../build/NEWS:22005 -msgid "" -":issue:`32379`: Make MRO computation faster when a class inherits from a " -"single base." -msgstr "" - -#: ../build/NEWS:22008 -msgid "" -":issue:`32259`: The error message of a TypeError raised when unpack non-" -"iterable is now more specific." -msgstr "" - -#: ../build/NEWS:22011 ../build/NEWS:25632 -msgid "" -":issue:`27169`: The ``__debug__`` constant is now optimized out at compile " -"time. This fixes also :issue:`22091`." -msgstr "" - -#: ../build/NEWS:22014 -msgid "" -":issue:`32329`: The :option:`-R` option now turns on hash randomization when " -"the :envvar:`PYTHONHASHSEED` environment variable is set to ``0``. " -"Previously, the option was ignored. Moreover, ``sys.flags." -"hash_randomization`` is now properly set to 0 when hash randomization is " -"turned off by ``PYTHONHASHSEED=0``." -msgstr "" - -#: ../build/NEWS:22020 -msgid "" -":issue:`30416`: The optimizer is now protected from spending much time doing " -"complex calculations and consuming much memory for creating large constants " -"in constant folding. Increased limits for constants that can be produced in " -"constant folding." -msgstr "" - -#: ../build/NEWS:22025 ../build/NEWS:25302 -msgid "" -":issue:`32282`: Fix an unnecessary ifdef in the include of VersionHelpers.h " -"in socketmodule on Windows." -msgstr "" - -#: ../build/NEWS:22028 -msgid "" -":issue:`30579`: Implement TracebackType.__new__ to allow Python-level " -"creation of traceback objects, and make TracebackType.tb_next mutable." -msgstr "" - -#: ../build/NEWS:22031 -msgid "" -":issue:`32260`: Don't byte swap the input keys to the SipHash algorithm on " -"big-endian platforms. This should ensure siphash gives consistent results " -"across platforms." -msgstr "" - -#: ../build/NEWS:22035 -msgid "" -":issue:`31506`: Improve the error message logic for object.__new__ and " -"object.__init__. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:22038 -msgid "" -":issue:`20361`: ``-b`` and ``-bb`` now inject ``'default::BytesWarning'`` " -"and ``error::BytesWarning`` entries into ``sys.warnoptions``, ensuring that " -"they take precedence over any other warning filters configured via the ``-" -"W`` option or the ``PYTHONWARNINGS`` environment variable." -msgstr "" - -#: ../build/NEWS:22043 -msgid "" -":issue:`32230`: `-X dev` now injects a ``'default'`` entry into sys." -"warnoptions, ensuring that it behaves identically to actually passing ``-" -"Wdefault`` at the command line." -msgstr "" - -#: ../build/NEWS:22047 -msgid ":issue:`29240`: Add a new UTF-8 mode: implementation of the :pep:`540`." -msgstr "" - -#: ../build/NEWS:22049 -msgid "" -":issue:`32226`: :pep:`560`: Add support for ``__mro_entries__`` and " -"``__class_getitem__``. Implemented by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:22052 -msgid "" -":issue:`32225`: :pep:`562`: Add support for module ``__getattr__`` and " -"``__dir__``. Implemented by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:22055 -msgid "" -":issue:`31901`: The `atexit` module now has its callback stored per " -"interpreter." -msgstr "" - -#: ../build/NEWS:22058 -msgid "" -":issue:`31650`: Implement :pep:`552` (Deterministic pycs). Python now " -"supports invalidating bytecode cache files bashed on a source content hash " -"rather than source last-modified time." -msgstr "" - -#: ../build/NEWS:22062 -msgid "" -":issue:`29469`: Move constant folding from bytecode layer to AST layer. " -"Original patch by Eugene Toder." -msgstr "" - -#: ../build/NEWS:22068 -msgid "" -":issue:`32506`: Now that dict is defined as keeping insertion order, drop " -"OrderedDict and just use plain dict." -msgstr "" - -#: ../build/NEWS:22071 -msgid "" -":issue:`32279`: Add params to dataclasses.make_dataclasses(): init, repr, " -"eq, order, hash, and frozen. Pass them through to dataclass()." -msgstr "" - -#: ../build/NEWS:22074 -msgid "" -":issue:`32278`: Make type information optional on dataclasses." -"make_dataclass(). If omitted, the string 'typing.Any' is used." -msgstr "" - -#: ../build/NEWS:22077 -msgid "" -":issue:`32499`: Add dataclasses.is_dataclass(obj), which returns True if obj " -"is a dataclass or an instance of one." -msgstr "" - -#: ../build/NEWS:22080 -msgid "" -":issue:`32468`: Improve frame repr() to mention filename, code name and " -"current line number." -msgstr "" - -#: ../build/NEWS:22083 -msgid ":issue:`23749`: asyncio: Implement loop.start_tls()" -msgstr "" - -#: ../build/NEWS:22085 -msgid "" -":issue:`32441`: Return the new file descriptor (i.e., the second argument) " -"from ``os.dup2``. Previously, ``None`` was always returned." -msgstr "" - -#: ../build/NEWS:22088 -msgid "" -":issue:`32422`: ``functools.lru_cache`` uses less memory (3 words for each " -"cached key) and takes about 1/3 time for cyclic GC." -msgstr "" - -#: ../build/NEWS:22091 -msgid "" -":issue:`31721`: Prevent Python crash from happening when Future." -"_log_traceback is set to True manually. Now it can only be set to False, or " -"a ValueError is raised." -msgstr "" - -#: ../build/NEWS:22095 -msgid ":issue:`32415`: asyncio: Add Task.get_loop() and Future.get_loop()" -msgstr "" - -#: ../build/NEWS:22097 ../build/NEWS:25750 -msgid "" -":issue:`26133`: Don't unsubscribe signals in asyncio UNIX event loop on " -"interpreter shutdown." -msgstr "" - -#: ../build/NEWS:22100 -msgid "" -":issue:`32363`: Make asyncio.Task.set_exception() and set_result() raise " -"NotImplementedError. Task._step() and Future.__await__() raise proper " -"exceptions when they are in an invalid state, instead of raising an " -"AssertionError." -msgstr "" - -#: ../build/NEWS:22105 -msgid "" -":issue:`32357`: Optimize asyncio.iscoroutine() and loop.create_task() for " -"non-native coroutines (e.g. async/await compiled with Cython). 'loop." -"create_task(python_coroutine)' used to be 20% faster than 'loop." -"create_task(cython_coroutine)'. Now, the latter is as fast." -msgstr "" - -#: ../build/NEWS:22110 -msgid "" -":issue:`32356`: asyncio.transport.resume_reading() and pause_reading() are " -"now idempotent. New transport.is_reading() method is added." -msgstr "" - -#: ../build/NEWS:22113 -msgid ":issue:`32355`: Optimize asyncio.gather(); now up to 15% faster." -msgstr "" - -#: ../build/NEWS:22115 -msgid ":issue:`32351`: Use fastpath in asyncio.sleep if delay<0 (2x boost)" -msgstr "" - -#: ../build/NEWS:22117 -msgid "" -":issue:`32348`: Optimize asyncio.Future schedule/add/remove callback. The " -"optimization shows 3-6% performance improvements of async/await code." -msgstr "" - -#: ../build/NEWS:22120 -msgid "" -":issue:`32331`: Fix socket.settimeout() and socket.setblocking() to keep " -"socket.type as is. Fix socket.socket() constructor to reset any bit flags " -"applied to socket's type. This change only affects OSes that have " -"SOCK_NONBLOCK and/or SOCK_CLOEXEC." -msgstr "" - -#: ../build/NEWS:22125 -msgid "" -":issue:`32248`: Add :class:`importlib.abc.ResourceReader` as an ABC for " -"loaders to provide a unified API for reading resources contained within " -"packages. Also add :mod:`importlib.resources` as the port of " -"``importlib_resources``." -msgstr "" - -#: ../build/NEWS:22130 -msgid ":issue:`32311`: Implement asyncio.create_task(coro) shortcut" -msgstr "" - -#: ../build/NEWS:22132 -msgid "" -":issue:`32327`: Convert asyncio functions that were documented as coroutines " -"to coroutines. Affected functions: loop.sock_sendall, loop.sock_recv, loop." -"sock_accept, loop.getaddrinfo, loop.getnameinfo." -msgstr "" - -#: ../build/NEWS:22136 ../build/NEWS:25756 -msgid "" -":issue:`32323`: :func:`urllib.parse.urlsplit()` does not convert zone-id " -"(scope) to lower case for scoped IPv6 addresses in hostnames now." -msgstr "" - -#: ../build/NEWS:22139 ../build/NEWS:25759 -msgid "" -":issue:`32302`: Fix bdist_wininst of distutils for CRT v142: it binary " -"compatible with CRT v140." -msgstr "" - -#: ../build/NEWS:22142 -msgid "" -":issue:`29711`: Fix ``stop_serving`` in asyncio proactor loop kill all " -"listening servers" -msgstr "" - -#: ../build/NEWS:22145 -msgid "" -":issue:`32308`: :func:`re.sub()` now replaces empty matches adjacent to a " -"previous non-empty match." -msgstr "" - -#: ../build/NEWS:22148 -msgid "" -":issue:`29970`: Abort asyncio SSLProtocol connection if handshake not " -"complete within 10 seconds." -msgstr "" - -#: ../build/NEWS:22151 -msgid ":issue:`32314`: Implement asyncio.run()." -msgstr "" - -#: ../build/NEWS:22153 -msgid "" -":issue:`17852`: Revert incorrect fix based on misunderstanding of " -"_Py_PyAtExit() semantics." -msgstr "" - -#: ../build/NEWS:22156 -msgid "" -":issue:`32296`: Implement asyncio._get_running_loop() and get_event_loop() " -"in C. This makes them 4x faster." -msgstr "" - -#: ../build/NEWS:22159 -msgid "" -":issue:`32250`: Implement ``asyncio.current_task()`` and ``asyncio." -"all_tasks()``. Add helpers intended to be used by alternative task " -"implementations: ``asyncio._register_task``, ``asyncio._enter_task``, " -"``asyncio._leave_task`` and ``asyncio._unregister_task``. Deprecate " -"``asyncio.Task.current_task()`` and ``asyncio.Task.all_tasks()``." -msgstr "" - -#: ../build/NEWS:22165 ../build/NEWS:25762 -msgid "" -":issue:`32255`: A single empty field is now always quoted when written into " -"a CSV file. This allows to distinguish an empty row from a row consisting of " -"a single empty field. Patch by Licht Takeuchi." -msgstr "" - -#: ../build/NEWS:22169 ../build/NEWS:25766 -msgid "" -":issue:`32277`: Raise ``NotImplementedError`` instead of ``SystemError`` on " -"platforms where ``chmod(..., follow_symlinks=False)`` is not supported. " -"Patch by Anthony Sottile." -msgstr "" - -#: ../build/NEWS:22173 -msgid "" -":issue:`30050`: New argument warn_on_full_buffer to signal.set_wakeup_fd " -"lets you control whether Python prints a warning on stderr when the wakeup " -"fd buffer overflows." -msgstr "" - -#: ../build/NEWS:22177 -msgid "" -":issue:`29137`: The ``fpectl`` library has been removed. It was never " -"enabled by default, never worked correctly on x86-64, and it changed the " -"Python ABI in ways that caused unexpected breakage of C extensions." -msgstr "" - -#: ../build/NEWS:22181 -msgid ":issue:`32273`: Move asyncio.test_utils to test.test_asyncio." -msgstr "" - -#: ../build/NEWS:22183 -msgid ":issue:`32272`: Remove asyncio.async() function." -msgstr "" - -#: ../build/NEWS:22185 -msgid ":issue:`32269`: Add asyncio.get_running_loop() function." -msgstr "" - -#: ../build/NEWS:22187 -msgid "" -":issue:`32265`: All class and static methods of builtin types now are " -"correctly classified by inspect.classify_class_attrs() and grouped in pydoc " -"ouput. Added types.ClassMethodDescriptorType for unbound class methods of " -"builtin types." -msgstr "" - -#: ../build/NEWS:22192 -msgid "" -":issue:`32253`: Deprecate ``yield from lock``, ``await lock``, ``with (yield " -"from lock)`` and ``with await lock`` for asyncio synchronization primitives." -msgstr "" - -#: ../build/NEWS:22196 -msgid "" -":issue:`22589`: Changed MIME type of .bmp from 'image/x-ms-bmp' to 'image/" -"bmp'" -msgstr "" - -#: ../build/NEWS:22198 -msgid "" -":issue:`32193`: Convert asyncio to use *async/await* syntax. Old styled " -"``yield from`` is still supported too." -msgstr "" - -#: ../build/NEWS:22201 -msgid ":issue:`32206`: Add support to run modules with pdb" -msgstr "" - -#: ../build/NEWS:22203 -msgid "" -":issue:`32227`: ``functools.singledispatch`` now supports registering " -"implementations using type annotations." -msgstr "" - -#: ../build/NEWS:22206 -msgid "" -":issue:`15873`: Added new alternate constructors :meth:`datetime.datetime." -"fromisoformat`, :meth:`datetime.time.fromisoformat` and :meth:`datetime.date." -"fromisoformat` as the inverse operation of each classes's respective " -"``isoformat`` methods." -msgstr "" - -#: ../build/NEWS:22212 ../build/NEWS:25770 -msgid "" -":issue:`32199`: The getnode() ip getter now uses 'ip link' instead of 'ip " -"link list'." -msgstr "" - -#: ../build/NEWS:22215 -msgid ":issue:`32143`: os.statvfs() includes the f_fsid field from statvfs(2)" -msgstr "" - -#: ../build/NEWS:22217 -msgid "" -":issue:`26439`: Fix ctypes.util.find_library() for AIX by implementing " -"ctypes._aix.find_library() Patch by: Michael Felt" -msgstr "" - -#: ../build/NEWS:22220 -msgid "" -":issue:`31993`: The pickler now uses less memory when serializing large " -"bytes and str objects into a file. Pickles created with protocol 4 will " -"require less memory for unpickling large bytes and str objects." -msgstr "" - -#: ../build/NEWS:22224 ../build/NEWS:25773 -msgid "" -":issue:`27456`: Ensure TCP_NODELAY is set on Linux. Tests by Victor Stinner." -msgstr "" - -#: ../build/NEWS:22226 -msgid "" -":issue:`31778`: ast.literal_eval() is now more strict. Addition and " -"subtraction of arbitrary numbers no longer allowed." -msgstr "" - -#: ../build/NEWS:22229 ../build/NEWS:25784 -msgid "" -":issue:`31802`: Importing native path module (``posixpath``, ``ntpath``) now " -"works even if the ``os`` module still is not imported." -msgstr "" - -#: ../build/NEWS:22232 -msgid "" -":issue:`30241`: Add contextlib.AbstractAsyncContextManager. Patch by Jelle " -"Zijlstra." -msgstr "" - -#: ../build/NEWS:22235 -msgid "" -":issue:`31699`: Fix deadlocks in :class:`concurrent.futures." -"ProcessPoolExecutor` when task arguments or results cause pickling or " -"unpickling errors. This should make sure that calls to the :class:" -"`ProcessPoolExecutor` API always eventually return." -msgstr "" - -#: ../build/NEWS:22240 -msgid "" -":issue:`15216`: ``TextIOWrapper.reconfigure()`` supports changing " -"*encoding*, *errors*, and *newline*." -msgstr "" - -#: ../build/NEWS:22246 -msgid "" -":issue:`32418`: Add get_loop() method to Server and AbstractServer classes." -msgstr "" - -#: ../build/NEWS:22251 ../build/NEWS:25815 -msgid "" -":issue:`32252`: Fix faulthandler_suppress_crash_report() used to prevent " -"core dump files when testing crashes. getrlimit() returns zero on success." -msgstr "" - -#: ../build/NEWS:22254 -msgid "" -":issue:`32002`: Adjust C locale coercion testing for the empty locale and " -"POSIX locale cases to more readily adjust to platform dependent behaviour." -msgstr "" - -#: ../build/NEWS:22260 -msgid "" -":issue:`19764`: Implement support for `subprocess.Popen(close_fds=True)` on " -"Windows. Patch by Segev Finer." -msgstr "" - -#: ../build/NEWS:22266 ../build/NEWS:25896 -msgid "" -":issue:`24960`: 2to3 and lib2to3 can now read pickled grammar files using " -"pkgutil.get_data() rather than probing the filesystem. This lets 2to3 and " -"lib2to3 work when run from a zipfile." -msgstr "" - -#: ../build/NEWS:22273 -msgid "" -":issue:`32030`: Py_Initialize() doesn't reset the memory allocators to " -"default if the ``PYTHONMALLOC`` environment variable is not set." -msgstr "" - -#: ../build/NEWS:22276 ../build/NEWS:25906 -msgid "" -":issue:`29084`: Undocumented C API for OrderedDict has been excluded from " -"the limited C API. It was added by mistake and actually never worked in the " -"limited C API." -msgstr "" - -#: ../build/NEWS:22280 -msgid "" -":issue:`32264`: Moved the pygetopt.h header into internal/, since it has no " -"public APIs." -msgstr "" - -#: ../build/NEWS:22283 -msgid "" -":issue:`32241`: :c:func:`Py_SetProgramName` and :c:func:`Py_SetPythonHome` " -"now take the ``const wchar *`` arguments instead of ``wchar *``." -msgstr "" - -#: ../build/NEWS:22288 -msgid "Python 3.7.0 alpha 3" -msgstr "" - -#: ../build/NEWS:22290 ../build/NEWS:25923 -msgid "*Release date: 2017-12-05*" -msgstr "" - -#: ../build/NEWS:22295 ../build/NEWS:25928 -msgid "" -":issue:`32176`: co_flags.CO_NOFREE is now always set correctly by the code " -"object constructor based on freevars and cellvars, rather than needing to be " -"set correctly by the caller. This ensures it will be cleared automatically " -"when additional cell references are injected into a modified code object and " -"function." -msgstr "" - -#: ../build/NEWS:22301 -msgid "" -":issue:`10544`: Yield expressions are now deprecated in comprehensions and " -"generator expressions. They are still permitted in the definition of the " -"outermost iterable, as that is evaluated directly in the enclosing scope." -msgstr "" - -#: ../build/NEWS:22305 ../build/NEWS:25651 -msgid "" -":issue:`32137`: The repr of deeply nested dict now raises a RecursionError " -"instead of crashing due to a stack overflow." -msgstr "" - -#: ../build/NEWS:22308 -msgid "" -":issue:`32096`: Revert memory allocator changes in the C API: move " -"structures back from _PyRuntime to Objects/obmalloc.c. The memory allocators " -"are once again initialized statically, and so PyMem_RawMalloc() and " -"Py_DecodeLocale() can be called before _PyRuntime_Initialize()." -msgstr "" - -#: ../build/NEWS:22313 -msgid "" -":issue:`32043`: Add a new \"developer mode\": new \"-X dev\" command line " -"option to enable debug checks at runtime." -msgstr "" - -#: ../build/NEWS:22316 -msgid "" -":issue:`32023`: SyntaxError is now correctly raised when a generator " -"expression without parenthesis is used instead of an inheritance list in a " -"class definition. The duplication of the parentheses can be omitted only on " -"calls." -msgstr "" - -#: ../build/NEWS:22321 -msgid "" -":issue:`32012`: SyntaxError is now correctly raised when a generator " -"expression without parenthesis is passed as an argument, but followed by a " -"trailing comma. A generator expression always needs to be directly inside a " -"set of parentheses and cannot have a comma on either side." -msgstr "" - -#: ../build/NEWS:22326 -msgid "" -":issue:`28180`: A new internal ``_Py_SetLocaleFromEnv(category)`` helper " -"function has been added in order to improve the consistency of behaviour " -"across different ``libc`` implementations (e.g. Android doesn't support " -"setting the locale from the environment by default)." -msgstr "" - -#: ../build/NEWS:22331 ../build/NEWS:25934 -msgid "" -":issue:`31949`: Fixed several issues in printing tracebacks " -"(PyTraceBack_Print()). Setting sys.tracebacklimit to 0 or less now " -"suppresses printing tracebacks. Setting sys.tracebacklimit to None now " -"causes using the default limit. Setting sys.tracebacklimit to an integer " -"larger than LONG_MAX now means using the limit LONG_MAX rather than the " -"default limit. Fixed integer overflows in the case of more than ``2**31`` " -"traceback items on Windows. Fixed output errors handling." -msgstr "" - -#: ../build/NEWS:22339 ../build/NEWS:25942 -msgid "" -":issue:`30696`: Fix the interactive interpreter looping endlessly when no " -"memory." -msgstr "" - -#: ../build/NEWS:22342 ../build/NEWS:25945 -msgid "" -":issue:`20047`: Bytearray methods partition() and rpartition() now accept " -"only bytes-like objects as separator, as documented. In particular they now " -"raise TypeError rather of returning a bogus result when an integer is passed " -"as a separator." -msgstr "" - -#: ../build/NEWS:22347 ../build/NEWS:25953 -msgid "" -":issue:`21720`: BytesWarning no longer emitted when the *fromlist* argument " -"of ``__import__()`` or the ``__all__`` attribute of the module contain bytes " -"instances." -msgstr "" - -#: ../build/NEWS:22351 -msgid "" -":issue:`31845`: Environment variables are once more read correctly at " -"interpreter startup." -msgstr "" - -#: ../build/NEWS:22354 -msgid "" -":issue:`28936`: Ensure that lexically first syntax error involving a " -"parameter and ``global`` or ``nonlocal`` is detected first at a given scope. " -"Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:22358 ../build/NEWS:25957 -msgid "" -":issue:`31825`: Fixed OverflowError in the 'unicode-escape' codec and in " -"codecs.escape_decode() when decode an escaped non-ascii byte." -msgstr "" - -#: ../build/NEWS:22361 -msgid "" -":issue:`31618`: The per-frame tracing logic added in 3.7a1 has been altered " -"so that ``frame->f_lineno`` is updated before either ``\"line\"`` or " -"``\"opcode\"`` events are emitted. Previously, opcode events were emitted " -"first, and therefore would occasionally see stale line numbers on the frame. " -"The behavior of this feature has changed slightly as a result: when both " -"``f_trace_lines`` and ``f_trace_opcodes`` are enabled, line events now occur " -"first." -msgstr "" - -#: ../build/NEWS:22369 ../build/NEWS:25960 -msgid "" -":issue:`28603`: Print the full context/cause chain of exceptions on " -"interpreter exit, even if an exception in the chain is unhashable or " -"compares equal to later ones. Patch by Zane Bitter." -msgstr "" - -#: ../build/NEWS:22373 ../build/NEWS:25964 -msgid "" -":issue:`31786`: Fix timeout rounding in the select module to round correctly " -"negative timeouts between -1.0 and 0.0. The functions now block waiting for " -"events as expected. Previously, the call was incorrectly non-blocking. Patch " -"by Pablo Galindo." -msgstr "" - -#: ../build/NEWS:22378 -msgid "" -":issue:`31781`: Prevent crashes when calling methods of an uninitialized " -"``zipimport.zipimporter`` object. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22381 -msgid "" -":issue:`30399`: Standard repr() of BaseException with a single argument no " -"longer contains redundant trailing comma." -msgstr "" - -#: ../build/NEWS:22384 ../build/NEWS:25972 -msgid "" -":issue:`31626`: Fixed a bug in debug memory allocator. There was a write to " -"freed memory after shrinking a memory block." -msgstr "" - -#: ../build/NEWS:22387 ../build/NEWS:26017 -msgid "" -":issue:`30817`: `PyErr_PrintEx()` clears now the ignored exception that may " -"be raised by `_PySys_SetObjectId()`, for example when no memory." -msgstr "" - -#: ../build/NEWS:22393 ../build/NEWS:26023 -msgid "" -":issue:`28556`: Two minor fixes for ``typing`` module: allow shallow copying " -"instances of generic classes, improve interaction of ``__init_subclass__`` " -"with generics. Original PRs by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:22397 -msgid "" -":issue:`32214`: PEP 557, Data Classes. Provides a decorator which adds " -"boilerplate methods to classes which use type annotations so specify fields." -msgstr "" - -#: ../build/NEWS:22401 ../build/NEWS:26027 -msgid "" -":issue:`27240`: The header folding algorithm for the new email policies has " -"been rewritten, which also fixes :issue:`30788`, :issue:`31831`, and :issue:" -"`32182`. In particular, RFC2231 folding is now done correctly." -msgstr "" - -#: ../build/NEWS:22405 ../build/NEWS:26031 -msgid "" -":issue:`32186`: io.FileIO.readall() and io.FileIO.read() now release the GIL " -"when getting the file size. Fixed hang of all threads with inaccessible NFS " -"server. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:22409 -msgid ":issue:`32101`: Add :attr:`sys.flags.dev_mode` flag" -msgstr "" - -#: ../build/NEWS:22411 -msgid "" -":issue:`32154`: The ``asyncio.windows_utils.socketpair()`` function has been " -"removed: use directly :func:`socket.socketpair` which is available on all " -"platforms since Python 3.5 (before, it wasn't available on Windows). " -"``asyncio.windows_utils.socketpair()`` was just an alias to ``socket." -"socketpair`` on Python 3.5 and newer." -msgstr "" - -#: ../build/NEWS:22417 -msgid "" -":issue:`32089`: warnings: In development (-X dev) and debug mode (pydebug " -"build), use the \"default\" action for ResourceWarning, rather than the " -"\"always\" action, in the default warnings filters." -msgstr "" - -#: ../build/NEWS:22421 -msgid "" -":issue:`32107`: ``uuid.getnode()`` now preferentially returns universally " -"administered MAC addresses if available, over locally administered MAC " -"addresses. This makes a better guarantee for global uniqueness of UUIDs " -"returned from ``uuid.uuid1()``. If only locally administered MAC addresses " -"are available, the first such one found is returned." -msgstr "" - -#: ../build/NEWS:22427 -msgid "" -":issue:`23033`: Wildcard is now supported in hostname when it is one and " -"only character in the left most segment of hostname in second argument of :" -"meth:`ssl.match_hostname`. Patch by Mandeep Singh." -msgstr "" - -#: ../build/NEWS:22431 ../build/NEWS:26035 -msgid "" -":issue:`12239`: Make :meth:`msilib.SummaryInformation.GetProperty` return " -"``None`` when the value of property is ``VT_EMPTY``. Initial patch by Mark " -"Mc Mahon." -msgstr "" - -#: ../build/NEWS:22435 -msgid "" -":issue:`28334`: Use :func:`os.path.expanduser` to find the ``~/.netrc`` file " -"in :class:`netrc.netrc`. If it does not exist, :exc:`FileNotFoundError` is " -"raised. Patch by Dimitri Merejkowsky." -msgstr "" - -#: ../build/NEWS:22439 -msgid "" -":issue:`32121`: Made ``tracemalloc.Traceback`` behave more like the " -"traceback module, sorting the frames from oldest to most recent. ``Traceback." -"format()`` now accepts negative *limit*, truncating the result to the " -"``abs(limit)`` oldest frames. To get the old behaviour, one can use the new " -"*most_recent_first* argument to ``Traceback.format()``. (Patch by Jesse " -"Bakker.)" -msgstr "" - -#: ../build/NEWS:22446 ../build/NEWS:26039 -msgid "" -":issue:`31325`: Fix wrong usage of :func:`collections.namedtuple` in the :" -"meth:`RobotFileParser.parse() ` " -"method. Initial patch by Robin Wellner." -msgstr "" - -#: ../build/NEWS:22450 ../build/NEWS:26043 -msgid "" -":issue:`12382`: :func:`msilib.OpenDatabase` now raises a better exception " -"message when it couldn't open or create an MSI file. Initial patch by " -"William Tisäter." -msgstr "" - -#: ../build/NEWS:22454 -msgid "" -":issue:`19610`: ``setup()`` now warns about invalid types for some fields. " -"The ``distutils.dist.Distribution`` class now warns when ``classifiers``, " -"``keywords`` and ``platforms`` fields are not specified as a list or a " -"string." -msgstr "" - -#: ../build/NEWS:22459 -msgid "" -":issue:`32071`: Added the ``-k`` command-line option to ``python -m " -"unittest`` to run only tests that match the given pattern(s)." -msgstr "" - -#: ../build/NEWS:22462 -msgid "" -":issue:`10049`: Added *nullcontext* no-op context manager to contextlib. " -"This provides a simpler and faster alternative to ExitStack() when handling " -"optional context managers." -msgstr "" - -#: ../build/NEWS:22466 -msgid "" -":issue:`28684`: The new test.support.skip_unless_bind_unix_socket() " -"decorator is used here to skip asyncio tests that fail because the platform " -"lacks a functional bind() function for unix domain sockets (as it is the " -"case for non root users on the recent Android versions that run now SELinux " -"in enforcing mode)." -msgstr "" - -#: ../build/NEWS:22472 ../build/NEWS:26047 -msgid "" -":issue:`32110`: ``codecs.StreamReader.read(n)`` now returns not more than " -"*n* characters/bytes for non-negative *n*. This makes it compatible with " -"``read()`` methods of other file-like objects." -msgstr "" - -#: ../build/NEWS:22476 -msgid "" -":issue:`27535`: The warnings module doesn't leak memory anymore in the " -"hidden warnings registry for the \"ignore\" action of warnings filters. " -"warn_explicit() function doesn't add the warning key to the registry anymore " -"for the \"ignore\" action." -msgstr "" - -#: ../build/NEWS:22481 -msgid "" -":issue:`32088`: warnings: When Python is build is debug mode " -"(``Py_DEBUG``), :exc:`DeprecationWarning`, :exc:`PendingDeprecationWarning` " -"and :exc:`ImportWarning` warnings are now displayed by default." -msgstr "" - -#: ../build/NEWS:22485 -msgid "" -":issue:`1647489`: Fixed searching regular expression patterns that could " -"match an empty string. Non-empty string can now be correctly found after " -"matching an empty string." -msgstr "" - -#: ../build/NEWS:22489 -msgid "" -":issue:`25054`: Added support of splitting on a pattern that could match an " -"empty string." -msgstr "" - -#: ../build/NEWS:22492 ../build/NEWS:26051 ../build/NEWS:30729 -msgid "" -":issue:`32072`: Fixed issues with binary plists: Fixed saving bytearrays. " -"Identical objects will be saved only once. Equal references will be load as " -"identical objects. Added support for saving and loading recursive data " -"structures." -msgstr "" - -#: ../build/NEWS:22497 -msgid "" -":issue:`32069`: Drop legacy SSL transport from asyncio, ssl.MemoryBIO is " -"always used anyway." -msgstr "" - -#: ../build/NEWS:22500 -msgid "" -":issue:`32066`: asyncio: Support pathlib.Path in create_unix_connection; " -"sock arg should be optional" -msgstr "" - -#: ../build/NEWS:22503 -msgid "" -":issue:`32046`: Updates 2to3 to convert from operator.isCallable(obj) to " -"callable(obj). Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:22506 -msgid "" -":issue:`32018`: inspect.signature should follow :pep:`8`, if the parameter " -"has an annotation and a default value. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:22509 -msgid ":issue:`32025`: Add time.thread_time() and time.thread_time_ns()" -msgstr "" - -#: ../build/NEWS:22511 -msgid "" -":issue:`32037`: Integers that fit in a signed 32-bit integer will be now " -"pickled with protocol 0 using the INT opcode. This will decrease the size " -"of a pickle, speed up pickling and unpickling, and make these integers be " -"unpickled as int instances in Python 2." -msgstr "" - -#: ../build/NEWS:22516 ../build/NEWS:26056 -msgid "" -":issue:`32034`: Make asyncio.IncompleteReadError and LimitOverrunError " -"pickleable." -msgstr "" - -#: ../build/NEWS:22519 ../build/NEWS:26059 -msgid "" -":issue:`32015`: Fixed the looping of asyncio in the case of reconnection the " -"socket during waiting async read/write from/to the socket." -msgstr "" - -#: ../build/NEWS:22522 ../build/NEWS:26062 -msgid "" -":issue:`32011`: Restored support of loading marshal files with the " -"TYPE_INT64 code. These files can be produced in Python 2.7." -msgstr "" - -#: ../build/NEWS:22525 -msgid "" -":issue:`28369`: Enhance add_reader/writer check that socket is not used by " -"some transport. Before, only cases when add_reader/writer were called with " -"an int FD were supported. Now the check is implemented correctly for all " -"file-like objects." -msgstr "" - -#: ../build/NEWS:22530 -msgid "" -":issue:`31976`: Fix race condition when flushing a file is slow, which can " -"cause a segfault if closing the file from another thread." -msgstr "" - -#: ../build/NEWS:22533 -msgid "" -":issue:`31985`: Formally deprecated aifc.openfp, sunau.openfp, and wave." -"openfp. Since change 7bc817d5ba917528e8bd07ec461c635291e7b06a in 1993, " -"openfp in each of the three modules had been pointing to that module's open " -"function as a matter of backwards compatibility, though it had been both " -"untested and undocumented." -msgstr "" - -#: ../build/NEWS:22539 -msgid "" -":issue:`21862`: cProfile command line now accepts `-m module_name` as an " -"alternative to script path. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:22542 ../build/NEWS:26065 -msgid ":issue:`31970`: Reduce performance overhead of asyncio debug mode." -msgstr "" - -#: ../build/NEWS:22544 -msgid "" -":issue:`31843`: *database* argument of sqlite3.connect() now accepts a :term:" -"`path-like object`, instead of just a string." -msgstr "" - -#: ../build/NEWS:22547 -msgid "" -":issue:`31945`: Add Configurable *blocksize* to ``HTTPConnection`` and " -"``HTTPSConnection`` for improved upload throughput. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:22550 -msgid "" -":issue:`31943`: Add a ``cancelled()`` method to :class:`asyncio.Handle`. " -"Patch by Marat Sharafutdinov." -msgstr "" - -#: ../build/NEWS:22553 ../build/NEWS:26067 -msgid "" -":issue:`9678`: Fixed determining the MAC address in the uuid module: Using " -"ifconfig on NetBSD and OpenBSD. Using arp on Linux, FreeBSD, NetBSD and " -"OpenBSD. Based on patch by Takayuki Shimizukawa." -msgstr "" - -#: ../build/NEWS:22557 ../build/NEWS:26071 -msgid ":issue:`30057`: Fix potential missed signal in signal.signal()." -msgstr "" - -#: ../build/NEWS:22559 ../build/NEWS:26073 -msgid "" -":issue:`31933`: Fix Blake2 params leaf_size and node_offset on big endian " -"platforms. Patch by Jack O'Connor." -msgstr "" - -#: ../build/NEWS:22562 -msgid "" -":issue:`21423`: Add an initializer argument to {Process,Thread}PoolExecutor" -msgstr "" - -#: ../build/NEWS:22564 ../build/NEWS:26076 -msgid "" -":issue:`31927`: Fixed compilation of the socket module on NetBSD 8. Fixed " -"assertion failure or reading arbitrary data when parse a AF_BLUETOOTH " -"address on NetBSD and DragonFly BSD." -msgstr "" - -#: ../build/NEWS:22568 ../build/NEWS:26080 -msgid "" -":issue:`27666`: Fixed stack corruption in curses.box() and curses." -"ungetmouse() when the size of types chtype or mmask_t is less than the size " -"of C long. curses.box() now accepts characters as arguments. Based on patch " -"by Steve Fink." -msgstr "" - -#: ../build/NEWS:22573 -msgid "" -":issue:`31917`: Add 3 new clock identifiers: :data:`time.CLOCK_BOOTTIME`, :" -"data:`time.CLOCK_PROF` and :data:`time.CLOCK_UPTIME`." -msgstr "" - -#: ../build/NEWS:22576 ../build/NEWS:26085 -msgid "" -":issue:`31897`: plistlib now catches more errors when read binary plists and " -"raises InvalidFileException instead of unexpected exceptions." -msgstr "" - -#: ../build/NEWS:22579 ../build/NEWS:26088 -msgid "" -":issue:`25720`: Fix the method for checking pad state of curses WINDOW. " -"Patch by Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:22582 ../build/NEWS:26091 -msgid "" -":issue:`31893`: Fixed the layout of the kqueue_event structure on OpenBSD " -"and NetBSD. Fixed the comparison of the kqueue_event objects." -msgstr "" - -#: ../build/NEWS:22585 ../build/NEWS:26094 -msgid ":issue:`31891`: Fixed building the curses module on NetBSD." -msgstr "" - -#: ../build/NEWS:22587 -msgid "" -":issue:`31884`: added required constants to subprocess module for setting " -"priority on windows" -msgstr "" - -#: ../build/NEWS:22590 -msgid "" -":issue:`28281`: Remove year (1-9999) limits on the Calendar.weekday() " -"function. Patch by Mark Gollahon." -msgstr "" - -#: ../build/NEWS:22593 -msgid "" -":issue:`31702`: crypt.mksalt() now allows to specify the number of rounds " -"for SHA-256 and SHA-512 hashing." -msgstr "" - -#: ../build/NEWS:22596 -msgid "" -":issue:`30639`: :func:`inspect.getfile` no longer computes the repr of " -"unknown objects to display in an error message, to protect against badly " -"behaved custom reprs." -msgstr "" - -#: ../build/NEWS:22600 -msgid "" -":issue:`30768`: Fix the pthread+semaphore implementation of " -"PyThread_acquire_lock_timed() when called with timeout > 0 and intr_flag=0: " -"recompute the timeout if sem_timedwait() is interrupted by a signal (EINTR). " -"See also the :pep:`475`." -msgstr "" - -#: ../build/NEWS:22605 -msgid ":issue:`31854`: Add ``mmap.ACCESS_DEFAULT`` constant." -msgstr "" - -#: ../build/NEWS:22607 -msgid "" -":issue:`31834`: Use optimized code for BLAKE2 only with SSSE3+. The pure " -"SSE2 implementation is slower than the pure C reference implementation." -msgstr "" - -#: ../build/NEWS:22610 -msgid "" -":issue:`28292`: Calendar.itermonthdates() will now consistently raise an " -"exception when a date falls outside of the 0001-01-01 through 9999-12-31 " -"range. To support applications that cannot tolerate such exceptions, the " -"new methods itermonthdays3() and itermonthdays4() are added. The new " -"methods return tuples and are not restricted by the range supported by " -"datetime.date." -msgstr "" - -#: ../build/NEWS:22617 -msgid "" -":issue:`28564`: The shutil.rmtree() function has been sped up to 20--40%. " -"This was done using the os.scandir() function." -msgstr "" - -#: ../build/NEWS:22620 ../build/NEWS:26096 -msgid "" -":issue:`28416`: Instances of pickle.Pickler subclass with the " -"persistent_id() method and pickle.Unpickler subclass with the " -"persistent_load() method no longer create reference cycles." -msgstr "" - -#: ../build/NEWS:22624 -msgid "" -":issue:`31653`: Don't release the GIL if we can acquire a multiprocessing " -"semaphore immediately." -msgstr "" - -#: ../build/NEWS:22627 ../build/NEWS:26100 -msgid "" -":issue:`28326`: Fix multiprocessing.Process when stdout and/or stderr is " -"closed or None." -msgstr "" - -#: ../build/NEWS:22630 -msgid "" -":issue:`20825`: Add `subnet_of` and `superset_of` containment tests to :" -"class:`ipaddress.IPv6Network` and :class:`ipaddress.IPv4Network`. Patch by " -"Michel Albert and Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:22634 -msgid "" -":issue:`31827`: Remove the os.stat_float_times() function. It was introduced " -"in Python 2.3 for backward compatibility with Python 2.2, and was deprecated " -"since Python 3.1." -msgstr "" - -#: ../build/NEWS:22638 -msgid "" -":issue:`31756`: Add a ``subprocess.Popen(text=False)`` keyword argument to " -"`subprocess` functions to be more explicit about when the library should " -"attempt to decode outputs into text. Patch by Andrew Clegg." -msgstr "" - -#: ../build/NEWS:22642 -msgid ":issue:`31819`: Add AbstractEventLoop.sock_recv_into()." -msgstr "" - -#: ../build/NEWS:22644 ../build/NEWS:25422 ../build/NEWS:26103 -msgid "" -":issue:`31457`: If nested log adapters are used, the inner ``process()`` " -"methods are no longer omitted." -msgstr "" - -#: ../build/NEWS:22647 ../build/NEWS:26106 -msgid "" -":issue:`31457`: The ``manager`` property on LoggerAdapter objects is now " -"properly settable." -msgstr "" - -#: ../build/NEWS:22650 ../build/NEWS:26109 -msgid "" -":issue:`31806`: Fix timeout rounding in time.sleep(), threading.Lock." -"acquire() and socket.socket.settimeout() to round correctly negative " -"timeouts between -1.0 and 0.0. The functions now block waiting for events as " -"expected. Previously, the call was incorrectly non-blocking. Patch by Pablo " -"Galindo." -msgstr "" - -#: ../build/NEWS:22656 -msgid "" -":issue:`31803`: time.clock() and time.get_clock_info('clock') now emit a " -"DeprecationWarning warning." -msgstr "" - -#: ../build/NEWS:22659 -msgid "" -":issue:`31800`: Extended support for parsing UTC offsets. strptime '%z' can " -"now parse the output generated by datetime.isoformat, including seconds and " -"microseconds." -msgstr "" - -#: ../build/NEWS:22663 ../build/NEWS:26115 -msgid "" -":issue:`28603`: traceback: Fix a TypeError that occurred during printing of " -"exception tracebacks when either the current exception or an exception in " -"its context/cause chain is unhashable. Patch by Zane Bitter." -msgstr "" - -#: ../build/NEWS:22667 -msgid "" -":issue:`30541`: Add new function to seal a mock and prevent the " -"automatically creation of child mocks. Patch by Mario Corchero." -msgstr "" - -#: ../build/NEWS:22670 -msgid "" -":issue:`31784`: Implement the :pep:`564`, add new 6 new functions with " -"nanosecond resolution to the :mod:`time` module: :func:`~time." -"clock_gettime_ns`, :func:`~time.clock_settime_ns`, :func:`~time." -"monotonic_ns`, :func:`~time.perf_counter_ns`, :func:`~time." -"process_time_ns`, :func:`~time.time_ns`." -msgstr "" - -#: ../build/NEWS:22676 -msgid "" -":issue:`30143`: 2to3 now generates a code that uses abstract collection " -"classes from collections.abc rather than collections." -msgstr "" - -#: ../build/NEWS:22679 ../build/NEWS:26121 -msgid "" -":issue:`31770`: Prevent a crash when calling the ``__init__()`` method of a " -"``sqlite3.Cursor`` object more than once. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22682 ../build/NEWS:26128 -msgid "" -":issue:`31764`: Prevent a crash in ``sqlite3.Cursor.close()`` in case the " -"``Cursor`` object is uninitialized. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22685 ../build/NEWS:26131 -msgid "" -":issue:`31752`: Fix possible crash in timedelta constructor called with " -"custom integers." -msgstr "" - -#: ../build/NEWS:22688 ../build/NEWS:26140 -msgid "" -":issue:`31620`: an empty asyncio.Queue now doesn't leak memory when queue." -"get pollers timeout" -msgstr "" - -#: ../build/NEWS:22691 -msgid "" -":issue:`31690`: Allow the flags re.ASCII, re.LOCALE, and re.UNICODE to be " -"used as group flags for regular expressions." -msgstr "" - -#: ../build/NEWS:22694 -msgid "" -":issue:`30349`: FutureWarning is now emitted if a regular expression " -"contains character set constructs that will change semantically in the " -"future (nested sets and set operations)." -msgstr "" - -#: ../build/NEWS:22698 -msgid "" -":issue:`31664`: Added support for the Blowfish hashing in the crypt module." -msgstr "" - -#: ../build/NEWS:22700 ../build/NEWS:26143 -msgid "" -":issue:`31632`: Fix method set_protocol() of class _SSLProtocolTransport in " -"asyncio module. This method was previously modifying a wrong reference to " -"the protocol." -msgstr "" - -#: ../build/NEWS:22704 ../build/NEWS:26154 -msgid "" -":issue:`15037`: Added a workaround for getkey() in curses for ncurses 5.7 " -"and earlier." -msgstr "" - -#: ../build/NEWS:22707 -msgid "" -":issue:`31307`: Allow use of bytes objects for arguments to :meth:" -"`configparser.ConfigParser.read`. Patch by Vincent Michel." -msgstr "" - -#: ../build/NEWS:22710 ../build/NEWS:26174 -msgid "" -":issue:`31334`: Fix ``poll.poll([timeout])`` in the ``select`` module for " -"arbitrary negative timeouts on all OSes where it can only be a non-negative " -"integer or -1. Patch by Riccardo Coccioli." -msgstr "" - -#: ../build/NEWS:22714 ../build/NEWS:26178 -msgid "" -":issue:`31310`: multiprocessing's semaphore tracker should be launched again " -"if crashed." -msgstr "" - -#: ../build/NEWS:22717 ../build/NEWS:26181 -msgid "" -":issue:`31308`: Make multiprocessing's forkserver process immune to Ctrl-C " -"and other user interruptions. If it crashes, restart it when necessary." -msgstr "" - -#: ../build/NEWS:22720 -msgid "" -":issue:`31245`: Added support for AF_UNIX socket in asyncio " -"`create_datagram_endpoint`." -msgstr "" - -#: ../build/NEWS:22723 -msgid "" -":issue:`30553`: Add HTTP/2 status code 421 (Misdirected Request) to :class:" -"`http.HTTPStatus`. Patch by Vitor Pereira." -msgstr "" - -#: ../build/NEWS:22729 ../build/NEWS:26187 -msgid "" -":issue:`32105`: Added asyncio.BaseEventLoop.connect_accepted_socket " -"versionadded marker." -msgstr "" - -#: ../build/NEWS:22735 ../build/NEWS:26200 -msgid "" -":issue:`31380`: Skip test_httpservers test_undecodable_file on macOS: fails " -"on APFS." -msgstr "" - -#: ../build/NEWS:22738 ../build/NEWS:26203 -msgid "" -":issue:`31705`: Skip test_socket.test_sha256() on Linux kernel older than " -"4.5. The test fails with ENOKEY on kernel 3.10 (on ppc64le). A fix was " -"merged into the kernel 4.5." -msgstr "" - -#: ../build/NEWS:22742 -msgid "" -":issue:`32138`: Skip on Android test_faulthandler tests that raise SIGSEGV " -"and remove the test.support.requires_android_level decorator." -msgstr "" - -#: ../build/NEWS:22745 -msgid "" -":issue:`32136`: The runtime embedding tests have been split out from ``Lib/" -"test/test_capi.py`` into a new ``Lib/test/test_embed.py`` file." -msgstr "" - -#: ../build/NEWS:22748 -msgid "" -":issue:`28668`: test.support.requires_multiprocessing_queue is removed. Skip " -"tests with test.support.import_module('multiprocessing.synchronize') instead " -"when the semaphore implementation is broken or missing." -msgstr "" - -#: ../build/NEWS:22752 -msgid "" -":issue:`32126`: Skip test_get_event_loop_new_process in test.test_asyncio." -"test_events when sem_open() is not functional." -msgstr "" - -#: ../build/NEWS:22755 ../build/NEWS:26207 -msgid "" -":issue:`31174`: Fix test_tools.test_unparse: DirectoryTestCase now stores " -"the names sample to always test the same files. It prevents false alarms " -"when hunting reference leaks." -msgstr "" - -#: ../build/NEWS:22762 -msgid "" -":issue:`28538`: Revert the previous changes, the if_nameindex structure is " -"defined by Unified Headers." -msgstr "" - -#: ../build/NEWS:22765 -msgid "" -":issue:`28762`: Revert the last commit, the F_LOCK macro is defined by " -"Android Unified Headers." -msgstr "" - -#: ../build/NEWS:22768 -msgid "" -":issue:`29040`: Support building Android with Unified Headers. The first NDK " -"release to support Unified Headers is android-ndk-r14." -msgstr "" - -#: ../build/NEWS:22771 ../build/NEWS:26217 -msgid "" -":issue:`32059`: ``detect_modules()`` in ``setup.py`` now also searches the " -"sysroot paths when cross-compiling." -msgstr "" - -#: ../build/NEWS:22774 ../build/NEWS:26220 -msgid "" -":issue:`31957`: Fixes Windows SDK version detection when building for " -"Windows." -msgstr "" - -#: ../build/NEWS:22776 ../build/NEWS:26222 -msgid ":issue:`31609`: Fixes quotes in PCbuild/clean.bat" -msgstr "" - -#: ../build/NEWS:22778 ../build/NEWS:26224 -msgid "" -":issue:`31934`: Abort the build when building out of a not clean source tree." -msgstr "" - -#: ../build/NEWS:22780 ../build/NEWS:26226 -msgid "" -":issue:`31926`: Fixed Argument Clinic sometimes causing compilation errors " -"when there was more than one function and/or method in a .c file with the " -"same name." -msgstr "" - -#: ../build/NEWS:22784 ../build/NEWS:26230 -msgid ":issue:`28791`: Update Windows builds to use SQLite 3.21.0." -msgstr "" - -#: ../build/NEWS:22786 ../build/NEWS:26232 -msgid ":issue:`28791`: Update OS X installer to use SQLite 3.21.0." -msgstr "" - -#: ../build/NEWS:22788 -msgid ":issue:`28643`: Record profile-opt build progress with stamp files." -msgstr "" - -#: ../build/NEWS:22790 -msgid ":issue:`31866`: Finish removing support for AtheOS." -msgstr "" - -#: ../build/NEWS:22795 ../build/NEWS:26242 -msgid "" -":issue:`1102`: Return ``None`` when ``View.Fetch()`` returns " -"``ERROR_NO_MORE_ITEMS`` instead of raising ``MSIError``. Initial patch by " -"Anthony Tuininga." -msgstr "" - -#: ../build/NEWS:22799 ../build/NEWS:26246 -msgid ":issue:`31944`: Fixes Modify button in Apps and Features dialog." -msgstr "" - -#: ../build/NEWS:22801 -msgid "" -":issue:`20486`: Implement the ``Database.Close()`` method to help closing " -"MSI database objects." -msgstr "" - -#: ../build/NEWS:22804 -msgid "" -":issue:`31857`: Make the behavior of USE_STACKCHECK deterministic in a multi-" -"threaded environment." -msgstr "" - -#: ../build/NEWS:22810 ../build/NEWS:26251 -msgid ":issue:`31392`: Update macOS installer to use OpenSSL 1.0.2m" -msgstr "" - -#: ../build/NEWS:22815 ../build/NEWS:26256 -msgid "" -":issue:`32207`: Improve tk event exception tracebacks in IDLE. When tk event " -"handling is driven by IDLE's run loop, a confusing and distracting queue." -"EMPTY traceback context is no longer added to tk event exception " -"tracebacks. The traceback is now the same as when event handling is driven " -"by user code. Patch based on a suggestion by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:22821 ../build/NEWS:26262 -msgid "" -":issue:`32164`: Delete unused file idlelib/tabbedpages.py. Use of " -"TabbedPageSet in configdialog was replaced by ttk.Notebook." -msgstr "" - -#: ../build/NEWS:22824 ../build/NEWS:26265 -msgid "" -":issue:`32100`: IDLE: Fix old and new bugs in pathbrowser; improve tests. " -"Patch mostly by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:22827 ../build/NEWS:26268 -msgid "" -":issue:`31858`: IDLE -- Restrict shell prompt manipulation to the shell. " -"Editor and output windows only see an empty last prompt line. This " -"simplifies the code and fixes a minor bug when newline is inserted. Sys.ps1, " -"if present, is read on Shell start-up, but is not set or changed." -msgstr "" - -#: ../build/NEWS:22832 ../build/NEWS:26273 -msgid "" -":issue:`31860`: The font sample in the IDLE configuration dialog is now " -"editable. Changes persist while IDLE remains open" -msgstr "" - -#: ../build/NEWS:22835 ../build/NEWS:26276 -msgid "" -":issue:`31836`: Test_code_module now passes if run after test_idle, which " -"sets ps1. The code module uses sys.ps1 if present or sets it to '>>> ' if " -"not. Test_code_module now properly tests both behaviors. Ditto for ps2." -msgstr "" - -#: ../build/NEWS:22839 ../build/NEWS:26280 -msgid "" -":issue:`28603`: Fix a TypeError that caused a shell restart when printing a " -"traceback that includes an exception that is unhashable. Patch by Zane " -"Bitter." -msgstr "" - -#: ../build/NEWS:22843 -msgid "" -":issue:`13802`: Use non-Latin characters in the IDLE's Font settings sample. " -"Even if one selects a font that defines a limited subset of the unicode " -"Basic Multilingual Plane, tcl/tk will use other fonts that define a " -"character. The expanded example give users of non-Latin characters a better " -"idea of what they might see in IDLE's shell and editors. To make room for " -"the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs " -"help explains a bit about the additions." -msgstr "" - -#: ../build/NEWS:22854 -msgid "" -":issue:`32159`: Remove CVS and Subversion tools: remove svneol.py and " -"treesync.py scripts. CPython migrated from CVS to Subversion, to Mercurial, " -"and then to Git. CVS and Subversion are no longer used to develop CPython." -msgstr "" - -#: ../build/NEWS:22859 ../build/NEWS:26319 -msgid "" -":issue:`30722`: Make redemo work with Python 3.6 and newer versions. Also, " -"remove the ``LOCALE`` option since it doesn't work with string patterns in " -"Python 3. Patch by Christoph Sarnowski." -msgstr "" - -#: ../build/NEWS:22866 ../build/NEWS:26326 -msgid "" -":issue:`20891`: Fix PyGILState_Ensure(). When PyGILState_Ensure() is called " -"in a non-Python thread before PyEval_InitThreads(), only call " -"PyEval_InitThreads() after calling PyThreadState_New() to fix a crash." -msgstr "" - -#: ../build/NEWS:22870 -msgid "" -":issue:`32125`: The ``Py_UseClassExceptionsFlag`` flag has been removed. It " -"was deprecated and wasn't used anymore since Python 2.0." -msgstr "" - -#: ../build/NEWS:22873 -msgid "" -":issue:`25612`: Move the current exception state from the frame object to " -"the co-routine. This simplifies the interpreter and fixes a couple of " -"obscure bugs caused by having swap exception state when entering or exiting " -"a generator." -msgstr "" - -#: ../build/NEWS:22878 -msgid "" -":issue:`23699`: Add Py_RETURN_RICHCOMPARE macro to reduce boilerplate code " -"in rich comparison functions." -msgstr "" - -#: ../build/NEWS:22881 ../build/NEWS:26333 -msgid "" -":issue:`30697`: The `PyExc_RecursionErrorInst` singleton is removed and " -"`PyErr_NormalizeException()` does not use it anymore. This singleton is " -"persistent and its members being never cleared may cause a segfault during " -"finalization of the interpreter. See also :issue:`22898`." -msgstr "" - -#: ../build/NEWS:22888 -msgid "Python 3.7.0 alpha 2" -msgstr "" - -#: ../build/NEWS:22890 -msgid "*Release date: 2017-10-16*" -msgstr "" - -#: ../build/NEWS:22895 -msgid "" -":issue:`31558`: ``gc.freeze()`` is a new API that allows for moving all " -"objects currently tracked by the garbage collector to a permanent " -"generation, effectively removing them from future collection events. This " -"can be used to protect those objects from having their PyGC_Head mutated. In " -"effect, this enables great copy-on-write stability at fork()." -msgstr "" - -#: ../build/NEWS:22901 ../build/NEWS:25969 -msgid "" -":issue:`31642`: Restored blocking \"from package import module\" by setting " -"sys.modules[\"package.module\"] to None." -msgstr "" - -#: ../build/NEWS:22904 -msgid "" -":issue:`31708`: Allow use of asynchronous generator expressions in " -"synchronous functions." -msgstr "" - -#: ../build/NEWS:22907 -msgid ":issue:`31709`: Drop support of asynchronous __aiter__." -msgstr "" - -#: ../build/NEWS:22909 -msgid "" -":issue:`30404`: The -u option now makes the stdout and stderr streams " -"unbuffered rather than line-buffered." -msgstr "" - -#: ../build/NEWS:22912 ../build/NEWS:25975 -msgid "" -":issue:`31619`: Fixed a ValueError when convert a string with large number " -"of underscores to integer with binary base." -msgstr "" - -#: ../build/NEWS:22915 -msgid "" -":issue:`31602`: Fix an assertion failure in `zipimporter.get_source()` in " -"case of a bad `zlib.decompress()`. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22918 ../build/NEWS:25978 -msgid "" -":issue:`31592`: Fixed an assertion failure in Python parser in case of a bad " -"`unicodedata.normalize()`. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22921 ../build/NEWS:25981 -msgid "" -":issue:`31588`: Raise a `TypeError` with a helpful error message when class " -"creation fails due to a metaclass with a bad ``__prepare__()`` method. Patch " -"by Oren Milman." -msgstr "" - -#: ../build/NEWS:22925 -msgid "" -":issue:`31574`: Importlib was instrumented with two dtrace probes to profile " -"import timing." -msgstr "" - -#: ../build/NEWS:22928 ../build/NEWS:25985 -msgid "" -":issue:`31566`: Fix an assertion failure in `_warnings.warn()` in case of a " -"bad ``__name__`` global. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22931 -msgid "" -":issue:`31506`: Improved the error message logic for object.__new__ and " -"object.__init__." -msgstr "" - -#: ../build/NEWS:22934 ../build/NEWS:25988 -msgid "" -":issue:`31505`: Fix an assertion failure in `json`, in case `_json." -"make_encoder()` received a bad `encoder()` argument. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22938 ../build/NEWS:25992 -msgid "" -":issue:`31492`: Fix assertion failures in case of failing to import from a " -"module with a bad ``__name__`` attribute, and in case of failing to access " -"an attribute of such a module. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22942 ../build/NEWS:26000 -msgid "" -":issue:`31478`: Fix an assertion failure in `_random.Random.seed()` in case " -"the argument has a bad ``__abs__()`` method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22945 -msgid "" -":issue:`31336`: Speed up class creation by 10-20% by reducing the overhead " -"in the necessary special method lookups. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:22948 -msgid "" -":issue:`31415`: Add ``-X importtime`` option to show how long each import " -"takes. It can be used to optimize application's startup time. Support the :" -"envvar:`PYTHONPROFILEIMPORTTIME` as an equivalent way to enable this." -msgstr "" - -#: ../build/NEWS:22952 -msgid ":issue:`31410`: Optimized calling wrapper and classmethod descriptors." -msgstr "" - -#: ../build/NEWS:22954 -msgid "" -":issue:`31353`: :pep:`553` - Add a new built-in called ``breakpoint()`` " -"which calls ``sys.breakpointhook()``. By default this imports ``pdb`` and " -"calls ``pdb.set_trace()``, but users may override ``sys.breakpointhook()`` " -"to call whatever debugger they want. The original value of the hook is " -"saved in ``sys.__breakpointhook__``." -msgstr "" - -#: ../build/NEWS:22960 -msgid "" -":issue:`17852`: Maintain a list of open buffered files, flush them before " -"exiting the interpreter. Based on a patch from Armin Rigo." -msgstr "" - -#: ../build/NEWS:22963 ../build/NEWS:26003 -msgid "" -":issue:`31315`: Fix an assertion failure in imp.create_dynamic(), when spec." -"name is not a string. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22966 ../build/NEWS:26006 -msgid "" -":issue:`31311`: Fix a crash in the ``__setstate__()`` method of `ctypes." -"_CData`, in case of a bad ``__dict__``. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22969 ../build/NEWS:26009 -msgid "" -":issue:`31293`: Fix crashes in true division and multiplication of a " -"timedelta object by a float with a bad as_integer_ratio() method. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:22973 ../build/NEWS:26013 -msgid "" -":issue:`31285`: Fix an assertion failure in `warnings.warn_explicit`, when " -"the return value of the received loader's get_source() has a bad " -"splitlines() method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22977 -msgid "" -":issue:`30406`: Make ``async`` and ``await`` proper keywords, as specified " -"in :pep:`492`." -msgstr "" - -#: ../build/NEWS:22983 ../build/NEWS:26119 -msgid ":issue:`30058`: Fixed buffer overflow in select.kqueue.control()." -msgstr "" - -#: ../build/NEWS:22985 ../build/NEWS:26124 -msgid "" -":issue:`31672`: ``idpattern`` in ``string.Template`` matched some non-ASCII " -"characters. Now it uses ``-i`` regular expression local flag to avoid non-" -"ASCII characters." -msgstr "" - -#: ../build/NEWS:22989 ../build/NEWS:26134 -msgid "" -":issue:`31701`: On Windows, faulthandler.enable() now ignores MSC and COM " -"exceptions." -msgstr "" - -#: ../build/NEWS:22992 ../build/NEWS:26137 -msgid "" -":issue:`31728`: Prevent crashes in `_elementtree` due to unsafe cleanup of " -"`Element.text` and `Element.tail`. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:22995 -msgid "" -":issue:`31671`: Now ``re.compile()`` converts passed RegexFlag to normal int " -"object before compiling. bm_regex_compile benchmark shows 14% performance " -"improvements." -msgstr "" - -#: ../build/NEWS:22999 -msgid "" -":issue:`30397`: The types of compiled regular objects and match objects are " -"now exposed as `re.Pattern` and `re.Match`. This adds information in pydoc " -"output for the re module." -msgstr "" - -#: ../build/NEWS:23003 ../build/NEWS:26147 -msgid "" -":issue:`31675`: Fixed memory leaks in Tkinter's methods splitlist() and " -"split() when pass a string larger than 2 GiB." -msgstr "" - -#: ../build/NEWS:23006 ../build/NEWS:26150 -msgid "" -":issue:`31673`: Fixed typo in the name of Tkinter's method adderrorinfo()." -msgstr "" - -#: ../build/NEWS:23008 -msgid "" -":issue:`31648`: Improvements to path predicates in ElementTree: Allow " -"whitespace around predicate parts, i.e. \"[a = 'text']\" instead of " -"requiring the less readable \"[a='text']\". Add support for text comparison " -"of the current node, like \"[.='text']\". Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:23013 ../build/NEWS:26152 -msgid ":issue:`30806`: Fix the string representation of a netrc object." -msgstr "" - -#: ../build/NEWS:23015 -msgid "" -":issue:`31638`: Add optional argument ``compressed`` to ``zipapp." -"create_archive``, and add option ``--compress`` to the command line " -"interface of ``zipapp``." -msgstr "" - -#: ../build/NEWS:23019 ../build/NEWS:26157 -msgid ":issue:`25351`: Avoid venv activate failures with undefined variables" -msgstr "" - -#: ../build/NEWS:23021 -msgid "" -":issue:`20519`: Avoid ctypes use (if possible) and improve import time for " -"uuid." -msgstr "" - -#: ../build/NEWS:23024 -msgid "" -":issue:`28293`: The regular expression cache is no longer completely dumped " -"when it is full." -msgstr "" - -#: ../build/NEWS:23027 -msgid ":issue:`31596`: Added pthread_getcpuclockid() to the time module" -msgstr "" - -#: ../build/NEWS:23029 -msgid "" -":issue:`27494`: Make 2to3 accept a trailing comma in generator expressions. " -"For example, ``set(x for x in [],)`` is now allowed." -msgstr "" - -#: ../build/NEWS:23032 ../build/NEWS:26163 -msgid "" -":issue:`30347`: Stop crashes when concurrently iterate over itertools." -"groupby() iterators." -msgstr "" - -#: ../build/NEWS:23035 -msgid "" -":issue:`30346`: An iterator produced by itertools.groupby() iterator now " -"becomes exhausted after advancing the groupby iterator." -msgstr "" - -#: ../build/NEWS:23038 -msgid ":issue:`31556`: Cancel asyncio.wait_for future faster if timeout <= 0" -msgstr "" - -#: ../build/NEWS:23040 -msgid "" -":issue:`31540`: Allow passing a context object in :class:`concurrent.futures." -"ProcessPoolExecutor` constructor. Also, free job resources in :class:" -"`concurrent.futures.ProcessPoolExecutor` earlier to improve memory usage " -"when a worker waits for new jobs." -msgstr "" - -#: ../build/NEWS:23045 ../build/NEWS:26166 -msgid "" -":issue:`31516`: ``threading.current_thread()`` should not return a dummy " -"thread at shutdown." -msgstr "" - -#: ../build/NEWS:23048 -msgid "" -":issue:`31525`: In the sqlite module, require the sqlite3_prepare_v2 API. " -"Thus, the sqlite module now requires sqlite version at least 3.3.9." -msgstr "" - -#: ../build/NEWS:23051 -msgid "" -":issue:`26510`: argparse subparsers are now required by default. This " -"matches behaviour in Python 2. For optional subparsers, use the new " -"parameter ``add_subparsers(required=False)``. Patch by Anthony Sottile. (As " -"of 3.7.0rc1, the default was changed to not required as had been the case " -"since Python 3.3.)" -msgstr "" - -#: ../build/NEWS:23057 -msgid "" -":issue:`27541`: Reprs of subclasses of some collection and iterator classes " -"(`bytearray`, `array.array`, `collections.deque`, `collections.defaultdict`, " -"`itertools.count`, `itertools.repeat`) now contain actual type name insteads " -"of hardcoded name of the base class." -msgstr "" - -#: ../build/NEWS:23062 ../build/NEWS:26169 -msgid "" -":issue:`31351`: python -m ensurepip now exits with non-zero exit code if pip " -"bootstrapping has failed." -msgstr "" - -#: ../build/NEWS:23065 -msgid "" -":issue:`31389`: ``pdb.set_trace()`` now takes an optional keyword-only " -"argument ``header``. If given, this is printed to the console just before " -"debugging begins." -msgstr "" - -#: ../build/NEWS:23072 ../build/NEWS:26190 -msgid "" -":issue:`31537`: Fix incorrect usage of ``get_history_length`` in readline " -"documentation example code. Patch by Brad Smith." -msgstr "" - -#: ../build/NEWS:23075 ../build/NEWS:26193 -msgid "" -":issue:`30085`: The operator functions without double underscores are " -"preferred for clarity. The one with underscores are only kept for back-" -"compatibility." -msgstr "" - -#: ../build/NEWS:23082 -msgid "" -":issue:`31696`: Improve compiler version information in :data:`sys.version` " -"when Python is built with Clang." -msgstr "" - -#: ../build/NEWS:23085 -msgid "" -":issue:`31625`: Stop using ranlib on static libraries. Instead, we assume ar " -"supports the 's' flag." -msgstr "" - -#: ../build/NEWS:23088 -msgid ":issue:`31624`: Remove support for BSD/OS." -msgstr "" - -#: ../build/NEWS:23090 ../build/NEWS:26234 -msgid "" -":issue:`22140`: Prevent double substitution of prefix in python-config.sh." -msgstr "" - -#: ../build/NEWS:23092 -msgid "" -":issue:`31569`: Correct PCBuild/ case to PCbuild/ in build scripts and " -"documentation." -msgstr "" - -#: ../build/NEWS:23095 ../build/NEWS:26236 -msgid "" -":issue:`31536`: Avoid wholesale rebuild after `make regen-all` if nothing " -"changed." -msgstr "" - -#: ../build/NEWS:23101 ../build/NEWS:26292 -msgid "" -":issue:`31460`: Simplify the API of IDLE's Module Browser. Passing a widget " -"instead of an flist with a root widget opens the option of creating a " -"browser frame that is only part of a window. Passing a full file name " -"instead of pieces assumed to come from a .py file opens the possibility of " -"browsing python files that do not end in .py." -msgstr "" - -#: ../build/NEWS:23107 ../build/NEWS:26298 -msgid ":issue:`31649`: IDLE - Make _htest, _utest parameters keyword only." -msgstr "" - -#: ../build/NEWS:23109 ../build/NEWS:26300 -msgid ":issue:`31559`: Remove test order dependence in idle_test.test_browser." -msgstr "" - -#: ../build/NEWS:23111 ../build/NEWS:26302 -msgid "" -":issue:`31459`: Rename IDLE's module browser from Class Browser to Module " -"Browser. The original module-level class and method browser became a module " -"browser, with the addition of module-level functions, years ago. Nested " -"classes and functions were added yesterday. For back-compatibility, the " -"virtual event <>, which appears on the Keys tab of the " -"Settings dialog, is not changed. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:23119 ../build/NEWS:26310 -msgid ":issue:`31500`: Default fonts now are scaled on HiDPI displays." -msgstr "" - -#: ../build/NEWS:23121 ../build/NEWS:26312 -msgid "" -":issue:`1612262`: IDLE module browser now shows nested classes and " -"functions. Original patches for code and tests by Guilherme Polo and Cheryl " -"Sabella, respectively." -msgstr "" - -#: ../build/NEWS:23128 -msgid "" -":issue:`28280`: Make `PyMapping_Keys()`, `PyMapping_Values()` and " -"`PyMapping_Items()` always return a `list` (rather than a `list` or a " -"`tuple`). Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23132 ../build/NEWS:26330 -msgid "" -":issue:`31532`: Fix memory corruption due to allocator mix in getpath.c " -"between Py_GetPath() and Py_SetPath()" -msgstr "" - -#: ../build/NEWS:23135 -msgid "" -":issue:`25658`: Implement :pep:`539` for Thread Specific Storage (TSS) API: " -"it is a new Thread Local Storage (TLS) API to CPython which would supersede " -"use of the existing TLS API within the CPython interpreter, while " -"deprecating the existing API. PEP written by Erik M. Bray, patch by Masayuki " -"Yamamoto." -msgstr "" - -#: ../build/NEWS:23143 -msgid "Python 3.7.0 alpha 1" -msgstr "" - -#: ../build/NEWS:23145 -msgid "*Release date: 2017-09-19*" -msgstr "" - -#: ../build/NEWS:23150 ../build/NEWS:26368 -msgid "" -":issue:`29781`: SSLObject.version() now correctly returns None when " -"handshake over BIO has not been performed yet." -msgstr "" - -#: ../build/NEWS:23153 -msgid "" -":issue:`29505`: Add fuzz tests for float(str), int(str), unicode(str); for " -"oss-fuzz." -msgstr "" - -#: ../build/NEWS:23156 ../build/NEWS:26371 ../build/NEWS:30717 -msgid "" -":issue:`30947`: Upgrade libexpat embedded copy from version 2.2.1 to 2.2.3 " -"to get security fixes." -msgstr "" - -#: ../build/NEWS:23159 ../build/NEWS:26831 ../build/NEWS:30759 -msgid "" -":issue:`30730`: Prevent environment variables injection in subprocess on " -"Windows. Prevent passing other environment variables and command arguments." -msgstr "" - -#: ../build/NEWS:23163 ../build/NEWS:26835 ../build/NEWS:30763 -msgid "" -":issue:`30694`: Upgrade expat copy from 2.2.0 to 2.2.1 to get fixes of " -"multiple security vulnerabilities including: CVE-2017-9233 (External entity " -"infinite loop DoS), CVE-2016-9063 (Integer overflow, re-fix), CVE-2016-0718 " -"(Fix regression bugs from 2.2.0's fix to CVE-2016-0718) and CVE-2012-0876 " -"(Counter hash flooding with SipHash). Note: the CVE-2016-5300 (Use os-" -"specific entropy sources like getrandom) doesn't impact Python, since Python " -"already gets entropy from the OS to set the expat secret using " -"``XML_SetHashSalt()``." -msgstr "" - -#: ../build/NEWS:23172 ../build/NEWS:26844 ../build/NEWS:30772 -msgid "" -":issue:`30500`: Fix urllib.parse.splithost() to correctly parse fragments. " -"For example, ``splithost('//127.0.0.1#@evil.com/')`` now correctly returns " -"the ``127.0.0.1`` host, instead of treating ``@evil.com`` as the host in an " -"authentication (``login@host``)." -msgstr "" - -#: ../build/NEWS:23177 ../build/NEWS:26858 ../build/NEWS:30777 -msgid "" -":issue:`29591`: Update expat copy from 2.1.1 to 2.2.0 to get fixes of " -"CVE-2016-0718 and CVE-2016-4472. See https://sourceforge.net/p/expat/" -"bugs/537/ for more information." -msgstr "" - -#: ../build/NEWS:23184 ../build/NEWS:25996 -msgid "" -":issue:`31490`: Fix an assertion failure in `ctypes` class definition, in " -"case the class has an attribute whose name is specified in ``_anonymous_`` " -"but not in ``_fields_``. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23188 ../build/NEWS:26377 -msgid "" -":issue:`31471`: Fix an assertion failure in `subprocess.Popen()` on Windows, " -"in case the env argument has a bad keys() method. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23191 ../build/NEWS:26380 -msgid "" -":issue:`31418`: Fix an assertion failure in `PyErr_WriteUnraisable()` in " -"case of an exception with a bad ``__module__`` attribute. Patch by Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:23194 ../build/NEWS:26383 -msgid "" -":issue:`31416`: Fix assertion failures in case of a bad warnings.filters or " -"warnings.defaultaction. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23197 -msgid "" -":issue:`28411`: Change direct usage of PyInterpreterState.modules to " -"PyImport_GetModuleDict(). Also introduce more uniformity in other code that " -"deals with sys.modules. This helps reduce complications when working on sys." -"modules." -msgstr "" - -#: ../build/NEWS:23202 -msgid "" -":issue:`28411`: Switch to the abstract API when dealing with " -"``PyInterpreterState.modules``. This allows later support for all dict " -"subclasses and other Mapping implementations. Also add a " -"``PyImport_GetModule()`` function to reduce a bunch of duplicated code." -msgstr "" - -#: ../build/NEWS:23207 ../build/NEWS:26386 -msgid "" -":issue:`31411`: Raise a TypeError instead of SystemError in case warnings." -"onceregistry is not a dictionary. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23210 -msgid "" -":issue:`31344`: For finer control of tracing behaviour when testing the " -"interpreter, two new frame attributes have been added to control the " -"emission of particular trace events: ``f_trace_lines`` (``True`` by default) " -"to turn off per-line trace events; and ``f_trace_opcodes`` (``False`` by " -"default) to turn on per-opcode trace events." -msgstr "" - -#: ../build/NEWS:23216 ../build/NEWS:26389 -msgid "" -":issue:`31373`: Fix several possible instances of undefined behavior due to " -"floating-point demotions." -msgstr "" - -#: ../build/NEWS:23219 ../build/NEWS:26392 -msgid "" -":issue:`30465`: Location information (``lineno`` and ``col_offset``) in f-" -"strings is now (mostly) correct. This fixes tools like flake8 from showing " -"warnings on the wrong line (typically the first line of the file)." -msgstr "" - -#: ../build/NEWS:23223 -msgid "" -":issue:`30860`: Consolidate CPython's global runtime state under a single " -"struct. This improves discoverability of the runtime state." -msgstr "" - -#: ../build/NEWS:23226 -msgid "" -":issue:`31347`: Fix possible undefined behavior in " -"_PyObject_FastCall_Prepend." -msgstr "" - -#: ../build/NEWS:23228 ../build/NEWS:26396 -msgid "" -":issue:`31343`: Include sys/sysmacros.h for major(), minor(), and makedev(). " -"GNU C libray plans to remove the functions from sys/types.h." -msgstr "" - -#: ../build/NEWS:23231 ../build/NEWS:26399 -msgid "" -":issue:`31291`: Fix an assertion failure in `zipimport.zipimporter.get_data` " -"on Windows, when the return value of ``pathname.replace('/','\\\\')`` isn't " -"a string. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23235 ../build/NEWS:26403 -msgid "" -":issue:`31271`: Fix an assertion failure in the write() method of `io." -"TextIOWrapper`, when the encoder doesn't return a bytes object. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:23239 ../build/NEWS:26407 -msgid "" -":issue:`31243`: Fix a crash in some methods of `io.TextIOWrapper`, when the " -"decoder's state is invalid. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23242 ../build/NEWS:26410 -msgid "" -":issue:`30721`: ``print`` now shows correct usage hint for using Python 2 " -"redirection syntax. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:23245 ../build/NEWS:26413 -msgid ":issue:`31070`: Fix a race condition in importlib _get_module_lock()." -msgstr "" - -#: ../build/NEWS:23247 -msgid "" -":issue:`30747`: Add a non-dummy implementation of _Py_atomic_store and " -"_Py_atomic_load on MSVC." -msgstr "" - -#: ../build/NEWS:23250 ../build/NEWS:26415 ../build/NEWS:30723 -msgid "" -":issue:`31095`: Fix potential crash during GC caused by ``tp_dealloc`` which " -"doesn't call ``PyObject_GC_UnTrack()``." -msgstr "" - -#: ../build/NEWS:23253 ../build/NEWS:26418 -msgid "" -":issue:`31071`: Avoid masking original TypeError in call with * unpacking " -"when other arguments are passed." -msgstr "" - -#: ../build/NEWS:23256 ../build/NEWS:26421 -msgid "" -":issue:`30978`: str.format_map() now passes key lookup exceptions through. " -"Previously any exception was replaced with a KeyError exception." -msgstr "" - -#: ../build/NEWS:23259 ../build/NEWS:26424 -msgid "" -":issue:`30808`: Use _Py_atomic API for concurrency-sensitive signal state." -msgstr "" - -#: ../build/NEWS:23261 ../build/NEWS:26426 ../build/NEWS:30784 -msgid "" -":issue:`30876`: Relative import from unloaded package now reimports the " -"package instead of failing with SystemError. Relative import from non-" -"package now fails with ImportError rather than SystemError." -msgstr "" - -#: ../build/NEWS:23265 ../build/NEWS:26430 -msgid "" -":issue:`30703`: Improve signal delivery. Avoid using Py_AddPendingCall from " -"signal handler, to avoid calling signal-unsafe functions. The tests I'm " -"adding here fail without the rest of the patch, on Linux and OS X. This " -"means our signal delivery logic had defects (some signals could be lost)." -msgstr "" - -#: ../build/NEWS:23270 ../build/NEWS:26435 ../build/NEWS:30788 -msgid "" -":issue:`30765`: Avoid blocking in pthread_mutex_lock() when " -"PyThread_acquire_lock() is asked not to block." -msgstr "" - -#: ../build/NEWS:23273 ../build/NEWS:26438 -msgid "" -":issue:`31161`: Make sure the 'Missing parentheses' syntax error message is " -"only applied to SyntaxError, not to subclasses. Patch by Martijn Pieters." -msgstr "" - -#: ../build/NEWS:23276 ../build/NEWS:26441 -msgid "" -":issue:`30814`: Fixed a race condition when import a submodule from a " -"package." -msgstr "" - -#: ../build/NEWS:23278 -msgid "" -":issue:`30736`: The internal unicodedata database has been upgraded to " -"Unicode 10.0." -msgstr "" - -#: ../build/NEWS:23281 -msgid "" -":issue:`30604`: Move co_extra_freefuncs from per-thread to per-interpreter " -"to avoid crashes." -msgstr "" - -#: ../build/NEWS:23284 ../build/NEWS:26443 -msgid "" -":issue:`30597`: ``print`` now shows expected input in custom error message " -"when used as a Python 2 statement. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:23287 ../build/NEWS:26865 -msgid "" -":issue:`30682`: Removed a too-strict assertion that failed for certain f-" -"strings, such as eval(\"f'\\\\\\n'\") and eval(\"f'\\\\\\r'\")." -msgstr "" - -#: ../build/NEWS:23290 -msgid "" -":issue:`30501`: The compiler now produces more optimal code for complex " -"condition expressions in the \"if\", \"while\" and \"assert\" statement, the " -"\"if\" expression, and generator expressions and comprehensions." -msgstr "" - -#: ../build/NEWS:23294 -msgid "" -":issue:`28180`: Implement :pep:`538` (legacy C locale coercion). This means " -"that when a suitable coercion target locale is available, both the core " -"interpreter and locale-aware C extensions will assume the use of UTF-8 as " -"the default text encoding, rather than ASCII." -msgstr "" - -#: ../build/NEWS:23299 -msgid "" -":issue:`30486`: Allows setting cell values for __closure__. Patch by Lisa " -"Roach." -msgstr "" - -#: ../build/NEWS:23302 -msgid "" -":issue:`30537`: itertools.islice now accepts integer-like objects (having an " -"__index__ method) as start, stop, and slice arguments" -msgstr "" - -#: ../build/NEWS:23305 -msgid "" -":issue:`25324`: Tokens needed for parsing in Python moved to C. ``COMMENT``, " -"``NL`` and ``ENCODING``. This way the tokens and tok_names in the token " -"module don't get changed when you import the tokenize module." -msgstr "" - -#: ../build/NEWS:23309 ../build/NEWS:26870 -msgid ":issue:`29104`: Fixed parsing backslashes in f-strings." -msgstr "" - -#: ../build/NEWS:23311 ../build/NEWS:26872 ../build/NEWS:30791 -msgid "" -":issue:`27945`: Fixed various segfaults with dict when input collections are " -"mutated during searching, inserting or comparing. Based on patches by Duane " -"Griffin and Tim Mitchell." -msgstr "" - -#: ../build/NEWS:23315 ../build/NEWS:26876 ../build/NEWS:30795 -msgid "" -":issue:`25794`: Fixed type.__setattr__() and type.__delattr__() for non-" -"interned attribute names. Based on patch by Eryk Sun." -msgstr "" - -#: ../build/NEWS:23318 ../build/NEWS:26879 -msgid "" -":issue:`30039`: If a KeyboardInterrupt happens when the interpreter is in " -"the middle of resuming a chain of nested 'yield from' or 'await' calls, it's " -"now correctly delivered to the innermost frame." -msgstr "" - -#: ../build/NEWS:23322 -msgid "" -":issue:`28974`: ``object.__format__(x, '')`` is now equivalent to ``str(x)`` " -"rather than ``format(str(self), '')``." -msgstr "" - -#: ../build/NEWS:23325 -msgid "" -":issue:`30024`: Circular imports involving absolute imports with binding a " -"submodule to a name are now supported." -msgstr "" - -#: ../build/NEWS:23328 ../build/NEWS:26883 -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 " -"Dong-hee Na." -msgstr "" - -#: ../build/NEWS:23332 -msgid "" -":issue:`29839`: len() now raises ValueError rather than OverflowError if " -"__len__() returned a large negative integer." -msgstr "" - -#: ../build/NEWS:23335 -msgid "" -":issue:`11913`: README.rst is now included in the list of distutils standard " -"READMEs and therefore included in source distributions." -msgstr "" - -#: ../build/NEWS:23338 -msgid "" -":issue:`29914`: Fixed default implementations of __reduce__ and " -"__reduce_ex__(). object.__reduce__() no longer takes arguments, object." -"__reduce_ex__() now requires one argument." -msgstr "" - -#: ../build/NEWS:23342 ../build/NEWS:26887 -msgid "" -":issue:`29949`: Fix memory usage regression of set and frozenset object." -msgstr "" - -#: ../build/NEWS:23344 ../build/NEWS:26889 ../build/NEWS:30798 -msgid "" -":issue:`29935`: Fixed error messages in the index() method of tuple, list " -"and deque when pass indices of wrong type." -msgstr "" - -#: ../build/NEWS:23347 -msgid "" -":issue:`29816`: Shift operation now has less opportunity to raise " -"OverflowError. ValueError always is raised rather than OverflowError for " -"negative counts. Shifting zero with non-negative count always returns zero." -msgstr "" - -#: ../build/NEWS:23352 -msgid "" -":issue:`24821`: Fixed the slowing down to 25 times in the searching of some " -"unlucky Unicode characters." -msgstr "" - -#: ../build/NEWS:23355 -msgid "" -":issue:`29102`: Add a unique ID to PyInterpreterState. This makes it easier " -"to identify each subinterpreter." -msgstr "" - -#: ../build/NEWS:23358 -msgid "" -":issue:`29894`: The deprecation warning is emitted if __complex__ returns an " -"instance of a strict subclass of complex. In a future versions of Python " -"this can be an error." -msgstr "" - -#: ../build/NEWS:23362 ../build/NEWS:26892 -msgid "" -":issue:`29859`: Show correct error messages when any of the pthread_* calls " -"in thread_pthread.h fails." -msgstr "" - -#: ../build/NEWS:23365 -msgid "" -":issue:`29849`: Fix a memory leak when an ImportError is raised during from " -"import." -msgstr "" - -#: ../build/NEWS:23368 ../build/NEWS:26900 -msgid "" -":issue:`28856`: Fix an oversight that %b format for bytes should support " -"objects follow the buffer protocol." -msgstr "" - -#: ../build/NEWS:23371 ../build/NEWS:27207 -msgid "" -":issue:`29723`: The ``sys.path[0]`` initialization change for :issue:`29139` " -"caused a regression by revealing an inconsistency in how sys.path is " -"initialized when executing ``__main__`` from a zipfile, directory, or other " -"import location. The interpreter now consistently avoids ever adding the " -"import location's parent directory to ``sys.path``, and ensures no other " -"``sys.path`` entries are inadvertently modified when inserting the import " -"location named on the command line." -msgstr "" - -#: ../build/NEWS:23379 -msgid "" -":issue:`29568`: Escaped percent \"%%\" in the format string for classic " -"string formatting no longer allows any characters between two percents." -msgstr "" - -#: ../build/NEWS:23382 ../build/NEWS:26903 -msgid "" -":issue:`29714`: Fix a regression that bytes format may fail when containing " -"zero bytes inside." -msgstr "" - -#: ../build/NEWS:23385 -msgid "" -":issue:`29695`: bool(), float(), list() and tuple() no longer take keyword " -"arguments. The first argument of int() can now be passes only as positional " -"argument." -msgstr "" - -#: ../build/NEWS:23389 ../build/NEWS:27231 -msgid "" -":issue:`28893`: Set correct __cause__ for errors about invalid awaitables " -"returned from __aiter__ and __anext__." -msgstr "" - -#: ../build/NEWS:23392 ../build/NEWS:26895 ../build/NEWS:30801 -msgid "" -":issue:`28876`: ``bool(range)`` works even if ``len(range)`` raises :exc:" -"`OverflowError`." -msgstr "" - -#: ../build/NEWS:23395 ../build/NEWS:27234 -msgid "" -":issue:`29683`: Fixes to memory allocation in _PyCode_SetExtra. Patch by " -"Brian Coleman." -msgstr "" - -#: ../build/NEWS:23398 ../build/NEWS:27237 -msgid "" -":issue:`29684`: Fix minor regression of PyEval_CallObjectWithKeywords. It " -"should raise TypeError when kwargs is not a dict. But it might cause segv " -"when args=NULL and kwargs is not a dict." -msgstr "" - -#: ../build/NEWS:23402 ../build/NEWS:27241 ../build/NEWS:30812 -msgid "" -":issue:`28598`: Support __rmod__ for subclasses of str being called before " -"str.__mod__. Patch by Martijn Pieters." -msgstr "" - -#: ../build/NEWS:23405 ../build/NEWS:27244 -msgid "" -":issue:`29607`: Fix stack_effect computation for CALL_FUNCTION_EX. Patch by " -"Matthieu Dartiailh." -msgstr "" - -#: ../build/NEWS:23408 ../build/NEWS:27247 ../build/NEWS:30815 -msgid "" -":issue:`29602`: Fix incorrect handling of signed zeros in complex " -"constructor for complex subclasses and for inputs having a __complex__ " -"method. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:23412 ../build/NEWS:27251 ../build/NEWS:30819 -msgid "" -":issue:`29347`: Fixed possibly dereferencing undefined pointers when " -"creating weakref objects." -msgstr "" - -#: ../build/NEWS:23415 -msgid "" -":issue:`29463`: Add ``docstring`` field to Module, ClassDef, FunctionDef, " -"and AsyncFunctionDef ast nodes. docstring is not first stmt in their body " -"anymore. It affects ``co_firstlineno`` and ``co_lnotab`` of code object for " -"module and class. (Reverted in :issue:`32911`.)" -msgstr "" - -#: ../build/NEWS:23420 ../build/NEWS:27254 ../build/NEWS:30822 -msgid ":issue:`29438`: Fixed use-after-free problem in key sharing dict." -msgstr "" - -#: ../build/NEWS:23422 -msgid "" -":issue:`29546`: Set the 'path' and 'name' attribute on ImportError for " -"``from ... import ...``." -msgstr "" - -#: ../build/NEWS:23425 -msgid ":issue:`29546`: Improve from-import error message with location" -msgstr "" - -#: ../build/NEWS:23427 ../build/NEWS:26906 ../build/NEWS:30829 -msgid "" -":issue:`29478`: If max_line_length=None is specified while using the " -"Compat32 policy, it is no longer ignored. Patch by Mircea Cosbuc." -msgstr "" - -#: ../build/NEWS:23430 ../build/NEWS:27256 ../build/NEWS:30824 -msgid ":issue:`29319`: Prevent RunMainFromImporter overwriting sys.path[0]." -msgstr "" - -#: ../build/NEWS:23432 ../build/NEWS:27258 ../build/NEWS:30826 -msgid "" -":issue:`29337`: Fixed possible BytesWarning when compare the code objects. " -"Warnings could be emitted at compile time." -msgstr "" - -#: ../build/NEWS:23435 ../build/NEWS:27261 -msgid "" -":issue:`29327`: Fixed a crash when pass the iterable keyword argument to " -"sorted()." -msgstr "" - -#: ../build/NEWS:23438 ../build/NEWS:27264 -msgid "" -":issue:`29034`: Fix memory leak and use-after-free in os module " -"(path_converter)." -msgstr "" - -#: ../build/NEWS:23441 ../build/NEWS:27267 -msgid "" -":issue:`29159`: Fix regression in bytes(x) when x.__index__() raises " -"Exception." -msgstr "" - -#: ../build/NEWS:23443 -msgid "" -":issue:`29049`: Call _PyObject_GC_TRACK() lazily when calling Python " -"function. Calling function is up to 5% faster." -msgstr "" - -#: ../build/NEWS:23446 -msgid "" -":issue:`28927`: bytes.fromhex() and bytearray.fromhex() now ignore all ASCII " -"whitespace, not only spaces. Patch by Robert Xiao." -msgstr "" - -#: ../build/NEWS:23449 ../build/NEWS:27269 ../build/NEWS:31187 -msgid ":issue:`28932`: Do not include if it does not exist." -msgstr "" - -#: ../build/NEWS:23451 ../build/NEWS:27271 ../build/NEWS:31192 -msgid "" -":issue:`25677`: Correct the positioning of the syntax error caret for " -"indented blocks. Based on patch by Michael Layzell." -msgstr "" - -#: ../build/NEWS:23454 ../build/NEWS:27274 ../build/NEWS:31195 -msgid "" -":issue:`29000`: Fixed bytes formatting of octals with zero padding in " -"alternate form." -msgstr "" - -#: ../build/NEWS:23457 -msgid "" -":issue:`18896`: Python function can now have more than 255 parameters. " -"collections.namedtuple() now supports tuples with more than 255 elements." -msgstr "" - -#: ../build/NEWS:23460 -msgid "" -":issue:`28596`: The preferred encoding is UTF-8 on Android. Patch written by " -"Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:23463 -msgid ":issue:`22257`: Clean up interpreter startup (see :pep:`432`)." -msgstr "" - -#: ../build/NEWS:23465 ../build/NEWS:27277 -msgid "" -":issue:`26919`: On Android, operating system data is now always encoded/" -"decoded to/from UTF-8, instead of the locale encoding to avoid " -"inconsistencies with os.fsencode() and os.fsdecode() which are already using " -"UTF-8." -msgstr "" - -#: ../build/NEWS:23469 ../build/NEWS:27281 -msgid "" -":issue:`28991`: functools.lru_cache() was susceptible to an obscure " -"reentrancy bug triggerable by a monkey-patched len() function." -msgstr "" - -#: ../build/NEWS:23472 ../build/NEWS:27555 -msgid "" -":issue:`28147`: Fix a memory leak in split-table dictionaries: setattr() " -"must not convert combined table into split table. Patch written by INADA " -"Naoki." -msgstr "" - -#: ../build/NEWS:23475 ../build/NEWS:27284 -msgid "" -":issue:`28739`: f-string expressions are no longer accepted as docstrings " -"and by ast.literal_eval() even if they do not include expressions." -msgstr "" - -#: ../build/NEWS:23478 ../build/NEWS:27287 ../build/NEWS:31198 -msgid "" -":issue:`28512`: Fixed setting the offset attribute of SyntaxError by " -"PyErr_SyntaxLocationEx() and PyErr_SyntaxLocationObject()." -msgstr "" - -#: ../build/NEWS:23481 ../build/NEWS:27290 -msgid "" -":issue:`28918`: Fix the cross compilation of xxlimited when Python has been " -"built with Py_DEBUG defined." -msgstr "" - -#: ../build/NEWS:23484 ../build/NEWS:27585 -msgid "" -":issue:`23722`: Rather than silently producing a class that doesn't support " -"zero-argument ``super()`` in methods, failing to pass the new " -"``__classcell__`` namespace entry up to ``type.__new__`` now results in a " -"``DeprecationWarning`` and a class that supports zero-argument ``super()``." -msgstr "" - -#: ../build/NEWS:23490 ../build/NEWS:27591 -msgid "" -":issue:`28797`: Modifying the class __dict__ inside the __set_name__ method " -"of a descriptor that is used inside that class no longer prevents calling " -"the __set_name__ method of other descriptors." -msgstr "" - -#: ../build/NEWS:23494 -msgid "" -":issue:`28799`: Remove the ``PyEval_GetCallStats()`` function and deprecate " -"the untested and undocumented ``sys.callstats()`` function. Remove the " -"``CALL_PROFILE`` special build: use the :func:`sys.setprofile` function, :" -"mod:`cProfile` or :mod:`profile` to profile function calls." -msgstr "" - -#: ../build/NEWS:23499 -msgid "" -":issue:`12844`: More than 255 arguments can now be passed to a function." -msgstr "" - -#: ../build/NEWS:23501 ../build/NEWS:27595 -msgid "" -":issue:`28782`: Fix a bug in the implementation ``yield from`` when checking " -"if the next instruction is YIELD_FROM. Regression introduced by WORDCODE (:" -"issue:`26647`)." -msgstr "" - -#: ../build/NEWS:23505 -msgid "" -":issue:`28774`: Fix error position of the unicode error in ASCII and Latin1 " -"encoders when a string returned by the error handler contains multiple non-" -"encodable characters (non-ASCII for the ASCII codec, characters out of the " -"U+0000-U+00FF range for Latin1)." -msgstr "" - -#: ../build/NEWS:23510 ../build/NEWS:27293 -msgid "" -":issue:`28731`: Optimize _PyDict_NewPresized() to create correct size dict. " -"Improve speed of dict literal with constant keys up to 30%." -msgstr "" - -#: ../build/NEWS:23513 ../build/NEWS:27649 -msgid ":issue:`28532`: Show sys.version when -V option is supplied twice." -msgstr "" - -#: ../build/NEWS:23515 ../build/NEWS:27651 -msgid "" -":issue:`27100`: The with-statement now checks for __enter__ before it checks " -"for __exit__. This gives less confusing error messages when both methods are " -"missing. Patch by Jonathan Ellington." -msgstr "" - -#: ../build/NEWS:23519 ../build/NEWS:27655 -msgid "" -":issue:`28746`: Fix the set_inheritable() file descriptor method on " -"platforms that do not have the ioctl FIOCLEX and FIONCLEX commands." -msgstr "" - -#: ../build/NEWS:23522 ../build/NEWS:27658 -msgid "" -":issue:`26920`: Fix not getting the locale's charset upon initializing the " -"interpreter, on platforms that do not have langinfo." -msgstr "" - -#: ../build/NEWS:23525 ../build/NEWS:27661 ../build/NEWS:31204 -msgid "" -":issue:`28648`: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X " -"when decode astral characters. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:23528 ../build/NEWS:27667 -msgid ":issue:`28665`: Improve speed of the STORE_DEREF opcode by 40%." -msgstr "" - -#: ../build/NEWS:23530 ../build/NEWS:27664 ../build/NEWS:31207 -msgid "" -":issue:`19398`: Extra slash no longer added to sys.path components in case " -"of empty compile-time PYTHONPATH components." -msgstr "" - -#: ../build/NEWS:23533 -msgid "" -":issue:`28621`: Sped up converting int to float by reusing faster bits " -"counting implementation. Patch by Adrian Wielgosik." -msgstr "" - -#: ../build/NEWS:23536 -msgid "" -":issue:`28580`: Optimize iterating split table values. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:23538 ../build/NEWS:27669 -msgid "" -":issue:`28583`: PyDict_SetDefault didn't combine split table when needed. " -"Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:23541 ../build/NEWS:27763 -msgid "" -":issue:`28128`: Deprecation warning for invalid str and byte escape " -"sequences now prints better information about where the error occurs. Patch " -"by Serhiy Storchaka and Eric Smith." -msgstr "" - -#: ../build/NEWS:23545 ../build/NEWS:27767 -msgid "" -":issue:`28509`: dict.update() no longer allocate unnecessary large memory." -msgstr "" - -#: ../build/NEWS:23547 ../build/NEWS:27769 ../build/NEWS:31210 -msgid "" -":issue:`28426`: Fixed potential crash in PyUnicode_AsDecodedObject() in " -"debug build." -msgstr "" - -#: ../build/NEWS:23550 ../build/NEWS:27772 -msgid "" -":issue:`28517`: Fixed of-by-one error in the peephole optimizer that caused " -"keeping unreachable code." -msgstr "" - -#: ../build/NEWS:23553 ../build/NEWS:27775 -msgid "" -":issue:`28214`: Improved exception reporting for problematic __set_name__ " -"attributes." -msgstr "" - -#: ../build/NEWS:23556 ../build/NEWS:27778 ../build/NEWS:31213 -msgid "" -":issue:`23782`: Fixed possible memory leak in _PyTraceback_Add() and " -"exception loss in PyTraceBack_Here()." -msgstr "" - -#: ../build/NEWS:23559 ../build/NEWS:27887 -msgid ":issue:`28183`: Optimize and cleanup dict iteration." -msgstr "" - -#: ../build/NEWS:23561 ../build/NEWS:27889 -msgid "" -":issue:`26081`: Added C implementation of asyncio.Future. Original patch by " -"Yury Selivanov." -msgstr "" - -#: ../build/NEWS:23564 ../build/NEWS:27892 ../build/NEWS:31216 -msgid "" -":issue:`28379`: Added sanity checks and tests for " -"PyUnicode_CopyCharacters(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:23567 ../build/NEWS:27895 ../build/NEWS:31219 -msgid "" -":issue:`28376`: The type of long range iterator is now registered as " -"Iterator. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23570 -msgid "" -":issue:`28376`: Creating instances of range_iterator by calling " -"range_iterator type now is disallowed. Calling iter() on range instance is " -"the only way. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23574 ../build/NEWS:27904 ../build/NEWS:31225 -msgid "" -":issue:`26906`: Resolving special methods of uninitialized type now causes " -"implicit initialization of the type instead of a fail." -msgstr "" - -#: ../build/NEWS:23577 ../build/NEWS:27907 ../build/NEWS:31228 -msgid "" -":issue:`18287`: PyType_Ready() now checks that tp_name is not NULL. Original " -"patch by Niklas Koep." -msgstr "" - -#: ../build/NEWS:23580 ../build/NEWS:27910 ../build/NEWS:31231 -msgid "" -":issue:`24098`: Fixed possible crash when AST is changed in process of " -"compiling it." -msgstr "" - -#: ../build/NEWS:23583 ../build/NEWS:27913 -msgid "" -":issue:`28201`: Dict reduces possibility of 2nd conflict in hash table when " -"hashes have same lower bits." -msgstr "" - -#: ../build/NEWS:23586 ../build/NEWS:27916 ../build/NEWS:31234 -msgid "" -":issue:`28350`: String constants with null character no longer interned." -msgstr "" - -#: ../build/NEWS:23588 ../build/NEWS:27918 ../build/NEWS:31236 -msgid ":issue:`26617`: Fix crash when GC runs during weakref callbacks." -msgstr "" - -#: ../build/NEWS:23590 ../build/NEWS:27920 ../build/NEWS:31238 -msgid "" -":issue:`27942`: String constants now interned recursively in tuples and " -"frozensets." -msgstr "" - -#: ../build/NEWS:23593 -msgid "" -":issue:`28289`: ImportError.__init__ now resets not specified attributes." -msgstr "" - -#: ../build/NEWS:23595 ../build/NEWS:27923 ../build/NEWS:31241 -msgid "" -":issue:`21578`: Fixed misleading error message when ImportError called with " -"invalid keyword args." -msgstr "" - -#: ../build/NEWS:23598 ../build/NEWS:27926 -msgid "" -":issue:`28203`: Fix incorrect type in complex(1.0, {2:3}) error message. " -"Patch by Soumya Sharma." -msgstr "" - -#: ../build/NEWS:23601 ../build/NEWS:27929 -msgid "" -":issue:`28086`: Single var-positional argument of tuple subtype was passed " -"unscathed to the C-defined function. Now it is converted to exact tuple." -msgstr "" - -#: ../build/NEWS:23604 ../build/NEWS:27932 -msgid "" -":issue:`28214`: Now __set_name__ is looked up on the class instead of the " -"instance." -msgstr "" - -#: ../build/NEWS:23607 ../build/NEWS:27935 ../build/NEWS:31247 -msgid "" -":issue:`27955`: Fallback on reading /dev/urandom device when the getrandom() " -"syscall fails with EPERM, for example when blocked by SECCOMP." -msgstr "" - -#: ../build/NEWS:23610 ../build/NEWS:27938 -msgid ":issue:`28192`: Don't import readline in isolated mode." -msgstr "" - -#: ../build/NEWS:23612 -msgid "" -":issue:`27441`: Remove some redundant assignments to ob_size in longobject." -"c. Thanks Oren Milman." -msgstr "" - -#: ../build/NEWS:23615 -msgid "" -":issue:`27222`: Clean up redundant code in long_rshift function. Thanks Oren " -"Milman." -msgstr "" - -#: ../build/NEWS:23618 ../build/NEWS:27940 -msgid "Upgrade internal unicode databases to Unicode version 9.0.0." -msgstr "" - -#: ../build/NEWS:23620 ../build/NEWS:27942 ../build/NEWS:31250 -msgid "" -":issue:`28131`: Fix a regression in zipimport's compile_source(). zipimport " -"should use the same optimization level as the interpreter." -msgstr "" - -#: ../build/NEWS:23623 ../build/NEWS:27945 -msgid "" -":issue:`28126`: Replace Py_MEMCPY with memcpy(). Visual Studio can properly " -"optimize memcpy()." -msgstr "" - -#: ../build/NEWS:23626 ../build/NEWS:27948 -msgid "" -":issue:`28120`: Fix dict.pop() for splitted dictionary when trying to remove " -"a \"pending key\" (Not yet inserted in split-table). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:23629 ../build/NEWS:27951 -msgid "" -":issue:`26182`: Raise DeprecationWarning when async and await keywords are " -"used as variable/attribute/class/function name." -msgstr "" - -#: ../build/NEWS:23632 ../build/NEWS:27676 -msgid ":issue:`26182`: Fix a refleak in code that raises DeprecationWarning." -msgstr "" - -#: ../build/NEWS:23634 ../build/NEWS:27678 -msgid "" -":issue:`28721`: Fix asynchronous generators aclose() and athrow() to handle " -"StopAsyncIteration propagation properly." -msgstr "" - -#: ../build/NEWS:23637 -msgid "" -":issue:`26110`: Speed-up method calls: add LOAD_METHOD and CALL_METHOD " -"opcodes." -msgstr "" - -#: ../build/NEWS:23642 ../build/NEWS:26449 -msgid "" -":issue:`31499`: xml.etree: Fix a crash when a parser is part of a reference " -"cycle." -msgstr "" - -#: ../build/NEWS:23645 ../build/NEWS:26172 -msgid ":issue:`31482`: ``random.seed()`` now works with bytes in version=1" -msgstr "" - -#: ../build/NEWS:23647 ../build/NEWS:26452 -msgid "" -":issue:`28556`: typing.get_type_hints now finds the right globalns for " -"classes and modules by default (when no ``globalns`` was specified by the " -"caller)." -msgstr "" - -#: ../build/NEWS:23650 ../build/NEWS:26455 -msgid "" -":issue:`28556`: Speed improvements to the ``typing`` module. Original PRs " -"by Ivan Levkivskyi and Mitar." -msgstr "" - -#: ../build/NEWS:23653 ../build/NEWS:26458 -msgid "" -":issue:`31544`: The C accelerator module of ElementTree ignored exceptions " -"raised when looking up TreeBuilder target methods in XMLParser()." -msgstr "" - -#: ../build/NEWS:23656 ../build/NEWS:26461 -msgid "" -":issue:`31234`: socket.create_connection() now fixes manually a reference " -"cycle: clear the variable storing the last exception on success." -msgstr "" - -#: ../build/NEWS:23659 ../build/NEWS:26464 -msgid ":issue:`31457`: LoggerAdapter objects can now be nested." -msgstr "" - -#: ../build/NEWS:23661 -msgid "" -":issue:`31431`: SSLContext.check_hostname now automatically sets SSLContext." -"verify_mode to ssl.CERT_REQUIRED instead of failing with a ValueError." -msgstr "" - -#: ../build/NEWS:23665 -msgid "" -":issue:`31233`: socketserver.ThreadingMixIn now keeps a list of non-daemonic " -"threads to wait until all these threads complete in server_close()." -msgstr "" - -#: ../build/NEWS:23668 -msgid "" -":issue:`28638`: Changed the implementation strategy for collections." -"namedtuple() to substantially reduce the use of exec() in favor of " -"precomputed methods. As a result, the *verbose* parameter and *_source* " -"attribute are no longer supported. The benefits include 1) having a smaller " -"memory footprint for applications using multiple named tuples, 2) faster " -"creation of the named tuple class (approx 4x to 6x depending on how it is " -"measured), and 3) minor speed-ups for instance creation using __new__, " -"_make, and _replace. (The primary patch contributor is Jelle Zijlstra with " -"further improvements by INADA Naoki, Serhiy Storchaka, and Raymond " -"Hettinger.)" -msgstr "" - -#: ../build/NEWS:23679 ../build/NEWS:26466 -msgid "" -":issue:`31400`: Improves SSL error handling to avoid losing error numbers." -msgstr "" - -#: ../build/NEWS:23681 -msgid "" -":issue:`27629`: Make return types of SSLContext.wrap_bio() and SSLContext." -"wrap_socket() customizable." -msgstr "" - -#: ../build/NEWS:23684 ../build/NEWS:26468 -msgid "" -":issue:`28958`: ssl.SSLContext() now uses OpenSSL error information when a " -"context cannot be instantiated." -msgstr "" - -#: ../build/NEWS:23687 -msgid "" -":issue:`28182`: The SSL module now raises SSLCertVerificationError when " -"OpenSSL fails to verify the peer's certificate. The exception contains more " -"information about the error." -msgstr "" - -#: ../build/NEWS:23691 ../build/NEWS:26471 -msgid "" -":issue:`27340`: SSLSocket.sendall() now uses memoryview to create slices of " -"data. This fixes support for all bytes-like object. It is also more " -"efficient and avoids costly copies." -msgstr "" - -#: ../build/NEWS:23695 -msgid "" -":issue:`14191`: A new function ``argparse.ArgumentParser." -"parse_intermixed_args`` provides the ability to parse command lines where " -"there user intermixes options and positional arguments." -msgstr "" - -#: ../build/NEWS:23700 ../build/NEWS:26475 -msgid "" -":issue:`31178`: Fix string concatenation bug in rare error path in the " -"subprocess module" -msgstr "" - -#: ../build/NEWS:23703 ../build/NEWS:26478 -msgid "" -":issue:`31350`: Micro-optimize :func:`asyncio._get_running_loop` to become " -"up to 10% faster." -msgstr "" - -#: ../build/NEWS:23706 ../build/NEWS:26481 ../build/NEWS:30734 -msgid "" -":issue:`31170`: expat: Update libexpat from 2.2.3 to 2.2.4. Fix copying of " -"partial characters for UTF-8 input (libexpat bug 115): https://github.com/" -"libexpat/libexpat/issues/115" -msgstr "" - -#: ../build/NEWS:23710 ../build/NEWS:26485 -msgid ":issue:`29136`: Add TLS 1.3 cipher suites and OP_NO_TLSv1_3." -msgstr "" - -#: ../build/NEWS:23712 -msgid "" -":issue:`1198569`: ``string.Template`` subclasses can optionally define " -"``braceidpattern`` if they want to specify different placeholder patterns " -"inside and outside the braces. If None (the default) it falls back to " -"``idpattern``." -msgstr "" - -#: ../build/NEWS:23717 -msgid "" -":issue:`31326`: concurrent.futures.ProcessPoolExecutor.shutdown() now " -"explicitly closes the call queue. Moreover, shutdown(wait=True) now also " -"join the call queue thread, to prevent leaking a dangling thread." -msgstr "" - -#: ../build/NEWS:23721 ../build/NEWS:26496 -msgid "" -":issue:`27144`: The ``map()`` and ``as_completed()`` iterators in " -"``concurrent.futures`` now avoid keeping a reference to yielded objects." -msgstr "" - -#: ../build/NEWS:23724 -msgid "" -":issue:`31281`: Fix ``fileinput.FileInput(files, inplace=True)`` when " -"``files`` contain ``pathlib.Path`` objects." -msgstr "" - -#: ../build/NEWS:23727 ../build/NEWS:26499 -msgid "" -":issue:`10746`: Fix ctypes producing wrong :pep:`3118` type codes for " -"integer types." -msgstr "" - -#: ../build/NEWS:23730 -msgid "" -":issue:`27584`: ``AF_VSOCK`` has been added to the socket interface which " -"allows communication between virtual machines and their host." -msgstr "" - -#: ../build/NEWS:23733 ../build/NEWS:26502 -msgid "" -":issue:`22536`: The subprocess module now sets the filename when " -"FileNotFoundError is raised on POSIX systems due to the executable or cwd " -"not being found." -msgstr "" - -#: ../build/NEWS:23737 -msgid "" -":issue:`29741`: Update some methods in the _pyio module to also accept " -"integer types. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:23740 ../build/NEWS:26506 -msgid "" -":issue:`31249`: concurrent.futures: WorkItem.run() used by " -"ThreadPoolExecutor now breaks a reference cycle between an exception object " -"and the WorkItem object." -msgstr "" - -#: ../build/NEWS:23744 ../build/NEWS:26510 -msgid "" -":issue:`31247`: xmlrpc.server now explicitly breaks reference cycles when " -"using sys.exc_info() in code handling exceptions." -msgstr "" - -#: ../build/NEWS:23747 -msgid "" -":issue:`23835`: configparser: reading defaults in the ``ConfigParser()`` " -"constructor is now using ``read_dict()``, making its behavior consistent " -"with the rest of the parser. Non-string keys and values in the defaults " -"dictionary are now being implicitly converted to strings. Patch by James " -"Tocknell." -msgstr "" - -#: ../build/NEWS:23753 ../build/NEWS:25427 -msgid "" -":issue:`31238`: pydoc: the stop() method of the private ServerThread class " -"now waits until DocServer.serve_until_quit() completes and then explicitly " -"sets its docserver attribute to None to break a reference cycle." -msgstr "" - -#: ../build/NEWS:23757 -msgid "" -":issue:`5001`: Many asserts in `multiprocessing` are now more informative, " -"and some error types have been changed to more specific ones." -msgstr "" - -#: ../build/NEWS:23760 -msgid ":issue:`31109`: Convert zipimport to use Argument Clinic." -msgstr "" - -#: ../build/NEWS:23762 ../build/NEWS:26513 -msgid "" -":issue:`30102`: The ssl and hashlib modules now call " -"OPENSSL_add_all_algorithms_noconf() on OpenSSL < 1.1.0. The function detects " -"CPU features and enables optimizations on some CPU architectures such as " -"POWER8. Patch is based on research from Gustavo Serra Scalet." -msgstr "" - -#: ../build/NEWS:23767 -msgid "" -":issue:`18966`: Non-daemonic threads created by a multiprocessing.Process " -"are now joined on child exit." -msgstr "" - -#: ../build/NEWS:23770 -msgid "" -":issue:`31183`: `dis` now works with asynchronous generator and coroutine " -"objects. Patch by George Collins based on diagnosis by Luciano Ramalho." -msgstr "" - -#: ../build/NEWS:23773 -msgid "" -":issue:`5001`: There are a number of uninformative asserts in the " -"`multiprocessing` module, as noted in issue 5001. This change fixes two of " -"the most potentially problematic ones, since they are in error-reporting " -"code, in the `multiprocessing.managers.convert_to_error` function. (It also " -"makes more informative a ValueError message.) The only potentially " -"problematic change is that the AssertionError is now a TypeError; however, " -"this should also help distinguish it from an AssertionError being *reported* " -"by the function/its caller (such as in issue 31169). - Patch by Allen W. " -"Smith (drallensmith on github)." -msgstr "" - -#: ../build/NEWS:23783 ../build/NEWS:26518 -msgid ":issue:`31185`: Fixed miscellaneous errors in asyncio speedup module." -msgstr "" - -#: ../build/NEWS:23785 -msgid "" -":issue:`31151`: socketserver.ForkingMixIn.server_close() now waits until all " -"child processes completed to prevent leaking zombie processes." -msgstr "" - -#: ../build/NEWS:23788 -msgid "" -":issue:`31072`: Add an ``include_file`` parameter to ``zipapp." -"create_archive()``" -msgstr "" - -#: ../build/NEWS:23791 -msgid "" -":issue:`24700`: Optimize array.array comparison. It is now from 10x up to " -"70x faster when comparing arrays holding values of the same integer type." -msgstr "" - -#: ../build/NEWS:23794 ../build/NEWS:26520 -msgid "" -":issue:`31135`: ttk: fix the destroy() method of LabeledScale and OptionMenu " -"classes. Call the parent destroy() method even if the used attribute doesn't " -"exist. The LabeledScale.destroy() method now also explicitly clears label " -"and scale attributes to help the garbage collector to destroy all widgets." -msgstr "" - -#: ../build/NEWS:23800 ../build/NEWS:26526 -msgid "" -":issue:`31107`: Fix `copyreg._slotnames()` mangled attribute calculation for " -"classes whose name begins with an underscore. Patch by Shane Harvey." -msgstr "" - -#: ../build/NEWS:23803 -msgid "" -":issue:`31080`: Allow `logging.config.fileConfig` to accept kwargs and/or " -"args." -msgstr "" - -#: ../build/NEWS:23805 -msgid "" -":issue:`30897`: ``pathlib.Path`` objects now include an ``is_mount()`` " -"method (only implemented on POSIX). This is similar to ``os.path." -"ismount(p)``. Patch by Cooper Ry Lees." -msgstr "" - -#: ../build/NEWS:23809 ../build/NEWS:26529 -msgid ":issue:`31061`: Fixed a crash when using asyncio and threads." -msgstr "" - -#: ../build/NEWS:23811 -msgid "" -":issue:`30987`: Added support for CAN ISO-TP protocol in the socket module." -msgstr "" - -#: ../build/NEWS:23813 -msgid "" -":issue:`30522`: Added a ``setStream`` method to ``logging.StreamHandler`` to " -"allow the stream to be set after creation." -msgstr "" - -#: ../build/NEWS:23816 ../build/NEWS:26531 -msgid "" -":issue:`30502`: Fix handling of long oids in ssl. Based on patch by " -"Christian Heimes." -msgstr "" - -#: ../build/NEWS:23819 -msgid ":issue:`5288`: Support tzinfo objects with sub-minute offsets." -msgstr "" - -#: ../build/NEWS:23821 -msgid "" -":issue:`30919`: Fix shared memory performance regression in multiprocessing " -"in 3.x. Shared memory used anonymous memory mappings in 2.x, while 3.x mmaps " -"actual files. Try to be careful to do as little disk I/O as possible." -msgstr "" - -#: ../build/NEWS:23825 -msgid "" -":issue:`26732`: Fix too many fds in processes started with the " -"\"forkserver\" method. A child process would inherit as many fds as the " -"number of still-running children." -msgstr "" - -#: ../build/NEWS:23829 ../build/NEWS:26541 ../build/NEWS:30835 -msgid "" -":issue:`29403`: Fix ``unittest.mock``'s autospec to not fail on method-bound " -"builtin functions. Patch by Aaron Gallagher." -msgstr "" - -#: ../build/NEWS:23832 ../build/NEWS:26544 ../build/NEWS:30838 -msgid ":issue:`30961`: Fix decrementing a borrowed reference in tracemalloc." -msgstr "" - -#: ../build/NEWS:23834 -msgid "" -":issue:`19896`: Fix multiprocessing.sharedctypes to recognize typecodes " -"``'q'`` and ``'Q'``." -msgstr "" - -#: ../build/NEWS:23837 -msgid "" -":issue:`30946`: Remove obsolete code in readline module for platforms where " -"GNU readline is older than 2.1 or where select() is not available." -msgstr "" - -#: ../build/NEWS:23840 ../build/NEWS:26546 -msgid "" -":issue:`25684`: Change ``ttk.OptionMenu`` radiobuttons to be unique across " -"instances of ``OptionMenu``." -msgstr "" - -#: ../build/NEWS:23843 ../build/NEWS:26549 ../build/NEWS:30840 -msgid "" -":issue:`30886`: Fix multiprocessing.Queue.join_thread(): it now waits until " -"the thread completes, even if the thread was started by the same process " -"which created the queue." -msgstr "" - -#: ../build/NEWS:23847 ../build/NEWS:26553 ../build/NEWS:30844 -msgid "" -":issue:`29854`: Fix segfault in readline when using readline's history-size " -"option. Patch by Nir Soffer." -msgstr "" - -#: ../build/NEWS:23850 -msgid "" -":issue:`30794`: Added multiprocessing.Process.kill method to terminate using " -"the SIGKILL signal on Unix." -msgstr "" - -#: ../build/NEWS:23853 ../build/NEWS:26556 -msgid ":issue:`30319`: socket.close() now ignores ECONNRESET error." -msgstr "" - -#: ../build/NEWS:23855 ../build/NEWS:26558 -msgid "" -":issue:`30828`: Fix out of bounds write in `asyncio.CFuture." -"remove_done_callback()`." -msgstr "" - -#: ../build/NEWS:23858 -msgid ":issue:`30302`: Use keywords in the ``repr`` of ``datetime.timedelta``." -msgstr "" - -#: ../build/NEWS:23860 ../build/NEWS:26561 ../build/NEWS:30847 -msgid "" -":issue:`30807`: signal.setitimer() may disable the timer when passed a tiny " -"value. Tiny values (such as 1e-6) are valid non-zero values for setitimer(), " -"which is specified as taking microsecond-resolution intervals. However, on " -"some platform, our conversion routine could convert 1e-6 into a zero " -"interval, therefore disabling the timer instead of (re-)scheduling it." -msgstr "" - -#: ../build/NEWS:23867 ../build/NEWS:26568 ../build/NEWS:30854 -msgid "" -":issue:`30441`: Fix bug when modifying os.environ while iterating over it" -msgstr "" - -#: ../build/NEWS:23869 -msgid "" -":issue:`29585`: Avoid importing ``sysconfig`` from ``site`` to improve " -"startup speed. Python startup is about 5% faster on Linux and 30% faster on " -"macOS." -msgstr "" - -#: ../build/NEWS:23872 -msgid "" -":issue:`29293`: Add missing parameter \"n\" on multiprocessing.Condition." -"notify(). The doc claims multiprocessing.Condition behaves like threading." -"Condition, but its notify() method lacked the optional \"n\" argument (to " -"specify the number of sleepers to wake up) that threading.Condition.notify() " -"accepts." -msgstr "" - -#: ../build/NEWS:23878 ../build/NEWS:26570 ../build/NEWS:30856 -msgid "" -":issue:`30532`: Fix email header value parser dropping folding white space " -"in certain cases." -msgstr "" - -#: ../build/NEWS:23881 -msgid "" -":issue:`30596`: Add a ``close()`` method to ``multiprocessing.Process``." -msgstr "" - -#: ../build/NEWS:23883 ../build/NEWS:26492 -msgid "" -":issue:`9146`: Fix a segmentation fault in _hashopenssl when standard hash " -"functions such as md5 are not available in the linked OpenSSL library. As " -"in some special FIPS-140 build environments." -msgstr "" - -#: ../build/NEWS:23887 ../build/NEWS:27299 ../build/NEWS:30859 -msgid ":issue:`29169`: Update zlib to 1.2.11." -msgstr "" - -#: ../build/NEWS:23889 ../build/NEWS:26534 ../build/NEWS:30747 -msgid "" -":issue:`30119`: ftplib.FTP.putline() now throws ValueError on commands that " -"contains CR or LF. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:23892 ../build/NEWS:26573 ../build/NEWS:30861 -msgid "" -":issue:`30879`: os.listdir() and os.scandir() now emit bytes names when " -"called with bytes-like argument." -msgstr "" - -#: ../build/NEWS:23895 ../build/NEWS:26576 ../build/NEWS:30864 -msgid "" -":issue:`30746`: Prohibited the '=' character in environment variable names " -"in ``os.putenv()`` and ``os.spawn*()``." -msgstr "" - -#: ../build/NEWS:23898 -msgid "" -":issue:`30664`: The description of a unittest subtest now preserves the " -"order of keyword arguments of TestCase.subTest()." -msgstr "" - -#: ../build/NEWS:23901 -msgid "" -":issue:`21071`: struct.Struct.format type is now :class:`str` instead of :" -"class:`bytes`." -msgstr "" - -#: ../build/NEWS:23904 ../build/NEWS:26487 -msgid "" -":issue:`29212`: Fix concurrent.futures.thread.ThreadPoolExecutor threads to " -"have a non repr() based thread name by default when no thread_name_prefix is " -"supplied. They will now identify themselves as \"ThreadPoolExecutor-y_n\"." -msgstr "" - -#: ../build/NEWS:23909 ../build/NEWS:26579 ../build/NEWS:30867 -msgid "" -":issue:`29755`: Fixed the lgettext() family of functions in the gettext " -"module. They now always return bytes." -msgstr "" - -#: ../build/NEWS:23912 ../build/NEWS:26912 -msgid "" -":issue:`30616`: Functional API of enum allows to create empty enums. Patched " -"by Dong-hee Na" -msgstr "" - -#: ../build/NEWS:23915 ../build/NEWS:26915 -msgid "" -":issue:`30038`: Fix race condition between signal delivery and wakeup file " -"descriptor. Patch by Nathaniel Smith." -msgstr "" - -#: ../build/NEWS:23918 ../build/NEWS:26918 -msgid "" -":issue:`23894`: lib2to3 now recognizes ``rb'...'`` and ``f'...'`` strings." -msgstr "" - -#: ../build/NEWS:23920 -msgid "" -":issue:`24744`: pkgutil.walk_packages function now raises ValueError if " -"*path* is a string. Patch by Sanyam Khurana." -msgstr "" - -#: ../build/NEWS:23923 ../build/NEWS:30884 -msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup." -msgstr "" - -#: ../build/NEWS:23925 -msgid "" -":issue:`30589`: Fix multiprocessing.Process.exitcode to return the opposite " -"of the signal number when the process is killed by a signal (instead of 255) " -"when using the \"forkserver\" method." -msgstr "" - -#: ../build/NEWS:23929 ../build/NEWS:26939 ../build/NEWS:30886 -msgid "" -":issue:`28994`: The traceback no longer displayed for SystemExit raised in a " -"callback registered by atexit." -msgstr "" - -#: ../build/NEWS:23932 ../build/NEWS:26942 ../build/NEWS:30889 -msgid "" -":issue:`30508`: Don't log exceptions if Task/Future \"cancel()\" method was " -"called." -msgstr "" - -#: ../build/NEWS:23935 -msgid "" -":issue:`30645`: Fix path calculation in `imp.load_package()`, fixing it for " -"cases when a package is only shipped with bytecodes. Patch by Alexandru " -"Ardelean." -msgstr "" - -#: ../build/NEWS:23939 -msgid "" -":issue:`11822`: The dis.dis() function now is able to disassemble nested " -"code objects." -msgstr "" - -#: ../build/NEWS:23942 -msgid "" -":issue:`30624`: selectors does not take KeyboardInterrupt and SystemExit " -"into account, leaving a fd in a bad state in case of error. Patch by " -"Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:23946 ../build/NEWS:26537 -msgid "" -":issue:`30595`: multiprocessing.Queue.get() with a timeout now polls its " -"reader in non-blocking mode if it succeeded to acquire the lock but the " -"acquire took longer than the timeout." -msgstr "" - -#: ../build/NEWS:23950 ../build/NEWS:26945 ../build/NEWS:30892 -msgid "" -":issue:`28556`: Updates to typing module: Add generic AsyncContextManager, " -"add support for ContextManager on all versions. Original PRs by Jelle " -"Zijlstra and Ivan Levkivskyi" -msgstr "" - -#: ../build/NEWS:23954 ../build/NEWS:26934 -msgid "" -":issue:`30605`: re.compile() no longer raises a BytesWarning when compiling " -"a bytes instance with misplaced inline modifier. Patch by Roy Williams." -msgstr "" - -#: ../build/NEWS:23957 ../build/NEWS:26949 ../build/NEWS:30896 -msgid "" -":issue:`29870`: Fix ssl sockets leaks when connection is aborted in asyncio/" -"ssl implementation. Patch by Michaël Sghaïer." -msgstr "" - -#: ../build/NEWS:23960 ../build/NEWS:26952 ../build/NEWS:30899 -msgid "" -":issue:`29743`: Closing transport during handshake process leaks open " -"socket. Patch by Nikolay Kim" -msgstr "" - -#: ../build/NEWS:23963 ../build/NEWS:26955 ../build/NEWS:30902 -msgid "" -":issue:`27585`: Fix waiter cancellation in asyncio.Lock. Patch by Mathieu " -"Sornay." -msgstr "" - -#: ../build/NEWS:23966 -msgid "" -":issue:`30014`: modify() method of poll(), epoll() and devpoll() based " -"classes of selectors module is around 10% faster. Patch by Giampaolo " -"Rodola'." -msgstr "" - -#: ../build/NEWS:23969 ../build/NEWS:26958 ../build/NEWS:30905 -msgid "" -":issue:`30418`: On Windows, subprocess.Popen.communicate() now also ignore " -"EINVAL on stdin.write() if the child process is still running but closed the " -"pipe." -msgstr "" - -#: ../build/NEWS:23973 -msgid "" -":issue:`30463`: Addded empty __slots__ to abc.ABC. This allows subclassers " -"to deny __dict__ and __weakref__ creation. Patch by Aaron Hall." -msgstr "" - -#: ../build/NEWS:23976 -msgid ":issue:`30520`: Loggers are now pickleable." -msgstr "" - -#: ../build/NEWS:23978 ../build/NEWS:26969 -msgid "" -":issue:`30557`: faulthandler now correctly filters and displays exception " -"codes on Windows" -msgstr "" - -#: ../build/NEWS:23981 -msgid "" -":issue:`30526`: Add TextIOWrapper.reconfigure() and a TextIOWrapper." -"write_through attribute." -msgstr "" - -#: ../build/NEWS:23984 -msgid "" -":issue:`30245`: Fix possible overflow when organize struct.pack_into error " -"message. Patch by Yuan Liu." -msgstr "" - -#: ../build/NEWS:23987 ../build/NEWS:26972 ../build/NEWS:30909 -msgid "" -":issue:`30378`: Fix the problem that logging.handlers.SysLogHandler cannot " -"handle IPv6 addresses." -msgstr "" - -#: ../build/NEWS:23990 -msgid ":issue:`16500`: Allow registering at-fork handlers." -msgstr "" - -#: ../build/NEWS:23992 -msgid "" -":issue:`30470`: Deprecate invalid ctypes call protection on Windows. Patch " -"by Mariatta Wijaya." -msgstr "" - -#: ../build/NEWS:23995 ../build/NEWS:26978 ../build/NEWS:30915 -msgid "" -":issue:`30414`: multiprocessing.Queue._feed background running thread do not " -"break from main loop on exception." -msgstr "" - -#: ../build/NEWS:23998 ../build/NEWS:26981 ../build/NEWS:30918 -msgid "" -":issue:`30003`: Fix handling escape characters in HZ codec. Based on patch " -"by Ma Lin." -msgstr "" - -#: ../build/NEWS:24001 ../build/NEWS:26923 ../build/NEWS:30877 -msgid "" -":issue:`30149`: inspect.signature() now supports callables with variable-" -"argument parameters wrapped with partialmethod. Patch by Dong-hee Na." -msgstr "" - -#: ../build/NEWS:24005 -msgid "" -":issue:`30436`: importlib.find_spec() raises ModuleNotFoundError instead of " -"AttributeError if the specified parent module is not a package (i.e. lacks a " -"__path__ attribute)." -msgstr "" - -#: ../build/NEWS:24009 ../build/NEWS:26984 ../build/NEWS:30921 -msgid "" -":issue:`30301`: Fix AttributeError when using SimpleQueue.empty() under " -"*spawn* and *forkserver* start methods." -msgstr "" - -#: ../build/NEWS:24012 ../build/NEWS:26991 ../build/NEWS:30928 -msgid "" -":issue:`30375`: Warnings emitted when compile a regular expression now " -"always point to the line in the user code. Previously they could point into " -"inners of the re module if emitted from inside of groups or conditionals." -msgstr "" - -#: ../build/NEWS:24016 ../build/NEWS:26987 ../build/NEWS:30924 -msgid "" -":issue:`30329`: imaplib and poplib now catch the Windows socket WSAEINVAL " -"error (code 10022) on shutdown(SHUT_RDWR): An invalid operation was " -"attempted. This error occurs sometimes on SSL connections." -msgstr "" - -#: ../build/NEWS:24020 -msgid "" -":issue:`29196`: Removed previously deprecated in Python 2.4 classes Plist, " -"Dict and _InternalDict in the plistlib module. Dict values in the result of " -"functions readPlist() and readPlistFromBytes() are now normal dicts. You no " -"longer can use attribute access to access items of these dictionaries." -msgstr "" - -#: ../build/NEWS:24025 -msgid "" -":issue:`9850`: The :mod:`macpath` is now deprecated and will be removed in " -"Python 3.8." -msgstr "" - -#: ../build/NEWS:24028 -msgid "" -":issue:`30299`: Compiling regular expression in debug mode on CPython now " -"displays the compiled bytecode in human readable form." -msgstr "" - -#: ../build/NEWS:24031 ../build/NEWS:26995 ../build/NEWS:30932 -msgid "" -":issue:`30048`: Fixed ``Task.cancel()`` can be ignored when the task is " -"running coroutine and the coroutine returned without any more ``await``." -msgstr "" - -#: ../build/NEWS:24034 ../build/NEWS:26998 -msgid "" -":issue:`30266`: contextlib.AbstractContextManager now supports anti-" -"registration by setting __enter__ = None or __exit__ = None, following the " -"pattern introduced in :issue:`25958`. Patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:24038 -msgid "" -":issue:`30340`: Enhanced regular expressions optimization. This increased " -"the performance of matching some patterns up to 25 times." -msgstr "" - -#: ../build/NEWS:24041 ../build/NEWS:27002 -msgid "" -":issue:`30298`: Weaken the condition of deprecation warnings for inline " -"modifiers. Now allowed several subsequential inline modifiers at the start " -"of the pattern (e.g. ``'(?i)(?s)...'``). In verbose mode whitespaces and " -"comments now are allowed before and between inline modifiers (e.g. ``'(?x) (?" -"i) (?s)...'``)." -msgstr "" - -#: ../build/NEWS:24047 -msgid "" -":issue:`30285`: Optimized case-insensitive matching and searching of regular " -"expressions." -msgstr "" - -#: ../build/NEWS:24050 ../build/NEWS:27008 ../build/NEWS:30935 -msgid "" -":issue:`29990`: Fix range checking in GB18030 decoder. Original patch by Ma " -"Lin." -msgstr "" - -#: ../build/NEWS:24053 -msgid "" -":issue:`29979`: rewrite cgi.parse_multipart, reusing the FieldStorage class " -"and making its results consistent with those of FieldStorage for multipart/" -"form-data requests. Patch by Pierre Quentel." -msgstr "" - -#: ../build/NEWS:24057 ../build/NEWS:27014 ../build/NEWS:30941 -msgid "" -":issue:`30243`: Removed the __init__ methods of _json's scanner and encoder. " -"Misusing them could cause memory leaks or crashes. Now scanner and encoder " -"objects are completely initialized in the __new__ methods." -msgstr "" - -#: ../build/NEWS:24061 -msgid "" -":issue:`30215`: Compiled regular expression objects with the re.LOCALE flag " -"no longer depend on the locale at compile time. Only the locale at matching " -"time affects the result of matching." -msgstr "" - -#: ../build/NEWS:24065 ../build/NEWS:27018 ../build/NEWS:30945 -msgid "" -":issue:`30185`: Avoid KeyboardInterrupt tracebacks in forkserver helper " -"process when Ctrl-C is received." -msgstr "" - -#: ../build/NEWS:24068 -msgid "" -":issue:`30103`: binascii.b2a_uu() and uu.encode() now support using ``'`'`` " -"as zero instead of space." -msgstr "" - -#: ../build/NEWS:24071 ../build/NEWS:27021 ../build/NEWS:30948 -msgid "" -":issue:`28556`: Various updates to typing module: add typing.NoReturn type, " -"use WrapperDescriptorType, minor bug-fixes. Original PRs by Jim Fasarakis-" -"Hilliard and Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:24075 ../build/NEWS:27025 ../build/NEWS:30952 -msgid ":issue:`30205`: Fix getsockname() for unbound AF_UNIX sockets on Linux." -msgstr "" - -#: ../build/NEWS:24077 -msgid "" -":issue:`30228`: The seek() and tell() methods of io.FileIO now set the " -"internal seekable attribute to avoid one syscall on open() (in buffered or " -"text mode)." -msgstr "" - -#: ../build/NEWS:24081 -msgid "" -":issue:`30190`: unittest's assertAlmostEqual and assertNotAlmostEqual " -"provide a better message in case of failure which includes the difference " -"between left and right arguments. (patch by Giampaolo Rodola')" -msgstr "" - -#: ../build/NEWS:24085 -msgid ":issue:`30101`: Add support for curses.A_ITALIC." -msgstr "" - -#: ../build/NEWS:24087 ../build/NEWS:26962 -msgid "" -":issue:`29822`: inspect.isabstract() now works during __init_subclass__. " -"Patch by Nate Soares." -msgstr "" - -#: ../build/NEWS:24090 ../build/NEWS:26975 ../build/NEWS:30912 -msgid "" -":issue:`29960`: Preserve generator state when _random.Random.setstate() " -"raises an exception. Patch by Bryan Olson." -msgstr "" - -#: ../build/NEWS:24093 ../build/NEWS:27027 ../build/NEWS:30954 -msgid "" -":issue:`30070`: Fixed leaks and crashes in errors handling in the parser " -"module." -msgstr "" - -#: ../build/NEWS:24096 -msgid "" -":issue:`22352`: Column widths in the output of dis.dis() are now adjusted " -"for large line numbers and instruction offsets." -msgstr "" - -#: ../build/NEWS:24099 ../build/NEWS:27030 ../build/NEWS:30957 -msgid "" -":issue:`30061`: Fixed crashes in IOBase methods __next__() and readlines() " -"when readline() or __next__() respectively return non-sizeable object. Fixed " -"possible other errors caused by not checking results of PyObject_Size(), " -"PySequence_Size(), or PyMapping_Size()." -msgstr "" - -#: ../build/NEWS:24104 -msgid "" -":issue:`30218`: Fix PathLike support for shutil.unpack_archive. Patch by " -"Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:24107 -msgid "" -":issue:`10076`: Compiled regular expression and match objects in the re " -"module now support copy.copy() and copy.deepcopy() (they are considered " -"atomic)." -msgstr "" - -#: ../build/NEWS:24110 ../build/NEWS:27039 ../build/NEWS:30962 -msgid "" -":issue:`30068`: _io._IOBase.readlines will check if it's closed first when " -"hint is present." -msgstr "" - -#: ../build/NEWS:24113 ../build/NEWS:27042 ../build/NEWS:30965 -msgid "" -":issue:`29694`: Fixed race condition in pathlib mkdir with flags " -"parents=True. Patch by Armin Rigo." -msgstr "" - -#: ../build/NEWS:24116 ../build/NEWS:27045 ../build/NEWS:30968 -msgid "" -":issue:`29692`: Fixed arbitrary unchaining of RuntimeError exceptions in " -"contextlib.contextmanager. Patch by Siddharth Velankar." -msgstr "" - -#: ../build/NEWS:24119 -msgid "" -":issue:`26187`: Test that sqlite3 trace callback is not called multiple " -"times when schema is changing. Indirectly fixed by switching to use " -"sqlite3_prepare_v2() in :issue:`9303`. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:24123 ../build/NEWS:27035 -msgid "" -":issue:`30017`: Allowed calling the close() method of the zip entry writer " -"object multiple times. Writing to a closed writer now always produces a " -"ValueError." -msgstr "" - -#: ../build/NEWS:24127 ../build/NEWS:27048 ../build/NEWS:30971 -msgid "" -":issue:`29998`: Pickling and copying ImportError now preserves name and path " -"attributes." -msgstr "" - -#: ../build/NEWS:24130 -msgid ":issue:`29995`: re.escape() now escapes only regex special characters." -msgstr "" - -#: ../build/NEWS:24132 -msgid "" -":issue:`29962`: Add math.remainder operation, implementing remainder as " -"specified in IEEE 754." -msgstr "" - -#: ../build/NEWS:24135 -msgid "" -":issue:`29649`: Improve struct.pack_into() exception messages for problems " -"with the buffer size and offset. Patch by Andrew Nester." -msgstr "" - -#: ../build/NEWS:24138 -msgid "" -":issue:`29654`: Support If-Modified-Since HTTP header (browser cache). " -"Patch by Pierre Quentel." -msgstr "" - -#: ../build/NEWS:24141 ../build/NEWS:26931 ../build/NEWS:30881 -msgid "" -":issue:`29931`: Fixed comparison check for ipaddress.ip_interface objects. " -"Patch by Sanjay Sundaresan." -msgstr "" - -#: ../build/NEWS:24144 ../build/NEWS:27051 -msgid "" -":issue:`29953`: Fixed memory leaks in the replace() method of datetime and " -"time objects when pass out of bound fold argument." -msgstr "" - -#: ../build/NEWS:24147 ../build/NEWS:27054 ../build/NEWS:30974 -msgid "" -":issue:`29942`: Fix a crash in itertools.chain.from_iterable when " -"encountering long runs of empty iterables." -msgstr "" - -#: ../build/NEWS:24150 -msgid ":issue:`10030`: Sped up reading encrypted ZIP files by 2 times." -msgstr "" - -#: ../build/NEWS:24152 -msgid "" -":issue:`29204`: Element.getiterator() and the html parameter of XMLParser() " -"were deprecated only in the documentation (since Python 3.2 and 3.4 " -"correspondingly). Now using them emits a deprecation warning." -msgstr "" - -#: ../build/NEWS:24156 ../build/NEWS:27057 ../build/NEWS:30977 -msgid "" -":issue:`27863`: Fixed multiple crashes in ElementTree caused by race " -"conditions and wrong types." -msgstr "" - -#: ../build/NEWS:24159 -msgid "" -":issue:`25996`: Added support of file descriptors in os.scandir() on Unix. " -"os.fwalk() is sped up by 2 times by using os.scandir()." -msgstr "" - -#: ../build/NEWS:24162 ../build/NEWS:27060 ../build/NEWS:30980 -msgid "" -":issue:`28699`: Fixed a bug in pools in multiprocessing.pool that raising an " -"exception at the very first of an iterable may swallow the exception or make " -"the program hang. Patch by Davin Potts and Xiang Zhang." -msgstr "" - -#: ../build/NEWS:24166 ../build/NEWS:26920 ../build/NEWS:30874 -msgid "" -":issue:`23890`: unittest.TestCase.assertRaises() now manually breaks a " -"reference cycle to not keep objects alive longer than expected." -msgstr "" - -#: ../build/NEWS:24169 -msgid "" -":issue:`29901`: The zipapp module now supports general path-like objects, " -"not just pathlib.Path." -msgstr "" - -#: ../build/NEWS:24172 ../build/NEWS:27064 ../build/NEWS:30984 -msgid "" -":issue:`25803`: Avoid incorrect errors raised by Path.mkdir(exist_ok=True) " -"when the OS gives priority to errors such as EACCES over EEXIST." -msgstr "" - -#: ../build/NEWS:24175 ../build/NEWS:27067 ../build/NEWS:30987 -msgid "" -":issue:`29861`: Release references to tasks, their arguments and their " -"results as soon as they are finished in multiprocessing.Pool." -msgstr "" - -#: ../build/NEWS:24178 -msgid "" -":issue:`19930`: The mode argument of os.makedirs() no longer affects the " -"file permission bits of newly created intermediate-level directories." -msgstr "" - -#: ../build/NEWS:24181 ../build/NEWS:27070 ../build/NEWS:30990 -msgid "" -":issue:`29884`: faulthandler: Restore the old sigaltstack during teardown. " -"Patch by Christophe Zeitouny." -msgstr "" - -#: ../build/NEWS:24184 ../build/NEWS:27073 ../build/NEWS:30993 -msgid "" -":issue:`25455`: Fixed crashes in repr of recursive buffered file-like " -"objects." -msgstr "" - -#: ../build/NEWS:24186 ../build/NEWS:27075 ../build/NEWS:30995 -msgid "" -":issue:`29800`: Fix crashes in partial.__repr__ if the keys of partial." -"keywords are not strings. Patch by Michael Seifert." -msgstr "" - -#: ../build/NEWS:24189 ../build/NEWS:27081 ../build/NEWS:31001 -msgid "" -":issue:`8256`: Fixed possible failing or crashing input() if attributes " -"\"encoding\" or \"errors\" of sys.stdin or sys.stdout are not set or are not " -"strings." -msgstr "" - -#: ../build/NEWS:24193 -msgid "" -":issue:`28692`: Using non-integer value for selecting a plural form in " -"gettext is now deprecated." -msgstr "" - -#: ../build/NEWS:24196 -msgid "" -":issue:`26121`: Use C library implementation for math functions erf() and " -"erfc()." -msgstr "" - -#: ../build/NEWS:24199 -msgid "" -":issue:`29619`: os.stat() and os.DirEntry.inode() now convert inode (st_ino) " -"using unsigned integers." -msgstr "" - -#: ../build/NEWS:24202 -msgid "" -":issue:`28298`: Fix a bug that prevented array 'Q', 'L' and 'I' from " -"accepting big intables (objects that have __int__) as elements." -msgstr "" - -#: ../build/NEWS:24205 -msgid "" -":issue:`29645`: Speed up importing the webbrowser module. webbrowser." -"register() is now thread-safe." -msgstr "" - -#: ../build/NEWS:24208 ../build/NEWS:27089 -msgid "" -":issue:`28231`: The zipfile module now accepts path-like objects for " -"external paths." -msgstr "" - -#: ../build/NEWS:24211 ../build/NEWS:27092 -msgid "" -":issue:`26915`: index() and count() methods of collections.abc.Sequence now " -"check identity before checking equality when do comparisons." -msgstr "" - -#: ../build/NEWS:24214 -msgid ":issue:`28682`: Added support for bytes paths in os.fwalk()." -msgstr "" - -#: ../build/NEWS:24216 -msgid "" -":issue:`29728`: Add new :data:`socket.TCP_NOTSENT_LOWAT` (Linux 3.12) " -"constant. Patch by Nathaniel J. Smith." -msgstr "" - -#: ../build/NEWS:24219 ../build/NEWS:27301 -msgid "" -":issue:`29623`: Allow use of path-like object as a single argument in " -"ConfigParser.read(). Patch by David Ellis." -msgstr "" - -#: ../build/NEWS:24222 -msgid "" -":issue:`9303`: Migrate sqlite3 module to _v2 API. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:24224 ../build/NEWS:27304 -msgid "" -":issue:`28963`: Fix out of bound iteration in asyncio.Future." -"remove_done_callback implemented in C." -msgstr "" - -#: ../build/NEWS:24227 ../build/NEWS:27307 ../build/NEWS:31013 -msgid "" -":issue:`29704`: asyncio.subprocess.SubprocessStreamProtocol no longer closes " -"before all pipes are closed." -msgstr "" - -#: ../build/NEWS:24230 ../build/NEWS:27310 -msgid "" -":issue:`29271`: Fix Task.current_task and Task.all_tasks implemented in C to " -"accept None argument as their pure Python implementation." -msgstr "" - -#: ../build/NEWS:24233 ../build/NEWS:27313 ../build/NEWS:31016 -msgid "" -":issue:`29703`: Fix asyncio to support instantiation of new event loops in " -"child processes." -msgstr "" - -#: ../build/NEWS:24236 ../build/NEWS:27095 ../build/NEWS:31009 -msgid "" -":issue:`29615`: SimpleXMLRPCDispatcher no longer chains KeyError (or any " -"other exception) to exception(s) raised in the dispatched methods. Patch by " -"Petr Motejlek." -msgstr "" - -#: ../build/NEWS:24240 -msgid "" -":issue:`7769`: Method register_function() of xmlrpc.server." -"SimpleXMLRPCDispatcher and its subclasses can now be used as a decorator." -msgstr "" - -#: ../build/NEWS:24244 ../build/NEWS:27316 ../build/NEWS:31019 -msgid "" -":issue:`29376`: Fix assertion error in threading._DummyThread.is_alive()." -msgstr "" - -#: ../build/NEWS:24246 ../build/NEWS:27318 -msgid "" -":issue:`28624`: Add a test that checks that cwd parameter of Popen() accepts " -"PathLike objects. Patch by Sayan Chowdhury." -msgstr "" - -#: ../build/NEWS:24249 ../build/NEWS:27321 -msgid "" -":issue:`28518`: Start a transaction implicitly before a DML statement. Patch " -"by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:24252 ../build/NEWS:27078 ../build/NEWS:30998 -msgid "" -":issue:`29742`: get_extra_info() raises exception if get called on closed " -"ssl transport. Patch by Nikolay Kim." -msgstr "" - -#: ../build/NEWS:24255 -msgid "" -":issue:`16285`: urllib.parse.quote is now based on RFC 3986 and hence " -"includes '~' in the set of characters that is not quoted by default. Patch " -"by Christian Theune and Ratnadeep Debnath." -msgstr "" - -#: ../build/NEWS:24259 ../build/NEWS:27324 ../build/NEWS:31027 -msgid "" -":issue:`29532`: Altering a kwarg dictionary passed to functools.partial() no " -"longer affects a partial object after creation." -msgstr "" - -#: ../build/NEWS:24262 ../build/NEWS:27327 ../build/NEWS:31021 -msgid "" -":issue:`29110`: Fix file object leak in aifc.open() when file is given as a " -"filesystem path and is not in valid AIFF format. Patch by Anthony Zhang." -msgstr "" - -#: ../build/NEWS:24265 -msgid "" -":issue:`22807`: Add uuid.SafeUUID and uuid.UUID.is_safe to relay information " -"from the platform about whether generated UUIDs are generated with a " -"multiprocessing safe method." -msgstr "" - -#: ../build/NEWS:24269 -msgid "" -":issue:`29576`: Improve some deprecations in importlib. Some deprecated " -"methods now emit DeprecationWarnings and have better descriptive messages." -msgstr "" - -#: ../build/NEWS:24272 -msgid "" -":issue:`29534`: Fixed different behaviour of Decimal.from_float() for " -"_decimal and _pydecimal. Thanks Andrew Nester." -msgstr "" - -#: ../build/NEWS:24275 -msgid "" -":issue:`10379`: locale.format_string now supports the 'monetary' keyword " -"argument, and locale.format is deprecated." -msgstr "" - -#: ../build/NEWS:24278 -msgid "" -":issue:`29851`: importlib.reload() now raises ModuleNotFoundError if the " -"module lacks a spec." -msgstr "" - -#: ../build/NEWS:24281 ../build/NEWS:27330 ../build/NEWS:31030 -msgid "" -":issue:`28556`: Various updates to typing module: typing.Counter, typing." -"ChainMap, improved ABC caching, etc. Original PRs by Jelle Zijlstra, Ivan " -"Levkivskyi, Manuel Krebber, and Łukasz Langa." -msgstr "" - -#: ../build/NEWS:24285 ../build/NEWS:27334 ../build/NEWS:31034 -msgid "" -":issue:`29100`: Fix datetime.fromtimestamp() regression introduced in Python " -"3.6.0: check minimum and maximum years." -msgstr "" - -#: ../build/NEWS:24288 ../build/NEWS:27340 ../build/NEWS:31040 -msgid ":issue:`29416`: Prevent infinite loop in pathlib.Path.mkdir" -msgstr "" - -#: ../build/NEWS:24290 ../build/NEWS:27342 ../build/NEWS:31042 -msgid "" -":issue:`29444`: Fixed out-of-bounds buffer access in the group() method of " -"the match object. Based on patch by WGH." -msgstr "" - -#: ../build/NEWS:24293 -msgid "" -":issue:`29377`: Add WrapperDescriptorType, MethodWrapperType, and " -"MethodDescriptorType built-in types to types module. Original patch by " -"Manuel Krebber." -msgstr "" - -#: ../build/NEWS:24297 -msgid "" -":issue:`29218`: Unused install_misc command is now removed. It has been " -"documented as unused since 2000. Patch by Eric N. Vander Weele." -msgstr "" - -#: ../build/NEWS:24300 -msgid "" -":issue:`29368`: The extend() method is now called instead of the append() " -"method when unpickle collections.deque and other list-like objects. This can " -"speed up unpickling to 2 times." -msgstr "" - -#: ../build/NEWS:24304 -msgid "" -":issue:`29338`: The help of a builtin or extension class now includes the " -"constructor signature if __text_signature__ is provided for the class." -msgstr "" - -#: ../build/NEWS:24307 ../build/NEWS:27345 ../build/NEWS:31045 -msgid "" -":issue:`29335`: Fix subprocess.Popen.wait() when the child process has " -"exited to a stopped instead of terminated state (ex: when under ptrace)." -msgstr "" - -#: ../build/NEWS:24310 ../build/NEWS:27348 ../build/NEWS:31048 -msgid "" -":issue:`29290`: Fix a regression in argparse that help messages would wrap " -"at non-breaking spaces." -msgstr "" - -#: ../build/NEWS:24313 ../build/NEWS:27351 ../build/NEWS:31051 -msgid ":issue:`28735`: Fixed the comparison of mock.MagickMock with mock.ANY." -msgstr "" - -#: ../build/NEWS:24315 -msgid ":issue:`29197`: Removed deprecated function ntpath.splitunc()." -msgstr "" - -#: ../build/NEWS:24317 -msgid "" -":issue:`29210`: Removed support of deprecated argument \"exclude\" in " -"tarfile.TarFile.add()." -msgstr "" - -#: ../build/NEWS:24320 ../build/NEWS:27356 ../build/NEWS:31055 -msgid "" -":issue:`29219`: Fixed infinite recursion in the repr of uninitialized ctypes." -"CDLL instances." -msgstr "" - -#: ../build/NEWS:24323 -msgid ":issue:`29192`: Removed deprecated features in the http.cookies module." -msgstr "" - -#: ../build/NEWS:24325 -msgid "" -":issue:`29193`: A format string argument for string.Formatter.format() is " -"now positional-only." -msgstr "" - -#: ../build/NEWS:24328 -msgid "" -":issue:`29195`: Removed support of deprecated undocumented keyword arguments " -"in methods of regular expression objects." -msgstr "" - -#: ../build/NEWS:24331 ../build/NEWS:27361 ../build/NEWS:31058 -msgid "" -":issue:`28969`: Fixed race condition in C implementation of functools." -"lru_cache. KeyError could be raised when cached function with full cache was " -"simultaneously called from different threads with the same uncached " -"arguments." -msgstr "" - -#: ../build/NEWS:24336 -msgid "" -":issue:`20804`: The unittest.mock.sentinel attributes now preserve their " -"identity when they are copied or pickled." -msgstr "" - -#: ../build/NEWS:24339 ../build/NEWS:27366 ../build/NEWS:31063 -msgid "" -":issue:`29142`: In urllib.request, suffixes in no_proxy environment variable " -"with leading dots could match related hostnames again (e.g. .b.c matches a.b." -"c). Patch by Milan Oberkirch." -msgstr "" - -#: ../build/NEWS:24343 ../build/NEWS:27370 ../build/NEWS:31024 -msgid "" -":issue:`28961`: Fix unittest.mock._Call helper: don't ignore the name " -"parameter anymore. Patch written by Jiajun Huang." -msgstr "" - -#: ../build/NEWS:24346 ../build/NEWS:27377 ../build/NEWS:31316 -msgid "" -":issue:`15812`: inspect.getframeinfo() now correctly shows the first line of " -"a context. Patch by Sam Breese." -msgstr "" - -#: ../build/NEWS:24349 -msgid "" -":issue:`28985`: Update authorizer constants in sqlite3 module. Patch by " -"Dingyuan Wang." -msgstr "" - -#: ../build/NEWS:24352 ../build/NEWS:27389 -msgid ":issue:`29079`: Prevent infinite loop in pathlib.resolve() on Windows" -msgstr "" - -#: ../build/NEWS:24354 ../build/NEWS:27391 ../build/NEWS:31322 -msgid "" -":issue:`13051`: Fixed recursion errors in large or resized curses.textpad." -"Textbox. Based on patch by Tycho Andersen." -msgstr "" - -#: ../build/NEWS:24357 ../build/NEWS:27398 ../build/NEWS:31329 -msgid "" -":issue:`9770`: curses.ascii predicates now work correctly with negative " -"integers." -msgstr "" - -#: ../build/NEWS:24360 ../build/NEWS:27401 ../build/NEWS:31332 -msgid "" -":issue:`28427`: old keys should not remove new values from " -"WeakValueDictionary when collecting from another thread." -msgstr "" - -#: ../build/NEWS:24363 ../build/NEWS:27404 ../build/NEWS:31335 -msgid ":issue:`28923`: Remove editor artifacts from Tix.py." -msgstr "" - -#: ../build/NEWS:24365 ../build/NEWS:27409 ../build/NEWS:31337 -msgid ":issue:`28871`: Fixed a crash when deallocate deep ElementTree." -msgstr "" - -#: ../build/NEWS:24367 ../build/NEWS:27411 ../build/NEWS:31339 -msgid "" -":issue:`19542`: Fix bugs in WeakValueDictionary.setdefault() and " -"WeakValueDictionary.pop() when a GC collection happens in another thread." -msgstr "" - -#: ../build/NEWS:24370 ../build/NEWS:27414 -msgid "" -":issue:`20191`: Fixed a crash in resource.prlimit() when passing a sequence " -"that doesn't own its elements as limits." -msgstr "" - -#: ../build/NEWS:24373 -msgid "" -":issue:`16255`: subprocess.Popen uses /system/bin/sh on Android as the " -"shell, instead of /bin/sh." -msgstr "" - -#: ../build/NEWS:24376 ../build/NEWS:27417 ../build/NEWS:31345 -msgid "" -":issue:`28779`: multiprocessing.set_forkserver_preload() would crash the " -"forkserver process if a preloaded module instantiated some multiprocessing " -"objects such as locks." -msgstr "" - -#: ../build/NEWS:24380 ../build/NEWS:27424 -msgid "" -":issue:`26937`: The chown() method of the tarfile.TarFile class does not " -"fail now when the grp module cannot be imported, as for example on Android " -"platforms." -msgstr "" - -#: ../build/NEWS:24384 -msgid "" -":issue:`28847`: dbm.dumb now supports reading read-only files and no longer " -"writes the index file when it is not changed. A deprecation warning is now " -"emitted if the index file is missed and recreated in the 'r' and 'w' modes " -"(will be an error in future Python releases)." -msgstr "" - -#: ../build/NEWS:24389 -msgid "" -":issue:`27030`: Unknown escapes consisting of ``'\\'`` and an ASCII letter " -"in re.sub() replacement templates regular expressions now are errors." -msgstr "" - -#: ../build/NEWS:24392 ../build/NEWS:27605 -msgid "" -":issue:`28835`: Fix a regression introduced in warnings.catch_warnings(): " -"call warnings.showwarning() if it was overridden inside the context manager." -msgstr "" - -#: ../build/NEWS:24395 ../build/NEWS:27608 -msgid "" -":issue:`27172`: To assist with upgrades from 2.7, the previously documented " -"deprecation of ``inspect.getfullargspec()`` has been reversed. This decision " -"may be revisited again after the Python 2.7 branch is no longer officially " -"supported." -msgstr "" - -#: ../build/NEWS:24400 -msgid "" -":issue:`28740`: Add sys.getandroidapilevel(): return the build time API " -"version of Android as an integer. Function only available on Android." -msgstr "" - -#: ../build/NEWS:24403 ../build/NEWS:27613 -msgid "" -":issue:`26273`: Add new :data:`socket.TCP_CONGESTION` (Linux 2.6.13) and :" -"data:`socket.TCP_USER_TIMEOUT` (Linux 2.6.37) constants. Patch written by " -"Omar Sandoval." -msgstr "" - -#: ../build/NEWS:24407 ../build/NEWS:27684 -msgid ":issue:`28752`: Restored the __reduce__() methods of datetime objects." -msgstr "" - -#: ../build/NEWS:24409 ../build/NEWS:27686 -msgid "" -":issue:`28727`: Regular expression patterns, _sre.SRE_Pattern objects " -"created by re.compile(), become comparable (only x==y and x!=y operators). " -"This change should fix the :issue:`18383`: don't duplicate warning filters " -"when the warnings module is reloaded (thing usually only done in unit tests)." -msgstr "" - -#: ../build/NEWS:24414 -msgid "" -":issue:`20572`: Remove the subprocess.Popen.wait endtime parameter. It was " -"deprecated in 3.4 and undocumented prior to that." -msgstr "" - -#: ../build/NEWS:24417 ../build/NEWS:27694 ../build/NEWS:31352 -msgid "" -":issue:`25659`: In ctypes, prevent a crash calling the from_buffer() and " -"from_buffer_copy() methods on abstract classes like Array." -msgstr "" - -#: ../build/NEWS:24420 -msgid "" -":issue:`28548`: In the \"http.server\" module, parse the protocol version if " -"possible, to avoid using HTTP 0.9 in some error responses." -msgstr "" - -#: ../build/NEWS:24423 ../build/NEWS:27697 -msgid "" -":issue:`19717`: Makes Path.resolve() succeed on paths that do not exist. " -"Patch by Vajrasky Kok" -msgstr "" - -#: ../build/NEWS:24426 ../build/NEWS:27700 -msgid "" -":issue:`28563`: Fixed possible DoS and arbitrary code execution when handle " -"plural form selections in the gettext module. The expression parser now " -"supports exact syntax supported by GNU gettext." -msgstr "" - -#: ../build/NEWS:24430 ../build/NEWS:27704 ../build/NEWS:31361 -msgid "" -":issue:`28387`: Fixed possible crash in _io.TextIOWrapper deallocator when " -"the garbage collector is invoked in other thread. Based on patch by " -"Sebastian Cufre." -msgstr "" - -#: ../build/NEWS:24434 ../build/NEWS:27787 ../build/NEWS:31365 -msgid "" -":issue:`27517`: LZMA compressor and decompressor no longer raise exceptions " -"if given empty data twice. Patch by Benjamin Fogle." -msgstr "" - -#: ../build/NEWS:24437 ../build/NEWS:27790 ../build/NEWS:31368 -msgid ":issue:`28549`: Fixed segfault in curses's addch() with ncurses6." -msgstr "" - -#: ../build/NEWS:24439 ../build/NEWS:27792 ../build/NEWS:31370 -msgid "" -":issue:`28449`: tarfile.open() with mode \"r\" or \"r:\" now tries to open a " -"tar file with compression before trying to open it without compression. " -"Otherwise it had 50% chance failed with ignore_zeros=True." -msgstr "" - -#: ../build/NEWS:24443 ../build/NEWS:27796 ../build/NEWS:31374 -msgid "" -":issue:`23262`: The webbrowser module now supports Firefox 36+ and derived " -"browsers. Based on patch by Oleg Broytman." -msgstr "" - -#: ../build/NEWS:24446 -msgid "" -":issue:`24241`: The webbrowser in an X environment now prefers using the " -"default browser directly. Also, the webbrowser register() function now has a " -"documented 'preferred' argument, to specify browsers to be returned by get() " -"with no arguments. Patch by David Steele" -msgstr "" - -#: ../build/NEWS:24451 ../build/NEWS:27799 ../build/NEWS:31377 -msgid "" -":issue:`27939`: Fixed bugs in tkinter.ttk.LabeledScale and tkinter.Scale " -"caused by representing the scale as float value internally in Tk. tkinter." -"IntVar now works if float value is set to underlying Tk variable." -msgstr "" - -#: ../build/NEWS:24455 -msgid "" -":issue:`28255`: calendar.TextCalendar.prweek() no longer prints a space " -"after a weeks's calendar. calendar.TextCalendar.pryear() no longer prints " -"redundant newline after a year's calendar. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:24459 -msgid "" -":issue:`28255`: calendar.TextCalendar.prmonth() no longer prints a space at " -"the start of new line after printing a month's calendar. Patch by Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:24463 ../build/NEWS:27810 ../build/NEWS:31385 -msgid "" -":issue:`20491`: The textwrap.TextWrapper class now honors non-breaking " -"spaces. Based on patch by Kaarle Ritvanen." -msgstr "" - -#: ../build/NEWS:24466 ../build/NEWS:27813 ../build/NEWS:31388 -msgid ":issue:`28353`: os.fwalk() no longer fails on broken links." -msgstr "" - -#: ../build/NEWS:24468 ../build/NEWS:27815 -msgid "" -":issue:`28430`: Fix iterator of C implemented asyncio.Future doesn't accept " -"non-None value is passed to it.send(val)." -msgstr "" - -#: ../build/NEWS:24471 ../build/NEWS:27818 -msgid "" -":issue:`27025`: Generated names for Tkinter widgets now start by the \"!\" " -"prefix for readability." -msgstr "" - -#: ../build/NEWS:24474 ../build/NEWS:27821 ../build/NEWS:31390 -msgid "" -":issue:`25464`: Fixed HList.header_exists() in tkinter.tix module by addin a " -"workaround to Tix library bug." -msgstr "" - -#: ../build/NEWS:24477 ../build/NEWS:27824 -msgid "" -":issue:`28488`: shutil.make_archive() no longer adds entry \"./\" to ZIP " -"archive." -msgstr "" - -#: ../build/NEWS:24479 ../build/NEWS:27826 -msgid "" -":issue:`25953`: re.sub() now raises an error for invalid numerical group " -"reference in replacement template even if the pattern is not found in the " -"string. Error message for invalid group reference now includes the group " -"index and the position of the reference. Based on patch by SilentGhost." -msgstr "" - -#: ../build/NEWS:24484 -msgid "" -":issue:`28469`: timeit now uses the sequence 1, 2, 5, 10, 20, 50,... instead " -"of 1, 10, 100,... for autoranging." -msgstr "" - -#: ../build/NEWS:24487 -msgid "" -":issue:`28115`: Command-line interface of the zipfile module now uses " -"argparse. Added support of long options." -msgstr "" - -#: ../build/NEWS:24490 ../build/NEWS:27831 -msgid "" -":issue:`18219`: Optimize csv.DictWriter for large number of columns. Patch " -"by Mariatta Wijaya." -msgstr "" - -#: ../build/NEWS:24493 ../build/NEWS:27834 -msgid "" -":issue:`28448`: Fix C implemented asyncio.Future didn't work on Windows." -msgstr "" - -#: ../build/NEWS:24495 -msgid "" -":issue:`23214`: In the \"io\" module, the argument to BufferedReader and " -"BytesIO's read1() methods is now optional and can be -1, matching the " -"BufferedIOBase specification." -msgstr "" - -#: ../build/NEWS:24499 ../build/NEWS:27836 -msgid "" -":issue:`28480`: Fix error building socket module when multithreading is " -"disabled." -msgstr "" - -#: ../build/NEWS:24502 -msgid "" -":issue:`28240`: timeit: remove ``-c/--clock`` and ``-t/--time`` command line " -"options which were deprecated since Python 3.3." -msgstr "" - -#: ../build/NEWS:24505 -msgid "" -":issue:`28240`: timeit now repeats the benchmarks 5 times instead of only 3 " -"to make benchmarks more reliable." -msgstr "" - -#: ../build/NEWS:24508 -msgid "" -":issue:`28240`: timeit autorange now uses a single loop iteration if the " -"benchmark takes less than 10 seconds, instead of 10 iterations. \"python3 -m " -"timeit -s 'import time' 'time.sleep(1)'\" now takes 4 seconds instead of 40 " -"seconds." -msgstr "" - -#: ../build/NEWS:24513 -msgid "" -"Distutils.sdist now looks for README and setup.py files with case " -"sensitivity. This behavior matches that found in Setuptools 6.0 and later. " -"See `setuptools 100 `_ for " -"rationale." -msgstr "" - -#: ../build/NEWS:24518 -msgid "" -":issue:`24452`: Make webbrowser support Chrome on Mac OS X. Patch by Ned " -"Batchelder." -msgstr "" - -#: ../build/NEWS:24521 ../build/NEWS:27841 ../build/NEWS:31397 -msgid "" -":issue:`20766`: Fix references leaked by pdb in the handling of SIGINT " -"handlers." -msgstr "" - -#: ../build/NEWS:24524 ../build/NEWS:27957 -msgid "" -":issue:`27998`: Fixed bytes path support in os.scandir() on Windows. Patch " -"by Eryk Sun." -msgstr "" - -#: ../build/NEWS:24527 ../build/NEWS:27960 -msgid ":issue:`28317`: The disassembler now decodes FORMAT_VALUE argument." -msgstr "" - -#: ../build/NEWS:24529 ../build/NEWS:27966 -msgid "" -":issue:`28380`: unittest.mock Mock autospec functions now properly support " -"assert_called, assert_not_called, and assert_called_once." -msgstr "" - -#: ../build/NEWS:24532 ../build/NEWS:27971 -msgid ":issue:`28229`: lzma module now supports pathlib." -msgstr "" - -#: ../build/NEWS:24534 ../build/NEWS:27973 ../build/NEWS:31404 -msgid "" -":issue:`28321`: Fixed writing non-BMP characters with binary format in " -"plistlib." -msgstr "" - -#: ../build/NEWS:24537 ../build/NEWS:27976 -msgid "" -":issue:`28225`: bz2 module now supports pathlib. Initial patch by Ethan " -"Furman." -msgstr "" - -#: ../build/NEWS:24540 ../build/NEWS:27979 -msgid ":issue:`28227`: gzip now supports pathlib. Patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:24542 -msgid "" -":issue:`28332`: Deprecated silent truncations in socket.htons and socket." -"ntohs. Original patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:24545 ../build/NEWS:27981 -msgid "" -":issue:`27358`: Optimized merging var-keyword arguments and improved error " -"message when passing a non-mapping as a var-keyword argument." -msgstr "" - -#: ../build/NEWS:24548 ../build/NEWS:27984 -msgid "" -":issue:`28257`: Improved error message when passing a non-iterable as a var-" -"positional argument. Added opcode BUILD_TUPLE_UNPACK_WITH_CALL." -msgstr "" - -#: ../build/NEWS:24551 ../build/NEWS:27987 ../build/NEWS:31407 -msgid "" -":issue:`28322`: Fixed possible crashes when unpickle itertools objects from " -"incorrect pickle data. Based on patch by John Leitch." -msgstr "" - -#: ../build/NEWS:24554 ../build/NEWS:27990 -msgid ":issue:`28228`: imghdr now supports pathlib." -msgstr "" - -#: ../build/NEWS:24556 ../build/NEWS:27992 -msgid ":issue:`28226`: compileall now supports pathlib." -msgstr "" - -#: ../build/NEWS:24558 ../build/NEWS:27994 -msgid "" -":issue:`28314`: Fix function declaration (C flags) for the getiterator() " -"method of xml.etree.ElementTree.Element." -msgstr "" - -#: ../build/NEWS:24561 ../build/NEWS:27997 -msgid "" -":issue:`28148`: Stop using localtime() and gmtime() in the time module. " -"Introduced platform independent _PyTime_localtime API that is similar to " -"POSIX localtime_r, but available on all platforms. Patch by Ed Schouten." -msgstr "" - -#: ../build/NEWS:24565 ../build/NEWS:28001 ../build/NEWS:31416 -msgid "" -":issue:`28253`: Fixed calendar functions for extreme months: 0001-01 and " -"9999-12. Methods itermonthdays() and itermonthdays2() are reimplemented so " -"that they don't call itermonthdates() which can cause datetime.date under/" -"overflow." -msgstr "" - -#: ../build/NEWS:24570 ../build/NEWS:28006 ../build/NEWS:31421 -msgid "" -":issue:`28275`: Fixed possible use after free in the decompress() methods of " -"the LZMADecompressor and BZ2Decompressor classes. Original patch by John " -"Leitch." -msgstr "" - -#: ../build/NEWS:24574 ../build/NEWS:28010 ../build/NEWS:31425 -msgid "" -":issue:`27897`: Fixed possible crash in sqlite3.Connection." -"create_collation() if pass invalid string-like object as a name. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:24577 ../build/NEWS:28013 -msgid "" -":issue:`18844`: random.choices() now has k as a keyword-only argument to " -"improve the readability of common cases and come into line with the " -"signature used in other languages." -msgstr "" - -#: ../build/NEWS:24581 ../build/NEWS:28017 ../build/NEWS:31428 -msgid "" -":issue:`18893`: Fix invalid exception handling in Lib/ctypes/macholib/dyld." -"py. Patch by Madison May." -msgstr "" - -#: ../build/NEWS:24584 ../build/NEWS:28020 -msgid "" -":issue:`27611`: Fixed support of default root window in the tkinter.tix " -"module. Added the master parameter in the DisplayStyle constructor." -msgstr "" - -#: ../build/NEWS:24587 ../build/NEWS:28023 ../build/NEWS:31433 -msgid "" -":issue:`27348`: In the traceback module, restore the formatting of exception " -"messages like \"Exception: None\". This fixes a regression introduced in " -"3.5a2." -msgstr "" - -#: ../build/NEWS:24591 ../build/NEWS:28027 ../build/NEWS:31437 -msgid "" -":issue:`25651`: Allow falsy values to be used for msg parameter of subTest()." -msgstr "" - -#: ../build/NEWS:24593 ../build/NEWS:28029 -msgid "" -":issue:`27778`: Fix a memory leak in os.getrandom() when the getrandom() is " -"interrupted by a signal and a signal handler raises a Python exception." -msgstr "" - -#: ../build/NEWS:24596 ../build/NEWS:28032 -msgid "" -":issue:`28200`: Fix memory leak on Windows in the os module (fix " -"path_converter() function)." -msgstr "" - -#: ../build/NEWS:24599 ../build/NEWS:28035 -msgid "" -":issue:`25400`: RobotFileParser now correctly returns default values for " -"crawl_delay and request_rate. Initial patch by Peter Wirtz." -msgstr "" - -#: ../build/NEWS:24602 ../build/NEWS:28038 ../build/NEWS:31439 -msgid ":issue:`27932`: Prevent memory leak in win32_ver()." -msgstr "" - -#: ../build/NEWS:24604 ../build/NEWS:28040 ../build/NEWS:31441 -msgid "Fix UnboundLocalError in socket._sendfile_use_sendfile." -msgstr "" - -#: ../build/NEWS:24606 ../build/NEWS:28042 ../build/NEWS:31443 -msgid "" -":issue:`28075`: Check for ERROR_ACCESS_DENIED in Windows implementation of " -"os.stat(). Patch by Eryk Sun." -msgstr "" - -#: ../build/NEWS:24609 ../build/NEWS:28045 -msgid "" -":issue:`22493`: Warning message emitted by using inline flags in the middle " -"of regular expression now contains a (truncated) regex pattern. Patch by Tim " -"Graham." -msgstr "" - -#: ../build/NEWS:24613 ../build/NEWS:28049 ../build/NEWS:31446 -msgid "" -":issue:`25270`: Prevent codecs.escape_encode() from raising SystemError when " -"an empty bytestring is passed." -msgstr "" - -#: ../build/NEWS:24616 ../build/NEWS:28052 ../build/NEWS:31449 -msgid ":issue:`28181`: Get antigravity over HTTPS. Patch by Kaartic Sivaraam." -msgstr "" - -#: ../build/NEWS:24618 ../build/NEWS:28054 ../build/NEWS:31451 -msgid "" -":issue:`25895`: Enable WebSocket URL schemes in urllib.parse.urljoin. Patch " -"by Gergely Imreh and Markus Holtermann." -msgstr "" - -#: ../build/NEWS:24621 ../build/NEWS:28057 -msgid "" -":issue:`28114`: Fix a crash in parse_envlist() when env contains byte " -"strings. Patch by Eryk Sun." -msgstr "" - -#: ../build/NEWS:24624 ../build/NEWS:28060 ../build/NEWS:31454 -msgid "" -":issue:`27599`: Fixed buffer overrun in binascii.b2a_qp() and binascii." -"a2b_qp()." -msgstr "" - -#: ../build/NEWS:24627 ../build/NEWS:28063 ../build/NEWS:31637 -msgid "" -":issue:`27906`: Fix socket accept exhaustion during high TCP traffic. Patch " -"by Kevin Conway." -msgstr "" - -#: ../build/NEWS:24630 ../build/NEWS:28066 ../build/NEWS:31640 -msgid "" -":issue:`28174`: Handle when SO_REUSEPORT isn't properly supported. Patch by " -"Seth Michael Larson." -msgstr "" - -#: ../build/NEWS:24633 ../build/NEWS:28069 ../build/NEWS:31643 -msgid "" -":issue:`26654`: Inspect functools.partial in asyncio.Handle.__repr__. Patch " -"by iceboy." -msgstr "" - -#: ../build/NEWS:24636 ../build/NEWS:28072 ../build/NEWS:31646 -msgid ":issue:`26909`: Fix slow pipes IO in asyncio. Patch by INADA Naoki." -msgstr "" - -#: ../build/NEWS:24638 ../build/NEWS:28074 ../build/NEWS:31648 -msgid "" -":issue:`28176`: Fix callbacks race in asyncio.SelectorLoop.sock_connect." -msgstr "" - -#: ../build/NEWS:24640 ../build/NEWS:28076 ../build/NEWS:31650 -msgid "" -":issue:`27759`: Fix selectors incorrectly retain invalid file descriptors. " -"Patch by Mark Williams." -msgstr "" - -#: ../build/NEWS:24643 -msgid "" -":issue:`28325`: Remove vestigial MacOS 9 macurl2path module and its tests." -msgstr "" - -#: ../build/NEWS:24645 ../build/NEWS:28079 ../build/NEWS:31653 -msgid "" -":issue:`28368`: Refuse monitoring processes if the child watcher has no loop " -"attached. Patch by Vincent Michel." -msgstr "" - -#: ../build/NEWS:24648 ../build/NEWS:28082 ../build/NEWS:31656 -msgid "" -":issue:`28369`: Raise RuntimeError when transport's FD is used with " -"add_reader, add_writer, etc." -msgstr "" - -#: ../build/NEWS:24651 ../build/NEWS:28085 ../build/NEWS:31659 -msgid "" -":issue:`28370`: Speedup asyncio.StreamReader.readexactly. Patch by Коренберг " -"Марк." -msgstr "" - -#: ../build/NEWS:24654 ../build/NEWS:28088 ../build/NEWS:31662 -msgid ":issue:`28371`: Deprecate passing asyncio.Handles to run_in_executor." -msgstr "" - -#: ../build/NEWS:24656 ../build/NEWS:28090 ../build/NEWS:31664 -msgid "" -":issue:`28372`: Fix asyncio to support formatting of non-python coroutines." -msgstr "" - -#: ../build/NEWS:24658 ../build/NEWS:28092 ../build/NEWS:31666 -msgid "" -":issue:`28399`: Remove UNIX socket from FS before binding. Patch by " -"Коренберг Марк." -msgstr "" - -#: ../build/NEWS:24661 ../build/NEWS:28095 ../build/NEWS:31669 -msgid ":issue:`27972`: Prohibit Tasks to await on themselves." -msgstr "" - -#: ../build/NEWS:24663 ../build/NEWS:27617 -msgid "" -":issue:`24142`: Reading a corrupt config file left configparser in an " -"invalid state. Original patch by Florian Höch." -msgstr "" - -#: ../build/NEWS:24666 ../build/NEWS:26965 -msgid "" -":issue:`29581`: ABCMeta.__new__ now accepts ``**kwargs``, allowing abstract " -"base classes to use keyword parameters in __init_subclass__. Patch by Nate " -"Soares." -msgstr "" - -#: ../build/NEWS:24670 ../build/NEWS:26159 -msgid "" -":issue:`25532`: inspect.unwrap() will now only try to unwrap an object sys." -"getrecursionlimit() times, to protect against objects which create a new " -"object on every attribute access." -msgstr "" - -#: ../build/NEWS:24674 ../build/NEWS:27099 -msgid "" -":issue:`30177`: path.resolve(strict=False) no longer cuts the path after the " -"first element not present in the filesystem. Patch by Antoine Pietri." -msgstr "" - -#: ../build/NEWS:24680 ../build/NEWS:26585 -msgid "" -":issue:`31294`: Fix incomplete code snippet in the ZeroMQSocketListener and " -"ZeroMQSocketHandler examples and adapt them to Python 3." -msgstr "" - -#: ../build/NEWS:24683 ../build/NEWS:26588 -msgid "" -":issue:`21649`: Add RFC 7525 and Mozilla server side TLS links to SSL " -"documentation." -msgstr "" - -#: ../build/NEWS:24686 -msgid ":issue:`31128`: Allow the pydoc server to bind to arbitrary hostnames." -msgstr "" - -#: ../build/NEWS:24688 ../build/NEWS:26591 -msgid "" -":issue:`30803`: Clarify doc on truth value testing. Original patch by Peter " -"Thomassen." -msgstr "" - -#: ../build/NEWS:24691 ../build/NEWS:27154 ../build/NEWS:31070 -msgid "" -":issue:`30176`: Add missing attribute related constants in curses " -"documentation." -msgstr "" - -#: ../build/NEWS:24694 ../build/NEWS:27157 -msgid "" -":issue:`30052`: the link targets for :func:`bytes` and :func:`bytearray` are " -"now their respective type definitions, rather than the corresponding builtin " -"function entries. Use :ref:`bytes ` and :ref:`bytearray ` to reference the latter. In order to ensure this and future " -"cross-reference updates are applied automatically, the daily documentation " -"builds now disable the default output caching features in Sphinx." -msgstr "" - -#: ../build/NEWS:24702 ../build/NEWS:27165 ../build/NEWS:31073 -msgid "" -":issue:`26985`: Add missing info of code object in inspect documentation." -msgstr "" - -#: ../build/NEWS:24704 -msgid "" -":issue:`19824`: Improve the documentation for, and links to, template " -"strings by emphasizing their utility for internationalization, and by " -"clarifying some usage constraints. (See also: :issue:`20314`, :issue:`12518`)" -msgstr "" - -#: ../build/NEWS:24708 ../build/NEWS:27474 ../build/NEWS:31075 -msgid ":issue:`28929`: Link the documentation to its source file on GitHub." -msgstr "" - -#: ../build/NEWS:24710 ../build/NEWS:27476 ../build/NEWS:31077 -msgid "" -":issue:`25008`: Document smtpd.py as effectively deprecated and add a " -"pointer to aiosmtpd, a third-party asyncio-based replacement." -msgstr "" - -#: ../build/NEWS:24713 ../build/NEWS:27479 ../build/NEWS:31080 -msgid "" -":issue:`26355`: Add canonical header link on each page to corresponding " -"major version of the documentation. Patch by Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:24716 ../build/NEWS:27482 ../build/NEWS:31083 -msgid "" -":issue:`29349`: Fix Python 2 syntax in code for building the documentation." -msgstr "" - -#: ../build/NEWS:24718 -msgid "" -":issue:`23722`: The data model reference and the porting section in the 3.6 " -"What's New guide now cover the additional ``__classcell__`` handling needed " -"for custom metaclasses to fully support :pep:`487` and zero-argument " -"``super()``." -msgstr "" - -#: ../build/NEWS:24723 ../build/NEWS:27733 ../build/NEWS:31737 -msgid ":issue:`28513`: Documented command-line interface of zipfile." -msgstr "" - -#: ../build/NEWS:24728 -msgid "" -":issue:`29639`: test.support.HOST is now \"localhost\", a new HOSTv4 " -"constant has been added for your ``127.0.0.1`` needs, similar to the " -"existing HOSTv6 constant." -msgstr "" - -#: ../build/NEWS:24732 ../build/NEWS:26597 -msgid ":issue:`31320`: Silence traceback in test_ssl" -msgstr "" - -#: ../build/NEWS:24734 -msgid "" -":issue:`31346`: Prefer PROTOCOL_TLS_CLIENT and PROTOCOL_TLS_SERVER protocols " -"for SSLContext." -msgstr "" - -#: ../build/NEWS:24737 ../build/NEWS:26599 -msgid ":issue:`25674`: Remove sha256.tbs-internet.com ssl test" -msgstr "" - -#: ../build/NEWS:24739 ../build/NEWS:26601 -msgid "" -":issue:`30715`: Address ALPN callback changes for OpenSSL 1.1.0f. The latest " -"version behaves like OpenSSL 1.0.2 and no longer aborts handshake." -msgstr "" - -#: ../build/NEWS:24742 ../build/NEWS:26604 -msgid "" -":issue:`30822`: regrtest: Exclude tzdata from regrtest --all. When running " -"the test suite using --use=all / -u all, exclude tzdata since it makes " -"test_datetime too slow (15-20 min on some buildbots) which then times out on " -"some buildbots. Fix also regrtest command line parser to allow passing -u " -"extralargefile to run test_zipfile64." -msgstr "" - -#: ../build/NEWS:24748 ../build/NEWS:26211 -msgid "" -":issue:`30695`: Add the `set_nomemory(start, stop)` and `remove_mem_hooks()` " -"functions to the _testcapi module." -msgstr "" - -#: ../build/NEWS:24751 ../build/NEWS:27176 ../build/NEWS:31102 -msgid "" -":issue:`30357`: test_thread: setUp() now uses support.threading_setup() and " -"support.threading_cleanup() to wait until threads complete to avoid random " -"side effects on following tests. Initial patch written by Grzegorz Grzywacz." -msgstr "" - -#: ../build/NEWS:24756 ../build/NEWS:27181 ../build/NEWS:31111 -msgid "" -":issue:`30197`: Enhanced functions swap_attr() and swap_item() in the test." -"support module. They now work when delete replaced attribute or item inside " -"the with statement. The old value of the attribute or item (or None if it " -"doesn't exist) now will be assigned to the target of the \"as\" clause, if " -"there is one." -msgstr "" - -#: ../build/NEWS:24762 -msgid ":issue:`24932`: Use proper command line parsing in _testembed" -msgstr "" - -#: ../build/NEWS:24764 ../build/NEWS:27497 -msgid "" -":issue:`28950`: Disallow -j0 to be combined with -T/-l in regrtest command " -"line arguments." -msgstr "" - -#: ../build/NEWS:24767 ../build/NEWS:27500 -msgid "" -":issue:`28683`: Fix the tests that bind() a unix socket and raise " -"PermissionError on Android for a non-root user." -msgstr "" - -#: ../build/NEWS:24770 -msgid "" -":issue:`26936`: Fix the test_socket failures on Android - getservbyname(), " -"getservbyport() and getaddrinfo() are broken on some Android API levels." -msgstr "" - -#: ../build/NEWS:24773 ../build/NEWS:27738 ../build/NEWS:31745 -msgid "" -":issue:`28666`: Now test.support.rmtree is able to remove unwritable or " -"unreadable directories." -msgstr "" - -#: ../build/NEWS:24776 ../build/NEWS:27741 ../build/NEWS:31748 -msgid "" -":issue:`23839`: Various caches now are cleared before running every test " -"file." -msgstr "" - -#: ../build/NEWS:24778 ../build/NEWS:27873 -msgid "" -":issue:`26944`: Fix test_posix for Android where 'id -G' is entirely wrong " -"or missing the effective gid." -msgstr "" - -#: ../build/NEWS:24781 ../build/NEWS:27876 ../build/NEWS:31750 -msgid ":issue:`28409`: regrtest: fix the parser of command line arguments." -msgstr "" - -#: ../build/NEWS:24783 ../build/NEWS:28144 -msgid ":issue:`28217`: Adds _testconsole module to test console input." -msgstr "" - -#: ../build/NEWS:24785 ../build/NEWS:27503 -msgid "" -":issue:`26939`: Add the support.setswitchinterval() function to fix " -"test_functools hanging on the Android armv7 qemu emulator." -msgstr "" - -#: ../build/NEWS:24791 -msgid "" -":issue:`31354`: Allow --with-lto to be used on all builds, not just `make " -"profile-opt`." -msgstr "" - -#: ../build/NEWS:24794 -msgid "" -":issue:`31370`: Remove support for building --without-threads. This option " -"is not really useful anymore in the 21st century. Removing lots of " -"conditional paths allows us to simplify the code base, including in " -"difficult to maintain low-level internal code." -msgstr "" - -#: ../build/NEWS:24799 -msgid "" -":issue:`31341`: Per :pep:`11`, support for the IRIX operating system was " -"removed." -msgstr "" - -#: ../build/NEWS:24802 ../build/NEWS:26613 -msgid "" -":issue:`30854`: Fix compile error when compiling --without-threads. Patch by " -"Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:24805 ../build/NEWS:27190 ../build/NEWS:31139 -msgid "" -":issue:`30687`: Locate msbuild.exe on Windows when building rather than " -"vcvarsall.bat" -msgstr "" - -#: ../build/NEWS:24808 -msgid "" -":issue:`20210`: Support the *disabled* marker in Setup files. Extension " -"modules listed after this marker are not built at all, neither by the " -"Makefile nor by setup.py." -msgstr "" - -#: ../build/NEWS:24812 ../build/NEWS:27134 -msgid "" -":issue:`29941`: Add ``--with-assertions`` configure flag to explicitly " -"enable C ``assert()`` checks. Defaults to off. ``--with-pydebug`` implies " -"``--with-assertions``." -msgstr "" - -#: ../build/NEWS:24816 ../build/NEWS:27138 -msgid "" -":issue:`28787`: Fix out-of-tree builds of Python when configured with ``--" -"with--dtrace``." -msgstr "" - -#: ../build/NEWS:24819 ../build/NEWS:27141 ../build/NEWS:31126 -msgid "" -":issue:`29243`: Prevent unnecessary rebuilding of Python during ``make " -"test``, ``make install`` and some other make targets when configured with " -"``--enable-optimizations``." -msgstr "" - -#: ../build/NEWS:24823 ../build/NEWS:27145 ../build/NEWS:31130 -msgid "" -":issue:`23404`: Don't regenerate generated files based on file modification " -"time anymore: the action is now explicit. Replace ``make touch`` with ``make " -"regen-all``." -msgstr "" - -#: ../build/NEWS:24827 ../build/NEWS:27149 ../build/NEWS:31134 -msgid ":issue:`29643`: Fix ``--enable-optimization`` didn't work." -msgstr "" - -#: ../build/NEWS:24829 ../build/NEWS:27509 -msgid "" -":issue:`27593`: sys.version and the platform module python_build(), " -"python_branch(), and python_revision() functions now use git information " -"rather than hg when building from a repo." -msgstr "" - -#: ../build/NEWS:24833 ../build/NEWS:27513 -msgid "" -":issue:`29572`: Update Windows build and OS X installers to use OpenSSL " -"1.0.2k." -msgstr "" - -#: ../build/NEWS:24835 -msgid "" -":issue:`27659`: Prohibit implicit C function declarations: use ``-" -"Werror=implicit-function-declaration`` when possible (GCC and Clang, but it " -"depends on the compiler version). Patch written by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:24839 -msgid ":issue:`29384`: Remove old Be OS helper scripts." -msgstr "" - -#: ../build/NEWS:24841 ../build/NEWS:27515 -msgid ":issue:`26851`: Set Android compilation and link flags." -msgstr "" - -#: ../build/NEWS:24843 ../build/NEWS:27517 -msgid "" -":issue:`28768`: Fix implicit declaration of function _setmode. Patch by " -"Masayuki Yamamoto" -msgstr "" - -#: ../build/NEWS:24846 ../build/NEWS:27520 ../build/NEWS:31788 -msgid "" -":issue:`29080`: Removes hard dependency on hg.exe from PCBuild/build.bat" -msgstr "" - -#: ../build/NEWS:24848 ../build/NEWS:27522 ../build/NEWS:31790 -msgid ":issue:`23903`: Added missed names to PC/python3.def." -msgstr "" - -#: ../build/NEWS:24850 ../build/NEWS:27524 -msgid "" -":issue:`28762`: lockf() is available on Android API level 24, but the F_LOCK " -"macro is not defined in android-ndk-r13." -msgstr "" - -#: ../build/NEWS:24853 ../build/NEWS:27527 -msgid "" -":issue:`28538`: Fix the compilation error that occurs because if_nameindex() " -"is available on Android API level 24, but the if_nameindex structure is not " -"defined." -msgstr "" - -#: ../build/NEWS:24857 ../build/NEWS:27531 -msgid "" -":issue:`20211`: Do not add the directory for installing C header files and " -"the directory for installing object code libraries to the cross compilation " -"search paths. Original patch by Thomas Petazzoni." -msgstr "" - -#: ../build/NEWS:24861 ../build/NEWS:27535 -msgid ":issue:`28849`: Do not define sys.implementation._multiarch on Android." -msgstr "" - -#: ../build/NEWS:24863 ../build/NEWS:27746 ../build/NEWS:31792 -msgid "" -":issue:`10656`: Fix out-of-tree building on AIX. Patch by Tristan Carel and " -"Michael Haubenwallner." -msgstr "" - -#: ../build/NEWS:24866 ../build/NEWS:27749 ../build/NEWS:31795 -msgid ":issue:`26359`: Rename --with-optimiations to --enable-optimizations." -msgstr "" - -#: ../build/NEWS:24868 ../build/NEWS:27864 ../build/NEWS:31797 -msgid ":issue:`28444`: Fix missing extensions modules when cross compiling." -msgstr "" - -#: ../build/NEWS:24870 ../build/NEWS:27866 -msgid "" -":issue:`28208`: Update Windows build and OS X installers to use SQLite " -"3.14.2." -msgstr "" - -#: ../build/NEWS:24872 ../build/NEWS:27868 ../build/NEWS:31799 -msgid "" -":issue:`28248`: Update Windows build and OS X installers to use OpenSSL " -"1.0.2j." -msgstr "" - -#: ../build/NEWS:24874 -msgid "" -":issue:`21124`: Fix building the _struct module on Cygwin by passing " -"``NULL`` instead of ``&PyType_Type`` to PyVarObject_HEAD_INIT. Patch by " -"Masayuki Yamamoto." -msgstr "" - -#: ../build/NEWS:24878 -msgid "" -":issue:`13756`: Fix building extensions modules on Cygwin. Patch by Roumen " -"Petrov, based on original patch by Jason Tishler." -msgstr "" - -#: ../build/NEWS:24881 -msgid "" -":issue:`21085`: Add configure check for siginfo_t.si_band, which Cygwin does " -"not provide. Patch by Masayuki Yamamoto with review and rebase by Erik Bray." -msgstr "" - -#: ../build/NEWS:24885 ../build/NEWS:28133 ../build/NEWS:31801 -msgid "" -":issue:`28258`: Fixed build with Estonian locale (python-config and " -"distclean targets in Makefile). Patch by Arfrever Frehtes Taifersar " -"Arahesis." -msgstr "" - -#: ../build/NEWS:24888 ../build/NEWS:28136 ../build/NEWS:31804 -msgid "" -":issue:`26661`: setup.py now detects system libffi with multiarch wrapper." -msgstr "" - -#: ../build/NEWS:24890 -msgid "" -":issue:`27979`: A full copy of libffi is no longer bundled for use when " -"building _ctypes on non-OSX UNIX platforms. An installed copy of libffi is " -"now required when building _ctypes on such platforms." -msgstr "" - -#: ../build/NEWS:24894 ../build/NEWS:28138 ../build/NEWS:31809 -msgid "" -":issue:`15819`: Remove redundant include search directory option for " -"building outside the source tree." -msgstr "" - -#: ../build/NEWS:24897 ../build/NEWS:27751 ../build/NEWS:31846 -msgid "" -":issue:`28676`: Prevent missing 'getentropy' declaration warning on macOS. " -"Patch by Gareth Rees." -msgstr "" - -#: ../build/NEWS:24903 -msgid ":issue:`31392`: Update Windows build to use OpenSSL 1.1.0f" -msgstr "" - -#: ../build/NEWS:24905 ../build/NEWS:26619 -msgid "" -":issue:`30389`: Adds detection of Visual Studio 2017 to distutils on Windows." -msgstr "" - -#: ../build/NEWS:24907 -msgid "" -":issue:`31358`: zlib is no longer bundled in the CPython source, instead it " -"is downloaded on demand just like bz2, lzma, OpenSSL, Tcl/Tk, and SQLite." -msgstr "" - -#: ../build/NEWS:24910 ../build/NEWS:26621 -msgid "" -":issue:`31340`: Change to building with MSVC v141 (included with Visual " -"Studio 2017)" -msgstr "" - -#: ../build/NEWS:24913 ../build/NEWS:26624 -msgid "" -":issue:`30581`: os.cpu_count() now returns the correct number of processors " -"on Windows when the number of logical processors is greater than 64." -msgstr "" - -#: ../build/NEWS:24916 -msgid "" -":issue:`30916`: Pre-build OpenSSL, Tcl and Tk and include the binaries in " -"the build." -msgstr "" - -#: ../build/NEWS:24919 ../build/NEWS:26627 -msgid "" -":issue:`30731`: Add a missing xmlns to python.manifest so that it matches " -"the schema." -msgstr "" - -#: ../build/NEWS:24922 -msgid "" -":issue:`30291`: Allow requiring 64-bit interpreters from py.exe using -64 " -"suffix. Contributed by Steve (Gadget) Barnes." -msgstr "" - -#: ../build/NEWS:24925 -msgid "" -":issue:`30362`: Adds list options (-0, -0p) to py.exe launcher. Contributed " -"by Steve Barnes." -msgstr "" - -#: ../build/NEWS:24928 -msgid "" -":issue:`23451`: Fix socket deprecation warnings in socketmodule.c. Patch by " -"Segev Finer." -msgstr "" - -#: ../build/NEWS:24931 ../build/NEWS:27193 -msgid "" -":issue:`30450`: The build process on Windows no longer depends on " -"Subversion, instead pulling external code from GitHub via a Python script. " -"If Python 3.6 is not found on the system (via ``py -3.6``), NuGet is used to " -"download a copy of 32-bit Python." -msgstr "" - -#: ../build/NEWS:24936 -msgid ":issue:`29579`: Removes readme.txt from the installer." -msgstr "" - -#: ../build/NEWS:24938 ../build/NEWS:27450 -msgid "" -":issue:`25778`: winreg does not truncate string correctly (Patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:24940 -msgid "" -":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default" -msgstr "" - -#: ../build/NEWS:24942 ../build/NEWS:27859 -msgid ":issue:`28522`: Fixes mishandled buffer reallocation in getpathp.c" -msgstr "" - -#: ../build/NEWS:24944 ../build/NEWS:28100 -msgid ":issue:`28402`: Adds signed catalog files for stdlib on Windows." -msgstr "" - -#: ../build/NEWS:24946 ../build/NEWS:28102 -msgid "" -":issue:`28333`: Enables Unicode for ps1/ps2 and input() prompts. (Patch by " -"Eryk Sun)" -msgstr "" - -#: ../build/NEWS:24949 ../build/NEWS:28105 ../build/NEWS:31773 -msgid ":issue:`28251`: Improvements to help manuals on Windows." -msgstr "" - -#: ../build/NEWS:24951 ../build/NEWS:28107 ../build/NEWS:31775 -msgid "" -":issue:`28110`: launcher.msi has different product codes between 32-bit and " -"64-bit" -msgstr "" - -#: ../build/NEWS:24954 ../build/NEWS:28110 -msgid ":issue:`28161`: Opening CON for write access fails" -msgstr "" - -#: ../build/NEWS:24956 ../build/NEWS:28112 -msgid "" -":issue:`28162`: WindowsConsoleIO readall() fails if first line starts with " -"Ctrl+Z" -msgstr "" - -#: ../build/NEWS:24959 ../build/NEWS:28115 -msgid "" -":issue:`28163`: WindowsConsoleIO fileno() passes wrong flags to " -"_open_osfhandle" -msgstr "" - -#: ../build/NEWS:24961 ../build/NEWS:28117 -msgid ":issue:`28164`: _PyIO_get_console_type fails for various paths" -msgstr "" - -#: ../build/NEWS:24963 ../build/NEWS:28119 -msgid ":issue:`28137`: Renames Windows path file to ._pth" -msgstr "" - -#: ../build/NEWS:24965 ../build/NEWS:28121 -msgid ":issue:`28138`: Windows ._pth file should allow import site" -msgstr "" - -#: ../build/NEWS:24970 ../build/NEWS:26633 -msgid "" -":issue:`31493`: IDLE code context -- fix code update and font update timers. " -"Canceling timers prevents a warning message when test_idle completes." -msgstr "" - -#: ../build/NEWS:24973 ../build/NEWS:26636 -msgid "" -":issue:`31488`: IDLE - Update non-key options in former extension classes. " -"When applying configdialog changes, call .reload for each feature class. " -"Change ParenMatch so updated options affect existing instances attached to " -"existing editor windows." -msgstr "" - -#: ../build/NEWS:24978 ../build/NEWS:26641 -msgid "" -":issue:`31477`: IDLE - Improve rstrip entry in doc. Strip trailing " -"whitespace strips more than blank spaces. Multiline string literals are not " -"skipped." -msgstr "" - -#: ../build/NEWS:24981 ../build/NEWS:26644 -msgid "" -":issue:`31480`: IDLE - make tests pass with zzdummy extension disabled by " -"default." -msgstr "" - -#: ../build/NEWS:24984 ../build/NEWS:26647 -msgid "" -":issue:`31421`: Document how IDLE runs tkinter programs. IDLE calls tcl/tk " -"update in the background in order to make live interaction and " -"experimentation with tkinter applications much easier." -msgstr "" - -#: ../build/NEWS:24988 ../build/NEWS:26651 -msgid "" -":issue:`31414`: IDLE -- fix tk entry box tests by deleting first. Adding to " -"an int entry is not the same as deleting and inserting because int('') will " -"fail." -msgstr "" - -#: ../build/NEWS:24992 ../build/NEWS:26655 -msgid "" -":issue:`31051`: Rearrange IDLE configdialog GenPage into Window, Editor, and " -"Help sections." -msgstr "" - -#: ../build/NEWS:24995 ../build/NEWS:26658 -msgid "" -":issue:`30617`: IDLE - Add docstrings and tests for outwin subclass of " -"editor. Move some data and functions from the class to module level. Patch " -"by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:24999 ../build/NEWS:26662 -msgid "" -":issue:`31287`: IDLE - Do not modify tkinter.message in test_configdialog." -msgstr "" - -#: ../build/NEWS:25001 ../build/NEWS:26664 -msgid "" -":issue:`27099`: Convert IDLE's built-in 'extensions' to regular features. " -"About 10 IDLE features were implemented as supposedly optional extensions. " -"Their different behavior could be confusing or worse for users and not good " -"for maintenance. Hence the conversion. The main difference for users is that " -"user configurable key bindings for builtin features are now handled " -"uniformly. Now, editing a binding in a keyset only affects its value in the " -"keyset. All bindings are defined together in the system-specific default " -"keysets in config-extensions.def. All custom keysets are saved as a whole in " -"config-extension.cfg. All take effect as soon as one clicks Apply or Ok. " -"The affected events are '<>', '<>', " -"'<>', '<>', '<>', '<>', '<>', and '<>'. Any (global) " -"customizations made before 3.6.3 will not affect their keyset-specific " -"customization after 3.6.3. and vice versa. Initial patch by Charles " -"Wohlganger." -msgstr "" - -#: ../build/NEWS:25017 ../build/NEWS:26680 -msgid "" -":issue:`31206`: IDLE: Factor HighPage(Frame) class from ConfigDialog. Patch " -"by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25020 ../build/NEWS:26683 -msgid "" -":issue:`31001`: Add tests for configdialog highlight tab. Patch by Cheryl " -"Sabella." -msgstr "" - -#: ../build/NEWS:25023 ../build/NEWS:26686 -msgid "" -":issue:`31205`: IDLE: Factor KeysPage(Frame) class from ConfigDialog. The " -"slightly modified tests continue to pass. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25026 ../build/NEWS:26689 -msgid "" -":issue:`31130`: IDLE -- stop leaks in test_configdialog. Initial patch by " -"Victor Stinner." -msgstr "" - -#: ../build/NEWS:25029 ../build/NEWS:26692 -msgid "" -":issue:`31002`: Add tests for configdialog keys tab. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25031 ../build/NEWS:26694 -msgid "" -":issue:`19903`: IDLE: Calltips use `inspect.signature` instead of `inspect." -"getfullargspec`. This improves calltips for builtins converted to use " -"Argument Clinic. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:25035 ../build/NEWS:26698 -msgid "" -":issue:`31083`: IDLE - Add an outline of a TabPage class in configdialog. " -"Update existing classes to match outline. Initial patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25038 ../build/NEWS:26701 -msgid "" -":issue:`31050`: Factor GenPage(Frame) class from ConfigDialog. The slightly " -"modified tests continue to pass. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25041 ../build/NEWS:26704 -msgid "" -":issue:`31004`: IDLE - Factor FontPage(Frame) class from ConfigDialog. " -"Slightly modified tests continue to pass. Fix General tests. Patch mostly by " -"Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25045 ../build/NEWS:26708 -msgid "" -":issue:`30781`: IDLE - Use ttk widgets in ConfigDialog. Patches by Terry Jan " -"Reedy and Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25048 ../build/NEWS:26711 -msgid "" -":issue:`31060`: IDLE - Finish rearranging methods of ConfigDialog Grouping " -"methods pertaining to each tab and the buttons will aid writing tests and " -"improving the tabs and will enable splitting the groups into classes." -msgstr "" - -#: ../build/NEWS:25052 ../build/NEWS:26715 -msgid "" -":issue:`30853`: IDLE -- Factor a VarTrace class out of ConfigDialog. " -"Instance tracers manages pairs consisting of a tk variable and a callback " -"function. When tracing is turned on, setting the variable calls the " -"function. Test coverage for the new class is 100%." -msgstr "" - -#: ../build/NEWS:25057 ../build/NEWS:26720 -msgid ":issue:`31003`: IDLE: Add more tests for General tab." -msgstr "" - -#: ../build/NEWS:25059 ../build/NEWS:26722 -msgid "" -":issue:`30993`: IDLE - Improve configdialog font page and tests. In " -"configdialog: Document causal pathways in create_font_tab docstring. " -"Simplify some attribute names. Move set_samples calls to var_changed_font " -"(idea from Cheryl Sabella). Move related functions to positions after the " -"create widgets function. In test_configdialog: Fix test_font_set so not " -"order dependent. Fix renamed test_indent_scale so it tests the widget. " -"Adjust tests for movement of set_samples call. Add tests for load " -"functions. Put all font tests in one class and tab indent tests in " -"another. Except for two lines, these tests completely cover the related " -"functions." -msgstr "" - -#: ../build/NEWS:25070 ../build/NEWS:26733 -msgid ":issue:`30981`: IDLE -- Add more configdialog font page tests." -msgstr "" - -#: ../build/NEWS:25072 ../build/NEWS:26735 -msgid ":issue:`28523`: IDLE: replace 'colour' with 'color' in configdialog." -msgstr "" - -#: ../build/NEWS:25074 ../build/NEWS:26737 -msgid "" -":issue:`30917`: Add tests for idlelib.config.IdleConf. Increase coverage " -"from 46% to 96%. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:25077 ../build/NEWS:26740 -msgid "" -":issue:`30934`: Document coverage details for idlelib tests. Add section to " -"idlelib/idle-test/README.txt. Include check that branches are taken both " -"ways. Exclude IDLE-specific code that does not run during unit tests." -msgstr "" - -#: ../build/NEWS:25081 ../build/NEWS:26744 -msgid "" -":issue:`30913`: IDLE: Document ConfigDialog tk Vars, methods, and widgets in " -"docstrings This will facilitate improving the dialog and splitting up the " -"class. Original patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25085 ../build/NEWS:26748 -msgid "" -":issue:`30899`: IDLE: Add tests for ConfigParser subclasses in config. Patch " -"by Louie Lu." -msgstr "" - -#: ../build/NEWS:25088 ../build/NEWS:26751 -msgid "" -":issue:`30881`: IDLE: Add docstrings to browser.py. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25090 ../build/NEWS:26753 -msgid "" -":issue:`30851`: IDLE: Remove unused variables in configdialog. One is a " -"duplicate, one is set but cannot be altered by users. Patch by Cheryl " -"Sabella." -msgstr "" - -#: ../build/NEWS:25094 ../build/NEWS:26757 -msgid "" -":issue:`30870`: IDLE: In Settings dialog, select font with Up, Down keys as " -"well as mouse. Initial patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:25097 ../build/NEWS:26760 -msgid ":issue:`8231`: IDLE: call config.IdleConf.GetUserCfgDir only once." -msgstr "" - -#: ../build/NEWS:25099 ../build/NEWS:26762 -msgid "" -":issue:`30779`: IDLE: Factor ConfigChanges class from configdialog, put in " -"config; test. * In config, put dump test code in a function; run it and " -"unittest in 'if __name__ == '__main__'. * Add class config.ConfigChanges " -"based on changes_class_v4.py on bpo issue. * Add class test_config." -"ChangesTest, partly using configdialog_tests_v1.py. * Revise configdialog to " -"use ConfigChanges; see tracker msg297804. * Revise test_configdialog to " -"match configdialog changes. * Remove configdialog functions unused or moved " -"to ConfigChanges. Cheryl Sabella contributed parts of the patch." -msgstr "" - -#: ../build/NEWS:25109 ../build/NEWS:26772 -msgid "" -":issue:`30777`: IDLE: configdialog - Add docstrings and fix comments. Patch " -"by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25112 ../build/NEWS:26775 -msgid "" -":issue:`30495`: IDLE: Improve textview with docstrings, PEP8 names, and more " -"tests. Patch by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25115 ../build/NEWS:26778 -msgid "" -":issue:`30723`: IDLE: Make several improvements to parenmatch. Add 'parens' " -"style to highlight both opener and closer. Make 'default' style, which is " -"not default, a synonym for 'opener'. Make time-delay work the same with all " -"styles. Add help for config dialog extensions tab, including help for " -"parenmatch. Add new tests. Original patch by Charles Wohlganger." -msgstr "" - -#: ../build/NEWS:25121 ../build/NEWS:26784 -msgid "" -":issue:`30674`: IDLE: add docstrings to grep module. Patch by Cheryl Sabella" -msgstr "" - -#: ../build/NEWS:25123 ../build/NEWS:26786 -msgid "" -":issue:`21519`: IDLE's basic custom key entry dialog now detects duplicates " -"properly. Original patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:25126 ../build/NEWS:26789 -msgid "" -":issue:`29910`: IDLE no longer deletes a character after commenting out a " -"region by a key shortcut. Add ``return 'break'`` for this and other " -"potential conflicts between IDLE and default key bindings." -msgstr "" - -#: ../build/NEWS:25130 ../build/NEWS:26793 -msgid "" -":issue:`30728`: Review and change idlelib.configdialog names. Lowercase " -"method and attribute names. Replace 'colour' with 'color', expand overly " -"cryptic names, delete unneeded underscores. Replace ``import *`` with " -"specific imports. Patches by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25135 ../build/NEWS:26798 -msgid "" -":issue:`6739`: IDLE: Verify user-entered key sequences by trying to bind " -"them with tk. Add tests for all 3 validation functions. Original patch by G " -"Polo. Tests added by Cheryl Sabella." -msgstr "" - -#: ../build/NEWS:25139 ../build/NEWS:27105 -msgid "" -":issue:`15786`: Fix several problems with IDLE's autocompletion box. The " -"following should now work: clicking on selection box items; using the " -"scrollbar; selecting an item by hitting Return. Hangs on MacOSX should no " -"longer happen. Patch by Louie Lu." -msgstr "" - -#: ../build/NEWS:25144 ../build/NEWS:27110 -msgid "" -":issue:`25514`: Add doc subsubsection about IDLE failure to start. Popup no-" -"connection message directs users to this section." -msgstr "" - -#: ../build/NEWS:25147 ../build/NEWS:27113 -msgid "" -":issue:`30642`: Fix reference leaks in IDLE tests. Patches by Louie Lu and " -"Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:25150 ../build/NEWS:27116 -msgid "" -":issue:`30495`: Add docstrings for textview.py and use PEP8 names. Patches " -"by Cheryl Sabella and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:25153 ../build/NEWS:27119 -msgid "" -":issue:`30290`: Help-about: use pep8 names and add tests. Increase coverage " -"to 100%. Patches by Louie Lu, Cheryl Sabella, and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:25156 ../build/NEWS:27122 -msgid "" -":issue:`30303`: Add _utest option to textview; add new tests. Increase " -"coverage to 100%. Patches by Louie Lu and Terry Jan Reedy." -msgstr "" - -#: ../build/NEWS:25159 ../build/NEWS:27431 -msgid "" -":issue:`29071`: IDLE colors f-string prefixes (but not invalid ur prefixes)." -msgstr "" - -#: ../build/NEWS:25161 ../build/NEWS:27433 -msgid "" -":issue:`28572`: Add 10% to coverage of IDLE's test_configdialog. Update and " -"augment description of the configuration system." -msgstr "" - -#: ../build/NEWS:25167 ../build/NEWS:26805 -msgid "" -":issue:`30983`: gdb integration commands (py-bt, etc.) work on optimized " -"shared builds now, too. :pep:`523` introduced _PyEval_EvalFrameDefault " -"which inlines PyEval_EvalFrameEx on non-debug shared builds. This broke the " -"ability to use py-bt, py-up, and a few other Python-specific gdb " -"integrations. The problem is fixed by only looking for " -"_PyEval_EvalFrameDefault frames in python-gdb.py. Original patch by Bruno " -"\"Polaco\" Penteado." -msgstr "" - -#: ../build/NEWS:25175 -msgid ":issue:`29748`: Added the slice index converter in Argument Clinic." -msgstr "" - -#: ../build/NEWS:25177 -msgid "" -":issue:`24037`: Argument Clinic now uses the converter `bool(accept={int})` " -"rather than `int` for semantical booleans. This avoids repeating the " -"default value for Python and C and will help in converting to `bool` in " -"future." -msgstr "" - -#: ../build/NEWS:25182 ../build/NEWS:27170 -msgid "" -":issue:`29367`: python-gdb.py now supports also ``method-wrapper`` " -"(``wrapperobject``) objects." -msgstr "" - -#: ../build/NEWS:25185 ../build/NEWS:27638 -msgid "" -":issue:`28023`: Fix python-gdb.py didn't support new dict implementation." -msgstr "" - -#: ../build/NEWS:25187 -msgid "" -":issue:`15369`: The pybench and pystone microbenchmark have been removed " -"from Tools. Please use the new Python benchmark suite https://github.com/" -"python/performance which is more reliable and includes a portable version of " -"pybench working on Python 2 and Python 3." -msgstr "" - -#: ../build/NEWS:25192 -msgid "" -":issue:`28102`: The zipfile module CLI now prints usage to stderr. Patch by " -"Stephen J. Turnbull." -msgstr "" - -#: ../build/NEWS:25198 -msgid "" -":issue:`31338`: Added the ``Py_UNREACHABLE()`` macro for code paths which " -"are never expected to be reached. This and a few other useful macros are " -"now documented in the C API manual." -msgstr "" - -#: ../build/NEWS:25202 -msgid "" -":issue:`30832`: Remove own implementation for thread-local storage. CPython " -"has provided the own implementation for thread-local storage (TLS) on Python/" -"thread.c, it's used in the case which a platform has not supplied native " -"TLS. However, currently all supported platforms (Windows and pthreads) have " -"provided native TLS and defined the Py_HAVE_NATIVE_TLS macro with " -"unconditional in any case." -msgstr "" - -#: ../build/NEWS:25209 -msgid "" -":issue:`30708`: PyUnicode_AsWideCharString() now raises a ValueError if the " -"second argument is NULL and the wchar_t\\* string contains null characters." -msgstr "" - -#: ../build/NEWS:25212 -msgid "" -":issue:`16500`: Deprecate PyOS_AfterFork() and add PyOS_BeforeFork(), " -"PyOS_AfterFork_Parent() and PyOS_AfterFork_Child()." -msgstr "" - -#: ../build/NEWS:25215 -msgid "" -":issue:`6532`: The type of results of PyThread_start_new_thread() and " -"PyThread_get_thread_ident(), and the id parameter of " -"PyThreadState_SetAsyncExc() changed from \"long\" to \"unsigned long\"." -msgstr "" - -#: ../build/NEWS:25219 -msgid "" -":issue:`27867`: Function PySlice_GetIndicesEx() is deprecated and replaced " -"with a macro if Py_LIMITED_API is not set or set to the value between " -"0x03050400 and 0x03060000 (not including) or 0x03060100 or higher. Added " -"functions PySlice_Unpack() and PySlice_AdjustIndices()." -msgstr "" - -#: ../build/NEWS:25224 ../build/NEWS:27461 ../build/NEWS:31152 -msgid "" -":issue:`29083`: Fixed the declaration of some public API functions. " -"PyArg_VaParse() and PyArg_VaParseTupleAndKeywords() were not available in " -"limited API. PyArg_ValidateKeywordArguments(), PyArg_UnpackTuple() and " -"Py_BuildValue() were not available in limited API of version < 3.3 when " -"PY_SSIZE_T_CLEAN is defined." -msgstr "" - -#: ../build/NEWS:25230 -msgid "" -":issue:`28769`: The result of PyUnicode_AsUTF8AndSize() and " -"PyUnicode_AsUTF8() is now of type ``const char *`` rather of ``char *``." -msgstr "" - -#: ../build/NEWS:25233 ../build/NEWS:27467 -msgid "" -":issue:`29058`: All stable API extensions added after Python 3.2 are now " -"available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the " -"minimum Python version supporting this API." -msgstr "" - -#: ../build/NEWS:25237 -msgid "" -":issue:`28822`: The index parameters *start* and *end* of " -"PyUnicode_FindChar() are now adjusted to behave like ``str[start:end]``." -msgstr "" - -#: ../build/NEWS:25240 ../build/NEWS:27625 ../build/NEWS:31728 -msgid "" -":issue:`28808`: PyUnicode_CompareWithASCIIString() now never raises " -"exceptions." -msgstr "" - -#: ../build/NEWS:25242 -msgid "" -":issue:`28761`: The fields name and doc of structures PyMemberDef, " -"PyGetSetDef, PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase " -"are now of type ``const char *`` rather of ``char *``." -msgstr "" - -#: ../build/NEWS:25246 -msgid "" -":issue:`28748`: Private variable _Py_PackageContext is now of type ``const " -"char *`` rather of ``char *``." -msgstr "" - -#: ../build/NEWS:25249 -msgid "" -":issue:`19569`: Compiler warnings are now emitted if use most of deprecated " -"functions." -msgstr "" - -#: ../build/NEWS:25252 ../build/NEWS:28126 -msgid "" -":issue:`28426`: Deprecated undocumented functions " -"PyUnicode_AsEncodedObject(), PyUnicode_AsDecodedObject(), " -"PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode()." -msgstr "" - -#: ../build/NEWS:25258 -msgid "Python 3.6.6 final" -msgstr "" - -#: ../build/NEWS:25262 -msgid "There were no new changes in version 3.6.6." -msgstr "" - -#: ../build/NEWS:25267 -msgid "Python 3.6.6 release candidate 1" -msgstr "" - -#: ../build/NEWS:25269 -msgid "*Release date: 2018-06-11*" -msgstr "" - -#: ../build/NEWS:25500 -msgid ":issue:`33184`: Update Windows installer to OpenSSL 1.0.2o." -msgstr "" - -#: ../build/NEWS:25505 -msgid ":issue:`33184`: Update macOS installer build to use OpenSSL 1.0.2o." -msgstr "" - -#: ../build/NEWS:25537 -msgid "" -":issue:`29706`: IDLE now colors async and await as keywords in 3.6. They " -"become full keywords in 3.7." -msgstr "" - -#: ../build/NEWS:25578 -msgid "Python 3.6.5 final" -msgstr "" - -#: ../build/NEWS:25580 -msgid "*Release date: 2018-03-28*" -msgstr "" - -#: ../build/NEWS:25594 -msgid "Python 3.6.5 release candidate 1" -msgstr "" - -#: ../build/NEWS:25596 -msgid "*Release date: 2018-03-13*" -msgstr "" - -#: ../build/NEWS:25635 -msgid "" -":issue:`32329`: ``sys.flags.hash_randomization`` is now properly set to 0 " -"when hash randomization is turned off by ``PYTHONHASHSEED=0``." -msgstr "" - -#: ../build/NEWS:25638 -msgid "" -":issue:`30416`: The optimizer is now protected from spending much time doing " -"complex calculations and consuming much memory for creating large constants " -"in constant folding." -msgstr "" - -#: ../build/NEWS:25665 -msgid "" -":issue:`30353`: Fix ctypes pass-by-value for structs on 64-bit Cygwin/MinGW." -msgstr "" - -#: ../build/NEWS:25703 -msgid "" -":issue:`32394`: socket: Remove TCP_FASTOPEN, TCP_KEEPCNT flags on older " -"version Windows during run-time." -msgstr "" - -#: ../build/NEWS:25735 -msgid "" -":issue:`32555`: On FreeBSD and Solaris, os.strerror() now always decode the " -"byte string from the current locale encoding, rather than using ASCII/" -"surrogateescape in some cases." -msgstr "" - -#: ../build/NEWS:25753 -msgid "" -":issue:`32185`: The SSL module no longer sends IP addresses in SNI TLS " -"extension on platforms with OpenSSL 1.0.2+ or inet_pton." -msgstr "" - -#: ../build/NEWS:25818 -msgid "" -":issue:`31518`: Debian Unstable has disabled TLS 1.0 and 1.1 for " -"SSLv23_METHOD(). Change TLS/SSL protocol of some tests to PROTOCOL_TLS or " -"PROTOCOL_TLSv1_2 to make them pass on Debian." -msgstr "" - -#: ../build/NEWS:25851 -msgid ":issue:`32588`: Create standalone _distutils_findvs module." -msgstr "" - -#: ../build/NEWS:25856 -msgid "" -":issue:`32726`: Provide an additional, more modern macOS installer variant " -"that supports macOS 10.9+ systems in 64-bit mode only. Upgrade the supplied " -"third-party libraries to OpenSSL 1.0.2n, XZ 5.2.3, and SQLite 3.22.0. The " -"10.9+ installer now links with and supplies its own copy of Tcl/Tk 8.6.8." -msgstr "" - -#: ../build/NEWS:25912 -msgid "Python 3.6.4 final" -msgstr "" - -#: ../build/NEWS:25914 -msgid "*Release date: 2017-12-18*" -msgstr "" - -#: ../build/NEWS:25916 -msgid "There were no new code changes in version 3.6.4 since v3.6.4rc1." -msgstr "" - -#: ../build/NEWS:25921 -msgid "Python 3.6.4 release candidate 1" -msgstr "" - -#: ../build/NEWS:25950 -msgid "" -":issue:`31852`: Fix a segmentation fault caused by a combination of the " -"async soft keyword and continuation lines." -msgstr "" - -#: ../build/NEWS:26284 -msgid "" -":issue:`13802`: Use non-Latin characters in the IDLE's Font settings sample. " -"Even if one selects a font that defines a limited subset of the unicode " -"Basic Multilingual Plane, tcl/tk will use other fonts that define a " -"character. The expanded example give users of non-Latin characters a better " -"idea of what they might see in IDLE's shell and editors. To make room for " -"the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs " -"help explains a bit about the additions." -msgstr "" - -#: ../build/NEWS:26340 -msgid "Python 3.6.3 final" -msgstr "" - -#: ../build/NEWS:26342 -msgid "*Release date: 2017-10-03*" -msgstr "" - -#: ../build/NEWS:26347 -msgid "" -":issue:`31641`: Re-allow arbitrary iterables in `concurrent.futures." -"as_completed()`. Fixes regression in 3.6.3rc1." -msgstr "" - -#: ../build/NEWS:26353 -msgid "" -":issue:`31662`: Fix typos in Windows ``uploadrelease.bat`` script. Fix " -"Windows Doc build issues in ``Doc/make.bat``." -msgstr "" - -#: ../build/NEWS:26356 -msgid "" -":issue:`31423`: Fix building the PDF documentation with newer versions of " -"Sphinx." -msgstr "" - -#: ../build/NEWS:26361 -msgid "Python 3.6.3 release candidate 1" -msgstr "" - -#: ../build/NEWS:26363 -msgid "*Release date: 2017-09-18*" -msgstr "" - -#: ../build/NEWS:26815 -msgid "Python 3.6.2 final" -msgstr "" - -#: ../build/NEWS:26817 -msgid "*Release date: 2017-07-17*" -msgstr "" - -#: ../build/NEWS:26819 ../build/NEWS:27543 -msgid "No changes since release candidate 2" -msgstr "" - -#: ../build/NEWS:26824 -msgid "Python 3.6.2 release candidate 2" -msgstr "" - -#: ../build/NEWS:26826 -msgid "*Release date: 2017-07-07*" -msgstr "" - -#: ../build/NEWS:26851 -msgid "Python 3.6.2 release candidate 1" -msgstr "" - -#: ../build/NEWS:26853 -msgid "*Release date: 2017-06-17*" -msgstr "" - -#: ../build/NEWS:26868 -msgid "" -":issue:`30604`: Move co_extra_freefuncs to not be per-thread to avoid crashes" -msgstr "" - -#: ../build/NEWS:26898 ../build/NEWS:30804 -msgid ":issue:`29600`: Fix wrapping coroutine return values in StopIteration." -msgstr "" - -#: ../build/NEWS:26927 ../build/NEWS:30870 -msgid "" -":issue:`30645`: Fix path calculation in imp.load_package(), fixing it for " -"cases when a package is only shipped with bytecodes. Patch by Alexandru " -"Ardelean." -msgstr "" - -#: ../build/NEWS:26937 -msgid ":issue:`24484`: Avoid race condition in multiprocessing cleanup (#2159)" -msgstr "" - -#: ../build/NEWS:27011 ../build/NEWS:30938 -msgid "" -":issue:`26293`: Change resulted because of zipfile breakage. (See also: :" -"issue:`29094`)" -msgstr "" - -#: ../build/NEWS:27085 ../build/NEWS:31005 -msgid "" -":issue:`28298`: Fix a bug that prevented array 'Q', 'L' and 'I' from " -"accepting big intables (objects that have __int__) as elements. Patch by " -"Oren Milman." -msgstr "" - -#: ../build/NEWS:27128 -msgid "" -":issue:`27867`: Function PySlice_GetIndicesEx() no longer replaced with a " -"macro if Py_LIMITED_API is not set." -msgstr "" - -#: ../build/NEWS:27200 -msgid "Python 3.6.1 final" -msgstr "" - -#: ../build/NEWS:27202 -msgid "*Release date: 2017-03-21*" -msgstr "" - -#: ../build/NEWS:27218 -msgid ":issue:`27593`: fix format of git information used in sys.version" -msgstr "" - -#: ../build/NEWS:27220 -msgid "Fix incompatible comment in python.h" -msgstr "" - -#: ../build/NEWS:27224 -msgid "Python 3.6.1 release candidate 1" -msgstr "" - -#: ../build/NEWS:27226 -msgid "*Release date: 2017-03-04*" -msgstr "" - -#: ../build/NEWS:27337 ../build/NEWS:31037 -msgid "" -":issue:`29519`: Fix weakref spewing exceptions during interpreter shutdown " -"when used with a rare combination of multiprocessing and custom codecs." -msgstr "" - -#: ../build/NEWS:27353 -msgid "" -":issue:`29316`: Restore the provisional status of typing module, add " -"corresponding note to documentation. Patch by Ivan L." -msgstr "" - -#: ../build/NEWS:27359 ../build/NEWS:31053 -msgid "" -":issue:`29011`: Fix an important omission by adding Deque to the typing " -"module." -msgstr "" - -#: ../build/NEWS:27373 -msgid "" -":issue:`29203`: functools.lru_cache() now respects :pep:`468` and preserves " -"the order of keyword arguments. f(a=1, b=2) is now cached separately from " -"f(b=2, a=1) since both calls could potentially give different results." -msgstr "" - -#: ../build/NEWS:27380 ../build/NEWS:31319 -msgid "" -":issue:`29094`: Offsets in a ZIP file created with extern file object and " -"modes \"w\" and \"x\" now are relative to the start of the file." -msgstr "" - -#: ../build/NEWS:27383 -msgid "" -":issue:`29085`: Allow random.Random.seed() to use high quality OS randomness " -"rather than the pid and time." -msgstr "" - -#: ../build/NEWS:27386 -msgid "" -":issue:`29061`: Fixed bug in secrets.randbelow() which would hang when given " -"a negative input. Patch by Brendan Donegan." -msgstr "" - -#: ../build/NEWS:27394 ../build/NEWS:31325 -msgid "" -":issue:`29119`: Fix weakrefs in the pure python version of collections." -"OrderedDict move_to_end() method. Contributed by Andra Bogildea." -msgstr "" - -#: ../build/NEWS:27406 -msgid "" -":issue:`29055`: Neaten-up empty population error on random.choice() by " -"suppressing the upstream exception." -msgstr "" - -#: ../build/NEWS:27421 ../build/NEWS:31349 -msgid "" -":issue:`28847`: dbm.dumb now supports reading read-only files and no longer " -"writes the index file when it is not changed." -msgstr "" - -#: ../build/NEWS:27439 -msgid ":issue:`29579`: Removes readme.txt from the installer" -msgstr "" - -#: ../build/NEWS:27441 -msgid "" -":issue:`29326`: Ignores blank lines in ._pth files (Patch by Alexey Izbyshev)" -msgstr "" - -#: ../build/NEWS:27443 -msgid "" -":issue:`28164`: Correctly handle special console filenames (patch by Eryk " -"Sun)" -msgstr "" - -#: ../build/NEWS:27445 -msgid ":issue:`29409`: Implement :pep:`529` for io.FileIO (Patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:27447 ../build/NEWS:31142 -msgid "" -":issue:`29392`: Prevent crash when passing invalid arguments into msvcrt " -"module." -msgstr "" - -#: ../build/NEWS:27452 -msgid "" -":issue:`28896`: Deprecate WindowsRegistryFinder and disable it by default." -msgstr "" - -#: ../build/NEWS:27457 -msgid "" -":issue:`27867`: Function PySlice_GetIndicesEx() is replaced with a macro if " -"Py_LIMITED_API is not set or set to the value between 0x03050400 and " -"0x03060000 (not including) or 0x03060100 or higher." -msgstr "" - -#: ../build/NEWS:27487 ../build/NEWS:31107 -msgid "" -":issue:`28087`: Skip test_asyncore and test_eintr poll failures on macOS. " -"Skip some tests of select.poll when running on macOS due to unresolved " -"issues with the underlying system poll function on some macOS versions." -msgstr "" - -#: ../build/NEWS:27491 ../build/NEWS:31117 -msgid "" -":issue:`29571`: to match the behaviour of the ``re.LOCALE`` flag, test_re." -"test_locale_flag now uses ``locale.getpreferredencoding(False)`` to " -"determine the candidate encoding for the test regex (allowing it to " -"correctly skip the test when the default locale encoding is a multi-byte " -"encoding)" -msgstr "" - -#: ../build/NEWS:27539 -msgid "Python 3.6.0 final" -msgstr "" - -#: ../build/NEWS:27541 -msgid "*Release date: 2016-12-23*" -msgstr "" - -#: ../build/NEWS:27548 -msgid "Python 3.6.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:27550 -msgid "*Release date: 2016-12-16*" -msgstr "" - -#: ../build/NEWS:27558 -msgid "" -":issue:`28990`: Fix asyncio SSL hanging if connection is closed before " -"handshake is completed. (Patch by HoHo-Ho)" -msgstr "" - -#: ../build/NEWS:27564 -msgid ":issue:`28770`: Fix python-gdb.py for fastcalls." -msgstr "" - -#: ../build/NEWS:27569 -msgid ":issue:`28896`: Deprecate WindowsRegistryFinder." -msgstr "" - -#: ../build/NEWS:27574 -msgid "" -":issue:`28898`: Prevent gdb build errors due to HAVE_LONG_LONG redefinition." -msgstr "" - -#: ../build/NEWS:27578 -msgid "Python 3.6.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:27580 -msgid "*Release date: 2016-12-06*" -msgstr "" - -#: ../build/NEWS:27602 -msgid "" -":issue:`27030`: Unknown escapes in re.sub() replacement template are allowed " -"again. But they still are deprecated and will be disabled in 3.7." -msgstr "" - -#: ../build/NEWS:27620 -msgid ":issue:`28843`: Fix asyncio C Task to handle exceptions __traceback__." -msgstr "" - -#: ../build/NEWS:27630 -msgid "" -":issue:`23722`: The data model reference and the porting section in the " -"What's New guide now cover the additional ``__classcell__`` handling needed " -"for custom metaclasses to fully support :pep:`487` and zero-argument " -"``super()``." -msgstr "" - -#: ../build/NEWS:27642 -msgid "Python 3.6.0 beta 4" -msgstr "" - -#: ../build/NEWS:27644 -msgid "*Release date: 2016-11-21*" -msgstr "" - -#: ../build/NEWS:27672 -msgid "" -":issue:`27243`: Change PendingDeprecationWarning -> DeprecationWarning. As " -"it was agreed in the issue, __aiter__ returning an awaitable should result " -"in PendingDeprecationWarning in 3.5 and in DeprecationWarning in 3.6." -msgstr "" - -#: ../build/NEWS:27691 -msgid "" -":issue:`20572`: The subprocess.Popen.wait method's undocumented endtime " -"parameter now raises a DeprecationWarning." -msgstr "" - -#: ../build/NEWS:27708 -msgid ":issue:`28600`: Optimize loop.call_soon." -msgstr "" - -#: ../build/NEWS:27710 ../build/NEWS:31679 -msgid "" -":issue:`28613`: Fix get_event_loop() return the current loop if called from " -"coroutines/callbacks." -msgstr "" - -#: ../build/NEWS:27713 -msgid ":issue:`28634`: Fix asyncio.isfuture() to support unittest.Mock." -msgstr "" - -#: ../build/NEWS:27715 -msgid ":issue:`26081`: Fix refleak in _asyncio.Future.__iter__().throw." -msgstr "" - -#: ../build/NEWS:27717 ../build/NEWS:31682 -msgid "" -":issue:`28639`: Fix inspect.isawaitable to always return bool Patch by " -"Justin Mayfield." -msgstr "" - -#: ../build/NEWS:27720 ../build/NEWS:31685 -msgid "" -":issue:`28652`: Make loop methods reject socket kinds they do not support." -msgstr "" - -#: ../build/NEWS:27722 ../build/NEWS:31687 -msgid ":issue:`28653`: Fix a refleak in functools.lru_cache." -msgstr "" - -#: ../build/NEWS:27724 ../build/NEWS:31689 -msgid ":issue:`28703`: Fix asyncio.iscoroutinefunction to handle Mock objects." -msgstr "" - -#: ../build/NEWS:27726 -msgid "" -":issue:`28704`: Fix create_unix_server to support Path-like objects (PEP " -"519)." -msgstr "" - -#: ../build/NEWS:27728 -msgid ":issue:`28720`: Add collections.abc.AsyncGenerator." -msgstr "" - -#: ../build/NEWS:27756 -msgid "Python 3.6.0 beta 3" -msgstr "" - -#: ../build/NEWS:27758 -msgid "*Release date: 2016-10-31*" -msgstr "" - -#: ../build/NEWS:27781 -msgid "" -":issue:`28471`: Fix \"Python memory allocator called without holding the " -"GIL\" crash in socket.setblocking." -msgstr "" - -#: ../build/NEWS:27803 -msgid "" -":issue:`18844`: The various ways of specifying weights for random.choices() " -"now produce the same result sequences." -msgstr "" - -#: ../build/NEWS:27806 ../build/NEWS:31381 -msgid "" -":issue:`28255`: calendar.TextCalendar().prmonth() no longer prints a space " -"at the start of new line after printing a month's calendar. Patch by Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:27839 ../build/NEWS:31395 -msgid ":issue:`24452`: Make webbrowser support Chrome on Mac OS X." -msgstr "" - -#: ../build/NEWS:27844 -msgid "" -":issue:`28492`: Fix how StopIteration exception is raised in _asyncio.Future." -msgstr "" - -#: ../build/NEWS:27846 -msgid "" -":issue:`28500`: Fix asyncio to handle async gens GC from another thread." -msgstr "" - -#: ../build/NEWS:27848 ../build/NEWS:31671 -msgid "" -":issue:`26923`: Fix asyncio.Gather to refuse being cancelled once all " -"children are done. Patch by Johannes Ebke." -msgstr "" - -#: ../build/NEWS:27851 ../build/NEWS:31674 -msgid "" -":issue:`26796`: Don't configure the number of workers for default threadpool " -"executor. Initial patch by Hans Lawrenz." -msgstr "" - -#: ../build/NEWS:27854 -msgid ":issue:`28544`: Implement asyncio.Task in C." -msgstr "" - -#: ../build/NEWS:27880 -msgid "Python 3.6.0 beta 2" -msgstr "" - -#: ../build/NEWS:27882 -msgid "*Release date: 2016-10-10*" -msgstr "" - -#: ../build/NEWS:27898 -msgid "" -":issue:`28376`: Creating instances of range_iterator by calling " -"range_iterator type now is deprecated. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:27901 ../build/NEWS:31222 -msgid "" -":issue:`28376`: The constructor of range_iterator now checks that step is " -"not 0. Patch by Oren Milman." -msgstr "" - -#: ../build/NEWS:27962 ../build/NEWS:31400 -msgid "" -":issue:`26293`: Fixed writing ZIP files that starts not from the start of " -"the file. Offsets in ZIP file now are relative to the start of the archive " -"in conforming to the specification." -msgstr "" - -#: ../build/NEWS:27969 -msgid ":issue:`27181`: remove statistics.geometric_mean and defer until 3.7." -msgstr "" - -#: ../build/NEWS:28148 -msgid "Python 3.6.0 beta 1" -msgstr "" - -#: ../build/NEWS:28150 -msgid "*Release date: 2016-09-12*" -msgstr "" - -#: ../build/NEWS:28155 -msgid "" -":issue:`23722`: The __class__ cell used by zero-argument super() is now " -"initialized from type.__new__ rather than __build_class__, so class methods " -"relying on that will now work correctly when called from metaclass methods " -"during class creation. Patch by Martin Teichmann." -msgstr "" - -#: ../build/NEWS:28160 ../build/NEWS:31253 -msgid "" -":issue:`25221`: Fix corrupted result from PyLong_FromLong(0) when Python is " -"compiled with NSMALLPOSINTS = 0." -msgstr "" - -#: ../build/NEWS:28163 -msgid "" -":issue:`27080`: Implement formatting support for :pep:`515`. Initial patch " -"by Chris Angelico." -msgstr "" - -#: ../build/NEWS:28166 -msgid "" -":issue:`27199`: In tarfile, expose copyfileobj bufsize to improve " -"throughput. Patch by Jason Fried." -msgstr "" - -#: ../build/NEWS:28169 -msgid "" -":issue:`27948`: In f-strings, only allow backslashes inside the braces " -"(where the expressions are). This is a breaking change from the 3.6 alpha " -"releases, where backslashes are allowed anywhere in an f-string. Also, " -"require that expressions inside f-strings be enclosed within literal braces, " -"and not escapes like ``f'\\x7b\"hi\"\\x7d'``." -msgstr "" - -#: ../build/NEWS:28175 -msgid ":issue:`28046`: Remove platform-specific directories from sys.path." -msgstr "" - -#: ../build/NEWS:28177 -msgid ":issue:`28071`: Add early-out for differencing from an empty set." -msgstr "" - -#: ../build/NEWS:28179 ../build/NEWS:31256 -msgid "" -":issue:`25758`: Prevents zipimport from unnecessarily encoding a filename " -"(patch by Eryk Sun)" -msgstr "" - -#: ../build/NEWS:28182 -msgid "" -":issue:`25856`: The __module__ attribute of extension classes and functions " -"now is interned. This leads to more compact pickle data with protocol 4." -msgstr "" - -#: ../build/NEWS:28185 -msgid "" -":issue:`27213`: Rework CALL_FUNCTION* opcodes to produce shorter and more " -"efficient bytecode. Patch by Demur Rumed, design by Serhiy Storchaka, " -"reviewed by Serhiy Storchaka and Victor Stinner." -msgstr "" - -#: ../build/NEWS:28189 -msgid "" -":issue:`26331`: Implement tokenizing support for :pep:`515`. Patch by Georg " -"Brandl." -msgstr "" - -#: ../build/NEWS:28192 -msgid "" -":issue:`27999`: Make \"global after use\" a SyntaxError, and ditto for " -"nonlocal. Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:28195 -msgid ":issue:`28003`: Implement :pep:`525` -- Asynchronous Generators." -msgstr "" - -#: ../build/NEWS:28197 -msgid "" -":issue:`27985`: Implement :pep:`526` -- Syntax for Variable Annotations. " -"Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:28200 -msgid "" -":issue:`26058`: Add a new private version to the builtin dict type, " -"incremented at each dictionary creation and at each dictionary change. " -"Implementation of the PEP 509." -msgstr "" - -#: ../build/NEWS:28204 -msgid "" -":issue:`27364`: A backslash-character pair that is not a valid escape " -"sequence now generates a DeprecationWarning. Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:28207 -msgid "" -":issue:`27350`: `dict` implementation is changed like PyPy. It is more " -"compact and preserves insertion order. (Concept developed by Raymond " -"Hettinger and patch by Inada Naoki.)" -msgstr "" - -#: ../build/NEWS:28211 -msgid "" -":issue:`27911`: Remove unnecessary error checks in " -"``exec_builtin_or_dynamic()``." -msgstr "" - -#: ../build/NEWS:28214 -msgid "" -":issue:`27078`: Added BUILD_STRING opcode. Optimized f-strings evaluation." -msgstr "" - -#: ../build/NEWS:28216 -msgid "" -":issue:`17884`: Python now requires systems with inttypes.h and stdint.h" -msgstr "" - -#: ../build/NEWS:28218 -msgid "" -":issue:`27961`: Require platforms to support ``long long``. Python hasn't " -"compiled without ``long long`` for years, so this is basically a formality." -msgstr "" - -#: ../build/NEWS:28222 -msgid "" -":issue:`27355`: Removed support for Windows CE. It was never finished, and " -"Windows CE is no longer a relevant platform for Python." -msgstr "" - -#: ../build/NEWS:28225 -msgid "Implement :pep:`523`." -msgstr "" - -#: ../build/NEWS:28227 -msgid "" -":issue:`27870`: A left shift of zero by a large integer no longer attempts " -"to allocate large amounts of memory." -msgstr "" - -#: ../build/NEWS:28230 -msgid "" -":issue:`25402`: In int-to-decimal-string conversion, improve the estimate of " -"the intermediate memory required, and remove an unnecessarily strict " -"overflow check. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:28234 -msgid "" -":issue:`27214`: In long_invert, be more careful about modifying object " -"returned by long_add, and remove an unnecessary check for small longs. " -"Thanks Oren Milman for analysis and patch." -msgstr "" - -#: ../build/NEWS:28238 -msgid "" -":issue:`27506`: Support passing the bytes/bytearray.translate() \"delete\" " -"argument by keyword." -msgstr "" - -#: ../build/NEWS:28241 ../build/NEWS:31262 -msgid "" -":issue:`27812`: Properly clear out a generator's frame's backreference to " -"the generator to prevent crashes in frame.clear()." -msgstr "" - -#: ../build/NEWS:28244 ../build/NEWS:31265 -msgid "" -":issue:`27811`: Fix a crash when a coroutine that has not been awaited is " -"finalized with warnings-as-errors enabled." -msgstr "" - -#: ../build/NEWS:28247 ../build/NEWS:31268 -msgid "" -":issue:`27587`: Fix another issue found by PVS-Studio: Null pointer check " -"after use of 'def' in _PyState_AddModule(). Initial patch by Christian " -"Heimes." -msgstr "" - -#: ../build/NEWS:28250 -msgid "" -":issue:`27792`: The modulo operation applied to ``bool`` and other ``int`` " -"subclasses now always returns an ``int``. Previously the return type " -"depended on the input values. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28254 -msgid ":issue:`26984`: int() now always returns an instance of exact int." -msgstr "" - -#: ../build/NEWS:28256 -msgid "" -":issue:`25604`: Fix a minor bug in integer true division; this bug could " -"potentially have caused off-by-one-ulp results on platforms with unreliable " -"ldexp implementations." -msgstr "" - -#: ../build/NEWS:28260 -msgid ":issue:`24254`: Make class definition namespace ordered by default." -msgstr "" - -#: ../build/NEWS:28262 -msgid "" -":issue:`27662`: Fix an overflow check in ``List_New``: the original code was " -"checking against ``Py_SIZE_MAX`` instead of the correct upper bound of " -"``Py_SSIZE_T_MAX``. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28266 ../build/NEWS:31274 -msgid "" -":issue:`27782`: Multi-phase extension module import now correctly allows the " -"``m_methods`` field to be used to add module level functions to instances of " -"non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28270 ../build/NEWS:31278 -msgid "" -":issue:`27936`: The round() function accepted a second None argument for " -"some types but not for others. Fixed the inconsistency by accepting None " -"for all numeric types." -msgstr "" - -#: ../build/NEWS:28274 ../build/NEWS:31282 -msgid "" -":issue:`27487`: Warn if a submodule argument to \"python -m\" or runpy." -"run_module() is found in sys.modules after parent packages are imported, but " -"before the submodule is executed." -msgstr "" - -#: ../build/NEWS:28278 -msgid "" -":issue:`27157`: Make only type() itself accept the one-argument form. Patch " -"by Eryk Sun and Emanuel Barry." -msgstr "" - -#: ../build/NEWS:28281 ../build/NEWS:31286 -msgid "" -":issue:`27558`: Fix a SystemError in the implementation of \"raise\" " -"statement. In a brand new thread, raise a RuntimeError since there is no " -"active exception to reraise. Patch written by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28285 -msgid ":issue:`28008`: Implement :pep:`530` -- asynchronous comprehensions." -msgstr "" - -#: ../build/NEWS:28287 ../build/NEWS:31311 -msgid ":issue:`27942`: Fix memory leak in codeobject.c" -msgstr "" - -#: ../build/NEWS:28292 ../build/NEWS:31355 -msgid ":issue:`28732`: Fix crash in os.spawnv() with no elements in args" -msgstr "" - -#: ../build/NEWS:28294 ../build/NEWS:31357 -msgid "" -":issue:`28485`: Always raise ValueError for negative compileall." -"compile_dir(workers=...) parameter, even when multithreading is unavailable." -msgstr "" - -#: ../build/NEWS:28298 -msgid "" -":issue:`28037`: Use sqlite3_get_autocommit() instead of setting Connection-" -">inTransaction manually." -msgstr "" - -#: ../build/NEWS:28301 -msgid "" -":issue:`25283`: Attributes tm_gmtoff and tm_zone are now available on all " -"platforms in the return values of time.localtime() and time.gmtime()." -msgstr "" - -#: ../build/NEWS:28304 -msgid "" -":issue:`24454`: Regular expression match object groups are now accessible " -"using __getitem__. \"mo[x]\" is equivalent to \"mo.group(x)\"." -msgstr "" - -#: ../build/NEWS:28307 -msgid "" -":issue:`10740`: sqlite3 no longer implicitly commit an open transaction " -"before DDL statements." -msgstr "" - -#: ../build/NEWS:28310 -msgid ":issue:`17941`: Add a *module* parameter to collections.namedtuple()." -msgstr "" - -#: ../build/NEWS:28312 -msgid "" -":issue:`22493`: Inline flags now should be used only at the start of the " -"regular expression. Deprecation warning is emitted if uses them in the " -"middle of the regular expression." -msgstr "" - -#: ../build/NEWS:28316 -msgid "" -":issue:`26885`: xmlrpc now supports unmarshalling additional data types used " -"by Apache XML-RPC implementation for numerics and None." -msgstr "" - -#: ../build/NEWS:28319 -msgid "" -":issue:`28070`: Fixed parsing inline verbose flag in regular expressions." -msgstr "" - -#: ../build/NEWS:28321 -msgid "" -":issue:`19500`: Add client-side SSL session resumption to the ssl module." -msgstr "" - -#: ../build/NEWS:28323 -msgid "" -":issue:`28022`: Deprecate ssl-related arguments in favor of SSLContext. The " -"deprecation include manual creation of SSLSocket and certfile/keyfile (or " -"similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib." -msgstr "" - -#: ../build/NEWS:28327 -msgid "" -":issue:`28043`: SSLContext has improved default settings: OP_NO_SSLv2, " -"OP_NO_SSLv3, OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, " -"OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE and HIGH ciphers without MD5." -msgstr "" - -#: ../build/NEWS:28331 -msgid "" -":issue:`24693`: Changed some RuntimeError's in the zipfile module to more " -"appropriate types. Improved some error messages and debugging output." -msgstr "" - -#: ../build/NEWS:28334 -msgid "" -":issue:`17909`: ``json.load`` and ``json.loads`` now support binary input " -"encoded as UTF-8, UTF-16 or UTF-32. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:28337 -msgid "" -":issue:`27137`: the pure Python fallback implementation of ``functools." -"partial`` now matches the behaviour of its accelerated C counterpart for " -"subclassing, pickling and text representation purposes. Patch by Emanuel " -"Barry and Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:28342 ../build/NEWS:31410 -msgid "" -"Fix possible integer overflows and crashes in the mmap module with unusual " -"usage patterns." -msgstr "" - -#: ../build/NEWS:28345 ../build/NEWS:31413 -msgid "" -":issue:`1703178`: Fix the ability to pass the --link-objects option to the " -"distutils build_ext command." -msgstr "" - -#: ../build/NEWS:28348 ../build/NEWS:31460 -msgid "" -":issue:`28019`: itertools.count() no longer rounds non-integer step in range " -"between 1.0 and 2.0 to 1." -msgstr "" - -#: ../build/NEWS:28351 -msgid "" -":issue:`18401`: Pdb now supports the 'readrc' keyword argument to control " -"whether .pdbrc files should be read. Patch by Martin Matusiak and Sam " -"Kimbrel." -msgstr "" - -#: ../build/NEWS:28355 ../build/NEWS:31463 -msgid "" -":issue:`25969`: Update the lib2to3 grammar to handle the unpacking " -"generalizations added in 3.5." -msgstr "" - -#: ../build/NEWS:28358 ../build/NEWS:31466 -msgid "" -":issue:`14977`: mailcap now respects the order of the lines in the mailcap " -"files (\"first match\"), as required by RFC 1542. Patch by Michael Lazar." -msgstr "" - -#: ../build/NEWS:28361 -msgid ":issue:`28082`: Convert re flag constants to IntFlag." -msgstr "" - -#: ../build/NEWS:28363 -msgid "" -":issue:`28025`: Convert all ssl module constants to IntEnum and IntFlags. " -"SSLContext properties now return flags and enums." -msgstr "" - -#: ../build/NEWS:28366 -msgid ":issue:`23591`: Add Flag, IntFlag, and auto() to enum module." -msgstr "" - -#: ../build/NEWS:28368 -msgid "" -":issue:`433028`: Added support of modifier spans in regular expressions." -msgstr "" - -#: ../build/NEWS:28370 ../build/NEWS:31469 -msgid ":issue:`24594`: Validates persist parameter when opening MSI database" -msgstr "" - -#: ../build/NEWS:28372 ../build/NEWS:31471 -msgid "" -":issue:`17582`: xml.etree.ElementTree nows preserves whitespaces in " -"attributes (Patch by Duane Griffin. Reviewed and approved by Stefan Behnel.)" -msgstr "" - -#: ../build/NEWS:28375 ../build/NEWS:31474 -msgid "" -":issue:`28047`: Fixed calculation of line length used for the base64 CTE in " -"the new email policies." -msgstr "" - -#: ../build/NEWS:28378 -msgid ":issue:`27576`: Fix call order in OrderedDict.__init__()." -msgstr "" - -#: ../build/NEWS:28380 -msgid "email.generator.DecodedGenerator now supports the policy keyword." -msgstr "" - -#: ../build/NEWS:28382 -msgid "" -":issue:`28027`: Remove undocumented modules from ``Lib/plat-*``: IN, CDROM, " -"DLFCN, TYPES, CDIO, and STROPTS." -msgstr "" - -#: ../build/NEWS:28385 ../build/NEWS:31477 -msgid "" -":issue:`27445`: Don't pass str(_charset) to MIMEText.set_payload(). Patch by " -"Claude Paroz." -msgstr "" - -#: ../build/NEWS:28388 -msgid "" -":issue:`24277`: The new email API is no longer provisional, and the docs " -"have been reorganized and rewritten to emphasize the new API." -msgstr "" - -#: ../build/NEWS:28391 ../build/NEWS:31480 -msgid "" -":issue:`22450`: urllib now includes an ``Accept: */*`` header among the " -"default headers. This makes the results of REST API requests more consistent " -"and predictable especially when proxy servers are involved." -msgstr "" - -#: ../build/NEWS:28395 ../build/NEWS:31484 -msgid "" -"lib2to3.pgen3.driver.load_grammar() now creates a stable cache file between " -"runs given the same Grammar.txt input regardless of the hash randomization " -"setting." -msgstr "" - -#: ../build/NEWS:28399 -msgid "" -":issue:`28005`: Allow ImportErrors in encoding implementation to propagate." -msgstr "" - -#: ../build/NEWS:28401 -msgid ":issue:`26667`: Support path-like objects in importlib.util." -msgstr "" - -#: ../build/NEWS:28403 ../build/NEWS:31488 -msgid "" -":issue:`27570`: Avoid zero-length memcpy() etc calls with null source " -"pointers in the \"ctypes\" and \"array\" modules." -msgstr "" - -#: ../build/NEWS:28406 ../build/NEWS:31491 -msgid "" -":issue:`22233`: Break email header lines *only* on the RFC specified CR and " -"LF characters, not on arbitrary unicode line breaks. This also fixes a bug " -"in HTTP header parsing." -msgstr "" - -#: ../build/NEWS:28410 -msgid "" -":issue:`27331`: The email.mime classes now all accept an optional policy " -"keyword." -msgstr "" - -#: ../build/NEWS:28413 ../build/NEWS:31495 -msgid "" -":issue:`27988`: Fix email iter_attachments incorrect mutation of payload " -"list." -msgstr "" - -#: ../build/NEWS:28415 -msgid ":issue:`16113`: Add SHA-3 and SHAKE support to hashlib module." -msgstr "" - -#: ../build/NEWS:28417 -msgid "Eliminate a tautological-pointer-compare warning in _scproxy.c." -msgstr "" - -#: ../build/NEWS:28419 -msgid "" -":issue:`27776`: The :func:`os.urandom` function does now block on Linux 3.17 " -"and newer until the system urandom entropy pool is initialized to increase " -"the security. This change is part of the :pep:`524`." -msgstr "" - -#: ../build/NEWS:28423 -msgid "" -":issue:`27778`: Expose the Linux ``getrandom()`` syscall as a new :func:`os." -"getrandom` function. This change is part of the :pep:`524`." -msgstr "" - -#: ../build/NEWS:28426 ../build/NEWS:31497 -msgid "" -":issue:`27691`: Fix ssl module's parsing of GEN_RID subject alternative name " -"fields in X.509 certs." -msgstr "" - -#: ../build/NEWS:28429 -msgid ":issue:`18844`: Add random.choices()." -msgstr "" - -#: ../build/NEWS:28431 -msgid "" -":issue:`25761`: Improved error reporting about truncated pickle data in C " -"implementation of unpickler. UnpicklingError is now raised instead of " -"AttributeError and ValueError in some cases." -msgstr "" - -#: ../build/NEWS:28435 -msgid ":issue:`26798`: Add BLAKE2 (blake2b and blake2s) to hashlib." -msgstr "" - -#: ../build/NEWS:28437 -msgid "" -":issue:`26032`: Optimized globbing in pathlib by using os.scandir(); it is " -"now about 1.5--4 times faster." -msgstr "" - -#: ../build/NEWS:28440 -msgid "" -":issue:`25596`: Optimized glob() and iglob() functions in the glob module; " -"they are now about 3--6 times faster." -msgstr "" - -#: ../build/NEWS:28443 -msgid "" -":issue:`27928`: Add scrypt (password-based key derivation function) to " -"hashlib module (requires OpenSSL 1.1.0)." -msgstr "" - -#: ../build/NEWS:28446 ../build/NEWS:31500 -msgid "" -":issue:`27850`: Remove 3DES from ssl module's default cipher list to counter " -"measure sweet32 attack (CVE-2016-2183)." -msgstr "" - -#: ../build/NEWS:28449 ../build/NEWS:31503 -msgid "" -":issue:`27766`: Add ChaCha20 Poly1305 to ssl module's default cipher list. " -"(Required OpenSSL 1.1.0 or LibreSSL)." -msgstr "" - -#: ../build/NEWS:28452 -msgid ":issue:`25387`: Check return value of winsound.MessageBeep." -msgstr "" - -#: ../build/NEWS:28454 -msgid "" -":issue:`27866`: Add SSLContext.get_ciphers() method to get a list of all " -"enabled ciphers." -msgstr "" - -#: ../build/NEWS:28457 -msgid ":issue:`27744`: Add AF_ALG (Linux Kernel crypto) to socket module." -msgstr "" - -#: ../build/NEWS:28459 ../build/NEWS:31506 -msgid ":issue:`26470`: Port ssl and hashlib module to OpenSSL 1.1.0." -msgstr "" - -#: ../build/NEWS:28461 -msgid "" -":issue:`11620`: Fix support for SND_MEMORY in winsound.PlaySound. Based on " -"a patch by Tim Lesher." -msgstr "" - -#: ../build/NEWS:28464 -msgid "" -":issue:`11734`: Add support for IEEE 754 half-precision floats to the struct " -"module. Based on a patch by Eli Stevens." -msgstr "" - -#: ../build/NEWS:28467 -msgid "" -":issue:`27919`: Deprecated ``extra_path`` distribution option in distutils " -"packaging." -msgstr "" - -#: ../build/NEWS:28470 -msgid "" -":issue:`23229`: Add new ``cmath`` constants: ``cmath.inf`` and ``cmath.nan`` " -"to match ``math.inf`` and ``math.nan``, and also ``cmath.infj`` and ``cmath." -"nanj`` to match the format used by complex repr." -msgstr "" - -#: ../build/NEWS:28474 -msgid "" -":issue:`27842`: The csv.DictReader now returns rows of type OrderedDict. " -"(Contributed by Steve Holden.)" -msgstr "" - -#: ../build/NEWS:28477 ../build/NEWS:31508 -msgid "" -"Remove support for passing a file descriptor to os.access. It never worked " -"but previously didn't raise." -msgstr "" - -#: ../build/NEWS:28480 ../build/NEWS:31511 -msgid ":issue:`12885`: Fix error when distutils encounters symlink." -msgstr "" - -#: ../build/NEWS:28482 ../build/NEWS:31513 -msgid "" -":issue:`27881`: Fixed possible bugs when setting sqlite3.Connection." -"isolation_level. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28485 ../build/NEWS:31516 -msgid "" -":issue:`27861`: Fixed a crash in sqlite3.Connection.cursor() when a factory " -"creates not a cursor. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28488 ../build/NEWS:31519 -msgid ":issue:`19884`: Avoid spurious output on OS X with Gnu Readline." -msgstr "" - -#: ../build/NEWS:28490 ../build/NEWS:31521 -msgid "" -":issue:`27706`: Restore deterministic behavior of random.Random().seed() for " -"string seeds using seeding version 1. Allows sequences of calls to random() " -"to exactly match those obtained in Python 2. Patch by Nofar Schnider." -msgstr "" - -#: ../build/NEWS:28495 ../build/NEWS:31526 -msgid "" -":issue:`10513`: Fix a regression in Connection.commit(). Statements should " -"not be reset after a commit." -msgstr "" - -#: ../build/NEWS:28498 -msgid "" -":issue:`12319`: Chunked transfer encoding support added to http.client." -"HTTPConnection requests. The urllib.request.AbstractHTTPHandler class does " -"not enforce a Content-Length header any more. If a HTTP request has a file " -"or iterable body, but no Content-Length header, the library now falls back " -"to use chunked transfer-encoding." -msgstr "" - -#: ../build/NEWS:28505 -msgid "" -"A new version of typing.py from https://github.com/python/typing: - " -"Collection (only for 3.6) (:issue:`27598`) - Add FrozenSet to __all__ " -"(upstream #261) - fix crash in _get_type_vars() (upstream #259) - Remove the " -"dict constraint in ForwardRef._eval_type (upstream #252)" -msgstr "" - -#: ../build/NEWS:28510 -msgid "" -":issue:`27832`: Make ``_normalize`` parameter to ``Fraction`` constructor " -"keyword-only, so that ``Fraction(2, 3, 4)`` now raises ``TypeError``." -msgstr "" - -#: ../build/NEWS:28513 ../build/NEWS:31534 -msgid "" -":issue:`27539`: Fix unnormalised ``Fraction.__pow__`` result in the case of " -"negative exponent and negative base." -msgstr "" - -#: ../build/NEWS:28516 ../build/NEWS:31537 -msgid "" -":issue:`21718`: cursor.description is now available for queries using CTEs." -msgstr "" - -#: ../build/NEWS:28518 -msgid "" -":issue:`27819`: In distutils sdists, simply produce the \"gztar\" (gzipped " -"tar format) distributions on all platforms unless \"formats\" is supplied." -msgstr "" - -#: ../build/NEWS:28521 ../build/NEWS:31539 -msgid "" -":issue:`2466`: posixpath.ismount now correctly recognizes mount points which " -"the user does not have permission to access." -msgstr "" - -#: ../build/NEWS:28524 -msgid "" -":issue:`9998`: On Linux, ctypes.util.find_library now looks in " -"LD_LIBRARY_PATH for shared libraries." -msgstr "" - -#: ../build/NEWS:28527 -msgid ":issue:`27573`: exit message for code.interact is now configurable." -msgstr "" - -#: ../build/NEWS:28529 ../build/NEWS:31629 -msgid "" -":issue:`27930`: Improved behaviour of logging.handlers.QueueListener. Thanks " -"to Paulo Andrade and Petr Viktorin for the analysis and patch." -msgstr "" - -#: ../build/NEWS:28532 -msgid "" -":issue:`6766`: Distributed reference counting added to multiprocessing to " -"support nesting of shared values / proxy objects." -msgstr "" - -#: ../build/NEWS:28535 ../build/NEWS:31632 -msgid "" -":issue:`21201`: Improves readability of multiprocessing error message. " -"Thanks to Wojciech Walczak for patch." -msgstr "" - -#: ../build/NEWS:28538 -msgid "asyncio: Add set_protocol / get_protocol to Transports." -msgstr "" - -#: ../build/NEWS:28540 ../build/NEWS:31635 -msgid ":issue:`27456`: asyncio: Set TCP_NODELAY by default." -msgstr "" - -#: ../build/NEWS:28545 ../build/NEWS:31700 -msgid "" -":issue:`15308`: Add 'interrupt execution' (^C) to Shell menu. Patch by Roger " -"Serwy, updated by Bayard Randel." -msgstr "" - -#: ../build/NEWS:28548 ../build/NEWS:31703 -msgid "" -":issue:`27922`: Stop IDLE tests from 'flashing' gui widgets on the screen." -msgstr "" - -#: ../build/NEWS:28550 -msgid "" -":issue:`27891`: Consistently group and sort imports within idlelib modules." -msgstr "" - -#: ../build/NEWS:28552 -msgid ":issue:`17642`: add larger font sizes for classroom projection." -msgstr "" - -#: ../build/NEWS:28554 ../build/NEWS:31705 -msgid "Add version to title of IDLE help window." -msgstr "" - -#: ../build/NEWS:28556 ../build/NEWS:31707 -msgid "" -":issue:`25564`: In section on IDLE -- console differences, mention that " -"using exec means that __builtins__ is defined for each statement." -msgstr "" - -#: ../build/NEWS:28559 -msgid "" -":issue:`27821`: Fix 3.6.0a3 regression that prevented custom key sets from " -"being selected when no custom theme was defined." -msgstr "" - -#: ../build/NEWS:28565 -msgid "" -":issue:`26900`: Excluded underscored names and other private API from " -"limited API." -msgstr "" - -#: ../build/NEWS:28568 -msgid "" -":issue:`26027`: Add support for path-like objects in PyUnicode_FSConverter() " -"& PyUnicode_FSDecoder()." -msgstr "" - -#: ../build/NEWS:28574 -msgid "" -":issue:`27427`: Additional tests for the math module. Patch by Francisco " -"Couzo." -msgstr "" - -#: ../build/NEWS:28576 -msgid "" -":issue:`27953`: Skip math and cmath tests that fail on OS X 10.4 due to a " -"poor libm implementation of tan." -msgstr "" - -#: ../build/NEWS:28579 -msgid "" -":issue:`26040`: Improve test_math and test_cmath coverage and rigour. Patch " -"by Jeff Allen." -msgstr "" - -#: ../build/NEWS:28582 ../build/NEWS:31752 -msgid "" -":issue:`27787`: Call gc.collect() before checking each test for \"dangling " -"threads\", since the dangling threads are weak references." -msgstr "" - -#: ../build/NEWS:28588 ../build/NEWS:31812 -msgid "" -":issue:`27566`: Fix clean target in freeze makefile (patch by Lisa Roach)" -msgstr "" - -#: ../build/NEWS:28590 ../build/NEWS:31814 -msgid ":issue:`27705`: Update message in validate_ucrtbase.py" -msgstr "" - -#: ../build/NEWS:28592 -msgid "" -":issue:`27976`: Deprecate building _ctypes with the bundled copy of libffi " -"on non-OSX UNIX platforms." -msgstr "" - -#: ../build/NEWS:28595 -msgid "" -":issue:`27983`: Cause lack of llvm-profdata tool when using clang as " -"required for PGO linking to be a configure time error rather than make time " -"when ``--with-optimizations`` is enabled. Also improve our ability to find " -"the llvm-profdata tool on MacOS and some Linuxes." -msgstr "" - -#: ../build/NEWS:28600 -msgid ":issue:`21590`: Support for DTrace and SystemTap probes." -msgstr "" - -#: ../build/NEWS:28602 ../build/NEWS:31821 -msgid "" -":issue:`26307`: The profile-opt build now applies PGO to the built-in " -"modules." -msgstr "" - -#: ../build/NEWS:28604 -msgid "" -":issue:`26359`: Add the --with-optimizations flag to turn on LTO and PGO " -"build support when available." -msgstr "" - -#: ../build/NEWS:28607 -msgid ":issue:`27917`: Set platform triplets for Android builds." -msgstr "" - -#: ../build/NEWS:28609 -msgid "" -":issue:`25825`: Update references to the $(LIBPL) installation path on AIX. " -"This path was changed in 3.2a4." -msgstr "" - -#: ../build/NEWS:28612 -msgid "Update OS X installer to use SQLite 3.14.1 and XZ 5.2.2." -msgstr "" - -#: ../build/NEWS:28614 -msgid ":issue:`21122`: Fix LTO builds on OS X." -msgstr "" - -#: ../build/NEWS:28616 -msgid "" -":issue:`17128`: Build OS X installer with a private copy of OpenSSL. Also " -"provide a sample Install Certificates command script to install a set of " -"root certificates from the third-party certifi module." -msgstr "" - -#: ../build/NEWS:28623 ../build/NEWS:31761 -msgid "" -":issue:`27952`: Get Tools/scripts/fixcid.py working with Python 3 and the " -"current \"re\" module, avoid invalid Python backslash escapes, and fix a bug " -"parsing escaped C quote signs." -msgstr "" - -#: ../build/NEWS:28630 -msgid ":issue:`28065`: Update xz dependency to 5.2.2 and build it from source." -msgstr "" - -#: ../build/NEWS:28632 ../build/NEWS:31778 -msgid "" -":issue:`25144`: Ensures TargetDir is set before continuing with custom " -"install." -msgstr "" - -#: ../build/NEWS:28634 -msgid ":issue:`1602`: Windows console doesn't input or print Unicode (PEP 528)" -msgstr "" - -#: ../build/NEWS:28636 -msgid "" -":issue:`27781`: Change file system encoding on Windows to UTF-8 (PEP 529)" -msgstr "" - -#: ../build/NEWS:28638 -msgid ":issue:`27731`: Opt-out of MAX_PATH on Windows 10" -msgstr "" - -#: ../build/NEWS:28640 -msgid ":issue:`6135`: Adds encoding and errors parameters to subprocess." -msgstr "" - -#: ../build/NEWS:28642 -msgid "" -":issue:`27959`: Adds oem encoding, alias ansi to mbcs, move aliasmbcs to " -"codec lookup." -msgstr "" - -#: ../build/NEWS:28645 -msgid "" -":issue:`27982`: The functions of the winsound module now accept keyword " -"arguments." -msgstr "" - -#: ../build/NEWS:28648 -msgid ":issue:`20366`: Build full text search support into SQLite on Windows." -msgstr "" - -#: ../build/NEWS:28650 -msgid "" -":issue:`27756`: Adds new icons for Python files and processes on Windows. " -"Designs by Cherry Wang." -msgstr "" - -#: ../build/NEWS:28653 -msgid ":issue:`27883`: Update sqlite to 3.14.1.0 on Windows." -msgstr "" - -#: ../build/NEWS:28657 -msgid "Python 3.6.0 alpha 4" -msgstr "" - -#: ../build/NEWS:28659 -msgid "*Release date: 2016-08-15*" -msgstr "" - -#: ../build/NEWS:28664 -msgid "" -":issue:`27704`: Optimized creating bytes and bytearray from byte-like " -"objects and iterables. Speed up to 3 times for short objects. Original " -"patch by Naoki Inada." -msgstr "" - -#: ../build/NEWS:28668 -msgid "" -":issue:`26823`: Large sections of repeated lines in tracebacks are now " -"abbreviated as \"[Previous line repeated {count} more times]\" by the " -"builtin traceback rendering. Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:28672 -msgid "" -":issue:`27574`: Decreased an overhead of parsing keyword arguments in " -"functions implemented with using Argument Clinic." -msgstr "" - -#: ../build/NEWS:28675 -msgid "" -":issue:`22557`: Now importing already imported modules is up to 2.5 times " -"faster." -msgstr "" - -#: ../build/NEWS:28678 -msgid ":issue:`17596`: Include to help with Min GW building." -msgstr "" - -#: ../build/NEWS:28680 -msgid "" -":issue:`17599`: On Windows, rename the privately defined REPARSE_DATA_BUFFER " -"structure to avoid conflicting with the definition from Min GW." -msgstr "" - -#: ../build/NEWS:28683 ../build/NEWS:31302 -msgid "" -":issue:`27507`: Add integer overflow check in bytearray.extend(). Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28686 ../build/NEWS:31305 -msgid "" -":issue:`27581`: Don't rely on wrapping for overflow check in " -"PySequence_Tuple(). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28689 -msgid "" -":issue:`1621`: Avoid signed integer overflow in list and tuple operations. " -"Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28692 -msgid "" -":issue:`27419`: Standard __import__() no longer look up \"__import__\" in " -"globals or builtins for importing submodules or \"from import\". Fixed a " -"crash if raise a warning about unabling to resolve package from __spec__ or " -"__package__." -msgstr "" - -#: ../build/NEWS:28697 ../build/NEWS:31294 -msgid "" -":issue:`27083`: Respect the PYTHONCASEOK environment variable under Windows." -msgstr "" - -#: ../build/NEWS:28699 ../build/NEWS:31296 -msgid "" -":issue:`27514`: Make having too many statically nested blocks a SyntaxError " -"instead of SystemError." -msgstr "" - -#: ../build/NEWS:28702 -msgid "" -":issue:`27366`: Implemented :pep:`487` (Simpler customization of class " -"creation). Upon subclassing, the __init_subclass__ classmethod is called on " -"the base class. Descriptors are initialized with __set_name__ after class " -"creation." -msgstr "" - -#: ../build/NEWS:28710 -msgid "" -":issue:`26027`: Add :pep:`519`/__fspath__() support to the os and os.path " -"modules. Includes code from Jelle Zijlstra. (See also: :issue:`27524`)" -msgstr "" - -#: ../build/NEWS:28713 -msgid "" -":issue:`27598`: Add Collections to collections.abc. Patch by Ivan " -"Levkivskyi, docs by Neil Girdhar." -msgstr "" - -#: ../build/NEWS:28716 -msgid "" -":issue:`25958`: Support \"anti-registration\" of special methods from " -"various ABCs, like __hash__, __iter__ or __len__. All these (and several " -"more) can be set to None in an implementation class and the behavior will be " -"as if the method is not defined at all. (Previously, this mechanism existed " -"only for __hash__, to make mutable classes unhashable.) Code contributed by " -"Andrew Barnert and Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:28723 -msgid "" -":issue:`16764`: Support keyword arguments to zlib.decompress(). Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28726 -msgid "" -":issue:`27736`: Prevent segfault after interpreter re-initialization due to " -"ref count problem introduced in code for :issue:`27038` in 3.6.0a3. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28730 -msgid "" -":issue:`25628`: The *verbose* and *rename* parameters for collections." -"namedtuple are now keyword-only." -msgstr "" - -#: ../build/NEWS:28733 -msgid "" -":issue:`12345`: Add mathematical constant tau to math and cmath. See also :" -"pep:`628`." -msgstr "" - -#: ../build/NEWS:28736 -msgid "" -":issue:`26823`: traceback.StackSummary.format now abbreviates large sections " -"of repeated lines as \"[Previous line repeated {count} more times]\" (this " -"change then further affects other traceback display operations in the " -"module). Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:28741 -msgid "" -":issue:`27664`: Add to concurrent.futures.thread.ThreadPoolExecutor() the " -"ability to specify a thread name prefix." -msgstr "" - -#: ../build/NEWS:28744 -msgid "" -":issue:`27181`: Add geometric_mean and harmonic_mean to statistics module." -msgstr "" - -#: ../build/NEWS:28746 -msgid ":issue:`27573`: code.interact now prints an message when exiting." -msgstr "" - -#: ../build/NEWS:28748 -msgid ":issue:`6422`: Add autorange method to timeit.Timer objects." -msgstr "" - -#: ../build/NEWS:28750 ../build/NEWS:31542 -msgid "" -":issue:`27773`: Correct some memory management errors server_hostname in " -"_ssl.wrap_socket()." -msgstr "" - -#: ../build/NEWS:28753 -msgid "" -":issue:`26750`: unittest.mock.create_autospec() now works properly for " -"subclasses of property() and other data descriptors. Removes the never " -"publicly used, never documented unittest.mock.DescriptorTypes tuple." -msgstr "" - -#: ../build/NEWS:28757 -msgid "" -":issue:`26754`: Undocumented support of general bytes-like objects as path " -"in compile() and similar functions is now deprecated." -msgstr "" - -#: ../build/NEWS:28760 -msgid "" -":issue:`26800`: Undocumented support of general bytes-like objects as paths " -"in os functions is now deprecated." -msgstr "" - -#: ../build/NEWS:28763 -msgid "" -":issue:`26981`: Add _order_ compatibility shim to enum.Enum for Python 2/3 " -"code bases." -msgstr "" - -#: ../build/NEWS:28766 -msgid ":issue:`27661`: Added tzinfo keyword argument to datetime.combine." -msgstr "" - -#: ../build/NEWS:28768 ../build/NEWS:31548 -msgid "" -"In the curses module, raise an error if window.getstr() or window.instr() is " -"passed a negative value." -msgstr "" - -#: ../build/NEWS:28771 ../build/NEWS:31551 -msgid "" -":issue:`27783`: Fix possible usage of uninitialized memory in operator." -"methodcaller." -msgstr "" - -#: ../build/NEWS:28774 ../build/NEWS:31554 -msgid ":issue:`27774`: Fix possible Py_DECREF on unowned object in _sre." -msgstr "" - -#: ../build/NEWS:28776 ../build/NEWS:31556 -msgid ":issue:`27760`: Fix possible integer overflow in binascii.b2a_qp." -msgstr "" - -#: ../build/NEWS:28778 ../build/NEWS:31558 -msgid "" -":issue:`27758`: Fix possible integer overflow in the _csv module for large " -"record lengths." -msgstr "" - -#: ../build/NEWS:28781 ../build/NEWS:31561 -msgid "" -":issue:`27568`: Prevent HTTPoxy attack (CVE-2016-1000110). Ignore the " -"HTTP_PROXY variable when REQUEST_METHOD environment is set, which indicates " -"that the script is in CGI mode." -msgstr "" - -#: ../build/NEWS:28785 -msgid "" -":issue:`7063`: Remove dead code from the \"array\" module's slice handling. " -"Patch by Chuck." -msgstr "" - -#: ../build/NEWS:28788 ../build/NEWS:31565 -msgid ":issue:`27656`: Do not assume sched.h defines any SCHED_* constants." -msgstr "" - -#: ../build/NEWS:28790 ../build/NEWS:31567 -msgid "" -":issue:`27130`: In the \"zlib\" module, fix handling of large buffers " -"(typically 4 GiB) when compressing and decompressing. Previously, inputs " -"were limited to 4 GiB, and compression and decompression operations did not " -"properly handle results of 4 GiB." -msgstr "" - -#: ../build/NEWS:28795 -msgid ":issue:`24773`: Implemented :pep:`495` (Local Time Disambiguation)." -msgstr "" - -#: ../build/NEWS:28797 -msgid "" -"Expose the EPOLLEXCLUSIVE constant (when it is defined) in the select module." -msgstr "" - -#: ../build/NEWS:28800 -msgid "" -":issue:`27567`: Expose the EPOLLRDHUP and POLLRDHUP constants in the select " -"module." -msgstr "" - -#: ../build/NEWS:28803 -msgid "" -":issue:`1621`: Avoid signed int negation overflow in the \"audioop\" module." -msgstr "" - -#: ../build/NEWS:28805 ../build/NEWS:31572 -msgid ":issue:`27533`: Release GIL in nt._isdir" -msgstr "" - -#: ../build/NEWS:28807 ../build/NEWS:31574 -msgid "" -":issue:`17711`: Fixed unpickling by the persistent ID with protocol 0. " -"Original patch by Alexandre Vassalotti." -msgstr "" - -#: ../build/NEWS:28810 ../build/NEWS:31577 -msgid "" -":issue:`27522`: Avoid an unintentional reference cycle in email.feedparser." -msgstr "" - -#: ../build/NEWS:28812 -msgid "" -":issue:`27512`: Fix a segfault when os.fspath() called an __fspath__() " -"method that raised an exception. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28818 ../build/NEWS:31710 -msgid "" -":issue:`27714`: text_textview and test_autocomplete now pass when re-run in " -"the same process. This occurs when test_idle fails when run with the -w " -"option but without -jn. Fix warning from test_config." -msgstr "" - -#: ../build/NEWS:28822 -msgid "" -":issue:`27621`: Put query response validation error messages in the query " -"box itself instead of in a separate messagebox. Redo tests to match. Add " -"Mac OSX refinements. Original patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:28826 -msgid ":issue:`27620`: Escape key now closes Query box as cancelled." -msgstr "" - -#: ../build/NEWS:28828 -msgid "" -":issue:`27609`: IDLE: tab after initial whitespace should tab, not " -"autocomplete. This fixes problem with writing docstrings at least twice " -"indented." -msgstr "" - -#: ../build/NEWS:28832 -msgid "" -":issue:`27609`: Explicitly return None when there are also non-None returns. " -"In a few cases, reverse a condition and eliminate a return." -msgstr "" - -#: ../build/NEWS:28835 ../build/NEWS:31714 -msgid "" -":issue:`25507`: IDLE no longer runs buggy code because of its tkinter " -"imports. Users must include the same imports required to run directly in " -"Python." -msgstr "" - -#: ../build/NEWS:28838 ../build/NEWS:29022 -msgid "" -":issue:`27173`: Add 'IDLE Modern Unix' to the built-in key sets. Make the " -"default key set depend on the platform. Add tests for the changes to the " -"config module." -msgstr "" - -#: ../build/NEWS:28842 ../build/NEWS:29029 ../build/NEWS:31717 -msgid "" -":issue:`27452`: add line counter and crc to IDLE configHandler test dump." -msgstr "" - -#: ../build/NEWS:28847 -msgid "" -":issue:`25805`: Skip a test in test_pkgutil as needed that doesn't work when " -"``__name__ == __main__``. Patch by SilentGhost." -msgstr "" - -#: ../build/NEWS:28850 -msgid "" -":issue:`27472`: Add test.support.unix_shell as the path to the default shell." -msgstr "" - -#: ../build/NEWS:28852 ../build/NEWS:31755 -msgid "" -":issue:`27369`: In test_pyexpat, avoid testing an error message detail that " -"changed in Expat 2.2.0." -msgstr "" - -#: ../build/NEWS:28855 -msgid "" -":issue:`27594`: Prevent assertion error when running test_ast with coverage " -"enabled: ensure code object has a valid first line number. Patch suggested " -"by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:28862 -msgid ":issue:`27647`: Update bundled Tcl/Tk to 8.6.6." -msgstr "" - -#: ../build/NEWS:28864 -msgid ":issue:`27610`: Adds :pep:`514` metadata to Windows installer" -msgstr "" - -#: ../build/NEWS:28866 ../build/NEWS:31780 -msgid "" -":issue:`27469`: Adds a shell extension to the launcher so that drag and drop " -"works correctly." -msgstr "" - -#: ../build/NEWS:28869 -msgid "" -":issue:`27309`: Enables proper Windows styles in python[w].exe manifest." -msgstr "" - -#: ../build/NEWS:28874 ../build/NEWS:31825 -msgid "" -":issue:`27713`: Suppress spurious build warnings when updating importlib's " -"bootstrap files. Patch by Xiang Zhang" -msgstr "" - -#: ../build/NEWS:28877 -msgid "" -":issue:`25825`: Correct the references to Modules/python.exp, which is " -"required on AIX. The references were accidentally changed in 3.5.0a1." -msgstr "" - -#: ../build/NEWS:28880 ../build/NEWS:31833 -msgid "" -":issue:`27453`: CPP invocation in configure must use CPPFLAGS. Patch by Chi " -"Hsuan Yen." -msgstr "" - -#: ../build/NEWS:28883 ../build/NEWS:31836 -msgid "" -":issue:`27641`: The configure script now inserts comments into the makefile " -"to prevent the pgen and _freeze_importlib executables from being cross-" -"compiled." -msgstr "" - -#: ../build/NEWS:28887 ../build/NEWS:31840 -msgid "" -":issue:`26662`: Set PYTHON_FOR_GEN in configure as the Python program to be " -"used for file generation during the build." -msgstr "" - -#: ../build/NEWS:28890 ../build/NEWS:31843 -msgid "" -":issue:`10910`: Avoid C++ compilation errors on FreeBSD and OS X. Also " -"update FreedBSD version checks for the original ctype UTF-8 workaround." -msgstr "" - -#: ../build/NEWS:28895 -msgid "Python 3.6.0 alpha 3" -msgstr "" - -#: ../build/NEWS:28897 -msgid "*Release date: 2016-07-11*" -msgstr "" - -#: ../build/NEWS:28902 ../build/NEWS:31176 -msgid "" -":issue:`27278`: Fix os.urandom() implementation using getrandom() on Linux. " -"Truncate size to INT_MAX and loop until we collected enough random bytes, " -"instead of casting a directly Py_ssize_t to int." -msgstr "" - -#: ../build/NEWS:28906 ../build/NEWS:31180 -msgid "" -":issue:`22636`: Avoid shell injection problems with ctypes.util." -"find_library()." -msgstr "" - -#: ../build/NEWS:28911 ../build/NEWS:31299 -msgid "" -":issue:`27473`: Fixed possible integer overflow in bytes and bytearray " -"concatenations. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:28914 -msgid "" -":issue:`23034`: The output of a special Python build with defined " -"COUNT_ALLOCS, SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by " -"default. It can be re-enabled using the \"-X showalloccount\" option. It " -"now outputs to stderr instead of stdout." -msgstr "" - -#: ../build/NEWS:28919 ../build/NEWS:31308 -msgid "" -":issue:`27443`: __length_hint__() of bytearray iterators no longer return a " -"negative integer for a resized bytearray." -msgstr "" - -#: ../build/NEWS:28922 -msgid "" -":issue:`27007`: The fromhex() class methods of bytes and bytearray " -"subclasses now return an instance of corresponding subclass." -msgstr "" - -#: ../build/NEWS:28928 ../build/NEWS:31579 -msgid "" -":issue:`26844`: Fix error message for imp.find_module() to refer to 'path' " -"instead of 'name'. Patch by Lev Maximov." -msgstr "" - -#: ../build/NEWS:28931 ../build/NEWS:31582 -msgid "" -":issue:`23804`: Fix SSL zero-length recv() calls to not block and not raise " -"an error about unclean EOF." -msgstr "" - -#: ../build/NEWS:28934 ../build/NEWS:31585 -msgid "" -":issue:`27466`: Change time format returned by http.cookie.time2netscape, " -"confirming the netscape cookie format and making it consistent with " -"documentation." -msgstr "" - -#: ../build/NEWS:28938 -msgid "" -":issue:`21708`: Deprecated dbm.dumb behavior that differs from common dbm " -"behavior: creating a database in 'r' and 'w' modes and modifying a database " -"in 'r' mode." -msgstr "" - -#: ../build/NEWS:28942 -msgid "" -":issue:`26721`: Change the socketserver.StreamRequestHandler.wfile attribute " -"to implement BufferedIOBase. In particular, the write() method no longer " -"does partial writes." -msgstr "" - -#: ../build/NEWS:28946 -msgid "" -":issue:`22115`: Added methods trace_add, trace_remove and trace_info in the " -"tkinter.Variable class. They replace old methods trace_variable, trace, " -"trace_vdelete and trace_vinfo that use obsolete Tcl commands and might not " -"work in future versions of Tcl. Fixed old tracing methods: trace_vdelete() " -"with wrong mode no longer break tracing, trace_vinfo() now always returns a " -"list of pairs of strings, tracing in the \"u\" mode now works." -msgstr "" - -#: ../build/NEWS:28954 -msgid "" -":issue:`26243`: Only the level argument to zlib.compress() is keyword " -"argument now. The first argument is positional-only." -msgstr "" - -#: ../build/NEWS:28957 -msgid "" -":issue:`27038`: Expose the DirEntry type as os.DirEntry. Code patch by Jelle " -"Zijlstra." -msgstr "" - -#: ../build/NEWS:28960 -msgid "" -":issue:`27186`: Update os.fspath()/PyOS_FSPath() to check the return value " -"of __fspath__() to be either str or bytes." -msgstr "" - -#: ../build/NEWS:28963 -msgid "" -":issue:`18726`: All optional parameters of the dump(), dumps(), load() and " -"loads() functions and JSONEncoder and JSONDecoder class constructors in the " -"json module are now keyword-only." -msgstr "" - -#: ../build/NEWS:28967 -msgid "" -":issue:`27319`: Methods selection_set(), selection_add(), selection_remove() " -"and selection_toggle() of ttk.TreeView now allow passing multiple items as " -"multiple arguments instead of passing them as a tuple. Deprecated " -"undocumented ability of calling the selection() method with arguments." -msgstr "" - -#: ../build/NEWS:28972 ../build/NEWS:31599 -msgid "" -":issue:`27079`: Fixed curses.ascii functions isblank(), iscntrl() and " -"ispunct()." -msgstr "" - -#: ../build/NEWS:28975 -msgid "" -":issue:`27294`: Numerical state in the repr for Tkinter event objects is now " -"represented as a combination of known flags." -msgstr "" - -#: ../build/NEWS:28978 -msgid "" -":issue:`27177`: Match objects in the re module now support index-like " -"objects as group indices. Based on patches by Jeroen Demeyer and Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:28981 ../build/NEWS:31602 -msgid "" -":issue:`26754`: Some functions (compile() etc) accepted a filename argument " -"encoded as an iterable of integers. Now only strings and byte-like objects " -"are accepted." -msgstr "" - -#: ../build/NEWS:28985 -msgid "" -":issue:`26536`: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by " -"Daniel Stokes." -msgstr "" - -#: ../build/NEWS:28988 ../build/NEWS:31606 -msgid "" -":issue:`27048`: Prevents distutils failing on Windows when environment " -"variables contain non-ASCII characters" -msgstr "" - -#: ../build/NEWS:28991 ../build/NEWS:31609 -msgid ":issue:`27330`: Fixed possible leaks in the ctypes module." -msgstr "" - -#: ../build/NEWS:28993 ../build/NEWS:31611 -msgid "" -":issue:`27238`: Got rid of bare excepts in the turtle module. Original " -"patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:28996 ../build/NEWS:31614 -msgid "" -":issue:`27122`: When an exception is raised within the context being managed " -"by a contextlib.ExitStack() and one of the exit stack generators catches and " -"raises it in a chain, do not re-raise the original exception when exiting, " -"let the new chained one through. This avoids the :pep:`479` bug described " -"in issue25782." -msgstr "" - -#: ../build/NEWS:29002 -msgid "" -":issue:`16864`: sqlite3.Cursor.lastrowid now supports REPLACE statement. " -"Initial patch by Alex LordThorsen." -msgstr "" - -#: ../build/NEWS:29005 ../build/NEWS:31620 -msgid "" -":issue:`26386`: Fixed ttk.TreeView selection operations with item id's " -"containing spaces." -msgstr "" - -#: ../build/NEWS:29008 -msgid "" -":issue:`8637`: Honor a pager set by the env var MANPAGER (in preference to " -"one set by the env var PAGER)." -msgstr "" - -#: ../build/NEWS:29011 ../build/NEWS:31623 -msgid "" -":issue:`16182`: Fix various functions in the \"readline\" module to use the " -"locale encoding, and fix get_begidx() and get_endidx() to return code point " -"indexes." -msgstr "" - -#: ../build/NEWS:29015 ../build/NEWS:31627 -msgid "" -":issue:`27392`: Add loop.connect_accepted_socket(). Patch by Jim Fulton." -msgstr "" - -#: ../build/NEWS:29020 -msgid ":issue:`27477`: IDLE search dialogs now use ttk widgets." -msgstr "" - -#: ../build/NEWS:29026 -msgid "" -":issue:`27452`: make command line \"idle-test> python test_help.py\" work. " -"__file__ is relative when python is started in the file's directory." -msgstr "" - -#: ../build/NEWS:29031 -msgid "" -":issue:`27380`: IDLE: add query.py with base Query dialog and ttk widgets. " -"Module had subclasses SectionName, ModuleName, and HelpSource, which are " -"used to get information from users by configdialog and file =>Load Module. " -"Each subclass has itw own validity checks. Using ModuleName allows users to " -"edit bad module names instead of starting over. Add tests and delete the two " -"files combined into the new one." -msgstr "" - -#: ../build/NEWS:29038 -msgid ":issue:`27372`: Test_idle no longer changes the locale." -msgstr "" - -#: ../build/NEWS:29040 ../build/NEWS:31719 -msgid "" -":issue:`27365`: Allow non-ascii chars in IDLE NEWS.txt, for contributor " -"names." -msgstr "" - -#: ../build/NEWS:29042 ../build/NEWS:31721 -msgid "" -":issue:`27245`: IDLE: Cleanly delete custom themes and key bindings. " -"Previously, when IDLE was started from a console or by import, a cascade of " -"warnings was emitted. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:29046 -msgid "" -":issue:`24137`: Run IDLE, test_idle, and htest with tkinter default root " -"disabled. Fix code and tests that fail with this restriction. Fix htests " -"to not create a second and redundant root and mainloop." -msgstr "" - -#: ../build/NEWS:29050 -msgid "" -":issue:`27310`: Fix IDLE.app failure to launch on OS X due to vestigial " -"import." -msgstr "" - -#: ../build/NEWS:29055 -msgid "" -":issue:`26754`: PyUnicode_FSDecoder() accepted a filename argument encoded " -"as an iterable of integers. Now only strings and byte-like objects are " -"accepted." -msgstr "" - -#: ../build/NEWS:29062 ../build/NEWS:31806 -msgid "" -":issue:`28066`: Fix the logic that searches build directories for generated " -"include files when building outside the source tree." -msgstr "" - -#: ../build/NEWS:29065 -msgid "" -":issue:`27442`: Expose the Android API level that python was built against, " -"in sysconfig.get_config_vars() as 'ANDROID_API_LEVEL'." -msgstr "" - -#: ../build/NEWS:29068 -msgid "" -":issue:`27434`: The interpreter that runs the cross-build, found in PATH, " -"must now be of the same feature version (e.g. 3.6) as the source being built." -msgstr "" - -#: ../build/NEWS:29071 ../build/NEWS:31858 -msgid ":issue:`26930`: Update Windows builds to use OpenSSL 1.0.2h." -msgstr "" - -#: ../build/NEWS:29073 -msgid "" -":issue:`23968`: Rename the platform directory from plat-$(MACHDEP) to plat-" -"$(PLATFORM_TRIPLET). Rename the config directory (LIBPL) from config-" -"$(LDVERSION) to config-$(LDVERSION)-$(PLATFORM_TRIPLET). Install the " -"platform specific _sysconfigdata module into the platform directory and " -"rename it to include the ABIFLAGS." -msgstr "" - -#: ../build/NEWS:29079 -msgid "Don't use largefile support for GNU/Hurd." -msgstr "" - -#: ../build/NEWS:29084 ../build/NEWS:31765 -msgid "" -":issue:`27332`: Fixed the type of the first argument of module-level " -"functions generated by Argument Clinic. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:29087 ../build/NEWS:31768 -msgid ":issue:`27418`: Fixed Tools/importbench/importbench.py." -msgstr "" - -#: ../build/NEWS:29092 ../build/NEWS:32463 -msgid "" -":issue:`19489`: Moved the search box from the sidebar to the header and " -"footer of each page. Patch by Ammar Askar." -msgstr "" - -#: ../build/NEWS:29095 -msgid "" -":issue:`27285`: Update documentation to reflect the deprecation of " -"``pyvenv`` and normalize on the term \"virtual environment\". Patch by Steve " -"Piercy." -msgstr "" - -#: ../build/NEWS:29101 -msgid "" -":issue:`27027`: Added test.support.is_android that is True when this is an " -"Android build." -msgstr "" - -#: ../build/NEWS:29106 -msgid "Python 3.6.0 alpha 2" -msgstr "" - -#: ../build/NEWS:29108 -msgid "*Release date: 2016-06-13*" -msgstr "" - -#: ../build/NEWS:29113 ../build/NEWS:31879 -msgid ":issue:`26556`: Update expat to 2.1.1, fixes CVE-2015-1283." -msgstr "" - -#: ../build/NEWS:29115 -msgid "" -"Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " -"Oststrom." -msgstr "" - -#: ../build/NEWS:29118 ../build/NEWS:31884 -msgid "" -":issue:`26839`: On Linux, :func:`os.urandom` now calls ``getrandom()`` with " -"``GRND_NONBLOCK`` to fall back on reading ``/dev/urandom`` if the urandom " -"entropy pool is not initialized yet. Patch written by Colm Buckley." -msgstr "" - -#: ../build/NEWS:29125 -msgid "" -":issue:`27095`: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes. " -"Patch by Demur Rumed." -msgstr "" - -#: ../build/NEWS:29128 -msgid "" -":issue:`27190`: Raise NotSupportedError if sqlite3 is older than 3.3.1. " -"Patch by Dave Sawyer." -msgstr "" - -#: ../build/NEWS:29131 -msgid "" -":issue:`27286`: Fixed compiling BUILD_MAP_UNPACK_WITH_CALL opcode. Calling " -"function with generalized unpacking (PEP 448) and conflicting keyword names " -"could cause undefined behavior." -msgstr "" - -#: ../build/NEWS:29135 -msgid ":issue:`27140`: Added BUILD_CONST_KEY_MAP opcode." -msgstr "" - -#: ../build/NEWS:29137 -msgid "" -":issue:`27186`: Add support for os.PathLike objects to open() (part of :pep:" -"`519`)." -msgstr "" - -#: ../build/NEWS:29140 ../build/NEWS:31901 -msgid "" -":issue:`27066`: Fixed SystemError if a custom opener (for open()) returns a " -"negative number without setting an exception." -msgstr "" - -#: ../build/NEWS:29143 -msgid "" -":issue:`26983`: float() now always return an instance of exact float. The " -"deprecation warning is emitted if __float__ returns an instance of a strict " -"subclass of float. In a future versions of Python this can be an error." -msgstr "" - -#: ../build/NEWS:29148 -msgid "" -":issue:`27097`: Python interpreter is now about 7% faster due to optimized " -"instruction decoding. Based on patch by Demur Rumed." -msgstr "" - -#: ../build/NEWS:29151 -msgid "" -":issue:`26647`: Python interpreter now uses 16-bit wordcode instead of " -"bytecode. Patch by Demur Rumed." -msgstr "" - -#: ../build/NEWS:29154 -msgid "" -":issue:`23275`: Allow assigning to an empty target list in round brackets: " -"() = iterable." -msgstr "" - -#: ../build/NEWS:29157 ../build/NEWS:32023 -msgid "" -":issue:`27243`: Update the __aiter__ protocol: instead of returning an " -"awaitable that resolves to an asynchronous iterator, the asynchronous " -"iterator should be returned directly. Doing the former will trigger a " -"PendingDeprecationWarning." -msgstr "" - -#: ../build/NEWS:29165 -msgid "" -"Comment out socket (SO_REUSEPORT) and posix (O_SHLOCK, O_EXLOCK) constants " -"exposed on the API which are not implemented on GNU/Hurd. They would not " -"work at runtime anyway." -msgstr "" - -#: ../build/NEWS:29169 -msgid "" -":issue:`27025`: Generated names for Tkinter widgets are now more meaningful " -"and recognizable." -msgstr "" - -#: ../build/NEWS:29172 -msgid "" -":issue:`25455`: Fixed crashes in repr of recursive ElementTree.Element and " -"functools.partial objects." -msgstr "" - -#: ../build/NEWS:29175 -msgid ":issue:`27294`: Improved repr for Tkinter event objects." -msgstr "" - -#: ../build/NEWS:29177 -msgid "" -":issue:`20508`: Improve exception message of IPv{4,6}Network.__getitem__. " -"Patch by Gareth Rees." -msgstr "" - -#: ../build/NEWS:29180 ../build/NEWS:32031 -msgid "" -":issue:`21386`: Implement missing IPv4Address.is_global property. It was " -"documented since 07a5610bae9d. Initial patch by Roger Luethi." -msgstr "" - -#: ../build/NEWS:29183 -msgid "" -":issue:`27029`: Removed deprecated support of universal newlines mode from " -"ZipFile.open()." -msgstr "" - -#: ../build/NEWS:29186 -msgid "" -":issue:`27030`: Unknown escapes consisting of ``'\\'`` and an ASCII letter " -"in regular expressions now are errors. The re.LOCALE flag now can be used " -"only with bytes patterns." -msgstr "" - -#: ../build/NEWS:29190 -msgid "" -":issue:`27186`: Add os.PathLike support to DirEntry (part of :pep:`519`). " -"Initial patch by Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:29193 ../build/NEWS:32034 -msgid "" -":issue:`20900`: distutils register command now decodes HTTP responses " -"correctly. Initial patch by ingrid." -msgstr "" - -#: ../build/NEWS:29196 -msgid "" -":issue:`27186`: Add os.PathLike support to pathlib, removing its provisional " -"status (part of PEP 519). Initial patch by Dusty Phillips." -msgstr "" - -#: ../build/NEWS:29199 -msgid "" -":issue:`27186`: Add support for os.PathLike objects to os.fsencode() and os." -"fsdecode() (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:29202 -msgid "" -":issue:`27186`: Introduce os.PathLike and os.fspath() (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:29204 ../build/NEWS:32037 -msgid "" -"A new version of typing.py provides several new classes and features: " -"@overload outside stubs, Reversible, DefaultDict, Text, ContextManager, " -"Type[], NewType(), TYPE_CHECKING, and numerous bug fixes (note that some of " -"the new features are not yet implemented in mypy or other static analyzers). " -"Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have " -"been added (in fact they made it into 3.5.1 but were never mentioned)." -msgstr "" - -#: ../build/NEWS:29212 ../build/NEWS:32045 -msgid "" -":issue:`25738`: Stop http.server.BaseHTTPRequestHandler.send_error() from " -"sending a message body for 205 Reset Content. Also, don't send Content " -"header fields in responses that don't have a body. Patch by Susumu Koshiba." -msgstr "" - -#: ../build/NEWS:29217 ../build/NEWS:32050 -msgid "" -":issue:`21313`: Fix the \"platform\" module to tolerate when sys.version " -"contains truncated build information." -msgstr "" - -#: ../build/NEWS:29220 -msgid "" -":issue:`23883`: Added missing APIs to __all__ to match the documented APIs " -"for the following modules: cgi, mailbox, mimetypes, plistlib and smtpd. " -"Patches by Jacek Kołodziej." -msgstr "" - -#: ../build/NEWS:29224 ../build/NEWS:32053 -msgid "" -":issue:`27164`: In the zlib module, allow decompressing raw Deflate streams " -"with a predefined zdict. Based on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29227 ../build/NEWS:32056 -msgid "" -":issue:`24291`: Fix wsgiref.simple_server.WSGIRequestHandler to completely " -"write data to the client. Previously it could do partial writes and " -"truncate data. Also, wsgiref.handler.ServerHandler can now handle stdout " -"doing partial writes, but this is deprecated." -msgstr "" - -#: ../build/NEWS:29232 -msgid "" -":issue:`21272`: Use _sysconfigdata.py to initialize distutils.sysconfig." -msgstr "" - -#: ../build/NEWS:29234 -msgid "" -":issue:`19611`: :mod:`inspect` now reports the implicit ``.0`` parameters " -"generated by the compiler for comprehension and generator expression scopes " -"as if they were positional-only parameters called ``implicit0``. Patch by " -"Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:29239 ../build/NEWS:32061 -msgid "" -":issue:`26809`: Add ``__all__`` to :mod:`string`. Patch by Emanuel Barry." -msgstr "" - -#: ../build/NEWS:29241 ../build/NEWS:32063 -msgid "" -":issue:`26373`: subprocess.Popen.communicate now correctly ignores " -"BrokenPipeError when the child process dies before .communicate() is called " -"in more/all circumstances." -msgstr "" - -#: ../build/NEWS:29245 -msgid "" -"signal, socket, and ssl module IntEnum constant name lookups now return a " -"consistent name for values having multiple names. Ex: signal.Signals(6) now " -"refers to itself as signal.SIGALRM rather than flipping between that and " -"signal.SIGIOT based on the interpreter's hash randomization seed." -msgstr "" - -#: ../build/NEWS:29250 -msgid "" -":issue:`27167`: Clarify the subprocess.CalledProcessError error message text " -"when the child process died due to a signal." -msgstr "" - -#: ../build/NEWS:29253 -msgid "" -":issue:`25931`: Don't define socketserver.Forking* names on platforms such " -"as Windows that do not support os.fork()." -msgstr "" - -#: ../build/NEWS:29256 ../build/NEWS:32067 -msgid "" -":issue:`21776`: distutils.upload now correctly handles HTTPError. Initial " -"patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:29259 -msgid "" -":issue:`26526`: Replace custom parse tree validation in the parser module " -"with a simple DFA validator." -msgstr "" - -#: ../build/NEWS:29262 ../build/NEWS:32070 -msgid "" -":issue:`27114`: Fix SSLContext._load_windows_store_certs fails with " -"PermissionError" -msgstr "" - -#: ../build/NEWS:29265 ../build/NEWS:32073 -msgid "" -":issue:`18383`: Avoid creating duplicate filters when using filterwarnings " -"and simplefilter. Based on patch by Alex Shkop." -msgstr "" - -#: ../build/NEWS:29268 -msgid "" -":issue:`23026`: winreg.QueryValueEx() now return an integer for REG_QWORD " -"type." -msgstr "" - -#: ../build/NEWS:29270 -msgid "" -":issue:`26741`: subprocess.Popen destructor now emits a ResourceWarning " -"warning if the child process is still running." -msgstr "" - -#: ../build/NEWS:29273 -msgid "" -":issue:`27056`: Optimize pickle.load() and pickle.loads(), up to 10% faster " -"to deserialize a lot of small objects." -msgstr "" - -#: ../build/NEWS:29276 -msgid ":issue:`21271`: New keyword only parameters in reset_mock call." -msgstr "" - -#: ../build/NEWS:29281 ../build/NEWS:32410 -msgid "" -":issue:`5124`: Paste with text selected now replaces the selection on X11. " -"This matches how paste works on Windows, Mac, most modern Linux apps, and " -"ttk widgets. Original patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:29285 -msgid "" -":issue:`24750`: Switch all scrollbars in IDLE to ttk versions. Where needed, " -"minimal tests are added to cover changes." -msgstr "" - -#: ../build/NEWS:29288 -msgid "" -":issue:`24759`: IDLE requires tk 8.5 and availability ttk widgets. Delete " -"now unneeded tk version tests and code for older versions. Add test for IDLE " -"syntax colorizer." -msgstr "" - -#: ../build/NEWS:29292 -msgid ":issue:`27239`: idlelib.macosx.isXyzTk functions initialize as needed." -msgstr "" - -#: ../build/NEWS:29294 -msgid "" -":issue:`27262`: move Aqua unbinding code, which enable context menus, to " -"macosx." -msgstr "" - -#: ../build/NEWS:29297 ../build/NEWS:32414 -msgid "" -":issue:`24759`: Make clear in idlelib.idle_test.__init__ that the directory " -"is a private implementation of test.test_idle and tool for maintainers." -msgstr "" - -#: ../build/NEWS:29300 ../build/NEWS:32417 -msgid "" -":issue:`27196`: Stop 'ThemeChanged' warnings when running IDLE tests. These " -"persisted after other warnings were suppressed in #20567. Apply Serhiy " -"Storchaka's update_idletasks solution to four test files. Record this " -"additional advice in idle_test/README.txt" -msgstr "" - -#: ../build/NEWS:29305 ../build/NEWS:32422 -msgid "" -":issue:`20567`: Revise idle_test/README.txt with advice about avoiding tk " -"warning messages from tests. Apply advice to several IDLE tests." -msgstr "" - -#: ../build/NEWS:29308 -msgid "" -":issue:`24225`: Update idlelib/README.txt with new file names and event " -"handlers." -msgstr "" - -#: ../build/NEWS:29311 -msgid ":issue:`27156`: Remove obsolete code not used by IDLE." -msgstr "" - -#: ../build/NEWS:29313 ../build/NEWS:32425 -msgid "" -":issue:`27117`: Make colorizer htest and turtledemo work with dark themes. " -"Move code for configuring text widget colors to a new function." -msgstr "" - -#: ../build/NEWS:29316 -msgid "" -":issue:`24225`: Rename many `idlelib/*.py` and `idle_test/test_*.py` files. " -"Edit files to replace old names with new names when the old name referred to " -"the module rather than the class it contained. See the issue and IDLE " -"section in What's New in 3.6 for more." -msgstr "" - -#: ../build/NEWS:29321 ../build/NEWS:32428 -msgid "" -":issue:`26673`: When tk reports font size as 0, change to size 10. Such " -"fonts on Linux prevented the configuration dialog from opening." -msgstr "" - -#: ../build/NEWS:29324 ../build/NEWS:32431 -msgid "" -":issue:`21939`: Add test for IDLE's percolator. Original patch by Saimadhav " -"Heblikar." -msgstr "" - -#: ../build/NEWS:29327 ../build/NEWS:32434 -msgid "" -":issue:`21676`: Add test for IDLE's replace dialog. Original patch by " -"Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:29330 ../build/NEWS:32437 -msgid "" -":issue:`18410`: Add test for IDLE's search dialog. Original patch by Westley " -"Martínez." -msgstr "" - -#: ../build/NEWS:29333 -msgid "" -":issue:`21703`: Add test for undo delegator. Patch mostly by Saimadhav " -"Heblikar ." -msgstr "" - -#: ../build/NEWS:29336 ../build/NEWS:32443 -msgid "" -":issue:`27044`: Add ConfigDialog.remove_var_callbacks to stop memory leaks." -msgstr "" - -#: ../build/NEWS:29338 ../build/NEWS:32445 -msgid ":issue:`23977`: Add more asserts to test_delegator." -msgstr "" - -#: ../build/NEWS:29343 -msgid "" -":issue:`16484`: Change the default PYTHONDOCS URL to \"https:\", and fix the " -"resulting links to use lowercase. Patch by Sean Rodman, test by Kaushik " -"Nadikuditi." -msgstr "" - -#: ../build/NEWS:29347 ../build/NEWS:32466 -msgid ":issue:`24136`: Document the new :pep:`448` unpacking syntax of 3.5." -msgstr "" - -#: ../build/NEWS:29349 ../build/NEWS:33024 -msgid "" -":issue:`22558`: Add remaining doc links to source code for Python-coded " -"modules. Patch by Yoni Lavi." -msgstr "" - -#: ../build/NEWS:29355 -msgid "" -":issue:`25285`: regrtest now uses subprocesses when the -j1 command line " -"option is used: each test file runs in a fresh child process. Before, the -" -"j1 option was ignored." -msgstr "" - -#: ../build/NEWS:29359 -msgid "" -":issue:`25285`: Tools/buildbot/test.bat script now uses -j1 by default to " -"run each test file in fresh child process." -msgstr "" - -#: ../build/NEWS:29365 -msgid "" -":issue:`27064`: The py.exe launcher now defaults to Python 3. The Windows " -"launcher ``py.exe`` no longer prefers an installed Python 2 version over " -"Python 3 by default when used interactively." -msgstr "" - -#: ../build/NEWS:29369 ../build/NEWS:32581 -msgid "" -":issue:`17500`: Remove unused and outdated icons. (See also: https://github." -"com/python/pythondotorg/issues/945)" -msgstr "" - -#: ../build/NEWS:29375 ../build/NEWS:32517 -msgid "" -":issue:`27229`: Fix the cross-compiling pgen rule for in-tree builds. Patch " -"by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:29378 ../build/NEWS:32554 -msgid "" -":issue:`26930`: Update OS X 10.5+ 32-bit-only installer to build and link " -"with OpenSSL 1.0.2h." -msgstr "" - -#: ../build/NEWS:29384 -msgid ":issue:`27186`: Add the PyOS_FSPath() function (part of :pep:`519`)." -msgstr "" - -#: ../build/NEWS:29386 -msgid "" -":issue:`26282`: PyArg_ParseTupleAndKeywords() now supports positional-only " -"parameters." -msgstr "" - -#: ../build/NEWS:29392 -msgid "" -":issue:`26282`: Argument Clinic now supports positional-only and keyword " -"parameters in the same function." -msgstr "" - -#: ../build/NEWS:29397 -msgid "Python 3.6.0 alpha 1" -msgstr "" - -#: ../build/NEWS:29399 -msgid "*Release date: 2016-05-16*" -msgstr "" - -#: ../build/NEWS:29404 ../build/NEWS:31888 -msgid "" -":issue:`26657`: Fix directory traversal vulnerability with http.server on " -"Windows. This fixes a regression that was introduced in 3.3.4rc1 and " -"3.4.0rc1. Based on patch by Philipp Hagemeister." -msgstr "" - -#: ../build/NEWS:29408 ../build/NEWS:31892 -msgid "" -":issue:`26313`: ssl.py _load_windows_store_certs fails if windows cert store " -"is empty. Patch by Baji." -msgstr "" - -#: ../build/NEWS:29411 ../build/NEWS:31895 -msgid "" -":issue:`25939`: On Windows open the cert store readonly in ssl." -"enum_certificates." -msgstr "" - -#: ../build/NEWS:29417 ../build/NEWS:31904 -msgid "" -":issue:`20041`: Fixed TypeError when frame.f_trace is set to None. Patch by " -"Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:29420 ../build/NEWS:31907 -msgid "" -":issue:`26168`: Fixed possible refleaks in failing Py_BuildValue() with the " -"\"N\" format unit." -msgstr "" - -#: ../build/NEWS:29423 ../build/NEWS:31910 -msgid "" -":issue:`26991`: Fix possible refleak when creating a function with " -"annotations." -msgstr "" - -#: ../build/NEWS:29425 -msgid "" -":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Based " -"on patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:29428 ../build/NEWS:31915 -msgid "" -":issue:`23640`: int.from_bytes() no longer bypasses constructors for " -"subclasses." -msgstr "" - -#: ../build/NEWS:29431 -msgid "" -":issue:`27005`: Optimized the float.fromhex() class method for exact float. " -"It is now 2 times faster." -msgstr "" - -#: ../build/NEWS:29434 -msgid "" -":issue:`18531`: Single var-keyword argument of dict subtype was passed " -"unscathed to the C-defined function. Now it is converted to exact dict." -msgstr "" - -#: ../build/NEWS:29437 ../build/NEWS:31918 -msgid "" -":issue:`26811`: gc.get_objects() no longer contains a broken tuple with NULL " -"pointer." -msgstr "" - -#: ../build/NEWS:29440 ../build/NEWS:31921 -msgid "" -":issue:`20120`: Use RawConfigParser for .pypirc parsing, removing support " -"for interpolation unintentionally added with move to Python 3. Behavior no " -"longer does any interpolation in .pypirc files, matching behavior in Python " -"2.7 and Setuptools 19.0." -msgstr "" - -#: ../build/NEWS:29445 -msgid "" -":issue:`26249`: Memory functions of the :c:func:`PyMem_Malloc` domain (:c:" -"data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator ` " -"rather than system :c:func:`malloc`. Applications calling :c:func:" -"`PyMem_Malloc` without holding the GIL can now crash: use " -"``PYTHONMALLOC=debug`` environment variable to validate the usage of memory " -"allocators in your application." -msgstr "" - -#: ../build/NEWS:29452 -msgid "" -":issue:`26802`: Optimize function calls only using unpacking like " -"``func(*tuple)`` (no other positional argument, no keyword): avoid copying " -"the tuple. Patch written by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:29456 ../build/NEWS:31926 -msgid ":issue:`26659`: Make the builtin slice type support cycle collection." -msgstr "" - -#: ../build/NEWS:29458 ../build/NEWS:31928 -msgid "" -":issue:`26718`: super.__init__ no longer leaks memory if called multiple " -"times. NOTE: A direct call of super.__init__ is not endorsed!" -msgstr "" - -#: ../build/NEWS:29461 ../build/NEWS:31958 -msgid ":issue:`27138`: Fix the doc comment for FileFinder.find_spec()." -msgstr "" - -#: ../build/NEWS:29463 ../build/NEWS:32002 -msgid ":issue:`27147`: Mention :pep:`420` in the importlib docs." -msgstr "" - -#: ../build/NEWS:29465 ../build/NEWS:31931 -msgid "" -":issue:`25339`: PYTHONIOENCODING now has priority over locale in setting the " -"error handler for stdin and stdout." -msgstr "" - -#: ../build/NEWS:29468 ../build/NEWS:31934 -msgid "" -":issue:`26494`: Fixed crash on iterating exhausting iterators. Affected " -"classes are generic sequence iterators, iterators of str, bytes, bytearray, " -"list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os." -"scandir() iterator." -msgstr "" - -#: ../build/NEWS:29473 -msgid "" -":issue:`26574`: Optimize ``bytes.replace(b'', b'.')`` and ``bytearray." -"replace(b'', b'.')``. Patch written by Josh Snider." -msgstr "" - -#: ../build/NEWS:29476 ../build/NEWS:31939 -msgid "" -":issue:`26581`: If coding cookie is specified multiple times on a line in " -"Python source code file, only the first one is taken to account." -msgstr "" - -#: ../build/NEWS:29479 -msgid ":issue:`19711`: Add tests for reloading namespace packages." -msgstr "" - -#: ../build/NEWS:29481 -msgid "" -":issue:`21099`: Switch applicable importlib tests to use :pep:`451` API." -msgstr "" - -#: ../build/NEWS:29483 -msgid "" -":issue:`26563`: Debug hooks on Python memory allocators now raise a fatal " -"error if functions of the :c:func:`PyMem_Malloc` family are called without " -"holding the GIL." -msgstr "" - -#: ../build/NEWS:29487 -msgid "" -":issue:`26564`: On error, the debug hooks on Python memory allocators now " -"use the :mod:`tracemalloc` module to get the traceback where a memory block " -"was allocated." -msgstr "" - -#: ../build/NEWS:29491 -msgid "" -":issue:`26558`: The debug hooks on Python memory allocator :c:func:" -"`PyObject_Malloc` now detect when functions are called without holding the " -"GIL." -msgstr "" - -#: ../build/NEWS:29495 -msgid "" -":issue:`26516`: Add :envvar:`PYTHONMALLOC` environment variable to set the " -"Python memory allocators and/or install debug hooks." -msgstr "" - -#: ../build/NEWS:29498 -msgid "" -":issue:`26516`: The :c:func:`PyMem_SetupDebugHooks` function can now also be " -"used on Python compiled in release mode." -msgstr "" - -#: ../build/NEWS:29501 -msgid "" -":issue:`26516`: The :envvar:`PYTHONMALLOCSTATS` environment variable can now " -"also be used on Python compiled in release mode. It now has no effect if set " -"to an empty string." -msgstr "" - -#: ../build/NEWS:29505 -msgid "" -":issue:`26516`: In debug mode, debug hooks are now also installed on Python " -"memory allocators when Python is configured without pymalloc." -msgstr "" - -#: ../build/NEWS:29508 ../build/NEWS:31942 -msgid "" -":issue:`26464`: Fix str.translate() when string is ASCII and first " -"replacements removes character, but next replacement uses a non-ASCII " -"character or a string longer than 1 character. Regression introduced in " -"Python 3.5.0." -msgstr "" - -#: ../build/NEWS:29512 ../build/NEWS:31946 -msgid "" -":issue:`22836`: Ensure exception reports from PyErr_Display() and " -"PyErr_WriteUnraisable() are sensible even when formatting them produces " -"secondary errors. This affects the reports produced by sys.__excepthook__() " -"and when __del__() raises an exception." -msgstr "" - -#: ../build/NEWS:29517 ../build/NEWS:31951 -msgid "" -":issue:`26302`: Correct behavior to reject comma as a legal character for " -"cookie names." -msgstr "" - -#: ../build/NEWS:29520 -msgid "" -":issue:`26136`: Upgrade the warning when a generator raises StopIteration " -"from PendingDeprecationWarning to DeprecationWarning. Patch by Anish Shah." -msgstr "" - -#: ../build/NEWS:29523 -msgid "" -":issue:`26204`: The compiler now ignores all constant statements: bytes, " -"str, int, float, complex, name constants (None, False, True), Ellipsis and " -"ast.Constant; not only str and int. For example, ``1.0`` is now ignored in " -"``def f(): 1.0``." -msgstr "" - -#: ../build/NEWS:29528 ../build/NEWS:31954 -msgid "" -":issue:`4806`: Avoid masking the original TypeError exception when using " -"star (``*``) unpacking in function calls. Based on patch by Hagen Fürstenau " -"and Daniel Urban." -msgstr "" - -#: ../build/NEWS:29532 -msgid "" -":issue:`26146`: Add a new kind of AST node: ``ast.Constant``. It can be used " -"by external AST optimizers, but the compiler does not emit directly such " -"node." -msgstr "" - -#: ../build/NEWS:29536 -msgid "" -":issue:`23601`: Sped-up allocation of dict key objects by using Python's " -"small object allocator. (Contributed by Julian Taylor.)" -msgstr "" - -#: ../build/NEWS:29539 -msgid "" -":issue:`18018`: Import raises ImportError instead of SystemError if a " -"relative import is attempted without a known parent package." -msgstr "" - -#: ../build/NEWS:29542 -msgid "" -":issue:`25843`: When compiling code, don't merge constants if they are equal " -"but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` " -"is now correctly compiled to two different functions: ``f1()`` returns ``1`` " -"(``int``) and ``f2()`` returns ``1.0`` (``float``), even if ``1`` and " -"``1.0`` are equal." -msgstr "" - -#: ../build/NEWS:29548 -msgid "" -":issue:`26107`: The format of the ``co_lnotab`` attribute of code objects " -"changes to support negative line number delta." -msgstr "" - -#: ../build/NEWS:29551 ../build/NEWS:31960 -msgid "" -":issue:`26154`: Add a new private _PyThreadState_UncheckedGet() function to " -"get the current Python thread state, but don't issue a fatal error if it is " -"NULL. This new function must be used instead of accessing directly the " -"_PyThreadState_Current variable. The variable is no more exposed since " -"Python 3.5.1 to hide the exact implementation of atomic C types, to avoid " -"compiler issues." -msgstr "" - -#: ../build/NEWS:29558 -msgid "" -":issue:`25791`: If __package__ != __spec__.parent or if neither __package__ " -"or __spec__ are defined then ImportWarning is raised." -msgstr "" - -#: ../build/NEWS:29561 ../build/NEWS:31977 -msgid "" -":issue:`22995`: [UPDATE] Comment out the one of the pickleability tests in " -"_PyObject_GetState() due to regressions observed in Cython-based projects." -msgstr "" - -#: ../build/NEWS:29564 ../build/NEWS:31980 -msgid ":issue:`25961`: Disallowed null characters in the type name." -msgstr "" - -#: ../build/NEWS:29566 ../build/NEWS:31982 -msgid "" -":issue:`25973`: Fix segfault when an invalid nonlocal statement binds a name " -"starting with two underscores." -msgstr "" - -#: ../build/NEWS:29569 ../build/NEWS:31985 -msgid "" -":issue:`22995`: Instances of extension types with a state that aren't " -"subclasses of list or dict and haven't implemented any pickle-related " -"methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or " -"__getstate__), can no longer be pickled. Including memoryview." -msgstr "" - -#: ../build/NEWS:29574 ../build/NEWS:31990 -msgid "" -":issue:`20440`: Massive replacing unsafe attribute setting code with special " -"macro Py_SETREF." -msgstr "" - -#: ../build/NEWS:29577 ../build/NEWS:31993 -msgid ":issue:`25766`: Special method __bytes__() now works in str subclasses." -msgstr "" - -#: ../build/NEWS:29579 ../build/NEWS:31995 -msgid "" -":issue:`25421`: __sizeof__ methods of builtin types now use dynamic basic " -"size. This allows sys.getsize() to work correctly with their subclasses with " -"__slots__ defined." -msgstr "" - -#: ../build/NEWS:29583 ../build/NEWS:31999 ../build/NEWS:32609 -msgid "" -":issue:`25709`: Fixed problem with in-place string concatenation and utf-8 " -"cache." -msgstr "" - -#: ../build/NEWS:29586 -msgid "" -":issue:`5319`: New Py_FinalizeEx() API allowing Python to set an exit status " -"of 120 on failure to flush buffered streams." -msgstr "" - -#: ../build/NEWS:29589 -msgid ":issue:`25485`: telnetlib.Telnet is now a context manager." -msgstr "" - -#: ../build/NEWS:29591 ../build/NEWS:32004 -msgid "" -":issue:`24097`: Fixed crash in object.__reduce__() if slot name is freed " -"inside __getattr__." -msgstr "" - -#: ../build/NEWS:29594 ../build/NEWS:32007 -msgid "" -":issue:`24731`: Fixed crash on converting objects with special methods " -"__bytes__, __trunc__, and __float__ returning instances of subclasses of " -"bytes, int, and float to subclasses of bytes, int, and float correspondingly." -msgstr "" - -#: ../build/NEWS:29599 ../build/NEWS:32627 -msgid "" -":issue:`25630`: Fix a possible segfault during argument parsing in functions " -"that accept filesystem paths." -msgstr "" - -#: ../build/NEWS:29602 ../build/NEWS:32630 -msgid "" -":issue:`23564`: Fixed a partially broken sanity check in the " -"_posixsubprocess internals regarding how fds_to_pass were passed to the " -"child. The bug had no actual impact as subprocess.py already avoided it." -msgstr "" - -#: ../build/NEWS:29606 ../build/NEWS:32634 -msgid "" -":issue:`25388`: Fixed tokenizer crash when processing undecodable source " -"code with a null byte." -msgstr "" - -#: ../build/NEWS:29609 ../build/NEWS:32637 -msgid "" -":issue:`25462`: The hash of the key now is calculated only once in most " -"operations in C implementation of OrderedDict." -msgstr "" - -#: ../build/NEWS:29612 ../build/NEWS:32640 -msgid "" -":issue:`22995`: Default implementation of __reduce__ and __reduce_ex__ now " -"rejects builtin types with not defined __new__." -msgstr "" - -#: ../build/NEWS:29615 ../build/NEWS:32646 -msgid "" -":issue:`24802`: Avoid buffer overreads when int(), float(), compile(), " -"exec() and eval() are passed bytes-like objects. These objects are not " -"necessarily terminated by a null byte, but the functions assumed they were." -msgstr "" - -#: ../build/NEWS:29620 ../build/NEWS:32643 -msgid "" -":issue:`25555`: Fix parser and AST: fill lineno and col_offset of \"arg\" " -"node when compiling AST from Python objects." -msgstr "" - -#: ../build/NEWS:29623 ../build/NEWS:32651 -msgid "" -":issue:`24726`: Fixed a crash and leaking NULL in repr() of OrderedDict that " -"was mutated by direct calls of dict methods." -msgstr "" - -#: ../build/NEWS:29626 ../build/NEWS:32654 -msgid "" -":issue:`25449`: Iterating OrderedDict with keys with unstable hash now " -"raises KeyError in C implementations as well as in Python implementation." -msgstr "" - -#: ../build/NEWS:29629 ../build/NEWS:32657 -msgid "" -":issue:`25395`: Fixed crash when highly nested OrderedDict structures were " -"garbage collected." -msgstr "" - -#: ../build/NEWS:29632 -msgid "" -":issue:`25401`: Optimize bytes.fromhex() and bytearray.fromhex(): they are " -"now between 2x and 3.5x faster." -msgstr "" - -#: ../build/NEWS:29635 -msgid "" -":issue:`25399`: Optimize bytearray % args using the new private " -"_PyBytesWriter API. Formatting is now between 2.5 and 5 times faster." -msgstr "" - -#: ../build/NEWS:29638 ../build/NEWS:32660 -msgid "" -":issue:`25274`: sys.setrecursionlimit() now raises a RecursionError if the " -"new recursion limit is too low depending at the current recursion depth. " -"Modify also the \"lower-water mark\" formula to make it monotonic. This mark " -"is used to decide when the overflowed flag of the thread state is reset." -msgstr "" - -#: ../build/NEWS:29643 ../build/NEWS:32665 -msgid "" -":issue:`24402`: Fix input() to prompt to the redirected stdout when sys." -"stdout.fileno() fails." -msgstr "" - -#: ../build/NEWS:29646 -msgid "" -":issue:`25349`: Optimize bytes % args using the new private _PyBytesWriter " -"API. Formatting is now up to 2 times faster." -msgstr "" - -#: ../build/NEWS:29649 ../build/NEWS:32668 -msgid "" -":issue:`24806`: Prevent builtin types that are not allowed to be subclassed " -"from being subclassed through multiple inheritance." -msgstr "" - -#: ../build/NEWS:29652 -msgid "" -":issue:`25301`: The UTF-8 decoder is now up to 15 times as fast for error " -"handlers: ``ignore``, ``replace`` and ``surrogateescape``." -msgstr "" - -#: ../build/NEWS:29655 ../build/NEWS:32671 -msgid "" -":issue:`24848`: Fixed a number of bugs in UTF-7 decoding of misformed data." -msgstr "" - -#: ../build/NEWS:29657 -msgid "" -":issue:`25267`: The UTF-8 encoder is now up to 75 times as fast for error " -"handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``. " -"Patch co-written with Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:29661 ../build/NEWS:32673 -msgid "" -":issue:`25280`: Import trace messages emitted in verbose (-v) mode are no " -"longer formatted twice." -msgstr "" - -#: ../build/NEWS:29664 -msgid "" -":issue:`25227`: Optimize ASCII and latin1 encoders with the " -"``surrogateescape`` error handler: the encoders are now up to 3 times as " -"fast. Initial patch written by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:29668 ../build/NEWS:32676 -msgid "" -":issue:`25003`: On Solaris 11.3 or newer, os.urandom() now uses the " -"getrandom() function instead of the getentropy() function. The getentropy() " -"function is blocking to generate very good quality entropy, os.urandom() " -"doesn't need such high-quality entropy." -msgstr "" - -#: ../build/NEWS:29673 -msgid "" -":issue:`9232`: Modify Python's grammar to allow trailing commas in the " -"argument list of a function declaration. For example, \"def f(\\*, a = 3,): " -"pass\" is now legal. Patch from Mark Dickinson." -msgstr "" - -#: ../build/NEWS:29677 -msgid "" -":issue:`24965`: Implement :pep:`498` \"Literal String Interpolation\". This " -"allows you to embed expressions inside f-strings, which are converted to " -"normal strings at run time. Given x=3, then f'value={x}' == 'value=3'. Patch " -"by Eric V. Smith." -msgstr "" - -#: ../build/NEWS:29682 ../build/NEWS:32012 -msgid "" -":issue:`26478`: Fix semantic bugs when using binary operators with " -"dictionary views and tuples." -msgstr "" - -#: ../build/NEWS:29685 ../build/NEWS:32015 -msgid "" -":issue:`26171`: Fix possible integer overflow and heap corruption in " -"zipimporter.get_data()." -msgstr "" - -#: ../build/NEWS:29688 ../build/NEWS:32018 -msgid ":issue:`25660`: Fix TAB key behaviour in REPL with readline." -msgstr "" - -#: ../build/NEWS:29690 -msgid ":issue:`26288`: Optimize PyLong_AsDouble." -msgstr "" - -#: ../build/NEWS:29692 -msgid "" -":issue:`26289`: Optimize floor and modulo division for single-digit longs. " -"Microbenchmarks show 2-2.5x improvement. Built-in 'divmod' function is now " -"also ~10% faster. (See also: :issue:`26315`)" -msgstr "" - -#: ../build/NEWS:29696 ../build/NEWS:32020 -msgid "" -":issue:`25887`: Raise a RuntimeError when a coroutine object is awaited more " -"than once." -msgstr "" - -#: ../build/NEWS:29702 ../build/NEWS:32076 -msgid "" -":issue:`27057`: Fix os.set_inheritable() on Android, ioctl() is blocked by " -"SELinux and fails with EACCESS. The function now falls back to fcntl(). " -"Patch written by Michał Bednarski." -msgstr "" - -#: ../build/NEWS:29706 ../build/NEWS:32080 -msgid "" -":issue:`27014`: Fix infinite recursion using typing.py. Thanks to Kalle " -"Tuure!" -msgstr "" - -#: ../build/NEWS:29708 -msgid "" -":issue:`27031`: Removed dummy methods in Tkinter widget classes: " -"tk_menuBar() and tk_bindForTraversal()." -msgstr "" - -#: ../build/NEWS:29711 ../build/NEWS:32082 -msgid "" -":issue:`14132`: Fix urllib.request redirect handling when the target only " -"has a query string. Original fix by Ján Janech." -msgstr "" - -#: ../build/NEWS:29714 ../build/NEWS:32085 -msgid "" -":issue:`17214`: The \"urllib.request\" module now percent-encodes non-ASCII " -"bytes found in redirect target URLs. Some servers send Location header " -"fields with non-ASCII bytes, but \"http.client\" requires the request target " -"to be ASCII-encodable, otherwise a UnicodeEncodeError is raised. Based on " -"patch by Christian Heimes." -msgstr "" - -#: ../build/NEWS:29720 -msgid "" -":issue:`27033`: The default value of the decode_data parameter for smtpd." -"SMTPChannel and smtpd.SMTPServer constructors is changed to False." -msgstr "" - -#: ../build/NEWS:29723 -msgid ":issue:`27034`: Removed deprecated class asynchat.fifo." -msgstr "" - -#: ../build/NEWS:29725 -msgid "" -":issue:`26870`: Added readline.set_auto_history(), which can stop entries " -"being automatically added to the history list. Based on patch by Tyler " -"Crompton." -msgstr "" - -#: ../build/NEWS:29729 -msgid "" -":issue:`26039`: zipfile.ZipFile.open() can now be used to write data into a " -"ZIP file, as well as for extracting data. Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:29732 ../build/NEWS:32091 -msgid "" -":issue:`26892`: Honor debuglevel flag in urllib.request.HTTPHandler. Patch " -"contributed by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:29735 ../build/NEWS:32094 -msgid "" -":issue:`22274`: In the subprocess module, allow stderr to be redirected to " -"stdout even when stdout is not redirected. Patch by Akira Li." -msgstr "" - -#: ../build/NEWS:29738 ../build/NEWS:32097 -msgid "" -":issue:`26807`: mock_open 'files' no longer error on readline at end of " -"file. Patch from Yolanda Robla." -msgstr "" - -#: ../build/NEWS:29741 ../build/NEWS:32100 -msgid ":issue:`25745`: Fixed leaking a userptr in curses panel destructor." -msgstr "" - -#: ../build/NEWS:29743 ../build/NEWS:32102 -msgid "" -":issue:`26977`: Removed unnecessary, and ignored, call to sum of squares " -"helper in statistics.pvariance." -msgstr "" - -#: ../build/NEWS:29746 -msgid "" -":issue:`26002`: Use bisect in statistics.median instead of a linear search. " -"Patch by Upendra Kuma." -msgstr "" - -#: ../build/NEWS:29749 -msgid "" -":issue:`25974`: Make use of new Decimal.as_integer_ratio() method in " -"statistics module. Patch by Stefan Krah." -msgstr "" - -#: ../build/NEWS:29752 -msgid ":issue:`26996`: Add secrets module as described in :pep:`506`." -msgstr "" - -#: ../build/NEWS:29754 ../build/NEWS:32105 -msgid "" -":issue:`26881`: The modulefinder module now supports extended opcode " -"arguments." -msgstr "" - -#: ../build/NEWS:29756 ../build/NEWS:32107 -msgid "" -":issue:`23815`: Fixed crashes related to directly created instances of types " -"in _tkinter and curses.panel modules." -msgstr "" - -#: ../build/NEWS:29759 ../build/NEWS:32110 -msgid "" -":issue:`17765`: weakref.ref() no longer silently ignores keyword arguments. " -"Patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:29762 ../build/NEWS:32113 -msgid "" -":issue:`26873`: xmlrpc now raises ResponseError on unsupported type tags " -"instead of silently return incorrect result." -msgstr "" - -#: ../build/NEWS:29765 -msgid "" -":issue:`26915`: The __contains__ methods in the collections ABCs now check " -"for identity before checking equality. This better matches the behavior of " -"the concrete classes, allows sensible handling of NaNs, and makes it easier " -"to reason about container invariants." -msgstr "" - -#: ../build/NEWS:29770 ../build/NEWS:32116 -msgid ":issue:`26711`: Fixed the comparison of plistlib.Data with other types." -msgstr "" - -#: ../build/NEWS:29772 ../build/NEWS:32118 -msgid "" -":issue:`24114`: Fix an uninitialized variable in `ctypes.util`. The bug only " -"occurs on SunOS when the ctypes implementation searches for the `crle` " -"program. Patch by Xiang Zhang. Tested on SunOS by Kees Bos." -msgstr "" - -#: ../build/NEWS:29776 ../build/NEWS:32122 -msgid "" -":issue:`26864`: In urllib.request, change the proxy bypass host checking " -"against no_proxy to be case-insensitive, and to not match unrelated host " -"names that happen to have a bypassed hostname as a suffix. Patch by Xiang " -"Zhang." -msgstr "" - -#: ../build/NEWS:29781 -msgid "" -":issue:`24902`: Print server URL on http.server startup. Initial patch by " -"Felix Kaiser." -msgstr "" - -#: ../build/NEWS:29784 -msgid "" -":issue:`25788`: fileinput.hook_encoded() now supports an \"errors\" argument " -"for passing to open. Original patch by Joseph Hackman." -msgstr "" - -#: ../build/NEWS:29787 ../build/NEWS:32127 -msgid "" -":issue:`26634`: recursive_repr() now sets __qualname__ of wrapper. Patch by " -"Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29790 ../build/NEWS:32130 -msgid "" -":issue:`26804`: urllib.request will prefer lower_case proxy environment " -"variables over UPPER_CASE or Mixed_Case ones. Patch contributed by Hans-" -"Peter Jansen." -msgstr "" - -#: ../build/NEWS:29794 ../build/NEWS:32134 -msgid "" -":issue:`26837`: assertSequenceEqual() now correctly outputs non-stringified " -"differing items (like bytes in the -b mode). This affects assertListEqual() " -"and assertTupleEqual()." -msgstr "" - -#: ../build/NEWS:29798 ../build/NEWS:32138 -msgid "" -":issue:`26041`: Remove \"will be removed in Python 3.7\" from deprecation " -"messages of platform.dist() and platform.linux_distribution(). Patch by " -"Kumaripaba Miyurusara Athukorala." -msgstr "" - -#: ../build/NEWS:29802 ../build/NEWS:32142 -msgid "" -":issue:`26822`: itemgetter, attrgetter and methodcaller objects no longer " -"silently ignore keyword arguments." -msgstr "" - -#: ../build/NEWS:29805 ../build/NEWS:32145 -msgid "" -":issue:`26733`: Disassembling a class now disassembles class and static " -"methods. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29808 ../build/NEWS:32148 -msgid "" -":issue:`26801`: Fix error handling in :func:`shutil.get_terminal_size`, " -"catch :exc:`AttributeError` instead of :exc:`NameError`. Patch written by " -"Emanuel Barry." -msgstr "" - -#: ../build/NEWS:29812 ../build/NEWS:32152 -msgid "" -":issue:`24838`: tarfile's ustar and gnu formats now correctly calculate name " -"and link field limits for multibyte character encodings like utf-8." -msgstr "" - -#: ../build/NEWS:29815 ../build/NEWS:32155 -msgid "" -":issue:`26717`: Stop encoding Latin-1-ized WSGI paths with UTF-8. Patch by " -"Anthony Sottile." -msgstr "" - -#: ../build/NEWS:29818 -msgid ":issue:`26782`: Add STARTUPINFO to subprocess.__all__ on Windows." -msgstr "" - -#: ../build/NEWS:29820 -msgid "" -":issue:`26404`: Add context manager to socketserver. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:29822 ../build/NEWS:32158 -msgid "" -":issue:`26735`: Fix :func:`os.urandom` on Solaris 11.3 and newer when " -"reading more than 1,024 bytes: call ``getrandom()`` multiple times with a " -"limit of 1024 bytes per call." -msgstr "" - -#: ../build/NEWS:29826 -msgid "" -":issue:`26585`: Eliminate http.server._quote_html() and use html." -"escape(quote=False). Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29829 -msgid ":issue:`26685`: Raise OSError if closing a socket fails." -msgstr "" - -#: ../build/NEWS:29831 ../build/NEWS:32162 -msgid "" -":issue:`16329`: Add .webm to mimetypes.types_map. Patch by Giampaolo " -"Rodola'." -msgstr "" - -#: ../build/NEWS:29833 ../build/NEWS:32164 -msgid "" -":issue:`13952`: Add .csv to mimetypes.types_map. Patch by Geoff Wilson." -msgstr "" - -#: ../build/NEWS:29835 -msgid "" -":issue:`26587`: the site module now allows .pth files to specify files to be " -"added to sys.path (e.g. zip files)." -msgstr "" - -#: ../build/NEWS:29838 -msgid "" -":issue:`25609`: Introduce contextlib.AbstractContextManager and typing." -"ContextManager." -msgstr "" - -#: ../build/NEWS:29841 ../build/NEWS:32166 -msgid ":issue:`26709`: Fixed Y2038 problem in loading binary PLists." -msgstr "" - -#: ../build/NEWS:29843 ../build/NEWS:32168 -msgid "" -":issue:`23735`: Handle terminal resizing with Readline 6.3+ by installing " -"our own SIGWINCH handler. Patch by Eric Price." -msgstr "" - -#: ../build/NEWS:29846 -msgid "" -":issue:`25951`: Change SSLSocket.sendall() to return None, as explicitly " -"documented for plain socket objects. Patch by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:29849 ../build/NEWS:32171 -msgid "" -":issue:`26586`: In http.server, respond with \"413 Request header fields too " -"large\" if there are too many header fields to parse, rather than killing " -"the connection and raising an unhandled exception. Patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29853 -msgid ":issue:`26676`: Added missing XMLPullParser to ElementTree.__all__." -msgstr "" - -#: ../build/NEWS:29855 ../build/NEWS:32175 -msgid "" -":issue:`22854`: Change BufferedReader.writable() and BufferedWriter." -"readable() to always return False." -msgstr "" - -#: ../build/NEWS:29858 -msgid "" -":issue:`26492`: Exhausted iterator of array.array now conforms with the " -"behavior of iterators of other mutable sequences: it lefts exhausted even if " -"iterated array is extended." -msgstr "" - -#: ../build/NEWS:29862 -msgid "" -":issue:`26641`: doctest.DocFileTest and doctest.testfile() now support " -"packages (module splitted into multiple directories) for the package " -"parameter." -msgstr "" - -#: ../build/NEWS:29865 ../build/NEWS:32178 -msgid "" -":issue:`25195`: Fix a regression in mock.MagicMock. _Call is a subclass of " -"tuple (changeset 3603bae63c13 only works for classes) so we need to " -"implement __ne__ ourselves. Patch by Andrew Plummer." -msgstr "" - -#: ../build/NEWS:29869 ../build/NEWS:32182 -msgid "" -":issue:`26644`: Raise ValueError rather than SystemError when a negative " -"length is passed to SSLSocket.recv() or read()." -msgstr "" - -#: ../build/NEWS:29872 ../build/NEWS:32185 -msgid "" -":issue:`23804`: Fix SSL recv(0) and read(0) methods to return zero bytes " -"instead of up to 1024." -msgstr "" - -#: ../build/NEWS:29875 ../build/NEWS:32188 -msgid ":issue:`26616`: Fixed a bug in datetime.astimezone() method." -msgstr "" - -#: ../build/NEWS:29877 -msgid "" -":issue:`26637`: The :mod:`importlib` module now emits an :exc:`ImportError` " -"rather than a :exc:`TypeError` if :func:`__import__` is tried during the " -"Python shutdown process but :data:`sys.path` is already cleared (set to " -"``None``)." -msgstr "" - -#: ../build/NEWS:29882 -msgid "" -":issue:`21925`: :func:`warnings.formatwarning` now catches exceptions when " -"calling :func:`linecache.getline` and :func:`tracemalloc." -"get_object_traceback` to be able to log :exc:`ResourceWarning` emitted late " -"during the Python shutdown process." -msgstr "" - -#: ../build/NEWS:29887 -msgid "" -":issue:`23848`: On Windows, faulthandler.enable() now also installs an " -"exception handler to dump the traceback of all Python threads on any Windows " -"exception, not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT)." -msgstr "" - -#: ../build/NEWS:29891 -msgid "" -":issue:`26530`: Add C functions :c:func:`_PyTraceMalloc_Track` and :c:func:" -"`_PyTraceMalloc_Untrack` to track memory blocks using the :mod:`tracemalloc` " -"module. Add :c:func:`_PyTraceMalloc_GetTraceback` to get the traceback of an " -"object." -msgstr "" - -#: ../build/NEWS:29896 -msgid "" -":issue:`26588`: The _tracemalloc now supports tracing memory allocations of " -"multiple address spaces (domains)." -msgstr "" - -#: ../build/NEWS:29899 ../build/NEWS:32194 -msgid "" -":issue:`24266`: Ctrl+C during Readline history search now cancels the search " -"mode when compiled with Readline 7." -msgstr "" - -#: ../build/NEWS:29902 -msgid "" -":issue:`26590`: Implement a safe finalizer for the _socket.socket type. It " -"now releases the GIL to close the socket." -msgstr "" - -#: ../build/NEWS:29905 -msgid "" -":issue:`18787`: spwd.getspnam() now raises a PermissionError if the user " -"doesn't have privileges." -msgstr "" - -#: ../build/NEWS:29908 ../build/NEWS:32197 -msgid "" -":issue:`26560`: Avoid potential ValueError in BaseHandler.start_response. " -"Initial patch by Peter Inglesby." -msgstr "" - -#: ../build/NEWS:29911 -msgid "" -":issue:`26567`: Add a new function :c:func:`PyErr_ResourceWarning` function " -"to pass the destroyed object. Add a *source* attribute to :class:`warnings." -"WarningMessage`. Add warnings._showwarnmsg() which uses tracemalloc to get " -"the traceback where source object was allocated." -msgstr "" - -#: ../build/NEWS:29916 ../build/NEWS:32200 -msgid "" -":issue:`26569`: Fix :func:`pyclbr.readmodule` and :func:`pyclbr." -"readmodule_ex` to support importing packages." -msgstr "" - -#: ../build/NEWS:29919 ../build/NEWS:32203 -msgid "" -":issue:`26499`: Account for remaining Content-Length in HTTPResponse." -"readline() and read1(). Based on patch by Silent Ghost. Also document that " -"HTTPResponse now supports these methods." -msgstr "" - -#: ../build/NEWS:29923 ../build/NEWS:32207 -msgid "" -":issue:`25320`: Handle sockets in directories unittest discovery is " -"scanning. Patch from Victor van den Elzen." -msgstr "" - -#: ../build/NEWS:29926 ../build/NEWS:32210 -msgid "" -":issue:`16181`: cookiejar.http2time() now returns None if year is higher " -"than datetime.MAXYEAR." -msgstr "" - -#: ../build/NEWS:29929 ../build/NEWS:32213 -msgid ":issue:`26513`: Fixes platform module detection of Windows Server" -msgstr "" - -#: ../build/NEWS:29931 ../build/NEWS:32215 -msgid "" -":issue:`23718`: Fixed parsing time in week 0 before Jan 1. Original patch " -"by Tamás Bence Gedai." -msgstr "" - -#: ../build/NEWS:29934 -msgid "" -":issue:`26323`: Add Mock.assert_called() and Mock.assert_called_once() " -"methods to unittest.mock. Patch written by Amit Saha." -msgstr "" - -#: ../build/NEWS:29937 ../build/NEWS:32218 -msgid "" -":issue:`20589`: Invoking Path.owner() and Path.group() on Windows now raise " -"NotImplementedError instead of ImportError." -msgstr "" - -#: ../build/NEWS:29940 ../build/NEWS:32221 -msgid "" -":issue:`26177`: Fixed the keys() method for Canvas and Scrollbar widgets." -msgstr "" - -#: ../build/NEWS:29942 -msgid "" -":issue:`15068`: Got rid of excessive buffering in fileinput. The bufsize " -"parameter is now deprecated and ignored." -msgstr "" - -#: ../build/NEWS:29945 -msgid "" -":issue:`19475`: Added an optional argument timespec to the datetime " -"isoformat() method to choose the precision of the time component." -msgstr "" - -#: ../build/NEWS:29948 ../build/NEWS:32226 -msgid "" -":issue:`2202`: Fix UnboundLocalError in AbstractDigestAuthHandler." -"get_algorithm_impls. Initial patch by Mathieu Dupuy." -msgstr "" - -#: ../build/NEWS:29952 -msgid "" -":issue:`26167`: Minimized overhead in copy.copy() and copy.deepcopy(). " -"Optimized copying and deepcopying bytearrays, NotImplemented, slices, short " -"lists, tuples, dicts, sets." -msgstr "" - -#: ../build/NEWS:29956 ../build/NEWS:32230 -msgid "" -":issue:`25718`: Fixed pickling and copying the accumulate() iterator with " -"total is None." -msgstr "" - -#: ../build/NEWS:29959 ../build/NEWS:32233 -msgid "" -":issue:`26475`: Fixed debugging output for regular expressions with the (?x) " -"flag." -msgstr "" - -#: ../build/NEWS:29962 -msgid ":issue:`26482`: Allowed pickling recursive dequeues." -msgstr "" - -#: ../build/NEWS:29964 -msgid "" -":issue:`26335`: Make mmap.write() return the number of bytes written like " -"other write methods. Patch by Jakub Stasiak." -msgstr "" - -#: ../build/NEWS:29967 ../build/NEWS:32236 -msgid "" -":issue:`26457`: Fixed the subnets() methods in IP network classes for the " -"case when resulting prefix length is equal to maximal prefix length. Based " -"on patch by Xiang Zhang." -msgstr "" - -#: ../build/NEWS:29971 ../build/NEWS:32240 -msgid "" -":issue:`26385`: Remove the file if the internal open() call in " -"NamedTemporaryFile() fails. Patch by Silent Ghost." -msgstr "" - -#: ../build/NEWS:29974 ../build/NEWS:32243 -msgid "" -":issue:`26402`: Fix XML-RPC client to retry when the server shuts down a " -"persistent connection. This was a regression related to the new http.client." -"RemoteDisconnected exception in 3.5.0a4." -msgstr "" - -#: ../build/NEWS:29978 ../build/NEWS:32247 -msgid "" -":issue:`25913`: Leading ``<~`` is optional now in base64.a85decode() with " -"adobe=True. Patch by Swati Jaiswal." -msgstr "" - -#: ../build/NEWS:29981 ../build/NEWS:32250 -msgid "" -":issue:`26186`: Remove an invalid type check in importlib.util.LazyLoader." -msgstr "" - -#: ../build/NEWS:29983 -msgid "" -":issue:`26367`: importlib.__import__() raises ImportError like builtins." -"__import__() when ``level`` is specified but without an accompanying package " -"specified." -msgstr "" - -#: ../build/NEWS:29987 ../build/NEWS:32256 -msgid "" -":issue:`26309`: In the \"socketserver\" module, shut down the request " -"(closing the connected socket) when verify_request() returns false. Patch " -"by Aviv Palivoda." -msgstr "" - -#: ../build/NEWS:29991 -msgid "" -":issue:`23430`: Change the socketserver module to only catch exceptions " -"raised from a request handler that are derived from Exception (instead of " -"BaseException). Therefore SystemExit and KeyboardInterrupt no longer trigger " -"the handle_error() method, and will now to stop a single-threaded server." -msgstr "" - -#: ../build/NEWS:29997 ../build/NEWS:32260 -msgid "" -":issue:`25995`: os.walk() no longer uses FDs proportional to the tree depth." -msgstr "" - -#: ../build/NEWS:29999 -msgid "" -":issue:`25994`: Added the close() method and the support of the context " -"manager protocol for the os.scandir() iterator." -msgstr "" - -#: ../build/NEWS:30002 -msgid "" -":issue:`23992`: multiprocessing: make MapResult not fail-fast upon exception." -msgstr "" - -#: ../build/NEWS:30004 -msgid "" -":issue:`26243`: Support keyword arguments to zlib.compress(). Patch by Aviv " -"Palivoda." -msgstr "" - -#: ../build/NEWS:30007 ../build/NEWS:32262 -msgid "" -":issue:`26117`: The os.scandir() iterator now closes file descriptor not " -"only when the iteration is finished, but when it was failed with error." -msgstr "" - -#: ../build/NEWS:30010 -msgid "" -":issue:`25949`: __dict__ for an OrderedDict instance is now created only " -"when needed." -msgstr "" - -#: ../build/NEWS:30013 ../build/NEWS:32265 -msgid "" -":issue:`25911`: Restored support of bytes paths in os.walk() on Windows." -msgstr "" - -#: ../build/NEWS:30015 ../build/NEWS:32267 -msgid "" -":issue:`26045`: Add UTF-8 suggestion to error message when posting a non-" -"Latin-1 string with http.client." -msgstr "" - -#: ../build/NEWS:30018 -msgid "" -":issue:`26039`: Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo." -"is_dir(). Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:30021 ../build/NEWS:32270 -msgid "" -":issue:`12923`: Reset FancyURLopener's redirect counter even if there is an " -"exception. Based on patches by Brian Brazil and Daniel Rocco." -msgstr "" - -#: ../build/NEWS:30024 ../build/NEWS:32273 -msgid "" -":issue:`25945`: Fixed a crash when unpickle the functools.partial object " -"with wrong state. Fixed a leak in failed functools.partial constructor. " -"\"args\" and \"keywords\" attributes of functools.partial have now always " -"types tuple and dict correspondingly." -msgstr "" - -#: ../build/NEWS:30029 ../build/NEWS:32278 -msgid "" -":issue:`26202`: copy.deepcopy() now correctly copies range() objects with " -"non-atomic attributes." -msgstr "" - -#: ../build/NEWS:30032 ../build/NEWS:32281 -msgid "" -":issue:`23076`: Path.glob() now raises a ValueError if it's called with an " -"invalid pattern. Patch by Thomas Nyberg." -msgstr "" - -#: ../build/NEWS:30035 ../build/NEWS:32284 -msgid ":issue:`19883`: Fixed possible integer overflows in zipimport." -msgstr "" - -#: ../build/NEWS:30037 ../build/NEWS:32286 -msgid "" -":issue:`26227`: On Windows, getnameinfo(), gethostbyaddr() and " -"gethostbyname_ex() functions of the socket module now decode the hostname " -"from the ANSI code page rather than UTF-8." -msgstr "" - -#: ../build/NEWS:30041 -msgid "" -":issue:`26099`: The site module now writes an error into stderr if " -"sitecustomize module can be imported but executing the module raise an " -"ImportError. Same change for usercustomize." -msgstr "" - -#: ../build/NEWS:30045 ../build/NEWS:32290 -msgid "" -":issue:`26147`: xmlrpc now works with strings not encodable with used non-" -"UTF-8 encoding." -msgstr "" - -#: ../build/NEWS:30048 ../build/NEWS:32293 -msgid "" -":issue:`25935`: Garbage collector now breaks reference loops with " -"OrderedDict." -msgstr "" - -#: ../build/NEWS:30050 ../build/NEWS:32295 -msgid ":issue:`16620`: Fixed AttributeError in msilib.Directory.glob()." -msgstr "" - -#: ../build/NEWS:30052 ../build/NEWS:32297 -msgid "" -":issue:`26013`: Added compatibility with broken protocol 2 pickles created " -"in old Python 3 versions (3.4.3 and lower)." -msgstr "" - -#: ../build/NEWS:30055 -msgid ":issue:`26129`: Deprecated accepting non-integers in grp.getgrgid()." -msgstr "" - -#: ../build/NEWS:30057 ../build/NEWS:32300 -msgid ":issue:`25850`: Use cross-compilation by default for 64-bit Windows." -msgstr "" - -#: ../build/NEWS:30059 -msgid "" -":issue:`25822`: Add docstrings to the fields of urllib.parse results. Patch " -"contributed by Swati Jaiswal." -msgstr "" - -#: ../build/NEWS:30062 -msgid "" -":issue:`22642`: Convert trace module option parsing mechanism to argparse. " -"Patch contributed by SilentGhost." -msgstr "" - -#: ../build/NEWS:30065 ../build/NEWS:32304 -msgid "" -":issue:`24705`: Fix sysconfig._parse_makefile not expanding ${} vars " -"appearing before $() vars." -msgstr "" - -#: ../build/NEWS:30068 -msgid ":issue:`26069`: Remove the deprecated apis in the trace module." -msgstr "" - -#: ../build/NEWS:30070 ../build/NEWS:32307 -msgid "" -":issue:`22138`: Fix mock.patch behavior when patching descriptors. Restore " -"original values after patching. Patch contributed by Sean McCully." -msgstr "" - -#: ../build/NEWS:30073 ../build/NEWS:32310 -msgid "" -":issue:`25672`: In the ssl module, enable the SSL_MODE_RELEASE_BUFFERS mode " -"option if it is safe to do so." -msgstr "" - -#: ../build/NEWS:30076 ../build/NEWS:32313 -msgid "" -":issue:`26012`: Don't traverse into symlinks for ``**`` pattern in pathlib." -"Path.[r]glob()." -msgstr "" - -#: ../build/NEWS:30079 ../build/NEWS:32316 -msgid "" -":issue:`24120`: Ignore PermissionError when traversing a tree with pathlib." -"Path.[r]glob(). Patch by Ulrich Petri." -msgstr "" - -#: ../build/NEWS:30082 -msgid "" -":issue:`21815`: Accept ] characters in the data portion of imap responses, " -"in order to handle the flags with square brackets accepted and produced by " -"servers such as gmail." -msgstr "" - -#: ../build/NEWS:30086 ../build/NEWS:32319 -msgid "" -":issue:`25447`: fileinput now uses sys.stdin as-is if it does not have a " -"buffer attribute (restores backward compatibility)." -msgstr "" - -#: ../build/NEWS:30089 -msgid "" -":issue:`25971`: Optimized creating Fractions from floats by 2 times and from " -"Decimals by 3 times." -msgstr "" - -#: ../build/NEWS:30092 -msgid "" -":issue:`25802`: Document as deprecated the remaining implementations of " -"importlib.abc.Loader.load_module()." -msgstr "" - -#: ../build/NEWS:30095 -msgid ":issue:`25928`: Add Decimal.as_integer_ratio()." -msgstr "" - -#: ../build/NEWS:30097 ../build/NEWS:32322 -msgid "" -":issue:`25447`: Copying the lru_cache() wrapper object now always works, " -"independently from the type of the wrapped object (by returning the original " -"object unchanged)." -msgstr "" - -#: ../build/NEWS:30101 -msgid "" -":issue:`25768`: Have the functions in compileall return booleans instead of " -"ints and add proper documentation and tests for the return values." -msgstr "" - -#: ../build/NEWS:30104 ../build/NEWS:32326 -msgid "" -":issue:`24103`: Fixed possible use after free in ElementTree.XMLPullParser." -msgstr "" - -#: ../build/NEWS:30106 ../build/NEWS:32328 -msgid "" -":issue:`25860`: os.fwalk() no longer skips remaining directories when error " -"occurs. Original patch by Samson Lee." -msgstr "" - -#: ../build/NEWS:30109 ../build/NEWS:32331 -msgid ":issue:`25914`: Fixed and simplified OrderedDict.__sizeof__." -msgstr "" - -#: ../build/NEWS:30111 -msgid "" -":issue:`25869`: Optimized deepcopying ElementTree; it is now 20 times faster." -msgstr "" - -#: ../build/NEWS:30113 -msgid "" -":issue:`25873`: Optimized iterating ElementTree. Iterating elements Element." -"iter() is now 40% faster, iterating text Element.itertext() is now up to 2.5 " -"times faster." -msgstr "" - -#: ../build/NEWS:30117 ../build/NEWS:32333 -msgid ":issue:`25902`: Fixed various refcount issues in ElementTree iteration." -msgstr "" - -#: ../build/NEWS:30119 -msgid "" -":issue:`22227`: The TarFile iterator is reimplemented using generator. This " -"implementation is simpler that using class." -msgstr "" - -#: ../build/NEWS:30122 -msgid "" -":issue:`25638`: Optimized ElementTree.iterparse(); it is now 2x faster. " -"Optimized ElementTree parsing; it is now 10% faster." -msgstr "" - -#: ../build/NEWS:30125 -msgid ":issue:`25761`: Improved detecting errors in broken pickle data." -msgstr "" - -#: ../build/NEWS:30127 ../build/NEWS:32335 -msgid "" -":issue:`25717`: Restore the previous behaviour of tolerating most fstat() " -"errors when opening files. This was a regression in 3.5a1, and stopped " -"anonymous temporary files from working in special cases." -msgstr "" - -#: ../build/NEWS:30131 ../build/NEWS:32339 -msgid "" -":issue:`24903`: Fix regression in number of arguments compileall accepts " -"when '-d' is specified. The check on the number of arguments has been " -"dropped completely as it never worked correctly anyway." -msgstr "" - -#: ../build/NEWS:30135 ../build/NEWS:32343 -msgid "" -":issue:`25764`: In the subprocess module, preserve any exception caused by " -"fork() failure when preexec_fn is used." -msgstr "" - -#: ../build/NEWS:30138 -msgid "" -":issue:`25771`: Tweak the exception message for importlib.util." -"resolve_name() when 'package' isn't specified but necessary." -msgstr "" - -#: ../build/NEWS:30141 ../build/NEWS:32346 -msgid "" -":issue:`6478`: _strptime's regexp cache now is reset after changing timezone " -"with time.tzset()." -msgstr "" - -#: ../build/NEWS:30144 ../build/NEWS:32349 -msgid "" -":issue:`14285`: When executing a package with the \"python -m package\" " -"option, and package initialization fails, a proper traceback is now " -"reported. The \"runpy\" module now lets exceptions from package " -"initialization pass back to the caller, rather than raising ImportError." -msgstr "" - -#: ../build/NEWS:30149 ../build/NEWS:32354 -msgid "" -":issue:`19771`: Also in runpy and the \"-m\" option, omit the irrelevant " -"message \". . . is a package and cannot be directly executed\" if the " -"package could not even be initialized (e.g. due to a bad ``*.pyc`` file)." -msgstr "" - -#: ../build/NEWS:30153 ../build/NEWS:32358 -msgid "" -":issue:`25177`: Fixed problem with the mean of very small and very large " -"numbers. As a side effect, statistics.mean and statistics.variance should be " -"significantly faster." -msgstr "" - -#: ../build/NEWS:30157 ../build/NEWS:32362 -msgid "" -":issue:`25718`: Fixed copying object with state with boolean value is false." -msgstr "" - -#: ../build/NEWS:30159 ../build/NEWS:32364 -msgid "" -":issue:`10131`: Fixed deep copying of minidom documents. Based on patch by " -"Marian Ganisin." -msgstr "" - -#: ../build/NEWS:30162 -msgid "" -":issue:`7990`: dir() on ElementTree.Element now lists properties: \"tag\", " -"\"text\", \"tail\" and \"attrib\". Original patch by Santoso Wijaya." -msgstr "" - -#: ../build/NEWS:30165 ../build/NEWS:32367 -msgid "" -":issue:`25725`: Fixed a reference leak in pickle.loads() when unpickling " -"invalid data including tuple instructions." -msgstr "" - -#: ../build/NEWS:30168 ../build/NEWS:32370 -msgid "" -":issue:`25663`: In the Readline completer, avoid listing duplicate global " -"names, and search the global namespace before searching builtins." -msgstr "" - -#: ../build/NEWS:30171 ../build/NEWS:32373 -msgid "" -":issue:`25688`: Fixed file leak in ElementTree.iterparse() raising an error." -msgstr "" - -#: ../build/NEWS:30173 ../build/NEWS:32375 -msgid "" -":issue:`23914`: Fixed SystemError raised by unpickler on broken pickle data." -msgstr "" - -#: ../build/NEWS:30175 ../build/NEWS:32377 -msgid ":issue:`25691`: Fixed crash on deleting ElementTree.Element attributes." -msgstr "" - -#: ../build/NEWS:30177 ../build/NEWS:32379 -msgid "" -":issue:`25624`: ZipFile now always writes a ZIP_STORED header for directory " -"entries. Patch by Dingyuan Wang." -msgstr "" - -#: ../build/NEWS:30180 ../build/NEWS:32695 -msgid "" -":issue:`25626`: Change three zlib functions to accept sizes that fit in " -"Py_ssize_t, but internally cap those sizes to UINT_MAX. This resolves a " -"regression in 3.5 where GzipFile.read() failed to read chunks larger than 2 " -"or 4 GiB. The change affects the zlib.Decompress.decompress() max_length " -"parameter, the zlib.decompress() bufsize parameter, and the zlib.Decompress." -"flush() length parameter." -msgstr "" - -#: ../build/NEWS:30187 ../build/NEWS:32702 -msgid "" -":issue:`25583`: Avoid incorrect errors raised by os.makedirs(exist_ok=True) " -"when the OS gives priority to errors such as EACCES over EEXIST." -msgstr "" - -#: ../build/NEWS:30190 ../build/NEWS:32705 -msgid ":issue:`25593`: Change semantics of EventLoop.stop() in asyncio." -msgstr "" - -#: ../build/NEWS:30192 ../build/NEWS:32707 -msgid "" -":issue:`6973`: When we know a subprocess.Popen process has died, do not " -"allow the send_signal(), terminate(), or kill() methods to do anything as " -"they could potentially signal a different process." -msgstr "" - -#: ../build/NEWS:30196 -msgid "" -":issue:`23883`: Added missing APIs to __all__ to match the documented APIs " -"for the following modules: calendar, csv, enum, fileinput, ftplib, logging, " -"optparse, tarfile, threading and wave. Also added a test.support." -"check__all__() helper. Patches by Jacek Kołodziej, Mauro S. M. Rodrigues and " -"Joel Taddei." -msgstr "" - -#: ../build/NEWS:30202 -msgid "" -":issue:`25590`: In the Readline completer, only call getattr() once per " -"attribute. Also complete names of attributes such as properties and slots " -"which are listed by dir() but not yet created on an instance." -msgstr "" - -#: ../build/NEWS:30206 ../build/NEWS:32714 -msgid "" -":issue:`25498`: Fix a crash when garbage-collecting ctypes objects created " -"by wrapping a memoryview. This was a regression made in 3.5a1. Based on " -"patch by Eryksun." -msgstr "" - -#: ../build/NEWS:30210 ../build/NEWS:32718 -msgid "" -":issue:`25584`: Added \"escape\" to the __all__ list in the glob module." -msgstr "" - -#: ../build/NEWS:30212 ../build/NEWS:32720 -msgid "" -":issue:`25584`: Fixed recursive glob() with patterns starting with ``**``." -msgstr "" - -#: ../build/NEWS:30214 ../build/NEWS:32722 -msgid ":issue:`25446`: Fix regression in smtplib's AUTH LOGIN support." -msgstr "" - -#: ../build/NEWS:30216 ../build/NEWS:32724 -msgid "" -":issue:`18010`: Fix the pydoc web server's module search function to handle " -"exceptions from importing packages." -msgstr "" - -#: ../build/NEWS:30219 ../build/NEWS:32727 -msgid "" -":issue:`25554`: Got rid of circular references in regular expression parsing." -msgstr "" - -#: ../build/NEWS:30221 -msgid "" -":issue:`18973`: Command-line interface of the calendar module now uses " -"argparse instead of optparse." -msgstr "" - -#: ../build/NEWS:30224 ../build/NEWS:32729 -msgid "" -":issue:`25510`: fileinput.FileInput.readline() now returns b'' instead of '' " -"at the end if the FileInput was opened with binary mode. Patch by Ryosuke " -"Ito." -msgstr "" - -#: ../build/NEWS:30228 ../build/NEWS:32733 -msgid "" -":issue:`25503`: Fixed inspect.getdoc() for inherited docstrings of " -"properties. Original patch by John Mark Vandenberg." -msgstr "" - -#: ../build/NEWS:30231 ../build/NEWS:32736 -msgid "" -":issue:`25515`: Always use os.urandom as a source of randomness in uuid." -"uuid4." -msgstr "" - -#: ../build/NEWS:30233 ../build/NEWS:32738 -msgid "" -":issue:`21827`: Fixed textwrap.dedent() for the case when largest common " -"whitespace is a substring of smallest leading whitespace. Based on patch by " -"Robert Li." -msgstr "" - -#: ../build/NEWS:30237 ../build/NEWS:32742 -msgid "" -":issue:`25447`: The lru_cache() wrapper objects now can be copied and " -"pickled (by returning the original object unchanged)." -msgstr "" - -#: ../build/NEWS:30240 ../build/NEWS:32745 -msgid ":issue:`25390`: typing: Don't crash on Union[str, Pattern]." -msgstr "" - -#: ../build/NEWS:30242 ../build/NEWS:32747 -msgid "" -":issue:`25441`: asyncio: Raise error from drain() when socket is closed." -msgstr "" - -#: ../build/NEWS:30244 ../build/NEWS:32749 -msgid "" -":issue:`25410`: Cleaned up and fixed minor bugs in C implementation of " -"OrderedDict." -msgstr "" - -#: ../build/NEWS:30247 ../build/NEWS:32752 -msgid "" -":issue:`25411`: Improved Unicode support in SMTPHandler through better use " -"of the email package. Thanks to user simon04 for the patch." -msgstr "" - -#: ../build/NEWS:30250 -msgid "" -"Move the imp module from a PendingDeprecationWarning to DeprecationWarning." -msgstr "" - -#: ../build/NEWS:30253 ../build/NEWS:32755 -msgid "" -":issue:`25407`: Remove mentions of the formatter module being removed in " -"Python 3.6." -msgstr "" - -#: ../build/NEWS:30256 ../build/NEWS:32758 -msgid "" -":issue:`25406`: Fixed a bug in C implementation of OrderedDict.move_to_end() " -"that caused segmentation fault or hang in iterating after moving several " -"items to the start of ordered dict." -msgstr "" - -#: ../build/NEWS:30260 -msgid "" -":issue:`25382`: pickletools.dis() now outputs implicit memo index for the " -"MEMOIZE opcode." -msgstr "" - -#: ../build/NEWS:30263 -msgid "" -":issue:`25357`: Add an optional newline parameter to binascii.b2a_base64(). " -"base64.b64encode() uses it to avoid a memory copy." -msgstr "" - -#: ../build/NEWS:30266 -msgid "" -":issue:`24164`: Objects that need calling ``__new__`` with keyword " -"arguments, can now be pickled using pickle protocols older than protocol " -"version 4." -msgstr "" - -#: ../build/NEWS:30269 ../build/NEWS:32762 -msgid ":issue:`25364`: zipfile now works in threads disabled builds." -msgstr "" - -#: ../build/NEWS:30271 ../build/NEWS:32764 -msgid "" -":issue:`25328`: smtpd's SMTPChannel now correctly raises a ValueError if " -"both decode_data and enable_SMTPUTF8 are set to true." -msgstr "" - -#: ../build/NEWS:30274 -msgid "" -":issue:`16099`: RobotFileParser now supports Crawl-delay and Request-rate " -"extensions. Patch by Nikolay Bogoychev." -msgstr "" - -#: ../build/NEWS:30277 ../build/NEWS:32767 -msgid "" -":issue:`25316`: distutils raises OSError instead of DistutilsPlatformError " -"when MSVC is not installed." -msgstr "" - -#: ../build/NEWS:30280 ../build/NEWS:32770 -msgid "" -":issue:`25380`: Fixed protocol for the STACK_GLOBAL opcode in pickletools." -"opcodes." -msgstr "" - -#: ../build/NEWS:30283 ../build/NEWS:32773 -msgid "" -":issue:`23972`: Updates asyncio datagram create method allowing reuseport " -"and reuseaddr socket options to be set prior to binding the socket. " -"Mirroring the existing asyncio create_server method the reuseaddr option for " -"datagram sockets defaults to True if the O/S is 'posix' (except if the " -"platform is Cygwin). Patch by Chris Laws." -msgstr "" - -#: ../build/NEWS:30289 ../build/NEWS:32779 -msgid "" -":issue:`25304`: Add asyncio.run_coroutine_threadsafe(). This lets you " -"submit a coroutine to a loop from another thread, returning a concurrent." -"futures.Future. By Vincent Michel." -msgstr "" - -#: ../build/NEWS:30293 ../build/NEWS:32783 -msgid "" -":issue:`25232`: Fix CGIRequestHandler to split the query from the URL at the " -"first question mark (?) rather than the last. Patch from Xiang Zhang." -msgstr "" - -#: ../build/NEWS:30296 ../build/NEWS:32786 -msgid "" -":issue:`24657`: Prevent CGIRequestHandler from collapsing slashes in the " -"query part of the URL as if it were a path. Patch from Xiang Zhang." -msgstr "" - -#: ../build/NEWS:30299 -msgid "" -":issue:`25287`: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not " -"supported. Check if it is supported, it may not be supported on OpenBSD for " -"example." -msgstr "" - -#: ../build/NEWS:30303 ../build/NEWS:32814 -msgid "" -":issue:`23600`: Default implementation of tzinfo.fromutc() was returning " -"wrong results in some cases." -msgstr "" - -#: ../build/NEWS:30306 ../build/NEWS:32811 -msgid "" -":issue:`25203`: Failed readline.set_completer_delims() no longer left the " -"module in inconsistent state." -msgstr "" - -#: ../build/NEWS:30309 -msgid "" -":issue:`25011`: rlcompleter now omits private and special attribute names " -"unless the prefix starts with underscores." -msgstr "" - -#: ../build/NEWS:30312 -msgid "" -":issue:`25209`: rlcompleter now can add a space or a colon after completed " -"keyword." -msgstr "" - -#: ../build/NEWS:30315 -msgid ":issue:`22241`: timezone.utc name is now plain 'UTC', not 'UTC-00:00'." -msgstr "" - -#: ../build/NEWS:30317 -msgid "" -":issue:`23517`: fromtimestamp() and utcfromtimestamp() methods of datetime." -"datetime now round microseconds to nearest with ties going to nearest even " -"integer (ROUND_HALF_EVEN), as round(float), instead of rounding towards -" -"Infinity (ROUND_FLOOR)." -msgstr "" - -#: ../build/NEWS:30322 -msgid "" -":issue:`23552`: Timeit now warns when there is substantial (4x) variance " -"between best and worst times. Patch from Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:30325 -msgid ":issue:`24633`: site-packages/README -> README.txt." -msgstr "" - -#: ../build/NEWS:30327 -msgid "" -":issue:`24879`: help() and pydoc can now list named tuple fields in the " -"order they were defined rather than alphabetically. The ordering is " -"determined by the _fields attribute if present." -msgstr "" - -#: ../build/NEWS:30331 -msgid "" -":issue:`24874`: Improve speed of itertools.cycle() and make its pickle more " -"compact." -msgstr "" - -#: ../build/NEWS:30334 -msgid "" -"Fix crash in itertools.cycle.__setstate__() when the first argument wasn't a " -"list." -msgstr "" - -#: ../build/NEWS:30337 -msgid "" -":issue:`20059`: urllib.parse raises ValueError on all invalid ports. Patch " -"by Martin Panter." -msgstr "" - -#: ../build/NEWS:30340 -msgid "" -":issue:`24360`: Improve __repr__ of argparse.Namespace() for invalid " -"identifiers. Patch by Matthias Bussonnier." -msgstr "" - -#: ../build/NEWS:30343 -msgid "" -":issue:`23426`: run_setup was broken in distutils. Patch from Alexander " -"Belopolsky." -msgstr "" - -#: ../build/NEWS:30346 -msgid "" -":issue:`13938`: 2to3 converts StringTypes to a tuple. Patch from Mark " -"Hammond." -msgstr "" - -#: ../build/NEWS:30348 -msgid "" -":issue:`2091`: open() accepted a 'U' mode string containing '+', but 'U' can " -"only be used with 'r'. Patch from Jeff Balogh and John O'Connor." -msgstr "" - -#: ../build/NEWS:30351 -msgid "" -":issue:`8585`: improved tests for zipimporter2. Patch from Mark Lawrence." -msgstr "" - -#: ../build/NEWS:30353 ../build/NEWS:33356 -msgid "" -":issue:`18622`: unittest.mock.mock_open().reset_mock would recurse " -"infinitely. Patch from Nicola Palumbo and Laurent De Buyst." -msgstr "" - -#: ../build/NEWS:30356 -msgid "" -":issue:`24426`: Fast searching optimization in regular expressions now works " -"for patterns that starts with capturing groups. Fast searching optimization " -"now can't be disabled at compile time." -msgstr "" - -#: ../build/NEWS:30360 ../build/NEWS:33359 -msgid "" -":issue:`23661`: unittest.mock side_effects can now be exceptions again. This " -"was a regression vs Python 3.4. Patch from Ignacio Rossi" -msgstr "" - -#: ../build/NEWS:30363 -msgid ":issue:`13248`: Remove deprecated inspect.getmoduleinfo function." -msgstr "" - -#: ../build/NEWS:30365 ../build/NEWS:32888 -msgid ":issue:`25578`: Fix (another) memory leak in SSLSocket.getpeercer()." -msgstr "" - -#: ../build/NEWS:30367 ../build/NEWS:32890 -msgid "" -":issue:`25530`: Disable the vulnerable SSLv3 protocol by default when " -"creating ssl.SSLContext." -msgstr "" - -#: ../build/NEWS:30370 ../build/NEWS:32893 -msgid ":issue:`25569`: Fix memory leak in SSLSocket.getpeercert()." -msgstr "" - -#: ../build/NEWS:30372 ../build/NEWS:32895 -msgid "" -":issue:`25471`: Sockets returned from accept() shouldn't appear to be " -"nonblocking." -msgstr "" - -#: ../build/NEWS:30375 ../build/NEWS:32898 -msgid "" -":issue:`25319`: When threading.Event is reinitialized, the underlying " -"condition should use a regular lock rather than a recursive lock." -msgstr "" - -#: ../build/NEWS:30378 ../build/NEWS:32382 -msgid "" -"Skip getaddrinfo if host is already resolved. Patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:30381 ../build/NEWS:32385 -msgid "" -":issue:`26050`: Add asyncio.StreamReader.readuntil() method. Patch by Марк " -"Коренберг." -msgstr "" - -#: ../build/NEWS:30384 ../build/NEWS:32388 -msgid "" -":issue:`25924`: Avoid unnecessary serialization of getaddrinfo(3) calls on " -"OS X versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:30387 ../build/NEWS:32391 -msgid "" -":issue:`26406`: Avoid unnecessary serialization of getaddrinfo(3) calls on " -"current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis." -msgstr "" - -#: ../build/NEWS:30390 ../build/NEWS:32394 -msgid "" -":issue:`26848`: Fix asyncio/subprocess.communicate() to handle empty input. " -"Patch by Jack O'Connor." -msgstr "" - -#: ../build/NEWS:30393 ../build/NEWS:32397 -msgid ":issue:`27040`: Add loop.get_exception_handler method" -msgstr "" - -#: ../build/NEWS:30395 ../build/NEWS:32399 -msgid ":issue:`27041`: asyncio: Add loop.create_future method" -msgstr "" - -#: ../build/NEWS:30400 ../build/NEWS:32447 -msgid "" -":issue:`20640`: Add tests for idlelib.configHelpSourceEdit. Patch by " -"Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:30403 ../build/NEWS:32450 -msgid "" -"In the 'IDLE-console differences' section of the IDLE doc, clarify how " -"running with IDLE affects sys.modules and the standard streams." -msgstr "" - -#: ../build/NEWS:30406 ../build/NEWS:32453 -msgid "" -":issue:`25507`: fix incorrect change in IOBinding that prevented printing. " -"Augment IOBinding htest to include all major IOBinding functions." -msgstr "" - -#: ../build/NEWS:30409 ../build/NEWS:32456 -msgid "" -":issue:`25905`: Revert unwanted conversion of ' to ’ RIGHT SINGLE QUOTATION " -"MARK in README.txt and open this and NEWS.txt with 'ascii'. Re-encode " -"CREDITS.txt to utf-8 and open it with 'utf-8'." -msgstr "" - -#: ../build/NEWS:30413 ../build/NEWS:32927 -msgid "" -":issue:`15348`: Stop the debugger engine (normally in a user process) before " -"closing the debugger window (running in the IDLE process). This prevents the " -"RuntimeErrors that were being caught and ignored." -msgstr "" - -#: ../build/NEWS:30417 ../build/NEWS:32931 -msgid "" -":issue:`24455`: Prevent IDLE from hanging when a) closing the shell while " -"the debugger is active (15347); b) closing the debugger with the [X] button " -"(15348); and c) activating the debugger when already active (24455). The " -"patch by Mark Roseman does this by making two changes. 1. Suspend and resume " -"the gui.interaction method with the tcl vwait mechanism intended for this " -"purpose (instead of root.mainloop & .quit). 2. In gui.run, allow any " -"existing interaction to terminate first." -msgstr "" - -#: ../build/NEWS:30425 ../build/NEWS:32939 -msgid "" -"Change 'The program' to 'Your program' in an IDLE 'kill program?' message to " -"make it clearer that the program referred to is the currently running user " -"program, not IDLE itself." -msgstr "" - -#: ../build/NEWS:30429 ../build/NEWS:32943 -msgid "" -":issue:`24750`: Improve the appearance of the IDLE editor window status bar. " -"Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30432 ../build/NEWS:32946 -msgid "" -":issue:`25313`: Change the handling of new built-in text color themes to " -"better address the compatibility problem introduced by the addition of IDLE " -"Dark. Consistently use the revised idleConf.CurrentTheme everywhere in " -"idlelib." -msgstr "" - -#: ../build/NEWS:30436 ../build/NEWS:32950 -msgid "" -":issue:`24782`: Extension configuration is now a tab in the IDLE Preferences " -"dialog rather than a separate dialog. The former tabs are now a sorted " -"list. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30440 ../build/NEWS:32954 -msgid "" -":issue:`22726`: Re-activate the config dialog help button with some content " -"about the other buttons and the new IDLE Dark theme." -msgstr "" - -#: ../build/NEWS:30443 ../build/NEWS:32957 -msgid "" -":issue:`24820`: IDLE now has an 'IDLE Dark' built-in text color theme. It is " -"more or less IDLE Classic inverted, with a cobalt blue background. Strings, " -"comments, keywords, ... are still green, red, orange, ... . To use it with " -"IDLEs released before November 2015, hit the 'Save as New Custom Theme' " -"button and enter a new name, such as 'Custom Dark'. The custom theme will " -"work with any IDLE release, and can be modified." -msgstr "" - -#: ../build/NEWS:30450 ../build/NEWS:32964 -msgid "" -":issue:`25224`: README.txt is now an idlelib index for IDLE developers and " -"curious users. The previous user content is now in the IDLE doc chapter. " -"'IDLE' now means 'Integrated Development and Learning Environment'." -msgstr "" - -#: ../build/NEWS:30454 ../build/NEWS:32968 -msgid "" -":issue:`24820`: Users can now set breakpoint colors in Settings -> Custom " -"Highlighting. Original patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30457 ../build/NEWS:32971 -msgid "" -":issue:`24972`: Inactive selection background now matches active selection " -"background, as configured by users, on all systems. Found items are now " -"always highlighted on Windows. Initial patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30461 ../build/NEWS:32975 -msgid "" -":issue:`24570`: Idle: make calltip and completion boxes appear on Macs " -"affected by a tk regression. Initial patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30464 ../build/NEWS:32978 -msgid "" -":issue:`24988`: Idle ScrolledList context menus (used in debugger) now work " -"on Mac Aqua. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30467 ../build/NEWS:32981 -msgid "" -":issue:`24801`: Make right-click for context menu work on Mac Aqua. Patch by " -"Mark Roseman." -msgstr "" - -#: ../build/NEWS:30470 ../build/NEWS:32984 -msgid "" -":issue:`25173`: Associate tkinter messageboxes with a specific widget. For " -"Mac OSX, make them a 'sheet'. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:30473 ../build/NEWS:32987 -msgid "" -":issue:`25198`: Enhance the initial html viewer now used for Idle Help. " -"Properly indent fixed-pitch text (patch by Mark Roseman). Give code snippet " -"a very Sphinx-like light blueish-gray background. Re-use initial width and " -"height set by users for shell and editor. When the Table of Contents (TOC) " -"menu is used, put the section header at the top of the screen." -msgstr "" - -#: ../build/NEWS:30480 ../build/NEWS:32994 -msgid ":issue:`25225`: Condense and rewrite Idle doc section on text colors." -msgstr "" - -#: ../build/NEWS:30482 ../build/NEWS:32996 -msgid "" -":issue:`21995`: Explain some differences between IDLE and console Python." -msgstr "" - -#: ../build/NEWS:30484 ../build/NEWS:32998 -msgid "" -":issue:`22820`: Explain need for *print* when running file from Idle editor." -msgstr "" - -#: ../build/NEWS:30486 ../build/NEWS:33000 -msgid "" -":issue:`25224`: Doc: augment Idle feature list and no-subprocess section." -msgstr "" - -#: ../build/NEWS:30488 ../build/NEWS:33002 -msgid "" -":issue:`25219`: Update doc for Idle command line options. Some were missing " -"and notes were not correct." -msgstr "" - -#: ../build/NEWS:30491 ../build/NEWS:33005 -msgid "" -":issue:`24861`: Most of idlelib is private and subject to change. Use idleib." -"idle.* to start Idle. See idlelib.__init__.__doc__." -msgstr "" - -#: ../build/NEWS:30494 ../build/NEWS:33008 -msgid "" -":issue:`25199`: Idle: add synchronization comments for future maintainers." -msgstr "" - -#: ../build/NEWS:30496 -msgid "" -":issue:`16893`: Replace help.txt with help.html for Idle doc display. The " -"new idlelib/help.html is rstripped Doc/build/html/library/idle.html. It " -"looks better than help.txt and will better document Idle as released. The " -"tkinter html viewer that works for this file was written by Rose Roseman. " -"The now unused EditorWindow.HelpDialog class and helt.txt file are " -"deprecated." -msgstr "" - -#: ../build/NEWS:30503 ../build/NEWS:33017 -msgid "" -":issue:`24199`: Deprecate unused idlelib.idlever with possible removal in " -"3.6." -msgstr "" - -#: ../build/NEWS:30505 ../build/NEWS:33019 -msgid "" -":issue:`24790`: Remove extraneous code (which also create 2 & 3 conflicts)." -msgstr "" - -#: ../build/NEWS:30510 ../build/NEWS:32468 -msgid "" -":issue:`26736`: Used HTTPS for external links in the documentation if " -"possible." -msgstr "" - -#: ../build/NEWS:30512 ../build/NEWS:32470 -msgid "" -":issue:`6953`: Rework the Readline module documentation to group related " -"functions together, and add more details such as what underlying Readline " -"functions and variables are accessed." -msgstr "" - -#: ../build/NEWS:30516 ../build/NEWS:32474 -msgid "" -":issue:`23606`: Adds note to ctypes documentation regarding cdll.msvcrt." -msgstr "" - -#: ../build/NEWS:30518 ../build/NEWS:33034 -msgid "" -":issue:`24952`: Clarify the default size argument of stack_size() in the " -"\"threading\" and \"_thread\" modules. Patch from Mattip." -msgstr "" - -#: ../build/NEWS:30521 ../build/NEWS:32479 -msgid "" -":issue:`26014`: Update 3.x packaging documentation: * \"See also\" links to " -"the new docs are now provided in the legacy pages * links to setuptools " -"documentation have been updated" -msgstr "" - -#: ../build/NEWS:30528 ../build/NEWS:32486 -msgid "" -":issue:`21916`: Added tests for the turtle module. Patch by ingrid, Gregory " -"Loyse and Jelle Zijlstra." -msgstr "" - -#: ../build/NEWS:30531 -msgid "" -":issue:`26295`: When using \"python3 -m test --testdir=TESTDIR\", regrtest " -"doesn't add \"test.\" prefix to test module names." -msgstr "" - -#: ../build/NEWS:30534 ../build/NEWS:32489 -msgid "" -":issue:`26523`: The multiprocessing thread pool (multiprocessing.dummy.Pool) " -"was untested." -msgstr "" - -#: ../build/NEWS:30537 ../build/NEWS:32492 -msgid "" -":issue:`26015`: Added new tests for pickling iterators of mutable sequences." -msgstr "" - -#: ../build/NEWS:30539 ../build/NEWS:32494 -msgid "" -":issue:`26325`: Added test.support.check_no_resource_warning() to check that " -"no ResourceWarning is emitted." -msgstr "" - -#: ../build/NEWS:30542 -msgid "" -":issue:`25940`: Changed test_ssl to use its internal local server more. " -"This avoids relying on svn.python.org, which recently changed root " -"certificate." -msgstr "" - -#: ../build/NEWS:30545 ../build/NEWS:32500 -msgid "" -":issue:`25616`: Tests for OrderedDict are extracted from test_collections " -"into separate file test_ordered_dict." -msgstr "" - -#: ../build/NEWS:30548 ../build/NEWS:33048 -msgid ":issue:`25449`: Added tests for OrderedDict subclasses." -msgstr "" - -#: ../build/NEWS:30550 -msgid "" -":issue:`25188`: Add -P/--pgo to test.regrtest to suppress error output when " -"running the test suite for the purposes of a PGO build. Initial patch by " -"Alecsandru Patrascu." -msgstr "" - -#: ../build/NEWS:30554 -msgid "" -":issue:`22806`: Add ``python -m test --list-tests`` command to list tests." -msgstr "" - -#: ../build/NEWS:30556 -msgid "" -":issue:`18174`: ``python -m test --huntrleaks ...`` now also checks for leak " -"of file descriptors. Patch written by Richard Oudkerk." -msgstr "" - -#: ../build/NEWS:30559 -msgid "" -":issue:`25260`: Fix ``python -m test --coverage`` on Windows. Remove the " -"list of ignored directories." -msgstr "" - -#: ../build/NEWS:30562 ../build/NEWS:33055 -msgid "" -"``PCbuild\\rt.bat`` now accepts an unlimited number of arguments to pass " -"along to regrtest.py. Previously there was a limit of 9." -msgstr "" - -#: ../build/NEWS:30565 ../build/NEWS:32503 -msgid "" -":issue:`26583`: Skip test_timestamp_overflow in test_import if bytecode " -"files cannot be written." -msgstr "" - -#: ../build/NEWS:30571 -msgid "" -":issue:`21277`: Don't try to link _ctypes with a ffi_convenience library." -msgstr "" - -#: ../build/NEWS:30573 ../build/NEWS:32509 -msgid "" -":issue:`26884`: Fix linking extension modules for cross builds. Patch by " -"Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:30576 -msgid "" -":issue:`26932`: Fixed support of RTLD_* constants defined as enum values, " -"not via macros (in particular on Android). Patch by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:30579 ../build/NEWS:32512 -msgid "" -":issue:`22359`: Disable the rules for running _freeze_importlib and pgen " -"when cross-compiling. The output of these programs is normally saved with " -"the source code anyway, and is still regenerated when doing a native build. " -"Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:30584 -msgid "" -":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " -"except on Mac OS X. Patch written by Chi Hsuan Yen." -msgstr "" - -#: ../build/NEWS:30587 ../build/NEWS:32523 -msgid "" -":issue:`25702`: A --with-lto configure option has been added that will " -"enable link time optimizations at build time during a make profile-opt. Some " -"compilers and toolchains are known to not produce stable code when using " -"LTO, be sure to test things thoroughly before relying on it. It can provide " -"a few % speed up over profile-opt alone." -msgstr "" - -#: ../build/NEWS:30593 ../build/NEWS:32529 -msgid "" -":issue:`26624`: Adds validation of ucrtbase[d].dll version with warning for " -"old versions." -msgstr "" - -#: ../build/NEWS:30596 ../build/NEWS:32532 -msgid "" -":issue:`17603`: Avoid error about nonexistent fileblocks.o file by using a " -"lower-level check for st_blocks in struct stat." -msgstr "" - -#: ../build/NEWS:30599 ../build/NEWS:32535 -msgid "" -":issue:`26079`: Fixing the build output folder for tix-8.4.3.6. Patch by " -"Bjoern Thiel." -msgstr "" - -#: ../build/NEWS:30602 ../build/NEWS:32538 -msgid ":issue:`26465`: Update Windows builds to use OpenSSL 1.0.2g." -msgstr "" - -#: ../build/NEWS:30604 -msgid "" -":issue:`25348`: Added ``--pgo`` and ``--pgo-job`` arguments to " -"``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The " -"old ``PCbuild\\build_pgo.bat`` script is removed." -msgstr "" - -#: ../build/NEWS:30608 ../build/NEWS:32549 -msgid "" -":issue:`25827`: Add support for building with ICC to ``configure``, " -"including a new ``--with-icc`` flag." -msgstr "" - -#: ../build/NEWS:30611 ../build/NEWS:32552 -msgid ":issue:`25696`: Fix installation of Python on UNIX with make -j9." -msgstr "" - -#: ../build/NEWS:30613 ../build/NEWS:33066 -msgid "" -":issue:`24986`: It is now possible to build Python on Windows without errors " -"when external libraries are not available." -msgstr "" - -#: ../build/NEWS:30616 ../build/NEWS:32540 -msgid "" -":issue:`24421`: Compile Modules/_math.c once, before building extensions. " -"Previously it could fail to compile properly if the math and cmath builds " -"were concurrent." -msgstr "" - -#: ../build/NEWS:30620 -msgid "" -":issue:`26465`: Update OS X 10.5+ 32-bit-only installer to build and link " -"with OpenSSL 1.0.2g." -msgstr "" - -#: ../build/NEWS:30623 ../build/NEWS:32557 -msgid ":issue:`26268`: Update Windows builds to use OpenSSL 1.0.2f." -msgstr "" - -#: ../build/NEWS:30625 ../build/NEWS:32559 -msgid ":issue:`25136`: Support Apple Xcode 7's new textual SDK stub libraries." -msgstr "" - -#: ../build/NEWS:30627 ../build/NEWS:32561 -msgid "" -":issue:`24324`: Do not enable unreachable code warnings when using gcc as " -"the option does not work correctly in older versions of gcc and has been " -"silently removed as of gcc-4.5." -msgstr "" - -#: ../build/NEWS:30634 ../build/NEWS:32568 -msgid "" -":issue:`27053`: Updates make_zip.py to correctly generate library ZIP file." -msgstr "" - -#: ../build/NEWS:30636 ../build/NEWS:32570 -msgid "" -":issue:`26268`: Update the prepare_ssl.py script to handle OpenSSL releases " -"that don't include the contents of the include directory (that is, 1.0.2e " -"and later)." -msgstr "" - -#: ../build/NEWS:30640 ../build/NEWS:32574 -msgid "" -":issue:`26071`: bdist_wininst created binaries fail to start and find 32bit " -"Python" -msgstr "" - -#: ../build/NEWS:30643 ../build/NEWS:32577 -msgid ":issue:`26073`: Update the list of magic numbers in launcher" -msgstr "" - -#: ../build/NEWS:30645 ../build/NEWS:32579 -msgid "" -":issue:`26065`: Excludes venv from library when generating embeddable distro." -msgstr "" - -#: ../build/NEWS:30647 ../build/NEWS:33105 -msgid ":issue:`25022`: Removed very outdated PC/example_nt/ directory." -msgstr "" - -#: ../build/NEWS:30652 ../build/NEWS:32587 -msgid "" -":issue:`26799`: Fix python-gdb.py: don't get C types once when the Python " -"code is loaded, but get C types on demand. The C types can change if python-" -"gdb.py is loaded before the Python executable. Patch written by Thomas " -"Ilsche." -msgstr "" - -#: ../build/NEWS:30657 ../build/NEWS:32592 -msgid "" -":issue:`26271`: Fix the Freeze tool to properly use flags passed through " -"configure. Patch by Daniel Shaulov." -msgstr "" - -#: ../build/NEWS:30660 ../build/NEWS:32595 -msgid "" -":issue:`26489`: Add dictionary unpacking support to Tools/parser/unparse.py. " -"Patch by Guo Ci Teo." -msgstr "" - -#: ../build/NEWS:30663 ../build/NEWS:32598 -msgid ":issue:`26316`: Fix variable name typo in Argument Clinic." -msgstr "" - -#: ../build/NEWS:30665 ../build/NEWS:33110 -msgid ":issue:`25440`: Fix output of python-config --extension-suffix." -msgstr "" - -#: ../build/NEWS:30667 -msgid "" -":issue:`25154`: The pyvenv script has been deprecated in favour of `python3 -" -"m venv`." -msgstr "" - -#: ../build/NEWS:30673 -msgid "" -":issue:`26312`: SystemError is now raised in all programming bugs with using " -"PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some " -"programming bugs." -msgstr "" - -#: ../build/NEWS:30677 -msgid "" -":issue:`26198`: ValueError is now raised instead of TypeError on buffer " -"overflow in parsing \"es#\" and \"et#\" format units. SystemError is now " -"raised instead of TypeError on programmatical error in parsing format string." -msgstr "" - -#: ../build/NEWS:30684 -msgid "Python 3.5.5 final" -msgstr "" - -#: ../build/NEWS:30686 -msgid "*Release date: 2018-02-04*" -msgstr "" - -#: ../build/NEWS:30688 -msgid "There were no new changes in version 3.5.5." -msgstr "" - -#: ../build/NEWS:30693 -msgid "Python 3.5.5 release candidate 1" -msgstr "" - -#: ../build/NEWS:30695 -msgid "*Release date: 2018-01-23*" -msgstr "" - -#: ../build/NEWS:30700 -msgid "" -":issue:`32551`: The ``sys.path[0]`` initialization change for :issue:`29139` " -"caused a regression by revealing an inconsistency in how sys.path is " -"initialized when executing ``__main__`` from a zipfile, directory, or other " -"import location. This is considered a potential security issue, as it may " -"lead to privileged processes unexpectedly loading code from user controlled " -"directories in situations where that was not previously the case. The " -"interpreter now consistently avoids ever adding the import location's parent " -"directory to ``sys.path``, and ensures no other ``sys.path`` entries are " -"inadvertently modified when inserting the import location named on the " -"command line. (Originally reported as :issue:`29723` against Python 3.6rc1, " -"but it was missed at the time that the then upcoming Python 3.5.4 release " -"would also be affected)" -msgstr "" - -#: ../build/NEWS:30713 -msgid "" -":issue:`30657`: Fixed possible integer overflow in PyBytes_DecodeEscape, " -"CVE-2017-1000158. Original patch by Jay Bosamiya; rebased to Python 3 by " -"Miro Hrončok." -msgstr "" - -#: ../build/NEWS:30740 -msgid "Python 3.5.4 final" -msgstr "" - -#: ../build/NEWS:30742 -msgid "*Release date: 2017-08-07*" -msgstr "" - -#: ../build/NEWS:30752 -msgid "Python 3.5.4 release candidate 1" -msgstr "" - -#: ../build/NEWS:30754 -msgid "*Release date: 2017-07-23*" -msgstr "" - -#: ../build/NEWS:30806 -msgid "" -":issue:`29537`: Restore runtime compatibility with bytecode files generated " -"by CPython 3.5.0 to 3.5.2, and adjust the eval loop to avoid the problems " -"that could be caused by the malformed variant of the " -"BUILD_MAP_UNPACK_WITH_CALL opcode that they may contain. Patch by Petr " -"Viktorin, Serhiy Storchaka, and Nick Coghlan." -msgstr "" - -#: ../build/NEWS:31088 -msgid "" -":issue:`30822`: Fix regrtest command line parser to allow passing -u " -"extralargefile to run test_zipfile64." -msgstr "" - -#: ../build/NEWS:31091 -msgid "" -":issue:`30383`: regrtest: Enhance regrtest and backport features from the " -"master branch. Add options: --coverage, --testdir, --list-tests (list test " -"files, don't run them), --list-cases (list test identifiers, don't run " -"them, :issue:`30523`), --matchfile (load a list of test filters from a text " -"file, :issue:`30540`), --slowest (alias to --slow). Enhance output: add " -"timestamp, test result, currently running tests, \"Tests result: xxx\" " -"summary with total duration, etc. Fix reference leak hunting in regrtest, --" -"huntrleaks: regrtest now warms up caches, create explicitly all internal " -"singletons which are created on demand to prevent false positives when " -"checking for reference leaks. (:issue:`30675`)." -msgstr "" - -#: ../build/NEWS:31148 -msgid "" -":issue:`27867`: Function PySlice_GetIndicesEx() is replaced with a macro if " -"Py_LIMITED_API is set to the value between 0x03050400 and 0x03060000 (not " -"including) or 0x03060100 or higher." -msgstr "" - -#: ../build/NEWS:31160 -msgid "Python 3.5.3 final" -msgstr "" - -#: ../build/NEWS:31162 -msgid "*Release date: 2017-01-17*" -msgstr "" - -#: ../build/NEWS:31164 -msgid "There were no code changes between 3.5.3rc1 and 3.5.3 final." -msgstr "" - -#: ../build/NEWS:31169 -msgid "Python 3.5.3 release candidate 1" -msgstr "" - -#: ../build/NEWS:31171 -msgid "*Release date: 2017-01-02*" -msgstr "" - -#: ../build/NEWS:31185 -msgid "" -":issue:`29073`: bytearray formatting no longer truncates on first null byte." -msgstr "" - -#: ../build/NEWS:31189 -msgid "" -":issue:`28147`: Fix a memory leak in split-table dictionaries: setattr() " -"must not convert combined table into split table." -msgstr "" - -#: ../build/NEWS:31201 -msgid "" -":issue:`28991`: functools.lru_cache() was susceptible to an obscure " -"reentrancy bug caused by a monkey-patched len() function." -msgstr "" - -#: ../build/NEWS:31244 -msgid "" -":issue:`28203`: Fix incorrect type in error message from ``complex(1.0, " -"{2:3})``. Patch by Soumya Sharma." -msgstr "" - -#: ../build/NEWS:31259 -msgid "" -":issue:`28189`: dictitems_contains no longer swallows compare errors. (Patch " -"by Xiang Zhang)" -msgstr "" - -#: ../build/NEWS:31271 -msgid "" -":issue:`26020`: set literal evaluation order did not match documented " -"behaviour." -msgstr "" - -#: ../build/NEWS:31290 -msgid "" -":issue:`27419`: Standard __import__() no longer look up \"__import__\" in " -"globals or builtins for importing submodules or \"from import\". Fixed " -"handling an error of non-string package name." -msgstr "" - -#: ../build/NEWS:31342 -msgid "" -":issue:`20191`: Fixed a crash in resource.prlimit() when pass a sequence " -"that doesn't own its elements as limits." -msgstr "" - -#: ../build/NEWS:31393 -msgid "" -":issue:`28488`: shutil.make_archive() no longer add entry \"./\" to ZIP " -"archive." -msgstr "" - -#: ../build/NEWS:31431 -msgid "" -":issue:`27611`: Fixed support of default root window in the tkinter.tix " -"module." -msgstr "" - -#: ../build/NEWS:31457 -msgid "" -":issue:`19003`: m email.generator now replaces only ``\\r`` and/or ``\\n`` " -"line endings, per the RFC, instead of all unicode line endings." -msgstr "" - -#: ../build/NEWS:31529 -msgid "" -"A new version of typing.py from https://github.com/python/typing: Collection " -"(only for 3.6) (:issue:`27598`). Add FrozenSet to __all__ (upstream #261). " -"Fix crash in _get_type_vars() (upstream #259). Remove the dict constraint in " -"ForwardRef._eval_type (upstream #252)." -msgstr "" - -#: ../build/NEWS:31545 -msgid "" -":issue:`26750`: unittest.mock.create_autospec() now works properly for " -"subclasses of property() and other data descriptors." -msgstr "" - -#: ../build/NEWS:31589 -msgid ":issue:`26664`: Fix activate.fish by removing mis-use of ``$``." -msgstr "" - -#: ../build/NEWS:31591 -msgid "" -":issue:`22115`: Fixed tracing Tkinter variables: trace_vdelete() with wrong " -"mode no longer break tracing, trace_vinfo() now always returns a list of " -"pairs of strings, tracing in the \"u\" mode now works." -msgstr "" - -#: ../build/NEWS:31595 -msgid "" -"Fix a scoping issue in importlib.util.LazyLoader which triggered an " -"UnboundLocalError when lazy-loading a module that was already put into sys." -"modules." -msgstr "" - -#: ../build/NEWS:31677 -msgid ":issue:`28600`: Optimize loop.call_soon()." -msgstr "" - -#: ../build/NEWS:31691 -msgid "" -":issue:`24142`: Reading a corrupt config file left the parser in an invalid " -"state. Original patch by Florian Höch." -msgstr "" - -#: ../build/NEWS:31694 -msgid "" -":issue:`28990`: Fix SSL hanging if connection is closed before handshake " -"completed. (Patch by HoHo-Ho)" -msgstr "" - -#: ../build/NEWS:31730 -msgid "" -":issue:`26754`: PyUnicode_FSDecoder() accepted a filename argument encoded " -"as an iterable of integers. Now only strings and bytes-like objects are " -"accepted." -msgstr "" - -#: ../build/NEWS:31742 -msgid "" -":issue:`28950`: Disallow -j0 to be combined with -T/-l/-M in regrtest " -"command line arguments." -msgstr "" - -#: ../build/NEWS:31783 -msgid "" -":issue:`27309`: Enabled proper Windows styles in python[w].exe manifest." -msgstr "" - -#: ../build/NEWS:31816 -msgid "" -":issue:`27983`: Cause lack of llvm-profdata tool when using clang as " -"required for PGO linking to be a configure time error rather than make time " -"when --with-optimizations is enabled. Also improve our ability to find the " -"llvm-profdata tool on MacOS and some Linuxes." -msgstr "" - -#: ../build/NEWS:31823 -msgid ":issue:`26359`: Add the --with-optimizations configure flag." -msgstr "" - -#: ../build/NEWS:31828 -msgid "" -":issue:`25825`: Correct the references to Modules/python.exp and ld_so_aix, " -"which are required on AIX. This updates references to an installation path " -"that was changed in 3.2a4, and undoes changed references to the build tree " -"that were made in 3.5.0a1." -msgstr "" - -#: ../build/NEWS:31851 -msgid "Python 3.5.2 final" -msgstr "" - -#: ../build/NEWS:31853 -msgid "*Release date: 2016-06-26*" -msgstr "" - -#: ../build/NEWS:31863 -msgid "" -":issue:`26867`: Ubuntu's openssl OP_NO_SSLv3 is forced on by default; fix " -"test." -msgstr "" - -#: ../build/NEWS:31868 -msgid "" -":issue:`27365`: Allow non-ascii in idlelib/NEWS.txt - minimal part for 3.5.2." -msgstr "" - -#: ../build/NEWS:31872 -msgid "Python 3.5.2 release candidate 1" -msgstr "" - -#: ../build/NEWS:31874 -msgid "*Release date: 2016-06-12*" -msgstr "" - -#: ../build/NEWS:31881 -msgid "" -"Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team " -"Oststrom" -msgstr "" - -#: ../build/NEWS:31912 -msgid "" -":issue:`27039`: Fixed bytearray.remove() for values greater than 127. Patch " -"by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:31967 -msgid "" -":issue:`26194`: Deque.insert() gave odd results for bounded deques that had " -"reached their maximum size. Now an IndexError will be raised when " -"attempting to insert into a full deque." -msgstr "" - -#: ../build/NEWS:31971 -msgid "" -":issue:`25843`: When compiling code, don't merge constants if they are equal " -"but have a different types. For example, ``f1, f2 = lambda: 1, lambda: 1.0`` " -"is now correctly compiled to two different functions: ``f1()`` returns ``1`` " -"(``int``) and ``f2()`` returns ``1.0`` (``int``), even if ``1`` and ``1.0`` " -"are equal." -msgstr "" - -#: ../build/NEWS:32190 -msgid "" -":issue:`21925`: :func:`warnings.formatwarning` now catches exceptions on " -"``linecache.getline(...)`` to be able to log :exc:`ResourceWarning` emitted " -"late during the Python shutdown process." -msgstr "" - -#: ../build/NEWS:32223 -msgid "" -":issue:`15068`: Got rid of excessive buffering in the fileinput module. The " -"bufsize parameter is no longer used." -msgstr "" - -#: ../build/NEWS:32252 -msgid "" -":issue:`26367`: importlib.__import__() raises SystemError like builtins." -"__import__() when ``level`` is specified but without an accompanying package " -"specified." -msgstr "" - -#: ../build/NEWS:32302 -msgid ":issue:`17633`: Improve zipimport's support for namespace packages." -msgstr "" - -#: ../build/NEWS:32401 -msgid "" -":issue:`27223`: asyncio: Fix _read_ready and _write_ready to respect " -"_conn_lost. Patch by Łukasz Langa." -msgstr "" - -#: ../build/NEWS:32404 -msgid "" -":issue:`22970`: asyncio: Fix inconsistency cancelling Condition.wait. Patch " -"by David Coles." -msgstr "" - -#: ../build/NEWS:32440 -msgid "" -":issue:`21703`: Add test for IDLE's undo delegator. Original patch by " -"Saimadhav Heblikar ." -msgstr "" - -#: ../build/NEWS:32476 -msgid "" -":issue:`25500`: Fix documentation to not claim that __import__ is searched " -"for in the global scope." -msgstr "" - -#: ../build/NEWS:32497 -msgid "" -":issue:`25940`: Changed test_ssl to use self-signed.pythontest.net. This " -"avoids relying on svn.python.org, which recently changed root certificate." -msgstr "" - -#: ../build/NEWS:32520 -msgid "" -":issue:`21668`: Link audioop, _datetime, _ctypes_test modules to libm, " -"except on Mac OS X. Patch written by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:32544 -msgid "" -":issue:`25348`: Added ``--pgo`` and ``--pgo-job`` arguments to " -"``PCbuild\\build.bat`` for building with Profile-Guided Optimization. The " -"old ``PCbuild\\build_pgo.bat`` script is now deprecated, and simply calls " -"``PCbuild\\build.bat --pgo %*``." -msgstr "" - -#: ../build/NEWS:32602 -msgid "Python 3.5.1 final" -msgstr "" - -#: ../build/NEWS:32604 -msgid "*Release date: 2015-12-06*" -msgstr "" - -#: ../build/NEWS:32615 -msgid "" -":issue:`25715`: Python 3.5.1 installer shows wrong upgrade path and " -"incorrect logic for launcher detection." -msgstr "" - -#: ../build/NEWS:32620 -msgid "Python 3.5.1 release candidate 1" -msgstr "" - -#: ../build/NEWS:32622 -msgid "*Release date: 2015-11-22*" -msgstr "" - -#: ../build/NEWS:32681 -msgid "" -":issue:`25182`: The stdprinter (used as sys.stderr before the io module is " -"imported at startup) now uses the backslashreplace error handler." -msgstr "" - -#: ../build/NEWS:32684 -msgid "" -":issue:`25131`: Make the line number and column offset of set/dict literals " -"and comprehensions correspond to the opening brace." -msgstr "" - -#: ../build/NEWS:32687 -msgid "" -":issue:`25150`: Hide the private _Py_atomic_xxx symbols from the public " -"Python.h header to fix a compilation error with OpenMP. PyThreadState_GET() " -"becomes an alias to PyThreadState_Get() to avoid ABI incompatibilities." -msgstr "" - -#: ../build/NEWS:32711 -msgid "" -":issue:`25590`: In the Readline completer, only call getattr() once per " -"attribute." -msgstr "" - -#: ../build/NEWS:32789 -msgid "" -":issue:`24483`: C implementation of functools.lru_cache() now calculates " -"key's hash only once." -msgstr "" - -#: ../build/NEWS:32792 -msgid "" -":issue:`22958`: Constructor and update method of weakref.WeakValueDictionary " -"now accept the self and the dict keyword arguments." -msgstr "" - -#: ../build/NEWS:32795 -msgid "" -":issue:`22609`: Constructor of collections.UserDict now accepts the self " -"keyword argument." -msgstr "" - -#: ../build/NEWS:32798 -msgid ":issue:`25111`: Fixed comparison of traceback.FrameSummary." -msgstr "" - -#: ../build/NEWS:32800 -msgid "" -":issue:`25262`: Added support for BINBYTES8 opcode in Python implementation " -"of unpickler. Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8 " -"opcodes no longer silently ignored on 32-bit platforms in C implementation." -msgstr "" - -#: ../build/NEWS:32805 -msgid "" -":issue:`25034`: Fix string.Formatter problem with auto-numbering and nested " -"format_specs. Patch by Anthon van der Neut." -msgstr "" - -#: ../build/NEWS:32808 -msgid "" -":issue:`25233`: Rewrite the guts of asyncio.Queue and asyncio.Semaphore to " -"be more understandable and correct." -msgstr "" - -#: ../build/NEWS:32817 -msgid "" -":issue:`23329`: Allow the ssl module to be built with older versions of " -"LibreSSL." -msgstr "" - -#: ../build/NEWS:32820 -msgid "Prevent overflow in _Unpickler_Read." -msgstr "" - -#: ../build/NEWS:32822 -msgid "" -":issue:`25047`: The XML encoding declaration written by Element Tree now " -"respects the letter case given by the user. This restores the ability to " -"write encoding names in uppercase like \"UTF-8\", which worked in Python 2." -msgstr "" - -#: ../build/NEWS:32826 -msgid "" -":issue:`25135`: Make deque_clear() safer by emptying the deque before " -"clearing. This helps avoid possible reentrancy issues." -msgstr "" - -#: ../build/NEWS:32829 -msgid "" -":issue:`19143`: platform module now reads Windows version from kernel32.dll " -"to avoid compatibility shims." -msgstr "" - -#: ../build/NEWS:32832 -msgid "" -":issue:`25092`: Fix datetime.strftime() failure when errno was already set " -"to EINVAL." -msgstr "" - -#: ../build/NEWS:32835 -msgid "" -":issue:`23517`: Fix rounding in fromtimestamp() and utcfromtimestamp() " -"methods of datetime.datetime: microseconds are now rounded to nearest with " -"ties going to nearest even integer (ROUND_HALF_EVEN), instead of being " -"rounding towards minus infinity (ROUND_FLOOR). It's important that these " -"methods use the same rounding mode than datetime.timedelta to keep the " -"property: (datetime(1970,1,1) + timedelta(seconds=t)) == datetime." -"utcfromtimestamp(t). It also the rounding mode used by round(float) for " -"example." -msgstr "" - -#: ../build/NEWS:32844 -msgid "" -":issue:`25155`: Fix datetime.datetime.now() and datetime.datetime.utcnow() " -"on Windows to support date after year 2038. It was a regression introduced " -"in Python 3.5.0." -msgstr "" - -#: ../build/NEWS:32848 -msgid "" -":issue:`25108`: Omitted internal frames in traceback functions " -"print_stack(), format_stack(), and extract_stack() called without arguments." -msgstr "" - -#: ../build/NEWS:32851 -msgid "" -":issue:`25118`: Fix a regression of Python 3.5.0 in os.waitpid() on Windows." -msgstr "" - -#: ../build/NEWS:32853 -msgid "" -":issue:`24684`: socket.socket.getaddrinfo() now calls " -"PyUnicode_AsEncodedString() instead of calling the encode() method of the " -"host, to handle correctly custom string with an encode() method which " -"doesn't return a byte string. The encoder of the IDNA codec is now called " -"directly instead of calling the encode() method of the string." -msgstr "" - -#: ../build/NEWS:32859 -msgid ":issue:`25060`: Correctly compute stack usage of the BUILD_MAP opcode." -msgstr "" - -#: ../build/NEWS:32861 -msgid "" -":issue:`24857`: Comparing call_args to a long sequence now correctly returns " -"a boolean result instead of raising an exception. Patch by A Kaptur." -msgstr "" - -#: ../build/NEWS:32864 -msgid "" -":issue:`23144`: Make sure that HTMLParser.feed() returns all the data, even " -"when convert_charrefs is True." -msgstr "" - -#: ../build/NEWS:32867 -msgid "" -":issue:`24982`: shutil.make_archive() with the \"zip\" format now adds " -"entries for directories (including empty directories) in ZIP file." -msgstr "" - -#: ../build/NEWS:32870 -msgid "" -":issue:`25019`: Fixed a crash caused by setting non-string key of expat " -"parser. Based on patch by John Leitch." -msgstr "" - -#: ../build/NEWS:32873 -msgid "" -":issue:`16180`: Exit pdb if file has syntax error, instead of trapping user " -"in an infinite loop. Patch by Xavier de Gaye." -msgstr "" - -#: ../build/NEWS:32876 -msgid "" -":issue:`24891`: Fix a race condition at Python startup if the file " -"descriptor of stdin (0), stdout (1) or stderr (2) is closed while Python is " -"creating sys.stdin, sys.stdout and sys.stderr objects. These attributes are " -"now set to None if the creation of the object failed, instead of raising an " -"OSError exception. Initial patch written by Marco Paolini." -msgstr "" - -#: ../build/NEWS:32882 -msgid "" -":issue:`24992`: Fix error handling and a race condition (related to garbage " -"collection) in collections.OrderedDict constructor." -msgstr "" - -#: ../build/NEWS:32885 -msgid "" -":issue:`24881`: Fixed setting binary mode in Python implementation of FileIO " -"on Windows and Cygwin. Patch from Akira Li." -msgstr "" - -#: ../build/NEWS:32901 -msgid "" -":issue:`21112`: Fix regression in unittest.expectedFailure on subclasses. " -"Patch from Berker Peksag." -msgstr "" - -#: ../build/NEWS:32904 -msgid "" -":issue:`24764`: cgi.FieldStorage.read_multi() now ignores the Content-Length " -"header in part headers. Patch written by Peter Landry and reviewed by Pierre " -"Quentel." -msgstr "" - -#: ../build/NEWS:32908 ../build/NEWS:33173 -msgid "" -":issue:`24913`: Fix overrun error in deque.index(). Found by John Leitch and " -"Bryce Darling." -msgstr "" - -#: ../build/NEWS:32911 -msgid "" -":issue:`24774`: Fix docstring in http.server.test. Patch from Chiu-Hsiang " -"Hsu." -msgstr "" - -#: ../build/NEWS:32913 -msgid "" -":issue:`21159`: Improve message in configparser." -"InterpolationMissingOptionError. Patch from Łukasz Langa." -msgstr "" - -#: ../build/NEWS:32916 -msgid "" -":issue:`20362`: Honour TestCase.longMessage correctly in assertRegex. Patch " -"from Ilia Kurenkov." -msgstr "" - -#: ../build/NEWS:32919 -msgid "" -":issue:`23572`: Fixed functools.singledispatch on classes with falsy " -"metaclasses. Patch by Ethan Furman." -msgstr "" - -#: ../build/NEWS:32922 -msgid "asyncio: ensure_future() now accepts awaitable objects." -msgstr "" - -#: ../build/NEWS:33010 -msgid "" -":issue:`16893`: Replace help.txt with help.html for Idle doc display. The " -"new idlelib/help.html is rstripped Doc/build/html/library/idle.html. It " -"looks better than help.txt and will better document Idle as released. The " -"tkinter html viewer that works for this file was written by Mark Roseman. " -"The now unused EditorWindow.HelpDialog class and helt.txt file are " -"deprecated." -msgstr "" - -#: ../build/NEWS:33027 -msgid "" -":issue:`12067`: Rewrite Comparisons section in the Expressions chapter of " -"the language reference. Some of the details of comparing mixed types were " -"incorrect or ambiguous. NotImplemented is only relevant at a lower level " -"than the Expressions chapter. Added details of comparing range() objects, " -"and default behaviour and consistency suggestions for user-defined classes. " -"Patch from Andy Maier." -msgstr "" - -#: ../build/NEWS:33037 -msgid "" -":issue:`23725`: Overhaul tempfile docs. Note deprecated status of mktemp. " -"Patch from Zbigniew Jędrzejewski-Szmek." -msgstr "" - -#: ../build/NEWS:33040 -msgid "" -":issue:`24808`: Update the types of some PyTypeObject fields. Patch by " -"Joseph Weston." -msgstr "" - -#: ../build/NEWS:33043 -msgid "" -":issue:`22812`: Fix unittest discovery examples. Patch from Pam McA'Nulty." -msgstr "" - -#: ../build/NEWS:33050 -msgid "" -":issue:`25099`: Make test_compileall not fail when an entry on sys.path " -"cannot be written to (commonly seen in administrative installs on Windows)." -msgstr "" - -#: ../build/NEWS:33053 -msgid ":issue:`23919`: Prevents assert dialogs appearing in the test suite." -msgstr "" - -#: ../build/NEWS:33061 -msgid "" -":issue:`24915`: Add LLVM support for PGO builds and use the test suite to " -"generate the profile data. Initial patch by Alecsandru Patrascu of Intel." -msgstr "" - -#: ../build/NEWS:33064 -msgid ":issue:`24910`: Windows MSIs now have unique display names." -msgstr "" - -#: ../build/NEWS:33072 -msgid "" -":issue:`25450`: Updates shortcuts to start Python in installation directory." -msgstr "" - -#: ../build/NEWS:33074 -msgid "" -":issue:`25164`: Changes default all-users install directory to match per-" -"user directory." -msgstr "" - -#: ../build/NEWS:33077 -msgid "" -":issue:`25143`: Improves installer error messages for unsupported platforms." -msgstr "" - -#: ../build/NEWS:33079 -msgid "" -":issue:`25163`: Display correct directory in installer when using non-" -"default settings." -msgstr "" - -#: ../build/NEWS:33082 -msgid "" -":issue:`25361`: Disables use of SSE2 instructions in Windows 32-bit build" -msgstr "" - -#: ../build/NEWS:33084 -msgid "" -":issue:`25089`: Adds logging to installer for case where launcher is not " -"selected on upgrade." -msgstr "" - -#: ../build/NEWS:33087 -msgid "" -":issue:`25165`: Windows uninstallation should not remove launcher if other " -"versions remain" -msgstr "" - -#: ../build/NEWS:33090 -msgid ":issue:`25112`: py.exe launcher is missing icons" -msgstr "" - -#: ../build/NEWS:33092 -msgid ":issue:`25102`: Windows installer does not precompile for -O or -OO." -msgstr "" - -#: ../build/NEWS:33094 -msgid "" -":issue:`25081`: Makes Back button in installer go back to upgrade page when " -"upgrading." -msgstr "" - -#: ../build/NEWS:33097 -msgid ":issue:`25091`: Increases font size of the installer." -msgstr "" - -#: ../build/NEWS:33099 -msgid "" -":issue:`25126`: Clarifies that the non-web installer will download some " -"components." -msgstr "" - -#: ../build/NEWS:33102 -msgid "" -":issue:`25213`: Restores requestedExecutionLevel to manifest to disable UAC " -"virtualization." -msgstr "" - -#: ../build/NEWS:33114 -msgid "Python 3.5.0 final" -msgstr "" - -#: ../build/NEWS:33116 -msgid "*Release date: 2015-09-13*" -msgstr "" - -#: ../build/NEWS:33121 -msgid "" -":issue:`25071`: Windows installer should not require TargetDir parameter " -"when installing quietly." -msgstr "" - -#: ../build/NEWS:33126 -msgid "Python 3.5.0 release candidate 4" -msgstr "" - -#: ../build/NEWS:33128 -msgid "*Release date: 2015-09-09*" -msgstr "" - -#: ../build/NEWS:33133 -msgid ":issue:`25029`: Fixes MemoryError in test_strptime." -msgstr "" - -#: ../build/NEWS:33138 -msgid "" -":issue:`25027`: Reverts partial-static build options and adds vcruntime140." -"dll to Windows installation." -msgstr "" - -#: ../build/NEWS:33143 -msgid "Python 3.5.0 release candidate 3" -msgstr "" - -#: ../build/NEWS:33145 -msgid "*Release date: 2015-09-07*" -msgstr "" - -#: ../build/NEWS:33150 -msgid "" -":issue:`24305`: Prevent import subsystem stack frames from being counted by " -"the warnings.warn(stacklevel=) parameter." -msgstr "" - -#: ../build/NEWS:33153 -msgid "" -":issue:`24912`: Prevent __class__ assignment to immutable built-in objects." -msgstr "" - -#: ../build/NEWS:33155 -msgid ":issue:`24975`: Fix AST compilation for :pep:`448` syntax." -msgstr "" - -#: ../build/NEWS:33160 -msgid ":issue:`24917`: time_strftime() buffer over-read." -msgstr "" - -#: ../build/NEWS:33162 -msgid "" -":issue:`24748`: To resolve a compatibility problem found with py2exe and " -"pywin32, imp.load_dynamic() once again ignores previously loaded modules to " -"support Python modules replacing themselves with extension modules. Patch by " -"Petr Viktorin." -msgstr "" - -#: ../build/NEWS:33167 -msgid "" -":issue:`24635`: Fixed a bug in typing.py where isinstance([], typing." -"Iterable) would return True once, then False on subsequent calls." -msgstr "" - -#: ../build/NEWS:33170 -msgid "" -":issue:`24989`: Fixed buffer overread in BytesIO.readline() if a position is " -"set beyond size. Based on patch by John Leitch." -msgstr "" - -#: ../build/NEWS:33178 -msgid "Python 3.5.0 release candidate 2" -msgstr "" - -#: ../build/NEWS:33180 -msgid "*Release date: 2015-08-25*" -msgstr "" - -#: ../build/NEWS:33185 -msgid "" -":issue:`24769`: Interpreter now starts properly when dynamic loading is " -"disabled. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:33188 -msgid "" -":issue:`21167`: NAN operations are now handled correctly when python is " -"compiled with ICC even if -fp-model strict is not specified." -msgstr "" - -#: ../build/NEWS:33191 -msgid "" -":issue:`24492`: A \"package\" lacking a __name__ attribute when trying to " -"perform a ``from .. import ...`` statement will trigger an ImportError " -"instead of an AttributeError." -msgstr "" - -#: ../build/NEWS:33198 -msgid ":issue:`24847`: Removes vcruntime140.dll dependency from Tcl/Tk." -msgstr "" - -#: ../build/NEWS:33200 -msgid ":issue:`24839`: platform._syscmd_ver raises DeprecationWarning" -msgstr "" - -#: ../build/NEWS:33202 -msgid ":issue:`24867`: Fix Task.get_stack() for 'async def' coroutines" -msgstr "" - -#: ../build/NEWS:33206 -msgid "Python 3.5.0 release candidate 1" -msgstr "" - -#: ../build/NEWS:33208 -msgid "*Release date: 2015-08-09*" -msgstr "" - -#: ../build/NEWS:33213 -msgid "" -":issue:`24667`: Resize odict in all cases that the underlying dict resizes." -msgstr "" - -#: ../build/NEWS:33218 -msgid "" -":issue:`24824`: Signatures of codecs.encode() and codecs.decode() now are " -"compatible with pydoc." -msgstr "" - -#: ../build/NEWS:33221 -msgid ":issue:`24634`: Importing uuid should not try to load libc on Windows" -msgstr "" - -#: ../build/NEWS:33223 -msgid ":issue:`24798`: _msvccompiler.py doesn't properly support manifests" -msgstr "" - -#: ../build/NEWS:33225 -msgid "" -":issue:`4395`: Better testing and documentation of binary operators. Patch " -"by Martin Panter." -msgstr "" - -#: ../build/NEWS:33228 -msgid ":issue:`23973`: Update typing.py from GitHub repo." -msgstr "" - -#: ../build/NEWS:33230 -msgid "" -":issue:`23004`: mock_open() now reads binary data correctly when the type of " -"read_data is bytes. Initial patch by Aaron Hill." -msgstr "" - -#: ../build/NEWS:33233 -msgid ":issue:`23888`: Handle fractional time in cookie expiry. Patch by ssh." -msgstr "" - -#: ../build/NEWS:33235 -msgid "" -":issue:`23652`: Make it possible to compile the select module against the " -"libc headers from the Linux Standard Base, which do not include some EPOLL " -"macros. Patch by Matt Frank." -msgstr "" - -#: ../build/NEWS:33239 -msgid "" -":issue:`22932`: Fix timezones in email.utils.formatdate. Patch from Dmitry " -"Shachnev." -msgstr "" - -#: ../build/NEWS:33242 -msgid "" -":issue:`23779`: imaplib raises TypeError if authenticator tries to abort. " -"Patch from Craig Holmquist." -msgstr "" - -#: ../build/NEWS:33245 -msgid "" -":issue:`23319`: Fix ctypes.BigEndianStructure, swap correctly bytes. Patch " -"written by Matthieu Gautier." -msgstr "" - -#: ../build/NEWS:33248 -msgid "" -":issue:`23254`: Document how to close the TCPServer listening socket. Patch " -"from Martin Panter." -msgstr "" - -#: ../build/NEWS:33251 -msgid "" -":issue:`19450`: Update Windows and OS X installer builds to use SQLite " -"3.8.11." -msgstr "" - -#: ../build/NEWS:33253 -msgid "" -":issue:`17527`: Add PATCH to wsgiref.validator. Patch from Luca Sbardella." -msgstr "" - -#: ../build/NEWS:33255 -msgid ":issue:`24791`: Fix grammar regression for call syntax: 'g(\\*a or b)'." -msgstr "" - -#: ../build/NEWS:33260 -msgid "" -":issue:`23672`: Allow Idle to edit and run files with astral chars in name. " -"Patch by Mohd Sanad Zaki Rizvi." -msgstr "" - -#: ../build/NEWS:33263 -msgid "" -":issue:`24745`: Idle editor default font. Switch from Courier to platform-" -"sensitive TkFixedFont. This should not affect current customized font " -"selections. If there is a problem, edit $HOME/.idlerc/config-main.cfg and " -"remove 'fontxxx' entries from [Editor Window]. Patch by Mark Roseman." -msgstr "" - -#: ../build/NEWS:33269 -msgid "" -":issue:`21192`: Idle editor. When a file is run, put its name in the restart " -"bar. Do not print false prompts. Original patch by Adnan Umer." -msgstr "" - -#: ../build/NEWS:33272 -msgid ":issue:`13884`: Idle menus. Remove tearoff lines. Patch by Roger Serwy." -msgstr "" - -#: ../build/NEWS:33277 -msgid "" -":issue:`24129`: Clarify the reference documentation for name resolution. " -"This includes removing the assumption that readers will be familiar with the " -"name resolution scheme Python used prior to the introduction of lexical " -"scoping for function namespaces. Patch by Ivan Levkivskyi." -msgstr "" - -#: ../build/NEWS:33282 -msgid ":issue:`20769`: Improve reload() docs. Patch by Dorian Pula." -msgstr "" - -#: ../build/NEWS:33284 -msgid "" -":issue:`23589`: Remove duplicate sentence from the FAQ. Patch by Yongzhi " -"Pan." -msgstr "" - -#: ../build/NEWS:33286 -msgid "" -":issue:`24729`: Correct IO tutorial to match implementation regarding " -"encoding parameter to open function." -msgstr "" - -#: ../build/NEWS:33292 -msgid "" -":issue:`24751`: When running regrtest with the ``-w`` command line option, a " -"test run is no longer marked as a failure if all tests succeed when re-run." -msgstr "" - -#: ../build/NEWS:33298 -msgid "Python 3.5.0 beta 4" -msgstr "" - -#: ../build/NEWS:33300 -msgid "*Release date: 2015-07-26*" -msgstr "" - -#: ../build/NEWS:33305 -msgid "" -":issue:`23573`: Restored optimization of bytes.rfind() and bytearray.rfind() " -"for single-byte argument on Linux." -msgstr "" - -#: ../build/NEWS:33308 -msgid ":issue:`24569`: Make :pep:`448` dictionary evaluation more consistent." -msgstr "" - -#: ../build/NEWS:33310 -msgid ":issue:`24583`: Fix crash when set is mutated while being updated." -msgstr "" - -#: ../build/NEWS:33312 -msgid ":issue:`24407`: Fix crash when dict is mutated while being updated." -msgstr "" - -#: ../build/NEWS:33314 -msgid "" -":issue:`24619`: New approach for tokenizing async/await. As a consequence, " -"it is now possible to have one-line 'async def foo(): await ..' functions." -msgstr "" - -#: ../build/NEWS:33317 -msgid "" -":issue:`24687`: Plug refleak on SyntaxError in function parameters " -"annotations." -msgstr "" - -#: ../build/NEWS:33319 -msgid "" -":issue:`15944`: memoryview: Allow arbitrary formats when casting to bytes. " -"Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:33325 -msgid "" -":issue:`23441`: rcompleter now prints a tab character instead of displaying " -"possible completions for an empty word. Initial patch by Martin Sekera." -msgstr "" - -#: ../build/NEWS:33328 -msgid "" -":issue:`24683`: Fixed crashes in _json functions called with arguments of " -"inappropriate type." -msgstr "" - -#: ../build/NEWS:33331 -msgid "" -":issue:`21697`: shutil.copytree() now correctly handles symbolic links that " -"point to directories. Patch by Eduardo Seabra and Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:33334 -msgid "" -":issue:`14373`: Fixed segmentation fault when gc.collect() is called during " -"constructing lru_cache (C implementation)." -msgstr "" - -#: ../build/NEWS:33337 -msgid "" -":issue:`24695`: Fix a regression in traceback.print_exception(). If " -"exc_traceback is None we shouldn't print a traceback header like described " -"in the documentation." -msgstr "" - -#: ../build/NEWS:33341 -msgid "" -":issue:`24620`: Random.setstate() now validates the value of state last " -"element." -msgstr "" - -#: ../build/NEWS:33344 -msgid "" -":issue:`22485`: Fixed an issue that caused `inspect.getsource` to return " -"incorrect results on nested functions." -msgstr "" - -#: ../build/NEWS:33347 -msgid "" -":issue:`22153`: Improve unittest docs. Patch from Martin Panter and evilzero." -msgstr "" - -#: ../build/NEWS:33349 -msgid "" -":issue:`24580`: Symbolic group references to open group in re patterns now " -"are explicitly forbidden as well as numeric group references." -msgstr "" - -#: ../build/NEWS:33352 -msgid ":issue:`24206`: Fixed __eq__ and __ne__ methods of inspect classes." -msgstr "" - -#: ../build/NEWS:33354 -msgid "" -":issue:`24631`: Fixed regression in the timeit module with multiline setup." -msgstr "" - -#: ../build/NEWS:33362 -msgid ":issue:`24608`: chunk.Chunk.read() now always returns bytes, not str." -msgstr "" - -#: ../build/NEWS:33364 -msgid ":issue:`18684`: Fixed reading out of the buffer in the re module." -msgstr "" - -#: ../build/NEWS:33366 -msgid "" -":issue:`24259`: tarfile now raises a ReadError if an archive is truncated " -"inside a data segment." -msgstr "" - -#: ../build/NEWS:33369 -msgid "" -":issue:`15014`: SMTP.auth() and SMTP.login() now support RFC 4954's optional " -"initial-response argument to the SMTP AUTH command." -msgstr "" - -#: ../build/NEWS:33372 -msgid "" -":issue:`24669`: Fix inspect.getsource() for 'async def' functions. Patch by " -"Kai Groner." -msgstr "" - -#: ../build/NEWS:33375 -msgid ":issue:`24688`: ast.get_docstring() for 'async def' functions." -msgstr "" - -#: ../build/NEWS:33380 -msgid "" -":issue:`24603`: Update Windows builds and OS X 10.5 installer to use OpenSSL " -"1.0.2d." -msgstr "" - -#: ../build/NEWS:33385 -msgid "Python 3.5.0 beta 3" -msgstr "" - -#: ../build/NEWS:33387 -msgid "*Release date: 2015-07-05*" -msgstr "" - -#: ../build/NEWS:33392 -msgid "" -":issue:`24467`: Fixed possible buffer over-read in bytearray. The bytearray " -"object now always allocates place for trailing null byte and it's buffer now " -"is always null-terminated." -msgstr "" - -#: ../build/NEWS:33396 -msgid "Upgrade to Unicode 8.0.0." -msgstr "" - -#: ../build/NEWS:33398 -msgid ":issue:`24345`: Add Py_tp_finalize slot for the stable ABI." -msgstr "" - -#: ../build/NEWS:33400 -msgid "" -":issue:`24400`: Introduce a distinct type for :pep:`492` coroutines; add " -"types.CoroutineType, inspect.getcoroutinestate, inspect.getcoroutinelocals; " -"coroutines no longer use CO_GENERATOR flag; sys.set_coroutine_wrapper works " -"only for 'async def' coroutines; inspect.iscoroutine no longer uses " -"collections.abc.Coroutine, it's intended to test for pure 'async def' " -"coroutines only; add new opcode: GET_YIELD_FROM_ITER; fix generators wrapper " -"used in types.coroutine to be instance of collections.abc.Generator; " -"collections.abc.Awaitable and collections.abc.Coroutine can no longer be " -"used to detect generator-based coroutines--use inspect.isawaitable instead." -msgstr "" - -#: ../build/NEWS:33411 -msgid "" -":issue:`24450`: Add gi_yieldfrom to generators and cr_await to coroutines. " -"Contributed by Benno Leslie and Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33414 -msgid "" -":issue:`19235`: Add new RecursionError exception. Patch by Georg Brandl." -msgstr "" - -#: ../build/NEWS:33419 -msgid "" -":issue:`21750`: mock_open.read_data can now be read from each instance, as " -"it could in Python 3.3." -msgstr "" - -#: ../build/NEWS:33422 -msgid "" -":issue:`24552`: Fix use after free in an error case of the _pickle module." -msgstr "" - -#: ../build/NEWS:33424 -msgid "" -":issue:`24514`: tarfile now tolerates number fields consisting of only " -"whitespace." -msgstr "" - -#: ../build/NEWS:33427 -msgid "" -":issue:`19176`: Fixed doctype() related bugs in C implementation of " -"ElementTree. A deprecation warning no longer issued by XMLParser subclass " -"with default doctype() method. Direct call of doctype() now issues a " -"warning. Parser's doctype() now is not called if target's doctype() is " -"called. Based on patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:33433 -msgid "" -":issue:`20387`: Restore semantic round-trip correctness in tokenize/" -"untokenize for tab-indented blocks." -msgstr "" - -#: ../build/NEWS:33436 -msgid "" -":issue:`24456`: Fixed possible buffer over-read in adpcm2lin() and " -"lin2adpcm() functions of the audioop module." -msgstr "" - -#: ../build/NEWS:33439 -msgid "" -":issue:`24336`: The contextmanager decorator now works with functions with " -"keyword arguments called \"func\" and \"self\". Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:33442 -msgid "" -":issue:`24522`: Fix possible integer overflow in json accelerator module." -msgstr "" - -#: ../build/NEWS:33444 -msgid "" -":issue:`24489`: ensure a previously set C errno doesn't disturb cmath." -"polar()." -msgstr "" - -#: ../build/NEWS:33446 -msgid "" -":issue:`24408`: Fixed AttributeError in measure() and metrics() methods of " -"tkinter.Font." -msgstr "" - -#: ../build/NEWS:33449 -msgid "" -":issue:`14373`: C implementation of functools.lru_cache() now can be used " -"with methods." -msgstr "" - -#: ../build/NEWS:33452 -msgid ":issue:`24347`: Set KeyError if PyDict_GetItemWithError returns NULL." -msgstr "" - -#: ../build/NEWS:33454 -msgid ":issue:`24348`: Drop superfluous incref/decref." -msgstr "" - -#: ../build/NEWS:33456 -msgid ":issue:`24359`: Check for changed OrderedDict size during iteration." -msgstr "" - -#: ../build/NEWS:33458 -msgid ":issue:`24368`: Support keyword arguments in OrderedDict methods." -msgstr "" - -#: ../build/NEWS:33460 -msgid ":issue:`24362`: Simplify the C OrderedDict fast nodes resize logic." -msgstr "" - -#: ../build/NEWS:33462 -msgid ":issue:`24377`: Fix a ref leak in OrderedDict.__repr__." -msgstr "" - -#: ../build/NEWS:33464 -msgid ":issue:`24369`: Defend against key-changes during iteration." -msgstr "" - -#: ../build/NEWS:33469 -msgid "" -":issue:`24373`: _testmultiphase and xxlimited now use tp_traverse and " -"tp_finalize to avoid reference leaks encountered when combining tp_dealloc " -"with PyType_FromSpec (see :issue:`16690` for details)" -msgstr "" - -#: ../build/NEWS:33476 -msgid "" -":issue:`24458`: Update documentation to cover multi-phase initialization for " -"extension modules (PEP 489). Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:33479 -msgid "" -":issue:`24351`: Clarify what is meant by \"identifier\" in the context of " -"string.Template instances." -msgstr "" - -#: ../build/NEWS:33485 -msgid "" -":issue:`24432`: Update Windows builds and OS X 10.5 installer to use OpenSSL " -"1.0.2c." -msgstr "" - -#: ../build/NEWS:33490 -msgid "Python 3.5.0 beta 2" -msgstr "" - -#: ../build/NEWS:33492 -msgid "*Release date: 2015-05-31*" -msgstr "" - -#: ../build/NEWS:33497 -msgid "" -":issue:`24284`: The startswith and endswith methods of the str class no " -"longer return True when finding the empty string and the indexes are " -"completely out of range." -msgstr "" - -#: ../build/NEWS:33501 -msgid "" -":issue:`24115`: Update uses of PyObject_IsTrue(), PyObject_Not(), " -"PyObject_IsInstance(), PyObject_RichCompareBool() and _PyDict_Contains() to " -"check for and handle errors correctly." -msgstr "" - -#: ../build/NEWS:33505 -msgid ":issue:`24328`: Fix importing one character extension modules." -msgstr "" - -#: ../build/NEWS:33507 -msgid "" -":issue:`11205`: In dictionary displays, evaluate the key before the value." -msgstr "" - -#: ../build/NEWS:33509 -msgid "" -":issue:`24285`: Fixed regression that prevented importing extension modules " -"from inside packages. Patch by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:33515 -msgid ":issue:`23247`: Fix a crash in the StreamWriter.reset() of CJK codecs." -msgstr "" - -#: ../build/NEWS:33517 -msgid "" -":issue:`24270`: Add math.isclose() and cmath.isclose() functions as per :pep:" -"`485`. Contributed by Chris Barker and Tal Einat." -msgstr "" - -#: ../build/NEWS:33520 -msgid "" -":issue:`5633`: Fixed timeit when the statement is a string and the setup is " -"not." -msgstr "" - -#: ../build/NEWS:33523 -msgid "" -":issue:`24326`: Fixed audioop.ratecv() with non-default weightB argument. " -"Original patch by David Moore." -msgstr "" - -#: ../build/NEWS:33526 -msgid ":issue:`16991`: Add a C implementation of OrderedDict." -msgstr "" - -#: ../build/NEWS:33528 -msgid "" -":issue:`23934`: Fix inspect.signature to fail correctly for builtin types " -"lacking signature information. Initial patch by James Powell." -msgstr "" - -#: ../build/NEWS:33533 -msgid "Python 3.5.0 beta 1" -msgstr "" - -#: ../build/NEWS:33535 -msgid "*Release date: 2015-05-24*" -msgstr "" - -#: ../build/NEWS:33540 -msgid ":issue:`24276`: Fixed optimization of property descriptor getter." -msgstr "" - -#: ../build/NEWS:33542 -msgid "" -":issue:`24268`: PEP 489: Multi-phase extension module initialization. Patch " -"by Petr Viktorin." -msgstr "" - -#: ../build/NEWS:33545 -msgid "" -":issue:`23955`: Add pyvenv.cfg option to suppress registry/environment " -"lookup for generating sys.path on Windows." -msgstr "" - -#: ../build/NEWS:33548 -msgid "" -":issue:`24257`: Fixed system error in the comparison of faked types." -"SimpleNamespace." -msgstr "" - -#: ../build/NEWS:33551 -msgid "" -":issue:`22939`: Fixed integer overflow in iterator object. Patch by Clement " -"Rouault." -msgstr "" - -#: ../build/NEWS:33554 -msgid "" -":issue:`23985`: Fix a possible buffer overrun when deleting a slice from the " -"front of a bytearray and then appending some other bytes data." -msgstr "" - -#: ../build/NEWS:33557 -msgid "" -":issue:`24102`: Fixed exception type checking in standard error handlers." -msgstr "" - -#: ../build/NEWS:33559 -msgid ":issue:`15027`: The UTF-32 encoder is now 3x to 7x faster." -msgstr "" - -#: ../build/NEWS:33561 -msgid "" -":issue:`23290`: Optimize set_merge() for cases where the target is empty. " -"(Contributed by Serhiy Storchaka.)" -msgstr "" - -#: ../build/NEWS:33564 -msgid ":issue:`2292`: PEP 448: Additional Unpacking Generalizations." -msgstr "" - -#: ../build/NEWS:33566 -msgid "" -":issue:`24096`: Make warnings.warn_explicit more robust against mutation of " -"the warnings.filters list." -msgstr "" - -#: ../build/NEWS:33569 -msgid "" -":issue:`23996`: Avoid a crash when a delegated generator raises an " -"unnormalized StopIteration exception. Patch by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:33572 -msgid ":issue:`23910`: Optimize property() getter calls. Patch by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:33574 -msgid "" -":issue:`23911`: Move path-based importlib bootstrap code to a separate " -"frozen module." -msgstr "" - -#: ../build/NEWS:33577 -msgid ":issue:`24192`: Fix namespace package imports." -msgstr "" - -#: ../build/NEWS:33579 -msgid "" -":issue:`24022`: Fix tokenizer crash when processing undecodable source code." -msgstr "" - -#: ../build/NEWS:33581 -msgid "" -":issue:`9951`: Added a hex() method to bytes, bytearray, and memoryview." -msgstr "" - -#: ../build/NEWS:33583 -msgid "" -":issue:`22906`: PEP 479: Change StopIteration handling inside generators." -msgstr "" - -#: ../build/NEWS:33585 -msgid ":issue:`24017`: PEP 492: Coroutines with async and await syntax." -msgstr "" - -#: ../build/NEWS:33590 -msgid "" -":issue:`14373`: Added C implementation of functools.lru_cache(). Based on " -"patches by Matt Joiner and Alexey Kachayev." -msgstr "" - -#: ../build/NEWS:33593 -msgid "" -":issue:`24230`: The tempfile module now accepts bytes for prefix, suffix and " -"dir parameters and returns bytes in such situations (matching the os module " -"APIs)." -msgstr "" - -#: ../build/NEWS:33597 -msgid "" -":issue:`22189`: collections.UserString now supports __getnewargs__(), " -"__rmod__(), casefold(), format_map(), isprintable(), and maketrans(). Patch " -"by Joe Jevnik." -msgstr "" - -#: ../build/NEWS:33601 -msgid "" -":issue:`24244`: Prevents termination when an invalid format string is " -"encountered on Windows in strftime." -msgstr "" - -#: ../build/NEWS:33604 -msgid ":issue:`23973`: PEP 484: Add the typing module." -msgstr "" - -#: ../build/NEWS:33606 -msgid "" -":issue:`23086`: The collections.abc.Sequence() abstract base class added " -"*start* and *stop* parameters to the index() mixin. Patch by Devin " -"Jeanpierre." -msgstr "" - -#: ../build/NEWS:33610 -msgid "" -":issue:`20035`: Replaced the ``tkinter._fix`` module used for setting up the " -"Tcl/Tk environment on Windows with a private function in the ``_tkinter`` " -"module that makes no permanent changes to the environment." -msgstr "" - -#: ../build/NEWS:33614 -msgid "" -":issue:`24257`: Fixed segmentation fault in sqlite3.Row constructor with " -"faked cursor type." -msgstr "" - -#: ../build/NEWS:33617 -msgid "" -":issue:`15836`: assertRaises(), assertRaisesRegex(), assertWarns() and " -"assertWarnsRegex() assertments now check the type of the first argument to " -"prevent possible user error. Based on patch by Daniel Wagner-Hall." -msgstr "" - -#: ../build/NEWS:33621 -msgid "" -":issue:`9858`: Add missing method stubs to _io.RawIOBase. Patch by Laura " -"Rupprecht." -msgstr "" - -#: ../build/NEWS:33624 -msgid "" -":issue:`22955`: attrgetter, itemgetter and methodcaller objects in the " -"operator module now support pickling. Added readable and evaluable repr for " -"these objects. Based on patch by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:33628 -msgid "" -":issue:`22107`: tempfile.gettempdir() and tempfile.mkdtemp() now try again " -"when a directory with the chosen name already exists on Windows as well as " -"on Unix. tempfile.mkstemp() now fails early if parent directory is not valid " -"(not exists or is a file) on Windows." -msgstr "" - -#: ../build/NEWS:33633 -msgid "" -":issue:`23780`: Improved error message in os.path.join() with single " -"argument." -msgstr "" - -#: ../build/NEWS:33635 -msgid "" -":issue:`6598`: Increased time precision and random number range in email." -"utils.make_msgid() to strengthen the uniqueness of the message ID." -msgstr "" - -#: ../build/NEWS:33638 -msgid "" -":issue:`24091`: Fixed various crashes in corner cases in C implementation of " -"ElementTree." -msgstr "" - -#: ../build/NEWS:33641 -msgid "" -":issue:`21931`: msilib.FCICreate() now raises TypeError in the case of a bad " -"argument instead of a ValueError with a bogus FCI error number. Patch by " -"Jeffrey Armstrong." -msgstr "" - -#: ../build/NEWS:33645 -msgid ":issue:`13866`: *quote_via* argument added to urllib.parse.urlencode." -msgstr "" - -#: ../build/NEWS:33647 -msgid "" -":issue:`20098`: New mangle_from policy option for email, default True for " -"compat32, but False for all other policies." -msgstr "" - -#: ../build/NEWS:33650 -msgid "" -":issue:`24211`: The email library now supports RFC 6532: it can generate " -"headers using utf-8 instead of encoded words." -msgstr "" - -#: ../build/NEWS:33653 -msgid ":issue:`16314`: Added support for the LZMA compression in distutils." -msgstr "" - -#: ../build/NEWS:33655 -msgid ":issue:`21804`: poplib now supports RFC 6856 (UTF8)." -msgstr "" - -#: ../build/NEWS:33657 -msgid ":issue:`18682`: Optimized pprint functions for builtin scalar types." -msgstr "" - -#: ../build/NEWS:33659 -msgid ":issue:`22027`: smtplib now supports RFC 6531 (SMTPUTF8)." -msgstr "" - -#: ../build/NEWS:33661 -msgid "" -":issue:`23488`: Random generator objects now consume 2x less memory on 64-" -"bit." -msgstr "" - -#: ../build/NEWS:33663 -msgid "" -":issue:`1322`: platform.dist() and platform.linux_distribution() functions " -"are now deprecated. Initial patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:33666 -msgid "" -":issue:`22486`: Added the math.gcd() function. The fractions.gcd() function " -"now is deprecated. Based on patch by Mark Dickinson." -msgstr "" - -#: ../build/NEWS:33669 -msgid "" -":issue:`24064`: Property() docstrings are now writeable. (Patch by Berker " -"Peksag.)" -msgstr "" - -#: ../build/NEWS:33672 -msgid ":issue:`22681`: Added support for the koi8_t encoding." -msgstr "" - -#: ../build/NEWS:33674 -msgid ":issue:`22682`: Added support for the kz1048 encoding." -msgstr "" - -#: ../build/NEWS:33676 -msgid "" -":issue:`23796`: peek and read1 methods of BufferedReader now raise " -"ValueError if they called on a closed object. Patch by John Hergenroeder." -msgstr "" - -#: ../build/NEWS:33679 -msgid "" -":issue:`21795`: smtpd now supports the 8BITMIME extension whenever the new " -"*decode_data* constructor argument is set to False." -msgstr "" - -#: ../build/NEWS:33682 -msgid "" -":issue:`24155`: optimize heapq.heapify() for better cache performance when " -"heapifying large lists." -msgstr "" - -#: ../build/NEWS:33685 -msgid "" -":issue:`21800`: imaplib now supports RFC 5161 (enable), RFC 6855 (utf8/" -"internationalized email) and automatically encodes non-ASCII usernames and " -"passwords to UTF8." -msgstr "" - -#: ../build/NEWS:33689 -msgid "" -":issue:`20274`: When calling a _sqlite.Connection, it now complains if " -"passed any keyword arguments. Previously it silently ignored them." -msgstr "" - -#: ../build/NEWS:33692 -msgid "" -":issue:`20274`: Remove ignored and erroneous \"kwargs\" parameters from " -"three METH_VARARGS methods on _sqlite.Connection." -msgstr "" - -#: ../build/NEWS:33695 -msgid "" -":issue:`24134`: assertRaises(), assertRaisesRegex(), assertWarns() and " -"assertWarnsRegex() checks now emits a deprecation warning when callable is " -"None or keyword arguments except msg is passed in the context manager mode." -msgstr "" - -#: ../build/NEWS:33700 -msgid "" -":issue:`24018`: Add a collections.abc.Generator abstract base class. " -"Contributed by Stefan Behnel." -msgstr "" - -#: ../build/NEWS:33703 -msgid "" -":issue:`23880`: Tkinter's getint() and getdouble() now support Tcl_Obj. " -"Tkinter's getdouble() now supports any numbers (in particular int)." -msgstr "" - -#: ../build/NEWS:33706 -msgid "" -":issue:`22619`: Added negative limit support in the traceback module. Based " -"on patch by Dmitry Kazakov." -msgstr "" - -#: ../build/NEWS:33709 -msgid "" -":issue:`24094`: Fix possible crash in json.encode with poorly behaved dict " -"subclasses." -msgstr "" - -#: ../build/NEWS:33712 -msgid "" -":issue:`9246`: On POSIX, os.getcwd() now supports paths longer than 1025 " -"bytes. Patch written by William Orr." -msgstr "" - -#: ../build/NEWS:33715 -msgid "" -":issue:`17445`: add difflib.diff_bytes() to support comparison of byte " -"strings (fixes a regression from Python 2)." -msgstr "" - -#: ../build/NEWS:33718 -msgid "" -":issue:`23917`: Fall back to sequential compilation when ProcessPoolExecutor " -"doesn't exist. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:33721 -msgid "" -":issue:`23008`: Fixed resolving attributes with boolean value is False in " -"pydoc." -msgstr "" - -#: ../build/NEWS:33724 -msgid "" -"Fix asyncio issue 235: LifoQueue and PriorityQueue's put didn't increment " -"unfinished tasks (this bug was introduced when JoinableQueue was merged with " -"Queue)." -msgstr "" - -#: ../build/NEWS:33728 -msgid "" -":issue:`23908`: os functions now reject paths with embedded null character " -"on Windows instead of silently truncating them." -msgstr "" - -#: ../build/NEWS:33731 -msgid "" -":issue:`23728`: binascii.crc_hqx() could return an integer outside of the " -"range 0-0xffff for empty data." -msgstr "" - -#: ../build/NEWS:33734 -msgid "" -":issue:`23887`: urllib.error.HTTPError now has a proper repr() " -"representation. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:33737 -msgid "" -"asyncio: New event loop APIs: set_task_factory() and get_task_factory()." -msgstr "" - -#: ../build/NEWS:33739 -msgid "asyncio: async() function is deprecated in favour of ensure_future()." -msgstr "" - -#: ../build/NEWS:33741 -msgid "" -":issue:`24178`: asyncio.Lock, Condition, Semaphore, and BoundedSemaphore " -"support new 'async with' syntax. Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33744 -msgid "" -":issue:`24179`: Support 'async for' for asyncio.StreamReader. Contributed by " -"Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33747 -msgid "" -":issue:`24184`: Add AsyncIterator and AsyncIterable ABCs to collections.abc. " -"Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33750 -msgid "" -":issue:`22547`: Implement informative __repr__ for inspect.BoundArguments. " -"Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33753 -msgid "" -":issue:`24190`: Implement inspect.BoundArgument.apply_defaults() method. " -"Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33756 -msgid "" -":issue:`20691`: Add 'follow_wrapped' argument to inspect.Signature." -"from_callable() and inspect.signature(). Contributed by Yury Selivanov." -msgstr "" - -#: ../build/NEWS:33760 -msgid "" -":issue:`24248`: Deprecate inspect.Signature.from_function() and inspect." -"Signature.from_builtin()." -msgstr "" - -#: ../build/NEWS:33763 -msgid "" -":issue:`23898`: Fix inspect.classify_class_attrs() to support attributes " -"with overloaded __eq__ and __bool__. Patch by Mike Bayer." -msgstr "" - -#: ../build/NEWS:33766 -msgid "" -":issue:`24298`: Fix inspect.signature() to correctly unwrap wrappers around " -"bound methods." -msgstr "" - -#: ../build/NEWS:33772 -msgid "" -":issue:`23184`: remove unused names and imports in idlelib. Initial patch by " -"Al Sweigart." -msgstr "" - -#: ../build/NEWS:33778 -msgid "" -":issue:`21520`: test_zipfile no longer fails if the word 'bad' appears " -"anywhere in the name of the current directory." -msgstr "" - -#: ../build/NEWS:33781 -msgid "" -":issue:`9517`: Move script_helper into the support package. Patch by " -"Christie Wilson." -msgstr "" - -#: ../build/NEWS:33787 -msgid "" -":issue:`22155`: Add File Handlers subsection with createfilehandler to " -"tkinter doc. Remove obsolete example from FAQ. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:33790 -msgid "" -":issue:`24029`: Document the name binding behavior for submodule imports." -msgstr "" - -#: ../build/NEWS:33792 -msgid ":issue:`24077`: Fix typo in man page for -I command option: -s, not -S" -msgstr "" - -#: ../build/NEWS:33797 -msgid "" -":issue:`24000`: Improved Argument Clinic's mapping of converters to legacy " -"\"format units\". Updated the documentation to match." -msgstr "" - -#: ../build/NEWS:33800 -msgid "" -":issue:`24001`: Argument Clinic converters now use accept={type} instead of " -"types={'type'} to specify the types the converter accepts." -msgstr "" - -#: ../build/NEWS:33803 -msgid ":issue:`23330`: h2py now supports arbitrary filenames in #include." -msgstr "" - -#: ../build/NEWS:33805 -msgid ":issue:`24031`: make patchcheck now supports git checkouts, too." -msgstr "" - -#: ../build/NEWS:33809 -msgid "Python 3.5.0 alpha 4" -msgstr "" - -#: ../build/NEWS:33811 -msgid "*Release date: 2015-04-19*" -msgstr "" - -#: ../build/NEWS:33816 -msgid "" -":issue:`22980`: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now " -"include the architecture triplet in the extension name, to make it easy to " -"test builds for different ABIs in the same working tree. Under OS X, the " -"extension name now includes :pep:`3149`-style information." -msgstr "" - -#: ../build/NEWS:33821 -msgid "" -":issue:`22631`: Added Linux-specific socket constant CAN_RAW_FD_FRAMES. " -"Patch courtesy of Joe Jevnik." -msgstr "" - -#: ../build/NEWS:33824 -msgid ":issue:`23731`: Implement :pep:`488`: removal of .pyo files." -msgstr "" - -#: ../build/NEWS:33826 -msgid "" -":issue:`23726`: Don't enable GC for user subclasses of non-GC types that " -"don't add any new fields. Patch by Eugene Toder." -msgstr "" - -#: ../build/NEWS:33829 -msgid "" -":issue:`23309`: Avoid a deadlock at shutdown if a daemon thread is aborted " -"while it is holding a lock to a buffered I/O object, and the main thread " -"tries to use the same I/O object (typically stdout or stderr). A fatal " -"error is emitted instead." -msgstr "" - -#: ../build/NEWS:33834 -msgid "" -":issue:`22977`: Fixed formatting Windows error messages on Wine. Patch by " -"Martin Panter." -msgstr "" - -#: ../build/NEWS:33837 -msgid "" -":issue:`23466`: %c, %o, %x, and %X in bytes formatting now raise TypeError " -"on non-integer input." -msgstr "" - -#: ../build/NEWS:33840 -msgid "" -":issue:`24044`: Fix possible null pointer dereference in list.sort in out of " -"memory conditions." -msgstr "" - -#: ../build/NEWS:33843 -msgid "" -":issue:`21354`: PyCFunction_New function is exposed by python DLL again." -msgstr "" - -#: ../build/NEWS:33848 -msgid "" -":issue:`23840`: tokenize.open() now closes the temporary binary file on " -"error to fix a resource warning." -msgstr "" - -#: ../build/NEWS:33851 -msgid "" -":issue:`16914`: new debuglevel 2 in smtplib adds timestamps to debug output." -msgstr "" - -#: ../build/NEWS:33853 -msgid "" -":issue:`7159`: urllib.request now supports sending auth credentials " -"automatically after the first 401. This enhancement is a superset of the " -"enhancement from :issue:`19494` and supersedes that change." -msgstr "" - -#: ../build/NEWS:33857 -msgid "" -":issue:`23703`: Fix a regression in urljoin() introduced in 901e4e52b20a. " -"Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:33860 -msgid ":issue:`4254`: Adds _curses.update_lines_cols(). Patch by Arnon Yaari" -msgstr "" - -#: ../build/NEWS:33862 -msgid "" -":issue:`19933`: Provide default argument for ndigits in round. Patch by " -"Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:33865 -msgid "" -":issue:`23193`: Add a numeric_owner parameter to tarfile.TarFile.extract and " -"tarfile.TarFile.extractall. Patch by Michael Vogt and Eric Smith." -msgstr "" - -#: ../build/NEWS:33868 -msgid "" -":issue:`23342`: Add a subprocess.run() function than returns a CalledProcess " -"instance for a more consistent API than the existing call* functions." -msgstr "" - -#: ../build/NEWS:33871 -msgid "" -":issue:`21217`: inspect.getsourcelines() now tries to compute the start and " -"end lines from the code object, fixing an issue when a lambda function is " -"used as decorator argument. Patch by Thomas Ballinger and Allison Kaptur." -msgstr "" - -#: ../build/NEWS:33875 -msgid ":issue:`24521`: Fix possible integer overflows in the pickle module." -msgstr "" - -#: ../build/NEWS:33877 -msgid ":issue:`22931`: Allow '[' and ']' in cookie values." -msgstr "" - -#: ../build/NEWS:33879 -msgid "The keywords attribute of functools.partial is now always a dictionary." -msgstr "" - -#: ../build/NEWS:33881 -msgid "" -":issue:`23811`: Add missing newline to the PyCompileError error message. " -"Patch by Alex Shkop." -msgstr "" - -#: ../build/NEWS:33884 -msgid "" -":issue:`21116`: Avoid blowing memory when allocating a multiprocessing " -"shared array that's larger than 50% of the available RAM. Patch by Médéric " -"Boquien." -msgstr "" - -#: ../build/NEWS:33888 -msgid "" -":issue:`22982`: Improve BOM handling when seeking to multiple positions of a " -"writable text file." -msgstr "" - -#: ../build/NEWS:33891 -msgid ":issue:`23464`: Removed deprecated asyncio JoinableQueue." -msgstr "" - -#: ../build/NEWS:33893 -msgid "" -":issue:`23529`: Limit the size of decompressed data when reading from " -"GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using " -"compressed bombs (i.e. compressed payloads which decompress to a huge " -"size). Patch by Martin Panter and Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:33898 -msgid ":issue:`21859`: Added Python implementation of io.FileIO." -msgstr "" - -#: ../build/NEWS:33900 -msgid "" -":issue:`23865`: close() methods in multiple modules now are idempotent and " -"more robust at shutdown. If they need to release multiple resources, all are " -"released even if errors occur." -msgstr "" - -#: ../build/NEWS:33904 -msgid "" -":issue:`23400`: Raise same exception on both Python 2 and 3 if sem_open is " -"not available. Patch by Davin Potts." -msgstr "" - -#: ../build/NEWS:33907 -msgid "" -":issue:`10838`: The subprocess now module includes SubprocessError and " -"TimeoutError in its list of exported names for the users wild enough to use " -"``from subprocess import *``." -msgstr "" - -#: ../build/NEWS:33911 -msgid "" -":issue:`23411`: Added DefragResult, ParseResult, SplitResult, " -"DefragResultBytes, ParseResultBytes, and SplitResultBytes to urllib.parse." -"__all__. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:33915 -msgid "" -":issue:`23881`: urllib.request.ftpwrapper constructor now closes the socket " -"if the FTP connection failed to fix a ResourceWarning." -msgstr "" - -#: ../build/NEWS:33918 -msgid "" -":issue:`23853`: :meth:`socket.socket.sendall` does no more reset the socket " -"timeout each time data is sent successfully. The socket timeout is now the " -"maximum total duration to send all data." -msgstr "" - -#: ../build/NEWS:33922 -msgid "" -":issue:`22721`: An order of multiline pprint output of set or dict " -"containing orderable and non-orderable elements no longer depends on " -"iteration order of set or dict." -msgstr "" - -#: ../build/NEWS:33926 -msgid "" -":issue:`15133`: _tkinter.tkapp.getboolean() now supports Tcl_Obj and always " -"returns bool. tkinter.BooleanVar now validates input values (accepted bool, " -"int, str, and Tcl_Obj). tkinter.BooleanVar.get() now always returns bool." -msgstr "" - -#: ../build/NEWS:33931 -msgid ":issue:`10590`: xml.sax.parseString() now supports string argument." -msgstr "" - -#: ../build/NEWS:33933 -msgid "" -":issue:`23338`: Fixed formatting ctypes error messages on Cygwin. Patch by " -"Makoto Kato." -msgstr "" - -#: ../build/NEWS:33936 -msgid ":issue:`15582`: inspect.getdoc() now follows inheritance chains." -msgstr "" - -#: ../build/NEWS:33938 -msgid "" -":issue:`2175`: SAX parsers now support a character stream of InputSource " -"object." -msgstr "" - -#: ../build/NEWS:33941 -msgid "" -":issue:`16840`: Tkinter now supports 64-bit integers added in Tcl 8.4 and " -"arbitrary precision integers added in Tcl 8.5." -msgstr "" - -#: ../build/NEWS:33944 -msgid "" -":issue:`23834`: Fix socket.sendto(), use the C Py_ssize_t type to store the " -"result of sendto() instead of the C int type." -msgstr "" - -#: ../build/NEWS:33947 -msgid "" -":issue:`23618`: :meth:`socket.socket.connect` now waits until the connection " -"completes instead of raising :exc:`InterruptedError` if the connection is " -"interrupted by signals, signal handlers don't raise an exception and the " -"socket is blocking or has a timeout. :meth:`socket.socket.connect` still " -"raise :exc:`InterruptedError` for non-blocking sockets." -msgstr "" - -#: ../build/NEWS:33953 -msgid ":issue:`21526`: Tkinter now supports new boolean type in Tcl 8.5." -msgstr "" - -#: ../build/NEWS:33955 -msgid "" -":issue:`23836`: Fix the faulthandler module to handle reentrant calls to its " -"signal handlers." -msgstr "" - -#: ../build/NEWS:33958 -msgid "" -":issue:`23838`: linecache now clears the cache and returns an empty result " -"on MemoryError." -msgstr "" - -#: ../build/NEWS:33961 -msgid "" -":issue:`10395`: Added os.path.commonpath(). Implemented in posixpath and " -"ntpath. Based on patch by Rafik Draoui." -msgstr "" - -#: ../build/NEWS:33964 -msgid "" -":issue:`23611`: Serializing more \"lookupable\" objects (such as unbound " -"methods or nested classes) now are supported with pickle protocols < 4." -msgstr "" - -#: ../build/NEWS:33967 -msgid ":issue:`13583`: sqlite3.Row now supports slice indexing." -msgstr "" - -#: ../build/NEWS:33969 -msgid "" -":issue:`18473`: Fixed 2to3 and 3to2 compatible pickle mappings. Fixed " -"ambiguous reverse mappings. Added many new mappings. Import mapping is no " -"longer applied to modules already mapped with full name mapping." -msgstr "" - -#: ../build/NEWS:33973 -msgid "" -":issue:`23485`: select.select() is now retried automatically with the " -"recomputed timeout when interrupted by a signal, except if the signal " -"handler raises an exception. This change is part of the :pep:`475`." -msgstr "" - -#: ../build/NEWS:33977 -msgid "" -":issue:`23752`: When built from an existing file descriptor, io.FileIO() now " -"only calls fstat() once. Before fstat() was called twice, which was not " -"necessary." -msgstr "" - -#: ../build/NEWS:33981 -msgid "" -":issue:`23704`: collections.deque() objects now support __add__, __mul__, " -"and __imul__()." -msgstr "" - -#: ../build/NEWS:33984 -msgid ":issue:`23171`: csv.Writer.writerow() now supports arbitrary iterables." -msgstr "" - -#: ../build/NEWS:33986 -msgid "" -":issue:`23745`: The new email header parser now handles duplicate MIME " -"parameter names without error, similar to how get_param behaves." -msgstr "" - -#: ../build/NEWS:33989 -msgid "" -":issue:`22117`: Fix os.utime(), it now rounds the timestamp towards minus " -"infinity (-inf) instead of rounding towards zero." -msgstr "" - -#: ../build/NEWS:33992 -msgid "" -":issue:`23310`: Fix MagicMock's initializer to work with __methods__, just " -"like configure_mock(). Patch by Kasia Jachim." -msgstr "" - -#: ../build/NEWS:33998 -msgid "" -":issue:`23817`: FreeBSD now uses \"1.0\" in the SOVERSION as other operating " -"systems, instead of just \"1\"." -msgstr "" - -#: ../build/NEWS:34001 -msgid "" -":issue:`23501`: Argument Clinic now generates code into separate files by " -"default." -msgstr "" - -#: ../build/NEWS:34007 -msgid "" -":issue:`23799`: Added test.support.start_threads() for running and cleaning " -"up multiple threads." -msgstr "" - -#: ../build/NEWS:34010 -msgid "" -":issue:`22390`: test.regrtest now emits a warning if temporary files or " -"directories are left after running a test." -msgstr "" - -#: ../build/NEWS:34016 -msgid "" -":issue:`18128`: pygettext now uses standard +NNNN format in the POT-Creation-" -"Date header." -msgstr "" - -#: ../build/NEWS:34019 -msgid "" -":issue:`23935`: Argument Clinic's understanding of format units accepting " -"bytes, bytearrays, and buffers is now consistent with both the documentation " -"and the implementation." -msgstr "" - -#: ../build/NEWS:34023 -msgid "" -":issue:`23944`: Argument Clinic now wraps long impl prototypes at column 78." -msgstr "" - -#: ../build/NEWS:34025 -msgid "" -":issue:`20586`: Argument Clinic now ensures that functions without " -"docstrings have signatures." -msgstr "" - -#: ../build/NEWS:34028 -msgid "" -":issue:`23492`: Argument Clinic now generates argument parsing code with " -"PyArg_Parse instead of PyArg_ParseTuple if possible." -msgstr "" - -#: ../build/NEWS:34031 -msgid "" -":issue:`23500`: Argument Clinic is now smarter about generating the " -"\"#ifndef\" (empty) definition of the methoddef macro: it's only generated " -"once, even if Argument Clinic processes the same symbol multiple times, and " -"it's emitted at the end of all processing rather than immediately after the " -"first use." -msgstr "" - -#: ../build/NEWS:34040 -msgid "" -":issue:`23998`: PyImport_ReInitLock() now checks for lock allocation error" -msgstr "" - -#: ../build/NEWS:34044 -msgid "Python 3.5.0 alpha 3" -msgstr "" - -#: ../build/NEWS:34046 -msgid "*Release date: 2015-03-28*" -msgstr "" - -#: ../build/NEWS:34051 -msgid "" -":issue:`23573`: Increased performance of string search operations (str.find, " -"str.index, str.count, the in operator, str.split, str.partition) with " -"arguments of different kinds (UCS1, UCS2, UCS4)." -msgstr "" - -#: ../build/NEWS:34055 -msgid "" -":issue:`23753`: Python doesn't support anymore platforms without stat() or " -"fstat(), these functions are always required." -msgstr "" - -#: ../build/NEWS:34058 -msgid "" -":issue:`23681`: The -b option now affects comparisons of bytes with int." -msgstr "" - -#: ../build/NEWS:34060 -msgid "" -":issue:`23632`: Memoryviews now allow tuple indexing (including for multi-" -"dimensional memoryviews)." -msgstr "" - -#: ../build/NEWS:34063 -msgid ":issue:`23192`: Fixed generator lambdas. Patch by Bruno Cauet." -msgstr "" - -#: ../build/NEWS:34065 -msgid "" -":issue:`23629`: Fix the default __sizeof__ implementation for variable-sized " -"objects." -msgstr "" - -#: ../build/NEWS:34071 -msgid "" -":issue:`14260`: The groupindex attribute of regular expression pattern " -"object now is non-modifiable mapping." -msgstr "" - -#: ../build/NEWS:34074 -msgid "" -":issue:`23792`: Ignore KeyboardInterrupt when the pydoc pager is active. " -"This mimics the behavior of the standard unix pagers, and prevents pipepager " -"from shutting down while the pager itself is still running." -msgstr "" - -#: ../build/NEWS:34078 -msgid "" -":issue:`23775`: pprint() of OrderedDict now outputs the same representation " -"as repr()." -msgstr "" - -#: ../build/NEWS:34081 -msgid ":issue:`23765`: Removed IsBadStringPtr calls in ctypes" -msgstr "" - -#: ../build/NEWS:34083 -msgid ":issue:`22364`: Improved some re error messages using regex for hints." -msgstr "" - -#: ../build/NEWS:34085 -msgid "" -":issue:`23742`: ntpath.expandvars() no longer loses unbalanced single quotes." -msgstr "" - -#: ../build/NEWS:34087 -msgid "" -":issue:`21717`: The zipfile.ZipFile.open function now supports " -"'x' (exclusive creation) mode." -msgstr "" - -#: ../build/NEWS:34090 -msgid "" -":issue:`21802`: The reader in BufferedRWPair now is closed even when closing " -"writer failed in BufferedRWPair.close()." -msgstr "" - -#: ../build/NEWS:34093 -msgid "" -":issue:`23622`: Unknown escapes in regular expressions that consist of " -"``'\\'`` and ASCII letter now raise a deprecation warning and will be " -"forbidden in Python 3.6." -msgstr "" - -#: ../build/NEWS:34097 -msgid "" -":issue:`23671`: string.Template now allows specifying the \"self\" parameter " -"as a keyword argument. string.Formatter now allows specifying the \"self\" " -"and the \"format_string\" parameters as keyword arguments." -msgstr "" - -#: ../build/NEWS:34101 -msgid ":issue:`23502`: The pprint module now supports mapping proxies." -msgstr "" - -#: ../build/NEWS:34103 -msgid ":issue:`17530`: pprint now wraps long bytes objects and bytearrays." -msgstr "" - -#: ../build/NEWS:34105 -msgid "" -":issue:`22687`: Fixed some corner cases in breaking words in tetxtwrap. Got " -"rid of quadratic complexity in breaking long words." -msgstr "" - -#: ../build/NEWS:34108 -msgid "" -":issue:`4727`: The copy module now uses pickle protocol 4 (PEP 3154) and " -"supports copying of instances of classes whose __new__ method takes keyword-" -"only arguments." -msgstr "" - -#: ../build/NEWS:34112 -msgid "" -":issue:`23491`: Added a zipapp module to support creating executable zip " -"file archives of Python code. Registered \".pyz\" and \".pyzw\" extensions " -"on Windows for these archives (PEP 441)." -msgstr "" - -#: ../build/NEWS:34116 -msgid "" -":issue:`23657`: Avoid explicit checks for str in zipapp, adding support for " -"pathlib.Path objects as arguments." -msgstr "" - -#: ../build/NEWS:34119 -msgid "" -":issue:`23688`: Added support of arbitrary bytes-like objects and avoided " -"unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch " -"by Wolfgang Maier." -msgstr "" - -#: ../build/NEWS:34123 -msgid "" -":issue:`23252`: Added support for writing ZIP files to unseekable streams." -msgstr "" - -#: ../build/NEWS:34125 -msgid "" -":issue:`23647`: Increase imaplib's MAXLINE to accommodate modern mailbox " -"sizes." -msgstr "" - -#: ../build/NEWS:34127 -msgid "" -":issue:`23539`: If body is None, http.client.HTTPConnection.request now sets " -"Content-Length to 0 for PUT, POST, and PATCH headers to avoid 411 errors " -"from some web servers." -msgstr "" - -#: ../build/NEWS:34131 -msgid "" -":issue:`22351`: The nntplib.NNTP constructor no longer leaves the connection " -"and socket open until the garbage collector cleans them up. Patch by Martin " -"Panter." -msgstr "" - -#: ../build/NEWS:34135 -msgid "" -":issue:`23704`: collections.deque() objects now support methods for index(), " -"insert(), and copy(). This allows deques to be registered as a " -"MutableSequence and it improves their substitutability for lists." -msgstr "" - -#: ../build/NEWS:34139 -msgid "" -":issue:`23715`: :func:`signal.sigwaitinfo` and :func:`signal.sigtimedwait` " -"are now retried when interrupted by a signal not in the *sigset* parameter, " -"if the signal handler does not raise an exception. signal.sigtimedwait() " -"recomputes the timeout with a monotonic clock when it is retried." -msgstr "" - -#: ../build/NEWS:34144 -msgid "" -":issue:`23001`: Few functions in modules mmap, ossaudiodev, socket, ssl, and " -"codecs, that accepted only read-only bytes-like object now accept writable " -"bytes-like object too." -msgstr "" - -#: ../build/NEWS:34148 -msgid "" -":issue:`23646`: If time.sleep() is interrupted by a signal, the sleep is now " -"retried with the recomputed delay, except if the signal handler raises an " -"exception (PEP 475)." -msgstr "" - -#: ../build/NEWS:34152 -msgid "" -":issue:`23136`: _strptime now uniformly handles all days in week 0, " -"including Dec 30 of previous year. Based on patch by Jim Carroll." -msgstr "" - -#: ../build/NEWS:34155 -msgid "" -":issue:`23700`: Iterator of NamedTemporaryFile now keeps a reference to " -"NamedTemporaryFile instance. Patch by Bohuslav Kabrda." -msgstr "" - -#: ../build/NEWS:34158 -msgid "" -":issue:`22903`: The fake test case created by unittest.loader when it fails " -"importing a test module is now picklable." -msgstr "" - -#: ../build/NEWS:34161 -msgid "" -":issue:`22181`: On Linux, os.urandom() now uses the new getrandom() syscall " -"if available, syscall introduced in the Linux kernel 3.17. It is more " -"reliable and more secure, because it avoids the need of a file descriptor " -"and waits until the kernel has enough entropy." -msgstr "" - -#: ../build/NEWS:34166 -msgid "" -":issue:`2211`: Updated the implementation of the http.cookies.Morsel class. " -"Setting attributes key, value and coded_value directly now is deprecated. " -"update() and setdefault() now transform and check keys. Comparing for " -"equality now takes into account attributes key, value and coded_value. " -"copy() now returns a Morsel, not a dict. repr() now contains all " -"attributes. Optimized checking keys and quoting values. Added new tests. " -"Original patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34174 -msgid "" -":issue:`18983`: Allow selection of output units in timeit. Patch by Julian " -"Gindi." -msgstr "" - -#: ../build/NEWS:34177 -msgid "" -":issue:`23631`: Fix traceback.format_list when a traceback has been mutated." -msgstr "" - -#: ../build/NEWS:34179 -msgid "" -":issue:`23568`: Add rdivmod support to MagicMock() objects. Patch by Håkan " -"Lövdahl." -msgstr "" - -#: ../build/NEWS:34182 -msgid ":issue:`2052`: Add charset parameter to HtmlDiff.make_file()." -msgstr "" - -#: ../build/NEWS:34184 -msgid ":issue:`23668`: Support os.truncate and os.ftruncate on Windows." -msgstr "" - -#: ../build/NEWS:34186 -msgid "" -":issue:`23138`: Fixed parsing cookies with absent keys or values in " -"cookiejar. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34189 -msgid "" -":issue:`23051`: multiprocessing.Pool methods imap() and imap_unordered() now " -"handle exceptions raised by an iterator. Patch by Alon Diamant and Davin " -"Potts." -msgstr "" - -#: ../build/NEWS:34193 -msgid "" -":issue:`23581`: Add matmul support to MagicMock. Patch by Håkan Lövdahl." -msgstr "" - -#: ../build/NEWS:34195 -msgid "" -":issue:`23566`: enable(), register(), dump_traceback() and " -"dump_traceback_later() functions of faulthandler now accept file " -"descriptors. Patch by Wei Wu." -msgstr "" - -#: ../build/NEWS:34199 -msgid "" -":issue:`22928`: Disabled HTTP header injections in http.client. Original " -"patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34202 -msgid "" -":issue:`23615`: Modules bz2, tarfile and tokenize now can be reloaded with " -"imp.reload(). Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:34205 -msgid "" -":issue:`23605`: os.walk() now calls os.scandir() instead of os.listdir(). " -"The usage of os.scandir() reduces the number of calls to os.stat(). Initial " -"patch written by Ben Hoyt." -msgstr "" - -#: ../build/NEWS:34212 -msgid ":issue:`23585`: make patchcheck will ensure the interpreter is built." -msgstr "" - -#: ../build/NEWS:34217 -msgid ":issue:`23583`: Added tests for standard IO streams in IDLE." -msgstr "" - -#: ../build/NEWS:34219 -msgid "" -":issue:`22289`: Prevent test_urllib2net failures due to ftp connection " -"timeout." -msgstr "" - -#: ../build/NEWS:34224 -msgid "" -":issue:`22826`: The result of open() in Tools/freeze/bkfile.py is now better " -"compatible with regular files (in particular it now supports the context " -"management protocol)." -msgstr "" - -#: ../build/NEWS:34230 -msgid "Python 3.5.0 alpha 2" -msgstr "" - -#: ../build/NEWS:34232 -msgid "*Release date: 2015-03-09*" -msgstr "" - -#: ../build/NEWS:34237 -msgid "" -":issue:`23571`: PyObject_Call() and PyCFunction_Call() now raise a " -"SystemError if a function returns a result and raises an exception. The " -"SystemError is chained to the previous exception." -msgstr "" - -#: ../build/NEWS:34244 -msgid "" -":issue:`22524`: New os.scandir() function, part of the :pep:`471`: \"os." -"scandir() function -- a better and faster directory iterator\". Patch " -"written by Ben Hoyt." -msgstr "" - -#: ../build/NEWS:34248 -msgid "" -":issue:`23103`: Reduced the memory consumption of IPv4Address and " -"IPv6Address." -msgstr "" - -#: ../build/NEWS:34250 -msgid "" -":issue:`21793`: BaseHTTPRequestHandler again logs response code as numeric, " -"not as stringified enum. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34253 -msgid "" -":issue:`23476`: In the ssl module, enable OpenSSL's " -"X509_V_FLAG_TRUSTED_FIRST flag on certificate stores when it is available." -msgstr "" - -#: ../build/NEWS:34256 -msgid "" -":issue:`23576`: Avoid stalling in SSL reads when EOF has been reached in the " -"SSL layer but the underlying connection hasn't been closed." -msgstr "" - -#: ../build/NEWS:34259 -msgid ":issue:`23504`: Added an __all__ to the types module." -msgstr "" - -#: ../build/NEWS:34261 -msgid ":issue:`23563`: Optimized utility functions in urllib.parse." -msgstr "" - -#: ../build/NEWS:34263 -msgid ":issue:`7830`: Flatten nested functools.partial." -msgstr "" - -#: ../build/NEWS:34265 -msgid ":issue:`20204`: Added the __module__ attribute to _tkinter classes." -msgstr "" - -#: ../build/NEWS:34267 -msgid "" -":issue:`19980`: Improved help() for non-recognized strings. help('') now " -"shows the help on str. help('help') now shows the help on help(). Original " -"patch by Mark Lawrence." -msgstr "" - -#: ../build/NEWS:34271 -msgid "" -":issue:`23521`: Corrected pure python implementation of timedelta division. " -"Eliminated OverflowError from ``timedelta * float`` for some floats; " -"Corrected rounding in timedelta true division." -msgstr "" - -#: ../build/NEWS:34275 -msgid "" -":issue:`21619`: Popen objects no longer leave a zombie after exit in the " -"with statement if the pipe was broken. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:34278 -msgid "" -":issue:`22936`: Make it possible to show local variables in tracebacks for " -"both the traceback module and unittest." -msgstr "" - -#: ../build/NEWS:34281 -msgid "" -":issue:`15955`: Add an option to limit the output size in bz2.decompress(). " -"Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:34284 -msgid "" -":issue:`6639`: Module-level turtle functions no longer raise TclError after " -"closing the window." -msgstr "" - -#: ../build/NEWS:34287 -msgid "" -":issue:`814253`: Group references and conditional group references now work " -"in lookbehind assertions in regular expressions. (See also: :issue:`9179`)" -msgstr "" - -#: ../build/NEWS:34290 -msgid "" -":issue:`23215`: Multibyte codecs with custom error handlers that ignores " -"errors consumed too much memory and raised SystemError or MemoryError. " -"Original patch by Aleksi Torhamo." -msgstr "" - -#: ../build/NEWS:34294 -msgid "" -":issue:`5700`: io.FileIO() called flush() after closing the file. flush() " -"was not called in close() if closefd=False." -msgstr "" - -#: ../build/NEWS:34297 -msgid "" -":issue:`23374`: Fixed pydoc failure with non-ASCII files when stdout " -"encoding differs from file system encoding (e.g. on Mac OS)." -msgstr "" - -#: ../build/NEWS:34300 -msgid ":issue:`23481`: Remove RC4 from the SSL module's default cipher list." -msgstr "" - -#: ../build/NEWS:34302 -msgid "" -":issue:`21548`: Fix pydoc.synopsis() and pydoc.apropos() on modules with " -"empty docstrings." -msgstr "" - -#: ../build/NEWS:34305 -msgid "" -":issue:`22885`: Fixed arbitrary code execution vulnerability in the dbm.dumb " -"module. Original patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:34308 -msgid "" -":issue:`23239`: ssl.match_hostname() now supports matching of IP addresses." -msgstr "" - -#: ../build/NEWS:34310 -msgid "" -":issue:`23146`: Fix mishandling of absolute Windows paths with forward " -"slashes in pathlib." -msgstr "" - -#: ../build/NEWS:34313 -msgid "" -":issue:`23096`: Pickle representation of floats with protocol 0 now is the " -"same for both Python and C implementations." -msgstr "" - -#: ../build/NEWS:34316 -msgid "" -":issue:`19105`: pprint now more efficiently uses free space at the right." -msgstr "" - -#: ../build/NEWS:34318 -msgid "" -":issue:`14910`: Add allow_abbrev parameter to argparse.ArgumentParser. Patch " -"by Jonathan Paugh, Steven Bethard, paul j3 and Daniel Eriksson." -msgstr "" - -#: ../build/NEWS:34321 -msgid "" -":issue:`21717`: tarfile.open() now supports 'x' (exclusive creation) mode." -msgstr "" - -#: ../build/NEWS:34323 -msgid ":issue:`23344`: marshal.dumps() is now 20-25% faster on average." -msgstr "" - -#: ../build/NEWS:34325 -msgid "" -":issue:`20416`: marshal.dumps() with protocols 3 and 4 is now 40-50% faster " -"on average." -msgstr "" - -#: ../build/NEWS:34328 -msgid ":issue:`23421`: Fixed compression in tarfile CLI. Patch by wdv4758h." -msgstr "" - -#: ../build/NEWS:34330 -msgid ":issue:`23367`: Fix possible overflows in the unicodedata module." -msgstr "" - -#: ../build/NEWS:34332 -msgid "" -":issue:`23361`: Fix possible overflow in Windows subprocess creation code." -msgstr "" - -#: ../build/NEWS:34334 -msgid "" -"logging.handlers.QueueListener now takes a respect_handler_level keyword " -"argument which, if set to True, will pass messages to handlers taking " -"handler levels into account." -msgstr "" - -#: ../build/NEWS:34338 -msgid "" -":issue:`19705`: turtledemo now has a visual sorting algorithm demo. " -"Original patch from Jason Yeo." -msgstr "" - -#: ../build/NEWS:34341 -msgid "" -":issue:`23801`: Fix issue where cgi.FieldStorage did not always ignore the " -"entire preamble to a multipart body." -msgstr "" - -#: ../build/NEWS:34347 -msgid "" -":issue:`23445`: pydebug builds now use \"gcc -Og\" where possible, to make " -"the resulting executable faster." -msgstr "" - -#: ../build/NEWS:34350 -msgid ":issue:`23686`: Update OS X 10.5 installer build to use OpenSSL 1.0.2a." -msgstr "" - -#: ../build/NEWS:34355 -msgid "" -":issue:`20204`: Deprecation warning is now raised for builtin types without " -"the __module__ attribute." -msgstr "" - -#: ../build/NEWS:34361 -msgid "" -":issue:`23465`: Implement :pep:`486` - Make the Python Launcher aware of " -"virtual environments. Patch by Paul Moore." -msgstr "" - -#: ../build/NEWS:34364 -msgid "" -":issue:`23437`: Make user scripts directory versioned on Windows. Patch by " -"Paul Moore." -msgstr "" - -#: ../build/NEWS:34369 -msgid "Python 3.5.0 alpha 1" -msgstr "" - -#: ../build/NEWS:34371 -msgid "*Release date: 2015-02-08*" -msgstr "" - -#: ../build/NEWS:34376 -msgid ":issue:`23285`: PEP 475 - EINTR handling." -msgstr "" - -#: ../build/NEWS:34378 -msgid "" -":issue:`22735`: Fix many edge cases (including crashes) involving custom " -"mro() implementations." -msgstr "" - -#: ../build/NEWS:34381 -msgid "" -":issue:`22896`: Avoid using PyObject_AsCharBuffer(), PyObject_AsReadBuffer() " -"and PyObject_AsWriteBuffer()." -msgstr "" - -#: ../build/NEWS:34384 -msgid "" -":issue:`21295`: Revert some changes (:issue:`16795`) to AST line numbers and " -"column offsets that constituted a regression." -msgstr "" - -#: ../build/NEWS:34387 -msgid "" -":issue:`22986`: Allow changing an object's __class__ between a dynamic type " -"and static type in some cases." -msgstr "" - -#: ../build/NEWS:34390 -msgid "" -":issue:`15859`: PyUnicode_EncodeFSDefault(), PyUnicode_EncodeMBCS() and " -"PyUnicode_EncodeCodePage() now raise an exception if the object is not a " -"Unicode object. For PyUnicode_EncodeFSDefault(), it was already the case on " -"platforms other than Windows. Patch written by Campbell Barton." -msgstr "" - -#: ../build/NEWS:34395 -msgid "" -":issue:`21408`: The default __ne__() now returns NotImplemented if __eq__() " -"returned NotImplemented. Original patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:34398 -msgid "" -":issue:`23321`: Fixed a crash in str.decode() when error handler returned " -"replacement string longer than malformed input data." -msgstr "" - -#: ../build/NEWS:34401 -msgid "" -":issue:`22286`: The \"backslashreplace\" error handlers now works with " -"decoding and translating." -msgstr "" - -#: ../build/NEWS:34404 -msgid "" -":issue:`23253`: Delay-load ShellExecute[AW] in os.startfile for reduced " -"startup overhead on Windows." -msgstr "" - -#: ../build/NEWS:34407 -msgid "" -":issue:`22038`: pyatomic.h now uses stdatomic.h or GCC built-in functions " -"for atomic memory access if available. Patch written by Vitor de Lima and " -"Gustavo Temple." -msgstr "" - -#: ../build/NEWS:34411 -msgid "" -":issue:`20284`: %-interpolation (aka printf) formatting added for bytes and " -"bytearray." -msgstr "" - -#: ../build/NEWS:34414 -msgid ":issue:`23048`: Fix jumping out of an infinite while loop in the pdb." -msgstr "" - -#: ../build/NEWS:34416 -msgid "" -":issue:`20335`: bytes constructor now raises TypeError when encoding or " -"errors is specified with non-string argument. Based on patch by Renaud " -"Blanch." -msgstr "" - -#: ../build/NEWS:34419 -msgid "" -":issue:`22834`: If the current working directory ends up being set to a non-" -"existent directory then import will no longer raise FileNotFoundError." -msgstr "" - -#: ../build/NEWS:34422 -msgid "" -":issue:`22869`: Move the interpreter startup & shutdown code to a new " -"dedicated pylifecycle.c module" -msgstr "" - -#: ../build/NEWS:34425 -msgid ":issue:`22847`: Improve method cache efficiency." -msgstr "" - -#: ../build/NEWS:34427 -msgid "" -":issue:`22335`: Fix crash when trying to enlarge a bytearray to 0x7fffffff " -"bytes on a 32-bit platform." -msgstr "" - -#: ../build/NEWS:34430 -msgid "" -":issue:`22653`: Fix an assertion failure in debug mode when doing a " -"reentrant dict insertion in debug mode." -msgstr "" - -#: ../build/NEWS:34433 -msgid "" -":issue:`22643`: Fix integer overflow in Unicode case operations (upper, " -"lower, title, swapcase, casefold)." -msgstr "" - -#: ../build/NEWS:34436 -msgid "" -":issue:`17636`: Circular imports involving relative imports are now " -"supported." -msgstr "" - -#: ../build/NEWS:34438 -msgid "" -":issue:`22604`: Fix assertion error in debug mode when dividing a complex " -"number by (nan+0j)." -msgstr "" - -#: ../build/NEWS:34441 -msgid "" -":issue:`21052`: Do not raise ImportWarning when sys.path_hooks or sys." -"meta_path are set to None." -msgstr "" - -#: ../build/NEWS:34444 -msgid "" -":issue:`16518`: Use 'bytes-like object required' in error messages that " -"previously used the far more cryptic \"'x' does not support the buffer " -"protocol." -msgstr "" - -#: ../build/NEWS:34448 -msgid "" -":issue:`22470`: Fixed integer overflow issues in \"backslashreplace\", " -"\"xmlcharrefreplace\", and \"surrogatepass\" error handlers." -msgstr "" - -#: ../build/NEWS:34451 -msgid "" -":issue:`22540`: speed up `PyObject_IsInstance` and `PyObject_IsSubclass` in " -"the common case that the second argument has metaclass `type`." -msgstr "" - -#: ../build/NEWS:34454 -msgid "" -":issue:`18711`: Add a new `PyErr_FormatV` function, similar to " -"`PyErr_Format` but accepting a `va_list` argument." -msgstr "" - -#: ../build/NEWS:34457 -msgid "" -":issue:`22520`: Fix overflow checking when generating the repr of a unicode " -"object." -msgstr "" - -#: ../build/NEWS:34460 -msgid ":issue:`22519`: Fix overflow checking in PyBytes_Repr." -msgstr "" - -#: ../build/NEWS:34462 -msgid ":issue:`22518`: Fix integer overflow issues in latin-1 encoding." -msgstr "" - -#: ../build/NEWS:34464 -msgid "" -":issue:`16324`: _charset parameter of MIMEText now also accepts email." -"charset.Charset instances. Initial patch by Claude Paroz." -msgstr "" - -#: ../build/NEWS:34467 -msgid "" -":issue:`1764286`: Fix inspect.getsource() to support decorated functions. " -"Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:34470 -msgid ":issue:`18554`: os.__all__ includes posix functions." -msgstr "" - -#: ../build/NEWS:34472 -msgid ":issue:`21391`: Use os.path.abspath in the shutil module." -msgstr "" - -#: ../build/NEWS:34474 -msgid "" -":issue:`11471`: avoid generating a JUMP_FORWARD instruction at the end of an " -"if-block if there is no else-clause. Original patch by Eugene Toder." -msgstr "" - -#: ../build/NEWS:34477 -msgid "" -":issue:`22215`: Now ValueError is raised instead of TypeError when str or " -"bytes argument contains not permitted null character or byte." -msgstr "" - -#: ../build/NEWS:34480 -msgid "" -":issue:`22258`: Fix the internal function set_inheritable() on Illumos. This " -"platform exposes the function ``ioctl(FIOCLEX)``, but calling it fails with " -"errno is ENOTTY: \"Inappropriate ioctl for device\". set_inheritable() now " -"falls back to the slower ``fcntl()`` (``F_GETFD`` and then ``F_SETFD``)." -msgstr "" - -#: ../build/NEWS:34486 -msgid "" -":issue:`21389`: Displaying the __qualname__ of the underlying function in " -"the repr of a bound method." -msgstr "" - -#: ../build/NEWS:34489 -msgid "" -":issue:`22206`: Using pthread, PyThread_create_key() now sets errno to " -"ENOMEM and returns -1 (error) on integer overflow." -msgstr "" - -#: ../build/NEWS:34492 -msgid "" -":issue:`20184`: Argument Clinic based signature introspection added for 30 " -"of the builtin functions." -msgstr "" - -#: ../build/NEWS:34495 -msgid "" -":issue:`22116`: C functions and methods (of the 'builtin_function_or_method' " -"type) can now be weakref'ed. Patch by Wei Wu." -msgstr "" - -#: ../build/NEWS:34498 -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 "" - -#: ../build/NEWS:34502 -msgid "" -":issue:`20179`: Apply Argument Clinic to bytes and bytearray. Patch by Tal " -"Einat." -msgstr "" - -#: ../build/NEWS:34505 -msgid ":issue:`22082`: Clear interned strings in slotdefs." -msgstr "" - -#: ../build/NEWS:34507 -msgid "Upgrade Unicode database to Unicode 7.0.0." -msgstr "" - -#: ../build/NEWS:34509 -msgid "" -":issue:`21897`: Fix a crash with the f_locals attribute with closure " -"variables when frame.clear() has been called." -msgstr "" - -#: ../build/NEWS:34512 -msgid "" -":issue:`21205`: Add a new ``__qualname__`` attribute to generator, the " -"qualified name, and use it in the representation of a generator " -"(``repr(gen)``). The default name of the generator (``__name__`` attribute) " -"is now get from the function instead of the code. Use ``gen.gi_code." -"co_name`` to get the name of the code." -msgstr "" - -#: ../build/NEWS:34518 -msgid "" -":issue:`21669`: With the aid of heuristics in SyntaxError.__init__, the " -"parser now attempts to generate more meaningful (or at least more search " -"engine friendly) error messages when \"exec\" and \"print\" are used as " -"statements." -msgstr "" - -#: ../build/NEWS:34522 -msgid "" -":issue:`21642`: In the conditional if-else expression, allow an integer " -"written with no space between itself and the ``else`` keyword (e.g. ``True " -"if 42else False``) to be valid syntax." -msgstr "" - -#: ../build/NEWS:34526 -msgid "" -":issue:`21523`: Fix over-pessimistic computation of the stack effect of some " -"opcodes in the compiler. This also fixes a quadratic compilation time issue " -"noticeable when compiling code with a large number of \"and\" and \"or\" " -"operators." -msgstr "" - -#: ../build/NEWS:34531 -msgid "" -":issue:`21418`: Fix a crash in the builtin function super() when called " -"without argument and without current frame (ex: embedded Python)." -msgstr "" - -#: ../build/NEWS:34534 -msgid "" -":issue:`21425`: Fix flushing of standard streams in the interactive " -"interpreter." -msgstr "" - -#: ../build/NEWS:34537 -msgid "" -":issue:`21435`: In rare cases, when running finalizers on objects in cyclic " -"trash a bad pointer dereference could occur due to a subtle flaw in internal " -"iteration logic." -msgstr "" - -#: ../build/NEWS:34541 -msgid "" -":issue:`21377`: PyBytes_Concat() now tries to concatenate in-place when the " -"first argument has a reference count of 1. Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:34544 -msgid "" -":issue:`20355`: -W command line options now have higher priority than the " -"PYTHONWARNINGS environment variable. Patch by Arfrever." -msgstr "" - -#: ../build/NEWS:34547 -msgid ":issue:`21274`: Define PATH_MAX for GNU/Hurd in Python/pythonrun.c." -msgstr "" - -#: ../build/NEWS:34549 -msgid ":issue:`20904`: Support setting FPU precision on m68k." -msgstr "" - -#: ../build/NEWS:34551 -msgid "" -":issue:`21209`: Fix sending tuples to custom generator objects with the " -"yield from syntax." -msgstr "" - -#: ../build/NEWS:34554 -msgid "" -":issue:`21193`: pow(a, b, c) now raises ValueError rather than TypeError " -"when b is negative. Patch by Josh Rosenberg." -msgstr "" - -#: ../build/NEWS:34557 -msgid "" -":issue:`21176`: PEP 465: Add the '@' operator for matrix multiplication." -msgstr "" - -#: ../build/NEWS:34559 -msgid "" -":issue:`21134`: Fix segfault when str is called on an uninitialized " -"UnicodeEncodeError, UnicodeDecodeError, or UnicodeTranslateError object." -msgstr "" - -#: ../build/NEWS:34562 -msgid "" -":issue:`19537`: Fix PyUnicode_DATA() alignment under m68k. Patch by Andreas " -"Schwab." -msgstr "" - -#: ../build/NEWS:34565 -msgid ":issue:`20929`: Add a type cast to avoid shifting a negative number." -msgstr "" - -#: ../build/NEWS:34567 -msgid "" -":issue:`20731`: Properly position in source code files even if they are " -"opened in text mode. Patch by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:34570 -msgid "" -":issue:`20637`: Key-sharing now also works for instance dictionaries of " -"subclasses. Patch by Peter Ingebretson." -msgstr "" - -#: ../build/NEWS:34573 -msgid "" -":issue:`8297`: Attributes missing from modules now include the module name " -"in the error text. Original patch by ysj.ray." -msgstr "" - -#: ../build/NEWS:34576 -msgid "" -":issue:`19995`: %c, %o, %x, and %X now raise TypeError on non-integer input." -msgstr "" - -#: ../build/NEWS:34578 -msgid "" -":issue:`19655`: The ASDL parser - used by the build process to generate code " -"for managing the Python AST in C - was rewritten. The new parser is self " -"contained and does not require to carry long the spark.py parser-generator " -"library; spark.py was removed from the source base." -msgstr "" - -#: ../build/NEWS:34583 -msgid "" -":issue:`12546`: Allow ``\\x00`` to be used as a fill character when using " -"str, int, float, and complex __format__ methods." -msgstr "" - -#: ../build/NEWS:34586 -msgid ":issue:`20480`: Add ipaddress.reverse_pointer. Patch by Leon Weber." -msgstr "" - -#: ../build/NEWS:34588 -msgid "" -":issue:`13598`: Modify string.Formatter to support auto-numbering of " -"replacement fields. It now matches the behavior of str.format() in this " -"regard. Patches by Phil Elson and Ramchandra Apte." -msgstr "" - -#: ../build/NEWS:34592 -msgid "" -":issue:`8931`: Make alternate formatting ('#') for type 'c' raise an " -"exception. In versions prior to 3.5, '#' with 'c' had no effect. Now " -"specifying it is an error. Patch by Torsten Landschoff." -msgstr "" - -#: ../build/NEWS:34596 -msgid "" -":issue:`23165`: Perform overflow checks before allocating memory in the " -"_Py_char2wchar function." -msgstr "" - -#: ../build/NEWS:34602 -msgid ":issue:`23399`: pyvenv creates relative symlinks where possible." -msgstr "" - -#: ../build/NEWS:34604 -msgid "" -":issue:`20289`: cgi.FieldStorage() now supports the context management " -"protocol." -msgstr "" - -#: ../build/NEWS:34607 -msgid "" -":issue:`13128`: Print response headers for CONNECT requests when debuglevel " -"> 0. Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34610 -msgid "" -":issue:`15381`: Optimized io.BytesIO to make less allocations and copyings." -msgstr "" - -#: ../build/NEWS:34612 -msgid "" -":issue:`22818`: Splitting on a pattern that could match an empty string now " -"raises a warning. Patterns that can only match empty strings are now " -"rejected." -msgstr "" - -#: ../build/NEWS:34616 -msgid "" -":issue:`23099`: Closing io.BytesIO with exported buffer is rejected now to " -"prevent corrupting exported buffer." -msgstr "" - -#: ../build/NEWS:34619 -msgid "" -":issue:`23326`: Removed __ne__ implementations. Since fixing default __ne__ " -"implementation in :issue:`21408` they are redundant." -msgstr "" - -#: ../build/NEWS:34622 -msgid ":issue:`23363`: Fix possible overflow in itertools.permutations." -msgstr "" - -#: ../build/NEWS:34624 -msgid ":issue:`23364`: Fix possible overflow in itertools.product." -msgstr "" - -#: ../build/NEWS:34626 -msgid "" -":issue:`23366`: Fixed possible integer overflow in itertools.combinations." -msgstr "" - -#: ../build/NEWS:34628 -msgid "" -":issue:`23369`: Fixed possible integer overflow in _json." -"encode_basestring_ascii." -msgstr "" - -#: ../build/NEWS:34631 -msgid "" -":issue:`23353`: Fix the exception handling of generators in " -"PyEval_EvalFrameEx(). At entry, save or swap the exception state even if " -"PyEval_EvalFrameEx() is called with throwflag=0. At exit, the exception " -"state is now always restored or swapped, not only if why is WHY_YIELD or " -"WHY_RETURN. Patch co-written with Antoine Pitrou." -msgstr "" - -#: ../build/NEWS:34637 -msgid "" -":issue:`14099`: Restored support of writing ZIP files to tellable but non-" -"seekable streams." -msgstr "" - -#: ../build/NEWS:34640 -msgid "" -":issue:`14099`: Writing to ZipFile and reading multiple ZipExtFiles is " -"threadsafe now." -msgstr "" - -#: ../build/NEWS:34643 -msgid "" -":issue:`19361`: JSON decoder now raises JSONDecodeError instead of " -"ValueError." -msgstr "" - -#: ../build/NEWS:34645 -msgid "" -":issue:`18518`: timeit now rejects statements which can't be compiled " -"outside a function or a loop (e.g. \"return\" or \"break\")." -msgstr "" - -#: ../build/NEWS:34648 -msgid "" -":issue:`23094`: Fixed readline with frames in Python implementation of " -"pickle." -msgstr "" - -#: ../build/NEWS:34650 -msgid ":issue:`23268`: Fixed bugs in the comparison of ipaddress classes." -msgstr "" - -#: ../build/NEWS:34652 -msgid "" -":issue:`21408`: Removed incorrect implementations of __ne__() which didn't " -"returned NotImplemented if __eq__() returned NotImplemented. The default " -"__ne__() now works correctly." -msgstr "" - -#: ../build/NEWS:34656 -msgid "" -":issue:`19996`: :class:`email.feedparser.FeedParser` now handles (malformed) " -"headers with no key rather than assuming the body has started." -msgstr "" - -#: ../build/NEWS:34659 -msgid "" -":issue:`20188`: Support Application-Layer Protocol Negotiation (ALPN) in the " -"ssl module." -msgstr "" - -#: ../build/NEWS:34662 -msgid "" -":issue:`23133`: Pickling of ipaddress objects now produces more compact and " -"portable representation." -msgstr "" - -#: ../build/NEWS:34665 -msgid ":issue:`23248`: Update ssl error codes from latest OpenSSL git master." -msgstr "" - -#: ../build/NEWS:34667 -msgid "" -":issue:`23266`: Much faster implementation of ipaddress.collapse_addresses() " -"when there are many non-consecutive addresses." -msgstr "" - -#: ../build/NEWS:34670 -msgid ":issue:`23098`: 64-bit dev_t is now supported in the os module." -msgstr "" - -#: ../build/NEWS:34672 -msgid "" -":issue:`21817`: When an exception is raised in a task submitted to a " -"ProcessPoolExecutor, the remote traceback is now displayed in the parent " -"process. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:34676 -msgid "" -":issue:`15955`: Add an option to limit output size when decompressing LZMA " -"data. Patch by Nikolaus Rath and Martin Panter." -msgstr "" - -#: ../build/NEWS:34679 -msgid "" -":issue:`23250`: In the http.cookies module, capitalize \"HttpOnly\" and " -"\"Secure\" as they are written in the standard." -msgstr "" - -#: ../build/NEWS:34682 -msgid "" -":issue:`23063`: In the distutils' check command, fix parsing of reST with " -"code or code-block directives." -msgstr "" - -#: ../build/NEWS:34685 -msgid "" -":issue:`23209`: selectors.BaseSelector.get_key() now raises a RuntimeError " -"if the selector is closed. And selectors.BaseSelector.close() now clears its " -"internal reference to the selector mapping to break a reference cycle. " -"Initial patch written by Martin Richard. (See also: :issue:`23225`)" -msgstr "" - -#: ../build/NEWS:34690 -msgid "" -":issue:`17911`: Provide a way to seed the linecache for a PEP-302 module " -"without actually loading the code." -msgstr "" - -#: ../build/NEWS:34693 -msgid "" -":issue:`17911`: Provide a new object API for traceback, including the " -"ability to not lookup lines at all until the traceback is actually rendered, " -"without any trace of the original objects being kept alive." -msgstr "" - -#: ../build/NEWS:34697 -msgid "" -":issue:`19777`: Provide a home() classmethod on Path objects. Contributed " -"by Victor Salgado and Mayank Tripathi." -msgstr "" - -#: ../build/NEWS:34700 -msgid "" -":issue:`23206`: Make ``json.dumps(..., ensure_ascii=False)`` as fast as the " -"default case of ``ensure_ascii=True``. Patch by Naoki Inada." -msgstr "" - -#: ../build/NEWS:34703 -msgid ":issue:`23185`: Add math.inf and math.nan constants." -msgstr "" - -#: ../build/NEWS:34705 -msgid "" -":issue:`23186`: Add ssl.SSLObject.shared_ciphers() and ssl.SSLSocket." -"shared_ciphers() to fetch the client's list ciphers sent at handshake." -msgstr "" - -#: ../build/NEWS:34709 -msgid ":issue:`23143`: Remove compatibility with OpenSSLs older than 0.9.8." -msgstr "" - -#: ../build/NEWS:34711 -msgid "" -":issue:`23132`: Improve performance and introspection support of comparison " -"methods created by functool.total_ordering." -msgstr "" - -#: ../build/NEWS:34714 -msgid ":issue:`19776`: Add an expanduser() method on Path objects." -msgstr "" - -#: ../build/NEWS:34716 -msgid "" -":issue:`23112`: Fix SimpleHTTPServer to correctly carry the query string and " -"fragment when it redirects to add a trailing slash." -msgstr "" - -#: ../build/NEWS:34719 -msgid "" -":issue:`21793`: Added http.HTTPStatus enums (i.e. HTTPStatus.OK, HTTPStatus." -"NOT_FOUND). Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34722 -msgid "" -":issue:`23093`: In the io, module allow more operations to work on detached " -"streams." -msgstr "" - -#: ../build/NEWS:34725 -msgid "" -":issue:`23111`: In the ftplib, make ssl.PROTOCOL_SSLv23 the default protocol " -"version." -msgstr "" - -#: ../build/NEWS:34728 -msgid "" -":issue:`22585`: On OpenBSD 5.6 and newer, os.urandom() now calls " -"getentropy(), instead of reading /dev/urandom, to get pseudo-random bytes." -msgstr "" - -#: ../build/NEWS:34731 -msgid "" -":issue:`19104`: pprint now produces evaluable output for wrapped strings." -msgstr "" - -#: ../build/NEWS:34733 -msgid "" -":issue:`23071`: Added missing names to codecs.__all__. Patch by Martin " -"Panter." -msgstr "" - -#: ../build/NEWS:34735 -msgid "" -":issue:`22783`: Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX " -"opcode if possible." -msgstr "" - -#: ../build/NEWS:34738 -msgid ":issue:`15513`: Added a __sizeof__ implementation for pickle classes." -msgstr "" - -#: ../build/NEWS:34740 -msgid "" -":issue:`19858`: pickletools.optimize() now aware of the MEMOIZE opcode, can " -"produce more compact result and no longer produces invalid output if input " -"data contains MEMOIZE opcodes together with PUT or BINPUT opcodes." -msgstr "" - -#: ../build/NEWS:34744 -msgid "" -":issue:`22095`: Fixed HTTPConnection.set_tunnel with default port. The port " -"value in the host header was set to \"None\". Patch by Demian Brecht." -msgstr "" - -#: ../build/NEWS:34747 -msgid "" -":issue:`23016`: A warning no longer produces an AttributeError when the " -"program is run with pythonw.exe." -msgstr "" - -#: ../build/NEWS:34750 -msgid "" -":issue:`21775`: shutil.copytree(): fix crash when copying to VFAT. An " -"exception handler assumed that OSError objects always have a 'winerror' " -"attribute. That is not the case, so the exception handler itself raised " -"AttributeError when run on Linux (and, presumably, any other non-Windows " -"OS). Patch by Greg Ward." -msgstr "" - -#: ../build/NEWS:34756 -msgid "" -":issue:`1218234`: Fix inspect.getsource() to load updated source of reloaded " -"module. Initial patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:34759 -msgid "" -":issue:`21740`: Support wrapped callables in doctest. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:34761 -msgid "" -":issue:`23009`: Make sure selectors.EpollSelector.select() works when no FD " -"is registered." -msgstr "" - -#: ../build/NEWS:34764 -msgid "" -":issue:`22959`: In the constructor of http.client.HTTPSConnection, prefer " -"the context's check_hostname attribute over the *check_hostname* parameter." -msgstr "" - -#: ../build/NEWS:34767 -msgid "" -":issue:`22696`: Add function :func:`sys.is_finalizing` to know about " -"interpreter shutdown." -msgstr "" - -#: ../build/NEWS:34770 -msgid "" -":issue:`16043`: Add a default limit for the amount of data xmlrpclib." -"gzip_decode will return. This resolves CVE-2013-1753." -msgstr "" - -#: ../build/NEWS:34773 -msgid "" -":issue:`14099`: ZipFile.open() no longer reopen the underlying file. " -"Objects returned by ZipFile.open() can now operate independently of the " -"ZipFile even if the ZipFile was created by passing in a file-like object as " -"the first argument to the constructor." -msgstr "" - -#: ../build/NEWS:34778 -msgid "" -":issue:`22966`: Fix __pycache__ pyc file name clobber when pyc_compile is " -"asked to compile a source file containing multiple dots in the source file " -"name." -msgstr "" - -#: ../build/NEWS:34781 -msgid ":issue:`21971`: Update turtledemo doc and add module to the index." -msgstr "" - -#: ../build/NEWS:34783 -msgid "" -":issue:`21032`: Fixed socket leak if HTTPConnection.getresponse() fails. " -"Original patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:34786 -msgid "" -":issue:`22407`: Deprecated the use of re.LOCALE flag with str patterns or re." -"ASCII. It was newer worked." -msgstr "" - -#: ../build/NEWS:34789 -msgid "" -":issue:`22902`: The \"ip\" command is now used on Linux to determine MAC " -"address in uuid.getnode(). Pach by Bruno Cauet." -msgstr "" - -#: ../build/NEWS:34792 -msgid "" -":issue:`22960`: Add a context argument to xmlrpclib.ServerProxy constructor." -msgstr "" - -#: ../build/NEWS:34794 -msgid ":issue:`22389`: Add contextlib.redirect_stderr()." -msgstr "" - -#: ../build/NEWS:34796 -msgid "" -":issue:`21356`: Make ssl.RAND_egd() optional to support LibreSSL. The " -"availability of the function is checked during the compilation. Patch " -"written by Bernard Spil." -msgstr "" - -#: ../build/NEWS:34800 -msgid "" -":issue:`22915`: SAX parser now supports files opened with file descriptor or " -"bytes path." -msgstr "" - -#: ../build/NEWS:34803 -msgid "" -":issue:`22609`: Constructors and update methods of mapping classes in the " -"collections module now accept the self keyword argument." -msgstr "" - -#: ../build/NEWS:34806 -msgid ":issue:`22940`: Add readline.append_history_file." -msgstr "" - -#: ../build/NEWS:34808 -msgid ":issue:`19676`: Added the \"namereplace\" error handler." -msgstr "" - -#: ../build/NEWS:34810 -msgid "" -":issue:`22788`: Add *context* parameter to logging.handlers.HTTPHandler." -msgstr "" - -#: ../build/NEWS:34812 -msgid "" -":issue:`22921`: Allow SSLContext to take the *hostname* parameter even if " -"OpenSSL doesn't support SNI." -msgstr "" - -#: ../build/NEWS:34815 -msgid "" -":issue:`22894`: TestCase.subTest() would cause the test suite to be stopped " -"when in failfast mode, even in the absence of failures." -msgstr "" - -#: ../build/NEWS:34818 -msgid "" -":issue:`22796`: HTTP cookie parsing is now stricter, in order to protect " -"against potential injection attacks." -msgstr "" - -#: ../build/NEWS:34821 -msgid ":issue:`22370`: Windows detection in pathlib is now more robust." -msgstr "" - -#: ../build/NEWS:34823 -msgid "" -":issue:`22841`: Reject coroutines in asyncio add_signal_handler(). Patch by " -"Ludovic.Gasc." -msgstr "" - -#: ../build/NEWS:34826 -msgid "" -":issue:`19494`: Added urllib.request.HTTPBasicPriorAuthHandler. Patch by " -"Matej Cepl." -msgstr "" - -#: ../build/NEWS:34829 -msgid ":issue:`22578`: Added attributes to the re.error class." -msgstr "" - -#: ../build/NEWS:34831 -msgid "" -":issue:`22849`: Fix possible double free in the io.TextIOWrapper constructor." -msgstr "" - -#: ../build/NEWS:34833 -msgid "" -":issue:`12728`: Different Unicode characters having the same uppercase but " -"different lowercase are now matched in case-insensitive regular expressions." -msgstr "" - -#: ../build/NEWS:34837 -msgid "" -":issue:`22821`: Fixed fcntl() with integer argument on 64-bit big-endian " -"platforms." -msgstr "" - -#: ../build/NEWS:34840 -msgid ":issue:`21650`: Add an `--sort-keys` option to json.tool CLI." -msgstr "" - -#: ../build/NEWS:34842 -msgid "" -":issue:`22824`: Updated reprlib output format for sets to use set literals. " -"Patch contributed by Berker Peksag." -msgstr "" - -#: ../build/NEWS:34845 -msgid "" -":issue:`22824`: Updated reprlib output format for arrays to display empty " -"arrays without an unnecessary empty list. Suggested by Serhiy Storchaka." -msgstr "" - -#: ../build/NEWS:34848 -msgid "" -":issue:`22406`: Fixed the uu_codec codec incorrectly ported to 3.x. Based on " -"patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:34851 -msgid "" -":issue:`17293`: uuid.getnode() now determines MAC address on AIX using " -"netstat. Based on patch by Aivars Kalvāns." -msgstr "" - -#: ../build/NEWS:34854 -msgid "" -":issue:`22769`: Fixed ttk.Treeview.tag_has() when called without arguments." -msgstr "" - -#: ../build/NEWS:34856 -msgid ":issue:`22417`: Verify certificates by default in httplib (PEP 476)." -msgstr "" - -#: ../build/NEWS:34858 -msgid "" -":issue:`22775`: Fixed unpickling of http.cookies.SimpleCookie with protocol " -"2 and above. Patch by Tim Graham." -msgstr "" - -#: ../build/NEWS:34861 -msgid "" -":issue:`22776`: Brought excluded code into the scope of a try block in " -"SysLogHandler.emit()." -msgstr "" - -#: ../build/NEWS:34864 -msgid "" -":issue:`22665`: Add missing get_terminal_size and SameFileError to shutil." -"__all__." -msgstr "" - -#: ../build/NEWS:34867 -msgid "" -":issue:`6623`: Remove deprecated Netrc class in the ftplib module. Patch by " -"Matt Chaput." -msgstr "" - -#: ../build/NEWS:34870 -msgid "" -":issue:`17381`: Fixed handling of case-insensitive ranges in regular " -"expressions." -msgstr "" - -#: ../build/NEWS:34873 -msgid "" -":issue:`22410`: Module level functions in the re module now cache compiled " -"locale-dependent regular expressions taking into account the locale." -msgstr "" - -#: ../build/NEWS:34876 -msgid "" -":issue:`22759`: Query methods on pathlib.Path() (exists(), is_dir(), etc.) " -"now return False when the underlying stat call raises NotADirectoryError." -msgstr "" - -#: ../build/NEWS:34879 -msgid "" -":issue:`8876`: distutils now falls back to copying files when hard linking " -"doesn't work. This allows use with special filesystems such as VirtualBox " -"shared folders." -msgstr "" - -#: ../build/NEWS:34883 -msgid ":issue:`22217`: Implemented reprs of classes in the zipfile module." -msgstr "" - -#: ../build/NEWS:34885 -msgid ":issue:`22457`: Honour load_tests in the start_dir of discovery." -msgstr "" - -#: ../build/NEWS:34887 -msgid "" -":issue:`18216`: gettext now raises an error when a .mo file has an " -"unsupported major version number. Patch by Aaron Hill." -msgstr "" - -#: ../build/NEWS:34890 -msgid "" -":issue:`13918`: Provide a locale.delocalize() function which can remove " -"locale-specific number formatting from a string representing a number, " -"without then converting it to a specific type. Patch by Cédric Krier." -msgstr "" - -#: ../build/NEWS:34894 -msgid "" -":issue:`22676`: Make the pickling of global objects which don't have a " -"__module__ attribute less slow." -msgstr "" - -#: ../build/NEWS:34897 -msgid ":issue:`18853`: Fixed ResourceWarning in shlex.__nain__." -msgstr "" - -#: ../build/NEWS:34899 -msgid "" -":issue:`9351`: Defaults set with set_defaults on an argparse subparser are " -"no longer ignored when also set on the parent parser." -msgstr "" - -#: ../build/NEWS:34902 -msgid "" -":issue:`7559`: unittest test loading ImportErrors are reported as import " -"errors with their import exception rather than as attribute errors after the " -"import has already failed." -msgstr "" - -#: ../build/NEWS:34906 -msgid "" -":issue:`19746`: Make it possible to examine the errors from unittest " -"discovery without executing the test suite. The new `errors` attribute on " -"TestLoader exposes these non-fatal errors encountered during discovery." -msgstr "" - -#: ../build/NEWS:34910 -msgid "" -":issue:`21991`: Make email.headerregistry's header 'params' attributes be " -"read-only (MappingProxyType). Previously the dictionary was modifiable but " -"a new one was created on each access of the attribute." -msgstr "" - -#: ../build/NEWS:34914 -msgid "" -":issue:`22638`: SSLv3 is now disabled throughout the standard library. It " -"can still be enabled by instantiating a SSLContext manually." -msgstr "" - -#: ../build/NEWS:34917 -msgid "" -":issue:`22641`: In asyncio, the default SSL context for client connections " -"is now created using ssl.create_default_context(), for stronger security." -msgstr "" - -#: ../build/NEWS:34920 -msgid ":issue:`17401`: Include closefd in io.FileIO repr." -msgstr "" - -#: ../build/NEWS:34922 -msgid "" -":issue:`21338`: Add silent mode for compileall. quiet parameters of " -"compile_{dir, file, path} functions now have a multilevel value. Also, -q " -"option of the CLI now have a multilevel value. Patch by Thomas Kluyver." -msgstr "" - -#: ../build/NEWS:34926 -msgid ":issue:`20152`: Convert the array and cmath modules to Argument Clinic." -msgstr "" - -#: ../build/NEWS:34928 -msgid ":issue:`18643`: Add socket.socketpair() on Windows." -msgstr "" - -#: ../build/NEWS:34930 -msgid "" -":issue:`22435`: Fix a file descriptor leak when socketserver bind fails." -msgstr "" - -#: ../build/NEWS:34932 -msgid "" -":issue:`13096`: Fixed segfault in CTypes POINTER handling of large values." -msgstr "" - -#: ../build/NEWS:34934 -msgid "" -":issue:`11694`: Raise ConversionError in xdrlib as documented. Patch by " -"Filip Gruszczyński and Claudiu Popa." -msgstr "" - -#: ../build/NEWS:34937 -msgid ":issue:`19380`: Optimized parsing of regular expressions." -msgstr "" - -#: ../build/NEWS:34939 -msgid "" -":issue:`1519638`: Now unmatched groups are replaced with empty strings in re." -"sub() and re.subn()." -msgstr "" - -#: ../build/NEWS:34942 -msgid ":issue:`18615`: sndhdr.what/whathdr now return a namedtuple." -msgstr "" - -#: ../build/NEWS:34944 -msgid "" -":issue:`22462`: Fix pyexpat's creation of a dummy frame to make it appear in " -"exception tracebacks." -msgstr "" - -#: ../build/NEWS:34947 -msgid "" -":issue:`21965`: Add support for in-memory SSL to the ssl module. Patch by " -"Geert Jansen." -msgstr "" - -#: ../build/NEWS:34950 -msgid "" -":issue:`21173`: Fix len() on a WeakKeyDictionary when .clear() was called " -"with an iterator alive." -msgstr "" - -#: ../build/NEWS:34953 -msgid "" -":issue:`11866`: Eliminated race condition in the computation of names for " -"new threads." -msgstr "" - -#: ../build/NEWS:34956 -msgid "" -":issue:`21905`: Avoid RuntimeError in pickle.whichmodule() when sys.modules " -"is mutated while iterating. Patch by Olivier Grisel." -msgstr "" - -#: ../build/NEWS:34959 -msgid "" -":issue:`11271`: concurrent.futures.Executor.map() now takes a *chunksize* " -"argument to allow batching of tasks in child processes and improve " -"performance of ProcessPoolExecutor. Patch by Dan O'Reilly." -msgstr "" - -#: ../build/NEWS:34963 -msgid "" -":issue:`21883`: os.path.join() and os.path.relpath() now raise a TypeError " -"with more helpful error message for unsupported or mismatched types of " -"arguments." -msgstr "" - -#: ../build/NEWS:34967 -msgid "" -":issue:`22219`: The zipfile module CLI now adds entries for directories " -"(including empty directories) in ZIP file." -msgstr "" - -#: ../build/NEWS:34970 -msgid "" -":issue:`22449`: In the ssl.SSLContext.load_default_certs, consult the " -"environmental variables SSL_CERT_DIR and SSL_CERT_FILE on Windows." -msgstr "" - -#: ../build/NEWS:34973 -msgid "" -":issue:`22508`: The email.__version__ variable has been removed; the email " -"code is no longer shipped separately from the stdlib, and __version__ hasn't " -"been updated in several releases." -msgstr "" - -#: ../build/NEWS:34977 -msgid "" -":issue:`20076`: Added non derived UTF-8 aliases to locale aliases table." -msgstr "" - -#: ../build/NEWS:34979 -msgid "" -":issue:`20079`: Added locales supported in glibc 2.18 to locale alias table." -msgstr "" - -#: ../build/NEWS:34981 -msgid "" -":issue:`20218`: Added convenience methods read_text/write_text and " -"read_bytes/ write_bytes to pathlib.Path objects." -msgstr "" - -#: ../build/NEWS:34984 -msgid "" -":issue:`22396`: On 32-bit AIX platform, don't expose os.posix_fadvise() nor " -"os.posix_fallocate() because their prototypes in system headers are wrong." -msgstr "" - -#: ../build/NEWS:34987 -msgid "" -":issue:`22517`: When an io.BufferedRWPair object is deallocated, clear its " -"weakrefs." -msgstr "" - -#: ../build/NEWS:34990 -msgid "" -":issue:`22437`: Number of capturing groups in regular expression is no " -"longer limited by 100." -msgstr "" - -#: ../build/NEWS:34993 -msgid "" -":issue:`17442`: InteractiveInterpreter now displays the full chained " -"traceback in its showtraceback method, to match the built in interactive " -"interpreter." -msgstr "" - -#: ../build/NEWS:34997 -msgid ":issue:`23392`: Added tests for marshal C API that works with FILE*." -msgstr "" - -#: ../build/NEWS:34999 -msgid "" -":issue:`10510`: distutils register and upload methods now use HTML standards " -"compliant CRLF line endings." -msgstr "" - -#: ../build/NEWS:35002 -msgid "" -":issue:`9850`: Fixed macpath.join() for empty first component. Patch by " -"Oleg Oshmyan." -msgstr "" - -#: ../build/NEWS:35005 -msgid "" -":issue:`5309`: distutils' build and build_ext commands now accept a ``-j`` " -"option to enable parallel building of extension modules." -msgstr "" - -#: ../build/NEWS:35008 -msgid "" -":issue:`22448`: Improve canceled timer handles cleanup to prevent unbound " -"memory usage. Patch by Joshua Moore-Oliva." -msgstr "" - -#: ../build/NEWS:35011 -msgid "" -":issue:`22427`: TemporaryDirectory no longer attempts to clean up twice when " -"used in the with statement in generator." -msgstr "" - -#: ../build/NEWS:35014 -msgid "" -":issue:`22362`: Forbidden ambiguous octal escapes out of range 0-0o377 in " -"regular expressions." -msgstr "" - -#: ../build/NEWS:35017 -msgid "" -":issue:`20912`: Now directories added to ZIP file have correct Unix and MS-" -"DOS directory attributes." -msgstr "" - -#: ../build/NEWS:35020 -msgid "" -":issue:`21866`: ZipFile.close() no longer writes ZIP64 central directory " -"records if allowZip64 is false." -msgstr "" - -#: ../build/NEWS:35023 -msgid "" -":issue:`22278`: Fix urljoin problem with relative urls, a regression " -"observed after changes to issue22118 were submitted." -msgstr "" - -#: ../build/NEWS:35026 -msgid "" -":issue:`22415`: Fixed debugging output of the GROUPREF_EXISTS opcode in the " -"re module. Removed trailing spaces in debugging output." -msgstr "" - -#: ../build/NEWS:35029 -msgid "" -":issue:`22423`: Unhandled exception in thread no longer causes unhandled " -"AttributeError when sys.stderr is None." -msgstr "" - -#: ../build/NEWS:35032 -msgid "" -":issue:`21332`: Ensure that ``bufsize=1`` in subprocess.Popen() selects line " -"buffering, rather than block buffering. Patch by Akira Li." -msgstr "" - -#: ../build/NEWS:35035 -msgid "" -":issue:`21091`: Fix API bug: email.message.EmailMessage.is_attachment is now " -"a method." -msgstr "" - -#: ../build/NEWS:35038 -msgid "" -":issue:`21079`: Fix email.message.EmailMessage.is_attachment to return the " -"correct result when the header has parameters as well as a value." -msgstr "" - -#: ../build/NEWS:35041 -msgid ":issue:`22247`: Add NNTPError to nntplib.__all__." -msgstr "" - -#: ../build/NEWS:35043 -msgid "" -":issue:`22366`: urllib.request.urlopen will accept a context object " -"(SSLContext) as an argument which will then be used for HTTPS connection. " -"Patch by Alex Gaynor." -msgstr "" - -#: ../build/NEWS:35047 -msgid "" -":issue:`4180`: The warnings registries are now reset when the filters are " -"modified." -msgstr "" - -#: ../build/NEWS:35050 -msgid "" -":issue:`22419`: Limit the length of incoming HTTP request in wsgiref server " -"to 65536 bytes and send a 414 error code for higher lengths. Patch " -"contributed by Devin Cook." -msgstr "" - -#: ../build/NEWS:35054 -msgid "" -"Lax cookie parsing in http.cookies could be a security issue when combined " -"with non-standard cookie handling in some web browsers. Reported by Sergey " -"Bobrov." -msgstr "" - -#: ../build/NEWS:35058 -msgid "" -":issue:`20537`: logging methods now accept an exception instance as well as " -"a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch." -msgstr "" - -#: ../build/NEWS:35061 -msgid "" -":issue:`22384`: An exception in Tkinter callback no longer crashes the " -"program when it is run with pythonw.exe." -msgstr "" - -#: ../build/NEWS:35064 -msgid "" -":issue:`22168`: Prevent turtle AttributeError with non-default Canvas on OS " -"X." -msgstr "" - -#: ../build/NEWS:35066 -msgid "" -":issue:`21147`: sqlite3 now raises an exception if the request contains a " -"null character instead of truncating it. Based on patch by Victor Stinner." -msgstr "" - -#: ../build/NEWS:35069 -msgid "" -":issue:`13968`: The glob module now supports recursive search in " -"subdirectories using the ``**`` pattern." -msgstr "" - -#: ../build/NEWS:35072 -msgid "" -":issue:`21951`: Fixed a crash in Tkinter on AIX when called Tcl command with " -"empty string or tuple argument." -msgstr "" - -#: ../build/NEWS:35075 -msgid "" -":issue:`21951`: Tkinter now most likely raises MemoryError instead of crash " -"if the memory allocation fails." -msgstr "" - -#: ../build/NEWS:35078 -msgid "" -":issue:`22338`: Fix a crash in the json module on memory allocation failure." -msgstr "" - -#: ../build/NEWS:35080 -msgid "" -":issue:`12410`: imaplib.IMAP4 now supports the context management protocol. " -"Original patch by Tarek Ziadé." -msgstr "" - -#: ../build/NEWS:35083 -msgid "" -":issue:`21270`: We now override tuple methods in mock.call objects so that " -"they can be used as normal call attributes." -msgstr "" - -#: ../build/NEWS:35086 -msgid "" -":issue:`16662`: load_tests() is now unconditionally run when it is present " -"in a package's __init__.py. TestLoader.loadTestsFromModule() still accepts " -"use_load_tests, but it is deprecated and ignored. A new keyword-only " -"attribute `pattern` is added and documented. Patch given by Robert Collins, " -"tweaked by Barry Warsaw." -msgstr "" - -#: ../build/NEWS:35092 -msgid "" -":issue:`22226`: First letter no longer is stripped from the \"status\" key " -"in the result of Treeview.heading()." -msgstr "" - -#: ../build/NEWS:35095 -msgid "" -":issue:`19524`: Fixed resource leak in the HTTP connection when an invalid " -"response is received. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:35098 -msgid "" -":issue:`20421`: Add a .version() method to SSL sockets exposing the actual " -"protocol version in use." -msgstr "" - -#: ../build/NEWS:35101 -msgid "" -":issue:`19546`: configparser exceptions no longer expose implementation " -"details. Chained KeyErrors are removed, which leads to cleaner tracebacks. " -"Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35105 -msgid "" -":issue:`22051`: turtledemo no longer reloads examples to re-run them. " -"Initialization of variables and gui setup should be done in main(), which is " -"called each time a demo is run, but not on import." -msgstr "" - -#: ../build/NEWS:35109 -msgid "" -":issue:`21933`: Turtledemo users can change the code font size with a menu " -"selection or control(command) '-' or '+' or control-mousewheel. Original " -"patch by Lita Cho." -msgstr "" - -#: ../build/NEWS:35113 -msgid "" -":issue:`21597`: The separator between the turtledemo text pane and the " -"drawing canvas can now be grabbed and dragged with a mouse. The code text " -"pane can be widened to easily view or copy the full width of the text. The " -"canvas can be widened on small screens. Original patches by Jan Kanis and " -"Lita Cho." -msgstr "" - -#: ../build/NEWS:35119 -msgid "" -":issue:`18132`: Turtledemo buttons no longer disappear when the window is " -"shrunk. Original patches by Jan Kanis and Lita Cho." -msgstr "" - -#: ../build/NEWS:35122 -msgid "" -":issue:`22043`: time.monotonic() is now always available. ``threading.Lock." -"acquire()``, ``threading.RLock.acquire()`` and socket operations now use a " -"monotonic clock, instead of the system clock, when a timeout is used." -msgstr "" - -#: ../build/NEWS:35127 -msgid "" -":issue:`21527`: Add a default number of workers to ThreadPoolExecutor equal " -"to 5 times the number of CPUs. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35130 -msgid "" -":issue:`22216`: smtplib now resets its state more completely after a quit. " -"The most obvious consequence of the previous behavior was a STARTTLS failure " -"during a connect/starttls/quit/connect/starttls sequence." -msgstr "" - -#: ../build/NEWS:35134 -msgid "" -":issue:`22098`: ctypes' BigEndianStructure and LittleEndianStructure now " -"define an empty __slots__ so that subclasses don't always get an instance " -"dict. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35138 -msgid "" -":issue:`22185`: Fix an occasional RuntimeError in threading.Condition.wait() " -"caused by mutation of the waiters queue without holding the lock. Patch by " -"Doug Zongker." -msgstr "" - -#: ../build/NEWS:35142 -msgid "" -":issue:`22287`: On UNIX, _PyTime_gettimeofday() now uses " -"clock_gettime(CLOCK_REALTIME) if available. As a side effect, Python now " -"depends on the librt library on Solaris and on Linux (only with glibc older " -"than 2.17)." -msgstr "" - -#: ../build/NEWS:35147 -msgid "" -":issue:`22182`: Use e.args to unpack exceptions correctly in distutils." -"file_util.move_file. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35150 -msgid "" -"The webbrowser module now uses subprocess's start_new_session=True rather " -"than a potentially risky preexec_fn=os.setsid call." -msgstr "" - -#: ../build/NEWS:35153 -msgid "" -":issue:`22042`: signal.set_wakeup_fd(fd) now raises an exception if the file " -"descriptor is in blocking mode." -msgstr "" - -#: ../build/NEWS:35156 -msgid "" -":issue:`16808`: inspect.stack() now returns a named tuple instead of a " -"tuple. Patch by Daniel Shahaf." -msgstr "" - -#: ../build/NEWS:35159 -msgid "" -":issue:`22236`: Fixed Tkinter images copying operations in NoDefaultRoot " -"mode." -msgstr "" - -#: ../build/NEWS:35161 -msgid "" -":issue:`2527`: Add a *globals* argument to timeit functions, in order to " -"override the globals namespace in which the timed code is executed. Patch by " -"Ben Roberts." -msgstr "" - -#: ../build/NEWS:35165 -msgid "" -":issue:`22118`: Switch urllib.parse to use RFC 3986 semantics for the " -"resolution of relative URLs, rather than RFCs 1808 and 2396. Patch by Demian " -"Brecht." -msgstr "" - -#: ../build/NEWS:35169 -msgid ":issue:`21549`: Added the \"members\" parameter to TarFile.list()." -msgstr "" - -#: ../build/NEWS:35171 -msgid "" -":issue:`19628`: Allow compileall recursion depth to be specified with a -r " -"option." -msgstr "" - -#: ../build/NEWS:35174 -msgid "" -":issue:`15696`: Add a __sizeof__ implementation for mmap objects on Windows." -msgstr "" - -#: ../build/NEWS:35176 -msgid "" -":issue:`22068`: Avoided reference loops with Variables and Fonts in Tkinter." -msgstr "" - -#: ../build/NEWS:35178 -msgid "" -":issue:`22165`: SimpleHTTPRequestHandler now supports undecodable file names." -msgstr "" - -#: ../build/NEWS:35180 -msgid ":issue:`15381`: Optimized line reading in io.BytesIO." -msgstr "" - -#: ../build/NEWS:35182 -msgid "" -":issue:`8797`: Raise HTTPError on failed Basic Authentication immediately. " -"Initial patch by Sam Bull." -msgstr "" - -#: ../build/NEWS:35185 -msgid "" -":issue:`20729`: Restored the use of lazy iterkeys()/itervalues()/iteritems() " -"in the mailbox module." -msgstr "" - -#: ../build/NEWS:35188 -msgid "" -":issue:`21448`: Changed FeedParser feed() to avoid O(N\\ :sup:`2`) behavior " -"when parsing long line. Original patch by Raymond Hettinger." -msgstr "" - -#: ../build/NEWS:35191 -msgid "" -":issue:`22184`: The functools LRU Cache decorator factory now gives an " -"earlier and clearer error message when the user forgets the required " -"parameters." -msgstr "" - -#: ../build/NEWS:35194 -msgid "" -":issue:`17923`: glob() patterns ending with a slash no longer match non-dirs " -"on AIX. Based on patch by Delhallt." -msgstr "" - -#: ../build/NEWS:35197 -msgid ":issue:`21725`: Added support for RFC 6531 (SMTPUTF8) in smtpd." -msgstr "" - -#: ../build/NEWS:35199 -msgid "" -":issue:`22176`: Update the ctypes module's libffi to v3.1. This release " -"adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian " -"architectures." -msgstr "" - -#: ../build/NEWS:35203 -msgid "" -":issue:`5411`: Added support for the \"xztar\" format in the shutil module." -msgstr "" - -#: ../build/NEWS:35205 -msgid "" -":issue:`21121`: Don't force 3rd party C extensions to be built with -" -"Werror=declaration-after-statement." -msgstr "" - -#: ../build/NEWS:35208 -msgid "" -":issue:`21975`: Fixed crash when using uninitialized sqlite3.Row (in " -"particular when unpickling pickled sqlite3.Row). sqlite3.Row is now " -"initialized in the __new__() method." -msgstr "" - -#: ../build/NEWS:35212 -msgid ":issue:`20170`: Convert posixmodule to use Argument Clinic." -msgstr "" - -#: ../build/NEWS:35214 -msgid "" -":issue:`21539`: Add an *exists_ok* argument to `Pathlib.mkdir()` to mimic " -"`mkdir -p` and `os.makedirs()` functionality. When true, ignore " -"FileExistsErrors. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:35218 -msgid "" -":issue:`22127`: Bypass IDNA for pure-ASCII host names in the socket module " -"(in particular for numeric IPs)." -msgstr "" - -#: ../build/NEWS:35221 -msgid "" -":issue:`21047`: set the default value for the *convert_charrefs* argument of " -"HTMLParser to True. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:35224 -msgid "Add an __all__ to html.entities." -msgstr "" - -#: ../build/NEWS:35226 -msgid "" -":issue:`15114`: the strict mode and argument of HTMLParser, HTMLParser." -"error, and the HTMLParserError exception have been removed." -msgstr "" - -#: ../build/NEWS:35229 -msgid ":issue:`22085`: Dropped support of Tk 8.3 in Tkinter." -msgstr "" - -#: ../build/NEWS:35231 -msgid "" -":issue:`21580`: Now Tkinter correctly handles bytes arguments passed to Tk. " -"In particular this allows initializing images from binary data." -msgstr "" - -#: ../build/NEWS:35234 -msgid "" -":issue:`22003`: When initialized from a bytes object, io.BytesIO() now " -"defers making a copy until it is mutated, improving performance and memory " -"use on some use cases. Patch by David Wilson." -msgstr "" - -#: ../build/NEWS:35238 -msgid "" -":issue:`22018`: On Windows, signal.set_wakeup_fd() now also supports " -"sockets. A side effect is that Python depends to the WinSock library." -msgstr "" - -#: ../build/NEWS:35241 -msgid "" -":issue:`22054`: Add os.get_blocking() and os.set_blocking() functions to get " -"and set the blocking mode of a file descriptor (False if the O_NONBLOCK flag " -"is set, True otherwise). These functions are not available on Windows." -msgstr "" - -#: ../build/NEWS:35246 -msgid "" -":issue:`17172`: Make turtledemo start as active on OS X even when run with " -"subprocess. Patch by Lita Cho." -msgstr "" - -#: ../build/NEWS:35249 -msgid "" -":issue:`21704`: Fix build error for _multiprocessing when semaphores are not " -"available. Patch by Arfrever Frehtes Taifersar Arahesis." -msgstr "" - -#: ../build/NEWS:35252 -msgid "" -":issue:`20173`: Convert sha1, sha256, sha512 and md5 to ArgumentClinic. " -"Patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:35255 -msgid "" -"Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError on " -"closed socket. repr(socket.socket) already works fine." -msgstr "" - -#: ../build/NEWS:35258 -msgid "" -":issue:`22033`: Reprs of most Python implemented classes now contain actual " -"class name instead of hardcoded one." -msgstr "" - -#: ../build/NEWS:35261 -msgid "" -":issue:`21947`: The dis module can now disassemble generator-iterator " -"objects based on their gi_code attribute. Patch by Clement Rouault." -msgstr "" - -#: ../build/NEWS:35264 -msgid "" -":issue:`16133`: The asynchat.async_chat.handle_read() method now ignores " -"BlockingIOError exceptions." -msgstr "" - -#: ../build/NEWS:35267 -msgid "" -":issue:`22044`: Fixed premature DECREF in call_tzinfo_method. Patch by Tom " -"Flanagan." -msgstr "" - -#: ../build/NEWS:35270 -msgid "" -":issue:`19884`: readline: Disable the meta modifier key if stdout is not a " -"terminal to not write the ANSI sequence ``\"\\033[1034h\"`` into stdout. " -"This sequence is used on some terminal (ex: TERM=xterm-256color\") to enable " -"support of 8 bit characters." -msgstr "" - -#: ../build/NEWS:35275 -msgid "" -":issue:`4350`: Removed a number of out-of-dated and non-working for a long " -"time Tkinter methods." -msgstr "" - -#: ../build/NEWS:35278 -msgid "" -":issue:`6167`: Scrollbar.activate() now returns the name of active element " -"if the argument is not specified. Scrollbar.set() now always accepts only 2 " -"arguments." -msgstr "" - -#: ../build/NEWS:35282 -msgid ":issue:`15275`: Clean up and speed up the ntpath module." -msgstr "" - -#: ../build/NEWS:35284 -msgid "" -":issue:`21888`: plistlib's load() and loads() now work if the fmt parameter " -"is specified." -msgstr "" - -#: ../build/NEWS:35287 -msgid "" -":issue:`22032`: __qualname__ instead of __name__ is now always used to " -"format fully qualified class names of Python implemented classes." -msgstr "" - -#: ../build/NEWS:35290 -msgid "" -":issue:`22031`: Reprs now always use hexadecimal format with the \"0x\" " -"prefix when contain an id in form \" at 0x...\"." -msgstr "" - -#: ../build/NEWS:35293 -msgid "" -":issue:`22018`: signal.set_wakeup_fd() now raises an OSError instead of a " -"ValueError on ``fstat()`` failure." -msgstr "" - -#: ../build/NEWS:35296 -msgid "" -":issue:`21044`: tarfile.open() now handles fileobj with an integer 'name' " -"attribute. Based on patch by Antoine Pietri." -msgstr "" - -#: ../build/NEWS:35299 -msgid ":issue:`21966`: Respect -q command-line option when code module is ran." -msgstr "" - -#: ../build/NEWS:35301 -msgid "" -":issue:`19076`: Don't pass the redundant 'file' argument to self.error()." -msgstr "" - -#: ../build/NEWS:35303 -msgid "" -":issue:`16382`: Improve exception message of warnings.warn() for bad " -"category. Initial patch by Phil Elson." -msgstr "" - -#: ../build/NEWS:35306 -msgid "" -":issue:`21932`: os.read() now uses a :c:func:`Py_ssize_t` type instead of :c:" -"expr:`int` for the size to support reading more than 2 GB at once. On " -"Windows, the size is truncated to INT_MAX. As any call to os.read(), the OS " -"may read less bytes than the number of requested bytes." -msgstr "" - -#: ../build/NEWS:35311 -msgid "" -":issue:`21942`: Fixed source file viewing in pydoc's server mode on Windows." -msgstr "" - -#: ../build/NEWS:35313 -msgid "" -":issue:`11259`: asynchat.async_chat().set_terminator() now raises a " -"ValueError if the number of received bytes is negative." -msgstr "" - -#: ../build/NEWS:35316 -msgid "" -":issue:`12523`: asynchat.async_chat.push() now raises a TypeError if it " -"doesn't get a bytes string" -msgstr "" - -#: ../build/NEWS:35319 -msgid "" -":issue:`21707`: Add missing kwonlyargcount argument to ModuleFinder." -"replace_paths_in_code()." -msgstr "" - -#: ../build/NEWS:35322 -msgid "" -":issue:`20639`: calling Path.with_suffix('') allows removing the suffix " -"again. Patch by July Tikhonov." -msgstr "" - -#: ../build/NEWS:35325 -msgid "" -":issue:`21714`: Disallow the construction of invalid paths using Path." -"with_name(). Original patch by Antony Lee." -msgstr "" - -#: ../build/NEWS:35328 -msgid "" -":issue:`15014`: Added 'auth' method to smtplib to make implementing auth " -"mechanisms simpler, and used it internally in the login method." -msgstr "" - -#: ../build/NEWS:35331 -msgid "" -":issue:`21151`: Fixed a segfault in the winreg module when ``None`` is " -"passed as a ``REG_BINARY`` value to SetValueEx. Patch by John Ehresman." -msgstr "" - -#: ../build/NEWS:35334 -msgid "" -":issue:`21090`: io.FileIO.readall() does not ignore I/O errors anymore. " -"Before, it ignored I/O errors if at least the first C call read() succeed." -msgstr "" - -#: ../build/NEWS:35337 -msgid "" -":issue:`5800`: headers parameter of wsgiref.headers.Headers is now optional. " -"Initial patch by Pablo Torres Navarrete and SilentGhost." -msgstr "" - -#: ../build/NEWS:35340 -msgid ":issue:`21781`: ssl.RAND_add() now supports strings longer than 2 GB." -msgstr "" - -#: ../build/NEWS:35342 -msgid "" -":issue:`21679`: Prevent extraneous fstat() calls during open(). Patch by " -"Bohuslav Kabrda." -msgstr "" - -#: ../build/NEWS:35345 -msgid "" -":issue:`21863`: cProfile now displays the module name of C extension " -"functions, in addition to their own name." -msgstr "" - -#: ../build/NEWS:35348 -msgid "" -":issue:`11453`: asyncore: emit a ResourceWarning when an unclosed " -"file_wrapper object is destroyed. The destructor now closes the file if " -"needed. The close() method can now be called twice: the second call does " -"nothing." -msgstr "" - -#: ../build/NEWS:35352 -msgid "" -":issue:`21858`: Better handling of Python exceptions in the sqlite3 module." -msgstr "" - -#: ../build/NEWS:35354 -msgid "" -":issue:`21476`: Make sure the email.parser.BytesParser TextIOWrapper is " -"discarded after parsing, so the input file isn't unexpectedly closed." -msgstr "" - -#: ../build/NEWS:35357 -msgid ":issue:`20295`: imghdr now recognizes OpenEXR format images." -msgstr "" - -#: ../build/NEWS:35359 -msgid "" -":issue:`21729`: Used the \"with\" statement in the dbm.dumb module to ensure " -"files closing. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35362 -msgid "" -":issue:`21491`: socketserver: Fix a race condition in child processes " -"reaping." -msgstr "" - -#: ../build/NEWS:35364 -msgid "" -":issue:`21719`: Added the ``st_file_attributes`` field to os.stat_result on " -"Windows." -msgstr "" - -#: ../build/NEWS:35367 -msgid ":issue:`21832`: Require named tuple inputs to be exact strings." -msgstr "" - -#: ../build/NEWS:35369 -msgid "" -":issue:`21722`: The distutils \"upload\" command now exits with a non-zero " -"return code when uploading fails. Patch by Martin Dengler." -msgstr "" - -#: ../build/NEWS:35372 -msgid "" -":issue:`21723`: asyncio.Queue: support any type of number (ex: float) for " -"the maximum size. Patch written by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:35375 -msgid "" -":issue:`21711`: support for \"site-python\" directories has now been removed " -"from the site module (it was deprecated in 3.4)." -msgstr "" - -#: ../build/NEWS:35378 -msgid "" -":issue:`17552`: new socket.sendfile() method allowing a file to be sent over " -"a socket by using high-performance os.sendfile() on UNIX. Patch by Giampaolo " -"Rodola'." -msgstr "" - -#: ../build/NEWS:35382 -msgid "" -":issue:`18039`: dbm.dump.open() now always creates a new database when the " -"flag has the value 'n'. Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35385 -msgid "" -":issue:`21326`: Add a new is_closed() method to asyncio.BaseEventLoop. " -"run_forever() and run_until_complete() methods of asyncio.BaseEventLoop now " -"raise an exception if the event loop was closed." -msgstr "" - -#: ../build/NEWS:35389 -msgid "" -":issue:`21766`: Prevent a security hole in CGIHTTPServer by URL unquoting " -"paths before checking for a CGI script at that path." -msgstr "" - -#: ../build/NEWS:35392 -msgid ":issue:`21310`: Fixed possible resource leak in failed open()." -msgstr "" - -#: ../build/NEWS:35394 -msgid "" -":issue:`21256`: Printout of keyword args should be in deterministic order in " -"a mock function call. This will help to write better doctests." -msgstr "" - -#: ../build/NEWS:35397 -msgid "" -":issue:`21677`: Fixed chaining nonnormalized exceptions in io close() " -"methods." -msgstr "" - -#: ../build/NEWS:35399 -msgid "" -":issue:`11709`: Fix the pydoc.help function to not fail when sys.stdin is " -"not a valid file." -msgstr "" - -#: ../build/NEWS:35402 -msgid "" -":issue:`21515`: tempfile.TemporaryFile now uses os.O_TMPFILE flag is " -"available." -msgstr "" - -#: ../build/NEWS:35404 -msgid "" -":issue:`13223`: Fix pydoc.writedoc so that the HTML documentation for " -"methods that use 'self' in the example code is generated correctly." -msgstr "" - -#: ../build/NEWS:35407 -msgid ":issue:`21463`: In urllib.request, fix pruning of the FTP cache." -msgstr "" - -#: ../build/NEWS:35409 -msgid "" -":issue:`21618`: The subprocess module could fail to close open fds that were " -"inherited by the calling process and already higher than POSIX resource " -"limits would otherwise allow. On systems with a functioning /proc/self/fd " -"or /dev/fd interface the max is now ignored and all fds are closed." -msgstr "" - -#: ../build/NEWS:35414 -msgid "" -":issue:`20383`: Introduce importlib.util.module_from_spec() as the preferred " -"way to create a new module." -msgstr "" - -#: ../build/NEWS:35417 -msgid "" -":issue:`21552`: Fixed possible integer overflow of too long string lengths " -"in the tkinter module on 64-bit platforms." -msgstr "" - -#: ../build/NEWS:35420 -msgid "" -":issue:`14315`: The zipfile module now ignores extra fields in the central " -"directory that are too short to be parsed instead of letting a struct.unpack " -"error bubble up as this \"bad data\" appears in many real world zip files in " -"the wild and is ignored by other zip tools." -msgstr "" - -#: ../build/NEWS:35425 -msgid "" -":issue:`13742`: Added \"key\" and \"reverse\" parameters to heapq.merge(). " -"(First draft of patch contributed by Simon Sapin.)" -msgstr "" - -#: ../build/NEWS:35428 -msgid "" -":issue:`21402`: tkinter.ttk now works when default root window is not set." -msgstr "" - -#: ../build/NEWS:35430 -msgid "" -":issue:`3015`: _tkinter.create() now creates tkapp object with wantobject=1 " -"by default." -msgstr "" - -#: ../build/NEWS:35433 -msgid "" -":issue:`10203`: sqlite3.Row now truly supports sequence protocol. In " -"particular it supports reverse() and negative indices. Original patch by " -"Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35437 -msgid "" -":issue:`18807`: If copying (no symlinks) specified for a venv, then the " -"python interpreter aliases (python, python3) are now created by copying " -"rather than symlinking." -msgstr "" - -#: ../build/NEWS:35441 -msgid "" -":issue:`20197`: Added support for the WebP image type in the imghdr module. " -"Patch by Fabrice Aneche and Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35444 -msgid "" -":issue:`21513`: Speedup some properties of IP addresses (IPv4Address, " -"IPv6Address) such as .is_private or .is_multicast." -msgstr "" - -#: ../build/NEWS:35447 -msgid "" -":issue:`21137`: Improve the repr for threading.Lock() and its variants by " -"showing the \"locked\" or \"unlocked\" status. Patch by Berker Peksag." -msgstr "" - -#: ../build/NEWS:35450 -msgid "" -":issue:`21538`: The plistlib module now supports loading of binary plist " -"files when reference or offset size is not a power of two." -msgstr "" - -#: ../build/NEWS:35453 -msgid ":issue:`21455`: Add a default backlog to socket.listen()." -msgstr "" - -#: ../build/NEWS:35455 -msgid "" -":issue:`21525`: Most Tkinter methods which accepted tuples now accept lists " -"too." -msgstr "" - -#: ../build/NEWS:35458 -msgid "" -":issue:`22166`: With the assistance of a new internal _codecs._forget_codec " -"helping function, test_codecs now clears the encoding caches to avoid the " -"appearance of a reference leak" -msgstr "" - -#: ../build/NEWS:35462 -msgid "" -":issue:`22236`: Tkinter tests now don't reuse default root window. New root " -"window is created for every test class." -msgstr "" - -#: ../build/NEWS:35465 -msgid "" -":issue:`10744`: Fix :pep:`3118` format strings on ctypes objects with a " -"nontrivial shape." -msgstr "" - -#: ../build/NEWS:35468 -msgid ":issue:`20826`: Optimize ipaddress.collapse_addresses()." -msgstr "" - -#: ../build/NEWS:35470 -msgid "" -":issue:`21487`: Optimize ipaddress.summarize_address_range() and ipaddress." -"{IPv4Network,IPv6Network}.subnets()." -msgstr "" - -#: ../build/NEWS:35473 -msgid "" -":issue:`21486`: Optimize parsing of netmasks in ipaddress.IPv4Network and " -"ipaddress.IPv6Network." -msgstr "" - -#: ../build/NEWS:35476 -msgid "" -":issue:`13916`: Disallowed the surrogatepass error handler for non UTF-\\* " -"encodings." -msgstr "" - -#: ../build/NEWS:35479 -msgid "" -":issue:`20998`: Fixed re.fullmatch() of repeated single character pattern " -"with ignore case. Original patch by Matthew Barnett." -msgstr "" - -#: ../build/NEWS:35482 -msgid "" -":issue:`21075`: fileinput.FileInput now reads bytes from standard stream if " -"binary mode is specified. Patch by Sam Kimbrel." -msgstr "" - -#: ../build/NEWS:35485 -msgid "" -":issue:`19775`: Add a samefile() method to pathlib Path objects. Initial " -"patch by Vajrasky Kok." -msgstr "" - -#: ../build/NEWS:35488 -msgid "" -":issue:`21226`: Set up modules properly in PyImport_ExecCodeModuleObject " -"(and friends)." -msgstr "" - -#: ../build/NEWS:35491 -msgid "" -":issue:`21398`: Fix a unicode error in the pydoc pager when the " -"documentation contains characters not encodable to the stdout encoding." -msgstr "" - -#: ../build/NEWS:35494 -msgid "" -":issue:`16531`: ipaddress.IPv4Network and ipaddress.IPv6Network now accept " -"an (address, netmask) tuple argument, so as to easily construct network " -"objects from existing addresses." -msgstr "" - -#: ../build/NEWS:35498 -msgid "" -":issue:`21156`: importlib.abc.InspectLoader.source_to_code() is now a " -"staticmethod." -msgstr "" - -#: ../build/NEWS:35501 -msgid "" -":issue:`21424`: Simplified and optimized heaqp.nlargest() and nmsmallest() " -"to make fewer tuple comparisons." -msgstr "" - -#: ../build/NEWS:35504 -msgid "" -":issue:`21396`: Fix TextIOWrapper(..., write_through=True) to not force a " -"flush() on the underlying binary stream. Patch by akira." -msgstr "" - -#: ../build/NEWS:35507 -msgid "" -":issue:`18314`: Unlink now removes junctions on Windows. Patch by Kim Gräsman" -msgstr "" - -#: ../build/NEWS:35509 -msgid "" -":issue:`21088`: Bugfix for curses.window.addch() regression in 3.4.0. In " -"porting to Argument Clinic, the first two arguments were reversed." -msgstr "" - -#: ../build/NEWS:35512 -msgid ":issue:`21407`: _decimal: The module now supports function signatures." -msgstr "" - -#: ../build/NEWS:35514 -msgid "" -":issue:`10650`: Remove the non-standard 'watchexp' parameter from the " -"Decimal.quantize() method in the Python version. It had never been present " -"in the C version." -msgstr "" - -#: ../build/NEWS:35518 -msgid "" -":issue:`21469`: Reduced the risk of false positives in robotparser by " -"checking to make sure that robots.txt has been read or does not exist prior " -"to returning True in can_fetch()." -msgstr "" - -#: ../build/NEWS:35522 -msgid "" -":issue:`19414`: Have the OrderedDict mark deleted links as unusable. This " -"gives an early failure if the link is deleted during iteration." -msgstr "" - -#: ../build/NEWS:35525 -msgid "" -":issue:`21421`: Add __slots__ to the MappingViews ABC. Patch by Josh " -"Rosenberg." -msgstr "" - -#: ../build/NEWS:35527 -msgid "" -":issue:`21101`: Eliminate double hashing in the C speed-up code for " -"collections.Counter()." -msgstr "" - -#: ../build/NEWS:35530 -msgid "" -":issue:`21321`: itertools.islice() now releases the reference to the source " -"iterator when the slice is exhausted. Patch by Anton Afanasyev." -msgstr "" - -#: ../build/NEWS:35533 -msgid "" -":issue:`21057`: TextIOWrapper now allows the underlying binary stream's " -"read() or read1() method to return an arbitrary bytes-like object (such as a " -"memoryview). Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:35537 -msgid "" -":issue:`20951`: SSLSocket.send() now raises either SSLWantReadError or " -"SSLWantWriteError on a non-blocking socket if the operation would block. " -"Previously, it would return 0. Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:35541 -msgid "" -":issue:`13248`: removed previously deprecated asyncore.dispatcher " -"__getattr__ cheap inheritance hack." -msgstr "" - -#: ../build/NEWS:35544 -msgid "" -":issue:`9815`: assertRaises now tries to clear references to local variables " -"in the exception's traceback." -msgstr "" - -#: ../build/NEWS:35547 -msgid "" -":issue:`19940`: ssl.cert_time_to_seconds() now interprets the given time " -"string in the UTC timezone (as specified in RFC 5280), not the local " -"timezone." -msgstr "" - -#: ../build/NEWS:35550 -msgid "" -":issue:`13204`: Calling sys.flags.__new__ would crash the interpreter, now " -"it raises a TypeError." -msgstr "" - -#: ../build/NEWS:35553 -msgid "" -":issue:`19385`: Make operations on a closed dbm.dumb database always raise " -"the same exception." -msgstr "" - -#: ../build/NEWS:35556 -msgid "" -":issue:`21207`: Detect when the os.urandom cached fd has been closed or " -"replaced, and open it anew." -msgstr "" - -#: ../build/NEWS:35559 -msgid "" -":issue:`21291`: subprocess's Popen.wait() is now thread safe so that " -"multiple threads may be calling wait() or poll() on a Popen instance at the " -"same time without losing the Popen.returncode value." -msgstr "" - -#: ../build/NEWS:35563 -msgid "" -":issue:`21127`: Path objects can now be instantiated from str subclass " -"instances (such as ``numpy.str_``)." -msgstr "" - -#: ../build/NEWS:35566 -msgid "" -":issue:`15002`: urllib.response object to use _TemporaryFileWrapper (and " -"_TemporaryFileCloser) facility. Provides a better way to handle file " -"descriptor close. Patch contributed by Christian Theune." -msgstr "" - -#: ../build/NEWS:35570 -msgid "" -":issue:`12220`: mindom now raises a custom ValueError indicating it doesn't " -"support spaces in URIs instead of letting a 'split' ValueError bubble up." -msgstr "" - -#: ../build/NEWS:35573 -msgid ":issue:`21068`: The ssl.PROTOCOL* constants are now enum members." -msgstr "" - -#: ../build/NEWS:35575 -msgid "" -":issue:`21276`: posixmodule: Don't define USE_XATTRS on KFreeBSD and the " -"Hurd." -msgstr "" - -#: ../build/NEWS:35577 -msgid "" -":issue:`21262`: New method assert_not_called for Mock. It raises " -"AssertionError if the mock has been called." -msgstr "" - -#: ../build/NEWS:35580 -msgid "" -":issue:`21238`: New keyword argument `unsafe` to Mock. It raises " -"`AttributeError` incase of an attribute startswith assert or assret." -msgstr "" - -#: ../build/NEWS:35583 -msgid "" -":issue:`20896`: ssl.get_server_certificate() now uses PROTOCOL_SSLv23, not " -"PROTOCOL_SSLv3, for maximum compatibility." -msgstr "" - -#: ../build/NEWS:35586 -msgid "" -":issue:`21239`: patch.stopall() didn't work deterministically when the same " -"name was patched more than once." -msgstr "" - -#: ../build/NEWS:35589 -msgid "" -":issue:`21203`: Updated fileConfig and dictConfig to remove inconsistencies. " -"Thanks to Jure Koren for the patch." -msgstr "" - -#: ../build/NEWS:35592 -msgid "" -":issue:`21222`: Passing name keyword argument to mock.create_autospec now " -"works." -msgstr "" - -#: ../build/NEWS:35595 -msgid "" -":issue:`21197`: Add lib64 -> lib symlink in venvs on 64-bit non-OS X POSIX." -msgstr "" - -#: ../build/NEWS:35597 -msgid "" -":issue:`17498`: Some SMTP servers disconnect after certain errors, violating " -"strict RFC conformance. Instead of losing the error code when we issue the " -"subsequent RSET, smtplib now returns the error code and defers raising the " -"SMTPServerDisconnected error until the next command is issued." -msgstr "" - -#: ../build/NEWS:35602 -msgid "" -":issue:`17826`: setting an iterable side_effect on a mock function created " -"by create_autospec now works. Patch by Kushal Das." -msgstr "" - -#: ../build/NEWS:35605 -msgid "" -":issue:`7776`: Fix ``Host:`` header and reconnection when using http.client." -"HTTPConnection.set_tunnel(). Patch by Nikolaus Rath." -msgstr "" - -#: ../build/NEWS:35608 -msgid "" -":issue:`20968`: unittest.mock.MagicMock now supports division. Patch by " -"Johannes Baiter." -msgstr "" - -#: ../build/NEWS:35611 -msgid "" -":issue:`21529`: Fix arbitrary memory access in JSONDecoder.raw_decode with a " -"negative second parameter. Bug reported by Guido Vranken. (See also: " -"CVE-2014-4616)" -msgstr "" - -#: ../build/NEWS:35615 -msgid "" -":issue:`21169`: getpass now handles non-ascii characters that the input " -"stream encoding cannot encode by re-encoding using the replace error handler." -msgstr "" - -#: ../build/NEWS:35618 -msgid "" -":issue:`21171`: Fixed undocumented filter API of the rot13 codec. Patch by " -"Berker Peksag." -msgstr "" - -#: ../build/NEWS:35621 -msgid "" -":issue:`20539`: Improved math.factorial error message for large positive " -"inputs and changed exception type (OverflowError -> ValueError) for large " -"negative inputs." -msgstr "" - -#: ../build/NEWS:35625 -msgid "" -":issue:`21172`: isinstance check relaxed from dict to collections.Mapping." -msgstr "" - -#: ../build/NEWS:35627 -msgid "" -":issue:`21155`: asyncio.EventLoop.create_unix_server() now raises a " -"ValueError if path and sock are specified at the same time." -msgstr "" - -#: ../build/NEWS:35630 -msgid "" -":issue:`21136`: Avoid unnecessary normalization of Fractions resulting from " -"power and other operations. Patch by Raymond Hettinger." -msgstr "" - -#: ../build/NEWS:35633 -msgid ":issue:`17621`: Introduce importlib.util.LazyLoader." -msgstr "" - -#: ../build/NEWS:35635 -msgid "" -":issue:`21076`: signal module constants were turned into enums. Patch by " -"Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:35638 -msgid ":issue:`20636`: Improved the repr of Tkinter widgets." -msgstr "" - -#: ../build/NEWS:35640 -msgid "" -":issue:`19505`: The items, keys, and values views of OrderedDict now support " -"reverse iteration using reversed()." -msgstr "" - -#: ../build/NEWS:35643 -msgid "" -":issue:`21149`: Improved thread-safety in logging cleanup during interpreter " -"shutdown. Thanks to Devin Jeanpierre for the patch." -msgstr "" - -#: ../build/NEWS:35646 -msgid "" -":issue:`21058`: Fix a leak of file descriptor in :func:`tempfile." -"NamedTemporaryFile`, close the file descriptor if :func:`io.open` fails" -msgstr "" - -#: ../build/NEWS:35650 -msgid "" -":issue:`21200`: Return None from pkgutil.get_loader() when __spec__ is " -"missing." -msgstr "" - -#: ../build/NEWS:35652 -msgid "" -":issue:`21013`: Enhance ssl.create_default_context() when used for server " -"side sockets to provide better security by default." -msgstr "" - -#: ../build/NEWS:35655 -msgid "" -":issue:`20145`: `assertRaisesRegex` and `assertWarnsRegex` now raise a " -"TypeError if the second argument is not a string or compiled regex." -msgstr "" - -#: ../build/NEWS:35658 -msgid ":issue:`20633`: Replace relative import by absolute import." -msgstr "" - -#: ../build/NEWS:35660 -msgid ":issue:`20980`: Stop wrapping exception when using ThreadPool." -msgstr "" - -#: ../build/NEWS:35662 -msgid "" -":issue:`21082`: In os.makedirs, do not set the process-wide umask. Note this " -"changes behavior of makedirs when exist_ok=True." -msgstr "" - -#: ../build/NEWS:35665 -msgid ":issue:`20990`: Fix issues found by pyflakes for multiprocessing." -msgstr "" - -#: ../build/NEWS:35667 -msgid "" -":issue:`21015`: SSL contexts will now automatically select an elliptic curve " -"for ECDH key exchange on OpenSSL 1.0.2 and later, and otherwise default to " -"\"prime256v1\"." -msgstr "" - -#: ../build/NEWS:35671 -msgid ":issue:`21000`: Improve the command-line interface of json.tool." -msgstr "" - -#: ../build/NEWS:35673 -msgid "" -":issue:`20995`: Enhance default ciphers used by the ssl module to enable " -"better security and prioritize perfect forward secrecy." -msgstr "" - -#: ../build/NEWS:35676 -msgid "" -":issue:`20884`: Don't assume that __file__ is defined on importlib.__init__." -msgstr "" - -#: ../build/NEWS:35678 -msgid "" -":issue:`21499`: Ignore __builtins__ in several test_importlib.test_api tests." -msgstr "" - -#: ../build/NEWS:35680 -msgid ":issue:`20627`: xmlrpc.client.ServerProxy is now a context manager." -msgstr "" - -#: ../build/NEWS:35682 -msgid "" -":issue:`19165`: The formatter module now raises DeprecationWarning instead " -"of PendingDeprecationWarning." -msgstr "" - -#: ../build/NEWS:35685 -msgid "" -":issue:`13936`: Remove the ability of datetime.time instances to be " -"considered false in boolean contexts." -msgstr "" - -#: ../build/NEWS:35688 -msgid "" -":issue:`18931`: selectors module now supports /dev/poll on Solaris. Patch by " -"Giampaolo Rodola'." -msgstr "" - -#: ../build/NEWS:35691 -msgid "" -":issue:`19977`: When the ``LC_TYPE`` locale is the POSIX locale (``C`` " -"locale), :py:data:`sys.stdin` and :py:data:`sys.stdout` are now using the " -"``surrogateescape`` error handler, instead of the ``strict`` error handler." -msgstr "" - -#: ../build/NEWS:35696 -msgid "" -":issue:`20574`: Implement incremental decoder for cp65001 code (Windows code " -"page 65001, Microsoft UTF-8)." -msgstr "" - -#: ../build/NEWS:35699 -msgid "" -":issue:`20879`: Delay the initialization of encoding and decoding tables for " -"base32, ascii85 and base85 codecs in the base64 module, and delay the " -"initialization of the unquote_to_bytes() table of the urllib.parse module, " -"to not waste memory if these modules are not used." -msgstr "" - -#: ../build/NEWS:35704 -msgid "" -":issue:`19157`: Include the broadcast address in the usuable hosts for IPv6 " -"in ipaddress." -msgstr "" - -#: ../build/NEWS:35707 -msgid "" -":issue:`11599`: When an external command (e.g. compiler) fails, distutils " -"now prints out the whole command line (instead of just the command name) if " -"the environment variable DISTUTILS_DEBUG is set." -msgstr "" - -#: ../build/NEWS:35711 -msgid "" -":issue:`4931`: distutils should not produce unhelpful \"error: None\" " -"messages anymore. distutils.util.grok_environment_error is kept but doc-" -"deprecated." -msgstr "" - -#: ../build/NEWS:35714 -msgid "" -":issue:`20875`: Prevent possible gzip \"'read' is not defined\" NameError. " -"Patch by Claudiu Popa." -msgstr "" - -#: ../build/NEWS:35717 -msgid "" -":issue:`11558`: ``email.message.Message.attach`` now returns a more useful " -"error message if ``attach`` is called on a message for which " -"``is_multipart`` is False." -msgstr "" - -#: ../build/NEWS:35721 -msgid "" -":issue:`20283`: RE pattern methods now accept the string keyword parameters " -"as documented. The pattern and source keyword parameters are left as " -"deprecated aliases." -msgstr "" - -#: ../build/NEWS:35725 -msgid ":issue:`20778`: Fix modulefinder to work with bytecode-only modules." -msgstr "" - -#: ../build/NEWS:35727 -msgid "" -":issue:`20791`: copy.copy() now doesn't make a copy when the input is a " -"bytes object. Initial patch by Peter Otten." -msgstr "" - -#: ../build/NEWS:35730 -msgid "" -":issue:`19748`: On AIX, time.mktime() now raises an OverflowError for year " -"outsize range [1902; 2037]." -msgstr "" - -#: ../build/NEWS:35733 -msgid "" -":issue:`19573`: inspect.signature: Use enum for parameter kind constants." -msgstr "" - -#: ../build/NEWS:35735 -msgid "" -":issue:`20726`: inspect.signature: Make Signature and Parameter picklable." -msgstr "" - -#: ../build/NEWS:35737 -msgid ":issue:`17373`: Add inspect.Signature.from_callable method." -msgstr "" - -#: ../build/NEWS:35739 -msgid "" -":issue:`20378`: Improve repr of inspect.Signature and inspect.Parameter." -msgstr "" - -#: ../build/NEWS:35741 -msgid "" -":issue:`20816`: Fix inspect.getcallargs() to raise correct TypeError for " -"missing keyword-only arguments. Patch by Jeremiah Lowin." -msgstr "" - -#: ../build/NEWS:35744 -msgid "" -":issue:`20817`: Fix inspect.getcallargs() to fail correctly if more than 3 " -"arguments are missing. Patch by Jeremiah Lowin." -msgstr "" - -#: ../build/NEWS:35747 -msgid "" -":issue:`6676`: Ensure a meaningful exception is raised when attempting to " -"parse more than one XML document per pyexpat xmlparser instance. (Original " -"patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested " -"wording by David Gutteridge)" -msgstr "" - -#: ../build/NEWS:35752 -msgid "" -":issue:`21117`: Fix inspect.signature to better support functools.partial. " -"Due to the specifics of functools.partial implementation, positional-or-" -"keyword arguments passed as keyword arguments become keyword-only." -msgstr "" - -#: ../build/NEWS:35757 -msgid "" -":issue:`20334`: inspect.Signature and inspect.Parameter are now hashable. " -"Thanks to Antony Lee for bug reports and suggestions." -msgstr "" - -#: ../build/NEWS:35760 -msgid "" -":issue:`15916`: doctest.DocTestSuite returns an empty unittest.TestSuite " -"instead of raising ValueError if it finds no tests" -msgstr "" - -#: ../build/NEWS:35763 -msgid "" -":issue:`21209`: Fix asyncio.tasks.CoroWrapper to workaround a bug in yield-" -"from implementation in CPythons prior to 3.4.1." -msgstr "" - -#: ../build/NEWS:35766 -msgid "" -"asyncio: Add gi_{frame,running,code} properties to CoroWrapper (upstream :" -"issue:`163`)." -msgstr "" - -#: ../build/NEWS:35769 -msgid "" -":issue:`21311`: Avoid exception in _osx_support with non-standard compiler " -"configurations. Patch by John Szakmeister." -msgstr "" - -#: ../build/NEWS:35772 -msgid "" -":issue:`11571`: Ensure that the turtle window becomes the topmost window " -"when launched on OS X." -msgstr "" - -#: ../build/NEWS:35775 -msgid "" -":issue:`21801`: Validate that __signature__ is None or an instance of " -"Signature." -msgstr "" - -#: ../build/NEWS:35778 -msgid "" -":issue:`21923`: Prevent AttributeError in distutils.sysconfig." -"customize_compiler due to possible uninitialized _config_vars." -msgstr "" - -#: ../build/NEWS:35782 -msgid "" -":issue:`21323`: Fix http.server to again handle scripts in CGI " -"subdirectories, broken by the fix for security :issue:`19435`. Patch by " -"Zach Byrne." -msgstr "" - -#: ../build/NEWS:35785 -msgid "" -":issue:`22733`: Fix ffi_prep_args not zero-extending argument values " -"correctly on 64-bit Windows." -msgstr "" - -#: ../build/NEWS:35788 -msgid "" -":issue:`23302`: Default to TCP_NODELAY=1 upon establishing an " -"HTTPConnection. Removed use of hard-coded MSS as it's an optimization that's " -"no longer needed with Nagle disabled." -msgstr "" - -#: ../build/NEWS:35795 -msgid "" -":issue:`20577`: Configuration of the max line length for the FormatParagraph " -"extension has been moved from the General tab of the Idle preferences dialog " -"to the FormatParagraph tab of the Config Extensions dialog. Patch by Tal " -"Einat." -msgstr "" - -#: ../build/NEWS:35800 -msgid "" -":issue:`16893`: Update Idle doc chapter to match current Idle and add new " -"information." -msgstr "" - -#: ../build/NEWS:35803 -msgid "" -":issue:`3068`: Add Idle extension configuration dialog to Options menu. " -"Changes are written to HOME/.idlerc/config-extensions.cfg. Original patch by " -"Tal Einat." -msgstr "" - -#: ../build/NEWS:35807 -msgid "" -":issue:`16233`: A module browser (File : Class Browser, Alt+C) requires an " -"editor window with a filename. When Class Browser is requested otherwise, " -"from a shell, output window, or 'Untitled' editor, Idle no longer displays " -"an error box. It now pops up an Open Module box (Alt+M). If a valid name is " -"entered and a module is opened, a corresponding browser is also opened." -msgstr "" - -#: ../build/NEWS:35813 -msgid "" -":issue:`4832`: Save As to type Python files automatically adds .py to the " -"name you enter (even if your system does not display it). Some systems " -"automatically add .txt when type is Text files." -msgstr "" - -#: ../build/NEWS:35817 -msgid "" -":issue:`21986`: Code objects are not normally pickled by the pickle module. " -"To match this, they are no longer pickled when running under Idle." -msgstr "" - -#: ../build/NEWS:35820 -msgid "" -":issue:`17390`: Adjust Editor window title; remove 'Python', move version to " -"end." -msgstr "" - -#: ../build/NEWS:35823 -msgid "" -":issue:`14105`: Idle debugger breakpoints no longer disappear when inserting " -"or deleting lines." -msgstr "" - -#: ../build/NEWS:35826 -msgid "" -":issue:`17172`: Turtledemo can now be run from Idle. Currently, the entry is " -"on the Help menu, but it may move to Run. Patch by Ramchandra Apt and Lita " -"Cho." -msgstr "" - -#: ../build/NEWS:35830 -msgid ":issue:`21765`: Add support for non-ascii identifiers to HyperParser." -msgstr "" - -#: ../build/NEWS:35832 -msgid "" -":issue:`21940`: Add unittest for WidgetRedirector. Initial patch by " -"Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:35835 -msgid "" -":issue:`18592`: Add unittest for SearchDialogBase. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:35837 -msgid "" -":issue:`21694`: Add unittest for ParenMatch. Patch by Saimadhav Heblikar." -msgstr "" - -#: ../build/NEWS:35839 -msgid "" -":issue:`21686`: add unittest for HyperParser. Original patch by Saimadhav " -"Heblikar." -msgstr "" - -#: ../build/NEWS:35842 -msgid "" -":issue:`12387`: Add missing upper(lower)case versions of default Windows key " -"bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy." -msgstr "" - -#: ../build/NEWS:35846 -msgid "" -":issue:`21695`: Closing a Find-in-files output window while the search is " -"still in progress no longer closes Idle." -msgstr "" - -#: ../build/NEWS:35849 -msgid ":issue:`18910`: Add unittest for textView. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:35851 -msgid "" -":issue:`18292`: Add unittest for AutoExpand. Patch by Saihadhav Heblikar." -msgstr "" - -#: ../build/NEWS:35853 -msgid ":issue:`18409`: Add unittest for AutoComplete. Patch by Phil Webster." -msgstr "" - -#: ../build/NEWS:35855 -msgid "" -":issue:`21477`: htest.py - Improve framework, complete set of tests. Patches " -"by Saimadhav Heblikar" -msgstr "" - -#: ../build/NEWS:35858 -msgid "" -":issue:`18104`: Add idlelib/idle_test/htest.py with a few sample tests to " -"begin consolidating and improving human-validated tests of Idle. Change " -"other files as needed to work with htest. Running the module as __main__ " -"runs all tests." -msgstr "" - -#: ../build/NEWS:35863 -msgid "" -":issue:`21139`: Change default paragraph width to 72, the :pep:`8` " -"recommendation." -msgstr "" - -#: ../build/NEWS:35866 -msgid "" -":issue:`21284`: Paragraph reformat test passes after user changes reformat " -"width." -msgstr "" - -#: ../build/NEWS:35869 -msgid "" -":issue:`17654`: Ensure IDLE menus are customized properly on OS X for non-" -"framework builds and for all variants of Tk." -msgstr "" - -#: ../build/NEWS:35872 -msgid "" -":issue:`23180`: Rename IDLE \"Windows\" menu item to \"Window\". Patch by Al " -"Sweigart." -msgstr "" - -#: ../build/NEWS:35878 -msgid "" -":issue:`15506`: Use standard PKG_PROG_PKG_CONFIG autoconf macro in the " -"configure script." -msgstr "" - -#: ../build/NEWS:35881 -msgid "" -":issue:`22935`: Allow the ssl module to be compiled if openssl doesn't " -"support SSL 3." -msgstr "" - -#: ../build/NEWS:35884 -msgid "" -":issue:`22592`: Drop support of the Borland C compiler to build Python. The " -"distutils module still supports it to build extensions." -msgstr "" - -#: ../build/NEWS:35887 -msgid "" -":issue:`22591`: Drop support of MS-DOS, especially of the DJGPP compiler (MS-" -"DOS port of GCC)." -msgstr "" - -#: ../build/NEWS:35890 -msgid "" -":issue:`16537`: Check whether self.extensions is empty in setup.py. Patch by " -"Jonathan Hosmer." -msgstr "" - -#: ../build/NEWS:35893 -msgid "" -":issue:`22359`: Remove incorrect uses of recursive make. Patch by Jonas " -"Wagner." -msgstr "" - -#: ../build/NEWS:35896 -msgid "" -":issue:`21958`: Define HAVE_ROUND when building with Visual Studio 2013 and " -"above. Patch by Zachary Turner." -msgstr "" - -#: ../build/NEWS:35899 -msgid "" -":issue:`18093`: the programs that embed the CPython runtime are now in a " -"separate \"Programs\" directory, rather than being kept in the Modules " -"directory." -msgstr "" - -#: ../build/NEWS:35903 -msgid "" -":issue:`15759`: \"make suspicious\", \"make linkcheck\" and \"make doctest\" " -"in Doc/ now display special message when and only when there are failures." -msgstr "" - -#: ../build/NEWS:35906 -msgid "" -":issue:`21141`: The Windows build process no longer attempts to find Perl, " -"instead relying on OpenSSL source being configured and ready to build. The " -"``PCbuild\\build_ssl.py`` script has been re-written and re-named to " -"``PCbuild\\prepare_ssl.py``, and takes care of configuring OpenSSL source " -"for both 32 and 64 bit platforms. OpenSSL sources obtained from svn.python." -"org will always be pre-configured and ready to build." -msgstr "" - -#: ../build/NEWS:35913 -msgid ":issue:`21037`: Add a build option to enable AddressSanitizer support." -msgstr "" - -#: ../build/NEWS:35915 -msgid "" -":issue:`19962`: The Windows build process now creates \"python.bat\" in the " -"root of the source tree, which passes all arguments through to the most " -"recently built interpreter." -msgstr "" - -#: ../build/NEWS:35919 -msgid "" -":issue:`21285`: Refactor and fix curses configure check to always search in " -"a ncursesw directory." -msgstr "" - -#: ../build/NEWS:35922 -msgid "" -":issue:`15234`: For BerkeleyDB and Sqlite, only add the found library and " -"include directories if they aren't already being searched. This avoids an " -"explicit runtime library dependency." -msgstr "" - -#: ../build/NEWS:35926 -msgid "" -":issue:`17861`: Tools/scripts/generate_opcode_h.py automatically regenerates " -"Include/opcode.h from Lib/opcode.py if the latter gets any change." -msgstr "" - -#: ../build/NEWS:35929 -msgid "" -":issue:`20644`: OS X installer build support for documentation build changes " -"in 3.4.1: assume externally supplied sphinx-build is available in /usr/bin." -msgstr "" - -#: ../build/NEWS:35932 -msgid "" -":issue:`20022`: Eliminate use of deprecated bundlebuilder in OS X builds." -msgstr "" - -#: ../build/NEWS:35934 -msgid "" -":issue:`15968`: Incorporated Tcl, Tk, and Tix builds into the Windows build " -"solution." -msgstr "" - -#: ../build/NEWS:35937 -msgid ":issue:`17095`: Fix Modules/Setup *shared* support." -msgstr "" - -#: ../build/NEWS:35939 -msgid ":issue:`21811`: Anticipated fixes to support OS X versions > 10.9." -msgstr "" - -#: ../build/NEWS:35941 -msgid "" -":issue:`21166`: Prevent possible segfaults and other random failures of " -"python --generate-posix-vars in pybuilddir.txt build target." -msgstr "" - -#: ../build/NEWS:35944 -msgid ":issue:`18096`: Fix library order returned by python-config." -msgstr "" - -#: ../build/NEWS:35946 -msgid "" -":issue:`17219`: Add library build dir for Python extension cross-builds." -msgstr "" - -#: ../build/NEWS:35948 -msgid "" -":issue:`22919`: Windows build updated to support VC 14.0 (Visual Studio " -"2015), which will be used for the official release." -msgstr "" - -#: ../build/NEWS:35951 -msgid ":issue:`21236`: Build _msi.pyd with cabinet.lib instead of fci.lib" -msgstr "" - -#: ../build/NEWS:35953 -msgid "" -":issue:`17128`: Use private version of OpenSSL for OS X 10.5+ installer." -msgstr "" - -#: ../build/NEWS:35958 -msgid "" -":issue:`14203`: Remove obsolete support for view==NULL in " -"PyBuffer_FillInfo(), bytearray_getbuffer(), bytesiobuf_getbuffer() and " -"array_buffer_getbuf(). All functions now raise BufferError in that case." -msgstr "" - -#: ../build/NEWS:35962 -msgid "" -":issue:`22445`: PyBuffer_IsContiguous() now implements precise contiguity " -"tests, compatible with NumPy's NPY_RELAXED_STRIDES_CHECKING compilation " -"flag. Previously the function reported false negatives for corner cases." -msgstr "" - -#: ../build/NEWS:35966 -msgid "" -":issue:`22079`: PyType_Ready() now checks that statically allocated type has " -"no dynamically allocated bases." -msgstr "" - -#: ../build/NEWS:35969 -msgid ":issue:`22453`: Removed non-documented macro PyObject_REPR()." -msgstr "" - -#: ../build/NEWS:35971 -msgid "" -":issue:`18395`: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, " -"rename ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these " -"functions." -msgstr "" - -#: ../build/NEWS:35975 -msgid "" -":issue:`21233`: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), " -"PyObject_Calloc(), _PyObject_GC_Calloc(). bytes(int) is now using " -"``calloc()`` instead of ``malloc()`` for large objects which is faster and " -"use less memory." -msgstr "" - -#: ../build/NEWS:35980 -msgid "" -":issue:`20942`: PyImport_ImportFrozenModuleObject() no longer sets __file__ " -"to match what importlib does; this affects _frozen_importlib as well as any " -"module loaded using imp.init_frozen()." -msgstr "" - -#: ../build/NEWS:35987 -msgid "" -":issue:`19548`: Update the codecs module documentation to better cover the " -"distinction between text encodings and other codecs, together with other " -"clarifications. Patch by Martin Panter." -msgstr "" - -#: ../build/NEWS:35991 -msgid "" -":issue:`22394`: Doc/Makefile now supports ``make venv PYTHON=../python`` to " -"create a venv for generating the documentation, e.g., ``make html " -"PYTHON=venv/bin/python3``." -msgstr "" - -#: ../build/NEWS:35995 -msgid "" -":issue:`21514`: The documentation of the json module now refers to new JSON " -"RFC 7159 instead of obsoleted RFC 4627." -msgstr "" - -#: ../build/NEWS:35998 -msgid "" -":issue:`21777`: The binary sequence methods on bytes and bytearray are now " -"documented explicitly, rather than assuming users will be able to derive the " -"expected behaviour from the behaviour of the corresponding str methods." -msgstr "" - -#: ../build/NEWS:36003 -msgid ":issue:`6916`: undocument deprecated asynchat.fifo class." -msgstr "" - -#: ../build/NEWS:36005 -msgid "" -":issue:`17386`: Expanded functionality of the ``Doc/make.bat`` script to " -"make it much more comparable to ``Doc/Makefile``." -msgstr "" - -#: ../build/NEWS:36008 -msgid "" -":issue:`21312`: Update the thread_foobar.h template file to include newer " -"threading APIs. Patch by Jack McCracken." -msgstr "" - -#: ../build/NEWS:36011 -msgid "" -":issue:`21043`: Remove the recommendation for specific CA organizations and " -"to mention the ability to load the OS certificates." -msgstr "" - -#: ../build/NEWS:36014 -msgid "" -":issue:`20765`: Add missing documentation for PurePath.with_name() and " -"PurePath.with_suffix()." -msgstr "" - -#: ../build/NEWS:36017 -msgid "" -":issue:`19407`: New package installation and distribution guides based on " -"the Python Packaging Authority tools. Existing guides have been retained as " -"legacy links from the distutils docs, as they still contain some required " -"reference material for tool developers that isn't recorded anywhere else." -msgstr "" - -#: ../build/NEWS:36022 -msgid ":issue:`19697`: Document cases where __main__.__spec__ is None." -msgstr "" - -#: ../build/NEWS:36027 -msgid ":issue:`18982`: Add tests for CLI of the calendar module." -msgstr "" - -#: ../build/NEWS:36029 -msgid "" -":issue:`19548`: Added some additional checks to test_codecs to ensure that " -"statements in the updated documentation remain accurate. Patch by Martin " -"Panter." -msgstr "" - -#: ../build/NEWS:36033 -msgid "" -":issue:`22838`: All test_re tests now work with unittest test discovery." -msgstr "" - -#: ../build/NEWS:36035 -msgid ":issue:`22173`: Update lib2to3 tests to use unittest test discovery." -msgstr "" - -#: ../build/NEWS:36037 -msgid ":issue:`16000`: Convert test_curses to use unittest." -msgstr "" - -#: ../build/NEWS:36039 -msgid "" -":issue:`21456`: Skip two tests in test_urllib2net.py if _ssl module not " -"present. Patch by Remi Pointel." -msgstr "" - -#: ../build/NEWS:36042 -msgid "" -":issue:`20746`: Fix test_pdb to run in refleak mode (-R). Patch by Xavier " -"de Gaye." -msgstr "" - -#: ../build/NEWS:36045 -msgid "" -":issue:`22060`: test_ctypes has been somewhat cleaned up and simplified; it " -"now uses unittest test discovery to find its tests." -msgstr "" - -#: ../build/NEWS:36048 -msgid "" -":issue:`22104`: regrtest.py no longer holds a reference to the suite of " -"tests loaded from test modules that don't define test_main()." -msgstr "" - -#: ../build/NEWS:36051 -msgid "" -":issue:`22111`: Assorted cleanups in test_imaplib. Patch by Milan Oberkirch." -msgstr "" - -#: ../build/NEWS:36053 -msgid "" -":issue:`22002`: Added ``load_package_tests`` function to test.support and " -"used it to implement/augment test discovery in test_asyncio, test_email, " -"test_importlib, test_json, and test_tools." -msgstr "" - -#: ../build/NEWS:36057 -msgid "" -":issue:`21976`: Fix test_ssl to accept LibreSSL version strings. Thanks to " -"William Orr." -msgstr "" - -#: ../build/NEWS:36060 -msgid "" -":issue:`21918`: Converted test_tools from a module to a package containing " -"separate test files for each tested script." -msgstr "" - -#: ../build/NEWS:36063 -msgid "" -":issue:`9554`: Use modern unittest features in test_argparse. Initial patch " -"by Denver Coneybeare and Radu Voicilas." -msgstr "" - -#: ../build/NEWS:36066 -msgid "" -":issue:`20155`: Changed HTTP method names in failing tests in " -"test_httpservers so that packet filtering software (specifically Windows " -"Base Filtering Engine) does not interfere with the transaction semantics " -"expected by the tests." -msgstr "" - -#: ../build/NEWS:36071 -msgid "" -":issue:`19493`: Refactored the ctypes test package to skip tests explicitly " -"rather than silently." -msgstr "" - -#: ../build/NEWS:36074 -msgid "" -":issue:`18492`: All resources are now allowed when tests are not run by " -"regrtest.py." -msgstr "" - -#: ../build/NEWS:36077 -msgid "" -":issue:`21634`: Fix pystone micro-benchmark: use floor division instead of " -"true division to benchmark integers instead of floating point numbers. Set " -"pystone version to 1.2. Patch written by Lennart Regebro." -msgstr "" - -#: ../build/NEWS:36081 -msgid ":issue:`21605`: Added tests for Tkinter images." -msgstr "" - -#: ../build/NEWS:36083 -msgid "" -":issue:`21493`: Added test for ntpath.expanduser(). Original patch by " -"Claudiu Popa." -msgstr "" - -#: ../build/NEWS:36086 -msgid "" -":issue:`19925`: Added tests for the spwd module. Original patch by Vajrasky " -"Kok." -msgstr "" - -#: ../build/NEWS:36089 -msgid "" -":issue:`21522`: Added Tkinter tests for Listbox.itemconfigure(), PanedWindow." -"paneconfigure(), and Menu.entryconfigure()." -msgstr "" - -#: ../build/NEWS:36092 -msgid "" -":issue:`17756`: Fix test_code test when run from the installed location." -msgstr "" - -#: ../build/NEWS:36094 -msgid "" -":issue:`17752`: Fix distutils tests when run from the installed location." -msgstr "" - -#: ../build/NEWS:36096 -msgid "" -":issue:`18604`: Consolidated checks for GUI availability. All platforms now " -"at least check whether Tk can be instantiated when the GUI resource is " -"requested." -msgstr "" - -#: ../build/NEWS:36100 -msgid ":issue:`21275`: Fix a socket test on KFreeBSD." -msgstr "" - -#: ../build/NEWS:36102 -msgid "" -":issue:`21223`: Pass test_site/test_startup_imports when some of the " -"extensions are built as builtins." -msgstr "" - -#: ../build/NEWS:36105 -msgid ":issue:`20635`: Added tests for Tk geometry managers." -msgstr "" - -#: ../build/NEWS:36107 -msgid "Add test case for freeze." -msgstr "" - -#: ../build/NEWS:36109 -msgid ":issue:`20743`: Fix a reference leak in test_tcl." -msgstr "" - -#: ../build/NEWS:36111 -msgid ":issue:`21097`: Move test_namespace_pkgs into test_importlib." -msgstr "" - -#: ../build/NEWS:36113 -msgid ":issue:`21503`: Use test_both() consistently in test_importlib." -msgstr "" - -#: ../build/NEWS:36115 -msgid "" -":issue:`20939`: Avoid various network test failures due to new redirect of " -"http://www.python.org/ to https://www.python.org: use http://www.example.com " -"instead." -msgstr "" - -#: ../build/NEWS:36119 -msgid "" -":issue:`20668`: asyncio tests no longer rely on tests.txt file. (Patch by " -"Vajrasky Kok)" -msgstr "" - -#: ../build/NEWS:36122 -msgid "" -":issue:`21093`: Prevent failures of ctypes test_macholib on OS X if a copy " -"of libz exists in $HOME/lib or /usr/local/lib." -msgstr "" - -#: ../build/NEWS:36125 -msgid "" -":issue:`22770`: Prevent some Tk segfaults on OS X when running gui tests." -msgstr "" - -#: ../build/NEWS:36127 -msgid "" -":issue:`23211`: Workaround test_logging failure on some OS X 10.6 systems." -msgstr "" - -#: ../build/NEWS:36129 -msgid "" -":issue:`23345`: Prevent test_ssl failures with large OpenSSL patch level " -"values (like 0.9.8zc)." -msgstr "" - -#: ../build/NEWS:36135 -msgid "" -":issue:`22314`: pydoc now works when the LINES environment variable is set." -msgstr "" - -#: ../build/NEWS:36137 -msgid "" -":issue:`22615`: Argument Clinic now supports the \"type\" argument for the " -"int converter. This permits using the int converter with enums and typedefs." -msgstr "" - -#: ../build/NEWS:36140 -msgid "" -":issue:`20076`: The makelocalealias.py script no longer ignores UTF-8 " -"mapping." -msgstr "" - -#: ../build/NEWS:36142 -msgid "" -":issue:`20079`: The makelocalealias.py script now can parse the SUPPORTED " -"file from glibc sources and supports command line options for source paths." -msgstr "" - -#: ../build/NEWS:36145 -msgid "" -":issue:`22201`: Command-line interface of the zipfile module now correctly " -"extracts ZIP files with directory entries. Patch by Ryan Wilson." -msgstr "" - -#: ../build/NEWS:36148 -msgid "" -":issue:`22120`: For functions using an unsigned integer return converter, " -"Argument Clinic now generates a cast to that type for the comparison to -1 " -"in the generated code. (This suppresses a compilation warning.)" -msgstr "" - -#: ../build/NEWS:36152 -msgid "" -":issue:`18974`: Tools/scripts/diff.py now uses argparse instead of optparse." -msgstr "" - -#: ../build/NEWS:36154 -msgid "" -":issue:`21906`: Make Tools/scripts/md5sum.py work in Python 3. Patch by " -"Zachary Ware." -msgstr "" - -#: ../build/NEWS:36157 -msgid ":issue:`21629`: Fix Argument Clinic's \"--converters\" feature." -msgstr "" - -#: ../build/NEWS:36159 -msgid "Add support for ``yield from`` to 2to3." -msgstr "" - -#: ../build/NEWS:36161 -msgid "Add support for the :pep:`465` matrix multiplication operator to 2to3." -msgstr "" - -#: ../build/NEWS:36163 -msgid "" -":issue:`16047`: Fix module exception list and __file__ handling in freeze. " -"Patch by Meador Inge." -msgstr "" - -#: ../build/NEWS:36166 -msgid ":issue:`11824`: Consider ABI tags in freeze. Patch by Meador Inge." -msgstr "" - -#: ../build/NEWS:36168 -msgid "" -":issue:`20535`: PYTHONWARNING no longer affects the run_tests.py script. " -"Patch by Arfrever Frehtes Taifersar Arahesis." -msgstr "" - -#: ../build/NEWS:36174 -msgid ":issue:`23260`: Update Windows installer" -msgstr "" - -#: ../build/NEWS:36176 -msgid "" -"The bundled version of Tcl/Tk has been updated to 8.6.3. The most visible " -"result of this change is the addition of new native file dialogs when " -"running on Windows Vista or newer. See Tcl/Tk's TIP 432 for more " -"information. Also, this version of Tcl/Tk includes support for Windows 10." -msgstr "" - -#: ../build/NEWS:36182 -msgid "" -":issue:`17896`: The Windows build scripts now expect external library " -"sources to be in ``PCbuild\\..\\externals`` rather than ``PCbuild\\..\\..``." -msgstr "" - -#: ../build/NEWS:36185 -msgid "" -":issue:`17717`: The Windows build scripts now use a copy of NASM pulled from " -"svn.python.org to build OpenSSL." -msgstr "" - -#: ../build/NEWS:36188 -msgid "" -":issue:`21907`: Improved the batch scripts provided for building Python." -msgstr "" - -#: ../build/NEWS:36190 -msgid "" -":issue:`22644`: The bundled version of OpenSSL has been updated to 1.0.1j." -msgstr "" - -#: ../build/NEWS:36192 -msgid "" -":issue:`10747`: Use versioned labels in the Windows start menu. Patch by " -"Olive Kilburn." -msgstr "" - -#: ../build/NEWS:36195 -msgid "" -":issue:`22980`: .pyd files with a version and platform tag (for example, \"." -"cp35-win32.pyd\") will now be loaded in preference to those without tags." -msgstr "" - -#: ../build/NEWS:36199 -msgid "**(For information about older versions, consult the HISTORY file.)**" -msgstr ""