diff --git a/Makefile b/Makefile index c61c9492c..00e554dfa 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ # test build, we're building with the .rst files that generated our # .po files. -CPYTHON_CURRENT_COMMIT := 4a0c118d6a4080efc538802f70ee79ce5c046e72 +CPYTHON_CURRENT_COMMIT := 8882b30dab237c8b460cb8d18cecc8b8d031da25 LANGUAGE := tr BRANCH := 3.12 diff --git a/c-api/intro.po b/c-api/intro.po index 894304122..eaf29b2dd 100644 --- a/c-api/intro.po +++ b/c-api/intro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -153,94 +153,109 @@ msgid "" msgstr "" #: c-api/intro.rst:110 +msgid "" +"Declare an extension module ``PyInit`` initialization function. The function " +"return type is :c:expr:`PyObject*`. The macro declares any special linkage " +"declarations required by the platform, and for C++ declares the function as " +"``extern \"C\"``." +msgstr "" + +#: c-api/intro.rst:115 +msgid "" +"The initialization function must be named :samp:`PyInit_{name}`, where " +"*name* is the name of the module, and should be the only non-\\ ``static`` " +"item defined in the module file. Example::" +msgstr "" + +#: c-api/intro.rst:134 msgid "Return the absolute value of ``x``." msgstr "" -#: c-api/intro.rst:116 +#: c-api/intro.rst:140 msgid "" "Ask the compiler to always inline a static inline function. The compiler can " "ignore it and decides to not inline the function." msgstr "" -#: c-api/intro.rst:119 +#: c-api/intro.rst:143 msgid "" "It can be used to inline performance critical static inline functions when " "building Python in debug mode with function inlining disabled. For example, " "MSC disables function inlining when building in debug mode." msgstr "" -#: c-api/intro.rst:123 +#: c-api/intro.rst:147 msgid "" "Marking blindly a static inline function with Py_ALWAYS_INLINE can result in " "worse performances (due to increased code size for example). The compiler is " "usually smarter than the developer for the cost/benefit analysis." msgstr "" -#: c-api/intro.rst:127 +#: c-api/intro.rst:151 msgid "" "If Python is :ref:`built in debug mode ` (if the ``Py_DEBUG`` " "macro is defined), the :c:macro:`Py_ALWAYS_INLINE` macro does nothing." msgstr "" -#: c-api/intro.rst:130 +#: c-api/intro.rst:154 msgid "It must be specified before the function return type. Usage::" msgstr "" -#: c-api/intro.rst:138 +#: c-api/intro.rst:162 msgid "" "Argument must be a character or an integer in the range [-128, 127] or [0, " "255]. This macro returns ``c`` cast to an ``unsigned char``." msgstr "" -#: c-api/intro.rst:143 +#: c-api/intro.rst:167 msgid "" "Use this for deprecated declarations. The macro must be placed before the " "symbol name." msgstr "" -#: c-api/intro.rst:232 c-api/intro.rst:250 +#: c-api/intro.rst:256 c-api/intro.rst:274 msgid "Example::" msgstr "" -#: c-api/intro.rst:150 +#: c-api/intro.rst:174 msgid "MSVC support was added." msgstr "" -#: c-api/intro.rst:155 +#: c-api/intro.rst:179 msgid "" "Like ``getenv(s)``, but returns ``NULL`` if :option:`-E` was passed on the " "command line (see :c:member:`PyConfig.use_environment`)." msgstr "" -#: c-api/intro.rst:160 +#: c-api/intro.rst:184 msgid "Return the maximum value between ``x`` and ``y``." msgstr "" -#: c-api/intro.rst:166 +#: c-api/intro.rst:190 msgid "Return the size of a structure (``type``) ``member`` in bytes." msgstr "" -#: c-api/intro.rst:172 +#: c-api/intro.rst:196 msgid "Return the minimum value between ``x`` and ``y``." msgstr "" -#: c-api/intro.rst:178 +#: c-api/intro.rst:202 msgid "" "Disable inlining on a function. For example, it reduces the C stack " "consumption: useful on LTO+PGO builds which heavily inline code (see :issue:" "`33720`)." msgstr "" -#: c-api/intro.rst:182 +#: c-api/intro.rst:206 msgid "Usage::" msgstr "" -#: c-api/intro.rst:190 +#: c-api/intro.rst:214 msgid "" "Convert ``x`` to a C string. E.g. ``Py_STRINGIFY(123)`` returns ``\"123\"``." msgstr "" -#: c-api/intro.rst:197 +#: c-api/intro.rst:221 msgid "" "Use this when you have a code path that cannot be reached by design. For " "example, in the ``default:`` clause in a ``switch`` statement for which all " @@ -248,20 +263,20 @@ msgid "" "where you might be tempted to put an ``assert(0)`` or ``abort()`` call." msgstr "" -#: c-api/intro.rst:202 +#: c-api/intro.rst:226 msgid "" "In release mode, the macro helps the compiler to optimize the code, and " "avoids a warning about unreachable code. For example, the macro is " "implemented with ``__builtin_unreachable()`` on GCC in release mode." msgstr "" -#: c-api/intro.rst:206 +#: c-api/intro.rst:230 msgid "" "A use for ``Py_UNREACHABLE()`` is following a call a function that never " "returns but that is not declared :c:macro:`_Py_NO_RETURN`." msgstr "" -#: c-api/intro.rst:209 +#: c-api/intro.rst:233 msgid "" "If a code path is very unlikely code but can be reached under exceptional " "case, this macro must not be used. For example, under low memory condition " @@ -270,41 +285,41 @@ msgid "" "reported to caller, :c:func:`Py_FatalError` can be used." msgstr "" -#: c-api/intro.rst:219 +#: c-api/intro.rst:243 msgid "" "Use this for unused arguments in a function definition to silence compiler " "warnings. Example: ``int func(int a, int Py_UNUSED(b)) { return a; }``." msgstr "" -#: c-api/intro.rst:226 +#: c-api/intro.rst:250 msgid "" "Creates a variable with name ``name`` that can be used in docstrings. If " "Python is built without docstrings, the value will be empty." msgstr "" -#: c-api/intro.rst:229 +#: c-api/intro.rst:253 msgid "" "Use :c:macro:`PyDoc_STRVAR` for docstrings to support building Python " "without docstrings, as specified in :pep:`7`." msgstr "" -#: c-api/intro.rst:244 +#: c-api/intro.rst:268 msgid "" "Creates a docstring for the given input string or an empty string if " "docstrings are disabled." msgstr "" -#: c-api/intro.rst:247 +#: c-api/intro.rst:271 msgid "" "Use :c:macro:`PyDoc_STR` in specifying docstrings to support building Python " "without docstrings, as specified in :pep:`7`." msgstr "" -#: c-api/intro.rst:262 +#: c-api/intro.rst:286 msgid "Objects, Types and Reference Counts" msgstr "" -#: c-api/intro.rst:266 +#: c-api/intro.rst:290 msgid "" "Most Python/C API functions have one or more arguments as well as a return " "value of type :c:expr:`PyObject*`. This type is a pointer to an opaque data " @@ -319,7 +334,7 @@ msgid "" "objects." msgstr "" -#: c-api/intro.rst:277 +#: c-api/intro.rst:301 msgid "" "All Python objects (even Python integers) have a :dfn:`type` and a :dfn:" "`reference count`. An object's type determines what kind of object it is (e." @@ -330,11 +345,11 @@ msgid "" "a Python list." msgstr "" -#: c-api/intro.rst:288 +#: c-api/intro.rst:312 msgid "Reference Counts" msgstr "" -#: c-api/intro.rst:290 +#: c-api/intro.rst:314 msgid "" "The reference count is important because today's computers have a finite " "(and often severely limited) memory size; it counts how many different " @@ -349,7 +364,7 @@ msgid "" "that.\")" msgstr "" -#: c-api/intro.rst:307 +#: c-api/intro.rst:331 msgid "" "Reference counts are always manipulated explicitly. The normal way is to " "use the macro :c:func:`Py_INCREF` to take a new reference to an object (i.e. " @@ -368,7 +383,7 @@ msgid "" "increment is a simple operation." msgstr "" -#: c-api/intro.rst:323 +#: c-api/intro.rst:347 msgid "" "It is not necessary to hold a :term:`strong reference` (i.e. increment the " "reference count) for every local variable that contains a pointer to an " @@ -386,7 +401,7 @@ msgid "" "reference to every argument for the duration of the call." msgstr "" -#: c-api/intro.rst:339 +#: c-api/intro.rst:363 msgid "" "However, a common pitfall is to extract an object from a list and hold on to " "it for a while without taking a new reference. Some other operation might " @@ -397,7 +412,7 @@ msgid "" "`Py_DECREF`, so almost any operation is potentially dangerous." msgstr "" -#: c-api/intro.rst:347 +#: c-api/intro.rst:371 msgid "" "A safe approach is to always use the generic operations (functions whose " "name begins with ``PyObject_``, ``PyNumber_``, ``PySequence_`` or " @@ -407,11 +422,11 @@ msgid "" "when they are done with the result; this soon becomes second nature." msgstr "" -#: c-api/intro.rst:358 +#: c-api/intro.rst:382 msgid "Reference Count Details" msgstr "" -#: c-api/intro.rst:360 +#: c-api/intro.rst:384 msgid "" "The reference count behavior of functions in the Python/C API is best " "explained in terms of *ownership of references*. Ownership pertains to " @@ -428,7 +443,7 @@ msgid "" "`borrowed reference`." msgstr "" -#: c-api/intro.rst:373 +#: c-api/intro.rst:397 msgid "" "Conversely, when a calling function passes in a reference to an object, " "there are two possibilities: the function *steals* a reference to the " @@ -437,7 +452,7 @@ msgid "" "reference, and you are not responsible for it any longer." msgstr "" -#: c-api/intro.rst:383 +#: c-api/intro.rst:407 msgid "" "Few functions steal references; the two notable exceptions are :c:func:" "`PyList_SetItem` and :c:func:`PyTuple_SetItem`, which steal a reference to " @@ -449,7 +464,7 @@ msgid "" "below)::" msgstr "" -#: c-api/intro.rst:398 +#: c-api/intro.rst:422 msgid "" "Here, :c:func:`PyLong_FromLong` returns a new reference which is immediately " "stolen by :c:func:`PyTuple_SetItem`. When you want to keep using an object " @@ -457,7 +472,7 @@ msgid "" "another reference before calling the reference-stealing function." msgstr "" -#: c-api/intro.rst:403 +#: c-api/intro.rst:427 msgid "" "Incidentally, :c:func:`PyTuple_SetItem` is the *only* way to set tuple " "items; :c:func:`PySequence_SetItem` and :c:func:`PyObject_SetItem` refuse to " @@ -465,13 +480,13 @@ msgid "" "func:`PyTuple_SetItem` for tuples that you are creating yourself." msgstr "" -#: c-api/intro.rst:408 +#: c-api/intro.rst:432 msgid "" "Equivalent code for populating a list can be written using :c:func:" "`PyList_New` and :c:func:`PyList_SetItem`." msgstr "" -#: c-api/intro.rst:411 +#: c-api/intro.rst:435 msgid "" "However, in practice, you will rarely use these ways of creating and " "populating a tuple or list. There's a generic function, :c:func:" @@ -480,7 +495,7 @@ msgid "" "be replaced by the following (which also takes care of the error checking)::" msgstr "" -#: c-api/intro.rst:422 +#: c-api/intro.rst:446 msgid "" "It is much more common to use :c:func:`PyObject_SetItem` and friends with " "items whose references you are only borrowing, like arguments that were " @@ -491,7 +506,7 @@ msgid "" "sequence) to a given item::" msgstr "" -#: c-api/intro.rst:452 +#: c-api/intro.rst:476 msgid "" "The situation is slightly different for function return values. While " "passing a reference to most functions does not change your ownership " @@ -504,7 +519,7 @@ msgid "" "becomes the owner of the reference)." msgstr "" -#: c-api/intro.rst:461 +#: c-api/intro.rst:485 msgid "" "It is important to realize that whether you own a reference returned by a " "function depends on which function you call only --- *the plumage* (the type " @@ -515,18 +530,18 @@ msgid "" "the same arguments), you do own a reference to the returned object." msgstr "" -#: c-api/intro.rst:473 +#: c-api/intro.rst:497 msgid "" "Here is an example of how you could write a function that computes the sum " "of the items in a list of integers; once using :c:func:`PyList_GetItem`, " "and once using :c:func:`PySequence_GetItem`. ::" msgstr "" -#: c-api/intro.rst:537 +#: c-api/intro.rst:561 msgid "Types" msgstr "" -#: c-api/intro.rst:539 +#: c-api/intro.rst:563 msgid "" "There are few other data types that play a significant role in the Python/C " "API; most are simple C types such as :c:expr:`int`, :c:expr:`long`, :c:expr:" @@ -537,7 +552,7 @@ msgid "" "that use them." msgstr "" -#: c-api/intro.rst:549 +#: c-api/intro.rst:573 msgid "" "A signed integral type such that ``sizeof(Py_ssize_t) == sizeof(size_t)``. " "C99 doesn't define such a thing directly (size_t is an unsigned integral " @@ -545,11 +560,11 @@ msgid "" "positive value of type :c:type:`Py_ssize_t`." msgstr "" -#: c-api/intro.rst:558 +#: c-api/intro.rst:582 msgid "Exceptions" msgstr "" -#: c-api/intro.rst:560 +#: c-api/intro.rst:584 msgid "" "The Python programmer only needs to deal with exceptions if specific error " "handling is required; unhandled exceptions are automatically propagated to " @@ -558,7 +573,7 @@ msgid "" "stack traceback." msgstr "" -#: c-api/intro.rst:568 +#: c-api/intro.rst:592 msgid "" "For C programmers, however, error checking always has to be explicit. All " "functions in the Python/C API can raise exceptions, unless an explicit claim " @@ -573,7 +588,7 @@ msgid "" "explicitly documented." msgstr "" -#: c-api/intro.rst:583 +#: c-api/intro.rst:607 msgid "" "Exception state is maintained in per-thread storage (this is equivalent to " "using global storage in an unthreaded application). A thread can be in one " @@ -586,7 +601,7 @@ msgid "" "clears the exception state." msgstr "" -#: c-api/intro.rst:593 +#: c-api/intro.rst:617 msgid "" "The full exception state consists of three objects (all of which can be " "``NULL``): the exception type, the corresponding exception value, and the " @@ -599,7 +614,7 @@ msgid "" "``sys.exc_info()`` and friends." msgstr "" -#: c-api/intro.rst:605 +#: c-api/intro.rst:629 msgid "" "Note that starting with Python 1.5, the preferred, thread-safe way to access " "the exception state from Python code is to call the function :func:`sys." @@ -613,7 +628,7 @@ msgid "" "referenced by the stack frames in the traceback." msgstr "" -#: c-api/intro.rst:616 +#: c-api/intro.rst:640 msgid "" "As a general principle, a function that calls another function to perform " "some task should check whether the called function raised an exception, and " @@ -624,7 +639,7 @@ msgid "" "of the error." msgstr "" -#: c-api/intro.rst:625 +#: c-api/intro.rst:649 msgid "" "A simple example of detecting exceptions and passing them on is shown in " "the :c:func:`!sum_sequence` example above. It so happens that this example " @@ -633,11 +648,11 @@ msgid "" "why you like Python, we show the equivalent Python code::" msgstr "" -#: c-api/intro.rst:640 +#: c-api/intro.rst:664 msgid "Here is the corresponding C code, in all its glory::" msgstr "" -#: c-api/intro.rst:692 +#: c-api/intro.rst:716 msgid "" "This example represents an endorsed use of the ``goto`` statement in C! It " "illustrates the use of :c:func:`PyErr_ExceptionMatches` and :c:func:" @@ -650,11 +665,11 @@ msgid "" "success after the final call made is successful." msgstr "" -#: c-api/intro.rst:706 +#: c-api/intro.rst:730 msgid "Embedding Python" msgstr "" -#: c-api/intro.rst:708 +#: c-api/intro.rst:732 msgid "" "The one important task that only embedders (as opposed to extension writers) " "of the Python interpreter have to worry about is the initialization, and " @@ -662,7 +677,7 @@ msgid "" "the interpreter can only be used after the interpreter has been initialized." msgstr "" -#: c-api/intro.rst:721 +#: c-api/intro.rst:745 msgid "" "The basic initialization function is :c:func:`Py_Initialize`. This " "initializes the table of loaded modules, and creates the fundamental " @@ -670,7 +685,7 @@ msgid "" "initializes the module search path (``sys.path``)." msgstr "" -#: c-api/intro.rst:726 +#: c-api/intro.rst:750 msgid "" ":c:func:`Py_Initialize` does not set the \"script argument list\" (``sys." "argv``). If this variable is needed by Python code that will be executed " @@ -678,7 +693,7 @@ msgid "" "must be set: see :ref:`Python Initialization Configuration `." msgstr "" -#: c-api/intro.rst:731 +#: c-api/intro.rst:755 msgid "" "On most systems (in particular, on Unix and Windows, although the details " "are slightly different), :c:func:`Py_Initialize` calculates the module " @@ -690,7 +705,7 @@ msgid "" "on the shell command search path (the environment variable :envvar:`PATH`)." msgstr "" -#: c-api/intro.rst:740 +#: c-api/intro.rst:764 msgid "" "For instance, if the Python executable is found in :file:`/usr/local/bin/" "python`, it will assume that the libraries are in :file:`/usr/local/lib/" @@ -701,7 +716,7 @@ msgid "" "in front of the standard path by setting :envvar:`PYTHONPATH`." msgstr "" -#: c-api/intro.rst:755 +#: c-api/intro.rst:779 msgid "" "The embedding application can steer the search by calling " "``Py_SetProgramName(file)`` *before* calling :c:func:`Py_Initialize`. Note " @@ -712,7 +727,7 @@ msgid "" "func:`Py_GetProgramFullPath` (all defined in :file:`Modules/getpath.c`)." msgstr "" -#: c-api/intro.rst:765 +#: c-api/intro.rst:789 msgid "" "Sometimes, it is desirable to \"uninitialize\" Python. For instance, the " "application may want to start over (make another call to :c:func:" @@ -726,18 +741,18 @@ msgid "" "released." msgstr "" -#: c-api/intro.rst:779 +#: c-api/intro.rst:803 msgid "Debugging Builds" msgstr "" -#: c-api/intro.rst:781 +#: c-api/intro.rst:805 msgid "" "Python can be built with several macros to enable extra checks of the " "interpreter and extension modules. These checks tend to add a large amount " "of overhead to the runtime so they are not enabled by default." msgstr "" -#: c-api/intro.rst:785 +#: c-api/intro.rst:809 msgid "" "A full list of the various types of debugging builds is in the file :file:" "`Misc/SpecialBuilds.txt` in the Python source distribution. Builds are " @@ -747,7 +762,7 @@ msgid "" "section." msgstr "" -#: c-api/intro.rst:791 +#: c-api/intro.rst:815 msgid "" "Compiling the interpreter with the :c:macro:`Py_DEBUG` macro defined " "produces what is generally meant by :ref:`a debug build of Python `." msgstr "" -#: c-api/intro.rst:802 +#: c-api/intro.rst:826 msgid "" "Defining :c:macro:`Py_TRACE_REFS` enables reference tracing (see the :option:" "`configure --with-trace-refs option <--with-trace-refs>`). When defined, a " @@ -774,136 +789,136 @@ msgid "" "this happens after every statement run by the interpreter.)" msgstr "" -#: c-api/intro.rst:809 +#: c-api/intro.rst:833 msgid "" "Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source " "distribution for more detailed information." msgstr "" -#: c-api/intro.rst:264 +#: c-api/intro.rst:288 msgid "object" msgstr "" -#: c-api/intro.rst:264 +#: c-api/intro.rst:288 msgid "type" msgstr "" -#: c-api/intro.rst:303 +#: c-api/intro.rst:327 msgid "Py_INCREF()" msgstr "" -#: c-api/intro.rst:303 +#: c-api/intro.rst:327 msgid "Py_DECREF()" msgstr "" -#: c-api/intro.rst:379 +#: c-api/intro.rst:403 msgid "PyList_SetItem()" msgstr "" -#: c-api/intro.rst:379 +#: c-api/intro.rst:403 msgid "PyTuple_SetItem()" msgstr "" -#: c-api/intro.rst:450 +#: c-api/intro.rst:474 msgid "set_all()" msgstr "" -#: c-api/intro.rst:469 +#: c-api/intro.rst:493 msgid "PyList_GetItem()" msgstr "" -#: c-api/intro.rst:469 +#: c-api/intro.rst:493 msgid "PySequence_GetItem()" msgstr "" -#: c-api/intro.rst:499 +#: c-api/intro.rst:523 msgid "sum_list()" msgstr "" -#: c-api/intro.rst:623 +#: c-api/intro.rst:647 msgid "sum_sequence()" msgstr "" -#: c-api/intro.rst:566 +#: c-api/intro.rst:590 msgid "PyErr_Occurred()" msgstr "" -#: c-api/intro.rst:579 +#: c-api/intro.rst:603 msgid "PyErr_SetString()" msgstr "" -#: c-api/intro.rst:687 +#: c-api/intro.rst:711 msgid "PyErr_Clear()" msgstr "" -#: c-api/intro.rst:603 +#: c-api/intro.rst:627 msgid "exc_info() (in module sys)" msgstr "" -#: c-api/intro.rst:685 +#: c-api/intro.rst:709 msgid "incr_item()" msgstr "" -#: c-api/intro.rst:687 +#: c-api/intro.rst:711 msgid "PyErr_ExceptionMatches()" msgstr "" -#: c-api/intro.rst:687 +#: c-api/intro.rst:711 msgid "Py_XDECREF()" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "Py_Initialize()" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "module" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "builtins" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "__main__" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "sys" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "search" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "path" msgstr "" -#: c-api/intro.rst:713 +#: c-api/intro.rst:737 msgid "path (in module sys)" msgstr "" -#: c-api/intro.rst:748 +#: c-api/intro.rst:772 msgid "Py_SetProgramName()" msgstr "" -#: c-api/intro.rst:748 +#: c-api/intro.rst:772 msgid "Py_GetPath()" msgstr "" -#: c-api/intro.rst:748 +#: c-api/intro.rst:772 msgid "Py_GetPrefix()" msgstr "" -#: c-api/intro.rst:748 +#: c-api/intro.rst:772 msgid "Py_GetExecPrefix()" msgstr "" -#: c-api/intro.rst:748 +#: c-api/intro.rst:772 msgid "Py_GetProgramFullPath()" msgstr "" -#: c-api/intro.rst:763 +#: c-api/intro.rst:787 msgid "Py_IsInitialized()" msgstr "" diff --git a/extending/windows.po b/extending/windows.po index 0b38c231d..7cf031e39 100644 --- a/extending/windows.po +++ b/extending/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -183,5 +183,5 @@ msgid "" "Developer Studio will throw in a lot of import libraries that you do not " "really need, adding about 100K to your executable. To get rid of them, use " "the Project Settings dialog, Link tab, to specify *ignore default " -"libraries*. Add the correct :file:`msvcrtxx.lib` to the list of libraries." +"libraries*. Add the correct :file:`msvcrt{xx}.lib` to the list of libraries." msgstr "" diff --git a/howto/logging-cookbook.po b/howto/logging-cookbook.po index 3eae5e4b1..544058e45 100644 --- a/howto/logging-cookbook.po +++ b/howto/logging-cookbook.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -913,7 +913,7 @@ msgid "" "a log by a handler. So the only slightly unusual thing which might trip you " "up is that the parentheses go around the format string and the arguments, " "not just the format string. That's because the __ notation is just syntax " -"sugar for a constructor call to one of the XXXMessage classes." +"sugar for a constructor call to one of the :samp:`{XXX}Message` classes." msgstr "" #: howto/logging-cookbook.rst:1733 @@ -1444,8 +1444,8 @@ msgid "" "a log by a handler. So the only slightly unusual thing which might trip you " "up is that the parentheses go around the format string and the arguments, " "not just the format string. That’s because the __ notation is just syntax " -"sugar for a constructor call to one of the ``XXXMessage`` classes shown " -"above." +"sugar for a constructor call to one of the :samp:`{XXX}Message` classes " +"shown above." msgstr "" #: howto/logging-cookbook.rst:2655 diff --git a/howto/logging.po b/howto/logging.po index b003ab010..90997edb6 100644 --- a/howto/logging.po +++ b/howto/logging.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1227,7 +1227,7 @@ msgstr "" msgid "" ":class:`NullHandler` instances do nothing with error messages. They are used " "by library developers who want to use logging, but want to avoid the 'No " -"handlers could be found for logger XXX' message which can be displayed if " +"handlers could be found for logger *XXX*' message which can be displayed if " "the library user has not configured logging. See :ref:`library-config` for " "more information." msgstr "" diff --git a/howto/urllib2.po b/howto/urllib2.po index 0415d7f23..93006ca86 100644 --- a/howto/urllib2.po +++ b/howto/urllib2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -211,15 +211,15 @@ msgstr "" #: howto/urllib2.rst:197 msgid "" -"*urlopen* raises :exc:`URLError` when it cannot handle a response (though as " -"usual with Python APIs, built-in exceptions such as :exc:`ValueError`, :exc:" -"`TypeError` etc. may also be raised)." +"*urlopen* raises :exc:`~urllib.error.URLError` when it cannot handle a " +"response (though as usual with Python APIs, built-in exceptions such as :exc:" +"`ValueError`, :exc:`TypeError` etc. may also be raised)." msgstr "" #: howto/urllib2.rst:201 msgid "" -":exc:`HTTPError` is the subclass of :exc:`URLError` raised in the specific " -"case of HTTP URLs." +":exc:`~urllib.error.HTTPError` is the subclass of :exc:`~urllib.error." +"URLError` raised in the specific case of HTTP URLs." msgstr "" #: howto/urllib2.rst:204 @@ -253,9 +253,9 @@ msgid "" "request. The default handlers will handle some of these responses for you " "(for example, if the response is a \"redirection\" that requests the client " "fetch the document from a different URL, urllib will handle that for you). " -"For those it can't handle, urlopen will raise an :exc:`HTTPError`. Typical " -"errors include '404' (page not found), '403' (request forbidden), and " -"'401' (authentication required)." +"For those it can't handle, urlopen will raise an :exc:`~urllib.error." +"HTTPError`. Typical errors include '404' (page not found), '403' (request " +"forbidden), and '401' (authentication required)." msgstr "" #: howto/urllib2.rst:235 @@ -265,8 +265,8 @@ msgstr "" #: howto/urllib2.rst:237 msgid "" -"The :exc:`HTTPError` instance raised will have an integer 'code' attribute, " -"which corresponds to the error sent by the server." +"The :exc:`~urllib.error.HTTPError` instance raised will have an integer " +"'code' attribute, which corresponds to the error sent by the server." msgstr "" #: howto/urllib2.rst:241 @@ -290,10 +290,10 @@ msgstr "" #: howto/urllib2.rst:319 msgid "" "When an error is raised the server responds by returning an HTTP error code " -"*and* an error page. You can use the :exc:`HTTPError` instance as a response " -"on the page returned. This means that as well as the code attribute, it also " -"has read, geturl, and info, methods as returned by the ``urllib.response`` " -"module::" +"*and* an error page. You can use the :exc:`~urllib.error.HTTPError` instance " +"as a response on the page returned. This means that as well as the code " +"attribute, it also has read, geturl, and info, methods as returned by the " +"``urllib.response`` module::" msgstr "" #: howto/urllib2.rst:339 @@ -302,8 +302,9 @@ msgstr "" #: howto/urllib2.rst:341 msgid "" -"So if you want to be prepared for :exc:`HTTPError` *or* :exc:`URLError` " -"there are two basic approaches. I prefer the second approach." +"So if you want to be prepared for :exc:`~urllib.error.HTTPError` *or* :exc:" +"`~urllib.error.URLError` there are two basic approaches. I prefer the second " +"approach." msgstr "" #: howto/urllib2.rst:345 @@ -313,7 +314,7 @@ msgstr "" #: howto/urllib2.rst:367 msgid "" "The ``except HTTPError`` *must* come first, otherwise ``except URLError`` " -"will *also* catch an :exc:`HTTPError`." +"will *also* catch an :exc:`~urllib.error.HTTPError`." msgstr "" #: howto/urllib2.rst:371 @@ -326,9 +327,9 @@ msgstr "" #: howto/urllib2.rst:394 msgid "" -"The response returned by urlopen (or the :exc:`HTTPError` instance) has two " -"useful methods :meth:`info` and :meth:`geturl` and is defined in the module :" -"mod:`urllib.response`.." +"The response returned by urlopen (or the :exc:`~urllib.error.HTTPError` " +"instance) has two useful methods :meth:`info` and :meth:`geturl` and is " +"defined in the module :mod:`urllib.response`.." msgstr "" #: howto/urllib2.rst:398 diff --git a/library/codecs.po b/library/codecs.po index 19ece6ff1..2a40f91e9 100644 --- a/library/codecs.po +++ b/library/codecs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -360,11 +360,11 @@ msgid "" "encodings` codecs:" msgstr "" -#: library/codecs.rst:372 library/codecs.rst:391 +#: library/codecs.rst:373 library/codecs.rst:393 msgid "Value" msgstr "" -#: library/codecs.rst:372 library/codecs.rst:1324 library/codecs.rst:1446 +#: library/codecs.rst:373 library/codecs.rst:1327 library/codecs.rst:1450 msgid "Meaning" msgstr "" @@ -406,16 +406,16 @@ msgstr "" #: library/codecs.rst:346 msgid "" "Replace with backslashed escape sequences. On encoding, use hexadecimal form " -"of Unicode code point with formats ``\\xhh`` ``\\uxxxx`` ``\\Uxxxxxxxx``. On " -"decoding, use hexadecimal form of byte value with format ``\\xhh``. " -"Implemented in :func:`backslashreplace_errors`." +"of Unicode code point with formats :samp:`\\\\x{hh}` :samp:`\\\\u{xxxx}` :" +"samp:`\\\\U{xxxxxxxx}`. On decoding, use hexadecimal form of byte value with " +"format :samp:`\\\\x{hh}`. Implemented in :func:`backslashreplace_errors`." msgstr "" -#: library/codecs.rst:354 +#: library/codecs.rst:355 msgid "``'surrogateescape'``" msgstr "" -#: library/codecs.rst:354 +#: library/codecs.rst:355 msgid "" "On decoding, replace byte with individual surrogate code ranging from " "``U+DC80`` to ``U+DCFF``. This code will then be turned back into the same " @@ -423,92 +423,92 @@ msgid "" "data. (See :pep:`383` for more.)" msgstr "" -#: library/codecs.rst:368 +#: library/codecs.rst:369 msgid "" "The following error handlers are only applicable to encoding (within :term:" "`text encodings `):" msgstr "" -#: library/codecs.rst:374 +#: library/codecs.rst:375 msgid "``'xmlcharrefreplace'``" msgstr "" -#: library/codecs.rst:374 +#: library/codecs.rst:375 msgid "" "Replace with XML/HTML numeric character reference, which is a decimal form " -"of Unicode code point with format ``&#num;`` Implemented in :func:" +"of Unicode code point with format :samp:`&#{num};`. Implemented in :func:" "`xmlcharrefreplace_errors`." msgstr "" -#: library/codecs.rst:379 +#: library/codecs.rst:381 msgid "``'namereplace'``" msgstr "" -#: library/codecs.rst:379 +#: library/codecs.rst:381 msgid "" "Replace with ``\\N{...}`` escape sequences, what appears in the braces is " "the Name property from Unicode Character Database. Implemented in :func:" "`namereplace_errors`." msgstr "" -#: library/codecs.rst:388 +#: library/codecs.rst:390 msgid "" "In addition, the following error handler is specific to the given codecs:" msgstr "" -#: library/codecs.rst:391 +#: library/codecs.rst:393 msgid "Codecs" msgstr "" -#: library/codecs.rst:393 +#: library/codecs.rst:395 msgid "``'surrogatepass'``" msgstr "" -#: library/codecs.rst:393 +#: library/codecs.rst:395 msgid "utf-8, utf-16, utf-32, utf-16-be, utf-16-le, utf-32-be, utf-32-le" msgstr "" -#: library/codecs.rst:393 +#: library/codecs.rst:395 msgid "" "Allow encoding and decoding surrogate code point (``U+D800`` - ``U+DFFF``) " "as normal code point. Otherwise these codecs treat the presence of surrogate " "code point in :class:`str` as an error." msgstr "" -#: library/codecs.rst:400 +#: library/codecs.rst:402 msgid "The ``'surrogateescape'`` and ``'surrogatepass'`` error handlers." msgstr "" -#: library/codecs.rst:403 +#: library/codecs.rst:405 msgid "" "The ``'surrogatepass'`` error handler now works with utf-16\\* and utf-32\\* " "codecs." msgstr "" -#: library/codecs.rst:407 +#: library/codecs.rst:409 msgid "The ``'namereplace'`` error handler." msgstr "" -#: library/codecs.rst:410 +#: library/codecs.rst:412 msgid "" "The ``'backslashreplace'`` error handler now works with decoding and " "translating." msgstr "" -#: library/codecs.rst:414 +#: library/codecs.rst:416 msgid "" "The set of allowed values can be extended by registering a new named error " "handler:" msgstr "" -#: library/codecs.rst:419 +#: library/codecs.rst:421 msgid "" "Register the error handling function *error_handler* under the name *name*. " "The *error_handler* argument will be called during encoding and decoding in " "case of an error, when *name* is specified as the errors parameter." msgstr "" -#: library/codecs.rst:423 +#: library/codecs.rst:425 msgid "" "For encoding, *error_handler* will be called with a :exc:" "`UnicodeEncodeError` instance, which contains information about the location " @@ -523,97 +523,97 @@ msgid "" "position is out of bound an :exc:`IndexError` will be raised." msgstr "" -#: library/codecs.rst:435 +#: library/codecs.rst:437 msgid "" "Decoding and translating works similarly, except :exc:`UnicodeDecodeError` " "or :exc:`UnicodeTranslateError` will be passed to the handler and that the " "replacement from the error handler will be put into the output directly." msgstr "" -#: library/codecs.rst:440 +#: library/codecs.rst:442 msgid "" "Previously registered error handlers (including the standard error handlers) " "can be looked up by name:" msgstr "" -#: library/codecs.rst:445 +#: library/codecs.rst:447 msgid "Return the error handler previously registered under the name *name*." msgstr "" -#: library/codecs.rst:447 +#: library/codecs.rst:449 msgid "Raises a :exc:`LookupError` in case the handler cannot be found." msgstr "" -#: library/codecs.rst:449 +#: library/codecs.rst:451 msgid "" "The following standard error handlers are also made available as module " "level functions:" msgstr "" -#: library/codecs.rst:454 +#: library/codecs.rst:456 msgid "Implements the ``'strict'`` error handling." msgstr "" -#: library/codecs.rst:456 +#: library/codecs.rst:458 msgid "Each encoding or decoding error raises a :exc:`UnicodeError`." msgstr "" -#: library/codecs.rst:461 +#: library/codecs.rst:463 msgid "Implements the ``'ignore'`` error handling." msgstr "" -#: library/codecs.rst:463 +#: library/codecs.rst:465 msgid "" "Malformed data is ignored; encoding or decoding is continued without further " "notice." msgstr "" -#: library/codecs.rst:469 +#: library/codecs.rst:471 msgid "Implements the ``'replace'`` error handling." msgstr "" -#: library/codecs.rst:471 +#: library/codecs.rst:473 msgid "" "Substitutes ``?`` (ASCII character) for encoding errors or ``�`` (U+FFFD, " "the official REPLACEMENT CHARACTER) for decoding errors." msgstr "" -#: library/codecs.rst:477 +#: library/codecs.rst:479 msgid "Implements the ``'backslashreplace'`` error handling." msgstr "" -#: library/codecs.rst:479 +#: library/codecs.rst:481 msgid "" "Malformed data is replaced by a backslashed escape sequence. On encoding, " -"use the hexadecimal form of Unicode code point with formats ``\\xhh`` " -"``\\uxxxx`` ``\\Uxxxxxxxx``. On decoding, use the hexadecimal form of byte " -"value with format ``\\xhh``." +"use the hexadecimal form of Unicode code point with formats :samp:`\\\\x{hh}" +"` :samp:`\\\\u{xxxx}` :samp:`\\\\U{xxxxxxxx}`. On decoding, use the " +"hexadecimal form of byte value with format :samp:`\\\\x{hh}`." msgstr "" -#: library/codecs.rst:484 +#: library/codecs.rst:487 msgid "Works with decoding and translating." msgstr "" -#: library/codecs.rst:490 +#: library/codecs.rst:493 msgid "" "Implements the ``'xmlcharrefreplace'`` error handling (for encoding within :" "term:`text encoding` only)." msgstr "" -#: library/codecs.rst:493 +#: library/codecs.rst:496 msgid "" "The unencodable character is replaced by an appropriate XML/HTML numeric " "character reference, which is a decimal form of Unicode code point with " -"format ``&#num;`` ." +"format :samp:`&#{num};` ." msgstr "" -#: library/codecs.rst:500 +#: library/codecs.rst:503 msgid "" "Implements the ``'namereplace'`` error handling (for encoding within :term:" "`text encoding` only)." msgstr "" -#: library/codecs.rst:503 +#: library/codecs.rst:506 msgid "" "The unencodable character is replaced by a ``\\N{...}`` escape sequence. The " "set of characters that appear in the braces is the Name property from " @@ -621,17 +621,17 @@ msgid "" "will be converted to byte sequence ``\\N{LATIN SMALL LETTER SHARP S}`` ." msgstr "" -#: library/codecs.rst:514 +#: library/codecs.rst:517 msgid "Stateless Encoding and Decoding" msgstr "" -#: library/codecs.rst:516 +#: library/codecs.rst:519 msgid "" "The base :class:`Codec` class defines these methods which also define the " "function interfaces of the stateless encoder and decoder:" msgstr "" -#: library/codecs.rst:522 +#: library/codecs.rst:525 msgid "" "Encodes the object *input* and returns a tuple (output object, length " "consumed). For instance, :term:`text encoding` converts a string object to a " @@ -639,26 +639,26 @@ msgid "" "``iso-8859-1``)." msgstr "" -#: library/codecs.rst:549 +#: library/codecs.rst:552 msgid "" "The *errors* argument defines the error handling to apply. It defaults to " "``'strict'`` handling." msgstr "" -#: library/codecs.rst:530 +#: library/codecs.rst:533 msgid "" "The method may not store state in the :class:`Codec` instance. Use :class:" "`StreamWriter` for codecs which have to keep state in order to make encoding " "efficient." msgstr "" -#: library/codecs.rst:534 +#: library/codecs.rst:537 msgid "" "The encoder must be able to handle zero length input and return an empty " "object of the output object type in this situation." msgstr "" -#: library/codecs.rst:540 +#: library/codecs.rst:543 msgid "" "Decodes the object *input* and returns a tuple (output object, length " "consumed). For instance, for a :term:`text encoding`, decoding converts a " @@ -666,31 +666,31 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:545 +#: library/codecs.rst:548 msgid "" "For text encodings and bytes-to-bytes codecs, *input* must be a bytes object " "or one which provides the read-only buffer interface -- for example, buffer " "objects and memory mapped files." msgstr "" -#: library/codecs.rst:552 +#: library/codecs.rst:555 msgid "" "The method may not store state in the :class:`Codec` instance. Use :class:" "`StreamReader` for codecs which have to keep state in order to make decoding " "efficient." msgstr "" -#: library/codecs.rst:556 +#: library/codecs.rst:559 msgid "" "The decoder must be able to handle zero length input and return an empty " "object of the output object type in this situation." msgstr "" -#: library/codecs.rst:561 +#: library/codecs.rst:564 msgid "Incremental Encoding and Decoding" msgstr "" -#: library/codecs.rst:563 +#: library/codecs.rst:566 msgid "" "The :class:`IncrementalEncoder` and :class:`IncrementalDecoder` classes " "provide the basic interface for incremental encoding and decoding. Encoding/" @@ -701,7 +701,7 @@ msgid "" "during method calls." msgstr "" -#: library/codecs.rst:571 +#: library/codecs.rst:574 msgid "" "The joined output of calls to the :meth:`~IncrementalEncoder.encode`/:meth:" "`~IncrementalDecoder.decode` method is the same as if all the single inputs " @@ -709,36 +709,36 @@ msgid "" "encoder/decoder." msgstr "" -#: library/codecs.rst:580 +#: library/codecs.rst:583 msgid "IncrementalEncoder Objects" msgstr "" -#: library/codecs.rst:582 +#: library/codecs.rst:585 msgid "" "The :class:`IncrementalEncoder` class is used for encoding an input in " "multiple steps. It defines the following methods which every incremental " "encoder must define in order to be compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:589 +#: library/codecs.rst:592 msgid "Constructor for an :class:`IncrementalEncoder` instance." msgstr "" -#: library/codecs.rst:591 +#: library/codecs.rst:594 msgid "" "All incremental encoders must provide this constructor interface. They are " "free to add additional keyword arguments, but only the ones defined here are " "used by the Python codec registry." msgstr "" -#: library/codecs.rst:595 +#: library/codecs.rst:598 msgid "" "The :class:`IncrementalEncoder` may implement different error handling " "schemes by providing the *errors* keyword argument. See :ref:`error-" "handlers` for possible values." msgstr "" -#: library/codecs.rst:599 +#: library/codecs.rst:602 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -746,21 +746,21 @@ msgid "" "`IncrementalEncoder` object." msgstr "" -#: library/codecs.rst:607 +#: library/codecs.rst:610 msgid "" "Encodes *object* (taking the current state of the encoder into account) and " "returns the resulting encoded object. If this is the last call to :meth:" "`encode` *final* must be true (the default is false)." msgstr "" -#: library/codecs.rst:614 +#: library/codecs.rst:617 msgid "" "Reset the encoder to the initial state. The output is discarded: call ``." "encode(object, final=True)``, passing an empty byte or text string if " "necessary, to reset the encoder and to get the output." msgstr "" -#: library/codecs.rst:621 +#: library/codecs.rst:624 msgid "" "Return the current state of the encoder which must be an integer. The " "implementation should make sure that ``0`` is the most common state. (States " @@ -769,42 +769,42 @@ msgid "" "into an integer.)" msgstr "" -#: library/codecs.rst:630 +#: library/codecs.rst:633 msgid "" "Set the state of the encoder to *state*. *state* must be an encoder state " "returned by :meth:`getstate`." msgstr "" -#: library/codecs.rst:637 +#: library/codecs.rst:640 msgid "IncrementalDecoder Objects" msgstr "" -#: library/codecs.rst:639 +#: library/codecs.rst:642 msgid "" "The :class:`IncrementalDecoder` class is used for decoding an input in " "multiple steps. It defines the following methods which every incremental " "decoder must define in order to be compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:646 +#: library/codecs.rst:649 msgid "Constructor for an :class:`IncrementalDecoder` instance." msgstr "" -#: library/codecs.rst:648 +#: library/codecs.rst:651 msgid "" "All incremental decoders must provide this constructor interface. They are " "free to add additional keyword arguments, but only the ones defined here are " "used by the Python codec registry." msgstr "" -#: library/codecs.rst:652 +#: library/codecs.rst:655 msgid "" "The :class:`IncrementalDecoder` may implement different error handling " "schemes by providing the *errors* keyword argument. See :ref:`error-" "handlers` for possible values." msgstr "" -#: library/codecs.rst:656 +#: library/codecs.rst:659 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -812,7 +812,7 @@ msgid "" "`IncrementalDecoder` object." msgstr "" -#: library/codecs.rst:664 +#: library/codecs.rst:667 msgid "" "Decodes *object* (taking the current state of the decoder into account) and " "returns the resulting decoded object. If this is the last call to :meth:" @@ -823,11 +823,11 @@ msgid "" "(which might raise an exception)." msgstr "" -#: library/codecs.rst:675 +#: library/codecs.rst:678 msgid "Reset the decoder to the initial state." msgstr "" -#: library/codecs.rst:680 +#: library/codecs.rst:683 msgid "" "Return the current state of the decoder. This must be a tuple with two " "items, the first must be the buffer containing the still undecoded input. " @@ -842,59 +842,59 @@ msgid "" "bytes of the resulting string into an integer.)" msgstr "" -#: library/codecs.rst:695 +#: library/codecs.rst:698 msgid "" "Set the state of the decoder to *state*. *state* must be a decoder state " "returned by :meth:`getstate`." msgstr "" -#: library/codecs.rst:700 +#: library/codecs.rst:703 msgid "Stream Encoding and Decoding" msgstr "" -#: library/codecs.rst:703 +#: library/codecs.rst:706 msgid "" "The :class:`StreamWriter` and :class:`StreamReader` classes provide generic " "working interfaces which can be used to implement new encoding submodules " "very easily. See :mod:`encodings.utf_8` for an example of how this is done." msgstr "" -#: library/codecs.rst:711 +#: library/codecs.rst:714 msgid "StreamWriter Objects" msgstr "" -#: library/codecs.rst:713 +#: library/codecs.rst:716 msgid "" "The :class:`StreamWriter` class is a subclass of :class:`Codec` and defines " "the following methods which every stream writer must define in order to be " "compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:720 +#: library/codecs.rst:723 msgid "Constructor for a :class:`StreamWriter` instance." msgstr "" -#: library/codecs.rst:722 +#: library/codecs.rst:725 msgid "" "All stream writers must provide this constructor interface. They are free to " "add additional keyword arguments, but only the ones defined here are used by " "the Python codec registry." msgstr "" -#: library/codecs.rst:726 +#: library/codecs.rst:729 msgid "" "The *stream* argument must be a file-like object open for writing text or " "binary data, as appropriate for the specific codec." msgstr "" -#: library/codecs.rst:729 +#: library/codecs.rst:732 msgid "" "The :class:`StreamWriter` may implement different error handling schemes by " "providing the *errors* keyword argument. See :ref:`error-handlers` for the " "standard error handlers the underlying stream codec may support." msgstr "" -#: library/codecs.rst:733 +#: library/codecs.rst:736 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -902,70 +902,70 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:739 +#: library/codecs.rst:742 msgid "Writes the object's contents encoded to the stream." msgstr "" -#: library/codecs.rst:744 +#: library/codecs.rst:747 msgid "" "Writes the concatenated iterable of strings to the stream (possibly by " "reusing the :meth:`write` method). Infinite or very large iterables are not " "supported. The standard bytes-to-bytes codecs do not support this method." msgstr "" -#: library/codecs.rst:847 +#: library/codecs.rst:850 msgid "Resets the codec buffers used for keeping internal state." msgstr "" -#: library/codecs.rst:754 +#: library/codecs.rst:757 msgid "" "Calling this method should ensure that the data on the output is put into a " "clean state that allows appending of new fresh data without having to rescan " "the whole stream to recover state." msgstr "" -#: library/codecs.rst:759 +#: library/codecs.rst:762 msgid "" "In addition to the above methods, the :class:`StreamWriter` must also " "inherit all other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:766 +#: library/codecs.rst:769 msgid "StreamReader Objects" msgstr "" -#: library/codecs.rst:768 +#: library/codecs.rst:771 msgid "" "The :class:`StreamReader` class is a subclass of :class:`Codec` and defines " "the following methods which every stream reader must define in order to be " "compatible with the Python codec registry." msgstr "" -#: library/codecs.rst:775 +#: library/codecs.rst:778 msgid "Constructor for a :class:`StreamReader` instance." msgstr "" -#: library/codecs.rst:777 +#: library/codecs.rst:780 msgid "" "All stream readers must provide this constructor interface. They are free to " "add additional keyword arguments, but only the ones defined here are used by " "the Python codec registry." msgstr "" -#: library/codecs.rst:781 +#: library/codecs.rst:784 msgid "" "The *stream* argument must be a file-like object open for reading text or " "binary data, as appropriate for the specific codec." msgstr "" -#: library/codecs.rst:784 +#: library/codecs.rst:787 msgid "" "The :class:`StreamReader` may implement different error handling schemes by " "providing the *errors* keyword argument. See :ref:`error-handlers` for the " "standard error handlers the underlying stream codec may support." msgstr "" -#: library/codecs.rst:788 +#: library/codecs.rst:791 msgid "" "The *errors* argument will be assigned to an attribute of the same name. " "Assigning to this attribute makes it possible to switch between different " @@ -973,24 +973,24 @@ msgid "" "object." msgstr "" -#: library/codecs.rst:792 +#: library/codecs.rst:795 msgid "" "The set of allowed values for the *errors* argument can be extended with :" "func:`register_error`." msgstr "" -#: library/codecs.rst:798 +#: library/codecs.rst:801 msgid "Decodes data from the stream and returns the resulting object." msgstr "" -#: library/codecs.rst:800 +#: library/codecs.rst:803 msgid "" "The *chars* argument indicates the number of decoded code points or bytes to " "return. The :func:`read` method will never return more data than requested, " "but it might return less, if there is not enough available." msgstr "" -#: library/codecs.rst:805 +#: library/codecs.rst:808 msgid "" "The *size* argument indicates the approximate maximum number of encoded " "bytes or code points to read for decoding. The decoder can modify this " @@ -999,13 +999,13 @@ msgid "" "huge files in one step." msgstr "" -#: library/codecs.rst:812 +#: library/codecs.rst:815 msgid "" "The *firstline* flag indicates that it would be sufficient to only return " "the first line, if there are decoding errors on later lines." msgstr "" -#: library/codecs.rst:816 +#: library/codecs.rst:819 msgid "" "The method should use a greedy read strategy meaning that it should read as " "much data as is allowed within the definition of the encoding and the given " @@ -1013,68 +1013,68 @@ msgid "" "the stream, these should be read too." msgstr "" -#: library/codecs.rst:824 +#: library/codecs.rst:827 msgid "Read one line from the input stream and return the decoded data." msgstr "" -#: library/codecs.rst:826 +#: library/codecs.rst:829 msgid "" "*size*, if given, is passed as size argument to the stream's :meth:`read` " "method." msgstr "" -#: library/codecs.rst:829 +#: library/codecs.rst:832 msgid "" "If *keepends* is false line-endings will be stripped from the lines returned." msgstr "" -#: library/codecs.rst:835 +#: library/codecs.rst:838 msgid "" "Read all lines available on the input stream and return them as a list of " "lines." msgstr "" -#: library/codecs.rst:838 +#: library/codecs.rst:841 msgid "" "Line-endings are implemented using the codec's :meth:`decode` method and are " "included in the list entries if *keepends* is true." msgstr "" -#: library/codecs.rst:841 +#: library/codecs.rst:844 msgid "" "*sizehint*, if given, is passed as the *size* argument to the stream's :meth:" "`read` method." msgstr "" -#: library/codecs.rst:849 +#: library/codecs.rst:852 msgid "" "Note that no stream repositioning should take place. This method is " "primarily intended to be able to recover from decoding errors." msgstr "" -#: library/codecs.rst:853 +#: library/codecs.rst:856 msgid "" "In addition to the above methods, the :class:`StreamReader` must also " "inherit all other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:859 +#: library/codecs.rst:862 msgid "StreamReaderWriter Objects" msgstr "" -#: library/codecs.rst:861 +#: library/codecs.rst:864 msgid "" "The :class:`StreamReaderWriter` is a convenience class that allows wrapping " "streams which work in both read and write modes." msgstr "" -#: library/codecs.rst:888 +#: library/codecs.rst:891 msgid "" "The design is such that one can use the factory functions returned by the :" "func:`lookup` function to construct the instance." msgstr "" -#: library/codecs.rst:870 +#: library/codecs.rst:873 msgid "" "Creates a :class:`StreamReaderWriter` instance. *stream* must be a file-like " "object. *Reader* and *Writer* must be factory functions or classes providing " @@ -1083,24 +1083,24 @@ msgid "" "writers." msgstr "" -#: library/codecs.rst:875 +#: library/codecs.rst:878 msgid "" ":class:`StreamReaderWriter` instances define the combined interfaces of :" "class:`StreamReader` and :class:`StreamWriter` classes. They inherit all " "other methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:883 +#: library/codecs.rst:886 msgid "StreamRecoder Objects" msgstr "" -#: library/codecs.rst:885 +#: library/codecs.rst:888 msgid "" "The :class:`StreamRecoder` translates data from one encoding to another, " "which is sometimes useful when dealing with different encoding environments." msgstr "" -#: library/codecs.rst:894 +#: library/codecs.rst:897 msgid "" "Creates a :class:`StreamRecoder` instance which implements a two-way " "conversion: *encode* and *decode* work on the frontend — the data visible to " @@ -1108,17 +1108,17 @@ msgid "" "work on the backend — the data in *stream*." msgstr "" -#: library/codecs.rst:899 +#: library/codecs.rst:902 msgid "" "You can use these objects to do transparent transcodings, e.g., from Latin-1 " "to UTF-8 and back." msgstr "" -#: library/codecs.rst:902 +#: library/codecs.rst:905 msgid "The *stream* argument must be a file-like object." msgstr "" -#: library/codecs.rst:904 +#: library/codecs.rst:907 msgid "" "The *encode* and *decode* arguments must adhere to the :class:`Codec` " "interface. *Reader* and *Writer* must be factory functions or classes " @@ -1126,24 +1126,24 @@ msgid "" "interface respectively." msgstr "" -#: library/codecs.rst:909 +#: library/codecs.rst:912 msgid "" "Error handling is done in the same way as defined for the stream readers and " "writers." msgstr "" -#: library/codecs.rst:913 +#: library/codecs.rst:916 msgid "" ":class:`StreamRecoder` instances define the combined interfaces of :class:" "`StreamReader` and :class:`StreamWriter` classes. They inherit all other " "methods and attributes from the underlying stream." msgstr "" -#: library/codecs.rst:921 +#: library/codecs.rst:924 msgid "Encodings and Unicode" msgstr "" -#: library/codecs.rst:923 +#: library/codecs.rst:926 msgid "" "Strings are stored internally as sequences of code points in range " "``U+0000``--``U+10FFFF``. (See :pep:`393` for more details about the " @@ -1155,7 +1155,7 @@ msgid "" "which are collectivity referred to as :term:`text encodings `." msgstr "" -#: library/codecs.rst:933 +#: library/codecs.rst:936 msgid "" "The simplest text encoding (called ``'latin-1'`` or ``'iso-8859-1'``) maps " "the code points 0--255 to the bytes ``0x0``--``0xff``, which means that a " @@ -1166,7 +1166,7 @@ msgid "" "position 3: ordinal not in range(256)``." msgstr "" -#: library/codecs.rst:941 +#: library/codecs.rst:944 msgid "" "There's another group of encodings (the so called charmap encodings) that " "choose a different subset of all Unicode code points and how these code " @@ -1176,7 +1176,7 @@ msgid "" "that shows you which character is mapped to which byte value." msgstr "" -#: library/codecs.rst:948 +#: library/codecs.rst:951 msgid "" "All of these encodings can only encode 256 of the 1114112 code points " "defined in Unicode. A simple and straightforward way that can store each " @@ -1206,7 +1206,7 @@ msgid "" "normal character that will be decoded like any other." msgstr "" -#: library/codecs.rst:974 +#: library/codecs.rst:977 msgid "" "There's another encoding that is able to encode the full range of Unicode " "characters: UTF-8. UTF-8 is an 8-bit encoding, which means there are no " @@ -1217,59 +1217,59 @@ msgid "" "which when concatenated give the Unicode character):" msgstr "" -#: library/codecs.rst:983 +#: library/codecs.rst:986 msgid "Range" msgstr "" -#: library/codecs.rst:983 +#: library/codecs.rst:986 msgid "Encoding" msgstr "" -#: library/codecs.rst:985 +#: library/codecs.rst:988 msgid "``U-00000000`` ... ``U-0000007F``" msgstr "" -#: library/codecs.rst:985 +#: library/codecs.rst:988 msgid "0xxxxxxx" msgstr "" -#: library/codecs.rst:987 +#: library/codecs.rst:990 msgid "``U-00000080`` ... ``U-000007FF``" msgstr "" -#: library/codecs.rst:987 +#: library/codecs.rst:990 msgid "110xxxxx 10xxxxxx" msgstr "" -#: library/codecs.rst:989 +#: library/codecs.rst:992 msgid "``U-00000800`` ... ``U-0000FFFF``" msgstr "" -#: library/codecs.rst:989 +#: library/codecs.rst:992 msgid "1110xxxx 10xxxxxx 10xxxxxx" msgstr "" -#: library/codecs.rst:991 +#: library/codecs.rst:994 msgid "``U-00010000`` ... ``U-0010FFFF``" msgstr "" -#: library/codecs.rst:991 +#: library/codecs.rst:994 msgid "11110xxx 10xxxxxx 10xxxxxx 10xxxxxx" msgstr "" -#: library/codecs.rst:994 +#: library/codecs.rst:997 msgid "" "The least significant bit of the Unicode character is the rightmost x bit." msgstr "" -#: library/codecs.rst:996 +#: library/codecs.rst:999 msgid "" "As UTF-8 is an 8-bit encoding no BOM is required and any ``U+FEFF`` " "character in the decoded string (even if it's the first character) is " "treated as a ``ZERO WIDTH NO-BREAK SPACE``." msgstr "" -#: library/codecs.rst:1000 +#: library/codecs.rst:1003 msgid "" "Without external information it's impossible to reliably determine which " "encoding was used for encoding a string. Each charmap encoding can decode " @@ -1295,7 +1295,7 @@ msgstr "" msgid "INVERTED QUESTION MARK" msgstr "" -#: library/codecs.rst:1016 +#: library/codecs.rst:1019 msgid "" "in iso-8859-1), this increases the probability that a ``utf-8-sig`` encoding " "can be correctly guessed from the byte sequence. So here the BOM is not used " @@ -1307,11 +1307,11 @@ msgid "" "the use of the BOM is discouraged and should generally be avoided." msgstr "" -#: library/codecs.rst:1029 +#: library/codecs.rst:1032 msgid "Standard Encodings" msgstr "" -#: library/codecs.rst:1031 +#: library/codecs.rst:1034 msgid "" "Python comes with a number of codecs built-in, either implemented as C " "functions or with dictionaries as mapping tables. The following table lists " @@ -1323,7 +1323,7 @@ msgid "" "alias for the ``'utf_8'`` codec." msgstr "" -#: library/codecs.rst:1041 +#: library/codecs.rst:1044 msgid "" "Some common encodings can bypass the codecs lookup machinery to improve " "performance. These optimization opportunities are only recognized by CPython " @@ -1333,11 +1333,11 @@ msgid "" "Using alternative aliases for these encodings may result in slower execution." msgstr "" -#: library/codecs.rst:1049 +#: library/codecs.rst:1052 msgid "Optimization opportunity recognized for us-ascii." msgstr "" -#: library/codecs.rst:1052 +#: library/codecs.rst:1055 msgid "" "Many of the character sets support the same languages. They vary in " "individual characters (e.g. whether the EURO SIGN is supported or not), and " @@ -1345,925 +1345,925 @@ msgid "" "languages in particular, the following variants typically exist:" msgstr "" -#: library/codecs.rst:1057 +#: library/codecs.rst:1060 msgid "an ISO 8859 codeset" msgstr "" -#: library/codecs.rst:1059 +#: library/codecs.rst:1062 msgid "" "a Microsoft Windows code page, which is typically derived from an 8859 " "codeset, but replaces control characters with additional graphic characters" msgstr "" -#: library/codecs.rst:1062 +#: library/codecs.rst:1065 msgid "an IBM EBCDIC code page" msgstr "" -#: library/codecs.rst:1064 +#: library/codecs.rst:1067 msgid "an IBM PC code page, which is ASCII compatible" msgstr "" -#: library/codecs.rst:1324 library/codecs.rst:1446 +#: library/codecs.rst:1327 library/codecs.rst:1450 msgid "Codec" msgstr "" -#: library/codecs.rst:1324 library/codecs.rst:1446 +#: library/codecs.rst:1327 library/codecs.rst:1450 msgid "Aliases" msgstr "" -#: library/codecs.rst:1069 +#: library/codecs.rst:1072 msgid "Languages" msgstr "" -#: library/codecs.rst:1071 +#: library/codecs.rst:1074 msgid "ascii" msgstr "" -#: library/codecs.rst:1071 +#: library/codecs.rst:1074 msgid "646, us-ascii" msgstr "" -#: library/codecs.rst:1077 library/codecs.rst:1085 +#: library/codecs.rst:1080 library/codecs.rst:1088 msgid "English" msgstr "" -#: library/codecs.rst:1073 +#: library/codecs.rst:1076 msgid "big5" msgstr "" -#: library/codecs.rst:1073 +#: library/codecs.rst:1076 msgid "big5-tw, csbig5" msgstr "" -#: library/codecs.rst:1075 library/codecs.rst:1133 +#: library/codecs.rst:1078 library/codecs.rst:1136 msgid "Traditional Chinese" msgstr "" -#: library/codecs.rst:1075 +#: library/codecs.rst:1078 msgid "big5hkscs" msgstr "" -#: library/codecs.rst:1075 +#: library/codecs.rst:1078 msgid "big5-hkscs, hkscs" msgstr "" -#: library/codecs.rst:1077 +#: library/codecs.rst:1080 msgid "cp037" msgstr "" -#: library/codecs.rst:1077 +#: library/codecs.rst:1080 msgid "IBM037, IBM039" msgstr "" -#: library/codecs.rst:1079 +#: library/codecs.rst:1082 msgid "cp273" msgstr "" -#: library/codecs.rst:1079 +#: library/codecs.rst:1082 msgid "273, IBM273, csIBM273" msgstr "" -#: library/codecs.rst:1079 +#: library/codecs.rst:1082 msgid "German" msgstr "" -#: library/codecs.rst:1083 +#: library/codecs.rst:1086 msgid "cp424" msgstr "" -#: library/codecs.rst:1083 +#: library/codecs.rst:1086 msgid "EBCDIC-CP-HE, IBM424" msgstr "" -#: library/codecs.rst:1103 library/codecs.rst:1156 library/codecs.rst:1219 +#: library/codecs.rst:1106 library/codecs.rst:1159 library/codecs.rst:1222 msgid "Hebrew" msgstr "" -#: library/codecs.rst:1085 +#: library/codecs.rst:1088 msgid "cp437" msgstr "" -#: library/codecs.rst:1085 +#: library/codecs.rst:1088 msgid "437, IBM437" msgstr "" -#: library/codecs.rst:1087 +#: library/codecs.rst:1090 msgid "cp500" msgstr "" -#: library/codecs.rst:1087 +#: library/codecs.rst:1090 msgid "EBCDIC-CP-BE, EBCDIC-CP-CH, IBM500" msgstr "" -#: library/codecs.rst:1096 library/codecs.rst:1143 library/codecs.rst:1203 -#: library/codecs.rst:1259 +#: library/codecs.rst:1099 library/codecs.rst:1146 library/codecs.rst:1206 +#: library/codecs.rst:1262 msgid "Western Europe" msgstr "" -#: library/codecs.rst:1090 +#: library/codecs.rst:1093 msgid "cp720" msgstr "" -#: library/codecs.rst:1117 library/codecs.rst:1215 +#: library/codecs.rst:1120 library/codecs.rst:1218 msgid "Arabic" msgstr "" -#: library/codecs.rst:1092 +#: library/codecs.rst:1095 msgid "cp737" msgstr "" -#: library/codecs.rst:1123 library/codecs.rst:1152 library/codecs.rst:1252 +#: library/codecs.rst:1126 library/codecs.rst:1155 library/codecs.rst:1255 msgid "Greek" msgstr "" -#: library/codecs.rst:1094 +#: library/codecs.rst:1097 msgid "cp775" msgstr "" -#: library/codecs.rst:1094 +#: library/codecs.rst:1097 msgid "IBM775" msgstr "" -#: library/codecs.rst:1160 library/codecs.rst:1227 +#: library/codecs.rst:1163 library/codecs.rst:1230 msgid "Baltic languages" msgstr "" -#: library/codecs.rst:1096 +#: library/codecs.rst:1099 msgid "cp850" msgstr "" -#: library/codecs.rst:1096 +#: library/codecs.rst:1099 msgid "850, IBM850" msgstr "" -#: library/codecs.rst:1098 +#: library/codecs.rst:1101 msgid "cp852" msgstr "" -#: library/codecs.rst:1098 +#: library/codecs.rst:1101 msgid "852, IBM852" msgstr "" -#: library/codecs.rst:1145 library/codecs.rst:1256 +#: library/codecs.rst:1148 library/codecs.rst:1259 msgid "Central and Eastern Europe" msgstr "" -#: library/codecs.rst:1100 +#: library/codecs.rst:1103 msgid "cp855" msgstr "" -#: library/codecs.rst:1100 +#: library/codecs.rst:1103 msgid "855, IBM855" msgstr "" -#: library/codecs.rst:1147 library/codecs.rst:1249 +#: library/codecs.rst:1150 library/codecs.rst:1252 msgid "Bulgarian, Byelorussian, Macedonian, Russian, Serbian" msgstr "" -#: library/codecs.rst:1103 +#: library/codecs.rst:1106 msgid "cp856" msgstr "" -#: library/codecs.rst:1105 +#: library/codecs.rst:1108 msgid "cp857" msgstr "" -#: library/codecs.rst:1105 +#: library/codecs.rst:1108 msgid "857, IBM857" msgstr "" -#: library/codecs.rst:1137 library/codecs.rst:1221 library/codecs.rst:1261 +#: library/codecs.rst:1140 library/codecs.rst:1224 library/codecs.rst:1264 msgid "Turkish" msgstr "" -#: library/codecs.rst:1107 +#: library/codecs.rst:1110 msgid "cp858" msgstr "" -#: library/codecs.rst:1107 +#: library/codecs.rst:1110 msgid "858, IBM858" msgstr "" -#: library/codecs.rst:1109 +#: library/codecs.rst:1112 msgid "cp860" msgstr "" -#: library/codecs.rst:1109 +#: library/codecs.rst:1112 msgid "860, IBM860" msgstr "" -#: library/codecs.rst:1109 +#: library/codecs.rst:1112 msgid "Portuguese" msgstr "" -#: library/codecs.rst:1111 +#: library/codecs.rst:1114 msgid "cp861" msgstr "" -#: library/codecs.rst:1111 +#: library/codecs.rst:1114 msgid "861, CP-IS, IBM861" msgstr "" -#: library/codecs.rst:1254 +#: library/codecs.rst:1257 msgid "Icelandic" msgstr "" -#: library/codecs.rst:1113 +#: library/codecs.rst:1116 msgid "cp862" msgstr "" -#: library/codecs.rst:1113 +#: library/codecs.rst:1116 msgid "862, IBM862" msgstr "" -#: library/codecs.rst:1115 +#: library/codecs.rst:1118 msgid "cp863" msgstr "" -#: library/codecs.rst:1115 +#: library/codecs.rst:1118 msgid "863, IBM863" msgstr "" -#: library/codecs.rst:1115 +#: library/codecs.rst:1118 msgid "Canadian" msgstr "" -#: library/codecs.rst:1117 +#: library/codecs.rst:1120 msgid "cp864" msgstr "" -#: library/codecs.rst:1117 +#: library/codecs.rst:1120 msgid "IBM864" msgstr "" -#: library/codecs.rst:1119 +#: library/codecs.rst:1122 msgid "cp865" msgstr "" -#: library/codecs.rst:1119 +#: library/codecs.rst:1122 msgid "865, IBM865" msgstr "" -#: library/codecs.rst:1119 +#: library/codecs.rst:1122 msgid "Danish, Norwegian" msgstr "" -#: library/codecs.rst:1121 +#: library/codecs.rst:1124 msgid "cp866" msgstr "" -#: library/codecs.rst:1121 +#: library/codecs.rst:1124 msgid "866, IBM866" msgstr "" -#: library/codecs.rst:1237 +#: library/codecs.rst:1240 msgid "Russian" msgstr "" -#: library/codecs.rst:1123 +#: library/codecs.rst:1126 msgid "cp869" msgstr "" -#: library/codecs.rst:1123 +#: library/codecs.rst:1126 msgid "869, CP-GR, IBM869" msgstr "" -#: library/codecs.rst:1125 +#: library/codecs.rst:1128 msgid "cp874" msgstr "" -#: library/codecs.rst:1125 +#: library/codecs.rst:1128 msgid "Thai" msgstr "" -#: library/codecs.rst:1127 +#: library/codecs.rst:1130 msgid "cp875" msgstr "" -#: library/codecs.rst:1129 +#: library/codecs.rst:1132 msgid "cp932" msgstr "" -#: library/codecs.rst:1129 +#: library/codecs.rst:1132 msgid "932, ms932, mskanji, ms-kanji" msgstr "" -#: library/codecs.rst:1164 library/codecs.rst:1168 library/codecs.rst:1188 -#: library/codecs.rst:1196 library/codecs.rst:1266 library/codecs.rst:1272 +#: library/codecs.rst:1167 library/codecs.rst:1171 library/codecs.rst:1191 +#: library/codecs.rst:1199 library/codecs.rst:1269 library/codecs.rst:1275 msgid "Japanese" msgstr "" -#: library/codecs.rst:1131 +#: library/codecs.rst:1134 msgid "cp949" msgstr "" -#: library/codecs.rst:1131 +#: library/codecs.rst:1134 msgid "949, ms949, uhc" msgstr "" -#: library/codecs.rst:1170 library/codecs.rst:1235 +#: library/codecs.rst:1173 library/codecs.rst:1238 msgid "Korean" msgstr "" -#: library/codecs.rst:1133 +#: library/codecs.rst:1136 msgid "cp950" msgstr "" -#: library/codecs.rst:1133 +#: library/codecs.rst:1136 msgid "950, ms950" msgstr "" -#: library/codecs.rst:1135 +#: library/codecs.rst:1138 msgid "cp1006" msgstr "" -#: library/codecs.rst:1135 +#: library/codecs.rst:1138 msgid "Urdu" msgstr "" -#: library/codecs.rst:1137 +#: library/codecs.rst:1140 msgid "cp1026" msgstr "" -#: library/codecs.rst:1137 +#: library/codecs.rst:1140 msgid "ibm1026" msgstr "" -#: library/codecs.rst:1139 +#: library/codecs.rst:1142 msgid "cp1125" msgstr "" -#: library/codecs.rst:1139 +#: library/codecs.rst:1142 msgid "1125, ibm1125, cp866u, ruscii" msgstr "" -#: library/codecs.rst:1243 +#: library/codecs.rst:1246 msgid "Ukrainian" msgstr "" -#: library/codecs.rst:1143 +#: library/codecs.rst:1146 msgid "cp1140" msgstr "" -#: library/codecs.rst:1143 +#: library/codecs.rst:1146 msgid "ibm1140" msgstr "" -#: library/codecs.rst:1145 +#: library/codecs.rst:1148 msgid "cp1250" msgstr "" -#: library/codecs.rst:1145 +#: library/codecs.rst:1148 msgid "windows-1250" msgstr "" -#: library/codecs.rst:1147 +#: library/codecs.rst:1150 msgid "cp1251" msgstr "" -#: library/codecs.rst:1147 +#: library/codecs.rst:1150 msgid "windows-1251" msgstr "" -#: library/codecs.rst:1150 +#: library/codecs.rst:1153 msgid "cp1252" msgstr "" -#: library/codecs.rst:1150 +#: library/codecs.rst:1153 msgid "windows-1252" msgstr "" -#: library/codecs.rst:1152 +#: library/codecs.rst:1155 msgid "cp1253" msgstr "" -#: library/codecs.rst:1152 +#: library/codecs.rst:1155 msgid "windows-1253" msgstr "" -#: library/codecs.rst:1154 +#: library/codecs.rst:1157 msgid "cp1254" msgstr "" -#: library/codecs.rst:1154 +#: library/codecs.rst:1157 msgid "windows-1254" msgstr "" -#: library/codecs.rst:1156 +#: library/codecs.rst:1159 msgid "cp1255" msgstr "" -#: library/codecs.rst:1156 +#: library/codecs.rst:1159 msgid "windows-1255" msgstr "" -#: library/codecs.rst:1158 +#: library/codecs.rst:1161 msgid "cp1256" msgstr "" -#: library/codecs.rst:1158 +#: library/codecs.rst:1161 msgid "windows-1256" msgstr "" -#: library/codecs.rst:1160 +#: library/codecs.rst:1163 msgid "cp1257" msgstr "" -#: library/codecs.rst:1160 +#: library/codecs.rst:1163 msgid "windows-1257" msgstr "" -#: library/codecs.rst:1162 +#: library/codecs.rst:1165 msgid "cp1258" msgstr "" -#: library/codecs.rst:1162 +#: library/codecs.rst:1165 msgid "windows-1258" msgstr "" -#: library/codecs.rst:1162 +#: library/codecs.rst:1165 msgid "Vietnamese" msgstr "" -#: library/codecs.rst:1164 +#: library/codecs.rst:1167 msgid "euc_jp" msgstr "" -#: library/codecs.rst:1164 +#: library/codecs.rst:1167 msgid "eucjp, ujis, u-jis" msgstr "" -#: library/codecs.rst:1166 +#: library/codecs.rst:1169 msgid "euc_jis_2004" msgstr "" -#: library/codecs.rst:1166 +#: library/codecs.rst:1169 msgid "jisx0213, eucjis2004" msgstr "" -#: library/codecs.rst:1168 +#: library/codecs.rst:1171 msgid "euc_jisx0213" msgstr "" -#: library/codecs.rst:1168 +#: library/codecs.rst:1171 msgid "eucjisx0213" msgstr "" -#: library/codecs.rst:1170 +#: library/codecs.rst:1173 msgid "euc_kr" msgstr "" -#: library/codecs.rst:1170 +#: library/codecs.rst:1173 msgid "euckr, korean, ksc5601, ks_c-5601, ks_c-5601-1987, ksx1001, ks_x-1001" msgstr "" -#: library/codecs.rst:1174 +#: library/codecs.rst:1177 msgid "gb2312" msgstr "" -#: library/codecs.rst:1174 +#: library/codecs.rst:1177 msgid "" "chinese, csiso58gb231280, euc-cn, euccn, eucgb2312-cn, gb2312-1980, " "gb2312-80, iso-ir-58" msgstr "" -#: library/codecs.rst:1183 +#: library/codecs.rst:1186 msgid "Simplified Chinese" msgstr "" -#: library/codecs.rst:1179 +#: library/codecs.rst:1182 msgid "gbk" msgstr "" -#: library/codecs.rst:1179 +#: library/codecs.rst:1182 msgid "936, cp936, ms936" msgstr "" -#: library/codecs.rst:1181 +#: library/codecs.rst:1184 msgid "Unified Chinese" msgstr "" -#: library/codecs.rst:1181 +#: library/codecs.rst:1184 msgid "gb18030" msgstr "" -#: library/codecs.rst:1181 +#: library/codecs.rst:1184 msgid "gb18030-2000" msgstr "" -#: library/codecs.rst:1183 +#: library/codecs.rst:1186 msgid "hz" msgstr "" -#: library/codecs.rst:1183 +#: library/codecs.rst:1186 msgid "hzgb, hz-gb, hz-gb-2312" msgstr "" -#: library/codecs.rst:1185 +#: library/codecs.rst:1188 msgid "iso2022_jp" msgstr "" -#: library/codecs.rst:1185 +#: library/codecs.rst:1188 msgid "csiso2022jp, iso2022jp, iso-2022-jp" msgstr "" -#: library/codecs.rst:1188 +#: library/codecs.rst:1191 msgid "iso2022_jp_1" msgstr "" -#: library/codecs.rst:1188 +#: library/codecs.rst:1191 msgid "iso2022jp-1, iso-2022-jp-1" msgstr "" -#: library/codecs.rst:1190 +#: library/codecs.rst:1193 msgid "iso2022_jp_2" msgstr "" -#: library/codecs.rst:1190 +#: library/codecs.rst:1193 msgid "iso2022jp-2, iso-2022-jp-2" msgstr "" -#: library/codecs.rst:1190 +#: library/codecs.rst:1193 msgid "Japanese, Korean, Simplified Chinese, Western Europe, Greek" msgstr "" -#: library/codecs.rst:1193 +#: library/codecs.rst:1196 msgid "iso2022_jp_2004" msgstr "" -#: library/codecs.rst:1193 +#: library/codecs.rst:1196 msgid "iso2022jp-2004, iso-2022-jp-2004" msgstr "" -#: library/codecs.rst:1196 +#: library/codecs.rst:1199 msgid "iso2022_jp_3" msgstr "" -#: library/codecs.rst:1196 +#: library/codecs.rst:1199 msgid "iso2022jp-3, iso-2022-jp-3" msgstr "" -#: library/codecs.rst:1198 +#: library/codecs.rst:1201 msgid "iso2022_jp_ext" msgstr "" -#: library/codecs.rst:1198 +#: library/codecs.rst:1201 msgid "iso2022jp-ext, iso-2022-jp-ext" msgstr "" -#: library/codecs.rst:1200 +#: library/codecs.rst:1203 msgid "iso2022_kr" msgstr "" -#: library/codecs.rst:1200 +#: library/codecs.rst:1203 msgid "csiso2022kr, iso2022kr, iso-2022-kr" msgstr "" -#: library/codecs.rst:1203 +#: library/codecs.rst:1206 msgid "latin_1" msgstr "" -#: library/codecs.rst:1203 +#: library/codecs.rst:1206 msgid "iso-8859-1, iso8859-1, 8859, cp819, latin, latin1, L1" msgstr "" -#: library/codecs.rst:1206 +#: library/codecs.rst:1209 msgid "iso8859_2" msgstr "" -#: library/codecs.rst:1206 +#: library/codecs.rst:1209 msgid "iso-8859-2, latin2, L2" msgstr "" -#: library/codecs.rst:1208 +#: library/codecs.rst:1211 msgid "iso8859_3" msgstr "" -#: library/codecs.rst:1208 +#: library/codecs.rst:1211 msgid "iso-8859-3, latin3, L3" msgstr "" -#: library/codecs.rst:1208 +#: library/codecs.rst:1211 msgid "Esperanto, Maltese" msgstr "" -#: library/codecs.rst:1210 +#: library/codecs.rst:1213 msgid "iso8859_4" msgstr "" -#: library/codecs.rst:1210 +#: library/codecs.rst:1213 msgid "iso-8859-4, latin4, L4" msgstr "" -#: library/codecs.rst:1212 +#: library/codecs.rst:1215 msgid "iso8859_5" msgstr "" -#: library/codecs.rst:1212 +#: library/codecs.rst:1215 msgid "iso-8859-5, cyrillic" msgstr "" -#: library/codecs.rst:1215 +#: library/codecs.rst:1218 msgid "iso8859_6" msgstr "" -#: library/codecs.rst:1215 +#: library/codecs.rst:1218 msgid "iso-8859-6, arabic" msgstr "" -#: library/codecs.rst:1217 +#: library/codecs.rst:1220 msgid "iso8859_7" msgstr "" -#: library/codecs.rst:1217 +#: library/codecs.rst:1220 msgid "iso-8859-7, greek, greek8" msgstr "" -#: library/codecs.rst:1219 +#: library/codecs.rst:1222 msgid "iso8859_8" msgstr "" -#: library/codecs.rst:1219 +#: library/codecs.rst:1222 msgid "iso-8859-8, hebrew" msgstr "" -#: library/codecs.rst:1221 +#: library/codecs.rst:1224 msgid "iso8859_9" msgstr "" -#: library/codecs.rst:1221 +#: library/codecs.rst:1224 msgid "iso-8859-9, latin5, L5" msgstr "" -#: library/codecs.rst:1223 +#: library/codecs.rst:1226 msgid "iso8859_10" msgstr "" -#: library/codecs.rst:1223 +#: library/codecs.rst:1226 msgid "iso-8859-10, latin6, L6" msgstr "" -#: library/codecs.rst:1223 +#: library/codecs.rst:1226 msgid "Nordic languages" msgstr "" -#: library/codecs.rst:1225 +#: library/codecs.rst:1228 msgid "iso8859_11" msgstr "" -#: library/codecs.rst:1225 +#: library/codecs.rst:1228 msgid "iso-8859-11, thai" msgstr "" -#: library/codecs.rst:1225 +#: library/codecs.rst:1228 msgid "Thai languages" msgstr "" -#: library/codecs.rst:1227 +#: library/codecs.rst:1230 msgid "iso8859_13" msgstr "" -#: library/codecs.rst:1227 +#: library/codecs.rst:1230 msgid "iso-8859-13, latin7, L7" msgstr "" -#: library/codecs.rst:1229 +#: library/codecs.rst:1232 msgid "iso8859_14" msgstr "" -#: library/codecs.rst:1229 +#: library/codecs.rst:1232 msgid "iso-8859-14, latin8, L8" msgstr "" -#: library/codecs.rst:1229 +#: library/codecs.rst:1232 msgid "Celtic languages" msgstr "" -#: library/codecs.rst:1231 +#: library/codecs.rst:1234 msgid "iso8859_15" msgstr "" -#: library/codecs.rst:1231 +#: library/codecs.rst:1234 msgid "iso-8859-15, latin9, L9" msgstr "" -#: library/codecs.rst:1233 +#: library/codecs.rst:1236 msgid "iso8859_16" msgstr "" -#: library/codecs.rst:1233 +#: library/codecs.rst:1236 msgid "iso-8859-16, latin10, L10" msgstr "" -#: library/codecs.rst:1233 +#: library/codecs.rst:1236 msgid "South-Eastern Europe" msgstr "" -#: library/codecs.rst:1235 +#: library/codecs.rst:1238 msgid "johab" msgstr "" -#: library/codecs.rst:1235 +#: library/codecs.rst:1238 msgid "cp1361, ms1361" msgstr "" -#: library/codecs.rst:1237 +#: library/codecs.rst:1240 msgid "koi8_r" msgstr "" -#: library/codecs.rst:1239 +#: library/codecs.rst:1242 msgid "koi8_t" msgstr "" -#: library/codecs.rst:1239 +#: library/codecs.rst:1242 msgid "Tajik" msgstr "" -#: library/codecs.rst:1243 +#: library/codecs.rst:1246 msgid "koi8_u" msgstr "" -#: library/codecs.rst:1245 +#: library/codecs.rst:1248 msgid "kz1048" msgstr "" -#: library/codecs.rst:1245 +#: library/codecs.rst:1248 msgid "kz_1048, strk1048_2002, rk1048" msgstr "" -#: library/codecs.rst:1263 +#: library/codecs.rst:1266 msgid "Kazakh" msgstr "" -#: library/codecs.rst:1249 +#: library/codecs.rst:1252 msgid "mac_cyrillic" msgstr "" -#: library/codecs.rst:1249 +#: library/codecs.rst:1252 msgid "maccyrillic" msgstr "" -#: library/codecs.rst:1252 +#: library/codecs.rst:1255 msgid "mac_greek" msgstr "" -#: library/codecs.rst:1252 +#: library/codecs.rst:1255 msgid "macgreek" msgstr "" -#: library/codecs.rst:1254 +#: library/codecs.rst:1257 msgid "mac_iceland" msgstr "" -#: library/codecs.rst:1254 +#: library/codecs.rst:1257 msgid "maciceland" msgstr "" -#: library/codecs.rst:1256 +#: library/codecs.rst:1259 msgid "mac_latin2" msgstr "" -#: library/codecs.rst:1256 +#: library/codecs.rst:1259 msgid "maclatin2, maccentraleurope, mac_centeuro" msgstr "" -#: library/codecs.rst:1259 +#: library/codecs.rst:1262 msgid "mac_roman" msgstr "" -#: library/codecs.rst:1259 +#: library/codecs.rst:1262 msgid "macroman, macintosh" msgstr "" -#: library/codecs.rst:1261 +#: library/codecs.rst:1264 msgid "mac_turkish" msgstr "" -#: library/codecs.rst:1261 +#: library/codecs.rst:1264 msgid "macturkish" msgstr "" -#: library/codecs.rst:1263 +#: library/codecs.rst:1266 msgid "ptcp154" msgstr "" -#: library/codecs.rst:1263 +#: library/codecs.rst:1266 msgid "csptcp154, pt154, cp154, cyrillic-asian" msgstr "" -#: library/codecs.rst:1266 +#: library/codecs.rst:1269 msgid "shift_jis" msgstr "" -#: library/codecs.rst:1266 +#: library/codecs.rst:1269 msgid "csshiftjis, shiftjis, sjis, s_jis" msgstr "" -#: library/codecs.rst:1269 +#: library/codecs.rst:1272 msgid "shift_jis_2004" msgstr "" -#: library/codecs.rst:1269 +#: library/codecs.rst:1272 msgid "shiftjis2004, sjis_2004, sjis2004" msgstr "" -#: library/codecs.rst:1272 +#: library/codecs.rst:1275 msgid "shift_jisx0213" msgstr "" -#: library/codecs.rst:1272 +#: library/codecs.rst:1275 msgid "shiftjisx0213, sjisx0213, s_jisx0213" msgstr "" -#: library/codecs.rst:1275 +#: library/codecs.rst:1278 msgid "utf_32" msgstr "" -#: library/codecs.rst:1275 +#: library/codecs.rst:1278 msgid "U32, utf32" msgstr "" -#: library/codecs.rst:1277 library/codecs.rst:1281 library/codecs.rst:1285 -#: library/codecs.rst:1289 library/codecs.rst:1291 +#: library/codecs.rst:1280 library/codecs.rst:1284 library/codecs.rst:1288 +#: library/codecs.rst:1292 library/codecs.rst:1294 msgid "all languages" msgstr "" -#: library/codecs.rst:1277 +#: library/codecs.rst:1280 msgid "utf_32_be" msgstr "" -#: library/codecs.rst:1277 +#: library/codecs.rst:1280 msgid "UTF-32BE" msgstr "" -#: library/codecs.rst:1279 +#: library/codecs.rst:1282 msgid "utf_32_le" msgstr "" -#: library/codecs.rst:1279 +#: library/codecs.rst:1282 msgid "UTF-32LE" msgstr "" -#: library/codecs.rst:1281 +#: library/codecs.rst:1284 msgid "utf_16" msgstr "" -#: library/codecs.rst:1281 +#: library/codecs.rst:1284 msgid "U16, utf16" msgstr "" -#: library/codecs.rst:1283 +#: library/codecs.rst:1286 msgid "utf_16_be" msgstr "" -#: library/codecs.rst:1283 +#: library/codecs.rst:1286 msgid "UTF-16BE" msgstr "" -#: library/codecs.rst:1285 +#: library/codecs.rst:1288 msgid "utf_16_le" msgstr "" -#: library/codecs.rst:1285 +#: library/codecs.rst:1288 msgid "UTF-16LE" msgstr "" -#: library/codecs.rst:1287 +#: library/codecs.rst:1290 msgid "utf_7" msgstr "" -#: library/codecs.rst:1287 +#: library/codecs.rst:1290 msgid "U7, unicode-1-1-utf-7" msgstr "" -#: library/codecs.rst:1289 +#: library/codecs.rst:1292 msgid "utf_8" msgstr "" -#: library/codecs.rst:1289 +#: library/codecs.rst:1292 msgid "U8, UTF, utf8, cp65001" msgstr "" -#: library/codecs.rst:1291 +#: library/codecs.rst:1294 msgid "utf_8_sig" msgstr "" -#: library/codecs.rst:1294 +#: library/codecs.rst:1297 msgid "" "The utf-16\\* and utf-32\\* encoders no longer allow surrogate code points " "(``U+D800``--``U+DFFF``) to be encoded. The utf-32\\* decoders no longer " "decode byte sequences that correspond to surrogate code points." msgstr "" -#: library/codecs.rst:1300 +#: library/codecs.rst:1303 msgid "``cp65001`` is now an alias to ``utf_8``." msgstr "" -#: library/codecs.rst:1305 +#: library/codecs.rst:1308 msgid "Python Specific Encodings" msgstr "" -#: library/codecs.rst:1307 +#: library/codecs.rst:1310 msgid "" "A number of predefined codecs are specific to Python, so their codec names " "have no meaning outside Python. These are listed in the tables below based " @@ -2273,272 +2273,272 @@ msgid "" "asymmetric codecs, the stated meaning describes the encoding direction." msgstr "" -#: library/codecs.rst:1315 +#: library/codecs.rst:1318 msgid "Text Encodings" msgstr "" -#: library/codecs.rst:1317 +#: library/codecs.rst:1320 msgid "" "The following codecs provide :class:`str` to :class:`bytes` encoding and :" "term:`bytes-like object` to :class:`str` decoding, similar to the Unicode " "text encodings." msgstr "" -#: library/codecs.rst:1326 +#: library/codecs.rst:1329 msgid "idna" msgstr "" -#: library/codecs.rst:1326 +#: library/codecs.rst:1329 msgid "" "Implement :rfc:`3490`, see also :mod:`encodings.idna`. Only " "``errors='strict'`` is supported." msgstr "" -#: library/codecs.rst:1332 +#: library/codecs.rst:1335 msgid "mbcs" msgstr "" -#: library/codecs.rst:1332 +#: library/codecs.rst:1335 msgid "ansi, dbcs" msgstr "" -#: library/codecs.rst:1332 +#: library/codecs.rst:1335 msgid "" "Windows only: Encode the operand according to the ANSI codepage (CP_ACP)." msgstr "" -#: library/codecs.rst:1336 +#: library/codecs.rst:1339 msgid "oem" msgstr "" -#: library/codecs.rst:1336 +#: library/codecs.rst:1339 msgid "" "Windows only: Encode the operand according to the OEM codepage (CP_OEMCP)." msgstr "" -#: library/codecs.rst:1342 +#: library/codecs.rst:1345 msgid "palmos" msgstr "" -#: library/codecs.rst:1342 +#: library/codecs.rst:1345 msgid "Encoding of PalmOS 3.5." msgstr "" -#: library/codecs.rst:1344 +#: library/codecs.rst:1347 msgid "punycode" msgstr "" -#: library/codecs.rst:1344 +#: library/codecs.rst:1347 msgid "Implement :rfc:`3492`. Stateful codecs are not supported." msgstr "" -#: library/codecs.rst:1348 +#: library/codecs.rst:1351 msgid "raw_unicode_escape" msgstr "" -#: library/codecs.rst:1348 +#: library/codecs.rst:1351 msgid "" -"Latin-1 encoding with ``\\uXXXX`` and ``\\UXXXXXXXX`` for other code points. " -"Existing backslashes are not escaped in any way. It is used in the Python " -"pickle protocol." +"Latin-1 encoding with :samp:`\\\\u{XXXX}` and :samp:`\\\\U{XXXXXXXX}` for " +"other code points. Existing backslashes are not escaped in any way. It is " +"used in the Python pickle protocol." msgstr "" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid "undefined" msgstr "" -#: library/codecs.rst:1357 +#: library/codecs.rst:1361 msgid "" "Raise an exception for all conversions, even empty strings. The error " "handler is ignored." msgstr "" -#: library/codecs.rst:1362 +#: library/codecs.rst:1366 msgid "unicode_escape" msgstr "" -#: library/codecs.rst:1362 +#: library/codecs.rst:1366 msgid "" "Encoding suitable as the contents of a Unicode literal in ASCII-encoded " "Python source code, except that quotes are not escaped. Decode from Latin-1 " "source code. Beware that Python source code actually uses UTF-8 by default." msgstr "" -#: library/codecs.rst:1374 +#: library/codecs.rst:1378 msgid "\"unicode_internal\" codec is removed." msgstr "" -#: library/codecs.rst:1381 +#: library/codecs.rst:1385 msgid "Binary Transforms" msgstr "" -#: library/codecs.rst:1383 +#: library/codecs.rst:1387 msgid "" "The following codecs provide binary transforms: :term:`bytes-like object` " "to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode` " "(which only produces :class:`str` output)." msgstr "" -#: library/codecs.rst:1391 +#: library/codecs.rst:1395 msgid "Encoder / decoder" msgstr "" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "base64_codec [#b64]_" msgstr "" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "base64, base_64" msgstr "" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid "" "Convert the operand to multiline MIME base64 (the result always includes a " "trailing ``'\\n'``)." msgstr "" -#: library/codecs.rst:1398 +#: library/codecs.rst:1402 msgid "" "accepts any :term:`bytes-like object` as input for encoding and decoding" msgstr "" -#: library/codecs.rst:1393 +#: library/codecs.rst:1397 msgid ":meth:`base64.encodebytes` / :meth:`base64.decodebytes`" msgstr "" -#: library/codecs.rst:1404 +#: library/codecs.rst:1408 msgid "bz2_codec" msgstr "" -#: library/codecs.rst:1404 +#: library/codecs.rst:1408 msgid "bz2" msgstr "" -#: library/codecs.rst:1404 +#: library/codecs.rst:1408 msgid "Compress the operand using bz2." msgstr "" -#: library/codecs.rst:1404 +#: library/codecs.rst:1408 msgid ":meth:`bz2.compress` / :meth:`bz2.decompress`" msgstr "" -#: library/codecs.rst:1407 +#: library/codecs.rst:1411 msgid "hex_codec" msgstr "" -#: library/codecs.rst:1407 +#: library/codecs.rst:1411 msgid "hex" msgstr "" -#: library/codecs.rst:1407 +#: library/codecs.rst:1411 msgid "" "Convert the operand to hexadecimal representation, with two digits per byte." msgstr "" -#: library/codecs.rst:1407 +#: library/codecs.rst:1411 msgid ":meth:`binascii.b2a_hex` / :meth:`binascii.a2b_hex`" msgstr "" -#: library/codecs.rst:1412 +#: library/codecs.rst:1416 msgid "quopri_codec" msgstr "" -#: library/codecs.rst:1412 +#: library/codecs.rst:1416 msgid "quopri, quotedprintable, quoted_printable" msgstr "" -#: library/codecs.rst:1412 +#: library/codecs.rst:1416 msgid "Convert the operand to MIME quoted printable." msgstr "" -#: library/codecs.rst:1412 +#: library/codecs.rst:1416 msgid ":meth:`quopri.encode` with ``quotetabs=True`` / :meth:`quopri.decode`" msgstr "" -#: library/codecs.rst:1416 +#: library/codecs.rst:1420 msgid "uu_codec" msgstr "" -#: library/codecs.rst:1416 +#: library/codecs.rst:1420 msgid "uu" msgstr "" -#: library/codecs.rst:1416 +#: library/codecs.rst:1420 msgid "Convert the operand using uuencode." msgstr "" -#: library/codecs.rst:1416 +#: library/codecs.rst:1420 msgid ":meth:`uu.encode` / :meth:`uu.decode`" msgstr "" -#: library/codecs.rst:1419 +#: library/codecs.rst:1423 msgid "zlib_codec" msgstr "" -#: library/codecs.rst:1419 +#: library/codecs.rst:1423 msgid "zip, zlib" msgstr "" -#: library/codecs.rst:1419 +#: library/codecs.rst:1423 msgid "Compress the operand using gzip." msgstr "" -#: library/codecs.rst:1419 +#: library/codecs.rst:1423 msgid ":meth:`zlib.compress` / :meth:`zlib.decompress`" msgstr "" -#: library/codecs.rst:1423 +#: library/codecs.rst:1427 msgid "" "In addition to :term:`bytes-like objects `, " "``'base64_codec'`` also accepts ASCII-only instances of :class:`str` for " "decoding" msgstr "" -#: library/codecs.rst:1427 +#: library/codecs.rst:1431 msgid "Restoration of the binary transforms." msgstr "" -#: library/codecs.rst:1430 +#: library/codecs.rst:1434 msgid "Restoration of the aliases for the binary transforms." msgstr "" -#: library/codecs.rst:1437 +#: library/codecs.rst:1441 msgid "Text Transforms" msgstr "" -#: library/codecs.rst:1439 +#: library/codecs.rst:1443 msgid "" "The following codec provides a text transform: a :class:`str` to :class:" "`str` mapping. It is not supported by :meth:`str.encode` (which only " "produces :class:`bytes` output)." msgstr "" -#: library/codecs.rst:1448 +#: library/codecs.rst:1452 msgid "rot_13" msgstr "" -#: library/codecs.rst:1448 +#: library/codecs.rst:1452 msgid "rot13" msgstr "" -#: library/codecs.rst:1448 +#: library/codecs.rst:1452 msgid "Return the Caesar-cypher encryption of the operand." msgstr "" -#: library/codecs.rst:1453 +#: library/codecs.rst:1457 msgid "Restoration of the ``rot_13`` text transform." msgstr "" -#: library/codecs.rst:1456 +#: library/codecs.rst:1460 msgid "Restoration of the ``rot13`` alias." msgstr "" -#: library/codecs.rst:1461 +#: library/codecs.rst:1465 msgid "" ":mod:`encodings.idna` --- Internationalized Domain Names in Applications" msgstr "" -#: library/codecs.rst:1467 +#: library/codecs.rst:1471 msgid "" "This module implements :rfc:`3490` (Internationalized Domain Names in " "Applications) and :rfc:`3492` (Nameprep: A Stringprep Profile for " @@ -2546,13 +2546,13 @@ msgid "" "encoding and :mod:`stringprep`." msgstr "" -#: library/codecs.rst:1472 +#: library/codecs.rst:1476 msgid "" "If you need the IDNA 2008 standard from :rfc:`5891` and :rfc:`5895`, use the " "third-party `idna module `_." msgstr "" -#: library/codecs.rst:1475 +#: library/codecs.rst:1479 msgid "" "These RFCs together define a protocol to support non-ASCII characters in " "domain names. A domain name containing non-ASCII characters (such as ``www." @@ -2566,7 +2566,7 @@ msgid "" "presenting them to the user." msgstr "" -#: library/codecs.rst:1486 +#: library/codecs.rst:1490 msgid "" "Python supports this conversion in several ways: the ``idna`` codec " "performs conversion between Unicode and ACE, separating an input string into " @@ -2583,14 +2583,14 @@ msgid "" "sends that field at all)." msgstr "" -#: library/codecs.rst:1499 +#: library/codecs.rst:1503 msgid "" "When receiving host names from the wire (such as in reverse name lookup), no " "automatic conversion to Unicode is performed: applications wishing to " "present such host names to the user should decode them to Unicode." msgstr "" -#: library/codecs.rst:1503 +#: library/codecs.rst:1507 msgid "" "The module :mod:`encodings.idna` also implements the nameprep procedure, " "which performs certain normalizations on host names, to achieve case-" @@ -2598,49 +2598,49 @@ msgid "" "characters. The nameprep functions can be used directly if desired." msgstr "" -#: library/codecs.rst:1511 +#: library/codecs.rst:1515 msgid "" "Return the nameprepped version of *label*. The implementation currently " "assumes query strings, so ``AllowUnassigned`` is true." msgstr "" -#: library/codecs.rst:1517 +#: library/codecs.rst:1521 msgid "" "Convert a label to ASCII, as specified in :rfc:`3490`. ``UseSTD3ASCIIRules`` " "is assumed to be false." msgstr "" -#: library/codecs.rst:1523 +#: library/codecs.rst:1527 msgid "Convert a label to Unicode, as specified in :rfc:`3490`." msgstr "" -#: library/codecs.rst:1527 +#: library/codecs.rst:1531 msgid ":mod:`encodings.mbcs` --- Windows ANSI codepage" msgstr "" -#: library/codecs.rst:1532 +#: library/codecs.rst:1536 msgid "This module implements the ANSI codepage (CP_ACP)." msgstr "" -#: library/codecs.rst:1534 +#: library/codecs.rst:1538 msgid ":ref:`Availability `: Windows." msgstr "" -#: library/codecs.rst:1536 +#: library/codecs.rst:1540 msgid "Support any error handler." msgstr "" -#: library/codecs.rst:1539 +#: library/codecs.rst:1543 msgid "" "Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used " "to encode, and ``'ignore'`` to decode." msgstr "" -#: library/codecs.rst:1545 +#: library/codecs.rst:1549 msgid ":mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature" msgstr "" -#: library/codecs.rst:1551 +#: library/codecs.rst:1555 msgid "" "This module implements a variant of the UTF-8 codec. On encoding, a UTF-8 " "encoded BOM will be prepended to the UTF-8 encoded bytes. For the stateful " @@ -2673,7 +2673,7 @@ msgstr "" msgid "strict" msgstr "" -#: library/codecs.rst:363 library/codecs.rst:385 +#: library/codecs.rst:364 library/codecs.rst:387 msgid "error handler's name" msgstr "" @@ -2705,7 +2705,7 @@ msgstr "" msgid "\\ (backslash)" msgstr "" -#: library/codecs.rst:363 +#: library/codecs.rst:364 msgid "escape sequence" msgstr "" @@ -2721,18 +2721,18 @@ msgstr "" msgid "\\U" msgstr "" -#: library/codecs.rst:363 +#: library/codecs.rst:364 msgid "xmlcharrefreplace" msgstr "" -#: library/codecs.rst:363 +#: library/codecs.rst:364 msgid "namereplace" msgstr "" -#: library/codecs.rst:363 +#: library/codecs.rst:364 msgid "\\N" msgstr "" -#: library/codecs.rst:385 +#: library/codecs.rst:387 msgid "surrogatepass" msgstr "" diff --git a/library/compileall.po b/library/compileall.po index 42fce9cfe..c3cc611b1 100644 --- a/library/compileall.po +++ b/library/compileall.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -58,7 +58,7 @@ msgstr "" msgid "" "Positional arguments are files to compile or directories that contain source " "files, traversed recursively. If no argument is given, behave as if the " -"command line was ``-l ``." +"command line was :samp:`-l {}`." msgstr "" #: library/compileall.rst:36 diff --git a/library/concurrent.futures.po b/library/concurrent.futures.po index 6666bc663..795b2b39d 100644 --- a/library/concurrent.futures.po +++ b/library/concurrent.futures.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -329,28 +329,37 @@ msgid "" "lifetime of workers in the pool." msgstr "" -#: library/concurrent.futures.rst:299 +#: library/concurrent.futures.rst:296 +msgid "" +"On POSIX systems, if your application has multiple threads and the :mod:" +"`multiprocessing` context uses the ``\"fork\"`` start method: The :func:`os." +"fork` function called internally to spawn workers may raise a :exc:" +"`DeprecationWarning`. Pass a *mp_context* configured to use a different " +"start method. See the :func:`os.fork` documentation for further explanation." +msgstr "" + +#: library/concurrent.futures.rst:307 msgid "ProcessPoolExecutor Example" msgstr "" -#: library/concurrent.futures.rst:337 +#: library/concurrent.futures.rst:345 msgid "Future Objects" msgstr "" -#: library/concurrent.futures.rst:339 +#: library/concurrent.futures.rst:347 msgid "" "The :class:`Future` class encapsulates the asynchronous execution of a " "callable. :class:`Future` instances are created by :meth:`Executor.submit`." msgstr "" -#: library/concurrent.futures.rst:344 +#: library/concurrent.futures.rst:352 msgid "" "Encapsulates the asynchronous execution of a callable. :class:`Future` " "instances are created by :meth:`Executor.submit` and should not be created " "directly except for testing." msgstr "" -#: library/concurrent.futures.rst:350 +#: library/concurrent.futures.rst:358 msgid "" "Attempt to cancel the call. If the call is currently being executed or " "finished running and cannot be cancelled then the method will return " @@ -358,22 +367,22 @@ msgid "" "``True``." msgstr "" -#: library/concurrent.futures.rst:357 +#: library/concurrent.futures.rst:365 msgid "Return ``True`` if the call was successfully cancelled." msgstr "" -#: library/concurrent.futures.rst:361 +#: library/concurrent.futures.rst:369 msgid "" "Return ``True`` if the call is currently being executed and cannot be " "cancelled." msgstr "" -#: library/concurrent.futures.rst:366 +#: library/concurrent.futures.rst:374 msgid "" "Return ``True`` if the call was successfully cancelled or finished running." msgstr "" -#: library/concurrent.futures.rst:371 +#: library/concurrent.futures.rst:379 msgid "" "Return the value returned by the call. If the call hasn't yet completed then " "this method will wait up to *timeout* seconds. If the call hasn't completed " @@ -382,18 +391,18 @@ msgid "" "no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:378 library/concurrent.futures.rst:392 +#: library/concurrent.futures.rst:386 library/concurrent.futures.rst:400 msgid "" "If the future is cancelled before completing then :exc:`.CancelledError` " "will be raised." msgstr "" -#: library/concurrent.futures.rst:381 +#: library/concurrent.futures.rst:389 msgid "" "If the call raised an exception, this method will raise the same exception." msgstr "" -#: library/concurrent.futures.rst:385 +#: library/concurrent.futures.rst:393 msgid "" "Return the exception raised by the call. If the call hasn't yet completed " "then this method will wait up to *timeout* seconds. If the call hasn't " @@ -402,18 +411,18 @@ msgid "" "``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:395 +#: library/concurrent.futures.rst:403 msgid "If the call completed without raising, ``None`` is returned." msgstr "" -#: library/concurrent.futures.rst:399 +#: library/concurrent.futures.rst:407 msgid "" "Attaches the callable *fn* to the future. *fn* will be called, with the " "future as its only argument, when the future is cancelled or finishes " "running." msgstr "" -#: library/concurrent.futures.rst:403 +#: library/concurrent.futures.rst:411 msgid "" "Added callables are called in the order that they were added and are always " "called in a thread belonging to the process that added them. If the " @@ -422,26 +431,26 @@ msgid "" "behavior is undefined." msgstr "" -#: library/concurrent.futures.rst:409 +#: library/concurrent.futures.rst:417 msgid "" "If the future has already completed or been cancelled, *fn* will be called " "immediately." msgstr "" -#: library/concurrent.futures.rst:412 +#: library/concurrent.futures.rst:420 msgid "" "The following :class:`Future` methods are meant for use in unit tests and :" "class:`Executor` implementations." msgstr "" -#: library/concurrent.futures.rst:417 +#: library/concurrent.futures.rst:425 msgid "" "This method should only be called by :class:`Executor` implementations " "before executing the work associated with the :class:`Future` and by unit " "tests." msgstr "" -#: library/concurrent.futures.rst:421 +#: library/concurrent.futures.rst:429 msgid "" "If the method returns ``False`` then the :class:`Future` was cancelled, i." "e. :meth:`Future.cancel` was called and returned ``True``. Any threads " @@ -449,47 +458,47 @@ msgid "" "or :func:`wait`) will be woken up." msgstr "" -#: library/concurrent.futures.rst:426 +#: library/concurrent.futures.rst:434 msgid "" "If the method returns ``True`` then the :class:`Future` was not cancelled " "and has been put in the running state, i.e. calls to :meth:`Future.running` " "will return ``True``." msgstr "" -#: library/concurrent.futures.rst:430 +#: library/concurrent.futures.rst:438 msgid "" "This method can only be called once and cannot be called after :meth:`Future." "set_result` or :meth:`Future.set_exception` have been called." msgstr "" -#: library/concurrent.futures.rst:436 +#: library/concurrent.futures.rst:444 msgid "" "Sets the result of the work associated with the :class:`Future` to *result*." msgstr "" -#: library/concurrent.futures.rst:439 library/concurrent.futures.rst:452 +#: library/concurrent.futures.rst:447 library/concurrent.futures.rst:460 msgid "" "This method should only be used by :class:`Executor` implementations and " "unit tests." msgstr "" -#: library/concurrent.futures.rst:442 library/concurrent.futures.rst:455 +#: library/concurrent.futures.rst:450 library/concurrent.futures.rst:463 msgid "" "This method raises :exc:`concurrent.futures.InvalidStateError` if the :class:" "`Future` is already done." msgstr "" -#: library/concurrent.futures.rst:449 +#: library/concurrent.futures.rst:457 msgid "" "Sets the result of the work associated with the :class:`Future` to the :" "class:`Exception` *exception*." msgstr "" -#: library/concurrent.futures.rst:461 +#: library/concurrent.futures.rst:469 msgid "Module Functions" msgstr "" -#: library/concurrent.futures.rst:465 +#: library/concurrent.futures.rst:473 msgid "" "Wait for the :class:`Future` instances (possibly created by different :class:" "`Executor` instances) given by *fs* to complete. Duplicate futures given to " @@ -500,55 +509,55 @@ msgid "" "running futures)." msgstr "" -#: library/concurrent.futures.rst:473 +#: library/concurrent.futures.rst:481 msgid "" "*timeout* can be used to control the maximum number of seconds to wait " "before returning. *timeout* can be an int or float. If *timeout* is not " "specified or ``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:477 +#: library/concurrent.futures.rst:485 msgid "" "*return_when* indicates when this function should return. It must be one of " "the following constants:" msgstr "" -#: library/concurrent.futures.rst:483 +#: library/concurrent.futures.rst:491 msgid "Constant" msgstr "" -#: library/concurrent.futures.rst:483 +#: library/concurrent.futures.rst:491 msgid "Description" msgstr "" -#: library/concurrent.futures.rst:485 +#: library/concurrent.futures.rst:493 msgid ":const:`FIRST_COMPLETED`" msgstr "" -#: library/concurrent.futures.rst:485 +#: library/concurrent.futures.rst:493 msgid "The function will return when any future finishes or is cancelled." msgstr "" -#: library/concurrent.futures.rst:488 +#: library/concurrent.futures.rst:496 msgid ":const:`FIRST_EXCEPTION`" msgstr "" -#: library/concurrent.futures.rst:488 +#: library/concurrent.futures.rst:496 msgid "" "The function will return when any future finishes by raising an exception. " "If no future raises an exception then it is equivalent to :const:" "`ALL_COMPLETED`." msgstr "" -#: library/concurrent.futures.rst:494 +#: library/concurrent.futures.rst:502 msgid ":const:`ALL_COMPLETED`" msgstr "" -#: library/concurrent.futures.rst:494 +#: library/concurrent.futures.rst:502 msgid "The function will return when all futures finish or are cancelled." msgstr "" -#: library/concurrent.futures.rst:500 +#: library/concurrent.futures.rst:508 msgid "" "Returns an iterator over the :class:`Future` instances (possibly created by " "different :class:`Executor` instances) given by *fs* that yields futures as " @@ -561,55 +570,55 @@ msgid "" "*timeout* is not specified or ``None``, there is no limit to the wait time." msgstr "" -#: library/concurrent.futures.rst:514 +#: library/concurrent.futures.rst:522 msgid ":pep:`3148` -- futures - execute computations asynchronously" msgstr "" -#: library/concurrent.futures.rst:514 +#: library/concurrent.futures.rst:522 msgid "" "The proposal which described this feature for inclusion in the Python " "standard library." msgstr "" -#: library/concurrent.futures.rst:519 +#: library/concurrent.futures.rst:527 msgid "Exception classes" msgstr "" -#: library/concurrent.futures.rst:525 +#: library/concurrent.futures.rst:533 msgid "Raised when a future is cancelled." msgstr "" -#: library/concurrent.futures.rst:529 +#: library/concurrent.futures.rst:537 msgid "" "A deprecated alias of :exc:`TimeoutError`, raised when a future operation " "exceeds the given timeout." msgstr "" -#: library/concurrent.futures.rst:534 +#: library/concurrent.futures.rst:542 msgid "This class was made an alias of :exc:`TimeoutError`." msgstr "" -#: library/concurrent.futures.rst:539 +#: library/concurrent.futures.rst:547 msgid "" "Derived from :exc:`RuntimeError`, this exception class is raised when an " "executor is broken for some reason, and cannot be used to submit or execute " "new tasks." msgstr "" -#: library/concurrent.futures.rst:547 +#: library/concurrent.futures.rst:555 msgid "" "Raised when an operation is performed on a future that is not allowed in the " "current state." msgstr "" -#: library/concurrent.futures.rst:556 +#: library/concurrent.futures.rst:564 msgid "" "Derived from :exc:`~concurrent.futures.BrokenExecutor`, this exception class " "is raised when one of the workers of a :class:`ThreadPoolExecutor` has " "failed initializing." msgstr "" -#: library/concurrent.futures.rst:566 +#: library/concurrent.futures.rst:574 msgid "" "Derived from :exc:`~concurrent.futures.BrokenExecutor` (formerly :exc:" "`RuntimeError`), this exception class is raised when one of the workers of " diff --git a/library/devmode.po b/library/devmode.po index a559de483..a7207fd42 100644 --- a/library/devmode.po +++ b/library/devmode.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -132,54 +132,55 @@ msgstr "" #: library/devmode.rst:61 msgid "" "Call :func:`faulthandler.enable` at Python startup to install handlers for " -"the :const:`SIGSEGV`, :const:`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` " -"and :const:`SIGILL` signals to dump the Python traceback on a crash." +"the :const:`~signal.SIGSEGV`, :const:`~signal.SIGFPE`, :const:`~signal." +"SIGABRT`, :const:`~signal.SIGBUS` and :const:`~signal.SIGILL` signals to " +"dump the Python traceback on a crash." msgstr "" -#: library/devmode.rst:65 +#: library/devmode.rst:66 msgid "" "It behaves as if the :option:`-X faulthandler <-X>` command line option is " "used or if the :envvar:`PYTHONFAULTHANDLER` environment variable is set to " "``1``." msgstr "" -#: library/devmode.rst:69 +#: library/devmode.rst:70 msgid "" "Enable :ref:`asyncio debug mode `. For example, :mod:" "`asyncio` checks for coroutines that were not awaited and logs them." msgstr "" -#: library/devmode.rst:72 +#: library/devmode.rst:73 msgid "" "It behaves as if the :envvar:`PYTHONASYNCIODEBUG` environment variable is " "set to ``1``." msgstr "" -#: library/devmode.rst:75 +#: library/devmode.rst:76 msgid "" "Check the *encoding* and *errors* arguments for string encoding and decoding " "operations. Examples: :func:`open`, :meth:`str.encode` and :meth:`bytes." "decode`." msgstr "" -#: library/devmode.rst:79 +#: library/devmode.rst:80 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." msgstr "" -#: library/devmode.rst:83 +#: library/devmode.rst:84 msgid "The :class:`io.IOBase` destructor logs ``close()`` exceptions." msgstr "" -#: library/devmode.rst:84 +#: library/devmode.rst:85 msgid "" "Set the :attr:`~sys.flags.dev_mode` attribute of :data:`sys.flags` to " "``True``." msgstr "" -#: library/devmode.rst:87 +#: library/devmode.rst:88 msgid "" "The Python Development Mode does not enable the :mod:`tracemalloc` module by " "default, because the overhead cost (to performance and memory) would be too " @@ -190,63 +191,63 @@ msgid "" "allocated." msgstr "" -#: library/devmode.rst:94 +#: library/devmode.rst:95 msgid "" "The Python Development Mode does not prevent the :option:`-O` command line " "option from removing :keyword:`assert` statements nor from setting :const:" "`__debug__` to ``False``." msgstr "" -#: library/devmode.rst:98 +#: library/devmode.rst:99 msgid "" "The Python Development Mode can only be enabled at the Python startup. Its " "value can be read from :data:`sys.flags.dev_mode `." msgstr "" -#: library/devmode.rst:101 +#: library/devmode.rst:102 msgid "The :class:`io.IOBase` destructor now logs ``close()`` exceptions." msgstr "" -#: library/devmode.rst:104 +#: library/devmode.rst:105 msgid "" "The *encoding* and *errors* arguments are now checked for string encoding " "and decoding operations." msgstr "" -#: library/devmode.rst:110 +#: library/devmode.rst:111 msgid "ResourceWarning Example" msgstr "" -#: library/devmode.rst:112 +#: library/devmode.rst:113 msgid "" "Example of a script counting the number of lines of the text file specified " "in the command line::" msgstr "" -#: library/devmode.rst:126 +#: library/devmode.rst:127 msgid "" "The script does not close the file explicitly. By default, Python does not " "emit any warning. Example using README.txt, which has 269 lines:" msgstr "" -#: library/devmode.rst:134 +#: library/devmode.rst:135 msgid "" "Enabling the Python Development Mode displays a :exc:`ResourceWarning` " "warning:" msgstr "" -#: library/devmode.rst:144 +#: library/devmode.rst:145 msgid "" "In addition, enabling :mod:`tracemalloc` shows the line where the file was " "opened:" msgstr "" -#: library/devmode.rst:159 +#: library/devmode.rst:160 msgid "" "The fix is to close explicitly the file. Example using a context manager::" msgstr "" -#: library/devmode.rst:167 +#: library/devmode.rst:168 msgid "" "Not closing a resource explicitly can leave a resource open for way longer " "than expected; it can cause severe issues upon exiting Python. It is bad in " @@ -254,25 +255,25 @@ msgid "" "application more deterministic and more reliable." msgstr "" -#: library/devmode.rst:174 +#: library/devmode.rst:175 msgid "Bad file descriptor error example" msgstr "" -#: library/devmode.rst:176 +#: library/devmode.rst:177 msgid "Script displaying the first line of itself::" msgstr "" -#: library/devmode.rst:189 +#: library/devmode.rst:190 msgid "By default, Python does not emit any warning:" msgstr "" -#: library/devmode.rst:196 +#: library/devmode.rst:197 msgid "" "The Python Development Mode shows a :exc:`ResourceWarning` and logs a \"Bad " "file descriptor\" error when finalizing the file object:" msgstr "" -#: library/devmode.rst:212 +#: library/devmode.rst:213 msgid "" "``os.close(fp.fileno())`` closes the file descriptor. When the file object " "finalizer tries to close the file descriptor again, it fails with the ``Bad " @@ -281,7 +282,7 @@ msgid "" "`18748` for an example)." msgstr "" -#: library/devmode.rst:218 +#: library/devmode.rst:219 msgid "" "The fix is to remove the ``os.close(fp.fileno())`` line, or open the file " "with ``closefd=False``." diff --git a/library/difflib.po b/library/difflib.po index 97f09d404..5406eb061 100644 --- a/library/difflib.po +++ b/library/difflib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -650,8 +650,9 @@ msgstr "" msgid "" "The three methods that return the ratio of matching to total characters can " "give different results due to differing levels of approximation, although :" -"meth:`quick_ratio` and :meth:`real_quick_ratio` are always at least as large " -"as :meth:`ratio`:" +"meth:`~SequenceMatcher.quick_ratio` and :meth:`~SequenceMatcher." +"real_quick_ratio` are always at least as large as :meth:`~SequenceMatcher." +"ratio`:" msgstr "" #: library/difflib.rst:588 @@ -664,28 +665,29 @@ msgstr "" #: library/difflib.rst:596 msgid "" -":meth:`ratio` returns a float in [0, 1], measuring the similarity of the " -"sequences. As a rule of thumb, a :meth:`ratio` value over 0.6 means the " -"sequences are close matches:" +":meth:`~SequenceMatcher.ratio` returns a float in [0, 1], measuring the " +"similarity of the sequences. As a rule of thumb, a :meth:`~SequenceMatcher." +"ratio` value over 0.6 means the sequences are close matches:" msgstr "" #: library/difflib.rst:603 msgid "" "If you're only interested in where the sequences match, :meth:" -"`get_matching_blocks` is handy:" +"`~SequenceMatcher.get_matching_blocks` is handy:" msgstr "" #: library/difflib.rst:612 msgid "" -"Note that the last tuple returned by :meth:`get_matching_blocks` is always a " -"dummy, ``(len(a), len(b), 0)``, and this is the only case in which the last " -"tuple element (number of elements matched) is ``0``." +"Note that the last tuple returned by :meth:`~SequenceMatcher." +"get_matching_blocks` is always a dummy, ``(len(a), len(b), 0)``, and this is " +"the only case in which the last tuple element (number of elements matched) " +"is ``0``." msgstr "" #: library/difflib.rst:616 msgid "" "If you want to know how to change the first sequence into the second, use :" -"meth:`get_opcodes`:" +"meth:`~SequenceMatcher.get_opcodes`:" msgstr "" #: library/difflib.rst:627 @@ -773,7 +775,7 @@ msgstr "" msgid "" "This example compares two texts. First we set up the texts, sequences of " "individual single-line strings ending with newlines (such sequences can also " -"be obtained from the :meth:`~io.BaseIO.readlines` method of file-like " +"be obtained from the :meth:`~io.IOBase.readlines` method of file-like " "objects):" msgstr "" diff --git a/library/ensurepip.po b/library/ensurepip.po index 221c94722..c0d5b2a5d 100644 --- a/library/ensurepip.po +++ b/library/ensurepip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -106,7 +106,7 @@ msgstr "" #: library/ensurepip.rst:64 msgid "" -"``--root ``: Installs ``pip`` relative to the given root directory " +":samp:`--root {dir}`: Installs ``pip`` relative to the given root directory " "rather than the root of the currently active virtual environment (if any) or " "the default root for the current Python installation." msgstr "" diff --git a/library/functions.po b/library/functions.po index 2c1d830c6..96c87863a 100644 --- a/library/functions.po +++ b/library/functions.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: 2023-03-08 10:13-0500\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2419,10 +2419,11 @@ msgstr "" "işlerken kullanışlıdır." #: library/functions.rst:1272 +#, fuzzy msgid "" "``'xmlcharrefreplace'`` is only supported when writing to a file. Characters " "not supported by the encoding are replaced with the appropriate XML " -"character reference ``&#nnn;``." +"character reference :samp:`&#{nnn};`." msgstr "" "``'xmlcharrefreplace'`` sadece bir dosyaya veri yazarken desteklenir. " "Kodlayıcı tarafından desteklenmeyen karakterler uygun XML karakter örneği " diff --git a/library/html.parser.po b/library/html.parser.po index 2871bd424..e50ff155c 100644 --- a/library/html.parser.po +++ b/library/html.parser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -191,10 +191,10 @@ msgstr "" #: library/html.parser.rst:175 msgid "" "This method is called to process decimal and hexadecimal numeric character " -"references of the form ``&#NNN;`` and ``&#xNNN;``. For example, the decimal " -"equivalent for ``>`` is ``>``, whereas the hexadecimal is ``>``; " -"in this case the method will receive ``'62'`` or ``'x3E'``. This method is " -"never called if *convert_charrefs* is ``True``." +"references of the form :samp:`&#{NNN};` and :samp:`&#x{NNN};`. For example, " +"the decimal equivalent for ``>`` is ``>``, whereas the hexadecimal is " +"``>``; in this case the method will receive ``'62'`` or ``'x3E'``. " +"This method is never called if *convert_charrefs* is ``True``." msgstr "" #: library/html.parser.rst:184 diff --git a/library/http.server.po b/library/http.server.po index ae2e3592d..7301d1941 100644 --- a/library/http.server.po +++ b/library/http.server.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -261,8 +261,8 @@ msgid "" "attribute holds the default values for *message* and *explain* that will be " "used if no value is provided; for unknown codes the default value for both " "is the string ``???``. The body will be empty if the method is HEAD or the " -"response code is one of the following: ``1xx``, ``204 No Content``, ``205 " -"Reset Content``, ``304 Not Modified``." +"response code is one of the following: :samp:`1{xx}`, ``204 No Content``, " +"``205 Reset Content``, ``304 Not Modified``." msgstr "" #: library/http.server.rst:223 diff --git a/library/multiprocessing.po b/library/multiprocessing.po index 6dfc53728..83db3d24e 100644 --- a/library/multiprocessing.po +++ b/library/multiprocessing.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -129,7 +129,7 @@ msgid "" "Available on POSIX and Windows platforms. The default on Windows and macOS." msgstr "" -#: library/multiprocessing.rst:132 +#: library/multiprocessing.rst:138 msgid "*fork*" msgstr "" @@ -153,11 +153,19 @@ msgid "" "or :func:`set_start_method`." msgstr "" -#: library/multiprocessing.rst:145 +#: library/multiprocessing.rst:134 +msgid "" +"If Python is able to detect that your process has multiple threads, the :" +"func:`os.fork` function that this start method calls internally will raise " +"a :exc:`DeprecationWarning`. Use a different start method. See the :func:`os." +"fork` documentation for further explanation." +msgstr "" + +#: library/multiprocessing.rst:151 msgid "*forkserver*" msgstr "" -#: library/multiprocessing.rst:135 +#: library/multiprocessing.rst:141 msgid "" "When the program starts and selects the *forkserver* start method, a server " "process is spawned. From then on, whenever a new process is needed, the " @@ -167,27 +175,27 @@ msgid "" "for it to use :func:`os.fork`. No unnecessary resources are inherited." msgstr "" -#: library/multiprocessing.rst:143 +#: library/multiprocessing.rst:149 msgid "" "Available on POSIX platforms which support passing file descriptors over " "Unix pipes such as Linux." msgstr "" -#: library/multiprocessing.rst:149 +#: library/multiprocessing.rst:155 msgid "" "On macOS, the *spawn* start method is now the default. The *fork* start " "method should be considered unsafe as it can lead to crashes of the " "subprocess as macOS system libraries may start threads. See :issue:`33725`." msgstr "" -#: library/multiprocessing.rst:153 +#: library/multiprocessing.rst:159 msgid "" "*spawn* added on all POSIX platforms, and *forkserver* added for some POSIX " "platforms. Child processes no longer inherit all of the parents inheritable " "handles on Windows." msgstr "" -#: library/multiprocessing.rst:159 +#: library/multiprocessing.rst:165 msgid "" "On POSIX using the *spawn* or *forkserver* start methods will also start a " "*resource tracker* process which tracks the unlinked named system resources " @@ -202,25 +210,25 @@ msgid "" "space in the main memory.)" msgstr "" -#: library/multiprocessing.rst:172 +#: library/multiprocessing.rst:178 msgid "" "To select a start method you use the :func:`set_start_method` in the ``if " "__name__ == '__main__'`` clause of the main module. For example::" msgstr "" -#: library/multiprocessing.rst:189 +#: library/multiprocessing.rst:195 msgid "" ":func:`set_start_method` should not be used more than once in the program." msgstr "" -#: library/multiprocessing.rst:192 +#: library/multiprocessing.rst:198 msgid "" "Alternatively, you can use :func:`get_context` to obtain a context object. " "Context objects have the same API as the multiprocessing module, and allow " "one to use multiple start methods in the same program. ::" msgstr "" -#: library/multiprocessing.rst:210 +#: library/multiprocessing.rst:216 msgid "" "Note that objects related to one context may not be compatible with " "processes for a different context. In particular, locks created using the " @@ -228,13 +236,13 @@ msgid "" "*forkserver* start methods." msgstr "" -#: library/multiprocessing.rst:215 +#: library/multiprocessing.rst:221 msgid "" "A library which wants to use a particular start method should probably use :" "func:`get_context` to avoid interfering with the choice of the library user." msgstr "" -#: library/multiprocessing.rst:221 +#: library/multiprocessing.rst:227 msgid "" "The ``'spawn'`` and ``'forkserver'`` start methods generally cannot be used " "with \"frozen\" executables (i.e., binaries produced by packages like " @@ -242,41 +250,41 @@ msgid "" "method may work if code does not use threads." msgstr "" -#: library/multiprocessing.rst:228 +#: library/multiprocessing.rst:234 msgid "Exchanging objects between processes" msgstr "" -#: library/multiprocessing.rst:230 +#: library/multiprocessing.rst:236 msgid "" ":mod:`multiprocessing` supports two types of communication channel between " "processes:" msgstr "" -#: library/multiprocessing.rst:233 +#: library/multiprocessing.rst:239 msgid "**Queues**" msgstr "" -#: library/multiprocessing.rst:235 +#: library/multiprocessing.rst:241 msgid "" "The :class:`Queue` class is a near clone of :class:`queue.Queue`. For " "example::" msgstr "" -#: library/multiprocessing.rst:250 +#: library/multiprocessing.rst:256 msgid "Queues are thread and process safe." msgstr "" -#: library/multiprocessing.rst:252 +#: library/multiprocessing.rst:258 msgid "**Pipes**" msgstr "" -#: library/multiprocessing.rst:254 +#: library/multiprocessing.rst:260 msgid "" "The :func:`Pipe` function returns a pair of connection objects connected by " "a pipe which by default is duplex (two-way). For example::" msgstr "" -#: library/multiprocessing.rst:270 +#: library/multiprocessing.rst:276 msgid "" "The two connection objects returned by :func:`Pipe` represent the two ends " "of the pipe. Each connection object has :meth:`~Connection.send` and :meth:" @@ -286,55 +294,55 @@ msgid "" "corruption from processes using different ends of the pipe at the same time." msgstr "" -#: library/multiprocessing.rst:280 +#: library/multiprocessing.rst:286 msgid "Synchronization between processes" msgstr "" -#: library/multiprocessing.rst:282 +#: library/multiprocessing.rst:288 msgid "" ":mod:`multiprocessing` contains equivalents of all the synchronization " "primitives from :mod:`threading`. For instance one can use a lock to ensure " "that only one process prints to standard output at a time::" msgstr "" -#: library/multiprocessing.rst:301 +#: library/multiprocessing.rst:307 msgid "" "Without using the lock output from the different processes is liable to get " "all mixed up." msgstr "" -#: library/multiprocessing.rst:306 +#: library/multiprocessing.rst:312 msgid "Sharing state between processes" msgstr "" -#: library/multiprocessing.rst:308 +#: library/multiprocessing.rst:314 msgid "" "As mentioned above, when doing concurrent programming it is usually best to " "avoid using shared state as far as possible. This is particularly true when " "using multiple processes." msgstr "" -#: library/multiprocessing.rst:312 +#: library/multiprocessing.rst:318 msgid "" "However, if you really do need to use some shared data then :mod:" "`multiprocessing` provides a couple of ways of doing so." msgstr "" -#: library/multiprocessing.rst:315 +#: library/multiprocessing.rst:321 msgid "**Shared memory**" msgstr "" -#: library/multiprocessing.rst:317 +#: library/multiprocessing.rst:323 msgid "" "Data can be stored in a shared memory map using :class:`Value` or :class:" "`Array`. For example, the following code ::" msgstr "" -#: library/multiprocessing.rst:338 library/multiprocessing.rst:384 +#: library/multiprocessing.rst:344 library/multiprocessing.rst:390 msgid "will print ::" msgstr "" -#: library/multiprocessing.rst:343 +#: library/multiprocessing.rst:349 msgid "" "The ``'d'`` and ``'i'`` arguments used when creating ``num`` and ``arr`` are " "typecodes of the kind used by the :mod:`array` module: ``'d'`` indicates a " @@ -342,25 +350,25 @@ msgid "" "objects will be process and thread-safe." msgstr "" -#: library/multiprocessing.rst:348 +#: library/multiprocessing.rst:354 msgid "" "For more flexibility in using shared memory one can use the :mod:" "`multiprocessing.sharedctypes` module which supports the creation of " "arbitrary ctypes objects allocated from shared memory." msgstr "" -#: library/multiprocessing.rst:352 +#: library/multiprocessing.rst:358 msgid "**Server process**" msgstr "" -#: library/multiprocessing.rst:354 +#: library/multiprocessing.rst:360 msgid "" "A manager object returned by :func:`Manager` controls a server process which " "holds Python objects and allows other processes to manipulate them using " "proxies." msgstr "" -#: library/multiprocessing.rst:358 +#: library/multiprocessing.rst:364 msgid "" "A manager returned by :func:`Manager` will support types :class:`list`, :" "class:`dict`, :class:`~managers.Namespace`, :class:`Lock`, :class:`RLock`, :" @@ -369,7 +377,7 @@ msgid "" "`Array`. For example, ::" msgstr "" -#: library/multiprocessing.rst:389 +#: library/multiprocessing.rst:395 msgid "" "Server process managers are more flexible than using shared memory objects " "because they can be made to support arbitrary object types. Also, a single " @@ -377,28 +385,28 @@ msgid "" "They are, however, slower than using shared memory." msgstr "" -#: library/multiprocessing.rst:396 +#: library/multiprocessing.rst:402 msgid "Using a pool of workers" msgstr "" -#: library/multiprocessing.rst:398 +#: library/multiprocessing.rst:404 msgid "" "The :class:`~multiprocessing.pool.Pool` class represents a pool of worker " "processes. It has methods which allows tasks to be offloaded to the worker " "processes in a few different ways." msgstr "" -#: library/multiprocessing.rst:402 +#: library/multiprocessing.rst:408 msgid "For example::" msgstr "" -#: library/multiprocessing.rst:446 +#: library/multiprocessing.rst:452 msgid "" "Note that the methods of a pool should only ever be used by the process " "which created it." msgstr "" -#: library/multiprocessing.rst:451 +#: library/multiprocessing.rst:457 msgid "" "Functionality within this package requires that the ``__main__`` module be " "importable by the children. This is covered in :ref:`multiprocessing-" @@ -407,35 +415,35 @@ msgid "" "work in the interactive interpreter. For example::" msgstr "" -#: library/multiprocessing.rst:474 +#: library/multiprocessing.rst:480 msgid "" "(If you try this it will actually output three full tracebacks interleaved " "in a semi-random fashion, and then you may have to stop the parent process " "somehow.)" msgstr "" -#: library/multiprocessing.rst:480 +#: library/multiprocessing.rst:486 msgid "Reference" msgstr "" -#: library/multiprocessing.rst:482 +#: library/multiprocessing.rst:488 msgid "" "The :mod:`multiprocessing` package mostly replicates the API of the :mod:" "`threading` module." msgstr "" -#: library/multiprocessing.rst:487 +#: library/multiprocessing.rst:493 msgid ":class:`Process` and exceptions" msgstr "" -#: library/multiprocessing.rst:492 +#: library/multiprocessing.rst:498 msgid "" "Process objects represent activity that is run in a separate process. The :" "class:`Process` class has equivalents of all the methods of :class:" "`threading.Thread`." msgstr "" -#: library/multiprocessing.rst:496 +#: library/multiprocessing.rst:502 msgid "" "The constructor should always be called with keyword arguments. *group* " "should always be ``None``; it exists solely for compatibility with :class:" @@ -449,29 +457,29 @@ msgid "" "creating process." msgstr "" -#: library/multiprocessing.rst:507 +#: library/multiprocessing.rst:513 msgid "" "By default, no arguments are passed to *target*. The *args* argument, which " "defaults to ``()``, can be used to specify a list or tuple of the arguments " "to pass to *target*." msgstr "" -#: library/multiprocessing.rst:511 +#: library/multiprocessing.rst:517 msgid "" "If a subclass overrides the constructor, it must make sure it invokes the " "base class constructor (:meth:`Process.__init__`) before doing anything else " "to the process." msgstr "" -#: library/multiprocessing.rst:515 +#: library/multiprocessing.rst:521 msgid "Added the *daemon* argument." msgstr "" -#: library/multiprocessing.rst:520 +#: library/multiprocessing.rst:526 msgid "Method representing the process's activity." msgstr "" -#: library/multiprocessing.rst:522 +#: library/multiprocessing.rst:528 msgid "" "You may override this method in a subclass. The standard :meth:`run` method " "invokes the callable object passed to the object's constructor as the target " @@ -479,27 +487,27 @@ msgid "" "*args* and *kwargs* arguments, respectively." msgstr "" -#: library/multiprocessing.rst:527 +#: library/multiprocessing.rst:533 msgid "" "Using a list or tuple as the *args* argument passed to :class:`Process` " "achieves the same effect." msgstr "" -#: library/multiprocessing.rst:530 +#: library/multiprocessing.rst:536 msgid "Example::" msgstr "" -#: library/multiprocessing.rst:542 +#: library/multiprocessing.rst:548 msgid "Start the process's activity." msgstr "" -#: library/multiprocessing.rst:544 +#: library/multiprocessing.rst:550 msgid "" "This must be called at most once per process object. It arranges for the " "object's :meth:`run` method to be invoked in a separate process." msgstr "" -#: library/multiprocessing.rst:549 +#: library/multiprocessing.rst:555 msgid "" "If the optional argument *timeout* is ``None`` (the default), the method " "blocks until the process whose :meth:`join` method is called terminates. If " @@ -509,23 +517,23 @@ msgid "" "terminated." msgstr "" -#: library/multiprocessing.rst:556 +#: library/multiprocessing.rst:562 msgid "A process can be joined many times." msgstr "" -#: library/multiprocessing.rst:558 +#: library/multiprocessing.rst:564 msgid "" "A process cannot join itself because this would cause a deadlock. It is an " "error to attempt to join a process before it has been started." msgstr "" -#: library/multiprocessing.rst:563 +#: library/multiprocessing.rst:569 msgid "" "The process's name. The name is a string used for identification purposes " "only. It has no semantics. Multiple processes may be given the same name." msgstr "" -#: library/multiprocessing.rst:567 +#: library/multiprocessing.rst:573 msgid "" "The initial name is set by the constructor. If no explicit name is provided " "to the constructor, a name of the form 'Process-N\\ :sub:`1`:N\\ :sub:" @@ -533,33 +541,33 @@ msgid "" "child of its parent." msgstr "" -#: library/multiprocessing.rst:574 +#: library/multiprocessing.rst:580 msgid "Return whether the process is alive." msgstr "" -#: library/multiprocessing.rst:576 +#: library/multiprocessing.rst:582 msgid "" "Roughly, a process object is alive from the moment the :meth:`start` method " "returns until the child process terminates." msgstr "" -#: library/multiprocessing.rst:581 +#: library/multiprocessing.rst:587 msgid "" "The process's daemon flag, a Boolean value. This must be set before :meth:" "`start` is called." msgstr "" -#: library/multiprocessing.rst:584 +#: library/multiprocessing.rst:590 msgid "The initial value is inherited from the creating process." msgstr "" -#: library/multiprocessing.rst:586 +#: library/multiprocessing.rst:592 msgid "" "When a process exits, it attempts to terminate all of its daemonic child " "processes." msgstr "" -#: library/multiprocessing.rst:589 +#: library/multiprocessing.rst:595 msgid "" "Note that a daemonic process is not allowed to create child processes. " "Otherwise a daemonic process would leave its children orphaned if it gets " @@ -568,92 +576,92 @@ msgid "" "(and not joined) if non-daemonic processes have exited." msgstr "" -#: library/multiprocessing.rst:595 +#: library/multiprocessing.rst:601 msgid "" "In addition to the :class:`threading.Thread` API, :class:`Process` objects " "also support the following attributes and methods:" msgstr "" -#: library/multiprocessing.rst:600 +#: library/multiprocessing.rst:606 msgid "" "Return the process ID. Before the process is spawned, this will be ``None``." msgstr "" -#: library/multiprocessing.rst:605 +#: library/multiprocessing.rst:611 msgid "" "The child's exit code. This will be ``None`` if the process has not yet " "terminated." msgstr "" -#: library/multiprocessing.rst:608 +#: library/multiprocessing.rst:614 msgid "" "If the child's :meth:`run` method returned normally, the exit code will be " "0. If it terminated via :func:`sys.exit` with an integer argument *N*, the " "exit code will be *N*." msgstr "" -#: library/multiprocessing.rst:612 +#: library/multiprocessing.rst:618 msgid "" "If the child terminated due to an exception not caught within :meth:`run`, " "the exit code will be 1. If it was terminated by signal *N*, the exit code " "will be the negative value *-N*." msgstr "" -#: library/multiprocessing.rst:618 +#: library/multiprocessing.rst:624 msgid "The process's authentication key (a byte string)." msgstr "" -#: library/multiprocessing.rst:620 +#: library/multiprocessing.rst:626 msgid "" "When :mod:`multiprocessing` is initialized the main process is assigned a " "random string using :func:`os.urandom`." msgstr "" -#: library/multiprocessing.rst:623 +#: library/multiprocessing.rst:629 msgid "" "When a :class:`Process` object is created, it will inherit the " "authentication key of its parent process, although this may be changed by " "setting :attr:`authkey` to another byte string." msgstr "" -#: library/multiprocessing.rst:627 +#: library/multiprocessing.rst:633 msgid "See :ref:`multiprocessing-auth-keys`." msgstr "" -#: library/multiprocessing.rst:631 +#: library/multiprocessing.rst:637 msgid "" "A numeric handle of a system object which will become \"ready\" when the " "process ends." msgstr "" -#: library/multiprocessing.rst:634 +#: library/multiprocessing.rst:640 msgid "" "You can use this value if you want to wait on several events at once using :" "func:`multiprocessing.connection.wait`. Otherwise calling :meth:`join()` is " "simpler." msgstr "" -#: library/multiprocessing.rst:638 +#: library/multiprocessing.rst:644 msgid "" "On Windows, this is an OS handle usable with the ``WaitForSingleObject`` and " "``WaitForMultipleObjects`` family of API calls. On POSIX, this is a file " "descriptor usable with primitives from the :mod:`select` module." msgstr "" -#: library/multiprocessing.rst:646 +#: library/multiprocessing.rst:652 msgid "" "Terminate the process. On POSIX this is done using the ``SIGTERM`` signal; " "on Windows :c:func:`TerminateProcess` is used. Note that exit handlers and " "finally clauses, etc., will not be executed." msgstr "" -#: library/multiprocessing.rst:650 +#: library/multiprocessing.rst:656 msgid "" "Note that descendant processes of the process will *not* be terminated -- " "they will simply become orphaned." msgstr "" -#: library/multiprocessing.rst:655 +#: library/multiprocessing.rst:661 msgid "" "If this method is used when the associated process is using a pipe or queue " "then the pipe or queue is liable to become corrupted and may become unusable " @@ -662,11 +670,11 @@ msgid "" "deadlock." msgstr "" -#: library/multiprocessing.rst:663 +#: library/multiprocessing.rst:669 msgid "Same as :meth:`terminate()` but using the ``SIGKILL`` signal on POSIX." msgstr "" -#: library/multiprocessing.rst:669 +#: library/multiprocessing.rst:675 msgid "" "Close the :class:`Process` object, releasing all resources associated with " "it. :exc:`ValueError` is raised if the underlying process is still " @@ -674,59 +682,59 @@ msgid "" "attributes of the :class:`Process` object will raise :exc:`ValueError`." msgstr "" -#: library/multiprocessing.rst:677 +#: library/multiprocessing.rst:683 msgid "" "Note that the :meth:`start`, :meth:`join`, :meth:`is_alive`, :meth:" "`terminate` and :attr:`exitcode` methods should only be called by the " "process that created the process object." msgstr "" -#: library/multiprocessing.rst:681 +#: library/multiprocessing.rst:687 msgid "Example usage of some of the methods of :class:`Process`:" msgstr "" -#: library/multiprocessing.rst:702 +#: library/multiprocessing.rst:708 msgid "The base class of all :mod:`multiprocessing` exceptions." msgstr "" -#: library/multiprocessing.rst:706 +#: library/multiprocessing.rst:712 msgid "" "Exception raised by :meth:`Connection.recv_bytes_into()` when the supplied " "buffer object is too small for the message read." msgstr "" -#: library/multiprocessing.rst:709 +#: library/multiprocessing.rst:715 msgid "" "If ``e`` is an instance of :exc:`BufferTooShort` then ``e.args[0]`` will " "give the message as a byte string." msgstr "" -#: library/multiprocessing.rst:714 +#: library/multiprocessing.rst:720 msgid "Raised when there is an authentication error." msgstr "" -#: library/multiprocessing.rst:718 +#: library/multiprocessing.rst:724 msgid "Raised by methods with a timeout when the timeout expires." msgstr "" -#: library/multiprocessing.rst:721 +#: library/multiprocessing.rst:727 msgid "Pipes and Queues" msgstr "" -#: library/multiprocessing.rst:723 +#: library/multiprocessing.rst:729 msgid "" "When using multiple processes, one generally uses message passing for " "communication between processes and avoids having to use any synchronization " "primitives like locks." msgstr "" -#: library/multiprocessing.rst:727 +#: library/multiprocessing.rst:733 msgid "" "For passing messages one can use :func:`Pipe` (for a connection between two " "processes) or a queue (which allows multiple producers and consumers)." msgstr "" -#: library/multiprocessing.rst:730 +#: library/multiprocessing.rst:736 msgid "" "The :class:`Queue`, :class:`SimpleQueue` and :class:`JoinableQueue` types " "are multi-producer, multi-consumer :abbr:`FIFO (first-in, first-out)` queues " @@ -736,7 +744,7 @@ msgid "" "Queue` class." msgstr "" -#: library/multiprocessing.rst:737 +#: library/multiprocessing.rst:743 msgid "" "If you use :class:`JoinableQueue` then you **must** call :meth:" "`JoinableQueue.task_done` for each task removed from the queue or else the " @@ -744,20 +752,20 @@ msgid "" "overflow, raising an exception." msgstr "" -#: library/multiprocessing.rst:742 +#: library/multiprocessing.rst:748 msgid "" "Note that one can also create a shared queue by using a manager object -- " "see :ref:`multiprocessing-managers`." msgstr "" -#: library/multiprocessing.rst:747 +#: library/multiprocessing.rst:753 msgid "" ":mod:`multiprocessing` uses the usual :exc:`queue.Empty` and :exc:`queue." "Full` exceptions to signal a timeout. They are not available in the :mod:" "`multiprocessing` namespace so you need to import them from :mod:`queue`." msgstr "" -#: library/multiprocessing.rst:754 +#: library/multiprocessing.rst:760 msgid "" "When an object is put on a queue, the object is pickled and a background " "thread later flushes the pickled data to an underlying pipe. This has some " @@ -766,14 +774,14 @@ msgid "" "a queue created with a :ref:`manager `." msgstr "" -#: library/multiprocessing.rst:761 +#: library/multiprocessing.rst:767 msgid "" "After putting an object on an empty queue there may be an infinitesimal " "delay before the queue's :meth:`~Queue.empty` method returns :const:`False` " "and :meth:`~Queue.get_nowait` can return without raising :exc:`queue.Empty`." msgstr "" -#: library/multiprocessing.rst:766 +#: library/multiprocessing.rst:772 msgid "" "If multiple processes are enqueuing objects, it is possible for the objects " "to be received at the other end out-of-order. However, objects enqueued by " @@ -781,7 +789,7 @@ msgid "" "other." msgstr "" -#: library/multiprocessing.rst:773 +#: library/multiprocessing.rst:779 msgid "" "If a process is killed using :meth:`Process.terminate` or :func:`os.kill` " "while it is trying to use a :class:`Queue`, then the data in the queue is " @@ -789,7 +797,7 @@ msgid "" "exception when it tries to use the queue later on." msgstr "" -#: library/multiprocessing.rst:780 +#: library/multiprocessing.rst:786 msgid "" "As mentioned above, if a child process has put items on a queue (and it has " "not used :meth:`JoinableQueue.cancel_join_thread ` -- see also :ref:`multiprocessing-listeners-clients`." msgstr "" -#: library/multiprocessing.rst:1155 +#: library/multiprocessing.rst:1161 msgid "" "Send an object to the other end of the connection which should be read " "using :meth:`recv`." msgstr "" -#: library/multiprocessing.rst:1158 +#: library/multiprocessing.rst:1164 msgid "" "The object must be picklable. Very large pickles (approximately 32 MiB+, " "though it depends on the OS) may raise a :exc:`ValueError` exception." msgstr "" -#: library/multiprocessing.rst:1163 +#: library/multiprocessing.rst:1169 msgid "" "Return an object sent from the other end of the connection using :meth:" "`send`. Blocks until there is something to receive. Raises :exc:`EOFError` " "if there is nothing left to receive and the other end was closed." msgstr "" -#: library/multiprocessing.rst:1170 +#: library/multiprocessing.rst:1176 msgid "Return the file descriptor or handle used by the connection." msgstr "" -#: library/multiprocessing.rst:1174 +#: library/multiprocessing.rst:1180 msgid "Close the connection." msgstr "" -#: library/multiprocessing.rst:1176 +#: library/multiprocessing.rst:1182 msgid "This is called automatically when the connection is garbage collected." msgstr "" -#: library/multiprocessing.rst:1180 +#: library/multiprocessing.rst:1186 msgid "Return whether there is any data available to be read." msgstr "" -#: library/multiprocessing.rst:1182 +#: library/multiprocessing.rst:1188 msgid "" "If *timeout* is not specified then it will return immediately. If *timeout* " "is a number then this specifies the maximum time in seconds to block. If " "*timeout* is ``None`` then an infinite timeout is used." msgstr "" -#: library/multiprocessing.rst:1186 +#: library/multiprocessing.rst:1192 msgid "" "Note that multiple connection objects may be polled at once by using :func:" "`multiprocessing.connection.wait`." msgstr "" -#: library/multiprocessing.rst:1191 +#: library/multiprocessing.rst:1197 msgid "Send byte data from a :term:`bytes-like object` as a complete message." msgstr "" -#: library/multiprocessing.rst:1193 +#: library/multiprocessing.rst:1199 msgid "" "If *offset* is given then data is read from that position in *buffer*. If " "*size* is given then that many bytes will be read from buffer. Very large " @@ -1306,7 +1314,7 @@ msgid "" "exc:`ValueError` exception" msgstr "" -#: library/multiprocessing.rst:1200 +#: library/multiprocessing.rst:1206 msgid "" "Return a complete message of byte data sent from the other end of the " "connection as a string. Blocks until there is something to receive. Raises :" @@ -1314,19 +1322,19 @@ msgid "" "closed." msgstr "" -#: library/multiprocessing.rst:1205 +#: library/multiprocessing.rst:1211 msgid "" "If *maxlength* is specified and the message is longer than *maxlength* then :" "exc:`OSError` is raised and the connection will no longer be readable." msgstr "" -#: library/multiprocessing.rst:1209 +#: library/multiprocessing.rst:1215 msgid "" "This function used to raise :exc:`IOError`, which is now an alias of :exc:" "`OSError`." msgstr "" -#: library/multiprocessing.rst:1216 +#: library/multiprocessing.rst:1222 msgid "" "Read into *buffer* a complete message of byte data sent from the other end " "of the connection and return the number of bytes in the message. Blocks " @@ -1334,45 +1342,45 @@ msgid "" "nothing left to receive and the other end was closed." msgstr "" -#: library/multiprocessing.rst:1222 +#: library/multiprocessing.rst:1228 msgid "" "*buffer* must be a writable :term:`bytes-like object`. If *offset* is given " "then the message will be written into the buffer from that position. Offset " "must be a non-negative integer less than the length of *buffer* (in bytes)." msgstr "" -#: library/multiprocessing.rst:1227 +#: library/multiprocessing.rst:1233 msgid "" "If the buffer is too short then a :exc:`BufferTooShort` exception is raised " "and the complete message is available as ``e.args[0]`` where ``e`` is the " "exception instance." msgstr "" -#: library/multiprocessing.rst:1231 +#: library/multiprocessing.rst:1237 msgid "" "Connection objects themselves can now be transferred between processes " "using :meth:`Connection.send` and :meth:`Connection.recv`." msgstr "" -#: library/multiprocessing.rst:1235 +#: library/multiprocessing.rst:1241 msgid "" "Connection objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the " "connection object, and :meth:`~contextmanager.__exit__` calls :meth:`close`." msgstr "" -#: library/multiprocessing.rst:1240 +#: library/multiprocessing.rst:1246 msgid "For example:" msgstr "" -#: library/multiprocessing.rst:1265 +#: library/multiprocessing.rst:1271 msgid "" "The :meth:`Connection.recv` method automatically unpickles the data it " "receives, which can be a security risk unless you can trust the process " "which sent the message." msgstr "" -#: library/multiprocessing.rst:1269 +#: library/multiprocessing.rst:1275 msgid "" "Therefore, unless the connection object was produced using :func:`Pipe` you " "should only use the :meth:`~Connection.recv` and :meth:`~Connection.send` " @@ -1380,71 +1388,71 @@ msgid "" "`multiprocessing-auth-keys`." msgstr "" -#: library/multiprocessing.rst:1276 +#: library/multiprocessing.rst:1282 msgid "" "If a process is killed while it is trying to read or write to a pipe then " "the data in the pipe is likely to become corrupted, because it may become " "impossible to be sure where the message boundaries lie." msgstr "" -#: library/multiprocessing.rst:1282 +#: library/multiprocessing.rst:1288 msgid "Synchronization primitives" msgstr "" -#: library/multiprocessing.rst:1286 +#: library/multiprocessing.rst:1292 msgid "" "Generally synchronization primitives are not as necessary in a multiprocess " "program as they are in a multithreaded program. See the documentation for :" "mod:`threading` module." msgstr "" -#: library/multiprocessing.rst:1290 +#: library/multiprocessing.rst:1296 msgid "" "Note that one can also create synchronization primitives by using a manager " "object -- see :ref:`multiprocessing-managers`." msgstr "" -#: library/multiprocessing.rst:1295 +#: library/multiprocessing.rst:1301 msgid "A barrier object: a clone of :class:`threading.Barrier`." msgstr "" -#: library/multiprocessing.rst:1301 +#: library/multiprocessing.rst:1307 msgid "" "A bounded semaphore object: a close analog of :class:`threading." "BoundedSemaphore`." msgstr "" -#: library/multiprocessing.rst:1304 library/multiprocessing.rst:1442 +#: library/multiprocessing.rst:1310 library/multiprocessing.rst:1448 msgid "" "A solitary difference from its close analog exists: its ``acquire`` method's " "first argument is named *block*, as is consistent with :meth:`Lock.acquire`." msgstr "" -#: library/multiprocessing.rst:1308 +#: library/multiprocessing.rst:1314 msgid "" "On macOS, this is indistinguishable from :class:`Semaphore` because " "``sem_getvalue()`` is not implemented on that platform." msgstr "" -#: library/multiprocessing.rst:1313 +#: library/multiprocessing.rst:1319 msgid "A condition variable: an alias for :class:`threading.Condition`." msgstr "" -#: library/multiprocessing.rst:1315 +#: library/multiprocessing.rst:1321 msgid "" "If *lock* is specified then it should be a :class:`Lock` or :class:`RLock` " "object from :mod:`multiprocessing`." msgstr "" -#: library/multiprocessing.rst:1318 library/multiprocessing.rst:1867 +#: library/multiprocessing.rst:1324 library/multiprocessing.rst:1873 msgid "The :meth:`~threading.Condition.wait_for` method was added." msgstr "" -#: library/multiprocessing.rst:1323 +#: library/multiprocessing.rst:1329 msgid "A clone of :class:`threading.Event`." msgstr "" -#: library/multiprocessing.rst:1328 +#: library/multiprocessing.rst:1334 msgid "" "A non-recursive lock object: a close analog of :class:`threading.Lock`. Once " "a process or thread has acquired a lock, subsequent attempts to acquire it " @@ -1455,24 +1463,24 @@ msgid "" "as noted." msgstr "" -#: library/multiprocessing.rst:1336 +#: library/multiprocessing.rst:1342 msgid "" "Note that :class:`Lock` is actually a factory function which returns an " "instance of ``multiprocessing.synchronize.Lock`` initialized with a default " "context." msgstr "" -#: library/multiprocessing.rst:1340 +#: library/multiprocessing.rst:1346 msgid "" ":class:`Lock` supports the :term:`context manager` protocol and thus may be " "used in :keyword:`with` statements." msgstr "" -#: library/multiprocessing.rst:1345 library/multiprocessing.rst:1396 +#: library/multiprocessing.rst:1351 library/multiprocessing.rst:1402 msgid "Acquire a lock, blocking or non-blocking." msgstr "" -#: library/multiprocessing.rst:1347 +#: library/multiprocessing.rst:1353 msgid "" "With the *block* argument set to ``True`` (the default), the method call " "will block until the lock is in an unlocked state, then set it to locked and " @@ -1480,14 +1488,14 @@ msgid "" "that in :meth:`threading.Lock.acquire`." msgstr "" -#: library/multiprocessing.rst:1352 +#: library/multiprocessing.rst:1358 msgid "" "With the *block* argument set to ``False``, the method call does not block. " "If the lock is currently in a locked state, return ``False``; otherwise set " "the lock to a locked state and return ``True``." msgstr "" -#: library/multiprocessing.rst:1356 +#: library/multiprocessing.rst:1362 msgid "" "When invoked with a positive, floating-point value for *timeout*, block for " "at most the number of seconds specified by *timeout* as long as the lock can " @@ -1501,19 +1509,19 @@ msgid "" "acquired or ``False`` if the timeout period has elapsed." msgstr "" -#: library/multiprocessing.rst:1371 +#: library/multiprocessing.rst:1377 msgid "" "Release a lock. This can be called from any process or thread, not only the " "process or thread which originally acquired the lock." msgstr "" -#: library/multiprocessing.rst:1374 +#: library/multiprocessing.rst:1380 msgid "" "Behavior is the same as in :meth:`threading.Lock.release` except that when " "invoked on an unlocked lock, a :exc:`ValueError` is raised." msgstr "" -#: library/multiprocessing.rst:1380 +#: library/multiprocessing.rst:1386 msgid "" "A recursive lock object: a close analog of :class:`threading.RLock`. A " "recursive lock must be released by the process or thread that acquired it. " @@ -1522,20 +1530,20 @@ msgid "" "release it once for each time it has been acquired." msgstr "" -#: library/multiprocessing.rst:1386 +#: library/multiprocessing.rst:1392 msgid "" "Note that :class:`RLock` is actually a factory function which returns an " "instance of ``multiprocessing.synchronize.RLock`` initialized with a default " "context." msgstr "" -#: library/multiprocessing.rst:1390 +#: library/multiprocessing.rst:1396 msgid "" ":class:`RLock` supports the :term:`context manager` protocol and thus may be " "used in :keyword:`with` statements." msgstr "" -#: library/multiprocessing.rst:1398 +#: library/multiprocessing.rst:1404 msgid "" "When invoked with the *block* argument set to ``True``, block until the lock " "is in an unlocked state (not owned by any process or thread) unless the lock " @@ -1548,7 +1556,7 @@ msgid "" "itself." msgstr "" -#: library/multiprocessing.rst:1408 +#: library/multiprocessing.rst:1414 msgid "" "When invoked with the *block* argument set to ``False``, do not block. If " "the lock has already been acquired (and thus is owned) by another process or " @@ -1559,14 +1567,14 @@ msgid "" "a return value of ``True``." msgstr "" -#: library/multiprocessing.rst:1416 +#: library/multiprocessing.rst:1422 msgid "" "Use and behaviors of the *timeout* argument are the same as in :meth:`Lock." "acquire`. Note that some of these behaviors of *timeout* differ from the " "implemented behaviors in :meth:`threading.RLock.acquire`." msgstr "" -#: library/multiprocessing.rst:1423 +#: library/multiprocessing.rst:1429 msgid "" "Release a lock, decrementing the recursion level. If after the decrement " "the recursion level is zero, reset the lock to unlocked (not owned by any " @@ -1576,7 +1584,7 @@ msgid "" "locked and owned by the calling process or thread." msgstr "" -#: library/multiprocessing.rst:1431 +#: library/multiprocessing.rst:1437 msgid "" "Only call this method when the calling process or thread owns the lock. An :" "exc:`AssertionError` is raised if this method is called by a process or " @@ -1585,17 +1593,17 @@ msgid "" "from the implemented behavior in :meth:`threading.RLock.release`." msgstr "" -#: library/multiprocessing.rst:1440 +#: library/multiprocessing.rst:1446 msgid "A semaphore object: a close analog of :class:`threading.Semaphore`." msgstr "" -#: library/multiprocessing.rst:1447 +#: library/multiprocessing.rst:1453 msgid "" "On macOS, ``sem_timedwait`` is unsupported, so calling ``acquire()`` with a " "timeout will emulate that function's behavior using a sleeping loop." msgstr "" -#: library/multiprocessing.rst:1452 +#: library/multiprocessing.rst:1458 msgid "" "If the SIGINT signal generated by :kbd:`Ctrl-C` arrives while the main " "thread is blocked by a call to :meth:`BoundedSemaphore.acquire`, :meth:`Lock." @@ -1604,13 +1612,13 @@ msgid "" "interrupted and :exc:`KeyboardInterrupt` will be raised." msgstr "" -#: library/multiprocessing.rst:1458 +#: library/multiprocessing.rst:1464 msgid "" "This differs from the behaviour of :mod:`threading` where SIGINT will be " "ignored while the equivalent blocking calls are in progress." msgstr "" -#: library/multiprocessing.rst:1463 +#: library/multiprocessing.rst:1469 msgid "" "Some of this package's functionality requires a functioning shared semaphore " "implementation on the host operating system. Without one, the :mod:" @@ -1619,31 +1627,31 @@ msgid "" "additional information." msgstr "" -#: library/multiprocessing.rst:1471 +#: library/multiprocessing.rst:1477 msgid "Shared :mod:`ctypes` Objects" msgstr "" -#: library/multiprocessing.rst:1473 +#: library/multiprocessing.rst:1479 msgid "" "It is possible to create shared objects using shared memory which can be " "inherited by child processes." msgstr "" -#: library/multiprocessing.rst:1478 +#: library/multiprocessing.rst:1484 msgid "" "Return a :mod:`ctypes` object allocated from shared memory. By default the " "return value is actually a synchronized wrapper for the object. The object " "itself can be accessed via the *value* attribute of a :class:`Value`." msgstr "" -#: library/multiprocessing.rst:1482 library/multiprocessing.rst:1569 +#: library/multiprocessing.rst:1488 library/multiprocessing.rst:1575 msgid "" "*typecode_or_type* determines the type of the returned object: it is either " "a ctypes type or a one character typecode of the kind used by the :mod:" "`array` module. *\\*args* is passed on to the constructor for the type." msgstr "" -#: library/multiprocessing.rst:1486 +#: library/multiprocessing.rst:1492 msgid "" "If *lock* is ``True`` (the default) then a new recursive lock object is " "created to synchronize access to the value. If *lock* is a :class:`Lock` " @@ -1653,31 +1661,31 @@ msgid "" "\"process-safe\"." msgstr "" -#: library/multiprocessing.rst:1493 +#: library/multiprocessing.rst:1499 msgid "" "Operations like ``+=`` which involve a read and write are not atomic. So " "if, for instance, you want to atomically increment a shared value it is " "insufficient to just do ::" msgstr "" -#: library/multiprocessing.rst:1499 +#: library/multiprocessing.rst:1505 msgid "" "Assuming the associated lock is recursive (which it is by default) you can " "instead do ::" msgstr "" -#: library/multiprocessing.rst:1505 library/multiprocessing.rst:1595 -#: library/multiprocessing.rst:1610 +#: library/multiprocessing.rst:1511 library/multiprocessing.rst:1601 +#: library/multiprocessing.rst:1616 msgid "Note that *lock* is a keyword-only argument." msgstr "" -#: library/multiprocessing.rst:1509 +#: library/multiprocessing.rst:1515 msgid "" "Return a ctypes array allocated from shared memory. By default the return " "value is actually a synchronized wrapper for the array." msgstr "" -#: library/multiprocessing.rst:1512 +#: library/multiprocessing.rst:1518 msgid "" "*typecode_or_type* determines the type of the elements of the returned " "array: it is either a ctypes type or a one character typecode of the kind " @@ -1687,7 +1695,7 @@ msgid "" "initialize the array and whose length determines the length of the array." msgstr "" -#: library/multiprocessing.rst:1519 +#: library/multiprocessing.rst:1525 msgid "" "If *lock* is ``True`` (the default) then a new lock object is created to " "synchronize access to the value. If *lock* is a :class:`Lock` or :class:" @@ -1697,28 +1705,28 @@ msgid "" "safe\"." msgstr "" -#: library/multiprocessing.rst:1526 +#: library/multiprocessing.rst:1532 msgid "Note that *lock* is a keyword only argument." msgstr "" -#: library/multiprocessing.rst:1528 +#: library/multiprocessing.rst:1534 msgid "" "Note that an array of :data:`ctypes.c_char` has *value* and *raw* attributes " "which allow one to use it to store and retrieve strings." msgstr "" -#: library/multiprocessing.rst:1533 +#: library/multiprocessing.rst:1539 msgid "The :mod:`multiprocessing.sharedctypes` module" msgstr "" -#: library/multiprocessing.rst:1538 +#: library/multiprocessing.rst:1544 msgid "" "The :mod:`multiprocessing.sharedctypes` module provides functions for " "allocating :mod:`ctypes` objects from shared memory which can be inherited " "by child processes." msgstr "" -#: library/multiprocessing.rst:1544 +#: library/multiprocessing.rst:1550 msgid "" "Although it is possible to store a pointer in shared memory remember that " "this will refer to a location in the address space of a specific process. " @@ -1727,11 +1735,11 @@ msgid "" "may cause a crash." msgstr "" -#: library/multiprocessing.rst:1552 +#: library/multiprocessing.rst:1558 msgid "Return a ctypes array allocated from shared memory." msgstr "" -#: library/multiprocessing.rst:1554 +#: library/multiprocessing.rst:1560 msgid "" "*typecode_or_type* determines the type of the elements of the returned " "array: it is either a ctypes type or a one character typecode of the kind " @@ -1741,39 +1749,39 @@ msgid "" "initialize the array and whose length determines the length of the array." msgstr "" -#: library/multiprocessing.rst:1561 +#: library/multiprocessing.rst:1567 msgid "" "Note that setting and getting an element is potentially non-atomic -- use :" "func:`Array` instead to make sure that access is automatically synchronized " "using a lock." msgstr "" -#: library/multiprocessing.rst:1567 +#: library/multiprocessing.rst:1573 msgid "Return a ctypes object allocated from shared memory." msgstr "" -#: library/multiprocessing.rst:1573 +#: library/multiprocessing.rst:1579 msgid "" "Note that setting and getting the value is potentially non-atomic -- use :" "func:`Value` instead to make sure that access is automatically synchronized " "using a lock." msgstr "" -#: library/multiprocessing.rst:1577 +#: library/multiprocessing.rst:1583 msgid "" "Note that an array of :data:`ctypes.c_char` has ``value`` and ``raw`` " "attributes which allow one to use it to store and retrieve strings -- see " "documentation for :mod:`ctypes`." msgstr "" -#: library/multiprocessing.rst:1583 +#: library/multiprocessing.rst:1589 msgid "" "The same as :func:`RawArray` except that depending on the value of *lock* a " "process-safe synchronization wrapper may be returned instead of a raw ctypes " "array." msgstr "" -#: library/multiprocessing.rst:1587 library/multiprocessing.rst:1603 +#: library/multiprocessing.rst:1593 library/multiprocessing.rst:1609 msgid "" "If *lock* is ``True`` (the default) then a new lock object is created to " "synchronize access to the value. If *lock* is a :class:`~multiprocessing." @@ -1783,121 +1791,121 @@ msgid "" "not necessarily be \"process-safe\"." msgstr "" -#: library/multiprocessing.rst:1599 +#: library/multiprocessing.rst:1605 msgid "" "The same as :func:`RawValue` except that depending on the value of *lock* a " "process-safe synchronization wrapper may be returned instead of a raw ctypes " "object." msgstr "" -#: library/multiprocessing.rst:1614 +#: library/multiprocessing.rst:1620 msgid "" "Return a ctypes object allocated from shared memory which is a copy of the " "ctypes object *obj*." msgstr "" -#: library/multiprocessing.rst:1619 +#: library/multiprocessing.rst:1625 msgid "" "Return a process-safe wrapper object for a ctypes object which uses *lock* " "to synchronize access. If *lock* is ``None`` (the default) then a :class:" "`multiprocessing.RLock` object is created automatically." msgstr "" -#: library/multiprocessing.rst:1623 +#: library/multiprocessing.rst:1629 msgid "" "A synchronized wrapper will have two methods in addition to those of the " "object it wraps: :meth:`get_obj` returns the wrapped object and :meth:" "`get_lock` returns the lock object used for synchronization." msgstr "" -#: library/multiprocessing.rst:1627 +#: library/multiprocessing.rst:1633 msgid "" "Note that accessing the ctypes object through the wrapper can be a lot " "slower than accessing the raw ctypes object." msgstr "" -#: library/multiprocessing.rst:1630 +#: library/multiprocessing.rst:1636 msgid "Synchronized objects support the :term:`context manager` protocol." msgstr "" -#: library/multiprocessing.rst:1634 +#: library/multiprocessing.rst:1640 msgid "" "The table below compares the syntax for creating shared ctypes objects from " "shared memory with the normal ctypes syntax. (In the table ``MyStruct`` is " "some subclass of :class:`ctypes.Structure`.)" msgstr "" -#: library/multiprocessing.rst:1639 +#: library/multiprocessing.rst:1645 msgid "ctypes" msgstr "" -#: library/multiprocessing.rst:1639 +#: library/multiprocessing.rst:1645 msgid "sharedctypes using type" msgstr "" -#: library/multiprocessing.rst:1639 +#: library/multiprocessing.rst:1645 msgid "sharedctypes using typecode" msgstr "" -#: library/multiprocessing.rst:1641 +#: library/multiprocessing.rst:1647 msgid "c_double(2.4)" msgstr "" -#: library/multiprocessing.rst:1641 +#: library/multiprocessing.rst:1647 msgid "RawValue(c_double, 2.4)" msgstr "" -#: library/multiprocessing.rst:1641 +#: library/multiprocessing.rst:1647 msgid "RawValue('d', 2.4)" msgstr "" -#: library/multiprocessing.rst:1642 +#: library/multiprocessing.rst:1648 msgid "MyStruct(4, 6)" msgstr "" -#: library/multiprocessing.rst:1642 +#: library/multiprocessing.rst:1648 msgid "RawValue(MyStruct, 4, 6)" msgstr "" -#: library/multiprocessing.rst:1643 +#: library/multiprocessing.rst:1649 msgid "(c_short * 7)()" msgstr "" -#: library/multiprocessing.rst:1643 +#: library/multiprocessing.rst:1649 msgid "RawArray(c_short, 7)" msgstr "" -#: library/multiprocessing.rst:1643 +#: library/multiprocessing.rst:1649 msgid "RawArray('h', 7)" msgstr "" -#: library/multiprocessing.rst:1644 +#: library/multiprocessing.rst:1650 msgid "(c_int * 3)(9, 2, 8)" msgstr "" -#: library/multiprocessing.rst:1644 +#: library/multiprocessing.rst:1650 msgid "RawArray(c_int, (9, 2, 8))" msgstr "" -#: library/multiprocessing.rst:1644 +#: library/multiprocessing.rst:1650 msgid "RawArray('i', (9, 2, 8))" msgstr "" -#: library/multiprocessing.rst:1648 +#: library/multiprocessing.rst:1654 msgid "" "Below is an example where a number of ctypes objects are modified by a child " "process::" msgstr "" -#: library/multiprocessing.rst:1686 +#: library/multiprocessing.rst:1692 msgid "The results printed are ::" msgstr "" -#: library/multiprocessing.rst:1699 +#: library/multiprocessing.rst:1705 msgid "Managers" msgstr "" -#: library/multiprocessing.rst:1701 +#: library/multiprocessing.rst:1707 msgid "" "Managers provide a way to create data which can be shared between different " "processes, including sharing over a network between processes running on " @@ -1906,7 +1914,7 @@ msgid "" "proxies." msgstr "" -#: library/multiprocessing.rst:1710 +#: library/multiprocessing.rst:1716 msgid "" "Returns a started :class:`~multiprocessing.managers.SyncManager` object " "which can be used for sharing objects between processes. The returned " @@ -1914,31 +1922,31 @@ msgid "" "will create shared objects and return corresponding proxies." msgstr "" -#: library/multiprocessing.rst:1718 +#: library/multiprocessing.rst:1724 msgid "" "Manager processes will be shutdown as soon as they are garbage collected or " "their parent process exits. The manager classes are defined in the :mod:" "`multiprocessing.managers` module:" msgstr "" -#: library/multiprocessing.rst:1724 +#: library/multiprocessing.rst:1730 msgid "Create a BaseManager object." msgstr "" -#: library/multiprocessing.rst:1726 +#: library/multiprocessing.rst:1732 msgid "" "Once created one should call :meth:`start` or ``get_server()." "serve_forever()`` to ensure that the manager object refers to a started " "manager process." msgstr "" -#: library/multiprocessing.rst:1729 +#: library/multiprocessing.rst:1735 msgid "" "*address* is the address on which the manager process listens for new " "connections. If *address* is ``None`` then an arbitrary one is chosen." msgstr "" -#: library/multiprocessing.rst:1732 +#: library/multiprocessing.rst:1738 msgid "" "*authkey* is the authentication key which will be used to check the validity " "of incoming connections to the server process. If *authkey* is ``None`` " @@ -1946,19 +1954,19 @@ msgid "" "it must be a byte string." msgstr "" -#: library/multiprocessing.rst:1737 +#: library/multiprocessing.rst:1743 msgid "" "*serializer* must be ``'pickle'`` (use :mod:`pickle` serialization) or " "``'xmlrpclib'`` (use :mod:`xmlrpc.client` serialization)." msgstr "" -#: library/multiprocessing.rst:1740 +#: library/multiprocessing.rst:1746 msgid "" "*ctx* is a context object, or ``None`` (use the current context). See the :" "func:`get_context` function." msgstr "" -#: library/multiprocessing.rst:1743 +#: library/multiprocessing.rst:1749 msgid "" "*shutdown_timeout* is a timeout in seconds used to wait until the process " "used by the manager completes in the :meth:`shutdown` method. If the " @@ -1966,54 +1974,54 @@ msgid "" "also times out, the process is killed." msgstr "" -#: library/multiprocessing.rst:1748 +#: library/multiprocessing.rst:1754 msgid "Added the *shutdown_timeout* parameter." msgstr "" -#: library/multiprocessing.rst:1753 +#: library/multiprocessing.rst:1759 msgid "" "Start a subprocess to start the manager. If *initializer* is not ``None`` " "then the subprocess will call ``initializer(*initargs)`` when it starts." msgstr "" -#: library/multiprocessing.rst:1758 +#: library/multiprocessing.rst:1764 msgid "" "Returns a :class:`Server` object which represents the actual server under " "the control of the Manager. The :class:`Server` object supports the :meth:" "`serve_forever` method::" msgstr "" -#: library/multiprocessing.rst:1767 +#: library/multiprocessing.rst:1773 msgid ":class:`Server` additionally has an :attr:`address` attribute." msgstr "" -#: library/multiprocessing.rst:1771 +#: library/multiprocessing.rst:1777 msgid "Connect a local manager object to a remote manager process::" msgstr "" -#: library/multiprocessing.rst:1779 +#: library/multiprocessing.rst:1785 msgid "" "Stop the process used by the manager. This is only available if :meth:" "`start` has been used to start the server process." msgstr "" -#: library/multiprocessing.rst:1782 +#: library/multiprocessing.rst:1788 msgid "This can be called multiple times." msgstr "" -#: library/multiprocessing.rst:1786 +#: library/multiprocessing.rst:1792 msgid "" "A classmethod which can be used for registering a type or callable with the " "manager class." msgstr "" -#: library/multiprocessing.rst:1789 +#: library/multiprocessing.rst:1795 msgid "" "*typeid* is a \"type identifier\" which is used to identify a particular " "type of shared object. This must be a string." msgstr "" -#: library/multiprocessing.rst:1792 +#: library/multiprocessing.rst:1798 msgid "" "*callable* is a callable used for creating objects for this type " "identifier. If a manager instance will be connected to the server using " @@ -2021,14 +2029,14 @@ msgid "" "then this can be left as ``None``." msgstr "" -#: library/multiprocessing.rst:1798 +#: library/multiprocessing.rst:1804 msgid "" "*proxytype* is a subclass of :class:`BaseProxy` which is used to create " "proxies for shared objects with this *typeid*. If ``None`` then a proxy " "class is created automatically." msgstr "" -#: library/multiprocessing.rst:1802 +#: library/multiprocessing.rst:1808 msgid "" "*exposed* is used to specify a sequence of method names which proxies for " "this typeid should be allowed to access using :meth:`BaseProxy." @@ -2039,7 +2047,7 @@ msgid "" "method and whose name does not begin with ``'_'``.)" msgstr "" -#: library/multiprocessing.rst:1811 +#: library/multiprocessing.rst:1817 msgid "" "*method_to_typeid* is a mapping used to specify the return type of those " "exposed methods which should return a proxy. It maps method names to typeid " @@ -2049,22 +2057,22 @@ msgid "" "returned by the method will be copied by value." msgstr "" -#: library/multiprocessing.rst:1818 +#: library/multiprocessing.rst:1824 msgid "" "*create_method* determines whether a method should be created with name " "*typeid* which can be used to tell the server process to create a new shared " "object and return a proxy for it. By default it is ``True``." msgstr "" -#: library/multiprocessing.rst:1822 +#: library/multiprocessing.rst:1828 msgid ":class:`BaseManager` instances also have one read-only property:" msgstr "" -#: library/multiprocessing.rst:1826 +#: library/multiprocessing.rst:1832 msgid "The address used by the manager." msgstr "" -#: library/multiprocessing.rst:1828 +#: library/multiprocessing.rst:1834 msgid "" "Manager objects support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` starts the server " @@ -2072,173 +2080,173 @@ msgid "" "object. :meth:`~contextmanager.__exit__` calls :meth:`shutdown`." msgstr "" -#: library/multiprocessing.rst:1834 +#: library/multiprocessing.rst:1840 msgid "" "In previous versions :meth:`~contextmanager.__enter__` did not start the " "manager's server process if it was not already started." msgstr "" -#: library/multiprocessing.rst:1839 +#: library/multiprocessing.rst:1845 msgid "" "A subclass of :class:`BaseManager` which can be used for the synchronization " "of processes. Objects of this type are returned by :func:`multiprocessing." "Manager`." msgstr "" -#: library/multiprocessing.rst:1843 +#: library/multiprocessing.rst:1849 msgid "" "Its methods create and return :ref:`multiprocessing-proxy_objects` for a " "number of commonly used data types to be synchronized across processes. This " "notably includes shared lists and dictionaries." msgstr "" -#: library/multiprocessing.rst:1849 +#: library/multiprocessing.rst:1855 msgid "" "Create a shared :class:`threading.Barrier` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1856 +#: library/multiprocessing.rst:1862 msgid "" "Create a shared :class:`threading.BoundedSemaphore` object and return a " "proxy for it." msgstr "" -#: library/multiprocessing.rst:1861 +#: library/multiprocessing.rst:1867 msgid "" "Create a shared :class:`threading.Condition` object and return a proxy for " "it." msgstr "" -#: library/multiprocessing.rst:1864 +#: library/multiprocessing.rst:1870 msgid "" "If *lock* is supplied then it should be a proxy for a :class:`threading." "Lock` or :class:`threading.RLock` object." msgstr "" -#: library/multiprocessing.rst:1872 +#: library/multiprocessing.rst:1878 msgid "" "Create a shared :class:`threading.Event` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1876 +#: library/multiprocessing.rst:1882 msgid "" "Create a shared :class:`threading.Lock` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1880 +#: library/multiprocessing.rst:1886 msgid "Create a shared :class:`Namespace` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1884 +#: library/multiprocessing.rst:1890 msgid "Create a shared :class:`queue.Queue` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1888 +#: library/multiprocessing.rst:1894 msgid "" "Create a shared :class:`threading.RLock` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1892 +#: library/multiprocessing.rst:1898 msgid "" "Create a shared :class:`threading.Semaphore` object and return a proxy for " "it." msgstr "" -#: library/multiprocessing.rst:1897 +#: library/multiprocessing.rst:1903 msgid "Create an array and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1901 +#: library/multiprocessing.rst:1907 msgid "" "Create an object with a writable ``value`` attribute and return a proxy for " "it." msgstr "" -#: library/multiprocessing.rst:1908 +#: library/multiprocessing.rst:1914 msgid "Create a shared :class:`dict` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1913 +#: library/multiprocessing.rst:1919 msgid "Create a shared :class:`list` object and return a proxy for it." msgstr "" -#: library/multiprocessing.rst:1915 +#: library/multiprocessing.rst:1921 msgid "" "Shared objects are capable of being nested. For example, a shared container " "object such as a shared list can contain other shared objects which will all " "be managed and synchronized by the :class:`SyncManager`." msgstr "" -#: library/multiprocessing.rst:1922 +#: library/multiprocessing.rst:1928 msgid "A type that can register with :class:`SyncManager`." msgstr "" -#: library/multiprocessing.rst:1924 +#: library/multiprocessing.rst:1930 msgid "" "A namespace object has no public methods, but does have writable attributes. " "Its representation shows the values of its attributes." msgstr "" -#: library/multiprocessing.rst:1927 +#: library/multiprocessing.rst:1933 msgid "" "However, when using a proxy for a namespace object, an attribute beginning " "with ``'_'`` will be an attribute of the proxy and not an attribute of the " "referent:" msgstr "" -#: library/multiprocessing.rst:1944 +#: library/multiprocessing.rst:1950 msgid "Customized managers" msgstr "" -#: library/multiprocessing.rst:1946 +#: library/multiprocessing.rst:1952 msgid "" "To create one's own manager, one creates a subclass of :class:`BaseManager` " "and uses the :meth:`~BaseManager.register` classmethod to register new types " "or callables with the manager class. For example::" msgstr "" -#: library/multiprocessing.rst:1971 +#: library/multiprocessing.rst:1977 msgid "Using a remote manager" msgstr "" -#: library/multiprocessing.rst:1973 +#: library/multiprocessing.rst:1979 msgid "" "It is possible to run a manager server on one machine and have clients use " "it from other machines (assuming that the firewalls involved allow it)." msgstr "" -#: library/multiprocessing.rst:1976 +#: library/multiprocessing.rst:1982 msgid "" "Running the following commands creates a server for a single shared queue " "which remote clients can access::" msgstr "" -#: library/multiprocessing.rst:1988 +#: library/multiprocessing.rst:1994 msgid "One client can access the server as follows::" msgstr "" -#: library/multiprocessing.rst:1998 +#: library/multiprocessing.rst:2004 msgid "Another client can also use it::" msgstr "" -#: library/multiprocessing.rst:2009 +#: library/multiprocessing.rst:2015 msgid "" "Local processes can also access that queue, using the code from above on the " "client to access it remotely::" msgstr "" -#: library/multiprocessing.rst:2034 +#: library/multiprocessing.rst:2040 msgid "Proxy Objects" msgstr "" -#: library/multiprocessing.rst:2036 +#: library/multiprocessing.rst:2042 msgid "" "A proxy is an object which *refers* to a shared object which lives " "(presumably) in a different process. The shared object is said to be the " "*referent* of the proxy. Multiple proxy objects may have the same referent." msgstr "" -#: library/multiprocessing.rst:2040 +#: library/multiprocessing.rst:2046 msgid "" "A proxy object has methods which invoke corresponding methods of its " "referent (although not every method of the referent will necessarily be " @@ -2246,14 +2254,14 @@ msgid "" "its referent can:" msgstr "" -#: library/multiprocessing.rst:2058 +#: library/multiprocessing.rst:2064 msgid "" "Notice that applying :func:`str` to a proxy will return the representation " "of the referent, whereas applying :func:`repr` will return the " "representation of the proxy." msgstr "" -#: library/multiprocessing.rst:2062 +#: library/multiprocessing.rst:2068 msgid "" "An important feature of proxy objects is that they are picklable so they can " "be passed between processes. As such, a referent can contain :ref:" @@ -2261,11 +2269,11 @@ msgid "" "lists, dicts, and other :ref:`multiprocessing-proxy_objects`:" msgstr "" -#: library/multiprocessing.rst:2078 +#: library/multiprocessing.rst:2084 msgid "Similarly, dict and list proxies may be nested inside one another::" msgstr "" -#: library/multiprocessing.rst:2091 +#: library/multiprocessing.rst:2097 msgid "" "If standard (non-proxy) :class:`list` or :class:`dict` objects are contained " "in a referent, modifications to those mutable values will not be propagated " @@ -2276,53 +2284,53 @@ msgid "" "assign the modified value to the container proxy::" msgstr "" -#: library/multiprocessing.rst:2110 +#: library/multiprocessing.rst:2116 msgid "" "This approach is perhaps less convenient than employing nested :ref:" "`multiprocessing-proxy_objects` for most use cases but also demonstrates a " "level of control over the synchronization." msgstr "" -#: library/multiprocessing.rst:2116 +#: library/multiprocessing.rst:2122 msgid "" "The proxy types in :mod:`multiprocessing` do nothing to support comparisons " "by value. So, for instance, we have:" msgstr "" -#: library/multiprocessing.rst:2124 +#: library/multiprocessing.rst:2130 msgid "" "One should just use a copy of the referent instead when making comparisons." msgstr "" -#: library/multiprocessing.rst:2128 +#: library/multiprocessing.rst:2134 msgid "Proxy objects are instances of subclasses of :class:`BaseProxy`." msgstr "" -#: library/multiprocessing.rst:2132 +#: library/multiprocessing.rst:2138 msgid "Call and return the result of a method of the proxy's referent." msgstr "" -#: library/multiprocessing.rst:2134 +#: library/multiprocessing.rst:2140 msgid "" "If ``proxy`` is a proxy whose referent is ``obj`` then the expression ::" msgstr "" -#: library/multiprocessing.rst:2138 +#: library/multiprocessing.rst:2144 msgid "will evaluate the expression ::" msgstr "" -#: library/multiprocessing.rst:2142 +#: library/multiprocessing.rst:2148 msgid "in the manager's process." msgstr "" -#: library/multiprocessing.rst:2144 +#: library/multiprocessing.rst:2150 msgid "" "The returned value will be a copy of the result of the call or a proxy to a " "new shared object -- see documentation for the *method_to_typeid* argument " "of :meth:`BaseManager.register`." msgstr "" -#: library/multiprocessing.rst:2148 +#: library/multiprocessing.rst:2154 msgid "" "If an exception is raised by the call, then is re-raised by :meth:" "`_callmethod`. If some other exception is raised in the manager's process " @@ -2330,78 +2338,78 @@ msgid "" "meth:`_callmethod`." msgstr "" -#: library/multiprocessing.rst:2153 +#: library/multiprocessing.rst:2159 msgid "" "Note in particular that an exception will be raised if *methodname* has not " "been *exposed*." msgstr "" -#: library/multiprocessing.rst:2156 +#: library/multiprocessing.rst:2162 msgid "An example of the usage of :meth:`_callmethod`:" msgstr "" -#: library/multiprocessing.rst:2172 +#: library/multiprocessing.rst:2178 msgid "Return a copy of the referent." msgstr "" -#: library/multiprocessing.rst:2174 +#: library/multiprocessing.rst:2180 msgid "If the referent is unpicklable then this will raise an exception." msgstr "" -#: library/multiprocessing.rst:2178 +#: library/multiprocessing.rst:2184 msgid "Return a representation of the proxy object." msgstr "" -#: library/multiprocessing.rst:2182 +#: library/multiprocessing.rst:2188 msgid "Return the representation of the referent." msgstr "" -#: library/multiprocessing.rst:2186 +#: library/multiprocessing.rst:2192 msgid "Cleanup" msgstr "" -#: library/multiprocessing.rst:2188 +#: library/multiprocessing.rst:2194 msgid "" "A proxy object uses a weakref callback so that when it gets garbage " "collected it deregisters itself from the manager which owns its referent." msgstr "" -#: library/multiprocessing.rst:2191 +#: library/multiprocessing.rst:2197 msgid "" "A shared object gets deleted from the manager process when there are no " "longer any proxies referring to it." msgstr "" -#: library/multiprocessing.rst:2196 +#: library/multiprocessing.rst:2202 msgid "Process Pools" msgstr "" -#: library/multiprocessing.rst:2201 +#: library/multiprocessing.rst:2207 msgid "" "One can create a pool of processes which will carry out tasks submitted to " "it with the :class:`Pool` class." msgstr "" -#: library/multiprocessing.rst:2206 +#: library/multiprocessing.rst:2212 msgid "" "A process pool object which controls a pool of worker processes to which " "jobs can be submitted. It supports asynchronous results with timeouts and " "callbacks and has a parallel map implementation." msgstr "" -#: library/multiprocessing.rst:2210 +#: library/multiprocessing.rst:2216 msgid "" "*processes* is the number of worker processes to use. If *processes* is " "``None`` then the number returned by :func:`os.cpu_count` is used." msgstr "" -#: library/multiprocessing.rst:2213 library/multiprocessing.rst:2774 +#: library/multiprocessing.rst:2219 library/multiprocessing.rst:2780 msgid "" "If *initializer* is not ``None`` then each worker process will call " "``initializer(*initargs)`` when it starts." msgstr "" -#: library/multiprocessing.rst:2216 +#: library/multiprocessing.rst:2222 msgid "" "*maxtasksperchild* is the number of tasks a worker process can complete " "before it will exit and be replaced with a fresh worker process, to enable " @@ -2409,7 +2417,7 @@ msgid "" "which means worker processes will live as long as the pool." msgstr "" -#: library/multiprocessing.rst:2221 +#: library/multiprocessing.rst:2227 msgid "" "*context* can be used to specify the context used for starting the worker " "processes. Usually a pool is created using the function :func:" @@ -2417,13 +2425,13 @@ msgid "" "both cases *context* is set appropriately." msgstr "" -#: library/multiprocessing.rst:2227 +#: library/multiprocessing.rst:2233 msgid "" "Note that the methods of the pool object should only be called by the " "process which created the pool." msgstr "" -#: library/multiprocessing.rst:2231 +#: library/multiprocessing.rst:2237 msgid "" ":class:`multiprocessing.pool` objects have internal resources that need to " "be properly managed (like any other resource) by using the pool as a context " @@ -2431,22 +2439,22 @@ msgid "" "to do this can lead to the process hanging on finalization." msgstr "" -#: library/multiprocessing.rst:2236 +#: library/multiprocessing.rst:2242 msgid "" "Note that it is **not correct** to rely on the garbage collector to destroy " "the pool as CPython does not assure that the finalizer of the pool will be " "called (see :meth:`object.__del__` for more information)." msgstr "" -#: library/multiprocessing.rst:2240 +#: library/multiprocessing.rst:2246 msgid "*maxtasksperchild*" msgstr "" -#: library/multiprocessing.rst:2243 +#: library/multiprocessing.rst:2249 msgid "*context*" msgstr "" -#: library/multiprocessing.rst:2248 +#: library/multiprocessing.rst:2254 msgid "" "Worker processes within a :class:`Pool` typically live for the complete " "duration of the Pool's work queue. A frequent pattern found in other systems " @@ -2457,7 +2465,7 @@ msgid "" "ability to the end user." msgstr "" -#: library/multiprocessing.rst:2258 +#: library/multiprocessing.rst:2264 msgid "" "Call *func* with arguments *args* and keyword arguments *kwds*. It blocks " "until the result is ready. Given this blocks, :meth:`apply_async` is better " @@ -2465,13 +2473,13 @@ msgid "" "executed in one of the workers of the pool." msgstr "" -#: library/multiprocessing.rst:2265 +#: library/multiprocessing.rst:2271 msgid "" "A variant of the :meth:`apply` method which returns a :class:" "`~multiprocessing.pool.AsyncResult` object." msgstr "" -#: library/multiprocessing.rst:2268 library/multiprocessing.rst:2299 +#: library/multiprocessing.rst:2274 library/multiprocessing.rst:2305 msgid "" "If *callback* is specified then it should be a callable which accepts a " "single argument. When the result becomes ready *callback* is applied to it, " @@ -2479,58 +2487,58 @@ msgid "" "applied instead." msgstr "" -#: library/multiprocessing.rst:2273 library/multiprocessing.rst:2304 +#: library/multiprocessing.rst:2279 library/multiprocessing.rst:2310 msgid "" "If *error_callback* is specified then it should be a callable which accepts " "a single argument. If the target function fails, then the *error_callback* " "is called with the exception instance." msgstr "" -#: library/multiprocessing.rst:2277 library/multiprocessing.rst:2308 +#: library/multiprocessing.rst:2283 library/multiprocessing.rst:2314 msgid "" "Callbacks should complete immediately since otherwise the thread which " "handles the results will get blocked." msgstr "" -#: library/multiprocessing.rst:2282 +#: library/multiprocessing.rst:2288 msgid "" "A parallel equivalent of the :func:`map` built-in function (it supports only " "one *iterable* argument though, for multiple iterables see :meth:`starmap`). " "It blocks until the result is ready." msgstr "" -#: library/multiprocessing.rst:2286 +#: library/multiprocessing.rst:2292 msgid "" "This method chops the iterable into a number of chunks which it submits to " "the process pool as separate tasks. The (approximate) size of these chunks " "can be specified by setting *chunksize* to a positive integer." msgstr "" -#: library/multiprocessing.rst:2290 +#: library/multiprocessing.rst:2296 msgid "" "Note that it may cause high memory usage for very long iterables. Consider " "using :meth:`imap` or :meth:`imap_unordered` with explicit *chunksize* " "option for better efficiency." msgstr "" -#: library/multiprocessing.rst:2296 +#: library/multiprocessing.rst:2302 msgid "" "A variant of the :meth:`.map` method which returns a :class:" "`~multiprocessing.pool.AsyncResult` object." msgstr "" -#: library/multiprocessing.rst:2313 +#: library/multiprocessing.rst:2319 msgid "A lazier version of :meth:`.map`." msgstr "" -#: library/multiprocessing.rst:2315 +#: library/multiprocessing.rst:2321 msgid "" "The *chunksize* argument is the same as the one used by the :meth:`.map` " "method. For very long iterables using a large value for *chunksize* can " "make the job complete **much** faster than using the default value of ``1``." msgstr "" -#: library/multiprocessing.rst:2320 +#: library/multiprocessing.rst:2326 msgid "" "Also if *chunksize* is ``1`` then the :meth:`!next` method of the iterator " "returned by the :meth:`imap` method has an optional *timeout* parameter: " @@ -2538,65 +2546,65 @@ msgid "" "result cannot be returned within *timeout* seconds." msgstr "" -#: library/multiprocessing.rst:2327 +#: library/multiprocessing.rst:2333 msgid "" "The same as :meth:`imap` except that the ordering of the results from the " "returned iterator should be considered arbitrary. (Only when there is only " "one worker process is the order guaranteed to be \"correct\".)" msgstr "" -#: library/multiprocessing.rst:2333 +#: library/multiprocessing.rst:2339 msgid "" "Like :meth:`~multiprocessing.pool.Pool.map` except that the elements of the " "*iterable* are expected to be iterables that are unpacked as arguments." msgstr "" -#: library/multiprocessing.rst:2337 +#: library/multiprocessing.rst:2343 msgid "" "Hence an *iterable* of ``[(1,2), (3, 4)]`` results in ``[func(1,2), " "func(3,4)]``." msgstr "" -#: library/multiprocessing.rst:2344 +#: library/multiprocessing.rst:2350 msgid "" "A combination of :meth:`starmap` and :meth:`map_async` that iterates over " "*iterable* of iterables and calls *func* with the iterables unpacked. " "Returns a result object." msgstr "" -#: library/multiprocessing.rst:2352 +#: library/multiprocessing.rst:2358 msgid "" "Prevents any more tasks from being submitted to the pool. Once all the " "tasks have been completed the worker processes will exit." msgstr "" -#: library/multiprocessing.rst:2357 +#: library/multiprocessing.rst:2363 msgid "" "Stops the worker processes immediately without completing outstanding work. " "When the pool object is garbage collected :meth:`terminate` will be called " "immediately." msgstr "" -#: library/multiprocessing.rst:2363 +#: library/multiprocessing.rst:2369 msgid "" "Wait for the worker processes to exit. One must call :meth:`close` or :meth:" "`terminate` before using :meth:`join`." msgstr "" -#: library/multiprocessing.rst:2366 +#: library/multiprocessing.rst:2372 msgid "" "Pool objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the pool " "object, and :meth:`~contextmanager.__exit__` calls :meth:`terminate`." msgstr "" -#: library/multiprocessing.rst:2374 +#: library/multiprocessing.rst:2380 msgid "" "The class of the result returned by :meth:`Pool.apply_async` and :meth:`Pool." "map_async`." msgstr "" -#: library/multiprocessing.rst:2379 +#: library/multiprocessing.rst:2385 msgid "" "Return the result when it arrives. If *timeout* is not ``None`` and the " "result does not arrive within *timeout* seconds then :exc:`multiprocessing." @@ -2604,41 +2612,41 @@ msgid "" "exception will be reraised by :meth:`get`." msgstr "" -#: library/multiprocessing.rst:2386 +#: library/multiprocessing.rst:2392 msgid "Wait until the result is available or until *timeout* seconds pass." msgstr "" -#: library/multiprocessing.rst:2390 +#: library/multiprocessing.rst:2396 msgid "Return whether the call has completed." msgstr "" -#: library/multiprocessing.rst:2394 +#: library/multiprocessing.rst:2400 msgid "" "Return whether the call completed without raising an exception. Will raise :" "exc:`ValueError` if the result is not ready." msgstr "" -#: library/multiprocessing.rst:2397 +#: library/multiprocessing.rst:2403 msgid "" "If the result is not ready, :exc:`ValueError` is raised instead of :exc:" "`AssertionError`." msgstr "" -#: library/multiprocessing.rst:2401 +#: library/multiprocessing.rst:2407 msgid "The following example demonstrates the use of a pool::" msgstr "" -#: library/multiprocessing.rst:2428 +#: library/multiprocessing.rst:2434 msgid "Listeners and Clients" msgstr "" -#: library/multiprocessing.rst:2433 +#: library/multiprocessing.rst:2439 msgid "" "Usually message passing between processes is done using queues or by using :" "class:`~Connection` objects returned by :func:`~multiprocessing.Pipe`." msgstr "" -#: library/multiprocessing.rst:2437 +#: library/multiprocessing.rst:2443 msgid "" "However, the :mod:`multiprocessing.connection` module allows some extra " "flexibility. It basically gives a high level message oriented API for " @@ -2647,45 +2655,45 @@ msgid "" "multiple connections at the same time." msgstr "" -#: library/multiprocessing.rst:2446 +#: library/multiprocessing.rst:2452 msgid "" "Send a randomly generated message to the other end of the connection and " "wait for a reply." msgstr "" -#: library/multiprocessing.rst:2449 +#: library/multiprocessing.rst:2455 msgid "" "If the reply matches the digest of the message using *authkey* as the key " "then a welcome message is sent to the other end of the connection. " "Otherwise :exc:`~multiprocessing.AuthenticationError` is raised." msgstr "" -#: library/multiprocessing.rst:2455 +#: library/multiprocessing.rst:2461 msgid "" "Receive a message, calculate the digest of the message using *authkey* as " "the key, and then send the digest back." msgstr "" -#: library/multiprocessing.rst:2458 +#: library/multiprocessing.rst:2464 msgid "" "If a welcome message is not received, then :exc:`~multiprocessing." "AuthenticationError` is raised." msgstr "" -#: library/multiprocessing.rst:2463 +#: library/multiprocessing.rst:2469 msgid "" "Attempt to set up a connection to the listener which is using address " "*address*, returning a :class:`~Connection`." msgstr "" -#: library/multiprocessing.rst:2466 +#: library/multiprocessing.rst:2472 msgid "" "The type of the connection is determined by *family* argument, but this can " "generally be omitted since it can usually be inferred from the format of " "*address*. (See :ref:`multiprocessing-address-formats`)" msgstr "" -#: library/multiprocessing.rst:2470 library/multiprocessing.rst:2505 +#: library/multiprocessing.rst:2476 library/multiprocessing.rst:2511 msgid "" "If *authkey* is given and not None, it should be a byte string and will be " "used as the secret key for an HMAC-based authentication challenge. No " @@ -2694,26 +2702,26 @@ msgid "" "`multiprocessing-auth-keys`." msgstr "" -#: library/multiprocessing.rst:2478 +#: library/multiprocessing.rst:2484 msgid "" "A wrapper for a bound socket or Windows named pipe which is 'listening' for " "connections." msgstr "" -#: library/multiprocessing.rst:2481 +#: library/multiprocessing.rst:2487 msgid "" "*address* is the address to be used by the bound socket or named pipe of the " "listener object." msgstr "" -#: library/multiprocessing.rst:2486 +#: library/multiprocessing.rst:2492 msgid "" "If an address of '0.0.0.0' is used, the address will not be a connectable " "end point on Windows. If you require a connectable end-point, you should use " "'127.0.0.1'." msgstr "" -#: library/multiprocessing.rst:2490 +#: library/multiprocessing.rst:2496 msgid "" "*family* is the type of socket (or named pipe) to use. This can be one of " "the strings ``'AF_INET'`` (for a TCP socket), ``'AF_UNIX'`` (for a Unix " @@ -2727,49 +2735,49 @@ msgid "" "using :func:`tempfile.mkstemp`." msgstr "" -#: library/multiprocessing.rst:2501 +#: library/multiprocessing.rst:2507 msgid "" "If the listener object uses a socket then *backlog* (1 by default) is passed " "to the :meth:`~socket.socket.listen` method of the socket once it has been " "bound." msgstr "" -#: library/multiprocessing.rst:2513 +#: library/multiprocessing.rst:2519 msgid "" "Accept a connection on the bound socket or named pipe of the listener object " "and return a :class:`~Connection` object. If authentication is attempted and " "fails, then :exc:`~multiprocessing.AuthenticationError` is raised." msgstr "" -#: library/multiprocessing.rst:2520 +#: library/multiprocessing.rst:2526 msgid "" "Close the bound socket or named pipe of the listener object. This is called " "automatically when the listener is garbage collected. However it is " "advisable to call it explicitly." msgstr "" -#: library/multiprocessing.rst:2524 +#: library/multiprocessing.rst:2530 msgid "Listener objects have the following read-only properties:" msgstr "" -#: library/multiprocessing.rst:2528 +#: library/multiprocessing.rst:2534 msgid "The address which is being used by the Listener object." msgstr "" -#: library/multiprocessing.rst:2532 +#: library/multiprocessing.rst:2538 msgid "" "The address from which the last accepted connection came. If this is " "unavailable then it is ``None``." msgstr "" -#: library/multiprocessing.rst:2535 +#: library/multiprocessing.rst:2541 msgid "" "Listener objects now support the context management protocol -- see :ref:" "`typecontextmanager`. :meth:`~contextmanager.__enter__` returns the " "listener object, and :meth:`~contextmanager.__exit__` calls :meth:`close`." msgstr "" -#: library/multiprocessing.rst:2542 +#: library/multiprocessing.rst:2548 msgid "" "Wait till an object in *object_list* is ready. Returns the list of those " "objects in *object_list* which are ready. If *timeout* is a float then the " @@ -2778,32 +2786,32 @@ msgid "" "zero timeout." msgstr "" -#: library/multiprocessing.rst:2548 +#: library/multiprocessing.rst:2554 msgid "" "For both POSIX and Windows, an object can appear in *object_list* if it is" msgstr "" -#: library/multiprocessing.rst:2551 +#: library/multiprocessing.rst:2557 msgid "a readable :class:`~multiprocessing.connection.Connection` object;" msgstr "" -#: library/multiprocessing.rst:2552 +#: library/multiprocessing.rst:2558 msgid "a connected and readable :class:`socket.socket` object; or" msgstr "" -#: library/multiprocessing.rst:2553 +#: library/multiprocessing.rst:2559 msgid "" "the :attr:`~multiprocessing.Process.sentinel` attribute of a :class:" "`~multiprocessing.Process` object." msgstr "" -#: library/multiprocessing.rst:2556 +#: library/multiprocessing.rst:2562 msgid "" "A connection or socket object is ready when there is data available to be " "read from it, or the other end has been closed." msgstr "" -#: library/multiprocessing.rst:2559 +#: library/multiprocessing.rst:2565 msgid "" "**POSIX**: ``wait(object_list, timeout)`` almost equivalent ``select." "select(object_list, [], [], timeout)``. The difference is that, if :func:" @@ -2811,7 +2819,7 @@ msgid "" "an error number of ``EINTR``, whereas :func:`wait` will not." msgstr "" -#: library/multiprocessing.rst:2565 +#: library/multiprocessing.rst:2571 msgid "" "**Windows**: An item in *object_list* must either be an integer handle which " "is waitable (according to the definition used by the documentation of the " @@ -2820,46 +2828,46 @@ msgid "" "that pipe handles and socket handles are **not** waitable handles.)" msgstr "" -#: library/multiprocessing.rst:2575 +#: library/multiprocessing.rst:2581 msgid "**Examples**" msgstr "" -#: library/multiprocessing.rst:2577 +#: library/multiprocessing.rst:2583 msgid "" "The following server code creates a listener which uses ``'secret " "password'`` as an authentication key. It then waits for a connection and " "sends some data to the client::" msgstr "" -#: library/multiprocessing.rst:2596 +#: library/multiprocessing.rst:2602 msgid "" "The following code connects to the server and receives some data from the " "server::" msgstr "" -#: library/multiprocessing.rst:2613 +#: library/multiprocessing.rst:2619 msgid "" "The following code uses :func:`~multiprocessing.connection.wait` to wait for " "messages from multiple processes at once::" msgstr "" -#: library/multiprocessing.rst:2652 +#: library/multiprocessing.rst:2658 msgid "Address Formats" msgstr "" -#: library/multiprocessing.rst:2654 +#: library/multiprocessing.rst:2660 msgid "" "An ``'AF_INET'`` address is a tuple of the form ``(hostname, port)`` where " "*hostname* is a string and *port* is an integer." msgstr "" -#: library/multiprocessing.rst:2657 +#: library/multiprocessing.rst:2663 msgid "" "An ``'AF_UNIX'`` address is a string representing a filename on the " "filesystem." msgstr "" -#: library/multiprocessing.rst:2660 +#: library/multiprocessing.rst:2666 msgid "" "An ``'AF_PIPE'`` address is a string of the form :samp:`r'\\\\\\\\\\\\.\\" "\\pipe\\\\\\\\{PipeName}'`. To use :func:`Client` to connect to a named " @@ -2868,17 +2876,17 @@ msgid "" "instead." msgstr "" -#: library/multiprocessing.rst:2665 +#: library/multiprocessing.rst:2671 msgid "" "Note that any string beginning with two backslashes is assumed by default to " "be an ``'AF_PIPE'`` address rather than an ``'AF_UNIX'`` address." msgstr "" -#: library/multiprocessing.rst:2672 +#: library/multiprocessing.rst:2678 msgid "Authentication keys" msgstr "" -#: library/multiprocessing.rst:2674 +#: library/multiprocessing.rst:2680 msgid "" "When one uses :meth:`Connection.recv `, the data received " "is automatically unpickled. Unfortunately unpickling data from an untrusted " @@ -2886,7 +2894,7 @@ msgid "" "use the :mod:`hmac` module to provide digest authentication." msgstr "" -#: library/multiprocessing.rst:2680 +#: library/multiprocessing.rst:2686 msgid "" "An authentication key is a byte string which can be thought of as a " "password: once a connection is established both ends will demand proof that " @@ -2894,7 +2902,7 @@ msgid "" "using the same key does **not** involve sending the key over the connection.)" msgstr "" -#: library/multiprocessing.rst:2686 +#: library/multiprocessing.rst:2692 msgid "" "If authentication is requested but no authentication key is specified then " "the return value of ``current_process().authkey`` is used (see :class:" @@ -2905,17 +2913,17 @@ msgid "" "setting up connections between themselves." msgstr "" -#: library/multiprocessing.rst:2694 +#: library/multiprocessing.rst:2700 msgid "" "Suitable authentication keys can also be generated by using :func:`os." "urandom`." msgstr "" -#: library/multiprocessing.rst:2698 +#: library/multiprocessing.rst:2704 msgid "Logging" msgstr "" -#: library/multiprocessing.rst:2700 +#: library/multiprocessing.rst:2706 msgid "" "Some support for logging is available. Note, however, that the :mod:" "`logging` package does not use process shared locks so it is possible " @@ -2923,27 +2931,27 @@ msgid "" "mixed up." msgstr "" -#: library/multiprocessing.rst:2707 +#: library/multiprocessing.rst:2713 msgid "" "Returns the logger used by :mod:`multiprocessing`. If necessary, a new one " "will be created." msgstr "" -#: library/multiprocessing.rst:2710 +#: library/multiprocessing.rst:2716 msgid "" "When first created the logger has level :const:`logging.NOTSET` and no " "default handler. Messages sent to this logger will not by default propagate " "to the root logger." msgstr "" -#: library/multiprocessing.rst:2714 +#: library/multiprocessing.rst:2720 msgid "" "Note that on Windows child processes will only inherit the level of the " "parent process's logger -- any other customization of the logger will not be " "inherited." msgstr "" -#: library/multiprocessing.rst:2721 +#: library/multiprocessing.rst:2727 msgid "" "This function performs a call to :func:`get_logger` but in addition to " "returning the logger created by get_logger, it adds a handler which sends " @@ -2952,25 +2960,25 @@ msgid "" "``level`` argument." msgstr "" -#: library/multiprocessing.rst:2727 +#: library/multiprocessing.rst:2733 msgid "Below is an example session with logging turned on::" msgstr "" -#: library/multiprocessing.rst:2742 +#: library/multiprocessing.rst:2748 msgid "For a full table of logging levels, see the :mod:`logging` module." msgstr "" -#: library/multiprocessing.rst:2746 +#: library/multiprocessing.rst:2752 msgid "The :mod:`multiprocessing.dummy` module" msgstr "" -#: library/multiprocessing.rst:2751 +#: library/multiprocessing.rst:2757 msgid "" ":mod:`multiprocessing.dummy` replicates the API of :mod:`multiprocessing` " "but is no more than a wrapper around the :mod:`threading` module." msgstr "" -#: library/multiprocessing.rst:2756 +#: library/multiprocessing.rst:2762 msgid "" "In particular, the ``Pool`` function provided by :mod:`multiprocessing." "dummy` returns an instance of :class:`ThreadPool`, which is a subclass of :" @@ -2978,7 +2986,7 @@ msgid "" "worker threads rather than worker processes." msgstr "" -#: library/multiprocessing.rst:2764 +#: library/multiprocessing.rst:2770 msgid "" "A thread pool object which controls a pool of worker threads to which jobs " "can be submitted. :class:`ThreadPool` instances are fully interface " @@ -2988,18 +2996,18 @@ msgid "" "pool.Pool.terminate` manually." msgstr "" -#: library/multiprocessing.rst:2771 +#: library/multiprocessing.rst:2777 msgid "" "*processes* is the number of worker threads to use. If *processes* is " "``None`` then the number returned by :func:`os.cpu_count` is used." msgstr "" -#: library/multiprocessing.rst:2777 +#: library/multiprocessing.rst:2783 msgid "" "Unlike :class:`Pool`, *maxtasksperchild* and *context* cannot be provided." msgstr "" -#: library/multiprocessing.rst:2781 +#: library/multiprocessing.rst:2787 msgid "" "A :class:`ThreadPool` shares the same interface as :class:`Pool`, which is " "designed around a pool of processes and predates the introduction of the :" @@ -3009,7 +3017,7 @@ msgid "" "is not understood by any other libraries." msgstr "" -#: library/multiprocessing.rst:2788 +#: library/multiprocessing.rst:2794 msgid "" "Users should generally prefer to use :class:`concurrent.futures." "ThreadPoolExecutor`, which has a simpler interface that was designed around " @@ -3018,69 +3026,69 @@ msgid "" "`asyncio`." msgstr "" -#: library/multiprocessing.rst:2798 +#: library/multiprocessing.rst:2804 msgid "Programming guidelines" msgstr "" -#: library/multiprocessing.rst:2800 +#: library/multiprocessing.rst:2806 msgid "" "There are certain guidelines and idioms which should be adhered to when " "using :mod:`multiprocessing`." msgstr "" -#: library/multiprocessing.rst:2805 +#: library/multiprocessing.rst:2811 msgid "All start methods" msgstr "" -#: library/multiprocessing.rst:2807 +#: library/multiprocessing.rst:2813 msgid "The following applies to all start methods." msgstr "" -#: library/multiprocessing.rst:2809 +#: library/multiprocessing.rst:2815 msgid "Avoid shared state" msgstr "" -#: library/multiprocessing.rst:2811 +#: library/multiprocessing.rst:2817 msgid "" "As far as possible one should try to avoid shifting large amounts of data " "between processes." msgstr "" -#: library/multiprocessing.rst:2814 +#: library/multiprocessing.rst:2820 msgid "" "It is probably best to stick to using queues or pipes for communication " "between processes rather than using the lower level synchronization " "primitives." msgstr "" -#: library/multiprocessing.rst:2818 +#: library/multiprocessing.rst:2824 msgid "Picklability" msgstr "" -#: library/multiprocessing.rst:2820 +#: library/multiprocessing.rst:2826 msgid "Ensure that the arguments to the methods of proxies are picklable." msgstr "" -#: library/multiprocessing.rst:2822 +#: library/multiprocessing.rst:2828 msgid "Thread safety of proxies" msgstr "" -#: library/multiprocessing.rst:2824 +#: library/multiprocessing.rst:2830 msgid "" "Do not use a proxy object from more than one thread unless you protect it " "with a lock." msgstr "" -#: library/multiprocessing.rst:2827 +#: library/multiprocessing.rst:2833 msgid "" "(There is never a problem with different processes using the *same* proxy.)" msgstr "" -#: library/multiprocessing.rst:2829 +#: library/multiprocessing.rst:2835 msgid "Joining zombie processes" msgstr "" -#: library/multiprocessing.rst:2831 +#: library/multiprocessing.rst:2837 msgid "" "On POSIX when a process finishes but has not been joined it becomes a " "zombie. There should never be very many because each time a new process " @@ -3091,11 +3099,11 @@ msgid "" "explicitly join all the processes that you start." msgstr "" -#: library/multiprocessing.rst:2839 +#: library/multiprocessing.rst:2845 msgid "Better to inherit than pickle/unpickle" msgstr "" -#: library/multiprocessing.rst:2841 +#: library/multiprocessing.rst:2847 msgid "" "When using the *spawn* or *forkserver* start methods many types from :mod:" "`multiprocessing` need to be picklable so that child processes can use " @@ -3105,11 +3113,11 @@ msgid "" "inherit it from an ancestor process." msgstr "" -#: library/multiprocessing.rst:2849 +#: library/multiprocessing.rst:2855 msgid "Avoid terminating processes" msgstr "" -#: library/multiprocessing.rst:2851 +#: library/multiprocessing.rst:2857 msgid "" "Using the :meth:`Process.terminate ` " "method to stop a process is liable to cause any shared resources (such as " @@ -3117,18 +3125,18 @@ msgid "" "become broken or unavailable to other processes." msgstr "" -#: library/multiprocessing.rst:2857 +#: library/multiprocessing.rst:2863 msgid "" "Therefore it is probably best to only consider using :meth:`Process." "terminate ` on processes which never use " "any shared resources." msgstr "" -#: library/multiprocessing.rst:2861 +#: library/multiprocessing.rst:2867 msgid "Joining processes that use queues" msgstr "" -#: library/multiprocessing.rst:2863 +#: library/multiprocessing.rst:2869 msgid "" "Bear in mind that a process that has put items in a queue will wait before " "terminating until all the buffered items are fed by the \"feeder\" thread to " @@ -3137,7 +3145,7 @@ msgid "" "queue to avoid this behaviour.)" msgstr "" -#: library/multiprocessing.rst:2869 +#: library/multiprocessing.rst:2875 msgid "" "This means that whenever you use a queue you need to make sure that all " "items which have been put on the queue will eventually be removed before the " @@ -3146,21 +3154,21 @@ msgid "" "processes will be joined automatically." msgstr "" -#: library/multiprocessing.rst:2875 +#: library/multiprocessing.rst:2881 msgid "An example which will deadlock is the following::" msgstr "" -#: library/multiprocessing.rst:2889 +#: library/multiprocessing.rst:2895 msgid "" "A fix here would be to swap the last two lines (or simply remove the ``p." "join()`` line)." msgstr "" -#: library/multiprocessing.rst:2892 +#: library/multiprocessing.rst:2898 msgid "Explicitly pass resources to child processes" msgstr "" -#: library/multiprocessing.rst:2894 +#: library/multiprocessing.rst:2900 msgid "" "On POSIX using the *fork* start method, a child process can make use of a " "shared resource created in a parent process using a global resource. " @@ -3168,7 +3176,7 @@ msgid "" "for the child process." msgstr "" -#: library/multiprocessing.rst:2899 +#: library/multiprocessing.rst:2905 msgid "" "Apart from making the code (potentially) compatible with Windows and the " "other start methods this also ensures that as long as the child process is " @@ -3177,29 +3185,29 @@ msgid "" "collected in the parent process." msgstr "" -#: library/multiprocessing.rst:2906 +#: library/multiprocessing.rst:2912 msgid "So for instance ::" msgstr "" -#: library/multiprocessing.rst:2918 +#: library/multiprocessing.rst:2924 msgid "should be rewritten as ::" msgstr "" -#: library/multiprocessing.rst:2930 +#: library/multiprocessing.rst:2936 msgid "Beware of replacing :data:`sys.stdin` with a \"file like object\"" msgstr "" -#: library/multiprocessing.rst:2932 +#: library/multiprocessing.rst:2938 msgid ":mod:`multiprocessing` originally unconditionally called::" msgstr "" -#: library/multiprocessing.rst:2936 +#: library/multiprocessing.rst:2942 msgid "" "in the :meth:`multiprocessing.Process._bootstrap` method --- this resulted " "in issues with processes-in-processes. This has been changed to::" msgstr "" -#: library/multiprocessing.rst:2942 +#: library/multiprocessing.rst:2948 msgid "" "Which solves the fundamental issue of processes colliding with each other " "resulting in a bad file descriptor error, but introduces a potential danger " @@ -3209,33 +3217,33 @@ msgid "" "data being flushed to the object multiple times, resulting in corruption." msgstr "" -#: library/multiprocessing.rst:2949 +#: library/multiprocessing.rst:2955 msgid "" "If you write a file-like object and implement your own caching, you can make " "it fork-safe by storing the pid whenever you append to the cache, and " "discarding the cache when the pid changes. For example::" msgstr "" -#: library/multiprocessing.rst:2961 +#: library/multiprocessing.rst:2967 msgid "" "For more information, see :issue:`5155`, :issue:`5313` and :issue:`5331`" msgstr "" -#: library/multiprocessing.rst:2964 +#: library/multiprocessing.rst:2970 msgid "The *spawn* and *forkserver* start methods" msgstr "" -#: library/multiprocessing.rst:2966 +#: library/multiprocessing.rst:2972 msgid "" "There are a few extra restriction which don't apply to the *fork* start " "method." msgstr "" -#: library/multiprocessing.rst:2969 +#: library/multiprocessing.rst:2975 msgid "More picklability" msgstr "" -#: library/multiprocessing.rst:2971 +#: library/multiprocessing.rst:2977 msgid "" "Ensure that all arguments to :meth:`Process.__init__` are picklable. Also, " "if you subclass :class:`~multiprocessing.Process` then make sure that " @@ -3243,11 +3251,11 @@ msgid "" "Process.start>` method is called." msgstr "" -#: library/multiprocessing.rst:2976 +#: library/multiprocessing.rst:2982 msgid "Global variables" msgstr "" -#: library/multiprocessing.rst:2978 +#: library/multiprocessing.rst:2984 msgid "" "Bear in mind that if code run in a child process tries to access a global " "variable, then the value it sees (if any) may not be the same as the value " @@ -3255,66 +3263,66 @@ msgid "" "Process.start>` was called." msgstr "" -#: library/multiprocessing.rst:2983 +#: library/multiprocessing.rst:2989 msgid "" "However, global variables which are just module level constants cause no " "problems." msgstr "" -#: library/multiprocessing.rst:2988 +#: library/multiprocessing.rst:2994 msgid "Safe importing of main module" msgstr "" -#: library/multiprocessing.rst:2990 +#: library/multiprocessing.rst:2996 msgid "" "Make sure that the main module can be safely imported by a new Python " "interpreter without causing unintended side effects (such as starting a new " "process)." msgstr "" -#: library/multiprocessing.rst:2994 +#: library/multiprocessing.rst:3000 msgid "" "For example, using the *spawn* or *forkserver* start method running the " "following module would fail with a :exc:`RuntimeError`::" msgstr "" -#: library/multiprocessing.rst:3006 +#: library/multiprocessing.rst:3012 msgid "" "Instead one should protect the \"entry point\" of the program by using ``if " "__name__ == '__main__':`` as follows::" msgstr "" -#: library/multiprocessing.rst:3020 +#: library/multiprocessing.rst:3026 msgid "" "(The ``freeze_support()`` line can be omitted if the program will be run " "normally instead of frozen.)" msgstr "" -#: library/multiprocessing.rst:3023 +#: library/multiprocessing.rst:3029 msgid "" "This allows the newly spawned Python interpreter to safely import the module " "and then run the module's ``foo()`` function." msgstr "" -#: library/multiprocessing.rst:3026 +#: library/multiprocessing.rst:3032 msgid "" "Similar restrictions apply if a pool or manager is created in the main " "module." msgstr "" -#: library/multiprocessing.rst:3033 +#: library/multiprocessing.rst:3039 msgid "Examples" msgstr "" -#: library/multiprocessing.rst:3035 +#: library/multiprocessing.rst:3041 msgid "Demonstration of how to create and use customized managers and proxies:" msgstr "" -#: library/multiprocessing.rst:3041 +#: library/multiprocessing.rst:3047 msgid "Using :class:`~multiprocessing.pool.Pool`:" msgstr "" -#: library/multiprocessing.rst:3047 +#: library/multiprocessing.rst:3053 msgid "" "An example showing how to use queues to feed tasks to a collection of worker " "processes and collect the results:" diff --git a/library/os.po b/library/os.po index 2d2c3eb64..fce6b0f95 100644 --- a/library/os.po +++ b/library/os.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -132,8 +132,8 @@ msgid "" "On some systems, conversion using the file system encoding may fail. In this " "case, Python uses the :ref:`surrogateescape encoding error handler " "`, which means that undecodable bytes are replaced by a " -"Unicode character U+DCxx on decoding, and these are again translated to the " -"original byte on encoding." +"Unicode character U+DC\\ *xx* on decoding, and these are again translated to " +"the original byte on encoding." msgstr "" #: library/os.rst:95 @@ -289,12 +289,12 @@ msgstr "" #: library/os.rst:1637 library/os.rst:2110 library/os.rst:2430 #: library/os.rst:4036 library/os.rst:4050 library/os.rst:4064 #: library/os.rst:4078 library/os.rst:4094 library/os.rst:4108 -#: library/os.rst:4125 library/os.rst:4140 library/os.rst:4168 -#: library/os.rst:4225 library/os.rst:4262 library/os.rst:4438 -#: library/os.rst:4709 library/os.rst:4781 library/os.rst:4813 -#: library/os.rst:4836 library/os.rst:4858 library/os.rst:4881 -#: library/os.rst:4943 library/os.rst:4962 library/os.rst:4980 -#: library/os.rst:4998 +#: library/os.rst:4125 library/os.rst:4140 library/os.rst:4213 +#: library/os.rst:4260 library/os.rst:4417 library/os.rst:4703 +#: library/os.rst:4795 library/os.rst:4826 library/os.rst:4852 +#: library/os.rst:4877 library/os.rst:4896 library/os.rst:4960 +#: library/os.rst:4983 library/os.rst:4999 library/os.rst:5017 +#: library/os.rst:5026 msgid ":ref:`Availability `: Unix, not Emscripten, not WASI." msgstr "" @@ -450,8 +450,8 @@ msgid "" msgstr "" #: library/os.rst:1086 library/os.rst:1110 library/os.rst:1649 -#: library/os.rst:2530 library/os.rst:3412 library/os.rst:4526 -#: library/os.rst:4654 +#: library/os.rst:2530 library/os.rst:3412 library/os.rst:4554 +#: library/os.rst:4682 msgid ":ref:`Availability `: Unix, Windows." msgstr "" @@ -474,8 +474,8 @@ msgstr "" #: library/os.rst:1053 library/os.rst:1138 library/os.rst:1396 #: library/os.rst:1424 library/os.rst:1708 library/os.rst:1770 #: library/os.rst:2124 library/os.rst:2178 library/os.rst:2508 -#: library/os.rst:3398 library/os.rst:5144 library/os.rst:5174 -#: library/os.rst:5193 +#: library/os.rst:3398 library/os.rst:5172 library/os.rst:5202 +#: library/os.rst:5221 msgid ":ref:`Availability `: Unix." msgstr "" @@ -546,8 +546,8 @@ msgid "" "getpwuid(os.getuid())[0]`` to get the login name of the current real user id." msgstr "" -#: library/os.rst:462 library/os.rst:4209 library/os.rst:4631 -#: library/os.rst:4916 +#: library/os.rst:462 library/os.rst:4237 library/os.rst:4659 +#: library/os.rst:4944 msgid "" ":ref:`Availability `: Unix, Windows, not Emscripten, not WASI." msgstr "" @@ -843,7 +843,7 @@ msgid "" "or even ``socket.gethostbyaddr(socket.gethostname())``." msgstr "" -#: library/os.rst:4656 +#: library/os.rst:4684 msgid "" "Return type changed from a tuple to a tuple-like object with named " "attributes." @@ -1376,7 +1376,7 @@ msgstr "" msgid "The *dir_fd* argument." msgstr "" -#: library/os.rst:1576 library/os.rst:4749 +#: library/os.rst:1576 library/os.rst:4777 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 :" @@ -1387,7 +1387,7 @@ msgstr "" #: library/os.rst:2167 library/os.rst:2239 library/os.rst:2367 #: library/os.rst:2435 library/os.rst:2498 library/os.rst:2588 #: library/os.rst:2966 library/os.rst:3419 library/os.rst:3475 -#: library/os.rst:3635 library/os.rst:3999 library/os.rst:4514 +#: library/os.rst:3635 library/os.rst:3999 library/os.rst:4542 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -1925,7 +1925,7 @@ msgstr "" msgid "Get the \"inheritable\" flag of the specified handle (a boolean)." msgstr "" -#: library/os.rst:1855 library/os.rst:4549 library/os.rst:4594 +#: library/os.rst:1855 library/os.rst:4577 library/os.rst:4622 msgid ":ref:`Availability `: Windows." msgstr "" @@ -4403,18 +4403,55 @@ msgid "" "Raises an :ref:`auditing event ` ``os.fork`` with no arguments." msgstr "" -#: library/os.rst:4160 +#: library/os.rst:4162 +msgid "" +"If you use TLS sockets in an application calling ``fork()``, see the warning " +"in the :mod:`ssl` documentation." +msgstr "" + +#: library/os.rst:4165 msgid "" "Calling ``fork()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4166 -msgid "See :mod:`ssl` for applications that use the SSL module with fork()." +#: library/os.rst:4169 +msgid "" +"If Python is able to detect that your process has multiple threads, :func:" +"`os.fork` now raises a :exc:`DeprecationWarning`." msgstr "" #: library/os.rst:4173 msgid "" +"We chose to surface this as a warning, when detectable, to better inform " +"developers of a design problem that the POSIX platform specifically notes as " +"not supported. Even in code that *appears* to work, it has never been safe " +"to mix threading with :func:`os.fork` on POSIX platforms. The CPython " +"runtime itself has always made API calls that are not safe for use in the " +"child process when threads existed in the parent (such as ``malloc`` and " +"``free``)." +msgstr "" + +#: library/os.rst:4182 +msgid "" +"Users of macOS or users of libc or malloc implementations other than those " +"typically found in glibc to date are among those already more likely to " +"experience deadlocks running such code." +msgstr "" + +#: library/os.rst:4186 +msgid "" +"See `this discussion on fork being incompatible with threads `_ for technical details of why we're surfacing " +"this longstanding platform compatibility problem to developers." +msgstr "" + +#: library/os.rst:4433 +msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." +msgstr "" + +#: library/os.rst:4196 +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, " "the new child's process id in the parent, and *fd* is the file descriptor of " @@ -4422,24 +4459,31 @@ msgid "" "the :mod:`pty` module. If an error occurs :exc:`OSError` is raised." msgstr "" -#: library/os.rst:4179 +#: library/os.rst:4202 msgid "" "Raises an :ref:`auditing event ` ``os.forkpty`` with no arguments." msgstr "" -#: library/os.rst:4181 +#: library/os.rst:4204 +msgid "" +"If Python is able to detect that your process has multiple threads, this now " +"raises a :exc:`DeprecationWarning`. See the longer explanation on :func:`os." +"fork`." +msgstr "" + +#: library/os.rst:4209 msgid "" "Calling ``forkpty()`` in a subinterpreter is no longer supported (:exc:" "`RuntimeError` is raised)." msgstr "" -#: library/os.rst:4194 +#: library/os.rst:4222 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:4197 +#: library/os.rst:4225 msgid "" "Windows: The :const:`signal.CTRL_C_EVENT` and :const:`signal." "CTRL_BREAK_EVENT` signals are special signals which can only be sent to " @@ -4450,51 +4494,51 @@ msgid "" "process handles to be killed." msgstr "" -#: library/os.rst:4205 +#: library/os.rst:4233 msgid "See also :func:`signal.pthread_kill`." msgstr "" -#: library/os.rst:4207 +#: library/os.rst:4235 msgid "" "Raises an :ref:`auditing event ` ``os.kill`` with arguments " "``pid``, ``sig``." msgstr "" -#: library/os.rst:4211 +#: library/os.rst:4239 msgid "Windows support." msgstr "" -#: library/os.rst:4221 +#: library/os.rst:4249 msgid "Send the signal *sig* to the process group *pgid*." msgstr "" -#: library/os.rst:4223 +#: library/os.rst:4251 msgid "" "Raises an :ref:`auditing event ` ``os.killpg`` with arguments " "``pgid``, ``sig``." msgstr "" -#: library/os.rst:4230 +#: library/os.rst:4258 msgid "" "Add *increment* to the process's \"niceness\". Return the new niceness." msgstr "" -#: library/os.rst:4237 +#: library/os.rst:4265 msgid "" "Return a file descriptor referring to the process *pid* with *flags* set. " "This descriptor can be used to perform process management without races and " "signals." msgstr "" -#: library/os.rst:4241 +#: library/os.rst:4269 msgid "See the :manpage:`pidfd_open(2)` man page for more details." msgstr "" -#: library/os.rst:4243 +#: library/os.rst:4271 msgid ":ref:`Availability `: Linux >= 5.3" msgstr "" -#: library/os.rst:4248 +#: library/os.rst:4276 msgid "" "This flag indicates that the file descriptor will be non-blocking. If the " "process referred to by the file descriptor has not yet terminated, then an " @@ -4502,17 +4546,17 @@ msgid "" "immediately return the error :const:`~errno.EAGAIN` rather than blocking." msgstr "" -#: library/os.rst:4253 +#: library/os.rst:4281 msgid ":ref:`Availability `: Linux >= 5.10" msgstr "" -#: library/os.rst:4259 +#: library/os.rst:4287 msgid "" "Lock program segments into memory. The value of *op* (defined in ````) determines which segments are locked." msgstr "" -#: library/os.rst:4267 +#: library/os.rst:4295 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 " @@ -4522,7 +4566,7 @@ msgid "" "rather than bytes." msgstr "" -#: library/os.rst:4275 +#: library/os.rst:4303 msgid "" "The ``close`` method returns :const:`None` if the subprocess exited " "successfully, or the subprocess's return code if there was an error. On " @@ -4534,60 +4578,60 @@ msgid "" "contains the signed integer return code from the child process." msgstr "" -#: library/os.rst:4285 +#: library/os.rst:4313 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:4290 +#: library/os.rst:4318 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:4294 +#: library/os.rst:4322 msgid ":ref:`Availability `: not Emscripten, not WASI." msgstr "" -#: library/os.rst:4297 +#: library/os.rst:4325 msgid "" "The :ref:`Python UTF-8 Mode ` affects encodings used for *cmd* " "and pipe contents." msgstr "" -#: library/os.rst:4300 +#: library/os.rst:4328 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:4309 +#: library/os.rst:4337 msgid "Wraps the :c:func:`!posix_spawn` C library API for use from Python." msgstr "" -#: library/os.rst:4311 +#: library/os.rst:4339 msgid "" "Most users should use :func:`subprocess.run` instead of :func:`posix_spawn`." msgstr "" -#: library/os.rst:4313 +#: library/os.rst:4341 msgid "" "The positional-only arguments *path*, *args*, and *env* are similar to :func:" "`execve`." msgstr "" -#: library/os.rst:4316 +#: library/os.rst:4344 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:4320 +#: library/os.rst:4348 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 " @@ -4596,31 +4640,31 @@ msgid "" "describing the remaining tuple elements:" msgstr "" -#: library/os.rst:4328 +#: library/os.rst:4356 msgid "(``os.POSIX_SPAWN_OPEN``, *fd*, *path*, *flags*, *mode*)" msgstr "" -#: library/os.rst:4330 +#: library/os.rst:4358 msgid "Performs ``os.dup2(os.open(path, flags, mode), fd)``." msgstr "" -#: library/os.rst:4334 +#: library/os.rst:4362 msgid "(``os.POSIX_SPAWN_CLOSE``, *fd*)" msgstr "" -#: library/os.rst:4336 +#: library/os.rst:4364 msgid "Performs ``os.close(fd)``." msgstr "" -#: library/os.rst:4340 +#: library/os.rst:4368 msgid "(``os.POSIX_SPAWN_DUP2``, *fd*, *new_fd*)" msgstr "" -#: library/os.rst:4342 +#: library/os.rst:4370 msgid "Performs ``os.dup2(fd, new_fd)``." msgstr "" -#: library/os.rst:4344 +#: library/os.rst:4372 msgid "" "These tuples correspond to the C library :c:func:`!" "posix_spawn_file_actions_addopen`, :c:func:`!" @@ -4629,7 +4673,7 @@ msgid "" "`!posix_spawn` call itself." msgstr "" -#: library/os.rst:4350 +#: library/os.rst:4378 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 " @@ -4638,7 +4682,7 @@ msgid "" "corresponds to the C library :c:macro:`!POSIX_SPAWN_SETPGROUP` flag." msgstr "" -#: library/os.rst:4356 +#: library/os.rst:4384 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 " @@ -4649,7 +4693,7 @@ msgid "" "library :c:macro:`!POSIX_SPAWN_RESETIDS` flag." msgstr "" -#: library/os.rst:4364 +#: library/os.rst:4392 msgid "" "If the *setsid* argument is ``True``, it will create a new session ID for " "``posix_spawn``. *setsid* requires :c:macro:`!POSIX_SPAWN_SETSID` or :c:" @@ -4657,7 +4701,7 @@ msgid "" "is raised." msgstr "" -#: library/os.rst:4369 +#: library/os.rst:4397 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 " @@ -4665,14 +4709,14 @@ msgid "" "POSIX_SPAWN_SETSIGMASK` flag." msgstr "" -#: library/os.rst:4374 +#: library/os.rst:4402 msgid "" "The *sigdef* argument will reset the disposition of all signals in the set " "specified. This argument corresponds to the C library :c:macro:`!" "POSIX_SPAWN_SETSIGDEF` flag." msgstr "" -#: library/os.rst:4378 +#: library/os.rst:4406 msgid "" "The *scheduler* argument must be a tuple containing the (optional) scheduler " "policy and an instance of :class:`sched_param` with the scheduler " @@ -4682,82 +4726,78 @@ msgid "" "POSIX_SPAWN_SETSCHEDULER` flags." msgstr "" -#: library/os.rst:4401 +#: library/os.rst:4429 msgid "" "Raises an :ref:`auditing event ` ``os.posix_spawn`` with arguments " "``path``, ``argv``, ``env``." msgstr "" -#: library/os.rst:4395 +#: library/os.rst:4423 msgid "Wraps the :c:func:`!posix_spawnp` C library API for use from Python." msgstr "" -#: library/os.rst:4397 +#: library/os.rst:4425 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:4405 -msgid ":ref:`Availability `: POSIX, not Emscripten, not WASI." -msgstr "" - -#: library/os.rst:4407 +#: library/os.rst:4435 msgid "See :func:`posix_spawn` documentation." msgstr "" -#: library/os.rst:4413 +#: library/os.rst:4441 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:4418 +#: library/os.rst:4446 msgid "*before* is a function called before forking a child process." msgstr "" -#: library/os.rst:4419 +#: library/os.rst:4447 msgid "" "*after_in_parent* is a function called from the parent process after forking " "a child process." msgstr "" -#: library/os.rst:4421 +#: library/os.rst:4449 msgid "*after_in_child* is a function called from the child process." msgstr "" -#: library/os.rst:4423 +#: library/os.rst:4451 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:4427 +#: library/os.rst:4455 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:4432 +#: library/os.rst:4460 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:4436 +#: library/os.rst:4464 msgid "There is no way to unregister a function." msgstr "" -#: library/os.rst:4452 +#: library/os.rst:4480 msgid "Execute the program *path* in a new process." msgstr "" -#: library/os.rst:4454 +#: library/os.rst:4482 msgid "" "(Note that the :mod:`subprocess` module provides more powerful facilities " "for spawning new processes and retrieving their results; using that module " @@ -4765,7 +4805,7 @@ msgid "" "`subprocess-replacements` section.)" msgstr "" -#: library/os.rst:4459 +#: library/os.rst:4487 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 " @@ -4774,13 +4814,13 @@ msgid "" "handle, so can be used with the :func:`waitpid` function." msgstr "" -#: library/os.rst:4465 +#: library/os.rst:4493 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:4468 +#: library/os.rst:4496 msgid "" "The \"l\" and \"v\" variants of the :func:`spawn\\* ` functions " "differ in how command-line arguments are passed. The \"l\" variants are " @@ -4792,7 +4832,7 @@ msgid "" "to the child process must start with the name of the command being run." msgstr "" -#: library/os.rst:4477 +#: library/os.rst:4505 msgid "" "The variants which include a second \"p\" near the end (:func:`spawnlp`, :" "func:`spawnlpe`, :func:`spawnvp`, and :func:`spawnvpe`) will use the :envvar:" @@ -4805,7 +4845,7 @@ msgid "" "appropriate absolute or relative path." msgstr "" -#: library/os.rst:4487 +#: library/os.rst:4515 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 " @@ -4817,19 +4857,19 @@ msgid "" "values will cause the function to fail, with a return value of ``127``." msgstr "" -#: library/os.rst:4496 +#: library/os.rst:4524 msgid "" "As an example, the following calls to :func:`spawnlp` and :func:`spawnvpe` " "are equivalent::" msgstr "" -#: library/os.rst:4505 +#: library/os.rst:4533 msgid "" "Raises an :ref:`auditing event ` ``os.spawn`` with arguments " "``mode``, ``path``, ``args``, ``env``." msgstr "" -#: library/os.rst:4509 +#: library/os.rst:4537 msgid "" ":func:`spawnlp`, :func:`spawnlpe`, :func:`spawnvp` and :func:`spawnvpe` are " "not available on Windows. :func:`spawnle` and :func:`spawnve` are not " @@ -4837,7 +4877,7 @@ msgid "" "instead." msgstr "" -#: library/os.rst:4521 +#: library/os.rst:4549 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If either of these values is given, the :func:" @@ -4845,7 +4885,7 @@ msgid "" "created, with the process id as the return value." msgstr "" -#: library/os.rst:4531 +#: library/os.rst:4559 msgid "" "Possible value for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. If this is given as *mode*, the :func:`spawn\\*` " @@ -4854,7 +4894,7 @@ msgid "" "signal`` if a signal kills the process." msgstr "" -#: library/os.rst:4543 +#: library/os.rst:4571 msgid "" "Possible values for the *mode* parameter to the :func:`spawn\\* ` " "family of functions. These are less portable than those listed above. :" @@ -4864,11 +4904,11 @@ msgid "" "function will not return." msgstr "" -#: library/os.rst:4554 +#: library/os.rst:4582 msgid "Start a file with its associated application." msgstr "" -#: library/os.rst:4556 +#: library/os.rst:4584 msgid "" "When *operation* is not specified, this acts like double-clicking the file " "in Windows Explorer, or giving the file name as an argument to the :program:" @@ -4876,7 +4916,7 @@ msgid "" "whatever application (if any) its extension is associated." msgstr "" -#: library/os.rst:4561 +#: library/os.rst:4589 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 " @@ -4884,28 +4924,28 @@ msgid "" "as well as ``'explore'`` and ``'find'`` (to be used on directories)." msgstr "" -#: library/os.rst:4566 +#: library/os.rst:4594 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:4570 +#: library/os.rst:4598 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:4574 +#: library/os.rst:4602 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:4578 +#: library/os.rst:4606 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 " @@ -4916,32 +4956,32 @@ msgid "" "encoded for Win32." msgstr "" -#: library/os.rst:4586 +#: library/os.rst:4614 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:4590 +#: library/os.rst:4618 msgid "" "Raises an :ref:`auditing event ` ``os.startfile`` with arguments " "``path``, ``operation``." msgstr "" -#: library/os.rst:4592 +#: library/os.rst:4620 msgid "" "Raises an :ref:`auditing event ` ``os.startfile/2`` with arguments " "``path``, ``operation``, ``arguments``, ``cwd``, ``show_cmd``." msgstr "" -#: library/os.rst:4596 +#: library/os.rst:4624 msgid "" "Added the *arguments*, *cwd* and *show_cmd* arguments, and the ``os." "startfile/2`` audit event." msgstr "" -#: library/os.rst:4603 +#: library/os.rst:4631 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 " @@ -4952,13 +4992,13 @@ msgid "" "value of the Python function is system-dependent." msgstr "" -#: library/os.rst:4611 +#: library/os.rst:4639 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:4614 +#: library/os.rst:4642 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 :" @@ -4967,7 +5007,7 @@ msgid "" "shell documentation." msgstr "" -#: library/os.rst:4620 +#: library/os.rst:4648 msgid "" "The :mod:`subprocess` module provides more powerful facilities for spawning " "new processes and retrieving their results; using that module is preferable " @@ -4975,53 +5015,53 @@ msgid "" "the :mod:`subprocess` documentation for some helpful recipes." msgstr "" -#: library/os.rst:4625 +#: library/os.rst:4653 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:4629 +#: library/os.rst:4657 msgid "" "Raises an :ref:`auditing event ` ``os.system`` with argument " "``command``." msgstr "" -#: library/os.rst:4636 +#: library/os.rst:4664 msgid "" "Returns the current global process times. The return value is an object with " "five attributes:" msgstr "" -#: library/os.rst:4639 +#: library/os.rst:4667 msgid ":attr:`!user` - user time" msgstr "" -#: library/os.rst:4640 +#: library/os.rst:4668 msgid ":attr:`!system` - system time" msgstr "" -#: library/os.rst:4641 +#: library/os.rst:4669 msgid ":attr:`!children_user` - user time of all child processes" msgstr "" -#: library/os.rst:4642 +#: library/os.rst:4670 msgid ":attr:`!children_system` - system time of all child processes" msgstr "" -#: library/os.rst:4643 +#: library/os.rst:4671 msgid ":attr:`!elapsed` - elapsed real time since a fixed point in the past" msgstr "" -#: library/os.rst:4645 +#: library/os.rst:4673 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:4649 +#: library/os.rst:4677 msgid "" "See the Unix manual page :manpage:`times(2)` and `times(3) `_ manual page on Unix or `the " @@ -5031,7 +5071,7 @@ msgid "" "attributes are zero." msgstr "" -#: library/os.rst:4663 +#: library/os.rst:4691 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 " @@ -5040,83 +5080,83 @@ msgid "" "if a core file was produced." msgstr "" -#: library/os.rst:4669 +#: library/os.rst:4697 msgid "" "If there are no children that could be waited for, :exc:`ChildProcessError` " "is raised." msgstr "" -#: library/os.rst:4744 +#: library/os.rst:4772 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exit code." msgstr "" -#: library/os.rst:4679 +#: library/os.rst:4707 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:4686 +#: library/os.rst:4714 msgid "Wait for the completion of a child process." msgstr "" -#: library/os.rst:4688 +#: library/os.rst:4716 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:4691 +#: library/os.rst:4719 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:4695 +#: library/os.rst:4723 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:4698 +#: library/os.rst:4726 msgid ":attr:`!si_pid` (process ID)" msgstr "" -#: library/os.rst:4699 +#: library/os.rst:4727 msgid ":attr:`!si_uid` (real user ID of the child)" msgstr "" -#: library/os.rst:4700 +#: library/os.rst:4728 msgid ":attr:`!si_signo` (always :const:`~signal.SIGCHLD`)" msgstr "" -#: library/os.rst:4701 +#: library/os.rst:4729 msgid "" ":attr:`!si_status` (the exit status or signal number, depending on :attr:`!" "si_code`)" msgstr "" -#: library/os.rst:4702 +#: library/os.rst:4730 msgid ":attr:`!si_code` (see :data:`CLD_EXITED` for possible values)" msgstr "" -#: library/os.rst:4704 +#: library/os.rst:4732 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:4716 +#: library/os.rst:4744 msgid "The details of this function differ on Unix and Windows." msgstr "" -#: library/os.rst:4718 +#: library/os.rst:4746 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 " @@ -5125,7 +5165,7 @@ msgid "" "operation." msgstr "" -#: library/os.rst:4723 +#: library/os.rst:4751 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 " @@ -5135,7 +5175,7 @@ msgid "" "group ``-pid`` (the absolute value of *pid*)." msgstr "" -#: library/os.rst:4730 +#: library/os.rst:4758 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 " @@ -5144,7 +5184,7 @@ msgid "" "are :data:`WUNTRACED` and :data:`WCONTINUED`." msgstr "" -#: library/os.rst:4736 +#: library/os.rst:4764 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 " @@ -5156,7 +5196,7 @@ msgid "" "process handles." msgstr "" -#: library/os.rst:4757 +#: library/os.rst:4785 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 " @@ -5165,13 +5205,13 @@ msgid "" "same as that provided to :func:`waitpid` and :func:`wait4`." msgstr "" -#: library/os.rst:4778 +#: library/os.rst:4806 msgid "" ":func:`waitstatus_to_exitcode` can be used to convert the exit status into " "an exitcode." msgstr "" -#: library/os.rst:4772 +#: library/os.rst:4800 msgid "" "Similar to :func:`waitpid`, except a 3-element tuple, containing the child's " "process id, exit status indication, and resource usage information is " @@ -5180,118 +5220,118 @@ msgid "" "to :func:`waitpid`." msgstr "" -#: library/os.rst:4789 +#: library/os.rst:4817 msgid "" "These are the possible values for *idtype* in :func:`waitid`. They affect " "how *id* is interpreted:" msgstr "" -#: library/os.rst:4792 +#: library/os.rst:4820 msgid ":data:`!P_PID` - wait for the child whose PID is *id*." msgstr "" -#: library/os.rst:4793 +#: library/os.rst:4821 msgid ":data:`!P_PGID` - wait for any child whose progress group ID is *id*." msgstr "" -#: library/os.rst:4794 +#: library/os.rst:4822 msgid ":data:`!P_ALL` - wait for any child; *id* is ignored." msgstr "" -#: library/os.rst:4795 +#: library/os.rst:4823 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:4800 +#: library/os.rst:4828 msgid ":data:`!P_PIDFD` is only available on Linux >= 5.4." msgstr "" -#: library/os.rst:4803 +#: library/os.rst:4831 msgid "The :data:`!P_PIDFD` constant." msgstr "" -#: library/os.rst:4809 +#: library/os.rst:4837 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:4818 +#: library/os.rst:4846 msgid "" "This *options* flag for :func:`waitid` causes child processes that have " "terminated to be reported." msgstr "" -#: library/os.rst:4821 +#: library/os.rst:4849 msgid "" "The other ``wait*`` functions always report children that have terminated, " "so this option is not available for them." msgstr "" -#: library/os.rst:4831 +#: library/os.rst:4859 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:4866 +#: library/os.rst:4894 msgid "This option is not available for the other ``wait*`` functions." msgstr "" -#: library/os.rst:4843 +#: library/os.rst:4871 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:4847 +#: library/os.rst:4875 msgid "This option is not available for :func:`waitid`." msgstr "" -#: library/os.rst:4854 +#: library/os.rst:4882 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:4863 +#: library/os.rst:4891 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:4878 +#: library/os.rst:4906 msgid "" "These are the possible values for :attr:`!si_code` in the result returned " "by :func:`waitid`." msgstr "" -#: library/os.rst:4885 +#: library/os.rst:4913 msgid "Added :data:`CLD_KILLED` and :data:`CLD_STOPPED` values." msgstr "" -#: library/os.rst:4891 +#: library/os.rst:4919 msgid "Convert a wait status to an exit code." msgstr "" -#: library/os.rst:4893 +#: library/os.rst:4921 msgid "On Unix:" msgstr "" -#: library/os.rst:4895 +#: library/os.rst:4923 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:4898 +#: library/os.rst:4926 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 " @@ -5299,15 +5339,15 @@ msgid "" "than 0." msgstr "" -#: library/os.rst:4902 +#: library/os.rst:4930 msgid "Otherwise, raise a :exc:`ValueError`." msgstr "" -#: library/os.rst:4904 +#: library/os.rst:4932 msgid "On Windows, return *status* shifted right by 8 bits." msgstr "" -#: library/os.rst:4906 +#: library/os.rst:4934 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 " @@ -5315,217 +5355,217 @@ msgid "" "``WIFSTOPPED(status)`` is true." msgstr "" -#: library/os.rst:4913 +#: library/os.rst:4941 msgid "" ":func:`WIFEXITED`, :func:`WEXITSTATUS`, :func:`WIFSIGNALED`, :func:" "`WTERMSIG`, :func:`WIFSTOPPED`, :func:`WSTOPSIG` functions." msgstr "" -#: library/os.rst:4921 +#: library/os.rst:4949 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:4927 +#: library/os.rst:4955 msgid "" "Return ``True`` if a core dump was generated for the process, otherwise " "return ``False``." msgstr "" -#: library/os.rst:4996 +#: library/os.rst:5024 msgid "This function should be employed only if :func:`WIFSIGNALED` is true." msgstr "" -#: library/os.rst:4937 +#: library/os.rst:4965 msgid "" "Return ``True`` if a stopped child has been resumed by delivery of :const:" "`~signal.SIGCONT` (if the process has been continued from a job control " "stop), otherwise return ``False``." msgstr "" -#: library/os.rst:4941 +#: library/os.rst:4969 msgid "See :data:`WCONTINUED` option." msgstr "" -#: library/os.rst:4948 +#: library/os.rst:4976 msgid "" "Return ``True`` if the process was stopped by delivery of a signal, " "otherwise return ``False``." msgstr "" -#: library/os.rst:4951 +#: library/os.rst:4979 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:4959 +#: library/os.rst:4987 msgid "" "Return ``True`` if the process was terminated by a signal, otherwise return " "``False``." msgstr "" -#: library/os.rst:4967 +#: library/os.rst:4995 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:4976 +#: library/os.rst:5004 msgid "Return the process exit status." msgstr "" -#: library/os.rst:4978 +#: library/os.rst:5006 msgid "This function should be employed only if :func:`WIFEXITED` is true." msgstr "" -#: library/os.rst:4985 +#: library/os.rst:5013 msgid "Return the signal which caused the process to stop." msgstr "" -#: library/os.rst:4987 +#: library/os.rst:5015 msgid "This function should be employed only if :func:`WIFSTOPPED` is true." msgstr "" -#: library/os.rst:4994 +#: library/os.rst:5022 msgid "Return the number of the signal that caused the process to terminate." msgstr "" -#: library/os.rst:5002 +#: library/os.rst:5030 msgid "Interface to the scheduler" msgstr "" -#: library/os.rst:5004 +#: library/os.rst:5032 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:5010 +#: library/os.rst:5038 msgid "" "The following scheduling policies are exposed if they are supported by the " "operating system." msgstr "" -#: library/os.rst:5015 +#: library/os.rst:5043 msgid "The default scheduling policy." msgstr "" -#: library/os.rst:5019 +#: library/os.rst:5047 msgid "" "Scheduling policy for CPU-intensive processes that tries to preserve " "interactivity on the rest of the computer." msgstr "" -#: library/os.rst:5024 +#: library/os.rst:5052 msgid "Scheduling policy for extremely low priority background tasks." msgstr "" -#: library/os.rst:5028 +#: library/os.rst:5056 msgid "Scheduling policy for sporadic server programs." msgstr "" -#: library/os.rst:5032 +#: library/os.rst:5060 msgid "A First In First Out scheduling policy." msgstr "" -#: library/os.rst:5036 +#: library/os.rst:5064 msgid "A round-robin scheduling policy." msgstr "" -#: library/os.rst:5040 +#: library/os.rst:5068 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:5047 +#: library/os.rst:5075 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:5051 +#: library/os.rst:5079 msgid "At the moment, there is only one possible parameter:" msgstr "" -#: library/os.rst:5055 +#: library/os.rst:5083 msgid "The scheduling priority for a scheduling policy." msgstr "" -#: library/os.rst:5060 +#: library/os.rst:5088 msgid "" "Get the minimum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5066 +#: library/os.rst:5094 msgid "" "Get the maximum priority value for *policy*. *policy* is one of the " "scheduling policy constants above." msgstr "" -#: library/os.rst:5072 +#: library/os.rst:5100 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:5079 +#: library/os.rst:5107 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:5086 +#: library/os.rst:5114 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:5092 +#: library/os.rst:5120 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:5098 +#: library/os.rst:5126 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:5104 +#: library/os.rst:5132 msgid "Voluntarily relinquish the CPU." msgstr "" -#: library/os.rst:5109 +#: library/os.rst:5137 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:5116 +#: library/os.rst:5144 msgid "" "Return the set of CPUs the process with PID *pid* (or the current process if " "zero) is restricted to." msgstr "" -#: library/os.rst:5123 +#: library/os.rst:5151 msgid "Miscellaneous System Information" msgstr "" -#: library/os.rst:5128 +#: library/os.rst:5156 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 " @@ -5536,13 +5576,13 @@ msgid "" "included in that mapping, passing an integer for *name* is also accepted." msgstr "" -#: library/os.rst:5136 +#: library/os.rst:5164 msgid "" "If the configuration value specified by *name* isn't defined, ``None`` is " "returned." msgstr "" -#: library/os.rst:5139 +#: library/os.rst:5167 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 " @@ -5550,33 +5590,33 @@ msgid "" "`errno.EINVAL` for the error number." msgstr "" -#: library/os.rst:5149 +#: library/os.rst:5177 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:5158 +#: library/os.rst:5186 msgid "" "Return the number of CPUs in the system. Returns ``None`` if undetermined." msgstr "" -#: library/os.rst:5160 +#: library/os.rst:5188 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:5170 +#: library/os.rst:5198 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:5179 +#: library/os.rst:5207 msgid "" "Return integer-valued system configuration values. If the configuration " "value specified by *name* isn't defined, ``-1`` is returned. The comments " @@ -5585,44 +5625,44 @@ msgid "" "``sysconf_names``." msgstr "" -#: library/os.rst:5189 +#: library/os.rst:5217 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:5195 +#: library/os.rst:5223 msgid "Add ``'SC_MINSIGSTKSZ'`` name." msgstr "" -#: library/os.rst:5198 +#: library/os.rst:5226 msgid "" "The following data values are used to support path manipulation operations. " "These are defined for all platforms." msgstr "" -#: library/os.rst:5201 +#: library/os.rst:5229 msgid "" "Higher-level operations on pathnames are defined in the :mod:`os.path` " "module." msgstr "" -#: library/os.rst:5207 +#: library/os.rst:5235 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:5215 +#: library/os.rst:5243 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:5224 +#: library/os.rst:5252 msgid "" "The character used by the operating system to separate pathname components. " "This is ``'/'`` for POSIX and ``'\\\\'`` for Windows. Note that knowing " @@ -5631,7 +5671,7 @@ msgid "" "useful. Also available via :mod:`os.path`." msgstr "" -#: library/os.rst:5234 +#: library/os.rst:5262 msgid "" "An alternative character used by the operating system to separate pathname " "components, or ``None`` if only one separator character exists. This is set " @@ -5639,27 +5679,27 @@ msgid "" "via :mod:`os.path`." msgstr "" -#: library/os.rst:5243 +#: library/os.rst:5271 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:5251 +#: library/os.rst:5279 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:5258 +#: library/os.rst:5286 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:5265 +#: library/os.rst:5293 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 " @@ -5668,36 +5708,36 @@ msgid "" "default); use a single ``'\\n'`` instead, on all platforms." msgstr "" -#: library/os.rst:5274 +#: library/os.rst:5302 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:5285 +#: library/os.rst:5313 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:5293 +#: library/os.rst:5321 msgid "Random numbers" msgstr "" -#: library/os.rst:5298 +#: library/os.rst:5326 msgid "" "Get up to *size* random bytes. The function can return less bytes than " "requested." msgstr "" -#: library/os.rst:5301 +#: library/os.rst:5329 msgid "" "These bytes can be used to seed user-space random number generators or for " "cryptographic purposes." msgstr "" -#: library/os.rst:5304 +#: library/os.rst:5332 msgid "" "``getrandom()`` relies on entropy gathered from device drivers and other " "sources of environmental noise. Unnecessarily reading large quantities of " @@ -5705,36 +5745,36 @@ msgid "" "``/dev/urandom`` devices." msgstr "" -#: library/os.rst:5309 +#: library/os.rst:5337 msgid "" "The flags argument is a bit mask that can contain zero or more of the " "following values ORed together: :py:const:`os.GRND_RANDOM` and :py:data:" "`GRND_NONBLOCK`." msgstr "" -#: library/os.rst:5313 +#: library/os.rst:5341 msgid "" "See also the `Linux getrandom() manual page `_." msgstr "" -#: library/os.rst:5316 +#: library/os.rst:5344 msgid ":ref:`Availability `: Linux >= 3.17." msgstr "" -#: library/os.rst:5322 +#: library/os.rst:5350 msgid "" "Return a bytestring of *size* random bytes suitable for cryptographic use." msgstr "" -#: library/os.rst:5324 +#: library/os.rst:5352 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:5328 +#: library/os.rst:5356 msgid "" "On Linux, if the ``getrandom()`` syscall is available, it is used in " "blocking mode: block until the system urandom entropy pool is initialized " @@ -5744,63 +5784,63 @@ msgid "" "to poll until the system urandom entropy pool is initialized." msgstr "" -#: library/os.rst:5335 +#: library/os.rst:5363 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:5339 +#: library/os.rst:5367 msgid "On Windows, it will use ``BCryptGenRandom()``." msgstr "" -#: library/os.rst:5342 +#: library/os.rst:5370 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:5346 +#: library/os.rst:5374 msgid "" "On Linux, ``getrandom()`` is now used in blocking mode to increase the " "security." msgstr "" -#: library/os.rst:5350 +#: library/os.rst:5378 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:5354 +#: library/os.rst:5382 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:5360 +#: library/os.rst:5388 msgid "" "On Windows, ``BCryptGenRandom()`` is used instead of ``CryptGenRandom()`` " "which is deprecated." msgstr "" -#: library/os.rst:5366 +#: library/os.rst:5394 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:5370 +#: library/os.rst:5398 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:5377 +#: library/os.rst:5405 msgid "" "If this bit is set, then random bytes are drawn from the ``/dev/" "random`` pool instead of the ``/dev/urandom`` pool." @@ -5814,7 +5854,7 @@ msgstr "" msgid "effective id" msgstr "" -#: library/os.rst:438 library/os.rst:456 library/os.rst:666 library/os.rst:4217 +#: library/os.rst:438 library/os.rst:456 library/os.rst:666 library/os.rst:4245 msgid "process" msgstr "" @@ -5898,46 +5938,46 @@ msgstr "" msgid "traversal" msgstr "" -#: library/os.rst:4217 +#: library/os.rst:4245 msgid "killing" msgstr "" -#: library/os.rst:4217 +#: library/os.rst:4245 msgid "signalling" msgstr "" -#: library/os.rst:5240 +#: library/os.rst:5268 msgid ". (dot)" msgstr "" -#: library/os.rst:5212 library/os.rst:5231 library/os.rst:5240 +#: library/os.rst:5240 library/os.rst:5259 library/os.rst:5268 msgid "in pathnames" msgstr "" -#: library/os.rst:5212 +#: library/os.rst:5240 msgid ".." msgstr "" -#: library/os.rst:5231 +#: library/os.rst:5259 msgid "/ (slash)" msgstr "" -#: library/os.rst:5221 +#: library/os.rst:5249 msgid "\\ (backslash)" msgstr "" -#: library/os.rst:5221 +#: library/os.rst:5249 msgid "in pathnames (Windows)" msgstr "" -#: library/os.rst:5247 +#: library/os.rst:5275 msgid ": (colon)" msgstr "" -#: library/os.rst:5247 +#: library/os.rst:5275 msgid "path separator (POSIX)" msgstr "" -#: library/os.rst:5247 +#: library/os.rst:5275 msgid "; (semicolon)" msgstr "" diff --git a/library/re.po b/library/re.po index 4789dadf6..d3ec6158f 100644 --- a/library/re.po +++ b/library/re.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -910,8 +910,9 @@ msgstr "" #: library/re.rst:662 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}'``)." +"The :samp:`'\\\\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:670 diff --git a/library/symtable.po b/library/symtable.po index 358c281ea..7d3e8d6ee 100644 --- a/library/symtable.po +++ b/library/symtable.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-12-17 01:28+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -54,169 +54,181 @@ msgstr "" #: library/symtable.rst:40 msgid "" "Return the type of the symbol table. Possible values are ``'class'``, " -"``'module'``, and ``'function'``." +"``'module'``, ``'function'``, ``'annotation'``, ``'TypeVar bound'``, ``'type " +"alias'``, and ``'type parameter'``. The latter four refer to different " +"flavors of :ref:`annotation scopes `." msgstr "" #: library/symtable.rst:45 +msgid "" +"Added ``'annotation'``, ``'TypeVar bound'``, ``'type alias'``, and ``'type " +"parameter'`` as possible return values." +msgstr "" + +#: library/symtable.rst:51 msgid "Return the table's identifier." msgstr "" -#: library/symtable.rst:49 +#: library/symtable.rst:55 msgid "" "Return the table's name. This is the name of the class if the table is for " "a class, the name of the function if the table is for a function, or " -"``'top'`` if the table is global (:meth:`get_type` returns ``'module'``)." +"``'top'`` if the table is global (:meth:`get_type` returns ``'module'``). " +"For type parameter scopes (which are used for generic classes, functions, " +"and type aliases), it is the name of the underlying class, function, or type " +"alias. For type alias scopes, it is the name of the type alias. For :class:" +"`~typing.TypeVar` bound scopes, it is the name of the ``TypeVar``." msgstr "" -#: library/symtable.rst:55 +#: library/symtable.rst:65 msgid "Return the number of the first line in the block this table represents." msgstr "" -#: library/symtable.rst:59 +#: library/symtable.rst:69 msgid "Return ``True`` if the locals in this table can be optimized." msgstr "" -#: library/symtable.rst:63 +#: library/symtable.rst:73 msgid "Return ``True`` if the block is a nested class or function." msgstr "" -#: library/symtable.rst:67 +#: library/symtable.rst:77 msgid "" "Return ``True`` if the block has nested namespaces within it. These can be " "obtained with :meth:`get_children`." msgstr "" -#: library/symtable.rst:72 +#: library/symtable.rst:82 msgid "" "Return a view object containing the names of symbols in the table. See the :" "ref:`documentation of view objects `." msgstr "" -#: library/symtable.rst:77 +#: library/symtable.rst:87 msgid "Lookup *name* in the table and return a :class:`Symbol` instance." msgstr "" -#: library/symtable.rst:81 +#: library/symtable.rst:91 msgid "Return a list of :class:`Symbol` instances for names in the table." msgstr "" -#: library/symtable.rst:85 +#: library/symtable.rst:95 msgid "Return a list of the nested symbol tables." msgstr "" -#: library/symtable.rst:90 +#: library/symtable.rst:100 msgid "" "A namespace for a function or method. This class inherits :class:" "`SymbolTable`." msgstr "" -#: library/symtable.rst:95 +#: library/symtable.rst:105 msgid "Return a tuple containing names of parameters to this function." msgstr "" -#: library/symtable.rst:99 +#: library/symtable.rst:109 msgid "Return a tuple containing names of locals in this function." msgstr "" -#: library/symtable.rst:103 +#: library/symtable.rst:113 msgid "Return a tuple containing names of globals in this function." msgstr "" -#: library/symtable.rst:107 +#: library/symtable.rst:117 msgid "Return a tuple containing names of nonlocals in this function." msgstr "" -#: library/symtable.rst:111 +#: library/symtable.rst:121 msgid "Return a tuple containing names of free variables in this function." msgstr "" -#: library/symtable.rst:116 +#: library/symtable.rst:126 msgid "A namespace of a class. This class inherits :class:`SymbolTable`." msgstr "" -#: library/symtable.rst:120 +#: library/symtable.rst:130 msgid "Return a tuple containing the names of methods declared in the class." msgstr "" -#: library/symtable.rst:125 +#: library/symtable.rst:135 msgid "" "An entry in a :class:`SymbolTable` corresponding to an identifier in the " "source. The constructor is not public." msgstr "" -#: library/symtable.rst:130 +#: library/symtable.rst:140 msgid "Return the symbol's name." msgstr "" -#: library/symtable.rst:134 +#: library/symtable.rst:144 msgid "Return ``True`` if the symbol is used in its block." msgstr "" -#: library/symtable.rst:138 +#: library/symtable.rst:148 msgid "Return ``True`` if the symbol is created from an import statement." msgstr "" -#: library/symtable.rst:142 +#: library/symtable.rst:152 msgid "Return ``True`` if the symbol is a parameter." msgstr "" -#: library/symtable.rst:146 +#: library/symtable.rst:156 msgid "Return ``True`` if the symbol is global." msgstr "" -#: library/symtable.rst:150 +#: library/symtable.rst:160 msgid "Return ``True`` if the symbol is nonlocal." msgstr "" -#: library/symtable.rst:154 +#: library/symtable.rst:164 msgid "" "Return ``True`` if the symbol is declared global with a global statement." msgstr "" -#: library/symtable.rst:158 +#: library/symtable.rst:168 msgid "Return ``True`` if the symbol is local to its block." msgstr "" -#: library/symtable.rst:162 +#: library/symtable.rst:172 msgid "Return ``True`` if the symbol is annotated." msgstr "" -#: library/symtable.rst:168 +#: library/symtable.rst:178 msgid "" "Return ``True`` if the symbol is referenced in its block, but not assigned " "to." msgstr "" -#: library/symtable.rst:173 +#: library/symtable.rst:183 msgid "Return ``True`` if the symbol is assigned to in its block." msgstr "" -#: library/symtable.rst:177 +#: library/symtable.rst:187 msgid "Return ``True`` if name binding introduces new namespace." msgstr "" -#: library/symtable.rst:179 +#: library/symtable.rst:189 msgid "" "If the name is used as the target of a function or class statement, this " "will be true." msgstr "" -#: library/symtable.rst:182 +#: library/symtable.rst:192 msgid "For example::" msgstr "" -#: library/symtable.rst:188 +#: library/symtable.rst:198 msgid "" "Note that a single name can be bound to multiple objects. If the result is " "``True``, the name may also be bound to other objects, like an int or list, " "that does not introduce a new namespace." msgstr "" -#: library/symtable.rst:194 +#: library/symtable.rst:204 msgid "Return a list of namespaces bound to this name." msgstr "" -#: library/symtable.rst:198 +#: library/symtable.rst:208 msgid "" "Return the namespace bound to this name. If more than one or no namespace is " "bound to this name, a :exc:`ValueError` is raised." diff --git a/library/sys.po b/library/sys.po index 108422265..36e038551 100644 --- a/library/sys.po +++ b/library/sys.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -940,7 +940,7 @@ msgstr "" msgid "" "Return the current value of the flags that are used for :c:func:`dlopen` " "calls. Symbolic names for the flag values can be found in the :mod:`os` " -"module (``RTLD_xxx`` constants, e.g. :const:`os.RTLD_LAZY`)." +"module (:samp:`RTLD_{xxx}` constants, e.g. :const:`os.RTLD_LAZY`)." msgstr "" #: library/sys.rst:1447 @@ -1795,8 +1795,8 @@ msgid "" "enable a lazy resolving of symbols when importing a module, if called as " "``sys.setdlopenflags(0)``. To share symbols across extension modules, call " "as ``sys.setdlopenflags(os.RTLD_GLOBAL)``. Symbolic names for the flag " -"values can be found in the :mod:`os` module (``RTLD_xxx`` constants, e.g. :" -"const:`os.RTLD_LAZY`)." +"values can be found in the :mod:`os` module (:samp:`RTLD_{xxx}` constants, e." +"g. :const:`os.RTLD_LAZY`)." msgstr "" #: library/sys.rst:1451 diff --git a/library/urllib.parse.po b/library/urllib.parse.po index 108f134ff..09e573270 100644 --- a/library/urllib.parse.po +++ b/library/urllib.parse.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -690,11 +690,11 @@ msgstr "" #: library/urllib.parse.rst:601 msgid "" -"Replace special characters in *string* using the ``%xx`` escape. Letters, " -"digits, and the characters ``'_.-~'`` are never quoted. By default, this " -"function is intended for quoting the path section of a URL. The optional " -"*safe* parameter specifies additional ASCII characters that should not be " -"quoted --- its default value is ``'/'``." +"Replace special characters in *string* using the :samp:`%{xx}` escape. " +"Letters, digits, and the characters ``'_.-~'`` are never quoted. By default, " +"this function is intended for quoting the path section of a URL. The " +"optional *safe* parameter specifies additional ASCII characters that should " +"not be quoted --- its default value is ``'/'``." msgstr "" #: library/urllib.parse.rst:653 library/urllib.parse.rst:682 @@ -751,10 +751,10 @@ msgstr "" #: library/urllib.parse.rst:648 msgid "" -"Replace ``%xx`` escapes with their single-character equivalent. The optional " -"*encoding* and *errors* parameters specify how to decode percent-encoded " -"sequences into Unicode characters, as accepted by the :meth:`bytes.decode` " -"method." +"Replace :samp:`%{xx}` escapes with their single-character equivalent. The " +"optional *encoding* and *errors* parameters specify how to decode percent-" +"encoded sequences into Unicode characters, as accepted by the :meth:`bytes." +"decode` method." msgstr "" #: library/urllib.parse.rst:655 @@ -788,8 +788,8 @@ msgstr "" #: library/urllib.parse.rst:679 msgid "" -"Replace ``%xx`` escapes with their single-octet equivalent, and return a :" -"class:`bytes` object." +"Replace :samp:`%{xx}` escapes with their single-octet equivalent, and return " +"a :class:`bytes` object." msgstr "" #: library/urllib.parse.rst:684 diff --git a/library/weakref.po b/library/weakref.po index f628c4bde..d21142603 100644 --- a/library/weakref.po +++ b/library/weakref.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-01 22:19+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -158,7 +158,7 @@ msgstr "" msgid "" "Exceptions raised by the callback will be noted on the standard error " "output, but cannot be propagated; they are handled in exactly the same way " -"as exceptions raised from an object's :meth:`__del__` method." +"as exceptions raised from an object's :meth:`~object.__del__` method." msgstr "" #: library/weakref.rst:116 @@ -282,21 +282,20 @@ msgstr "" #: 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." +"same issues as the :meth:`WeakKeyDictionary.keyrefs` method." msgstr "" -#: library/weakref.rst:230 +#: library/weakref.rst:229 msgid "Return an iterable of the weak references to the values." msgstr "" -#: library/weakref.rst:235 +#: library/weakref.rst:234 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:241 +#: library/weakref.rst:240 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). " @@ -305,13 +304,13 @@ msgid "" "method until either the object or the original function dies::" msgstr "" -#: library/weakref.rst:265 +#: library/weakref.rst:264 msgid "" "*callback* is the same as the parameter of the same name to the :func:`ref` " "function." msgstr "" -#: library/weakref.rst:271 +#: library/weakref.rst:270 msgid "" "Return a callable finalizer object which will be called when *obj* is " "garbage collected. Unlike an ordinary weak reference, a finalizer will " @@ -319,7 +318,7 @@ msgid "" "lifecycle management." msgstr "" -#: library/weakref.rst:276 +#: library/weakref.rst:275 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 " @@ -327,58 +326,58 @@ msgid "" "calling a dead finalizer returns :const:`None`." msgstr "" -#: library/weakref.rst:281 +#: library/weakref.rst:280 msgid "" "Exceptions raised by finalizer callbacks during garbage collection will be " "shown on the standard error output, but cannot be propagated. They are " -"handled in the same way as exceptions raised from an object's :meth:" -"`__del__` method or a weak reference's callback." +"handled in the same way as exceptions raised from an object's :meth:`~object." +"__del__` method or a weak reference's callback." msgstr "" -#: library/weakref.rst:287 +#: library/weakref.rst:286 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:291 +#: library/weakref.rst:290 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:297 +#: library/weakref.rst:296 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:303 +#: library/weakref.rst:302 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:309 +#: library/weakref.rst:308 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:314 +#: library/weakref.rst:313 msgid "Property which is true if the finalizer is alive, false otherwise." msgstr "" -#: library/weakref.rst:318 +#: library/weakref.rst:317 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:325 +#: library/weakref.rst:324 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* " @@ -386,60 +385,60 @@ msgid "" "bound method of *obj*." msgstr "" -#: library/weakref.rst:335 +#: library/weakref.rst:334 msgid "The type object for weak references objects." msgstr "" -#: library/weakref.rst:340 +#: library/weakref.rst:339 msgid "The type object for proxies of objects which are not callable." msgstr "" -#: library/weakref.rst:345 +#: library/weakref.rst:344 msgid "The type object for proxies of callable objects." msgstr "" -#: library/weakref.rst:350 +#: library/weakref.rst:349 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:358 +#: library/weakref.rst:357 msgid ":pep:`205` - Weak References" msgstr "" -#: library/weakref.rst:358 +#: library/weakref.rst:357 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:365 +#: library/weakref.rst:364 msgid "Weak Reference Objects" msgstr "" -#: library/weakref.rst:367 +#: library/weakref.rst:366 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:381 +#: library/weakref.rst:380 msgid "" "If the referent no longer exists, calling the reference object returns :" "const:`None`:" msgstr "" -#: library/weakref.rst:388 +#: library/weakref.rst:387 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:401 +#: library/weakref.rst:400 msgid "" "Using a separate test for \"liveness\" creates race conditions in threaded " "applications; another thread can cause a weak reference to become " @@ -447,7 +446,7 @@ msgid "" "safe in threaded applications as well as single-threaded applications." msgstr "" -#: library/weakref.rst:406 +#: library/weakref.rst:405 msgid "" "Specialized versions of :class:`ref` objects can be created through " "subclassing. This is used in the implementation of the :class:" @@ -457,18 +456,18 @@ msgid "" "to retrieve the referent." msgstr "" -#: library/weakref.rst:412 +#: library/weakref.rst:411 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:439 +#: library/weakref.rst:438 msgid "Example" msgstr "" -#: library/weakref.rst:441 +#: library/weakref.rst:440 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 " @@ -476,103 +475,103 @@ msgid "" "objects can still be retrieved by ID if they do." msgstr "" -#: library/weakref.rst:466 +#: library/weakref.rst:465 msgid "Finalizer Objects" msgstr "" -#: library/weakref.rst:468 +#: library/weakref.rst:467 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:482 +#: library/weakref.rst:481 msgid "" "The finalizer can be called directly as well. However the finalizer will " "invoke the callback at most once." msgstr "" -#: library/weakref.rst:498 +#: library/weakref.rst:497 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:512 +#: library/weakref.rst:511 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:527 -msgid "Comparing finalizers with :meth:`__del__` methods" +#: library/weakref.rst:526 +msgid "Comparing finalizers with :meth:`~object.__del__` methods" msgstr "" -#: library/weakref.rst:529 +#: library/weakref.rst:528 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:533 +#: library/weakref.rst:532 msgid "the object is garbage collected," msgstr "" -#: library/weakref.rst:534 -msgid "the object's :meth:`remove` method is called, or" +#: library/weakref.rst:533 +msgid "the object's :meth:`!remove` method is called, or" msgstr "" -#: library/weakref.rst:535 +#: library/weakref.rst:534 msgid "the program exits." msgstr "" -#: library/weakref.rst:537 +#: library/weakref.rst:536 msgid "" -"We might try to implement the class using a :meth:`__del__` method as " -"follows::" +"We might try to implement the class using a :meth:`~object.__del__` method " +"as follows::" msgstr "" -#: library/weakref.rst:556 +#: library/weakref.rst:555 msgid "" -"Starting with Python 3.4, :meth:`__del__` methods no longer prevent " +"Starting with Python 3.4, :meth:`~object.__del__` methods no longer prevent " "reference cycles from being garbage collected, and module globals are no " "longer forced to :const:`None` during :term:`interpreter shutdown`. So this " "code should work without any issues on CPython." msgstr "" -#: library/weakref.rst:561 +#: library/weakref.rst:560 msgid "" -"However, handling of :meth:`__del__` methods is notoriously implementation " -"specific, since it depends on internal details of the interpreter's garbage " -"collector implementation." +"However, handling of :meth:`~object.__del__` methods is notoriously " +"implementation specific, since it depends on internal details of the " +"interpreter's garbage collector implementation." msgstr "" -#: library/weakref.rst:565 +#: library/weakref.rst:564 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:581 +#: library/weakref.rst:580 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:585 +#: library/weakref.rst:584 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:597 +#: library/weakref.rst:596 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/xml.etree.elementtree.po b/library/xml.etree.elementtree.po index 6ba0b185b..2fd48c493 100644 --- a/library/xml.etree.elementtree.po +++ b/library/xml.etree.elementtree.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -35,7 +35,7 @@ msgid "This module will use a fast implementation whenever available." msgstr "" #: library/xml.etree.elementtree.rst:19 -msgid "The :mod:`xml.etree.cElementTree` module is deprecated." +msgid "The :mod:`!xml.etree.cElementTree` module is deprecated." msgstr "" #: library/xml.etree.elementtree.rst:25 @@ -659,7 +659,7 @@ msgid "" "present." msgstr "" -#: library/xml.etree.elementtree.rst:639 library/xml.etree.elementtree.rst:1473 +#: library/xml.etree.elementtree.rst:639 library/xml.etree.elementtree.rst:1478 msgid "If you need a fully populated element, look for \"end\" events instead." msgstr "" @@ -667,7 +667,7 @@ msgstr "" msgid "The *parser* argument." msgstr "" -#: library/xml.etree.elementtree.rst:644 library/xml.etree.elementtree.rst:1477 +#: library/xml.etree.elementtree.rst:644 library/xml.etree.elementtree.rst:1482 msgid "The ``comment`` and ``pi`` events were added." msgstr "" @@ -732,7 +732,7 @@ msgid "" msgstr "" #: library/xml.etree.elementtree.rst:705 library/xml.etree.elementtree.rst:732 -#: library/xml.etree.elementtree.rst:1184 +#: library/xml.etree.elementtree.rst:1189 msgid "The *short_empty_elements* parameter." msgstr "" @@ -839,7 +839,7 @@ msgstr "" msgid "The result might look something like:" msgstr "" -#: library/xml.etree.elementtree.rst:831 +#: library/xml.etree.elementtree.rst:833 msgid "" "Default loader. This default loader reads an included resource from disk. " "*href* is a URL. *parse* is for parse mode either \"xml\" or \"text\". " @@ -850,7 +850,7 @@ msgid "" "or raise an exception." msgstr "" -#: library/xml.etree.elementtree.rst:843 +#: library/xml.etree.elementtree.rst:845 msgid "" "This function expands XInclude directives. *elem* is the root element. " "*loader* is an optional resource loader. If omitted, it defaults to :func:" @@ -861,28 +861,28 @@ msgid "" "malicious content explosion. Pass a negative value to disable the limitation." msgstr "" -#: library/xml.etree.elementtree.rst:851 +#: library/xml.etree.elementtree.rst:853 msgid "" "Returns the expanded resource. If the parse mode is ``\"xml\"``, this is an " "ElementTree instance. If the parse mode is \"text\", this is a Unicode " "string. If the loader fails, it can return None or raise an exception." msgstr "" -#: library/xml.etree.elementtree.rst:856 +#: library/xml.etree.elementtree.rst:858 msgid "The *base_url* and *max_depth* parameters." msgstr "" -#: library/xml.etree.elementtree.rst:863 +#: library/xml.etree.elementtree.rst:865 msgid "Element Objects" msgstr "" -#: library/xml.etree.elementtree.rst:867 +#: library/xml.etree.elementtree.rst:872 msgid "" "Element class. This class defines the Element interface, and provides a " "reference implementation of this interface." msgstr "" -#: library/xml.etree.elementtree.rst:870 +#: library/xml.etree.elementtree.rst:875 msgid "" "The element name, attribute names, and attribute values can be either " "bytestrings or Unicode strings. *tag* is the element name. *attrib* is an " @@ -890,13 +890,13 @@ msgid "" "additional attributes, given as keyword arguments." msgstr "" -#: library/xml.etree.elementtree.rst:878 +#: library/xml.etree.elementtree.rst:883 msgid "" "A string identifying what kind of data this element represents (the element " "type, in other words)." msgstr "" -#: library/xml.etree.elementtree.rst:885 +#: library/xml.etree.elementtree.rst:890 msgid "" "These attributes can be used to hold additional data associated with the " "element. Their values are usually strings but may be any application-" @@ -907,7 +907,7 @@ msgid "" "the XML data" msgstr "" -#: library/xml.etree.elementtree.rst:897 +#: library/xml.etree.elementtree.rst:902 msgid "" "the *a* element has ``None`` for both *text* and *tail* attributes, the *b* " "element has *text* ``\"1\"`` and *tail* ``\"4\"``, the *c* element has " @@ -915,17 +915,17 @@ msgid "" "``None`` and *tail* ``\"3\"``." msgstr "" -#: library/xml.etree.elementtree.rst:902 +#: library/xml.etree.elementtree.rst:907 msgid "" "To collect the inner text of an element, see :meth:`itertext`, for example " "``\"\".join(element.itertext())``." msgstr "" -#: library/xml.etree.elementtree.rst:905 +#: library/xml.etree.elementtree.rst:910 msgid "Applications may store arbitrary objects in these attributes." msgstr "" -#: library/xml.etree.elementtree.rst:910 +#: library/xml.etree.elementtree.rst:915 msgid "" "A dictionary containing the element's attributes. Note that while the " "*attrib* value is always a real mutable Python dictionary, an ElementTree " @@ -934,59 +934,59 @@ msgid "" "implementations, use the dictionary methods below whenever possible." msgstr "" -#: library/xml.etree.elementtree.rst:916 +#: library/xml.etree.elementtree.rst:921 msgid "The following dictionary-like methods work on the element attributes." msgstr "" -#: library/xml.etree.elementtree.rst:921 +#: library/xml.etree.elementtree.rst:926 msgid "" "Resets an element. This function removes all subelements, clears all " "attributes, and sets the text and tail attributes to ``None``." msgstr "" -#: library/xml.etree.elementtree.rst:927 +#: library/xml.etree.elementtree.rst:932 msgid "Gets the element attribute named *key*." msgstr "" -#: library/xml.etree.elementtree.rst:929 +#: library/xml.etree.elementtree.rst:934 msgid "" "Returns the attribute value, or *default* if the attribute was not found." msgstr "" -#: library/xml.etree.elementtree.rst:934 +#: library/xml.etree.elementtree.rst:939 msgid "" "Returns the element attributes as a sequence of (name, value) pairs. The " "attributes are returned in an arbitrary order." msgstr "" -#: library/xml.etree.elementtree.rst:940 +#: library/xml.etree.elementtree.rst:945 msgid "" "Returns the elements attribute names as a list. The names are returned in " "an arbitrary order." msgstr "" -#: library/xml.etree.elementtree.rst:946 +#: library/xml.etree.elementtree.rst:951 msgid "Set the attribute *key* on the element to *value*." msgstr "" -#: library/xml.etree.elementtree.rst:948 +#: library/xml.etree.elementtree.rst:953 msgid "The following methods work on the element's children (subelements)." msgstr "" -#: library/xml.etree.elementtree.rst:953 +#: library/xml.etree.elementtree.rst:958 msgid "" "Adds the element *subelement* to the end of this element's internal list of " "subelements. Raises :exc:`TypeError` if *subelement* is not an :class:" "`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:960 +#: library/xml.etree.elementtree.rst:965 msgid "" "Appends *subelements* from a sequence object with zero or more elements. " "Raises :exc:`TypeError` if a subelement is not an :class:`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:968 +#: library/xml.etree.elementtree.rst:973 msgid "" "Finds the first subelement matching *match*. *match* may be a tag name or " "a :ref:`path `. Returns an element instance or " @@ -995,7 +995,7 @@ msgid "" "expression into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:977 +#: library/xml.etree.elementtree.rst:982 msgid "" "Finds all matching subelements, by tag name or :ref:`path `. Returns a list containing all matching elements in document " @@ -1004,7 +1004,7 @@ msgid "" "expression into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:986 +#: library/xml.etree.elementtree.rst:991 msgid "" "Finds text for the first subelement matching *match*. *match* may be a tag " "name or a :ref:`path `. Returns the text content of the " @@ -1015,13 +1015,13 @@ msgid "" "into the given namespace." msgstr "" -#: library/xml.etree.elementtree.rst:997 +#: library/xml.etree.elementtree.rst:1002 msgid "" "Inserts *subelement* at the given position in this element. Raises :exc:" "`TypeError` if *subelement* is not an :class:`Element`." msgstr "" -#: library/xml.etree.elementtree.rst:1003 +#: library/xml.etree.elementtree.rst:1008 msgid "" "Creates a tree :term:`iterator` with the current element as the root. The " "iterator iterates over this element and all elements below it, in document " @@ -1030,7 +1030,7 @@ msgid "" "structure is modified during iteration, the result is undefined." msgstr "" -#: library/xml.etree.elementtree.rst:1014 +#: library/xml.etree.elementtree.rst:1019 msgid "" "Finds all matching subelements, by tag name or :ref:`path `. Returns an iterable yielding all matching elements in document " @@ -1038,44 +1038,44 @@ msgid "" "name." msgstr "" -#: library/xml.etree.elementtree.rst:1025 +#: library/xml.etree.elementtree.rst:1030 msgid "" "Creates a text iterator. The iterator loops over this element and all " "subelements, in document order, and returns all inner text." msgstr "" -#: library/xml.etree.elementtree.rst:1033 +#: library/xml.etree.elementtree.rst:1038 msgid "" "Creates a new element object of the same type as this element. Do not call " "this method, use the :func:`SubElement` factory function instead." msgstr "" -#: library/xml.etree.elementtree.rst:1039 +#: library/xml.etree.elementtree.rst:1044 msgid "" "Removes *subelement* from the element. Unlike the find\\* methods this " "method compares elements based on the instance identity, not on tag value or " "contents." msgstr "" -#: library/xml.etree.elementtree.rst:1043 +#: library/xml.etree.elementtree.rst:1048 msgid "" ":class:`Element` objects also support the following sequence type methods " "for working with subelements: :meth:`~object.__delitem__`, :meth:`~object." "__getitem__`, :meth:`~object.__setitem__`, :meth:`~object.__len__`." msgstr "" -#: library/xml.etree.elementtree.rst:1048 +#: library/xml.etree.elementtree.rst:1053 msgid "" "Caution: Elements with no subelements will test as ``False``. Testing the " "truth value of an Element is deprecated and will raise an exception in " "Python 3.14. Use specific ``len(elem)`` or ``elem is None`` test instead.::" msgstr "" -#: library/xml.etree.elementtree.rst:1060 +#: library/xml.etree.elementtree.rst:1065 msgid "Testing the truth value of an Element emits :exc:`DeprecationWarning`." msgstr "" -#: library/xml.etree.elementtree.rst:1063 +#: library/xml.etree.elementtree.rst:1068 msgid "" "Prior to Python 3.8, the serialisation order of the XML attributes of " "elements was artificially made predictable by sorting the attributes by " @@ -1084,7 +1084,7 @@ msgid "" "attributes were originally parsed or created by user code." msgstr "" -#: library/xml.etree.elementtree.rst:1069 +#: library/xml.etree.elementtree.rst:1074 msgid "" "In general, user code should try not to depend on a specific ordering of " "attributes, given that the `XML Information Set `_ writer. Arguments are the " "same as for the :func:`canonicalize` function. This class does not build a " @@ -1320,11 +1320,11 @@ msgid "" "using the *write* function." msgstr "" -#: library/xml.etree.elementtree.rst:1348 +#: library/xml.etree.elementtree.rst:1353 msgid "XMLParser Objects" msgstr "" -#: library/xml.etree.elementtree.rst:1353 +#: library/xml.etree.elementtree.rst:1358 msgid "" "This class is the low-level building block of the module. It uses :mod:`xml." "parsers.expat` for efficient, event-based parsing of XML. It can be fed XML " @@ -1335,24 +1335,24 @@ msgid "" "XML file." msgstr "" -#: library/xml.etree.elementtree.rst:1361 +#: library/xml.etree.elementtree.rst:1366 msgid "" "Parameters are now :ref:`keyword-only `. The *html* " "argument no longer supported." msgstr "" -#: library/xml.etree.elementtree.rst:1368 +#: library/xml.etree.elementtree.rst:1373 msgid "" "Finishes feeding data to the parser. Returns the result of calling the " "``close()`` method of the *target* passed during construction; by default, " "this is the toplevel document element." msgstr "" -#: library/xml.etree.elementtree.rst:1375 +#: library/xml.etree.elementtree.rst:1380 msgid "Feeds data to the parser. *data* is encoded data." msgstr "" -#: library/xml.etree.elementtree.rst:1377 +#: library/xml.etree.elementtree.rst:1382 msgid "" ":meth:`XMLParser.feed` calls *target*\\'s ``start(tag, attrs_dict)`` method " "for each opening tag, its ``end(tag)`` method for each closing tag, and data " @@ -1363,11 +1363,11 @@ msgid "" "of an XML file::" msgstr "" -#: library/xml.etree.elementtree.rst:1421 +#: library/xml.etree.elementtree.rst:1426 msgid "XMLPullParser Objects" msgstr "" -#: library/xml.etree.elementtree.rst:1425 +#: library/xml.etree.elementtree.rst:1430 msgid "" "A pull parser suitable for non-blocking applications. Its input-side API is " "similar to that of :class:`XMLParser`, but instead of pushing calls to a " @@ -1379,11 +1379,11 @@ msgid "" "If *events* is omitted, only ``\"end\"`` events are reported." msgstr "" -#: library/xml.etree.elementtree.rst:1436 +#: library/xml.etree.elementtree.rst:1441 msgid "Feed the given bytes data to the parser." msgstr "" -#: library/xml.etree.elementtree.rst:1440 +#: library/xml.etree.elementtree.rst:1445 msgid "" "Signal the parser that the data stream is terminated. Unlike :meth:" "`XMLParser.close`, this method always returns :const:`None`. Any events not " @@ -1391,7 +1391,7 @@ msgid "" "`read_events`." msgstr "" -#: library/xml.etree.elementtree.rst:1447 +#: library/xml.etree.elementtree.rst:1452 msgid "" "Return an iterator over the events which have been encountered in the data " "fed to the parser. The iterator yields ``(event, elem)`` pairs, where " @@ -1400,25 +1400,25 @@ msgid "" "follows." msgstr "" -#: library/xml.etree.elementtree.rst:1453 +#: library/xml.etree.elementtree.rst:1458 msgid "``start``, ``end``: the current Element." msgstr "" -#: library/xml.etree.elementtree.rst:1454 +#: library/xml.etree.elementtree.rst:1459 msgid "``comment``, ``pi``: the current comment / processing instruction" msgstr "" -#: library/xml.etree.elementtree.rst:1455 +#: library/xml.etree.elementtree.rst:1460 msgid "" "``start-ns``: a tuple ``(prefix, uri)`` naming the declared namespace " "mapping." msgstr "" -#: library/xml.etree.elementtree.rst:1457 +#: library/xml.etree.elementtree.rst:1462 msgid "``end-ns``: :const:`None` (this may change in a future version)" msgstr "" -#: library/xml.etree.elementtree.rst:1459 +#: library/xml.etree.elementtree.rst:1464 msgid "" "Events provided in a previous call to :meth:`read_events` will not be " "yielded again. Events are consumed from the internal queue only when they " @@ -1427,7 +1427,7 @@ msgid "" "results." msgstr "" -#: library/xml.etree.elementtree.rst:1467 +#: library/xml.etree.elementtree.rst:1472 msgid "" ":class:`XMLPullParser` only guarantees that it has seen the \">\" character " "of a starting tag when it emits a \"start\" event, so the attributes are " @@ -1436,11 +1436,11 @@ msgid "" "be present." msgstr "" -#: library/xml.etree.elementtree.rst:1482 +#: library/xml.etree.elementtree.rst:1487 msgid "Exceptions" msgstr "" -#: library/xml.etree.elementtree.rst:1486 +#: library/xml.etree.elementtree.rst:1491 msgid "" "XML parse error, raised by the various parsing methods in this module when " "parsing fails. The string representation of an instance of this exception " @@ -1448,22 +1448,22 @@ msgid "" "following attributes available:" msgstr "" -#: library/xml.etree.elementtree.rst:1493 +#: library/xml.etree.elementtree.rst:1498 msgid "" "A numeric error code from the expat parser. See the documentation of :mod:" "`xml.parsers.expat` for the list of error codes and their meanings." msgstr "" -#: library/xml.etree.elementtree.rst:1498 +#: library/xml.etree.elementtree.rst:1503 msgid "" "A tuple of *line*, *column* numbers, specifying where the error occurred." msgstr "" -#: library/xml.etree.elementtree.rst:1501 +#: library/xml.etree.elementtree.rst:1506 msgid "Footnotes" msgstr "" -#: library/xml.etree.elementtree.rst:1502 +#: library/xml.etree.elementtree.rst:1507 msgid "" "The encoding string included in XML output should conform to the appropriate " "standards. For example, \"UTF-8\" is valid, but \"UTF8\" is not. See " diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 6953b48e2..68638b0e4 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -719,7 +719,7 @@ msgid "ASCII Vertical Tab (VT)" msgstr "" #: reference/lexical_analysis.rst:585 -msgid "``\\ooo``" +msgid ":samp:`\\\\\\\\{ooo}`" msgstr "" #: reference/lexical_analysis.rst:585 @@ -731,7 +731,7 @@ msgid "(2,4)" msgstr "" #: reference/lexical_analysis.rst:588 -msgid "``\\xhh``" +msgid ":samp:`\\\\x{hh}`" msgstr "" #: reference/lexical_analysis.rst:588 @@ -747,7 +747,7 @@ msgid "Escape sequences only recognized in string literals are:" msgstr "" #: reference/lexical_analysis.rst:596 -msgid "``\\N{name}``" +msgid ":samp:`\\\\N\\\\{{name}\\\\}`" msgstr "" #: reference/lexical_analysis.rst:596 @@ -759,7 +759,7 @@ msgid "\\(5)" msgstr "" #: reference/lexical_analysis.rst:599 -msgid "``\\uxxxx``" +msgid ":samp:`\\\\u{xxxx}`" msgstr "" #: reference/lexical_analysis.rst:599 @@ -771,7 +771,7 @@ msgid "\\(6)" msgstr "" #: reference/lexical_analysis.rst:602 -msgid "``\\Uxxxxxxxx``" +msgid ":samp:`\\\\U{xxxxxxxx}`" msgstr "" #: reference/lexical_analysis.rst:602 diff --git a/tutorial/controlflow.po b/tutorial/controlflow.po index 8d7268efc..2c0d499bb 100644 --- a/tutorial/controlflow.po +++ b/tutorial/controlflow.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: 2022-12-28 21:35+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -642,7 +642,7 @@ msgid "" "the object's type. Different types define different methods. Methods of " "different types may have the same name without causing ambiguity. (It is " "possible to define your own object types and methods, using *classes*, see :" -"ref:`tut-classes`) The method :meth:`~list.append` shown in the example is " +"ref:`tut-classes`) The method :meth:`!append` shown in the example is " "defined for list objects; it adds a new element at the end of the list. In " "this example it is equivalent to ``result = result + [a]``, but more " "efficient." @@ -1230,9 +1230,10 @@ msgstr "" "bakınız)." #: tutorial/controlflow.rst:1049 +#, fuzzy msgid "" -":term:`Annotations ` are stored in the :attr:" -"`__annotations__` attribute of the function as a dictionary and have no " +":term:`Annotations ` are stored in the :attr:`!" +"__annotations__` attribute of the function as a dictionary and have no " "effect on any other part of the function. Parameter annotations are defined " "by a colon after the parameter name, followed by an expression evaluating to " "the value of the annotation. Return annotations are defined by a literal ``-" diff --git a/using/configure.po b/using/configure.po index 51e1dc901..31aa1a9cc 100644 --- a/using/configure.po +++ b/using/configure.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -129,8 +129,8 @@ msgstr "" #: using/configure.rst:85 msgid "" -"Support loadable extensions in the :mod:`_sqlite` extension module (default " -"is no)." +"Support loadable extensions in the :mod:`!_sqlite` extension module (default " +"is no) of the :mod:`sqlite3` module." msgstr "" #: using/configure.rst:88 @@ -265,7 +265,7 @@ msgstr "" 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 :mod:`ensurepip." +"share/python-wheels/`` directory and don't install the :mod:`!ensurepip." "_bundled` package." msgstr "" @@ -365,7 +365,7 @@ msgstr "" #: using/configure.rst:260 msgid "" "Don't build nor install test modules, like the :mod:`test` package or the :" -"mod:`_testcapi` extension module (built and installed by default)." +"mod:`!_testcapi` extension module (built and installed by default)." msgstr "" #: using/configure.rst:267 @@ -547,7 +547,7 @@ msgid "Add ``d`` to :data:`sys.abiflags`." msgstr "" #: using/configure.rst:394 -msgid "Add :func:`sys.gettotalrefcount` function." +msgid "Add :func:`!sys.gettotalrefcount` function." msgstr "" #: using/configure.rst:395 @@ -612,7 +612,7 @@ msgstr "" #: using/configure.rst:416 msgid "" -"The :c:macro:`Py_SAFE_DOWNCAST()` macro checks for integer underflow and " +"The :c:macro:`!Py_SAFE_DOWNCAST()` macro checks for integer underflow and " "overflow when downcasting from wide types to narrow types." msgstr "" @@ -653,7 +653,7 @@ msgid "Define the ``Py_TRACE_REFS`` macro." msgstr "" #: using/configure.rst:444 -msgid "Add :func:`sys.getobjects` function." +msgid "Add :func:`!sys.getobjects` function." msgstr "" #: using/configure.rst:445 @@ -737,7 +737,7 @@ msgstr "" #: using/configure.rst:522 msgid "" -"Build the :mod:`pyexpat` module using an installed ``expat`` library " +"Build the :mod:`!pyexpat` module using an installed ``expat`` library " "(default is no)." msgstr "" @@ -1103,8 +1103,8 @@ msgstr "" #: using/configure.rst:772 msgid "" -"The :c:macro:`PyAPI_FUNC()`, :c:macro:`PyAPI_DATA()` and :c:macro:" -"`PyMODINIT_FUNC` macros of :file:`Include/pyport.h` are defined differently " +"The :c:macro:`!PyAPI_FUNC()`, :c:macro:`!PyAPI_DATA()` and :c:macro:" +"`PyMODINIT_FUNC` macros of :file:`Include/exports.h` are defined differently " "depending if the ``Py_BUILD_CORE_MODULE`` macro is defined:" msgstr "" @@ -1119,8 +1119,8 @@ msgstr "" #: using/configure.rst:779 msgid "" "If the ``Py_BUILD_CORE_BUILTIN`` macro is used by mistake on a C extension " -"built as a shared library, its ``PyInit_xxx()`` function is not exported, " -"causing an :exc:`ImportError` on import." +"built as a shared library, its :samp:`PyInit_{xxx}()` function is not " +"exported, causing an :exc:`ImportError` on import." msgstr "" #: using/configure.rst:785 @@ -1144,8 +1144,8 @@ msgstr "" #: using/configure.rst:801 msgid "" -"(Objective) C/C++ preprocessor flags, e.g. ``-I`` if you have " -"headers in a nonstandard directory ````." +"(Objective) C/C++ preprocessor flags, e.g. :samp:`-I{include_dir}` if you " +"have headers in a nonstandard directory *include_dir*." msgstr "" #: using/configure.rst:994 @@ -1360,8 +1360,8 @@ msgstr "" #: using/configure.rst:991 msgid "" -"Linker flags, e.g. ``-L`` if you have libraries in a nonstandard " -"directory ````." +"Linker flags, e.g. :samp:`-L{lib_dir}` if you have libraries in a " +"nonstandard directory *lib_dir*." msgstr "" #: using/configure.rst:1000 diff --git a/using/windows.po b/using/windows.po index b8088e89a..8700a42cf 100644 --- a/using/windows.po +++ b/using/windows.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -1438,8 +1438,8 @@ msgstr "" #: using/windows.rst:890 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." +"not provably i386/32-bit\". To request a specific environment, use the new :" +"samp:`-V:{TAG}` argument with the complete tag." msgstr "" #: using/windows.rst:894 @@ -1942,8 +1942,8 @@ msgstr "" #: using/windows.rst:1195 msgid "" -"Adds ``pythonXX.zip`` as a potential landmark when directly adjacent to the " -"executable." +"Adds :file:`python{XX}.zip` as a potential landmark when directly adjacent " +"to the executable." msgstr "" #: using/windows.rst:1201 diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index 555480249..461ee7f91 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -210,11 +210,11 @@ msgstr "" #: whatsnew/2.0.rst:155 msgid "" "In Python source code, Unicode strings are written as ``u\"string\"``. " -"Arbitrary Unicode characters can be written using a new escape sequence, " -"``\\uHHHH``, where *HHHH* is a 4-digit hexadecimal number from 0000 to " -"FFFF. The existing ``\\xHHHH`` escape sequence can also be used, and octal " -"escapes can be used for characters up to U+01FF, which is represented by " -"``\\777``." +"Arbitrary Unicode characters can be written using a new escape sequence, :" +"samp:`\\\\u{HHHH}`, where *HHHH* is a 4-digit hexadecimal number from 0000 " +"to FFFF. The existing :samp:`\\\\x{HH}` escape sequence can also be used, " +"and octal escapes can be used for characters up to U+01FF, which is " +"represented by ``\\777``." msgstr "" #: whatsnew/2.0.rst:161 diff --git a/whatsnew/2.3.po b/whatsnew/2.3.po index 4a02840a1..ff9926a89 100644 --- a/whatsnew/2.3.po +++ b/whatsnew/2.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2064,8 +2064,8 @@ msgid "" "The :c:macro:`!DL_EXPORT` and :c:macro:`!DL_IMPORT` macros are now " "deprecated. Initialization functions for Python extension modules should now " "be declared using the new macro :c:macro:`PyMODINIT_FUNC`, while the Python " -"core will generally use the :c:macro:`PyAPI_FUNC` and :c:macro:`PyAPI_DATA` " -"macros." +"core will generally use the :c:macro:`!PyAPI_FUNC` and :c:macro:`!" +"PyAPI_DATA` macros." msgstr "" #: whatsnew/2.3.rst:1894 diff --git a/whatsnew/2.6.po b/whatsnew/2.6.po index 46a541a2b..106cfa9a7 100644 --- a/whatsnew/2.6.po +++ b/whatsnew/2.6.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -128,7 +128,7 @@ msgstr "" #: whatsnew/2.6.rst:128 msgid "" -"The 3xxx series of PEPs, which contains proposals for Python 3.0. :pep:" +"The 3\\ *xxx* series of PEPs, which contains proposals for Python 3.0. :pep:" "`3000` describes the development process for Python 3.0. Start with :pep:" "`3100` that describes the general goals for Python 3.0, and then explore the " "higher-numbered PEPS that propose specific features." diff --git a/whatsnew/3.10.po b/whatsnew/3.10.po index 6b7dd8b9b..aefa032c2 100644 --- a/whatsnew/3.10.po +++ b/whatsnew/3.10.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -923,7 +923,7 @@ msgstr "" #: whatsnew/3.10.rst:880 msgid "" "A :exc:`SyntaxError` (instead of a :exc:`NameError`) will be raised when " -"deleting the :const:`__debug__` constant. (Contributed by Dong-hee Na in :" +"deleting the :const:`__debug__` constant. (Contributed by Donghee Na in :" "issue:`45000`.)" msgstr "" @@ -1456,7 +1456,7 @@ msgstr "" #: whatsnew/3.10.rst:1256 msgid "" "Add :const:`~os.O_EVTONLY`, :const:`~os.O_FSYNC`, :const:`~os.O_SYMLINK` " -"and :const:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Dong-hee Na in :" +"and :const:`~os.O_NOFOLLOW_ANY` for macOS. (Contributed by Donghee Na in :" "issue:`43106`.)" msgstr "" @@ -1952,7 +1952,7 @@ msgstr "" msgid "" "The following built-in functions now support the faster :pep:`590` " "vectorcall calling convention: :func:`map`, :func:`filter`, :func:" -"`reversed`, :func:`bool` and :func:`float`. (Contributed by Dong-hee Na and " +"`reversed`, :func:`bool` and :func:`float`. (Contributed by Donghee Na and " "Jeroen Demeyer in :issue:`43575`, :issue:`43287`, :issue:`41922`, :issue:" "`41873` and :issue:`41870`.)" msgstr "" @@ -2288,8 +2288,7 @@ msgid "" "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. (Contributed by Dong-hee Na and Terry J. Reedy in :issue:" -"`42299`.)" +"their code. (Contributed by Donghee Na and Terry J. Reedy in :issue:`42299`.)" msgstr "" #: whatsnew/3.10.rst:1822 diff --git a/whatsnew/3.11.po b/whatsnew/3.11.po index 705c836b8..bad49825a 100644 --- a/whatsnew/3.11.po +++ b/whatsnew/3.11.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -30,11 +30,9 @@ msgstr "" #: whatsnew/3.11.rst:47 msgid "" -"This article explains the new features in Python 3.11, compared to 3.10." -msgstr "" - -#: whatsnew/3.11.rst:49 -msgid "For full details, see the :ref:`changelog `." +"This article explains the new features in Python 3.11, compared to 3.10. " +"Python 3.11 was released on October 24, 2022. For full details, see the :ref:" +"`changelog `." msgstr "" #: whatsnew/3.11.rst:55 @@ -247,9 +245,10 @@ msgstr "" msgid "" "The copy of the :ref:`launcher` included with Python 3.11 has been " "significantly updated. It now supports company/tag syntax as defined in :pep:" -"`514` using the ``-V:/`` argument instead of the limited ``-" -".``. This allows launching distributions other than " -"``PythonCore``, the one hosted on `python.org `_." +"`514` using the :samp:`-V:{}/{}` argument instead of the " +"limited :samp:`-{}.{}`. This allows launching distributions " +"other than ``PythonCore``, the one hosted on `python.org `_." msgstr "" #: whatsnew/3.11.rst:225 @@ -262,14 +261,14 @@ msgstr "" #: whatsnew/3.11.rst:230 msgid "" -"When using the legacy ``-``, ``-.``, ``--" -"`` or ``-.-`` arguments, all existing " -"behaviour should be preserved from past versions, and only releases from " -"``PythonCore`` will be selected. However, the ``-64`` suffix now implies " -"\"not 32-bit\" (not necessarily x86-64), as there are multiple supported 64-" -"bit platforms. 32-bit runtimes are detected by checking the runtime's tag " -"for a ``-32`` suffix. All releases of Python since 3.5 have included this in " -"their 32-bit builds." +"When using the legacy :samp:`-{}`, :samp:`-{}.{}`, :" +"samp:`-{}-{}` or :samp:`-{}.{}-{}` " +"arguments, all existing behaviour should be preserved from past versions, " +"and only releases from ``PythonCore`` will be selected. However, the ``-64`` " +"suffix now implies \"not 32-bit\" (not necessarily x86-64), as there are " +"multiple supported 64-bit platforms. 32-bit runtimes are detected by " +"checking the runtime's tag for a ``-32`` suffix. All releases of Python " +"since 3.5 have included this in their 32-bit builds." msgstr "" #: whatsnew/3.11.rst:244 @@ -537,7 +536,7 @@ msgid "" "The special methods :meth:`~object.__complex__` for :class:`complex` and :" "meth:`~object.__bytes__` for :class:`bytes` are implemented to support the :" "class:`typing.SupportsComplex` and :class:`typing.SupportsBytes` protocols. " -"(Contributed by Mark Dickinson and Dong-hee Na in :issue:`24234`.)" +"(Contributed by Mark Dickinson and Donghee Na in :issue:`24234`.)" msgstr "" #: whatsnew/3.11.rst:504 @@ -1036,7 +1035,7 @@ msgstr "" #: whatsnew/3.11.rst:898 msgid "" "On Windows, :func:`os.urandom` now uses ``BCryptGenRandom()``, instead of " -"``CryptGenRandom()`` which is deprecated. (Contributed by Dong-hee Na in :" +"``CryptGenRandom()`` which is deprecated. (Contributed by Donghee Na in :" "issue:`44611`.)" msgstr "" @@ -1271,8 +1270,9 @@ msgid "" "on `high-resolution timers `_ which has a resolution of " "100 nanoseconds (10\\ :sup:`-7` seconds). Previously, it had a resolution of " -"1 millisecond (10\\ :sup:`-3` seconds). (Contributed by Benjamin Szőke, Dong-" -"hee Na, Eryk Sun and Victor Stinner in :issue:`21302` and :issue:`45429`.)" +"1 millisecond (10\\ :sup:`-3` seconds). (Contributed by Benjamin Szőke, " +"Donghee Na, Eryk Sun and Victor Stinner in :issue:`21302` and :issue:" +"`45429`.)" msgstr "" #: whatsnew/3.11.rst:1098 @@ -1564,7 +1564,7 @@ msgstr "" #: whatsnew/3.11.rst:1306 msgid "" ":func:`unicodedata.normalize` now normalizes pure-ASCII strings in constant " -"time. (Contributed by Dong-hee Na in :issue:`44987`.)" +"time. (Contributed by Donghee Na in :issue:`44987`.)" msgstr "" #: whatsnew/3.11.rst:1314 @@ -1792,7 +1792,7 @@ msgid "10%" msgstr "" #: whatsnew/3.11.rst:1454 -msgid "Mark Shannon, Dong-hee Na, Brandt Bucher, Dennis Sweeney" +msgid "Mark Shannon, Donghee Na, Brandt Bucher, Dennis Sweeney" msgstr "" #: whatsnew/3.11.rst:1460 @@ -2628,7 +2628,7 @@ msgstr "" msgid "" ":class:`!webbrowser.MacOSX` is deprecated and will be removed in Python " "3.13. It is untested, undocumented, and not used by :mod:`webbrowser` " -"itself. (Contributed by Dong-hee Na in :issue:`42255`.)" +"itself. (Contributed by Donghee Na in :issue:`42255`.)" msgstr "" #: whatsnew/3.11.rst:1844 @@ -3035,7 +3035,7 @@ msgid "" "output_charset` and :meth:`!NullTranslations.set_output_charset` methods, " "and the *codeset* parameter of :func:`!translation` and :func:`!install`, " "since they are only used for the :func:`!l*gettext` functions. (Contributed " -"by Dong-hee Na and Serhiy Storchaka in :issue:`44235`.)" +"by Donghee Na and Serhiy Storchaka in :issue:`44235`.)" msgstr "" #: whatsnew/3.11.rst:1989 @@ -3077,7 +3077,7 @@ msgstr "" msgid "" "Removed the :class:`!MailmanProxy` class in the :mod:`smtpd` module, as it " "is unusable without the external :mod:`!mailman` package. (Contributed by " -"Dong-hee Na in :issue:`35800`.)" +"Donghee Na in :issue:`35800`.)" msgstr "" #: whatsnew/3.11.rst:2014 @@ -3279,7 +3279,7 @@ msgstr "" msgid "" "CPython can now be built with the `ThinLTO `_ option via passing ``thin`` to :option:`--with-lto`, i.e. " -"``--with-lto=thin``. (Contributed by Dong-hee Na and Brett Holman in :issue:" +"``--with-lto=thin``. (Contributed by Donghee Na and Brett Holman in :issue:" "`44340`.)" msgstr "" diff --git a/whatsnew/3.12.po b/whatsnew/3.12.po index 4c8acebcd..ed084a710 100644 --- a/whatsnew/3.12.po +++ b/whatsnew/3.12.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -21,157 +21,339 @@ msgid "What's New In Python 3.12" msgstr "" #: whatsnew/3.12.rst:0 -msgid "Release" +msgid "Editor" msgstr "" #: whatsnew/3.12.rst:6 -msgid "|release|" +msgid "Adam Turner" msgstr "" -#: whatsnew/3.12.rst:0 -msgid "Date" +#: whatsnew/3.12.rst:48 +msgid "" +"This article explains the new features in Python 3.12, compared to 3.11. " +"Python 3.12 will be released on October 2, 2023. For full details, see the :" +"ref:`changelog `." +msgstr "" + +#: whatsnew/3.12.rst:54 +msgid ":pep:`693` -- Python 3.12 Release Schedule" msgstr "" -#: whatsnew/3.12.rst:7 -msgid "|today|" +#: whatsnew/3.12.rst:57 +msgid "Summary -- Release highlights" msgstr "" -#: whatsnew/3.12.rst:49 +#: whatsnew/3.12.rst:62 msgid "" -"This article explains the new features in Python 3.12, compared to 3.11." +"Python 3.12 is the latest stable release of the Python programming language, " +"with a mix of changes to the language and the standard library. The library " +"changes focus on cleaning up deprecated APIs, usability, and correctness. Of " +"note, the :mod:`!distutils` package has been removed from the standard " +"library. Filesystem support in :mod:`os` and :mod:`pathlib` has seen a " +"number of improvements, and several modules have better performance." msgstr "" -#: whatsnew/3.12.rst:51 -msgid "For full details, see the :ref:`changelog `." +#: whatsnew/3.12.rst:69 +msgid "" +"The language changes focus on usability, as :term:`f-strings ` " +"have had many limitations removed and 'Did you mean ...' suggestions " +"continue to improve. The new :ref:`type parameter syntax ` and :keyword:`type` statement improve ergonomics for using :term:" +"`generic types ` and :term:`type aliases ` with " +"static type checkers." msgstr "" -#: whatsnew/3.12.rst:55 +#: whatsnew/3.12.rst:76 msgid "" -"Prerelease users should be aware that this document is currently in draft " -"form. It will be updated substantially as Python 3.12 moves towards release, " -"so it's worth checking back even after reading earlier versions." +"This article doesn't attempt to provide a complete specification of all new " +"features, but instead gives a convenient overview. For full details, you " +"should refer to the documentation, such as the :ref:`Library Reference " +"` and :ref:`Language Reference `. If you " +"want to understand the complete implementation and design rationale for a " +"change, refer to the PEP for a particular new feature; but note that PEPs " +"usually are not kept up-to-date once a feature has been fully implemented." msgstr "" -#: whatsnew/3.12.rst:61 -msgid "Summary -- Release highlights" +#: whatsnew/3.12.rst:90 +msgid "New syntax features:" msgstr "" -#: whatsnew/3.12.rst:69 +#: whatsnew/3.12.rst:92 +msgid "" +":ref:`PEP 695 `, type parameter syntax and the :keyword:" +"`type` statement" +msgstr "" + +#: whatsnew/3.12.rst:94 msgid "New grammar features:" msgstr "" -#: whatsnew/3.12.rst:71 -msgid ":ref:`whatsnew312-pep701`" +#: whatsnew/3.12.rst:96 +msgid "" +":ref:`PEP 701 `, :term:`f-strings ` in the " +"grammar" msgstr "" -#: whatsnew/3.12.rst:73 +#: whatsnew/3.12.rst:98 msgid "Interpreter improvements:" msgstr "" -#: whatsnew/3.12.rst:75 -msgid ":ref:`whatsnew312-pep684`" +#: whatsnew/3.12.rst:100 +msgid "" +":ref:`PEP 684 `, a unique per-interpreter :term:`GIL " +"`" msgstr "" -#: whatsnew/3.12.rst:77 -msgid ":ref:`whatsnew312-pep669`" +#: whatsnew/3.12.rst:102 +msgid ":ref:`PEP 669 `, low impact monitoring" msgstr "" -#: whatsnew/3.12.rst:79 -msgid "New typing features:" +#: whatsnew/3.12.rst:103 +msgid "" +"`Improved 'Did you mean ...' suggestions `_ for :" +"exc:`NameError`, :exc:`ImportError`, and :exc:`SyntaxError` exceptions" msgstr "" -#: whatsnew/3.12.rst:81 -msgid ":ref:`whatsnew312-pep688`" +#: whatsnew/3.12.rst:106 +msgid "Python data model improvements:" msgstr "" -#: whatsnew/3.12.rst:83 -msgid ":ref:`whatsnew312-pep692`" +#: whatsnew/3.12.rst:108 +msgid "" +":ref:`PEP 688 `, using the :ref:`buffer protocol " +"` from Python" msgstr "" -#: whatsnew/3.12.rst:85 -msgid ":ref:`whatsnew312-pep695`" +#: whatsnew/3.12.rst:111 +msgid "Significant improvements in the standard library:" msgstr "" -#: whatsnew/3.12.rst:87 -msgid ":ref:`whatsnew312-pep698`" +#: whatsnew/3.12.rst:113 +msgid "The :class:`pathlib.Path` class now supports subclassing" msgstr "" -#: whatsnew/3.12.rst:89 -msgid "Important deprecations, removals or restrictions:" +#: whatsnew/3.12.rst:114 +msgid "The :mod:`os` module received several improvements for Windows support" msgstr "" -#: whatsnew/3.12.rst:91 -msgid ":pep:`623`: Remove wstr from Unicode" +#: whatsnew/3.12.rst:115 +msgid "" +"A :ref:`command-line interface ` has been added to the :mod:" +"`sqlite3` module" msgstr "" -#: whatsnew/3.12.rst:93 +#: whatsnew/3.12.rst:117 msgid "" -":pep:`632`: Remove the ``distutils`` package. See `the migration guide " -"`_ for advice on its " -"replacement." +":func:`isinstance` checks against :func:`runtime-checkable protocols ` enjoy a speed up of between two and 20 times" msgstr "" -#: whatsnew/3.12.rst:98 -msgid "Improved Error Messages" +#: whatsnew/3.12.rst:119 +msgid "" +"The :mod:`asyncio` package has had a number of performance improvements, " +"with some benchmarks showing a 75% speed up." msgstr "" -#: whatsnew/3.12.rst:100 +#: whatsnew/3.12.rst:121 msgid "" -"Modules from the standard library are now potentially suggested as part of " -"the error messages displayed by the interpreter when a :exc:`NameError` is " -"raised to the top level. Contributed by Pablo Galindo in :gh:`98254`." +"A :ref:`command-line interface ` has been added to the :mod:`uuid` " +"module" msgstr "" -#: whatsnew/3.12.rst:109 +#: whatsnew/3.12.rst:123 msgid "" -"Improve the error suggestion for :exc:`NameError` exceptions for instances. " -"Now if a :exc:`NameError` is raised in a method and the instance has an " -"attribute that's exactly equal to the name in the exception, the suggestion " -"will include ``self.`` instead of the closest match in the method " -"scope. Contributed by Pablo Galindo in :gh:`99139`." +"Due to the changes in :ref:`PEP 701 `, producing tokens " +"via the :mod:`tokenize` module is up to up to 64% faster." +msgstr "" + +#: whatsnew/3.12.rst:126 +msgid "Security improvements:" msgstr "" -#: whatsnew/3.12.rst:130 +#: whatsnew/3.12.rst:128 msgid "" -"Improve the :exc:`SyntaxError` error message when the user types ``import x " -"from y`` instead of ``from y import x``. Contributed by Pablo Galindo in :gh:" -"`98931`." +"Replace the builtin :mod:`hashlib` implementations of SHA1, SHA3, SHA2-384, " +"SHA2-512, and MD5 with formally verified code from the `HACL* `__ project. These builtin implementations " +"remain as fallbacks that are only used when OpenSSL does not provide them." +msgstr "" + +#: whatsnew/3.12.rst:134 +msgid "C API improvements:" +msgstr "" + +#: whatsnew/3.12.rst:136 +msgid ":ref:`PEP 697 `, unstable C API tier" +msgstr "" + +#: whatsnew/3.12.rst:137 +msgid ":ref:`PEP 683 `, immortal objects" msgstr "" -#: whatsnew/3.12.rst:140 +#: whatsnew/3.12.rst:139 +msgid "CPython implementation improvements:" +msgstr "" + +#: whatsnew/3.12.rst:141 +msgid ":ref:`PEP 709 `, comprehension inlining" +msgstr "" + +#: whatsnew/3.12.rst:142 +msgid ":ref:`CPython support ` for the Linux ``perf`` profiler" +msgstr "" + +#: whatsnew/3.12.rst:143 +msgid "Implement stack overflow protection on supported platforms" +msgstr "" + +#: whatsnew/3.12.rst:145 +msgid "New typing features:" +msgstr "" + +#: whatsnew/3.12.rst:147 msgid "" -":exc:`ImportError` exceptions raised from failed ``from import " -"`` statements now include suggestions for the value of ```` " -"based on the available names in ````. Contributed by Pablo Galindo " -"in :gh:`91058`." +":ref:`PEP 692 `, using :class:`~typing.TypedDict` to " +"annotate :term:`**kwargs `" msgstr "" -#: whatsnew/3.12.rst:1739 -msgid "New Features" +#: whatsnew/3.12.rst:149 +msgid ":ref:`PEP 698 `, :func:`typing.override` decorator" +msgstr "" + +#: whatsnew/3.12.rst:151 +msgid "Important deprecations, removals or restrictions:" +msgstr "" + +#: whatsnew/3.12.rst:153 +msgid "" +":pep:`623`: Remove ``wstr`` from Unicode objects in Python's C API, reducing " +"the size of every :class:`str` object by at least 8 bytes." msgstr "" #: whatsnew/3.12.rst:156 +msgid "" +":pep:`632`: Remove the :mod:`!distutils` package. See `the migration guide " +"`_ for advice replacing " +"the APIs it provided. The third-party `Setuptools `__ package continues to " +"provide :mod:`!distutils`, if you still require it in Python 3.12 and beyond." +msgstr "" + +#: whatsnew/3.12.rst:163 +msgid "" +":gh:`95299`: Do not pre-install ``setuptools`` in virtual environments " +"created with :mod:`venv`. This means that ``distutils``, ``setuptools``, " +"``pkg_resources``, and ``easy_install`` will no longer available by default; " +"to access these run ``pip install setuptools`` in the :ref:`activated ` virtual environment." +msgstr "" + +#: whatsnew/3.12.rst:170 +msgid "" +"The :mod:`!asynchat`, :mod:`!asyncore`, and :mod:`!imp` modules have been " +"removed, along with several :class:`unittest.TestCase` `method aliases " +"`_." +msgstr "" + +#: whatsnew/3.12.rst:1917 +msgid "New Features" +msgstr "" + +#: whatsnew/3.12.rst:181 +msgid "PEP 695: Type Parameter Syntax" +msgstr "" + +#: whatsnew/3.12.rst:183 +msgid "" +"Generic classes and functions under :pep:`484` were declared using a verbose " +"syntax that left the scope of type parameters unclear and required explicit " +"declarations of variance." +msgstr "" + +#: whatsnew/3.12.rst:187 +msgid "" +":pep:`695` introduces a new, more compact and explicit way to create :ref:" +"`generic classes ` and :ref:`functions `::" +msgstr "" + +#: whatsnew/3.12.rst:200 +msgid "" +"In addition, the PEP introduces a new way to declare :ref:`type aliases " +"` using the :keyword:`type` statement, which creates an " +"instance of :class:`~typing.TypeAliasType`::" +msgstr "" + +#: whatsnew/3.12.rst:206 +msgid "Type aliases can also be :ref:`generic `::" +msgstr "" + +#: whatsnew/3.12.rst:210 +msgid "" +"The new syntax allows declaring :class:`~typing.TypeVarTuple` and :class:" +"`~typing.ParamSpec` parameters, as well as :class:`~typing.TypeVar` " +"parameters with bounds or constraints::" +msgstr "" + +#: whatsnew/3.12.rst:219 +msgid "" +"The value of type aliases and the bound and constraints of type variables " +"created through this syntax are evaluated only on demand (see :ref:`lazy " +"evaluation `). This means type aliases are able to refer to " +"other types defined later in the file." +msgstr "" + +#: whatsnew/3.12.rst:224 +msgid "" +"Type parameters declared through a type parameter list are visible within " +"the scope of the declaration and any nested scopes, but not in the outer " +"scope. For example, they can be used in the type annotations for the methods " +"of a generic class or in the class body. However, they cannot be used in the " +"module scope after the class is defined. See :ref:`type-params` for a " +"detailed description of the runtime semantics of type parameters." +msgstr "" + +#: whatsnew/3.12.rst:231 +msgid "" +"In order to support these scoping semantics, a new kind of scope is " +"introduced, the :ref:`annotation scope `. Annotation " +"scopes behave for the most part like function scopes, but interact " +"differently with enclosing class scopes. In Python 3.13, :term:`annotations " +"` will also be evaluated in annotation scopes." +msgstr "" + +#: whatsnew/3.12.rst:237 +msgid "See :pep:`695` for more details." +msgstr "" + +#: whatsnew/3.12.rst:239 +msgid "" +"(PEP written by Eric Traut. Implementation by Jelle Zijlstra, Eric Traut, " +"and others in :gh:`103764`.)" +msgstr "" + +#: whatsnew/3.12.rst:245 msgid "PEP 701: Syntactic formalization of f-strings" msgstr "" -#: whatsnew/3.12.rst:158 +#: whatsnew/3.12.rst:247 msgid "" -":pep:`701` lifts some restrictions on the usage of f-strings. Expression " -"components inside f-strings can now be any valid Python expression including " -"backslashes, unicode escaped sequences, multi-line expressions, comments and " -"strings reusing the same quote as the containing f-string. Let's cover these " -"in detail:" +":pep:`701` lifts some restrictions on the usage of :term:`f-strings `. Expression components inside f-strings can now be any valid Python " +"expression, including strings reusing the same quote as the containing f-" +"string, multi-line expressions, comments, backslashes, and unicode escape " +"sequences. Let's cover these in detail:" msgstr "" -#: whatsnew/3.12.rst:163 +#: whatsnew/3.12.rst:253 msgid "" -"Quote reuse: in Python 3.11, reusing the same quotes as the containing f-" +"Quote reuse: in Python 3.11, reusing the same quotes as the enclosing f-" "string raises a :exc:`SyntaxError`, forcing the user to either use other " "available quotes (like using double quotes or triple quotes if the f-string " "uses single quotes). In Python 3.12, you can now do things like this:" msgstr "" -#: whatsnew/3.12.rst:172 +#: whatsnew/3.12.rst:262 msgid "" "Note that before this change there was no explicit limit in how f-strings " "can be nested, but the fact that string quotes cannot be reused inside the " @@ -179,44 +361,43 @@ msgid "" "arbitrarily. In fact, this is the most nested f-string that could be written:" msgstr "" -#: whatsnew/3.12.rst:180 +#: whatsnew/3.12.rst:270 msgid "" "As now f-strings can contain any valid Python expression inside expression " "components, it is now possible to nest f-strings arbitrarily:" msgstr "" -#: whatsnew/3.12.rst:186 +#: whatsnew/3.12.rst:276 msgid "" -"Multi-line expressions and comments: In Python 3.11, f-strings expressions " -"must be defined in a single line even if outside f-strings expressions could " -"span multiple lines (like literal lists being defined over multiple lines), " -"making them harder to read. In Python 3.12 you can now define expressions " -"spanning multiple lines and include comments on them:" +"Multi-line expressions and comments: In Python 3.11, f-string expressions " +"must be defined in a single line, even if the expression within the f-string " +"could normally span multiple lines (like literal lists being defined over " +"multiple lines), making them harder to read. In Python 3.12 you can now " +"define f-strings spanning multiple lines, and add inline comments:" msgstr "" -#: whatsnew/3.12.rst:199 +#: whatsnew/3.12.rst:290 msgid "" "Backslashes and unicode characters: before Python 3.12 f-string expressions " -"couldn't contain any ``\\`` character. This also affected unicode escaped " -"sequences (such as ``\\N{snowman}``) as these contain the ``\\N`` part that " -"previously could not be part of expression components of f-strings. Now, you " -"can define expressions like this:" +"couldn't contain any ``\\`` character. This also affected unicode :ref:" +"`escape sequences ` (such as ``\\N{snowman}``) as these " +"contain the ``\\N`` part that previously could not be part of expression " +"components of f-strings. Now, you can define expressions like this:" msgstr "" -#: whatsnew/3.12.rst:212 +#: whatsnew/3.12.rst:303 msgid "See :pep:`701` for more details." msgstr "" -#: whatsnew/3.12.rst:214 +#: whatsnew/3.12.rst:305 msgid "" "As a positive side-effect of how this feature has been implemented (by " -"parsing f-strings with the PEG parser (see :pep:`617`), now error messages " -"for f-strings are more precise and include the exact location of the error. " -"For example, in Python 3.11, the following f-string raises a :exc:" -"`SyntaxError`:" +"parsing f-strings with :pep:`the PEG parser <617>`, now error messages for f-" +"strings are more precise and include the exact location of the error. For " +"example, in Python 3.11, the following f-string raises a :exc:`SyntaxError`:" msgstr "" -#: whatsnew/3.12.rst:227 +#: whatsnew/3.12.rst:318 msgid "" "but the error message doesn't include the exact location of the error within " "the line and also has the expression artificially surrounded by parentheses. " @@ -224,82 +405,72 @@ msgid "" "can be more precise and show the entire line:" msgstr "" -#: whatsnew/3.12.rst:239 +#: whatsnew/3.12.rst:330 msgid "" "(Contributed by Pablo Galindo, Batuhan Taskaya, Lysandros Nikolaou, Cristián " "Maureira-Fredes and Marta Gómez in :gh:`102856`. PEP written by Pablo " "Galindo, Batuhan Taskaya, Lysandros Nikolaou and Marta Gómez)." msgstr "" -#: whatsnew/3.12.rst:246 -msgid "PEP 709: Comprehension inlining" +#: whatsnew/3.12.rst:337 +msgid "PEP 684: A Per-Interpreter GIL" msgstr "" -#: whatsnew/3.12.rst:248 +#: whatsnew/3.12.rst:339 msgid "" -"Dictionary, list, and set comprehensions are now inlined, rather than " -"creating a new single-use function object for each execution of the " -"comprehension. This speeds up execution of a comprehension by up to 2x." +":pep:`684` introduces a per-interpreter :term:`GIL `, so that sub-interpreters may now be created with a unique GIL per " +"interpreter. This allows Python programs to take full advantage of multiple " +"CPU cores. This is currently only available through the C-API, though a " +"Python API is :pep:`anticipated for 3.13 <554>`." msgstr "" -#: whatsnew/3.12.rst:252 +#: whatsnew/3.12.rst:345 msgid "" -"Comprehension iteration variables remain isolated; they don't overwrite a " -"variable of the same name in the outer scope, nor are they visible after the " -"comprehension. This isolation is now maintained via stack/locals " -"manipulation, not via separate function scope." -msgstr "" - -#: whatsnew/3.12.rst:257 -msgid "Inlining does result in a few visible behavior changes:" +"Use the new :c:func:`Py_NewInterpreterFromConfig` function to create an " +"interpreter with its own GIL::" msgstr "" -#: whatsnew/3.12.rst:259 +#: whatsnew/3.12.rst:359 msgid "" -"There is no longer a separate frame for the comprehension in tracebacks, and " -"tracing/profiling no longer shows the comprehension as a function call." +"For further examples how to use the C-API for sub-interpreters with a per-" +"interpreter GIL, see :source:`Modules/_xxsubinterpretersmodule.c`." msgstr "" -#: whatsnew/3.12.rst:261 -msgid "" -"The :mod:`symtable` module will no longer produce child symbol tables for " -"each comprehension; instead, the comprehension's locals will be included in " -"the parent function's symbol table." +#: whatsnew/3.12.rst:362 +msgid "(Contributed by Eric Snow in :gh:`104210`, etc.)" msgstr "" -#: whatsnew/3.12.rst:264 -msgid "" -"Calling :func:`locals` inside a comprehension now includes variables from " -"outside the comprehension, and no longer includes the synthetic ``.0`` " -"variable for the comprehension \"argument\"." +#: whatsnew/3.12.rst:367 +msgid "PEP 669: Low impact monitoring for CPython" msgstr "" -#: whatsnew/3.12.rst:267 +#: whatsnew/3.12.rst:369 msgid "" -"A comprehension iterating directly over ``locals()`` (e.g. ``[k for k in " -"locals()]``) may see \"RuntimeError: dictionary changed size during " -"iteration\" when run under tracing (e.g. code coverage measurement). This is " -"the same behavior already seen in e.g. ``for k in locals():``. To avoid the " -"error, first create a list of keys to iterate over: ``keys = list(locals()); " -"[k for k in keys]``." +":pep:`669` defines a new :mod:`API ` for profilers, " +"debuggers, and other tools to monitor events in CPython. It covers a wide " +"range of events, including calls, returns, lines, exceptions, jumps, and " +"more. This means that you only pay for what you use, providing support for " +"near-zero overhead debuggers and coverage tools. See :mod:`sys.monitoring` " +"for details." msgstr "" -#: whatsnew/3.12.rst:274 -msgid "Contributed by Carl Meyer and Vladimir Matveev in :pep:`709`." +#: whatsnew/3.12.rst:377 +msgid "(Contributed by Mark Shannon in :gh:`103082`.)" msgstr "" -#: whatsnew/3.12.rst:279 +#: whatsnew/3.12.rst:382 msgid "PEP 688: Making the buffer protocol accessible in Python" msgstr "" -#: whatsnew/3.12.rst:281 +#: whatsnew/3.12.rst:384 msgid "" ":pep:`688` introduces a way to use the :ref:`buffer protocol " "` from Python code. Classes that implement the :meth:`~object." "__buffer__` method are now usable as buffer types." msgstr "" -#: whatsnew/3.12.rst:285 +#: whatsnew/3.12.rst:388 msgid "" "The new :class:`collections.abc.Buffer` ABC provides a standard way to " "represent buffer objects, for example in type annotations. The new :class:" @@ -307,92 +478,134 @@ msgid "" "customize buffer creation. (Contributed by Jelle Zijlstra in :gh:`102500`.)" msgstr "" -#: whatsnew/3.12.rst:294 -msgid "PEP 684: A Per-Interpreter GIL" +#: whatsnew/3.12.rst:397 +msgid "PEP 709: Comprehension inlining" msgstr "" -#: whatsnew/3.12.rst:296 +#: whatsnew/3.12.rst:399 msgid "" -"Sub-interpreters may now be created with a unique GIL per interpreter. This " -"allows Python programs to take full advantage of multiple CPU cores." +"Dictionary, list, and set comprehensions are now inlined, rather than " +"creating a new single-use function object for each execution of the " +"comprehension. This speeds up execution of a comprehension by up to two " +"times. See :pep:`709` for further details." msgstr "" -#: whatsnew/3.12.rst:300 +#: whatsnew/3.12.rst:404 msgid "" -"Use the new :c:func:`Py_NewInterpreterFromConfig` function to create an " -"interpreter with its own GIL::" +"Comprehension iteration variables remain isolated and don't overwrite a " +"variable of the same name in the outer scope, nor are they visible after the " +"comprehension. Inlining does result in a few visible behavior changes:" msgstr "" -#: whatsnew/3.12.rst:314 +#: whatsnew/3.12.rst:408 msgid "" -"For further examples how to use the C-API for sub-interpreters with a per-" -"interpreter GIL, see :source:`Modules/_xxsubinterpretersmodule.c`." +"There is no longer a separate frame for the comprehension in tracebacks, and " +"tracing/profiling no longer shows the comprehension as a function call." msgstr "" -#: whatsnew/3.12.rst:317 -msgid "A Python API is anticipated for 3.13. (See :pep:`554`.)" +#: whatsnew/3.12.rst:410 +msgid "" +"The :mod:`symtable` module will no longer produce child symbol tables for " +"each comprehension; instead, the comprehension's locals will be included in " +"the parent function's symbol table." msgstr "" -#: whatsnew/3.12.rst:319 -msgid "(Contributed by Eric Snow in :gh:`104210`, etc.)" +#: whatsnew/3.12.rst:413 +msgid "" +"Calling :func:`locals` inside a comprehension now includes variables from " +"outside the comprehension, and no longer includes the synthetic ``.0`` " +"variable for the comprehension \"argument\"." msgstr "" -#: whatsnew/3.12.rst:324 -msgid "PEP 669: Low impact monitoring for CPython" +#: whatsnew/3.12.rst:416 +msgid "" +"A comprehension iterating directly over ``locals()`` (e.g. ``[k for k in " +"locals()]``) may see \"RuntimeError: dictionary changed size during " +"iteration\" when run under tracing (e.g. code coverage measurement). This is " +"the same behavior already seen in e.g. ``for k in locals():``. To avoid the " +"error, first create a list of keys to iterate over: ``keys = list(locals()); " +"[k for k in keys]``." +msgstr "" + +#: whatsnew/3.12.rst:423 +msgid "(Contributed by Carl Meyer and Vladimir Matveev in :pep:`709`.)" +msgstr "" + +#: whatsnew/3.12.rst:426 +msgid "Improved Error Messages" msgstr "" -#: whatsnew/3.12.rst:326 +#: whatsnew/3.12.rst:428 msgid "" -"CPython 3.12 now supports the ability to monitor calls, returns, lines, " -"exceptions and other events using instrumentation. This means that you only " -"pay for what you use, providing support for near-zero overhead debuggers and " -"coverage tools." +"Modules from the standard library are now potentially suggested as part of " +"the error messages displayed by the interpreter when a :exc:`NameError` is " +"raised to the top level. (Contributed by Pablo Galindo in :gh:`98254`.)" msgstr "" -#: whatsnew/3.12.rst:331 -msgid "See :mod:`sys.monitoring` for details." +#: whatsnew/3.12.rst:437 +msgid "" +"Improve the error suggestion for :exc:`NameError` exceptions for instances. " +"Now if a :exc:`NameError` is raised in a method and the instance has an " +"attribute that's exactly equal to the name in the exception, the suggestion " +"will include ``self.`` instead of the closest match in the method " +"scope. (Contributed by Pablo Galindo in :gh:`99139`.)" msgstr "" -#: whatsnew/3.12.rst:335 +#: whatsnew/3.12.rst:457 +msgid "" +"Improve the :exc:`SyntaxError` error message when the user types ``import x " +"from y`` instead of ``from y import x``. (Contributed by Pablo Galindo in :" +"gh:`98931`.)" +msgstr "" + +#: whatsnew/3.12.rst:467 +msgid "" +":exc:`ImportError` exceptions raised from failed ``from import " +"`` statements now include suggestions for the value of ```` " +"based on the available names in ````. (Contributed by Pablo Galindo " +"in :gh:`91058`.)" +msgstr "" + +#: whatsnew/3.12.rst:478 msgid "New Features Related to Type Hints" msgstr "" -#: whatsnew/3.12.rst:337 +#: whatsnew/3.12.rst:480 msgid "" -"This section covers major changes affecting :pep:`484` type hints and the :" +"This section covers major changes affecting :pep:`type hints <484>` and the :" "mod:`typing` module." msgstr "" -#: whatsnew/3.12.rst:343 +#: whatsnew/3.12.rst:486 msgid "PEP 692: Using ``TypedDict`` for more precise ``**kwargs`` typing" msgstr "" -#: whatsnew/3.12.rst:345 +#: whatsnew/3.12.rst:488 msgid "" "Typing ``**kwargs`` in a function signature as introduced by :pep:`484` " "allowed for valid annotations only in cases where all of the ``**kwargs`` " "were of the same type." msgstr "" -#: whatsnew/3.12.rst:349 +#: whatsnew/3.12.rst:492 msgid "" -"This PEP specifies a more precise way of typing ``**kwargs`` by relying on " +":pep:`692` specifies a more precise way of typing ``**kwargs`` by relying on " "typed dictionaries::" msgstr "" -#: whatsnew/3.12.rst:360 +#: whatsnew/3.12.rst:503 msgid "See :pep:`692` for more details." msgstr "" -#: whatsnew/3.12.rst:362 +#: whatsnew/3.12.rst:505 msgid "(Contributed by Franek Magiera in :gh:`103629`.)" msgstr "" -#: whatsnew/3.12.rst:367 +#: whatsnew/3.12.rst:510 msgid "PEP 698: Override Decorator for Static Typing" msgstr "" -#: whatsnew/3.12.rst:369 +#: whatsnew/3.12.rst:512 msgid "" "A new decorator :func:`typing.override` has been added to the :mod:`typing` " "module. It indicates to type checkers that the method is intended to " @@ -401,138 +614,73 @@ msgid "" "class does not in fact do so." msgstr "" -#: whatsnew/3.12.rst:375 +#: whatsnew/3.12.rst:518 msgid "Example::" msgstr "" -#: whatsnew/3.12.rst:393 -msgid "(Contributed by Steven Troxler in :gh:`101561`.)" -msgstr "" - -#: whatsnew/3.12.rst:398 -msgid "PEP 695: Type Parameter Syntax" -msgstr "" - -#: whatsnew/3.12.rst:400 -msgid "" -"Generic classes and functions under :pep:`484` were declared using a verbose " -"syntax that left the scope of type parameters unclear and required explicit " -"declarations of variance." -msgstr "" - -#: whatsnew/3.12.rst:404 -msgid "" -":pep:`695` introduces a new, more compact and explicit way to create :ref:" -"`generic classes ` and :ref:`functions `::" +#: whatsnew/3.12.rst:536 +msgid "See :pep:`698` for more details." msgstr "" -#: whatsnew/3.12.rst:417 -msgid "" -"In addition, the PEP introduces a new way to declare :ref:`type aliases " -"` using the :keyword:`type` statement, which creates an " -"instance of :class:`~typing.TypeAliasType`::" -msgstr "" - -#: whatsnew/3.12.rst:423 -msgid "Type aliases can also be :ref:`generic `::" -msgstr "" - -#: whatsnew/3.12.rst:427 -msgid "" -"The new syntax allows declaring :class:`~typing.TypeVarTuple` and :class:" -"`~typing.ParamSpec` parameters, as well as :class:`~typing.TypeVar` " -"parameters with bounds or constraints::" -msgstr "" - -#: whatsnew/3.12.rst:436 -msgid "" -"The value of type aliases and the bound and constraints of type variables " -"created through this syntax are evaluated only on demand (see :ref:`lazy-" -"evaluation`). This means type aliases are able to refer to other types " -"defined later in the file." -msgstr "" - -#: whatsnew/3.12.rst:441 -msgid "" -"Type parameters declared through a type parameter list are visible within " -"the scope of the declaration and any nested scopes, but not in the outer " -"scope. For example, they can be used in the type annotations for the methods " -"of a generic class or in the class body. However, they cannot be used in the " -"module scope after the class is defined. See :ref:`type-params` for a " -"detailed description of the runtime semantics of type parameters." -msgstr "" - -#: whatsnew/3.12.rst:448 -msgid "" -"In order to support these scoping semantics, a new kind of scope is " -"introduced, the :ref:`annotation scope `. Annotation " -"scopes behave for the most part like function scopes, but interact " -"differently with enclosing class scopes. In Python 3.13, :term:`annotations " -"` will also be evaluated in annotation scopes." -msgstr "" - -#: whatsnew/3.12.rst:454 -msgid "See :pep:`695` for more details." -msgstr "" - -#: whatsnew/3.12.rst:456 -msgid "" -"(PEP written by Eric Traut. Implementation by Jelle Zijlstra, Eric Traut, " -"and others in :gh:`103764`.)" +#: whatsnew/3.12.rst:538 +msgid "(Contributed by Steven Troxler in :gh:`101561`.)" msgstr "" -#: whatsnew/3.12.rst:460 +#: whatsnew/3.12.rst:541 msgid "Other Language Changes" msgstr "" -#: whatsnew/3.12.rst:462 +#: whatsnew/3.12.rst:543 msgid "" -"Add :ref:`perf_profiling` through the new environment variable :envvar:" -"`PYTHONPERFSUPPORT`, the new command-line option :option:`-X perf <-X>`, as " -"well as the new :func:`sys.activate_stack_trampoline`, :func:`sys." -"deactivate_stack_trampoline`, and :func:`sys.is_stack_trampoline_active` " -"APIs. (Design by Pablo Galindo. Contributed by Pablo Galindo and Christian " -"Heimes with contributions from Gregory P. Smith [Google] and Mark Shannon " -"in :gh:`96123`.)" +"The parser now raises :exc:`SyntaxError` when parsing source code containing " +"null bytes. (Contributed by Pablo Galindo in :gh:`96670`.)" msgstr "" -#: whatsnew/3.12.rst:472 +#: whatsnew/3.12.rst:546 msgid "" -"The extraction methods in :mod:`tarfile`, and :func:`shutil.unpack_archive`, " -"have a new a *filter* argument that allows limiting tar features than may be " -"surprising or dangerous, such as creating files outside the destination " -"directory. See :ref:`tarfile-extraction-filter` for details. In Python 3.14, " -"the default will switch to ``'data'``. (Contributed by Petr Viktorin in :pep:" -"`706`.)" +"A backslash-character pair that is not a valid escape sequence now generates " +"a :exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. For example, " +"``re.compile(\"\\d+\\.\\d+\")`` now emits a :exc:`SyntaxWarning` " +"(``\"\\d\"`` is an invalid escape sequence, use raw strings for regular " +"expression: ``re.compile(r\"\\d+\\.\\d+\")``). In a future Python version, :" +"exc:`SyntaxError` will eventually be raised, instead of :exc:" +"`SyntaxWarning`. (Contributed by Victor Stinner in :gh:`98401`.)" msgstr "" -#: whatsnew/3.12.rst:480 +#: whatsnew/3.12.rst:555 msgid "" -":class:`types.MappingProxyType` instances are now hashable if the underlying " -"mapping is hashable. (Contributed by Serhiy Storchaka in :gh:`87995`.)" +"Octal escapes with value larger than ``0o377`` (ex: ``\"\\477\"``), " +"deprecated in Python 3.11, now produce a :exc:`SyntaxWarning`, instead of :" +"exc:`DeprecationWarning`. In a future Python version they will be eventually " +"a :exc:`SyntaxError`. (Contributed by Victor Stinner in :gh:`98401`.)" msgstr "" -#: whatsnew/3.12.rst:484 +#: whatsnew/3.12.rst:561 msgid "" -":class:`memoryview` now supports the half-float type (the \"e\" format " -"code). (Contributed by Dong-hee Na and Antoine Pitrou in :gh:`90751`.)" +"Variables used in the target part of comprehensions that are not stored to " +"can now be used in assignment expressions (``:=``). For example, in ``[(b := " +"1) for a, b.prop in some_iter]``, the assignment to ``b`` is now allowed. " +"Note that assigning to variables stored to in the target part of " +"comprehensions (like ``a``) is still disallowed, as per :pep:`572`. " +"(Contributed by Nikita Sobolev in :gh:`100581`.)" msgstr "" -#: whatsnew/3.12.rst:487 +#: whatsnew/3.12.rst:568 msgid "" -"The parser now raises :exc:`SyntaxError` when parsing source code containing " -"null bytes. (Contributed by Pablo Galindo in :gh:`96670`.)" +"Exceptions raised in a class or type's ``__set_name__`` method are no longer " +"wrapped by a :exc:`RuntimeError`. Context information is added to the " +"exception as a :pep:`678` note. (Contributed by Irit Katriel in :gh:`77757`.)" msgstr "" -#: whatsnew/3.12.rst:490 +#: whatsnew/3.12.rst:572 msgid "" -":func:`ast.parse` now raises :exc:`SyntaxError` instead of :exc:`ValueError` " -"when parsing source code containing null bytes. (Contributed by Pablo " -"Galindo in :gh:`96670`.)" +"When a ``try-except*`` construct handles the entire :exc:`ExceptionGroup` " +"and raises one other exception, that exception is no longer wrapped in an :" +"exc:`ExceptionGroup`. Also changed in version 3.11.4. (Contributed by Irit " +"Katriel in :gh:`103590`.)" msgstr "" -#: whatsnew/3.12.rst:494 +#: whatsnew/3.12.rst:577 msgid "" "The Garbage Collector now runs only on the eval breaker mechanism of the " "Python bytecode evaluation loop instead of object allocations. The GC can " @@ -542,98 +690,94 @@ msgid "" "`97922`.)" msgstr "" -#: whatsnew/3.12.rst:501 -msgid "" -"A backslash-character pair that is not a valid escape sequence now generates " -"a :exc:`SyntaxWarning`, instead of :exc:`DeprecationWarning`. For example, " -"``re.compile(\"\\d+\\.\\d+\")`` now emits a :exc:`SyntaxWarning` " -"(``\"\\d\"`` is an invalid escape sequence), use raw strings for regular " -"expression: ``re.compile(r\"\\d+\\.\\d+\")``. In a future Python version, :" -"exc:`SyntaxError` will eventually be raised, instead of :exc:" -"`SyntaxWarning`. (Contributed by Victor Stinner in :gh:`98401`.)" -msgstr "" - -#: whatsnew/3.12.rst:510 -msgid "" -"Octal escapes with value larger than ``0o377`` (ex: ``\"\\477\"``), " -"deprecated in Python 3.11, now produce a :exc:`SyntaxWarning`, instead of :" -"exc:`DeprecationWarning`. In a future Python version they will be eventually " -"a :exc:`SyntaxError`. (Contributed by Victor Stinner in :gh:`98401`.)" -msgstr "" - -#: whatsnew/3.12.rst:516 +#: whatsnew/3.12.rst:584 msgid "" "All builtin and extension callables expecting boolean parameters now accept " "arguments of any type instead of just :class:`bool` and :class:`int`. " "(Contributed by Serhiy Storchaka in :gh:`60203`.)" msgstr "" -#: whatsnew/3.12.rst:520 +#: whatsnew/3.12.rst:588 msgid "" -"Variables used in the target part of comprehensions that are not stored to " -"can now be used in assignment expressions (``:=``). For example, in ``[(b := " -"1) for a, b.prop in some_iter]``, the assignment to ``b`` is now allowed. " -"Note that assigning to variables stored to in the target part of " -"comprehensions (like ``a``) is still disallowed, as per :pep:`572`. " -"(Contributed by Nikita Sobolev in :gh:`100581`.)" +":class:`memoryview` now supports the half-float type (the \"e\" format " +"code). (Contributed by Donghee Na and Antoine Pitrou in :gh:`90751`.)" msgstr "" -#: whatsnew/3.12.rst:527 +#: whatsnew/3.12.rst:591 msgid "" ":class:`slice` objects are now hashable, allowing them to be used as dict " "keys and set items. (Contributed by Will Bradshaw, Furkan Onder, and Raymond " "Hettinger in :gh:`101264`.)" msgstr "" -#: whatsnew/3.12.rst:530 +#: whatsnew/3.12.rst:594 msgid "" -":func:`sum` now uses Neumaier summation to improve accuracy when summing " -"floats or mixed ints and floats. (Contributed by Raymond Hettinger in :gh:" -"`100425`.)" +":func:`sum` now uses Neumaier summation to improve accuracy and " +"commutativity when summing floats or mixed ints and floats. (Contributed by " +"Raymond Hettinger in :gh:`100425`.)" msgstr "" -#: whatsnew/3.12.rst:534 +#: whatsnew/3.12.rst:598 msgid "" -"Exceptions raised in a typeobject's ``__set_name__`` method are no longer " -"wrapped by a :exc:`RuntimeError`. Context information is added to the " -"exception as a :pep:`678` note. (Contributed by Irit Katriel in :gh:`77757`.)" +":func:`ast.parse` now raises :exc:`SyntaxError` instead of :exc:`ValueError` " +"when parsing source code containing null bytes. (Contributed by Pablo " +"Galindo in :gh:`96670`.)" msgstr "" -#: whatsnew/3.12.rst:538 +#: whatsnew/3.12.rst:602 msgid "" -"When a ``try-except*`` construct handles the entire :exc:`ExceptionGroup` " -"and raises one other exception, that exception is no longer wrapped in an :" -"exc:`ExceptionGroup`. Also changed in version 3.11.4. (Contributed by Irit " -"Katriel in :gh:`103590`.)" +"The extraction methods in :mod:`tarfile`, and :func:`shutil.unpack_archive`, " +"have a new a *filter* argument that allows limiting tar features than may be " +"surprising or dangerous, such as creating files outside the destination " +"directory. See :ref:`tarfile extraction filters ` " +"for details. In Python 3.14, the default will switch to ``'data'``. " +"(Contributed by Petr Viktorin in :pep:`706`.)" +msgstr "" + +#: whatsnew/3.12.rst:610 +msgid "" +":class:`types.MappingProxyType` instances are now hashable if the underlying " +"mapping is hashable. (Contributed by Serhiy Storchaka in :gh:`87995`.)" +msgstr "" + +#: whatsnew/3.12.rst:614 +msgid "" +"Add :ref:`support for the perf profiler ` through the new " +"environment variable :envvar:`PYTHONPERFSUPPORT` and command-line option :" +"option:`-X perf <-X>`, as well as the new :func:`sys." +"activate_stack_trampoline`, :func:`sys.deactivate_stack_trampoline`, and :" +"func:`sys.is_stack_trampoline_active` functions. (Design by Pablo Galindo. " +"Contributed by Pablo Galindo and Christian Heimes with contributions from " +"Gregory P. Smith [Google] and Mark Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:545 +#: whatsnew/3.12.rst:626 msgid "New Modules" msgstr "" -#: whatsnew/3.12.rst:547 +#: whatsnew/3.12.rst:628 msgid "None." msgstr "" -#: whatsnew/3.12.rst:551 +#: whatsnew/3.12.rst:632 msgid "Improved Modules" msgstr "" -#: whatsnew/3.12.rst:554 +#: whatsnew/3.12.rst:635 msgid "array" msgstr "" -#: whatsnew/3.12.rst:556 +#: whatsnew/3.12.rst:637 msgid "" "The :class:`array.array` class now supports subscripting, making it a :term:" "`generic type`. (Contributed by Jelle Zijlstra in :gh:`98658`.)" msgstr "" -#: whatsnew/3.12.rst:560 +#: whatsnew/3.12.rst:641 msgid "asyncio" msgstr "" -#: whatsnew/3.12.rst:562 +#: whatsnew/3.12.rst:643 msgid "" "The performance of writing to sockets in :mod:`asyncio` has been " "significantly improved. ``asyncio`` now avoids unnecessary copying when " @@ -641,140 +785,134 @@ msgid "" "supports it. (Contributed by Kumar Aditya in :gh:`91166`.)" msgstr "" -#: whatsnew/3.12.rst:567 +#: whatsnew/3.12.rst:648 msgid "" -"Added :func:`asyncio.eager_task_factory` and :func:`asyncio." +"Add :func:`asyncio.eager_task_factory` and :func:`asyncio." "create_eager_task_factory` functions to allow opting an event loop in to " "eager task execution, making some use-cases 2x to 5x faster. (Contributed by " -"Jacob Bower & Itamar O in :gh:`102853`, :gh:`104140`, and :gh:`104138`)" +"Jacob Bower & Itamar Oren in :gh:`102853`, :gh:`104140`, and :gh:`104138`)" msgstr "" -#: whatsnew/3.12.rst:572 +#: whatsnew/3.12.rst:653 msgid "" -"On Linux, :mod:`asyncio` uses :class:`~asyncio.PidfdChildWatcher` by default " +"On Linux, :mod:`asyncio` uses :class:`asyncio.PidfdChildWatcher` by default " "if :func:`os.pidfd_open` is available and functional instead of :class:" -"`~asyncio.ThreadedChildWatcher`. (Contributed by Kumar Aditya in :gh:" -"`98024`.)" -msgstr "" - -#: whatsnew/3.12.rst:577 -msgid "" -"The child watcher classes :class:`~asyncio.MultiLoopChildWatcher`, :class:" -"`~asyncio.FastChildWatcher`, :class:`~asyncio.AbstractChildWatcher` and :" -"class:`~asyncio.SafeChildWatcher` are deprecated and will be removed in " -"Python 3.14. It is recommended to not manually configure a child watcher as " -"the event loop now uses the best available child watcher for each platform (:" -"class:`~asyncio.PidfdChildWatcher` if supported and :class:`~asyncio." -"ThreadedChildWatcher` otherwise). (Contributed by Kumar Aditya in :gh:" -"`94597`.)" +"`asyncio.ThreadedChildWatcher`. (Contributed by Kumar Aditya in :gh:`98024`.)" msgstr "" -#: whatsnew/3.12.rst:586 +#: whatsnew/3.12.rst:658 msgid "" -":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" -"`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." -"AbstractEventLoopPolicy.get_child_watcher` are deprecated and will be " -"removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" +"The event loop now uses the best available child watcher for each platform (:" +"class:`asyncio.PidfdChildWatcher` if supported and :class:`asyncio." +"ThreadedChildWatcher` otherwise), so manually configuring a child watcher is " +"not recommended. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:592 +#: whatsnew/3.12.rst:664 msgid "" "Add *loop_factory* parameter to :func:`asyncio.run` to allow specifying a " "custom event loop factory. (Contributed by Kumar Aditya in :gh:`99388`.)" msgstr "" -#: whatsnew/3.12.rst:596 +#: whatsnew/3.12.rst:668 msgid "" "Add C implementation of :func:`asyncio.current_task` for 4x-6x speedup. " -"(Contributed by Itamar Ostricher and Pranav Thulasiram Bhat in :gh:`100344`.)" +"(Contributed by Itamar Oren and Pranav Thulasiram Bhat in :gh:`100344`.)" msgstr "" -#: whatsnew/3.12.rst:599 +#: whatsnew/3.12.rst:671 msgid "" ":func:`asyncio.iscoroutine` now returns ``False`` for generators as :mod:" "`asyncio` does not support legacy generator-based coroutines. (Contributed " "by Kumar Aditya in :gh:`102748`.)" msgstr "" -#: whatsnew/3.12.rst:603 +#: whatsnew/3.12.rst:675 msgid "" ":func:`asyncio.wait` and :func:`asyncio.as_completed` now accepts generators " "yielding tasks. (Contributed by Kumar Aditya in :gh:`78530`.)" msgstr "" -#: whatsnew/3.12.rst:608 +#: whatsnew/3.12.rst:680 msgid "calendar" msgstr "" -#: whatsnew/3.12.rst:610 +#: whatsnew/3.12.rst:682 msgid "" -"Add enums :data:`~calendar.Month` and :data:`~calendar.Day`. (Contributed by " -"Prince Roshan in :gh:`103636`.)" +"Add enums :data:`calendar.Month` and :data:`calendar.Day` defining months of " +"the year and days of the week. (Contributed by Prince Roshan in :gh:" +"`103636`.)" msgstr "" -#: whatsnew/3.12.rst:614 +#: whatsnew/3.12.rst:687 msgid "csv" msgstr "" -#: whatsnew/3.12.rst:616 +#: whatsnew/3.12.rst:689 msgid "" -"Add :const:`~csv.QUOTE_NOTNULL` and :const:`~csv.QUOTE_STRINGS` flags to " -"provide finer grained control of ``None`` and empty strings by :class:`~csv." +"Add :const:`csv.QUOTE_NOTNULL` and :const:`csv.QUOTE_STRINGS` flags to " +"provide finer grained control of ``None`` and empty strings by :class:`csv." "writer` objects." msgstr "" -#: whatsnew/3.12.rst:621 +#: whatsnew/3.12.rst:694 msgid "dis" msgstr "" -#: whatsnew/3.12.rst:623 +#: whatsnew/3.12.rst:696 msgid "" "Pseudo instruction opcodes (which are used by the compiler but do not appear " "in executable bytecode) are now exposed in the :mod:`dis` module. :opcode:" "`HAVE_ARGUMENT` is still relevant to real opcodes, but it is not useful for " -"pseudo instructions. Use the new :data:`~dis.hasarg` collection instead. " +"pseudo instructions. Use the new :data:`dis.hasarg` collection instead. " "(Contributed by Irit Katriel in :gh:`94216`.)" msgstr "" -#: whatsnew/3.12.rst:632 +#: whatsnew/3.12.rst:704 +msgid "" +"Add the :data:`dis.hasexc` collection to signify instructions that set an " +"exception handler. (Contributed by Irit Katriel in :gh:`94216`.)" +msgstr "" + +#: whatsnew/3.12.rst:708 msgid "fractions" msgstr "" -#: whatsnew/3.12.rst:634 +#: whatsnew/3.12.rst:710 msgid "" "Objects of type :class:`fractions.Fraction` now support float-style " "formatting. (Contributed by Mark Dickinson in :gh:`100161`.)" msgstr "" -#: whatsnew/3.12.rst:638 +#: whatsnew/3.12.rst:714 msgid "importlib.resources" msgstr "" -#: whatsnew/3.12.rst:640 +#: whatsnew/3.12.rst:716 msgid "" ":func:`importlib.resources.as_file` now supports resource directories. " "(Contributed by Jason R. Coombs in :gh:`97930`.)" msgstr "" -#: whatsnew/3.12.rst:644 +#: whatsnew/3.12.rst:720 msgid "inspect" msgstr "" -#: whatsnew/3.12.rst:646 +#: whatsnew/3.12.rst:722 msgid "" "Add :func:`inspect.markcoroutinefunction` to mark sync functions that return " "a :term:`coroutine` for use with :func:`inspect.iscoroutinefunction`. " "(Contributed Carlton Gibson in :gh:`99247`.)" msgstr "" -#: whatsnew/3.12.rst:650 +#: whatsnew/3.12.rst:726 msgid "" "Add :func:`inspect.getasyncgenstate` and :func:`inspect.getasyncgenlocals` " "for determining the current state of asynchronous generators. (Contributed " -"by Thomas Krennwallner in :issue:`35759`.)" +"by Thomas Krennwallner in :gh:`79940`.)" msgstr "" -#: whatsnew/3.12.rst:654 +#: whatsnew/3.12.rst:730 msgid "" "The performance of :func:`inspect.getattr_static` has been considerably " "improved. Most calls to the function should be at least 2x faster than they " @@ -782,60 +920,60 @@ msgid "" "Waygood in :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:660 +#: whatsnew/3.12.rst:736 msgid "itertools" msgstr "" -#: whatsnew/3.12.rst:662 +#: whatsnew/3.12.rst:738 msgid "" -"Added :class:`itertools.batched()` for collecting into even-sized tuples " -"where the last batch may be shorter than the rest. (Contributed by Raymond " +"Add :class:`itertools.batched()` for collecting into even-sized tuples where " +"the last batch may be shorter than the rest. (Contributed by Raymond " "Hettinger in :gh:`98363`.)" msgstr "" -#: whatsnew/3.12.rst:667 +#: whatsnew/3.12.rst:743 msgid "math" msgstr "" -#: whatsnew/3.12.rst:669 +#: whatsnew/3.12.rst:745 msgid "" -"Added :func:`math.sumprod` for computing a sum of products. (Contributed by " +"Add :func:`math.sumprod` for computing a sum of products. (Contributed by " "Raymond Hettinger in :gh:`100485`.)" msgstr "" -#: whatsnew/3.12.rst:672 +#: whatsnew/3.12.rst:748 msgid "" -"Extended :func:`math.nextafter` to include a *steps* argument for moving up " -"or down multiple steps at a time. (By Matthias Goergens, Mark Dickinson, and " +"Extend :func:`math.nextafter` to include a *steps* argument for moving up or " +"down multiple steps at a time. (By Matthias Goergens, Mark Dickinson, and " "Raymond Hettinger in :gh:`94906`.)" msgstr "" -#: whatsnew/3.12.rst:677 +#: whatsnew/3.12.rst:753 msgid "os" msgstr "" -#: whatsnew/3.12.rst:679 +#: whatsnew/3.12.rst:755 msgid "" "Add :const:`os.PIDFD_NONBLOCK` to open a file descriptor for a process with :" "func:`os.pidfd_open` in non-blocking mode. (Contributed by Kumar Aditya in :" "gh:`93312`.)" msgstr "" -#: whatsnew/3.12.rst:683 +#: whatsnew/3.12.rst:759 msgid "" ":class:`os.DirEntry` now includes an :meth:`os.DirEntry.is_junction` method " "to check if the entry is a junction. (Contributed by Charles Machalow in :gh:" "`99547`.)" msgstr "" -#: whatsnew/3.12.rst:687 +#: whatsnew/3.12.rst:763 msgid "" "Add :func:`os.listdrives`, :func:`os.listvolumes` and :func:`os.listmounts` " "functions on Windows for enumerating drives, volumes and mount points. " "(Contributed by Steve Dower in :gh:`102519`.)" msgstr "" -#: whatsnew/3.12.rst:691 +#: whatsnew/3.12.rst:767 msgid "" ":func:`os.stat` and :func:`os.lstat` are now more accurate on Windows. The " "``st_birthtime`` field will now be filled with the creation time of the " @@ -848,56 +986,56 @@ msgid "" "`99726`.)" msgstr "" -#: whatsnew/3.12.rst:702 +#: whatsnew/3.12.rst:778 msgid "os.path" msgstr "" -#: whatsnew/3.12.rst:704 +#: whatsnew/3.12.rst:780 msgid "" "Add :func:`os.path.isjunction` to check if a given path is a junction. " "(Contributed by Charles Machalow in :gh:`99547`.)" msgstr "" -#: whatsnew/3.12.rst:707 +#: whatsnew/3.12.rst:783 msgid "" "Add :func:`os.path.splitroot` to split a path into a triad ``(drive, root, " "tail)``. (Contributed by Barney Gale in :gh:`101000`.)" msgstr "" -#: whatsnew/3.12.rst:711 +#: whatsnew/3.12.rst:787 msgid "pathlib" msgstr "" -#: whatsnew/3.12.rst:713 +#: whatsnew/3.12.rst:789 msgid "" -"Add support for subclassing :class:`pathlib.PurePath` and :class:`~pathlib." +"Add support for subclassing :class:`pathlib.PurePath` and :class:`pathlib." "Path`, plus their Posix- and Windows-specific variants. Subclasses may " -"override the :meth:`~pathlib.PurePath.with_segments` method to pass " +"override the :meth:`pathlib.PurePath.with_segments` method to pass " "information between path instances." msgstr "" -#: whatsnew/3.12.rst:718 +#: whatsnew/3.12.rst:794 msgid "" -"Add :meth:`~pathlib.Path.walk` for walking the directory trees and " -"generating all file or directory names within them, similar to :func:`os." -"walk`. (Contributed by Stanislav Zmiev in :gh:`90385`.)" +"Add :meth:`pathlib.Path.walk` for walking the directory trees and generating " +"all file or directory names within them, similar to :func:`os.walk`. " +"(Contributed by Stanislav Zmiev in :gh:`90385`.)" msgstr "" -#: whatsnew/3.12.rst:722 +#: whatsnew/3.12.rst:798 msgid "" "Add *walk_up* optional parameter to :meth:`pathlib.PurePath.relative_to` to " "allow the insertion of ``..`` entries in the result; this behavior is more " "consistent with :func:`os.path.relpath`. (Contributed by Domenico Ragusa in :" -"issue:`40358`.)" +"gh:`84538`.)" msgstr "" -#: whatsnew/3.12.rst:727 +#: whatsnew/3.12.rst:803 msgid "" "Add :meth:`pathlib.Path.is_junction` as a proxy to :func:`os.path." "isjunction`. (Contributed by Charles Machalow in :gh:`99547`.)" msgstr "" -#: whatsnew/3.12.rst:730 +#: whatsnew/3.12.rst:806 msgid "" "Add *case_sensitive* optional parameter to :meth:`pathlib.Path.glob`, :meth:" "`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching the " @@ -905,38 +1043,38 @@ msgid "" "process." msgstr "" -#: whatsnew/3.12.rst:735 +#: whatsnew/3.12.rst:811 msgid "pdb" msgstr "" -#: whatsnew/3.12.rst:737 +#: whatsnew/3.12.rst:813 msgid "" "Add convenience variables to hold values temporarily for debug session and " "provide quick access to values like the current frame or the return value. " "(Contributed by Tian Gao in :gh:`103693`.)" msgstr "" -#: whatsnew/3.12.rst:743 +#: whatsnew/3.12.rst:819 msgid "random" msgstr "" -#: whatsnew/3.12.rst:745 +#: whatsnew/3.12.rst:821 msgid "" -"Added :func:`random.binomialvariate`. (Contributed by Raymond Hettinger in :" -"gh:`81620`.)" +"Add :func:`random.binomialvariate`. (Contributed by Raymond Hettinger in :gh:" +"`81620`.)" msgstr "" -#: whatsnew/3.12.rst:748 +#: whatsnew/3.12.rst:824 msgid "" -"Added a default of ``lamb=1.0`` to :func:`random.expovariate`. (Contributed " +"Add a default of ``lambd=1.0`` to :func:`random.expovariate`. (Contributed " "by Raymond Hettinger in :gh:`100234`.)" msgstr "" -#: whatsnew/3.12.rst:752 +#: whatsnew/3.12.rst:828 msgid "shutil" msgstr "" -#: whatsnew/3.12.rst:754 +#: whatsnew/3.12.rst:830 msgid "" ":func:`shutil.make_archive` now passes the *root_dir* argument to custom " "archivers which support it. In this case it no longer temporarily changes " @@ -944,7 +1082,7 @@ msgid "" "archiving. (Contributed by Serhiy Storchaka in :gh:`74696`.)" msgstr "" -#: whatsnew/3.12.rst:760 +#: whatsnew/3.12.rst:836 msgid "" ":func:`shutil.rmtree` now accepts a new argument *onexc* which is an error " "handler like *onerror* but which expects an exception instance rather than a " @@ -952,14 +1090,14 @@ msgid "" "Python 3.14. (Contributed by Irit Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:766 +#: whatsnew/3.12.rst:842 msgid "" ":func:`shutil.which` now consults the *PATHEXT* environment variable to find " "matches within *PATH* on Windows even when the given *cmd* includes a " "directory component. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:771 +#: whatsnew/3.12.rst:847 msgid "" ":func:`shutil.which` will call ``NeedCurrentDirectoryForExePathW`` when " "querying for executables on Windows to determine if the current working " @@ -967,61 +1105,68 @@ msgid "" "Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:776 +#: whatsnew/3.12.rst:852 msgid "" ":func:`shutil.which` will return a path matching the *cmd* with a component " "from ``PATHEXT`` prior to a direct match elsewhere in the search path on " "Windows. (Contributed by Charles Machalow in :gh:`103179`.)" msgstr "" -#: whatsnew/3.12.rst:1461 +#: whatsnew/3.12.rst:1637 msgid "sqlite3" msgstr "" -#: whatsnew/3.12.rst:784 +#: whatsnew/3.12.rst:860 msgid "" "Add a :ref:`command-line interface `. (Contributed by Erlend E. " "Aasland in :gh:`77617`.)" msgstr "" -#: whatsnew/3.12.rst:787 +#: whatsnew/3.12.rst:863 msgid "" -"Add the :attr:`~sqlite3.Connection.autocommit` attribute to :class:`~sqlite3." -"Connection` and the *autocommit* parameter to :func:`~sqlite3.connect` to " +"Add the :attr:`sqlite3.Connection.autocommit` attribute to :class:`sqlite3." +"Connection` and the *autocommit* parameter to :func:`sqlite3.connect` to " "control :pep:`249`-compliant :ref:`transaction handling `. (Contributed by Erlend E. Aasland in :gh:`83638`.)" msgstr "" -#: whatsnew/3.12.rst:794 +#: whatsnew/3.12.rst:870 msgid "" -"Add *entrypoint* keyword-only parameter to :meth:`~sqlite3.Connection." +"Add *entrypoint* keyword-only parameter to :meth:`sqlite3.Connection." "load_extension`, for overriding the SQLite extension entry point. " "(Contributed by Erlend E. Aasland in :gh:`103015`.)" msgstr "" -#: whatsnew/3.12.rst:799 +#: whatsnew/3.12.rst:875 msgid "" -"Add :meth:`~sqlite3.Connection.getconfig` and :meth:`~sqlite3.Connection." -"setconfig` to :class:`~sqlite3.Connection` to make configuration changes to " -"a database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" +"Add :meth:`sqlite3.Connection.getconfig` and :meth:`sqlite3.Connection." +"setconfig` to :class:`sqlite3.Connection` to make configuration changes to a " +"database connection. (Contributed by Erlend E. Aasland in :gh:`103489`.)" msgstr "" -#: whatsnew/3.12.rst:805 +#: whatsnew/3.12.rst:881 msgid "statistics" msgstr "" -#: whatsnew/3.12.rst:807 +#: whatsnew/3.12.rst:883 msgid "" -"Extended :func:`statistics.correlation` to include as a ``ranked`` method " -"for computing the Spearman correlation of ranked data. (Contributed by " -"Raymond Hettinger in :gh:`95861`.)" +"Extend :func:`statistics.correlation` to include as a ``ranked`` method for " +"computing the Spearman correlation of ranked data. (Contributed by Raymond " +"Hettinger in :gh:`95861`.)" msgstr "" -#: whatsnew/3.12.rst:812 +#: whatsnew/3.12.rst:888 msgid "sys" msgstr "" -#: whatsnew/3.12.rst:814 +#: whatsnew/3.12.rst:890 +msgid "" +"Add the :mod:`sys.monitoring` namespace to expose the new :ref:`PEP 669 " +"` monitoring API. (Contributed by Mark Shannon in :gh:" +"`103082`.)" +msgstr "" + +#: whatsnew/3.12.rst:894 msgid "" "Add :func:`sys.activate_stack_trampoline` and :func:`sys." "deactivate_stack_trampoline` for activating and deactivating stack profiler " @@ -1031,7 +1176,7 @@ msgid "" "Shannon in :gh:`96123`.)" msgstr "" -#: whatsnew/3.12.rst:823 +#: whatsnew/3.12.rst:903 msgid "" "Add :data:`sys.last_exc` which holds the last unhandled exception that was " "raised (for post-mortem debugging use cases). Deprecate the three fields " @@ -1040,14 +1185,14 @@ msgid "" "Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1647 +#: whatsnew/3.12.rst:1825 msgid "" ":func:`sys._current_exceptions` now returns a mapping from thread-id to an " "exception instance, rather than to a ``(typ, exc, tb)`` tuple. (Contributed " "by Irit Katriel in :gh:`103176`.)" msgstr "" -#: whatsnew/3.12.rst:833 +#: whatsnew/3.12.rst:913 msgid "" ":func:`sys.setrecursionlimit` and :func:`sys.getrecursionlimit`. The " "recursion limit now applies only to Python code. Builtin functions do not " @@ -1055,27 +1200,27 @@ msgid "" "prevents recursion from causing a virtual machine crash." msgstr "" -#: whatsnew/3.12.rst:839 +#: whatsnew/3.12.rst:919 msgid "tempfile" msgstr "" -#: whatsnew/3.12.rst:841 +#: whatsnew/3.12.rst:921 msgid "" "The :class:`tempfile.NamedTemporaryFile` function has a new optional " "parameter *delete_on_close* (Contributed by Evgeny Zorin in :gh:`58451`.)" msgstr "" -#: whatsnew/3.12.rst:843 +#: whatsnew/3.12.rst:923 msgid "" ":func:`tempfile.mkdtemp` now always returns an absolute path, even if the " "argument provided to the *dir* parameter is a relative path." msgstr "" -#: whatsnew/3.12.rst:849 +#: whatsnew/3.12.rst:929 msgid "threading" msgstr "" -#: whatsnew/3.12.rst:851 +#: whatsnew/3.12.rst:931 msgid "" "Add :func:`threading.settrace_all_threads` and :func:`threading." "setprofile_all_threads` that allow to set tracing and profiling functions in " @@ -1083,11 +1228,11 @@ msgid "" "Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:857 +#: whatsnew/3.12.rst:937 msgid "tkinter" msgstr "" -#: whatsnew/3.12.rst:859 +#: whatsnew/3.12.rst:939 msgid "" "``tkinter.Canvas.coords()`` now flattens its arguments. It now accepts not " "only coordinates as separate arguments (``x1, y1, x2, y2, ...``) and a " @@ -1097,34 +1242,34 @@ msgid "" "in :gh:`94473`.)" msgstr "" -#: whatsnew/3.12.rst:868 +#: whatsnew/3.12.rst:948 msgid "tokenize" msgstr "" -#: whatsnew/3.12.rst:870 +#: whatsnew/3.12.rst:950 msgid "" "The :mod:`tokenize` module includes the changes introduced in :pep:`701`. " -"( Contributed by Marta Gómez Macías and Pablo Galindo in :gh:`102856`.) See :" +"(Contributed by Marta Gómez Macías and Pablo Galindo in :gh:`102856`.) See :" "ref:`whatsnew312-porting-to-python312` for more information on the changes " "to the :mod:`tokenize` module." msgstr "" -#: whatsnew/3.12.rst:876 +#: whatsnew/3.12.rst:956 msgid "types" msgstr "" -#: whatsnew/3.12.rst:878 +#: whatsnew/3.12.rst:958 msgid "" "Add :func:`types.get_original_bases` to allow for further introspection of :" "ref:`user-defined-generics` when subclassed. (Contributed by James Hilton-" "Balfe and Alex Waygood in :gh:`101827`.)" msgstr "" -#: whatsnew/3.12.rst:883 +#: whatsnew/3.12.rst:963 msgid "typing" msgstr "" -#: whatsnew/3.12.rst:885 +#: whatsnew/3.12.rst:965 msgid "" ":func:`isinstance` checks against :func:`runtime-checkable protocols ` now use :func:`inspect.getattr_static` rather than :func:" @@ -1137,7 +1282,7 @@ msgid "" "affected by this change. (Contributed by Alex Waygood in :gh:`102433`.)" msgstr "" -#: whatsnew/3.12.rst:896 +#: whatsnew/3.12.rst:976 msgid "" "The members of a runtime-checkable protocol are now considered \"frozen\" at " "runtime as soon as the class has been created. Monkey-patching attributes " @@ -1145,13 +1290,13 @@ msgid "" "on :func:`isinstance` checks comparing objects to the protocol. For example::" msgstr "" -#: whatsnew/3.12.rst:918 +#: whatsnew/3.12.rst:998 msgid "" "This change was made in order to speed up ``isinstance()`` checks against " "runtime-checkable protocols." msgstr "" -#: whatsnew/3.12.rst:921 +#: whatsnew/3.12.rst:1001 msgid "" "The performance profile of :func:`isinstance` checks against :func:`runtime-" "checkable protocols ` has changed significantly. " @@ -1162,220 +1307,431 @@ msgid "" "in :gh:`74690` and :gh:`103193`.)" msgstr "" -#: whatsnew/3.12.rst:929 +#: whatsnew/3.12.rst:1009 msgid "" "All :data:`typing.TypedDict` and :data:`typing.NamedTuple` classes now have " "the ``__orig_bases__`` attribute. (Contributed by Adrian Garcia Badaracco " "in :gh:`103699`.)" msgstr "" -#: whatsnew/3.12.rst:933 -msgid "" -"Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " -"(Contributed by Erik De Bonte in :gh:`99957`.)" +#: whatsnew/3.12.rst:1013 +msgid "" +"Add ``frozen_default`` parameter to :func:`typing.dataclass_transform`. " +"(Contributed by Erik De Bonte in :gh:`99957`.)" +msgstr "" + +#: whatsnew/3.12.rst:1017 +msgid "unicodedata" +msgstr "" + +#: whatsnew/3.12.rst:1019 +msgid "" +"The Unicode database has been updated to version 15.0.0. (Contributed by " +"Benjamin Peterson in :gh:`96734`)." +msgstr "" + +#: whatsnew/3.12.rst:1678 +msgid "unittest" +msgstr "" + +#: whatsnew/3.12.rst:1025 +msgid "" +"Add a ``--durations`` command line option, showing the N slowest test cases::" +msgstr "" + +#: whatsnew/3.12.rst:1041 +msgid "(Contributed by Giampaolo Rodola in :gh:`48330`)" +msgstr "" + +#: whatsnew/3.12.rst:1044 +msgid "uuid" +msgstr "" + +#: whatsnew/3.12.rst:1046 +msgid "" +"Add a :ref:`command-line interface `. (Contributed by Adam Chhina " +"in :gh:`88597`.)" +msgstr "" + +#: whatsnew/3.12.rst:1051 +msgid "Optimizations" +msgstr "" + +#: whatsnew/3.12.rst:1053 +msgid "" +"Remove ``wstr`` and ``wstr_length`` members from Unicode objects. It reduces " +"object size by 8 or 16 bytes on 64bit platform. (:pep:`623`) (Contributed by " +"Inada Naoki in :gh:`92536`.)" +msgstr "" + +#: whatsnew/3.12.rst:1057 +msgid "" +"Add experimental support for using the BOLT binary optimizer in the build " +"process, which improves performance by 1-5%. (Contributed by Kevin " +"Modzelewski in :gh:`90536` and tuned by Donghee Na in :gh:`101525`)" +msgstr "" + +#: whatsnew/3.12.rst:1061 +msgid "" +"Speed up the regular expression substitution (functions :func:`re.sub` and :" +"func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " +"replacement strings containing group references by 2--3 times. (Contributed " +"by Serhiy Storchaka in :gh:`91524`.)" +msgstr "" + +#: whatsnew/3.12.rst:1066 +msgid "" +"Speed up :class:`asyncio.Task` creation by deferring expensive string " +"formatting. (Contributed by Itamar Oren in :gh:`103793`.)" +msgstr "" + +#: whatsnew/3.12.rst:1069 +msgid "" +"The :func:`tokenize.tokenize` and :func:`tokenize.generate_tokens` functions " +"are up to 64% faster as a side effect of the changes required to cover :pep:" +"`701` in the :mod:`tokenize` module. (Contributed by Marta Gómez Macías and " +"Pablo Galindo in :gh:`102856`.)" +msgstr "" + +#: whatsnew/3.12.rst:1074 +msgid "" +"Speed up :func:`super` method calls and attribute loads via the new :opcode:" +"`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and Vladimir " +"Matveev in :gh:`103497`.)" +msgstr "" + +#: whatsnew/3.12.rst:1080 +msgid "CPython bytecode changes" +msgstr "" + +#: whatsnew/3.12.rst:1082 +msgid "" +"Remove the :opcode:`!LOAD_METHOD` instruction. It has been merged into :" +"opcode:`LOAD_ATTR`. :opcode:`LOAD_ATTR` will now behave like the old :opcode:" +"`!LOAD_METHOD` instruction if the low bit of its oparg is set. (Contributed " +"by Ken Jin in :gh:`93429`.)" +msgstr "" + +#: whatsnew/3.12.rst:1087 +msgid "" +"Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" +"JUMP_IF_TRUE_OR_POP` instructions. (Contributed by Irit Katriel in :gh:" +"`102859`.)" +msgstr "" + +#: whatsnew/3.12.rst:1090 +msgid "" +"Remove the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" +"gh:`92925`.)" +msgstr "" + +#: whatsnew/3.12.rst:1093 +msgid "" +"Add the :opcode:`BINARY_SLICE` and :opcode:`STORE_SLICE` instructions. " +"(Contributed by Mark Shannon in :gh:`94163`.)" +msgstr "" + +#: whatsnew/3.12.rst:1096 +msgid "" +"Add the :opcode:`CALL_INTRINSIC_1` instructions. (Contributed by Mark " +"Shannon in :gh:`99005`.)" +msgstr "" + +#: whatsnew/3.12.rst:1099 +msgid "" +"Add the :opcode:`CALL_INTRINSIC_2` instruction. (Contributed by Irit Katriel " +"in :gh:`101799`.)" +msgstr "" + +#: whatsnew/3.12.rst:1102 +msgid "" +"Add the :opcode:`CLEANUP_THROW` instruction. (Contributed by Brandt Bucher " +"in :gh:`90997`.)" +msgstr "" + +#: whatsnew/3.12.rst:1105 +msgid "" +"Add the :opcode:`!END_SEND` instruction. (Contributed by Mark Shannon in :gh:" +"`103082`.)" +msgstr "" + +#: whatsnew/3.12.rst:1108 +msgid "" +"Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the " +"implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.)" +msgstr "" + +#: whatsnew/3.12.rst:1111 +msgid "" +"Add the :opcode:`LOAD_FAST_CHECK` instruction. (Contributed by Dennis " +"Sweeney in :gh:`93143`.)" +msgstr "" + +#: whatsnew/3.12.rst:1114 +msgid "" +"Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" +"`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " +"the implementation of :pep:`695`. Remove the :opcode:`!LOAD_CLASSDEREF` " +"opcode, which can be replaced with :opcode:`LOAD_LOCALS` plus :opcode:" +"`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" +msgstr "" + +#: whatsnew/3.12.rst:1120 +msgid "" +"Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " +"and Vladimir Matveev in :gh:`103497`.)" +msgstr "" + +#: whatsnew/3.12.rst:1123 +msgid "" +"Add the :opcode:`RETURN_CONST` instruction. (Contributed by Wenyang Wang in :" +"gh:`101632`.)" +msgstr "" + +#: whatsnew/3.12.rst:1126 +msgid "Demos and Tools" +msgstr "" + +#: whatsnew/3.12.rst:1128 +msgid "" +"Remove the ``Tools/demo/`` directory which contained old demo scripts. A " +"copy can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97681`.)" +msgstr "" + +#: whatsnew/3.12.rst:1133 +msgid "" +"Remove outdated example scripts of the ``Tools/scripts/`` directory. A copy " +"can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97669`.)" +msgstr "" + +#: whatsnew/3.12.rst:2219 +msgid "Deprecated" +msgstr "" + +#: whatsnew/3.12.rst:1142 +msgid "" +":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" +"argparse.BooleanOptionalAction` are deprecated and will be removed in 3.14. " +"(Contributed by Nikita Sobolev in :gh:`92248`.)" +msgstr "" + +#: whatsnew/3.12.rst:1147 +msgid "" +":mod:`ast`: The following :mod:`ast` features have been deprecated in " +"documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " +"emitted at runtime when they are accessed or used, and will be removed in " +"Python 3.14:" +msgstr "" + +#: whatsnew/3.12.rst:1383 +msgid ":class:`!ast.Num`" msgstr "" -#: whatsnew/3.12.rst:937 -msgid "unicodedata" +#: whatsnew/3.12.rst:1384 +msgid ":class:`!ast.Str`" msgstr "" -#: whatsnew/3.12.rst:939 -msgid "" -"The Unicode database has been updated to version 15.0.0. (Contributed by " -"Benjamin Peterson in :gh:`96734`)." +#: whatsnew/3.12.rst:1385 +msgid ":class:`!ast.Bytes`" msgstr "" -#: whatsnew/3.12.rst:1502 -msgid "unittest" +#: whatsnew/3.12.rst:1386 +msgid ":class:`!ast.NameConstant`" msgstr "" -#: whatsnew/3.12.rst:945 -msgid "" -"Added ``--durations`` command line option, showing the N slowest test cases::" +#: whatsnew/3.12.rst:1387 +msgid ":class:`!ast.Ellipsis`" msgstr "" -#: whatsnew/3.12.rst:961 -msgid "(Contributed by Giampaolo Rodola in :issue:`4080`)" +#: whatsnew/3.12.rst:1157 +msgid "" +"Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" +"`90953`.)" msgstr "" -#: whatsnew/3.12.rst:964 -msgid "uuid" +#: whatsnew/3.12.rst:1389 +msgid ":mod:`asyncio`:" msgstr "" -#: whatsnew/3.12.rst:966 +#: whatsnew/3.12.rst:1162 msgid "" -"Add a :ref:`command-line interface `. (Contributed by Adam Chhina " -"in :gh:`88597`.)" +"The child watcher classes :class:`asyncio.MultiLoopChildWatcher`, :class:" +"`asyncio.FastChildWatcher`, :class:`asyncio.AbstractChildWatcher` and :class:" +"`asyncio.SafeChildWatcher` are deprecated and will be removed in Python " +"3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:971 -msgid "Optimizations" +#: whatsnew/3.12.rst:1168 +msgid "" +":func:`asyncio.set_child_watcher`, :func:`asyncio.get_child_watcher`, :meth:" +"`asyncio.AbstractEventLoopPolicy.set_child_watcher` and :meth:`asyncio." +"AbstractEventLoopPolicy.get_child_watcher` are deprecated and will be " +"removed in Python 3.14. (Contributed by Kumar Aditya in :gh:`94597`.)" msgstr "" -#: whatsnew/3.12.rst:973 +#: whatsnew/3.12.rst:1174 msgid "" -"Removed ``wstr`` and ``wstr_length`` members from Unicode objects. It " -"reduces object size by 8 or 16 bytes on 64bit platform. (:pep:`623`) " -"(Contributed by Inada Naoki in :gh:`92536`.)" +"The :meth:`~asyncio.get_event_loop` method of the default event loop policy " +"now emits a :exc:`DeprecationWarning` if there is no current event loop set " +"and it decides to create one. (Contributed by Serhiy Storchaka and Guido van " +"Rossum in :gh:`100160`.)" msgstr "" -#: whatsnew/3.12.rst:977 +#: whatsnew/3.12.rst:1179 msgid "" -"Added experimental support for using the BOLT binary optimizer in the build " -"process, which improves performance by 1-5%. (Contributed by Kevin " -"Modzelewski in :gh:`90536` and tuned by Dong-hee Na in :gh:`101525`)" +":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " +"are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." +"FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" msgstr "" -#: whatsnew/3.12.rst:981 +#: whatsnew/3.12.rst:1183 msgid "" -"Speed up the regular expression substitution (functions :func:`re.sub` and :" -"func:`re.subn` and corresponding :class:`!re.Pattern` methods) for " -"replacement strings containing group references by 2--3 times. (Contributed " -"by Serhiy Storchaka in :gh:`91524`.)" +":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " +"Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " +"typing, prefer a union, like ``bytes | bytearray``, or :class:`collections." +"abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" msgstr "" -#: whatsnew/3.12.rst:986 +#: whatsnew/3.12.rst:1188 msgid "" -"Speed up :class:`asyncio.Task` creation by deferring expensive string " -"formatting. (Contributed by Itamar O in :gh:`103793`.)" +":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." +"utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " +"will be removed in a future version. Instead, use timezone-aware objects to " +"represent datetimes in UTC: respectively, call :meth:`~datetime.datetime." +"now` and :meth:`~datetime.datetime.fromtimestamp` with the *tz* parameter " +"set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" msgstr "" -#: whatsnew/3.12.rst:989 +#: whatsnew/3.12.rst:1196 msgid "" -"The :func:`tokenize.tokenize` and :func:`tokenize.generate_tokens` functions " -"are up to 64% faster as a side effect of the changes required to cover :pep:" -"`701` in the :mod:`tokenize` module. (Contributed by Marta Gómez Macías and " -"Pablo Galindo in :gh:`102856`.)" +":mod:`email`: Deprecate the *isdst* parameter in :func:`email.utils." +"localtime`. (Contributed by Alan Williams in :gh:`72346`.)" msgstr "" -#: whatsnew/3.12.rst:994 +#: whatsnew/3.12.rst:1199 msgid "" -"Speed up :func:`super` method calls and attribute loads via the new :opcode:" -"`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer and Vladimir " -"Matveev in :gh:`103497`.)" +":mod:`importlib.abc`: Deprecated the following classes, scheduled for " +"removal in Python 3.14:" msgstr "" -#: whatsnew/3.12.rst:1000 -msgid "CPython bytecode changes" +#: whatsnew/3.12.rst:1406 +msgid ":class:`!importlib.abc.ResourceReader`" msgstr "" -#: whatsnew/3.12.rst:1002 -msgid "" -"Remove the :opcode:`LOAD_METHOD` instruction. It has been merged into :" -"opcode:`LOAD_ATTR`. :opcode:`LOAD_ATTR` will now behave like the old :opcode:" -"`LOAD_METHOD` instruction if the low bit of its oparg is set. (Contributed " -"by Ken Jin in :gh:`93429`.)" +#: whatsnew/3.12.rst:1407 +msgid ":class:`!importlib.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1007 -msgid "" -"Remove the :opcode:`!JUMP_IF_FALSE_OR_POP` and :opcode:`!" -"JUMP_IF_TRUE_OR_POP` instructions. (Contributed by Irit Katriel in :gh:" -"`102859`.)" +#: whatsnew/3.12.rst:1408 +msgid ":class:`!importlib.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1010 -msgid "" -"Removed the :opcode:`!PRECALL` instruction. (Contributed by Mark Shannon in :" -"gh:`92925`.)" +#: whatsnew/3.12.rst:1206 +msgid "Use :mod:`importlib.resources.abc` classes instead:" msgstr "" -#: whatsnew/3.12.rst:1013 -msgid "" -"Add the :opcode:`LOAD_FAST_AND_CLEAR` instruction as part of the " -"implementation of :pep:`709`. (Contributed by Carl Meyer in :gh:`101441`.)" +#: whatsnew/3.12.rst:1208 +msgid ":class:`importlib.resources.abc.Traversable`" msgstr "" -#: whatsnew/3.12.rst:1016 -msgid "" -"Add the :opcode:`LOAD_FROM_DICT_OR_DEREF`, :opcode:" -"`LOAD_FROM_DICT_OR_GLOBALS`, and :opcode:`LOAD_LOCALS` opcodes as part of " -"the implementation of :pep:`695`. Remove the :opcode:`!LOAD_CLASSDEREF` " -"opcode, which can be replaced with :opcode:`LOAD_LOCALS` plus :opcode:" -"`LOAD_FROM_DICT_OR_DEREF`. (Contributed by Jelle Zijlstra in :gh:`103764`.)" +#: whatsnew/3.12.rst:1209 +msgid ":class:`importlib.resources.abc.TraversableResources`" msgstr "" -#: whatsnew/3.12.rst:1022 -msgid "" -"Add the :opcode:`LOAD_SUPER_ATTR` instruction. (Contributed by Carl Meyer " -"and Vladimir Matveev in :gh:`103497`.)" +#: whatsnew/3.12.rst:1211 +msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" msgstr "" -#: whatsnew/3.12.rst:1026 -msgid "Demos and Tools" +#: whatsnew/3.12.rst:1213 +msgid "" +":mod:`itertools`: Deprecate the support for copy, deepcopy, and pickle " +"operations, which is undocumented, inefficient, historically buggy, and " +"inconsistent. This will be removed in 3.14 for a significant reduction in " +"code volume and maintenance burden. (Contributed by Raymond Hettinger in :gh:" +"`101588`.)" msgstr "" -#: whatsnew/3.12.rst:1028 +#: whatsnew/3.12.rst:1219 msgid "" -"Remove the ``Tools/demo/`` directory which contained old demo scripts. A " -"copy can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97681`.)" +":mod:`multiprocessing`: In Python 3.14, the default :mod:`multiprocessing` " +"start method will change to a safer one on Linux, BSDs, and other non-macOS " +"POSIX platforms where ``'fork'`` is currently the default (:gh:`84559`). " +"Adding a runtime warning about this was deemed too disruptive as the " +"majority of code is not expected to care. Use the :func:`~multiprocessing." +"get_context` or :func:`~multiprocessing.set_start_method` APIs to explicitly " +"specify when your code *requires* ``'fork'``. See :ref:`contexts and start " +"methods `." msgstr "" -#: whatsnew/3.12.rst:1033 +#: whatsnew/3.12.rst:1229 msgid "" -"Remove outdated example scripts of the ``Tools/scripts/`` directory. A copy " -"can be found in the `old-demos project `_. (Contributed by Victor Stinner in :gh:`97669`.)" +":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " +"are deprecated and will be removed in Python 3.14; use :func:`importlib.util." +"find_spec` instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:2038 -msgid "Deprecated" +#: whatsnew/3.12.rst:1234 +msgid "" +":mod:`pty`: The module has two undocumented ``master_open()`` and " +"``slave_open()`` functions that have been deprecated since Python 2 but only " +"gained a proper :exc:`DeprecationWarning` in 3.12. Remove them in 3.14. " +"(Contributed by Soumendra Ganguly and Gregory P. Smith in :gh:`85984`.)" msgstr "" -#: whatsnew/3.12.rst:1042 -msgid "" -":mod:`asyncio`: The :meth:`~asyncio.get_event_loop` method of the default " -"event loop policy now emits a :exc:`DeprecationWarning` if there is no " -"current event loop set and it decides to create one. (Contributed by Serhiy " -"Storchaka and Guido van Rossum in :gh:`100160`.)" +#: whatsnew/3.12.rst:1239 +msgid ":mod:`os`:" msgstr "" -#: whatsnew/3.12.rst:1047 +#: whatsnew/3.12.rst:1241 msgid "" -":mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants " -"are deprecated and replaced by :data:`calendar.JANUARY` and :data:`calendar." -"FEBRUARY`. (Contributed by Prince Roshan in :gh:`103636`.)" +"The ``st_ctime`` fields return by :func:`os.stat` and :func:`os.lstat` on " +"Windows are deprecated. In a future release, they will contain the last " +"metadata change time, consistent with other platforms. For now, they still " +"contain the creation time, which is also available in the new " +"``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" msgstr "" -#: whatsnew/3.12.rst:1051 +#: whatsnew/3.12.rst:1247 msgid "" -":mod:`datetime`: :class:`datetime.datetime`'s :meth:`~datetime.datetime." -"utcnow` and :meth:`~datetime.datetime.utcfromtimestamp` are deprecated and " -"will be removed in a future version. Instead, use timezone-aware objects to " -"represent datetimes in UTC: respectively, call :meth:`~datetime.datetime." -"now` and :meth:`~datetime.datetime.fromtimestamp` with the *tz* parameter " -"set to :const:`datetime.UTC`. (Contributed by Paul Ganssle in :gh:`103857`.)" +"On POSIX platforms, :func:`os.fork` can now raise a :exc:" +"`DeprecationWarning` when it can detect being called from a multithreaded " +"process. There has always been a fundamental incompatibility with the POSIX " +"platform when doing so. Even if such code *appeared* to work. We added the " +"warning to to raise awareness as issues encounted by code doing this are " +"becoming more frequent. See the :func:`os.fork` documentation for more " +"details along with `this discussion on fork being incompatible with threads " +"`_ for *why* we're now surfacing this " +"longstanding platform compatibility problem to developers." msgstr "" -#: whatsnew/3.12.rst:1059 +#: whatsnew/3.12.rst:1257 msgid "" -":mod:`os`: The ``st_ctime`` fields return by :func:`os.stat` and :func:`os." -"lstat` on Windows are deprecated. In a future release, they will contain the " -"last metadata change time, consistent with other platforms. For now, they " -"still contain the creation time, which is also available in the new " -"``st_birthtime`` field. (Contributed by Steve Dower in :gh:`99726`.)" +"When this warning appears due to usage of :mod:`multiprocessing` or :mod:" +"`concurrent.futures` the fix is to use a different :mod:`multiprocessing` " +"start method such as ``\"spawn\"`` or ``\"forkserver\"``." msgstr "" -#: whatsnew/3.12.rst:1065 +#: whatsnew/3.12.rst:1261 msgid "" ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is deprecated " -"as will be removed in Python 3.14. Use *onexc* instead. (Contributed by Irit " -"Katriel in :gh:`102828`.)" +"and will be removed in Python 3.14. Use *onexc* instead. (Contributed by " +"Irit Katriel in :gh:`102828`.)" msgstr "" -#: whatsnew/3.12.rst:1080 +#: whatsnew/3.12.rst:1264 msgid ":mod:`sqlite3`:" msgstr "" -#: whatsnew/3.12.rst:1069 +#: whatsnew/3.12.rst:1266 msgid "" ":ref:`default adapters and converters ` are now " "deprecated. Instead, use the :ref:`sqlite3-adapter-converter-recipes` and " "tailor them to your needs. (Contributed by Erlend E. Aasland in :gh:`90016`.)" msgstr "" -#: whatsnew/3.12.rst:1075 +#: whatsnew/3.12.rst:1272 msgid "" "In :meth:`~sqlite3.Cursor.execute`, :exc:`DeprecationWarning` is now emitted " "when :ref:`named placeholders ` are used together with " @@ -1385,402 +1741,355 @@ msgid "" "Erlend E. Aasland in :gh:`101698`.)" msgstr "" -#: whatsnew/3.12.rst:1082 +#: whatsnew/3.12.rst:1279 msgid "" ":mod:`sys`: The :data:`sys.last_type`, :data:`sys.last_value` and :data:`sys." "last_traceback` fields are deprecated. Use :data:`sys.last_exc` instead. " "(Contributed by Irit Katriel in :gh:`102778`.)" msgstr "" -#: whatsnew/3.12.rst:1086 +#: whatsnew/3.12.rst:1283 msgid "" ":mod:`tarfile`: Extracting tar archives without specifying *filter* is " "deprecated until Python 3.14, when ``'data'`` filter will become the " "default. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: whatsnew/3.12.rst:1090 +#: whatsnew/3.12.rst:1287 +msgid ":mod:`typing`:" +msgstr "" + +#: whatsnew/3.12.rst:1289 msgid "" -":mod:`typing`: :class:`typing.Hashable` and :class:`typing.Sized` aliases " -"for :class:`collections.abc.Hashable` and :class:`collections.abc.Sized`. (:" -"gh:`94309`.)" +":class:`typing.Hashable` and :class:`typing.Sized` aliases for :class:" +"`collections.abc.Hashable` and :class:`collections.abc.Sized`. (:gh:`94309`.)" msgstr "" -#: whatsnew/3.12.rst:1093 +#: whatsnew/3.12.rst:1292 +msgid "" +":class:`typing.ByteString`, deprecated since Python 3.9, now causes a :exc:" +"`DeprecationWarning` to be emitted when it is used. (Contributed by Alex " +"Waygood in :gh:`91896`.)" +msgstr "" + +#: whatsnew/3.12.rst:1296 msgid "" ":mod:`xml.etree.ElementTree`: The module now emits :exc:`DeprecationWarning` " "when testing the truth value of an :class:`xml.etree.ElementTree.Element`. " "Before, the Python implementation emitted :exc:`FutureWarning`, and the C " -"implementation emitted nothing." +"implementation emitted nothing. (Contributed by Jacob Walls in :gh:`83122`.)" msgstr "" -#: whatsnew/3.12.rst:1098 +#: whatsnew/3.12.rst:1302 msgid "" -"The 3-arg signatures (type, value, traceback) of :meth:`~coroutine.throw`, :" -"meth:`~generator.throw` and :meth:`~agen.athrow` are deprecated and may be " -"removed in a future version of Python. Use the single-arg versions of these " -"functions instead. (Contributed by Ofey Chan in :gh:`89874`.)" +"The 3-arg signatures (type, value, traceback) of :meth:`coroutine throw() " +"`, :meth:`generator throw() ` and :meth:" +"`async generator throw() ` are deprecated and may be removed in " +"a future version of Python. Use the single-arg versions of these functions " +"instead. (Contributed by Ofey Chan in :gh:`89874`.)" msgstr "" -#: whatsnew/3.12.rst:1103 +#: whatsnew/3.12.rst:1308 msgid "" ":exc:`DeprecationWarning` is now raised when ``__package__`` on a module " "differs from ``__spec__.parent`` (previously it was :exc:`ImportWarning`). " "(Contributed by Brett Cannon in :gh:`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1108 +#: whatsnew/3.12.rst:1313 msgid "" -"In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" -"`PyDictObject` is deprecated for extension modules. Accessing this field " -"will generate a compiler warning at compile time. This field will be removed " -"in Python 3.14. (Contributed by Ramvikrams and Kumar Aditya in :gh:`101193`. " -"PEP by Ken Jin.)" +"Setting ``__package__`` or ``__cached__`` on a module is deprecated, and " +"will cease to be set or taken into consideration by the import system in " +"Python 3.14. (Contributed by Brett Cannon in :gh:`65961`.)" msgstr "" -#: whatsnew/3.12.rst:1113 +#: whatsnew/3.12.rst:1317 msgid "" "The bitwise inversion operator (``~``) on bool is deprecated. It will throw " "an error in Python 3.14. Use ``not`` for logical negation of bools instead. " "In the rare case that you really need the bitwise inversion of the " -"underlying ``int``, convert to int explicitly with ``~int(x)``. (Contributed " -"by Tim Hoffmann in :gh:`103487`.)" +"underlying ``int``, convert to int explicitly: ``~int(x)``. (Contributed by " +"Tim Hoffmann in :gh:`103487`.)" msgstr "" -#: whatsnew/3.12.rst:1120 +#: whatsnew/3.12.rst:1323 +msgid "" +"Accessing ``co_lnotab`` on code objects was deprecated in Python 3.10 via :" +"pep:`626`, but it only got a proper :exc:`DeprecationWarning` in 3.12, " +"therefore it will be removed in 3.14. (Contributed by Nikita Sobolev in :gh:" +"`101866`.)" +msgstr "" + +#: whatsnew/3.12.rst:1329 msgid "Pending Removal in Python 3.13" msgstr "" -#: whatsnew/3.12.rst:1122 +#: whatsnew/3.12.rst:1331 msgid "" "The following modules and APIs have been deprecated in earlier Python " "releases, and will be removed in Python 3.13." msgstr "" -#: whatsnew/3.12.rst:1125 +#: whatsnew/3.12.rst:1334 msgid "Modules (see :pep:`594`):" msgstr "" -#: whatsnew/3.12.rst:1127 +#: whatsnew/3.12.rst:1336 msgid ":mod:`aifc`" msgstr "" -#: whatsnew/3.12.rst:1128 +#: whatsnew/3.12.rst:1337 msgid ":mod:`audioop`" msgstr "" -#: whatsnew/3.12.rst:1129 +#: whatsnew/3.12.rst:1338 msgid ":mod:`cgi`" msgstr "" -#: whatsnew/3.12.rst:1130 +#: whatsnew/3.12.rst:1339 msgid ":mod:`cgitb`" msgstr "" -#: whatsnew/3.12.rst:1131 +#: whatsnew/3.12.rst:1340 msgid ":mod:`chunk`" msgstr "" -#: whatsnew/3.12.rst:1132 +#: whatsnew/3.12.rst:1341 msgid ":mod:`crypt`" msgstr "" -#: whatsnew/3.12.rst:1133 +#: whatsnew/3.12.rst:1342 msgid ":mod:`imghdr`" msgstr "" -#: whatsnew/3.12.rst:1134 +#: whatsnew/3.12.rst:1343 msgid ":mod:`mailcap`" msgstr "" -#: whatsnew/3.12.rst:1135 +#: whatsnew/3.12.rst:1344 msgid ":mod:`msilib`" msgstr "" -#: whatsnew/3.12.rst:1136 +#: whatsnew/3.12.rst:1345 msgid ":mod:`nis`" msgstr "" -#: whatsnew/3.12.rst:1137 +#: whatsnew/3.12.rst:1346 msgid ":mod:`nntplib`" msgstr "" -#: whatsnew/3.12.rst:1138 +#: whatsnew/3.12.rst:1347 msgid ":mod:`ossaudiodev`" msgstr "" -#: whatsnew/3.12.rst:1139 +#: whatsnew/3.12.rst:1348 msgid ":mod:`pipes`" msgstr "" -#: whatsnew/3.12.rst:1140 +#: whatsnew/3.12.rst:1349 msgid ":mod:`sndhdr`" msgstr "" -#: whatsnew/3.12.rst:1141 +#: whatsnew/3.12.rst:1350 msgid ":mod:`spwd`" msgstr "" -#: whatsnew/3.12.rst:1142 +#: whatsnew/3.12.rst:1351 msgid ":mod:`sunau`" msgstr "" -#: whatsnew/3.12.rst:1143 +#: whatsnew/3.12.rst:1352 msgid ":mod:`telnetlib`" msgstr "" -#: whatsnew/3.12.rst:1144 +#: whatsnew/3.12.rst:1353 msgid ":mod:`uu`" msgstr "" -#: whatsnew/3.12.rst:1145 +#: whatsnew/3.12.rst:1354 msgid ":mod:`xdrlib`" msgstr "" -#: whatsnew/3.12.rst:1147 +#: whatsnew/3.12.rst:1356 msgid "Other modules:" msgstr "" -#: whatsnew/3.12.rst:1149 +#: whatsnew/3.12.rst:1358 msgid ":mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)" msgstr "" -#: whatsnew/3.12.rst:1151 +#: whatsnew/3.12.rst:1360 msgid "APIs:" msgstr "" -#: whatsnew/3.12.rst:1153 +#: whatsnew/3.12.rst:1362 msgid ":class:`!configparser.LegacyInterpolation` (:gh:`90765`)" msgstr "" -#: whatsnew/3.12.rst:1154 +#: whatsnew/3.12.rst:1363 msgid ":func:`locale.getdefaultlocale` (:gh:`90817`)" msgstr "" -#: whatsnew/3.12.rst:1155 +#: whatsnew/3.12.rst:1364 msgid ":meth:`!turtle.RawTurtle.settiltangle` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1156 +#: whatsnew/3.12.rst:1365 msgid ":func:`!unittest.findTestCases` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1157 +#: whatsnew/3.12.rst:1366 msgid ":func:`!unittest.getTestCaseNames` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1158 +#: whatsnew/3.12.rst:1367 msgid ":func:`!unittest.makeSuite` (:gh:`50096`)" msgstr "" -#: whatsnew/3.12.rst:1159 +#: whatsnew/3.12.rst:1368 msgid ":meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)" msgstr "" -#: whatsnew/3.12.rst:1160 +#: whatsnew/3.12.rst:1369 msgid ":class:`!webbrowser.MacOSX` (:gh:`86421`)" msgstr "" -#: whatsnew/3.12.rst:1161 +#: whatsnew/3.12.rst:1370 msgid ":class:`classmethod` descriptor chaining (:gh:`89519`)" msgstr "" -#: whatsnew/3.12.rst:1164 +#: whatsnew/3.12.rst:2306 msgid "Pending Removal in Python 3.14" msgstr "" -#: whatsnew/3.12.rst:1166 +#: whatsnew/3.12.rst:1375 msgid "" -":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" -"argparse.BooleanOptionalAction` are deprecated and will be removed in 3.14. " -"(Contributed by Nikita Sobolev in :gh:`92248`.)" +"The following APIs have been deprecated and will be removed in Python 3.14." msgstr "" -#: whatsnew/3.12.rst:1171 +#: whatsnew/3.12.rst:1378 msgid "" -":mod:`ast`: The following :mod:`ast` features have been deprecated in " -"documentation since Python 3.8, now cause a :exc:`DeprecationWarning` to be " -"emitted at runtime when they are accessed or used, and will be removed in " -"Python 3.14:" -msgstr "" - -#: whatsnew/3.12.rst:1175 -msgid ":class:`!ast.Num`" -msgstr "" - -#: whatsnew/3.12.rst:1176 -msgid ":class:`!ast.Str`" +":mod:`argparse`: The *type*, *choices*, and *metavar* parameters of :class:`!" +"argparse.BooleanOptionalAction`" msgstr "" -#: whatsnew/3.12.rst:1177 -msgid ":class:`!ast.Bytes`" +#: whatsnew/3.12.rst:1381 +msgid ":mod:`ast`:" msgstr "" -#: whatsnew/3.12.rst:1178 -msgid ":class:`!ast.NameConstant`" +#: whatsnew/3.12.rst:1391 +msgid ":class:`!asyncio.MultiLoopChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1179 -msgid ":class:`!ast.Ellipsis`" +#: whatsnew/3.12.rst:1392 +msgid ":class:`!asyncio.FastChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1181 -msgid "" -"Use :class:`ast.Constant` instead. (Contributed by Serhiy Storchaka in :gh:" -"`90953`.)" +#: whatsnew/3.12.rst:1393 +msgid ":class:`!asyncio.AbstractChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1184 -msgid "" -":mod:`asyncio`: the *msg* parameter of both :meth:`asyncio.Future.cancel` " -"and :meth:`asyncio.Task.cancel` (:gh:`90985`)" +#: whatsnew/3.12.rst:1394 +msgid ":class:`!asyncio.SafeChildWatcher`" msgstr "" -#: whatsnew/3.12.rst:1188 -msgid "" -":mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`. " -"Prefer :class:`Sequence` or :class:`collections.abc.Buffer`. For use in " -"typing, prefer a union, like ``bytes | bytearray``, or :class:`collections." -"abc.Buffer`. (Contributed by Shantanu Jain in :gh:`91896`.)" +#: whatsnew/3.12.rst:1395 +msgid ":func:`!asyncio.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1193 -msgid "" -":mod:`email`: Deprecated the *isdst* parameter in :func:`email.utils." -"localtime`. (Contributed by Alan Williams in :gh:`72346`.)" +#: whatsnew/3.12.rst:1396 +msgid ":func:`!asyncio.get_child_watcher`," msgstr "" -#: whatsnew/3.12.rst:1196 -msgid "" -":mod:`importlib.abc`: Deprecated the following classes, scheduled for " -"removal in Python 3.14:" +#: whatsnew/3.12.rst:1397 +msgid ":meth:`!asyncio.AbstractEventLoopPolicy.set_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1199 -msgid ":class:`!importlib.abc.ResourceReader`" +#: whatsnew/3.12.rst:1398 +msgid ":meth:`!asyncio.AbstractEventLoopPolicy.get_child_watcher`" msgstr "" -#: whatsnew/3.12.rst:1200 -msgid ":class:`!importlib.abc.Traversable`" +#: whatsnew/3.12.rst:1400 +msgid ":mod:`collections.abc`: :class:`!collections.abc.ByteString`." msgstr "" -#: whatsnew/3.12.rst:1201 -msgid ":class:`!importlib.abc.TraversableResources`" +#: whatsnew/3.12.rst:1402 +msgid ":mod:`email`: the *isdst* parameter in :func:`email.utils.localtime`." msgstr "" -#: whatsnew/3.12.rst:1203 -msgid "Use :mod:`importlib.resources.abc` classes instead:" +#: whatsnew/3.12.rst:1404 +msgid ":mod:`importlib.abc`:" msgstr "" -#: whatsnew/3.12.rst:1205 -msgid ":class:`importlib.resources.abc.Traversable`" +#: whatsnew/3.12.rst:1410 +msgid ":mod:`itertools`: Support for copy, deepcopy, and pickle operations." msgstr "" -#: whatsnew/3.12.rst:1206 -msgid ":class:`importlib.resources.abc.TraversableResources`" +#: whatsnew/3.12.rst:1412 +msgid ":mod:`pkgutil`:" msgstr "" -#: whatsnew/3.12.rst:1208 -msgid "(Contributed by Jason R. Coombs and Hugo van Kemenade in :gh:`93963`.)" +#: whatsnew/3.12.rst:1414 +msgid ":func:`!pkgutil.find_loader`" msgstr "" -#: whatsnew/3.12.rst:1210 -msgid "" -":mod:`itertools`: The module had undocumented, inefficient, historically " -"buggy, and inconsistent support for copy, deepcopy, and pickle operations. " -"This will be removed in 3.14 for a significant reduction in code volume and " -"maintenance burden. (Contributed by Raymond Hettinger in :gh:`101588`.)" +#: whatsnew/3.12.rst:1415 +msgid ":func:`!pkgutil.get_loader`." msgstr "" -#: whatsnew/3.12.rst:1216 -msgid "" -":mod:`multiprocessing`: The default :mod:`multiprocessing` start method will " -"change to a safer one on Linux, BSDs, and other non-macOS POSIX platforms " -"where ``'fork'`` is currently the default (:gh:`84559`). Adding a runtime " -"warning about this was deemed too disruptive as the majority of code is not " -"expected to care. Use the :func:`~multiprocessing.get_context` or :func:" -"`~multiprocessing.set_start_method` APIs to explicitly specify when your " -"code *requires* ``'fork'``. See :ref:`multiprocessing-start-methods`." +#: whatsnew/3.12.rst:1417 +msgid ":mod:`pty`:" msgstr "" -#: whatsnew/3.12.rst:1224 -msgid "" -":mod:`pkgutil`: :func:`pkgutil.find_loader` and :func:`pkgutil.get_loader` " -"now raise :exc:`DeprecationWarning`; use :func:`importlib.util.find_spec` " -"instead. (Contributed by Nikita Sobolev in :gh:`97850`.)" +#: whatsnew/3.12.rst:1419 +msgid ":func:`!pty.master_open`" msgstr "" -#: whatsnew/3.12.rst:1229 -msgid "" -":mod:`pty`: The module has two undocumented ``master_open()`` and " -"``slave_open()`` functions that have been deprecated since Python 2 but only " -"gained a proper :exc:`DeprecationWarning` in 3.12. Remove them in 3.14." +#: whatsnew/3.12.rst:1420 +msgid ":func:`!pty.slave_open`" msgstr "" -#: whatsnew/3.12.rst:1233 -msgid "" -":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree` is deprecated " -"in 3.12, and will be removed in 3.14." +#: whatsnew/3.12.rst:1422 +msgid ":mod:`shutil`: The *onerror* argument of :func:`shutil.rmtree`" msgstr "" -#: whatsnew/3.12.rst:1236 -msgid "" -":mod:`typing`: :class:`typing.ByteString`, deprecated since Python 3.9, now " -"causes a :exc:`DeprecationWarning` to be emitted when it is used." +#: whatsnew/3.12.rst:1424 +msgid ":mod:`typing`: :class:`!typing.ByteString`" msgstr "" -#: whatsnew/3.12.rst:1239 +#: whatsnew/3.12.rst:1426 msgid "" ":mod:`xml.etree.ElementTree`: Testing the truth value of an :class:`xml." -"etree.ElementTree.Element` is deprecated and will raise an exception in " -"Python 3.14." -msgstr "" - -#: whatsnew/3.12.rst:1242 -msgid "" -"Creating immutable types (:c:macro:`Py_TPFLAGS_IMMUTABLETYPE`) with mutable " -"bases using the C API (:gh:`95388`)." -msgstr "" - -#: whatsnew/3.12.rst:1245 -msgid "" -"``__package__`` and ``__cached__`` will cease to be set or taken into " -"consideration by the import system (:gh:`97879`)." +"etree.ElementTree.Element`." msgstr "" -#: whatsnew/3.12.rst:1248 -msgid "" -"Accessing ``co_lnotab`` was deprecated in :pep:`626` since 3.10 and was " -"planned to be removed in 3.12 but it only got a proper :exc:" -"`DeprecationWarning` in 3.12. May be removed in 3.14. (Contributed by Nikita " -"Sobolev in :gh:`101866`.)" +#: whatsnew/3.12.rst:1428 +msgid "The ``__package__`` and ``__cached__`` attributes on module objects." msgstr "" -#: whatsnew/3.12.rst:1254 -msgid "" -"Creating :c:data:`immutable types ` with mutable " -"bases using the C API (:gh:`95388`)" +#: whatsnew/3.12.rst:1430 +msgid "The ``co_lnotab`` attribute of code objects." msgstr "" -#: whatsnew/3.12.rst:1258 +#: whatsnew/3.12.rst:2361 msgid "Pending Removal in Future Versions" msgstr "" -#: whatsnew/3.12.rst:1260 +#: whatsnew/3.12.rst:1435 msgid "" "The following APIs were deprecated in earlier Python versions and will be " "removed, although there is currently no date scheduled for their removal." msgstr "" -#: whatsnew/3.12.rst:1263 +#: whatsnew/3.12.rst:1438 msgid ":mod:`array`'s ``'u'`` format code (:gh:`57281`)" msgstr "" -#: whatsnew/3.12.rst:1265 +#: whatsnew/3.12.rst:1440 msgid ":class:`typing.Text` (:gh:`92332`)" msgstr "" -#: whatsnew/3.12.rst:1267 +#: whatsnew/3.12.rst:1442 msgid "" "Currently Python accepts numeric literals immediately followed by keywords, " "for example ``0in x``, ``1or x``, ``0if 1else 2``. It allows confusing and " @@ -1792,54 +2101,54 @@ msgid "" "syntax error. (:gh:`87999`)" msgstr "" -#: whatsnew/3.12.rst:2120 +#: whatsnew/3.12.rst:2393 msgid "Removed" msgstr "" -#: whatsnew/3.12.rst:1281 +#: whatsnew/3.12.rst:1456 msgid "asynchat and asyncore" msgstr "" -#: whatsnew/3.12.rst:1283 +#: whatsnew/3.12.rst:1458 msgid "" "These two modules have been removed according to the schedule in :pep:`594`, " "having been deprecated in Python 3.6. Use :mod:`asyncio` instead. " "(Contributed by Nikita Sobolev in :gh:`96580`.)" msgstr "" -#: whatsnew/3.12.rst:1290 +#: whatsnew/3.12.rst:1465 msgid "configparser" msgstr "" -#: whatsnew/3.12.rst:1292 +#: whatsnew/3.12.rst:1467 msgid "" "Several names deprecated in the :mod:`configparser` way back in 3.2 have " "been removed per :gh:`89336`:" msgstr "" -#: whatsnew/3.12.rst:1295 +#: whatsnew/3.12.rst:1470 msgid "" ":class:`configparser.ParsingError` no longer has a ``filename`` attribute or " "argument. Use the ``source`` attribute and argument instead." msgstr "" -#: whatsnew/3.12.rst:1297 +#: whatsnew/3.12.rst:1472 msgid "" ":mod:`configparser` no longer has a ``SafeConfigParser`` class. Use the " "shorter :class:`~configparser.ConfigParser` name instead." msgstr "" -#: whatsnew/3.12.rst:1299 +#: whatsnew/3.12.rst:1474 msgid "" ":class:`configparser.ConfigParser` no longer has a ``readfp`` method. Use :" "meth:`~configparser.ConfigParser.read_file` instead." msgstr "" -#: whatsnew/3.12.rst:1303 +#: whatsnew/3.12.rst:1478 msgid "distutils" msgstr "" -#: whatsnew/3.12.rst:1305 +#: whatsnew/3.12.rst:1480 msgid "" "Remove the :py:mod:`!distutils` package. It was deprecated in Python 3.10 " "by :pep:`632` \"Deprecate distutils module\". For projects still using " @@ -1848,17 +2157,17 @@ msgid "" "Victor Stinner in :gh:`92584`.)" msgstr "" -#: whatsnew/3.12.rst:1312 +#: whatsnew/3.12.rst:1487 msgid "ensurepip" msgstr "" -#: whatsnew/3.12.rst:1314 +#: whatsnew/3.12.rst:1489 msgid "" "Remove the bundled setuptools wheel from :mod:`ensurepip`, and stop " "installing setuptools in environments created by :mod:`venv`." msgstr "" -#: whatsnew/3.12.rst:1317 +#: whatsnew/3.12.rst:1492 msgid "" "``pip (>= 22.1)`` does not require setuptools to be installed in the " "environment. ``setuptools``-based (and ``distutils``-based) packages can " @@ -1866,7 +2175,7 @@ msgid "" "the build environment it uses for building a package." msgstr "" -#: whatsnew/3.12.rst:1323 +#: whatsnew/3.12.rst:1498 msgid "" "``easy_install``, ``pkg_resources``, ``setuptools`` and ``distutils`` are no " "longer provided by default in environments created with ``venv`` or " @@ -1876,35 +2185,35 @@ msgid "" "(typically, using pip)." msgstr "" -#: whatsnew/3.12.rst:1330 +#: whatsnew/3.12.rst:1505 msgid "(Contributed by Pradyun Gedam in :gh:`95299`.)" msgstr "" -#: whatsnew/3.12.rst:1333 +#: whatsnew/3.12.rst:1508 msgid "enum" msgstr "" -#: whatsnew/3.12.rst:1335 +#: whatsnew/3.12.rst:1510 msgid "" "Remove :mod:`enum`'s ``EnumMeta.__getattr__``, which is no longer needed for " "enum attribute access. (Contributed by Ethan Furman in :gh:`95083`.)" msgstr "" -#: whatsnew/3.12.rst:1340 +#: whatsnew/3.12.rst:1515 msgid "ftplib" msgstr "" -#: whatsnew/3.12.rst:1342 +#: whatsnew/3.12.rst:1517 msgid "" "Remove :mod:`ftplib`'s ``FTP_TLS.ssl_version`` class attribute: use the " "*context* parameter instead. (Contributed by Victor Stinner in :gh:`94172`.)" msgstr "" -#: whatsnew/3.12.rst:1347 +#: whatsnew/3.12.rst:1522 msgid "gzip" msgstr "" -#: whatsnew/3.12.rst:1349 +#: whatsnew/3.12.rst:1524 msgid "" "Remove the ``filename`` attribute of :mod:`gzip`'s :class:`gzip.GzipFile`, " "deprecated since Python 2.6, use the :attr:`~gzip.GzipFile.name` attribute " @@ -1913,11 +2222,11 @@ msgid "" "`94196`.)" msgstr "" -#: whatsnew/3.12.rst:1356 +#: whatsnew/3.12.rst:1531 msgid "hashlib" msgstr "" -#: whatsnew/3.12.rst:1358 +#: whatsnew/3.12.rst:1533 msgid "" "Remove the pure Python implementation of :mod:`hashlib`'s :func:`hashlib." "pbkdf2_hmac()`, deprecated in Python 3.10. Python 3.10 and newer requires " @@ -1926,183 +2235,191 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1392 +#: whatsnew/3.12.rst:1567 msgid "importlib" msgstr "" -#: whatsnew/3.12.rst:1367 +#: whatsnew/3.12.rst:1542 msgid "" "Many previously deprecated cleanups in :mod:`importlib` have now been " "completed:" msgstr "" -#: whatsnew/3.12.rst:1370 +#: whatsnew/3.12.rst:1545 msgid "" "References to, and support for :meth:`!module_repr()` has been removed. " "(Contributed by Barry Warsaw in :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1373 +#: whatsnew/3.12.rst:1548 msgid "" "``importlib.util.set_package``, ``importlib.util.set_loader`` and " "``importlib.util.module_for_loader`` have all been removed. (Contributed by " "Brett Cannon and Nikita Sobolev in :gh:`65961` and :gh:`97850`.)" msgstr "" -#: whatsnew/3.12.rst:1377 +#: whatsnew/3.12.rst:1552 msgid "" "Support for ``find_loader()`` and ``find_module()`` APIs have been removed. " "(Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1380 +#: whatsnew/3.12.rst:1555 msgid "" "``importlib.abc.Finder``, ``pkgutil.ImpImporter``, and ``pkgutil.ImpLoader`` " "have been removed. (Contributed by Barry Warsaw in :gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1392 +#: whatsnew/3.12.rst:1567 msgid "imp" msgstr "" -#: whatsnew/3.12.rst:1386 +#: whatsnew/3.12.rst:1561 msgid "" "The :mod:`!imp` module has been removed. (Contributed by Barry Warsaw in :" "gh:`98040`.)" msgstr "" -#: whatsnew/3.12.rst:1389 -msgid "Replace removed :mod:`!imp` functions with :mod:`importlib` functions:" +#: whatsnew/3.12.rst:1564 +msgid "To migrate, consult the following correspondence table:" msgstr "" -#: whatsnew/3.12.rst:1394 +#: whatsnew/3.12.rst:1569 msgid "``imp.NullImporter``" msgstr "" -#: whatsnew/3.12.rst:1394 +#: whatsnew/3.12.rst:1569 msgid "Insert ``None`` into ``sys.path_importer_cache``" msgstr "" -#: whatsnew/3.12.rst:1395 +#: whatsnew/3.12.rst:1570 msgid "``imp.cache_from_source()``" msgstr "" -#: whatsnew/3.12.rst:1395 +#: whatsnew/3.12.rst:1570 msgid ":func:`importlib.util.cache_from_source`" msgstr "" -#: whatsnew/3.12.rst:1396 +#: whatsnew/3.12.rst:1571 msgid "``imp.find_module()``" msgstr "" -#: whatsnew/3.12.rst:1396 +#: whatsnew/3.12.rst:1571 msgid ":func:`importlib.util.find_spec`" msgstr "" -#: whatsnew/3.12.rst:1397 +#: whatsnew/3.12.rst:1572 msgid "``imp.get_magic()``" msgstr "" -#: whatsnew/3.12.rst:1397 +#: whatsnew/3.12.rst:1572 msgid ":attr:`importlib.util.MAGIC_NUMBER`" msgstr "" -#: whatsnew/3.12.rst:1398 +#: whatsnew/3.12.rst:1573 msgid "``imp.get_suffixes()``" msgstr "" -#: whatsnew/3.12.rst:1398 +#: whatsnew/3.12.rst:1573 msgid "" ":attr:`importlib.machinery.SOURCE_SUFFIXES`, :attr:`importlib.machinery." "EXTENSION_SUFFIXES`, and :attr:`importlib.machinery.BYTECODE_SUFFIXES`" msgstr "" -#: whatsnew/3.12.rst:1399 +#: whatsnew/3.12.rst:1574 msgid "``imp.get_tag()``" msgstr "" -#: whatsnew/3.12.rst:1399 +#: whatsnew/3.12.rst:1574 msgid ":attr:`sys.implementation.cache_tag `" msgstr "" -#: whatsnew/3.12.rst:1400 +#: whatsnew/3.12.rst:1575 msgid "``imp.load_module()``" msgstr "" -#: whatsnew/3.12.rst:1400 +#: whatsnew/3.12.rst:1575 msgid ":func:`importlib.import_module`" msgstr "" -#: whatsnew/3.12.rst:1401 +#: whatsnew/3.12.rst:1576 msgid "``imp.new_module(name)``" msgstr "" -#: whatsnew/3.12.rst:1401 +#: whatsnew/3.12.rst:1576 msgid "``types.ModuleType(name)``" msgstr "" -#: whatsnew/3.12.rst:1402 +#: whatsnew/3.12.rst:1577 msgid "``imp.reload()``" msgstr "" -#: whatsnew/3.12.rst:1402 +#: whatsnew/3.12.rst:1577 msgid ":func:`importlib.reload`" msgstr "" -#: whatsnew/3.12.rst:1403 +#: whatsnew/3.12.rst:1578 msgid "``imp.source_from_cache()``" msgstr "" -#: whatsnew/3.12.rst:1403 +#: whatsnew/3.12.rst:1578 msgid ":func:`importlib.util.source_from_cache`" msgstr "" -#: whatsnew/3.12.rst:1406 +#: whatsnew/3.12.rst:1579 +msgid "``imp.load_source()``" +msgstr "" + +#: whatsnew/3.12.rst:1579 +msgid "*See below*" +msgstr "" + +#: whatsnew/3.12.rst:1582 msgid "Replace ``imp.load_source()`` with::" msgstr "" -#: whatsnew/3.12.rst:1421 -msgid "Removed :mod:`!imp` functions and attributes with no replacements:" +#: whatsnew/3.12.rst:1597 +msgid "Remove :mod:`!imp` functions and attributes with no replacements:" msgstr "" -#: whatsnew/3.12.rst:1423 -msgid "undocumented functions:" +#: whatsnew/3.12.rst:1599 +msgid "Undocumented functions:" msgstr "" -#: whatsnew/3.12.rst:1425 +#: whatsnew/3.12.rst:1601 msgid "``imp.init_builtin()``" msgstr "" -#: whatsnew/3.12.rst:1426 +#: whatsnew/3.12.rst:1602 msgid "``imp.load_compiled()``" msgstr "" -#: whatsnew/3.12.rst:1427 +#: whatsnew/3.12.rst:1603 msgid "``imp.load_dynamic()``" msgstr "" -#: whatsnew/3.12.rst:1428 +#: whatsnew/3.12.rst:1604 msgid "``imp.load_package()``" msgstr "" -#: whatsnew/3.12.rst:1430 +#: whatsnew/3.12.rst:1606 msgid "" "``imp.lock_held()``, ``imp.acquire_lock()``, ``imp.release_lock()``: the " "locking scheme has changed in Python 3.3 to per-module locks." msgstr "" -#: whatsnew/3.12.rst:1432 +#: whatsnew/3.12.rst:1608 msgid "" "``imp.find_module()`` constants: ``SEARCH_ERROR``, ``PY_SOURCE``, " "``PY_COMPILED``, ``C_EXTENSION``, ``PY_RESOURCE``, ``PKG_DIRECTORY``, " "``C_BUILTIN``, ``PY_FROZEN``, ``PY_CODERESOURCE``, ``IMP_HOOK``." msgstr "" -#: whatsnew/3.12.rst:1437 +#: whatsnew/3.12.rst:1613 msgid "io" msgstr "" -#: whatsnew/3.12.rst:1439 +#: whatsnew/3.12.rst:1615 msgid "" "Remove :mod:`io`'s ``io.OpenWrapper`` and ``_pyio.OpenWrapper``, deprecated " "in Python 3.10: just use :func:`open` instead. The :func:`open` (:func:`io." @@ -2111,18 +2428,18 @@ msgid "" "`94169`.)" msgstr "" -#: whatsnew/3.12.rst:1446 +#: whatsnew/3.12.rst:1622 msgid "locale" msgstr "" -#: whatsnew/3.12.rst:1448 +#: whatsnew/3.12.rst:1624 msgid "" "Remove :mod:`locale`'s :func:`!locale.format` function, deprecated in Python " "3.7: use :func:`locale.format_string` instead. (Contributed by Victor " "Stinner in :gh:`94226`.)" msgstr "" -#: whatsnew/3.12.rst:1452 +#: whatsnew/3.12.rst:1628 msgid "" "``smtpd``: The module has been removed according to the schedule in :pep:" "`594`, having been deprecated in Python 3.4.7 and 3.5.4. Use aiosmtpd_ PyPI " @@ -2130,27 +2447,27 @@ msgid "" "Oleg Iarygin in :gh:`93243`.)" msgstr "" -#: whatsnew/3.12.rst:1463 +#: whatsnew/3.12.rst:1639 msgid "" "The following undocumented :mod:`sqlite3` features, deprecated in Python " "3.10, are now removed:" msgstr "" -#: whatsnew/3.12.rst:1466 +#: whatsnew/3.12.rst:1642 msgid "``sqlite3.enable_shared_cache()``" msgstr "" -#: whatsnew/3.12.rst:1467 +#: whatsnew/3.12.rst:1643 msgid "``sqlite3.OptimizedUnicode``" msgstr "" -#: whatsnew/3.12.rst:1469 +#: whatsnew/3.12.rst:1645 msgid "" "If a shared cache must be used, open the database in URI mode using the " "``cache=shared`` query parameter." msgstr "" -#: whatsnew/3.12.rst:1472 +#: whatsnew/3.12.rst:1648 msgid "" "The ``sqlite3.OptimizedUnicode`` text factory has been an alias for :class:" "`str` since Python 3.3. Code that previously set the text factory to " @@ -2158,22 +2475,22 @@ msgid "" "default value which is also ``str``." msgstr "" -#: whatsnew/3.12.rst:1477 +#: whatsnew/3.12.rst:1653 msgid "(Contributed by Erlend E. Aasland in :gh:`92548`.)" msgstr "" -#: whatsnew/3.12.rst:1480 +#: whatsnew/3.12.rst:1656 msgid "ssl" msgstr "" -#: whatsnew/3.12.rst:1482 +#: whatsnew/3.12.rst:1658 msgid "" "Remove :mod:`ssl`'s :func:`!ssl.RAND_pseudo_bytes` function, deprecated in " "Python 3.6: use :func:`os.urandom` or :func:`ssl.RAND_bytes` instead. " "(Contributed by Victor Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1486 +#: whatsnew/3.12.rst:1662 msgid "" "Remove the :func:`!ssl.match_hostname` function. It was deprecated in Python " "3.7. OpenSSL performs hostname matching since Python 3.7, Python no longer " @@ -2181,7 +2498,7 @@ msgid "" "Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1492 +#: whatsnew/3.12.rst:1668 msgid "" "Remove the :func:`!ssl.wrap_socket` function, deprecated in Python 3.7: " "instead, create a :class:`ssl.SSLContext` object and call its :class:`ssl." @@ -2192,185 +2509,185 @@ msgid "" "Validation. (Contributed by Victor Stinner in :gh:`94199`.)" msgstr "" -#: whatsnew/3.12.rst:1504 -msgid "Removed many old deprecated :mod:`unittest` features:" +#: whatsnew/3.12.rst:1680 +msgid "Remove many long-deprecated :mod:`unittest` features:" msgstr "" -#: whatsnew/3.12.rst:1506 +#: whatsnew/3.12.rst:1684 msgid "A number of :class:`~unittest.TestCase` method aliases:" msgstr "" -#: whatsnew/3.12.rst:1509 +#: whatsnew/3.12.rst:1687 msgid "Deprecated alias" msgstr "" -#: whatsnew/3.12.rst:1509 +#: whatsnew/3.12.rst:1687 msgid "Method Name" msgstr "" -#: whatsnew/3.12.rst:1509 +#: whatsnew/3.12.rst:1687 msgid "Deprecated in" msgstr "" -#: whatsnew/3.12.rst:1511 +#: whatsnew/3.12.rst:1689 msgid "``failUnless``" msgstr "" -#: whatsnew/3.12.rst:1518 +#: whatsnew/3.12.rst:1696 msgid ":meth:`.assertTrue`" msgstr "" -#: whatsnew/3.12.rst:1512 whatsnew/3.12.rst:1514 whatsnew/3.12.rst:1516 -#: whatsnew/3.12.rst:1517 +#: whatsnew/3.12.rst:1690 whatsnew/3.12.rst:1692 whatsnew/3.12.rst:1694 +#: whatsnew/3.12.rst:1695 msgid "3.1" msgstr "" -#: whatsnew/3.12.rst:1512 +#: whatsnew/3.12.rst:1690 msgid "``failIf``" msgstr "" -#: whatsnew/3.12.rst:1512 +#: whatsnew/3.12.rst:1690 msgid ":meth:`.assertFalse`" msgstr "" -#: whatsnew/3.12.rst:1513 +#: whatsnew/3.12.rst:1691 msgid "``failUnlessEqual``" msgstr "" -#: whatsnew/3.12.rst:1519 +#: whatsnew/3.12.rst:1697 msgid ":meth:`.assertEqual`" msgstr "" -#: whatsnew/3.12.rst:1514 +#: whatsnew/3.12.rst:1692 msgid "``failIfEqual``" msgstr "" -#: whatsnew/3.12.rst:1520 +#: whatsnew/3.12.rst:1698 msgid ":meth:`.assertNotEqual`" msgstr "" -#: whatsnew/3.12.rst:1515 +#: whatsnew/3.12.rst:1693 msgid "``failUnlessAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1521 +#: whatsnew/3.12.rst:1699 msgid ":meth:`.assertAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1516 +#: whatsnew/3.12.rst:1694 msgid "``failIfAlmostEqual``" msgstr "" -#: whatsnew/3.12.rst:1522 +#: whatsnew/3.12.rst:1700 msgid ":meth:`.assertNotAlmostEqual`" msgstr "" -#: whatsnew/3.12.rst:1517 +#: whatsnew/3.12.rst:1695 msgid "``failUnlessRaises``" msgstr "" -#: whatsnew/3.12.rst:1517 +#: whatsnew/3.12.rst:1695 msgid ":meth:`.assertRaises`" msgstr "" -#: whatsnew/3.12.rst:1518 +#: whatsnew/3.12.rst:1696 msgid "``assert_``" msgstr "" -#: whatsnew/3.12.rst:1519 whatsnew/3.12.rst:1521 whatsnew/3.12.rst:1523 -#: whatsnew/3.12.rst:1524 +#: whatsnew/3.12.rst:1697 whatsnew/3.12.rst:1699 whatsnew/3.12.rst:1701 +#: whatsnew/3.12.rst:1702 msgid "3.2" msgstr "" -#: whatsnew/3.12.rst:1519 +#: whatsnew/3.12.rst:1697 msgid "``assertEquals``" msgstr "" -#: whatsnew/3.12.rst:1520 +#: whatsnew/3.12.rst:1698 msgid "``assertNotEquals``" msgstr "" -#: whatsnew/3.12.rst:1521 +#: whatsnew/3.12.rst:1699 msgid "``assertAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1522 +#: whatsnew/3.12.rst:1700 msgid "``assertNotAlmostEquals``" msgstr "" -#: whatsnew/3.12.rst:1523 +#: whatsnew/3.12.rst:1701 msgid "``assertRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1523 +#: whatsnew/3.12.rst:1701 msgid ":meth:`.assertRegex`" msgstr "" -#: whatsnew/3.12.rst:1524 +#: whatsnew/3.12.rst:1702 msgid "``assertRaisesRegexp``" msgstr "" -#: whatsnew/3.12.rst:1524 +#: whatsnew/3.12.rst:1702 msgid ":meth:`.assertRaisesRegex`" msgstr "" -#: whatsnew/3.12.rst:1525 +#: whatsnew/3.12.rst:1703 msgid "``assertNotRegexpMatches``" msgstr "" -#: whatsnew/3.12.rst:1525 +#: whatsnew/3.12.rst:1703 msgid ":meth:`.assertNotRegex`" msgstr "" -#: whatsnew/3.12.rst:1525 +#: whatsnew/3.12.rst:1703 msgid "3.5" msgstr "" -#: whatsnew/3.12.rst:1528 +#: whatsnew/3.12.rst:1706 msgid "" "You can use https://github.com/isidentical/teyit to automatically modernise " "your unit tests." msgstr "" -#: whatsnew/3.12.rst:1531 +#: whatsnew/3.12.rst:1709 msgid "" "Undocumented and broken :class:`~unittest.TestCase` method " "``assertDictContainsSubset`` (deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1534 +#: whatsnew/3.12.rst:1712 msgid "" "Undocumented :meth:`TestLoader.loadTestsFromModule ` parameter *use_load_tests* (deprecated and ignored " "since Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1538 +#: whatsnew/3.12.rst:1716 msgid "" "An alias of the :class:`~unittest.TextTestResult` class: ``_TextTestResult`` " "(deprecated in Python 3.2)." msgstr "" -#: whatsnew/3.12.rst:1541 -msgid "(Contributed by Serhiy Storchaka in :issue:`45162`.)" +#: whatsnew/3.12.rst:1719 +msgid "(Contributed by Serhiy Storchaka in :gh:`89325`.)" msgstr "" -#: whatsnew/3.12.rst:1544 +#: whatsnew/3.12.rst:1722 msgid "webbrowser" msgstr "" -#: whatsnew/3.12.rst:1546 +#: whatsnew/3.12.rst:1724 msgid "" -"Remove support for obsolete browsers from :mod:`webbrowser`. Removed " +"Remove support for obsolete browsers from :mod:`webbrowser`. The removed " "browsers include: Grail, Mosaic, Netscape, Galeon, Skipstone, Iceape, " "Firebird, and Firefox versions 35 and below (:gh:`102871`)." msgstr "" -#: whatsnew/3.12.rst:1551 +#: whatsnew/3.12.rst:1729 msgid "xml.etree.ElementTree" msgstr "" -#: whatsnew/3.12.rst:1553 +#: whatsnew/3.12.rst:1731 msgid "" "Remove the ``ElementTree.Element.copy()`` method of the pure Python " "implementation, deprecated in Python 3.10, use the :func:`copy.copy` " @@ -2379,29 +2696,30 @@ msgid "" "Stinner in :gh:`94383`.)" msgstr "" -#: whatsnew/3.12.rst:1560 +#: whatsnew/3.12.rst:1738 msgid "zipimport" msgstr "" -#: whatsnew/3.12.rst:1562 +#: whatsnew/3.12.rst:1740 msgid "" "Remove :mod:`zipimport`'s ``find_loader()`` and ``find_module()`` methods, " "deprecated in Python 3.10: use the ``find_spec()`` method instead. See :pep:" "`451` for the rationale. (Contributed by Victor Stinner in :gh:`94379`.)" msgstr "" -#: whatsnew/3.12.rst:1568 +#: whatsnew/3.12.rst:1746 msgid "Others" msgstr "" -#: whatsnew/3.12.rst:1570 +#: whatsnew/3.12.rst:1748 msgid "" -"Removed the ``suspicious`` rule from the documentation Makefile, and removed " -"``Doc/tools/rstlint.py``, both in favor of `sphinx-lint `_. (Contributed by Julien Palard in :gh:`98179`.)" +"Remove the ``suspicious`` rule from the documentation :file:`Makefile` and :" +"file:`Doc/tools/rstlint.py`, both in favor of `sphinx-lint `_. (Contributed by Julien Palard in :gh:" +"`98179`.)" msgstr "" -#: whatsnew/3.12.rst:1575 +#: whatsnew/3.12.rst:1753 msgid "" "Remove the *keyfile* and *certfile* parameters from the :mod:`ftplib`, :mod:" "`imaplib`, :mod:`poplib` and :mod:`smtplib` modules, and the *key_file*, " @@ -2411,21 +2729,21 @@ msgid "" "in :gh:`94172`.)" msgstr "" -#: whatsnew/3.12.rst:1898 +#: whatsnew/3.12.rst:2079 msgid "Porting to Python 3.12" msgstr "" -#: whatsnew/3.12.rst:1588 +#: whatsnew/3.12.rst:1766 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." msgstr "" -#: whatsnew/3.12.rst:1592 +#: whatsnew/3.12.rst:1770 msgid "Changes in the Python API" msgstr "" -#: whatsnew/3.12.rst:1594 +#: whatsnew/3.12.rst:1772 msgid "" "More strict rules are now applied for numerical group references and group " "names in regular expressions. Only sequence of ASCII digits is now accepted " @@ -2434,9 +2752,9 @@ msgid "" "(Contributed by Serhiy Storchaka in :gh:`91760`.)" msgstr "" -#: whatsnew/3.12.rst:1601 +#: whatsnew/3.12.rst:1779 msgid "" -"Removed ``randrange()`` functionality deprecated since Python 3.10. " +"Remove ``randrange()`` functionality deprecated since Python 3.10. " "Formerly, ``randrange(10.0)`` losslessly converted to ``randrange(10)``. " "Now, it raises a :exc:`TypeError`. Also, the exception raised for non-" "integer values such as ``randrange(10.5)`` or ``randrange('10')`` has been " @@ -2446,7 +2764,7 @@ msgid "" "`86388`.)" msgstr "" -#: whatsnew/3.12.rst:1609 +#: whatsnew/3.12.rst:1787 msgid "" ":class:`argparse.ArgumentParser` changed encoding and error handler for " "reading arguments from file (e.g. ``fromfile_prefix_chars`` option) from " @@ -2456,21 +2774,21 @@ msgid "" "on Windows." msgstr "" -#: whatsnew/3.12.rst:1615 +#: whatsnew/3.12.rst:1793 msgid "" -"Removed the ``asyncore``-based ``smtpd`` module deprecated in Python 3.4.7 " +"Remove the ``asyncore``-based ``smtpd`` module deprecated in Python 3.4.7 " "and 3.5.4. A recommended replacement is the :mod:`asyncio`-based aiosmtpd_ " "PyPI module." msgstr "" -#: whatsnew/3.12.rst:1619 +#: whatsnew/3.12.rst:1797 msgid "" ":func:`shlex.split`: Passing ``None`` for *s* argument now raises an " "exception, rather than reading :data:`sys.stdin`. The feature was deprecated " "in Python 3.9. (Contributed by Victor Stinner in :gh:`94352`.)" msgstr "" -#: whatsnew/3.12.rst:1624 +#: whatsnew/3.12.rst:1802 msgid "" "The :mod:`os` module no longer accepts bytes-like paths, like :class:" "`bytearray` and :class:`memoryview` types: only the exact :class:`bytes` " @@ -2478,7 +2796,7 @@ msgid "" "`98393`.)" msgstr "" -#: whatsnew/3.12.rst:1629 +#: whatsnew/3.12.rst:1807 msgid "" ":func:`syslog.openlog` and :func:`syslog.closelog` now fail if used in " "subinterpreters. :func:`syslog.syslog` may still be used in subinterpreters, " @@ -2487,10 +2805,10 @@ msgid "" "only a very small set of users might be affected. This change helps with " "interpreter isolation. Furthermore, :mod:`syslog` is a wrapper around " "process-global resources, which are best managed from the main interpreter. " -"(Contributed by Dong-hee Na in :gh:`99127`.)" +"(Contributed by Donghee Na in :gh:`99127`.)" msgstr "" -#: whatsnew/3.12.rst:1638 +#: whatsnew/3.12.rst:1816 msgid "" "The undocumented locking behavior of :func:`~functools.cached_property` is " "removed, because it locked across all instances of the class, leading to " @@ -2502,14 +2820,14 @@ msgid "" "property getter function or around multi-threaded access points." msgstr "" -#: whatsnew/3.12.rst:1651 +#: whatsnew/3.12.rst:1829 msgid "" "When extracting tar files using :mod:`tarfile` or :func:`shutil." "unpack_archive`, pass the *filter* argument to limit features that may be " "surprising or dangerous. See :ref:`tarfile-extraction-filter` for details." msgstr "" -#: whatsnew/3.12.rst:1656 +#: whatsnew/3.12.rst:1834 msgid "" "The output of the :func:`tokenize.tokenize` and :func:`tokenize." "generate_tokens` functions is now changed due to the changes introduced in :" @@ -2521,231 +2839,231 @@ msgid "" "``f\"start {1+1} end\"`` the old version of the tokenizer emitted::" msgstr "" -#: whatsnew/3.12.rst:1667 +#: whatsnew/3.12.rst:1845 msgid "while the new version emits::" msgstr "" -#: whatsnew/3.12.rst:1679 +#: whatsnew/3.12.rst:1857 msgid "" "Additionally, there may be some minor behavioral changes as a consequence of " "the changes required to support :pep:`701`. Some of these changes include:" msgstr "" -#: whatsnew/3.12.rst:1682 +#: whatsnew/3.12.rst:1860 msgid "" "The ``type`` attribute of the tokens emitted when tokenizing some invalid " "Python characters such as ``!`` has changed from ``ERRORTOKEN`` to ``OP``." msgstr "" -#: whatsnew/3.12.rst:1685 +#: whatsnew/3.12.rst:1863 msgid "" "Incomplete single-line strings now also raise :exc:`tokenize.TokenError` as " "incomplete multiline strings do." msgstr "" -#: whatsnew/3.12.rst:1688 +#: whatsnew/3.12.rst:1866 msgid "" "Some incomplete or invalid Python code now raises :exc:`tokenize.TokenError` " "instead of returning arbitrary ``ERRORTOKEN`` tokens when tokenizing it." msgstr "" -#: whatsnew/3.12.rst:1691 +#: whatsnew/3.12.rst:1869 msgid "" "Mixing tabs and spaces as indentation in the same file is not supported " "anymore and will raise a :exc:`TabError`." msgstr "" -#: whatsnew/3.12.rst:1695 +#: whatsnew/3.12.rst:1873 msgid "Build Changes" msgstr "" -#: whatsnew/3.12.rst:1697 +#: whatsnew/3.12.rst:1875 msgid "" -"Python no longer uses ``setup.py`` to build shared C extension modules. " +"Python no longer uses :file:`setup.py` to build shared C extension modules. " "Build parameters like headers and libraries are detected in ``configure`` " -"script. Extensions are built by ``Makefile``. Most extensions use ``pkg-" +"script. Extensions are built by :file:`Makefile`. Most extensions use ``pkg-" "config`` and fall back to manual detection. (Contributed by Christian Heimes " "in :gh:`93939`.)" msgstr "" -#: whatsnew/3.12.rst:1703 +#: whatsnew/3.12.rst:1881 msgid "" "``va_start()`` with two parameters, like ``va_start(args, format),`` is now " "required to build Python. ``va_start()`` is no longer called with a single " "parameter. (Contributed by Kumar Aditya in :gh:`93207`.)" msgstr "" -#: whatsnew/3.12.rst:1708 +#: whatsnew/3.12.rst:1886 msgid "" "CPython now uses the ThinLTO option as the default link time optimization " -"policy if the Clang compiler accepts the flag. (Contributed by Dong-hee Na " +"policy if the Clang compiler accepts the flag. (Contributed by Donghee Na " "in :gh:`89536`.)" msgstr "" -#: whatsnew/3.12.rst:1712 +#: whatsnew/3.12.rst:1890 msgid "" -"Add ``COMPILEALL_OPTS`` variable in Makefile to override :mod:`compileall` " -"options (default: ``-j0``) in ``make install``. Also merged the 3 " -"``compileall`` commands into a single command to build .pyc files for all " +"Add ``COMPILEALL_OPTS`` variable in :file:`Makefile` to override :mod:" +"`compileall` options (default: ``-j0``) in ``make install``. Also merged the " +"3 ``compileall`` commands into a single command to build .pyc files for all " "optimization levels (0, 1, 2) at once. (Contributed by Victor Stinner in :gh:" "`99289`.)" msgstr "" -#: whatsnew/3.12.rst:1718 +#: whatsnew/3.12.rst:1896 msgid "Add platform triplets for 64-bit LoongArch:" msgstr "" -#: whatsnew/3.12.rst:1720 +#: whatsnew/3.12.rst:1898 msgid "loongarch64-linux-gnusf" msgstr "" -#: whatsnew/3.12.rst:1721 +#: whatsnew/3.12.rst:1899 msgid "loongarch64-linux-gnuf32" msgstr "" -#: whatsnew/3.12.rst:1722 +#: whatsnew/3.12.rst:1900 msgid "loongarch64-linux-gnu" msgstr "" -#: whatsnew/3.12.rst:1724 +#: whatsnew/3.12.rst:1902 msgid "(Contributed by Zhang Na in :gh:`90656`.)" msgstr "" -#: whatsnew/3.12.rst:1726 +#: whatsnew/3.12.rst:1904 msgid "``PYTHON_FOR_REGEN`` now require Python 3.10 or newer." msgstr "" -#: whatsnew/3.12.rst:1728 +#: whatsnew/3.12.rst:1906 msgid "" "Autoconf 2.71 and aclocal 1.16.4 is now required to regenerate :file:`!" "configure`. (Contributed by Christian Heimes in :gh:`89886`.)" msgstr "" -#: whatsnew/3.12.rst:1732 +#: whatsnew/3.12.rst:1910 msgid "" "Windows builds and macOS installers from python.org now use OpenSSL 3.0." msgstr "" -#: whatsnew/3.12.rst:1736 +#: whatsnew/3.12.rst:1914 msgid "C API Changes" msgstr "" -#: whatsnew/3.12.rst:1742 +#: whatsnew/3.12.rst:1921 msgid "" -":pep:`697`: Introduced the :ref:`Unstable C API tier `, " +":pep:`697`: Introduce the :ref:`Unstable C API tier `, " "intended for low-level tools like debuggers and JIT compilers. This API may " "change in each minor release of CPython without deprecation warnings. Its " "contents are marked by the ``PyUnstable_`` prefix in names." msgstr "" -#: whatsnew/3.12.rst:1748 +#: whatsnew/3.12.rst:1927 msgid "Code object constructors:" msgstr "" -#: whatsnew/3.12.rst:1750 +#: whatsnew/3.12.rst:1929 msgid "``PyUnstable_Code_New()`` (renamed from ``PyCode_New``)" msgstr "" -#: whatsnew/3.12.rst:1751 +#: whatsnew/3.12.rst:1930 msgid "" "``PyUnstable_Code_NewWithPosOnlyArgs()`` (renamed from " "``PyCode_NewWithPosOnlyArgs``)" msgstr "" -#: whatsnew/3.12.rst:1753 +#: whatsnew/3.12.rst:1932 msgid "Extra storage for code objects (:pep:`523`):" msgstr "" -#: whatsnew/3.12.rst:1755 +#: whatsnew/3.12.rst:1934 msgid "" "``PyUnstable_Eval_RequestCodeExtraIndex()`` (renamed from " "``_PyEval_RequestCodeExtraIndex``)" msgstr "" -#: whatsnew/3.12.rst:1756 +#: whatsnew/3.12.rst:1935 msgid "``PyUnstable_Code_GetExtra()`` (renamed from ``_PyCode_GetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1757 +#: whatsnew/3.12.rst:1936 msgid "``PyUnstable_Code_SetExtra()`` (renamed from ``_PyCode_SetExtra``)" msgstr "" -#: whatsnew/3.12.rst:1759 +#: whatsnew/3.12.rst:1938 msgid "" "The original names will continue to be available until the respective API " "changes." msgstr "" -#: whatsnew/3.12.rst:1762 +#: whatsnew/3.12.rst:1941 msgid "(Contributed by Petr Viktorin in :gh:`101101`.)" msgstr "" -#: whatsnew/3.12.rst:1764 +#: whatsnew/3.12.rst:1943 msgid "" -":pep:`697`: Added API for extending types whose instance memory layout is " +":pep:`697`: Add an API for extending types whose instance memory layout is " "opaque:" msgstr "" -#: whatsnew/3.12.rst:1767 +#: whatsnew/3.12.rst:1946 msgid "" ":c:member:`PyType_Spec.basicsize` can be zero or negative to specify " "inheriting or extending the base class size." msgstr "" -#: whatsnew/3.12.rst:1769 +#: whatsnew/3.12.rst:1948 msgid "" ":c:func:`PyObject_GetTypeData` and :c:func:`PyType_GetTypeDataSize` added to " "allow access to subclass-specific instance data." msgstr "" -#: whatsnew/3.12.rst:1771 +#: whatsnew/3.12.rst:1950 msgid "" ":c:macro:`Py_TPFLAGS_ITEMS_AT_END` and :c:func:`PyObject_GetItemData` added " "to allow safely extending certain variable-sized types, including :c:var:" "`PyType_Type`." msgstr "" -#: whatsnew/3.12.rst:1774 +#: whatsnew/3.12.rst:1953 msgid "" ":c:macro:`Py_RELATIVE_OFFSET` added to allow defining :c:type:`members " "` in terms of a subclass-specific struct." msgstr "" -#: whatsnew/3.12.rst:1777 +#: whatsnew/3.12.rst:1956 msgid "(Contributed by Petr Viktorin in :gh:`103509`.)" msgstr "" -#: whatsnew/3.12.rst:1779 +#: whatsnew/3.12.rst:1958 msgid "" -"Added the new :ref:`limited C API ` function :c:func:" +"Add the new :ref:`limited C API ` function :c:func:" "`PyType_FromMetaclass`, which generalizes the existing :c:func:" "`PyType_FromModuleAndSpec` using an additional metaclass argument. " "(Contributed by Wenzel Jakob in :gh:`93012`.)" msgstr "" -#: whatsnew/3.12.rst:1784 +#: whatsnew/3.12.rst:1963 msgid "" "API for creating objects that can be called using :ref:`the vectorcall " "protocol ` was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:1788 +#: whatsnew/3.12.rst:1967 msgid ":c:macro:`Py_TPFLAGS_HAVE_VECTORCALL`" msgstr "" -#: whatsnew/3.12.rst:1789 +#: whatsnew/3.12.rst:1968 msgid ":c:func:`PyVectorcall_NARGS`" msgstr "" -#: whatsnew/3.12.rst:1790 +#: whatsnew/3.12.rst:1969 msgid ":c:func:`PyVectorcall_Call`" msgstr "" -#: whatsnew/3.12.rst:1791 +#: whatsnew/3.12.rst:1970 msgid ":c:type:`vectorcallfunc`" msgstr "" -#: whatsnew/3.12.rst:1793 +#: whatsnew/3.12.rst:1972 msgid "" "The :c:macro:`Py_TPFLAGS_HAVE_VECTORCALL` flag is now removed from a class " "when the class's :py:meth:`~object.__call__` method is reassigned. This " @@ -2756,7 +3074,7 @@ msgid "" "`93274`.)" msgstr "" -#: whatsnew/3.12.rst:1801 +#: whatsnew/3.12.rst:1980 msgid "" "The :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" "`Py_TPFLAGS_MANAGED_WEAKREF` flags have been added. This allows extensions " @@ -2764,47 +3082,47 @@ msgid "" "using less memory and with faster access." msgstr "" -#: whatsnew/3.12.rst:1806 +#: whatsnew/3.12.rst:1985 msgid "" "API for performing calls using :ref:`the vectorcall protocol ` " "was added to the :ref:`Limited API `:" msgstr "" -#: whatsnew/3.12.rst:1810 +#: whatsnew/3.12.rst:1989 msgid ":c:func:`PyObject_Vectorcall`" msgstr "" -#: whatsnew/3.12.rst:1811 +#: whatsnew/3.12.rst:1990 msgid ":c:func:`PyObject_VectorcallMethod`" msgstr "" -#: whatsnew/3.12.rst:1812 +#: whatsnew/3.12.rst:1991 msgid ":c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET`" msgstr "" -#: whatsnew/3.12.rst:1814 +#: whatsnew/3.12.rst:1993 msgid "" "This means that both the incoming and outgoing ends of the vector call " "protocol are now available in the :ref:`Limited API `. (Contributed " "by Wenzel Jakob in :gh:`98586`.)" msgstr "" -#: whatsnew/3.12.rst:1818 +#: whatsnew/3.12.rst:1997 msgid "" -"Added two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" +"Add two new public functions, :c:func:`PyEval_SetProfileAllThreads` and :c:" "func:`PyEval_SetTraceAllThreads`, that allow to set tracing and profiling " "functions in all running threads in addition to the calling one. " "(Contributed by Pablo Galindo in :gh:`93503`.)" msgstr "" -#: whatsnew/3.12.rst:1824 +#: whatsnew/3.12.rst:2003 msgid "" -"Added new function :c:func:`PyFunction_SetVectorcall` to the C API which " -"sets the vectorcall field of a given :c:type:`PyFunctionObject`. " -"(Contributed by Andrew Frost in :gh:`92257`.)" +"Add new function :c:func:`PyFunction_SetVectorcall` to the C API which sets " +"the vectorcall field of a given :c:type:`PyFunctionObject`. (Contributed by " +"Andrew Frost in :gh:`92257`.)" msgstr "" -#: whatsnew/3.12.rst:1828 +#: whatsnew/3.12.rst:2007 msgid "" "The C API now permits registering callbacks via :c:func:" "`PyDict_AddWatcher`, :c:func:`PyDict_Watch` and related APIs to be called " @@ -2813,28 +3131,28 @@ msgid "" "`91052`.)" msgstr "" -#: whatsnew/3.12.rst:1834 +#: whatsnew/3.12.rst:2013 msgid "" -"Added :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " +"Add :c:func:`PyType_AddWatcher` and :c:func:`PyType_Watch` API to register " "callbacks to receive notification on changes to a type. (Contributed by Carl " "Meyer in :gh:`91051`.)" msgstr "" -#: whatsnew/3.12.rst:1838 +#: whatsnew/3.12.rst:2017 msgid "" -"Added :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " +"Add :c:func:`PyCode_AddWatcher` and :c:func:`PyCode_ClearWatcher` APIs to " "register callbacks to receive notification on creation and destruction of " -"code objects. (Contributed by Itamar Ostricher in :gh:`91054`.)" +"code objects. (Contributed by Itamar Oren in :gh:`91054`.)" msgstr "" -#: whatsnew/3.12.rst:1843 +#: whatsnew/3.12.rst:2022 msgid "" "Add :c:func:`PyFrame_GetVar` and :c:func:`PyFrame_GetVarString` functions to " "get a frame variable by its name. (Contributed by Victor Stinner in :gh:" "`91248`.)" msgstr "" -#: whatsnew/3.12.rst:1847 +#: whatsnew/3.12.rst:2026 msgid "" "Add :c:func:`PyErr_GetRaisedException` and :c:func:" "`PyErr_SetRaisedException` for saving and restoring the current exception. " @@ -2844,14 +3162,14 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1855 +#: whatsnew/3.12.rst:2034 msgid "" "Add ``_PyErr_ChainExceptions1``, which takes an exception instance, to " "replace the legacy-API ``_PyErr_ChainExceptions``, which is now deprecated. " "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1859 +#: whatsnew/3.12.rst:2038 msgid "" "Add :c:func:`PyException_GetArgs` and :c:func:`PyException_SetArgs` as " "convenience functions for retrieving and modifying the :attr:`~BaseException." @@ -2859,99 +3177,99 @@ msgid "" "in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1864 +#: whatsnew/3.12.rst:2043 msgid "" "Add :c:func:`PyErr_DisplayException`, which takes an exception instance, to " "replace the legacy-api :c:func:`!PyErr_Display`. (Contributed by Irit " "Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:1868 +#: whatsnew/3.12.rst:2049 msgid "" -":pep:`683`: Introduced Immortal Objects to Python which allows objects to " -"bypass reference counts and introduced changes to the C-API:" +":pep:`683`: Introduce *Immortal Objects*, which allows objects to bypass " +"reference counts, and related changes to the C-API:" msgstr "" -#: whatsnew/3.12.rst:1871 +#: whatsnew/3.12.rst:2052 msgid "``_Py_IMMORTAL_REFCNT``: The reference count that defines an object" msgstr "" -#: whatsnew/3.12.rst:1872 +#: whatsnew/3.12.rst:2053 msgid "as immortal." msgstr "" -#: whatsnew/3.12.rst:1873 +#: whatsnew/3.12.rst:2054 msgid "" "``_Py_IsImmortal`` Checks if an object has the immortal reference count." msgstr "" -#: whatsnew/3.12.rst:1874 +#: whatsnew/3.12.rst:2055 msgid "``PyObject_HEAD_INIT`` This will now initialize reference count to" msgstr "" -#: whatsnew/3.12.rst:1875 +#: whatsnew/3.12.rst:2056 msgid "``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``." msgstr "" -#: whatsnew/3.12.rst:1876 +#: whatsnew/3.12.rst:2057 msgid "``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects" msgstr "" -#: whatsnew/3.12.rst:1877 +#: whatsnew/3.12.rst:2058 msgid "that are immortal." msgstr "" -#: whatsnew/3.12.rst:1878 +#: whatsnew/3.12.rst:2059 msgid "``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode" msgstr "" -#: whatsnew/3.12.rst:1879 +#: whatsnew/3.12.rst:2060 msgid "objects that are immortal and static" msgstr "" -#: whatsnew/3.12.rst:1882 +#: whatsnew/3.12.rst:2063 msgid "``sys.getunicodeinternedsize`` This returns the total number of unicode" msgstr "" -#: whatsnew/3.12.rst:1881 +#: whatsnew/3.12.rst:2062 msgid "" -"objects that have been interned. This is now needed for refleak.py to " -"correctly track reference counts and allocated blocks" +"objects that have been interned. This is now needed for :file:`refleak.py` " +"to correctly track reference counts and allocated blocks" msgstr "" -#: whatsnew/3.12.rst:1884 +#: whatsnew/3.12.rst:2065 msgid "(Contributed by Eddie Elizondo in :gh:`84436`.)" msgstr "" -#: whatsnew/3.12.rst:1886 +#: whatsnew/3.12.rst:2067 msgid "" -":pep:`684`: Added the new :c:func:`Py_NewInterpreterFromConfig` function " -"and :c:type:`PyInterpreterConfig`, which may be used to create sub-" -"interpreters with their own GILs. (See :ref:`whatsnew312-pep684` for more " -"info.) (Contributed by Eric Snow in :gh:`104110`.)" +":pep:`684`: Add the new :c:func:`Py_NewInterpreterFromConfig` function and :" +"c:type:`PyInterpreterConfig`, which may be used to create sub-interpreters " +"with their own GILs. (See :ref:`whatsnew312-pep684` for more info.) " +"(Contributed by Eric Snow in :gh:`104110`.)" msgstr "" -#: whatsnew/3.12.rst:1892 +#: whatsnew/3.12.rst:2073 msgid "" "In the limited C API version 3.12, :c:func:`Py_INCREF` and :c:func:" "`Py_DECREF` functions are now implemented as opaque function calls to hide " "implementation details. (Contributed by Victor Stinner in :gh:`105387`.)" msgstr "" -#: whatsnew/3.12.rst:1900 +#: whatsnew/3.12.rst:2081 msgid "" "Legacy Unicode APIs based on ``Py_UNICODE*`` representation has been " "removed. Please migrate to APIs based on UTF-8 or ``wchar_t*``." msgstr "" -#: whatsnew/3.12.rst:1903 +#: whatsnew/3.12.rst:2084 msgid "" "Argument parsing functions like :c:func:`PyArg_ParseTuple` doesn't support " "``Py_UNICODE*`` based format (e.g. ``u``, ``Z``) anymore. Please migrate to " "other formats for Unicode like ``s``, ``z``, ``es``, and ``U``." msgstr "" -#: whatsnew/3.12.rst:1907 +#: whatsnew/3.12.rst:2088 msgid "" "``tp_weaklist`` for all static builtin types is always ``NULL``. This is an " "internal-only field on ``PyTypeObject`` but we're pointing out the change in " @@ -2960,7 +3278,7 @@ msgid "" "necessary, the (internal-only) ``_PyObject_GET_WEAKREFS_LISTPTR()`` macro." msgstr "" -#: whatsnew/3.12.rst:1914 +#: whatsnew/3.12.rst:2095 msgid "" "This internal-only :c:member:`PyTypeObject.tp_subclasses` may now not be a " "valid object pointer. Its type was changed to :c:expr:`void *` to reflect " @@ -2968,13 +3286,13 @@ msgid "" "only field directly." msgstr "" -#: whatsnew/3.12.rst:1919 +#: whatsnew/3.12.rst:2100 msgid "" "To get a list of subclasses, call the Python method :py:meth:`~class." "__subclasses__` (using :c:func:`PyObject_CallMethod`, for example)." msgstr "" -#: whatsnew/3.12.rst:1923 +#: whatsnew/3.12.rst:2104 msgid "" "Add support of more formatting options (left aligning, octals, uppercase " "hexadecimals, :c:type:`intmax_t`, :c:type:`ptrdiff_t`, :c:type:`wchar_t` C " @@ -2983,7 +3301,7 @@ msgid "" "`98836`.)" msgstr "" -#: whatsnew/3.12.rst:1929 +#: whatsnew/3.12.rst:2110 msgid "" "An unrecognized format character in :c:func:`PyUnicode_FromFormat` and :c:" "func:`PyUnicode_FromFormatV` now sets a :exc:`SystemError`. In previous " @@ -2992,13 +3310,13 @@ msgid "" "Storchaka in :gh:`95781`.)" msgstr "" -#: whatsnew/3.12.rst:1935 +#: whatsnew/3.12.rst:2116 msgid "" -"Fixed wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" +"Fix wrong sign placement in :c:func:`PyUnicode_FromFormat` and :c:func:" "`PyUnicode_FromFormatV`. (Contributed by Philip Georgi in :gh:`95504`.)" msgstr "" -#: whatsnew/3.12.rst:1939 +#: whatsnew/3.12.rst:2120 msgid "" "Extension classes wanting to add a ``__dict__`` or weak reference slot " "should use :c:macro:`Py_TPFLAGS_MANAGED_DICT` and :c:macro:" @@ -3012,7 +3330,7 @@ msgid "" "func:`PyObject_ClearWeakRefs`, as before." msgstr "" -#: whatsnew/3.12.rst:1951 +#: whatsnew/3.12.rst:2132 msgid "" "The :c:func:`PyUnicode_FSDecoder` function no longer accepts bytes-like " "paths, like :class:`bytearray` and :class:`memoryview` types: only the " @@ -3020,7 +3338,7 @@ msgid "" "Victor Stinner in :gh:`98393`.)" msgstr "" -#: whatsnew/3.12.rst:1956 +#: whatsnew/3.12.rst:2137 msgid "" "The :c:macro:`Py_CLEAR`, :c:macro:`Py_SETREF` and :c:macro:`Py_XSETREF` " "macros now only evaluate their arguments once. If an argument has side " @@ -3028,7 +3346,7 @@ msgid "" "Stinner in :gh:`98724`.)" msgstr "" -#: whatsnew/3.12.rst:1961 +#: whatsnew/3.12.rst:2142 msgid "" "The interpreter's error indicator is now always normalized. This means that :" "c:func:`PyErr_SetObject`, :c:func:`PyErr_SetString` and the other functions " @@ -3036,7 +3354,7 @@ msgid "" "(Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:1966 +#: whatsnew/3.12.rst:2147 msgid "" "``_Py_RefTotal`` is no longer authoritative and only kept around for ABI " "compatibility. Note that it is an internal global and only available on " @@ -3044,25 +3362,25 @@ msgid "" "``_Py_GetGlobalRefTotal()``." msgstr "" -#: whatsnew/3.12.rst:1971 +#: whatsnew/3.12.rst:2152 msgid "" "The following functions now select an appropriate metaclass for the newly " "created type:" msgstr "" -#: whatsnew/3.12.rst:1974 +#: whatsnew/3.12.rst:2155 msgid ":c:func:`PyType_FromSpec`" msgstr "" -#: whatsnew/3.12.rst:1975 +#: whatsnew/3.12.rst:2156 msgid ":c:func:`PyType_FromSpecWithBases`" msgstr "" -#: whatsnew/3.12.rst:1976 +#: whatsnew/3.12.rst:2157 msgid ":c:func:`PyType_FromModuleAndSpec`" msgstr "" -#: whatsnew/3.12.rst:1978 +#: whatsnew/3.12.rst:2159 msgid "" "Creating classes whose metaclass overrides :c:member:`~PyTypeObject.tp_new` " "is deprecated, and in Python 3.14+ it will be disallowed. Note that these " @@ -3070,14 +3388,14 @@ msgid "" "initialization." msgstr "" -#: whatsnew/3.12.rst:1983 +#: whatsnew/3.12.rst:2164 msgid "" "Note that :c:func:`PyType_FromMetaclass` (added in Python 3.12) already " "disallows creating classes whose metaclass overrides ``tp_new`` (:meth:" "`~object.__new__` in Python)." msgstr "" -#: whatsnew/3.12.rst:1987 +#: whatsnew/3.12.rst:2168 msgid "" "Since ``tp_new`` overrides almost everything ``PyType_From*`` functions do, " "the two are incompatible with each other. The existing behavior -- ignoring " @@ -3086,17 +3404,17 @@ msgid "" "general workaround. One of the following may work for you:" msgstr "" -#: whatsnew/3.12.rst:1994 +#: whatsnew/3.12.rst:2175 msgid "If you control the metaclass, avoid using ``tp_new`` in it:" msgstr "" -#: whatsnew/3.12.rst:1996 +#: whatsnew/3.12.rst:2177 msgid "" "If initialization can be skipped, it can be done in :c:member:`~PyTypeObject." "tp_init` instead." msgstr "" -#: whatsnew/3.12.rst:1998 +#: whatsnew/3.12.rst:2179 msgid "" "If the metaclass doesn't need to be instantiated from Python, set its " "``tp_new`` to ``NULL`` using the :c:macro:" @@ -3104,20 +3422,20 @@ msgid "" "``PyType_From*`` functions." msgstr "" -#: whatsnew/3.12.rst:2003 +#: whatsnew/3.12.rst:2184 msgid "" "Avoid ``PyType_From*`` functions: if you don't need C-specific features " "(slots or setting the instance size), create types by :ref:`calling ` " "the metaclass." msgstr "" -#: whatsnew/3.12.rst:2007 +#: whatsnew/3.12.rst:2188 msgid "" "If you *know* the ``tp_new`` can be skipped safely, filter the deprecation " "warning out using :func:`warnings.catch_warnings` from Python." msgstr "" -#: whatsnew/3.12.rst:2010 +#: whatsnew/3.12.rst:2191 msgid "" ":c:var:`PyOS_InputHook` and :c:var:`PyOS_ReadlineFunctionPointer` are no " "longer called in :ref:`subinterpreters `. This is " @@ -3125,14 +3443,14 @@ msgid "" "callbacks have no way of recovering extension module state)." msgstr "" -#: whatsnew/3.12.rst:2015 +#: whatsnew/3.12.rst:2196 msgid "" "This also avoids situations where extensions may find themselves running in " "a subinterpreter that they don't support (or haven't yet been loaded in). " "See :gh:`104668` for more info." msgstr "" -#: whatsnew/3.12.rst:2019 +#: whatsnew/3.12.rst:2200 msgid "" ":c:struct:`PyLongObject` has had its internals changed for better " "performance. Although the internals of :c:struct:`PyLongObject` are private, " @@ -3143,15 +3461,15 @@ msgid "" "a single machine word:" msgstr "" -#: whatsnew/3.12.rst:2027 +#: whatsnew/3.12.rst:2208 msgid ":c:func:`PyUnstable_Long_IsCompact`" msgstr "" -#: whatsnew/3.12.rst:2028 +#: whatsnew/3.12.rst:2209 msgid ":c:func:`PyUnstable_Long_CompactValue`" msgstr "" -#: whatsnew/3.12.rst:2030 +#: whatsnew/3.12.rst:2211 msgid "" "Custom allocators, set via :c:func:`PyMem_SetAllocator`, are now required to " "be thread-safe, regardless of memory domain. Allocators that don't have " @@ -3160,281 +3478,469 @@ msgid "" "create a new GitHub issue and CC ``@ericsnowcurrently``." msgstr "" -#: whatsnew/3.12.rst:2040 +#: whatsnew/3.12.rst:2221 +msgid "" +"In accordance with :pep:`699`, the ``ma_version_tag`` field in :c:type:" +"`PyDictObject` is deprecated for extension modules. Accessing this field " +"will generate a compiler warning at compile time. This field will be removed " +"in Python 3.14. (Contributed by Ramvikrams and Kumar Aditya in :gh:`101193`. " +"PEP by Ken Jin.)" +msgstr "" + +#: whatsnew/3.12.rst:2226 msgid "Deprecate global configuration variable:" msgstr "" -#: whatsnew/3.12.rst:2042 +#: whatsnew/3.12.rst:2313 msgid ":c:var:`Py_DebugFlag`: use :c:member:`PyConfig.parser_debug`" msgstr "" -#: whatsnew/3.12.rst:2043 +#: whatsnew/3.12.rst:2314 msgid ":c:var:`Py_VerboseFlag`: use :c:member:`PyConfig.verbose`" msgstr "" -#: whatsnew/3.12.rst:2044 +#: whatsnew/3.12.rst:2315 msgid ":c:var:`Py_QuietFlag`: use :c:member:`PyConfig.quiet`" msgstr "" -#: whatsnew/3.12.rst:2045 +#: whatsnew/3.12.rst:2316 msgid ":c:var:`Py_InteractiveFlag`: use :c:member:`PyConfig.interactive`" msgstr "" -#: whatsnew/3.12.rst:2046 +#: whatsnew/3.12.rst:2317 msgid ":c:var:`Py_InspectFlag`: use :c:member:`PyConfig.inspect`" msgstr "" -#: whatsnew/3.12.rst:2047 +#: whatsnew/3.12.rst:2318 msgid ":c:var:`Py_OptimizeFlag`: use :c:member:`PyConfig.optimization_level`" msgstr "" -#: whatsnew/3.12.rst:2048 +#: whatsnew/3.12.rst:2319 msgid ":c:var:`Py_NoSiteFlag`: use :c:member:`PyConfig.site_import`" msgstr "" -#: whatsnew/3.12.rst:2049 +#: whatsnew/3.12.rst:2320 msgid ":c:var:`Py_BytesWarningFlag`: use :c:member:`PyConfig.bytes_warning`" msgstr "" -#: whatsnew/3.12.rst:2050 +#: whatsnew/3.12.rst:2321 msgid ":c:var:`Py_FrozenFlag`: use :c:member:`PyConfig.pathconfig_warnings`" msgstr "" -#: whatsnew/3.12.rst:2051 +#: whatsnew/3.12.rst:2322 msgid "" ":c:var:`Py_IgnoreEnvironmentFlag`: use :c:member:`PyConfig.use_environment`" msgstr "" -#: whatsnew/3.12.rst:2052 +#: whatsnew/3.12.rst:2323 msgid "" ":c:var:`Py_DontWriteBytecodeFlag`: use :c:member:`PyConfig.write_bytecode`" msgstr "" -#: whatsnew/3.12.rst:2053 +#: whatsnew/3.12.rst:2324 msgid "" ":c:var:`Py_NoUserSiteDirectory`: use :c:member:`PyConfig.user_site_directory`" msgstr "" -#: whatsnew/3.12.rst:2054 +#: whatsnew/3.12.rst:2325 msgid "" ":c:var:`Py_UnbufferedStdioFlag`: use :c:member:`PyConfig.buffered_stdio`" msgstr "" -#: whatsnew/3.12.rst:2055 +#: whatsnew/3.12.rst:2326 msgid "" ":c:var:`Py_HashRandomizationFlag`: use :c:member:`PyConfig.use_hash_seed` " "and :c:member:`PyConfig.hash_seed`" msgstr "" -#: whatsnew/3.12.rst:2057 +#: whatsnew/3.12.rst:2328 msgid ":c:var:`Py_IsolatedFlag`: use :c:member:`PyConfig.isolated`" msgstr "" -#: whatsnew/3.12.rst:2058 +#: whatsnew/3.12.rst:2329 msgid "" ":c:var:`Py_LegacyWindowsFSEncodingFlag`: use :c:member:`PyPreConfig." "legacy_windows_fs_encoding`" msgstr "" -#: whatsnew/3.12.rst:2059 +#: whatsnew/3.12.rst:2330 msgid "" ":c:var:`Py_LegacyWindowsStdioFlag`: use :c:member:`PyConfig." "legacy_windows_stdio`" msgstr "" -#: whatsnew/3.12.rst:2060 +#: whatsnew/3.12.rst:2331 msgid "" ":c:var:`!Py_FileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2061 +#: whatsnew/3.12.rst:2332 msgid "" ":c:var:`!Py_HasFileSystemDefaultEncoding`: use :c:member:`PyConfig." "filesystem_encoding`" msgstr "" -#: whatsnew/3.12.rst:2062 +#: whatsnew/3.12.rst:2333 msgid "" ":c:var:`!Py_FileSystemDefaultEncodeErrors`: use :c:member:`PyConfig." "filesystem_errors`" msgstr "" -#: whatsnew/3.12.rst:2063 +#: whatsnew/3.12.rst:2334 msgid "" ":c:var:`!Py_UTF8Mode`: use :c:member:`PyPreConfig.utf8_mode` (see :c:func:" "`Py_PreInitialize`)" msgstr "" -#: whatsnew/3.12.rst:2065 +#: whatsnew/3.12.rst:2251 msgid "" "The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" "`PyConfig` instead. (Contributed by Victor Stinner in :gh:`77782`.)" msgstr "" -#: whatsnew/3.12.rst:2069 +#: whatsnew/3.12.rst:2255 msgid "" -"Creating immutable types (:c:macro:`Py_TPFLAGS_IMMUTABLETYPE`) with mutable " -"bases is deprecated and will be disabled in Python 3.14." +"Creating :c:data:`immutable types ` with mutable " +"bases is deprecated and will be disabled in Python 3.14. (:gh:`95388`)" msgstr "" -#: whatsnew/3.12.rst:2072 +#: whatsnew/3.12.rst:2258 msgid "" -"The ``structmember.h`` header is deprecated, though it continues to be " +"The :file:`structmember.h` header is deprecated, though it continues to be " "available and there are no plans to remove it." msgstr "" -#: whatsnew/3.12.rst:2075 +#: whatsnew/3.12.rst:2261 msgid "" -"Its contents are now available just by including ``Python.h``, with a ``Py`` " -"prefix added if it was missing:" +"Its contents are now available just by including :file:`Python.h`, with a " +"``Py`` prefix added if it was missing:" msgstr "" -#: whatsnew/3.12.rst:2078 +#: whatsnew/3.12.rst:2264 msgid "" ":c:struct:`PyMemberDef`, :c:func:`PyMember_GetOne` and :c:func:" "`PyMember_SetOne`" msgstr "" -#: whatsnew/3.12.rst:2080 +#: whatsnew/3.12.rst:2266 msgid "" "Type macros like :c:macro:`Py_T_INT`, :c:macro:`Py_T_DOUBLE`, etc. " "(previously ``T_INT``, ``T_DOUBLE``, etc.)" msgstr "" -#: whatsnew/3.12.rst:2082 +#: whatsnew/3.12.rst:2268 msgid "" "The flags :c:macro:`Py_READONLY` (previously ``READONLY``) and :c:macro:" "`Py_AUDIT_READ` (previously all uppercase)" msgstr "" -#: whatsnew/3.12.rst:2085 -msgid "Several items are not exposed from ``Python.h``:" +#: whatsnew/3.12.rst:2271 +msgid "Several items are not exposed from :file:`Python.h`:" msgstr "" -#: whatsnew/3.12.rst:2087 +#: whatsnew/3.12.rst:2273 msgid ":c:macro:`T_OBJECT` (use :c:macro:`Py_T_OBJECT_EX`)" msgstr "" -#: whatsnew/3.12.rst:2088 +#: whatsnew/3.12.rst:2274 msgid ":c:macro:`T_NONE` (previously undocumented, and pretty quirky)" msgstr "" -#: whatsnew/3.12.rst:2089 +#: whatsnew/3.12.rst:2275 msgid "The macro ``WRITE_RESTRICTED`` which does nothing." msgstr "" -#: whatsnew/3.12.rst:2090 +#: whatsnew/3.12.rst:2276 msgid "" "The macros ``RESTRICTED`` and ``READ_RESTRICTED``, equivalents of :c:macro:" "`Py_AUDIT_READ`." msgstr "" -#: whatsnew/3.12.rst:2092 +#: whatsnew/3.12.rst:2278 msgid "" -"In some configurations, ```` is not included from ``Python.h``. It " -"should be included manually when using ``offsetof()``." +"In some configurations, ```` is not included from :file:`Python." +"h`. It should be included manually when using ``offsetof()``." msgstr "" -#: whatsnew/3.12.rst:2095 +#: whatsnew/3.12.rst:2281 msgid "" "The deprecated header continues to provide its original contents under the " "original names. Your old code can stay unchanged, unless the extra include " "and non-namespaced macros bother you greatly." msgstr "" -#: whatsnew/3.12.rst:2100 +#: whatsnew/3.12.rst:2286 msgid "" "(Contributed in :gh:`47146` by Petr Viktorin, based on earlier work by " "Alexander Belopolsky and Matthias Braun.)" msgstr "" -#: whatsnew/3.12.rst:2103 +#: whatsnew/3.12.rst:2289 msgid "" ":c:func:`PyErr_Fetch` and :c:func:`PyErr_Restore` are deprecated. Use :c:" "func:`PyErr_GetRaisedException` and :c:func:`PyErr_SetRaisedException` " "instead. (Contributed by Mark Shannon in :gh:`101578`.)" msgstr "" -#: whatsnew/3.12.rst:2108 +#: whatsnew/3.12.rst:2294 msgid "" ":c:func:`!PyErr_Display` is deprecated. Use :c:func:`PyErr_DisplayException` " "instead. (Contributed by Irit Katriel in :gh:`102755`)." msgstr "" -#: whatsnew/3.12.rst:2111 +#: whatsnew/3.12.rst:2297 msgid "" "``_PyErr_ChainExceptions`` is deprecated. Use ``_PyErr_ChainExceptions1`` " "instead. (Contributed by Irit Katriel in :gh:`102192`.)" msgstr "" -#: whatsnew/3.12.rst:2114 +#: whatsnew/3.12.rst:2300 msgid "" "Using :c:func:`PyType_FromSpec`, :c:func:`PyType_FromSpecWithBases` or :c:" "func:`PyType_FromModuleAndSpec` to create a class whose metaclass overrides :" "c:member:`~PyTypeObject.tp_new` is deprecated. Call the metaclass instead." msgstr "" -#: whatsnew/3.12.rst:2122 +#: whatsnew/3.12.rst:2308 +msgid "" +"The ``ma_version_tag`` field in :c:type:`PyDictObject` for extension modules " +"(:pep:`699`; :gh:`101193`)." +msgstr "" + +#: whatsnew/3.12.rst:2311 +msgid "Global configuration variables:" +msgstr "" + +#: whatsnew/3.12.rst:2336 +msgid "" +"The :c:func:`Py_InitializeFromConfig` API should be used with :c:type:" +"`PyConfig` instead." +msgstr "" + +#: whatsnew/3.12.rst:2339 +msgid "" +"Creating :c:data:`immutable types ` with mutable " +"bases (:gh:`95388`)." +msgstr "" + +#: whatsnew/3.12.rst:2343 +msgid "Pending Removal in Python 3.15" +msgstr "" + +#: whatsnew/3.12.rst:2345 +msgid "" +":c:func:`PyImport_ImportModuleNoBlock`: use :c:func:`PyImport_ImportModule`" +msgstr "" + +#: whatsnew/3.12.rst:2346 +msgid ":c:type:`!Py_UNICODE_WIDE` type: use :c:type:`wchar_t`" +msgstr "" + +#: whatsnew/3.12.rst:2347 +msgid ":c:type:`Py_UNICODE` type: use :c:type:`wchar_t`" +msgstr "" + +#: whatsnew/3.12.rst:2348 +msgid "Python initialization functions:" +msgstr "" + +#: whatsnew/3.12.rst:2350 +msgid "" +":c:func:`PySys_ResetWarnOptions`: clear :data:`sys.warnoptions` and :data:`!" +"warnings.filters`" +msgstr "" + +#: whatsnew/3.12.rst:2352 +msgid ":c:func:`Py_GetExecPrefix`: get :data:`sys.exec_prefix`" +msgstr "" + +#: whatsnew/3.12.rst:2353 +msgid ":c:func:`Py_GetPath`: get :data:`sys.path`" +msgstr "" + +#: whatsnew/3.12.rst:2354 +msgid ":c:func:`Py_GetPrefix`: get :data:`sys.prefix`" +msgstr "" + +#: whatsnew/3.12.rst:2355 +msgid ":c:func:`Py_GetProgramFullPath`: get :data:`sys.executable`" +msgstr "" + +#: whatsnew/3.12.rst:2356 +msgid ":c:func:`Py_GetProgramName`: get :data:`sys.executable`" +msgstr "" + +#: whatsnew/3.12.rst:2357 +msgid "" +":c:func:`Py_GetPythonHome`: get :c:member:`PyConfig.home` or the :envvar:" +"`PYTHONHOME` environment variable" +msgstr "" + +#: whatsnew/3.12.rst:2363 +msgid "" +"The following APIs are deprecated and will be removed, although there is " +"currently no date scheduled for their removal." +msgstr "" + +#: whatsnew/3.12.rst:2366 +msgid ":c:macro:`Py_TPFLAGS_HAVE_FINALIZE`: unneeded since Python 3.8" +msgstr "" + +#: whatsnew/3.12.rst:2367 +msgid ":c:func:`PyErr_Fetch`: use :c:func:`PyErr_GetRaisedException`" +msgstr "" + +#: whatsnew/3.12.rst:2368 +msgid "" +":c:func:`PyErr_NormalizeException`: use :c:func:`PyErr_GetRaisedException`" +msgstr "" + +#: whatsnew/3.12.rst:2369 +msgid ":c:func:`PyErr_Restore`: use :c:func:`PyErr_SetRaisedException`" +msgstr "" + +#: whatsnew/3.12.rst:2370 +msgid "" +":c:func:`PyModule_GetFilename`: use :c:func:`PyModule_GetFilenameObject`" +msgstr "" + +#: whatsnew/3.12.rst:2371 +msgid ":c:func:`PyOS_AfterFork`: use :c:func:`PyOS_AfterFork_Child`" +msgstr "" + +#: whatsnew/3.12.rst:2372 +msgid "" +":c:func:`PySlice_GetIndicesEx`: use :c:func:`PySlice_Unpack` and :c:func:" +"`PySlice_AdjustIndices`" +msgstr "" + +#: whatsnew/3.12.rst:2373 +msgid ":c:func:`!PyUnicode_AsDecodedObject`: use :c:func:`PyCodec_Decode`" +msgstr "" + +#: whatsnew/3.12.rst:2374 +msgid ":c:func:`!PyUnicode_AsDecodedUnicode`: use :c:func:`PyCodec_Decode`" +msgstr "" + +#: whatsnew/3.12.rst:2375 +msgid ":c:func:`!PyUnicode_AsEncodedObject`: use :c:func:`PyCodec_Encode`" +msgstr "" + +#: whatsnew/3.12.rst:2376 +msgid ":c:func:`!PyUnicode_AsEncodedUnicode`: use :c:func:`PyCodec_Encode`" +msgstr "" + +#: whatsnew/3.12.rst:2377 +msgid ":c:func:`PyUnicode_READY`: unneeded since Python 3.12" +msgstr "" + +#: whatsnew/3.12.rst:2378 +msgid ":c:func:`!PyErr_Display`: use :c:func:`PyErr_DisplayException`" +msgstr "" + +#: whatsnew/3.12.rst:2379 +msgid ":c:func:`!_PyErr_ChainExceptions`: use ``_PyErr_ChainExceptions1``" +msgstr "" + +#: whatsnew/3.12.rst:2380 +msgid "" +":c:member:`!PyBytesObject.ob_shash` member: call :c:func:`PyObject_Hash` " +"instead" +msgstr "" + +#: whatsnew/3.12.rst:2382 +msgid ":c:member:`!PyDictObject.ma_version_tag` member" +msgstr "" + +#: whatsnew/3.12.rst:2383 +msgid "Thread Local Storage (TLS) API:" +msgstr "" + +#: whatsnew/3.12.rst:2385 +msgid ":c:func:`PyThread_create_key`: use :c:func:`PyThread_tss_alloc`" +msgstr "" + +#: whatsnew/3.12.rst:2386 +msgid ":c:func:`PyThread_delete_key`: use :c:func:`PyThread_tss_free`" +msgstr "" + +#: whatsnew/3.12.rst:2387 +msgid ":c:func:`PyThread_set_key_value`: use :c:func:`PyThread_tss_set`" +msgstr "" + +#: whatsnew/3.12.rst:2388 +msgid ":c:func:`PyThread_get_key_value`: use :c:func:`PyThread_tss_get`" +msgstr "" + +#: whatsnew/3.12.rst:2389 +msgid ":c:func:`PyThread_delete_key_value`: use :c:func:`PyThread_tss_delete`" +msgstr "" + +#: whatsnew/3.12.rst:2390 +msgid ":c:func:`PyThread_ReInitTLS`: unneeded since Python 3.7" +msgstr "" + +#: whatsnew/3.12.rst:2395 msgid "" -"Remove the ``token.h`` header file. There was never any public tokenizer C " -"API. The ``token.h`` header file was only designed to be used by Python " -"internals. (Contributed by Victor Stinner in :gh:`92651`.)" +"Remove the :file:`token.h` header file. There was never any public tokenizer " +"C API. The :file:`token.h` header file was only designed to be used by " +"Python internals. (Contributed by Victor Stinner in :gh:`92651`.)" msgstr "" -#: whatsnew/3.12.rst:2127 +#: whatsnew/3.12.rst:2400 msgid "Legacy Unicode APIs have been removed. See :pep:`623` for detail." msgstr "" -#: whatsnew/3.12.rst:2129 +#: whatsnew/3.12.rst:2402 msgid ":c:macro:`!PyUnicode_WCHAR_KIND`" msgstr "" -#: whatsnew/3.12.rst:2130 +#: whatsnew/3.12.rst:2403 msgid ":c:func:`!PyUnicode_AS_UNICODE`" msgstr "" -#: whatsnew/3.12.rst:2131 +#: whatsnew/3.12.rst:2404 msgid ":c:func:`!PyUnicode_AsUnicode`" msgstr "" -#: whatsnew/3.12.rst:2132 +#: whatsnew/3.12.rst:2405 msgid ":c:func:`!PyUnicode_AsUnicodeAndSize`" msgstr "" -#: whatsnew/3.12.rst:2133 +#: whatsnew/3.12.rst:2406 msgid ":c:func:`!PyUnicode_AS_DATA`" msgstr "" -#: whatsnew/3.12.rst:2134 +#: whatsnew/3.12.rst:2407 msgid ":c:func:`!PyUnicode_FromUnicode`" msgstr "" -#: whatsnew/3.12.rst:2135 +#: whatsnew/3.12.rst:2408 msgid ":c:func:`!PyUnicode_GET_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2136 +#: whatsnew/3.12.rst:2409 msgid ":c:func:`!PyUnicode_GetSize`" msgstr "" -#: whatsnew/3.12.rst:2137 +#: whatsnew/3.12.rst:2410 msgid ":c:func:`!PyUnicode_GET_DATA_SIZE`" msgstr "" -#: whatsnew/3.12.rst:2139 +#: whatsnew/3.12.rst:2412 msgid "" "Remove the ``PyUnicode_InternImmortal()`` function macro. (Contributed by " "Victor Stinner in :gh:`85858`.)" msgstr "" -#: whatsnew/3.12.rst:2142 +#: whatsnew/3.12.rst:2415 msgid "" "Remove ``Jython`` compatibility hacks from several stdlib modules and tests. " "(Contributed by Nikita Sobolev in :gh:`99482`.)" msgstr "" -#: whatsnew/3.12.rst:2145 +#: whatsnew/3.12.rst:2418 msgid "" "Remove ``_use_broken_old_ctypes_structure_semantics_`` flag from :mod:" "`ctypes` module. (Contributed by Nikita Sobolev in :gh:`99285`.)" diff --git a/whatsnew/3.3.po b/whatsnew/3.3.po index 9d1072bc2..c20f1866f 100644 --- a/whatsnew/3.3.po +++ b/whatsnew/3.3.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -3027,7 +3027,7 @@ msgstr "" #: whatsnew/3.3.rst:2069 msgid "" ":func:`~time.clock_getres`, :func:`~time.clock_gettime` and :func:`~time." -"clock_settime` functions with ``CLOCK_xxx`` constants. (Contributed by " +"clock_settime` functions with :samp:`CLOCK_{xxx}` constants. (Contributed by " "Victor Stinner in :issue:`10278`.)" msgstr "" diff --git a/whatsnew/3.4.po b/whatsnew/3.4.po index 5fbefae73..af5d863e4 100644 --- a/whatsnew/3.4.po +++ b/whatsnew/3.4.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -2846,18 +2846,18 @@ msgid "" "find_spec`; :meth:`!importlib.abc.MetaPathFinder.find_module` is replaced " "by :meth:`importlib.abc.MetaPathFinder.find_spec`; :meth:`!importlib.abc." "PathEntryFinder.find_loader` and :meth:`!find_module` are replaced by :meth:" -"`importlib.abc.PathEntryFinder.find_spec`; all of the ``xxxLoader`` ABC " -"``load_module`` methods (:meth:`!importlib.abc.Loader.load_module`, :meth:`!" -"importlib.abc.InspectLoader.load_module`, :meth:`!importlib.abc.FileLoader." -"load_module`, :meth:`!importlib.abc.SourceLoader.load_module`) should no " -"longer be implemented, instead loaders should implement an ``exec_module`` " -"method (:meth:`importlib.abc.Loader.exec_module`, :meth:`importlib.abc." -"InspectLoader.exec_module` :meth:`importlib.abc.SourceLoader.exec_module`) " -"and let the import system take care of the rest; and :meth:`!importlib.abc." -"Loader.module_repr`, :meth:`!importlib.util.module_for_loader`, :meth:`!" -"importlib.util.set_loader`, and :meth:`!importlib.util.set_package` are no " -"longer needed because their functions are now handled automatically by the " -"import system." +"`importlib.abc.PathEntryFinder.find_spec`; all of the :samp:`{xxx}Loader` " +"ABC ``load_module`` methods (:meth:`!importlib.abc.Loader.load_module`, :" +"meth:`!importlib.abc.InspectLoader.load_module`, :meth:`!importlib.abc." +"FileLoader.load_module`, :meth:`!importlib.abc.SourceLoader.load_module`) " +"should no longer be implemented, instead loaders should implement an " +"``exec_module`` method (:meth:`importlib.abc.Loader.exec_module`, :meth:" +"`importlib.abc.InspectLoader.exec_module` :meth:`importlib.abc.SourceLoader." +"exec_module`) and let the import system take care of the rest; and :meth:`!" +"importlib.abc.Loader.module_repr`, :meth:`!importlib.util." +"module_for_loader`, :meth:`!importlib.util.set_loader`, and :meth:`!" +"importlib.util.set_package` are no longer needed because their functions are " +"now handled automatically by the import system." msgstr "" #: whatsnew/3.4.rst:2104 diff --git a/whatsnew/3.8.po b/whatsnew/3.8.po index 084f08df6..81f2b7868 100644 --- a/whatsnew/3.8.po +++ b/whatsnew/3.8.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 22:33+0300\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: 2023-02-03 17:30+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -685,8 +685,10 @@ msgstr "" "'deki katkısıyla.)" #: whatsnew/3.8.rst:407 +#, fuzzy msgid "" -"Added support of ``\\N{name}`` escapes in :mod:`regular expressions `::" +"Added support of :samp:`\\\\N\\\\{{name}\\\\}` escapes in :mod:`regular " +"expressions `::" msgstr "" ":mod:`regular expressions ` içine ``\\N{name}`` kaçış desteği eklendi::" @@ -1511,8 +1513,9 @@ msgstr "" "seçeneklerini güncellemeyi, denemeyi veya öğretmeyi zorlaştırıyordu." #: whatsnew/3.8.rst:950 +#, fuzzy msgid "" -"(Suggested by Raymond Hettinger, implemented by Dong-hee Na, and reviewed by " +"(Suggested by Raymond Hettinger, implemented by Donghee Na, and reviewed by " "Vinay Sajip in :issue:`33897`.)" msgstr "" "(Raymond Hettinger tarafından önerildi, Dong-hee Na tarafından uygulandı ve :" @@ -2963,9 +2966,10 @@ msgstr "" "kaldırılmıştır. (Serhiy Storchaka'nın :issue:`33710` 'daki katkısıyla.)" #: whatsnew/3.8.rst:1715 +#, fuzzy msgid "" "The :meth:`~threading.Thread.isAlive()` method of :class:`threading.Thread` " -"has been deprecated. (Contributed by Dong-hee Na in :issue:`35283`.)" +"has been deprecated. (Contributed by Donghee Na in :issue:`35283`.)" msgstr "" ":class:`threading.Thread` metodunun :meth:`~threading.Thread.isAlive()` " "metodu kullanımdan kaldırılmıştır. (Dong-hee Na'nın :issue:`35283` 'teki " diff --git a/whatsnew/3.9.po b/whatsnew/3.9.po index cbcaf5d66..9d237f048 100644 --- a/whatsnew/3.9.po +++ b/whatsnew/3.9.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-09-18 19:05+0000\n" +"POT-Creation-Date: 2023-10-01 00:18+0000\n" "PO-Revision-Date: 2023-03-01 11:48+0300\n" "Last-Translator: \n" "Language-Team: TURKISH \n" @@ -29,60 +29,58 @@ msgid "Łukasz Langa" msgstr "Łukasz Langa" #: whatsnew/3.9.rst:45 +#, fuzzy msgid "" "This article explains the new features in Python 3.9, compared to 3.8. " -"Python 3.9 was released on October 5, 2020." +"Python 3.9 was released on October 5, 2020. For full details, see the :ref:" +"`changelog `." msgstr "" "Bu makale Python 3.9' daki 3.8' e kıyasla yeni özellikleri açıklamaktadır. " "Python 3.9 5 Ekim 2020 tarihinde yayınlandı." -#: whatsnew/3.9.rst:48 -msgid "For full details, see the :ref:`changelog `." -msgstr "Tüm detaylar için, :ref:`changelog` 'a bakınız." - -#: whatsnew/3.9.rst:52 +#: whatsnew/3.9.rst:51 msgid ":pep:`596` - Python 3.9 Release Schedule" msgstr ":pep:`596` - Python 3.9 Yayınlama Takvimi" -#: whatsnew/3.9.rst:56 +#: whatsnew/3.9.rst:55 msgid "Summary -- Release highlights" msgstr "Özet -- Sürümün öne çıkanları" -#: whatsnew/3.9.rst:61 +#: whatsnew/3.9.rst:60 msgid "New syntax features:" msgstr "Yeni sözdizimi özellikleri:" -#: whatsnew/3.9.rst:63 +#: whatsnew/3.9.rst:62 msgid ":pep:`584`, union operators added to ``dict``;" msgstr ":pep:`584` , ``dict`` için birleşim işleçleri eklendi;" -#: whatsnew/3.9.rst:64 +#: whatsnew/3.9.rst:63 msgid ":pep:`585`, type hinting generics in standard collections;" msgstr "" ":pep:`585` , standart koleksiyonlarda tür ipuçlama (type hinting) " "jenerikleri;" -#: whatsnew/3.9.rst:65 +#: whatsnew/3.9.rst:64 msgid ":pep:`614`, relaxed grammar restrictions on decorators." msgstr ":pep:`614` , dekoratörlerde gramer kısıtlamaları gevşetildi." -#: whatsnew/3.9.rst:67 +#: whatsnew/3.9.rst:66 msgid "New built-in features:" msgstr "Yeni gömülü özellikler:" -#: whatsnew/3.9.rst:69 +#: whatsnew/3.9.rst:68 msgid ":pep:`616`, string methods to remove prefixes and suffixes." msgstr ":pep:`616` , önekleri ve sonekleri kaldırmak için dize yöntemleri." -#: whatsnew/3.9.rst:71 +#: whatsnew/3.9.rst:70 msgid "New features in the standard library:" msgstr "Standart kütüphanedeki yeni özellikler:" -#: whatsnew/3.9.rst:73 +#: whatsnew/3.9.rst:72 msgid ":pep:`593`, flexible function and variable annotations;" msgstr ":pep:`593` esnek fonksiyon ve değişken açıklamaları;" -#: whatsnew/3.9.rst:74 +#: whatsnew/3.9.rst:73 msgid "" ":func:`os.pidfd_open` added that allows process management without races and " "signals." @@ -90,21 +88,21 @@ msgstr "" "Yarışlar ve sinyaller olmadan süreç yönetimine izin veren :func:`os." "pidfd_open` eklendi." -#: whatsnew/3.9.rst:77 +#: whatsnew/3.9.rst:76 msgid "Interpreter improvements:" msgstr "Tercüman geliştirmeleri:" -#: whatsnew/3.9.rst:79 +#: whatsnew/3.9.rst:78 msgid "" ":pep:`573`, fast access to module state from methods of C extension types;" msgstr "" ":pep:`573`, C uzantı türlerinin yöntemlerinden modül durumuna hızlı erişim;" -#: whatsnew/3.9.rst:81 +#: whatsnew/3.9.rst:80 msgid ":pep:`617`, CPython now uses a new parser based on PEG;" msgstr ":pep:`617`, CPython artık PEG tabanlı yeni bir çözümleyici kullanıyor;" -#: whatsnew/3.9.rst:82 +#: whatsnew/3.9.rst:81 msgid "" "a number of Python builtins (range, tuple, set, frozenset, list, dict) are " "now sped up using :pep:`590` vectorcall;" @@ -112,11 +110,11 @@ msgstr "" "bir dizi python gömülüleri (range, tuple, set, frozenset, list, dict) :pep:" "`590` vectorcall kullanılarak hızlandırıldı;" -#: whatsnew/3.9.rst:84 +#: whatsnew/3.9.rst:83 msgid "garbage collection does not block on resurrected objects;" msgstr "çöp toplama, dirilen nesnelerde engellemez;" -#: whatsnew/3.9.rst:85 +#: whatsnew/3.9.rst:84 msgid "" "a number of Python modules (:mod:`_abc`, :mod:`audioop`, :mod:`_bz2`, :mod:" "`_codecs`, :mod:`_contextvars`, :mod:`_crypt`, :mod:`_functools`, :mod:" @@ -130,7 +128,7 @@ msgstr "" "`time`, :mod:`_weakref`) PEP 489 tarafından tanımlandığı gibi çok fazlı " "başlatma kullanır;" -#: whatsnew/3.9.rst:90 +#: whatsnew/3.9.rst:89 msgid "" "a number of standard library modules (:mod:`audioop`, :mod:`ast`, :mod:" "`grp`, :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`, :" @@ -142,11 +140,11 @@ msgstr "" "mod:`select`, :mod:`struct`, :mod:`termios`, :mod:`zlib`) artık PEP 384 " "tarafından tanımlanan kararlı ABI'yi kullanıyor." -#: whatsnew/3.9.rst:95 +#: whatsnew/3.9.rst:94 msgid "New library modules:" msgstr "Standart kütüphanedeki yeni özellikler:" -#: whatsnew/3.9.rst:97 +#: whatsnew/3.9.rst:96 msgid "" ":pep:`615`, the IANA Time Zone Database is now present in the standard " "library in the :mod:`zoneinfo` module;" @@ -154,7 +152,7 @@ msgstr "" ":pep:`615`, IANA Zaman Dilimi Veritabanı artık :mod:`zoneinfo` modülündeki " "standart kitaplıkta mevcuttur;" -#: whatsnew/3.9.rst:99 +#: whatsnew/3.9.rst:98 msgid "" "an implementation of a topological sort of a graph is now provided in the " "new :mod:`graphlib` module." @@ -162,19 +160,19 @@ msgstr "" "topolojik türde bir grafik uygulaması artık yeni :mod:`graphlib` modülünde " "sağlanmaktadır." -#: whatsnew/3.9.rst:102 +#: whatsnew/3.9.rst:101 msgid "Release process changes:" msgstr "Yayın süreci değişiklikleri:" -#: whatsnew/3.9.rst:104 +#: whatsnew/3.9.rst:103 msgid ":pep:`602`, CPython adopts an annual release cycle." msgstr ":pep:`602`, CPython yıllık bir yayın döngüsü benimser." -#: whatsnew/3.9.rst:108 +#: whatsnew/3.9.rst:107 msgid "You should check for DeprecationWarning in your code" msgstr "Kodunuzda DeprecationWarning olup olmadığını kontrol etmelisiniz" -#: whatsnew/3.9.rst:110 +#: whatsnew/3.9.rst:109 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 " @@ -192,7 +190,7 @@ msgstr "" "Mappin`` kullanmak, 2012'de yayınlanan Python 3.3'ten bu yana bir :exc:" "`DeprecationWarning` yayar." -#: whatsnew/3.9.rst:118 +#: whatsnew/3.9.rst:117 msgid "" "Test your application with the :option:`-W` ``default`` command-line option " "to see :exc:`DeprecationWarning` and :exc:`PendingDeprecationWarning`, or " @@ -206,7 +204,7 @@ msgstr "" "edin. :ref:`Uyarı Filtresi `, üçüncü taraf kodundan gelen " "uyarıları yok saymak için kullanılabilir." -#: whatsnew/3.9.rst:123 +#: whatsnew/3.9.rst:122 msgid "" "Python 3.9 is the last version providing those Python 2 backward " "compatibility layers, to give more time to Python projects maintainers to " @@ -217,7 +215,7 @@ msgstr "" "vermek üzere Python 2 geriye dönük uyumluluk katmanlarını sağlayan son " "sürümdür." -#: whatsnew/3.9.rst:127 +#: whatsnew/3.9.rst:126 msgid "" "Aliases to :ref:`Abstract Base Classes ` " "in the :mod:`collections` module, like ``collections.Mapping`` alias to :" @@ -229,7 +227,7 @@ msgstr "" "için ``collections.Mapping`` takma adı gibi, geriye dönük uyumluluk için son " "bir sürüm için saklanır. Python 3.10'dan kaldırılacaklar." -#: whatsnew/3.9.rst:132 +#: whatsnew/3.9.rst:131 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 " @@ -239,7 +237,7 @@ msgstr "" "getirmek için hazırlamanıza yardımcı olan :ref:`Python Development Mode " "` testlerinizi çalıştırmayı deneyin." -#: whatsnew/3.9.rst:136 +#: whatsnew/3.9.rst:135 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." @@ -247,15 +245,15 @@ msgstr "" "Not: Python'un bu sürümünde önceden var olan bazı kullanımdan kaldırmalar da " "kaldırılmıştır. :ref:`removed-in-python-39` bölümüne bakınız." -#: whatsnew/3.9.rst:1274 +#: whatsnew/3.9.rst:1273 msgid "New Features" msgstr "Yeni Özellikler" -#: whatsnew/3.9.rst:144 +#: whatsnew/3.9.rst:143 msgid "Dictionary Merge & Update Operators" msgstr "Sözlük Birleştirme ve Güncelleme Operatörleri" -#: whatsnew/3.9.rst:146 +#: whatsnew/3.9.rst:145 msgid "" "Merge (``|``) and update (``|=``) operators have been added to the built-in :" "class:`dict` class. Those complement the existing ``dict.update`` and " @@ -265,11 +263,11 @@ msgstr "" "operatörleri eklendi. Bunlar, sözlükleri birleştirmenin mevcut ``dict." "update`` ve ``{**d1, **d2}`` yöntemlerini tamamlar." -#: whatsnew/3.9.rst:283 +#: whatsnew/3.9.rst:282 msgid "Example::" msgstr "Örnek::" -#: whatsnew/3.9.rst:159 +#: whatsnew/3.9.rst:158 msgid "" "See :pep:`584` for a full description. (Contributed by Brandt Bucher in :" "issue:`36144`.)" @@ -277,11 +275,11 @@ msgstr "" "Tam açıklama için :pep:`584` sayfasına bakınız. (Brandt Bucher tarafından :" "issue:`36144` ile katkıda bulunulmuştur)" -#: whatsnew/3.9.rst:163 +#: whatsnew/3.9.rst:162 msgid "New String Methods to Remove Prefixes and Suffixes" msgstr "Önekleri ve Sonekleri Kaldırmak için Yeni Dize Yöntemleri" -#: whatsnew/3.9.rst:165 +#: whatsnew/3.9.rst:164 msgid "" ":meth:`str.removeprefix(prefix)` and :meth:`str." "removesuffix(suffix)` have been added to easily remove an " @@ -297,11 +295,11 @@ msgstr "" "açıklama için :pep:`616` 'ya bakın. (Dennis Sweeney tarafından :issue:" "`39939` 'da katılmıştır.)" -#: whatsnew/3.9.rst:173 +#: whatsnew/3.9.rst:172 msgid "Type Hinting Generics in Standard Collections" msgstr "Standart Koleksiyonlardaki Tür Dayatma Jenerikleri" -#: whatsnew/3.9.rst:175 +#: whatsnew/3.9.rst:174 msgid "" "In type annotations you can now use built-in collection types such as " "``list`` and ``dict`` as generic types instead of importing the " @@ -315,11 +313,11 @@ msgstr "" "kullanabilirsiniz. Standart kitaplıktaki diğer bazı türler de artık " "geneldir, örneğin ``queue.Queue``." -#: whatsnew/3.9.rst:1162 +#: whatsnew/3.9.rst:1161 msgid "Example:" msgstr "Örnek:" -#: whatsnew/3.9.rst:189 +#: whatsnew/3.9.rst:188 msgid "" "See :pep:`585` for more details. (Contributed by Guido van Rossum, Ethan " "Smith, and Batuhan Taşkaya in :issue:`39481`.)" @@ -327,11 +325,11 @@ msgstr "" "Daha fazla ayrıntı için bkz. :pep:`585`. (Guido van Rossum, Ethan Smith ve " "Batuhan Taşkaya'nın katkılarıyla :issue:`39481`.)" -#: whatsnew/3.9.rst:193 +#: whatsnew/3.9.rst:192 msgid "New Parser" msgstr "Yeni Ayrıştırıcı" -#: whatsnew/3.9.rst:195 +#: whatsnew/3.9.rst:194 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 " @@ -421,7 +419,7 @@ msgstr "" "işlemleri için kontrol ediliyor. Örnekler: :func:`open`, :meth:`str.encode` " "ve :meth:`bytes.decode`." -#: whatsnew/3.9.rst:237 +#: whatsnew/3.9.rst:236 msgid "" "By default, for best performance, the *errors* argument is only checked at " "the first encoding/decoding error and the *encoding* argument is sometimes " @@ -432,7 +430,7 @@ msgstr "" "bağımsız değişkeni bazen boş dizeler için yoksayılır. (Victor Stinner " "tarafından :issue:`37388` 'de katılmıştır.)" -#: whatsnew/3.9.rst:242 +#: whatsnew/3.9.rst:241 msgid "" "``\"\".replace(\"\", s, n)`` now returns ``s`` instead of an empty string " "for all non-zero ``n``. It is now consistent with ``\"\".replace(\"\", " @@ -444,7 +442,7 @@ msgstr "" "class:`bytes` ve :class:`bytearray` nesneleri için benzer değişiklikler " "vardır. (Serhiy Storchaka tarafından :issue:`28029` 'da katılmıştır.)" -#: whatsnew/3.9.rst:247 +#: whatsnew/3.9.rst:246 msgid "" "Any valid expression can now be used as a :term:`decorator`. Previously, " "the grammar was much more restrictive. See :pep:`614` for details. " @@ -454,7 +452,7 @@ msgstr "" "Önceden, gramer çok daha kısıtlayıcıydı. Ayrıntılar için bkz. :pep:`614`. " "(Brandt Bucher tarafından :issue:`39702` 'de katılmıştır.)" -#: whatsnew/3.9.rst:251 +#: whatsnew/3.9.rst:250 msgid "" "Improved help for the :mod:`typing` module. Docstrings are now shown for all " "special forms and special generic aliases (like ``Union`` and ``List``). " @@ -468,7 +466,7 @@ msgstr "" "kullanmak, karşılık gelen somut tür için yardımı gösterir (bu durumda " "``list``). ( :issue:`40257` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:257 +#: whatsnew/3.9.rst:256 msgid "" "Parallel running of :meth:`~agen.aclose` / :meth:`~agen.asend` / :meth:" "`~agen.athrow` is now prohibited, and ``ag_running`` now reflects the actual " @@ -480,7 +478,7 @@ msgstr "" "oluşturucunun gerçek çalışma durumunu yansıtmaktadır. (Yury Selivanov " "tarafından :issue:`30773` 'de katılmıştır.)" -#: whatsnew/3.9.rst:262 +#: whatsnew/3.9.rst:261 msgid "" "Unexpected errors in calling the ``__iter__`` method are no longer masked by " "``TypeError`` in the :keyword:`in` operator and functions :func:`~operator." @@ -493,7 +491,7 @@ msgstr "" "``TypeError`` tarafından maskelenmiyor. ( :issue:`40824` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:268 +#: whatsnew/3.9.rst:267 msgid "" "Unparenthesized lambda expressions can no longer be the expression part in " "an ``if`` clause in comprehensions and generator expressions. See :issue:" @@ -503,15 +501,15 @@ msgstr "" "``if`` yan tümcesinde ifade parçası olamaz. Ayrıntılar için :issue:`41848` " "ve :issue:`43755` 'e bakın." -#: whatsnew/3.9.rst:274 +#: whatsnew/3.9.rst:273 msgid "New Modules" msgstr "Yeni Modüller" -#: whatsnew/3.9.rst:277 +#: whatsnew/3.9.rst:276 msgid "zoneinfo" msgstr "zoneinfo" -#: whatsnew/3.9.rst:279 +#: whatsnew/3.9.rst:278 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:" @@ -522,7 +520,7 @@ msgstr "" "bir :class:`datetime.tzinfo` uygulaması olan :class:`zoneinfo.ZoneInfo` " "ekler." -#: whatsnew/3.9.rst:303 +#: whatsnew/3.9.rst:302 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 -- " @@ -532,20 +530,20 @@ msgstr "" "kaynağı olarak, PyPI aracılığıyla dağıtılan ve CPython çekirdek ekibi " "tarafından sürdürülen birinci taraf bir paket olarak piyasaya sürüldü." -#: whatsnew/3.9.rst:312 +#: whatsnew/3.9.rst:311 msgid "" ":pep:`615` -- Support for the IANA Time Zone Database in the Standard Library" msgstr ":pep:`615` -- Standart Kitaplıkta IANA Saat Dilimi Veritabanı Desteği" -#: whatsnew/3.9.rst:313 +#: whatsnew/3.9.rst:312 msgid "PEP written and implemented by Paul Ganssle" msgstr "Paul Ganssle tarafından yazılan ve uygulanan PEP" -#: whatsnew/3.9.rst:317 +#: whatsnew/3.9.rst:316 msgid "graphlib" msgstr "graphlib" -#: whatsnew/3.9.rst:319 +#: whatsnew/3.9.rst:318 msgid "" "A new module, :mod:`graphlib`, was added that contains the :class:`graphlib." "TopologicalSorter` class to offer functionality to perform topological " @@ -557,15 +555,15 @@ msgstr "" "adlı yeni bir modül eklendi. ( :issue:`17005` içinde Pablo Galindo, Tim " "Peters ve Larry Hastings'in katkılarıyla.)" -#: whatsnew/3.9.rst:326 +#: whatsnew/3.9.rst:325 msgid "Improved Modules" msgstr "Geliştirilen Modüller" -#: whatsnew/3.9.rst:329 +#: whatsnew/3.9.rst:328 msgid "ast" msgstr "ast" -#: whatsnew/3.9.rst:331 +#: whatsnew/3.9.rst:330 msgid "" "Added the *indent* option to :func:`~ast.dump` which allows it to produce a " "multiline indented output. (Contributed by Serhiy Storchaka in :issue:" @@ -575,7 +573,7 @@ msgstr "" "girintili bir çıktı üretmesini sağlar. ( :issue:`37995` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:335 +#: whatsnew/3.9.rst:334 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 " @@ -588,7 +586,7 @@ msgstr "" "unparse` eklendi. ( :issue:`38870` 'de Pablo Galindo ve Batuhan Taskaya'nın " "katkısıyla.)" -#: whatsnew/3.9.rst:340 +#: whatsnew/3.9.rst:339 msgid "" "Added docstrings to AST nodes that contains the ASDL signature used to " "construct that node. (Contributed by Batuhan Taskaya in :issue:`39638`.)" @@ -596,11 +594,11 @@ msgstr "" "AST düğümlerine, o düğümü oluşturmak için kullanılan ASDL imzasını içeren " "doküman dizeleri eklendi. (Batuhan Taşkaya :issue:`39638` 'de katılmıştır.)" -#: whatsnew/3.9.rst:344 +#: whatsnew/3.9.rst:343 msgid "asyncio" msgstr "asyncio" -#: whatsnew/3.9.rst:346 +#: whatsnew/3.9.rst:345 msgid "" "Due to significant security concerns, the *reuse_address* parameter of :meth:" "`asyncio.loop.create_datagram_endpoint` is no longer supported. This is " @@ -616,7 +614,7 @@ msgstr "" "create_datagram_endpoint()`` belgelerine bakın. (Kyle Stanley, Antoine " "Pitrou ve Yury Selivanov'un katkılarıyla :issue:`37228`.)" -#: whatsnew/3.9.rst:353 +#: whatsnew/3.9.rst:352 msgid "" "Added a new :term:`coroutine` :meth:`~asyncio.loop." "shutdown_default_executor` that schedules a shutdown for the default " @@ -631,7 +629,7 @@ msgstr "" "şekilde güncellendi. (Kyle Stanley tarafından :issue:`34037` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:359 +#: whatsnew/3.9.rst:358 msgid "" "Added :class:`asyncio.PidfdChildWatcher`, a Linux-specific child watcher " "implementation that polls process file descriptors. (:issue:`38692`)" @@ -639,7 +637,7 @@ msgstr "" "İşlem dosyası tanımlayıcılarını yoklayan, Linux'a özgü bir çocuk izleyici " "uygulaması olan :class:`asyncio.PidfdChildWatcher` eklendi. (:issue:`38692`)" -#: whatsnew/3.9.rst:362 +#: whatsnew/3.9.rst:361 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 " @@ -654,7 +652,7 @@ msgstr "" "alabilen üst düzey bir sürümü olarak çalışır. ( :issue:`32309` 'da Kyle " "Stanley ve Yuri Selivanov tarafından katılmıştır.)" -#: whatsnew/3.9.rst:368 +#: whatsnew/3.9.rst:367 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 " @@ -666,7 +664,7 @@ msgstr "" "iptalin tamamlanmasını bekleyecek. ( :issue:`32751` 'de Elvis Pranskevichus " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:373 +#: whatsnew/3.9.rst:372 msgid "" ":mod:`asyncio` now raises :exc:`TyperError` when calling incompatible " "methods with an :class:`ssl.SSLSocket` socket. (Contributed by Ido Michael " @@ -676,11 +674,11 @@ msgstr "" "çağrıldığında :exc:`TyperError` hatası veriyor. ( :issue:`37404` içinde Ido " "Michael tarafından katılmıştır.)" -#: whatsnew/3.9.rst:378 +#: whatsnew/3.9.rst:377 msgid "compileall" msgstr "compileall" -#: whatsnew/3.9.rst:380 +#: whatsnew/3.9.rst:379 msgid "" "Added new possibility to use hardlinks for duplicated ``.pyc`` files: " "*hardlink_dupes* parameter and --hardlink-dupes command line option. " @@ -690,7 +688,7 @@ msgstr "" "*hardlink_dupes* parametresi ve --hardlink-dupes komut satırı seçeneği. " "(Lumír 'Frenzy' Balhar'ın :issue:`40495` içinde katkısı.)" -#: whatsnew/3.9.rst:383 +#: whatsnew/3.9.rst:382 msgid "" "Added new options for path manipulation in resulting ``.pyc`` files: " "*stripdir*, *prependdir*, *limit_sl_dest* parameters and -s, -p, -e command " @@ -703,11 +701,11 @@ msgstr "" "satırı seçenekleri. Optimizasyon düzeyi seçeneğini birden çok kez belirleme " "olanağı eklendi. (Lumír 'Frenzy' Balhar'ın katkılarıyla :issue:`38112`.)" -#: whatsnew/3.9.rst:388 +#: whatsnew/3.9.rst:387 msgid "concurrent.futures" msgstr "concurrent.futures" -#: whatsnew/3.9.rst:390 +#: whatsnew/3.9.rst:389 msgid "" "Added a new *cancel_futures* parameter to :meth:`concurrent.futures.Executor." "shutdown` that cancels all pending futures which have not started running, " @@ -719,7 +717,7 @@ msgstr "" "vadeli işlemleri iptal eden yeni bir *cancel_futures* parametresi eklendi. " "(Kyle Stanley tarafından :issue:`39349` 'da katılmıştır.)" -#: whatsnew/3.9.rst:396 +#: whatsnew/3.9.rst:395 msgid "" "Removed daemon threads from :class:`~concurrent.futures.ThreadPoolExecutor` " "and :class:`~concurrent.futures.ProcessPoolExecutor`. This improves " @@ -732,7 +730,7 @@ msgstr "" "öngörülebilirliği geliştirir. (Kyle Stanley tarafından :issue:`39812` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:401 +#: whatsnew/3.9.rst:400 msgid "" "Workers in :class:`~concurrent.futures.ProcessPoolExecutor` are now spawned " "on demand, only when there are no available idle workers to reuse. This " @@ -745,11 +743,11 @@ msgstr "" "kaybedilen CPU süresini azaltır. (Kyle Stanley tarafından :issue:`39207` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:407 +#: whatsnew/3.9.rst:406 msgid "curses" msgstr "curses" -#: whatsnew/3.9.rst:409 +#: whatsnew/3.9.rst:408 msgid "" "Added :func:`curses.get_escdelay`, :func:`curses.set_escdelay`, :func:" "`curses.get_tabsize`, and :func:`curses.set_tabsize` functions. (Contributed " @@ -759,27 +757,28 @@ msgstr "" "get_tabsize` ve :func:`curses.set_tabsize` işlevleri eklendi. (Anthony " "Sottile tarafından :issue:`38312` 'de katılmıştır.)" -#: whatsnew/3.9.rst:414 +#: whatsnew/3.9.rst:413 msgid "datetime" msgstr "datetime" -#: whatsnew/3.9.rst:415 +#: whatsnew/3.9.rst:414 +#, fuzzy msgid "" "The :meth:`~datetime.date.isocalendar()` of :class:`datetime.date` and :meth:" "`~datetime.datetime.isocalendar()` of :class:`datetime.datetime` methods now " "returns a :func:`~collections.namedtuple` instead of a :class:`tuple`. " -"(Contributed by Dong-hee Na in :issue:`24416`.)" +"(Contributed by Donghee Na in :issue:`24416`.)" msgstr "" ":class:`datetime.date` öğesinin :meth:`~datetime.date.isocalendar()` ve :" "class:`datetime.datetime` öğesinin :meth:`~datetime.datetime.isocalendar()` " "metotları artık bir :class:`tuple` yerine :func:`~collections.namedtuple` " "döndürüyor. (Dong-hee Na tarafından :issue:`24416` 'da katılmıştır.)" -#: whatsnew/3.9.rst:421 +#: whatsnew/3.9.rst:420 msgid "distutils" msgstr "distutils" -#: whatsnew/3.9.rst:423 +#: whatsnew/3.9.rst:422 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 " @@ -789,30 +788,31 @@ msgstr "" "oluşturuyor. MD5 özetini engelleyen platformlarda MD5'i atlar. ( :issue:" "`40698` içinde Christian Heimes tarafından katılmıştır.)" -#: whatsnew/3.9.rst:428 +#: whatsnew/3.9.rst:427 msgid "fcntl" msgstr "fcntl" -#: whatsnew/3.9.rst:430 +#: whatsnew/3.9.rst:429 #, fuzzy msgid "" "Added constants :const:`~fcntl.F_OFD_GETLK`, :const:`~fcntl.F_OFD_SETLK` " -"and :const:`~fcntl.F_OFD_SETLKW`. (Contributed by Dong-hee Na in :issue:" +"and :const:`~fcntl.F_OFD_SETLKW`. (Contributed by Donghee Na in :issue:" "`38602`.)" msgstr "" ":data:`~fcntl.F_OFD_GETLK`, :data:`~fcntl.F_OFD_SETLK` ve :data:`~fcntl." "F_OFD_SETLKW` sabitleri eklendi. (Dong-hee Na tarafından :issue:`38602` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:435 +#: whatsnew/3.9.rst:434 msgid "ftplib" msgstr "ftplib" -#: whatsnew/3.9.rst:437 +#: whatsnew/3.9.rst:436 +#, fuzzy 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 " -"the creation of a non-blocking socket. (Contributed by Dong-hee Na in :issue:" +"the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:" "`39259`.)" msgstr "" ":class:`~ftplib.FTP` ve :class:`~ftplib.FTP_TLS` artık bir :class:" @@ -820,11 +820,11 @@ msgstr "" "bir soketin oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:442 +#: whatsnew/3.9.rst:441 msgid "gc" msgstr "gc" -#: whatsnew/3.9.rst:444 +#: whatsnew/3.9.rst:443 msgid "" "When the garbage collector makes a collection in which some objects " "resurrect (they are reachable from outside the isolated cycles after the " @@ -838,7 +838,7 @@ msgstr "" "engellemeyin. ( :issue:`38379` 'da Pablo Galindo ve Tim Peters tarafıdnan " "eklendi.)" -#: whatsnew/3.9.rst:449 +#: whatsnew/3.9.rst:448 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:" @@ -848,11 +848,11 @@ msgstr "" "kontrol etmek için :func:`gc.is_finalized` adlı yeni bir işlev eklendi. " "(Pablo Galindo tarafından :issue:`39322` 'de katılmıştır.)" -#: whatsnew/3.9.rst:454 +#: whatsnew/3.9.rst:453 msgid "hashlib" msgstr "hashlib" -#: whatsnew/3.9.rst:456 +#: whatsnew/3.9.rst:455 msgid "" "The :mod:`hashlib` module can now use SHA3 hashes and SHAKE XOF from OpenSSL " "when available. (Contributed by Christian Heimes in :issue:`37630`.)" @@ -861,7 +861,7 @@ msgstr "" "SHAKE XOF'u kullanabilir. (Christian Heimes tarafından :issue:`37630` 'da " "katılmıştır.)" -#: whatsnew/3.9.rst:460 +#: whatsnew/3.9.rst:459 msgid "" "Builtin hash modules can now be disabled with ``./configure --without-" "builtin-hashlib-hashes`` or selectively enabled with e.g. ``./configure --" @@ -874,25 +874,26 @@ msgstr "" "blake2`` ile seçici olarak etkinleştirilebilir. (Christian Heimes " "tarafından :issue:`40479` 'da katılmıştır)" -#: whatsnew/3.9.rst:468 +#: whatsnew/3.9.rst:467 msgid "http" msgstr "http" -#: whatsnew/3.9.rst:470 +#: whatsnew/3.9.rst:469 +#, fuzzy 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 " +"TOO_EARLY`` are added to :class:`http.HTTPStatus`. (Contributed by Donghee " "Na in :issue:`39509` and Ross Rhodes in :issue:`39507`.)" msgstr "" "HTTP durum kodları ``103 EARLY_HINTS``, ``418 IM_A_TEAPOT`` ve ``425 " "TOO_EARLY`` :class:`http.HTTPStatus` 'a eklendi. ( :issue:`39509` içinde " "Dong-hee Na ve :issue:`39507` 'de Ross Rhodes tarafından katılmıştır.)" -#: whatsnew/3.9.rst:474 +#: whatsnew/3.9.rst:473 msgid "IDLE and idlelib" msgstr "IDLE ve idlelib" -#: whatsnew/3.9.rst:476 +#: whatsnew/3.9.rst:475 msgid "" "Added option to toggle cursor blink off. (Contributed by Zackery Spytz in :" "issue:`4603`.)" @@ -900,7 +901,7 @@ msgstr "" "İmlecin yanıp sönmesini kapatmak için seçenek eklendi. ( :issue:`4603` " "içinde Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:479 +#: whatsnew/3.9.rst:478 msgid "" "Escape key now closes IDLE completion windows. (Contributed by Johnny " "Najera in :issue:`38944`.)" @@ -908,7 +909,7 @@ msgstr "" "Escape tuşu artık IDLE tamamlama pencerelerini kapatıyor. ( :issue:`38944` " "içinde Johnny Najera tarafından katılmıştır.)" -#: whatsnew/3.9.rst:482 +#: whatsnew/3.9.rst:481 msgid "" "Added keywords to module name completion list. (Contributed by Terry J. " "Reedy in :issue:`37765`.)" @@ -916,11 +917,11 @@ msgstr "" "Modül adı tamamlama listesine anahtar kelimeler eklendi. ( :issue:`37765` " "içinde Terry J. Reedy tarafından katılmıştır.)" -#: whatsnew/3.9.rst:485 +#: whatsnew/3.9.rst:484 msgid "New in 3.9 maintenance releases" msgstr "3.9 bakım sürümlerinde yenilikler" -#: whatsnew/3.9.rst:487 +#: whatsnew/3.9.rst:486 msgid "" "Make IDLE invoke :func:`sys.excepthook` (when started without '-n'). User " "hooks were previously ignored. (Contributed by Ken Hilton in :issue:" @@ -930,11 +931,11 @@ msgstr "" "Kullanıcı kancaları daha önce yok sayılırdı. ( :issue:`43008` 'de Ken Hilton " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:491 +#: whatsnew/3.9.rst:490 msgid "The changes above have been backported to 3.8 maintenance releases." msgstr "Yukarıdaki değişiklikler 3.8 bakım sürümlerine geri aktarılmıştır." -#: whatsnew/3.9.rst:493 +#: whatsnew/3.9.rst:492 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 " @@ -952,7 +953,7 @@ msgstr "" "Girinti alanı ayarını Yazı Tipi sekmesinden yeni Windows sekmesine taşıyın. " "(Mark Roseman ve Terry Jan Reedy tarafından :issue:`33962` 'de katılmıştır.)" -#: whatsnew/3.9.rst:501 +#: whatsnew/3.9.rst:500 msgid "" "Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood " "and Terry Jan Reedy in :issue:`45447`.)" @@ -960,17 +961,18 @@ msgstr "" "``.pyi`` dosyalarına vurgulama sözdizimi uygulayın. ( :issue:`45447` içinde " "Alex Waygood ve Terry Jan Reedy tarafından katılmıştır.)" -#: whatsnew/3.9.rst:505 +#: whatsnew/3.9.rst:504 msgid "imaplib" msgstr "imaplib" -#: whatsnew/3.9.rst:507 +#: whatsnew/3.9.rst:506 +#, fuzzy msgid "" ":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. (Contributed by Dong-hee Na in :" +"IMAP4_stream` were applied to this change. (Contributed by Donghee Na in :" "issue:`38615`.)" msgstr "" ":class:`~imaplib.IMAP4` ve :class:`~imaplib.IMAP4_SSL` artık kurucuları için " @@ -980,14 +982,15 @@ msgstr "" "`~imaplib.IMAP4_SSL` ve :class:`~imaplib.IMAP4_stream` yöntemleri uygulandı. " "(Dong-hee Na tarafından :issue:`38615` 'de katılmıştır.)" -#: whatsnew/3.9.rst:514 +#: whatsnew/3.9.rst:513 +#, fuzzy msgid "" ":meth:`imaplib.IMAP4.unselect` is added. :meth:`imaplib.IMAP4.unselect` " "frees server's resources associated with the selected mailbox and returns " "the server to the authenticated state. This command performs the same " "actions as :meth:`imaplib.IMAP4.close`, except that no messages are " "permanently removed from the currently selected mailbox. (Contributed by " -"Dong-hee Na in :issue:`40375`.)" +"Donghee Na in :issue:`40375`.)" msgstr "" ":meth:`imaplib.IMAP4.unselect` eklendi. :meth:`imaplib.IMAP4.unselect` " "sunucunun seçilen posta kutusuyla ilişkili kaynaklarını serbest bırakır ve " @@ -996,11 +999,11 @@ msgstr "" "kutusundan hiçbir mesajın kalıcı olarak kaldırılmamasıdır. (Dong-hee Na " "tarafından :issue:`40375` 'de katılmıştır.)" -#: whatsnew/3.9.rst:522 +#: whatsnew/3.9.rst:521 msgid "importlib" msgstr "importlib" -#: whatsnew/3.9.rst:524 +#: whatsnew/3.9.rst:523 msgid "" "To improve consistency with import statements, :func:`importlib.util." "resolve_name` now raises :exc:`ImportError` instead of :exc:`ValueError` for " @@ -1012,7 +1015,7 @@ msgstr "" "`ValueError` yerine :exc:`ImportError` değerini yükseltiyor. ( :issue:" "`37444` içinde Ngalim Siregar tarafından katılmıştır.)" -#: whatsnew/3.9.rst:529 +#: whatsnew/3.9.rst:528 msgid "" "Import loaders which publish immutable module objects can now publish " "immutable packages in addition to individual modules. (Contributed by Dino " @@ -1022,7 +1025,7 @@ msgstr "" "bağımsız modüllere ek olarak değişmez paketleri de yayınlayabilir. (Dino " "Viehland tarafından :issue:`39336` 'da katılmıştır.)" -#: whatsnew/3.9.rst:533 +#: whatsnew/3.9.rst:532 msgid "" "Added :func:`importlib.resources.files` function with support for " "subdirectories in package data, matching backport in ``importlib_resources`` " @@ -1032,17 +1035,17 @@ msgstr "" "1.5'te backport ile eşleşen :func:`importlib.resources.files` işlevi " "eklendi. (Jason R. Coombs'un :issue:`39791` 'deki katkılarıyla.)" -#: whatsnew/3.9.rst:538 +#: whatsnew/3.9.rst:537 msgid "" "Refreshed ``importlib.metadata`` from ``importlib_metadata`` version 1.6.1." msgstr "" "``importlib_metadata`` sürüm 1.6.1'den ``importlib.metadata`` yenilendi." -#: whatsnew/3.9.rst:541 +#: whatsnew/3.9.rst:540 msgid "inspect" msgstr "inspect" -#: whatsnew/3.9.rst:543 +#: whatsnew/3.9.rst:542 msgid "" ":attr:`inspect.BoundArguments.arguments` is changed from ``OrderedDict`` to " "regular dict. (Contributed by Inada Naoki in :issue:`36350` and :issue:" @@ -1052,11 +1055,11 @@ msgstr "" "olarak değiştirildi. ( :issue:`36350` ve :issue:`39775` içinde Inada Naoki " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:547 +#: whatsnew/3.9.rst:546 msgid "ipaddress" msgstr "ipaddress" -#: whatsnew/3.9.rst:549 +#: whatsnew/3.9.rst:548 msgid "" ":mod:`ipaddress` now supports IPv6 Scoped Addresses (IPv6 address with " "suffix ``%``)." @@ -1064,7 +1067,7 @@ msgstr "" ":mod:`ipadresi` artık IPv6 Kapsamlı Adresleri (``%`` sonekine " "sahip IPv6 adresi) desteklemektedir." -#: whatsnew/3.9.rst:551 +#: whatsnew/3.9.rst:550 msgid "" "Scoped IPv6 addresses can be parsed using :class:`ipaddress.IPv6Address`. If " "present, scope zone ID is available through the :attr:`~ipaddress." @@ -1076,7 +1079,7 @@ msgstr "" "IPv6Address.scope_id` özelliği aracılığıyla kullanılabilir. (Oleksandr " "Pavliuk tarafından :issue:`34788` 'de katılmıştır.)" -#: whatsnew/3.9.rst:555 +#: whatsnew/3.9.rst:554 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 :" @@ -1086,11 +1089,11 @@ msgstr "" "dizelerinde baştaki sıfırları kabul etmemektedir. ( :issue:`36384` içinde " "Christian Heimes tarafından katılmıştır)." -#: whatsnew/3.9.rst:560 +#: whatsnew/3.9.rst:559 msgid "math" msgstr "math" -#: whatsnew/3.9.rst:562 +#: whatsnew/3.9.rst:561 msgid "" "Expanded the :func:`math.gcd` function to handle multiple arguments. " "Formerly, it only supported two arguments. (Contributed by Serhiy Storchaka " @@ -1100,7 +1103,7 @@ msgstr "" "Önceden, yalnızca iki argümanı destekliyordu. ( :issue:`39648` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:566 +#: whatsnew/3.9.rst:565 msgid "" "Added :func:`math.lcm`: return the least common multiple of specified " "arguments. (Contributed by Mark Dickinson, Ananthakrishnan and Serhiy " @@ -1110,7 +1113,7 @@ msgstr "" "katını döndürür. ( :issue:`39479` ve :issue:`39648` 'de Mark Dickinson, " "Ananthakrishnan ve Serhiy Storchaka'nın katkılarıyla.)" -#: whatsnew/3.9.rst:570 +#: whatsnew/3.9.rst:569 msgid "" "Added :func:`math.nextafter`: return the next floating-point value after *x* " "towards *y*. (Contributed by Victor Stinner in :issue:`39288`.)" @@ -1119,7 +1122,7 @@ msgstr "" "nokta değerini döndürür. (Victor Stinner tarafından :issue:`39288` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:574 +#: whatsnew/3.9.rst:573 msgid "" "Added :func:`math.ulp`: return the value of the least significant bit of a " "float. (Contributed by Victor Stinner in :issue:`39310`.)" @@ -1127,11 +1130,11 @@ msgstr "" "Eklenen :func:`math.ulp`: bir kayan noktanın en önemsiz bitinin değerini " "döndürür. (Victor Stinner tarafından :issue:`39310` 'da katılmıştır.)" -#: whatsnew/3.9.rst:579 +#: whatsnew/3.9.rst:578 msgid "multiprocessing" msgstr "multiprocessing" -#: whatsnew/3.9.rst:581 +#: whatsnew/3.9.rst:580 msgid "" "The :class:`multiprocessing.SimpleQueue` class has a new :meth:" "`~multiprocessing.SimpleQueue.close` method to explicitly close the queue. " @@ -1141,15 +1144,16 @@ msgstr "" "yeni bir :meth:`~multiprocessing.SimpleQueue.close` yöntemine sahiptir. " "(Victor Stinner tarafından :issue:`30966` 'da katılmıştır.)" -#: whatsnew/3.9.rst:587 +#: whatsnew/3.9.rst:586 msgid "nntplib" msgstr "nntplib" -#: whatsnew/3.9.rst:589 +#: whatsnew/3.9.rst:588 +#, fuzzy 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 " -"the creation of a non-blocking socket. (Contributed by Dong-hee Na in :issue:" +"the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:" "`39259`.)" msgstr "" ":class:`~nntplib.NNTP` ve :class:`~nntplib.NNTP_SSL` artık bir :class:" @@ -1157,20 +1161,20 @@ msgstr "" "bir yuvanın oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:594 +#: whatsnew/3.9.rst:593 msgid "os" msgstr "os" -#: whatsnew/3.9.rst:596 +#: whatsnew/3.9.rst:595 #, fuzzy msgid "" "Added :const:`~os.CLD_KILLED` and :const:`~os.CLD_STOPPED` for :attr:" -"`si_code`. (Contributed by Dong-hee Na in :issue:`38493`.)" +"`si_code`. (Contributed by Donghee Na in :issue:`38493`.)" msgstr "" ":data:`~os.CLD_KILLED` ve :attr:`si_code` için :data:`~os.CLD_STOPPED` " "eklendi. (Dong-hee Na tarafından :issue:`38493` 'de katılmıştır.)" -#: whatsnew/3.9.rst:599 +#: whatsnew/3.9.rst:598 #, fuzzy msgid "" "Exposed the Linux-specific :func:`os.pidfd_open` (:issue:`38692`) and :const:" @@ -1180,7 +1184,7 @@ msgstr "" "pidfd_open` (:issue:`38692`) ve :data:`os.P_PIDFD` (:issue:`38713`) " "kullanıma sunuldu." -#: whatsnew/3.9.rst:603 +#: whatsnew/3.9.rst:602 msgid "" "The :func:`os.unsetenv` function is now also available on Windows. " "(Contributed by Victor Stinner in :issue:`39413`.)" @@ -1188,7 +1192,7 @@ msgstr "" ":func:`os.unsetenv` işlevi artık Windows'ta da mevcuttur. (Victor Stinner " "tarafından :issue:`39413` 'de katılmıştır.)" -#: whatsnew/3.9.rst:606 +#: whatsnew/3.9.rst:605 msgid "" "The :func:`os.putenv` and :func:`os.unsetenv` functions are now always " "available. (Contributed by Victor Stinner in :issue:`39395`.)" @@ -1196,7 +1200,7 @@ msgstr "" ":func:`os.putenv` ve :func:`os.unsetenv` fonksiyonları artık her zaman " "kullanılabilir. (Victor Stinner tarafından :issue:`39395` 'de katılmıştır.)" -#: whatsnew/3.9.rst:610 +#: whatsnew/3.9.rst:609 msgid "" "Added :func:`os.waitstatus_to_exitcode` function: convert a wait status to " "an exit code. (Contributed by Victor Stinner in :issue:`40094`.)" @@ -1205,11 +1209,11 @@ msgstr "" "koduna dönüştürün. (Victor Stinner tarafından :issue:`40094` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:615 +#: whatsnew/3.9.rst:614 msgid "pathlib" msgstr "pathlib" -#: whatsnew/3.9.rst:617 +#: whatsnew/3.9.rst:616 msgid "" "Added :meth:`pathlib.Path.readlink()` which acts similarly to :func:`os." "readlink`. (Contributed by Girts Folkmanis in :issue:`30618`)" @@ -1217,11 +1221,11 @@ msgstr "" ":func:`os.readlink` 'e benzer şekilde davranan :meth:`pathlib.Path." "readlink()` eklendi. (Girts Folkmanis'in katkılarıyla :issue:`30618`)" -#: whatsnew/3.9.rst:622 +#: whatsnew/3.9.rst:621 msgid "pdb" msgstr "pdb" -#: whatsnew/3.9.rst:624 +#: whatsnew/3.9.rst:623 msgid "" "On Windows now :class:`~pdb.Pdb` supports ``~/.pdbrc``. (Contributed by Tim " "Hopper and Dan Lidral-Porter in :issue:`20523`.)" @@ -1229,15 +1233,16 @@ msgstr "" "Artık Windows'ta :class:`~pdb.Pdb` ``~/.pdbrc`` desteklemektedir. ( :issue:" "`20523` içinde Tim Hopper ve Dan Lidral-Porter tarafından katılmıştır.)" -#: whatsnew/3.9.rst:628 +#: whatsnew/3.9.rst:627 msgid "poplib" msgstr "poplib" -#: whatsnew/3.9.rst:630 +#: whatsnew/3.9.rst:629 +#, fuzzy 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 " -"the creation of a non-blocking socket. (Contributed by Dong-hee Na in :issue:" +"the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:" "`39259`.)" msgstr "" ":class:`~poplib.POP3` ve :class:`~poplib.POP3_SSL` artık bir :class:" @@ -1245,11 +1250,11 @@ msgstr "" "bir yuva oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:`39259` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:635 +#: whatsnew/3.9.rst:634 msgid "pprint" msgstr "pprint" -#: whatsnew/3.9.rst:637 +#: whatsnew/3.9.rst:636 msgid "" ":mod:`pprint` can now pretty-print :class:`types.SimpleNamespace`. " "(Contributed by Carl Bordum Hansen in :issue:`37376`.)" @@ -1257,11 +1262,11 @@ msgstr "" ":mod:`pprint` artık :class:`types.SimpleNamespace` güzel yazdırabilir. (Carl " "Bordum Hansen tarafından :issue:`37376` 'da katılmıştır.)" -#: whatsnew/3.9.rst:641 +#: whatsnew/3.9.rst:640 msgid "pydoc" msgstr "pydoc" -#: whatsnew/3.9.rst:643 +#: whatsnew/3.9.rst:642 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 " @@ -1271,11 +1276,11 @@ msgstr "" "kendi ``__doc__`` özniteliğine sahip herhangi bir nesne için gösteriliyor. " "( :issue:`40257` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:648 +#: whatsnew/3.9.rst:647 msgid "random" msgstr "random" -#: whatsnew/3.9.rst:650 +#: whatsnew/3.9.rst:649 msgid "" "Added a new :attr:`random.Random.randbytes` method: generate random bytes. " "(Contributed by Victor Stinner in :issue:`40286`.)" @@ -1283,11 +1288,11 @@ msgstr "" "Yeni bir :attr:`random.Random.randbytes` yöntemi eklendi: rastgele baytlar " "oluştur. (Victor Stinner tarafından :issue:`40286` 'da katılmıştır.)" -#: whatsnew/3.9.rst:654 +#: whatsnew/3.9.rst:653 msgid "signal" msgstr "signal" -#: whatsnew/3.9.rst:656 +#: whatsnew/3.9.rst:655 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:" @@ -1297,15 +1302,16 @@ msgstr "" "için Linux'a özgü :func:`signal.pidfd_send_signal` ortaya çıktı. (:issue:" "`38712`)" -#: whatsnew/3.9.rst:660 +#: whatsnew/3.9.rst:659 msgid "smtplib" msgstr "smtplib" -#: whatsnew/3.9.rst:662 +#: whatsnew/3.9.rst:661 +#, fuzzy 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 " -"the creation of a non-blocking socket. (Contributed by Dong-hee Na in :issue:" +"the creation of a non-blocking socket. (Contributed by Donghee Na in :issue:" "`39259`.)" msgstr "" ":class:`~smtplib.SMTP` ve :class:`~smtplib.SMTP_SSL` artık bir :class:" @@ -1313,19 +1319,20 @@ msgstr "" "bir soketin oluşturulmasını engelliyor. (Dong-hee Na tarafından :issue:" "`39259` 'da katılmıştır.)" -#: whatsnew/3.9.rst:666 +#: whatsnew/3.9.rst:665 +#, fuzzy msgid "" ":class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. " -"(Contributed by Dong-hee Na in :issue:`39329`.)" +"(Contributed by Donghee Na in :issue:`39329`.)" msgstr "" ":class:`~smtplib.LMTP` yapıcısının artık isteğe bağlı bir *timeout* " "parametresi var. (Dong-hee Na tarafından :issue:`39329` 'da katılmıştır.)" -#: whatsnew/3.9.rst:670 +#: whatsnew/3.9.rst:669 msgid "socket" msgstr "socket" -#: whatsnew/3.9.rst:672 +#: whatsnew/3.9.rst:671 #, fuzzy msgid "" "The :mod:`socket` module now exports the :const:`~socket." @@ -1336,7 +1343,7 @@ msgstr "" "CAN_RAW_JOIN_FILTERS` sabitini dışa aktarıyor. (Stefan Tatschner ve Zackery " "Spytz tarafından :issue:`25780` 'de katılmıştır.)" -#: whatsnew/3.9.rst:676 +#: whatsnew/3.9.rst:675 #, fuzzy msgid "" "The socket module now supports the :const:`~socket.CAN_J1939` protocol on " @@ -1346,7 +1353,7 @@ msgstr "" "protokolünü desteklemektedir. (Karl Ding tarafından :issue:`40291` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:679 +#: whatsnew/3.9.rst:678 msgid "" "The socket module now has the :func:`socket.send_fds` and :func:`socket." "recv_fds` functions. (Contributed by Joannah Nanjekye, Shinya Okano and " @@ -1356,11 +1363,11 @@ msgstr "" "fonksiyonlarına sahiptir. (Joannah Nanjekye, Shinya Okano ve Victor " "Stinner'ın katkılarıyla :issue:`28724`.)" -#: whatsnew/3.9.rst:685 +#: whatsnew/3.9.rst:684 msgid "time" msgstr "time" -#: whatsnew/3.9.rst:687 +#: whatsnew/3.9.rst:686 msgid "" "On AIX, :func:`~time.thread_time` is now implemented with " "``thread_cputime()`` which has nanosecond resolution, rather than " @@ -1372,11 +1379,11 @@ msgstr "" "sahip ``thread_cputime()`` ile uygulanmaktadır. (Batuhan Taşkaya :issue:" "`40192` 'de katılmıştır)" -#: whatsnew/3.9.rst:693 +#: whatsnew/3.9.rst:692 msgid "sys" msgstr "sys" -#: whatsnew/3.9.rst:695 +#: whatsnew/3.9.rst:694 #, fuzzy msgid "" "Added a new :data:`sys.platlibdir` attribute: name of the platform-specific " @@ -1393,7 +1400,7 @@ msgstr "" "(Jan Matějek, Matěj Cepl, Charalampos Stratakis ve Victor Stinner'ın " "katkılarıyla :issue:`1294959`.)" -#: whatsnew/3.9.rst:701 +#: whatsnew/3.9.rst:700 #, fuzzy msgid "" "Previously, :data:`sys.stderr` was block-buffered when non-interactive. Now " @@ -1404,11 +1411,11 @@ msgstr "" "alınıyordu. Artık ``stderr`` varsayılan olarak her zaman satır arabelleğe " "alınır. ( :issue:`13601` 'de Jendrik Seipp tarafından katılmıştır.)" -#: whatsnew/3.9.rst:706 +#: whatsnew/3.9.rst:705 msgid "tracemalloc" msgstr "tracemalloc" -#: whatsnew/3.9.rst:708 +#: whatsnew/3.9.rst:707 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. " @@ -1418,11 +1425,11 @@ msgstr "" "kod parçalarının zirvesini ölçmek için :func:`tracemalloc.reset_peak` " "eklendi. (Huon Wilson tarafından :issue:`40630` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1496 +#: whatsnew/3.9.rst:1495 msgid "typing" msgstr "typing" -#: whatsnew/3.9.rst:715 +#: whatsnew/3.9.rst:714 msgid "" ":pep:`593` introduced an :data:`typing.Annotated` type to decorate existing " "types with context-specific metadata and new ``include_extras`` parameter " @@ -1434,20 +1441,20 @@ msgstr "" "için :func:`typing.get_type_hints` için yeni ``include_extras`` " "parametresini tanıttı. (Till Varoquaux ve Konstantin Kashin'in katkılarıyla.)" -#: whatsnew/3.9.rst:721 +#: whatsnew/3.9.rst:720 msgid "unicodedata" msgstr "unicodedata" -#: whatsnew/3.9.rst:723 +#: whatsnew/3.9.rst:722 msgid "" "The Unicode database has been updated to version 13.0.0. (:issue:`39926`)." msgstr "Unicode veritabanı 13.0.0 sürümüne güncellendi. (:issue:`39926`)." -#: whatsnew/3.9.rst:726 +#: whatsnew/3.9.rst:725 msgid "venv" msgstr "venv" -#: whatsnew/3.9.rst:728 +#: whatsnew/3.9.rst:727 msgid "" "The activation scripts provided by :mod:`venv` now all specify their prompt " "customization consistently by always using the value specified by " @@ -1463,11 +1470,11 @@ msgstr "" "ayarlandıysa (varsayılan durum buydu) ve biri bunun yerine ``__VENV_NAME__`` " "kullanıyordu. ( :issue:`37663` içinde Brett Cannon tarafından katılmıştır.)" -#: whatsnew/3.9.rst:736 +#: whatsnew/3.9.rst:735 msgid "xml" msgstr "xml" -#: whatsnew/3.9.rst:738 +#: whatsnew/3.9.rst:737 msgid "" "White space characters within attributes are now preserved when serializing :" "mod:`xml.etree.ElementTree` to XML file. EOLNs are no longer normalized to " @@ -1480,11 +1487,11 @@ msgstr "" "yorumlanacağına ilişkin tartışmanın sonucudur. ( :issue:`39011` içinde " "Mefistotelis tarafından katılmıştır.)" -#: whatsnew/3.9.rst:746 +#: whatsnew/3.9.rst:745 msgid "Optimizations" msgstr "Optimizasyonlar" -#: whatsnew/3.9.rst:748 +#: whatsnew/3.9.rst:747 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 " @@ -1493,22 +1500,22 @@ msgstr "" "Kavramalarda geçici bir değişken atamak için deyim optimize edildi. Şimdi " "``for y in [expr]``, basit bir ``y = expr`` ataması kadar hızlıdır. Örneğin:" -#: whatsnew/3.9.rst:752 +#: whatsnew/3.9.rst:751 msgid "sums = [s for s in [0] for x in data for s in [s + x]]" msgstr "sums = [s for s in [0] for x in data for s in [s + x]]" -#: whatsnew/3.9.rst:754 +#: whatsnew/3.9.rst:753 msgid "" "Unlike the ``:=`` operator this idiom does not leak a variable to the outer " "scope." msgstr "" "``:=`` operatörünün aksine bu deyim, dış kapsama bir değişken sızdırmaz." -#: whatsnew/3.9.rst:757 +#: whatsnew/3.9.rst:756 msgid "(Contributed by Serhiy Storchaka in :issue:`32856`.)" msgstr "( :issue:`32856` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:759 +#: whatsnew/3.9.rst:758 msgid "" "Optimized signal handling in multithreaded applications. If a thread " "different than the main thread gets a signal, the bytecode evaluation loop " @@ -1522,7 +1529,7 @@ msgstr "" "her bayt kodu talimatında kesintiye uğramaz. Yalnızca ana yorumlayıcının ana " "iş parçacığı sinyalleri işleyebilir." -#: whatsnew/3.9.rst:765 +#: whatsnew/3.9.rst:764 msgid "" "Previously, the bytecode evaluation loop was interrupted at each instruction " "until the main thread handles signals. (Contributed by Victor Stinner in :" @@ -1532,7 +1539,7 @@ msgstr "" "işleyene kadar her komutta kesintiye uğruyordu. (Victor Stinner tarafından :" "issue:`40010` 'da katılmıştır.)" -#: whatsnew/3.9.rst:769 +#: whatsnew/3.9.rst:768 msgid "" "Optimized the :mod:`subprocess` module on FreeBSD using ``closefrom()``. " "(Contributed by Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Kocak and Victor " @@ -1542,7 +1549,7 @@ msgstr "" "etti. ( :issue:`38061` 'de Ed Maste, Conrad Meyer, Kyle Evans, Kubilay Koçak " "ve Victor Stinner'ın katkılarıyla.)" -#: whatsnew/3.9.rst:773 +#: whatsnew/3.9.rst:772 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`.)" @@ -1551,11 +1558,12 @@ msgstr "" "artık 1,87 kata kadar daha hızlı. (Sergey Fedoseev tarafından :issue:`37986` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:777 +#: whatsnew/3.9.rst:776 +#, fuzzy msgid "" "A number of Python builtins (:class:`range`, :class:`tuple`, :class:`set`, :" "class:`frozenset`, :class:`list`, :class:`dict`) are now sped up by using :" -"pep:`590` vectorcall protocol. (Contributed by Dong-hee Na, Mark Shannon, " +"pep:`590` vectorcall protocol. (Contributed by Donghee Na, Mark Shannon, " "Jeroen Demeyer and Petr Viktorin in :issue:`37207`.)" msgstr "" "Bir dizi Python yerleşik yapısı (:class:`range`, :class:`tuple`, :class:" @@ -1563,7 +1571,7 @@ msgstr "" "vectorcall protokolü kullanılarak hızlandırıldı. (Dong-hee Na, Mark Shannon, " "Jeroen Demeyer ve Petr Viktorin'in :issue:`37207` 'deki katkılarıyla.)" -#: whatsnew/3.9.rst:782 +#: whatsnew/3.9.rst:781 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 " @@ -1573,7 +1581,7 @@ msgstr "" "difference_update` optimize edildi. ( :issue:`8425` içinde Michele Orrù " "tarafından sağlanan kodla Evgeny Kapun tarafından önerilmiştir.)" -#: whatsnew/3.9.rst:786 +#: whatsnew/3.9.rst:785 msgid "" "Python's small object allocator (``obmalloc.c``) now allows (no more than) " "one empty arena to remain available for immediate reuse, without returning " @@ -1587,17 +1595,18 @@ msgstr "" "yeniden yaratılıp yok edilebileceği basit döngülerde çarpışmayı önler. ( :" "issue:`37257` içinde Tim Peters tarafından katılmıştır.)" -#: whatsnew/3.9.rst:792 +#: whatsnew/3.9.rst:791 +#, fuzzy 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`.)" +"(Contributed by Donghee Na in :issue:`39434`.)" msgstr "" "Bir float'ı :term:`kalansız bölme ` işlemi artık daha iyi " "bir performansa sahip. Ayrıca bu işlem için :exc:`ZeroDivisionError` mesajı " "güncellenir. (Dong-hee Na tarafından :issue:`39434` 'de katılmıştır.)" -#: whatsnew/3.9.rst:796 +#: whatsnew/3.9.rst:795 msgid "" "Decoding short ASCII strings with UTF-8 and ascii codecs is now about 15% " "faster. (Contributed by Inada Naoki in :issue:`37348`.)" @@ -1606,7 +1615,7 @@ msgstr "" "yaklaşık %15 daha hızlı. (Inada Naoki tarafından :issue:`37348` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:799 +#: whatsnew/3.9.rst:798 msgid "" "Here's a summary of performance improvements from Python 3.4 through Python " "3.9:" @@ -1614,7 +1623,7 @@ msgstr "" "İşte Python 3.4'ten Python 3.9'a kadar olan performans iyileştirmelerinin " "bir özeti:" -#: whatsnew/3.9.rst:846 +#: whatsnew/3.9.rst:845 #, fuzzy msgid "" "These results were generated from the variable access benchmark script at: " @@ -1633,11 +1642,11 @@ msgstr "" "intel.com/content/www/us/en/ark/products/76088/intel-core-i7-4960hq-" "processor-6m-cache-up-to-3-80-ghz.html>`_ üzerinde ölçülmüştür." -#: whatsnew/3.9.rst:856 +#: whatsnew/3.9.rst:855 msgid "Deprecated" msgstr "Deprecated" -#: whatsnew/3.9.rst:858 +#: whatsnew/3.9.rst:857 msgid "" "The distutils ``bdist_msi`` command is now deprecated, use ``bdist_wheel`` " "(wheel packages) instead. (Contributed by Hugo van Kemenade in :issue:" @@ -1647,7 +1656,7 @@ msgstr "" "yerine ``bdist_wheel`` (tekerlek paketleri) kullanın. ( :issue:`39586` " "içinde Hugo van Kemenade tarafından katılmıştır.)" -#: whatsnew/3.9.rst:862 +#: whatsnew/3.9.rst:861 msgid "" "Currently :func:`math.factorial` accepts :class:`float` instances with non-" "negative integer values (like ``5.0``). It raises a :exc:`ValueError` for " @@ -1662,7 +1671,7 @@ msgstr "" "için bir :exc:`TypeError` oluşturacaktır. ( :issue:`37315` içinde Serhiy " "Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:868 +#: whatsnew/3.9.rst:867 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 " @@ -1674,7 +1683,7 @@ msgstr "" "çoğu için, kullanıcılar :mod:`ast` modülünü kullanarak Soyut Sözdizimi Ağacı " "(AST) oluşturma ve derleme aşamasından yararlanabilir." -#: whatsnew/3.9.rst:873 +#: whatsnew/3.9.rst:872 #, fuzzy msgid "" "The Public C API functions :c:func:`!PyParser_SimpleParseStringFlags`, :c:" @@ -1687,7 +1696,7 @@ msgstr "" "`PyParser_SimpleParseFileFlags` ve :c:func:`PyNode_Compile` eskimiştir ve " "Python 3.10'da eski ayrıştırıcı ile birlikte kaldırılacaktır." -#: whatsnew/3.9.rst:878 +#: whatsnew/3.9.rst:877 msgid "" "Using :data:`NotImplemented` in a boolean context has been deprecated, as it " "is almost exclusively the result of incorrect rich comparator " @@ -1700,7 +1709,7 @@ msgstr "" "`TypeError` haline getirilecektir. ( :issue:`35712` içinde Josh Rosenberg " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:884 +#: whatsnew/3.9.rst:883 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 " @@ -1715,7 +1724,7 @@ msgstr "" "`float`, :class:`str`, :class:`bytes` ve :class:`bytearray` " "ilesınırlayacaktır." -#: whatsnew/3.9.rst:890 +#: whatsnew/3.9.rst:889 msgid "" "Opening the :class:`~gzip.GzipFile` file for writing without specifying the " "*mode* argument is deprecated. In future Python versions it will always be " @@ -1729,7 +1738,7 @@ msgstr "" "yazmak ve susturmak için açmak için *mode* argümanını belirtin. ( :issue:" "`28286` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:896 +#: whatsnew/3.9.rst:895 msgid "" "Deprecated the ``split()`` method of :class:`_tkinter.TkappType` in favour " "of the ``splitlist()`` method which has more consistent and predicable " @@ -1739,7 +1748,7 @@ msgstr "" "öngörülebilir davranışa sahip ``splitlist()`` yöntemi lehine kullanımdan " "kaldırıldı. ( :issue:`38371` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:901 +#: whatsnew/3.9.rst:900 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 " @@ -1749,7 +1758,7 @@ msgstr "" "kullanımdan kaldırılmıştır ve sürüm 3.11'de kaldırılacaktır. (Yury Selivanov " "ve Kyle Stanley tarafından :issue:`34790` 'da katılmıştır.)" -#: whatsnew/3.9.rst:905 +#: whatsnew/3.9.rst:904 msgid "" "binhex4 and hexbin4 standards are now deprecated. The :mod:`binhex` module " "and the following :mod:`binascii` functions are now deprecated:" @@ -1758,19 +1767,19 @@ msgstr "" "`binhex` modülü ve aşağıdaki :mod:`binascii` fonksiyonları artık kullanımdan " "kaldırılmıştır:" -#: whatsnew/3.9.rst:908 +#: whatsnew/3.9.rst:907 msgid ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" msgstr ":func:`~binascii.b2a_hqx`, :func:`~binascii.a2b_hqx`" -#: whatsnew/3.9.rst:909 +#: whatsnew/3.9.rst:908 msgid ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" msgstr ":func:`~binascii.rlecode_hqx`, :func:`~binascii.rledecode_hqx`" -#: whatsnew/3.9.rst:911 +#: whatsnew/3.9.rst:910 msgid "(Contributed by Victor Stinner in :issue:`39353`.)" msgstr "(Victor Stinner tarafından :issue:`39353` 'de katılmıştır.)" -#: whatsnew/3.9.rst:913 +#: whatsnew/3.9.rst:912 msgid "" ":mod:`ast` classes ``slice``, ``Index`` and ``ExtSlice`` are considered " "deprecated and will be removed in future Python versions. ``value`` itself " @@ -1784,7 +1793,7 @@ msgstr "" "yerine ``Tuple(slices, Load())`` kullanılmalıdır. ( :issue:`34822` içinde " "Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:919 +#: whatsnew/3.9.rst:918 msgid "" ":mod:`ast` classes ``Suite``, ``Param``, ``AugLoad`` and ``AugStore`` are " "considered deprecated and will be removed in future Python versions. They " @@ -1799,7 +1808,7 @@ msgstr "" "Batuhan Taşkaya'nın ve :issue:`39988` 'deki Serhiy Storchaka'nın " "katkılarıyla.)" -#: whatsnew/3.9.rst:926 +#: whatsnew/3.9.rst:925 #, fuzzy msgid "" "The :c:func:`!PyEval_InitThreads` and :c:func:`!PyEval_ThreadsInitialized` " @@ -1815,7 +1824,7 @@ msgstr "" "tarafından başlatılmıştır. (Victor Stinner tarafından :issue:`39877` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:932 +#: whatsnew/3.9.rst:931 msgid "" "Passing ``None`` as the first argument to the :func:`shlex.split` function " "has been deprecated. (Contributed by Zackery Spytz in :issue:`33262`.)" @@ -1824,7 +1833,7 @@ msgstr "" "kullanımdan kaldırılmıştır. ( :issue:`33262` içinde Zackery Spytz tarafından " "katılmıştır.)" -#: whatsnew/3.9.rst:935 +#: whatsnew/3.9.rst:934 msgid "" ":func:`smtpd.MailmanProxy` is now deprecated as it is unusable without an " "external module, ``mailman``. (Contributed by Samuel Colvin in :issue:" @@ -1834,7 +1843,7 @@ msgstr "" "kullanılamaz olduğundan artık kullanımdan kaldırılmıştır. (Samuel Colvin " "tarafından :issue:`35800` 'de katılmıştır.)" -#: whatsnew/3.9.rst:938 +#: whatsnew/3.9.rst:937 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 " @@ -1851,7 +1860,7 @@ msgstr "" "taraf alternatiflerini göz önünde bulundurun. (Carl Meyer tarafından :issue:" "`40360` 'da katılmıştır.)" -#: whatsnew/3.9.rst:946 +#: whatsnew/3.9.rst:945 msgid "" "The *random* parameter of :func:`random.shuffle` has been deprecated. " "(Contributed by Raymond Hettinger in :issue:`40465`)" @@ -1859,22 +1868,23 @@ msgstr "" ":func:`random.shuffle` öğesinin *random* parametresi kullanımdan kaldırıldı. " "(Katkı:Raymond Hettinger tarafından :issue:`40465`)" -#: whatsnew/3.9.rst:1410 +#: whatsnew/3.9.rst:1409 msgid "Removed" msgstr "Kaldırılanlar" -#: whatsnew/3.9.rst:957 +#: whatsnew/3.9.rst:956 msgid "" "The erroneous version at :data:`unittest.mock.__version__` has been removed." msgstr ":data:`unittest.mock.__version__` adresindeki hatalı sürüm kaldırıldı." -#: whatsnew/3.9.rst:959 +#: whatsnew/3.9.rst:958 +#, fuzzy msgid "" ":class:`nntplib.NNTP`: ``xpath()`` and ``xgtitle()`` methods have been " "removed. These methods are deprecated since Python 3.3. Generally, these " "extensions are not supported or not enabled by NNTP server administrators. " "For ``xgtitle()``, please use :meth:`nntplib.NNTP.descriptions` or :meth:" -"`nntplib.NNTP.description` instead. (Contributed by Dong-hee Na in :issue:" +"`nntplib.NNTP.description` instead. (Contributed by Donghee Na in :issue:" "`39366`.)" msgstr "" ":class:`nntplib.NNTP`: ``xpath()`` ve ``xgtitle()`` yöntemleri kaldırıldı. " @@ -1884,7 +1894,7 @@ msgstr "" "descriptions` veya :meth:`nntplib.NNTP.description` kullanın. (Dong-hee Na " "tarafından :issue:`39366` 'da katılmıştır.)" -#: whatsnew/3.9.rst:966 +#: whatsnew/3.9.rst:965 msgid "" ":class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been " "removed. They were aliases to ``tobytes()`` and ``frombytes()``, deprecated " @@ -1895,7 +1905,7 @@ msgstr "" "``frombytes()`` takma adlarıydı. (Victor Stinner tarafından :issue:`38916` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:971 +#: whatsnew/3.9.rst:970 msgid "" "The undocumented ``sys.callstats()`` function has been removed. Since Python " "3.7, it was deprecated and always returned :const:`None`. It required a " @@ -1907,7 +1917,7 @@ msgstr "" "zaten kaldırılmış olan ``CALL_PROFILE`` adlı özel bir derleme seçeneği " "gerektiriyordu. (Victor Stinner tarafından :issue:`37414` 'de katılmıştır.)" -#: whatsnew/3.9.rst:976 +#: whatsnew/3.9.rst:975 msgid "" "The ``sys.getcheckinterval()`` and ``sys.setcheckinterval()`` functions have " "been removed. They were deprecated since Python 3.2. Use :func:`sys." @@ -1919,7 +1929,7 @@ msgstr "" "func:`sys.getswitchinterval` ve :func:`sys.setswitchinterval` kullanın. " "(Victor Stinner tarafından :issue:`37392` 'de katılmıştır.)" -#: whatsnew/3.9.rst:981 +#: whatsnew/3.9.rst:980 msgid "" "The C function ``PyImport_Cleanup()`` has been removed. It was documented " "as: \"Empty the module table. For internal use only.\" (Contributed by " @@ -1929,7 +1939,7 @@ msgstr "" "\"Modül tablosunu boşaltın. Yalnızca dahili kullanım için.\" (Victor Stinner " "tarafından :issue:`36710` 'da katılmıştır.)" -#: whatsnew/3.9.rst:985 +#: whatsnew/3.9.rst:984 msgid "" "``_dummy_thread`` and ``dummy_threading`` modules have been removed. These " "modules were deprecated since Python 3.7 which requires threading support. " @@ -1939,7 +1949,7 @@ msgstr "" "iş parçacığı desteği gerektiren Python 3.7'den beri kullanımdan " "kaldırılmıştır. (Victor Stinner tarafından :issue:`37312` 'de katılmıştır.)" -#: whatsnew/3.9.rst:989 +#: whatsnew/3.9.rst:988 msgid "" "``aifc.openfp()`` alias to ``aifc.open()``, ``sunau.openfp()`` alias to " "``sunau.open()``, and ``wave.openfp()`` alias to :func:`wave.open()` have " @@ -1951,18 +1961,19 @@ msgstr "" "kaldırıldı. Python 3.7'den beri kullanımdan kaldırıldılar. (Victor Stinner " "tarafından :issue:`37320` 'de katılmıştır.)" -#: whatsnew/3.9.rst:994 +#: whatsnew/3.9.rst:993 +#, fuzzy 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`.)" +"Thread.is_alive()` instead. (Contributed by Donghee Na in :issue:`37804`.)" msgstr "" ":meth:`~threading.Thread.isAlive()` :class:`threading.Thread` yöntemi " "kaldırıldı. Python 3.8'den beri kullanımdan kaldırılmıştır. Bunun yerine :" "meth:`~threading.Thread.is_alive()` kullanın. (Dong-hee Na tarafından :issue:" "`37804` 'de katılmıştır.)" -#: whatsnew/3.9.rst:999 +#: whatsnew/3.9.rst:998 msgid "" "Methods ``getchildren()`` and ``getiterator()`` of classes :class:`~xml." "etree.ElementTree.ElementTree` and :class:`~xml.etree.ElementTree.Element` " @@ -1978,7 +1989,7 @@ msgstr "" "getiterator()`` yerine ``x.iter()`` veya ``list(x.iter())`` kullanın. ( :" "issue:`36543` içinde Serhiy Storchaka tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1007 +#: whatsnew/3.9.rst:1006 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:" @@ -1993,7 +2004,7 @@ msgstr "" "class:`bytes` nesneleri kullanıldı. (Jon Janzen tarafından :issue:`36409` " "'da katılmıştır.)" -#: whatsnew/3.9.rst:1013 +#: whatsnew/3.9.rst:1012 msgid "" "The C function ``PyGen_NeedsFinalizing`` has been removed. It was not " "documented, tested, or used anywhere within CPython after the implementation " @@ -2005,7 +2016,7 @@ msgstr "" "kullanılmadı. Yama Joannah Nanjekye tarafından. (Joannah Nanjekye " "tarafından :issue:`15088` 'de katılmıştır)" -#: whatsnew/3.9.rst:1018 +#: whatsnew/3.9.rst:1017 msgid "" "``base64.encodestring()`` and ``base64.decodestring()``, aliases deprecated " "since Python 3.1, have been removed: use :func:`base64.encodebytes` and :" @@ -2017,7 +2028,7 @@ msgstr "" "`base64.encodebytes` ve :func:`base64.decodebytes` kullanın. (Victor Stinner " "tarafından :issue:`39351` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1023 +#: whatsnew/3.9.rst:1022 msgid "" "``fractions.gcd()`` function has been removed, it was deprecated since " "Python 3.5 (:issue:`22486`): use :func:`math.gcd` instead. (Contributed by " @@ -2027,7 +2038,7 @@ msgstr "" "kaldırıldı (:issue:`22486`): bunun yerine :func:`math.gcd` kullanın. (Victor " "Stinner tarafından :issue:`39350` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1027 +#: whatsnew/3.9.rst:1026 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`. " @@ -2039,7 +2050,7 @@ msgstr "" "yaydı. Dosyanın nasıl açılacağını kontrol etmek için bir açık dosya nesnesi " "iletin. (Victor Stinner tarafından :issue:`39357` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1032 +#: whatsnew/3.9.rst:1031 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:" @@ -2051,7 +2062,7 @@ msgstr "" "Python 3.8'den beri bir :exc:`DeprecationWarning` yayınladı. (Inada " "Naoki'nin katkılarıyla :issue:`39377`)" -#: whatsnew/3.9.rst:1037 +#: whatsnew/3.9.rst:1036 msgid "" "``with (await asyncio.lock):`` and ``with (yield from asyncio.lock):`` " "statements are not longer supported, use ``async with lock`` instead. The " @@ -2063,7 +2074,7 @@ msgstr "" "şey ``asyncio.Condition`` ve ``asyncio.Semaphore`` için de geçerlidir. " "(Andrew Svetlov tarafından :issue:`34793` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1042 +#: whatsnew/3.9.rst:1041 msgid "" "The :func:`sys.getcounts` function, the ``-X showalloccount`` command line " "option and the ``show_alloc_count`` field of the C structure :c:type:" @@ -2076,7 +2087,7 @@ msgstr "" "``COUNT_ALLOCS`` makrosu tanımlayarak özel bir Python yapısına ihtiyaç " "duydular. (Victor Stinner'ın :issue:`39489` 'daki katkısıyla)" -#: whatsnew/3.9.rst:1048 +#: whatsnew/3.9.rst:1047 msgid "" "The ``_field_types`` attribute of the :class:`typing.NamedTuple` class has " "been removed. It was deprecated since Python 3.8. Use the " @@ -2088,7 +2099,7 @@ msgstr "" "``__annotations__`` özelliğini kullanın. (Serhiy Storchaka'nın :issue:" "`40182` 'deki katkısıyla)" -#: whatsnew/3.9.rst:1053 +#: whatsnew/3.9.rst:1052 msgid "" "The :meth:`symtable.SymbolTable.has_exec` method has been removed. It was " "deprecated since 2006, and only returning ``False`` when it's called. " @@ -2098,7 +2109,7 @@ msgstr "" "kullanımdan kaldırılmıştır ve yalnızca çağrıldığında ``False`` değerini " "döndürmektedir. (Batuhan Taşkaya :issue:`40208` 'de katılmıştır)" -#: whatsnew/3.9.rst:1057 +#: whatsnew/3.9.rst:1056 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 :" @@ -2110,7 +2121,7 @@ msgstr "" "func:`asyncio.current_task` ve :func:`asyncio.all_tasks` kullanabilirsiniz. " "(Rémi Lapeyre tarafından :issue:`40967` 'de katılmıştır)" -#: whatsnew/3.9.rst:1062 +#: whatsnew/3.9.rst:1061 msgid "" "The ``unescape()`` method in the :class:`html.parser.HTMLParser` class has " "been removed (it was deprecated since Python 3.4). :func:`html.unescape` " @@ -2122,11 +2133,11 @@ msgstr "" "karakter referanslarını karşılık gelen unicode karakterlere dönüştürmek için " "kullanılmalıdır." -#: whatsnew/3.9.rst:1336 +#: whatsnew/3.9.rst:1335 msgid "Porting to Python 3.9" msgstr "Python 3.9'a Taşıma" -#: whatsnew/3.9.rst:1071 +#: whatsnew/3.9.rst:1070 msgid "" "This section lists previously described changes and other bugfixes that may " "require changes to your code." @@ -2134,11 +2145,11 @@ msgstr "" "Bu bölüm, daha önce açıklanan değişiklikleri ve kodunuzda değişiklik " "gerektirebilecek diğer hata düzeltmelerini listeler." -#: whatsnew/3.9.rst:1076 +#: whatsnew/3.9.rst:1075 msgid "Changes in the Python API" msgstr "Python API'sindeki Değişiklikler" -#: whatsnew/3.9.rst:1078 +#: whatsnew/3.9.rst:1077 msgid "" ":func:`__import__` and :func:`importlib.util.resolve_name` now raise :exc:" "`ImportError` where it previously raised :exc:`ValueError`. Callers catching " @@ -2151,7 +2162,7 @@ msgstr "" "destekleyen arayanların, ``except (ImportError, ValueError):`` kullanarak " "her ikisini de yakalaması gerekir." -#: whatsnew/3.9.rst:1083 +#: whatsnew/3.9.rst:1082 msgid "" "The :mod:`venv` activation scripts no longer special-case when " "``__VENV_PROMPT__`` is set to ``\"\"``." @@ -2159,7 +2170,7 @@ msgstr "" ":mod:`venv` etkinleştirme betikleri, ``__VENV_PROMPT__`` ``\"\"`` olarak " "ayarlandığında artık özel durum değildir." -#: whatsnew/3.9.rst:1086 +#: whatsnew/3.9.rst:1085 #, fuzzy msgid "" "The :meth:`select.epoll.unregister` method no longer ignores the :const:" @@ -2168,7 +2179,7 @@ msgstr "" ":meth:`select.epoll.unregister` yöntemi artık :data:`~errno.EBADF` hatasını " "yok saymıyor. (Victor Stinner tarafından :issue:`39239` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1090 +#: whatsnew/3.9.rst:1089 msgid "" "The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only, " "since the *buffering* parameter has been removed. (Contributed by Victor " @@ -2178,7 +2189,7 @@ msgstr "" "parametresi kaldırıldığı için yalnızca anahtar kelime haline geldi. (Victor " "Stinner tarafından :issue:`39357` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1094 +#: whatsnew/3.9.rst:1093 msgid "" "Simplified AST for subscription. Simple indices will be represented by their " "value, extended slices will be represented as tuples. ``Index(value)`` will " @@ -2191,7 +2202,7 @@ msgstr "" "``Tuple(slices, Load())`` döndürür. ( :issue:`34822` ile Serhiy Storchaka " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1100 +#: whatsnew/3.9.rst:1099 msgid "" "The :mod:`importlib` module now ignores the :envvar:`PYTHONCASEOK` " "environment variable when the :option:`-E` or :option:`-I` command line " @@ -2200,7 +2211,7 @@ msgstr "" ":mod:`importlib` modülü artık :option:`-E` veya :option:`-I` komut satırı " "seçenekleri kullanılırken :envvar:`PYTHONCASEOK` ortam değişkenini yok sayar." -#: whatsnew/3.9.rst:1104 +#: whatsnew/3.9.rst:1103 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 " @@ -2210,7 +2221,7 @@ msgstr "" "sınıflarına yalnızca anahtar kelime parametresi olarak eklendi ve varsayılan " "kodlama Latin-1'den UTF-8'e değiştirilerek :rfc:`2640` olarak değiştirildi ." -#: whatsnew/3.9.rst:1108 +#: whatsnew/3.9.rst:1107 msgid "" ":meth:`asyncio.loop.shutdown_default_executor` has been added to :class:" "`~asyncio.AbstractEventLoop`, meaning alternative event loops that inherit " @@ -2222,7 +2233,7 @@ msgstr "" "döngülerinde bu yöntem tanımlanmalıdır. (Kyle Stanley tarafından :issue:" "`34037` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1113 +#: whatsnew/3.9.rst:1112 msgid "" "The constant values of future flags in the :mod:`__future__` module is " "updated in order to prevent collision with compiler flags. Previously " @@ -2234,7 +2245,7 @@ msgstr "" "``PyCF_ALLOW_TOP_LEVEL_AWAIT``, ``CO_FUTURE_DIVISION`` ile çakışıyordu. " "(Batuhan Taskaya :issue:`39562` 'de katılmıştır)" -#: whatsnew/3.9.rst:1118 +#: whatsnew/3.9.rst:1117 #, fuzzy msgid "" "``array('u')`` now uses :c:type:`wchar_t` as C type instead of " @@ -2247,7 +2258,7 @@ msgstr "" "olduğundan, bu değişiklik davranışını etkilemez. (Inada Naoki tarafından :" "issue:`34538` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1123 +#: whatsnew/3.9.rst:1122 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 " @@ -2263,7 +2274,7 @@ msgstr "" "getLogger(__name__)`` kullanarak bir günlükçü başlattığı durumları " "etkileyebilir. ( :issue:`37742` içinde Vinay Sajip tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1130 +#: whatsnew/3.9.rst:1129 msgid "" "Division handling of :class:`~pathlib.PurePath` now returns " "``NotImplemented`` instead of raising a :exc:`TypeError` when passed " @@ -2277,7 +2288,7 @@ msgstr "" "belirtilen türlerden miras almayan uyumlu sınıflar oluşturmaya izin verir. " "( :issue:`34775` içinde Roger Aiudi tarafından katılmıştır)." -#: whatsnew/3.9.rst:1136 +#: whatsnew/3.9.rst:1135 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 " @@ -2294,7 +2305,7 @@ msgstr "" "uygulaması baştaki sıfırları kabul etmez. ( :issue:`36384` içinde Christian " "Heimes tarafından katılmıştır)." -#: whatsnew/3.9.rst:1144 +#: whatsnew/3.9.rst:1143 msgid "" ":func:`codecs.lookup` now normalizes the encoding name the same way as :func:" "`encodings.normalize_encoding`, except that :func:`codecs.lookup` also " @@ -2308,11 +2319,11 @@ msgstr "" "kodlama adı artık ``\"latex_latin1\"`` olarak normalleştirildi. ( :issue:" "`37751` 'de Jordon Xu tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1152 +#: whatsnew/3.9.rst:1151 msgid "Changes in the C API" msgstr "C API'sindeki değişiklikler" -#: whatsnew/3.9.rst:1154 +#: whatsnew/3.9.rst:1153 msgid "" "Instances of :ref:`heap-allocated types ` (such as those created " "with :c:func:`PyType_FromSpec` and similar APIs) hold a reference to their " @@ -2331,7 +2342,7 @@ msgstr "" "işlevlerinin yapıldığından emin olun. tahsis edilen tipler, nesnenin tipini " "ziyaret eder." -#: whatsnew/3.9.rst:1175 +#: whatsnew/3.9.rst:1174 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 " @@ -2343,19 +2354,19 @@ msgstr "" "edildiğinden emin olun. Yalnızca :ref:`heap type ` 'ın " "``tp_traverse`` içindeki tipi ziyaret etmesinin beklendiğini unutmayın." -#: whatsnew/3.9.rst:1180 +#: whatsnew/3.9.rst:1179 msgid "For example, if your ``tp_traverse`` function includes:" msgstr "Örneğin, ``tp_traverse`` işleviniz aşağıdakileri içeriyorsa:" -#: whatsnew/3.9.rst:1186 +#: whatsnew/3.9.rst:1185 msgid "then add:" msgstr "then add:" -#: whatsnew/3.9.rst:1199 +#: whatsnew/3.9.rst:1198 msgid "(See :issue:`35810` and :issue:`40217` for more information.)" msgstr "(Daha fazla bilgi için bkz. :issue:`35810` ve :issue:`40217`.)" -#: whatsnew/3.9.rst:1201 +#: whatsnew/3.9.rst:1200 msgid "" "The functions ``PyEval_CallObject``, ``PyEval_CallFunction``, " "``PyEval_CallMethod`` and ``PyEval_CallObjectWithKeywords`` are deprecated. " @@ -2367,11 +2378,11 @@ msgstr "" "Bunun yerine :c:func:`PyObject_Call` ve türevlerini kullanın. (Daha fazla " "ayrıntı için :issue:`29548` konusuna bakın.)" -#: whatsnew/3.9.rst:1207 +#: whatsnew/3.9.rst:1206 msgid "CPython bytecode changes" msgstr "CPython bayt kodu değişiklikleri" -#: whatsnew/3.9.rst:1209 +#: whatsnew/3.9.rst:1208 msgid "" "The :opcode:`LOAD_ASSERTION_ERROR` opcode was added for handling the :" "keyword:`assert` statement. Previously, the assert statement would not work " @@ -2383,39 +2394,39 @@ msgstr "" "gölgeleniyorsa, iddia ifadesi düzgün çalışmıyordu. ( :issue:`34880` içinde " "Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1214 +#: whatsnew/3.9.rst:1213 msgid "" "The :opcode:`COMPARE_OP` opcode was split into four distinct instructions:" msgstr ":opcode:`COMPARE_OP` işlem kodu dört farklı talimata bölünmüştür:" -#: whatsnew/3.9.rst:1216 +#: whatsnew/3.9.rst:1215 msgid "``COMPARE_OP`` for rich comparisons" msgstr "Zengin karşılaştırmalar için ``COMPARE_OP``" -#: whatsnew/3.9.rst:1217 +#: whatsnew/3.9.rst:1216 msgid "``IS_OP`` for 'is' and 'is not' tests" msgstr "'-dir' ve 'değildir' testleri için ``IS_OP``" -#: whatsnew/3.9.rst:1218 +#: whatsnew/3.9.rst:1217 msgid "``CONTAINS_OP`` for 'in' and 'not in' tests" msgstr "``İçeride`` ve ``içeride değil`` testleri için ``CONTAINS_OP``" -#: whatsnew/3.9.rst:1219 +#: whatsnew/3.9.rst:1218 msgid "" "``JUMP_IF_NOT_EXC_MATCH`` for checking exceptions in 'try-except' statements." msgstr "" "'try-except' ifadelerindeki istisnaları kontrol etmek için " "``JUMP_IF_NOT_EXC_MATCH``." -#: whatsnew/3.9.rst:1222 +#: whatsnew/3.9.rst:1221 msgid "(Contributed by Mark Shannon in :issue:`39156`.)" msgstr "(Mark Shannon tarafından :issue:`39156` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1226 +#: whatsnew/3.9.rst:1225 msgid "Build Changes" msgstr "Yapı Değişiklikleri" -#: whatsnew/3.9.rst:1228 +#: whatsnew/3.9.rst:1227 #, fuzzy msgid "" "Added ``--with-platlibdir`` option to the ``configure`` script: name of the " @@ -2430,7 +2441,7 @@ msgstr "" "Matějek, Matěj Cepl, Charalampos Stratakis ve Victor Stinner'ın " "katkılarıyla :issue:`1294959`.)" -#: whatsnew/3.9.rst:1234 +#: whatsnew/3.9.rst:1233 msgid "" "The ``COUNT_ALLOCS`` special build macro has been removed. (Contributed by " "Victor Stinner in :issue:`39489`.)" @@ -2438,7 +2449,7 @@ msgstr "" "``COUNT_ALLOCS`` özel yapı makrosu kaldırıldı. (Victor Stinner tarafından :" "issue:`39489` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1237 +#: whatsnew/3.9.rst:1236 msgid "" "On non-Windows platforms, the :c:func:`setenv` and :c:func:`unsetenv` " "functions are now required to build Python. (Contributed by Victor Stinner " @@ -2448,7 +2459,7 @@ msgstr "" "`setenv` ve :c:func:`unsetenv` işlevleri gereklidir. (Victor Stinner " "tarafından :issue:`39395` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1241 +#: whatsnew/3.9.rst:1240 msgid "" "On non-Windows platforms, creating ``bdist_wininst`` installers is now " "officially unsupported. (See :issue:`10945` for more details.)" @@ -2457,7 +2468,7 @@ msgstr "" "artık resmi olarak desteklenmemektedir. (Daha fazla ayrıntı için bkz. :issue:" "`10945`.)" -#: whatsnew/3.9.rst:1244 +#: whatsnew/3.9.rst:1243 msgid "" "When building Python on macOS from source, ``_tkinter`` now links with non-" "system Tcl and Tk frameworks if they are installed in ``/Library/" @@ -2475,7 +2486,7 @@ msgstr "" "de ``--with-tcltk-includes`` ve ``--with-tcltk-libs`` ile geçersiz " "kılınabilir. ( :issue:`34956` içinde Ned Deily tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1253 +#: whatsnew/3.9.rst:1252 msgid "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" @@ -2483,7 +2494,7 @@ msgstr "" "Python can now be built for Windows 10 ARM64. (Contributed by Steve Dower " "in :issue:`33125`.)" -#: whatsnew/3.9.rst:1256 +#: whatsnew/3.9.rst:1255 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 " @@ -2512,11 +2523,11 @@ msgstr "" "çalıştırmalıdır. (Daha fazla ayrıntı için bkz. :issue:`36044` ve :issue:" "`37707`.)" -#: whatsnew/3.9.rst:1271 +#: whatsnew/3.9.rst:1270 msgid "C API Changes" msgstr "C API'sindeki değişiklikler" -#: whatsnew/3.9.rst:1276 +#: whatsnew/3.9.rst:1275 #, fuzzy msgid "" ":pep:`573`: Added :c:func:`PyType_FromModuleAndSpec` to associate a module " @@ -2532,7 +2543,7 @@ msgstr "" "data:`METH_METHOD`. ( :issue:`38787` içinde Marcel Plch ve Petr Viktorin " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1283 +#: whatsnew/3.9.rst:1282 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 " @@ -2542,7 +2553,7 @@ msgstr "" "`PyFrame_GetBack` işlevi eklendi: sonraki dış çerçeveyi alın. (Victor " "Stinner tarafından :issue:`40421` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1287 +#: whatsnew/3.9.rst:1286 msgid "" "Added :c:func:`PyFrame_GetLineNumber` to the limited C API. (Contributed by " "Victor Stinner in :issue:`40421`.)" @@ -2550,7 +2561,7 @@ msgstr "" "Sınırlı C API'sine :c:func:`PyFrame_GetLineNumber` eklendi. (Victor Stinner " "tarafından :issue:`40421` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1290 +#: whatsnew/3.9.rst:1289 msgid "" "Added :c:func:`PyThreadState_GetInterpreter` and :c:func:" "`PyInterpreterState_Get` functions to get the interpreter. Added :c:func:" @@ -2566,7 +2577,7 @@ msgstr "" "durumunun benzersiz tanımlayıcısını alın. (Victor Stinner tarafından :issue:" "`39947` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1298 +#: whatsnew/3.9.rst:1297 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 " @@ -2579,13 +2590,13 @@ msgstr "" "etkili yolu budur. (Victor Stinner tarafından :issue:`37194` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1421 +#: whatsnew/3.9.rst:1420 msgid "Changes in the limited C API (if ``Py_LIMITED_API`` macro is defined):" msgstr "" "Sınırlı C API'sindeki değişiklikler (eğer ``Py_LIMITED_API`` makrosu " "tanımlanmışsa):" -#: whatsnew/3.9.rst:1305 +#: whatsnew/3.9.rst:1304 msgid "" "Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`Py_LeaveRecursiveCall` " "as regular functions for the limited API. Previously, there were defined as " @@ -2599,7 +2610,7 @@ msgstr "" "alanına erişemeyen sınırlı C API'si ile derlenmiyordu (sınırlı C API'sinde " "yapı opaktır)." -#: whatsnew/3.9.rst:1311 +#: whatsnew/3.9.rst:1310 msgid "" "``PyObject_INIT()`` and ``PyObject_INIT_VAR()`` become regular \"opaque\" " "function to hide implementation details." @@ -2607,20 +2618,21 @@ msgstr "" "``PyObject_INIT()`` ve ``PyObject_INIT_VAR()``, uygulama ayrıntılarını " "gizlemek için normal \"opak\" fonksiyon haline gelir." -#: whatsnew/3.9.rst:1448 +#: whatsnew/3.9.rst:1447 msgid "(Contributed by Victor Stinner in :issue:`38644` and :issue:`39542`.)" msgstr "" "(Victor Stinner tarafından :issue:`38644` ve :issue:`39542` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1316 +#: whatsnew/3.9.rst:1315 +#, fuzzy 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`.)" +"module. (Contributed by Donghee Na in :issue:`40024`.)" msgstr "" "Bir modüle tür eklenmesine yardımcı olmak için :c:func:`PyModule_AddType` " "fonkisoynu eklenir. (Dong-hee Na tarafından :issue:`40024` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1320 +#: whatsnew/3.9.rst:1319 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 " @@ -2634,7 +2646,7 @@ msgstr "" "sonlandırılmadığını sorgulamaya izin vermek için eklendi. (Pablo Galindo " "Salgado tarafından :issue:`40241` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1326 +#: whatsnew/3.9.rst:1325 msgid "" "Added :c:func:`_PyObject_FunctionStr` to get a user-friendly string " "representation of a function-like object. (Patch by Jeroen Demeyer in :issue:" @@ -2644,7 +2656,7 @@ msgstr "" "için :c:func:`_PyObject_FunctionStr` eklendi. (Yama, Jeroen Demeyer " "tarafından :issue:`37645` içinde.)" -#: whatsnew/3.9.rst:1330 +#: whatsnew/3.9.rst:1329 msgid "" "Added :c:func:`PyObject_CallOneArg` for calling an object with one " "positional argument (Patch by Jeroen Demeyer in :issue:`37483`.)" @@ -2653,7 +2665,7 @@ msgstr "" "`PyObject_CallOneArg` eklendi (Yama Jeroen Demeyer tarafından :issue:`37483` " "içinde.)" -#: whatsnew/3.9.rst:1338 +#: whatsnew/3.9.rst:1337 msgid "" "``PyInterpreterState.eval_frame`` (:pep:`523`) now requires a new mandatory " "*tstate* parameter (``PyThreadState*``). (Contributed by Victor Stinner in :" @@ -2663,7 +2675,7 @@ msgstr "" "*tstate* parametresi (``PyThreadState*``) gerektiriyor. (Victor Stinner " "tarafından :issue:`38500` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1342 +#: whatsnew/3.9.rst:1341 msgid "" "Extension modules: :c:member:`~PyModuleDef.m_traverse`, :c:member:" "`~PyModuleDef.m_clear` and :c:member:`~PyModuleDef.m_free` functions of :c:" @@ -2683,14 +2695,14 @@ msgstr "" "durumu ( :c:func:`PyModule_GetState` tarafından döndürülen) ``NULL`` ise " "çağrılmaz." -#: whatsnew/3.9.rst:1351 +#: whatsnew/3.9.rst:1350 msgid "" "Extension modules without module state (``m_size <= 0``) are not affected." msgstr "" "Modül durumuna sahip olmayan genişletme modülleri (``m_size <= 0``) " "etkilenmez." -#: whatsnew/3.9.rst:1353 +#: whatsnew/3.9.rst:1352 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 " @@ -2703,7 +2715,7 @@ msgstr "" "listesine sahiptir. (Victor Stinner tarafından :issue:`39984`'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1359 +#: whatsnew/3.9.rst:1358 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 " @@ -2715,7 +2727,7 @@ msgstr "" "başlatmak için artık kullanılmaz. Bu, Python'u Windows'a yerleştirirken " "önemlidir. ( :issue:`8901` içinde Zackery Spytz tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1364 +#: whatsnew/3.9.rst:1363 msgid "" "The global variable :c:data:`PyStructSequence_UnnamedField` is now a " "constant and refers to a constant string. (Contributed by Serhiy Storchaka " @@ -2725,7 +2737,7 @@ msgstr "" "ve sabit bir dizeye başvurur. ( :issue:`38650` içinde Serhiy Storchaka " "tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1368 +#: whatsnew/3.9.rst:1367 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:" @@ -2735,7 +2747,7 @@ msgstr "" "(``pycore_gc.h``) tanımlanır. (Victor Stinner tarafından :issue:`40241` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1372 +#: whatsnew/3.9.rst:1371 #, fuzzy msgid "" "The ``Py_UNICODE_COPY``, ``Py_UNICODE_FILL``, ``PyUnicode_WSTR_LENGTH``, :c:" @@ -2751,7 +2763,7 @@ msgstr "" "`393` tarafından kullanımdan kaldırılmıştır. (Inada Naoki tarafından :issue:" "`36346` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1379 +#: whatsnew/3.9.rst:1378 msgid "" "The :c:func:`Py_FatalError` function is replaced with a macro which logs " "automatically the name of the current function, unless the " @@ -2763,7 +2775,7 @@ msgstr "" "makro ile değiştirilir. (Victor Stinner tarafından :issue:`39882` 'de " "katılmıştır.)" -#: whatsnew/3.9.rst:1384 +#: whatsnew/3.9.rst:1383 msgid "" "The vectorcall protocol now requires that the caller passes only strings as " "keyword names. (See :issue:`37540` for more information.)" @@ -2772,17 +2784,17 @@ msgstr "" "yalnızca dizeleri iletmesini gerektirir. (Daha fazla bilgi için bkz. :issue:" "`37540`.)" -#: whatsnew/3.9.rst:1387 +#: whatsnew/3.9.rst:1386 msgid "" "Implementation details of a number of macros and functions are now hidden:" msgstr "" "Bir dizi makro ve fonksiyonların uygulama ayrıntıları artık gizlenmiştir:" -#: whatsnew/3.9.rst:1389 +#: whatsnew/3.9.rst:1388 msgid ":c:func:`PyObject_IS_GC` macro was converted to a function." msgstr ":c:func:`PyObject_IS_GC` makrosu bir fonksiyona dönüştürüldü." -#: whatsnew/3.9.rst:1391 +#: whatsnew/3.9.rst:1390 #, fuzzy msgid "" "The :c:func:`PyObject_NEW` macro becomes an alias to the :c:macro:" @@ -2795,7 +2807,7 @@ msgstr "" "makrosunun takma adı olur . Artık :c:member:`PyTypeObject.tp_basicsize` " "üyesine doğrudan erişemezler." -#: whatsnew/3.9.rst:1396 +#: whatsnew/3.9.rst:1395 msgid "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` macro was converted to a function: " "the macro accessed directly the :c:member:`PyTypeObject.tp_weaklistoffset` " @@ -2804,7 +2816,7 @@ msgstr "" ":c:func:`PyObject_GET_WEAKREFS_LISTPTR` makrosu bir işleve dönüştürüldü: " "makro doğrudan :c:member:`PyTypeObject.tp_weaklistoffset` üyesine erişti." -#: whatsnew/3.9.rst:1400 +#: whatsnew/3.9.rst:1399 msgid "" ":c:func:`PyObject_CheckBuffer` macro was converted to a function: the macro " "accessed directly the :c:member:`PyTypeObject.tp_as_buffer` member." @@ -2812,7 +2824,7 @@ msgstr "" ":c:func:`PyObject_CheckBuffer` makrosu bir fonksiyona dönüştürüldü: makro :c:" "member:`PyTypeObject.tp_as_buffer` üyesine doğrudan erişti." -#: whatsnew/3.9.rst:1403 +#: whatsnew/3.9.rst:1402 msgid "" ":c:func:`PyIndex_Check` is now always declared as an opaque function to hide " "implementation details: removed the ``PyIndex_Check()`` macro. The macro " @@ -2823,11 +2835,11 @@ msgstr "" "kaldırıldı. Makro, :c:member:`PyTypeObject.tp_as_number` üyesine doğrudan " "erişti." -#: whatsnew/3.9.rst:1407 +#: whatsnew/3.9.rst:1406 msgid "(See :issue:`40170` for more details.)" msgstr "(Daha fazla ayrıntı için bkz. :issue:`40170`.)" -#: whatsnew/3.9.rst:1412 +#: whatsnew/3.9.rst:1411 msgid "" "Excluded ``PyFPE_START_PROTECT()`` and ``PyFPE_END_PROTECT()`` macros of " "``pyfpe.h`` from the limited C API. (Contributed by Victor Stinner in :issue:" @@ -2837,7 +2849,7 @@ msgstr "" "makroları sınırlı C API'sinden hariç tutuldu. (Victor Stinner tarafından :" "issue:`38835` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1416 +#: whatsnew/3.9.rst:1415 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. " @@ -2849,11 +2861,11 @@ msgstr "" "Python 3.0'dan beri göz ardı edildi ve kullanılmadı. ( :issue:`36974` içinde " "Jeroen Demeyer tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1423 +#: whatsnew/3.9.rst:1422 msgid "Excluded the following functions from the limited C API:" msgstr "Aşağıdaki fonksiyonlar sınırlı C API'sinden çıkarıldı:" -#: whatsnew/3.9.rst:1425 +#: whatsnew/3.9.rst:1424 msgid "" "``PyThreadState_DeleteCurrent()`` (Contributed by Joannah Nanjekye in :issue:" "`37878`.)" @@ -2861,79 +2873,79 @@ msgstr "" "``PyThreadState_DeleteCurrent()`` (Joannah Nanjekye tarafından :issue:" "`37878` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1427 +#: whatsnew/3.9.rst:1426 msgid "``_Py_CheckRecursionLimit``" msgstr "``_Py_CheckRecursionLimit``" -#: whatsnew/3.9.rst:1428 +#: whatsnew/3.9.rst:1427 msgid "``_Py_NewReference()``" msgstr "``_Py_NewReference()``" -#: whatsnew/3.9.rst:1429 +#: whatsnew/3.9.rst:1428 msgid "``_Py_ForgetReference()``" msgstr "``_Py_ForgetReference()``" -#: whatsnew/3.9.rst:1430 +#: whatsnew/3.9.rst:1429 msgid "``_PyTraceMalloc_NewReference()``" msgstr "``_PyTraceMalloc_NewReference()``" -#: whatsnew/3.9.rst:1431 +#: whatsnew/3.9.rst:1430 msgid "``_Py_GetRefTotal()``" msgstr "``_Py_GetRefTotal()``" -#: whatsnew/3.9.rst:1432 +#: whatsnew/3.9.rst:1431 msgid "The trashcan mechanism which never worked in the limited C API." msgstr "Sınırlı C API'sinde hiçbir zaman çalışmayan çöp tenekesi mekanizması." -#: whatsnew/3.9.rst:1433 +#: whatsnew/3.9.rst:1432 msgid "``PyTrash_UNWIND_LEVEL``" msgstr "``PyTrash_UNWIND_LEVEL``" -#: whatsnew/3.9.rst:1434 +#: whatsnew/3.9.rst:1433 msgid "``Py_TRASHCAN_BEGIN_CONDITION``" msgstr "``Py_TRASHCAN_BEGIN_CONDITION``" -#: whatsnew/3.9.rst:1435 +#: whatsnew/3.9.rst:1434 msgid "``Py_TRASHCAN_BEGIN``" msgstr "``Py_TRASHCAN_BEGIN``" -#: whatsnew/3.9.rst:1436 +#: whatsnew/3.9.rst:1435 msgid "``Py_TRASHCAN_END``" msgstr "``Py_TRASHCAN_END``" -#: whatsnew/3.9.rst:1437 +#: whatsnew/3.9.rst:1436 msgid "``Py_TRASHCAN_SAFE_BEGIN``" msgstr "``Py_TRASHCAN_SAFE_BEGIN``" -#: whatsnew/3.9.rst:1438 +#: whatsnew/3.9.rst:1437 msgid "``Py_TRASHCAN_SAFE_END``" msgstr "``Py_TRASHCAN_SAFE_END``" -#: whatsnew/3.9.rst:1440 +#: whatsnew/3.9.rst:1439 msgid "Moved following functions and definitions to the internal C API:" msgstr "Aşağıdaki fonksiyonlar ve tanımlar dahili C API'sine taşındı:" -#: whatsnew/3.9.rst:1442 +#: whatsnew/3.9.rst:1441 msgid "``_PyDebug_PrintTotalRefs()``" msgstr "``_PyDebug_PrintTotalRefs()``" -#: whatsnew/3.9.rst:1443 +#: whatsnew/3.9.rst:1442 msgid "``_Py_PrintReferences()``" msgstr "``_Py_PrintReferences()``" -#: whatsnew/3.9.rst:1444 +#: whatsnew/3.9.rst:1443 msgid "``_Py_PrintReferenceAddresses()``" msgstr "``_Py_PrintReferenceAddresses()``" -#: whatsnew/3.9.rst:1445 +#: whatsnew/3.9.rst:1444 msgid "``_Py_tracemalloc_config``" msgstr "``_Py_tracemalloc_config``" -#: whatsnew/3.9.rst:1446 +#: whatsnew/3.9.rst:1445 msgid "``_Py_AddToAllObjects()`` (specific to ``Py_TRACE_REFS`` build)" msgstr "``_Py_AddToAllObjects()`` (``Py_TRACE_REFS`` yapısına özel)" -#: whatsnew/3.9.rst:1450 +#: whatsnew/3.9.rst:1449 msgid "" "Removed ``_PyRuntime.getframe`` hook and removed ``_PyThreadState_GetFrame`` " "macro which was an alias to ``_PyRuntime.getframe``. They were only exposed " @@ -2946,7 +2958,7 @@ msgstr "" "``PyThreadFrameGetter`` türü kaldırıldı. (Victor Stinner tarafından :issue:" "`39946` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1455 +#: whatsnew/3.9.rst:1454 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 " @@ -2957,31 +2969,31 @@ msgstr "" "Stinner tarafından :issue:`37340` , :issue:`38896` ve :issue:`40428` 'de " "katkıda bulunmuştur.)" -#: whatsnew/3.9.rst:1460 +#: whatsnew/3.9.rst:1459 msgid "``PyAsyncGen_ClearFreeLists()``" msgstr "``PyAsyncGen_ClearFreeLists()``" -#: whatsnew/3.9.rst:1461 +#: whatsnew/3.9.rst:1460 msgid "``PyContext_ClearFreeList()``" msgstr "``PyContext_ClearFreeList()``" -#: whatsnew/3.9.rst:1462 +#: whatsnew/3.9.rst:1461 msgid "``PyDict_ClearFreeList()``" msgstr "``PyDict_ClearFreeList()``" -#: whatsnew/3.9.rst:1463 +#: whatsnew/3.9.rst:1462 msgid "``PyFloat_ClearFreeList()``" msgstr "``PyFloat_ClearFreeList()``" -#: whatsnew/3.9.rst:1464 +#: whatsnew/3.9.rst:1463 msgid "``PyFrame_ClearFreeList()``" msgstr "``PyFrame_ClearFreeList()``" -#: whatsnew/3.9.rst:1465 +#: whatsnew/3.9.rst:1464 msgid "``PyList_ClearFreeList()``" msgstr "``PyList_ClearFreeList()``" -#: whatsnew/3.9.rst:1466 +#: whatsnew/3.9.rst:1465 msgid "" "``PyMethod_ClearFreeList()`` and ``PyCFunction_ClearFreeList()``: the free " "lists of bound method objects have been removed." @@ -2989,16 +3001,16 @@ msgstr "" "``PyMethod_ClearFreeList()`` ve ``PyCFunction_ClearFreeList()``: bağlı " "yöntem nesnelerinin serbest listeleri kaldırıldı." -#: whatsnew/3.9.rst:1468 +#: whatsnew/3.9.rst:1467 msgid "" "``PySet_ClearFreeList()``: the set free list has been removed in Python 3.4." msgstr "``PySet_ClearFreeList()``: Python 3.4'te setsiz liste kaldırıldı." -#: whatsnew/3.9.rst:1470 +#: whatsnew/3.9.rst:1469 msgid "``PyTuple_ClearFreeList()``" msgstr "``PyTuple_ClearFreeList()``" -#: whatsnew/3.9.rst:1471 +#: whatsnew/3.9.rst:1470 msgid "" "``PyUnicode_ClearFreeList()``: the Unicode free list has been removed in " "Python 3.3." @@ -3006,7 +3018,7 @@ msgstr "" "``PyUnicode_ClearFreeList()``: Unicode ücretsiz listesi Python 3.3'te " "kaldırılmıştır." -#: whatsnew/3.9.rst:1474 +#: whatsnew/3.9.rst:1473 msgid "" "Removed ``_PyUnicode_ClearStaticStrings()`` function. (Contributed by Victor " "Stinner in :issue:`39465`.)" @@ -3014,7 +3026,7 @@ msgstr "" "``_PyUnicode_ClearStaticStrings()`` fonksiyonu kaldırıldı. (Victor Stinner " "tarafından :issue:`39465` 'de katılmıştır.)" -#: whatsnew/3.9.rst:1477 +#: whatsnew/3.9.rst:1476 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 " @@ -3025,7 +3037,7 @@ msgstr "" "`PyUnicode_Tailmatch` fonksiyonu kullanılabilir. (Inada Naoki tarafından :" "issue:`36346` 'da katılmıştır.)" -#: whatsnew/3.9.rst:1482 +#: whatsnew/3.9.rst:1481 msgid "" "Cleaned header files of interfaces defined but with no implementation. The " "public API symbols being removed are: " @@ -3047,11 +3059,11 @@ msgstr "" "``PyNoArgsFunction``. ( :issue:`39372` içinde Pablo Galindo Salgado " "tarafından sağlanmıştır.)" -#: whatsnew/3.9.rst:1493 +#: whatsnew/3.9.rst:1492 msgid "Notable changes in Python 3.9.1" msgstr "Python 3.9.1'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1498 +#: whatsnew/3.9.rst:1497 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." @@ -3060,18 +3072,18 @@ msgstr "" "belirtilen statik tip denetleyicilerin davranışıyla eşleşecek şekilde " "değiştirildi." -#: whatsnew/3.9.rst:1501 +#: whatsnew/3.9.rst:1500 msgid "``Literal`` now de-duplicates parameters." msgstr "``Literal`` artık parametrelerin yinelemelerini kaldırıyor." -#: whatsnew/3.9.rst:1502 +#: whatsnew/3.9.rst:1501 msgid "" "Equality comparisons between ``Literal`` objects are now order independent." msgstr "" "``Literal`` nesneleri arasındaki eşitlik karşılaştırmaları artık sıradan " "bağımsızdır." -#: whatsnew/3.9.rst:1503 +#: whatsnew/3.9.rst:1502 msgid "" "``Literal`` comparisons now respect types. For example, ``Literal[0] == " "Literal[False]`` previously evaluated to ``True``. It is now ``False``. To " @@ -3083,7 +3095,7 @@ msgstr "" "Artık ``False``. Bu değişikliği desteklemek için dahili olarak kullanılan " "tür önbelleği artık farklılaşan türleri desteklemektedir." -#: whatsnew/3.9.rst:1507 +#: whatsnew/3.9.rst:1506 msgid "" "``Literal`` objects will now raise a :exc:`TypeError` exception during " "equality comparisons if any of their parameters are not :term:`hashable`. " @@ -3095,15 +3107,15 @@ msgstr "" "istisnası oluşturacak. Değişken parametrelerle ``Literal`` tanımlamanın bir " "hata atmayacağına dikkat edin::" -#: whatsnew/3.9.rst:1519 +#: whatsnew/3.9.rst:1518 msgid "(Contributed by Yurii Karabas in :issue:`42345`.)" msgstr "( :issue:`42345` sayısında Yurii Karabas tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1522 +#: whatsnew/3.9.rst:1521 msgid "macOS 11.0 (Big Sur) and Apple Silicon Mac support" msgstr "macOS 11.0 (Big Sur) ve Apple Silicon Mac desteği" -#: whatsnew/3.9.rst:1524 +#: whatsnew/3.9.rst:1523 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 " @@ -3125,21 +3137,21 @@ msgstr "" "fonksiyonları ve seçenekleri koşullu olarak kullanılabilir hale getirilir " "(\"weaklinking\" )." -#: whatsnew/3.9.rst:1533 +#: whatsnew/3.9.rst:1532 msgid "(Contributed by Ronald Oussoren and Lawrence D'Anna in :issue:`41100`.)" msgstr "" "( :issue:`41100` içinde Ronald Oussoren ve Lawrence D'Anna tarafından " "katılmıştır.)" -#: whatsnew/3.9.rst:1536 +#: whatsnew/3.9.rst:1535 msgid "Notable changes in Python 3.9.2" msgstr "Python 3.9.2'deki önemli değişiklikler" -#: whatsnew/3.9.rst:1539 +#: whatsnew/3.9.rst:1538 msgid "collections.abc" msgstr "collections.abc" -#: whatsnew/3.9.rst:1541 +#: whatsnew/3.9.rst:1540 msgid "" ":class:`collections.abc.Callable` generic now flattens type parameters, " "similar to what :data:`typing.Callable` currently does. This means that " @@ -3168,11 +3180,11 @@ msgstr "" "`DeprecationWarning` bir :exc:`TypeError` olacaktır. ( :issue:`42195` içinde " "Ken Jin tarafından katılmıştır.)" -#: whatsnew/3.9.rst:1555 +#: whatsnew/3.9.rst:1554 msgid "urllib.parse" msgstr "urllib.parse" -#: whatsnew/3.9.rst:1557 +#: whatsnew/3.9.rst:1556 msgid "" "Earlier Python versions allowed using both ``;`` and ``&`` as query " "parameter separators in :func:`urllib.parse.parse_qs` and :func:`urllib." @@ -3192,3 +3204,6 @@ msgstr "" "`cgi.parse` ve :func:`cgi.parse_multipart` 'ı da etkiler. Daha fazla ayrıntı " "için lütfen ilgili belgelere bakın. (Adam Goldschmidt, Senthil Kumaran ve " "Ken Jin'in katkılarıyla :issue:`42967`.)" + +#~ msgid "For full details, see the :ref:`changelog `." +#~ msgstr "Tüm detaylar için, :ref:`changelog` 'a bakınız." pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy